/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .content_img {
        width: 100%;
    }
}


@media all {

/* Modal image de couverture */ 

/* Style the Image Used to Trigger the Modal */
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
#modal_cover {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.content_img {
    margin: auto;
    display: block;
    max-width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.content_img, #caption { 
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.close_img {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close_img:hover,
.close_img:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


/* Général */

p {
	text-align: justify;
}

.box2 img {
	max-width:100%; 
	height:auto; 
	object-fit:cover;
}

.footer {
	height:60px;
	background-color: #e7e7e7;
}

.footer p {
	padding-top:15px;
	font-size:80%;
}

html,
body {
	height:100%;
}

.avert_compte p {
	color:red;
	font-size:250%;
	font-weight:bold;
}

.avert_compte {
	background-color:#f8f8f8;
	margin:80px 0;
}

#wrap {
	min-height: 80%;
	height: auto !important;
	height: 100%;
	/* Negative indent footer by its height */
	margin-bottom: 0 auto -60px;
	/* Pad bottom by footer height */
	padding-bottom: 0 0 60px;
}

#bibliographie p {
	margin-left:50px;
	text-indent:-50px;
	text-align:left;
	margin-bottom:15px;
}

.panel-heading {
	text-align:center;
}

.back-to-top {
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display:none;
}

h4 {
	margin-top:25px;
}

.glossaire h3 {
	margin-top:30px;
}

ol.aide_liste > li {
	margin-top:15px;
}

/* En-tête */

.banniere_lien {
	font-family: Georgia, serif;
	text-align: center;
	float: center;
	height: 50px;
	padding: 15px 15px;
	font-size: 30px;
	line-height: 20px;
	color: #ffa723;
}

.banniere_lien:hover,
.banniere_lien:focus {
	text-decoration: none;
	color: #ffbb56;
}

.banniere_parent {
	text-align: center;
	padding: 15px 0px;
}


/* Barre de navigation */

#menu_connexion input { margin-bottom: 15px; }

.menu_pages {
	padding: 0px;
}

@media (min-width: 768px) {
  .navbar > .container .header-test,
  .navbar > .container-fluid .header-test {
    margin-left: -15px;
  }
}

.navbar .container-fluid, .navbar-collapse {
    padding-left:0;
}
.navbar-collapse.in {
    padding-left:30px;
}

.header_connexion {
	background-color:#ececec;
}

.header_connexion p {
	text-align:center;
	font-weight:bold;
}

li.active {
	background-color:#e7e7e7;
}


/* Message d'erreur de connexion */
p.erreur_connexion {
	color: #ececec;
	text-align: right;
}

/* Recherche avancée*/

.ligne_row {
	margin-bottom: 10px;
}

#attrait_retrait3,
#genre_retrait3,
#meta_retrait3 {
	margin-left:37px;
}

#contenu_notices {
	background-color: #f8f8f8;
	border-radius: 10px;
}

.contenant_contenant {
	margin-bottom:5px;
}

ul.lien_notice {
	padding-left:5px;
}

.contenant_resultats_gauche {
	width:20%;
	display:inline-block;
	vertical-align:top;
}

.contenant_resultats_droite {
	width:78%;
	display:inline-block;
	vertical-align:top;
}

#petite_couverture {
	width:100%; 
	height:80px; 
	object-fit:cover;
}

ul.lien_notice>li {
	list-style-type: none;
}

.sous_lien a {
	color:#777;
	font-size:80%;
	margin-left:-5px;
}

.sous_lien a:hover {
	color:black;
	text-decoration:none;
}

#menu-deux-rangees {
	padding-left:0px;
	padding-right:0px;
}

#menu_premiere_rangee {
	margin-left:0px;
	margin-right:0px;
}

#menu_deuxieme_rangee {
	margin-left:0px;
	margin-right:0px;
	background-color:#f4f4f4;
}

.liste_resultats {
	overflow:auto;
	height:80%;
	padding-right:5%;
	text-align:left;
}
  
