
html, body {
   height: 100%;
}


body {
    margin: 0;
    padding: 0;
    background-color: gray;
    font-family: 'Open Sans', sans-serif;
}






#header {
	position: relative;
}

#header-logo {
    position: absolute;
    top: 0px;
    left: 0px;
	z-index: 100;
}

#header-close-button {
	position: absolute;
	right: 0px;
	top: 0px;
	cursor: pointer;
	z-index: 100;
}


/*---------- ALL SCREEN  ----------*/
div#module-game-div {
	width: 100%;
    position: absolute;
    overflow: hidden;
    height: 100%;
}

#game-screen-start {
    position: absolute;
    width: 100%;
    height: 100%;
	overflow: hidden;
	display: none;
}

div#game-screen-create-players {
    min-height: 100%;
    overflow: auto;
    position: absolute;
    width: 100%;
    display: none;
}

div#game-screen-question {display: none;}

div#game-screen-quiz-winner {display: none;}

div#game-screen-student-spinner {
    min-height: 100%;
    overflow: auto;
    display: none;
}

#game-screen-rounds-winners {
    width: 100%;
    height: 100%;
    display: none;
	overflow-y: auto;
}

#game-screen-final-round {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
}




/*----------  SCREEN CREATE PLAYERS  ----------*/

#start-screen-intro-image {
    position: absolute;
    display: block;
    width: auto;
    z-index: 1;
}

div#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 2;
}

#start-screen-next-screen-button {
	cursor: pointer;
}






/*----------  SCREEN CREATE PLAYERS  ----------*/



p#create-player-input-label {
	width: 450px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-size: 25px;
	margin-bottom: 10px;
}

p#criteria-label {
	width: 450px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-size: 15px;
}


#create-player-input-wrapper {
    margin-top: 15px;
    margin-left: auto;
    width: 450px;
    height: 60px;
    margin-right: auto;
}

#create-player-input {
    height: 60px;
    width: calc(80% - 20px);
    border: 0px solid;
    display: block;
    float: left;
    font-size: 20px;
    padding: 0px;
    padding-left: 20px;
}

#create-player-input:focus {
	border: 0px solid #26d293;
}

.create-player-input-submit {
    display: block;
    float: right;
    text-align: center;
    width: 20%;
    height: 60px;
    background-color: #3C8EFD;
    cursor: pointer;
}

.create-player-input-submit p {
    color: white;
    padding: 0px;
    margin: 0px;
    line-height: 60px;
    font-size: 20px;
}


.table {
	display: table;   /* Allow the centering to work */
	margin: 0 auto;
}

ol#player-list {
    height: 100px;
    padding: 0px;
    margin: 0px;
    margin-top: 15px;
	overflow-y: auto;
	overflow-x: hidden; 
}

ol#player-list li.player-list-label {
    float: left;
    color: white;
    font-size: 20px;
    width: 230px;
    list-style: none;
    height: 50px;
    margin-left: 15px;
    cursor: pointer;
}

p.player-list-label-disc {
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    background-color: rebeccapurple;
    text-align: center;
    line-height: 40px;
    float: left;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    margin-top: 5px;
    margin-right: 10px;
}

p.player-list-label-text {
    margin: 0;
    padding: 0;
    line-height: 50px;
    max-width: 180px;
    float: left;
    overflow: hidden;
}


#create-player-next-screen-button {
	position: absolute;
	bottom: 0px;
	cursor: pointer;
	/*display: none;*/
}










/*----------  SCREEN STUDENT SPINNER  ----------*/

div#spinner-container {
    position: absolute;
    width: 0px;
    height: 0px;
    overflow: hidden;
    top: 0px;
    left: 0px;
}

img#spinner1 {
    display: block;
    position: absolute;
    top: calc(50% - 250px);
    left: calc(50% - 520px);
}

img#spinner2 {
    display: block;
    position: absolute;
    top: calc(50% - 250px);
    left: calc(50% + 20px);
}

#spin-wheel-button {
	position: absolute;
	bottom: 0px;
	cursor: pointer;
}

img#left-needle {
    position: absolute;
    left: calc(50% - 55px);
    top: calc(50% - 20px);
}

img#right-needle {
    position: absolute;
    left: calc(50% + 27px);
    top: calc(50% - 20px);
}

#student-spinner-next-screen-button {
	position: absolute;
	bottom: 0px;
	cursor: pointer;
}

.spinner-winner {
    color: white;
    font-family: 'Luckiest Guy', cursive;
    font-size: 50px;
    position: absolute;
}

img#vs-icon {
    position: absolute;
}

img#lucky-looser-badge {
	position: absolute;
}








/*----------  SCREEN QUESTION  ----------*/



