/* font-face */

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

/* reset.min.css */

html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit}input,textarea,select{*font-size:100%}legend{color:#000}

/* loading */

#fountainG{position:relative;width:234px;height:28px;margin:auto}.fountainG{position:absolute;top:0;background-color:#fff;width:28px;height:28px;animation-name:bounce_fountainG;-o-animation-name:bounce_fountainG;-ms-animation-name:bounce_fountainG;-webkit-animation-name:bounce_fountainG;-moz-animation-name:bounce_fountainG;animation-duration:1.5s;-o-animation-duration:1.5s;-ms-animation-duration:1.5s;-webkit-animation-duration:1.5s;-moz-animation-duration:1.5s;animation-iteration-count:infinite;-o-animation-iteration-count:infinite;-ms-animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;-moz-animation-iteration-count:infinite;animation-direction:normal;-o-animation-direction:normal;-ms-animation-direction:normal;-webkit-animation-direction:normal;-moz-animation-direction:normal;transform:scale(.3);-o-transform:scale(.3);-ms-transform:scale(.3);-webkit-transform:scale(.3);-moz-transform:scale(.3);border-radius:19px;-o-border-radius:19px;-ms-border-radius:19px;-webkit-border-radius:19px;-moz-border-radius:19px}#fountainG_1{left:0;animation-delay:.6s;-o-animation-delay:.6s;-ms-animation-delay:.6s;-webkit-animation-delay:.6s;-moz-animation-delay:.6s}#fountainG_2{left:29px;animation-delay:.75s;-o-animation-delay:.75s;-ms-animation-delay:.75s;-webkit-animation-delay:.75s;-moz-animation-delay:.75s}#fountainG_3{left:58px;animation-delay:.9s;-o-animation-delay:.9s;-ms-animation-delay:.9s;-webkit-animation-delay:.9s;-moz-animation-delay:.9s}#fountainG_4{left:88px;animation-delay:1.05s;-o-animation-delay:1.05s;-ms-animation-delay:1.05s;-webkit-animation-delay:1.05s;-moz-animation-delay:1.05s}#fountainG_5{left:117px;animation-delay:1.2s;-o-animation-delay:1.2s;-ms-animation-delay:1.2s;-webkit-animation-delay:1.2s;-moz-animation-delay:1.2s}#fountainG_6{left:146px;animation-delay:1.35s;-o-animation-delay:1.35s;-ms-animation-delay:1.35s;-webkit-animation-delay:1.35s;-moz-animation-delay:1.35s}#fountainG_7{left:175px;animation-delay:1.5s;-o-animation-delay:1.5s;-ms-animation-delay:1.5s;-webkit-animation-delay:1.5s;-moz-animation-delay:1.5s}#fountainG_8{left:205px;animation-delay:1.64s;-o-animation-delay:1.64s;-ms-animation-delay:1.64s;-webkit-animation-delay:1.64s;-moz-animation-delay:1.64s}@keyframes bounce_fountainG{0%{transform:scale(1);background-color:#fff}100%{transform:scale(.3);background-color:#fff}}@-o-keyframes bounce_fountainG{0%{-o-transform:scale(1);background-color:#fff}100%{-o-transform:scale(.3);background-color:#fff}}@-ms-keyframes bounce_fountainG{0%,100%{background-color:#fff}0%{-ms-transform:scale(1)}100%{-ms-transform:scale(.3)}}@-webkit-keyframes bounce_fountainG{0%{-webkit-transform:scale(1);background-color:#fff}100%{-webkit-transform:scale(.3);background-color:#fff}}@-moz-keyframes bounce_fountainG{0%{-moz-transform:scale(1);background-color:#fff}100%{-moz-transform:scale(.3);background-color:#fff}}

/* escape game */

html, body {
	background-color: #222222;
	font-family: 'Windlass';
	letter-spacing: 1.5px;
	min-height: 100%;
	height: 100%;
}

div#page {
	box-sizing: border-box;
	background: #FFFFFF;
	position: relative;
	min-height: 947px;
	width: 640px;
	height: 100%;
	margin: auto;
}

div#content {
	background-repeat: no-repeat;
	box-sizing: border-box;
	min-height: 100%;
	height: auto;
	width: 100%;
}

