/* Containers */
.container-menu{
    margin-left: auto;
    margin-right: auto;
    background-color: black;
	top: 0;
	text-align: center;
position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
width: 100%;

}
a{
    transition-duration: 0.5s;

}
.container-menu #menu-menu{
    width: 90%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.container-page{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
}
.container-page::after{
    content: "";
    display: table;
    clear: both;
}
#contact-pop-panel-wrapper{
    width: 100%;
}
#contact-pop-panel textarea{
    width: 95%;
}

/*menu*/

#menu ul{
        list-style-type: none;

        text-transform: uppercase;
        
    }
    #menu ul li a{
        color: white;
        text-decoration: none;
        border-bottom: 1px solid;
    }
    #menu ul li a:hover{
        color: #666;
    }
    #menu ul li{
        display: inline-block;
        margin-right: 5px;
        font-size: 0.72em;
        padding: 8px 5px;
    }
    

/* Box piemme  */
#homeBoxes::after{
    content: "";
    display: table;
    clear: both;
}
.box-piemme{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: #eaeaea;
    height: 55vw;
    border: 2px solid white;
    overflow: hidden;
}
.box-piemme.video{
    background-color: black;
}
.box-piemme .pushbox{
    height: 55vw;
display: block;
}

.box-piemme .pushbox.texte, .box-piemme .pushbox.audio{
    font-family: Georgia, 'Times New Roman', Times, serif;
    display: flex;
    justify-content :center;
    height: 100%;
}
.box-piemme .pushbox .center{
    padding: 7vw;
    text-align: center;
    font-size: 1em;
    line-height: 1.2;
    align-self: center;
}
    
 .box-piemme h2{
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.15em;
 }  

.JMP-header{
text-transform: uppercase;
}


/* actu */
.actuBox{
	width: 100%;
	margin: 1px;
background:#eaeaea;
border: 1px black solid;
}
.actu{

	padding: 10px;
}
 #actu{
    column-count: 1;
    column-gap: 4px;
 } 

 .actuBox{
    display: inline-block;
    width: 100%;
    page-break-inside: avoid;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
 }
 #miniatures{
    column-count: 4;
    column-gap: 2px;
    }


/* bio */
    .page-title{
        text-align: center;
        text-transform: uppercase;
        font-weight: normal;
        margin-bottom: 50px;
        font-size: 1.8em;
    }
    
    #bio{
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }
    #leftbio{
        width: 100%;
        background:#eaeaea;
        padding: 20px;
        box-sizing: border-box;
    }
    #leftbio p, #leftbio h2{
        margin-bottom: 10px;
    }
    #leftbio p{
        font-size: 0.9em;
    }
    #rightbio{
        width: 100%;
    }
    #rightbio img{
        width: 100%;
        height: auto;
        display: block;
    }



/* Listes textes */
#extraits-list {
    width: 100%;
  
}
#extraits-list ul {
    list-style-type: none;
    text-transform: uppercase;
}
#extraits-list ul li{
    margin-bottom: 8px;
    display: block;
    page-break-inside: avoid;
}
#extraits-list ul li a{
    color: black;
}
#extraits-list ul li a:hover{
    color: #666;
}
.container-page.textes h1{
    margin-bottom: 40px;
    text-transform: uppercase;
    font-size: 1.8em;
}


.extraits_left{
margin-bottom: 30px;
display: none;
}

.extraits_left ul{
    list-style-type: none;
    line-height: 1.3;
}
.extraits_left ul li{
    text-transform: uppercase;
    margin-bottom: 10px;
}

.extraits_left ul li a {
    color: black;
}
.extraits_left ul li a:hover {
    color: #666;
}
.extraits_right{
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1em;
    line-height: 1.4;
}
.extraits_right p{
    margin-bottom: 15px;
}
.extraits_right h1{
    line-height: 1.1;
    margin-bottom: 15px;
    margin-top: 0;
}

/* fictions */
#menu-fictions{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 50px;
}
#menu-fictions ul{
    list-style-type: none;
    text-transform: uppercase;
    font-size: 1.04em;
}
#menu-fictions ul li{
    display: inline-block;
    padding: 0.5rem;
    background-color: black;
    margin-top: 5px;
    transition-duration: 0.5s;
}
#menu-fictions ul li:hover, #menu-fictions ul li.current-menu-item{
    background-color: grey;

}

#menu-fictions ul li a{
    color: white;
    text-decoration: none;
}
#menu-fictions ul li a:hover{
    color: #666;
}

.container-page.fictions .infos{
    font-size: 1.2em;
    line-height: 1.5;
    margin-bottom: 40px;
}

#liste_textes ul{
    list-style-type: none;
    text-transform: uppercase;
}

#liste_textes ul li a{
color: black;
}

#liste_textes ul li a:hover{
    color: #666;
    }
    

#liste_textes ul li{
    margin-bottom: 8px;
	    display: block;
    page-break-inside: avoid;
}

#solo_texte .body{
    width: 100%;
    float: left;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1em;
    line-height: 1.4;
}

#solo_texte .body p{
    margin-bottom: 15px;
}

