.contact_section {
    margin-top: 50px;
    display: flex;
    gap: 50px;
}

@media (max-width: 991px) {
    .contact_section {
        flex-wrap: wrap;
    }
}

.contact_section .contact_form_wrapper option {
    color: #000;
}

@media (max-width: 991px) {
    .contact_section .form {
        width: 100%;
        order: 2;
    }
}

.contact_section .form .cf7_contact_wrapper .contact_row {
    display: flex;
    gap: 20px;
}

.contact_section .form .cf7_contact_wrapper .contact_row .contact_input {
    width: 100%;
}

.contact_section .form .cf7_contact_wrapper .contact_row .contact_input input,
.contact_section .form .cf7_contact_wrapper .contact_row .contact_input textarea {
    width: 100%;
    border-radius: 0;
    border-width: 1px;
    margin-bottom: 10px;
    color: #fff;
}

.contact_section .form .cf7_contact_wrapper .contact_row .contact_input input {
    height: 50px;
    margin-top: 15px;
}

.contact_section .form .cf7_contact_wrapper .contact_row .contact_input textarea {
    height: 160px;
    margin-top: 15px;
}

.contact_section .form .cf7_contact_wrapper .contact_row .contact_input .wpcf7-submit {
    margin-top: unset;
}

.contact_section .form .cf7_contact_wrapper .contact_row.row_acceptance {
    margin-top: 10px;
}

.contact_section .form .cf7_contact_wrapper .contact_row.row_acceptance .contact_input {
    display: flex;
    gap: 30px;
}

.contact_section .form .cf7_contact_wrapper .contact_row.row_acceptance .contact_input .wpcf7-form-control-wrap {
    cursor: pointer;
}

.contact_section .form .cf7_contact_wrapper .contact_row.row_acceptance .wpcf7-list-item {
    margin-left: -5px;
}

.contact_section .form .cf7_contact_wrapper .contact_row.row_acceptance input {
    height: 20px;
    height: 20px !important;
    width: 20px !important;
    background-color: transparent;
}

.contact_section .form .wpcf7-not-valid-tip {
    margin-top: -10px;
}

.contact_section .form .btn input[type="submit"] {
    text-transform: uppercase;
    color: #ffffff;
    width: auto;
    background-color: transparent;
    height: 100%;
    display: block;
    padding: 20px 45px;
    z-index: 2;
    position: relative;
    border: unset;
    margin-bottom: unset !important;
    font-size: 14px;
}

