/*a mettre dans composantes.css*/
@media (min-width: 768px){
  .cd-layout-horizontal > *:last-child:before {
  border-right: none;
  }
}


/* aide visuel au debugage */

/*ol.breadcrumb , h1#titrePage, #menu-navigation, #barre-logos {display: none;}*/


.tutoriels-interactif.debug .zone-interactive button,
.tutoriels-interactif.debug .zone-interactive input {
    background-color: #d4202087;
}

.tutoriels-interactif.debug *:focus {
color:#d4202087;
border: 3px solid #d4202087;
}
/*
div.tutoriels-interactif div.zone-instruction h3.tut-etape{
color: #2f2598;
}
#focussed{
position: absolute;
top: 90%;
left: 3%;
border: 2px solid red;
width: 45px;
height: 45px;
}
*/





/* ********************* overwrite *********************** */
.cd-onglet-horizontal{
  background-color: #f7f7f7!important;
}

.bg-gris-tut{
    background-color: #f7f7f7!important;
}
.tutoriels-interactif{
cursor: url("/ressources/images/ic-tuto-pointeur-souris.svg"), auto;
padding-bottom: 2rem;
}
.tutoriels-interactif div.tut-instruction p{
  outline: none!important;
  line-height: 2rem !important;
  color: #595959;
  font-family: roboto, arial, sans-serif;
  font-size: 1.25rem;
  font-weight: normal;
}
.tutoriels-interactif a.tut-branche{
  font-weight: bold;
  text-decoration: underline;
}
div.zone-instruction div.tut-nav button[disabled], div.zone-instruction div.tut-nav button[disabled]{
  opacity: 0.4;
  filter: alpha(opacity=40);
}

@media (max-width: 767px) {
  .tutoriels-interactif ul.cd-onglets-horizontaux.tut-desktop{
    display: none!important;   
  }
  #pulse{
      top: 220px;
      left: 90px;
  }
  
}

/* ******************** textes ************************** */
/* ******************** ***** ************************** */

h2.tut-titre {
    padding-top: 1rem;
}

#transcript-tut-mobile.tiroir-allege.tut ol,
#transcript-tut-web.tiroir-allege.tut ol{
  -webkit-user-select: all;
  -khtml-user-select: all;
  -moz-user-select: all;
  -ms-user-select: all;
  -o-user-select: all;
  user-select: all;
}
#transcript-tut-mobile.tiroir-allege.tut span.hors-ecran,
#transcript-tut-web.tiroir-allege.tut span.hors-ecran{
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}



/* ----------------------------------------------------------------------- */
/* ***************** elements d'interface zone-instruction *************** */
/* *********************************************************************** */
  
.tut-nav div{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.zone-instruction .tut-nav div button{
  width: 3rem!important;
  margin-bottom: 2rem!important;
}
 #contenu .zone-instruction .tut-nav div button.cd-bouton-action.tut-precedent{
    margin-left: 0px;
}
#contenu .zone-instruction .tut-nav div button.cd-bouton-action.tut-suivant{
    margin-right: 0px;
}

.tut-progress{
  width: 100%;
}
progress{
  background-color: #ffffff;
  background: #ffffff;
  color: #2f2598!important;
  width: 100%;
  height: 12px;
  border-radius:3px;
  -webkit-box-shadow: inset 0px 2px 3px 0px #00000050;
  box-shadow: inset 0px 2px 3px 0px #00000050;
  
}
progress::-webkit-progress-bar {
  background-color: #fff;
  color:  #fff!important;
  -webkit-box-shadow: inset 0px 2px 3px 0px #00000050;
  box-shadow: inset 0px 2px 3px 0px #00000050;
  border-radius:3px;
  
}
progress::-webkit-progress-value { 
  background-color: #fff;
  color:  #fff!important;
  border-radius:3px;
  -webkit-box-shadow: inset 0px 2px 3px 0px #00000050;
  box-shadow: inset 0px 2px 3px 0px #00000050;
  background: #2f2598; 
}


/* ----------------------------------------------------------------------- */
/* ***************** elements d'interface zone-interactive *************** */
/* *********************************************************************** */

.zone-interactive{
    display: flex;
    justify-content: center;
    /*overflow: hidden;*/
}
div.cadre.mobile{
  position: relative;
  background-image: url('/ressources/images/b05-tut-mobile-frame-phone.png');
  background-repeat:no-repeat;
  width: 357px;
  height: 584px; 
  background-size: cover;
}

div.cadre.web{
    background-image: url('/ressources/images/b05-tut-desktop-tablette.png');
    width: 576px;
    height: 419px;
    background-size: 100%;
}

div.cadre.mobile .ecran{    
  background-image: url('/ressources/images/b05-tut-mobile-ecran-acceuil-accesd-fr.jpg');
  background-repeat:no-repeat;
  background-size: contain;
  width: 280px;
  height: 497px;
  position: absolute;
  left: 39px;
  top: 34px;
}

div.cadre.web .ecran{
  background-image: url('/ressources/images/b05-tut-desktop-acceuil-accesd-fr.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  width: 506px;
  height: 360px;
  position: absolute;
  left: 35px;
  top: 26px;
  position: relative;
}
.tutoriels-interactif .zone-interactive button, .tutoriels-interactif .zone-interactive input{
    background-color: Transparent; 
    background-repeat:no-repeat;
    border: none;
    cursor:pointer;
    overflow: visible;
    outline:none;
}
.image-tutInt {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    background-size: contain;
    height: 33rem;
}
#btnmobileReset{
  width: 280px;
  height: 496px;
}
#btnwebReset{
  width: 506px;
  height: 360px;
}
.refresh::after{
  content: '';
  display: inline-block;
  position: absolute;
  background-image: url('/ressources/images/b05-tuto-ic-rafraichir.png');
  background-repeat:no-repeat;
  width: 56px;
  height: 64px;
  background-size: contain;
  top: calc(50% - 32px);
  left: calc(50% - 28px);
}

