/*	
#################################
# Table of contents				#
#################################

-----------------------------------
 - modal
 - content
 - categories
 - playboard
 - playboard / question
 - playboard / alternatives
 - playboard / tplDefault
 - playboard / tplImage
 - playboard controls & buttons
 - score
 - button end of session
 - loader
-----------------------------------
*/

.modal .modal-dialog-xl, .modal-dialog-xl {
    width: 1020px!important;
}

#content > div {
	display: table-cell;
	vertical-align: middle;
	height: 100%;
}

/* ######################### Categories ######################### */
.categories {
	text-align: center;
}
.categories ul {
	list-style: none;
}
.pill {
	-webkit-border-radius: 5px;
			border-radius: 5px;
	border: 1px solid transparent;
	overflow: hidden;
	font: bold 1em/1.2em Arial, sans-serif;
	display: inline-block;
	vertical-align: middle;
	position: relative;
	margin: 5px;
	width: 	100px;
	height: 60px;
	background: #FBFBFB;
}

.pill-size-1 {width: 80px;height: 60px; font-size: 0.8em;}
.pill-size-2 {width: 90px;height: 66px; font-size: 0.9em;}
.pill-size-3 {width: 100px;height: 72px; font-size: 1em;}
.pill-size-4 {width: 110px;height: 78px; font-size: 1.1em;}
.pill-size-5 {width: 120px;height: 84px; font-size: 1.2em;}
.pill-size-6 {width: 130px;height: 90px; font-size: 1.3em;}
.pill-size-7 {width: 140px;height: 96px; font-size: 1.4em;}
.pill-size-8 {width: 150px;height: 102px; font-size: 1.5em;}
.pill-size-9 {width: 160px;height: 108px; font-size: 1.6em;}
.pill-size-10 {width: 170px;height: 114px; font-size: 1.7em;}

.pill:hover {
	cursor: pointer;
	-webkit-box-shadow: 1px 1px 2px 1px #ccc;
			box-shadow: 1px 1px 2px 1px #ccc;
}
.pill.disabled {
	color: #fff;	background-color: #aaa;	border-color: #999;
}
.pill.disabled:hover {
	cursor: default;
	-webkit-box-shadow: none;
			box-shadow: none;
}

