@charset "utf-8";

@import url("base_00.css");
@import url("btn_00.css");


/* CSS variables for colours. */
:root{
	/* for JCloze drag the words */
	--strWordsSize: 15pt;
	--strWordsColor: black; /* color of the text of words in the list */
	--strWordsBorderColor: gray; /* color of the border of words in the list */
	--strWordsBG: white; /* background of words in the list */
	--strDroppedWord: blue;  /* for testmode */
	
	--strGapDroppedWord: gray; /* for test mode */
	--strGapBorderColor: silver; /* bordure inf&#195;&#169;rieure des gaps */
	--strGapDrop: white;   /*for practice mode and  test mode */
	--strGapDropCorrect: white;; /* for practice mode and check in testmode */
	--strGapDropIncorrect: white; /* for practice mode */
	--strGapEnter: silver; /* for practice mode and  test mode */
	--strGapCheckIncorrect: white;  /* for check in testmode */
	
	--strClueColor: white; /* color of the text of the clue marker (?) */
	--strClueBG: #00BFFF; /* color of the background of the clue marker (?) */
	--strClueBorderColor:#444; /* color of the border of the clue marker (?) */
}

/* WordsDiv o*/
#WordsDiv {
	display: flex; flex-direction: row; flex-wrap: wrap;
	justify-content: center; align-content: center; align-items: center;
	width:85%;
	border: solid 1px DODGERBLUE;
	border-top: solid 4px DODGERBLUE;
	border-radius: 0.5rem 0.5rem 0 0;
	background-color: #afeeee; 
	margin:0px auto; padding: 5px 40px;
}

ul.Words {        
	list-style:none;
	padding: 0px; margin:0;
	text-align: center;
}
ul.Words li.Word {
	display:inline-block; cursor:move;      
	margin: 3px 5px; padding:0px 6px;
	border: 2px solid white;
	background-color: white; color:black;
	border-radius: 6px;
	font-family: 'Blinker'; font-size:16pt;
}

/* for test mode and practice mode*/
/*ul.Words li.Word { 
	color: var(--strWordsColor);
	font-size:var(--strWordsSize);
}*/
ul.Words li.Word:hover { /* for test mode and practice mode*/
	color: white; background-color:DODGERBLUE;
	font-weight: bold;
	border: solid 2px white;
}

ul.Words li.Word--drop { /* for test mode */
	color: var(--strGapDroppedWord);
	text-decoration: line-through;
	}

ul.Words li.Word--fade { /* for test mode */
	opacity:0.4;
	}
/* WordsDiv x*/


.ClozeBody {
	display: block; width:100%;
	margin:5px auto; padding: 5px 0px;
	background-color: lavender;
}

.text_div {
	display: flex; flex-direction: row; flex-wrap: wrap; 
	margin: 0px 0; padding: 0px;
	background-color: #ffc87c;
	/*border-top:solid 4px darkslategray; border-bottom:solid 2px darkslategray;*/
}
.text_div .cloze_text {
	display: block;
	text-align: left; line-height: 1.55;
	font-family: 'Blinker'; font-size: 17pt; font-weight:normal; 
	margin: auto 0px; padding: 10px 0px;
}


/* gaps o*/

/* Color and font weight of the words in the solution */
/*span.GapSpan{
	font-weight: bold;
	color: green;
	letter-spacing: 1px;
	margin:0px 4px;
	background-color:white;
}*/

/* show solution */
.GapSpanCorrection { 
	display:inline;
	font-family: 'Blinker'; font-size: 17pt; font-weight: bold;
	color: white; background-color:darkorange;
	letter-spacing: 0.5px;
	padding: 2px 6px; margin:0px 3px;
	border-radius: 6px;
}
	
input.GapBox {
	font-family: 'Blinker'; font-size: 17pt; font-weight: bold;
	margin: 0; padding:0 4px;
	background-color: #ffc87c; border: 1px solid #ffc87c;
	/*border : same color as background-color, so invisible*/
	/*border : same width as in input.GapBox--enter*/
	color: black;
	border-bottom: 3px solid #701c1c;
	text-align : center; letter-spacing: 0.5px;
	outline: none;
}


