@font-face {
  font-family: 'Poppins-regular';
  src: url('../fonts/BBBPoppins/BBBPoppinsTN-TextRegular.otf');
}

@font-face {
  font-family: 'Poppins-display';
  src: url('../fonts/BBBPoppins/BBBPoppinsTN-DisplayRegular.otf');
}


 /*-------------------------------------- VERSION WEB du site --------------------------------------*/
 body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins-regular';
  color:black;
  text-align: center;
  background-color: var(--background-color);
  overflow-y: scroll;
  overflow-x: hidden;
}

 :root{
    --bleu: #1E2CA7;
    --jaune: #FFE417;
    --orange: #e4972b;
    --rose:  #F93A90;
    --vert: #BDDC16;
    --vert-fonce: #007531;
    --background-color: lightgrey;
    --zonededroite-color : white ;
    --year-size: 23px;
 }


/* ///////////HOME : PODCAST LIST////////////// */
 #podcast {
  box-sizing: border-box;
  position:relative;
  padding-left: 30px;
  width: calc(100vw - 650px - 20px);
  padding-top: 20px;
  padding-right: 30px;
}

.episode {
  text-align: left;
  margin-bottom:30px;
  background-color: var(--jaune);
  border: 3px solid black;
  padding:5px;
}

h2 {
  font-family: Poppins-regular;
  display: inline-block;
  font-size: 38px;
  text-transform: uppercase;
  margin: 5px;
  line-height: 40px;
  margin-left: 0px;
}

p {
  text-align:left;
  font-family: Poppins-regular;
  font-size: 14px;
  line-height:17px;
  margin: 0px;
  margin-bottom: 15px;
}

.episode .pres {
  overflow:hidden;
  display: -webkit-box; 
  -webkit-line-clamp: 4; 
  -webkit-box-orient: vertical;

}

#podcast a {
  font-family: Poppins-regular;
  text-decoration: none;
 
  pointer-events:auto;
  /*
  animation-name: shadow;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  */
  text-align: left;
  margin-top: 20px;
 color: #FFE417;
 background-color: black;
 padding:4px;
 padding-bottom:1px;
 
}

#podcast a:hover {
  text-shadow: black 0px 0 3px;
  cursor:pointer;
  text-decoration: none;
  filter: blur(2px);
}

@keyframes shadow{
  100%{ /*text-shadow: black 0px 0 3px;*/ }
  50%{ text-shadow: black 0px 0 0px; opacity:5%;}
  0%{ /*text-shadow: black 0px 0 3px;*/ }
}

/*///////////// A DROITE /////////////*/
.zonededroite{
  position : fixed;
  background-color: var(--zonededroite-color);
  width:650px;
  height:100vh;
  right:0vw;
  top:0vh;
  padding-left:0vw;
  /*z-index: 0;*/
}

.titlebox{
  width: 200px; 
  position:absolute; 
  left:10px;
  top:20px;
}

 h1 {
  text-align: left;
  font-family: 'Poppins-display';
  font-weight: normal;
  text-transform: uppercase;
  margin: 0px;
  padding: 0px;
  line-height: 27px;
  font-size: 27px;
}

 .sous-titre {
  font-size: 13px;
   line-height:13px;
   text-transform: uppercase;
  text-align: left;
  font-family: 'Poppins-regular';
   margin-bottom:0px;
  margin-top:0px;
 }

 .about p {
  position:absolute; 
  top:100px; 
  padding: 0px 30px 0px 30px;
 }

.buttonbox{
  width:200px;
  position:absolute;
  right:25px;
  top:10px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 5px; 
}

button{  
  border: 1px solid black;
  outline: none;
  border-radius: 50%;
  text-align: center;
  font-size: 18px;
  font-family: 'Poppins-display';
  padding-top:6px;
  }


#en{
  width: 40px;
  height: 40px;
  background-color: white;
  color:black;
  cursor:pointer;
  /*display:none;*/ /*transat*/
}

