/*  fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

h1 {
    font-size: 15px;
    color: #990F2C;
    font-weight: 300px;
}

h2 {
    font-weight: 700;
    font-size: 25px;
    color: #990F2C;
}

h3 {
    font-size: 12px;

}

h4 {
    font-size: 12px;
    font-weight: 600;
    color: #990F2C;
}

p,
span {
    font-size: 13px;
}

/* /fonts */
/* scrollbar */
ul{
    list-style: none;
}
ul::-webkit-scrollbar {
    background: #F5F5F5;
}

ul::-webkit-scrollbar-thumb {
    background: #C9C9C9;
    -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.75);
}

ul::-webkit-scrollbar-corner {
    background: #000;
}

/* /scrollbar */
/* header */
header a {
    color: #000;
}

header a:hover {
    color: #990F2C;
}

.bandeau {
    background-color: #F2EDEE;
}

/* /header */
/* filtres */
.filtre-dupont-desktop {
    display: block;
}

.filtre-dupont-mobile {
    display: none;
}

.form-control:focus,
.btn:focus,
.btn:active:focus {
    box-shadow: none;
}

.bg-secondary {
    background-color: #EDEDED !important;
}

.search-filter input,
.search-filter button {
    border-radius: 0%;
}
#inputFindByName, #button-addon2{
    border-radius: 0;
}
#inputFindByName::placeholder,
textarea::placeholder,
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #000;
    border-radius: none;
}

#inputCityRadius::placeholder {
    color: #000;
    font-size: 0.8rem;
}

/* /filtres */

/* liste producer */
.liste-map {
    background-color: #fff;
}

.producer-section {
    max-height: 1000px;
    height: 80vh;
}

.producer-section ul {
    height: 90%;
    overflow-y: scroll;
}

.producer {
    list-style: none;
    text-decoration: none;
    color: #000;
}

.producer:hover {
    color: #000;
}

/* focus liste */
.producer:focus {
    border: solid 1px #000;
}

.producer:focus .name-producer {
    background-color: #000;
    color: #fff;
}

.producer:focus .name-producer h4 {
    color: #fff;
}

.producer:focus .name-producer path {
    fill: #fff;
}

.producer:focus .address-producer {
    border: #000 solid 1px;
}

.producer:focus .address-producer span {
    color: #000;
}

.divFixedExport {
    background: #fff;
}

/* /focus liste */
.name-producer {
    background-color: #DADADA;
}

.address-producer span {
    color: #990F2C;
}

.btn-dupont {
    background-color: #990F2C;
    color: #fff;
    font-size: 15px;
    border-radius: 0;
    font-weight: 600;
}

.btn-dupont:hover,
.btn-dupont:active,
.btn-dupont:focus {
    border: #990F2C solid 1px;
    color: #990F2C
}

.btn-dupont-outline {
    color: #990F2C;
    border: #990F2C solid 2px;
    background-color: #fff;
    font-size: 15px;
    border-radius: 0;
    font-weight: 600;
    z-index: 900;
}

.btn-dupont-outline:hover,
.btn-dupont-outline:active,
.btn-dupont-outline:focus {
    color: #fff;
    background-color: #990F2C;
    border: #990F2C solid 2px;
}

/* map */
#mapContainer {
    height: fit-content;
}

#mapContainer img {
    width: 100%;
}

/* /liste producer */
.custom-select-dupont span {
    background-color: #EDEDED !important;
    border-radius: 0 !important;
    border: none !important;
}

.custom-select-dupont span span li span {
    background-color: #e4e4e4 !important;
}

.hide-on-mobile {
    display: block;
}

.hide-on-desktop {
    display: none;
}

.selection>span:first-of-type {
    background-color: #EDEDED;
    color: #000;
    border: 0;
    border-radius: 0;
}

#mapContainer {
    height: 77vh;
    z-index: 888;
}

hr {
    display: none;
}

/* modal  */

.text-justify {
    text-align: justify;
}

@media screen and (max-width: 992px) {

    /* fonts */
    h1 {
        font-size: 11px;
    }

    h2 {
        font-size: 14px;
    }

    /* header */
    .icone-compte {
        display: none !important;
    }

    .logo {
        height: 60px;
    }

    /* filtres */
    .filtre-dupont-mobile {
        display: block;
    }

    .filtre-dupont-mobile a {
        text-decoration: none;
        color: #000;
    }

    .filtre-dupont-desktop {
        display: none;
    }

    /* liste producers */
    .liste-map {
        position: relative;
    }

    .producer-section {
        height: auto;
        position: absolute;
        z-index: 999;
        background-color: #fff;
        top: 0;
        display: none !important;
    }

    .display_filtres-mobile {
        display: block !important;
    }

    .display-list-mobile {
        display: flex !important;
    }

    .producer-section ul {
        height: 100%;
        overflow-y: visible;
    }

    .hide-on-mobile {
        display: none;
    }

    .hide-on-desktop {
        display: block;
    }

    .producer-section {
        flex-direction: column-reverse !important;
    }

    .divFixedExport {
        position: sticky;
        top: 0px;
    }

    /* MAP */


    #selectProducerTypeMobile,
    #selectDepartment,
    #selectRegion,
    #selectCountry {
        width: 100% !important;
    }

    hr {
        display: block;
    }

}

.lds-facebook {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-facebook div {
    display: inline-block;
    position: absolute;
    left: 8px;
    width: 16px;
    background: #990F2C;
    animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.lds-facebook div:nth-child(1) {
    left: 8px;
    animation-delay: -0.24s;
}

.lds-facebook div:nth-child(2) {
    left: 32px;
    animation-delay: -0.12s;
}

.lds-facebook div:nth-child(3) {
    left: 56px;
    animation-delay: 0;
}

@keyframes lds-facebook {
    0% {
        top: 8px;
        height: 64px;
    }

    50%,
    100% {
        top: 24px;
        height: 32px;
    }
}