@font-face {
  font-family: 'FunktionRegular';
  src: url('/fonts/funktion-webfont.eot');
  src: url('/fonts/funktion-webfont.eot?#iefix') format('embedded-opentype'), url('/fonts/funktion-webfont.woff') format('woff'), url('/fonts/funktion-webfont.ttf') format('truetype'), url('/fonts/funktion-webfont.svg#FunktionRegular') format('svg');
  font-weight: normal;
  font-style: normal;
}
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  height: 100%;
  width: 100%;
  min-width: 1000px;
  overflow: auto;
  font: 16px/22px Arial, sans;
  color: #1a1a1a;
  font-size: 1em;
  line-height: 1.5em;
  text-align: center;
  background: white;
}
p {
  margin-bottom: 0;
}
a img {
  border: 0;
}
ul {
  margin: 0;
  padding: 0 0 0 1.2em;
}
form fieldset {
  border: none;
  margin: 15px 0 10px 4px;
  padding: 0;
}
form fieldset input,
form fieldset label,
form fieldset legend {
  float: left;
  width: auto;
  margin: 0 5px 0 0;
  height: 30px;
  line-height: 30px;
}
form fieldset input {
  margin-left: 30px;
}
form fieldset legend {
  float: none;
}
pre {
  background: white;
  color: black;
  border: 2px dashed red;
  padding: 10px;
}
#container {
  position: relative;
  min-width: 1000px;
  min-height: 100%;
  padding-top: 100px;
  text-align: left;
}
#container.room {
  background: #ffffff url(/img/CardboardBackground.jpg);
  padding-top: 0;
}
body.page #container {
  padding-top: 1px;
  /* bug fix */

}
.wrapper
{
  width: 994px;
  position: relative;
  margin: 0 auto;
}

#room-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 580px;
  height: 230px;
  background: transparent url(../img/page-header-bg.jpg) bottom center repeat-x;
  overflow: hidden;
}
#room-preview:after {
  content: '';
  display: block;
  position: absolute;
  left: 0px;
  bottom: -25px;
  width: 100%;
  height: 47px;
  background: url(../img/room-preview-border-white.png) repeat-x;
}
#room-preview h3 {
  font: 20px FunktionRegular, sans;
  color: #603914;
}
#room-preview-content {
  width: 100%;
  height: 100%;
  background: url(../img/page-header.jpg) top center repeat-x;
  overflow: hidden;
  position: relative;
}
.score-stars {
  text-indent: 200%;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  width: 52px;
  height: 19px;
  margin: 3px 6px 3px 0;
  background: url(../img/book-score.png) no-repeat;
}
.score-stars.score_1 {
  background-position: 0 -19px;
}
.score-stars.score_2 {
  background-position: 0 -38px;
}
.score-stars.score_3 {
  background-position: 0 -57px;
}

#banner
{
  box-sizing: border-box;
  background-color: #d14025;
  color: white;
  text-align: center;
  width: 100%;
  padding: 10px 30px;
  margin: -10px 0 20px 0;
  border-radius: 6px;
  border: 2px solid white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  background: linear-gradient(#e86328 0%,#db2728 100%);
}

body.url-home #banner
{
  margin-bottom: 30px;
}

#content
{
  position: relative;
  height: auto;
  float: none;
  clear: both;
  padding: 170px 0 249px 0;
  margin: 0 auto;
}

#content a {
  font-weight: bold;
  color: #603914;
  text-decoration: underline;
}
#content h1 {
  font: 28px FunktionRegular, sans;
  color: #603914;
}
#content h2 {
  font: 24px FunktionRegular, sans;
  color: #603914;
}
#content button {
  cursor: pointer;
}
#content button.current {
  cursor: inherit;
}
#content a.button,
#content button.button,
a.button,
button.button,
input[type=submit] {
  position: relative;
  display: block;
  background: #387c3b linear-gradient(#85bb3d, #387c3b) bottom left no-repeat;
  background-size: 100% 100%;
  margin: 0 0 5px;
  padding: 5px 10px;
  border: 2px solid white;
  border-radius: 8px;
  background-clip: padding-box;
  font: 24px FunktionRegular, sans;
  color: white;
  text-shadow: 1px 1px black;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);

  transition: background .5s, box-shadow .5s;
}

#content a.button:before,
#content button.button:before,
a.button:before,
button.button:before,
input[type=submit]:before {
  content: '';
  position: absolute;
  left: 0px;
  top: 0px;
  display: block;
  width: 100%;
  height: 100%;
  background: url(../img/kreuk-tile.png) center center;
}

#content a.button:hover,
#content button.button:hover,
a.button:hover,
button.button:hover,
input[type=submit]:hover
{
  /* make bg appear darker by stretching it upwards */
  background-size: 100% 150%;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
}


