@charset "utf-8";

/* CSS variables for colours. */
:root{
	--strFontFace:       Blinker,Geneva,Arial,sans-serif;
	--strFontOther:      Sintony-Bold;
	--strFontSize:       16pt;
	--strFontSizeInstruction: 13pt;
	--strTextColor:      #000000;
	--strTitleColor:     #000000;

	--strFuncLightColor: #ffffff;
	--strFuncShadeColor: #7f7f7f;
	--strLinkColor:      #0000FF;
	--strVLinkColor:     #0000CC;
	
	--strNavBarColor:    #000000;
	--strNavLightColor:  #7f7f7f;
	--strNavShadeColor:  #000000;
	--strNavTextColor:   #ffffff;
	
	--strPageBGColor:    aliceblue;
	--strExBGColor:      #FFFFFF;
}

@font-face{
    font-family: 'Blinker';
    font-style: normal;
    src: local('Blinker'),
         url('../../../../../fonts/Blinker.woff');
}

@font-face{
    font-family: 'Sintony-Bold';
    font-style: normal;
    src: local('Sintony-Bold'),
         url('../../../../../fonts/Sintony-Bold.woff');
}



/* This is the CSS stylesheet used in the exercise. */
/* Elements in square brackets are replaced by data based on configuration settings when the exercise is built. */



/* Made with executable version TexToys: Rhubarb Version 3.1 Release 0 Build 9 */

html {
  height:100%;
}
body {
	animation: fadeIn 1s;
	font-family: 'Blinker';
	background-color: #ffffff;
 	margin: 0 3%; padding:0;
}
@keyframes fadeIn{
	0% {opacity:0;background-color:#000;}
	90% {opacity:0;}
	100% {opacity:1;background-color:#fff;}
}

span, p {
	margin:0;	padding:0;
}


#frame1 { /* player */
	position:relative; display: block;
	width: 350px!important; height: 100px!important;
	margin: 0px auto 15px!important;
}


#frame_titles { /* slides */
	position:relative; display: block;
	width:100%; padding-bottom:35%;
	margin: 0px auto 15px auto!important;
	/*background-color: peru;*/
}
#iframe3 {
	position:absolute; display: block;
  width:100%; height:100%; border: none; overflow: hidden;
	margin: 0px auto!important;
	top: 0; left: 0; bottom: 0; right: 0;
}


.ExerciseTitle {
	font-size: 22pt; font-family: 'Sintony-Bold';
	color: black;
	text-align: center;
}
#InstructionsDiv {
	background-color: #E4E4E4;
	text-align: center;
	font-family: 'Sintony-Bold'; font-size: 14pt; line-height: 1.25;
	color: black;
	padding: 0.5em;
	margin: 0 0 15px 0;
	border-left:5px #5C5C5C solid; border-right:5px #5C5C5C solid;
}


div.StdDiv{
	display: block; position: relative;
	padding: 3px;
	background-color: DODGERBLUE;
}



.exerciseCont {
	display: flex; flex-direction: row; flex-wrap: wrap;
	width:100%; position: relative;
	justify-content: center;
	
}
.subCont1 {
	width:75%; display: block; position: relative;
	order:1;
}
.subCont2 {
	width:25%; display: block; position: relative;
	background-color: GAINSBORO;
	order:2;
}

/* <form> tags start */
#Rhubarb {
	display: flex; flex-direction: column; flex-wrap: nowrap; 
	width: 100%; position: relative;
	margin: 0px auto; padding: 0 auto;
	background-color: LIMEGREEN;
}
.inForm {
	display: block; flex-direction: column; flex-wrap: nowrap;
	justify-content: center; align-items: center;
	margin: 0; padding: 10px 0px 0px;
	order:1;
}
.inForm label {
	display: block!important; width:100%;
	text-align: center;
	margin:0 auto 5px;
	font-family: 'Blinker'; font-size: 14pt;
	color:white;
}
.inForm input {
	display: block;
	margin:0 auto 10px; padding: 0px;
	color:black; text-align: center;
	font-family: 'Blinker'; font-size: 16pt;
	outline: none;
	border-radius: 5px; border:1px solid transparent;
}
.inForm input:focus {
	border-radius: 5px; border:1px solid gray;
	margin:0 auto 10px; padding: 0px;
	box-shadow: -1px -1px 5px black;
	text-align:center;
}


