/*
 Theme Name: GeneratePress Child
 Theme URI: https://yourwebsite.com
 Description: Child theme for GeneratePress
 Author: Your Name
 Author URI: https://yourwebsite.com
 Template: generatepress
 Version: 1.0.0
 Text Domain: generatepress-child
*/

/* Add your custom CSS below */
@import url('https://fonts.googleapis.com/css2?family=Jacques+Francois&display=swap');
/* globals */
.size-full img {
    width: 100%;
}
.is-align-right {
    display: flex;
    justify-content: end;
    align-items: center;
}
.no-sidebar .entry-content .alignfull {
    margin-left: calc(-100.9vw / 2 + 100% / 2);
    margin-right: calc(-100.9vw / 2 + 100% / 2);
}
@media screen and (max-width: 1024px) {
    .bg-right-mobile {
        background-position: 70% !important;
    }
}
@media screen and (max-width: 767px) {
    .bg-right-mobile {
        background-position: 70% !important;
    }
    #mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open + #mega-menu-primary {
        position: absolute;
        width: max-content;
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
        color: #fff !important;
    }
}

.one-container .site-content {
    padding: 0 !important;
}
/* Header */
#masthead {
    background: #ECE7D1;
    .site-logo {
        max-width: 350px;
        width: 335px;
    }
    #mega-menu-primary {
        background: #ECE7D1;
        
        li a {
            color: #4C4135 !important;
            font-size: 17px !important;
        }
    }
    @media screen and (max-width: 767px) and (min-width: 550px) {
        grid-template-columns: auto auto auto;
        .site-logo {
            grid-column: 1;
        }   
    }
    @media screen and (max-width: 767px) {
        .site-logo {
            max-width: 320px !important;
        }  
    }
    
    .contact-button-header a {
        background-color: #8E977D;
    }
    .contact-button-header a:hover {
        background-color: #737d61 !important;
    }
}
div#logo_text > p:nth-child(1) a {
    font-family: "Jacques Francois", serif;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0%;
    color: #4c4135 !important;
    text-decoration: none !important;
}
div#logo_text > p:nth-child(2) a {
    font-family: Judson;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 16%;
    color: #4c4135 !important;
    text-decoration: none !important;
}
@media screen and (max-width: 1300px) and (min-width: 1024px){
    .mid-size-adjust {
        padding: 15px 30px !important;
        h2 {
            font-size: 36px !important;
        }
        .gb-element-700bae06 {
            grid-template-columns: max-content max-content;
            gap: 0;
        }
    }
    .laptop-size {
        background-position-x: 65% !important;
    }
}
@media screen and (max-width: 1200px) and (min-width: 550px){
    .site-logo {
        flex: 0 0 307px;
    }   
    div#logo_text > p:nth-child(1) {
        font-size: 16px;
    }
    div#logo_text > p:nth-child(2) {
        font-size: 13px;
    }
}
@media screen and (max-width: 767px) {
    ul.wp-block-list li {
        font-size: 14px !important;
    }
}
@media screen and (max-width: 500px) {
    .make-one-col {
        flex-direction: column;
    }
}
/* Footer */
.nf-before-form-content,
.nf-field-label {
    display: none;
}
.ninja-forms-form-wrap nf-fields-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    
    input, textarea {
        border: 1px solid #8A7650;
    }
    label {
        font-size: 12px;
        font-weight: 400;
    }
    .nf-field-container {
        margin: 0;
    }
    nf-field {
        width: calc(50% - 5px);
    }
    nf-field:nth-child(3) {
        width: 100%;
        .nf-field-label {
            display: block;
        }
        .field-wrap {
            justify-content: space-between;
            & > div {
                width: calc(50% - 5px);
            }
        }
    }
    nf-field:nth-child(4) {
        width: 100%;
        textarea {
            height: 100px;
        }
    }
    nf-field:nth-child(5) {
        width: 70%;
    }
    nf-field:nth-child(6) {
        width: 25%;
    }
    [type="submit"] {
        border-radius: 10px;
        border: none;
    }
    
    @media screen and (max-width: 650px) {
        label {
            font-size: 12px;
            font-weight: 400;
        }
        .nf-field-container {
            margin: 0;
        }
        nf-field {
            width: 100%;
        }
        nf-field:nth-child(3) {
            .nf-field-label {
            }
            .field-wrap {
                & > div {
                    width: 100%;
                }
            }
        }
        nf-field:nth-child(4) {
            textarea {
                height: 100px;
            }
        }
        nf-field:nth-child(5) {
            width: 100%;
        }
        nf-field:nth-child(6) {
            width: 100%;
            text-alight: center;
            .nf-field-element {
                text-align: center;
            }
        }
        
        [type="submit"] {
        }
    }
}

/* -------------- */
.contact-form-footer {
    
    form.otter-form__container {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        
        & > div {
            width: calc(50% - 5px);
        }
        label {
            display: none;
        }
        .is-not-hide-label label {
            display: block;
        }
        .width-50 label {
            width: 50%;
            font-size: 12px;
        }
        input {
            width: 100%;
            border: 1px solid #8A7650;
        }
        .is-col-span-2 {
            width: 100%;
        }
        .is-align-right input {
            width: calc(50% - 5px) !important;
        }
        .wp-block-themeisle-blocks-form-multiple-choice {
            width: 70% !important;
            font-size: 12px;
        }
        .protection {
            width: max-content;
            vertical-align: middle;
            align-self: center;
        }
        .wp-block-button {
            width: max-content !important;
        }
        textarea {
            height: 100px;
            border: 1px solid #8A7650;
        }
        button.wp-block-button__link {
            border-radius: 10px;
            background-color: #8E977D;
        }
        button.wp-block-button__link:hover {
            background-color: #737d61;
        }
    }
    
    @media screen and (max-width: 550px) {
        
        form.otter-form__container {
            & > div ,
            .is-col-span-2 {
                width: 100%;
            }
            & > div:nth-child(3) {
                flex-direction: column;
            }
            .width-50 label {
                width: 100%;
                font-size: 12px;
            }
            .is-align-right input {
                width: 100% !important;
            }
            
            .wp-block-themeisle-blocks-form-multiple-choice {
                width: calc(100% - 25px) !important;
            }
            .wp-block-button {
                margin: 0 auto;
            }
        }
    }
}