/* Site framework */

@media only screen and (min-width: 1200px) {
    .mobile:not(.desktop-large),
    .tablet:not(.desktop-large),
    .desktop:not(.desktop-large) {
        display: none !important;
    }
    .swipe {
        height: 575px;
    }
    .header_wrap,
    .footer_wrap {
        padding-left: 160px;
        padding-right: 160px;
    }
    /*Fullscreen Gallery*/
    .flex-direction-nav .flex-nav-next {
        right: 120px;
    }
    .flex-direction-nav .flex-nav-prev {
        left: 120px;
    }
    .flex-caption {
        width: calc(100vw - 350px) !important;
    }
    .header_wrap .logo .logo-internal {
        max-width: 98%;
    }
}

@media (min-width: 1200px) and (max-width:1500px) {
    .header_wrap,
    .footer_wrap {
        padding-left: 85px;
        padding-right: 85px;
    }
    .block_layout_module .layout_content {
        padding: 30px 40px;
    }
    .block_layout_module .layout_inner {
        width: 100%;
    }
}


/*---------DESKTOP < 1199px---------*/

@media (min-width: 992px) and (max-width:1199px) {
    .mobile:not(.desktop),
    .tablet:not(.desktop),
    .desktop-large:not(.desktop) {
        display: none !important;
    }
    /*Header*/
    .header_wrap,
    .footer_wrap {
        padding-left: 20px;
        padding-right: 20px;
    }
    /*Footer*/
    .footer_touch .newsletter {
        width: 100%;
    }
    /********Block Layout Module********/
    .block_layout_module .layout_inner {
        width: 100%;
    }
    .block_layout_module .layout_content {
        padding: 30px;
    }
    .mainmenu li a {
        padding: 0 20px;
    }
    .mainmenu>li>ul {
        width: 100vw;
        left: initial;
        right: -78px;
    }
}


/*---------Tablet & Mobile---------*/