.liste_notice {
	overflow:auto;
	height:80%;
	padding-right:5%;
	text-align:left;
}

#contenu_notices2 {
	height:68vh;
}

#liste_resultats_complete {
	padding-right: 25px;
	height:80vh;
}

.section_developpement h4 {
	text-align:center;
}

.section_developpement {
	height:300px;
}

.section_developpement2 {
	height:150px;
}

.section_developpement2 h4 {
	text-align:center;
}

.section_developpement2 p {
	font-size:8;
}

#notice_gauche {
	padding:0;
}

#notice_droite {
	padding:0;
	background-color:#9b9b9b;
	color:white;
	border-radius:10px;
}

#notice_droite p {
	margin: 15px;
}

/* FLIP BOX */

/* --Dans les notices */
#panelflip {
	background-color: #f8f8f8;
	border-radius: 10px;
	position: relative;
	-webkit-perspective: 600px;
	-moz-perspective: 600px;
}
	
#panelflip .front {
	background-color:#9b9b9b;
	border-radius: 10px;
	z-index: 900;
	-webkit-transform: rotateX(0deg) rotateY(0deg);
	   -moz-transform: rotateX(0deg) rotateY(0deg);
	-webkit-transform-style: preserve-3d;
	   -moz-transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;
	   -moz-backface-visibility: hidden;
	-webkit-transition: all .4s ease-in-out;
	   -moz-transition: all .4s ease-in-out;
		-ms-transition: all .4s ease-in-out;
		 -o-transition: all .4s ease-in-out;
			transition: all .4s ease-in-out;
}

#panelflip .back {

	position: absolute;
	top: 0;
	z-index: 1000;
	-webkit-transform: rotateY(-180deg);
	   -moz-transform: rotateY(-180deg);
	-webkit-transform-style: preserve-3d;
	   -moz-transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;
	   -moz-backface-visibility: hidden;
	-webkit-transition: all .4s ease-in-out;
	   -moz-transition: all .4s ease-in-out;
		-ms-transition: all .4s ease-in-out;
		 -o-transition: all .4s ease-in-out;
			transition: all .4s ease-in-out;
}
#panelflip.flip .front {
	z-index: 900;
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
}
#panelflip.flip .back {
	z-index: 1000;
	-webkit-transform: rotateX(0deg) rotateY(0deg);
	-moz-transform: rotateX(0deg) rotateY(0deg);
}
.box1{
	text-align:justify;
	background-color:#9b9b9b;
	color:white;
	margin:0 15px;
	padding: 15px 0;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
.box2{
	color:white;
	padding: 0;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

/* --Sur la page d'accueil */
/* --Dans les notices */
#panelflip2 {
	background-color: white;
	border-radius: 10px;
	position: relative;
	-webkit-perspective: 600px;
	-moz-perspective: 600px;
}
	
#panelflip2 .front {
	background-color:#9b9b9b;
	border-radius: 10px;
	z-index: 900;
	-webkit-transform: rotateX(0deg) rotateY(0deg);
	   -moz-transform: rotateX(0deg) rotateY(0deg);
	-webkit-transform-style: preserve-3d;
	   -moz-transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;
	   -moz-backface-visibility: hidden;
	-webkit-transition: all .4s ease-in-out;
	   -moz-transition: all .4s ease-in-out;
		-ms-transition: all .4s ease-in-out;
		 -o-transition: all .4s ease-in-out;
			transition: all .4s ease-in-out;
}

#panelflip2 .back {

	position: absolute;
	top: 0;
	z-index: 1000;
	-webkit-transform: rotateY(-180deg);
	   -moz-transform: rotateY(-180deg);
	-webkit-transform-style: preserve-3d;
	   -moz-transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;
	   -moz-backface-visibility: hidden;
	-webkit-transition: all .4s ease-in-out;
	   -moz-transition: all .4s ease-in-out;
		-ms-transition: all .4s ease-in-out;
		 -o-transition: all .4s ease-in-out;
			transition: all .4s ease-in-out;
}
#panelflip2.flip .front {
	z-index: 900;
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
}
#panelflip2.flip .back {
	z-index: 1000;
	-webkit-transform: rotateX(0deg) rotateY(0deg);
	-moz-transform: rotateX(0deg) rotateY(0deg);
}


