@import url('https://fonts.googleapis.com/css?family=Raleway');

html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: 'Raleway', sans-serif;
}
*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}

html, body {
    min-width:900px;
    width: 100%;
    padding: 0px;
    border: 0px;
    margin: 0px;
    height: 100%;
}

body {
    background-color: #fff;
    font-weight: 300;
    font-size: 13px;
    color: #333;
}

p {
    line-height: 140%;
}

h2 {
	font-weight: 300;
	font-size: 40px;
	color: #333;
}

h2 span {
	font-weight: 900;
	font-size: 50px;
	color: #888;
}

div#cookie-warning {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 400px;
    background-color: #fff;
    color: #444;
    z-index: 9999;
    border: 2px solid #333;
    border-radius: 10px;
    padding: 10px;
    display: none;
}

div#cookie-warning h4 {
    color: #d64048;
    font-size: 1.2em;
    font-weight: 900;
    margin: 3px 0px;
    padding: 0px;
}

div#cookie-warning p {
    padding: 0px;
    margin: 0px;
}

div#cookie-warning a {
    float: right;
    font-size: 0.8em;
}

div#cookie-warning a#cw-close {
    text-decoration: none;
    font-size: 1.6em;
    position: absolute;
    right: 10px;
    top: 1px;
    cursor: pointer;
}

div.iplay {
    float: right;
    margin-top: 40px;
}

div.iplay a {
    padding: 6px 20px;
    background-color: #444;
    text-decoration: none;
    color: #fff;
}

div.iplay img {
    height: 16px;
    vertical-align: text-top;
}


a.btnw {
	background-color: #fff;
	display: inline;
	padding: 10px 40px;
	font-size: 25px;
	color: #d64048;
	text-decoration: none;
	font-weight: 300;
}

a.btnb {
	background-color: #444;
	display: inline;
	padding: 10px 40px;
	font-size: 20px;
	color: #fff;
	text-decoration: none;
	font-weight: 300;
}

a.btnr {
	background-color: #d64048;
	display: inline;
	padding: 10px 40px;
	font-size: 20px;
	color: #fff;
	text-decoration: none;
	font-weight: 300;
}

div#intro {
    color: #fff;
    background-color: #252525;
}

div#intro p {
    font-size: 13px;
    clear: both;
}

div#intro img.av {
    border-radius: 50%;
    border: 2px solid #eee;
    width: 35px;
    float: left;
    margin: -8px 10px 20px 20px;
}

div.section {
    width: 100%;
    margin: 0px;
    padding: 10px 120px;
}

div.qs {
	height: 100%;
}

div#q1, div#q2, div#q3, div#q4 {
    padding-top: 60px;
}

div.qsd {
	background-color: #eee;
}

div.twocl {
    margin: 0px;
    padding: 0px 40px 0px 0px;
    width: 50%;
    float: left;
}

div.twocr {
    margin: 0px;
    padding: 0px 0px 0px 40px;
    width: 50%;
    float: right;
}

div#headbar {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	z-index: 999999;
	background-color: #333;
    padding: 18px 120px;
}

div#scorebar {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 60px;
    z-index: 9999;
    background-color: #333;
    padding: 0px 120px;
    display: none;
}

div.sbscore {
    float: left;
    padding: 0px 20px;
}

div.sbscore a {
    color: #bbb;
    text-decoration: none;
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin: 15px 0px;
}

div.sbscore a:hover {
    color: #fff;
}

div.sbscore.sactive a {
    color: #fff;
    background-color: #d64048;
}

div#scorebar div#runscore {
    position: absolute;
    top: 0px;
    font-weight: 900;
    font-size: 16px;
    right: 160px;
    color: #fff;
    line-height: 60px;
}

div#tasterwrap {
    position: absolute;
    top: 60px;
    left: 0px;
    width: 100%;
    background-color: #242424;
    z-index: 900;
    padding: 0px 120px;
}

.taster-offsite-panel {
    position: relative;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 999;
}

