﻿html {
	height:100%;
}
body {
	margin: 0 auto;
	font-family: "Trebuchet MS",sans-serif;
	min-height:100%;
	position:relative;
	/* border:2px solid red; */
}
/* LAYOUT BEGIN */

#container {
	margin: 0;
	font-family: "Trebuchet Ms",sans-serif;
	min-height:100%;
	padding-bottom:45px;
	/* border:2px solid green; */
}
#header {
	width: 100%;
	height: 40px;
	text-align:center;
	padding: 0px;
	border-bottom: solid 5px #EEBB22;
	color: #333333;
	background-color: #FFCC33;
}
#main {
	margin: 0;
	margin-bottom:12px;
	font-family: "Trebuchet Ms",sans-serif;
	height:100%;
	/* border:2px solid blue; */
}
#footer {
	position:absolute;
	bottom:0;
	left:0;
	width: 100%;
	height: 40px;
	text-align:center;
	padding: 0px;
	border-top: solid 5px #EEBB22;
	color: #333333;
	background-color: #FFCC33;
} 
.board {
	width:96%;
	text-align:center;
	color:white;
	left: 12px;
	top: 12px;
	padding: 24px 12px 24px 12px;
	margin: 12px auto;
	background-color: rgb(28, 28, 28);
	border: 5px solid rgb(216, 113, 12);
	border-radius: 10px 10px 10px 10px;
}

/* LAYOUT END */

img {
	border: 0px;
}
#logo {
	float: left;
	width: 32px;
	height: 32px;
	border: 0px; 
	padding:5px;
}
h1 {
	text-align: center;
	margin: 0px;
	padding: 0px;
	display:inline-block;
}
#timer {
	float:right;
	margin: 0px;
	padding: 0px;
	width: 140px;
}
a, a:visited, a:active { 						/* link zwykły */
	color: rgb(172, 172, 172);
	text-decoration:none;
}
a:hover{ 								/* link aktywny */
	color: rgb(140,18,0);
	text-decoration: underline;
}
div.board a, div.board a:visited,  div.board a:active  { 			/* link w board */
	display: inline-block;
	padding: 5px 5px;
	margin: 5px;
	border: 5px solid rgb(12, 12, 12);
	border-radius: 10px 10px 10px 10px;
	font-size: 16px;
	font-weight: 600;
	text-align:center;
	text-decoration:none;
	text-transform:uppercase;
	color:white;
	background-color: rgb(28, 28, 28);
}
div.board a:hover {
	text-decoration:none;
	color:white;
	background-color: rgb(64, 64, 64);
}
div.board input[type=submit], div.board input[type=button]  { 		/* przycisk w board */
	display: inline-block;
	padding: 5px 5px;
	margin: 5px;
	border: 5px solid rgb(12, 12, 12);
	border-radius: 10px 10px 10px 10px;
	font-family: "Myriad Pro","Trebuchet Ms",sans-serif;
	font-size: 16px;
	font-weight: 600;
	text-align:center;
	text-decoration:none;
	text-transform:uppercase;
	color:white;
	background-color: rgb(28, 28, 28);
}
div.board input[type=submit]:hover, div.board input[type=button]:hover  {
	text-decoration:none;
	color:white;
	background-color: rgb(64, 64, 64);
}
div#footer a, div#footer a:visited,  div#footer a:active { 			/* link w stópce */
	display: inline-block;
	width: 24%;
	height: 100%;
	padding: 0px 0px;
	border-radius: 10px 10px 0px 0px;
	font-weight: 600;
	font-size: 20px;
	text-align: center;
	text-decoration:none;
	text-transform: uppercase;
	color: rgb(68, 68, 68);
	box-shadow: 8px 0px 25px 2px rgba(0, 0, 0, 0.5);
	transition: background 0.3s ease 0s;
	-moz-box-sizing: border-box;
}
div#footer a:hover{ /* link aktywny */
	text-decoration: none;
	color: white;
	transition: background 0.05s ease 0s;
	background: none repeat scroll 0% 0% #EEBB22;
}
div.board a.category, div.board a.category:visited,  div.board a.category:active { 			/* widok kategorii */
	display: inline-block;
	min-width:15%;
	padding: 32px 16px;
	margin: 5px;
	border: 5px solid rgb(12, 12, 12);
	border-radius: 10px 10px 10px 10px;
	font-size: 28px;
	font-weight: 600;
	text-align:center;
	text-decoration:none;
	text-transform:uppercase;
	color:white;
	background-color: rgb(28, 28, 28);
}
div.board a.category:hover {
	text-decoration:none;
	color:white;
	background-color: rgb(64, 64, 64);
}
div.board a.category_display, div.board a.category_display:visited,  div.board a.category_display:active { /* widok pytania */
	display: inline-block;
	float:right;
	min-width:15%;
	max-width:25%;
	padding: 32px 16px;
	margin: 5px;
	border: 5px solid rgb(12, 12, 12);
	border-radius: 10px 10px 10px 10px;
	font-size: 28px;
	font-weight: 600;
	text-align:center;
	text-decoration:none;
	text-transform:uppercase;
	background-color: rgb(28, 28, 28);
}
div.board a.category_display:hover {
	text-decoration:none;
	color:white;
	background-color: rgb(64, 64, 64);
}

