html, body { height: 100%; width: 100%; padding: 0; margin: 0; background: #e9e9e9; font-family: Verdana, Geneva, sans-serif; position: relative; }
* { box-sizing: border-box; }
.lt-ie9 body { min-width: 720px; }

#page-wrapper { min-height:100%;  position:relative; }

a:not(.no-js-link):hover {
	opacity: 0.8;
}
a:not(.no-js-link) {
	color: #000000;
	text-decoration: none;
}

/*
 * HEADER
 */

header {
	width: 100%;
	background: url('../img/bgs/noisy-top.png');
	padding-top: 0;
	border-bottom: 1px solid rgba(0, 0, 0, 1);
	padding-bottom: 7px;
	position: relative;
}

.adsbygoogle {
}

.top-ad {
	width: 100%;
	/*max-height: 200px;*/
	margin: auto;
	position: relative;
	text-align: center;
}

.top-ad .ad-container {
	width: 100%;
	height: 100%;
}

header .votes {
	font-size: 11px;
	color: #FFF;
	text-shadow: 1px 1px 1px #323232;
}
header .votes-below {
	display: inline-block;
}
header .fb-page {
	display: inline-block;
	padding-left: 15px;
}

header .fb-votes {
	position: relative;
	top: -17px;
}

header .logo {
	text-align: center;
	margin-bottom: -17px;
}

header .logo img {
	width: 100%;
	height: 100%;
	max-height: 107px;
}

header .logo a {
	position: relative;
	display: block;
	width: 100%;
	max-width: 388px;
	margin: auto;
}
.lt-ie9 header .logo a { width: 388px; height: 107px; }

/*
 * QUESTIONS
 */
.wrapper { position: relative; overflow: hidden; }
.slider-container { width: 100%; height: 100%; background: url('../img/bgs/noisy-light.png');}
.question { 
	display: inline-block;
	position: absolute; 
	top: 0; 
	width: 100%;
	padding-top: 12px;
	padding-bottom: 7px;
	text-align: center; 
}

.question h3 {
	font-size: 14px;
	margin: 5px;
}

.question.size-fix {
	position: relative !important;
	z-index: -1;
	opacity: 0; 
	visibility: hidden;
}

.question.turn .card .front {
	display: none; 
}
.question.turn .card .back {
	display: block; 
}

.control {
	width: 43px;
	position: absolute;
	height: 100%;
	line-height: 100%;
	color: #000000;
	z-index: 100;

	font-size: 26px;
	font-weight: bold; 
	border: 0px solid;
	outline: 0 !important;
	top: -5px;
}
.control span {
	padding: 0 10px;
	height: 26px; 
	position: absolute;
	top: 50%;
}
.control.left span {
	left: 5px;
}
.control.right span {
	right: 5px;
}

.control.disabled {
	color: #888; cursor: default;
}
.control:hover:not(.disabled) { 
	/*color: #444;
	background: rgba(255,255,255,0.2);
	*/
	cursor: pointer; 
}
.control.left {
	left: 0px;
}
.control span {
	display: block;
	width: 20px;
	height: 30px;
	margin-top: 5px;
}
.control.left span {
	background: url(../img/lefth.png) no-repeat;
	background-size: contain;
}
.control.left:hover:not(.disabled) span {
	background: url(../img/lefth.png) no-repeat;
	background-size: contain;
}
.control.right {
	right: 0px;
}
.control.right span {
	background: url(../img/righth.png) no-repeat;
	background-size: contain;
}
.control.right:hover span {
	background: url(../img/righth.png) no-repeat;
	background-size: contain;
}


.card .vald {
	width: 84px;
	height: 79px;
	position: absolute;
	top: 4px;
	right: 0px;
	background: url('/img/vald.png') no-repeat 0% 0%;
}
.card.red .vald{
	background-position: 100% 0%;
	right: -10px;
}
.card.blue { background: url('../img/cards/blue.png') no-repeat; background-size: contain;}
.card.blue:hover { background: url('../img/cards/blue.hover.png') no-repeat; background-size: contain;}
.card.red { background: url('../img/cards/red.png') no-repeat; background-size: contain;}
.card.red:hover { background: url('../img/cards/red.hover.png') no-repeat; background-size: contain;}
.cache img { display: none; }

.card { 
	max-width: 472px;
	width: 45%; 
	display: inline-block;
	margin: 5px;
	cursor: pointer; 
	position: relative;
}

.card .dummy { margin-top: 58%; }
.card .content { position: absolute; top: 0; bottom: 0; left: 0; right: 0; }

.card .front {
	display: table;
	height: 100%;
	width: 80%;
	margin: auto;
	font: bold 18px "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-align: center;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
	color: #fff;
}
.card .front p { display: table-cell; vertical-align: middle; text-align: center; }

.or {
	position: absolute;
	right: -40px;
	top: 46%;
	width: 65px;
	text-align: center;
	background: url('../img/tinybox.png') no-repeat 50% 50%;
	color: #FFF;
	text-shadow: 1px 1px 1px #000;
	font-size: 12px;
	line-height: 23px;
	height: 25px;
	z-index: 100; 
}

.card .back { 
	display: none; 
	text-align: center;
	font-weight: normal;
	color: #FFF;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	height: 100%;
	width: 100%; 
}
.card .back .back-flex {
	display: inline-flex;
	display: -webkit-inline-flex;
	display: -ms-inline-flex;
	display: -moz-inline-flex;
	height: 100%;
	width: 100%; 
}

/*.no-flexbox .card .back .back-flex {
	position: relative;
	top: 50px;
}*/

.card .back .back-container { 
	display: block;
	margin: auto;
}
.card .back .percent {
	font: bold 70px "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
	line-height: 100%;
	color: #267ea0;
}
.card.red .back .percent { color: #7e0b0b; }
.card .back .clicks { font-size: 17px; }
.card .back p { font-size: 12px; padding: 0 15px;}
/*
 * Lower page
 */

.toolbar { 
	width: 100%;
	/*height: 45px;*/
	background: white;
	border-top: 1px solid rgba(0, 0, 0, 1);
	border-bottom: 1px solid #CCC;
	-webkit-box-shadow: 0px 2px 5px 0px rgba(197, 197, 197, 0.75);
	-moz-box-shadow:    0px 2px 5px 0px rgba(197, 197, 197, 0.75);
	box-shadow:         0px 2px 5px 0px rgba(197, 197, 197, 0.75);
	
	text-align: center; 
	font-size: 11px; 
	margin-bottom: 10px;
	
}
.toolbar .tool { display: inline-block; margin: 5px 3px; }
.toolbar i.fa { font-size: 24px; vertical-align: middle; }

.toolbar .url { display: inline-block; border: 1px solid #DDDDDD; margin-bottom: 8px;}
.toolbar .url i.fa-link { font-size: 14px; line-height: 18px; padding-left: 5px; }
.toolbar .url input { background-color: #FDFDFD; padding-left: 5px; outline: none !important; font-size: 10px; text-shadow: 1px 1px 1px #FFF; font-weight: bold; width: 140px; text-align: left; border: none; height: 18px; }

.toolbar .fb_iframe_widget, .toolbar .facebook { vertical-align: middle; }

i.fa-twitter-square { color: #55ACEE; }
i.fa-facebook-square { color: #4c66a4; }
.toolbar i.fa-google-plus-square { color: #dd4b39; }
.toolbar .facebook { min-width: 116px; }

/*
 * Bottom-wrapper
 */

.middle-ad {
	text-align: center;
	margin: 20px;
	max-width: 950px;
	margin: auto;
}

.bottom-wrapper {
	width: 950px;
	margin: auto;
	padding-bottom: 50px;
}
.bottom-wrapper .comments {
	width: 604px;
	min-height: 20px;
	display: inline-block;
	vertical-align: top;
	margin-right: 4px;
}

.fb-comments iframe, .fb-comments span {
	width: 100% !important;
}

.bottom-wrapper .bottom-ad {
	display: inline-block;
	vertical-align: top;
	width: 336px;
	height: 280px;
}

.lt-ie9 .bottom-wrapper {
	width: 100%;
}
.lt-ie9 .bottom-wrapper .comments {
	display: block;
	width: 95%;
	margin: auto;
}
.lt-ie9 .bottom-wrapper .bottom-ad {
	display: block;
	margin: auto;
	margin-top: 10px;
	width: 100%;  
	max-width: 300px;
}
.lt-ie9 .fb-comments, .lt-ie9 .fb-comments span { width: 720px; }
/*
 * Footer
 */

.footer {
	width: 100%;
	height: 40px;
	line-height: 40px;
	background: url('../img/bgs/noisy-top.png');
	border-top: 1px solid rgba(0, 0, 0, 1);
	position: absolute;
	bottom: 0;
	
	font-size: 11px;
	font-style: italic;
	text-align: center; 
}

.footer .infopage {
	display: none;
	height: 0px;
}

/*
 * Bouble
 */

.bouble {
	display: none;
	font-size: 11px;
	padding-bottom: 50px;
	width: 96%;
	position: absolute;
	bottom: 0;
	margin: 0 2%; 
	z-index: 10000000000000000;
}

.bouble .bouble-container {
	width: 100%;
	max-width: 950px;
	margin: auto;
	padding: 0px 10px;
	background: white;
	border: 1px solid #ddd;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
	-moz-box-shadow:    0px 0px 10px 0px rgba(0, 0, 0, 0.75);
	box-shadow:         0px 0px 10px 0px rgba(0, 0, 0, 0.75);
	position: relative;
}

.bouble .close {
	font-size: 12px;
	position: absolute;
	right: 0;
	top: 0;
	padding: 6px;
	vertical-align: middle;
	cursor: pointer;
}

.bouble .close span {
	
}

/*
 * Adfree webpage
 */


.no-ads header {
	padding-top: 0;
}
.no-ads .bottom-wrapper .comments {
	display: block;
	width: 95%;
	margin: auto;
}

