:root {
    --color: #8B5D38;
    --hover-color: #6f4c3e;
    --padding: 100px;

    @media (max-width: 1600px) {
        --padding: 50px;
    }
    @media (max-width: 1200px) {
        --padding: 15px;
    }
    @media (max-width: 991px) {

    }
    @media (max-width: 768px) {

    }
}
a {
    text-decoration: none;
    color: #fff;
}
a:hover {
    text-decoration: underline;
    color: #FFF;
}
.btn-primary {
    background: var(--color) !important;
    color: #FFF !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;  
    border: 0 !important;
}
.btn-primary:hover {
    background: var(--hover-color) !important;
    color: #FFF !important;
}

html,body {
    scroll-behavior: smooth;
}

body {
    font-family: Work Sans, sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0%;
    line-height: 160%;
    color: #FFF;
    position: relative;
}


h2 {
    font-family: Montserrat;
    font-weight: 400;
    font-style: Regular;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;      
}
h2.kristi {
    font-family: Kristi;
    font-weight: 400;
    font-style: Italic;
    font-size: 60px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
}


header {
    position: relative;
    display: flex;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0px var(--padding);

    .logo {
        position: absolute;
        /* top: 0;
        left: 0; */
        width: 336px;
        height: 186px;
        /* margin: 0 auto; */
        background: url('../images/logo.png') no-repeat center center;


        ::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('../images/logo-bg.png') no-repeat center bottom;
            background-size: cover;
            overflow: hidden;
            z-index: -1;
        }


        a {
            display: block;
            width: 100%;
            height: 100%;
            z-index: 2;
        }
    }
    nav {

        @media (max-width: 991px) {        
        .navbar-collapse {
                position: fixed;
                top: 0px;
                left: 0;
                width: 100%;
                background: rgba(255,255,255,.8);
                padding: 10px;        

                .close {
                    margin-right: 35px;
                    margin-top: 1px;
                }
                .navbar-nav {
                    margin-top: 20px;
                }
            }
        }

        .nav-item {
            padding: 0px 20px;
            * {
                color: #484848 !important;
            }
        }        
        .phone {
            margin-left: 50px;
            * {
                color: #000 !important
            }
            a {
                text-decoration: underline !important;
                i {
                    padding-right: 7px;
                }
            }
        }
    }

    &.header-fixed {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1049;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: #b89c7c;        
        /* background: rgba(255,255,255,.8);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px); */
    }

}

@media (max-width: 991px) {
    header {
        .logo {
            width: calc(100% - 80px);
            height: 100%;
            background-size: contain;
            background-position: left 80px top 0px;

            ::before {
                width: 200px;
                height: 100px;
                background-position: 0px -50px;
            }
        }
    }
}


.hero {
    background: url('../images/hero-bg.png') no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 70vh;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    padding: 250px var(--padding);

    .hero-content {
        width: 50vw;
    }
}



.socials {
    position: absolute;
    right: 140px;
    display: flex;
    margin-top: 30px;
    flex-direction: column;
}    

@media (max-width: 991px) {
    .hero {
        padding: 100px var(--padding); 

        .hero-content {
            width: 100%;
        }     
    }
    .socials {
        position: absolute;
        right: 20px;
        top: 55px;
        display: flex;
        margin-top: -10px;
        flex-direction: row;
    }      
}

.mycontainer {
    background: url('../images/body-bg.png') no-repeat center top;
    background-size: cover;
    width: 100%;
    height: fit-content;
    margin-top: 45vh;
    padding: 180px var(--padding) 0px;
    min-height: calc(100vh - 22vh);

    .before {
        position: absolute;
        top: 50vh;
        left: 0;
        width: 100%;
        height: calc(100% - 50vh);
        background: url('../images/sections-bg.png') no-repeat left top;
        background-size: cover;
        z-index: -1;
    }
    .before::before {
        content: '';
        position: absolute;
        top: 40vh;
        left: 0;
        width: 100%;
        height: calc(100% - 40vh);
        background: url('../images/hero-salt.png') no-repeat left top;
        background-size: cover;
        z-index: -1;
    }
} 

@media (max-width: 991px) {
    .mycontainer {
        padding-top: 100px;
    }
}

.mycontainer::before {
    content: '';
    position: absolute;
    top: 50vh;
    left: 0;
    width: 100%;
    height: calc(100% - 50vh);
    background: url('../images/hero-salt.png') no-repeat left top;
}
.mycontainer2 {
    padding: 50px var(--padding);
    background: #514035;
    z-index: 1;
    position: relative;    
}
.gallery, .hazirend {
    background: #514035;
    .padding {
        padding: 50px var(--padding);
    }  
}


.gallery .swiper-slide img {
    height: 250px;
    object-fit: cover;
    width: 100%;
}


.hazirend .swiper-slide:first-child {
    margin-left: 50px;
}  

.subpage {
    header {
        z-index: 1;
    }
    .mycontainer {
        margin-top: 5vh;
        padding: 250px var(--padding) 0px;
    }
    .mycontainer::before {
        top: 13vh;
        height: calc(100% - 13vh);
    }
    .mycontainer .before {
        top: 10vh;
        height: calc(100% - 10vh);
    }
}
body.subpage::after {
    height: calc(100% - 19vh);
}

