@charset "utf-8";

/* AJOUT */
input[type="file"] {
display: none;
}

input[type="file"] + button {
width: 13em;
margin-right: 1em;
}

.btfic.dragover {
border: 2px dotted red;
}


.jointure label.lblactif:has(input:checked) {
border-color: #ffaaaa;
color: #d33;
background-color: #fff0f0;
/*background: linear-gradient(to bottom, #fee 0%, #ffd5d5 100%);*/
}

.jointure label.lblactif input[type="checkbox"] {
accent-color: #d33 !important;
}

ul li .options {
position: absolute;
width: auto;
height: clamp(28px, 22%, 40px);
top: 0;
right: 0;
display: flex;
align-items: center;
justify-content: flex-end;
gap: 0.5em;
padding: 0;
background: rgba(230, 230, 230, 0.5);
backdrop-filter: blur(6px);
border-bottom-left-radius: 0.3em;
box-shadow: none;
opacity: 0.9;
transform: translateY(-100%);
box-shadow: 0 2px 2px 0 rgba(100, 100, 100, 0);
/*transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;*/
transition: all 0.8s ease;
z-index: 10;
}

ul li .options a, ul li .options span {
display: flex;
align-items: center;
justify-content: center;
width: 1.5em;
height: 100%;
padding: 0 0.6em;
font-family: Fontello;
font-size: clamp(12px, 3cqi, 18px);
text-decoration: none;
position: relative;
}

ul li .options span {
cursor: grab;
}

ul li .options span:active {
cursor: grabbing;
}

ul li .options a::before {
position: absolute;
display: inline-block;
left: -0.25em;
top: 0.4em;
content: '';
width: 1px;
height: 1.3em;
background: #555;
background: linear-gradient(to bottom, transparent, #555 25%, #555 75%, transparent);
opacity: 0.6;
}

ul li:hover .options {
transform: translateY(0);
box-shadow: 0 2px 2px 0 rgba(100, 100, 100, 0.8);
transition: all 0.4s ease;
}
/* FIN AJOUT AUTOOR */


.contenu h2.slide {
cursor: pointer;
text-decoration: underline dotted;
}

.contenu h2.slide > span.show {
font-family: monospace;
font-weight: normal;
letter-spacing: -0.2em;
margin-left: 0.3em;
}


/* DEBUT ONGLETS */
.onglets > div.tablist {
display: flex;
flex-wrap: wrap;
gap: 0;
border-bottom: 2px solid #999;
justify-content: start;
margin-bottom: 2em;
}

.onglets > div.tablist button {
height: 3rem;
padding: 0 1.5rem;
font-size: 0.8em;
font-family: Rubik;
font-weight: 500;
background-color: unset;
color: #333;
border-radius: unset;
background: #fafafa;
/*background: linear-gradient(0deg, #f5f5f5 0%, #ffffff 100%);*/
border: 1px solid rgba(0, 0, 0, 0.1);

border-top-left-radius: 0.3rem;
border-top-right-radius: 0.3rem;
}

.onglets > div.tablist button[data-actif="1"] {
border-bottom: 3px solid var(--fond-hover);
/*background: color-mix(in oklch, var(--fond-hover), white 80%);*/
background: linear-gradient(0deg, color-mix(in oklch, var(--fond-hover), white 80%) 0%, #ffffff 100%);
border: 1px solid color-mix(in oklch, var(--fond-hover), white 80%);
}

.onglets > div:not(.tablist, .actif, .static) {
display: none;
}

.onglets > div:not(.tablist, .static) {
opacity: 0;
transition: opacity 0.2s ease;
}

.onglets > div:not(.tablist).actif {
opacity: 1;
}

.contenu div#ong-parties {
margin: 2em 0;
}
/* FIN ONGLETS */


#overlay {
display: none;
opacity: 0;
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
background-color: rgba(0, 0, 0, 0.8);
z-index: 100;
}

#overlay img {
width:  90%;
margin: auto;
}