@media (max-width:991px) {
    .contact-form .denotes {
        float: none;
    }
    /*Homepage*/
    body[data-page=""] .header_wrap .menu-button>div>div {
        background: #fff;
    }
    /*Header*/
    .header_wrap {
        height: 80px;
    }
    .header_wrap .menu-container {
        text-align: center;
    }
    .header_wrap>a {
        vertical-align: top;
        display: inline-block !important;
        line-height: 60px !important;
        text-align: center;
    }
    .header_wrap .menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 50px;
        width: 50px;
        z-index: 1000;
        line-height: 50px;
        position: absolute;
        top: 14px;
        right: 20px;
        transition: ease all .5s;
    }
    .header_wrap .menu-button>div {
        display: flex;
        flex-direction: column;
    }
    .header_wrap .menu-button>div>div {
        width: 30px;
        height: 3px;
        background: #414B55;
        border: 0;
        outline: 0;
        margin: 3px 0;
        transition: ease all .5s;
        border-radius: 3px;
    }
    .header_wrap .logo {
        margin: 0;
        line-height: 80px;
        height: 80px;
        text-align: left;
        padding-left: 5px;
    }
    /*Menu*/
    .menu_wrap {
        top: 0px;
        right: 0;
        position: absolute;
        width: 100%;
        display: none;
        padding: 0;
        z-index: 10;
        background: #fff;
    }
    .mobile-mainmenu {
        margin: 0;
        border: 0;
        width: 100%;
        text-align: left;
        list-style: none;
        padding: 0 0 10px 0;
        z-index: 1000;
        float: none;
        flex-direction: column;
        height: auto;
    }
    .mobile-mainmenu li {
        display: block;
        padding: 0;
        margin: 0;
        width: 100%;
        position: relative;
    }
    .mobile-mainmenu li a {
        text-align: left;
        display: block;
        color: #414B55;
        padding: 10px 25px;
        line-height: 20px;
        font-size: 18px;
        position: relative;
    }
    .mobile-mainmenu>li>a {
        border-bottom: 1px solid #E5DCDC;
        font-family: "Baloo Paaji 2 Semi Bold";
    }
    .mobile-mainmenu li ul {
        position: static;
        box-shadow: none;
        border: 0;
        background: initial;
    }
    .mobile-mainmenu>li>ul {
        display: none;
    }
    .mobile-mainmenu li ul li a {
        font-size: 14px;
        padding: 8px 25px;
        width: 100%;
        text-align: left;
        display: block;
        font-family: "Baloo Paaji 2 Semi Bold";
    }
    .mobile-mainmenu li ul li ul li a {
        font-family: 'Baloo Paaji 2';
    }
    .mobile-mainmenu ul {
        margin: 0px;
        padding: 0;
    }
    .mobile-mainmenu ul li {
        margin: 0 5px;
    }
    .menu_wrap .close_menu {
        display: block;
        height: 48px;
        background: #F3F1F1;
        position: relative;
    }
    .menu_wrap .close_menu:after {
        content: "";
        position: absolute;
        right: calc(50% - 10px);
        top: calc(50% - 2px);
        width: 10px;
        height: 10px;
        transform: rotate(-45deg);
        border: 2px solid #414B55;
        border-width: 2px 2px 0 0;
        transition: ease all .3s;
    }
    .side-menu {
        margin: 0;
        border: 0;
        width: 100%;
        text-align: left;
        list-style: none;
        padding: 0;
        z-index: 1000;
        float: none;
        flex-direction: column;
        height: auto;
    }
    .side-menu li {
        display: block;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    .side-menu li a {
        text-align: left;
        display: block;
        color: #414B55;
        padding: 8px 25px;
        line-height: 20px;
        font-size: 16px;
    }
    .mobile-mainmenu a.toggle-sub {
        height: 40px;
        width: 70px;
        position: absolute;
        right: 0;
        top: 0;
        border: 0;
        padding: 0;
    }
    .mobile-mainmenu>li.has-children>a.toggle-sub:after {
        content: "";
        position: absolute;
        right: 35px;
        top: calc(50% - 7px);
        width: 8px;
        height: 8px;
        transform: rotate(135deg);
        border: 2px solid #F2673B;
        border-width: 2px 2px 0 0;
        transition: ease all .3s;
    }
    .mobile-mainmenu>li.has-children.open>a.toggle-sub:after {
        top: calc(50% - 2px);
        transform: rotate(315deg);
        transition: ease all .3s;
    }
    .mobile-mainmenu>li.has-children.open>a {
        color: #EC411B;
        border-bottom: 0;
    }
    .menu-button.open>div>div {
        background: #EC411B !important;
        transition: ease all .3s;
    }
    .header_wrap .menu-button.open>div>div:first-of-type {
        transform: rotate(90deg) translate(11px, 11px);
        transition: ease all .3s;
    }
    .header_wrap .menu-button.open>div>div:nth-of-type(2) {
        transform: rotate(90deg) translate(2px, 0px);
        transition: ease all .3s;
    }
    .header_wrap .menu-button.open>div>div:last-of-type {
        transform: rotate(90deg) translate(-7px, -11px);
        transition: ease all .3s;
    }
    .menu_wrap .top_menu {
        display: flex;
        flex-direction: row;
        height: 80px;
        justify-content: center;
        align-items: center;
        border-bottom: 1px solid #E5DCDC;
    }
    .menu_wrap .top_menu>a {
        flex: 1;
        text-align: center;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        border-right: 1px solid #E5DCDC;
        font-family: "Baloo Paaji 2 Semi Bold";
        color: #EC411B;
    }
    .menu_wrap .top_menu .menu-button {
        position: relative;
        width: 80px;
        flex: 0 0 auto;
        top: 0;
        right: 0;
    }
    .menu_wrap .top_menu img {
        padding-right: 7px;
    }
    .menu-div {
        overflow: scroll;
        overflow-x: hidden;
        max-height: 350px;
    }
    /*Image Layout Module*/
    .block_layout_module .layout_content {
        width: 100%;
        padding: 0 10px;
        box-sizing: content-box;
    }
    .block_layout_module .layout_title {
        font-size: 30px;
        margin-bottom: 10px;
        line-height: 30px;
    }
    .block_layout_module .layout_text,
    .block_layout_module .layout_subtitle {
        font-size: 14px;
        line-height: 28px;
    }
    .block_layout_module .layout_inner {
        width: 100%;
        margin: 25px 0;
        text-align: center;
    }
    .block_layout_module .layout_block {
        flex-direction: column;
    }
    .block_layout_module .layout_image {
        width: 100%;
        display: block;
        
    }
    .block_layout_module .layout_image img{width: auto; height: auto;}
    
    .block_layout_module .layout_pos_Right .layout_image,
    .block_layout_module .layout_pos_Left .layout_image {
        justify-content: center;
    }
    /*Icon Module*/
    .image_gal_next {
        right: 0;
    }
    .image_gal_prev {
        left: 0;
    }
    .image_gal_next,
    .image_gal_prev {
        width: 15px;
        height: 15px;
        border-width: 3px 3px 0 0;
    }
}


