/* HEADER + HEADER's PARTS*/
#logo {
	position: absolute;
	top: 12px;
	left: 60px;
	height: 50px;
	width: 206px;
	background-image: url('../images/title_alt.png');
    background-position: 0px center;
    background-repeat: no-repeat;
}
.logo-challenge {
	width: 172px !important;
	background-image: url('../images/title_challenges_alt.png') !important;
}
#btnRetour {
	/*position: fixed;*/
	position: absolute;
	top: 10px;
	left: 15px;
	font-size: 30px;
	cursor: pointer;
	opacity: 0.8;
	color: #ffffff;
	z-index: 103;
}
#btnRetour:hover {
	opacity: 1;
}

/* === runArea */
#stampArea {
 margin-top: 30px;
 margin-bottom: 0px; 
}
#stampArea.edition {
 margin-top: 10px;
}
#stampArea.challenge {
 margin-top: 25px;
}
#stampArea.visualisation {
 margin-top: 10px;
}
#stampArea.sandbox {
 margin-top: 25px; 
 height: 406px;
}
#stampVizualisation {
 margin-left: 16px;	
 width: 400px;
 height: 400px;
 border: 3px solid #DDDDDD;
 background-color: #ffffff;
}
#stampModelVizualisation {
 margin-left: 16px;	
 width: 400px;
 height: 400px;
 border: 3px solid #DDDDDD;
 background-color: #ffffff;
}

/* === stateArea */
#stateArea {
 margin-top: 10px;
 color: #BCBCBC;
 font-size: 12px;
 margin-left: 25px;
}
#stateArea table {
 border-collapse: collapse;
}
#stateArea td.bordure {
 /*border: 1px solid #DDDDDD;*/
 background-color: #ffffff;
 border-radius: 5px;
}
#stateArea td.centre {
 text-align: center;
}
#stateArea td.clair {
 color: #7FCBD3; /*#DDDDDD;*/
}

/* === ctrlArea */
#ctrlArea {
 margin-top: 20px;
}
#ctrlArea.sandbox, #ctrlArea.challenge {
 margin-top: 10px;
}
#buttonArea {
 width:145px;
}
#execArea {
 float:left;
 margin-left: 7px;
}
button.run {
 width:140px;	
}
button.error {
 min-width:140px;	
}
button.ok {
 width:140px;	
}
button.aborted {
 width:140px;	
}
button.stop {
 margin-left:10px;	
}

.no-display {
 display: none;
}

#sliderArea {
 margin-top: -5px; 
}

#gridEdit {
	margin-top:20px;
	margin-left: 16px;	
	width: 394px;
	margin-bottom:10px;
	text-align:right;
}
#linkEdit {
	color:#C7C7C7;
	text-decoration: none;
}
#linkEdit:hover {
	color: #0097A7;
	text-decoration: none;
}
.lib-edit {
	font-size:0.9em;
	/*text-transform: uppercase;*/
}

#editBtn {
position: absolute;
width: 20px;
height: 22px;
padding-top: 3px;
padding-left: 5px;
cursor: pointer;
background-color: #ffffff;
border-radius: 6px;
color: #DDDDDD; /*#C7C7C7*/
top: 7px;
right: 7px;
display: none;
}
#editBtn:hover {
color: #7FCBD3;
}

#btnModelView {
	margin-top: 20px;
	width: 170px;
	margin-bottom: 10px;
	text-align: center;
	color: #ffffff;
	float: right;
	margin-right: 40px;
	cursor: default;
	background-color: #00636E;
	padding: 5px;
	border-radius: 4px;
}
#btnModelView:hover {
	background-color: #267A83;
}
.lib-view {
	font-size:0.9em;
	margin-left: 8px;
}

#gridOptions, #execOptions {
	position: absolute;
	bottom: 10px;
	width: 420px;
	margin-left: 8px;
	color: #666666;
	background-color: #ffffff;
	border: 1px solid #00636E /*#80CBD3*/ /*#56BF56*/;	
}
#gridOptionsTitle,#execOptionsTitle {
	background-color: #00636E /*#80CBD3*/ /*#56BF56*/;
	color: #ffffff;
	padding: 6px;
	text-transform: uppercase;
}
#gridOptionsContent, #execOptionsContent {
	padding: 10px;
	display: none;
}
#gridOptionsContent div, #execOptionsContent div {
	margin: 0;
	padding: 0;
	margin-top: 5px;
}
#btnGridOptions, #btnExecOptions {
	float: right;
	cursor: pointer;
	margin-right: 5px;
}
.btnGridOptions-off .fas::before, .btnExecOptions-off .fas::before {
	content:"\f106";
}
.btnGridOptions-on .fas::before, .btnExecOptions-on .fas::before  {
	content:"\f107";
}

#challengeTitle {
	float: right;
	color:#ffffff;
	font-weight: 500;
	font-size: 1em;	
	padding-right: 30px;
	padding-left: 30px;
	/*font-style: italic;*/
	text-transform: uppercase;
	background-color:rgba(255, 255, 255, 0.2);
	clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%);
}
#challengeTitle span {
	padding-right:10px;
	color: rgba(0, 151, 167, 0.5);
}

/* +++++++++++ TUTORIEL */

#levels {
	float: right;
	font-size: 1.3em;
	height: 75px;
	line-height: 75px;
}
#levels-title {
	float: left;
	font-weight: 500;
	text-transform : uppercase;
  color: #ffffff;
  padding-right: 30px;
  font-size: 1.5em;
  opacity: 0.8;
}
#level-dots {
	float:left;
}
#levels-plus {
	float: left;
    font-size: 40px;
}

