﻿/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    /*line-height: 1.4;*/
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body .jvectormap-zoomout,
body .jvectormap-zoomin {
	font-size: 1.8em;
    position: absolute;
	width: 0.8em;
    height: 0.5em;
    line-height: 0.6em;
	color: #000;
	background: #fff;
}
body .jvectormap-zoomout {    
    top: 2em;	
}
body .jvectormap-zoomin { 
    top: 3em;
}  
body {
    overflow:hidden;
    background:#000;
    height: 100%;
    width: 100%;
    display: block;
    position: relative;
	font-family: Arial;
	color: #fff;
	font-size: 16px;
}

/* Preloader */
#preloader {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color:#fff; /* change if the mask should have another color then white */
    z-index:9999; /* makes sure it stays on top */
}
#preloader > img{ display: none; }
#preloader > img, .background > img{ width: 100%; }
.background{
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 100;
    color: white;
    text-align: center;
    overflow: hidden;
	background: url("../img/main.jpg") no-repeat center / contain;
}
.game-view{
	overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
}
/*pages*/
.page{
	width: 100%;
	height: 100%;
	z-index: 999;
	position: absolute;
	top:0;
	left:0;
	display: none;
}
#page1{ display: block; }
/* map */
.jvectormap-label {
    position: absolute;
    display: none;
    border: solid 1px #CDCDCD;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: #FFFFFF;
    color: #000000;
    font-family: sans-serif, Verdana;
    font-size: smaller;
    padding: 3px;
}
body .jvectormap-tip{ z-index: 9999;  font-size: 1.2em; }
#instruct_0 {
    bottom: 4.8em;
    cursor: pointer;
    height: 3.6em;
    left: 24.2em;
    position: absolute;
    width: 16.7em;
}
.play_0 {
        bottom: 4.8em;
    cursor: pointer;
    height: 3.6em;
    right: 24.4em;
    position: absolute;
    width: 16.8em;	
}
.insts{
    bottom: 9.2em;
    cursor: pointer;
    height: 3.5em;
    left: 5.25em;
    position: absolute;
    width: 16.7em;
	display: none;
}
.play_1{
    bottom: 4.7em;
    cursor: pointer;
    height: 3.5em;
    left: 5.25em;
    position: absolute;
    width: 16.7em;
	display: none;
}
.play_2{
    bottom: 4.7em;
    cursor: pointer;
    height: 3.5em;
    left: 5.25em;
    position: absolute;
    width: 16.7em;
	display: none;
} 
.help{
    bottom: 4.7em;
    cursor: pointer;
    height: 3.5em;
    left: 5.25em;
    position: absolute;
    width: 16.7em;
} 
.submit {
    border: 1px solid;
    bottom: 15px;
    height: 36px;
    position: absolute;
    right: 31px;
    width: 143px;
	cursor:pointer;
}

.mysterys {
    bottom: 0;
    height: 77%;
    left: 0;
    position: absolute;
    width: 100%;
}
.mystery,.mysteryClick {
    height: 14.75em;
    position: absolute; 
    width: 13.3125em;
	cursor:pointer;
	display: table;
}
.mysterys > div > div{ color: #A0FF00; font-size: 2.4em; text-align: center; display: table-cell; opacity: 0; vertical-align: middle; }
.mysterys > div > div > label{ font-size: 1.2em; }
#mystery_0{
    left: 41.8em;
    top: 4.1em;
	background:  url("../img/mystery_0.png") no-repeat center / contain scroll;	
}
#mystery_1{
    left: 58.5em;
    top: 4.1em;
	background:  url("../img/mystery_1.png") no-repeat center / contain scroll;	
}
#mystery_2{	
	left:33.5em;
	top:19.1em;
	background:  url("../img/mystery_2.png") no-repeat center / contain scroll;	
}
#mystery_3{	
	left:50.2em;	
	top:19.1em;
	background:  url("../img/mystery_3.png") no-repeat center / contain scroll;		
}
#mystery_4{	
	left:66.7em;
	top:19.1em;
	background:  url("../img/mystery_4.png") no-repeat center / contain scroll;	
}
#mystery_0:hover, #mystery_0.mysteryClick{
	background:  url("../img/mysteryClick_0.png") no-repeat center / contain scroll;	
}
#mystery_1:hover, #mystery_1.mysteryClick{
	background:  url("../img/mysteryClick_1.png") no-repeat center / contain scroll;	
}
#mystery_2:hover, #mystery_2.mysteryClick{	
	background:  url("../img/mysteryClick_2.png") no-repeat center / contain scroll;	
}
#mystery_3:hover, #mystery_3.mysteryClick{	
	background:  url("../img/mysteryClick_3.png") no-repeat center / contain scroll;		
}
#mystery_4:hover, #mystery_4.mysteryClick{	
	background:  url("../img/mysteryClick_4.png") no-repeat center / contain scroll;	
}
.mysterys > div.mysteryRight > div{ opacity: 1; }
.mysterys > div.mysteryRight{ background: none !important; cursor: default; }
.lifeline,.strike {    color: #E8E8E8;

	font-weight:bold;
}
.lifeline{
	position: absolute;
	bottom: 5.5em;
	right: 4em;
}
.strike {
	position: absolute;
	    bottom: 0.6em;
		left: 26em;
    color:#E8E8E8;  
	font-weight:bold;
	font-size: 1.95em;
	 text-shadow: 1px 1px 15px #080000, 1px 1px 15px #080000, 1px 1px 15px #080000, 1px 1px 15px #080000, 1px 1px 15px #080000;/*#424B52*/
	filter: Shadow(Color='#080000', Direction=100, Strength=0);
	filter: progid:DXImageTransform.Microsoft.Glow(Color="#080000",Strength="13")
}

 
	
	
.life,.firstLetter,.fifty,.askAFrined{display:inline-block;}
.askAFrined{display:none;}

