@charset "utf-8";

/* CSS variables for colours. */
:root{
	--strTextColor:      #000000;
	--strFuncShadeColor: #7f7f7f;
	--strExBGColor:      #FFFFFF;
	--strFontFace:       Blinker,Geneva,Arial,sans-serif;
	--strFontOther:      Sintony-Bold;
}

@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');
}

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;
}

#frame_titles { /* slides */
	position:relative; display: block;
	width:100%; padding-bottom:35%;
	margin: 0px auto 5px auto!important;
	/*background-color: peru;*/
}
#iframe2 {
	position:absolute; display: block;
  width:100%; height:100%; border: none; overflow: hidden;
	margin: 0px auto!important;
	top: 0; left: 0; bottom: 0; right: 0;
}

div.StdDiv {
	display: block; position: relative;
	width:100%; padding: 0px 0px 30px 0px;
	background-color: white;
	text-align: center;
	/*border: solid 2px #5C5C5C; border-radius:0 0 12px 12px;*/
}


.ExerciseTitle{
	font-size: 24pt; 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;
}

.media-container {
	position:relative; display:flex; flex-direction: column; flex-wrap: nowrap;
	align-items: center; align-content: center; justify-content: center;
	margin: 0 auto 5px;
	/*width:300px; height:150px;*/
	/*background-color: TURQUOISE;*/
}
.media-in {
	/*display:none;*/
}
.fragment {
	position:relative;	display:inline-block;
	font-size:21pt; color:white; background-color: DARKSLATEGRAY;
	text-align: center; font-weight: bold;
	margin: 0; padding:4px 16px;
	border-radius: 8px 8px 0 0;
}
.fragment-text {
	position:relative;	display:block;
	max-width: 950px;
	background-color:LAVENDER; color:darkslategray;
	font-size:18pt; line-height: 1.15;
	text-align: center; font-weight: bold;
	margin: 0px auto 5px; padding:8px 16px;
	border-top: solid 3px darkslategray;
}
#ChoiceDiv iframe {
	position:relative; display:block;
	/*background-color:greenyellow;*/
	height: 75px!important; width: 250px!important;
}

.Story iframe {
	position:relative; display:block;
	/*background-color:greenyellow;*/
	height: 70px!important; width: 225px!important;
	margin:0px!important; padding:0px!important;
}

#media-01, #media-02, #media-03, #media-04, #media-05, #media-06, #media-07  {
	display:none;
}
#m-congrat, #mc2 {
	display:none;
}


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;
}


table.ExerciseTable { /* answer variants DIV */
	display:block; width:100%;
	margin: 0px auto; padding: 10px 0px;
	/*background-color:#F0E6F0;*/
}
tbody {
	display: flex!important; flex-direction: row; flex-wrap: wrap;
	align-items: center; align-content: center; justify-content: center;
}
tbody tr td {
	width:45%;
}
/* gaps between each answer, table style */
table td:first-child { 
	padding: 10px 10px 10px 0px!important; /* letters, gap left = 0, top/bottom = 10 */
}
table td { 
padding: 10px 10px 10px 0px!important; 
}

/*table td::before, table td::after {
	content: '';
	display: block!important; position:relative!important;
	width:100%!important; height:10px!important;
	background-color:purple;
}*/


button#ShowWholeText{
	display: none;
}

.FuncButtonLetter { /* answer buttons */
	display: block !important; width:55px; height:45px;
	text-align: center;
	color:white; background-color: slateblue;
	border:solid 2px darkslateblue;
	border-radius:8px 0 0 8px;
	padding: 3px 6px 3px 6px;
	cursor: pointer;
	font-size: 16pt; font-weight: bold;
	font-family: 'Blinker';
}
.FuncButtonLetter:hover {
	color:darkslateblue; background-color: white;
	border:solid 2px darkslateblue;
	padding: 3px 6px 3px 6px;
	cursor: pointer;
}
.Choice { /* answer text */
	
}



div.Story { /* story lines -the whole text- */
	display:flex; position: relative;
	flex-direction: row; flex-wrap: wrap; gap: 5px;
	align-items: flex-start; align-content: flex-start; justify-content: flex-start;
	margin: 25px 0 0 0; padding: 1em 1.5em; min-height:2.5em;
	border-top: solid 4px DARKSLATEGRAY; border-bottom: solid 4px DARKSLATEGRAY;	
	color: black; background-color: LEMONCHIFFON;
}


.Label {   /* scorebox Your score is:.... */
	display:inline-block;
	color: black; background-color:yellow;
	text-align: center;
	font-family: 'Sintony-Bold'; font-size: 20pt;
	margin: 0.5em auto 1em; padding:10px;
}
#ScoreBox {   /* scorebox %%% 100% */
	display:inline; min-width: 4em; min-height: 63px;
	color: black; 
	text-align: center;
	font-family: 'Sintony-Bold'; font-size: 24pt;
	padding:10px 5px 10px 5px; margin: auto !important;
	border-radius:8px;
}





