/*******************************************************
 *
 * General
 *
 *******************************************************/

.page-template-template-contact-us #inner-page-wrapper > .container {
    width: 100%;
}

.page-template-template-contact-us #content-sidebar,
.page-template-template-contact-us #content-full {
    margin-top: 0;
}

.page-template-template-contact-us #inner-page-wrapper {
    margin-bottom: 0;
}

.page-template-template-contact-us section.ip-section-1 {
    margin-bottom: 39px;
}

section.ip-section-2 {
    padding: 39px 39px;
}
.section-title-a span {
    display: block;
    /*font-family: var(--body-font), Sans-serif;
    letter-spacing: .16em;
    color: var(--primary-text-color-light);
    font-size: 20px;
    font-weight: 400;*/
}

#contact-us {
    /*margin-top: 152px;*/
}

#contact-us .section-title-a {
    text-align: center;
}

.contact-form {
    width: 50%;
    margin: 0 auto;
}

.contact-form-inner {
    max-width: 514px;
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.contact-form p {
    text-align: center;
    line-height: 1.75;
    letter-spacing: .02em;
    font-weight: 300;
    margin: 11px 0 29.5px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    height: 51px;
    border: none;
    border-bottom: 1px solid var(--border-color-light);
    font-style: italic;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--primary-body-color);
    margin: 3.5px 0;
}

.contact-form textarea {
    padding-top: 19px;
    height: 85px;
    resize: none;
}

.contact-form .btn-a {
    margin-top: 48px;
    margin: 48px auto 0;
    display: block;
    vertical-align: top;
    max-width: 100%;
    width: 338px;
    /* height: 64px; */
    padding: 26px 0 23px;
    font-size: 13px;
    letter-spacing: .46em;
    color: var(--primary-text-color);
    font-family: var(--heading-font), serif;
    text-transform: uppercase;
    border: 1px solid #000;
    background: transparent;
    text-align: center;
    -webkit-transition: background .3s, color .3s, border .3s;
    -o-transition: background .3s, color .3s, border .3s;
    transition: background .3s, color .3s, border .3s;
}

.contact-form div.wpcf7 .ajax-loader {
    position: absolute;
    bottom: -20px;
    left: 0;
}

.ip-container .contact-form div.wpcf7 .ajax-loader {
    position: absolute;
    bottom: 0;
    left: 0;
}

.contact-form div.wpcf7-response-output {
    position: absolute;
    left: 0;
    right: 0;
    margin: 15px 0 0;
    text-align: center;
}

.ip-container .contact-form div.wpcf7-response-output {
    position: static;
}

.contact-photo {
    width: 50%;
    display: none;
}

.contact-photo img {
    display: block;
    width: 100%;
}

.contact-map {
    position: relative;
    width: 100%;
    margin-top: 39px;
}

.contact-map iframe {
    display: block;
    width: 100%;
}

#ip-contact {
    position: relative;
    overflow: hidden;
}

#ip-contact .section-title-a {
    font-size: 24px;
}

#ip-contact .contact-form {
    margin: 0 auto;
    overflow: visible;
    z-index: 1;
}

#ip-contact .contact-photo {
    display: block;
}

#ip-contact .contact-form div.wpcf7 .ajax-loader {
    position: absolute;
    bottom: 0;
    left: 0;
}