.life {
    font-size: 1.65em;
   /* margin-right: 0.6em;*/
    text-shadow: 1px 1px 15px #080000, 1px 1px 15px #080000, 1px 1px 15px #080000, 1px 1px 15px #080000, 1px 1px 15px #080000;
	filter: Shadow(Color='#080000', Direction=100, Strength=0);
	filter: progid:DXImageTransform.Microsoft.Glow(Color="#080000",Strength="13")
}
.checks{
	 background: url("../img/lifelinewhite.png") no-repeat center / contain;
	display: inline-block;
    height: 1.6em;
    margin: 0 0.5em 0 1.2em;
    width: 1.6em;
    cursor: pointer;
}
.checksClick{
	background: url("../img/lifelineRed.png") no-repeat center / contain;
    display: inline-block;
    height: 1.6em;
    margin: 0 0.5em 0 1.2em;
    width: 1.6em; 
}
.strikes{
	background: url("../img/strikesin.png") no-repeat center / contain;
    display: inline-block;
    height: 2.1em;
    width: 1.2em;
	vertical-align:middle;
}

.strike label{/*position: absolute;
    bottom: 1.1em;
    left: 29em;*/
	margin-right: .6em;
	word-spacing: .2em}
.map{
	position: absolute;
	bottom: 8em;
	left: 42em;
	/*margin:10px 30px 0px 30px;*/
	width:46em;
	height:30em;
}
.jvectormap-container{ background-color: rgba(0, 0, 0, 0)!important; }
.page-info {
    position: absolute;
    top: 5.5em;
	left: 0em;
	width: 27.2em;
	font-size: 1.5em;
	text-align: center;
}
.page-qns {
    position: absolute;
    top: 7em;
	left: 0em;
	width: 27.2em;
	font-size: 1.5em;
	text-align: center;
	display: none;
}
.hints{
    position: absolute;
    top: 10em;
    left: 3em;
    /* margin: 10px 30px 0px 30px; */
    width: 38em;
    height: 36em;
}
.face {
  position: absolute;
  width: 11.2em;
  height: 11.2em;
  color: white;
  text-align: center;
  font-weight: bold;
   -webkit-backface-visibility: hidden;
  backface-visibility: hidden; 
  top:0;
  left:0;
  display: block;
  border: 0.125em solid #9FFB38;
}
.face > div{
	top: 50%;
	left: 50%;
	position: absolute;  
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform:    translateX(-50%) translateY(-50%);
	-o-transform:      translateX(-50%) translateY(-50%);
      -ms-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
	display: block;
	padding: 0.5em;
	overflow: auto;
    max-height: 8.5em;
}
.face.back > div{ width: 10em; }
.face.front {
  background: transparent;
  font-size: 2.3em;
  color: #9FFB38;
  z-index: 1;
  width: 4.75em;
  height: 4.75em;
}

.face.back {
  background: #9FFB38;
  -webkit-transform: rotateY(180deg);
  -moz-transform:    rotateY(180deg);
	-o-transform:    rotateY(180deg);
      -ms-transform: rotateY(180deg);
  transform: rotateY(180deg);  
  font-size: 1em;
  line-height: 1.2;
  color: #000000;
   z-index: 0;
}
.hintbox{
    width: 11.5em;
    height: 11.5em;
    display: inline-block;    
    margin: 0.3em 0.25em;
	color: #9FFB38;
	text-align: center;
	vertical-align: middle;   
	
	-webkit-transition: transform 1s;
	-moz-transition: transform 1s;
    -o-transition: transform 1s;
	transition: transform 1s;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
	 -ms-transform-style: preserve-3d;
	transform-style: preserve-3d;
	cursor: pointer;
	position: relative;	
}
.hintbox.is-flipped {
  -webkit-transform: rotateY(180deg);
  -moz-transform:    rotateY(180deg);
	-o-transform:    rotateY(180deg);
      -ms-transform: rotateY(180deg);
  transform: rotateY(180deg);
 /* background: #9FFB38;*/
  cursor: default;
}