input[type="text"] {
	background: rgba(255, 255, 255, 0.9);
	border: 3px solid transparent;
	text-transform: uppercase;
	box-sizing: border-box;
	letter-spacing: 1.5px;
	text-align: center;
	line-height: 48px;
	padding: 0 10px;
	font-size: 22px;
	display: block;
	height: 48px;
	margin: auto;
	width: 50%;
}

input[type="text"]:focus {
	border-color: #977f39;
}

input[type="text"].error {
	border-color: red;
}

div.button {
	background: rgba(13, 12, 11, 0.9);
	border: 3px solid #977f39;
	box-sizing: border-box;
	text-align: center;
	font-size: 22px;
	display: block;
	color: #977f39;
	padding: 10px;
	margin: auto;
	width: 50%;
}

div.button:hover {
	background: #977f39;
	cursor: pointer;
	color: #FFFFFF;
}

div.button.disabled {
	cursor: not-allowed;
	border-color: #505050;
	color: #505050;
}

div.button.disabled:hover {
	background: rgba(13, 12, 11, 0.9);
	border-color: #505050;
	color: #505050;
}

div.button#retour {
	position: absolute;
	padding: 5px 20px;
	font-size: 12px;
	right: 44px;
	width: auto;
	top: 256px;
}

div.menubutton {
	position: relative;
	margin: 50px auto;
}
div.menubutton:first-child {  margin-top: 0; }
div.menubutton:last-child {  margin-bottom: 0; }

div.card {
	background-repeat: no-repeat;
	background-position: center;
	background-size: 25% auto;
	box-sizing: border-box;
	height: 300px;
}

div#chrono {
	padding: 0 0 25px 0;
	text-align: center;
	font-size: 50px;
	color: #A3853F;
}

div#title {
	text-align: center;
	padding: 25px 0;
	font-size: 30px;
	color: #A3853F;
}

span.score-1 {
	background-image: url('../images/picto-ok.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% auto;
	display: inline-block;
	position: absolute;
	height: 32px;
	width: 32px;
	right: 15px;
	top: 8px;
}

span.score-0 {
	background-image: url('../images/picto-ko.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% auto;
	display: inline-block;
	position: absolute;
	height: 32px;
	width: 32px;
	right: 15px;
	top: 10px;
}

span.picto-ok {
	background-image: url('../images/picto-ok.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% auto;
	display: inline-block;
	position: absolute;
	height: 16px;
	width: 16px;
	right: 15px;
	top: 7px;
}

span.picto-ko {
	background-image: url('../images/picto-ko.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% auto;
	display: inline-block;
	position: absolute;
	height: 16px;
	width: 16px;
	right: 15px;
	top: 8px;
}

table {
	border-collapse: collapse;
	margin-left: -17%;
	font-size: 14px;
	color: #A88D4E;
	width: 110%;
}

table tr { height: 40px; }

table td {
	vertical-align: middle;
	text-align: center;
	position: relative;
}

table th {
	text-align: center;
	font-weight: bold;
}

.nice-txt {
	padding: 5px 0;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ac843e), to(#dacf76));
  	background-image: gradient(linear, left top, left bottom, from(#ac843e), to(#dacf76));
  	-webkit-text-fill-color: transparent;
  	-webkit-background-clip: text;
  	background-clip: text;
  	display: inline-block;
  	text-align: center;
  	width: 100%;
}

span.letter {
	float: none;
	margin-top: -24px;
	margin-right: -7px;
	position: absolute;
	right: 0px;
	top: 34px;
}

div#loading {
	background: rgba(0, 0, 0, 0.8);
	position: absolute;
	display: none;
	z-index: 100;
	height: 100%;
	width: 100%;
}

div#loading h1 {
	margin: 300px 0 50px 0;
	text-align: center;
	color: #FFFFFF;
}

div.admin {
	background: rgba(255, 255, 255, .05);
	overflow-y: scroll;
	height: 461px;
}

div.admin table {
	font-size: 11px;
	margin-left: 0;
}

div.admin span.picto-ko, div.admin span.picto-ok {
	position: relative;
	height: 11px;
	width: 11px;
	right: 0;
	top: 0;
}