/*----------  GENERAL POPUP  ----------*/
.popup {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
}

/*----------  TURN POPUP  ----------*/
img#turn-popup-ok-button {
	position: absolute;
	bottom: 0px;
	cursor: pointer;
}

img#turn-popup-image {
	position: absolute;
}

#turn-popup-label {
	font-family: 'Luckiest Guy', cursive;
    font-size: 60px;
	position: absolute;
	margin: 0;
	top: 20px;
}




/*----------  CONGRATULATION POPUP  ----------*/
#congratulation-popup {
	display: none;
}

img#congratulation-image {
    position: absolute;
    bottom: 0;
}

#congratulation-popup-label {
	font-family: 'Luckiest Guy', cursive;
    font-size: 60px;
	position: absolute;
	margin: 0;
}



/*----------  CRUTIAL POPUP  ----------*/
img#crutial-popup-header-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

div#crutial-popup-footer {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
}

img#crutial-popup-ok-button {
    display: block;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}

#crutial-popup-content-container {overflow: hidden;
	text-align: center;
	
}

p#crutial-popup-name-label {
	margin: 0;
	padding-top: 15px;
	padding-bottom: 5px;
}

/*#crutial-popup-content-container:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}*/

p#crutial-popup-label {
	color: #ffffff;
	font-family: 'Open Sans', sans-serif;
	display: inline-block;
	vertical-align: middle;
	font-size: 30px;
	margin: 0;

	padding-bottom: 15px;
	padding-top: 5px;
}


/*----------  GAME WINNER POPUP  ----------*/

#trophy-background {
	position: absolute;
}

#trophy-image {
    position: absolute;
}

p#winner-popup-label {
    position: absolute;
    color: white;
    font-family: 'Luckiest Guy', cursive;
    font-size: 60px;
}

#winner-play-again-button {
	position: absolute;
	bottom: 0;
	cursor: pointer;
}




#question-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 50px;
    position: absolute;
    margin: 0;
    color: #ffffff;
    width: 80%;
    text-align: center;
    bottom: 10px;
}


#question-screen-footer {
    position: absolute;
    left: 0px;
    bottom: 0px;
    
    width: 100%;
}

.user-answer-area {
    width: 100%;
    overflow: hidden;
}

#user1-answer-area {

}

#user2-answer-area {
	
}

.user-label {
	font-family: 'Open Sans', sans-serif;
	font-style: normal;
	font-weight: 400;
    color: #ffffff;
    line-height: 50px;
    padding: 0;
    margin: 0;
    width: 200px;
    overflow: hidden;
    text-align: center;
    float: left;
}

.answer-icon {
    float: left;
    margin-right: 10px;
}


#question-area {
    position: absolute;
    width: 100%;
    height: 100px;
    left: 0px;
}


div#question-wrapper {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.question-item-wrapper {
    width: 50%;
    height: 50%;
    float: left;
    overflow: hidden;
}

.question-item {
    background-color: #ffffff;
    border: 5px solid #ffffff;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    margin-left: 10px;
    margin-top: 20px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
}

.color-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.color-wrapper:hover {
	background-color: #F5F5F5;
}

.answer-tag {
    position: absolute;
    width: 50px;
    background-color: #383838;
    border-radius: 5px;
    text-align: center;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    top: 0;
    bottom: 0;
    left: 0;
}

.answer-tag p {
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 30px;
    text-align: center;
    line-height: 50px;
    line-height: -200px;
    margin: 0;
    padding: 0px;
}

.answer-button {
    color: #35373B;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    word-break: break-word;
    width: calc(100% - 70px);
    padding-left: 60px;
    padding-right: 20px;
    font-size: 25px;
    cursor: pointer;
}




/*----------  SCREEN FINALE  ----------*/

img#final-round-next-button {
    position: absolute;
    bottom: 0;
    cursor: pointer;
    display: none;
}

div#final-round-container {
	position: absolute;
	width: 100%;
	overflow: hidden;
}

#final-round-vs-icon {}

img#final-round-vs-icon {
    position: absolute;
}

.final-round-player-label {
	color: white;
	font-family: 'Luckiest Guy', cursive;
	font-size: 60px;
	position: absolute;
	margin: 0;
}


/*----------  SCREEN ROUND WINNERS  ----------*/

img#round-winners-next-button {
	position: absolute;
	bottom: 0;
	display: none;
	cursor: pointer;
}

div#round-winners-container {
    overflow-x: hidden;
    padding-bottom: 90px;
}

ul#round-winners-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

li.round-winners-list-item {
    text-align: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 60px;
    font-family: 'Open Sans', sans-serif;
    font-size: 25px;
}





















