
/* 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 [strFullVersionInfo] */

/* added by Agnès Simonet for Jmatch add-ons v2.0.3 (January 2020):
         css variables (line 57 in hp7.cs_)
         div.DCardStyle
         div.DCardStyle_JMSV
         div.FCardStyle_JMH
         div.FCardStyle_JMS
         div.FCardStyle_JMSV
         div.TitleCardStyle_JMS
         div.TitleCardStyle_JMSV
         div.MapStyle_JMM
         Audio Gloss style for mini audio player

   modified by Agnès Simonet for Jmatch add-ons v2.0.3 (January 2020):
         body: margin-right: 1%; margin-left: 1%; instead of 5%
         div.CardStyle (now only used at the very beginning of the display.)
         split of div.ExerciseContainer and div.ReadingContainer to be able to change the widths via HeaderCode
         div.StdDiv, div.ExerciseContainer, div.ReadingContainer: border-radius: 0.5rem; added
         div.NavButtonBar: padding: 0.4em; (instead of 0.2em to avoid the shadow to be out of the div)
         div.ReadingContainer: max-height: 5000em; added to prevent fontboosting on touchdevices     
   
   added by Agnès Simonet for JMM v2.0.3 (18 January 2020)
         div.DCardStyle_JMM
         
   added by Agnès Simonet for JCloze d&d v1.0 (xx January 2020)
         css variables
         styles for gaps and list of words
         styles for clues (dhmltooltip)
   
*/



/* CSS variables for colours. */
:root{
	--strFontFace:       [strFontFace];
	--strFontSize:       [strFontSize];
	--strTextColor:      [strTextColor];
	--strTitleColor:     [strTitleColor];

	--strFuncLightColor: [strFuncLightColor];
	--strFuncShadeColor: [strFuncShadeColor];
	--strLinkColor:      [strLinkColor];
	--strVLinkColor:     [strVLinkColor];
	[inclNavBarColor]
	--strNavBarColor:    [strNavBarColor];
	--strNavLightColor:  [strNavLightColor];
	--strNavShadeColor:  [strNavShadeColor];
	--strNavTextColor:   [strNavTextColor];
	[/inclNavBarColor]
	[inclPageBGColor]
	--strPageBGColor:    [strPageBGColor];
	[/inclPageBGColor]
	[inclExBGColor]
	--strExBGColor:      [strExBGColor];
	[/inclExBGColor]
	
	/* added by AS */
	/* for JMatch add-ons */
	--strBorderWidth_IfDropped: 3px; /* for JMH */
	--strBorderWidth_IfUnDropped: 1px; /* for JMH,JMM */
	--strBorderColor_IfUnDropped: silver; /* for JMH, JMM */
	--strBorderWidth_IfChecked: 3px; /* for JMM */
	--strAreaBGColor: white;  /*for JMM */
	--strAreaBorderColor: silver; /* for JMM */
	--strMapBorderWidth: 5px; /* for JMM */
	--strMapBorderColor: silver; /* for JMM */
	--strMapPadding: 50px; /* for JMM */
	--strCatTitleBGColor: gold; /* for JMS and JMSV */
	--strCatTitleFontSize: 1.5em; /* for JMS and JMSV */
	--strCatTitleFontWeight: bold; /* for JMS and JMSV */
	--strCatBoxBGColor: [inclExBGColor] [strExBGColor]; [/inclExBGColor] /* for JMS and JMSV */
	
	--strGlossColor: green;  /*for mini audio button */
	--strGlossBGColor: gold;  /*for mini audio button */
	
	/* for JCloze drag the words */
	--strWordsColor: [strTextColor]; /* color of the text of words in the list */
	--strWordsBorderColor: silver; /* color of the border of words in the list */
	--strWordsBG: Gainsboro; /* background of words in the list */
	--strDroppedWord: blue;  /* for testmode */
	
	--strGapDroppedWord: blue; /* for test mode */
	--strGapBorderColor: silver; /* bordure inférieure des gaps */
	--strGapDrop: blue;   /*for practice mode and  test mode */
	--strGapDropCorrect: [strLinkColor];; /* for practice mode and check in testmode */
	--strGapDropIncorrect: [strVLinkColor]; /* for practice mode */
	--strGapEnter: silver; /* for practice mode and  test mode */
	--strGapCheckIncorrect: [strVLinkColor];  /* for check in testmode */
	
	--strClueColor: green; /* color of the text of the clue marker (?) */
	--strClueBG: gold; /* color of the background of the clue marker (?) */
	--strClueBorderColor:#444; /* color of the border of the clue marker (?) */
}