.contact_section .form .btn-wrapper .btn span {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    background-color: #DEDC00;
    transition: width 0.4s ease-in-out, height 0.4s ease-in-out;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.contact_section .form .btn-wrapper .btn {
    position: relative;
    display: inline-block;
    overflow: hidden;
    background-color: #DEDC00;
    width: auto;
    z-index: 2;
}

.contact_section .form .btn-wrapper {
    display: flex;
    margin-top: 35px;
}

.contact_section .wpcf7-list-item input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.contact_section .wpcf7-list-item-label {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 2px #fff solid;
    border-radius: 0;
    border-width: 2px;
}

.contact_section .wpcf7-list-item:hover input~.wpcf7-list-item-label {}

.contact_section .wpcf7-list-item input:checked + .wpcf7-list-item-label {
    background-color: transparent;
}

.contact_section .wpcf7-list-item-label:after {
    content: "";
    position: absolute;
    display: none;
}

.contact_section .wpcf7-list-item input:checked + .wpcf7-list-item-label:after {
    display: block;
}

.contact_section .wpcf7-list-item .wpcf7-list-item-label:after {
    left: 3.5px;
    top: 1px;
    width: 9px;
    height: 12px;
    border: solid #DEDC00;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(35deg);
    -ms-transform: rotate(35deg);
    transform: rotate(35deg);
}

.contact_section .lable_accept {
    display: none;
}

.contact_section .contact_person_wraper {
    width: calc((100%/3) - 50px);
    margin-top: 80px;
}

@media (max-width: 991px) {
    .contact_section .contact_person_wraper {
        width: 100%;
        order: 1;
    }
}

.contact_section .contact_person_wraper .person_box {
    border-right: 5px solid #DEDC00;
    border-top: 5px solid #DEDC00;
}

.contact_section .contact_person_wraper .person_box .person_pic {
    height: 300px;
}

.contact_section .contact_person_wraper .person_box .person_pic img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.contact_section .contact_person_wraper .person_box .person_info {
    display: block;
    background-color: #DEDC00;
    width: 100%;
    height: auto;
    text-align: left;
    padding: 35px 20%;
}

@media (max-width: 1399px) {
    .contact_section .contact_person_wraper .person_box .person_info {
        padding-left: 10%;
        padding-right: 10%;
    }
}

.contact_section .contact_person_wraper .person_box .person_info .person_name {
    color: #000;
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 10px;
}

.contact_section .contact_person_wraper .person_box .person_info .person_description {
    color: #000;
    margin-bottom: 15px;
    line-height: 1.5;
}

.contact_section .contact_person_wraper .person_box .person_info .btn-text {
    color: #000;
}

.contact_section .contact_person_wraper .person_box .person_info .person_tel a {
    position: relative;
    padding-left: 34px;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .contact_section .contact_person_wraper .person_box .person_info .person_tel a {
        padding-left: 0;
    }
}

.contact_section .contact_person_wraper .person_box .person_info .person_tel a:before {
    content: "";
    height: 24px;
    width: 24px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translatey(-50%);
    mask-image: url("/wp-content/uploads/2024/03/phone_sits.svg");
    -webkit-mask-image: url("/wp-content/uploads/2024/03/phone_sits.svg");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    background-color: #222222;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .contact_section .contact_person_wraper .person_box .person_info .person_tel a:before {
        content: unset;
    }
}

.contact_section .contact_form_wrapper {
    width: calc((100%/3) * 2);
}

@media (max-width: 991px) {
    .contact_section .contact_form_wrapper {
        width: 100%;
        order: 2;
    }
}

@media (max-width: 1100px) {
    .contact_section {
        grid-template-columns: minmax(0, calc((100% / 3) * 2 - 30px)) minmax(0, 1fr);
    }
}

@media (max-width: 730px) {
    .contact_section {
        grid-template-columns: minmax(0, 1fr);
        grid-row-gap: 30px;
    }

    .contact_section .contact_person_wraper {
        grid-row-start: 1;
        grid-column-start: 1;
        grid-row-end: 2;
        grid-column-end: 3;
    }

    .contact_section .contact_form_wrapper {
        grid-row-start: 2;
        grid-column-start: 1;
        grid-row-end: 3;
        grid-column-end: 3;
    }

    .contact_section .form {
        padding-right: 0;
    }
}

.hbspt-form .form-columns-2 {
    width: 100%;
    max-width: unset;
    display: flex;
    gap: 20px;
}

.hbspt-form .form-columns-2 .hs-form-field {
    width: 100% !important;
    float: unset !important;
}

.hbspt-form .form-columns-1 {
    width: 100%;
    max-width: unset;
}

.hbspt-form .hs-form-field input {
    height: 50px;
    margin-top: 5px;
}

.hbspt-form .hs-form-field textarea {
    height: 160px !important;
}

.hbspt-form .hs-form-field input,
.hbspt-form .hs-form-field textarea {
    width: 100% !important;
    border-radius: 0;
    border-width: 1px;
    margin-bottom: 10px;
    color: #fff;
}

.hbspt-form .hs-form-field input::placeholder,
.hbspt-form .hs-form-field textarea::placeholder {
    color: transparent;
}

.hbspt-form .hs-form-field input::-ms-input-placeholder,
.hbspt-form .hs-form-field textarea::-ms-input-placeholder {
    color: transparent;
}

.hbspt-form .hs-form-booleancheckbox {
    position: relative;
}

.hbspt-form .hs-form-booleancheckbox input {
    all: revert;
}

.hbspt-form .hs-form-booleancheckbox label {
    position: relative;
}

.hbspt-form .inputs-list {
    margin: 0;
}

.hbspt-form .inputs-list span {
    margin-left: 10px;
}

.hbspt-form .inputs-list li {
    list-style: none;
}