#levels a {
	text-decoration: none;
	margin-right: 20px;
}
#levels a:hover {
	opacity: 1;
}

.current_level_number {
  border-radius: 20px;
  padding: 5px 13px;
  background-color: #00636E;
  color: #ffffff;
  font-weight: bold;
  margin-right: 20px;
  cursor: pointer; 
  font-family: Roboto Mono;
}
.level_number {
  border: solid 2px #ffffff;
  border-radius: 20px;
  padding: 6px 12px;
  color: #ffffff;
  font-weight: bold;
  opacity: 0.8;
}
.level_dot {
  border: solid 2px #ffffff;
	border-radius: 50%;
	width: 15px;
	height: 15px;
  display: inline-block;
  opacity: 0.8;
  vertical-align: -2px;
}
.level_dot:hover, .level_number:hover {
  background-color: #ffffff;
  color: #0097A7;
  opacity: 1;
}
.level_plus {
	float: left;
	font-size: 35px;
	color: #ffffff;
	opacity: 0.8;
}
.level_plus:hover {
	opacity: 1;
}

/* GESTION TAILLE ECRAN */
@media only screen and (max-width: 1200px) {
	
#optionsArea a {
	font-size: 17.5px;
}
#levels {
  font-size: 1.2em;
}

}

@media only screen and (max-width: 1000px) {
	
#optionsArea a {
	font-size: 16.5px;
}

}

@media only screen and (max-width: 960px) {

#head { 
 padding-right: 0px;
}
#levels {
  font-size: 0.8em;
}
#levels-title {
	font-size: 2em;
	padding-right: 15px;
}
#levels a {
	margin-right: 8px;
}
.current_level_number {
  margin-right: 8px;
  padding: 7px 11px;
}
.level_dot {
  vertical-align: -5px;
}
.level_plus {
	font-size: 0.8em;
}	

#optionsArea {
	float: none;
	position: absolute;
	line-height: normal;
	top:10px;
	right:0px;
	text-align: right;
	z-index: 150;
}
#options {
	float: none;	
}
#options-btn {
  float: none;
  margin-right: 10px;
}
.btnOptions-off .fas::before {
	content:"\f102";
}
.btnOptions-on {
  margin-top:0px;	
}
.btnOptions-off {
  margin-top:0px;	
}
#optionsArea ul {
	padding: 10px;
	text-align: left;
	background-color: #0097A7;
	border-radius: 10px;
}
#optionsArea li {
	display: block;	
	padding: 10px;	
}
#optionsArea li:hover {
	background-color: rgba(0,0,0,0.2);
}
#optionsArea li.special:hover {
	background-color: rgba(255,255,255,0.4) !important;
}
#optionsArea li::after {
	content: none;
}
.dialogBoxSize-1, .dialogBoxSize-2, .dialogBoxSize-3 {
	width: 80%;
  left: 10%;
}
  
}

@media only screen and (max-width: 740px) {

#levels-title {
	display: none;
}

}

@media only screen and (max-width: 560px) {

#logo.min {
	background-size: 140px;
	left: 45px;
	width: 140px;
}

#btnRetour {
	top: 15px;
	left: 8px;
	font-size: 25px;
}

}

@media only screen and (max-height: 880px) {

#runArea {
 background-position: center calc(100% + 75px);
}
	
}

@media only screen and (max-height: 800px) {

#runArea {
 background-position: center calc(100% + 110px);
}
	
}

@media only screen and (max-height: 750px) {

#runArea {
 background-image: none;
}
	
}

@media only screen and (max-height: 675px), (max-width: 960px) {

html, body {
 height: auto;
}

body {
 overflow: visible;
}

#content {
 height: auto;
 background-color: #F8F6F6;
}

#unfoldArea {
 float: none;
 height: 20px;;
 width: 100%;
}

.unfoldAreaOn {
}

#btnUnfold {
	float: right;
	width:20px;
	margin-top: 0px;
}

.btnUnfold-off .fas::before {
	padding-right:10px;
	content:"\f0d8";
}

.btnUnfold-on .fas::before {
	padding-right:10px;
	content:"\f0d7";
}

#runArea {
 float: none;
 height: auto;
 background-image: none;
 margin-left: calc(((100% - 460px) / 2) + 20px);
}

#stampArea {
 margin-top: 10px;
}

#stampArea.challenge {
 margin-top: 10px;
}

#stampArea.sandbox {
 margin-top: 10px; 
 height: 406px;
}

#editBtn {
top: -17px;
right: 5px;
}

#gridEdit {
 margin-top: 0px;
}

#btnModelView {
 margin-top: 0px;
}

#ctrlArea {
 margin: 20px;
}

#ctrlArea.sandbox {
 margin-top: 10px;
}

#gridOptions, #execOptions {
	position: static;
	margin-bottom:20px;
	border: 1px solid #00636E /*#37424B*/;
}
#gridOptionsTitle, #execOptionsTitle {
	background-color: #00636E /*#37424B*/;
}

.btnGridOptions-off .fas::before, .btnExecOptions-off .fas::before {
	content:"\f107";
}
.btnGridOptions-on .fas::before, .btnExecOptions-on .fas::before {
	content:"\f106";
}

#devArea {
	float: none;
  height: 800px;
  border: none;
  border-top: 2px solid #C7C7C7;
}
.devArea-min {
	width: 100%;
}
.devArea-extended {
	width: 100%;
}

}