body{
	font-family: var(--strFontFace);
[inclPageBGColor]	background-color: var(--strPageBGColor);[/inclPageBGColor]
	color: var(--strTextColor);
[inclGraphicURL]	background-image: url([strGraphicURL]);[/inclGraphicURL] 
	margin-right: 1%; /* original : 5% */
	margin-left: 1%; /* original : 5% */
	font-size: var(--strFontSize);
	padding-bottom: 0.5em;
}

p{
	text-align: left;
	margin: 0px;
	font-size: 1em;
}

table,div,span,td{
	font-size: 1em;
	color: var(--strTextColor);
}

div.Titles{
	padding: 0.5em;;
	text-align: center;
	color: var(--strTitleColor);
}

button{
	font-family: var(--strFontFace);
	font-size: 1em;
	display: inline;
}

.ExerciseTitle{
	font-size: 140%;
	color: var(--strTitleColor);
}

.ExerciseSubtitle{
	font-size: 120%;
	color: var(--strTitleColor);
}

div.StdDiv, div.ExerciseContainer, div.ReadingContainer{
[inclExBGColor]	background-color: var(--strExBGColor);[/inclExBGColor]
	text-align: center;
	font-size: 1em;
	color: var(--strTextColor);
	padding: 0.5em;
	border-style: solid;
	border-width: 1px 1px 1px 1px;
	border-color: var(--strTextColor);
	margin-bottom: 1px;
	border-radius: 0.5rem;/*added by AS */
}

/* AS : modification */
/* original version :  
div.ReadingContainer,div.ExerciseContainer{ 
	min-width: 15em;
	flex-grow: 1;
	flex-basis: 0;
	margin: 1px;
}*/

div.ReadingContainer{
	min-width: 15em;
	flex-grow: 1;
	flex-basis: 0;
	margin: 1px;
	max-height: 5000em;/* to prevent fontboosting on touchdevices */
}

div.ExerciseContainer{
	min-width: 15em;
	flex-grow: 1;
	flex-basis: 0;
	margin: 1px;
}
/*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 */

.RTLText{
	text-align: right;
	font-size: 150%;
	direction: rtl;
	font-family: "Simplified Arabic", "Traditional Arabic", "Times New Roman", var(--strFontFace); 
}

.CentredRTLText{
	text-align: center;
	font-size: 150%;
	direction: rtl;
	font-family: "Simplified Arabic", "Traditional Arabic", "Times New Roman", var(--strFontFace); 
}

button p.RTLText{
	text-align: center;
}

.RTLGapBox{
	text-align: right;
	font-size: 150%;
	direction: rtl;
	font-family: "Times New Roman", var(--strFontFace);
}

.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;
	border-width: 1px;
	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: var(--strTitleColor);
}

.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: 120%;
}

select{
	font-size: 1em;
}

div.Feedback {
[inclPageBGColor]	background-color: var(--strPageBGColor);[/inclPageBGColor]
	left: 33%;
	width: 34%;
	top: 33%;
	z-index: 1;
	border-style: solid;
	border-width: 1px;
	padding: 5px;
	text-align: center;
	color: var(--strTitleColor);
	position: absolute;
	display: none;
	font-size: 1em;
}


[inclReading]