#fr{
  width: 40px;
  height: 40px;
  background-color: black;
  color:white;
  cursor:default;
  /*display:none; /*transat*/
}

#aboutorhome{
  height: 40px;
  border: none;
  outline: none;
  border-radius: 0;
  background-color: transparent;
  /*text-decoration: underline;*/
  text-transform: uppercase;
  cursor:pointer;
}

#phone_aboutorhome{
  display: none;
}

/*///////////// ROULETTE /////////////*/
#remove{
  font-weight:bold;
  animation-name: shadow;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

#remove:hover{
  text-shadow: black 0px 0 3px;
  color:black;
}

#random{ 
  position: absolute;
  font-weight: bold;
  line-height:18px;
  right:100px;
  bottom: 100px;
  width: 40px;
  height: 40px;
  vertical-align: middle;
  background-color: white;
  color:black;
  cursor:pointer;
  animation-name: random;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes random{
  0%{ transform: rotate(-360deg);}
  75%{ transform: rotate(-360deg); }
  100%{ transform: rotate(360deg); }
}

.emplacvignette { 
  background-color: black;
  border-radius: 50%;
  position:absolute;
  width: 150px;
  height: 150px;
  right:calc(50% - 75px);
  top: calc(25vh + 110px);
  animation-name: disc;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.emplacvignette::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10%;
  height: 10%;
  background-color: var(--zonededroite-color); /*couleur du fond*/
  border-radius: 50%;
  transform: translate(-50%, -50%);   
  border: 0px solid transparent;
  box-shadow: 0 0 0 1px black, 0 0 0 6px var(--zonededroite-color), 0 0 0 7px black, 0 0 0 13px var(--zonededroite-color);
}

@keyframes disc{
  from{ transform: rotate(-90deg); }
  to{ transform: rotate(90deg); }
}

.vignette{
  display: none;
}

.roulette{ /*contient cercles avec années*/
  top: 15vh;
  right:340px;
  position:absolute;
}

.circle-text1 { /*1282 à 1815*/
  position:absolute;
  top: 14vh;
  text-align: center;
  transform: rotate(0deg);
  
}

#deplier {
  display: none;
}

.circle-text2{ /*1843 à 1958*/
  position: absolute;
  top:7vh;
  text-align: center;
  transform: rotate(0deg);
  transform-origin: center;
}

.circle-text3{ /*1962 à 2125*/
  position: absolute;
  top:0vh;
  text-align: center;
  transform: rotate(0deg);
  transform-origin: center;
}


.circle-text1 a {
  position: absolute;
  display: inline-block;
  font-size: 23px;
  width: 20px; 
  height: 150px; 
  transform-origin: center bottom;
}

.circle-text2 a {
  position: absolute;
  display: inline-block;
  font-size: 23px;
  width: 20px; 
  height: 200px; 
  transform-origin: center bottom;
}

.circle-text3 a {
  position: absolute;
  display: inline-block;
  font-size: 23px;
  width: 20px; 
  height: 250px;
  transform-origin: center bottom;
}

.roulette a{
  font-family: Poppins-regular;
  text-decoration: none;
  color: black;
  font-size: 20px;
  pointer-events:none;
}

.roulette a:hover {
  text-shadow: var(--jaune) 0px 0 3px;
  cursor:pointer;
  text-decoration: none;
  color:var(--jaune);
  filter: blur(2px);
}

.fixingLink{
  pointer-events:auto;
}

.disc{
  animation-name: disc;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

/*///////////// AUDIO PLAYER /////////////*/

audio,
a[href$=".mp3"],
a[href$=".m4v"],
a[href$=".mp4"] {
  display: none;
}

.jp-next, .jp-previous, .fa-music, .jp-shuffle, .jp-repeat {
  display:none;
}

.jp-track-name {
  display: none;
}

#rss img{
  width: 2%;
  display: inline-block;
  position: relative;
  top : -5px;
  left: 15px;
}

