@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&family=Source+Sans+3:ital,wght@0,200;0,300;0,400;0,500;0,600;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


*{
	box-sizing:border-box;
}



html {
	margin:0; padding:0;
	width:100%;
	height:100%;
}


body {
	margin:0; padding:0;
	background : #eeeeee;
	font-size: 16px;
	line-height: 18px;
	color : black;
	width:100%;
	height:100%;
	font-family: 'Source Sans Pro', sans-serif;
  
  

}

      .hide_on_vertical {
        display: inline-block;
      }
      .show_on_vertical {
        display: none;
      }


.clear{ clear: both; }

#JS_we_are_on_mobile_phone { display:none;}
.hide_on_not_mobile { display:none;}

#modal { z-index: 1000; display:none; background: rgba(0,0,0,0.8); position:fixed; top:0; bottom:0; left:0; right:0; }
#config, #admin_config { padding: 15px; z-index: 1000; display:none; background: #cccccc; position:fixed; top:50%; left:50%; margin-left:-155px; margin-top:-248px; width:310px; height:496px;}
#admin_config {  background: #eeeeee; height:618px; margin-top:-309px;}

.input_row {
    margin: 0;
    padding-top: 3px;
    padding-bottom: 3px;
    margin-bottom: 0px;
    border-bottom: 1px solid #cccccc;
}

form {margin:0; padding:0;}