#ip-contact .contact-form div.wpcf7-response-output {
    position: absolute;
    background: #fff;
}

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}
    .flex:before, .flex:after {
        display: none;
    }
    .dir-col {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column wrap;
        flex-flow: column wrap;
    }
    .dir-col-reverse {
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-flow: column-reverse wrap;
        flex-flow: column-reverse wrap;
    }
    .dir-row-reverse {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        -ms-flex-flow: row-reverse wrap;
        flex-flow: row-reverse wrap;
    }
    .al-center {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .al-start {
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
    .al-end {
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end;
    }
    .ju-center {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .ju-start {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
    .ju-end {
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
    }
    .ju-between {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

section.ip-section-1 {
    padding: 0 28px;
}
    section.ip-section-1 .cta a img {
        height: 207px;
        object-fit: cover;
    }
    section.ip-section-1 .cta .cta-details:after {
        margin-top: 23px;
    }

section.ip-section-2 {
    padding: 39px 39px;
}
    #contact-us {
        /*margin-top: 152px;*/
    }
        #contact-us .section-title-a {
            text-align: center;
            color: #cdbe9d;
            text-transform: uppercase;
            font-family: var(--font-family-title);
        }
        .contact-form {
            width: 50%;
            margin: 0 auto;
        }
            .contact-form-inner {
                max-width: 514px;
                width: 90%;
                margin: 0 auto;
                position: relative;
            }
            .contact-form p {
                text-align: center;
                line-height: 1.75;
                letter-spacing: .02em;
                font-weight: 300;
                margin: 11px 0 29.5px;
            }
            .contact-form input[type="text"],
            .contact-form input[type="email"],
            .contact-form textarea {
                width: 100%;
                height: 51px;
                font-style: italic;
                font-size: 14px;
                font-weight: 600;
                letter-spacing: .02em;
                color: #000;
                margin: 3.5px 0;
                border: solid 1px transparent;
                border-bottom: solid 1px #000;
                transition: all .25s ease-in-out;
                padding: 0 10px;
            }
            .contact-form textarea {
                padding-top: 19px;
                height: 85px;
                resize: none;
            }
            .contact-form input[type="text"]:focus,
            .contact-form input[type="email"]:focus,
            .contact-form textarea:focus{
                border-color: var(--border-color-light);
                outline: 0;
                -webkit-box-shadow: inset 0 1px 1px var(--border-color-light), 0 0 8px var(--border-color-light);
                box-shadow: inset 0 0 1px var(--border-color-light), 0 0 8px var(--border-color-light);
            }
            .contact-form .btn-a {
                margin-top: 48px;
            }
                .contact-form .btn-a:hover{
           /*         background-color: #000;
                    border-color: #000;
                    color: #fff;*/

                    
    background: #cdbe9d;
    color: #fff;
    border: 0;
                }
            .contact-form div.wpcf7 .ajax-loader {
                position: absolute;
                bottom: -20px;
                left: 0;
            }
            .ip-container .contact-form div.wpcf7 .ajax-loader {
                position: absolute;
                bottom: 0;
                left: 0;
            }
            .contact-form div.wpcf7-response-output {
                position: absolute;
                left: 0;
                right: 0;
                margin: 15px 0 0;
                text-align: center;
                color: var(--primary-text-color);
            }
            .ip-container .contact-form div.wpcf7-response-output {
                position: static;
            }
        .contact-photo {
            width: 50%;
            display: none;
        }
            .contact-photo img {
                display: block;
                width: 100%;
            }

        .contact-map {
            position: relative;
            width: 100%;
            margin-top: 39px;
        }
        
            .contact-map iframe {
                display: block;
                width: 100%;
            }


/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

@media only screen and (max-width: 1440px) {}

@media only screen and (max-width: 1366px) {}

@media only screen and (max-width: 1280px) {}

@media only screen and (max-width: 1199px) {
    #ip-contact .contact-form {
        margin-bottom: 50px;
    }
}

@media only screen and (max-width: 991px) {
    #ip-contact .contact-form {
        margin-bottom: 100px;
    }

    #contact-us {
        display: block;
    }

    .contact-form,
    .contact-photo {
        width: 100%;
    }

    .contact-photo {
        margin: 50px auto 0;
        max-width: 360px;
    }
}

@media only screen and (max-width: 767px) {
    #ip-contact .contact-form {
        margin-bottom: 125px;
    }

    section.ip-section-2 {
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media only screen and (max-width: 480px) {}