.ReadingText{
	text-align: left;
}

#ReadingDiv h3.ExerciseSubtitle{
	color: var(--strTextColor);
}

[/inclReading]

div.ExerciseDiv{
	color: var(--strTextColor);
}

/* JMatch standard output table. */
table.MatchTable{
	margin: 2em auto; 
	border-width: 0;
}

/* JMatch flashcard styles */
table.FlashcardTable{
	background-color: transparent;
	color: var(--strTextColor);
	border-color: var(--strTextColor);
	margin-left: auto;
	margin-right: auto;
	margin-top: 2em;
	margin-bottom: 2em;
	/*width: 90%;*/
	position: relative;
	text-align: center;
	padding: 0px;
}

table.FlashcardTable tr{
	border-style: none;
	margin: 0px;
	padding: 0px;
[inclExBGColor]	background-color: var(--strExBGColor);[/inclExBGColor]
}

table.FlashcardTable td.Showing{
	font-size: 140%;
	text-align: center;
	width: 50%;
	display: table-cell;
	padding: 2em;
	margin: 0px;
	border-style: solid;
	border-width: 1px;
	border-radius: 0.5em;
	color: var(--strTextColor);
	box-shadow: 0.2em 0.3em 0.2em var(--strNavShadeColor);
[inclPageBGColor]	background-color: var(--strPageBGColor);[/inclPageBGColor]
}

table.FlashcardTable td.Hidden{
	display: none;
}

/* JMix styles */
div.JMixDrag, div.JMatchDrag{
	padding: 0;
[inclPageBGColor]	background-color: var(--strPageBGColor);[/inclPageBGColor]
	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%;
}

/* JCloze styles */
/*
.ClozeWordList{
	text-align: center;
	font-weight: bold;
}
*/
div.ClozeBody{
	text-align: left;
	margin-top: 2em;
	margin-bottom: 2em;
	line-height: 2.0
}

span.GapSpan{
	font-weight: bold;
	color: var(--strGapDropCorrect);
}

/* JCross styles */

table.CrosswordGrid{
	margin: auto auto 1em auto;
	border-collapse: collapse;
	padding: 0px;
	background-color: #000000;
}

table.CrosswordGrid tbody tr td{
	width: 1.5em;
	height: 1.5em;
	text-align: center;
	vertical-align: middle;
	font-size: 140%;
	padding: 1px;
	margin: 0px;
	border-style: solid;
	border-width: 1px;
	border-color: #000000;
	color: #000000;
}

table.CrosswordGrid span{
	color: #000000;
}

table.CrosswordGrid td.BlankCell{
	background-color: #000000;
	color: #000000;
}

table.CrosswordGrid td.LetterOnlyCell{
	text-align: center;
	vertical-align: middle;
	background-color: #ffffff;
	color: #000000;
	font-weight: bold;
}

table.CrosswordGrid td.NumLetterCell{
	text-align: left;
	vertical-align: top;
	background-color: #ffffff;
	color: #000000;
	padding: 1px;
	font-weight: bold;
}

.NumLetterCellText{
	cursor: pointer;
	color: #000000;
}

.GridNum{
	vertical-align: super;
	font-size: 66%;
	font-weight: bold;
	text-decoration: none;
	color: #000000;
}

.GridNum:hover, .GridNum:visited{
	color: #000000;
}

table#Clues{
	margin: auto;
	vertical-align: top;
}

table#Clues td{
	vertical-align: top;
}

table.ClueList{
  margin: auto;
}

td.ClueNum{
	text-align: right;
	font-weight: bold;
	vertical-align: top;
}

td.Clue{
	text-align: left;
}

div#ClueEntry{
	text-align: left;
	margin-bottom: 1em;
}

/* 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);
}

/* JQuiz styles */

div.QuestionNavigation{
	text-align: center;
}

.QNum{
	margin: 0em 1em 0.5em 1em;
	font-weight: bold;
	vertical-align: middle;
}