div#splash {
	color: #fff;
	background-color: #d64048;
	background-image: url('../img/network.png');
	background-repeat: no-repeat;
	background-position: 50% 50%;
	height: 100%;
}

div#splashbg {
	background: linear-gradient(to right, rgba(212,63,71,0.9), rgba(199,72,86,0.9));
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	padding-top: 200px;
}

div#splash h1 {
	font-weight: 300;
	font-size: 50px;
	margin: 0px;
	padding: 0px;
	text-shadow: 2px 2px rgba(0,0,0,0.2);
}

div#splash p {
	font-weight: 300;
}

/* Question 1 */

div.oblock {
	width: 31%;
	float: left;
	border: 1px solid #ddd;
	margin: 10px 1%;
    background-color: #fff;
    height: 120px;
}

div.oqst {
	padding: 20px;
	cursor:pointer;
    display: block;
    height: 100%;
    position: relative;
}

div.oqst:hover {
    background-color: #f0f0ff;
}

div.q3l {
    position: relative;
}

div.q3l img.ttick, div.q3l img.tcross {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 12px;
    display: none;
}

div.oqst img.ttick, div.oqst img.tcross {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 22px;
    display: none;
}

div.oqst.ticked img.ttick, div.oqst.crossed img.tcross, div.q3l.ticked img.ttick, div.q3l.crossed img.tcross {
    display: block;
}

div.oqst.ticked{
    background-color: #f0fff0;
}

div.oqst.crossed{
    background-color: #fff0f0;
}

div.oqst a.iplay {
    background-image: url('../img/iplay.png');
    background-size: 22px 22px;
    background-repeat: no-repeat;
    background-color: #002c5f;
    background-position: 4px 4px;
    color: #fff;
    cursor: pointer;
    position: absolute;
    text-decoration: none;
    bottom: 0px;
    right: 0px;
    height: 30px;
    line-height: 30px;
    padding-left: 30px;
    font-size: 12px;
    z-index: 99;
}

a.iplay span {
    display: none;
}

a.iplay:hover span {
    display: block;
}

div.q1res, div.q2res, div#q31res, div#q32res {
    clear: both;
    background-color: #eaeaff;
    border: 1px solid #ccc;
    padding: 5px 20px;
}


/* Question 3 */


/* Results */

div#modalbg {
	width: 10000px;
	height: 2000px;
	background-color: rgba(0,0,0,0.8);
	position: fixed;
	top: 0px;
	left: 0px;
	display: none;
	z-index: 100;
}

div#modalres {
	width: 80%;
	background-color: #fff;
	position: fixed;
    display: none;
	top: 60px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 101;
	padding: 10px 40px;
}

div#yscore {
	font-size: 50px;
	font-weight: 900;
	color: #27ae60;
	position: absolute;
	right: 40px;
	top: 60px;
}

div#yscore span {
	color: #555;
	font-size: 30px;
}

svg.sq1 path:hover {
    fill: red !important;
    cursor: pointer;
}

svg.sq1 {
    height: 230px;
}

/* --- v3 --- */

q{
  font-size: 18px;
  quotes: "\201C""\201D""\2018""\2019";
  padding: 2px 20px 18px 20px;
  line-height: 1.4;
}

q:before {
  content: open-quote;
  display: inline;
  height: 0;
  line-height: 0;
  left: -4px;
  position: relative;
  top: 5px;
  color: #bbb;
  font-size: 1.8em;
  font-family: serif;
}
q:after {
  content: close-quote;
  display: inline;
  height: 0;
  line-height: 0;
  left: 4px;
  position: relative;
  top: 5px;
  color: #bbb;
  font-size: 1.8em;
  font-family: serif;
}

p.q1q, p.q2q, p.q3q{
    margin: 12px 0px 2px 0px;
    padding: 4px 6px;
    background-color: #2980b9;
    color: #fff;
}

p.q3q {
    margin-bottom: 6px;
}