#dialog {
/*display: none;*/
position: absolute;
width: 70em;
margin: auto;
top: 30%;
left: calc(50% - 30em);
}


#contac {
position: relative;
height: 2.5em;
}

.autocomplete {
display: block;
position: absolute;
width:  calc(35em + 2em);
left: 0;
opacity: 0;
top: calc(2.5em + 1px);
border: 1px solid #999999;
background-color: #fff;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.3);
z-index: 10;
transition: all 0.3s ease;
}

.autocomplete.block {
display: block;
}

.autocomplete.visible {
opacity: 1;
}

.autocomplete a {
display: block;
width: calc(100% - 2em);
height:  3em;
padding:  0 1em;
color:  #333;
line-height: 3em;
text-decoration: none;
}

.autocomplete a:hover {
background-color:  var(--fond-actif);
}


.block {
display: block;
}

.none {
display: none;
}

.hide {
display: none;
height: 0;
}

.noheight {
height: 0;
}

.slide {
cursor: pointer;
}

.slide span.show {
font-family: monospace;
font-weight: bold;
}

.contslide {
transition: all 0.5s ease;
overflow: hidden;
}

.visible {
animation: fadein 0.5s ease forwards;
}

.invisible {
animation: fadeout 0.5s ease forwards;
}

.message.slideDown {
animation: slideDown 1s ease forwards;
}

.message.slideUp {
animation: slideUp 0.5s ease forwards;
}

/*.lightbox {
display: inline-block;
}

#lboverlay {
display: none;
position: absolute;
left: 0;
top: 0;
margin: 0;
padding: 5em;
width: calc(100vw - 10em);
height: calc(100vh - 10em);
text-align: center;
background-color: rgba(0, 0, 0, 0.8);
z-index: 500;
}

#lboverlay.visible {
position: fixed;
display: flex;
justify-content: center;
align-items: center;
}

#lbimage {
max-width: 100%;
max-height: 100%;
}*/


#lightbox {
display: grid;
position: fixed;
width: 100vw;
height: 100vh;
left: 0;
top: 0;
margin: 0;
padding: 0;
grid-template-columns: 5em auto 5em;
gap: 0;
background-color: rgba(0, 0, 0, 0.7);
place-items: center;
visibility: hidden;
opacity: 0;
transition: visibility .2s, opacity .2s ease;
z-index: 999;
}

#lightbox div {
position: relative;
padding-top: 50px;
transition: padding .2s ease;
}

#lightbox div.slideleft {
transform: translateX(-400px);
opacity: 0;
/*transition: transform 1s, opacity 1s linear;*/
}

#lightbox img {
max-width: 100%;
max-height: 100%;
vertical-align: top;
}

#lightbox span {
position: absolute;
width: 100%;
height: 2em;
left: 0;
bottom: 0;
color: #fff;
font-size: 1.2em;
text-align: center;
line-height: 2em;
background-color: rgba(0, 0, 0, 0.7);
}

#lightbox a {
display: block;
width: 1em;
font-family: Fontello;
font-size: 5em;
color: #fff;
text-align: center;
text-decoration: none;
}

#lightbox.lbvisible {
visibility: visible;
opacity: 1;
transition: opacity .5s ease;
}

#lightbox.lbvisible div {
padding-top: 0;
/*transition: padding .5s ease;*/
transition: padding .5s ease, transform .5s linear, opacity .5s linear;
}


#lightbox div.notransition {
/*transition: none !important;*/
transition: padding .5s ease, opacity .5s linear !important;

}







@keyframes fadein {
from { opacity: 0; }
to   { opacity: 1; }
}

@keyframes fadeout {
from { opacity: 1; }
to   { opacity: 0; }
}

@keyframes slideDown {
from { margin-bottom: 0; height: 0; }
to   { margin-bottom: 2em; height: 5em; }
}

@keyframes slideUp {
from { margin-bottom: 2em; height: 5em; }
to   { margin-bottom: 0; height: 0; }
}



