/* HTML5 ✰ Boilerplate
 * ==|== normalize ==========================================================
 */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: 13px; line-height: 1.231; }
body, button, input, select, textarea { font-family: sans-serif; color: #222; }

::-moz-selection { background: #EE3F3E; color: #fff; text-shadow: none; }
::selection { background: #EE3F3E; color: #fff; text-shadow: none; }

a { color: #00e; }
a:hover { color: white; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ==|== font import @font-face ===================================================== */





/* ==|== primary styles =====================================================
   Author: Nicolas Fiset / Amiral Agence Web
   ========================================================================== */

body, html {
	overflow: hidden;
	height: 1080px;
	width: 1920px;
}

* {
/* 	 cursor: none !important; */
}

body.debug, body.debug *, iframe * {
	cursor: default !important;
}

body {
	padding: 0; font-size: 16px; font-family: Helvetica;
	position: relative;
	
}

h1 {margin:0 0 15px 0; font-weight: normal;}


#borne_accueil {
	width: 1920px;
	position: absolute;
	top: 0;
	left: 0;
	height: 1080px;
}

#etablissements_content {
	width: 1920px;
	position: absolute;
	top: 0;
	left: 1920px;
}


#carousel {position:absolute; z-index:0; height: 1080px; width: 1920px;}
#carousel ul {list-style:none; margin:0; padding: 0;}
#carousel ul li {width: 1920px; height: 1080px; position: absolute; top: 0; left: 0; display: none;}
#carousel ul li img {}

#carousel li.on {
	display: block;
}


header {background: url(/img/layout/black80.png) repeat; position: absolute; padding:15px; z-index:10; width: 1890px;}
header #logo {float: left;}
.fiche header #logo {margin-left: 720px;}
header #message {position:absolute; left:500px; top:0; width: 900px; text-align:center; background-color: #000; z-index: 10; font-size: 30px; text-transform:uppercase; font-weight:bold; padding: 25px 0; color: #cc0000;}
header #section {float:right; color: #fff; text-transform: uppercase; font-size: 20px; padding-top: 12px;}

header a {text-decoration: none; color: #fff;}
a.return {
	display: block;
	background: url(/img/layout/fleche-retour.png) no-repeat left center; padding-left:30px;
	position: absolute;
	top: 0;
	right: 20px;
	height: 80px;
	z-index: 200;
	text-decoration: none;
	color: #fff;
	line-height: 80px;
	font-size: 20px;
	text-transform: uppercase;
}

#container {}
#container nav.etablissements {background: url(/img/layout/black75.png) repeat; padding: 15px 0;position:absolute; bottom:0; width: 1920px;}
#container nav.etablissements ul {}
#container nav.etablissements ul li {position: relative; float:left; margin: 0 15px; cursor: pointer;}

#container nav.etablissements ul li .inner { height: 206px; vertical-align:middle; display:table-cell;}
#container nav.etablissements ul li .inner > .nom {
	/*position:absolute;*/ background: url(/img/layout/black75.png) repeat; width: 210px;
	color: #fff; text-align:center;  padding: 4px 0;
	position:relative; z-index: 10;}
#container nav.etablissements ul li .nom {text-transform: uppercase; font-size: 18px;}
#container nav.etablissements ul li .desc {border: 2px solid white; position: absolute; top:0; left:0; width: 186px; height: 186px; padding: 10px; background-color: #cc0000; z-index: 50; color: #fff;}
#container nav.etablissements ul li .desc .nom {padding: 15px 0 20px 0;}
#container nav.etablissements ul li .desc .intro {text-transform: uppercase; font-size: 12px;}
#container nav.etablissements ul li .desc a.plus {text-decoration: none; color: #fff; text-align: center; position: absolute; bottom: 10px; right: 10px; width: 185px; font-size: 11px;}
#container nav.etablissements ul li img {position:absolute; z-index: 0; top:0; border: 2px solid white;}




/* entire container, keeps perspective */
.flip-container {
	-webkit-perspective: 1000;
	position: relative;
}
	/* flip the pane when hovered */
	.flip-container.hover .flipper {
		-webkit-transform: rotateY(180deg);
	}

nav.etablissements .flip-container, nav.etablissements  .front, nav.etablissements  .back {
	width: 206px;
	height: 206px;
}

nav.pages .flip-container, nav.pages .front, nav.pages .back {
	width: 182px;
	height: 182px;
}

nav.pages .front, nav.pages .back {
	border: 2px solid white;
	overflow: hidden;
}

nav.pages .back {
	position: absolute;
	top: 0;
	left: -8px;
	display: table !important;
	background: #990000;
}

nav.pages .back .desc {
	display: table-cell;
	vertical-align: middle;
}

nav.pages .back .desc .nom {
	font-size: 16px;
	text-transform: uppercase;
}

/* flip speed goes here */
.flipper {
	-webkit-transition: 0.6s;
	-webkit-transform-style: preserve-3d;

	position: relative;
}

/* hide back of pane during swap */
.front, .back {
	-webkit-backface-visibility: hidden;

	position: relative;
	top: 0;
	left: 0;
}

/* front pane, placed above back */
.front {
	z-index: 2;
}

/* back, initially hidden pane */
.back {
	-webkit-transform: rotateY(180deg);
}


#container #general {background: #cc0000; width: 630px; height: 890px; position: relative; z-index:0; padding: 157px 35px 35px 35px; float:left; color: #fff; z-index: 999; overflow: hidden;}
#container #general h1 {font-size: 30px; color: #fff; text-transform:uppercase;}
#container #general p {text-align:justify;}
#container #general a {color: #fff;}
#container .nav_container {position: absolute; bottom: 25px; left: 40px; overflow: hidden; width: 600px; height: 415px;}
#container nav.pages {position:relative; width: 9999px; z-index: 999;}
#container nav.pages ul { width: 680px; float: left; margin: 10px 0;}
#container nav.pages ul li {position: relative; float:left; margin: 0 20px 20px 0; cursor: pointer;}
#container nav.pages ul li a {text-decoration: none; color: #fff; text-transform: uppercase;}
#container nav.pages ul li .inner {height: 185px; vertical-align:middle; display:table-cell;}
#container nav.pages ul li .nom {
  background: url(/img/layout/red75.png) repeat; width: 186px;
  color: #fff; text-align:center;  padding: 4px 0;
  position:relative; z-index: 10;}
  #container nav.pages ul li.photo .nom {/*width: 189px;*/}
#container nav.pages ul li .inner > img, #container nav.pages ul li .inner > .mosaic {position:absolute; z-index: 0; top:0;}
#container nav.pages ul li .inner .mosaic img {float:left;}
#container nav.pages ul li .inner .mosaic { width: 200px;}
#container nav.pages ul li.photo {border:0; }
#container nav.pages ul li.photo .front {
	 background: #990000;
}
#container nav.pages ul li.photo .inner {/*width: 190px; height: 190px;*/}
#container #general #adresse {}
#container #general #adresse .qr {float:left; margin: 14px 0;}
#container #general #adresse .coord {float:left; padding:10px;}
#container #general #adresse .coord a {text-decoration:none;}

