@media (min-width: 1200px) {
    section.contact-page .container {
        max-width: 1638px;
    }
}

.hero-wrapper {
    margin: 90px 0 80px;
    padding: 60px 0;
    background-color: #2B7272;
    background-size: cover;
}

.hero-wrapper h1 {
    font-weight: 400;
    font-size: 96px;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 26px;
}

.hero-wrapper p {
    font-weight: 400;
    font-size: 36px;
    line-height: 1;
    color: #fff;
}

.hero-wrapper .hero-content_holder {
    margin-bottom: 74px;
}

.hero-wrapper .tags-holder {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
}

.hero-wrapper .tags-holder .tag:last-of-type {
    margin-right: 0;
}

.hero-wrapper .tags-holder .tag:first-of-type {
    margin-left: 0;
}

.hero-wrapper .tags-holder .tag {
    font-family: 'Alliance No.1';
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    min-width: 212px;
    height: 48px;
    color: #F4F0ED;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    border: 2px solid #F4F0ED;
    border-radius: 45px;
    padding: 0 30px;
    margin: 0 18px 18px;
    text-decoration: none !important;
}

.contact-form-wrapper {
    margin-bottom: 160px;
}

.contact-form-wrapper .contact-form-content {
    margin-bottom: 17px;
}

.contact-form-wrapper .contact-form-content p {
    font-family: 'Satoshi';
    font-weight: 400;
    font-size: 36px;
    line-height: 1.2;
    color: #16000A;
}