.FuncButtons {
	display:block; position: relative;
	order:2;
}
.FuncButton {
	display: block; width: 145px;
	border: solid 1pt silver; border-radius: 0.5em;
	margin:4px auto; padding: 3px 6px;
	color: var(--strTextColor); background-color: var(--strExBGColor);
	cursor: pointer;
	font-size: 11pt; font-family: var(--strFontOther);
}
.FuncButton:active {
	box-shadow: none;
}
.FuncButton:hover{
	color: var(--strExBGColor); background-color: var(--strTextColor);
}


div.Keypad{
	display: block;
	margin: 10px auto; 
	text-align: center;
	order:3;
}
div.Keypad button {
	font-family: 'Blinker'; font-size: 15pt;
	font-weight: bold;
	color: white; background-color: FORESTGREEN;
	margin:0px 3px; padding:2px 6px;
	width: 1.6em;
	border: solid 1px transparent; border-radius: 8px;
	box-shadow: 0.1em 0.1em 0em black;
	cursor: pointer;
}
div.Keypad button:hover {
	color: FORESTGREEN; background-color:white;
}
/* <form> tags start */



/* incorrectWordsContainer start */
.IncorWordsContainer {
	display:block; width:100%;
	background-color: POWDERBLUE;
	margin:10px auto 0px;
}
#UsedBoxLabel {
	margin:0px;
}
#UsedBox {
	display:none; position: relative;
	width:100%!important;
	margin:0; padding: 5px;
	flex-direction: row; flex-wrap: wrap;
}
#UsedBox li {
	display:inline-block;
	padding: 3px 6px; margin:5px;
	background-color: orangered; color: white;
	list-style: none;
}
/* incorrectWordsContainer end */



.Label {   /* Score label + Incorrect words label */
	display:block;
	color: white; background-color:dodgerblue;
	text-align: center;
	font-family: 'Blinker'; font-size: 16pt;
	/*margin: 1em auto 1.5em; padding:10px;*/
}

/* scoreContainer start */
.ScoreContainer {
	display:block; width:100%;
	margin: 10px auto 0px;
	order:4;
}
#ScoreBox {   /* scorebox %%% 100% */
	display:none; min-width: 4em;
	color: white; background-color: CRIMSON;
	text-align: center;
	font-family: 'Blinker'; font-size: 21pt;
	margin: 0px auto; padding:0px;
}
/* scoreContainer end */



div#Timer{
	padding: 0.25em;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	color: #000000;
}
span#TimerText{
	padding: 0.25em;
	border-width: 1px;
	border-style: solid;
	font-weight: bold;
	display: none;
	color: #000000;
}



div.Story {
	background-color: white;
	border-radius: 12px 0 0 12px;
	padding:0px 0;
}
div.Story p {
	color: black; 
	font-family: 'Blinker'; font-size:17pt; line-height: 1.25; font-weight: normal;
	text-align: justify;
	padding: 0.5em 1em;
}