/*pulse*/
#pulse{
  z-index: 4;
  pointer-events: none;
  cursor: pointer;
}
.pulse{
  z-index: 4;
  pointer-events: none;
  position: absolute;
    top: 516px;
    left: 67px;
}
.pulse::after{
   content: '';
   display: inline-block;
   width: 16px;
   height: 16px;
   -moz-border-radius: 100px;
   -webkit-border-radius: 100px;
   border-radius: 100px;
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='your_transparent.png', sizingMethod='scale');
   background-color: #2f2598ab; /*  pulse 75%*/ 
   -webkit-animation: out 10s infinite ease-out;
   animation: out 10s infinite ease-out; /* infinite 3 */
   z-index: 6;

}


.display-none {
  display: none;
}
.display-block{
  display: block;
}
@media (max-width: 767px) {
  .tutoriels-interactif{
    padding-left: 0px;
    padding-right: 0px;
  }
 .zone-instruction{
    order: 2;
  }
  div.cadre.mobile{
    height: 292px; 
  }
  div.cadre.cadre-haut{
    height: 297px; 
  }
  div.cadre.cadre-bas{
    background-position-y: bottom;
  }
  div.cadre.mobile.cadre-bas .ecran {
    background-position-y: -259px; 
    top: 0px;
  }
  .tutoriels-interactif ul.cd-onglets-horizontaux.tut-desktop{
    display: none!important;
  }
  div.tutoriels-interactif#tutVirInteracFaireVirementMobile .cd-grille.cd-grille-mobile { /* correction : retirer le ID; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 0;
  }
.refresh::after{
  top: calc(25% - 32px);
}
  .cd-grille.cd-grille-mobile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 0;
  }
  .cd-grille.cd-grille-mobile > * {
    flex-basis: 0;
    -ms-flex-preferred-size: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }
   .cd-grille.cd-grille-mobile > .cd-33 {
      order: 2;
      flex-basis: 100%;
      -ms-flex-preferred-size: 100%;
      max-width: 100%;
    }
   .cd-grille.cd-grille-mobile > .cd-66 {
    order: 1;
      flex-basis: 100%;
      -ms-flex-preferred-size: 100%;
      max-width: 100%;
    }
}
@media (min-width: 768px){
  div.tutoriels-interactif .cd-grille {
  }
  .cd-grille-mobile .zone-instruction{
    padding-left: 4rem;
    padding-right: 6rem;
    display: flex;
    flex-direction:column;
    margin-top: 1rem;
  }
  .cd-grille-mobile .zone-instruction div:first-child{
    flex-grow:1;
    /* margin-top: 5rem; */
  }   
  .cd-grille-mobile .zone-instruction div:last-child{
    padding-bottom:50px
  } 
  .cd-grille-mobile .zone-interactive{
    margin-left: 3rem!important;
    margin-right: 3rem!important;
  }

  .cd-grille-desktop .zone-instruction{
    display: flex;
    flex-direction:column;
    margin-top: 1rem;
    padding-right: 1.5rem;
  }
  .cd-grille-desktop .zone-instruction div:first-child{
    flex-grow:1;
    /* margin-top: 2rem; */
  }   
  .cd-grille-desktop .zone-instruction div:last-child{
    padding-bottom: 22px;
    /* flex-grow: 2; */
  } 
  
}

/* ****************** animations ************************ */
/* ******************** ***** ************************** */
@keyframes out {
  /* pulse */
  0% {box-shadow: 0px 0px 0px 0px rgba(47, 37, 152, 1);} 
  10% {box-shadow: 0px 0px 0px 72px rgba(47, 37, 152, 0.0);}
  10.99999% {box-shadow: 0px 0px 0px 72px rgba(47, 37, 152, 0.0);}
  11% {box-shadow: 0px 0px 0px 0px rgba(47, 37, 152, 1);} 
  20% {box-shadow: 0px 0px 0px 72px rgba(47, 37, 152, 0.0);}
  20.99999% {box-shadow: 0px 0px 0px 72px rgba(47, 37, 152, 0.0);}
  21% {box-shadow: 0px 0px 0px 0px rgba(47, 37, 152, 1);} 
  30% {box-shadow: 0px 0px 0px 72px rgba(47, 37, 152, 0.0);}
  100% {box-shadow: 0px 0px 0px 72px rgba(47, 37, 152, 0.0);}
}


.slide-up {
  -webkit-animation: slidetop 0.5s cubic-bezier(0.55, 0.06, 0.96, 0.3);
  animation: slidetop 0.5s cubic-bezier(0.55, 0.06, 0.96, 0.3); 
        }
.slide-down {
  -webkit-animation: slidetop 0.5s ease-in reverse;
  animation: slidetop 0.5s ease-in reverse; 
        }        

@-webkit-keyframes slidetop {
  from { -webkit-transform: translateY(0); transform: translateY(0); }
  to { -webkit-transform: translateY(-288px); transform: translateY(-513px); }
    }

@keyframes slidetop {
  from { -webkit-transform: translateY(0); transform: translateY(0); }
  to { -webkit-transform: translateY(-288px); transform: translateY(-513px); }
    }