textarea{
	font-family: var(--strFontFace);
}

.QuestionText{
	text-align: left;
	margin: 0px;
	font-size: 1em;
}

.Answer{
	font-size: 120%;
}

.PartialAnswer{
	font-size: 120%;
	letter-spacing: 0.1em;
	color: var(--strTitleColor);
}

.Highlight{
	color: #000000;
	background-color: #ffff00;
	font-weight: bold;
	font-size: 120%;
}

ol.QuizQuestions{
	text-align: left;
	list-style-type: none;
}

li.QuizQuestion{
	padding: 1em;
	border-style: solid;
	border-width: 0px 0px 1px 0px;
}

ol.MCAnswers{
	text-align: left;
	list-style-type: upper-alpha;
	padding: 1em;
}

ol.MCAnswers li{
	margin-bottom: 1em;
}

ol.MSelAnswers{
	text-align: left;
	list-style-type: lower-alpha;
	padding: 1em;
}

div.ShortAnswer{
	padding: 1em;
}

.FuncButton {
	border-style: solid;
	border-radius: 0.5em;
	padding: 0.5em;
	min-width: 3em;
[inclExBGColor]
	border-left-color: var(--strFuncLightColor);
	border-top-color: var(--strFuncLightColor);
	border-right-color: var(--strFuncShadeColor);
	border-bottom-color: var(--strFuncShadeColor);
	color: var(--strTextColor);
	background-color: var(--strExBGColor);
[/inclExBGColor]
	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);
}

/*BeginNavBarStyle*/

div.NavButtonBar{
[inclNavBarColor]	background-color: var(--strNavBarColor);[/inclNavBarColor]
	text-align: center;
	margin: 0.25rem 0;
	clear: both;
	font-size: 1em;
	padding: 0.4em;/* instead of 0.2em to avoid the shadow of the button to be out of the div */
	box-sizing: border-box;
}

.NavButton {
	border-style: solid;
	border-radius: 0.3em;
	padding: 0.5em;
	min-width: 3em;
[inclNavBarColor]	
	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);
[/inclNavBarColor]
	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 {
	/* to avoid display of cards before the change of class for L_n and R_n */
	position: absolute;
	left: -50px;
	top: -50px;
}
/* AS for JMH, JMS, JMSV
/* AS modifications: for card styles use of rem instead of em to have the same border-radius and box-shadow for the cards, regardless of the font-size  */
div.FCardStyle_JMH, div.FCardStyle_JMS, div.FCardStyle_JMSV, div.TitleCardStyle_JMS, div.TitleCardStyle_JMSV, div.FCardStyle_JMM, div.DCardStyle, div.DCardStyle_JMSV, div.DCardStyle_JMM {
	position: absolute;
	font-family: var(--strFontFace);
	font-size: 1em;
	border-style: solid;
	padding: 0.5em;
	min-width: 2em;
	border-width: 1pt;
	color: var(--strTextColor);
	box-shadow: 0.2rem 0.3rem 0.2rem var(--strTextColor);/* AS : rem instead of em*/
[inclExBGColor]	background-color: var(--strExBGColor);[/inclExBGColor]
	left: -50px;
	top: -50px;
	overflow: visible;
	touch-action: none;
	user-select: none;
	box-sizing: border-box;
}

div.FCardStyle_JMH {
	border-radius: 0.5rem;/*AS : rem instead of em*/
	text-align: center;
	/* for horizontal and vertical alignement
	display:flex;
    justify-content:center;
    align-items:center;
	flex-direction: column; 
	*/
}

div.FCardStyle_JMS {
	z-index: 60; /*AS : upon TitleCard */
	border-radius: 0 0 0.5rem 0.5rem;/*AS : rem instead of em*/
	background-color: var(--strCatBoxBGColor);
	text-align: center;
	/* for horizontal and vertical alignement
	display:flex;
    justify-content:center;
    align-items:center;
	flex-direction: column;
	*/
}