input.GapBox--enter{
  color:silver;
	border: 1px solid var(--strGapEnter);
} 

input.GapBox--drop--tm{
	color:black ;
	background-color:orange;
	border-bottom: 0px;
} 

input.GapBox--retour--tm{
	color:var(--strGapDrop) ;
	border-bottom: 3px solid var(--strGapBorderColor);
	opacity:0.5;
}

input.GapBox--retour--pm{
	color:var(--strGapDropIncorrect);
	border-bottom: 3px solid var(--strGapBorderColor);
	background-color:red;
	opacity:0.5;
}

/* for test mode */
input.GapBox--check--incorrect{
	color: white;	background-color:red;
	border: none; 
}  


/* for practice mode */
input.GapBox--drop--correct{ 
	color: white; background-color:green;
	border: none;
} 
/* for practice mode */
input.GapBox--drop--incorrect{ 
	color: white; background-color:red;
	border: none;
} 
/* gaps x*/


/***************************************/
/* Added by Agn&#195;&#168;s Simonet  */
/* For DHTMLtooltip_JCdw glosses (clues) 
/***************************************/
#dhtmltooltip_JCdw{
	position: absolute; max-width: 40%;
	border-left: 10px solid green; border-radius: 6px; 
	padding:4px 8px 4px 5px; 
	background-color: gold;
	visibility: hidden; z-index: 100; 
	/* opacity:0.8;*/
	box-shadow: 4px 4px 5px #888;
	font-family: 'Blinker'; font-size: 18pt; font-weight: bold;
} 

#dhtmltooltip_JCdw img {
	border:1px solid black;
	margin-left:auto;
	margin-right:auto;
	text-align:center;
	max-width: 100%;
	display:block;
	
}
	
.clue {
	cursor:help;
	font-family: 'Blinker'; font-size: 18pt; font-weight:bold;
	color:var(--strClueColor); background-color:var(--strClueBG);
	/*border: 1px solid var(--strClueBorderColor);*/
	border-radius: 8px 0 8px 0;
	margin:0px 3px; padding: 0px 6px; 
	/*padding: 0.1em 0.5em;  for i or Help */
	line-height:1;
}
	
/*  END glosses with dhtmltooltip_JCdw    */ 



a{
	color: var(--strLinkColor);
}

a:visited{
	color: var(--strVLinkColor);
}

a:hover{
	color: var(--strLinkColor);
}


/* Audio Gloss style */
/* for html5 audio mini button (author : Stan Bogdanov ; modified by AS) */

a:link.gloss ,
a:visited.gloss ,
a:active.gloss {
	display: inline-block;
	font-family: Arial;
	color: var(--strGlossColor);
	background-color: var(--strGlossBGColor);
	font-weight: bold;
	cursor:pointer;
	text-decoration: none;
	border: 1px solid #777;
	width: 1.5em;
    height: 1.5em;
    line-height: 1.5;  /*for JCloze */
    border-radius: 50%;
    padding: 0.25em;
    text-align: center;
}

a:hover.gloss {
	color: var(--strGlossBGColor);
	background-color: var(--strGlossColor);
	border: 1px solid #444; 
}

a:link.gloss ,
a:visited.gloss ,
a:active.gloss,
a:hover.gloss {
	outline: 0 none;
}

a:link.tooltip ,
a:visited.tooltip ,
a:active.tooltip {
	display: inline-block;
	cursor:help;
	color: var(--strTextColor);
	text-decoration: underline dotted;
	border: none;
	padding: 0;
}
a:hover.tooltip {
	outline: 0 none;
	text-decoration:none;
}



@media screen and (max-width: 980px) {
#WordsDiv {
	width:95%;
}
.text_div .cloze_text {
	text-align: justify;
	margin: auto 0px; padding: 10px 0px;
}
}

@media screen and (max-width: 690px) {
#WordsDiv {
	width:100%;
	padding: 5px 10px;
}
.text_div .cloze_text {
	text-align: justify;
	margin: auto 0px; padding: 10px 0px;
}

}

