@charset "utf-8";

@font-face{
    font-family: 'Blinker';
    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;
	--strHighlightColor: MAROON;


	--strTitleColor:     #000000;
	--strHighlightColor: MAROON;
	

	--strFuncLightColor: #ffffff;
	--strFuncShadeColor: #7f7f7f;
	
	--strLinkColor:      #12AB29;
	--strVLinkColor:     #FC0E01;
	--strAnswerColor:    #ffffff;
	
	--strNavBarColor:    #000000;
	--strNavLightColor:  #7f7f7f;
	--strNavShadeColor:  #000000;
	--strNavTextColor:   #ffffff;
	
	--strPageBGColor:    aliceblue;
	--strExBGColor:      #FFFFFF;

	--strDDCardsBG: brown; /* amuzapavel's addition */
	--strDDCardsText: white; /* amuzapavel's addition */
}

body{
	font-family: var(--strFontFace);
	background-color: var(--strPageBGColor);
 	margin-right: 3%; /* original : 5% */
	margin-left: 3%; /* original : 5% */
	font-size: var(--strFontSize);
	padding-top: 0em;
	padding-bottom: 0.5em;
}

p{
	text-align: left;
	margin: 0px;
}

table,div,span,td{
	margin:0; padding:0;
}

div.Titles{
	padding: 0em;
	text-align: center;
	color: var(--strTitleColor);
	font-family: var(--strFontOther);
}

button{
	font-family: var(--strFontOther);
	font-size: 15pt;
	display: inline;
	margin:0px 10px;
}

.ExerciseTitle{
	font-size: 20pt; font-family: var(--strFontFace);
	color: var(--strTitleColor);
	text-transform: uppercase; text-decoration: underline;
}

.ExerciseSubtitle{
	font-size: 135%;
	color: var(--strTitleColor);
}

div.StdDiv, div.ReadingContainer{
	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 {
	text-align: center;
	padding:0px 2em;
	font-size: 1em;
	color: var(--strTextColor);
	min-width: 15em;
	flex-grow: 1;
	flex-basis: 0;
	margin: 1px;
}

/* AS : modification */
/* original version :  
div.ReadingContainer,div.ExerciseContainer{ 
	min-width: 15em;
	flex-grow: 1;
	flex-basis: 0;
	margin: 1px;
}*/

div.ReadingContainer{
	max-height: 5000em;/* to prevent fontboosting on touchdevices */
}

/*AS : end of modification*/


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; line-height:2;
	color:white!important; background-color: orange;
	padding: 0.25em;
}

.CorrectAnswer{
	font-weight: bold; line-height:2;
	color:white!important; background-color: green;
	padding: 0.25em;
}

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: 20pt;
	color: var(--strTextColor);
	text-align: left;
}

.RightItem{
	font-weight: bold;
	font-size: 20pt;
	color: var(--strTextColor);
	text-align: left;
}

span.CorrectMark{

}

input, textarea{
	font-family: var(--strFontFace);
	font-size: 125%;
	margin:0px 3px;
}

select{
	font-size: 1em;
}

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);
}



/* JMix styles */
div.JMixDrag, div.JMatchDrag{
	padding: 0;
	background-color: var(--strPageBGColor);
	border-style: none;
}

div#GuessDiv{
	padding: 0.5em;
	margin-bottom: 2em;
}

div#SegmentDiv{
	margin-top: 2em;
	margin-bottom: 2em;
	text-align: center;
}

a.ExSegment{
	font-size: 120%;
	font-weight: bold;
	text-decoration: none;
	color: var(--strTextColor);
	display: inline-block;
	padding: 0.5em;
	border: solid 1pt gray;
	margin-bottom: 0.5em;
}

span.RemainingWordList{
	font-style: italic;
}

div.DropLine {
	position: absolute;
	text-align: left;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: var(--strTitleColor);
	width: 80%;
	left: 10%;
}


/* Keypad styles */

/* Keypad styles */
div.Keypad{
	text-align: center;
	display: none; /* initially hidden, shown if needed */
	margin-bottom: 0.5em;
}
div.Keypad button{
	font-family: var(--strFontFace);
	font-size: 120%;
	background-color: #ffffff;
	color: #000000;
	width: 2em;
	border-style: solid;
	border-width: 1px;
	border-radius: 0.5em;
	color: var(--strTextColor);
	box-shadow: 0.2em 0.3em 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);
	margin:15px 5px;
}
.FuncButton:active {
	box-shadow: none;
}
.FuncButton:hover{
	color: var(--strExBGColor);
	background-color: var(--strTextColor);
}

/*BeginNavBarStyle*/

div.NavButtonBar{
	background-color: grey;
	text-align: center;
	width:150px;
	margin: 2px auto;
	border-radius:8px;
	position:relative;
	font-size: 1em;
	padding: 0.5em;
	box-sizing: border-box;
}

.NavButton {
	border-style: solid;
	border-radius: 0.5em;
	padding: 0.5em;
	min-width: 3em;
	
	border-left-color: var(--strNavLightColor);
	border-top-color: var(--strNavLightColor);
	border-right-color: var(--strNavShadeColor);
	border-bottom-color: var(--strNavShadeColor); 
	background-color: var(--strNavBarColor);
	color: var(--strNavTextColor);

	border-width: 1pt;
	cursor: pointer;	
	box-shadow: 0.2em 0.3em 0.2em var(--strNavShadeColor);
}

.NavButton:active {
	box-shadow: none;
}

.NavButton:hover{
	color: var(--strNavBarColor);
	background-color: var(--strNavTextColor);
}

/*EndNavBarStyle*/

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; font-weight: bold;
	letter-spacing:1px;
	border-style: solid; border-width: 1pt;
	/*border-radius: 0.5em;
	box-shadow: 0.2em 0.3em 0.2em var(--strTextColor);*/
	padding: 0.5em; min-width: 2em;
	/*color: var(--strTextColor);
	background-color: var(--strExBGColor);*//* 2 lines not needed*/
	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.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: 690px) {
#InstructionsDiv {
	font-size: 12pt;
}
button{
	font-size: 13pt;
	margin:0px 10px;
}
div.CardStyle {
	font-size: 16pt!important;
}

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: 480px) {



div.Feedback {
	left: 5%;
	top: 1%;
	width: 80%;
	border: solid 3px brown;
	padding: 15px;
	display: none;
	font-size:16pt;
	line-height: 1.5;
}
}

