@charset "utf-8";
/* HQ1.htm et HQ2.htm dans helpsquiz.htm. */
/* Elements in square brackets are replaced by data based on configuration settings when the quiz is built. */

/* CSS variables for colours. */
:root{
	--strFontFace:       system-ui, sans-serif;
	--strFontSize:       0.85rem;
	--strTextColor:      #ffffff;
	--strTitleColor:     #ffffff;

	--strFuncLightColor: #bfbfbf;
	--strFuncShadeColor: #404040;
	--strLinkColor:      #2e6272;
	--strVLinkColor:     #d96d00;
	
	--strNavBarColor:    transparent;
	--strNavLightColor:  #bfbfbf;
	--strNavShadeColor:  #404040;
	--strNavTextColor:   #000000;
	
	--strPageBGColor:    #237278;
	--strExBGColor:      transparent;
}

#TheBody{
    
	font-family: var(--strFontFace);
	background-color: transparent;
	color: var(--strTextColor);
	font-size: var(--strFontSize);	
}

#TheBody a{cursor: pointer;text-decoration:underline;}

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: 0.8em;
	display: inline;
}

.ExerciseTitle{
	font-size: 160%;
	font-weight:900;
	text-shadow:0.1rem 0.1rem 0.3rem #1f414b;
	color: var(--strTitleColor);
}

.ExerciseSubtitle{
	font-size: 80%;
	color: var(--strTitleColor);
}

div.StdDiv, div.ExerciseContainer, div.ReadingContainer{
	background-color: var(--strExBGColor);
	text-align: center;
	font-size: 1em;
	color: var(--strTextColor);
	padding: 0.5em;
	border: none;
}
div.StdDiv{
font-weight: 700;
}
div.ReadingContainer, div.ExerciseContainer{
	min-width: 15em;
	flex-grow: 1;
	flex-basis: 0;
	margin: 1px;
}

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 {
	background-color: var(--strPageBGColor);
	left: 33%;
	width: 46%;
	top: 33%;
	z-index: 1;
	border-style: solid;border-radius: 7px;
	border-width: 1px;
	padding: 5px;
	text-align: center;
	color: var(--strTitleColor);
	position: absolute;
	display: none;
	font-size: 1em;
	animation: fadeIn 750ms;
}

div.ExerciseDiv{
	color: 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: 1.2em;
    font-weight: 900;
}

.Answer{
	font-size: 120%;
}

.PartialAnswer{
	font-size: 120%;
	letter-spacing: 0.1em;
	color: var(--strTitleColor);
}

.Highlight{
	color: #000000;
	background-color: #FC9662;
	font-weight: bold;
	font-size: 120%;
}

ol.QuizQuestions{
	text-align: left;
	list-style-type: none;
	padding:0;
}

li.QuizQuestion{
	padding: 1em 0;
	border: none;
	animation: fadeIn 2.5s;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

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;
}

input {    
  -webkit-border-radius: 7px;
  border-radius: 7px;  
}
input:focus {
  outline: none; 
  border: 2px groove #C4DFE7;
  -webkit-box-shadow: 6px 2px 2px #C4DFE7;
  box-shadow: 6px 3px 3px #C4DFE7;
}
div.ShortAnswer{
	padding: 1.2em;
}

.FuncButton {
	border-style: solid;
	border-radius: 0.5em;
	padding: 0.1em 0.5em;
	min-width: 3em;
    margin-bottom: 6px;
	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);
    text-decoration:none;
    white-space:nowrap;
	border-width: 1pt;
	cursor: pointer;	
	box-shadow: 0.2em 0.3em 0.2em var(--strFuncShadeColor);
	transition: all ease-in-out 1s;
}

.FuncButton:active {
	box-shadow: none;
}

.FuncButton:hover{
	color:#FFFFFF;
	background-color:#2E6272;
}

/*BeginNavBarStyle*/

div.NavButtonBar{
	background-color: var(--strNavBarColor);
	text-align: center;
	margin: 0.25rem 0;
	clear: both;
	font-size: 1em;
	padding: 0.2em;
	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*/

#TheBody a{  font-family: inherit; font-size: inherit ;font-weight: 700;text-decoration:underline;
	color: inherit;
}

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

#TheBody a:hover{
	color: #d96D00;
}

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;
}

.rtl{
	text-align: right;
	font-size: 140%;
}
