/*
==================
= PAGE STRUCTURE =
==================
*/

/* Basic Page Structure (Container and Frame Sizes, standard-Padding etc...)

/*PAGE-SEGMENTS
**************************************************************/
body {
    width: 100%;
    overflow: hidden;
}
.container {
    /*contains the whole Page */
    position: relative;
    min-height: 100%;
    width: 100%;
    display: flex; /* Enables flexbox */
    flex-direction: column; /* Stacks children vertically */
    min-height: 100vh; /* Minimum height of the viewport */
}

.content {
    position: relative;
    flex-grow: 1;
}
section {
    max-width: 100%;
    position: relative;
    margin-bottom: 45px;
}

@media screen and (min-width: 768px) {
    section {
        margin-bottom: 120px;
    }
}
.frame,
[class*="frame-"] {
    /*frame, contains Content-Modules, no padding!*/
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}
.frame-1066 {
    max-width: 1066px;
}
.frame-wide {
    max-width: 1620px;
}

.module,
[class*="module-"] {
    /*module, lives inside .frame, contains  */
    padding-left: 10px;
    padding-right: 10px;
}
@media screen and (min-width: 768px) {
    .module,
    [class*="module-"] {
        /*module, lives inside .frame, contains  */
        padding-left: 10px;
        padding-right: 10px;
    }
}
.page-pad,
.page-padding {
    /* adds l/r padding to element */
    padding-left: 20px;
    padding-right: 20px;
}