.hintbox.is-flipped .face.front{ z-index: 0; }
.hintbox.is-flipped .face.back{ z-index: 1; }
.next-mystery{ position: absolute; bottom: 1em; width:42em; text-align: center; display: none; }
.next-mystery > button{ 
	font-size: 1.5625em;
    background: #99FF00;
    border: 1px solid #99FF00;
    outline-color: #99FF00;
    padding: 0.4em 3em; 
	cursor: pointer;
	font-weight: bold;
}
.qsnScreen{
	width:680px;
	height:177px;
	margin:0px 0px 0px 0px;	
	z-index:99;
	position:relative;
}
.footer{
	width:100%;
	position:absolute;
	bottom:0px;	
}

.helps {
    /*background: url("../img/help.jpg") repeat scroll 0 0 rgba(0, 0, 0, 0);*/
    bottom: 0;
    position: absolute;
    right: 0;
    width: 100%;
}
.help_div {
    float: right;
    padding: 5px;
    text-align: right;
	font-weight:bold;
	color:#fff;
}
.mute{		
	cursor:pointer;
	z-index:99999;	
	position:absolute;
	width: 2.5em;
    height: 2.5em;
    right: 1em;
    bottom: 1em;
	display: none;
}
.help{
	margin-right:10px;	
	cursor:pointer;
	z-index:9; 
}

.mute_img{
	fill: #fff;
    width: 100%;
    height: 100%;
}
.times,.scores{
	width:140px;
	padding:7px;
	height:19px;
	margin-left:10px;	
	color:#fff;
	font-weight: bold;
}
#score_val{margin-left:10px;}
.question {
   margin:0px 20px;
}
.question_con{
	font-size:18px;
	display: inline-block !important;
	vertical-align: middle;
	line-height: normal;
	text-align:left;
	color:#F8F6F7;
}
.clue_box{width:680px;height:144px;}
.clue_imgs {
    margin: 3px 15px 0px 15px;
}

/*#clue_img1{ margin-left:0px; }
#clue_img2{ margin-left:50px; }
#clue_img3{ margin-left:55px; }*/

.clue_img {
    display: inline-block;
	height: 100px;
    width: 215px;
	text-align:center;
}
.clue_con{
	margin: 5px 0px 0px 0px;	
	width:215px;
	position:absolute;
	line-height:15px;
	font-size:15px;
	color:#F8F6F7;
	text-align:center;
}
#clueCon_0{
	left:10px;
}
#clueCon_1{
	left:230px;
}
#clueCon_2{
	right:10px;
}
.mystery_img{
	bottom: 192px;
    display: block;
    left: -10px;
    position: absolute;
	z-index:99;
}
/*popup code*/
#overlay {
    width: 100%;
    height: 100%;
    background-color: #fff;
    filter:alpha(opacity=10);
    -moz-opacity:0.1;
    -khtml-opacity: 0.1;
    opacity: 0.1;
    z-index: 9999;
	position:absolute;
	top:0px;
}
#level-overlay {
    width: 55%;
    height: 100%;
    background-color: #000;
    filter: alpha(opacity=10);
    -moz-opacity: 0.1;
    -khtml-opacity: 0.1;
    opacity: 0.1;
    z-index: 9999;
    position: absolute;
    top: 0px;
    right: 0;
}
/*#popup > div,
#popup > a,
#popupHelp > div,
#popupHelp > a,
#popupNext > div,
#popupNext > a{

	color:white;
	filter: Shadow(Color='#000', Direction=100, Strength=0);
	filter: progid:DXImageTransform.Microsoft.Glow(Color="#000",Strength="13")
}*/

/*#popup{display:none;position:absolute;left:95px;top:65px;width:500px;height:499px;font-size:25px;font-weight:bold;z-index:999;text-align:center;color:#284483;}*/
#popup{display:none;position:absolute;left:16.25em;top:9em;width:25em;height:15em;font-size:1.56em;font-weight:bold;z-index:99999;color:#284483; background: #001DAD; }
.pop_img{width:100%;height:100%; display: none; }

