/* Pas de visionneuse sur la page Parcourir  */
script + #uv-1{display: none;}
div + script + #uv-1{display: block!important;}

/* visionneuse en haut de page */
#content{  
display: grid;
grid-template-columns: 100%;
}

#uv-1{
grid-row-start: 3;
margin: 20px;
}

/* Ajout de la police */
@font-face {
font-family: "Raleway-Regular";
url("https://genovefa.bsg.univ-paris3.fr/files/voyagessavants/font/Raleway-Regular.otf") format("opentype");
url("https://genovefa.bsg.univ-paris3.fr/files/voyagessavants/font/Raleway-Regular.woff") format("woff");
url("https://genovefa.bsg.univ-paris3.fr/files/voyagessavants/font/Raleway-Regular.woff2") format("woff2");
url("https://genovefa.bsg.univ-paris3.fr/files/voyagessavants/font//Raleway-Regular.ttf") format("truetype");
}

/* Ajout de la police et arrière plan */
html{
font-family: "Raleway-Regular"!important;
font-style: normal;
}

body{
background-color:#f9faf2;
}

/*Makes links change color when hovered over*/
header a:hover{
color:#e8b352!important;
}
p a:hover{
color:#e8b352!important;
}
#textHome a:hover{
color:#e8b352!important;
}

/* Bandeau : dimension, image */
header{
background-image: url("https://genovefa.bsg.univ-paris3.fr/files/voyagessavants/Banner.png");
background-repeat: no-repeat;
background-position: center;
/*background-size:cover;*/
background-color: #f6f3e2 ;
height:120px;
width: 100%; 
padding-bottom: 106px;
border-bottom: 2rem solid #5e7172;
margin: 0 0 0 !important; 
}

/* texte de la page d'accueil */
#textHome{
text-align: center;
}


/* texte de la page d'accueil */
#textHome{
text-align: justify;
font-size: 13pt;
margin-right: 10%;
margin-left: 10%;
}

/* Masquer l'affichage de la barre de recherche et des doubles menus pour les thèmes*/
nav.sub-menu{
display:none;
word-wrap: break-word;
}

#search{
display:none!important;
}

.site-page-pagination{
display:none;
}

/* Empêche le menu de se placer sur différentes lignes et de se contracter sur des écrans plus petits */
li a{
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
h4 {
white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Pour les écran de plus de 1500 px afficher la barre de menu à droite*/
@media screen and (min-width: 1500px) {
header nav ul.navigation {

margin-left: 55% !important;
margin-top:-59px;
text-color:#ddcc97;
}
#BSGLogo{
float:left;
padding:5px;
}
#FooterContent{padding-right:200px;}


}

/* Pour les écran entre 800 et 1500 px afficher la barre de menu à gauche*/
@media screen and (min-width: 800px)  and  (max-width: 1500px){
header nav ul.navigation {

margin-left: 15% !important;
margin-top:-59px;
width: 650px;
text-color:#ddcc97;
}
header nav ul {padding-left: 15px; }
#BSGLogo{
padding:10px;
}
}

/* Pour les écran de moins de 800 px changer les couleurs du menu déroulant*/
@media screen and (max-width: 800px) {
li a {
border: solid #5e7172;
color:#f6f3e2  !important;
}
#BSGLogo{
padding:10px;
}
nav a{
background-color:  #5e7172!important;
}
}

/* empêche le menu de passer sous la carte en version mobile (-800px)*/
ul {
z-index: 1000;
}

/* Place le titre Voyage Savant au centre*/
#VS{
margin-bottom:50px;
color:#5e7172;
text-align: center;
font-size: 28pt;
}

