/** Page layout **************************************************************/
html{
	width:100%;
	height:100%;
}

body{
	padding: 0;
	width:100%;
	height:100%;
    background-color: #fff;
}

#frame{
	max-width:1200px;
	margin: 0px auto;
	top:0;
	min-height:100%;
	position: relative;
	display: flex;
	flex-direction: column;
}

#frame::before {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    height: 80px;
    background-color: #f2f2f2;
}
.nav_stuck_yes #frame::before{
	top:-40px;
}

#header {
    z-index: 999;
    display: flex;
    align-items: center;
    background-color: #f2f2f2;
    position: fixed;
    max-width: 1200px;
    width: 100%;
    top: 0;
    padding-bottom: 40px;
    height: 40px;
}
.nav_stuck_yes #header{
	top:-40px;
}

#main{
	position: relative;
    margin-top: 80px;
    flex: 2 1 auto;
}

#content{
	margin-left: 200px;
}

#footer{
	flex: 0 0 auto;
	border-top: 2px solid #876194;
}

/* ============= No Script ============= */
#noscript{
	position: absolute;
	top: 30%;
	left: 20%;
	right: 20%;
	font-size: 2em;
	color: silver;
}
#noscript span{
	display: block;
	padding-left:2em;
}
#noscript span::before{
	content: "\26A0";
	position: absolute;
	font-size: 2em;
	margin-left: -1em;
}
/* ============= isLocal ============= */
.isLocal .tplSchBox,
.isLocal aside.tplQuestionnaire{
	display:none;
}

/* ============= Cookie warn bar ============= */
.cookieWarnBar{
	position:relative;
	border-bottom:2px solid #e0dcd8;
	background-color: #FFF;
	padding: 6px 10px;
	margin: 0px;
	opacity:1;
	z-index: 1000;
	display:flex;
	align-items: center;
}
.cookieWarnBar.acknowledged{
	opacity:0;
	height:0px !important;
	overflow: hidden;
	padding: 0px;
	margin: 0px;
	border-bottom:0px;
	transition-property : opacity,display,padding,margin;
	transition-duration : 0.5s;
}
.cookieWarnMsg{
	flex : 1 1 auto;
}
.cookieWarnBtnOk, .cookieWarnBtnNok {
	display:inline-block;
	background:#727272;
	color:white;
	border: 1px solid #727272;
	border-radius:0.2em;
	padding:0.1em 0.3em;
	margin:0 0.3em;
	text-decoration: none;
}
.cookieWarnBtnOk:hover, .cookieWarnBtnNok:hover {
	background:white;
	color:#727272;
}

.cookieWarnBar_on #header .topbar {
	top:20px;
}

/** Header ********************************************************************/
#menu{
	position: absolute;
    right: 0;
    bottom: 0;
}
#logo{
	margin:0 .5em;
}

#header h1 {
	flex: 2 1 auto;
    padding-right: 5px;
    font-size: 1.5em;
    line-height: 1.5em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: normal;
}
#header span.longTitle{
	font-size:0.7em;
}
#header span.longTitle.richTitle{
	font-size:0.65em;
}

.tplContextMenu {
	font-size: 0.9em;
    padding-right: 40px;
}
.tplContextMenu > .ctx_root{
	text-align:right;
}
.schDisplay_on .tplContextMenu {
	display: none;
}
.ctx_root a{
	color: #888;
}
.ctx_root a:hover{
	text-decoration: underline;
}

/* ============= Accessibility menu ============= */
#accessibility{
	position: absolute;
	top: 0;
	right:40px;
	margin:0;
	font-size: 60%;
	list-style-type: none;
	padding:0;
	margin:0;
	z-index:10;
}
#accessibility li{
	display:inline-block;
	margin:0 1em;
}
#accessibility a{
	opacity:0;
	color: #8a6493;
	text-decoration: none;
	transition:0.2s all;
}
#accessibility:hover a{
	opacity:0.2;
}
#accessibility a:focus{
	opacity:1;
}


/**Footer ********************************************************************/
a.cookieWarnBtnBar,
span.copyright{
	display:inline-block;
	margin-top:12px;
	margin-left:10px;
	font-size:0.9em;
}

a.btnSc{
	float:right;
	margin: 0.3em 1em;
}
a.btnSc img{
	vertical-align: middle;
}