.audio-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

video#jp_video_0 {
  position: absolute;
  left: 10px;
  bottom: 93px;
}

.no-flexbox .audio-player {
  display: none;
}

.flex-wrap {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.flex-item {
  margin: 0 10px;
}

.flex-item:first-of-type {
  margin-left: 0;
}

.jp-now-playing img#mini_poster {
  max-height: 50px;
  width: auto;
  float: left;
  margin-right: 10px;
}

.jp-progress-container.flex-item {
  margin-right: 0px;
  flex-grow: 2;
  flex-shrink: 2;
}

.jp-now-playing.flex-item {
  flex-basis: 295px;
  display: none;
}

.jp-toggles.flex-item {
  display: none;
}

.jp-volume-controls.flex-item { /*volume bar length*/
  flex-basis: 100px;
}

.jp-audio,
.jp-audio-stream,
.jp-video {
  background: var(--jaune);
  padding: 15px;
  position: relative;
}

.jp-playlist {
  display: none;
}

.jp-interface .jp-controls button,
.jp-interface .jp-toggles button,
.jp-interface .jp-volume-controls button {
  background: none;
  border: none;
  outline: none;
  color: black;
  line-height: 24px;
  font-weight: 600;
}

.jp-interface .jp-controls .jp-play i,
.jp-interface .jp-controls .jp-previous i,
.jp-interface .jp-controls .jp-next i {
  font-size: 23px;
  color: black;
}

.jp-interface .jp-controls .jp-play {
  border-radius: 50%;
  width: 10px;
  height: 10px;
  margin: 0 5px;
}

.jp-interface .jp-controls .jp-play i {
  padding-left: 5px;
  padding-top: 2px;
}

jp-now-playing {
  display: none;
}

.jp-audio.jp-state-playing .jp-play i {
  padding-left: 0px;
}

.jp-audio.jp-state-seeking .jp-play i:before {
  content: "\f1ce" !important;
}

.jp-audio.jp-state-playing .jp-play i:before {
  content: "\f04c";
}

img#jp_poster_0 {
  display: none !important;
}

