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

.page-template-template-contact-us #inner-page-wrapper > .container {
    padding: 0;
    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;
}

#ip-git {
    padding: 120px 39px;
}

#ip-git::before{
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url(../../images/accent-dot.png) repeat left top;
    pointer-events: none;
    z-index: -1;
}

#ip-contact::before{
    content: '';
    position: absolute;
    top: 80px;
    left: 0;
    width: 594px;
    height: 594px;
    background: url(../../images/accent-compass.png) no-repeat top left;
    background-size: contain;
    opacity: .05;
    pointer-events: none;
    z-index: 1;
}

#ip-contact::after{
    content: '';
    position: absolute;
    bottom: 20px;
    right: 0;
    width: 440px;
    height: 558px;
    background: url(../../images/accent-flower-outline-c.png) no-repeat right bottom;
    pointer-events: none;
    opacity: .1;
    z-index: -1;
}

#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 .contact-list{
    text-align: center;
    margin: 0 !important;
}

.contact-form .contact-list li{
    display: block;
}

.contact-form div.wpcf7{
    position: relative;
}

.contact-form p {
    font-size: 15px;
    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 input[type="tel"],
.contact-form textarea {
    width: 100%;
    height: 51px;
    border: none;
    border-bottom: 1px solid var(--secondary-color);
    font-style: italic;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--font-color-title);
    margin: 3.5px 0;
}

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

.contact-form .default-btn-a {
    margin-top: 48px;
}

.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::before{
    content: '';
    position: absolute;
    bottom: -65px;
    right: 54%;
    width: 100vw;
    height: 30%;background: url(../../images/accent-dot.png) repeat left top;
    pointer-events: none;
    z-index: -1;
}

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

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

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

#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;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

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

/*******************************************************
 *
 * 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-git {
        padding: 80px 39px;
    }
    #ip-contact::before,
    #ip-contact::after{
        width: 40%;
        height: 40%;
        background-size: contain;
    }
    #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;
    }

    #ip-git {
        padding-left: 5%;
        padding-right: 5%;
    }
}

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