@font-face {
    font-family: 'typoliner';
	src: url('../02_Polices/typoliner/typoliner.eot');
    src: url('../02_Polices/typoliner/typoliner.eot?#iefix') format('embedded-opentype'),
         url('../02_Polices/typoliner/typoliner.woff') format('woff'),
         url('../02_Polices/typoliner/typoliner.ttf') format('truetype'),
         url('../02_Polices/typoliner/typoliner.svg#typoliner') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'allura';
	src: url('../02_Polices/Allura/allura-regular.eot');
    src: url('../02_Polices/Allura/allura-regular.eot?#iefix') format('embedded-opentype'),
         url('../02_Polices/Allura/allura-regular.woff') format('woff'),
         url('../02_Polices/Allura/allura-regular.ttf') format('truetype'),
         url('../02_Polices/Allura/allura-regular.svg#Allura') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*p main section*/
@font-face {
    font-family: 'Alegreya-Regular';
	src: url('../02_Polices/Alegreya/alegreya-regular-webfont.eot');
    src: url('../02_Polices/Alegreya/alegreya-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../02_Polices/Alegreya/alegreya-regular-webfont.woff') format('woff'),
         url('../02_Polices/Alegreya/alegreya-regular-webfont.ttf') format('truetype'),
         url('../02_Polices/Alegreya/alegreya-regular-webfont.svg#CaviarDreams') format('svg');
    font-weight: normal;
    font-style: normal;
}
html {
	top : 0;
	margin: 0;
	padding: 0;
}

body {
	font-size: 1em;
	font-family: georgia, sans-serif;
	line-height: 1.2em;
	color: #555753;
	width: 100%;
	position: relative;
	margin: 0;
	padding: 0;
	background-color: #191970;
}

h1, h2 {font-size: 1.3em; font-family: georgia; }
p {font-size: 1.1em;}
a {text-decoration: none; color: #000000;}
a:hover {text-decoration: underline;}
p.right {text-align: right;}

header {
    position: relative;
    top: 0;
	width: 80%;
	/*height: 9.8em;*/
    padding: 0 10% 0 10%;
    margin: 0 auto 0 auto;
	background-color: #ffffff;
	border-bottom: solid 1em #D2B48C;
	z-index: 5;
}

header h2.tittleGen {display: block; font-family: typoliner; font-size: 1.8em; letter-spacing: 2em; padding: 1em 0 1em 0; margin: 0; text-align: center; color: #000000; text-shadow: 0.25em 0em 10px #D2B48C, -0.25em 0em 10px #D2B48C;}

hr.splitbubble {
	margin: -0.5em 0 0 0;
	padding: 0;
	border: none;
	border-bottom: 1em dotted #D2B48C;
}



section.connexion {
    /*margin-top: 9.8em;*/
	padding: 5em 0 5em 0;
	background: url(../01_Fond/clouds-3353159_1280.jpg) no-repeat top center;
	background-size: 100%;
}

section.flex, div.flex {position: relative; display: flex; align-items: flex-start; justify-content: center; flex-wrap: wrap; margin: 0; padding: 1.5em 0 1.5em 0; /* background-color: #FFFF00;*/}

section.otherSites {background-color: #FFFFFF;}
div.enteteSection {display: block; position: relative; width: 100%; margin: 0 0 0 0; padding: 0; background-color: #FFFFFF;}
div.fondTitre {position: relative; padding: 0;/* background-color: #CD0000;*/}
h2.tittleSection {
	display: inline-block;
	font-family: 'Allura'; font-size: 3em; font-weight: normal; color: #000000;
	padding: 1em 0.2% 1em 2%; margin: 0;
	background-color: #FFFFFF;
}

hr.h2raye {display: block;
	position: absolute;
	top: 3.1em;
	right: 0;
	color: #000000; 
	width: 90%;}

/*Formulaire*/
article.content {
    position: relative;
    display: block;
	color: #FFFFFF;
    text-align: center;
	margin: 2em auto 2em auto;
    background-color: rgba(255,255,255,0.4);
}

article.content h1, article.content h2 {font-family: Alegreya-Regular; font-size: 1.8em; color: #000000; line-height: 1.5em; margin: 0 0 1em 0; border-bottom: 2px solid #D2B48C;}

article.content p {width: 100%; line-height: 1.8em; padding: 0 0 0.75em 0; margin: 0; text-align: center; }
article.content form {width: 100%; margin: 0; padding: 0;}
article.content label {font-weight: bold; color: #000000;}

/*Presentation articles sites**/
#SlideBandeau {
	display: block;
	position: relative;
	margin: 0 0 0.5em 0;
	padding: 0;
}
div.cadre_bibli { position: relative; width: 100%; margin: 0; padding: 0; white-space: nowrap; overflow: hidden; vertical-align: top;}
article.prezSite {display: inline-block; position: relative; border: 1px solid #D2B48C; margin: 0 5% 0 5%; padding: 0; overflow: hidden; text-align: center; transition: margin-left linear 0.5s; cursor: pointer;}
/*#artP1 {margin-left: -20%;}*/

	

	

article.prezSite a, article.prezSite a:hover {display: block; margin:0; padding:0; text-decoration: none;}
article.prezSite div.prezSiteContent {position: relative; padding: 2.7em 3.5% 2.7em 3.5%; transition: padding linear 0.5s;}



article.prezSite div.prezSiteContent:hover {background-color: rgba(0,0,0,0.5);}
article.prezSite div.prezSiteContent:hover h2 {background-color: rgba(0,0,0,0);}
article.prezSite h2 {display: inline-block; width: 100%; text-align: center; position: absolute; top:0; left:0; color: #FFFFFF; background-color: #000000; padding: 0.5em 0 0.5em 0; margin:0; border-radius: 0 0 1em 1em;}
article.prezSite p {line-height: 1.3em; color: #FFFFFF; text-shadow: 2px 2px 0 #000000; white-space: normal; }
article.prezSite img {display: block; position: absolute; top: 0; width: 100%;}

div.zoneButtonPrez {display: block; position: relative; text-align: center;}
button.buttonSlide { margin: 2em 10% 2em 10%; font-size: 2em; cursor: pointer; border: none; background-color: #D2B48C; border-radius: 2em; padding: 1em; }
button.buttonSlide:hover { color: #FFFFFF; background-color: #000000;}

/*-----------------------------------*/
button.btdetail { display: block; width: 15%; height: 2em; font-size: 2em; text-align: center; padding: 0; margin: auto 0 auto auto; border-radius: 2em; background-color: #FFFFFF; border: none; box-shadow: 5px 5px 0 #000000; cursor: pointer;}
button.btdetail:hover { background-color: #D2B48C; color: #FFFFFF;}

.champs { position: relative; display: block; width: 100%; margin: 0;}
	
.chtext:focus { border-color: rgb(200,0,150); }


/*Formulaire ajout élément*/
button.bt_new_elmt {
	display: inline-block;
	font-size: 1em;
	min-width: 5%;
	padding: 0.5em 2% 0.5em 2%;
	margin: 0.5em 2.5% 0.5em 2.5%;
	line-height: 1.5em;
	border: 2px solid #000000;
	border-radius: 0.5em;
	cursor: pointer;
	white-space: nowrap;
}

button.bt_new_elmt:hover {
	background-color: #A7A37E;
	color: #FFFFFF;
}

    
article.description {
    
}
        

/*Communication JS*/
#incjs {display: block; position: absolute; min-width: 100%; top: 6em;  padding: 0; z-index: 5; /*background-color: #FFFFFF; border: 1px solid #000000;*/}
#closeincjs {
	position: absolute;
	top: -0.5em;
	right: -0.5em;
	width: 2em;
	
	font-weight: bold; 
	font-size: 1.2em;
	line-height: 1.2em;
	text-align: center;
	color: #FFFFFF;
	
	background-color: #D2B48C;
	border-radius: 1.5em;
	cursor: pointer;
}
#closeincjs:hover {
	color: #000000;	
	background-color: #FF0000;
}
#ResultMessArea {}

article.tierInfo{
	display: block;
	position: relative;
	width: 60%;
	padding: 0;
	margin: 0;
	border: 1px solid #000000;
}
article.popup{ margin: 0 auto 0 auto; border: 5px solid #D2B48C; background-color: #FFFFFF;}
article.popup p.resmes { padding: 0.25em 3.5% 0.25em 3.5%; font-size: 1.1em;}
article.popup img {width: 100%;}

@media screen and (max-width: 1000px)
{
	/*Affichage reduit*/
	body {font-size: 2.5em;}
		
	header h2.tittleGen {font-size: 2.3em; line-height: 0em; letter-spacing: 0.35em; padding: 0.8em 10% 0.8em 10%;}
	section.connexion {background: none;}
	article.content {
		width: 90%;
		padding: 1em 3% 1em 3%;
		margin: 1em auto 1em auto;
		border-radius: 2em;
    }
	article.content h1, article.content h2 {font-size: 1.8em; margin: 0 0 1em 0;}

	
	.champs {
		width: 95%; 
		padding: 0.4em 2.5% 0.4em 2.5%; 
		line-height: 1em; font-size: 1em; 
		border: 4px solid #000000;
		border-radius: 1em;
	}	
	
	h2.tittleSection {
		text-align: center;
		line-height: 1em;
		padding: 0.35em;
	}
	
	article.prezSite {display: inline-block; position: relative; width: 100%; margin: 0; border: none;}
}

@media screen and (min-width: 1001px)
{
	/*Affichage large*/
	section.flex2, div.flex2 {position: relative; display: flex; justify-content: center; flex-wrap: wrap; margin: 0; padding: 1% 0.5% 0 0.5%; /* background-color: #FFFF00;*/}

	
	article.content {
    width: 34%;
    padding: 1.5em 3% 1.5em 3%;
    border-radius: 1.5em;
   }
	
	article.mozaic {position: relative; margin:0 0.5% 1% 0.5%; width: 28.3%; padding: 1.5em 2% 2.5em 2%; border-radius: 0; }
	article.mozaic p, article.mozaic h1, article.mozaic h2 {color: #000000;}
	article.mozaic p {color: #FFFFFF;}
	button.btdetail {position: absolute; bottom: 2%; right: 2%; }
	/*article.mozG {padding: 1.5em 2% 1.5em 2%;}
	article.mozG p, article.mozG h2, article.mozG h1 {text-align: right;}
	article.mozR {margin: 0 0 0 40%; padding: 1.5em 5% 1.5em 3%;}
	article.mozR p, article.mozR h2, article.mozR h1 {text-align: left;}*/

	
	/*article.mozaic:nth-child(2) { margin-top: 35em;}
	article.mozaic:nth-child(3) { margin-top: -9em;}
	article.mozaic:nth-child(4) { margin-top: 15em;}
	article.mozaic:nth-child(5) { margin-top: -10em;}
	article.mozaic:nth-child(6) { margin-top: 19em;}*/
	
	
   header h2.tittleGen {font-size: 3em; }
	.champs {padding: 0.4em 1% 0.4em 1%; line-height: 1em; font-size: 1.25em; border: 2px solid #000000; border-radius: 0.5em;}
	
	article.prezSite {display: inline-block; position: relative; width: 40%; margin: 0 5% 0 5%;}

	
}
