/********************************************
 * Personnalisation du thème html5up_TWENTY
 *
 **********************************************/


/* colorisation des Hx*/

h1, h2, h3, h4, h5, h6 {
    text-transform: inherit;
}


/*
Suppression de l'image par défaut en background 
*/
.image::before {
    background: none;
}

/* La balise hr nettoie les flotants */
hr.spip {
	clear: both;
}

/* colorisation des icones */

i.icon,header.special:before, header.special:after {
	color: #83d3c9;
}


/* Surchage style de la balise h2 */

h2.spip::after {
    background-color: #83d3c9;
    bottom: -5px;
    content: "";
    display: flex;
    height: 5px;
    position: relative;
    width: 100px;
	margin: 0 0 1em 0;
}

/* Surchage style de la balise h3 */
h3.spip::after {
    background-color: #83d3c9;
    bottom: -5px;
    content: "";
    display: flex;
    height: 2px;
    position: relative;
    width: 100px;
}


/*
 Gradian entre les sections
*/
#main > :last-child {
	margin-bottom: 0;
	clip-path: polygon(0% 2%, 100% 0%, 100% 100%, 0% 100%);
	background: linear-gradient(to top, #f3f6fa 0%, #ffffff 100%);_
}

/*
Elargissement de la bannière
*/
page-wrapper > #main {
    position: absolute;
    top: calc(-1 * var(--previous-section-divider-offset, 0px));
    right: 0;
    bottom: 0;
    left: 0;
}

/*
Elargissement de la bannière
*/

#banner .inner header h1, #banner .inner header {
	border: none;
}

#banner .inner {
    max-width: 800px;
}

#banner .inner header, #banner .inner header h1 {
    color: #ffffff;
	text-transform: inherit;
}

/*
Remplacement fond d'image par slides
*/

.page_sommaire #banner {
    position: relative;
    height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page_sommaire #banner .inner {
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(90%, 900px);
    margin: 0;
    padding: 2.5em;
    box-sizing: border-box;
    background: rgba(52,27,43,.5);
    text-align: center;
    overflow: hidden;
}

.slide{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    opacity:0;
    transition:opacity 1.5s ease;
}

.slide.active{
    opacity:1;
}

.page_sommaire .content{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    text-align:center;
    color:white;
    z-index:2;
    width:90%;
}

.indicators{
    position:absolute;
    bottom:25px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:10px;
    z-index:3;
}

.dot{
    width:14px;
    height:14px;
    border-radius:50%;
    border:2px solid #fff;
    cursor:pointer;
    background:transparent;
}

.dot.active{
    background:#fff;
}

@media(max-width:768px){

    .content h1{
        font-size:2rem;
    }

    #banner{
        height:50vh;
    }

}