.jp-audio.jp-state-seeking .jp-play,
.playing.buffering {
  display: inline-block;
  -webkit-animation: spin 1.5s linear infinite;
  animation: spin 1.5s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.jp-progress-container,
.jp-volume-bar-container {
  height: 30px;
  padding: 10px;
}

.jp-progress,
.jp-seek-bar,
.jp-play-bar,
.jp-volume-bar,
.jp-volume-bar-value {
  height: 8px;
  border-radius: 1px;
}

.jp-progress {
  margin: 0px 50px;
  background-color: #000000;
  border-radius: 5px;
}

.jp-seek-bar,
.jp-volume-bar {
  cursor: pointer;
  background-color: white;
 /* border: solid 1px black;*/
  border-radius: 5px;
}

.jp-play-bar {
  float: left;
  position: relative;
  /*  background-color: #00c85f;*/
  background-color: black;
  border-radius: 5px;
  overflow: visible !important;
}

.jp-volume-bar-value {
  float: left;
  position: relative;
  background-color: black;
}

.jp-progress .bullet,
.jp-volume-bar .bullet {
  position: absolute;
  content: "";
  top: -5px;
  right: -7px;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background-color: rgb(0, 0, 0);
  /*border:solid 1px rgb(0, 0, 0);*/
}

.jp-time-holder {
  position: relative;
  top: 0;
  color: black;
  font-size: 12px;
}

.jp-time-holder .jp-current-time {
  position: absolute;
  left: 0px;
  top: 0px;
}

.jp-time-holder .jp-duration {
  position: absolute;
  right: 0px;
  top: 0px;
}

.jp-now-playing {
  padding: 0 10px;
}

.jp-track-name {
  color: black;
  font-size: 16px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 250px;
}

.jp-artist-name {
  color: black;
  font-size: 14px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 245px;
}

.jp-toggles button {
  margin: 0 3px;
}

.jp-toggles button:hover {
  color: #FFF;
}

.jp-state-looped .jp-toggles .jp-repeat,
.jp-state-shuffled .jp-toggles .jp-shuffle,
.jp-interface .jp-toggles .playlist-is-visible.jp-show-playlist {
  color: white;
}

.jp-volume-controls button {
  float: left;
}

.jp-volume-controls .jp-volume-bar {
  margin-left: 40px;
  margin-top: 8px;
}

.jp-state-muted .jp-mute i:before {
  content: "\f026" !important;
}

.jp-volume-bar,
.jp-volume-bar-value {
  border-radius: 5px;
}

.jp-state-no-volume .jp-volume-controls {
  display: none;
}

.jp-playlist {
  position: absolute;
  right: 65px;
  bottom: 100%;
  background: var(--jaune);
  padding: 20px 25px;
  width: 400px;
}

.jp-playlist ul {
  padding: 0;
  margin: 0;
  max-height: 200px;
  overflow: auto;
}

.jp-playlist li {
  list-style: none;
}

.jp-playlist li a {
  color: black;
  display: block;
  padding: 10px 0;
  outline: none;
  border-bottom: 1px solid #1F1F1F;
}

.jp-playlist li:last-child a {
  border-bottom: 0;
}

.jp-playlist li a:hover,
.jp-playlist li a:focus,
.jp-playlist li a:active,
a.jp-playlist-item.jp-playlist-current {
  color: white;
  /*  color: #00c85f;*/
  text-decoration: none;
}

.jp-playlist li a span {
  color: black;
}

.jp-interface .jp-controls button,
.jp-interface .jp-toggles button,
.jp-interface .jp-volume-controls button {
  font-size: 18px;
}


/*///////////// PAGES DEDIEES AU PODCAST /////////////*/
body.pages_par_podcast { 
/* //////AUDIO PLAYER//////*/
  .jp-audio {
    background: none;
    padding: 0px;
    bottom: 0px;
    position: absolute;
    width: calc(100%);
    height: calc(25%);
  }

  .jp-seek-bar,
  .jp-volume-bar {
    cursor: pointer;
    background-color: white;
    border: solid 1px black;
    border-radius: 5px;
  }


  .fa.fa-play{
    color:black;
    font-size: 40px;
    position:absolute;
    bottom:20%;
    right:calc(50% - 20px);
  }

  .fa.fa-volume-up{
    color:black;
    position:absolute;
    top:-10%;
    right:15%;
    padding: 0px;
    font-size: 40px;
  }

  .fa.fa-play:hover, .fa.fa-volume-up:hover{
    cursor:pointer;
      }

  .jp-volume-controls.flex-item { 
    flex-basis: 0px;
  }

  .jp-volume-bar, .jp-volume-bar .bullet{
    display:none;
  }

.jp-progress-container.flex-item{
  position:absolute;
  bottom:40%;
  width:calc(100% - 60px);
  padding-left:30px;
  padding-right:30px;
  margin:unset;
}

  .jp-time-holder { /*times*/
    position: relative;
    top: 20px;
    color: black;
    font-size: 12px;
  }

  .jp-time-holder .jp-current-time { /*time - left*/
    position: absolute;
    left: 50px;
    top: 0px;
  }
  
  .jp-time-holder .jp-duration { /*time - right*/
    position: absolute;
    right: 50px;
    top: 0px;
  }

  .jp-progress {
    margin: 0px 0px;
  }

  .jp-volume-controls.flex-item .jp-volume-bar {
    display: none !important;
  }

/* //////VIGNETTE//////*/
  .emplacvignette { /*emplacement des vignettes sur la page dédiée au podcast*/
    background-color: black;
    position:absolute; 
    right:calc( 65px + 35px); 
    top: calc(50% - 225px - 50px); /*50%-225px is the center but too low*/
    width: 450px; /*520px for the same size as home circle*/
    height:450px;
    animation-name: unset;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
  }
  
  .vignettepod{
    margin:0px;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    border: 1px solid black;
  }
  
  .vignettepod::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10%;
    height: 10%;
    background-color: var(--zonededroite-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);   
  }

  .infoMobile{
    display: none;
  }

}



 /*-------------------------------------- VERSION WEB du site (smaller) --------------------------------------*/