.hbspt-form .hs-error-msg,
.hbspt-form .hs-error-msgs label {
    color: red;
}

.hbspt-form .hs-form-booleancheckbox-display {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hbspt-form .hs-form-booleancheckbox-display span:not(.hs-form-required){
    margin-top: -10px;
}

.hbspt-form .hs-form-booleancheckbox-display input {
    position: absolute !important;
    opacity: 0 !important;
    cursor: pointer;
    height: 0 !important;
    width: 0;
}

.hbspt-form .hs-form-booleancheckbox-display span:not(.hs-form-required):before {
    content: ' ';
    position: relative;
    display: block;
    top: 26px;
    left: -47px;
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 2px #fff solid;
    border-radius: 0;
    border-width: 2px;
}

.hbspt-form .hs-form-booleancheckbox-display span:not(.hs-form-required) p {
    width: 100%;
}

.hbspt-form .hs-form-booleancheckbox-display:hover input~span:not(.hs-form-required) {}

.hbspt-form .hbspt-form .hs-form-booleancheckbox-display input:checked+span:before {
    background-color: transparent;
}

.hbspt-form .hbspt-form .hs-form-booleancheckbox-display span:not(.hs-form-required):after {
    content: "";
    position: absolute;
    display: none;
}

.hbspt-form .hbspt-form .hs-form-booleancheckbox-display input:checked+span:not(.hs-form-required):after {
    display: block;
}

.hbspt-form .hs-form-booleancheckbox-display span:not(.hs-form-required):after {
    left: 3px;
    top: 28px;
    width: 9px;
    height: 12px;
    border: solid #DEDC00;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(35deg);
    -ms-transform: rotate(35deg);
    transform: rotate(35deg);
}

.hbspt-form .hs_submit .hs-button {
    position: relative;
    display: inline-block;
    overflow: hidden;
    background-color: #DEDC00;
    width: auto;
    z-index: 2;
    border-radius: 0;
    border: none;
    color: #fff;
    text-transform: uppercase;
    padding: 20px 45px;
    cursor: pointer;
    text-transform: uppercase;
    z-index: 2;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    letter-spacing: 1px;
    font-size: 18px;
}

.hbspt-form .hs_submit .hs-button:hover {
    background-color: #DEDC00;
    transition: all 0.35s;
}

.hbspt-form form .input select {
    width: 100%;
    height: 50px;
    padding: 3px;
    border-radius: 0;
    border-width: 1px;
    margin-bottom: 10px;
    color: #fff;
    background-color: transparent;
    margin-top: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='rgb(255,255,255)' class='bi bi-chevron-right' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708' transform ='rotate(90,8,8)'/></svg>") no-repeat;
    background-size: 18px;
    background-position: calc(100% - 20px) center;
    background-repeat: no-repeat;

}

.hbspt-form form ul li {
    padding-left: 0 !important;
}

.hbspt-form form ul li:before {
    content: unset !important;
}

.hbspt-form .legal-consent-container .hs-form-booleancheckbox-display>span {
    margin-left: 10px;
}

.hbspt-form .grecaptcha-badge {
    margin-top: 15px;
    margin-bottom: 35px;
}

.hbspt-form .hs_message {
    margin-top: 35px;
}

.hbspt-form .hs_phone .input>.hs-input {
    width: 100%;
    display: flex;
    gap: 25px;
    justify-content: space-between;
}

.hbspt-form .hs_phone .input>.hs-input:after {
    content: unset;
}

.hbspt-form .hs_phone .input>.hs-input>select {
    width: 30% !important;
}

.hbspt-form .hs_submit .hs-button {
    position: relative;
    color: #222222;
    transition: all 0.3s ease-in-out;
}

.hbspt-form .hs_submit .hs-button:hover {
    color: #ffffff;
}

@media (max-width: 576px) {
    .hbspt-form .form-columns-2 {
        flex-wrap: wrap;
        gap: 0;
    }

    .hbspt-form .hs_phone .input>.hs-input {
        flex-wrap: wrap;
    }

    .hbspt-form .hs_phone .input>.hs-input>select {
        width: 100% !important;
    }

    .hbspt-form .hs-fieldtype-intl-phone.hs-input input {
        width: 100% !important;
    }
}
.hbspt-form .hs-form-field input,.hbspt-form .hs-form-field textarea{
    border-style: solid;
    padding-left:10px;
}
.hbspt-form .hs-form-field input,.hbspt-form form .input select{
    height:60px;
}

footer#footer .footer-row.row-certificates .footer-widget.widget-newsletter .textwidget {
    display: block;
}