a.btnAbout {
    position: fixed;
    top: 0;
    right: calc(50% - 600px);
	text-align:center;
	line-height:32px;
	width:32px;
	height:32px;
	z-index: 999;
	color: #4d4d4d;
    font-size: 1.7em;
	text-decoration:none;
}
.nav_stuck_yes a.btnAbout{
	top:-40px;
}

a.btnAbout::before{
	content:"\e808";
	font-family:"fontello";
}

a.btnAbout:hover{
	background-color: #876194;
	color:#fff;	
}

a.btnAbout span{
	position:absolute;
	left:-9999px;
}

/** Menus : root **************************************************************/
#menu ul{
	margin: 0;
}
#menu a{
	color:#4d4d4d;
	text-decoration: none;
	padding: 0 0.6em;
	display:block;
	height: 40px;
    font-size: 1.2em;
    line-height: 40px;
}
#menu a:hover{
	background-color: #876194;
	color:#fff;
}
#menu li{
	display: inline-block;
	margin:0;
}
#menu div.mnu_sel_yes a,
.home_yes #menu div.toolHome a,
.documentation_yes #menu div.toolHome a {
	color: #876194;
	border-bottom: 2px solid #876194;
}
#menu div.mnu_sel_yes a:hover,
.home_yes #menu div.toolHome a:hover,
.documentation_yes #menu div.toolHome a:hover {
	background-color: transparent;
}

#menu a.mnu_ret_yes::before{
	font-family: "fontello";
    content: "\e816";
    margin-right: 0.5em;
}

/** Menus : outline ***********************************************************/
#outline {
    position: fixed;
    width: 200px;
    height: calc(100% - 150px) !important;
    top: 80px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
	z-index: 999;
}
.tplMnuCls_yes #outline {
	flex: 0 0 0;
	transition: width 0.3s ease-out;
}

.tplQuestionnaire button{
	background-color: #e2d8e4;
    cursor: pointer;
    padding: 2px 5px;
    border: none;
    width: 100%;
	font-weight: bold;
}
.questShow_yes .tplQuestionnaire button{
	margin-left:0.5em;
	width: auto;
	padding: 0.5em;
}
.questShow_yes .tplQuestionnaire button:hover{
	color:#fff;
	background-color:#876194;
}

.tplQuestionnaire ul.questions{
	padding: 0 1em 0 2em;
	flex: 2 0 auto;
	overflow: auto;
}

.tplQuestionnaire{
	flex: 0 0 auto;
}
.questShow_no .tplQuestionnaire{
	margin-top: 1em;
	background-color: #f2f2f2;
}
.questShow_no ul.questions{
	padding: 0 0 0 15px;
	list-style: none;
}
.questShow_no .tplQuestionnaire .questionnaire_co footer{
	text-align: center;
}
.questShow_no .tplQuestionnaire .access{
	font-size:80%;
	display:block;
	text-align: left;
	padding: 0.5em;
}
.questShow_no .tplQuestionnaire .questionnaire_ti{
	text-align: center;
	font-weight: normal;
	color:#876194;
	margin: 0.5em 0;
}
.questShow_no .tplQuestionnaire header,
.questShow_no .tplQuestionnaire label,
.questShow_no .tplQuestionnaire .label,
.questShow_no .tplQuestionnaire .btnClose,
.questShow_no .tplQuestionnaire .btnReset,
.questShow_no .tplQuestionnaire .isSelected_false,
.questShow_no.questActive_true .tplQuestionnaire .access,
.questShow_no.questActive_false .tplQuestionnaire .questions {
	display:none;
}
.questShow_yes .tplQuestionnaire{
	position:fixed;
	top:0;
	bottom:0;
	left:0;
	right:0;
	width:auto;
	height:auto;
	background-color: rgba(255, 255, 255, 0.4);
	z-index: 100;
	
}
.questShow_yes .tplQuestionnaire .questionnaire{
	position: absolute;
	top:10%;
	bottom:20%;
	left:10%;
	right:10%;
	max-width:1000px;
	margin: 0 auto;
	background-color: white;
	box-shadow: 0 0 1em gray;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.questShow_yes .tplQuestionnaire .questionnaire_ti{
	background-color: #f2f2f2;
	text-align: center;
	font-size: 1.2em;
	line-height:2em;
	margin:0;
}
.questShow_yes .tplQuestionnaire .questionnaire_co{
	padding: 0;
	display: flex;
	flex-direction: column;
	flex: 2 1 auto;
	font-size:1.1em;
	overflow: auto;
	margin-bottom: 4em;
}
.questShow_yes .tplQuestionnaire .questionnaire_co header{
	padding: 1em;
	font-size: 1.1em;
	border-bottom: 1px solid #efefef;
}
.questShow_yes .tplQuestionnaire .questionnaire_co div.label {
	font-size: 1.1em;
}

.choiceList {
	padding-left: 0.5em;
}

.choiceList label input{
	position:absolute;
	left:-9999px;
}
.choiceList label span::before {
    font-family: "fontello";
    content: "\25CB";
    cursor: pointer;
    margin-right: 0.5em;
    color: #876194;
}
.choiceList label input:checked + span::before{
	content:"\25C9";
}

.questShow_yes .tplQuestionnaire .questionnaire_co label {
	display: flex;
	align-items: center;
	margin: 0.5em 0;
}

.questShow_yes #outline .tplQuestionnaire ul.questions li {
	margin-bottom: 2em;
}