.contact-form-wrapper .wpcf7-form {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.contact-form-wrapper .wpcf7-form .wpcf7-form-control-wrap:first-of-type,
.contact-form-wrapper .wpcf7-form .wpcf7-form-control-wrap:nth-of-type(2),
.contact-form-wrapper .wpcf7-form .wpcf7-form-control-wrap:nth-of-type(3),
.contact-form-wrapper .wpcf7-form .wpcf7-form-control-wrap:nth-of-type(4) {
    width: 48%;
}

.wpcf7-textarea {
    height: 200px;
}

.wpcf7-text::placeholder,
.wpcf7-textarea::placeholder {
    transition: all 300ms ease;
}

.wpcf7-text:hover::placeholder,
.wpcf7-textarea:hover::placeholder {
    color: #245656;
}

.wpcf7-text:hover,
.wpcf7-textarea:hover {
    border: 1px solid #245656;
}

.wpcf7-form-control-wrap,
.wpcf7-form-control {
    width: 100%;
}

.wpcf7-email {
    margin-bottom: 20px;
}

.wpcf7-text,
.wpcf7-textarea {
    padding: 13px 18px;
    background: #FFFFFF;
    border-radius: 4px;
    border: 1px solid #fff;
    margin-bottom: 25px;
    transition: all 300ms ease;
}

.wpcf7-text::placeholder,
.wpcf7-textarea::placeholder {
    color: #A0A0A3;
}

.contact_section_form textarea {
    margin-bottom: 20px;
}

.check_box_p p {
    font-family: 'Alliance No.1';
    font-size: 16px;
    color: #16000A;
    margin-bottom: 0;
}

.check_box_p {
    display: flex;
    align-content: center;
    align-items: center;
    margin-bottom: 26px;
}

.check_box_p input {
    margin-right: 10px;
}

.wpcf7-form .wpcf7-submit {
    color: #2B7272;
    padding: 6px 32px 9px 32px;
    border: 2px solid #2B7272;
    border-radius: 45px;
    display: inline;
    width: auto;
    transition: all .3s ease;
}

.wpcf7-form .wpcf7-submit:hover {
    background-color: #2B7272;
    color: white;
    text-decoration: none;
}

input[type="checkbox"] {
    background-color: white;
    border: 2px solid #2B7272;
    height: 20px;
    width: 20px;
    border-radius: 2px;
    margin-right: 5px;
}

input.wpcf7-not-valid {
    border-color: #FF4343;
}

.wpcf7-not-valid-tip {
    display: block;
    font-family: 'Alliance No.1';
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
    text-align: right;
    color: #FF4343;
    position: absolute;
    top: 55px;
    right: 0;
}

input[type="checkbox"] {
    position: relative;
    width: 20px;
    height: 20px;
}

input[type="checkbox"]::before {
    content: '';
    width: 20px;
    height: 20px;
    background: #fff;
    position: absolute;
    border: 2px solid #2B7272;
    border-radius: 2px;
}

input[type="checkbox"]:checked::before {
    background: #2B7272;
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-block;
    transform: translate(-50%, -50%) rotate(45deg);
    height: 12px;
    width: 6px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
}

.wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-list-item {
    margin-left: 0;
}

.wpcf7-acceptance.optional label {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.contact_section_right.hide {
    display: none;
}

.contact_form_thankyou.hide {
    display: none;
}

.contact_form_thankyou {
    padding: 35px;
}

.contact_form_thankyou .icon-row {
    margin-bottom: 30px;
}

.contact_form_thankyou .content-row {
    margin-bottom: 40px;
}

.contact_form_thankyou .content-row h2 {
    font-family: 'Satoshi';
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    color: #2B7272;
}

.contact_form_thankyou .content-row p {
    font-family: 'Alliance No.1';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    color: #2B7272;
}

.contact_form_thankyou .button-row .send_another {
    font-family: 'Alliance No.1';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    color: #2B7272;
    border: 2px solid #2B7272;
    height: 38px;
    width: 163px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 300ms ease;
}

.contact_form_thankyou .button-row .send_another:hover {
    background: #2B7272;
    color: #fff;
}

.wpcf7-response-output {
    display: none;
}

.col-md-5.contact_first_section_image_side {
    padding-left: 0px;
}

.contact_first_section_a {
    display: none;
}

.contact_first_section_a a {
    font-family: 'Alliance No.1';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    color: #631837;
    background: #F4F0ED;
    border: 2px solid #F4F0ED;
    border-radius: 45px;
    padding: 6px 31px 7px;
}

.contact-form-image img {
    border-radius: 4px;
}

@media (max-width: 1440px) {
    .contact-page .container {
        max-width: 1180px;
        padding: 0px 15px;
    }
}

@media (max-width: 1199px) {
    .hero-wrapper h1 {
        font-size: 72px;
    }

    .hero-wrapper p {
        font-size: 28px;
    }

    .hero-wrapper .tags-holder .tag {
        margin-left: 0;
    }
}

@media (max-width: 991px) {
    .contact-form-wrapper .contact-form-holder {
        order: 2;
        flex:  0 0 74%;
    }

    .contact-form-wrapper .contact-form-image {
        order: 1;
        margin-bottom: 40px;
        text-align: center;
    }

    .hero-wrapper .tags-holder .tag {
        margin: 0 9px 18px;
        width: calc(50% - 18px);
    }

    .hero-wrapper .tags-holder {
        width: calc(74% + 18px);
    }

    .hero-wrapper .tags-holder .tag:first-of-type {
        margin-left: 9px;
    }

    .hero-wrapper .tags-holder .tag:last-of-type {
        margin-right: 9px;
    }

    .hero-content_holder {
        flex: 0 0 74%;
    }

    .contact-page .row {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .hero-wrapper h1 {
        font-size: 58px;
    }

    .hero-content_holder {
        flex: 0 0 100%;
    }

    .hero-wrapper .tags-holder {
        width: unset;
    }

    .hero-wrapper .tags-holder .tag {
        margin: 0px 18px 18px;
    }

    .hero-wrapper p {
        font-size: 21px;
    }

    .hero-wrapper .tags-holder {
        margin: 0 -18px;
    }

    .hero-wrapper .tags-holder .tag:first-of-type {
        margin-left: 18px;
    }

    .hero-wrapper .tags-holder .tag {

    }

    .wpcf7-spinner {
        display: none;
    }

    .wpcf7-acceptance.optional label {
        align-items: flex-start;
        align-content: flex-start;
    }

    .wpcf7-acceptance.optional label input {
        margin-top: 3px;
    }

    .wpcf7-acceptance label .wpcf7-list-item-label {
        text-align: left;
        padding-left: 10px;
    }
}

@media only screen and (max-width: 575px) {
    .hero-wrapper {
        padding: 40px 0 28px;
        margin-bottom: 40px;
    }

    .hero-wrapper .hero-content_holder {
        margin-bottom: 40px;
    }

    .hero-wrapper h1 {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .hero-wrapper .tags-holder {
        margin-left: 0;
    }

    .hero-wrapper .tags-holder .tag {
        max-width: 100%;
        width: 100%;
        margin: 0 0 32px;
    }

    .hero-wrapper .tags-holder .tag:first-of-type {
        margin-left: 0;
    }

    .contact-form-wrapper .contact-form-content p {
        font-size: 32px;
    }

    .contact-form-wrapper .wpcf7-form .wpcf7-form-control-wrap:first-of-type,
    .contact-form-wrapper .wpcf7-form .wpcf7-form-control-wrap:nth-of-type(2),
    .contact-form-wrapper .wpcf7-form .wpcf7-form-control-wrap:nth-of-type(3),
    .contact-form-wrapper .wpcf7-form .wpcf7-form-control-wrap:nth-of-type(4) {
        width: 100%;
    }

    .wpcf7-text,
    .wpcf7-textarea {
        margin-bottom: 20px;
    }

    .hero-wrapper .tags-holder {
        margin-left: 0;
        padding-right: 35px;
    }
}

@media only screen and (max-width: 425px) {
    .contact_section_right,
    .contact_second_section_left {
        max-width: 100%;
    }

    .contact_email_us p {
        font-size: 15px;
    }
}