div.TitleCardStyle_JMS {
	z-index: 50; /*AS : under FCard to mask the bottom box-shadow*/
	border-radius: 0.5rem 0.5rem 0 0;/*AS : rem instead of em*/
	background-color: var(--strCatTitleBGColor);
	font-size: var(--strCatTitleFontSize);
	font-weight: var(--strCatTitleFontWeight);
	text-align: center;
}

div.FCardStyle_JMSV {
	z-index: 60; /*AS : upon TitleCard */
	border-radius: 0 0.5rem 0.5rem 0;/*AS : rem instead of em*/
	background-color: var(--strCatBoxBGColor);
	text-align: center;
	/* for vertical alignement
	display:flex;
    align-items:center;
	flex-direction: column;
	*/
}

div.TitleCardStyle_JMSV {
	z-index: 50; /*AS : under FCard to mask the right box-shadow*/
	border-radius: 0.5rem 0 0 0.5rem;/*AS : rem instead of em*/
	background-color: var(--strCatTitleBGColor);
	font-size: var(--strCatTitleFontSize);
	font-weight: var(--strCatTitleFontWeight);
	text-align: center;
	/* for vertical alignement */
	display:flex;
    align-items:center;
	/*flex-direction: column; */
	
}	

div.FCardStyle_JMM {
	border-width: 1px;
	border-color: var(--strAreaBorderColor);
	box-shadow: none;
	padding: 0em;
	text-align: center;
	min-width: 0;
    background-color: var(--strAreaBGColor);
}
	
div.DCardStyle {
	z-index: 70; /*AS : for "fixed" cards upon TitleCard and FCard  */
	border-radius: 0.5rem;/*AS : rem instead of em*/
	border-color: var(--strBorderColor_IfUnDropped);
	text-align: center;/**/
}

div.DCardStyle_JMSV, div.DCardStyle_JMM {
	z-index: 70; /*AS : for "fixed" cards upon TitleCard and FCard  */
	border-radius: 0.5rem;/*AS : rem instead of em*/
	border-color: var(--strBorderColor_IfUnDropped);
}

/* image JMM*/
div.MapStyle_JMM {
	position: absolute;
	/*z-index: 100;*/
	box-sizing: border-box;
	font-family: var(--strFontFace);
	/*font-family: Verdana,Geneva,Arial,sans-serif;*/
	font-size: 100%;
	padding: var(--strMapPadding);
	border-style: solid;
	border-width: var(--strMapBorderWidth);
	border-color: var(--strMapBorderColor);
	color: #000000;
	opacity: 1;
	background-color: #FFFFFF;
	left: -500px; /* -50px; */
	top: -500px; /* -50px; */
	overflow: visible;
	text-align: center;
	/* for horizontal and vertical alignement
	display:flex;
    justify-content:center;
    align-items:center;
	flex-direction: column;
	*/
}

/*unused*/
div.CardStyleCentered{
	text-align: center;
}

/* 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;
}
.rtl{
	text-align: right;
	font-size: 140%;
}

/****************************************** */
/* Added by Agnes Simonet and Stan Bogdanov */
/* For JCloze drag & drop   */ 
/****************************************** */

.ClozeWordList{
	text-align: center;
}

div.ClozeBody{
	text-align: left;
	margin-top: 2em;
	margin-bottom: 2em;
	line-height: 2.0;
}

ul.boxy {        
	list-style:none;
	padding: 0px;
	margin:0;
	height: auto;        
	text-align: center;
	width: auto;
	
}
ul.boxy li {
	cursor:move;
	display:inline-table;   /* Stan: ugly but works */         
	margin-right: 0.5%;
	margin-bottom: 2px;
	padding:2px;
	border: 1px solid var(--strWordsBorderColor);
	background-color: var(--strWordsBG); 
	font-size: 100%;
	border-radius: 5px;
}

