section.bdm-search-section {
    padding: 122px 0px 103px 0px;
}

.bdm-search-section .bdm-post .conatct-details a:focus-visible {
    background: #00414c40;
}

section.bdm-search-section p {
    color: #00414c;
}

.success-msg-bdm-form p {
    text-align: center;
}

.bdm-form-description {
    margin-top: 19px;
}

.bdm-form-heading h1 {
    color: var(--heading-Dark-Green);
    letter-spacing: -0.8px;
    font-weight: 400;
}

.bdm-section {
    width: 85%;
    margin: 0 auto;
}

.bdm-search-section form#search-form label {
    margin-bottom: 10px;
    display: block;
    color: #00414c;
    /* color: var(--black-color);
     */
}

.bdm-search-section form#search-form .form-control {
    border-radius: 0;
    color: var(--dark-green);
    border: 1px solid rgba(0, 0, 0, 0.60);
    background-color: var(--white-color);
    padding: 9px 15px;
}

.bdm-search-section form#search-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url(/wp-content/themes/chipconseillereffered/assets/images/chevron-down.svg);
    background-position: 98% 60%;
    background-repeat: no-repeat;
    padding-right: 20px;
    background-size: 24px;
}

select#profession {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url(/wp-content/themes/chipconseillereffered/assets/images/blue-chevron-Icon.svg);
    background-position: 98% 60%;
    background-repeat: no-repeat;
    padding-right: 20px;
    background-size: 24px;
}



.bdm-search-section form#search-form input:-webkit-autofill {
    -webkit-text-fill-color: rgba(0, 0, 0, 0.60);
}

.bdm-search-section form#search-form input#postal-code {
    color: rgba(0, 0, 0, 0.60);
}

.bdm-search-section form#search-form input#postal-code::-ms-input-placeholder {
    color: rgba(0, 0, 0, 0.60);
}

.bdm-search-section form#search-form input#postal-code::placeholder {
    color: rgba(0, 0, 0, 0.60);
}

.bdm-search-section form#search-form .input-set {
    width: 443px;
}

.bdm-search-section form#search-form {
    display: flex;
    gap: 20px;
    align-items: end;
}

.bdm-search-section form#search-form .search-submit button#search-button {
    padding: 12px 20px;
    width: 150px;
    font-weight: 400;
}

.chip-sales .support-team>div {
    border: 0px solid #fff;
}

/**
 * managers list section
 *  */
.bdm-search-section .managers-count {
    margin: 5px 0px 46px 0px;
}

.bdm-search-section .managers-count h5,
.bdm-managers h5 {
    /* color: var(--dark-grey); */
    color: #00414c;
}

.bdm-search-section .bdm-post {
    margin: 32px 0px 0px 0px;
}

.bdm-search-section .bdm-post .bdm-taxonomies {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0px 8px 0px;
}

.bdm-search-section .bdm-post .bdm-taxonomies p {
    margin-bottom: 0;
}

.bdm-search-section .bdm-post .bdm-taxonomies span.cat-seperator {
    font-size: 13px;
    font-weight: 600;
}

.bdm-search-section .bdm-post p.territory {
    color: var(--light-grey);
    margin-bottom: 9px;
    font-size: 14px;
}

.bdm-contact-details {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 33.3333%;
}

.bdm-contact-details>span {
    width: 26px;
    height: 26px;
}

.bdm-contact-details img {
    width: 26px;
    height: 26px;
}

.bdm-search-section .bdm-post .conatct-details a {
    font-size: 14px;
    font-weight: 600;
}

.bdm-search-section .bdm-post .conatct-details {
    display: flex;
    gap: 8px;
    flex-direction: column;
}

.bdm-search-section .bdm-post .conatct-details>* {
    display: flex;
    align-items: center;
    gap: 5px;
}

.bdm-search-section .bdm-post .conatct-details div>span {
    color: var(--light-grey);
}

.bdm-search-section .bdm-post .conatct-details a:hover {
    text-decoration: underline;
}

.bdm-search-section .bdm-managers .featured-img img {
    border-radius: 50%;
}

.bdm-search-section .bdm-managers {
    align-items: center;
}

.bdm-search-section .book-call-btn button {
    padding: 12px 20px;
    /* width: 150px; */
}