/* DIVS INSIDE BOARD */

.info {
	color: #E20F16;
	font-size: 60px;
	line-height: 75px;
}
.question {
	width:100%;
	height:450px;
	/* border:2px solid pink; */

}
.question_in_answer {
	width:100%;
	height:200px;
	/* border:2px solid pink; */
}
.answer {
	width:100%;
	height:250px;
	color: #EEBB22;
	/* border:2px solid orange; */
}

/* END OF DIVS INSIDE BOARD */

.remaining {
	color:#ACACAC;
	font-size:20px;
}
table {
	margin: auto;
	border-collapse:collapse;
}
td {
	border: 1px solid darkgrey;
	text-align:left;
	padding:2px
}
td.onboard_l{
	text-align:right;
	border:0px;
}
td.onboard_r{
	text-align:left;
	border:0px;
}
/* divs with info */
.error_div {border: 1px solid rgb(226,0,38); margin: 5px; padding-top: 5px; padding-bottom: 5px; padding-left: 30px; padding-right: 5px; text-align: center; font-weight: bold; color: rgb(226,0,38); margin-left: auto; margin-right: auto; width: 50%; background-image:   url(img/blad.png); background-repeat:  no-repeat; background-position: 1% 50%;}
.success_div {border: 1px solid rgb(117,182,11); margin: 5px; padding-top: 5px; padding-bottom: 5px; padding-left: 30px; padding-right: 5px; text-align: center; font-weight: bold; color: rgb(117,182,11); margin-left: auto; margin-right: auto; width: 50%; background-image:   url(img/sukces.png); background-repeat:  no-repeat; background-position: 1% 50%;}
.asterisk_div {border: 1px solid rgb(0,68,118); margin: 5px; padding-top: 5px; padding-bottom: 5px; padding-left: 30px; padding-right: 5px; text-align: center; font-weight: bold; color: rgb(0,68,118); margin-left: auto; margin-right: auto; width: 50%; background-image:   url(img/pytanie.png); background-repeat:  no-repeat; background-position: 1% 50%;}
.info_div {border: 1px solid rgb(0,68,118); margin: 5px; padding-top: 5px; padding-bottom: 5px; padding-left: 30px; padding-right: 5px; text-align: center; font-weight: bold; color: rgb(0,68,118); margin-left: auto; margin-right: auto; width: 50%; background-image:   url(img/info.png); background-repeat:  no-repeat; background-position: 1% 50%;}
.tiny {font-size: 8pt; font-weight: normal; color: #666666}

.help_box {
	display: inline-block;
	position: absolute;
	color: #333333;
	background-color: #FFCC33;
	border: 5px solid #EEBB22;
	border-radius: 10px 10px 10px 10px;
	padding:5px;
	margin:0px;
}

.help_trigger {
	display:none;
	vertical-align: text-bottom;
	width: 16px;
	height: 16px;
	border: 0px; 
	padding:0px;
}
.login {
	text-align: right;
	font-size: 8pt;
	font-weight: normal;
	color: #555555;
	padding-top:5px;
	margin-bottom:0px;
	margin-right:20px;
	float:right;
}
.clearfix {
	clear: both;
}
.wyloguj {
	z-index:999;
	width:150px;
	height: 40px;
	border: 1px solid white;
	background-color: rgb(28, 28, 28);
	background-color: rgba(28, 28, 28,0.9);
	float: right;
	position: absolute;
	top: 15px;
	right: 0px;
	padding: 5px;
}