.FuncButton {
	display: inline; min-width: 145px; height:2.5em;
	border: solid 2px lightseagreen; border-radius: 0.5em;
	margin:4px 8px; padding: 3px 6px;
	color: var(--strTextColor); background-color: var(--strExBGColor);
	cursor: pointer;
	font-size: 13pt; font-family: var(--strFontOther);
	-moz-box-shadow: 4px 4px 0px 0px teal;
  -webkit-box-shadow: 4px 4px 0px 0px teal;
  box-shadow: 4px 4px 0px 0px teal;
}
.FuncButton:active {
	box-shadow: none;
}
.FuncButton:hover{
	color: var(--strExBGColor); background-color: teal;
	border: solid 2px floralwhite;
}


div.Feedback {
	position: absolute; display: none; 
	flex-direction: column; flex-wrap: wrap;
	justify-content: center; align-items: center; align-content: center;
	width:50%; height: 50%; 
	top: 50%; left: 50%; transform: translate(-50%,-20%);
	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:16pt; line-height: 1.5;
	text-align: center; font-family: 'Sintony-Bold';
	margin:5% auto 25px;
}
#FeedbackOKButton {
	display: block; position: relative; width: 75px; height: 55px;
	border: solid 2px brown; border-radius: 0.5em;
	margin:0 auto; padding: 3px 6px;
	color: maroon; background-color: var(--strExBGColor);
	cursor: pointer;
	font-size: 15pt; text-align: center; font-family: 'Sintony-Bold';
		-moz-box-shadow: 4px 4px 0px 0px maroon;
  -webkit-box-shadow: 4px 4px 0px 0px maroon;
  box-shadow: 4px 4px 0px 0px maroon;
}
#FeedbackOKButton:hover {
	color: var(--strExBGColor); background-color: maroon;
	border: solid 2px floralwhite;
}




@media screen and (max-width: 980px) {
#frame_titles { /* slides */
	width:100%; padding-bottom:45%;
	margin: 0px auto!important;
}

#InstructionsDiv {
	font-size: 12pt; padding: 0.25em; line-height: 1.25;
}

.fragment {
	font-size:19pt;
}
.fragment-text {
	font-size:17pt; line-height: 1.15;
	margin: 0px auto 5px; padding:8px 12px;
}

#ChoiceDiv iframe {
	position:relative; display:block;
	/*background-color:greenyellow;*/
	height: 65px!important; width: 200px!important;
}
.Story iframe {
	position:relative; display:block;
	/*background-color:greenyellow;*/
	height: 65px!important; width: 200px!important;
	margin:5px!important; padding:0px!important;
}

tbody tr td {
	width:100%;
}
table.ExerciseTable { /* answer variants DIV */
	display:block; width:75%;
	margin: 0px auto; padding: 5px 0px;
	/*background-color:#F0E6F0;*/
}
/* gaps between each answer, table style */
table td:first-child { 
	padding: 5px 5px 5px 0px!important; /* letters, gap left = 0, top/bottom = 10 */
}
table td { 
padding: 5px 5px 5px 0px!important; 
}


.Choice { /* answer text */
	font-size: 17pt; 
}

div.Story { /* story lines -the whole text- */
	justify-content: center;
}

.Label {   /* scorebox Your score is:.... */
	font-size: 19pt;
}
#ScoreBox {   /* scorebox %%% 100% */
	font-size: 22pt;
}

div.Feedback {
	width:60%; height: 45%;
}
.FeedbackText {
	color: saddlebrown;
	font-size:17pt;
}
}



@media screen and (max-width: 690px) {
body {
 	margin: 0;
}
#InstructionsDiv {
	font-size: 11pt; padding: 0.25em;
}

#frame_titles {
	width:100%; height: 350px;
	padding:0;
}
#iframe2 {
	width:100%; height: 350px;
}

.fragment {
	font-size:18pt;
}
.fragment-text {
	font-size:16pt; line-height: 1.25;
	margin: 0px auto 5px; padding:4px 10px;
}

tbody {
	flex-direction: column;
}
tbody tr td {
	width:100%;
}
/* gaps between each answer, table style */
table td:first-child { 
	padding: 0px 0px 0px 0px!important; /* letters, gap left = 0, top/bottom = 10 */
}
table td { 
padding: 0px 0px 0px 0px!important; 
}


#ChoiceDiv iframe {
	position:relative; display:block;
	/*background-color:greenyellow;*/
	height: 60px!important; width: 185px!important;
	margin:0px!important; padding:0px!important;
}
.Story iframe {
	position:relative; display:block;
	/*background-color:greenyellow;*/
	height: 60px!important; width: 185px!important;
	margin:0px!important; padding:0px!important;
}


.Choice { /* answer text */
	font-size: 16pt; line-height: 1.35;
}


.Label {   /* scorebox Your score is:.... */
	font-size: 17pt;
}
#ScoreBox {   /* scorebox %%% 100% */
	font-size: 20pt;
}


.FuncButton {
	font-size: 14pt;
	border-style: solid;
	padding: 0.35em; margin:0px 10px;
}
div.Feedback {
	width:80%; height: 40%;
}
.FeedbackText {
	color: saddlebrown;
	font-size:16pt;
}
}