.bdm-search-section .col-md-2.book-call-btn {
    padding-left: 0;
    width: 25%;
}

form#search-form .input-set {
    position: relative;
}

/**
 * popup form
 *  */
.bdm_modal .modal-content {
    background-color: var(--blue-gray);
    padding: 20px;
    width: 100%;
    min-height: 300px;
    border-radius: 0;
    position: relative;
}

.bdm_modal .modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-header {
    position: absolute;
    right: 20px;
    top: 31px;
}

.bdm_modal .btn-close:focus {
    box-shadow: unset;
}

.bdm_modal .modal-content h5 {
    color: var(--dark-green);
    font-weight: 600;
    margin-bottom: 23px;
    padding-right: 35px;
}

.bdm_modal .modal-dialog {
    max-width: 29.7%;
}

.bdm_modal .modal-header,
.bdm_modal .modal-body {
    padding: 0;
    border-bottom: 0px;
}

.bdm_modal form .mb-3 {
    margin-bottom: 10px !important;
}

.bdm_modal form .mb-3.d-flex div label.form-label {
    font-weight: 400;
}

.bdm_modal form label.form-label {
    color: #00414C;
    font-weight: 600;
    margin-bottom: 10px;
}

.bdm_modal form .form-control.error,
form#search-form .input-set .error {
    border-color: var(--error-msg);
    border-width: 2px;
    color: var(--dark-green);
}

.bdm_modal form .form-control {
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.60);
    background-color: #fff;
    padding: 10px 15px;
}

.bdm_modal form .form-control.error {
    margin-bottom: 5px;
}

.bdm_modal form div div {
    margin: 3px 0 2px 0;
    gap: 30px;
}

.bdm_modal form .mb-3.d-flex div {
    gap: 10px;
}

.bdm_modal form button#bdm-form {
    width: 100%;
}

.bdm_modal .btn-close {
    background: url(/wp-content/themes/chipconseillereffered/assets/images/modal-close-icon.svg);
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 9;
}

.bdm_modal .form-desc p {
    font-size: 14px;
    color: #000;
}

.bdm_modal label.error,
form#search-form .input-set label.error,
label label.error {
    background: var(--error-msg);
    position: relative;
    padding: 5px 12px;
    display: inline-block;
    margin-top: 5px;
    color: #fff;
    font-size: 15px;
    text-align: center;
}

.bdm_modal label.error:before {
    bottom: 100%;
    left: 15px;
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: var(--error-msg);
    border-width: 6px;
    margin-left: -8px;
}

form#search-form .input-set label.error {
    position: absolute;
}

.success-msg-bdm-form p {
    margin: 0;
    font-size: 20px;
    color: var(--dark-green);
}

/**
 * Bottom form
 *  */
.bottom-bdm {
    background: var(--background-Dark-Green);
    padding: 60px 0px;
}

.bdm-form-inner .wp-block-group__inner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: 0 auto;
}

.bdm-form-inner .chip-sales {
    padding: 9.5% 0%;
    box-shadow: unset;
}

.bdm-form-inner .contact-form {
    flex-basis: 57%;
    margin-left: 0%;
}