/* FIN FLIP BOX*/

.mission {
	text-align:center;
	font-weight:bold;
}

.reference {
	text-align:center;
	font-size:80%;
}

/* Carrousel */
.carousel-inner.onebyone-carosel { margin: auto; width: 90%; }
.onebyone-carosel .active.left { left: -33.33%; }
.onebyone-carosel .active.right { left: 33.33%; }
.onebyone-carosel .next { left: 33.33%; }
.onebyone-carosel .prev { left: -33.33%; }

#test-carrousel.hover{
	opacity: .7;
	cursor: pointer;
}

.test-test {
	position: relative; 
	width: 100%; /* for IE 6 */
}

.test-test > h4 {
	position: absolute; 
	top: 175px; 
	left: 25px; 
	width: 200px;
	height: 50px;
	background: rgb(0, 0, 0); /* fallback color */
	background: rgba(156, 156, 156, 0.7);
	padding: 5px 5px 0px 5px;
}

.test-test h4 span {
	color: #ececec; 
	font-weight: bold; 
	
}

.test-test img:hover{
	opacity: 0.7;
}

.carousel-control {
	opacity:0.1;
}

.carousel-control:focus, .carousel-control:hover {
	opacity:0.4;
}

#nouveau_menu a {
	color:black;
}

#petite_rangee a {
	font-size:85%;
}

.formulaire .row {
	margin-bottom: 15px;
}


} /* Fin Media all*/



/* GRAND ÉCRAN */
@media (min-width: 768px) {

/* Message d'avertissement pour les utilisateurs sur appareil mobile */
div#mobile_users {
	display:none;
}	


/* Barre de navigation */
	
#grand_recherche > div:nth-child(1) {
	width:78% !important;
}

#grand_recherche input[type=text] {
	width:100% !important;
}

#grand_recherche > button {
	width:10% !important;
}

#petit_recherche input[type=text] {
    display: none;
  }
  
#rech_mobile_1 {
	display:none;
}

#accueil_mobile {
	display:none;
}
 
  
/* Notices */
  
#titre_notice h2 {
	font-weight:bold;
}

#titre_notice p {
	margin:0px;
}

#titre_notice h2,
#titre_notice h3 {
	display:inline;
}

#titre_notice {
	padding:10px;
	border-bottom: 1px solid #9b9b9b;
}

.liste_notice {
	padding-top:10px;
}

#carrousel_petit {
	display:none;
}

.avert_rech {
	display:none;
}
  
} /* Fin grand écran */


/* PETIT ÉCRAN */
@media (max-width: 768px) {
	

/* Message d'avertissement pour les utilisateurs sur appareil mobile */
div#mobile_users {
	display:block;
}	


div#mobile_users p {
	color: red;
	font-weight: bold;
	font-size:120%;
}

/* Barre de navigation */	
	
#petit_recherche {
	margin: 0px;
	padding: 8px 15px;
	width:78%;
}
  
#grand_recherche{
    display: none;
}
  
.menu_separateur {
	border-bottom: 1px solid #e7e7e7;
}

#menu_deuxieme_rangee {
	display:none;
}

#accueil_mobile,
#accueil_icone {
	display:inline-block;
}

#carrousel_grand {
	display:none;
}

.p_carrousel_petit p {
	color:white;
	text-align:center;
	font-size:150%;
	font-style:italic;
}

.p_carrousel_petit {
	background:#4c4c4c;
	margin: 10px 40px;
}

.avert_rech {
	font-weight:bold;
	color:red;
}
  
} /* Fin petit écran */