/*ul li.score-min, .score-min	{color: #333333;	background-color: #ffffff;	border-color: #cccccc;}*/
ul li.score-min, .score-min	{color: #333333;	background-color: #eeeeee;	border-color: transparent;}
.score-1	{color: #a94442;	background-color: #f2dede;	border-color: #ebccd1;}
.score-2	{color: #cc3c36;	background-color: #fbe9d5;	border-color: #f9d4be;}
.score-3	{color: #8a6d3b;	background-color: #fcf8e3;	border-color: #faebcc;}
.score-4	{color: #31708f;	background-color: #d9edf7;	border-color: #d9edf7;}
.score-max {color: #ffffff;	background-color: #4ea04e;	border-color: #4cae4c;}

.score-min:hover	{color: #000000;	background-color: #eeeeee;	border-color: #999999;}
.score-1:hover		{color: #fff;		background-color: #d9534f;	border-color: #d43f3a;}
.score-2:hover		{color: #fff;		background-color: #f0ad4e;	border-color: #eea236;}
.score-3:hover		{color: #444;		background-color: #fff18a;	border-color: #ffc46a;}
.score-4:hover		{color: #fff;		background-color: #5bc0de;	border-color: #46b8da;}
.score-max:hover	{color: #fff;		background-color: #4ea04e;	border-color: #4cae4c;}

.disabled .pb	{background-color: #999;}
.score-1 .pb	{background-color: #ebb;}
.score-2 .pb	{background-color: #ffd7aa;}
.score-3 .pb	{background-color: #fcf2c2;}
.score-4 .pb	{background-color: #afd9ee;}

.score-1:hover .pb	{background-color: #bf4341;}
.score-2:hover .pb	{background-color: #ea992e;}
.score-3:hover .pb	{background-color: #ffde67;}
.score-4:hover .pb	{background-color: #3fadcc;}

.pill .pb-pill {
	position: absolute;
	left: 0;
	height: 100%;
}
.pill .category-caption {
	position: relative;
	display: table;
	width: 100%;
	height: 100%;
}
.pill .category-caption > div {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	padding: 3px;
}

.pill-popover {
	overflow: auto
}
.pb-bkg, .pb-bkg .pb, .popover-score {
	height: 30px;
	position: absolute;
	width: 100%;
}
.pb-bkg {
	position: relative;
	border: 1px solid #aaa;
	overflow: hidden;
}
.popover-score {
	font: bold 26px Arial, sans-serif;
	text-align: center;
}
.disabled .popover-score {
	color: #aaa;
}
#modalCategories .categories {
	overflow: auto
}

/* ######################### playboard ######################### */
#playboard {
    margin: 0 auto;
}

#playboard .txt-shining {
	text-align: center;
	margin: 0;
    line-height: 80px;
}
#playboard .txt-shining + ul {
	padding: 0 3em;
}
#modalCategories .txt-shining + ul {
	padding: 0;
}

/* ######################### playboard / question ######################### */
#playboard .question {
    font: bold 29px 'SegoePrint', Arial, Verdana, sans-serif;
	color: #333;
    text-align: center;
}

/* ######################### playboard / alternatives ######################### */
#playboard .answers ul {
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
#playboard .answers .alternativeImg li {
    position: relative;
	padding: 10px;
}
#playboard .answers ul li {
    padding: 0 10px 3px;
    margin: 5px 10px;
    font: 25px 'SegoePrint', Arial, sans-serif;
	border: 2px solid transparent;
}
#playboard .answers ul li.clickable:hover,
#playboard .answers ul li.selected	{
	border: 2px solid #f50;
	background: #fff;
	border-radius: 10px;
}
#playboard .answers ul li.clickable:hover {
	cursor: pointer;
	border: 2px solid #fa0;
}
#playboard .answers ul li.newLine {
    display: block;
    margin: 0;
    padding: 0;
}
#playboard .missedGoodAnswer {
	border-radius: 10px;
    border: 2px dashed #0a0 !important;
	background: #dfa !important;
	font-weight: bold;
}
#playboard .goodAnswer {
	font-weight: bold;
	border-radius: 10px;
    border: 2px solid #0a0 !important;
	background: #dfa !important;
}
#playboard .proofReadingTick {
	position: absolute;
}
#playboard .tplDefault .answers, 
#playboard .tplImage .answers {
	height: 340px;
}

/* ######################### playboard / tplDefault ######################### */
#playboard .tplDefault {
	display: table;
	height: 100%;
	width: 100%;
}
#playboard .tplDefault .question,
#playboard .tplDefault .answers {
	display: table-row;
	text-align: center;
}
#playboard .tplDefault .answers ul {
	margin: 20px 0;
}
#playboard .tplDefault .answers > div {
	display: table-cell;
	vertical-align: middle;
}
#playboard .tplDefault .answers .altImg {
	display: inline-block;
}
#playboard .tplDefault .answers .altNewLine {
	width: 0px; height: 0px;
	padding: 0;	margin: 0;
}
#playboard .tplDefault .image {
	display: table-cell;
	vertical-align: middle;
}
/* ######################### playboard / tplImage ######################### */	
#playboard .tplImage .answers {
	display: table;
	border-collapse: separate;
	border-spacing: 20px;
	margin: 0 auto;
}	
#playboard .tplImage .answers ul {
	text-align: left;
	display: table-cell;
	vertical-align: middle;
}
#playboard .tplImage .answers ul li {
	width: auto;
}
#playboard .tplImage .image {
	display: table-cell;
	text-align: right;
	vertical-align: middle;
}
#playboard .tplImage .img-btw-2-cols {
	width: 200px;
	text-align: center;
}
#playboard .tplImage .answers ul li .altAudio {
	margin-right: 20px;
}
/* ######################### playboard / tplList ######################### */
#playboard .tplList .answers {
	display: table;
	border-collapse: separate;
	border-spacing: 20px;
	margin: 0 auto;
}	
#playboard .tplList .answers ul {
	text-align: left;
	display: table-cell;
	vertical-align: middle;
}
#playboard .tplList .answers ul li {
	width: auto;
}

/* ################### playboard controls & buttons ################### */
#playboard + .controls {
    clear: both;
    text-align: center;
	height: 46px
}

/* ######################### score ######################### */
#scoreSession {
	background: url('/img/common/gui/chalk-board.png') top left no-repeat;
	position: absolute;
	margin-top: 10px;
	right: 100px;
	width: 113px;
	height: 77px;
	color: #fff;
	text-align: center;
	font: bolder 30px/75px SegoePrint, Arial, sans-serif;
}

/* ######################### button end of session ######################### */
#btnEndOfSession {
	position: absolute;
	bottom: 70px;
	right: 135px;
}
#btnEndOfSession:hover {
	cursor: pointer;
}
/* ######################### button change settings ######################### */
#btnChangeSettings {
	position: absolute;
	bottom: 120px;
	right: 135px;
}
#btnChangeSettings:hover {
	cursor: pointer;
}

/* ######################### button change category ######################### */
#btnChangeCategory {
	position: absolute;
	left: 80px;
	margin-top: 10px;
	z-index: 10;
	text-align: center;
}

/* ######################### loader ######################### */
#loader {
	padding: 20px;
	border-radius: 10px;
	position: absolute;
	border: 1px solid #eee;
	background-color: #fff;
	left: 50%;
	top: 250px;
	z-index: 20;
	margin-left: -36px;
	box-shadow: 2px 2px 3px #333;
	filter: progid:DXImageTransform.Microsoft.Shadow(color='#333333', Direction=135, Strength=12);
	zoom: 1;
}