html {
overscroll-behavior-y: none;

}

body { 
  margin: 0px; 
  width: 100%;
  height: 100%;
  background: white;
  overscroll-behavior-y: none;
}

 /* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
} 



.p-layout
{
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.p-layout__bandeau
{
  background: #3FBAD5;
  background: transparent linear-gradient(45deg, #839dce 0%, #E8F4F5 100%) repeat scroll 0% 0%;
  flex-grow: 0;
/*   min-height: 100; */
  flex-shrink: 0;
  display: flex;
}

.p-layout__bandeau__icone {
    align-self: center;
    margin: 0 .66rem;
}

.p-layout__bandeau h1
{
  margin: 0px;
  padding: .5rem .25rem;
  font-family: sans-serif;
  font-weight: normal;
  color: white;
/*   font-size: 2rem; */
  font-size: 1.75rem;
  white-space: nowrap;
  overflow: hidden;
}
.p-layout__bandeau__icone img { max-height: 1.5rem; } 


@media screen and (max-height: 250px){ 
  .p-layout__bandeau__icone img { display:none; } 
  .p-layout__bandeau h1 { font-size: 1.5em; padding-top: 4px; padding-bottom:4px;}
}

.p-layout__bandeau__middleempty
{
  flex-grow: 2;
}

.p-layout__bandeau__searchbar
{
  flex-grow: 0;
  flex-shrink: 1;
  display: flex;
  height: 2rem;
  align-self: center;
  flex-basis: 30rem;
  margin: 0 1rem;
}



.o-searchform {
    display: flex;
    flex-grow: 1;
    height: 100%;
}

.o-searchform__input
{
  flex-grow: 1;
  border: none;
  border-top-left-radius: .5rem;
  border-bottom-left-radius: .5rem;
  padding: 0 .5rem;
  font-size: 1rem;
  border-style: solid;
  border-width: 3;
  border-color: transparent;
}

.o-searchform__submit
{
  border: none;
  border-top-right-radius: .5rem;
  border-bottom-right-radius: .5rem;
  font-size: 1rem;
  background: #ccc;
  padding: 0 .75rem;
}

.p-layout__contenu
{
  flex-grow: 1;
}


.p-layout__contenu iframe
{
  display: block;
  width: 100%;
/*   height: 110%; */
  height: 100%;
  border: 0;
}




.conteneur { 
  padding: 8px;
}

.page.intro 
{
  background: white;
}

.page.intro p
{
  color: #444;
  font-weight: bold;
  text-align: justify;
}

.pageBulle {
    margin: 2%;
    padding: 2%;
    background: white;
    border-radius: 1em;
}


.o-searchinprogress
{
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1000;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);

  background-color: #4dbfd8;
  /*background-image: url('../img/anim-search.gif');*/
  background-repeat: no-repeat;
  background-position: center 3rem;
  border-radius: 3rem;

  padding-left: 6rem;
  padding-right: 6rem;
  padding-top: 3rem;
  padding-bottom: 3rem;

  font-size: 3rem;
  font-family: sans;
  color: white;
  text-align: center;
}

.o-waitapplauch
{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  background-color: white;
/*   background-image: url('../img/anim-appLaunch.gif'); */
/*   background-repeat: no-repeat; */
/*   background-position: center 28vh; */
  padding-top: 25vh;
  font-size: 3rem;
  font-family: sans;
  color: #515151;
  text-align: center;
}


@keyframes blinkOrange {
  from { border-color: transparent; }      
  50% { border-color: #df4b19; }      
  to { border-color: transparent; }      
}

.anim_blinkOrange
{
  animation-name: blinkOrange;
  animation-duration: 300ms;
  animation-fill-mode: forwards;
  animation-timing-function: linear;
  animation-iteration-count: 4;
}


/*                     */
/* Level display frame */
/*                     */

.o-level-select {
  background: #77ae39;
  padding: .5rem;
  border-radius: .5rem;
  font-family: sans;
  color: white;
  float: right;
  margin-bottom: 1.1rem;
  margin-left: 3rem;
  margin-top: -.75rem;
  width: max-content;
}

.o-level-select__displaylevel { font-weight: bold; }

.o-level-select__change {
  background: #bad69a;
  background: #ffffff7d;
  padding: .25rem .6rem;
  border-radius: 2rem;
  color: #404040;
  text-decoration: none;
  margin-left: 1rem;
  top: -1;
  position: relative;
}
.o-level-select__change:hover {
  background: white;
/*   text-decoration: underline; */
}

/*                  */
/*   Select Level   */
/*                  */

.p-page--sel-level { 
  min-height: 100%; 
  height: 1; /* il semble nécéssaire d'indiquer une valeur absolue en pixels pour que les div enfant puissent déclarer min-height: 100%; */
}


.o-level-selector {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.o-level-selector__title {
  margin-top: 1rem;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  font-family: sans;
  color: #444;
}

.o-level-selector__levels {
  display: flex;
  flex-direction: column;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  margin-bottom: 4rem; /* contre-balencer l'espace de o-level-selector__title */
}

.o-level-selector__levels__group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.o-level-selector__levels__group__level {
  min-width: 8rem;
  flex-basis: 8rem;
  flex-grow: 1;
}

.p-page--sel-level {
  background: #eee;
}

.o-level-selector__levels__group__level img {
  max-width: 100%;
}

@media (max-width: 690px){
  .o-level-selector__levels { flex-direction: column-reverse; }
  
  .o-level-selector__levels__group__level {
    flex-basis: 33%;
    flex-grow: 0;
  }
}


/*                      */
/*   message no token   */
/*                      */


.o-message-notoken {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 2rem 1rem;
  box-sizing: border-box;
  justify-content: space-around;
}

h1.o-message-notoken__title {
  font-family: sans;
  font-weight: normal;
  color: grey;
  font-size: 2rem;
  text-align: center;
  margin: 0;
}

.o-message-notoken__cells {
  display: flex;
  flex-direction: row;
  justify-content: center;
  column-gap: 5rem;
  width: 100%;
  max-height: 73%;
}

.o-message-notoken__cells__cell {
  display: flex;
  flex-direction: column;
}


.o-message-notoken__cells__cell__image {
  text-align: center;
  overflow: hidden;
}

.o-message-notoken__cells__cell__image img {
  max-height: 100%;
  max-width: 100%;
}

.o-message-notoken__cells__cell__message {
  text-align: center;
  font-size: 1.5rem;
  color: #484848;
  padding-top: 1rem;
}

@media (max-width: 650px)
{
  h1.o-message-notoken__title { font-size: 1.33rem; }
  .o-message-notoken__cells__cell__message { font-size: 1rem; }
}