div.Feedback {
	position: absolute; display: none; 
	flex-direction: column; flex-wrap: wrap;
	justify-content: center; align-items: center; align-content: center;
	width:50%; height: 25%; 
	top: 50%; left: 50%; transform: translate(-50%,-50%);
	overflow: auto; margin: 0px; padding: 25px;
	z-index: 10;
	border-radius:8px; border: solid 3px brown;
	background-color: CORNSILK;
	box-shadow: 0.2em 0.3em 0.4em black;
	-moz-box-shadow: 0.2em 0.3em 0.4em black;
  -webkit-box-shadow: 0.2em 0.3em 0.4em black;
}
.FeedbackText {
	display:block; position: relative;
	color: saddlebrown;
	font-size:18pt; line-height: 1.5;
	text-align: center; font-family: 'Sintony-Bold';
}
#FeedbackOKButton {
	display: block; position: relative; width: 75px; height: 55px;
	border: solid 2px silver; border-radius: 0.5em;
	margin:4px 0px; padding: 3px 6px;
	color: var(--strTextColor); background-color: var(--strExBGColor);
	cursor: pointer;
	font-size: 15pt; text-align: center; font-family: 'Sintony-Bold';
	-moz-box-shadow: 4px 4px 0px 0px black;
  -webkit-box-shadow: 4px 4px 0px 0px black;
  box-shadow: 4px 4px 0px 0px black;
}
#FeedbackOKButton:hover {
	color: var(--strExBGColor); background-color: var(--strTextColor);
}



@media screen and (max-width: 980px) {
#frame_titles { /* slides */
	width:100%; padding-bottom:45%;
	margin: 0px auto 15px auto!important;
	/*background-color: peru;*/
}

#InstructionsDiv {
	font-size: 12pt;
	padding: 0.25em;
}
.exerciseCont {
	display: flex; flex-direction: column; flex-wrap: wrap;
}
.subCont1 {
	width:100%; display: block; position: relative;
	order:2;
}
.subCont2 {
	width:100%; position: relative;
	display: flex; flex-direction: column; flex-wrap: nowrap;
	align-content: flex-start; justify-content: flex-start;
	background-color: GAINSBORO;
	order:1;
}
#Rhubarb {
	display: flex; flex-direction: row; flex-wrap: wrap;
	width: 100%; position: relative;
	margin: 0px auto; padding:10px 0px 0px;
	background-color: LIMEGREEN;
	z-index: 10;
	order:1;
}
.inForm {
	display: block; flex-direction: column; flex-wrap: nowrap;
	justify-content: center; align-items: center;
	margin: 0; padding: 5px 0px 0px;
	width:50%;
}
.FuncButtons {
	display:block; width:50%;
	order:2;
}
.FuncButton {
	width: 150px;
	margin:6px auto; padding: 3px 6px;
	font-size: 12pt;
}
div.Keypad{
	display: block; width:100%;
}
.Label {   /* scorebox Your score is:.... */
	display:block; width:100%;
	order:3;
}
.ScoreContainer {
	display:block; width:100%;
	margin: 0px auto;
	order:4;
}
.IncorWordsContainer {
	display:block; width:100%;
	margin:0px auto;
	z-index: 1;
	order:0;
}
div.Story {
	border-radius: 0 0 12px 12px;
	padding:25px 0;
}
div.Story p {
	font-size:16pt; line-height: 1.25;
	padding: 0.5em 1em;
}

}


@media screen and (max-width: 690px) {
body {
 	margin: 0 0%; padding:0;
}

#frame_titles {
	width:100%; height: 350px;
	margin: 0px auto 15px auto!important; padding:0;
}
#iframe3 {
	width:100%; height: 350px;
}

#InstructionsDiv {
	font-size: 11pt;
	padding: 0.25em;
}
#Rhubarb {
	display: flex; flex-direction: column; flex-wrap: nowrap;
	width: 100%; position:relative;
	margin: 0px auto; padding:5px 0px;
	order:1;
}
.inForm {
	display: block; flex-direction: column; flex-wrap: nowrap;
	justify-content: center; align-items: center;
	margin: 0; padding: 5px 0px;
	width:100%;
}
.FuncButtons {
	display:block; width:100%;
	order:2;
}
div.Keypad{
	display: block; width: 100%;
	margin: 10px auto 5px; 
}
div.Keypad button {
	margin:0px 5px; padding:2px 6px;
	width: 2em;
}
div.Story {
	border-radius: 0 0 12px 12px;
	padding:10px 0;
}

}