label, input, textarea, select, button { 
  font-family: 'Source Sans Pro', sans-serif; 
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
}
select {color:#000000;}
select::-ms-expand {
    display: none;
}

input[type="checkbox"],input[type="radio"] {
    -webkit-appearance:normal;
    -moz-appearance:normal;
    appearance:normal;  
}

input:focus, select:focus         { outline:none; }

label {
  color: #333;
  text-transform: uppercase;
  width: 100%;
  float: left;
  line-height: 28px;
}

select, input, textarea {
  border:0;
  border-bottom: 1px solid #e5e5e5;
  font-style: italic;
  width: 100%;
  padding: 6px;
  float: right;
  font-size: 16px;
  background-color: #ffffff;
}

select {
  padding-right: 20px;
  background-image: url(../img/bottom.png);
  background-position: right 50%;
  background-repeat: no-repeat;
}

select.mini_select { width:50px;  }
label.label_mini_select { width:calc(100% - 60px); line-height: 33px; white-space: nowrap; }

#member_birth_y { width:28%; }
#member_birth_m { width:48%; margin-right:2%; }
#member_birth_d { width:20%; margin-right:2%; }

/* START --- SPECIFIK CLASS FOR checkbox style */

/* Cachons la case à cocher */
input[type="checkbox"]:not(:checked),
input[type="checkbox"]:checked {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}
 
/* on prépare le label */
input[type="checkbox"]:not(:checked) + label,
input[type="checkbox"]:checked + label {
  position: relative; /* permet de positionner les pseudo-éléments */
  /* padding-left: 25px; /* fait un peu d'espace pour notre case à venir */
  cursor: pointer;    /* affiche un curseur adapté */
}

input[type="checkbox"].align_left:not(:checked) + label.align_left,
input[type="checkbox"].align_left:checked + label.align_left {
  padding-left: 30px;
  box-sizing: border-box;
}

/* Aspect des checkboxes */
/* :before sert à créer la case à cocher */
input[type="checkbox"]:not(:checked) + label:before,
input[type="checkbox"]:checked + label:before {

  content: '';
  position: absolute;
  right:0; top: 3px;
  width: 18px; height: 18px; /* dim. de la case */
  border: 2px solid  #cccccc;/*009fe3*/
  /*background: #f8f8f8;*/
  border-radius: 3px; /* angles arrondis */
  /*box-shadow: inset 0 1px 3px rgba(0,0,0,.3); /* légère ombre interne */

  /*background: -webkit-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  background: -moz-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  background: -o-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  background: -ms-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  background: linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfff4', endColorstr='#b3bead',GradientType=0 );
  */
  background:#ffffff;
}


input[type="checkbox"]:checked + label:before {
  border: 2px solid  #35b2c3;/*009fe3*/
  transition: border .2s; /* on prévoit une animation */
}

input[type="checkbox"].align_left:not(:checked) + label.align_left:before,
input[type="checkbox"].align_left:checked + label.align_left:before {
   left:0;
}
 
/* Aspect général de la coche */
input[type="checkbox"]:not(:checked) + label:after,
input[type="checkbox"]:checked + label:after {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
  content: '';
  position: absolute;
  width: 8px;
  height: 4px;
  background: transparent;
  top:9px;
  right: 5px;
  border: 3px solid #35b2c3;
  border-top: none;
  border-right: none;

  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  transition: all .2s; /* on prévoit une animation */
}
/* Aspect général de la coche */
input[type="checkbox"].align_left:not(:checked) + label.align_left:after,
input[type="checkbox"].align_left:checked + label.align_left:after {
  left: 5px;
}


/* Aspect si "pas cochée" */
input[type="checkbox"]:not(:checked) + label:after {
  opacity: 0; /* coche invisible */
  /*transform: scale(0); /* mise à l'échelle à 0 */
}
/* Aspect si "cochée" */
input[type="checkbox"]:checked + label:after {
  opacity: 1; /* coche opaque */
  /*transform: scale(1); /* mise à l'échelle 1:1 */
}

/*- --- -*/

/* aspect désactivée */
input[type="checkbox"]:disabled:not(:checked) + label:before,
input[type="checkbox"]:disabled:checked + label:before {
  box-shadow: none;
  border-color: #bbb;
  background-color: #ddd;
  opacity: 0.5;
}
/* styles de la coche (si cochée/désactivée) */
input[type="checkbox"]:disabled:checked + label:after {
  color: #999;
  opacity: 0.5;
}
/* on style aussi le label quand désactivé */
input[type="checkbox"]:disabled + label {
  color: #aaa;
}
 
/* aspect au focus de l'élément */
input[type="checkbox"]:checked:focus + label:before,
input[type="checkbox"]:not(:checked):focus + label:before {
  /*border: 1px dotted blue;*/
}



input[type="checkbox"].brico_deliver:not(:checked) + label:before,
input[type="checkbox"].brico_deliver:checked + label:before {
left:0; top: -2px;
}
input[type="checkbox"].brico_deliver:not(:checked) + label:after,
input[type="checkbox"].brico_deliver:checked + label:after {
left:6px; top: 4px;
}

input[type="checkbox"].main_doe_ck:not(:checked) + label:before,
input[type="checkbox"].main_doe_ck:checked + label:before {
left:0; top: -2px;
}
input[type="checkbox"].main_doe_ck:not(:checked) + label:after,
input[type="checkbox"].main_doe_ck:checked + label:after {
left:6px; top: 4px;
}


input[type=button] {
    display: inline-block;
    padding: 10px;
    border: 1px solid #35b2c3;
    background: #35b2c3;
    color: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    width: auto;
    float: right;
    box-sizing: border-box;
    font-size: 18px;
    padding: 20px;
    padding-top: 12px;
    padding-bottom: 13px;
    padding-left: 46px;
    background-image: url(../img/next.png);
    background-repeat: no-repeat;
    background-position: 9px center;
    background-size: 26px;
    cursor: pointer;
    margin-top:20px;
}

select.member_abo_activated_green { background-color: #a4c408; background-image:url(../img/bottom_white.png);
    color: #ffffff;
    font-weight: bold; }
select.member_abo_activated_red { background-color: #e8505b; background-image:url(../img/bottom_white.png);
    color: #ffffff;
    font-weight: bold; }
/* END --- SPECIFIK CLASS FOR checkbox style */

textarea#current_config {width: 100%;
    height: 300px; margin-top:5px;}