#content a.button.merge,
#content button.button.merge,
a.button.merge,
button.button.merge,
input[type=submit].merge {
  display: block;
  float: left;
  width: 50%;
  border-width: 2px 1px;
  border-radius: 0;
  background-clip: padding-box;
}
#content a.button.merge.left,
#content button.button.merge.left,
a.button.merge.left,
button.button.merge.left,
input[type=submit].merge.left {
  border-left-width: 2px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 8px;
  border-top-left-radius: 8px;
  background-clip: padding-box;
}
#content a.button.merge.right,
#content button.button.merge.right,
a.button.merge.right,
button.button.merge.right,
input[type=submit].merge.right {
  border-right-width: 2px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  background-clip: padding-box;
}
#content a.button.merge.merge-3,
#content button.button.merge.merge-3,
a.button.merge.merge-3,
button.button.merge.merge-3,
input[type=submit].merge.merge-3 {
  width: 33%;
}
#oldbrowser {
  display: none;
  background: red;
  border-bottom: 1px solid white;
  color: white;
  padding: 5px;
  z-index: 10000;
  position: relative;
}
body.lt-ie9 #oldbrowser
{
  display: block;
}
#oldbrowser a {
  color: white;
}
#container.apphelp {
  width: 420px;
}
#apphelp {
  width: 380px;
}
/* float clearing for IE6 */
* html .clearfix {
  height: 1%;
  overflow: visible;
}
/* float clearing for IE7 */
* + html .clearfix {
  min-height: 1%;
}
/* float clearing for everyone else */
.clearfix:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  font-size: 0;
}
#text {
  float: left;
  color: white;
  width: 520px;
  margin: 0 0 20px 0;
  text-align: left;
}
.page #text {
  color: black;
}
.page h1,
.page h2,
.page h3 {
  font-family: 'FunktionRegular', Georgia, serif;
  color: #603914;
  line-height: 1.3em;
}
.page h2 {
  font-size: 1.1em;
}
.page h3 {
  font-size: 1em;
}
.page #content a {
  color: #603914;
}
#logged-in p {
  text-align: center;
}
#logged-in .logout {
  display: block;
  text-align: right;
  padding-right: 20px;
}
#login .submit input[type=submit],
#logged-in a.btn-to-game {
  display: block;
  width: 327px;
  height: 64px;
  margin: 20px 0 10px 0;
  padding: 0;
  cursor: pointer;
}
#authMessage,
#registerMessage {
  color: #e83e29;
  border-bottom: 2px dashed #e83e29;
  margin: 0 0 20px 0;
  padding: 0 0 20px 0;
}
.page #authMessage,
.page #registerMessage {
  color: white;
  border-bottom: 2px dashed white;
}
.page #authMessage h2,
.page #registerMessage h2 {
  color: white;
}
#authMessage h2,
#registerMessage h2 {
  margin: 0;
  padding: 0;
  line-height: 1em;
  font-family: 'FunktionRegular', Georgia, serif;
}
#password-link {
  display: block;
  text-decoration: none;
  margin-top: 15px;
  color: silver;
  font-size: 0.9em;
  text-align: center;
}
#register {
  display: none;
  margin-bottom: 20px;
  position: relative;
}
#register .submit input {
  display: block;
  width: 327px;
  height: 64px;
  margin: 20px 0 10px 0;
  padding: 0;
  cursor: pointer;
}
form .error input {
  border: 1px solid #e83e29 !important;
}
form .error-message {
  color: red;
  font-style: italic;
}
form .error label {
  /*color: #e83e29 !important;*/

}
form span.required {
  display: none;
  color: orange;
  font-weight: bold;
  padding-right: 5px;
}
form p.required {
  display: none;
  font-size: 0.9em;
  color: silver;
}
.form .notice {
  font-size: 0.9em;
  border-top: 1px dashed silver;
  padding-top: 5px;
  margin-top: 20px;
  color: #444;
}
.form .notice a {
  color: #333;
}
.under-construction {
  background: transparent url(../img/home/sticker.png) 0 0 no-repeat;
  position: absolute;
  width: 310px;
  height: 132px;
}
#room-preview .under-construction {
  left: 50px;
  top: 350px;
}
#register .under-construction {
  left: 40px;
  top: 50px;
}
/*#password-reminder {
	display: none;
	position: fixed;
	left: 50%;
	top: 50%;
	margin: -160px 0 0 -308px;
	width: 380px;
	height: 280px;
	overflow: hidden;
	background: transparent url(../img/home/password-reminder-bg.png) 0 0 no-repeat;
	z-index: 1000;
	padding: 40px 40px 20px 200px;
	color: #1e5297;

}

#password-reminder .close {
	width: 30px;
	height: 30px;
	position: absolute;
	right: 20px;
	top: 15px;
	cursor: pointer;
}

#password-reminder .title {
	color: black;
	font-size: 1.4em;
	font-family: 'FunktionRegular', Georgia, serif;
	margin-bottom: 10px;
}

#password-reminder .error,
#password-reminder .success {
	display: none;
}

#password-reminder .error {
	color: red;
}

#password-reminder label {
	font-family: 'Short Stack', Georgia, serif;
}

#password-reminder input {
	color: black;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	height: 36px;
	line-height: 36px;
	padding: 0 10px;
	border: 1px solid silver;
	display: block;
	font-family: Arial, sans-serif;
	font-size: 1.2em;
	margin: 10px 0;
	width: 350px;
}

#password-reminder button {
	background: transparent url(../img/home/btn-versturen.png) 0 0 no-repeat;
	width: 189px;
	height: 50px;
	cursor: pointer;
	text-indent: 999px;
	border: none;
	padding: 0;
	margin: 0;
}*/
#dark-overlay {
  background: black;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 900;
  opacity: 0.4;
  filter: alpha(opacity=40);
}
@media only screen and (max-height: 700px) {
  .home #room-preview {
    top: -10px;
  }
  #page-border {
    top: 535px;
  }
  #bubble {
    top: 485px;
  }
}
/* For general iPad layouts */
/* Caused problems because restyle is wider... */
#forms {
  float: left;
  width: 380px;
  margin: 0 0 20px 35px;
  color: black;
}