.questShow_yes .tplQuestionnaire .result,
.questShow_yes .tplQuestionnaire .access,
.questShow_yes .tplQuestionnaire .btnOpen{
	display:none;
}
.questShow_yes .tplQuestionnaire .questionnaire_co footer{
	position: absolute;
    bottom: 0;
    padding: 1em;
    right: 0;
    left: 0;
    text-align: right;
    background-color: #f2f2f2;
}

.tplMenuScroll{
	position: relative;
	flex: 2 1 auto;
	margin: 5px 0;
}

/** Menus : outline ***********************************************************/
#outline{
	font-size:0.9em;
}
#outline:target{
	box-shadow:none;
}

#outline ul.mnu_dynamic{
	position:relative;
	order: 2;
    flex: 2 1 auto;
}
#outline .mnuSrlUpFra span,
#outline .mnuSrlDwnFra span{
	display:none;
}
#outline .mnuSrlUpFra,
#outline .mnuSrlDwnFra{
	flex:0 0 10px;
	background-color: #ccc;
	text-align: center;
    line-height: 10px;
    color: #fff;
	cursor:pointer;
}
#outline .mnuSrlUpFra::before{
	content:"\e824";
	font-family:"fontello";
}
#outline .btnOff{
	opacity: 0;
}
#outline .mnuSrlDwnFra::before{
	content:"\e80f";
	font-family:"fontello";
}
#outline .tplMenuScroll ul{
	list-style: none;
	list-style-image:none;
	margin: 0px 0px 0px 10px;
	padding: 0px;
}
#outline .tplMenuScroll ul.mnu_root{
	margin: 0px 0px 0px 2px;
}
#outline .tplMenuScroll li{
	margin:8px 0;
}
#outline .mnuLbl{
	position: relative;
	padding-left:14px;
}
#outline a.mnu_tgle_o span,
#outline a.mnu_tgle_c span{
	display:none;
}
#outline a.mnu_tgle_o,
#outline a.mnu_tgle_c{
	height: 11px;
	left: -0px;
	position: absolute;
	top: 3px;
	width: 11px;
	color:#4d4d4d;
	text-decoration:none;
}
#outline a.mnu_tgle_c::before{
	font-family:"fontello";
	content:"\e810";
}
#outline a.mnu_tgle_o::before{
	font-family:"fontello";
	content:"\e80f";
}
#outline a.mnu_lnk{
	display: block;
	color:#3D3D3D;
	text-decoration: none;
	padding-right: 12px;
}
#outline a.mnu_lnk:hover>span{
	text-decoration: underline;
}
#outline li > .mnu_sel_yes{
	background-color: #f2f2f2;
    border-right: 2px solid #876194;
}

/** Content *********************************************************************/
.tplContentFrame{
	position: relative;
	flex: 2 1 auto;
}
.schDisplay_on .tplContentFrame{
	margin-top:58px;
}

#contentFrame{
	width:100%;
}