#solo_texte .side{
    width: 100%;
    float: left;
}

.infos_d{
    margin-bottom: 40px;
    float: left;

}
#illu{
    float: left;
     margin-bottom: 20px;;
}
#illu img{
    width: 100%;
    height: auto;
}

#solo_texte{
    padding-top: 0;
    margin-top: 20px;
}


#switch {
    width: 20px;
    height: 20px;
    bottom: 11px;
    background-image: url(switch.png);
    float: right;
    cursor: pointer;}

    #switch{
        display: none;
    }
@media screen and (min-width: 480px) {  
    .actu-image img{
        width: 100%;
        height: auto;
    } 
    
    .extraits_left{
        display: block;  
    }   

    #liste_textes,
    #extraits-list{
        column-count: 2;
        column-gap: 4rem;
    }

    .infos_d{
        width: calc(50% - 20px);
    }
    
    #illu{
        width: 50%;
        padding-right: 20px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {  
        .container-page{
            width: 90%;
            max-width: 900px;
            margin-top: 50px;
        }
        .box-piemme{
            width: 33.333%;
            height: 200px;
            float: left;
        }
    
        .box-piemme .pushbox{
            height: 200px;
        }

        .box-piemme .pushbox .center{
            padding: 10px;
            text-align: center;
            font-size: 0.7em;
            align-self: center;
        }
        .player audio{
            width: 200px;;

        }

        #actu{
            column-count: 2;
         } 

         #miniatures{
            column-count: 5;
            column-gap: 2px;
            }
        

            #leftbio{
                width: 60%;
            }
            #rightbio{
                width: 40%;
            }
    
    #extraits-list {
        width: 100%;
        column-count: 2;
        column-gap: 4rem;
    }
    .extraits_left{

    float: left;
    width: 20%;
    padding-right: 20px;;

}
.extraits_right{
    float: left;
    width: 75%;
}

#liste_textes{
    column-count: 3;

}

#illu{
    width: 100%;
}

#solo_texte .body{
    width: 60%;
    padding-right: 20px; 
    float: left;
}

#solo_texte .side{
    width: calc(40% - 40px);
    float: left;
}

.infos_d{
    width: 100%;
    margin-left: -100%;
}
.side.no-image  .infos_d{
    margin-left: 0;

}
.side.no-image #switch{
    display: none;
}
#switch{
    display: block;
    z-index: 100;
    position: relative;
    margin-right: 30px;
    margin-top: 20px;;
}



#illu{

    width: 100%;
    position: relative;
    z-index: -10;

}
#illu img{
    opacity: 0.3;
}

}

@media only screen and (min-width: 1024px) {  
    .container-page{
        width: 90%;
        max-width: 960px;
        margin-top: 50px;
    }
    .box-piemme{
        width: 33.333%;
        height: 250px;
        float: left;
    }
    .box-piemme .pushbox{
        height: 250px;
    }

    .box-piemme .pushbox .center{
        padding: 25px;
        text-align: center;
        font-size: 1.05em;
        align-self: center;
    }

    .player audio{
        width: 260px;;

    }

    #actu{
        column-count: 3;
     } 

     #miniatures{
        column-count: 6;
        column-gap: 2px;
        }
    
    #leftbio{
        width: 60%;
    }
    #rightbio{
        width: 40%;
    }

    #solo_texte .body{
        width: 60%;
        padding-right: 20px; 
        float: left;
    }
    
    #solo_texte .side{
        width: calc(40% - 40px);
        float: left;
    }
    
    .infos_d{
        width: 100%;
        margin-left: -100%;
    }
    
    .side.no-image .infos_d{
        margin-left: 0;
    }
    
    #illu{
        width: 100%;
    }

    .extraits_left{
        float: left;
        width: 20%;
        padding-right: 20px;
    }
    
    .extraits_right{
        float: left;
        width: 75%;
    }

    #bio{
        display: grid;
        grid-template-columns: 60% 40%;
        align-items: start;
    }
    
    #leftbio{
        width: 100%;
    }
    
    #rightbio{
        width: 100%;
        position: -webkit-sticky;
        position: sticky;
        top: 60px;
    }
    
    #rightbio img{
        width: 100%;
        height: auto;
        display: block;
    }
}


/* slider pure css */

.petitslider{
	width: 100%;
	position: relative;
	transition: transform 300ms;
	text-align: center;
	text-transform: uppercase;
	font-size: 70%;
	background-color: black;
	padding-bottom: 15px;    
	padding-top: 15px;
	color: white;
}
.petitslider a{
	color: white;
}
.petitslider a:hover{
	color: #666;
}

.box-piemme:hover .petitslider{
    transform: translate3d(0, -100%, 0);

}

#slider_pics{
    width: 100%;
    text-align: center;
        text-transform: uppercase;
        font-size: 0.7em;
        background-color: black;
        padding-bottom: 15px;    
        padding-top: 15px;
        color: white;
    margin-bottom: 20px;
    min-height:60px;
    
    }
    #slider_pics a{
        color: white;
    }
    #slider_pics a:hover{
        color: #666;
    }
    
  
