/* ------------------   CSS ---------------------------*/
@import url("style_index_root.css");
@import url("style_header.css"); 
@import url("style_index_bloc_2.css");
@import url("style_index_bloc_4.css");
@import url("style_bloc_4.css");
@import url("style_index_bloc_mediatheque.css");

body{
	width: auto; /* Largeur in px or % */
	height: auto; /* Hauteur in px or % */
    margin: auto; /* Marge in px*/
	padding: auto; /* Marge interieure*/
	background-color: var(--bodycolor0); /* Couleur de fond */
    font-family: var(--fontfamily);

}


/*=======================  Page all  ==============================*/
.page{
    margin: 0px 10% 100px 10%;
    padding-bottom: 100px;
}
.pagetitre{
    padding: 10px;
    color: var(--maincolor1);
    font-family: "Comic Sans MS", Verdana, Arial;
    text-align: center;
    background-color: var(--bodycolor);
    border-radius: 0px 0px 15px 15px;
}
.pagetitre p{
    font-style: italic;
    margin: 0px 15% 10px 15%;
}
.pagesoustitre{
    text-align: center;
    color: black;
}
.pagebanderole{
    margin: 10px 10% 20px 10px;
}
.pagebanderole img{
    height: 300px;
    width: auto;    
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.pageitem{
    margin: 40px 0px 40px 0px;
    padding: 10px;
    color: black;
    line-height: 150%;
    background-color: var(--bodycolor);
}
.pageitem p{
    text-align: left;
}
.pageitem img{
    text-align: left;
    float: right;
    max-height: 240px;
}

/*------------------------*/
.item-right-italic {
    text-align: right;
    font-style: italic;
}

/*-------------------------------*/
.pageitem table table {
    border-collapse: collapse;
    width: 100%;
}
.pageitem th, .pageitem td {
    border: 2px solid var(--maincolor4);
    text-align: left;
    padding: 5px;
}
.pageitem tr:nth-child(even) {
    background-color: var(--bodycolor0);
}
.pageitem tr:hover {
    background-color: var(--maincolor3);
    color: white;
}
.pageitem th {
    background-color: var(--maincolor3);
    padding-top: 10px;
    padding-bottom: 10px;
    color: white;
}

/*-------------------------------*/
.item{
    margin: 20px 10% 20px 20px;
    padding: 20px;
    color: black;
    background-color: white;
    font-size: 100%;
    border-radius: 15px;
    line-height: 200%;
}
.itemtitre{
    font-size: 120%;
    color: var(--maincolor1);
    padding: 10px;
    font-weight: bold;
}



/*--------------------------------------*/
form{
    margin: 20px 10px 20px 10px;
}

form input{
    width: 95%;
    height: 35px;
}
form select{
    width: 95%;
    height: 35px;
}
form textarea{
    width: 95%;
    height: 240px;
}
form button{
    background-color: var(--maincolor2);
    color: white;
    padding: 15px;
    margin: 15px;
    border-radius: 10px;
}
form button:hover{
    background-color: var(--hovercolor);
    cursor: pointer;
}

.form-input-submit-box{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}





/*=======================  GALERIE  ==============================*/
.galerie-bloc{
    text-align: center;
    color: var(--maincolor1);
    background-color: white;
    border-radius: 10px;
}
.galerie-bloc-item{
    margin: 50px 0px 50px 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.galerie-bloc-item a, .galerie-bloc-item video {
    margin: 5px;
    width: 19%;
    height: auto;
}
.galerie-bloc-item img{
    margin: 5px;
    width: 100%;
    height: auto;
    object-fit: cover;
}


/*=======================  LABORATOIRE  ==============================*/
.pagetitre-alt-1{
    margin: 10px 10% 10px 10%;
    background-image: url("./../ressources/base/background2.jpg");
    background-repeat: repeat;
    background-attachment: fixed;
    background-size: contain;
    object-fit: contain;
    height: 420px;
    border-radius: 15px;
    box-shadow: 6px 6px 25px rgba(0, 0, 0, 0.5);
}
.pagetitre-alt-1-1{
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background-color: rgba(100,100,100,0.5);
}
.pagetitre-alt-1-1 h1{
    text-align: center;
    color: white;
    line-height: 400px;
}
.pagetitre-alt-1-1 h1:hover{
    scale: 1.1;
}





/*===================  MEDIA   ===================*/
@media all and (max-width: 1024px) {
    .page{
        margin: 0px 0% 20px 0%;
    }
    .item{
        margin: 10px;
        padding: 10px;
    }
    .pageitem{
        margin: 10px;
        padding: 10px;
    }

    .labo-content-bloc-1{
        margin: 10px;
        
    }

    .galerie-bloc-item a, .galerie-bloc-item video {
        width: 29%;
    }
	
}
/*===================  MEDIA   ===================*/