ul.boxy li.Word { /* for test mode and practice mode*/
	color: var(--strWordsColor);
	}

ul.boxy li.Word--drop { /* for test mode */
	color: var(--strGapDroppedWord);
	}

ul.boxy li.Word--fade { /* for test mode */
	opacity:0.4;
	}
	
span.GapSpan{
	/* Color and font weight of the words in the solution */
	font-weight: bold;
	/*color: var(--strGapDropCorrect);*/
}
	
input.GapBox{
	font-size: 100%;
	margin-right: 0px;
	margin-left: 0px;
	margin-bottom: 2px;
	background-color: [strExBGColor];
	/*border : same color as background-color, so invisible*/
	/*border : same width as in input.GapBox--enter*/
	border: 1px solid [strExBGColor];
	text-align : center;
	outline: none;
	
	color:[strTextColor];
	border-bottom: 3px solid var(--strGapBorderColor);
}

input.RTLGapBox{
	font-size: 100%;
	margin-right: 0px;
	margin-left: 0px;
	margin-bottom: 2px;
	background-color: [strExBGColor];
	/*border : same color as background-color, so invisible*/
	/*border : same width as in input.GapBox--enter*/
	border: 1px solid [strExBGColor];
	text-align : center;
	outline: none;
	
	color:[strTextColor];
	border-bottom: 3px solid var(--strGapBorderColor);
}

input.GapBox--enter{
  	color:silver;
	border: 1px solid var(--strGapEnter);
} 

input.GapBox--drop--tm{
	color:var(--strGapDrop) ;
	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);
	opacity:0.5;
}

input.GapBox--check--incorrect{
	color:var(--strGapCheckIncorrect);
	border-bottom: 0px;  /* for test mode */
}  

input.GapBox--drop--correct{ /* for practice mode */
	color:var(--strGapDropCorrect);
	border-bottom: 0px;
} 
  
input.GapBox--drop--incorrect{ /* for practice mode */
	color:var(--strGapDropIncorrect);
	border-bottom: 0px;
} 

/* end of css for jcloze drag and drop */

/***************************************/
/* Added by Stan Bogdanov  */
/* For DHTMLtooltip glosses (clues) 
/***************************************/
#dhtmltooltip{
	position: absolute; 
	max-width: 30%;
	border-left: 5px solid green; 
	border-right: 1px solid #333;
	border-top: 1px solid  #333;
	border-bottom: 1px solid #333;
	padding:8px; 
	background-color: gold;
	visibility: hidden; 
	z-index: 100; 
	border-radius: 5px;
	/* opacity:0.8;*/
	box-shadow: 4px 4px 5px #888;
} 

#dhtmltooltip img {
	border:1px solid black;
	margin-left:auto;
	margin-right:auto;
	text-align:center;
	max-width: 100%;
	display:block;
}
/*  END glosses with dhtmltooltip    */ 

/***************************************/
/* Added by Agnès Simonet  */
/* For DHTMLtooltip_JCdw glosses (clues) 
/***************************************/
#dhtmltooltip_JCdw{
	position: absolute; 
	max-width: 30%;
	border-left: 5px solid green; 
	border-right: 1px solid #333;
	border-top: 1px solid  #333;
	border-bottom: 1px solid #333;
	padding:8px; 
	background-color: gold;
	visibility: hidden; 
	z-index: 100; 
	border-radius: 5px;
	/* opacity:0.8;*/
	box-shadow: 4px 4px 5px #888;
} 

#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-weight:bold;
	color:var(--strClueColor);
	background-color:var(--strClueBG);
	padding: 0.1em 0.35em;  /* for ?  */
	/*padding: 0.1em 0.5em;  for i or Help */
	line-height:1;
	border:1px solid var(--strClueBorderColor);
	border-radius: 50%; /*  for ?  */
	/*border-radius: 5px;  for Help  */
}
	

/*  END glosses with dhtmltooltip_JCdw    */ 



