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

* {
	margin:0;padding:0;
	box-sizing: border-box;
}

a, a:link, a:active, a:visited {
	text-decoration:none;
	color:white;
}


body {
	background:url('background.png');
	font-family: 'Roboto', sans-serif;
}

#play {
	overflow:hidden;
}

.howtoplay {
	width:90%;
	display:block;
	position:absolute;
	top:20px;
	left:0;right:0;
	margin:auto;
	background:#e1e2e9;
	padding-bottom:40px;
}

.howtoplay div {
	margin:auto;
	display:block;
	width:90%;
	color:#22284f;
	font-size:20px;
	margin-top:20px;
}

.how_title, .main_title {
	text-align:center;
	font-size:24px;
	color:#fff;
	font-weight:bold;
	border-bottom:1px solid #000;
	background:#eb5b4c;
	width:100%!important;
	display:block;
	height:40px;
	padding-top:7px;
	color:#fff!important;
	margin-top:0!important;
	
}

.main_title {
	height:50px;
	margin-bottom:20px;
}

.mainIndex {
	display:block;
	width:90%;
	margin:auto;
	margin-top:20px;
	background:#e1e2e9;
	padding-bottom:50px;
}

.result {
	width:90%;
	display:block;
	height:60%;
	margin:auto;
	top:20px;
	left:0;right:0;
	background:RGBA(235,91,76,0.9);
	position:absolute;
	
}

.result_title {
	font-size:28px;
	font-weight:bold;
	color:#fff;
	width:100%;
	display:block;
	background:#eb5b4c;
	text-align:center;
	margin-bottom:10px;
	
}

.result_pairs, .result_time {
	display: block;
    width: 100%;
    height: 30px;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    color: #000;
}

.fb {
	display:block;
	width:50%;
	background:#3f67c0;
	margin:auto;
	margin-bottom:10px;
	text-align:center;
	font-size:20px;
}

.fb img {
	vertical-align: middle;
}

.twitter {
	display:block;
	width:50%;
	background:#35b5eb;
	margin:auto;
	margin-bottom:10px;
	text-align:center;
	font-size:20px;
}

.twitter img {
	vertical-align: middle;
}

.close {
	display:block;
	width:50%;
	background:#0e112a;
	color:#fff;
	margin:auto;
	margin-bottom:10px;
	height:50px;
	text-align:center;
	padding-top:12px;
	font-size:20px;
}

.btnSelect, .btnSelectAbout, .about_close {
	display:block;
	width:50%;
	border-radius:0;
	height:60px;
	text-align:center;
	padding-top:15px;
	background:#35b5eb;
	margin:auto;
	margin-bottom:10px;
	font-size:25px;	
}

.btnSelectAbout {
	background:#eb5b4c;
}

.about_close {
	background:#eb5b4c;
	height:40px;
	margin-top:20px;
	padding-top:5px;
}

.btnSelect.controls {
	height:30px;
	font-size:15px;
	display:inline-block!important;
	margin-right:10px;
	margin-bottom:0;
	padding-top:5px;
	width:30%;
}
.controls {
	text-align:center;
}

.cards_container {
	display:block;
	width:100%;
	margin:auto;
	text-align:center;
	position:relative;
}

.deck {
	width:23%;
	display:inline-block;
	overflow:hidden;
	margin-left:1%;
	margin-bottom:10px;
	position:relative;
}
.deck:first-child {
	margin-left:0;
}

.time {
	color:#fff;
	font-size:34px;
}

.deck img {
	max-width:100%;
}

.back_deck {
	position:absolute;
}
.ui-loader {
	display:none;
}