@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600");

:root{
 /*Charte CA*/
  --color-bleuVert_collecPub:#00AB9C;
  --color-vertPomme_Proxi:#99CC00;
  --color-rouge_banquePrive:#B30425;
  --color-orange:#FF7F00;
  --fontFamily_Charte:'Open Sans', sans-serif;
  --fontWeight_Charte:600;

 /*Variables usuelles*/
  --shadow:0 2px 5px 0 rgba(0, 0, 0, 0.5);
  --scrollbar_width:6px;

 /*Gestion des couleurs*/
  --disable_switch_color:#7F7F7F;
  --main-container-color:var(--color-orange);
  --enable_switch_color:var(--main-container-color);
  --nav_color:var(--main-container-color);
  --iframe_border_color:#B3B3B3;

  /*Gestion des dimensions*/
  --max_height_header-media_XS:30px;
  --max_height_header-media_S: 35px;
  --max_height_header-media_M: 40px;
  --max_height_header-media_L: 40px;

  --font_size-media_XS:14px;
  --font_size-media_S: 20px;
  --font_size-media_M: 16px;
  --font_size-media_L: 17px;

  --bords_arrondi:30px;
  --bords_ronds:50%;
}

html, body {
	height:100%;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  

}
body{
 
  background-color: #308276;
  font-family: var(--fontFamily_Charte);
  margin: 0;
  /* margin-top: 1%; */
  display:flex;
  flex-direction: column;
  justify-content: space-between;
}
.icon_vg{
  display: none;
}

.icon_emplacement a {
	display: block;
	filter: drop-shadow(0px 0px 0.5px rgba(0, 0, 0, 0.5));
	transition: all 0.3s ease-in-out;
}
.icon_emplacement a:hover {
	filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.5));
}
.icon_emplacement{
  float: left;
}


.icon_nav{
  height: auto;
  width: auto;
  max-width: 30px;
}
/* #emplacement_prec{ margin-left: 1%;} */
#emplacement_prec {
  position: absolute;
  z-index: 10;
  left: 15;
  top: 45%;
}
#emplacement_suiv {
  position: absolute;
  z-index: 10;
  right: 15;
  top: 45%;
}
#close_toAccueil{
  display: none;
}
#titreContenu{
	line-height: 35px;
	color: var(--main-container-color);
	text-align: left;
	text-transform: uppercase;
	font-size: 20px;
}
#sous_titres{
	background-color: #ff5050;
	text-align:center;
	color:#ffffff;
	font-weight: bold;
	margin-top: 15px;
}

#sous_titres{  flex: 0 1 auto;}
#sous_titres h2{ display: none;}
#titre_tuto {	display: none; }
#contenuSousTitres { 
     display: block;
    margin: 35px 0;
    font-size: 20px;
}


.switch-wrap{display: none;}
.Aide{display: none;}

#iframeTuto{ 
	flex: 1 1 auto;
  border-radius: 30px;
	box-sizing: border-box;
	-ms-overflow-style: none;
  overflow: auto;
  background:#ffffff;


}
#frameContent{
	width: 100%;
	height: 100%;
	border: none;
	-ms-overflow-style: -ms-autohiding-scrollbar;
	-ms-overflow-style: none;
	overflow: auto;

}
#enteteTuto {
	height: auto;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 549px) {
	body{ 
		font-size: var(--font_size-media_XS);
	}
	.icon_emplacement{
		/* max-height:var(--max_height_header-media_XS); */
	}

} 

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 550px) {

  body{ font-size: var(--font_size-media_S);}
  /* .icon_emplacement{max-height:var(--max_height_header-media_S);} */
} 

/* Common Small and XS devices (phones and portrait tablets, <=768px)) get the same view */
@media only screen and (max-width: 768px) {
  #nom_fct{
    display: none;
    /* color: var(--main-container-color); */
    /* float: left; */
    /* position: absolute; */
    /* left: 50%; */
    /* transform: translateX(-50%); */
    /* margin-top: 1px; */
    /* margin-bottom: 0; */
    }
  #titreContenu{ width:100%;}
  #titre_tuto { margin-bottom: 0;}
  #iframeTuto{
    clear:both;
   width:80%;
   position:relative;
   margin: 0 auto;
  }
  .icon_nav {
    width : 50px;
    height: 50px;
  }
  #tutorialHeader {
    box-sizing: border-box;
    padding: 10px;
    margin: 0 !important;
  }
  #emplacement_suiv {
      margin-left: 10px;
  }
  #titre_tuto {
    display: none
  }
  #header_line {
    margin: 0 !important;
  }
} 

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 769px) {
  body{  font-size: var(--font_size-media_M);}
	.icon_emplacement{
		/* max-height:var(--max_height_header-media_M); */
	}

  #nom_fct{ display:none;}
  #titreContenu{
    /* position: absolute; */
    /* width:75%; */
    /* left: 50%; */
    /* transform: translateX(-50%); */
    /* border-radius: var(--bords_arrondi);; */
  }

  #iframeTuto{
    clear:both;
    position:relative;
    width:100%;
	max-width: 1400px;
	margin:0 auto;
    /* margin: -2px calc(1% - 2px); */
    /* box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);   */
  }

  #sous_titres {
    margin-top: 15px;

  }
} 

