/* =============================================================================
   HTML5 Boilerplate CSS: h5bp.com/css
   ========================================================================== */

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%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

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

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
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, serif; _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; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
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, input[type="search"]::-webkit-search-cancel-button { -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; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }



/* ===== Primary Styles ========================================================
   Author:
   ========================================================================== */











/* =============================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {
	/* Style adjustments for viewports that meet the condition */
}

/* =============================================================================
   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; *line-height: 0; }
.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; }

/* =============================================================================
   Print Styles
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  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: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  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; }
}


/* TABLE DE NEUBER */

body {
	background: #2c2c2c url(../img/background2.jpg) repeat-x fixed left top;
	color: #999;
	font-family: verdana, "helvetica neue", helvetica, arial, sans-serif;
	font-size: 100%;
	width: 960px;
	height: 580px;
	overflow: hidden;
}

li {
  list-style: none;
}

/* MENU DE NAV HAUT */
header {
  position: fixed;
  width: 960px;
  top: 0;
  left: 0;
	z-index: 1000;
}

nav {
	border-bottom: 1px solid #777;
	background-color: black;
	box-shadow: 0 1px 0 #000;
}

nav ul {
	margin-left: 20px;
	list-style: none;
	height: 40px;
}

nav ul li {
	float: left;
}

nav ul li a:link, nav ul li a:visited {
  display: block;
	margin: 0 10px;
	padding: 0 10px;
	height: 40px;
	font-family: georgia, "Times New Roman", times, serif;
	font-size: 12px;
	color: #888;
	line-height: 40px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	text-decoration: none;
}

nav ul li a:hover {
	color: #fff;
}

nav ul li.sel {
	float: left;
	margin: 0 10px;
	padding: 0 10px;
	height: 40px;
	
	font-family: georgia, "Times New Roman", times, serif;
	font-size: 12px;
	color: #ddd;
	line-height: 40px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
}

/* MAIN */
div[role="main"] {
  margin-top: 40px;
	color: #bbb;
	font-family: georgia, "Times New Roman", times, serif;
	font-size: 16px;
	line-height: 22px;
}

/* VUES & MANUSCRIT*/
/*
ul.sexyCycle-content  { list-style: none; margin: 0; padding: 0; width: 99999999; position: absolute }
li.sexyCycle-content  { margin: 0; padding: 0; }
.sexyCycle { position: relative; overflow: hidden; }
.sexyCycle-wrap { position: relative; width: 99999px; }
.sexyCycle-content { width: 99999; position: absolute; overflow: hidden; }

.sexyCycle { height: 500px !important}
*/

#views, #manuscript {
  padding-top: 20px;
}

#views #galerie {
  width: 613px;
  margin:0 auto;
}

#manuscript #galerie {
  width: 331px;
  margin:0 auto;
}

.sexyCycle { height: 460px !important } /* lame */

#galerie {
  padding: 8px;
  background-color: #fff;
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.6);
  -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.6);
  box-shadow: 0 1px 4px rgba(0,0,0,0.6);
  position: relative;
}
	
ul.sexyCycle-content {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 99999999;
	position: absolute;
}

li.sexyCycle-content {
	margin: 0;
	padding: 0;
}

.sexyCycle {
	position: relative;
	overflow: hidden;
}

.sexyCycle-wrap {
	position: relative;
	width: 99999px;
}

.sexyCycle-content {
	width: 99999;
	position: absolute;
	overflow: hidden;
}

#galerie img {}
	
.prev {
	position: absolute;
	left: -54px;
	top: 148px;
	display: block;
	width: 40px;
	height: 40px;
	font-size: 32px;
	line-height: 36px;
	text-align: center;
	color: #333;
	color: #fff;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	background-color: #24261b;
	-webkit-transition-property: background-color, color;
	-webkit-transition-duration: 200ms;
	-webkit-transition-timing-function: linear;
}

.next {
	position: absolute;
	right: -54px;
	top: 148px;
	display: block;
	width: 40px;
	height: 40px;
	font-size: 32px;
	line-height: 36px;
	text-align: center;
	color: #fff;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	background-color: #24261b;
	-webkit-transition-property: background-color, color;
	-webkit-transition-duration: 200ms;
	-webkit-transition-timing-function: linear;
}

a.prev:hover, a.next:hover {
	color: #000;
	background-color: #c1c2bd;
	cursor: pointer;
}