#container #content {padding: 155px 35px 35px 35px; float:left; width: 1150px; height: 890px; overflow: scroll; position: relative; }

#container #content::-webkit-scrollbar { display: none !important; }

#container #content .titre {position:relative; height: 55px;}
#container #content .titre h1 {position:absolute; bottom:0;}
#container #content h1 {font-size: 38px; color: #cc0000; text-transform: uppercase; font-weight: normal;}
#container #content h2 {font-size: 25px; color: #cc0000; text-transform: uppercase; font-weight: normal; margin-top:0; margin-bottom: 5px;}
#container #content .col-2tier, #container #content .col-tier, #container #content .col-demi, #container #content .col-full {float:left; margin-bottom: 50px;}
#container #content .col-2tier {width: 706px;}
#container #content .col-tier {width: 383px;}
#container #content .col-demi {width: 525px; margin-right: 50px;}
#container #content .col-full {width: 1150px;}
#container #content .split {-webkit-column-count:2; -webkit-column-gap:50px;}
#container #content .split p {margin-top:0; text-align:justify;}
#container #content .split * {break-after: none; -moz-column-break-after: none; -webkit-column-break-after: none;}
#container #content .split hr {break-after: always; -moz-column-break-after: always; -webkit-column-break-after: always; background-color: transparent; border:none;}


#container #content .intro {font-style: italic; text-align:justify;}

#container #content .article {
	position: absolute;
	top: 155px;
	left: 35px;
}


#container #content .article.photos {
	top: 0;
	left: 0;
	padding-left: 5px;
	width: 999999px;
	background: #212121;
	height: 1080px;
}

#container #content .article.photos div {
	float: left;
	height: 1080px;
}

#container #content .article.photos img {
	margin: 0 5px;
}

#swipe {
	position: absolute;
	top: 0;
	left: 500px;
}

#swipe img {
	background: #212121;
}

li.next, li.prev {
	height: 182px;
}

iframe {border:none;}

/* ==|== non-semantic helper classes ======================================== */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


/* ==|== media queries ====================================================== */

@media only screen and (min-width: 480px) {

}

@media only screen and (min-width: 768px) {

}



/* ==|== print styles ======================================================= */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } 
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } 
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
