@charset "UTF-8";
/* CSS Document */

body{
	position: static;
	width:100vw;
	height:100vh;
	margin:0 0 0 0;
	padding:0 0 0 0;
	overflow:auto;
	background:#FFF;
	color:#000;
	font-family: "Union", helvetica;
	}

@font-face {
    font-family: "Union";
    src: url('http://www.evibourgogne.fr/ressources/font/Union.Bold.otf') format('truetype');
	font-style: bold;
	font-weight:bold;
	}

@font-face {
    font-family: "Union";
    src: url('http://www.evibourgogne.fr/ressources/font/Union.Regular.otf') format('truetype');
	font-weight: normal;
	font-style: normal;
	}

@font-face {
	font-family: "Union";
    src: url('ressources/font/Union.Regular_Italic.otf') format('truetype');
	font-style: italic;
	font-weight: italic;
	}

a{
	text-decoration:none;
	color:inherit;
	}

.enfant{
	margin:auto;
	}

#footer{
	position:fixed;
	top:calc(100% - 10vh);
	width:100%;
	text-align:center;
	z-index:98;
	font-size:8vh;
	}
	
.carteFond{
	width:241px;
	height:153px;
	z-index:1;
	background:#FFF;
	position:fixed;
	border:#000;
	border-style:solid;
	border-width:0px;
	box-shadow: 0px 1px 1px 1px rgba(0,0,0,0.3);
	}
	
#image-holder{
	top:-5vh;
	left:-5vw;
	z-index:-15;
	min-width:110vw;
	min-height:110vh;
	width:110%;
	height:110%;	
	position:fixed;
	}
	
#carteVisite{
	z-index:0;
	height:250px;	
	width:394px;
	white-space:pre-line;
	overflow:scroll;
    position: fixed;
	top:100px;
	left:0px;
	padding:10px 10px 10px 10px;
	background:#FFF;
	}
	
#txtVisite{
	position:absolute;
	height:auto;
	margin:0px 0px 0px 0px;
	padding:0px 0px 0px 0px;
	top:80px;
	left:140px;
	font-size:18px;
	line-height:12px;
	}	

.cvisite{
	z-index:100;
	position:fixed;
	font-size:8vh;
	margin:0px 0px 0px 0px;
	padding:0px 0px 0px 0px;
	}
	
.conteneurText{
	z-index:0;
	background:#FFF;
	margin:0 0 0 0;
	padding:2vh 2vw 2vh 2vw;
	overflow:scroll;	
	border:#000;
	border-style:solid;
	border-width:3px;
}
	
.texteCase{
	margin:auto;
	width:100%;
	height:100%;
	font-size:5vh;	
	background:#FFF;
	overflow:scroll;	
	column-rule:rgba(137,137,137,1.00);	
	}

.premierPar{
	text-indent:initial; margin-top:6em;
	}

.texteCase p{
	margin-bottom:0.66em;
	text-indent:1em;
	}
	
.texteCase li{
	text-indent:1em;
	}
	
.citationText{
	margin-top:1.5em;
	font-weight:bold;
	font-size:1.5em;
	}

.texteCase a{
	text-decoration:underline;
	}
	
.titreText{
	position:absolute;
	font-weight:bold;
	background:#FFFFFF;
	width:95.6%;
	height:1.4em;
	/*text-indent:1em;*/
	font-size:1.2em;
	margin-top:-1px;
	padding-top:0;
	/*border-top: 1px solid #ffffff;*/
	z-index: 10;
	}
	
sup{ 
	vertical-align:text-top;
	font-size:50%;	
}

.noteBasDePage{
	font-size:0.8em;
	/*width:50%;
	min-width:350px;*/
	}
	
p{
	margin-top:0;
	padding-top:0;
	}
	
#ecranBlanc{
	opacity:1;
	z-index:0;
	width:100%;
	height:100%;
	background:rgba(255,255,255,1.00);
	transition-property:opacity;
	transition-duration:1.5s;
	}
	
#laCouleurEcran{
	width:100%;
	height:100%;
	background:#FFFFFF;
	transition-property:background;
	transition-duration:5s;	
	}
	

::selection{
	background:#FF0004;
	color:#FFFFFF;
	}
	
::-moz-selection {
	background:#FF0004;
	color:#FFFFFF;
	}

#conteneurMenu{
	position:fixed;
	top:100%;
	left:0px;
	z-index:99;
	width:calc(100% - 6px);
	height:calc(100% - 6px);
	display:flex;
	background:white;
	border:#000;
	border-style:solid;
	border-width:3px;
	transition-property:top;
	transition-duration:0.2s;
	}