.isloading-overlay {
    color: #FFF;
}

.box {
    background: #644F41;
    border-radius: 10px;
    width: 95%;
    position: relative;
    text-align: center;
    padding: 5px 20px 20px;

    .number {
        color: #7B6150;
        font-size: 100px;
        position: absolute;
        bottom: 25px;
        right: 0;
    }
    .icon {
        background: #EEE5D5;
        margin: 20px auto;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    h3 {
        text-align: left;
        font-family: Work Sans;
        font-weight: 700;
        font-style: Bold;
        font-size: 18px;
        line-height: 160%;
        letter-spacing: 0%;            
    }
    p {
        text-align: left;
        position: relative;
    }
}


body::after {
    content: '';
    position: absolute;
    bottom: 5vh;
    right: 0;
    width: 10%;
    height: calc(100% - 60vh);
    background: url('../images/sections-salt.png') no-repeat right bottom;
}     
@media (max-width: 991px) {
    body::after {
        display: none;
    }
}
 

.imgflips {
    position: relative;
    .img1 {
        position: absolute;
        z-index: 1;
    }
    .img2 {
        position: absolute;
        z-index: 2;
        top: 50px;
        left: 200px;
    }



    @media (max-width: 1400px) {
        .img1, .img2 {
            width: 60%;
        }
    }    
    
    @media (max-width: 1100px) {
        .img1, .img2 {
            width: 50%;
        }
    }  
        
    @media (max-width: 991px) {
        .img1, .img2 {
            top: 0;
            left: 0;
            width: 50%;
        }
        .img2 {
            top: 20px;
            left: 50px;
        }
    }    
}

@media (max-width: 991px) {
    .imgflips {
        display: flex;

        .img1, .img2 {
            position: relative;
            width: 50%;
            top: 0;
            left: 0;
            max-width: 100%;
            height: auto;
        }
    }
}

.content1 {
    padding-bottom: 50px;
    
    h2:first-child {
        margin-left: -60px;
    }
}

@media (max-width: 991px) {
    .content1 {
        h2:first-child {
            margin-left: 0;
            margin-top: 20px;
        }
    }
}

.appointment {
    background: url('../images/appointment-bg.png') no-repeat center center;
    background-size: cover;
    width: 100%;
    height: fit-content;
    padding: 50px var(--padding);
    text-align: center;
    color: #000;
    position: relative;
    z-index: 1;

    a {
        color: var(--color) !important;
    }
}

.gallery-buttons {
    display: flex;
    position: absolute;
    top: 50px;
    right: 200px;
    .button-prev {
        padding: 2px 5px;
        cursor: pointer;
    }
    .button-next {
        padding: 2px 5px;
        background: #828282;
        cursor: pointer;
    }
}
@media (max-width: 991px) {
    .gallery-buttons {
       right: 20px;
    }
}

footer {
    padding-top: 20px;
    text-align: center;
    * {
        color: #FFF !important;
        font-size: 12px;
    }
}

/* Custom checkbox */
.control {
    font-family: arial;
    display: block;
    position: relative;
    padding-left: 40px;
    margin-bottom: 10px;
    padding-top: 3px;
    cursor: pointer;
    font-size: 16px;

    @media (max-width: 991px) {
        font-size: 15px;
    }
}
.control input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.control_indicator {
    position: absolute;
    top: 2px;
    left: 0;
    height: 24px;
    width: 24px;
    background: #EDEEF0;
    border: 1px solid #ffffff;
    border-radius: 0px;
}
.control:hover input ~ .control_indicator,
.control input:focus ~ .control_indicator {
    background: #cccccc;
}

.control input:checked ~ .control_indicator {
    background: #f4c009;
}
.control:hover input:not([disabled]):checked ~ .control_indicator,
.control input:checked:focus ~ .control_indicator {
    background: #0e6647d;
}
.control input:disabled ~ .control_indicator {
    background: #e6e6e6;
    opacity: 0.6;
    pointer-events: none;
}
.control_indicator:after {
    box-sizing: unset;
    content: '';
    position: absolute;
    display: none;
}
.control input:checked ~ .control_indicator:after {
    display: block;
}
.control-checkbox .control_indicator:after {
    left: 9px;
    top: 5px;
    width: 3px;
    height: 8px;
    border: solid #000000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.control-checkbox input:disabled ~ .control_indicator:after {
    border-color: #7b7b7b;
}
.control-checkbox .control_indicator::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 4.5rem;
    height: 4.5rem;
    margin-left: -1.3rem;
    margin-top: -1.3rem;
    background: #F4C009;
    border-radius: 3rem;
    opacity: 0.6;
    z-index: 99999;
    transform: scale(0);
}
@keyframes s-ripple {
    0% {
        transform: scale(0);
    }
    20% {
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}
@keyframes s-ripple-dup {
   0% {
       transform: scale(0);
    }
   30% {
        transform: scale(1);
    }
    60% {
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}
.control-checkbox input + .control_indicator::before {
    animation: s-ripple 250ms ease-out;
}
.control-checkbox input:checked + .control_indicator::before {
    animation-name: s-ripple-dup;
}