﻿#contactsectionbottom:before {
    display: block;
    content: '';
    width: calc(100% - 50px);
    height: 2px;
    background-color: var(--blue-color);
    position: absolute;
    top: 0;
    left: 50%;
    /* bottom: auto; */
    transform: translateX(-50%);
    max-width: 1250px;
}

.wpcf7-form-control-wrap.product-interest .select2-selection__rendered {
    width: 91% !important;
}

.wpcf7-form-control-wrap.product-interest .select2-selection__placeholder {
    color: #282828;
}

#contactsectionbottom {
    position: relative;
    margin-top: -2px;
}

#contact-us-bottom-title-block {
    text-align: center;
    margin: 90px 0 30px;
    display: inline-block;
    width: 100%;
}

.contact-us-bottom-container select {
    background-position: right;
    border-bottom: solid 1px black;
    height: unset;
    line-height: 70px;
    padding: 0;
    background-color: #FAF9F6;
    font-family: var(--font-body-text);
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.contact-us-bottom-container .wpcf7-form-control {
    padding: 0;
    line-height: 62px;
}

.contact-us-bottom-container input::placeholder {
    color: #282828;
}

.contact-us-bottom-submit input[type="submit"] {
    display: block;
    line-height: 41px;
}

.contact-us-bottom-submit {
    margin-top: 50px;
    margin-bottom: 73px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-us-bottom-submit .wpcf7-spinner {
    margin-top: 10px;
}

.contact-us-bottom-message-block .wpcf7-textarea {
    max-height: 176px;
}

.contact-us-bottom-message-block .wpcf7-textarea::placeholder {
    color: #282828;
}

.contact-section-bottom .wpcf7 form .wpcf7-response-output {
    max-width: 900px;
    margin: 0 auto 107px;
}

.contact-section-bottom .select2-container .selection {
    padding-top: 19px;
    padding-bottom: 15px;
    height: 63px;
}

.wpcf7-form-control-wrap[data-name="Phone_Number"] input {
    text-indent: 20px;
    z-index: 99;
}

.wpcf7-form-control-wrap {
    /*    z-index: 99;*/
}

.select2-results__options::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.select2-results__options::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.select2-results__options::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
.select2-results__options::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.contact-us-bottom-item-right.phone-number {
    display: flex;
    position: relative;
}

.contact-us-bottom-item-right.phone-number .wpcf7-form-control-wrap[data-name="hidden-phone-number"] {
    z-index: 1;
}

.contact-us-bottom-phone-container,
.contact-us-bottom-phone-container>p {
    display: flex;
    width: 100%;
}

.contact-us-bottom-phone-outer-container {
    width: 100%;
}

.wpcf7-form-control-wrap[data-name="hidden-phone-number"] input,
.wpcf7-form-control-wrap[data-name="hidden_phone_number_for_email"] input {
    display: none;
}

.contact-us-bottom-item-right.phone-number .wpcf7-form-control-wrap[data-name="hidden-phone-number"] input {
    font-size: 0;
}

.contact-us-bottom-item-right.phone-number .wpcf7-form-control-wrap[data-name="Country_Code"] {
    /* width: 85px; */
    width: 178px;
}

.contact-us-bottom-item-right.phone-number [data-name="Phone_Number"] {
    padding-left: 28px;
}

.contact-section-bottom .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 11px;
}


[data-name="product_interest"] {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    z-index: 1;
}

.wpcf7-form-control-wrap[data-name="country"],
.wpcf7-form-control-wrap[data-name="industry"] {
    z-index: inherit;
}

[data-name="product_interest"] .wpcf7-list-item {
    display: inline-block;
    /* vertical-align: top; */
    margin: 0;
    text-align: left;
    margin-bottom: 24px;
    height: auto !important;
    width: 100%;
    line-height: 23px;
    max-height: none !important;
}

.contact-us-bottom-container .select2-container--default .select2-selection--single .select2-selection__placeholder {
    border: none;
    padding: 0;
    font-size: 15px;
}

.contact-us-bottom-row.product-interest label {
    display: inline-block;
    vertical-align: top;
    width: auto;
}

.contact-us-bottom-row.product-interest {
    margin-top: 40px;
}

[data-name="product_interest"] input[type="checkbox"]+.wpcf7-list-item-label {
    padding-left: 25px;
    width: calc(100% - 15px);
}

.contact-us-bottom-container [data-name="product_interest"] .wpcf7-form-control {
    line-height: 23px;
}

[data-name="product_interest"] .wpcf7-list-item:last-child {
    margin-bottom: 0;
}

.contact-us-bottom-row.product-interest label {
    font-family: var(--font-body-text);
    line-height: 23px;
    color: #282828;
    padding-top: 10px;
}

[data-name="product_interest"] .wpcf7-list-item>* {
    display: inline-block;
    vertical-align: middle;
}

.contact-us-bottom-container {
    margin-bottom: 40px;
}

@media only screen and (min-width: 940px) {
    [data-name="product_interest"] .wpcf7-list-item {
        width: 50%;
        padding-left: 12px !important;
    }

    .contact-us-bottom-container .select2-container--default .select2-selection--single .select2-selection__placeholder {
        font-size: 17px;
    }

    [data-name="product_interest"] {
        width: calc(100% - 173px - 11.33333333333333%);
        margin-left: 11.33333333333333%;
    }

    .contact-us-bottom-container {
        width: 900px;
        content: "";
        clear: both;
        display: table;
        margin: auto;
        margin-bottom: 90px;
    }

    .contact-us-bottom-item-left {
        padding-right: 39px;
        width: 50%;
    }

    .contact-us-bottom-item-right {
        padding-left: 39px;
        width: 50%;
    }

    .contact-us-bottom-container label {
        font-family: var(--font-body-text);
        font-style: normal;
        font-weight: 400;
        font-size: 17px;
        line-height: 23px;
        letter-spacing: 0.01em;
        color: #282828;
    }

    .contact-us-bottom-item-right.select-block {
        float: right;
    }

    .contact-us-bottom-row {
        /* font-size: 0; */
        margin-bottom: 16px;
        display: flex;
    }

    .contact-us-bottom-message-block textarea {
        color: #282828;
        font-size: 17px;
        font-weight: 400;
        line-height: 27px;
        letter-spacing: 0.3px;
    }
}

@media only screen and (max-width: 940px) {
    #contact-us-bottom-title-block {
        margin: 40px 0 0;
    }

    .contact-us-bottom-item-right.select-block {
        font-size: 15px;
    }

    .contact-us-bottom-container .wpcf7-form-control {
        line-height: 62px;
        padding-bottom: 0;
        padding-top: 0;
        font-size: 15px;
    }

    .contact-us-bottom-container .select2-container--default .select2-selection--single .select2-selection__rendered {
        font-size: 15px;
    }

    .contact-us-bottom-item-left {
        padding: 0 25px;
    }

    .contact-us-bottom-item-right {
        padding: 0 25px;
    }

    .contact-us-bottom-message-block {
        font-size: 15px;
        padding: 0 25px;
        margin-top: 20px;
    }

    .contact-us-bottom-item-right.phone-number .wpcf7-form-control-wrap[data-name="Phone_Number"] {
        width: 100%;
    }

    .contact-us-bottom-submit input[type="submit"] {
        padding: 0;
        font-size: 15px;
    }

    .contact-us-bottom-submit {
        margin-top: 30px;
        margin-bottom: 41px;
    }

    .contact-section-bottom .wpcf7 form .wpcf7-response-output {
        margin-left: 25px;
        margin-right: 25px;
        margin-bottom: 75px;
    }

    [data-name="product_interest"] .wpcf7-list-item {
        padding-left: 0 !important;
    }
}