.input_comment {
    font-style: italic;
    font-size: 11px;
    margin-top: 3px;
}

/* ----------------------------------------------------------------------------------------------------- */
#container_section { position:relative; width:100%; height:100%;}
#time, #today { font-size: 30px;
    line-height: 36px;
    /* text-align: center; */
    padding-left: 132px;}
#time_section {    position: absolute;
    width: 33%;
    height: 100px;
    background-image: linear-gradient(to left bottom, #640e3f, #5d184b, #522055, #46285d, #362e63, #29376b, #194070, #004874, #005579, #006179, #006c76, #117670);
    background: #9b8975;
    top: 0;
    left: 0;
    box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.35);
    z-index: 14;}

#time_section_in  {
    width: 100%;
    height: 100px;
    background: transparent  url(../img/idp_sigle.png) no-repeat 30px center;
    background-size: 70px; color:#ffffff;
    padding-top:13px;
  }
#youtube_section, #easyenergy_video  { position:absolute; top:100px; bottom:34%; left:0; right:30%; border-right:0px solid #000000; background: #333333;}

#easyenergy_video  { 
  display:none;
  z-index: 11; 
}

#monday_section {  position:absolute; top:100px; bottom:34%; /*bottom:34%;*/ right:0; width:30%; border-bottom:0px solid #000000; background: #666666; /*background-image: linear-gradient(to right top, #640e3f, #5d184b, #522055, #46285d, #362e63, #29376b, #194070, #004874, #005579, #006179, #006c76, #117670);*/ background: #9b8975;  padding:20px; box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.35); z-index: 12;}
#whise_section { position:absolute; top:66%; bottom:0%; left:0; right:0%; border-bottom:0px solid #000000; background: #666666; /*background-image: linear-gradient(to left bottom, #640e3f, #5d184b, #522055, #46285d, #362e63, #29376b, #194070, #004874, #005579, #006179, #006c76, #117670);*/ background: #9b8975;  white-space: nowrap; overflow:hidden;}
/*#meteo_section { position:absolute; top:66%; bottom:0; right:0; width:30%; background: #666666; padding:10px;}*/
#meteo_section {  position:absolute; top:0; right:0; width:67%; background: #ffffff; padding:10px; z-index: 13; box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.35);}
#id_tv_section { position:absolute;  bottom:0;  right:0; border-top:1px solid #666666; border-left:1px solid #666666; background: #eeeeee; white-space: nowrap; width:auto; color:#333333; padding:5px; text-align: center; z-index: 15;}
#diver_section { position:absolute;  top:calc(66% + 20px); bottom:20px;  right:20px; border:0px solid #666666; background: #ffffff;  width:calc(30% - 40px); color:#333333; padding:5px; text-align: center; z-index: 15; }

#alert_tv_section { display: none; text-align: center; position:fixed; background: white url(../img/WARNING.svg) no-repeat center 20px; background-size: 60px; border-radius: 10px; box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.35); border:10px solid #CCCCCC; z-index: 1001; left: 50%; top: 50%; width: 600px; padding: 30px; height: 300px; margin-top: -150px; margin-left: -300px}
#alert_tv_section p {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.youtube_video_container, #easyenergy_video_container{
  width: 100%;
  height: 100%;
}

.youtube_video_container iframe, #easyenergy_video video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border:0;
}

.whise_item_container {height:100%;}
.whise_item {
  float:left;
  width: 11.11%;
  height:calc(100% - 40px); 

}
.whise_item_bg {height:100%;   
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin:20px;
  box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.35); border:0px solid #ffffff;
  border-radius:10px; overflow: hidden;
  position: relative;
}

.whise_item_txt { position: absolute; bottom:0; right:0; left:0; width:100%; background: rgba(255,255,255,0.9); padding:15px; padding-bottom:5px; padding-top:5px; margin-top:0px; margin-left:0px; margin-right:0px; border-radius:0px; white-space: normal; line-height: normal;}