#popup_con {  
    color:#F8F6F7;
    font-size: 1.2em;
    font-weight: normal;
    height: 80%;  
    width: 100%;
	display: table;
}
#popup_con > p{ display: table-cell; width: 42%; padding: 2% 4%; vertical-align: middle; }
#popup .close{
	bottom: 8%;
    color:#99ff00;
    font-size: 1.4em;
    position: absolute;
    left: 54%;
    text-decoration: none;
}
.title{
	font-size: 2em;
	color: #99ff00;
	text-align:center;
}
/*popup help*/
#popupHelp{display:none;position:absolute;left:16.25em;top:7em;width:25em;height:20em;font-size:1.56em;z-index:99999;color:#284483; background: #001DAD; }
#popup_hcon {
    bottom: 13%;
	color:#F8F6F7;
    font-size: 1.3em;
    font-weight: normal;
    height: 77%;
    padding: 0.5em;
	right:1.5em;
    position: absolute;
    text-align: left;
    width: 80%;
}
.pop_hcon {
    font-size: 0.55em;
    font-weight: normal;
    margin-top: -1em;
	line-height:1.1em;
}
.pop_hcon ol{
	    padding-inline-start: 2.55em;
}
.pop_hcon ol li{
	margin-bottom:0.55em;	
}
.htitle{
	font-size: 1em;
    margin-top: 0.8em;
    text-align: center;
	font-style:italic;
	color:#99ff00;
	font-weight: normal;
}
#popupHelp a { 
	bottom: 12%;
    color: #FFFFFF;
    font-size: 1em;
    font-weight: normal;
    position: absolute;
    right: 11%;
    text-decoration: none;
	color:#99ff00;
}


/*popup help*/
#popupCongr{
	background: url("../img/congra.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
    display: none;
    font-size: 25px;
    font-weight: bold;
    height: 498px;
    left: 22px;
    position: absolute;
    text-align: center;
    top: 53px;
    width: 631px;
    z-index: 99999;
}

#popupCongr .Cclose {
    bottom: 2%;
    font-size: 16px;
    left: 250px;
    padding: 0 5px;
    position: absolute !important;
    text-decoration: none;
    width: 210px;
}

#popContent {
    font-size: 16px;
    font-weight: normal;
    left: 330px;
    position: absolute;
    text-align: left;
    top: 132px;
    width: 275px;
}
.pop_mystery {
    left: 8px;
    position: absolute;
    top: 70px;
}

.pop_inst {
    left: 133px;
    position: absolute;
    top: 134px;
}
.xmask{
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	background-color:#FFF;
	z-index:9999;
	display:none;
}
.pop_con > a{
	color:#fff;
}
.pop_con > p{ margin: 0.1em 0; }
.mask1 {
    background: none repeat scroll 0 0 #17120C;
    bottom: 8em;
    height: 15em;
    position: absolute;
    width:46em;
	left: 42em;
    z-index: 9;
	opacity:0.4;
	display:none;
}
.map_2 + .map-mask .mask1 { height: 13.9em; }
.mask2 {
    background: none repeat scroll 0 0 #17120C;
    bottom: 23em;
    height: 15em;
    position: absolute;
    width:46em;
	left: 42em;
    z-index: 9;
	opacity:0.4;
	display:none;
}
/*popup next*/
#popupNext{display:none;position:absolute;left:12em;top:6em;width:35em;height:20em;font-size:1.5625em;font-weight:bold;z-index:99999;color:#284483; background: #001DAD; }
#popupNext a {bottom: 8%;font-size: 1.3125em;position:absolute;left:54%;text-decoration:none;color:#99ff00;}

/*popup help*/
#certificate{
    height: 28.5em;
    position: absolute !important;
    right: 14%;
    text-decoration: none;
    top: 32.5%;
    width: 36.5em;
}
#passport{
	height: 3.4em;
    position: absolute !important;
    left: 5.8%;
    text-decoration: none;
    bottom: 11.5%;
    width: 13.7em;
}

/*map hide*/
.map_2 path[data-code="YE"],
.map_2 path[data-code="SA"],
.map_2 path[data-code="TR"],
.map_2 path[data-code="IR"],
.map_2 path[data-code="IQ"],
.map_2 path[data-code="OM"],
.map_2 path[data-code="AE"],
.map_2 path[data-code="JO"],
.map_2 path[data-code="SY"],
.map_2 path[data-code="QA"],
.map_2 path[data-code="KW"],
.map_2 path[data-code="IL"],
.map_2 path[data-code="LB"],
.map_2 path[data-code="PS"],
.map_2 path[data-code="CY"],
.map_2 path[data-code="XC"],
.map_2 path[data-code="AM"],
.map_2 path[data-code="AM"],
.map_2 path[data-code="GE"],
.map_2 path[data-code="AZ"]
{ display: none; }


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

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

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .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; /* 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;
    }
}
