@charset "utf-8";
/* 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. */

/* BeginCorePageCSS */

/* Made with executable version 7.0 Release 3 Build 0 */
@font-face{
    font-family: 'Blinker';
    font-style: normal;
    src: local('Blinker'),
         url('Blinker.woff');
}
@font-face{
    font-family: 'Sintony-Bold';
    font-style: normal;
    src: local('Sintony-Bold'),
         url('Sintony-Bold.woff');
}


/* CSS variables for colours. */
:root{
	--strFontFace:       Blinker,Geneva,Arial,sans-serif;
	--strFontOther:      Sintony-Bold;
	--strFontSize:       16pt;
	--strFontSizeInstruction: 14pt;
	--strTextColor:      #000000;
	--strTitleColor:     #000000;

	--strFuncLightColor: #ffffff;
	--strFuncShadeColor: #7f7f7f;
	--strLinkColor:      #0000FF;
	--strVLinkColor:     #0000CC;
	
	--strNavBarColor:    #000000;
	--strNavLightColor:  #7f7f7f;
	--strNavShadeColor:  #000000;
	--strNavTextColor:   #ffffff;
	
	--strPageBGColor:    aliceblue;
	--strExBGColor:      #FFFFFF;
}

body{
	font-family: var(--strFontFace);
	background-color: white;
 	margin-right: 2%;	margin-left: 2%;
	font-size: var(--strFontSize);
	padding-top: 0.5em;	padding-bottom: 0.5em;
}

p{
	text-align: left;
	margin: 0px;
}

.coloured-list {
	list-style: none;
	padding: 0;
	margin:0;
}
.coloured-list li {
	padding: 7px 5px;
	margin-bottom: 10px;
	border-radius: 5px;
	border-left: 5px solid transparent!important;
	border-right: 5px solid transparent!important;
	box-shadow: 2px -2px 5px 0 rgba(0,0,0,.1),
     					-2px -2px 5px 0 rgba(0,0,0,.1),
   	 					2px 2px 5px 0 rgba(0,0,0,.1),
    					-2px 2px 5px 0 rgba(0,0,0,.1);

	transition: 0.3s all linear;
}
.coloured-list li:hover {
	border-left: 5px solid coral!important;
	border-right: 5px solid coral!important;}



table,div,span,td{
	margin:0;
	padding:0;
}

div.Titles{
	padding: 0.5em;
	text-align: center;
	color: var(--strTitleColor);
	font-family: var(--strFontOther);
}

button{
	font-family: var(--strFontOther);
	font-size: 15pt;
	display: inline;
}

.ExerciseTitle{
	font-size: 160%;
	color: var(--strTitleColor);
}

.ExerciseSubtitle{
	font-size: 135%;
	color: var(--strTitleColor);
}

div.StdDiv, div.ReadingContainer{
	background-color: var(--strExBGColor);
	text-align: center;
	font-size: var(--strFontSize);
	padding: 0.5em;
	margin-bottom: 10px;
}
#InstructionsDiv {
	background-color: #E4E4E4;
	text-align: center;
	font-size: var(--strFontSizeInstruction);
	font-family: var(--strFontOther);
	color: black;
	padding: 0.5em;
	margin-bottom: 15px;
	border-left:5px #5C5C5C solid;
	border-right:5px #5C5C5C solid;
}
div.ExerciseContainer {
	background-color: var(--strExBGColor);
	text-align: center;
	padding:0px 2em;
	font-size: 1em;
	color: var(--strTextColor);
	flex-grow: 1;
	flex-basis: 0;
	margin: 1px;
}
#WordsDiv {
	border-style: solid;
	border-width: 1px 1px 1px 1px;
	border-color: saddlebrown;
	border-radius: 0.5rem;/*added by AS */
	background-color: #FFFACD;
}

div.ReadingContainer {
	min-width: 15em;
	flex-grow: 1;
	flex-basis: 0;
	margin: 1px;
	max-height: 5000em;/* to prevent fontboosting on touchdevices */
}


div#ContainerDiv{
	margin: -1px;
	padding: 0;
	border: none;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
}

/* EndCorePageCSS */


.Guess{
	font-weight: bold;
}

.CorrectAnswer{
	font-weight: bold;
}

div#Timer{
	padding: 0.25em;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	color: var(--strTitleColor);
}

span#TimerText{
	padding: 0.25em 0.5em;
	border-width: 1px;
	border-radius:8px;
	border-style: solid;
	font-weight: bold;
	display: none;
	color: var(--strTitleColor);
}

span.Instructions{

}

div.ExerciseText{

}

.FeedbackText, .FeedbackText span.CorrectAnswer, .FeedbackText span.Guess, .FeedbackText span.Answer{
	color: saddlebrown;
}

.LeftItem{
	font-size: 1em;
	color: var(--strTextColor);
	text-align: left;
}

.RightItem{
	font-weight: bold;
	font-size: 1em;
	color: var(--strTextColor);
	text-align: left;
}

span.CorrectMark{

}

input, textarea{
	font-family: var(--strFontFace);
	font-size: 17pt;
}
select + button {
	margin-left:2px!important;
}
select{
	font-size: 17pt; font-weight: bold; letter-spacing:0.5px;
	font-family: var(--strFontFace); text-align: center!important;
	color: darkorange;
	margin:0px; padding:0px 2px;
	border:2px solid darkorange;
	border-top-left-radius: 8px; border-top-right-radius:8px;
}
select:hover {
	color: black; background-color: white;
	border:2px solid gray;
}
select:active {
	color: black!important; background-color: white!important;
	border:2px solid white;
}
select:focus {
	color: black; background-color: rgb(222, 241, 253)!important;
	border-top-left-radius: 8px; border-top-right-radius:8px;
	font-weight: bold!important;
}
option {
	color:black; background-color: lightgray;
	text-align: center!important;
}
option:checked {
	color: red!important; background-color: white!important;

}