/*---------TABLET < 959px---------*/

@media (min-width: 768px) and (max-width:991px) {
    .mobile:not(.tablet),
    .desktop:not(.tablet),
    .desktop-large:not(.tablet) {
        display: none !important;
    }
    .tablet-hidden {
        display: none !important;
    }
    .content_wrap {
        margin-top: 80px;
    }
    /*Homepage*/
    body[data-page=""] .header_wrap .full-logo {
        width: 220px;
    }
    body[data-page=""] .header_wrap .logo {
        height: 100px;
        line-height: 100px;
    }
    body[data-page=""] .header_wrap {
        height: 100px;
    }
    /*Sticky*/
    body.sticky .header_wrap {
        height: 80px;
    }
    body.sticky .header_wrap .logo .logo-internal {
        width: 220px;
    }
    body.sticky .header_wrap .menu-button>div>div {
        background: #414B55;
    }
    body.sticky .header_wrap .logo {
        height: 80px;
        line-height: 80px;
    }
    body.sticky .header_wrap .menu-button {
        top: 15px;
    }
    body.sticky .menu_wrap .top_menu {
        height: 80px;
        transition: ease all .5s;
    }
    /*Header*/
    .header_wrap .logo .logo-internal {
        width: 240px;
    }
    .header_wrap .menu-button {
        top: 25px;
    }
    /*Menu*/
    .menu_wrap .top_menu {
        height: 100px;
        transition: ease all .5s;
    }
    /*Footer*/
    .footer_wrap {
        padding: 30px 15px;
        font-size: 12px;
    }
    .footer_wrap span {
        font-size: 20px;
    }
    .footer_wrap .footer_touch {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #4D5A67;
    }
    .footer_wrap .footer_touch>div {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .footer_wrap .footer_touch p {
        margin-right: 30px;
        width: 490px
    }
    .footer_touch .newsletter {
        width: 100%;
    }
    /*Fullscreen Gallery*/
    .full-width-fix .flex-caption .halign-left {
        left: calc(50% - 325px);
        right: initial;
        width: 385px;
        max-width: 100%;
        text-align: left;
    }
    .full-width-fix .flex-caption .halign-right {
        right: calc(50% - 325px);
        left: initial;
        width: 385px;
        max-width: 100%;
        text-align: right;
    }
    .flex-caption {
        padding: 20px
    }
    .content_wrap {
        padding-bottom: 140px;
    }
}


/*---------MOBILE < 767px---------*/

@media (max-width: 767px) {
    .tablet:not(.mobile),
    .desktop:not(.mobile),
    .desktop-large:not(.mobile) {
        display: none !important;
    }
    .full-width-fix .flex-caption {
        width: 1140px;
        align-self: center;
        padding: 0;
        max-width: 100%;
    }
    body {
        overflow-x: hidden;
    }
    .frame.main {
        background: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .content_wrap {
        margin-top: 80px;
    }
    /*Homepage*/
    body[data-page=""] .header_wrap {
        height: 80px;
    }
    body[data-page=""] .header_wrap .full-logo {
        width: 187px;
    }
    body[data-page=""] .header_wrap .logo {
        line-height: 80px;
        height: 80px;
    }
    /*Sticky*/
    body.sticky .header_wrap .menu-button>div>div {
        background: #414B55;
    }
    body.sticky .header_wrap .logo .logo-internal {
        width: 187px;
    }
    /*Header*/
    .header_wrap .logo .logo-internal {
        width: 187px;
    }
    /*Footer*/
    .footer_wrap {
        padding: 30px 15px;
    }
    .footer_wrap span {
        font-size: 20px;
    }
    .footer_wrap .footer_contact {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-bottom: 25px;
        margin-bottom: 15px;
        border-bottom: 1px solid #57636E;
    }
    .footer_wrap .footer-phone:after,
    .footer_wrap .footer-email:after {
        left: 0;
    }
    .footer_wrap .footer-email:after {
        top: 6px;
    }
    .footer_wrap .social a {
        margin: 0 5px;
    }
    .footer_wrap .footermenu {
        display: none;
        padding-top: 15px;
    }
    .footer_info,
    .footer_services {
        padding-bottom: 15px;
        margin-bottom: 15px;
        border-bottom: 1px solid #57636E;
    }
    .footermenu li a {
        padding: 0;
    }
    .footermenu li a:before,
    .footermenu li a:after {
        content: none;
    }
    .footer_touch .newsletter {
        width: 100%;
    }
    .footer_touch p {
        margin-bottom: 10px
    }
    .footer_info span,
    .footer_services span {
        padding-bottom: 0px;
        position: relative;
    }
    .footer_info span:before,
    .footer_services span:before {
        content: "";
        background: #ebebeb;
        display: block;
        position: absolute;
        width: 15px;
        height: 2px;
        right: 0;
        top: calc(50% - 1px);
        transform: rotate(90deg);
        transition: opacity 0.3s ease-in-out 0s;
    }
    .footer_info span:after,
    .footer_services span:after {
        content: "";
        background: #ebebeb;
        display: block;
        position: absolute;
        width: 15px;
        height: 2px;
        right: 0;
        top: calc(50% - 1px);
    }
    .footer_info span.open:before,
    .footer_services span.open:before {
        opacity: 0;
    }
    iframe {
        max-width: 310px;
        height: 240px !important;
    }
    .caroufredsel_wrapper {
        margin-bottom: 20px !important;
        padding-bottom: 0;
    }
    .caroufredsel_wrapper div {
        max-width: initial !important;
    }
    .logo {
        text-align: center;
    }
    .container_16 div {
        max-width: 310px;
    }
    img {
        max-width: 100%;
        vertical-align: middle;
    }
    h1 {
        font-size: 32px;
    }
    h2 {
        font-size: 28px;
    }
    h3 {
        font-size: 26px;
    }
    h4 {
        font-size: 24px;
    }
    h5 {
        font-size: 22px;
    }
    h6 {
        font-size: 20px;
    }
    p {
        font-size: 15px;
    }
    .full-width-fix .flex-caption.halign-center {
        left: calc(50% - 150px);
        right: initial;
        width: 300px;
        max-width: 100%;
        text-align: center;
    }
    .full-width-fix .flex-caption.halign-left {
        left: calc(50% - 150px);
        right: initial;
        width: 300px;
        max-width: 100%;
        text-align: center;
    }
    .full-width-fix .flex-caption.halign-right {
        left: calc(50% - 150px);
        right: initial;
        width: 300px;
        max-width: 100%;
        text-align: center;
    }
    .flex-caption>div {
        padding: 20px;
    }
    .flex-caption h1 {
        font-size: 40px;
        color: #0c234c;
        font-weight: bold;
        line-height: 56px;
    }
    .flex-caption p {
        font-size: 16px;
        color: #0c234c;
        line-height: 20px;
    }
    .payment_module .paymentForms {
        padding: 20px 10px;
        width: 280px;
    }
    .paymentForms>form>div {
        width: 100%;
        margin: 0 0 20px !important;
        flex: 0 0 auto;
    }
    .paymentForms>form>button {
        width: 100%;
    }
    .calendly {
        width: 100%;
        bottom: 0;
        right: 0;
    }
    .calendly>div:first-child {
        display: none;
    }
    .calendly>div:last-child {
        left: 0;
        width: 100%;
        border-radius: 0;
        justify-content: center;
        position: relative;
    }
    .calendly>div:last-child:after {
        position: absolute;
        right: 10px;
    }
    .calendly.nofix {
        right: 0;
        bottom: 0;
    }
    .content_wrap {
        padding-bottom: 60px;
    }
    .footer_wrap {
        margin-top: 0;
    }
}