/* Search */
.tplSchBox{
	flex: 0 0 auto;
	position: relative;
}

.schCmds{
	margin: 15px 5px;
	align-items: center;
	display: flex;
	justify-content: center;
	position:relative;
}
input.schInput{
	border: 2px solid #ccc;
    padding: 0 3px;
    color: #4d4d4d;
    height: 20px;
    width: 160px;
    font-size: 1.2em;
    background-color: transparent;
    padding-right: 20px;
}
input::placeholder {
    color: #ccc;
}

a.schBtnLaunch{
	width: 16px;
    height: 16px;
    background: transparent url("img/btnSearch.svg") no-repeat 0 0 /100% auto;
    cursor: pointer;
    position: absolute;
    right: 5px;
    top: 4px;
}
a.schBtnLaunch span{
	display: none;
}
a.schBtnLaunch:hover{
	opacity:0.8;
}

.schPropose{
	position:absolute;
	top:21px;
	left: 3px;
    width: 185px;
	background-color: #E5E5E5;
	z-index:100;
	box-shadow: 0px 0px 5px 3px #aaa;
}
.schBtnPropose{
	display:block;
	color:black;
	padding:3px;
	text-decoration: none;
}
.schBtnPropose:hover,
.schBtnPropose:focus{
	background-color: #F6F6F6;
}

.schProp_no{
	display:none;
}
.tplSchResults{
	display:none;
	width:0;
	overflow:hidden;
	position: fixed;
    top: 80px;
	left:0;
	right:0;
	height:57px;
	background-color: #edd9e3;
	color:#7E3682;
	transition: width 0.3s ease-out;
	z-index: 2;
	max-width: 1200px;
    margin: 0 auto;
}
.tplSchResults::before {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
	top:80px;
    height: 57px;
    background-color: #edd9e3;
	z-index:-1;
}
.nav_stuck_yes .tplSchResults, .nav_stuck_yes .tplSchResults::before, .nav_stuck_yes #outline{
	top:40px;
}
.schDisplay_on .tplSchResults{
	display:block;
}
.tplSchResults a{
	margin: 0 5px;
}
.schDisplay_on .tplSchResults{
	width:100%;
}


.schBtnReset {
    display: block;
    position: absolute;
    right: 8px;
    text-decoration: none;
    top: 8px;
	font-size: 1.4em;
	color:#5D4676;
}
.schBtnReset:hover{
	opacity:0.7;
}
.schBtnReset span{
	position:absolute;
	left:-9999px;
}
.schBtnReset::before {
    content: "\274C";
    font-family: "fontello";  
}


.schHitBox,
.schResBox{
	margin: 6px 200px;
	font-size:11pt;
	display:flex;
	align-items:center;
}
.schResLbl, .schHitLbl {
    flex: 2 1 auto;
	text-align: right;
}
.schDisplay_none .schResBox{
	text-align: center;
	margin: 20px 200px 6px 200px;
}
.schDisplay_none .schHitBox{
	display:none;
}
.schBtnNxt,
.schBtnPrv,
.schBtnPrvHit,
.schBtnNxtHit{
	text-decoration:none;
	color:#5D4676;
	padding:0 0.2em;
}
.schBtnNxt:hover,
.schBtnPrv:hover,
.schBtnPrvHit:hover,
.schBtnNxtHit:hover{
	opacity:0.7;
}
.schBtnAct_no,
.schBtnHitAct_no{
    opacity: 0.2;
}
.schBtnNxt span,
.schBtnPrv span,
.schBtnPrvHit span,
.schBtnNxtHit span{
    position:absolute;
	left:-9999px;
}
.schDisplay_none .schBtnNxt,
.schDisplay_none .schBtnPrv,
.schDisplay_none .schBtnPrvHit,
.schDisplay_none .schBtnNxtHit,
.schDisplay_one .schBtnNxt,
.schDisplay_one .schBtnPrv{
    display:none;
}

.schBtnNxt::before, .schBtnNxtHit::before{
	font-family:"fontello";
	content:"\e810";
}
.schBtnPrv::before, .schBtnPrvHit::before{
	font-family:"fontello";
	content:"\e816";
}