@media (min-width: 980px) and (max-width: 1200px) {


  html {
    background-color: white;
  }

  button {

    background-color: #FFE417;
    border-radius: 0px;

  }

  #menu_mob {
    display:none;
  }

  .episode {

    padding: 20px;
  }

  .episode .pres{

    margin-bottom: 20px;
  }

    .jp-time-holder .jp-duration {
      display: none;
    }

    .jp-progress-container.flex-item{
      position:absolute;
      bottom: 30%;
      width: 100%;
      padding-left:unset;
      padding-right:unset;
      padding: 10px 0px 10px 40px;
    }

    .jp-volume-controls.flex-item{
      display: none;
    }

    body.pages_par_podcast { 
      .jp-time-holder .jp-duration{
        display: unset;
      }

      .jp-volume-controls.flex-item{
        display: unset;
      }

    }
  }



 /*-------------------------------------- VERSION WEB du site (portrait) --------------------------------------*/
@media (max-width: 980px) {
  
    .jp-time-holder .jp-duration{
      display: none;
    }

    .jp-progress-container.flex-item{
      background-color: none;
      position:absolute;
      bottom: 30%;
      width: 100%;
      padding-left:unset;
      padding-right:unset;
      padding: 10px 0px 10px 40px;
    }

    .jp-volume-controls.flex-item{
      display: none;
    }


     #podcast {
      width: calc(100vw - 20px);
    
      /* top:100vh; */
    }

    body.pages_par_podcast { 
      .jp-time-holder .jp-duration{
        display: unset;
      }

      .jp-volume-controls.flex-item{
        display: unset;
      }


    }
  }








































 /*-------------------------------------- VERSION SMARTPHONE du site --------------------------------------*/
  @media screen and (min-width: 768px) and (orientation: portrait){


    #deplier {
      display: block;
      font-size: 50px;
      margin: 0 auto;
      margin-top: 250px;
      transform: scaleY(0.5);
    }
    .zonededroite{
      position : absolute;
      width:100vw;
      height:calc(100vh - 25vh);
    }
    #podcast {
      width: calc(100vw - 20px);
    
      /* top:100vh; */
    }
    
    .titlebox{
      width: 50vw; 
      left:30px;
      top:100px;
    }
   
     h1 {
      line-height: 70px;
      font-size: 70px;
    }

    h1 a, #titre_p {
      color: #000000;
      text-decoration: none;
    }
    
     .sous-titre {
     
      font-size: 35px;
       line-height:35px;
     }
     
  h2 {
    font-family: Poppins-regular;
    display: inline-block;
    font-size: 50px;
    text-transform: uppercase;
    margin: 10px;
    margin-left: 0px;
    line-height: 1;
  }

  p {
    text-align:left;
    font-family: Poppins-regular;
    font-size: 30px;
    line-height:32px;
    margin: 0px;
  }

  .about p {
    position:absolute; 
    top:250px; 
    padding: 0px 30px 0px 30px;
   }

.buttonbox{ 
  width:30vw;
  right:30px;
  top:85px;
  gap: 15px; 
}

button{ 
  font-size: 30px;
  padding-top:10px;
  }

#en, #fr, #phone_aboutorhome{ 
  width: 70px;
  height: 70px;
}

#phone_aboutorhome{
  display: unset;
  padding-top:7px;

}

#aboutorhome{
  display: none;
}

     #podcast {
      width: calc(100vw - 0px);
      padding-top: 30px;
      padding-left: 30px;
      padding-right: 30px;
      padding-bottom: 30px;
      margin-top: 300px;
 
    }

    #podcast a {
      font-size:30px;
      line-height:32px;
      padding: 8px;

    }