#menu{
	
	cursor:pointer;
	z-index:99;
	margin:auto;
	font-size:8vh;
	}
	




/*********************/
	
.conteneurText{
	position:fixed;
	width:calc(88% - 33px);
	height:calc(76% - 33px);
	}
	
#presentation, #demarcheQualite, #prestation, #contact{
	/*display:none;*/
	z-index:1;
	transition-property:top, left;
	transition-duration:0.5s;
	}
	
		
#presentation{
	/*top:10%;*/
	top:-100%;
	left:4%;
	}
	
#demarcheQualite{
	top:calc(10% + 10px);
	/*left:calc(4% + 10px);*/
	left:100%;
	}
	
#prestation{
	/*top:calc(10% + 20px);*/
	top:100%;
	left:calc(4% + 20px);
	}
	
#contact{
	top:calc(10% + 30px);
	/*left:calc(4% + 30px);*/
	left:-100%;
	}
	
#mathieubernardis{
		text-indent:none; bottom:-3em; position:absolute; font-size:0.5em;
		}

#contFlecheGauche, #contFlecheDroite{
	width:auto;
	height:100%;
	z-index:98;
	font-size:8vh;
	position:fixed;
	display:flex;
	}
	
#contFlecheGauche{left:0;
cursor: url(images/fleche-gauche.gif) 0 0, w-resize;}
	
#contFlecheDroite{right:0;
cursor: url(images/fleche-droite.svg) 0 0, e-resize;}
	
#flecheBas, #flecheHaut{display:none;}

#flecheGauche, #flecheDroit{display:block;}

.vignette{width:10%;}	
	
.conteneurPhoto{
	width:60%;
	height:auto;
	display:flex;
	margin-top:2em;
	margin-bottom:1em;
	}

#emptyTxt{
	display:none;
	}
	
#imgGalerie{
	margin:auto; 
	height:auto; 
	max-height:100%; 
	max-width:50%; 	
	z-index:1;
	}

#txtGalerie{
	display:block; 
	text-align:center; 
	z-index:20;
	}	
#galerie{
	display:flex; 
	height:50%; 
	width:100%; 
	z-index:1; 
	margin-top:2em;
	margin-bottom:0;
	filter: grayscale(100%);
	}
#galerie:hover{
	filter: grayscale(0%);
	}
	
@media only screen and (orientation : landscape) {
	#cv01{position:fixed; left:10px; top:0px}
	#cv02{position:fixed; right:10px; top:0px}
	#cv03{position:fixed; left:10px; top:calc(100% - 10vh)}
	#cv04{position:fixed; right:10px; top:calc(100% - 10vh)}

	#laFlecheContenant{ 
	display:none;
	}
}


	
/*portrait*/
@media only screen and (orientation : portrait) {
	/******
	#contenantEvi{
	pointer-events: none;
	position:fixed;
	width:100vh;
	height:100vw;
	/*max-width:1600px;
	max-height:1600px;*/
	/*
	transform: rotate(-90deg);
    transform-origin: left top;
    top: 100%;
    left:0;	
	}
	
	#cv01{position:fixed; left:4px; top:0px}
	#cv02{position:fixed; right:4px; top:0px}
	#cv03{position:fixed; left:4px; bottom:4px}
	#cv04{position:fixed; right:4px; bottom:4px}
	
	.conteneurText{width:66vw; height:79vh; font-size:4vh;}
	
	.texteCase{font-size:20px;}
	
	#mathieubernardis{
		text-indent:0; bottom:-3em; position:absolute; font-size:15px;
		}
	
	#presentation{top:3vh; left:14vw;}
	#demarcheQualite{top:5vh; left:15vw;}
	#prestation{top:7vh; left:16vw;}
	#contact{top:9vh; left:17vw;}
	
	#footer{bottom:0px;font-size:8vh;}
	
	#flecheBas, #flecheHaut{display:block;}
	
	#flecheGauche, #flecheDroit{display:none;}
		
	.vignette{width:20%;}
	
	#contFlecheGauche{cursor:n-resize;left:4px;}
	
	#contFlecheDroite{cursor:s-resize;right:4px;}
	
	.carteFond{width:241px;height:153px;position:fixed;}
	*****/
	
	
	#contenantEvi{
	pointer-events: none;
	position:fixed;
	width:100vh;
	height:100vw;
	transform: rotate(-90deg);
    transform-origin: left top;
    top: 100%;
    left:0;	
	display:block;
	z-index:100;
	}
	
	#cv01,#cv02,#cv03,#cv04{z-index:100;display:block;}
	
	/*
	#cv01{position:fixed; left:10px; top:0px}
	#cv02{position:fixed; right:10px; top:0px}
	#cv03{position:fixed; left:10px; top:calc(100% - 10vh)}
	#cv04{position:fixed; right:10px; top:calc(100% - 10vh)}
	*/
	
	#cv01{position:fixed; left:4px; top:-1.3vh}
	#cv02{position:fixed; right:4px; top:-1.3vh}
	#cv03{position:fixed; left:10px; bottom:4px}
	#cv04{position:fixed; right:10px; bottom:4px}
	
	#emptyTxt{
		position:fixed;
		width:100vh;
		height:100vw;
		font-size:5vh;
		display:flex;
		z-index:1;
		text-align:center;
		background:#FFF;
		
		transform: rotate(-90deg);
    	transform-origin: left top;
    	top: 100%;
    	left:0;	
		}
		
	#contFlecheDroite, #contFlecheGauche, #footer, .conteneurText, #menu, .conteneurText, #presentation, #demarcheQualite, #prestation, #contact{display:none; z-index:-100;}
	
	
	#laFlecheContenant{
		width:100vw;
		height:100vh;
		position:fixed; 
		display:flex;
		top:0;
		left:0;
		z-index:100;  
		z-index:1; 
		background:hsla(0,0%,100%,0.5)}
	}
	
