#contact-hero {
    padding-top: 240px;
    background-color: #dfdfdf;
}

#contact-hero .container {
    position: relative;
}

#top-container {
    z-index: 2;
    padding-bottom: 40px;
}

#contact-left h1 {
    letter-spacing: -2px;
}

.contact-text p {
    font-weight: 300;

}

.contact-schedule {
    margin-bottom: 30px;
}

.schedule-inner {
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .1);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
}

.schedule-text {
    width: 50%;
    flex-basis: 50%;
    max-width: 100%;
    font-size: 18px;
    line-height: 26px;
    color: #292929;
    font-weight: 500;
}

.schedule-inner a {
    border-radius: 5px;
    background-color: #292929;
    padding: 18px 20px;
    display: flex;
    flex-basis: 50%;
    width: 50%;
    max-width: 260px;
    color: var(--white);
    text-transform: uppercase;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.schedule-inner a:hover {
    text-decoration-line: none;
    color: var(--light-grey);
}

.schedule-inner a .icon {
    width: 24px;
    height: 18px;
    mask: url(../../images/checkmark.svg) no-repeat center;
    -webkit-mask: url(../../images/checkmark.svg) no-repeat center;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--lighter-grey);
    margin-left: auto;
}

.schedule-inner a:hover .icon {
    background-color: var(--light-grey);
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.contact-links a {
    font-size: 28px;
    color: var(--dark-grey);
    font-weight: 400;
    padding-right: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.contact-links a:hover {
    color: var(--darker-grey);
    text-decoration-line: none;
}

.contact-links a.tel .icon {
    width: 23px;
    height: 20px;
    mask: url(../../images/phone.svg) no-repeat center;
    -webkit-mask: url(../../images/phone.svg) no-repeat center;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, .5);
    margin-left: auto;
    display: flex;
    flex-basis: 23px;
    padding-right: 10px;
}

.contact-links a:hover .icon {
    background-color: rgba(0, 0, 0, 1);
}

.contact-social {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.contact-social span {
    font-size: 16px;
    color: var(--black);
    font-weight: 300;
}

#social-menu-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#social-menu-contact li {
    padding: 0 12px;
}

#social-menu-contact li:last-of-type {
    display: none;
}

#social-menu-contact li a {
    font-size: 22px;
    color: var(--dark-grey);
    text-decoration-line: none;
}

#social-menu-contact li a:hover {
    color: var(--dark-grey);
    text-decoration-line: none;
}

#contact-image {
    width: 120%;
    max-width: 120%;
    margin-left: -10%;
    margin-top: -50px;
}

.contact-form-inner {
    border-radius: 10px;
    filter: drop-shadow(0px 28px 18px rgba(0, 0, 0, 0.09));
    background-color: var(--white);
    padding: 55px 60px 45px;
}

.contact-form-inner form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    flex-basis: 100%;
}

.fomr-title {
    margin-bottom: 50px;
}

.fomr-title h3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    letter-spacing: -1px;
    line-height: 34px;
    color: var(--dark-grey);
    text-align: center;
    margin-bottom: 0;
}

.fomr-title h3 span {
    padding-right: 15px;
}

#contact-right .contact-form-inner .gform_wrapper.gravity-theme input::placeholder,
#contact-right .contact-form-inner .gform_wrapper.gravity-theme textarea::placeholder {
    font-size: 14px;
    line-height: 36px;
    color: #989898;
    font-weight: 400;
}

#contact-right .contact-form-inner .gform_wrapper.gravity-theme input,
#contact-right .contact-form-inner .gform_wrapper.gravity-theme textarea {
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    border-radius: 0;
    color: var(--black);
    line-height: 20px;
    padding: 15px 0;
    height: 51px;
}

#contact-right .contact-form-inner .gform_wrapper.gravity-theme textarea {
    resize: none;
    overflow: hidden;
    box-sizing: border-box;
    word-break: break-word;
    height: 63px;
}

#contact-right .contact-form-inner .gform_wrapper.gravity-theme .gfield_description {
    display: none;
}

#contact-right .contact-form-inner div {
    width: 100%;
    flex-basis: 100%;
}

#gform_submit_button_1 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px;
    background-color: var(--dark-grey);
    color: var(--lighter-grey);
    width: 100%;
    flex-basis: 100%;
    padding: 20px;
    margin-bottom: 0;

}

#gform_submit_button_1 .text {
    font-size: 14px;
    line-height: 23px;
    text-transform: uppercase;
    font-weight: 700;
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}

#gform_submit_button_1 .icon {
    width: 23px;
    height: 17px;
    mask: url(../../images/submit-arrow.svg) no-repeat center;
    -webkit-mask: url(../../images/submit-arrow.svg) no-repeat center;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--lighter-grey);
    margin-left: auto;
    display: flex;
    flex-basis: 23px;
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}

#gform_submit_button_1:hover .text {
    color: var(--white);
}

#gform_submit_button_1:hover .icon {
    background-color: var(--white);
}

/*@media (max-width: 1399.9px) {*/
/*    .schedule-inner {*/
/*        justify-content: center;*/
/*    }*/

/*    .schedule-text {*/
/*        width: 100%;*/
/*        flex-basis: 100%;*/
/*        text-align: center;*/
/*    }*/

/*    .schedule-text {*/
/*        margin-bottom: 10px;*/
/*    }*/
/*}*/
@media (max-width: 1199.9px) {
    .schedule-text {
        width: 60%;
        flex-basis: 60%;
    }

    .schedule-inner a {
        width: 40%;
        flex-basis: 40%;
    }
}

@media (max-width: 991.8px) {
    #contact-hero {
        padding-top: 100px;
    }

    #contact-left {
        margin-bottom: 40px;
    }

    .schedule-inner {
        justify-content: space-between;
    }

    .schedule-text {
        width: 50%;
        flex-basis: 50%;
        text-align: left;
    }

    .contact-form-inner {
        width: 500px;
        flex-basis: 500px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    #contact-image {
        width: 150%;
        max-width: 150%;
        margin-left: -25%;
        margin-top: -50px;
    }

    #contact-left h1 {
        text-align: center;
    }

    .contact-text p {
        text-align: center;
    }

    .fomr-title {
        margin-bottom: 15px;
    }

    .gform_wrapper.gravity-theme .gform_footer, .gform_wrapper.gravity-theme .gform_page_footer {
        padding-bottom: 0;
    }
}

@media (max-width: 767.8px) {
    .schedule-inner {
        justify-content: center;
    }

    .schedule-text {
        text-align: center;
        width: 100%;
        flex-basis: 100%;
        margin-bottom: 10px;
    }

    .schedule-inner a {
        width: 260px;
        flex-basis: 260px;
        max-width: 100%;
        justify-content: center;
    }

    .contact-links {
        justify-content: center;
    }

    .contact-social {
        justify-content: center;
    }
}

@media (max-width: 575.8px) {
    .contact-form-inner {
        padding: 30px;
    }

    #contact-image {
        width: 180%;
        max-width: 180%;
        margin-left: -40%;
        margin-top: -20px;
    }
}

@media(min-width: 1200px) {
    .contact-text p {
        width: 615px;
    }
}