a.prev:active, a.next:active {
	color: #000;
	background-color: #fff;
}

a.prev::-moz-selection, a.next::-moz-selection {background: transparent; color: #fff; text-shadow: none;}
a.prev::selection, a.next::selection {background: transparent; color: #fff; text-shadow: none;}

/* = = = = = = = = = HISTORIQUE = = = = = = = = = */

#history {
  overflow-y: scroll;
  height: 540px;
}

.text-left {
	margin: 80px 100px 0 110px;
	width: 370px;
	float: left;
	
/*	background-color: #444;*/
}

.text-right {
	margin: 0 0 0 80px;
	width: 370px;
	float: left;
/*	background-color: #444;*/
}

.start {
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 12px;
	-webkit-font-smoothing: subpixel-antialiased;
	color: #eee;
}

#imageOne {
	float: left;
	margin: 60px 0 0 0;
	width: 320px;
/*	background-color: lightyellow;*/
}


#imageOne.fr {
	margin-top:99px;
}

#imageOne img, #imageTwo img {
	box-shadow: 0 1px 20px rgba(0,0,0,0.37);
	margin-bottom: 18px;
	margin-left: 40px;
}

#imageThree img {
	box-shadow: 0 1px 20px rgba(0,0,0,0.37);
	margin-bottom: 18px;
	margin-left: 10px;
}

p.legend {
	font-size: 12px;
	font-style: italic;
	color: #999;
	text-align: center;
}

#imageTwo {
	float: left;
	margin: 238px 0 0 120px;
	width: 320px;
/*	background-color: lightyellow;*/
}

#imageThree {
	float: left;
	margin: 120px 0 0 24px;
/*	background-color: lightyellow;*/
}

#imageThree p.legend {
	margin-left: -40px;
	width: 340px;
}

#imageFour {
	float: left;
	margin: 70px 0 0 0;
/*  width: 370px;*/
}

#imageFour p.legend {
	margin-top: 14px;
	margin-left: -16px;
  width: 340px;
}

p + p {
	text-indent: 2em;
	margin-top: 21px;
}

footer {
	font-size:14px;
	margin: 63px 0 80px 110px;
	width: 600px;
}

footer a:link, footer a:visited {
	display: block;
	height: 32px;
	line-height: 32px;
	width: 280px;
	text-align: center;
	margin: 20px 0 0 0;
	padding: 0 10px;
	background-color: #444;
	color: #aaa;
	font-size: 11px;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	border: 1px solid #666;
	
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

footer a:hover {
	color: #fff;
	background-color: #000;
	border: 1px solid #444;
}

/* MINERAUX */
#minerals {
  color: #444;
  overflow-y: scroll;
  height: 540px;
}

/* IE7 fix */
.lt-ie8 #minerals table {
  margin-top: 50px !important;
}

#minerals table {
  margin: 10px;
}

thead {
  background: url(../img/mineraux_fond_header.png);
}

tbody tr.even {
  background: url(../img/mineraux_fond_clair.png);
}

tbody tr.odd {
  background: url(../img/mineraux_fond_sombre.png);;
}

#minerals tbody td {
  cursor: pointer;
}

tr {
  border-top: 1px solid #EEE;
}

th {
  text-shadow: 0 1px 0 #BBB; 
  font-weight: normal; 
  font-size: 12px; 
  color: #222; 
  letter-spacing: 0.1em;
}

td {
  font-size: 14px;
}

th, td {
  text-align: left;
  padding: 10px;
}

#minerals #stones {
  display: none;
  position: fixed;
  z-index: 20;
  left: 50px;
  top: 80px;
  background: white;
  height: 420px;
  width: 820px;
  padding: 20px;
  font-size: 14px;
  color: 99px;
}

.mineral-title {
  text-align: center;
  margin-bottom: 20px;
}

.mineral-image {
  float: left;
  width: 185px;
  text-align: right;
  margin-right: 10px;
  margin-bottom: 10px;
}

.mineral-image span {
  margin-right: 10px;
}

#stones img{
  border: 1px solid #EEE;
  padding: 5px;
}

#minerals #close {
	display; block;
	position: absolute;
	top: 8px;
	right: 8px;
	width: 24px;
	height: 24px;
	background: transparent url(../img/close.png) no-repeat top left;
	text-indent: -9999em;
}