@media screen and (min-width: 768px) {
    .page-pad,
    .page-padding {
        /* adds l/r padding to element */
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* hero */
.section-hero {
    margin-bottom: 62px;
}
.section-hero .frame-wide.module {
    padding-left: 10px;
    padding-right: 10px;
}
@media screen and (min-width: 768px) {
    .section-hero {
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 82px;
    }
}

.hero-img {
    position: relative;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}
.hero-m {
    display: block;
}
.hero-dt {
    display: none;
}

@media screen and (min-width: 620px) {
    .hero-m {
        display: none;
    }
    .hero-dt {
        display: block;
    }
}

.hero-img > img {
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center top;
    object-position: center top;
    height: 100% !important;
    width: 100%;
    min-height: 566px;
}

@media screen and (min-width: 1200px) {
    .hero-img > img {
        min-height: 600px;
    }
}

.hero-icn {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -50px;
    margin-left: auto;
    margin-right: auto;
    width: 100px;
}
@media screen and (min-width: 768px) {
    .hero-icn {
        display: block;
    }
}

/* Content Split */

@media screen and (min-width: 768px) {
    .section-homeintro {
        margin-bottom: 130px;
    }
}

@media screen and (min-width: 768px) {
    .content-split {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px;
    }
    .content-split aside {
        flex: 0 0 320px;
        /* padding-left: 28px; */
    }
    .content-split main {
        flex: 1 1 560px;
        max-width: 560px;
    }
}
/* Contact */
.content-split .contact-group {
    display: none;
}
@media screen and (min-width: 768px) {
    .content-split .contact-group {
        display: block;
        padding-left: 28px;
        padding-top: 15px;
    }
}
.info-icn {
    background-color: transparent !important;
    text-decoration: none;
    display: block;
    width: 60px;
    position: absolute;
    left: -16px;
    top: -5px;
}

@media screen and (min-width: 768px) {
    .info-icn {
        width: 80px;
        left: -24px;
        top: -10px;
    }
}

.infobox {
    display: block;
    position: relative;
    background-color: #dcdad6;
    border-radius: 20px;
    padding-left: 79px;
    padding-top: 18px;
    padding-bottom: 18px;
    margin-bottom: 48px;
    font-size: 18px;
    line-height: 23px;
}
.infobox p {
    margin-bottom: 12px;
}
.infobox p:last-child {
    margin-bottom: 0;
}

.split-main p,
.split-main h1,
.split-main h2,
.split-main h3,
.split-main h4,
.split-main h5,
.split-main h6 {
    padding-left: 10px;
    padding-right: 10px;
}

@media screen and (min-width: 768px) {
    .split-main p,
    .split-main h1,
    .split-main h2,
    .split-main h3,
    .split-main h4,
    .split-main h5,
    .split-main h6 {
        padding-left: 0;
        padding-right: 0;
    }
}

.split-main p + img,
.split-main p:has(> img) {
    padding-top: 20px;
    padding-bottom: 27px;
}

@media screen and (min-width: 768px) {
    .split-main p + img,
    .split-main p:has(> img) {
        padding-top: 85px;
        padding-bottom: 63px;
    }
}

.split-main p:has(> img) {
    padding-left: 0;
    padding-right: 0;
}
.tel-info-m {
    background-color: transparent;
    padding-left: 0;
    padding-top: 0;
}
.tel-info-m .phonenumber {
    display: none;
}
.tel-info-m .contact-tel {
    background-color: transparent;
    position: relative;
}

.tel-info-m .contact-tel {
    left: 0;
    top: -5px;
}

.contact-group-mobile {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    position: absolute;
    z-index: 9;
    bottom: -35px;
    gap: 24px;
    left: 20px;
    height: 60px;
    width: calc(100% - 30px);
}
@media screen and (min-width: 768px) {
    .contact-group-mobile {
        display: none;
    }
}

.time-info-m {
    width: 100%;
    max-width: 200px;
    max-height: 50px;
    padding-top: 13px;
    padding-left: 60px;
    font-size: 17px;
    line-height: 22px;
    transition: all 0.2s ease-in-out;
}
.time-info-m p {
    margin-bottom: 10px;
}
.time-info-m .contact-times-content {
    max-height: 20px;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

.time-info-m.is_open,
.time-info-m.is_open .contact-times-content {
    max-height: 1000px;
}
.time-info-m.is_open {
    max-width: 264px;
    /* width: 264px !important; */
    padding-top: 23px;
    box-shadow: 0 1px 9px 0 rgba(0, 0, 0, 0.36);
}

.info-icn.contact-trigger {
    width: 100%;
    height: 60px;
    position: absolute;
    display: block;
}
.time-info-m.is_open .info-icn.contact-trigger {
    width: 60px;
}
.info-icn.contact-trigger svg {
    max-width: 60px;
    max-height: 60px;
    display: block;
}

.close-contact-modal {
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 20px;
    top: 17px;
    background-color: transparent !important;
    transition: opacity 0.2s ease-in-out 0.2s;
}
.time-info-m.is_open .close-contact-modal {
    display: block;
    visibility: visible;
    pointer-events: all;
    opacity: 1;
}
.close-contact-modal svg {
    width: 19px;
    height: 19px;
}

@media screen and (min-width: 768px) {
    .time-info.infobox {
        padding-top: 22px;
    }
}

/* Fullquote */
.section-fullquote {
    margin-bottom: 62px;
}
@media screen and (min-width: 768px) {
    .section-fullquote {
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 130px;
    }
}

@media screen and (min-width: 1280px) {
    .section-fullquote {
        padding-left: 0;
        padding-right: 0;
    }
}
.fullquote-content {
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 208px;
    padding-left: 40px;
    padding-right: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.section-fullquote blockquote {
    max-width: 300px;
}
@media screen and (min-width: 768px) {
    .fullquote-content {
        height: 249px;
        border-radius: 20px;
    }
    .section-fullquote blockquote {
        max-width: 50%;
        padding-left: 80px;
    }
}

@media screen and (min-width: 1280px) {
    .fullquote-content {
        height: 249px;
        border-radius: 0;
    }
    .section-fullquote blockquote {
        max-width: 66.66%;
        padding-left: 80px;
    }
    .section-fullquote blockquote p {
        font-size: 50px;
        line-height: 62px;
    }
}

/* Slider */
.roof {
    font-weight: 600;
    font-size: 17px;
    color: #aaa8a4;
    letter-spacing: 0;
    line-height: 23px;
    margin-bottom: 6px !important;
}

@media screen and (min-width: 768px) {
    .roof {
        font-size: 18px;
        margin-bottom: 12px !important;
    }
}
.section-slider {
    position: relative;
    margin-bottom: 35px;
}
@media screen and (min-width: 768px) {
    .section-slider {
        margin-bottom: 95px;
    }
}
.section-slider img {
    width: 100%;
    max-width: none;
    display: block;
}
.slider-intro {
    margin-bottom: 40px;
}
@media screen and (min-width: 768px) {
    .slider-intro {
        margin-bottom: 100px;
    }
}
.section-slider .slider-caption {
    position: relative;
    width: 100%;
    margin-left: 0;
    padding-top: 65px;
    font-weight: 600;
    font-size: 17px;
    color: #000000;
    line-height: 28px;
    padding-left: 10px;
    padding-right: 10px;
}

@media screen and (min-width: 768px) {
    .section-slider .slider-caption {
        padding-top: 44px;
        font-size: 20px;
        color: #222222;
        line-height: 34px;
        width: 58.33%;
        margin-left: 41.66%;
        padding-top: 44px;
        padding-left: 0;
        padding-right: 0;
    }
}
.section-slider .slider-nav {
    left: 0;
    right: 0;
}
.slider {
    margin-top: 30px;
}
@media screen and (min-width: 768px) {
    .slider {
        margin-top: 30px;
    }
}
.slider-img {
    border-radius: 20px;
    overflow: hidden;
}
.slider-item img {
    display: block;
}

.section-slider .slick-dots {
    text-align: left;
    position: absolute;
    top: auto;
    bottom: 40px;
    padding-left: 10px;
}

@media screen and (min-width: 960px) {
    .section-slider .slick-dots {
        top: calc(100% - 44px);
        padding-left: 0;
    }
}

.slider-nav {
    display: none;
}

@media screen and (min-width: 1020px) {
    .slider-nav {
        display: block;
    }
}

/* Contact */
.section-contact {
    margin-bottom: 80px;
}
@media screen and (min-width: 768px) {
    .section-contact {
        margin-bottom: 135px;
    }
}
.color-bg-container {
    margin-left: 10px;
    background-color: #dcdad6;
    border-radius: 20px 0 0 20px;
    padding-top: 40px;
    padding-bottom: 46px;
    padding-left: 20px;
    padding-right: 20px;
}

@media screen and (min-width: 768px) {
    .color-bg-container {
        margin-left: 10px;
        background-color: #dcdad6;
        border-radius: 20px 0 0 20px;
        padding-top: 117px;
        padding-bottom: 117px;
        padding-right: 0;
    }
}

@media screen and (min-width: 1200px) {
    .color-bg-container {
        margin-left: 40px;
        padding-right: 60px;
    }
}
@media screen and (min-width: 768px) {
    .color-bg-container h2 {
        margin-bottom: 35px;
    }
}
.section-contact aside {
    margin-bottom: 25px;
}
.contact-img img {
    display: block;
}

.contact p {
    font-size: 17px;
    line-height: 23px;
    margin-bottom: 12px;
}

@media screen and (min-width: 768px) {
    .contact p {
        font-size: 18px;
    }
}

/* People */
.section-ppl {
    margin-bottom: 100px;
}
@media screen and (min-width: 768px) {
    .section-ppl {
        margin-bottom: 145px;
    }
}
.ppl {
    margin-bottom: 55px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}
@media screen and (min-width: 768px) {
    .ppl {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        flex-wrap: nowrap;
        margin-bottom: 100px;
    }
}

.ppl-item {
    width: 390px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}
.ppl-item:nth-child(1) {
    order: 2; /* Move second item to the first position */
}
.ppl-item:nth-child(2) {
    order: 1; /* Move second item to the first position */
}
.ppl-item:nth-child(3) {
    order: 3; /* Move second item to the first position */
}
@media screen and (min-width: 768px) {
    .ppl-item {
        width: 320px;
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 20px;
        margin-left: 0;
        margin-right: 0;
        order: 0 !important;
    }
}
.ppl-item-inner {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}
.ppl-img {
    position: relative;
}
.ppl-img img {
    display: block;
}
.ppl-content {
    opacity: 0.9;
    background: #dfdeda;
    padding-bottom: 5px;
    padding-top: 55px;
    padding-left: 30px;
    padding-right: 30px;
}
.ppl-item p {
    font-size: 17px;
    line-height: 23px;
}
.ppl-icn {
    position: absolute;
    z-index: 1;
    bottom: -40px;
    left: 15px;
    width: 80px;
    display: block;
}

.sec-intro {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 50px;
}
@media screen and (min-width: 768px) {
    .sec-intro {
        margin-bottom: 80px;
    }
}
.sec-intro h2 {
    margin-bottom: 15px;
}

@media screen and (min-width: 768px) {
    .sec-intro h2 {
        margin-bottom: 22px;
    }
}
.section-nohero {
    margin-bottom: 180px;
}

@media screen and (min-width: 768px) {
    .section-nohero {
        margin-bottom: 280px;
    }
}
.page-main {
    max-width: 640px;
}