/* Large and XL devices (laptops/desktops, >=992px) get the same view */

@media only screen and (min-width: 992px) {
  body{
  /*  font-size: var(--font_size-media_L);
    background: #CDCDCD;
    background: -webkit-radial-gradient(#F7F7F7, #CDCDCD);
    background: radial-gradient(#F7F7F7, #CDCDCD);*/
  }
	.icon_emplacement{
		/* max-height:var(--max_height_header-media_L); */
	}
  .icon_vg {
    display: none;
    position: absolute;
    z-index: -1;
    color: #953293;
    bottom: 0;
    right: 0;
    width: 23%;
    overflow: hidden;
    opacity: 0.1;
    vertical-align: middle;
    border:0;
  }

  #titreContenu{
    /* left: calc(2.5% + 150px); */
    /* transform: translateX(0); */
    /* margin-left: 1%; */
    /* width: calc(94.5% - 190px); */
	display: inline;
	
  }
/* Version client (penser à commenter les propriétés du switch) */
/*  #titreContenu {
    left: calc(80px + 1.5%);
    transform: translateX(0);
    margin-left: 1%;
    width: calc(95.5% - 120px);
  }*/
	#titre_tuto{
		/* margin: 6px; */
	}


  #iframeTuto{
    clear:both;
    position:relative;
    width:100%;
	max-width: 1000px;
	margin:0 auto;
    /* margin: -2px calc(1% - 2px); */
    /* box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);   */
  }
  /*#iframeTuto.mobileFrame{
    flex: 0.9 1 auto;
    width:26%;
    margin: -2px calc(37% - 2px);
  }*/

  #sous_titres {
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.15); 
    box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.15);
  	width: 100%;
    margin: auto;
    margin-top: 20px;
    box-sizing: border-box;
  }

  /* The slider */
  .switch-wrap input {
    position: absolute;
    height: 0;
    width: 0;
    opacity: 0;
  }
  .switch-wrap {
    cursor: pointer;
    float: left;
    position: relative;
    margin-left: 1%;
    margin-bottom: 0.6%;
    background-color: var(--enable_switch_color);
    padding: 2px;
    width: 70px;
    border-radius: var(--bords_arrondi);
  }
  .switch {
    height: 100%;
    max-height: calc(var(--max_height_header-media_L) - 4px);
    display: grid;
    grid-template-columns: 1fr 1fr 0fr;
    transition: .2s;
    color: white;
  }
  .switch::after {
    content: '';
    border-radius: var(--bords_ronds);
    background: white;
    grid-column: 2;
    transition: background .2s;
  }
  #chk_box:checked ~ .switch {
    grid-template-columns: 0fr 1fr 1fr; 
  }
  .switch-wrap.checked{
      background-color: var(--disable_switch_color);
  }


  .Aide{display: initial;}
  .Aide{
    position: fixed;
    bottom: 1em;
    left: 1em;
    text-align: center;
  }
  .Bouton_aide {
    position: relative;
    height: 5em;
    width: 5em;
    font-size: 14px;
    border-radius: var(--bords_ronds);
    background-color: var(--main-container-color);
    color: white;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    transform: scale(1);
    transition: all 200ms ease;
    text-align: center;
    margin:0;
  }
  .Bouton_aide:hover,.Bouton_aide:focus,.Bouton_aide:active{
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2);
    outline: 0;
    cursor: pointer;
  }

  .Bouton_aide:hover .Icone_aide{
    transform: scale(1.05);
  }

 .Icone_aide {
    width:5em;
    transition: transform 300ms ease;
    pointer-events: none;
  }

  .Afficher_aide .Bouton_aide{
    transform: scale(.9);
    color: #662e5d;
    background: #662e5d;
  }  
}
#btnNavClose {

}
@media only screen and (min-width: 1100px) {
	#iframeTuto{
		max-width: 900px;
    -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.15); 
box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.15);
  }
} 
@media only screen and (min-width: 1300px) {
	#iframeTuto{
		max-width: 1100px;
  }
} 
@media only screen and (min-width: 1400px) {
	#iframeTuto{
		max-width: 1400px;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
/*@media only screen and (min-width: 1200px) {}*/