@charset "utf-8";

.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 {
height: 2.5em;
border-bottom: 1px solid #999999;
margin-bottom: 2em;
}

.onglets a {
display: inline-block;
width: 10em;
height:  2em;
margin-right: 1em;
text-align: center;
color: #fff;
text-decoration: none;
line-height: 2em;
background-color: #ccc;
border-radius: 0.3em;
}

.onglets a:hover {
background-color: var(--msg-conf-fond);
}

.onglets a.actif {
background-color: var(--msg-conf-color);
}

.contonglets > div {
display: none;
}
/* 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;
}

@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; }
}



