/* default overrides */
body {
    margin: 0px 501.5px;
    padding: 0px 32px;
}

h1 {
    margin-top: 72px; 
    max-inline-size: 825px;
    font-size: 48px !important;
}

h2 {
    font-size: 36px !important;
}

h3 {
    font-size: 28px !important;
    margin-bottom: 16px;
}
    
/* Section Filtre */
.section-filtre {
    height: fit-content;
    background: #F2F2F2;
    padding: 16px;
    margin-right: 2.5rem;
    max-width: 22rem !important;
    z-index: 1;
}

.inner-filtre {
    margin-right: 0px !important;
}

.entete-filtre {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 0px !important;
    max-width: 22rem;
}

.section-filtre .titre {
    font-size: 24px;
}

.effacer-filtres {
    margin: 0px 0px 16px 0px;
    font-weight: 700;
    color: #095797;
}
    
/* Resultats header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    border: none;
    border-bottom: 3px solid #999;
    font-weight: 600;
    font: 18px "Open Sans", sans-serif;
    padding-bottom: 4px;
    color: #223654;
}

.opis-controls {
    display: flex;
    align-items: center;
    margin: 0;
    justify-content: space-between;
    align-items: end;
    border-bottom: 1px solid #ccc;
    padding: 24px 0px;
}

.opis-controls-champ {
    border-image-outset: 0;
    box-sizing: border-box;
    color: rgb(34, 54, 84);
    font-family: "OpenSans-Regular", sans-serif;
    font-size: 14px;
    height: 32px;
}

.control {
    display: flex;
    align-items: center;
    margin-right: 16px;
}

.option-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 0px;
    margin-right: 16px;
}

.libelle {
    font-weight: 600;
}

.select-control {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 14px;
    background: #fff;
    min-width: 80px;
    appearance: none;
}

.select-control:focus {
    border-color: #0056b8;
    box-shadow: 0 0 0 2px rgba(0,86,184,0.15);
    outline: none;
}
    
/* Results list */

/*.next-element {
        margin-top: -72px;*/ /* pulls it up */
/*}*/

.opi-list .result {
    border-bottom: 2px solid #e2e2e2;
    padding-bottom: 1rem;
}

.result .opi-label {
    display: inline-block;
    color: #0056b8;
    font-weight: 600;
    text-decoration: none;
}
        
.result-titre {
    padding: 48px 0px 0px;
}

.result-soustitre {
    padding: 24px 0px 0px;
}

.deux-colonnes {
    display: grid;
    grid-template-columns: 208px 1fr;
    column-gap: 16px;
    margin-bottom: 8px;
}

.liste-results {
    display: flex;
    flex-direction: column;
}

.coordonnees-icone {
    display:inline-block !important;
    width:16px !important;
    height:16px !important;
    background-size:16px 16px !important;
    position: relative;
    top: 6px;
}

.marquer-icone {
    color:#19406C; 
    height:30px;
    position: relative;
    top: 6px;
    margin-right: 10px;
}
        
.result p {
    margin: 0.2rem 0;
    font-size: 14px;
}
    
/* Results Footer */
.results-footer {
    display: flex;
    justify-content: center;
}

.paginator {
    text-align: center;
    margin-top: 2rem;
    z-index: 1;
}

.paginator .page {
    display: inline-block;
    padding: 4px 8px;
    margin: 0 3px;
    cursor: pointer;
    background: none;
    border: none;
    color: #06c;
    font: inherit;
    text-decoration: none;
}

.paginator .adjacent-page {
    font-size: 24px;
    font-weight: 900;
    transform: translateY(4px);
    text-decoration: none;
}

.paginator .active {
    color: #000;
    cursor: auto;
}

.paginator .next {
    border: none;
    background: none;
    font-size: 16px;
    cursor: pointer;
}


.export-options {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: flex-end;
    height: 100px;
    transform: translateY(-58px);
}

@media (max-width: 768px){
    .export-options {
        transform: none;
    }
}

.print-button {
    padding-left: 32px;
    margin-top: 24px;
    cursor: pointer;
}

.link-like {
    background: none;
    border: none;
    padding: 0;
    color: #06c;
    text-decoration: underline;
    font: inherit;
}

.svg-icon {
    height: 24px;
    margin-right: 8px;
    transform: translateY(4px);
}
    
/* Imprimation */
@media print {
    .no-print { display: none; }
    .print-only { display: block !important; }
    .new-page {
        break-before: page;
        page-break-before: always;
    }
}

/* Tooltip */
.tt { position: relative; }
.tt::after {
    content: attr(data-tt);
    position: absolute;
    bottom: -10%;
    white-space: nowrap;
    padding: 8px 8px;
    border: 1px solid lightgrey;
    font-size: 16px;
    font-family: "OpenSans-Regular", sans-serif;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
}
.tt:hover::after { opacity: 1; }