/* //////AUDIO PLAYER//////*/
.jp-audio {
      width: calc(100%);
      height: calc(30%);
    }
    
    .jp-seek-bar,
    .jp-volume-bar {
    border-radius: 10px; 
    height:16px;
    }

    .jp-play-bar{
      height:16px;
      border-radius:10px; 
    }

    .jp-progress .bullet{
      top:-5px;
      height:26px;
      width:26px;
    }
        

    .jp-progress-container.flex-item{
    position:relative;
    bottom:unset;
    width:calc(100% - 200px);
    padding-left: 150px;
    padding-right:50px;
    margin:unset;
    }
    
    .jp-time-holder { 
      position: unset;
      font-size: 30px;
    }
    
    .jp-time-holder .jp-current-time { 
      position: absolute;
      left: 35px;
      top: 0px;
    }
    
    .jp-progress {
      margin: 0px 0px;
    }

    .jp-interface .jp-controls .jp-play i{
      font-size: 38px;
    }

    .roulette{
      top: 20%;
      right:51%;
      position:absolute;
    }

    .circle-text1 { 
      top: 14vh;
    }
    
    .circle-text2{ 
      top:9vh;
    }
    
    .circle-text3{ 
      top:4vh;
    }
    
    
    .circle-text1 a {
      font-size: 38px;
      height: 250px; 
    }
    
    .circle-text2 a {
      font-size: 38px;
      height: 350px; 
    }
    
    .circle-text3 a {
      font-size: 38px;
      height: 450px;
    }

    .emplacvignette { 
      width: 270px;
      height: 270px;
      right: calc(50% - 135px);
      top: calc(51% - 70px);
    }

/*///////////// (smartphone) PAGES DEDIEES AU PODCAST /////////////*/
body.pages_par_podcast { 

    .emplacvignette {
      right: calc(50% - 40vw); 
      top: calc(50% - 25vh);
      width:80vw; 
      height:80vw;
      overflow: hidden; /*trying to get rid of shifting page with no success*/
    }

    .vignettepod{
      overflow: hidden; /*doesn't work*/
    }

  .episode{
    background-color: unset;
    border:unset;
  }

  .infoMobile{
    display: unset;
    width:calc(100vw - 300px);
    font-size: 30px;
    text-align:left;
    position:absolute;
    bottom: 15vh;
    left:150px;
  }
  
/* //////AUDIO PLAYER//////*/
.jp-audio {
  padding: 0px;
  bottom: 0vh;
  position: absolute;
  width: calc(100%);
  height: calc(30%);
}

.jp-seek-bar,
.jp-volume-bar {
background-color: lightgrey;
border-radius: 10px;
height:16px;
}

.jp-play-bar{
  height:16px;
  border-radius:10px; 
}

.jp-progress .bullet{
  top:-5px;
  height:26px;
  width:26px;
}

.fa.fa-play{
  font-size: 100px;
  right:calc(50% - 50px);
  /*top:12vh;*/
}

.jp-volume-controls.flex-item { 
  display:none;
}

.jp-progress-container.flex-item{
position:absolute;
bottom:unset;
top:20vw;
width:calc(100% - 200px);
padding-left:100px;
padding-right:100px;
margin:unset;
}

.jp-time-holder { /*times*/
  position: relative;
  top: 30px;
  color: black;
  font-size: 30px;
}
.jp-time-holder .jp-current-time { /*time - left*/
  position: absolute;
  left: 50px;
  top: 0px;
}
.jp-time-holder .jp-duration { /*time - right*/
  position: absolute;
  right: 50px;
  top: 0px;
}

.jp-progress {
  margin: 0px 0px;
}

.jp-volume-controls.flex-item .jp-volume-bar {
  background-color: none;
  /*display: none !important;*/
}

  }
}