@media (max-width: 767px) {
    .wpcf7-form-control-wrap[data-name="Phone_Number"] input {
        text-indent: 0;
    }

    .contact-section-bottom .select2-container--default .select2-selection--single .select2-selection__arrow {
        top: 11px;
        right: 18px;
    }

    .contact-us-bottom-container .wpcf7-form-control,
    .contact-section-bottom .select2-container .selection {
        padding: 0.5px 0;
    }

    .contact-section-bottom .select2-container .selection {
        padding-right: 40px;
    }

    #contact-us-bottom-title-block {
        margin: 40px 0 9px;
    }

    .contact-us-bottom-container .wpcf7-form-control {
        line-height: 61px;
    }

    .contact-us-bottom-message-block .wpcf7-textarea {
        max-height: 202px;
        height: 180px;
    }

    .contact-us-bottom-message-block {
        margin-top: -3px;
    }

    [data-name="product_interest"] .wpcf7-list-item>* {
        vertical-align: top;
    }

    .contact-us-bottom-row.product-interest label {
        line-height: 23px;
        font-size: 15px;
    }

    .contact-us-bottom-row.product-interest {
        margin-top: 23px;
        padding: 0 25px;
    }

    .contact-us-bottom-row.product-interest label {
        padding-top: 0;
    }
}


.wpcf7 .contact-us-bottom-message-block {
    z-index: 0;
    position: relative;
}