/* 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;
}
#btnRetour {
position: absolute;
top: 10px;
left: 15px;
font-size: 30px;
cursor: pointer;
opacity: 0.8;
color: #ffffff;
z-index: 103;
}
#btnRetour:hover {
opacity: 1;
}

/* === runArea */
#moveArea {
padding-top: 15px;
margin-bottom: 0px;
}
#moveVizualisation {
margin-left: 16px;	
width: 400px;
height: 400px;
}
#stampModelVizualisation {
margin-left: 16px;	
width: 400px;
height: 400px;
border: 3px solid #DDDDDD;
}

#soundBtn, #editBtn {
position: absolute;
width: 20px;
height: 22px;
padding-top: 3px;
padding-left: 5px;
cursor: pointer;
background-color: #ffffff;
border-radius: 6px;
color: #DDDDDD; /*#C7C7C7*/
}
#soundBtn {
top: 15px;
right: 15px;
}
#editBtn {
top: 15px;
right: 45px;
display: none;
}
#editBtn:hover, #soundBtn:hover {
color: #7FCBD3;
}

/* === stateArea */
#stateArea {
margin-top: 10px;
color: #BCBCBC;
font-size: 12px;
margin-left: 25px;
}
#stateArea table {
border-collapse: collapse;
}
#stateArea td.bordure {
background-color: #ffffff;
border-radius: 5px;
}
#stateArea td.centre {
text-align: center;
}
#stateArea td.clair {
color: #7FCBD3;
}
#stateArea td.inverse {
background-color: #DDDDDD;
color: #ffffff;
}

/* ===ctrlArea */
#ctrlArea {
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;*/
}

#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;
}

#execOptions {
position: absolute;
bottom: 10px;
width: 420px;
margin-left: 8px;
color: #666666;
background-color: #ffffff;
border: 1px solid #00636E /*#80CBD3*/ /*#56BF56*/;	
}
#execOptionsTitle {
background-color: #00636E /*#80CBD3*/ /*#56BF56*/;
color: #ffffff;
padding: 6px;
text-transform: uppercase;
}
#execOptionsContent {
padding: 10px;
display: none;
}
#execOptionsContent div {
margin: 0;
padding: 0;
margin-top: 5px;
}
#btnExecOptions {
float: right;
cursor: pointer;
margin-right: 5px;
}
.btnExecOptions-off .fas::before {
content:"\f106";
}
.btnExecOptions-on .fas::before {
content:"\f107";
}

/* 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: 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);
margin-top:-20px;
}

#gridEdit {
margin-top: 0px;
}

#btnModelView {
margin-top: 0px;
}

#execOptions {
position: static;
margin-bottom:20px;
border: 1px solid #00636E /*#37424B*/;
}
#execOptionsTitle {
background-color: #00636E /*#37424B*/;
}

.btnExecOptions-off .fas::before {
content:"\f107";
}
.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%;
}

}