footer#footer .footer-row.row-certificates .footer-widget.widget-newsletter .textwidget .brlbs-cmpnt-cb-description {
    color: #000;
}

footer#footer .footer-row.row-certificates .footer-widget.widget-newsletter .textwidget .hbspt-form form {
    display: flex;
}

footer#footer .footer-row.row-certificates .footer-widget.widget-newsletter .textwidget .hbspt-form form .hs_submit .actions {
    height: 100%;
}

footer#footer .footer-row.row-certificates .footer-widget.widget-newsletter .textwidget .hbspt-form form .hs_submit .actions .hs-button {
    height: 100%;
    padding: unset 45px;
}

footer#footer .footer-row.row-certificates .footer-widget.widget-newsletter .textwidget .hbspt-form form .hs_email {
    position: relative;
    width: 275px;
    display: flex;
    flex-direction: column;
}

footer#footer .footer-row.row-certificates .footer-widget.widget-newsletter .textwidget .hbspt-form form .hs_email>label {
    position: absolute;
    bottom: calc(100%);
}

@media (max-width: 1199px) {
    footer#footer .footer-row.row-certificates .footer-widget.widget-newsletter .textwidget .hbspt-form form .hs_email>label {
        bottom: 100%;
        top: unset;
    }
}

footer#footer .footer-row.row-certificates .footer-widget.widget-newsletter .textwidget .hbspt-form form .hs_email .hs-error-msgs {
    position: absolute;
    top: calc(100% + 6px);
}

@media (max-width: 1199px) {
    footer#footer .footer-row.row-certificates .footer-widget.widget-newsletter .textwidget .hbspt-form form .hs_email .hs-error-msgs {
        top: 100%;
    }
}

footer#footer .footer-row.row-certificates .footer-widget.widget-newsletter .textwidget .hbspt-form form .hs_email .hs-input {
    margin: 0;
}

@media (max-width: 576px) {
    footer#footer .footer-row.row-certificates .footer-widget.widget-newsletter .textwidget {
        margin-top: 0;
    }

    footer#footer .footer-row.row-certificates .footer-widget.widget-newsletter .textwidget .hbspt-form form {
        flex-wrap: wrap;
    }

    footer#footer .footer-row.row-certificates .footer-widget.widget-newsletter .textwidget .hbspt-form form .hs_submit {
        width: 100%;
    }

    footer#footer .footer-row.row-certificates .footer-widget.widget-newsletter .textwidget .hbspt-form form .hs_submit .actions .hs-button {
        width: 100%;
        display: flex;
        text-align: center;
        padding: 20px;
    }

    footer#footer .footer-row.row-certificates .footer-widget.widget-newsletter .textwidget .hbspt-form form .hs_email {
        width: 100%;
    }

    footer#footer .footer-row.row-certificates .footer-widget.widget-newsletter .textwidget .hbspt-form form .hs_email .hs-error-msgs {
        position: relative;
        top: 0;
    }

    footer#footer .footer-row.row-certificates .footer-widget.widget-newsletter .textwidget .hbspt-form form .hs_email .hs-input {
        width: 100%;
    }

    footer#footer .footer-row.row-certificates .footer-widget.widget-newsletter .textwidget .hbspt-form form .hs_email>label {
        position: relative;
        width: 100%;
        bottom: unset;
    }
}

.contact_section.full_contact .contact_form_wrapper {
    width: 100%;
}

.hbspt-form .hs-form-booleancheckbox-display input {
    left: 0;
}
.hbspt-form .hs-form-booleancheckbox-display .hs-input[type="checkbox"]:checked + span:after {
    content: "";
    position: absolute;
}