#minerals #modal-background {
  display: none;
  opacity: 0.8;
  filter: alpha(opacity=80);
  z-index: 10;
  position: fixed;
  height: 540px;
  width: 960px;
  top: 40px;
  background: black;
}

/* MINES */
#mines {
  text-align: center;
}

#mines #table-wrapper {
  display: none;
  position: fixed;
  top: 40px;
  left: 0;
  width: 400px;
  color: #333;
  height: 540px;
  overflow-y: scroll;
  -moz-box-shadow:    0px 0px 10px 0px #333;
  -webkit-box-shadow: 0px 0px 10px 0px #333;
  box-shadow:         0px 0px 10px 0px #333;
}

#mines #open, #mines #close {
  position: fixed;
  top: 240px;
  width: 68px;
  height: 111px;
  display: block;
  color: #BBB;
}

#mines #open {
  background: url(../img/carte_btn_liste.png) no-repeat;
  padding-top: 50px;
  left: 10px;
}

#mines #close {
  background: url(../img/carte_btn_fermer.png) no-repeat; 
  left: 410px;
  display: none;
  text-indent: -9999em;
}

#open, #close {
  cursor: pointer; /* no cursor pointer if not set */
}

/* TABLETOP */
#tabletop {
  overflow: hidden;
  height: 540px;
}

ul#plateau {
	position: fixed;
	display: block;
	padding: 0;
	margin: 0;
	top: 42px;
	left: 107px;
	z-index: 1000;
	width: 129px;
	height: 71px;
	background-color: black;
	background-color: rgba(0,0,0,0.5);
}

ul#plateau li {
	float: left;
	margin: 0;
	padding: 0;
	width: 63px;
	height: 34px;
	text-indent: -9999em;
}

ul#plateau li#NE a {
	display: block;
	width: 63px;
	height: 34px;
	margin: 0 0 0 3px;
	background: transparent url(../img/plateau_NE.png) no-repeat left bottom;	
}

ul#plateau li#NE a:hover {
	background: transparent url(../img/plateau_NE_sel.png) no-repeat left bottom;
}

ul#plateau li#NE a.sel {
	background: transparent url(../img/plateau_NE_sel.png) no-repeat left bottom;
}

ul#plateau li#SE a {
	display: block;
	width: 63px;
	height: 34px;
	margin: 3px 0 0 3px;
	background: transparent url(../img/plateau_SE.png) no-repeat left top;
}

ul#plateau li#SE a:hover {
	background: transparent url(../img/plateau_SE_sel.png) no-repeat left top;
}

ul#plateau li#SE a.sel {
	background: transparent url(../img/plateau_SE_sel.png) no-repeat left top;
}

ul#plateau li#SW a {
	display: block;
	width: 63px;
	height: 34px;
	margin: 3px 0 0 0;
	background: transparent url(../img/plateau_SW.png) no-repeat right top;
}

ul#plateau li#SW a:hover {
	background: transparent url(../img/plateau_SW_sel.png) no-repeat right top;
}

ul#plateau li#SW a.sel {
	background: transparent url(../img/plateau_SW_sel.png) no-repeat right top;
}

ul#plateau li#NW a {
	display: block;
	width: 63px;
	height: 34px;
	background: transparent url(../img/plateau_NW.png) no-repeat right bottom;
}

ul#plateau li#NW a:hover {
	background: transparent url(../img/plateau_NW_sel.png) no-repeat right bottom;
}

ul#plateau li#NW a.sel {
	background: transparent url(../img/plateau_NW_sel.png) no-repeat right bottom;
}

.card {
	position: fixed;
	top: 50px;
	left: 510px;
	width: 440px;
	background-color: #fff;
	z-index: 2000;
	
}

.card a {
	display; block;
	position: absolute;
	top: 8px;
	right: 8px;
	width: 24px;
	height: 24px;
	background: transparent url(../img/close.png) no-repeat top left;
	text-indent: -9999em;
}

.card a:hover {
	background-position: top right;
}

.card img.stone {
  margin: 20px 0 0 155px;
}

.card img.medaillon {
  margin: 20px 0 20px 100px;
}

.card img.manuscript {
	margin: 0 0 0 20px;
}

.card p {
	font-size: 0.875em;  /* 14px @ 16px */
	color: #999;
	width: 380px;
	margin: 0 auto 20px;
	text-align: center;
}

.card img.map {
	margin: 0 0 12px 19px;
}
