@import url("https://use.typekit.net/qpr3uhf.css");

:root {
    --dood-ai-color:          #103c7e;
    --dood-ai-image:          url('https://law.asia/wp-content/uploads/2024/09/ai-symbol-colored-2.png');
    --dood-submit-color:      #196ae3;
    --dood-submit-hover-bg:   #196ae3;
    --dood-submit-hover-color:#fff;
}

.td-crumb-container,
.td-page-header,
.gd-suggestions-dropdown {
    display: none;
}
.gd-suggestions-dropdown {
    opacity: 0;
}
.td-main-page-wrap,
.dood_search_header .td-pb-row [class*="td-pb-span"] {
    padding: 0 !important;
}

.dood-search-form-directory-container.td-pb-row [class*="td-pb-span"] {
    padding: 0 !important;
}


.geodir-filter-container .customize_filter-in {
    background: unset;
}
.geodir-filter-container .customize_filter-in {
    border: none;
}
.dood-customize-filter .clearfix::before, .clearfix::after {
    content: unset;
}

.dood_hero.hero.row1 {
    padding: 11px 0 0px 0 !important;
}
.hero.row1 {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
    height: auto;
    padding: 0 0 15px 0;
}
.hero.row1 .container {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    min-height: 494px;
}
.hero.row1 .container.dood_input_search_container_mixed {
    min-height: unset;
}
.hero.row1 .container .row {
    width: 100%;
    display: flex;
    justify-content: center;
}
.hero.row1 .container .row .column {
    width: 100%;
    display: flex;
    justify-content: center;
}
.dood-search-input-label {
    color: var(--dood-submit-color, #196ae3);
    background-color: #fff;
    font-size: 16px;
}
.dood-search-input-label:hover {
    background-color: var(--dood-submit-hover-bg, #196ae3);
    color: var(--dood-submit-hover-color, #fff);
    transition: .3s;
    border: 0;
}

.hero.row1 .wpb_column.vc_column_container.td-pb-span12 {
    height: 100%;
    min-height: 500px;
}
.dood-customize-filter.geodir-more-filters.customize_filter-in.clearfix.gd-filter-gd_place {
    margin: 0;
    padding: 0;
    display: flex !important;
    flex-flow: row wrap !important;
    justify-content: space-between !important;
    gap: 15px !important;
}
.geodir-filter-container .geodir-filter-cat {
    padding: 0;
}
.geodir-filter-container {
    width: 100%;
}

.dood_hero.hero::before {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 2; /* S'assure que l'overlay est sur la vid�o */
}
.dood_video::before {
    background-color: rgba(0, 0, 0, 0.2);
}

.hero.row1 .td-pb-row [class*="td-pb-span"] {
    padding: 0;
}
.hero.row1 .clearfix::before,
.hero.row1 .clearfix::after {
    content: unset;
}
.hero.row1 .search {
    width: 30%;
    height: 185px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    min-width: 640px;
}
.dood-search-input-container.dood-padding-top {
    display: flex;
    flex-direction: column;
}
.dood-search-input-container .dood-search-input-label.dood-search-input-filter,
.dood-search-input-container .search_text.gd_search_text.dood-border-bottom {
    width: 100%;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid #ffffff;
    padding-left: 30px;
    background: url(https://law.asia/wp-content/uploads/2025/03/classic-search-icon.png) no-repeat scroll left center / 20px 20px transparent;
    color: #fff;
    font-size: 16px;
}
.dood-loc-bar {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    gap: 15px;
}
.clearfix.geodir-loc-bar-in {
    width: 100%;
}
.geodir-filter-container .customize_filter-in .geodir-filter-cat ul,
.geodir-filter-container .customize_filter-in .geodir-filter-cat li {
    margin: 0;
    padding: 0;
}
.geodir-search {
    width: 100%;
}
.dood_custom_search_form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 10px;
    box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    backdrop-filter: blur(18px);
    background-color: rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 9999 !important;
}

.dood_custom_search_form input,
.dood_custom_search_form select,
.dood_custom_search_form button {
    height: 40px;
    padding-block: 0;
    border-radius: 5px;
    border: 1px solid #fff;
}

.dood_custom_search_form input {
    width: 100%;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid #ffffff;
    padding-left: 30px;
    background: url(https://law.asia/wp-content/uploads/2025/03/classic-search-icon.png) no-repeat scroll left center / 20px 20px transparent;
    color: #fff;
    background-color: transparent;
}
.dood_custom_search_form input::placeholder {
    color: #fff;
}
.dood_custom_search_form select {
    width: calc(50% - 7.5px);
    border-color: #ffffff;
    color: #ffffff;
    padding-left: 10px !important;
    border-radius: 5px;
    background-image: linear-gradient(45deg, transparent 50%, #ffffff 50%), linear-gradient(135deg, #ffffff 50%, transparent 50%), linear-gradient(to right, #ffffff, #ffffff);
    background-position: calc(100% - 19px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    appearance: none;
    background-color: transparent;
    font-family: "calluna-sans", serif !important;
}
.dood_custom_search_form option {
    color: #1f1f1f;
    font-family: "calluna-sans", serif !important;
}
.dood-customize-filter .customize_filter_inner {
    width: 100%;
}

.geodir-filter-container .customize_filter-in .customize_filter_inner .clearfix {
    display: flex !important;
    flex-flow: row wrap !important;
    justify-content: flex-start !important;
    gap: 15px !important;
}
.geodir-search input[type="text"] {
    margin: 0 !important;
}

.dood-search-input-container .search_text.gd_search_text.dood-border-bottom {
    border-radius: unset;
}
.geodir-search input[type="text"].dood-border-bottom {
    border: unset;
}
.dood_custom_search_form optgroup {
    color: black;
}
.dood_cat_select:focus {
    outline: none;
}

.dood_custom_search_form button,
.dood-custom-ai-container {
    margin: 0;
    padding: 0;
    width: calc(50% - 7.5px);
    transition: .3s;
    height: auto;
    min-height: 40px;
    max-height: 40px;
}
.dood-custom-ai-container {
    display: flex;
    justify-content: center;
    margin: 0 !important;
}
.dood-custom-ai-container:hover {
    transition: .3s;
    scale: 1.05;
}
.dood-custom-ai-container .ai-btn.cgpt-ai-assistant-button.cgpt-ai-assistant-default-button {
    content: "";
    width: 100%;
    height: 100%;
    margin: 0;
    right: 0;
    bottom: 0;
    padding-block: 8px;
    font-weight: 700;
    display: block;
    transition: .3s;
    color: var(--dood-ai-color, #103c7e) !important;
    background: linear-gradient(white, white) padding-box, linear-gradient(to right, #96181d, #ef3f46, #96181d, #ef3f46, #96181d) border-box !important;
    background-color: rgba(0, 0, 0, 0);
    border: 3px solid transparent !important;
    position: relative;
    border-radius: 5px !important;
    padding-top: 4px !important;
}
.dood-custom-ai-container .ai-btn.cgpt-ai-assistant-button.cgpt-ai-assistant-default-button::before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 25px;
    position: relative;
    background-image: var(--dood-ai-image, url('https://law.asia/wp-content/uploads/2024/09/ai-symbol-colored-2.png'));
    background-size: cover;
    background-repeat: no-repeat;
    vertical-align: middle;
    right: 10px;
    bottom: 1px;
}

.search-button {
    border: none;
    color: var(--dood-submit-color, #196ae3);
    background-color: #fff;
}

.search-button:hover {
    background-color: var(--dood-submit-hover-bg, #196ae3);
    color: var(--dood-submit-hover-color, #fff);
}

.ai-btn.cgpt-ai-assistant-button.cgpt-ai-assistant-default-button {
    border-image: linear-gradient(to right, #293865, #1d4d6a, #2f67c0, #3592bb) 1;
    background: url(https://law.asia/wp-content/uploads/2024/09/ai-symbol-colored-2.png) no-repeat scroll 15px center / 25px auto #ffffff;
    color: #348cbc;
    border: 5px solid #000;
    border-radius: 0;
    width: 55%;
    padding-block: 8px;
    font-weight: 700;
    margin-top: 15px; /* Ajustement pour la mise en page */
}


.spacing {
    height: 60px;
}
.customize_filter_button {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 15px;
}
.hide {
    display: none !important;
    opacity: 0;
}

.list-firm a {
    border: none !important;
    background-color: #196ae3 !important;
    background-image: none !important;
    color: #fff !important;
    border-radius: 5px !important;
    padding: 10px 20px;
    display: inline-block;
    transition: .3s;
    text-decoration: none;
}

    .list-firm a:hover {
        scale: 1.1;
    }

.list-firm .col {
    text-align: center;
}

/* Styles de la grille des cabinets d'avocats */
.law-firms .col {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}

.firm-item {
    border: 1px solid #4877c6;
    scale: 1;
    transition: .3s;
}

    .firm-item:hover {
        box-shadow: 0px 0px 10px rgba(72, 119, 198, 0.58);
        scale: 1.05;
    }

    .firm-item a {
        display: block;
        text-align: center;
        text-decoration: none;
    }

        .firm-item a img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        .firm-item a:last-child {
            color: #6c6c6c;
            font-size: 1rem;
            padding: 10px;
        }

    .firm-item:hover a:last-child {
        background-color: #4877c6;
        color: #fff;
    }

.container_homedirres {
    margin: 30px 0;
}
optgroup {
  color: black;
}


/* Media Queries pour la responsivit� */
@media (max-width: 1018px) {
    .hero {
        padding-inline: 40px !important;
    }
    .hero .search {
        width: 100% !important;
        min-width: auto !important;
        padding: 0 0;
    }
}

@media (max-width: 560px) {
    .hero {
        padding-inline: 20px !important;
    }

    .hero .dood_custom_search_form select {
        width: 100%;
    }

    .law-firms .col {
        grid-template-columns: 1fr 1fr;
    }

    .firm-item a:has(img) {
        width: 60%;
        margin: 0 auto;
    }

    .dood_video .container {
        min-height: 265px !important;
    }
    .dood_video .container .search {
        padding: 0 0 !important;
    }
}
@media (max-width: 559px) {
    .dood_hero.hero.row1 {
        padding: 0 !important;
    }
}