div.Feedback {
	background-color: CORNSILK;
	left: 33%; width: 34%; top: 33%;
	z-index: 10;
	border-radius:8px; border: solid 3px brown;
	padding: 25px;
	text-align: center;
	position: absolute;
	display: none;
	font-family: var(--strFontOther);
	font-size:17pt; line-height: 1.5;
}

div.ExerciseDiv{
	color: var(--strTextColor);
}



/* JCloze styles */


div.ExerciseContainer{
	max-height: 5000em;
	}
div.ClozeBody {
	font-weight: normal;
	font-size:17pt; line-height: 2;
	text-align: justify;
	margin-top: 2em;	margin-bottom: 2em;
	cursor: default;
}

span.GapSpan {
	font-weight: bold;
	letter-spacing: 1px;
	color: white !important; background-color: green;
	border-top-left-radius: 8px; border-top-right-radius:8px;
}

.GapSpanCorrection {
	font-weight: normal;
	color: green;
	text-decoration:none;
}

.GapSpanDetected {
	font-weight: bold;
	color: white;
	background-color:green;
	padding: 1px 4px;
	border-radius:10px;
	text-decoration:none;
	}	

.GapSpanUnDetected {
	font-weight: bold;
	color: white;
	background-color:darkblue;
	padding: 1px 4px;
	border-radius:10px;
	text-decoration:none;
	}

.ClozeWordList{
	text-align: center;
	font-weight: bold;
}


/* Keypad styles */

div.Keypad{
	display: block;
	text-align: center;
	display: none; /* initially hidden, shown if needed */
	margin-top:-10px;
	margin-bottom: 0.5em;
}

div.Keypad button{
	font-family: var(--strFontFace);
	font-size: 110%;
	background-color: #ffffff;
	margin:0px 3px;
	width: 1.8em;
	border-style: solid;
	border-width: 1px;
	border-radius: 8px;
	color: var(--strTextColor);
	box-shadow: 0.2em 0.25em 0.2em var(--strTextColor);
}

.FuncButton {
	border-style: solid;
	border-radius: 0.5em;
	padding: 0.5em;
	min-width: 3em;

	border-color: silver;
	color: var(--strTextColor);
	background-color: var(--strExBGColor);

	border-width: 1pt;
	cursor: pointer;	
	box-shadow: 0.2em 0.3em 0.2em var(--strFuncShadeColor);

}

.FuncButton:active {
	box-shadow: none;
}

.FuncButton:hover{
	color: var(--strExBGColor);
	background-color: var(--strTextColor);
}
.FuncButton + .FuncButton {
	margin:0px 5px;
}

a{
	color: var(--strLinkColor);
}

a:visited{
	color: var(--strVLinkColor);
}

a:hover{
	color: var(--strLinkColor);
}

div.CardStyle {
	position: absolute;
	font-family: var(--strFontFace);
	font-size: 1em;
	border-style: solid;
	border-radius: 0.5em;
	padding: 0.5em;
	min-width: 2em;
	border-width: 1pt;
	color: var(--strTextColor);
	box-shadow: 0.2em 0.3em 0.2em var(--strTextColor);
	background-color: var(--strExBGColor);
	left: -50px;
	top: -50px;
	overflow: visible;
	touch-action: none;
	user-select: none;
	box-sizing: border-box;
}

div.CardStyleCentered{
	text-align: center;
}

@media screen and (max-width: 980px) {

div.ClozeBody {
		font-size:17pt;	line-height: 1.75;
		text-align: justify;
		margin-top: 1.5em;	margin-bottom: 1.5em;
}
div.Feedback {
	left: 20%; width: 50%; top: 90%;
	padding: 20px;
	text-align: center;
	position: absolute; 
	display: none;
	font-size:17pt; line-height: 1.5;
}
}

@media screen and (max-width: 650px) {
	body{
		margin-right: 10px!important;	margin-left: 10px!important;
 }
 #InstructionsDiv {
	 font-size: 12pt;
 }
 div.StdDiv, div.ExerciseContainer {
	 margin-right: 0px!important; margin-left: 0px!important;
	 padding:5px 5px!important;
 }
 .coloured-list {
	 text-align: justify;
 }
 .linebreak {
	 display:inline;
 }
 div.ClozeBody {
	 font-size:15pt;	line-height: 1.5;
	 text-align: justify;
	 margin-top: 1em;	margin-bottom: 1em;
 }
button{
	font-size: 13pt;
	margin:0px 10px;
}
select {
	font-size: 15pt; letter-spacing:0.5px;
}
div.Feedback {
	left: 10%; width: 75%; top: 60%;
	border: solid 3px brown;
	padding: 20px;
	display: none;
	font-size:16pt; line-height: 1.5;
}
}

@media screen and (max-width: 420px) {

input, textarea{
		font-size: 15pt;
}
select + button {
		margin-left:2px!important;
}
select{
		font-size: 15pt;	letter-spacing:1px;
}
div.ClozeBody {
		font-size:14pt; line-height: 1.3;
		text-align: justify;
		margin-top: 0.75em;	margin-bottom: 0.75em;
}

div.Feedback {
	left: 5%;
	top: 1%;
	width: 80%;
	border: solid 3px brown;
	padding: 15px;
	display: none;
	font-size:16pt;
	line-height: 1.5;
}
}