@media only screen and (orientation : portrait) and (max-aspect-ratio: 12/16)  {
	#contenantEvi{
	pointer-events: none;
	position:fixed;
	width:100vh;
	height:100vw;
	transform: rotate(-90deg);
    transform-origin: left top;
    top: 100%;
    left:0;	
	display:block;
	z-index:100;
	}
	
	#cv01,#cv02,#cv03,#cv04{z-index:100;display:block;}
	
	/*#cv01{position:fixed; left:4px; top:0px}
	#cv02{position:fixed; right:4px; top:0px}
	#cv03{position:fixed; left:4px; bottom:4px}
	#cv04{position:fixed; right:4px; bottom:4px}*/
	
	#emptyTxt{
		position:fixed;
		width:100vh;
		height:100vw;
		font-size:5vh;
		display:flex;
		z-index:99;
		text-align:center;
		background:#FFF;
		
		transform: rotate(-90deg);
    	transform-origin: left top;
    	top: 100%;
    	left:0;	
		}
		
	#contFlecheDroite, #contFlecheGauche, #footer, .conteneurText, #menu, .conteneurText{display:none}
	
	}

	
@media only screen and (min-height : 1px) and (max-height : 300px){
	.conteneurText, #conteneurMenu{
		border-width:1.5px;
		}
	#conteneurMenu{
		width:calc(100% - 3px);
		height:calc(100% - 3px);
		}
	}
	
@media only screen and (min-height : 300px) and (max-height : 500px){
	.conteneurText, #conteneurMenu{
		border-width:2px;
		}
	#conteneurMenu{
		width:calc(100% - 4px);
		height:calc(100% - 4px);
		}
	}
	
@media only screen and (min-height : 500px) and (max-height : 600px){
	.conteneurText, #conteneurMenu{
		border-width:2.5px;
		}
	#conteneurMenu{
		width:calc(100% - 5px);
		height:calc(100% - 5px);
		}
	}
	



	
@media only screen and (orientation : portrait) and (max-height : 300px)  {
	#contenantEvi{
		pointer-events: none;
		position:fixed;
		width:100vh;
		height:100vw;
		transform: rotate(-90deg);
		transform-origin: left top;
		top: 100%;
		left:0;	
		display:block;
		z-index:100;
		}
	
	#cv01,#cv02,#cv03,#cv04{z-index:100;display:block;}
	
	#cv01{position:fixed; left:4px; top:0px}
	#cv02{position:fixed; right:4px; top:0px}
	#cv03{position:fixed; left:4px; bottom:4px}
	#cv04{position:fixed; right:4px; bottom:4px}
	
	#emptyTxt{
		position:fixed;
		width:100vh;
		height:100vw;
		font-size:5vh;
		display:flex;
		z-index:5;
		text-align:center;
		background:#FFF;
		
		transform: rotate(-90deg);
    	transform-origin: left top;
    	top: 100%;
    	left:0;	
		}
		
	#contFlecheDroite, #contFlecheGauche, #footer, .conteneurText, #menu {display:none}
	
	}