.whise_item_only_logo {
  background: #9b8877 url(../img/idp_sigle.png) no-repeat center; background-size: 220px;
}

.whise_item_title {font-size:16px; font-weight:bold; }
.whise_item_title:first-letter { text-transform: capitalize }
.whise_item_subtitle {font-size:13px;}
.whise_item_price { text-align:right; /*border-top:1px solid #cccccc; margin-top:10px; padding-top:10px;*/ font-size:20px;font-weight:bold;}

.monday_item { border-radius: 10px; background-color: #ffffff;   margin:20px; box-shadow: 0px 0px 13px 0px rgba(0,0,0,0.35); padding:15px; font-size:20px; line-height: normal; }
.monday_item_logo { float:left; width:120px; height:120px; background-repeat: no-repeat; background-position: right center; background-size: contain; }
.monday_item_txt { float:right; width:calc(100% - 140px); }

.monday_item_teminated { opacity : 0.6; }
.monday_item_en_cours { border-right: 10px solid #a1eb34; }


.meteo_icon { float:left; width:20%; height:50px; background-repeat: no-repeat; background-position: center; background-size:52px auto }
.meteo_temp { float:left; width:20%; height:50px; font-size: 40px; line-height: 50px; color:#333333; text-align: center;}
.meteo_air {  float:left; width:20%; height:50px; padding-top:5px; font-size: 20px;  color:#666666; text-align: center;}
.meteo_air_value { padding-top:8px; font-size: 23px; color:#333333; text-align: center;}
.meteo_condition {  width:60%; height:31px; line-height: 30px; text-align: center; color:#333333;}
.meteo_next_day_contanier {  position:absolute; right:0; top:0; width:40%; }
.meteo_next_day {  border-top: 1px solid #cccccc; background-repeat: no-repeat; background-position: 10px center; background-size: 24px; padding-left:50px; width:calc(100% - 10px); height:50px; line-height: 50px; text-align: left; color:#333333; }
.meteo_next_day:first-child { border:0;}
/*@media (min-aspect-ratio: 16/9) {
  .video-container iframe {
    height: 56.25vw;
  }
}
@media (max-aspect-ratio: 16/9) {
  .video-container iframe {
    width: 177.78vh;
  }
}*/

.fb_post { width:100%; height:100%; display: none; overflow: hidden; padding:20px; background: #ffffff url(../img/fb_corner.png) top right no-repeat; background-size: 60px; position: relative }
.fb_post:first-child {display:block;}
.fb_post_img { text-align: center}
.fb_post_img img { width:60%; height:auto; max-width: 320px !important;  max-height: 400px !important; border-radius: 10px;}
.fb_post_txt { }


._6qdm { color: transparent;}

.fb_post_txt_gadient {
  position: absolute; bottom:0; height:120px; width:100%;
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+87&0+1,1+65 */
background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,0) 1%,rgba(255,255,255,1) 65%,rgba(255,255,255,1) 87%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}

.curly { font-family: 'Playfair Display', Georgia, "Times New Roman",serif; font-size:20px;  }

.admin_TV_container {  width:320px; margin:0 auto;  padding:10px; padding-top: 150px; background: #ffffff url(../img/SCREEN.svg) no-repeat  center 30px; background-size: 230px; }
.admin_TV_icon { float:right; width:30px; height:27px; background: #35b2c3 url(../img/CONFIG.svg) no-repeat center; background-size: 45px; border-radius:4px;}
/* ---------------------------------------------- RESPONSIVE ADJUSTMENTS -------------------------------- */
  /* #Big screen (+ 1280)
  ================================================== */
    @media only screen and (min-width: 1200px) {
    }
  /* #Tablet (Portrait)
  ================================================== */
    /* iPad in portrait & landscape */  
    @media only screen and (max-width: 1000px)  {



      body {
        font-size: 12px;
      }

      #youtube_section, #easyenergy_video {

        top: 100px;
        bottom: 60%;
        left: 0;
        right: 0%;
      }
      #monday_section {
        left: 0;
        right: 0;
        width: 100%;
        top: 40%;
      }
      .fb_post_img img {
        max-height:300px !important;
        width: auto;
        max-width: 130px !important;
      }
      .fb_post_img {
          text-align: left;
          float:left;
          margin-right:20px;
          margin-bottom:300px;
      }
      .fb_post_txt {
        padding:20px;
        width: 95%;
      }

      #time_section_in {
        background-size: 45px;
        background-position: 15px center;
      }

      #time, #today {
        font-size: 14px;
        padding-left: 76px;
        white-space: nowrap;
      }
      .meteo_next_day {
        /*line-height: 19px;*/
        /*line-height: normal;*/

        /*padding-top:5px;*/
        line-height: 10px;
        padding-top:10px
      }
      .meteo_condition, .meteo_next_day_contanier{width: 50%}
      .meteo_temp {
        font-size: 20px;
      }
      .meteo_air_value, .meteo_air {
          font-size: 14px;
      }
      .meteo_air {display: none;}


      .hide_on_vertical {
        display: none;
      }
      .show_on_vertical {
        display: block;
      }


    }

    @media only screen and (min-width: 1023px) and (max-width: 1025px)  {


      body {
        font-size: 14px;
      }

      .fb_post_img img {
        max-height:130px !important;
        width: auto;
        max-width: 130px !important;
      }
      .fb_post_img {
          text-align: left;
          float:left;
          margin-right:20px;
          margin-bottom:300px;
      }
      .fb_post_txt {
        padding:20px;
        width: 95%;
      }

      #youtube_section, #easyenergy_video {
        right: 50%;
      }
      #monday_section {
        width: 50%;
      }

      #time_section_in {
        background-size: 55px;
      }

      #time, #today {
        font-size: 14px;
      }
      .meteo_next_day {
        line-height: 19px;
        padding-top:5px;
      }
      .meteo_temp {
        font-size: 20px;
      }
      .meteo_air_value, .meteo_air {
          font-size: 14px;
      }

      .whise_item_title {
        font-size: 16px;
      }

      .whise_item_subtitle {
        font-size: 14px;
      }




    }


    @media only screen and (min-width: 1070px) and (max-width: 1100px)  {


      body {
        font-size: 16px;
      }

      #youtube_section, #easyenergy_video {

        top: 100px;
        bottom: 60%;
        left: 0;
        right: 0%;
      }
      #monday_section {
        left: 0;
        right: 0;
        width: 100%;
        top: 40%;
      }
      .fb_post_img img {
        max-height:300px !important;
        width: auto;
        max-width: 130px !important;
      }
      .fb_post_img {
          text-align: left;
          float:left;
          margin-right:20px;
          margin-bottom:300px;
      }
      .fb_post_txt {
        padding:20px;
        width: 95%;
      }

      #time_section_in {
        background: transparent url(../img/idp_sigle.png) no-repeat 21px center;
        background-size: 55px;
        padding-top:22px;
      }

      #time, #today {
        font-size: 20px;
        line-height: 30px;
        /* text-align: center; */
        padding-left: 90px;
      }
      .meteo_next_day {
        line-height: 19px;
        padding-top:5px;
      }
      .meteo_temp {
        font-size: 26px;
      }
      .meteo_air_value, .meteo_air {
          font-size: 14px;
      }

      .hide_on_vertical {
        display: none;
      }
      .show_on_vertical {
        display: block;
      }


    }

    @media only screen and (max-width: 1000px)  {
      html {
        transform: rotate(-90deg);
      } 
    }



    /* iPad in landscape */  
    @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) { 
    }
  /*  #Mobile (Portrait)
  ================================================== */
    @media only screen and (max-width: 767px) {
    }
  /* #Mobile (Landscape)
  ================================================== */
    @media only screen and (min-device-width : 0px) and (max-device-width : 1000px) and (min-aspect-ratio: 13/9) {
    }