.schResCnt,
.schHitCnt{
	min-width:40px;
	text-align: center;
}
.schDisplay_none .schResCnt,
.schDisplay_one .schResCnt{
	display:none;
}
.schTerm{
	font-weight: bold;
}
.schTerm em{
	font-weight: normal;
}

/* ============= scImgMgr ============= */
.scImgZmOver{
	background-color: white;
	width:100% !important;
	height:100% !important;
	position: fixed !important;
}
.scImgZmCvs {
	overflow: visible;
	padding:20px;
	width:auto;
	height:auto;
	top:0;
	left:0;
	bottom:0;
	right:0;
}

.scImgZmTi span.zoneNumber{
	display: inline-block;
	border-radius: 50px;
	box-shadow: 0px 0px 5px 0px black;
	background-color: black;
	color: white;
	padding: 3px 3px 0 3px;
	min-width:12px;
	min-height:15px;
	text-align: center;
	font-size: 80%;
	position: absolute;
	top: -10px;
	left: -10px;
	z-index:10;
}

.scImgAnmCtrl{
	border-radius: 5px;
	border: 1px solid gray;
	box-shadow:  0px 0px 10px 0px #555;
	background-color:white;
	bottom:20px;
	position:absolute;
	right:5px;
	padding: 5px;
	width: 115px;
	height: 16px;
	z-index: 101;
}


.scImgAnmCtrl a span,
.scImgSep{
	display:none;
}
.scImgAnmCtrIdx{
	position:absolute;
	left:80px;
	width:15px;
	height:13px;
}
.scImgAnmCtrSep{
	position:absolute;
	left:95px;
	width:10px;
	height:13px;
}
.scImgAnmCtrCnt{
	position:absolute;
	left:105px;
	width:15px;
	height:13px;
}

/* === START - RESPONSIVE =================================================== */
@media (max-width: 1200px){
	a.btnAbout {
		right: 0;
	}
}
@media (max-width: 1000px){
	#header{
		font-size:90%;
	}
}
@media (max-width: 900px){
	#header{
		font-size:80%;
	}
}
@media (max-width: 800px){
	#outline{
		flex: 0 0 150px;
	} 
	input.schInput{
		width:110px;
	}
	.schHitBox, .schResBox {
		margin: 6px 100px 6px 0px;
	}
}
@media (max-width: 700px){
	#menu li.outRoot {
		margin-left:20px;
	}
	#accessibility{
		top:40px;
		right:auto;
		font-size: 2.5em;
	}	
	#accessibility a {
		opacity:1;
		width: 40px;
		height: 40px;
		background-color: #e2d8e4;
		line-height: 40px;
		display: block;
		text-align: center;
		color: #4d4d4d;
		font-size: 0.7em;
	}	
	#accessibility a::before {
		content: "\2630";
		font-family:"fontello";
	}
	#accessibility a span{
		position: absolute;
		left: -9999px;
	}
	#accessibility li,
	body.outline #accessibility li.tplWaiMenu {
		position:fixed;
		visibility:hidden;
		top:-9999px;
		left:-9999px;
		margin:0;
	}
	#accessibility li.tplWaiMenu,
	body.outline #accessibility li.tplWaiContent{
		position:relative;
		visibility:visible;
		top:auto;
		left:auto;
	}
	#outline{
		display:none;
	}
	body.outline #outline:target{
		display:block;
		position:fixed;
		z-index:11;
		height: auto !important;
		top:85px;
		bottom:5px;
		left:0;
		width:200px;
		background-color: #EFEFEF;
		box-shadow: 0 0 5px #333;
		margin:0;
	}

	input.schInput{
		width:160px;
	}

	.tplContextMenu{
		left: 5px;
		top: 63px;
	}
	.schHitBox, .schResBox {
		margin: 6px 80px 6px 0px;
	}
	
	#content {
		margin-left: 0;
	}
}
@media (max-width: 650px){
	#header{
		font-size:70%;
	}
}
@media (max-width: 500px){
	.schHitBox, .schResBox {
		margin: 6px 30px 6px 0px;
		font-size: 9pt;
	}
}
@media (max-height: 700px){
	#footer{
		flex: 0 0 20px;
	}
	a.btnSc, a.btnAbout, a.cookieWarnBtnBar, span.copyright {
		margin-top: 2px;
	}
}

/* === STOP - RESPONSIVE ==================================================== */
