/* CSS Document */

@font-face {
	font-family: "Arial, Helvetica, sans-serif";
	font-weight: normal;
	font-style: normal;
} 

html, body {
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
}

#main-container {
	width: 100%;
	margin: 0 auto;
}

#header {
	width: 100%;
	max-width: 100%;
	height: auto;
}

.title {
	display: block;
	margin: 0 auto;
	padding: 30px 20px 10px;
	font-size: 24px; 
	text-transform: uppercase;
	width: 90%;
	text-align: center;
}

.buttons {
	width: 100%;
	margin: 0 auto;
	font-size: 13px;
	font-weight: 500;
	display: table;
  	table-layout: fixed;
}
.buttons > ul {
	display: table-row;
	width: 100%;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
.buttons li {
	list-style: none;
	display: table-cell;
	float: left;
	width: 19.1%;
	border-top: solid 6px #fff;
	border-left: solid 6px #fff;
}

button {
	width: 100%;
	height: 38px;
	padding: 5px;
	border: 0;
	text-transform: uppercase;
	color: #fff;
	background: #999;
	font-size: 12px;
	cursor: pointer;
}
.buttons button:active, .buttons button.selected {
	font-weight:bold;
	background: #e95883;
}

.controls {
	margin: 40px auto 10px;
	padding: 0;
}
.controls ul {
	width: 100%;
	padding: 0;
}
.controls li {
	width: 19%;
	padding: 0;
}
.controls li.cols-3 {
	width: 59%;
}
.controls button {
	height: 50px;
	font-size: 16px;
	background: #ccc;
}
.controls .get_speech {
	background: #e95883;
	width: 
	
}

#overlay {
	position: fixed;
	top: 0; right: 0; left: 0; bottom: 0;
	z-index: 10000;
	background: rgba(33,33,33,0.9);
	display: none;
}
#animation {
	font-size: 50px;
	width: 100%;
	text-align: center;
	position: absolute;
	line-height: 200px;
	top: 50%;
	margin-top: -100px;
	display: none;
	color: #fff;
}
#animation .comment {
	position: fixed;
	width: 100%;
	top: 10%;
	text-align center;
	z-index: 20000;
}
#animation #counter {
	font-size: 200px;
}
#result {
	width: 80%;
	height: 80%;
	margin: 10%;
	overflow: visible;
	font-size: 24px;
	display: none;
	background: #fff;
}
#speech { 
	/*font-family: cursive;*/
	padding: 10%;
	height: 70%;
	margin-bottom: 0;
	overflow-y: scroll;
}
#similar_speeches { 
	margin-bottom: 40px;
	font-size: 18px;
	font-style: italic;
}
#overlay button {
	height: 50px;
	font-size: 16px;
	background: #e95883;
}
#sorting-remark {
	width: 100%;
	margin: 0 auto;
}


.filter-buttons-2cols {
	width: 370px;
	margin-bottom: 10px;
}

.only-mobile { display: none !important; }
.no-mobile { display: block !important; }


/* TODO CLEAN mobile CSS */

@media only screen and (max-width:630px) {
	#header {
		height: auto;
	}
	
	.title {
		padding: 20px 0 5px;
		font-size: 18px; 
	}
	
	button {
		height: 38px;
	}
	
	.buttons > li {
		width: 30.8%;
		border-left: solid 6px #fff;
	}
	
	.controls button {
		height: 40px;
	}
	
	.controls .buttons > li {
		width: 100%;
		border-left: none;
	}
	
	#animation {
		font-size: 50px;
	}
	#animation .comment {
		font-size: 30px;
		line-height: 35px;
	}
	#animation #counter {
		font-size: 180px;
	}
	#result {
		width: 90%;
		height: 90%;
		margin: 5%;
		font-size: 18px;
	}
	#similar_speeches { 
		margin-bottom: 16px;
		font-size: 14px;
	}
	#speech { 
		/*font-family: cursive;*/
		padding: 5%;
		height: 90%;
		margin-bottom: 0;
		overflow-y: scroll;
	}


	.only-mobile { display: block !important; }
	.no-mobile { display: none !important; }	
}