/*icône de page d'accueil css*/
/*circleblock is div of all icons*/
/*display center aligned*/
.circleblock {
	text-align: center;
}
/*circle is div with image, text and hover
displays horizontally*/
.circle {
	display: inline-block;
	position: relative;
	border-radius: 50%;
        margin: 7px;
}
/*image of icon*/
.circleimage {
	max-height: 230px;
	width: auto;
	opacity: 1;
}
/*colored overlay, text included in div
positioned on image
opacity 0 without hover
transition on hover
border radius makes colored square circular*/
.circleoverlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	max-height: 230px;
	width: auto;
	opacity: 0;
	transition: .5s;
	background-color: #b8cdcf;
	border-radius: 50%;
}
/*the overlay appears when hovered over*/
.circle:hover .circleoverlay {
	opacity: .85;
}
/*text div appears on hover
also aligns the text center in the image*/
.hovertitle {
	color: #f9faf2;
	font-size: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;

}

/*fin de css d'icône de page d'accueil*/


/* Bas de page, couleur et taille*/

footer{
background-color:  #5e7172;
max-width: 30000px!important;
height: 100%;
text-align: center;
}

#FooterContent{
margin: 0 auto;
max-width:1600px;
}

footer a{
margin: 30px;
color:#f6f3e2 !important;}

#social a {
margin-left:10px!important;
margin-right:10px!important;
}

#social{
padding-top:10px!important;
margin-bottom:-15px !important;
}

header ul{ 
background-color:#f6f3e2;
}

#Thèmes {
 	color:#5e7172;
 	text-align: center;
	font-size: 28pt;
}

/* all theme titles */
#TitleCentre {
	color:#5e7172;
	text-align:center;
        margin-top: 75px;
 margin-left: 10%;
margin-right:10%;
	font-size:28pt;
}

/* all theme  subtitle descriptions */
#TitleCentre2 {
	color:#5e7172;
	text-align:center;
	font-size:14pt;
margin-left: 10%;
margin-right:10%;
}

.AllImageSize {
/*max-width:46%;*/
height:auto;
/*margin-right:0;*/
}

/*.VerImageSize {
max-width:26%;
height:auto;
}*/

/* theme 1 all books left-aligned image and caption */
.ImageLeft {
	float:left;		/*image wraps left around text */
	text-align:center;
	font-size:8pt;
margin-left:0;
/*margin-right:22px;*/
margin-bottom:0px;
margin-top:-5px;
line-height:1.15;
clear:both;
} 

/* theme 1 all books title */
.Subtitle {		
	font-size:14pt;
	text-align:left;
margin-left:10%;	
}

/* theme 1 all books description body text */
.MargeText {	
	text-align:justify;
	font-size:12pt;
margin-left:10%;
margin-right:10%;
}


/* theme 1 all books right-aligned image and caption */
.ImageRight {	/* figure.class */
	float:right;	/*image wraps right around text */
	text-align:center;
	font-size:8pt;
margin-right:0;
/*margin-top:-10px;*/
margin-bottom:-4px;
/*margin-left:17px;*/
line-height:1.15;
clear:both;
max-width: 85%;
height: auto;
padding:0px;
} 

.ImageInline {
display:flex;
justify-content:center;
align-items:center;}

.ImageCenter {	/* figure.class singular centered item*/
	text-align:center;
	font-size:8pt;
margin-right:8%;
margin-left:10%;
margin-top: 20px;
margin-bottom: 10px;
line-height:1.15;
clear:both;
max-width: 80%;
height: auto;
padding:0px;
} 
.ImageCenterRow {	/* multiple centered items*/
	text-align:center;
	font-size:8pt;
margin-right:8%;
margin-left:8%;
margin-top: 20px;
margin-bottom: 10px;
line-height:1.15;
clear:both;
max-width: 85%;
height: auto;
padding:0px;
display:inline;
} 



/*mise en page du corps de texte pour les pages qui ne présentent pas de documents*/ 
#BodyGen {
        font-size:13pt; 
        text-align:justify;
        margin-right:10%;
        margin-left:10%;
}

/*pour centrer une image*/
#ImagCent {
margin-right: auto;
margin-left: auto;
width:25%; 
}