.bdm-form-inner .chip-sales a[title="Cliquez ici pour "] {
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.bdm-taxonomies .focus-area-categories {
    display: flex;
    gap: 5px;
}

.bdm-search-section .bdm-post .bdm-taxonomies .focus-area-categories p:after {
    content: "/";
    padding-left: 3px;
}

.bdm-taxonomies .focus-area-categories p:last-child:after {
    display: none;
}

/**
 * Media css starts
 *  */
@media (min-width: 1400px) {
    .chip-sales .chip-sales-inner {
        width: 80%;
    }

    .bdm-search-section .bdm-managers .featured-img {
        height: 150px;
        width: 150px;
    }
}

@media (min-width: 1024px) {
    .bdm-managers .col-md-2 {
        width: 15%;
    }

    .bdm-managers .col-md-8 {
        width: 60%;
    }
}

@media (max-width: 1024px) {

    .bdm-section,
    .bdm-form-inner {
        /* width: 520px; */
        margin: 0 auto;
        padding: 0;
    }

    .chip-sales .container {
        padding: 0;
    }

    form#search-form .input-set .error {
        position: relative;
    }

    .contact-form .row .col-4 {
        padding: 20px;
    }

    .bdm-search-section .book-call-btn button {
        width: 100%;
    }

    .bdm-search-section .container,
    .container.bdm-form-inner {
        max-width: 720px;
    }

    .bdm_modal .modal-dialog {
        max-width: 90%;
        margin: 0 auto;
    }

    .bdm-search-section .bdm-managers .featured-img img {
        max-height: 150px;
        max-width: 150px;
    }

    .bdm-search-section .book-call-btn button {
        width: 100%;
    }

    .bdm-search-section .managers-count {
        margin: 20px 0px 0px 0px;
    }

    .bdm-search-section .bdm-post {
        margin: 20px 0px 0px 0px;
    }

    .bdm-managers {
        display: block;
        background: var(--white-color);
        padding: 20px;
        margin: 0px;
    }

    .bdm-search-section .col-md-2,
    .bdm-search-section .col-md-8 {
        width: 100%;
        padding: 0;
    }

    .bdm-search-section .col-md-2.book-call-btn {
        width: 100%;
        padding-right: 0;
        margin-top: 22px;
    }

    .bdm-managers h5 {
        margin: 18px 0px 12px 0px;
    }

    .bdm-search-section form#search-form {
        flex-direction: column;
        gap: 18px;
    }

    .bdm-search-section form#search-form .input-set {
        width: 100%;
    }

    .bdm-search-section form#search-form .input-set:nth-child(1) {
        order: 2;
    }

    .bdm-search-section form#search-form .input-set:nth-child(2) {
        order: 1;
    }

    .bdm-search-section form#search-form .search-submit {
        order: 3;
        width: 100%;
    }

    .bdm-search-section form#search-form .search-submit button#search-button {
        width: 100%;
    }

    section.bdm-search-section {
        padding: 60px 0px 60px 0px;
    }

    .bdm-form-heading h1 {
        font-weight: 600;
        font-size: 32px;
    }

    section.bdm-search-section p {
        font-size: 14px;
    }

    .chip-sales h3 {
        font-size: 20px;
        font-weight: 600;
    }

    .chip-sales p {
        line-height: 21px;
        font-size: 14px;
    }

    .chip-sales {
        box-shadow: none;
        padding: 60px 0 0;
    }

    .bdm-form-inner .wp-block-group__inner-container {
        flex-direction: column;
        width: 100%;
        margin: 0 auto;
    }

    .bdm-form-inner .chip-sales {
        padding: 0% 0%;
    }

    .bdm-form-inner .contact-form {
        flex-basis: 100%;
        width: 100%;
    }

    .chip-sales .chip-sales-inner {
        width: 100%;
    }
}

@media (max-width: 640px) {

    .bdm-search-section .container,
    .container.bdm-form-inner {
        max-width: 540px;
    }
}

@media (max-width: 767px) {
    .container.bdm-form-inner {
        max-width: 100% !important;
    }

    .custom-search-form {
        display: flex;
        flex-direction: column;
    }

    .custom-search-form form#search-form {
        order: 2;
        margin-top: 15px;
    }

    .custom-search-form label#error-message {
        order: 1;
    }

    .custom-search-form label label.error {
        width: 100%;
    }

    .chip-sales .container {
        padding-right: calc(var(--bs-gutter-x)* .5);
        padding-left: calc(var(--bs-gutter-x)* .5);
    }

    .bdm-search-section .managers-count h5 {
        font-size: 16px;
    }

    .bdm-search-section .bdm-post .bdm-taxonomies p {
        font-size: 16px;
    }

    .bdm-managers h5 {
        font-size: 20px;
    }

    .bdm-section {
        width: 100%;
    }

    .bdm-search-section .container {
        padding: 0px 15px;
    }

    .bdm-form-inner .contact-form {
        padding: 0px 13px 0px 13px;
    }

    .bdm-form-heading h1 {
        letter-spacing: -0.64px;
    }

    .bdm_modal .modal-content {
        top: 100px;
    }
}

@media (max-width:575.98px) {
    .bdm-search-section .bdm-post .conatct-details {
        gap: 10px;
    }

    .bdm-search-section .bdm-post .conatct-details>* {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

}

@media only screen and (min-width: 980px) and (max-width: 1025px) {
    .contact-form .container:nth-child(1) {
        padding: 0px 5px;
    }
}   