body {
  background-image: url("images/rfpp_bg.jpg");
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  hyphens: auto;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@media (max-width: 992px) {
  body {
    background-image: none;
  }
}

.page {
  background-color: #fff;
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

body {
  font-size: 1em;
}

a:hover {
  color: var(--primary);
  background-color: transparent;
}

a:focus {
  color: var(--primary);
  background-color: transparent;
}

a.blind {
  text-decoration: none;
  color: black;
}

.numsem{
  font-weight: normal;
  font-size: 1.1em;
}


@media (max-width: 576px) {
  body {
    font-size: 0.9em;
  }
}

@media (max-height: 800px) {
  body {
    font-size: 0.9em;
  }

  .navbar .nav-item {
    padding-top: 0.2em;
  }

}

@media (max-height: 650px) {

  .navbar .nav-item {
    font-size: 1.1em;
  }

}




/*************** COLLUMN *****************************/

/**** logo ********************/

#logo {
  text-align: center;
}

.spip_logo_site {
  margin-bottom: 0px;
}


/**** direct ********************/
.btn-direct {
  width: 100%;
  padding: 0.3rem 0.5rem;
  border: 2px solid;
  text-align: left;
  font-weight: bold;
  font-size: 1.2rem;
  transition: color 0s ease-in-out, background-color 0s ease-in-out, border-color 0s ease-in-out, box-shadow 0s ease-in-out;
}

.img-btn-direct {
  background-image: url("images/playon.png");
}

.btn-direct:hover > .img-btn-direct {
  background-image: url("images/playoff.png");
}



/**** player ********************/

#player {
  border-top: 2px solid var(--primary);
}

@media (max-width: 992px) {
  #player {
    border-top: 0;
    }
  }

.btn-lecture {
  float: left;
  margin-right: 0.5em;
}

.titre-emission, .titre-podcast {
  margin: 0px;
}

.titre-podcast {
  font-weight: normal;
}

input[type=range].seekbar {
  width: 100%;
  margin: 5.5px 0;
  background-color: transparent;
  -webkit-appearance: none;
}
input[type=range].seekbar:focus {
  outline: none;
}
input[type=range].seekbar::-webkit-slider-runnable-track {
  background: var(--primary);
  border: 0px solid rgba(1, 0, 1, 0);
  border: 0;
  border-radius: 4px;
  width: 100%;
  height: 4px;
  cursor: pointer;
}
input[type=range].seekbar::-webkit-slider-thumb {
  margin-top: -5.5px;
  width: 15px;
  height: 15px;
  background: var(--primary);
  border: 0;
  border-radius: 15px;
  cursor: pointer;
  -webkit-appearance: none;
}
input[type=range].seekbar:focus::-webkit-slider-runnable-track {
  background: #f59431;
}
input[type=range].seekbar::-moz-range-track {
  background: #D2D2D2;
  border: 0px solid rgba(1, 0, 1, 0);
  border: 0;
  border-radius: 4px;
  width: 100%;
  height: 4px;
  cursor: pointer;
}

input[type=range].seekbar::-moz-range-progress {
  background: #FE6A00;
  border: 0px solid rgba(1, 0, 1, 0);
  border: 0;
  border-radius: 4px;
  width: 100%;
  height: 4px;
  cursor: pointer;
}

input[type=range].seekbar::-moz-range-thumb {
  width: 15px;
  height: 15px;
  background: #FE6A00;
  border: 0;
  border-radius: 15px;
  cursor: pointer;
}
input[type=range].seekbar::-ms-track {
  background: transparent;
  border-color: transparent;
  border-width: 5.5px 0;
  color: transparent;
  width: 100%;
  height: 4px;
  cursor: pointer;
}
input[type=range].seekbar::-ms-fill-lower {
  background: #e87a0b;
  border: 0px solid rgba(1, 0, 1, 0);
  border: 0;
  border-radius: 8px;
}
input[type=range].seekbar::-ms-fill-upper {
  background: var(--primary);
  border: 0px solid rgba(1, 0, 1, 0);
  border: 0;
  border-radius: 8px;
}
input[type=range].seekbar::-ms-thumb {
  width: 15px;
  height: 15px;
  background: var(--primary);
  border: 0;
  border-radius: 15px;
  cursor: pointer;
  margin-top: 0px;
  /*Needed to keep the Edge thumb centred*/
}
input[type=range].seekbar:focus::-ms-fill-lower {
  background: var(--primary);
}
input[type=range].seekbar:focus::-ms-fill-upper {
  background: #f59431;
}
/*TODO: Use one of the selectors from https://stackoverflow.com/a/20541859/7077589 and figure out
how to remove the virtical space around the range input in IE*/
@supports (-ms-ime-align:auto) {
  /* Pre-Chromium Edge only styles, selector taken from hhttps://stackoverflow.com/a/32202953/7077589 */
  input[type=range].seekbar {
    margin: 0;
    /*Edge starts the margin from the thumb, not the track as other browsers do*/
  }
}



/**** nav ********************/

.navbar li {
  list-style: none;
}

.navbar .nav-item {
  border-bottom: 2px solid var(--primary);
}

.navbar .nav-item a {
  text-decoration: none;
}

/* formulaire_
----------------------------------------------------*/
.formulaire_recherche { clear: both; margin: 0; padding: 0; text-align: right; }
.formulaire_recherche input.submit {background: url('images/loupe.svg') no-repeat center center var(--primary); background-size: 60%; color: transparent; border: 0; border-radius: 0; width: 30px; height: 30px; }
.formulaire_recherche input.text,
.formulaire_recherche textarea {height: 30px; border: 0; background-color: #FFF;}







/*************** TABS *****************************/
.nav-tabs {
  border: 0;
  margin-bottom: 1px;
}

.nav-tabs .nav-link, .nav-tabs .menu-items__lien {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.nav-tabs .nav-link {
  border: 0px !important;
  border-bottom: 2px solid transparent !important;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-link:hover {
  background-color: #fff;
  border-bottom: 2px solid var(--primary) !important;
}


/*************** HEADER *****************************/

h1.header {
  margin-top: 0;
  font-size: 3.8em;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: bold;
  text-decoration: underline;
  text-decoration-color: var(--primary);
  /*box-shadow: 0 -0.15em 0 var(--primary) inset;*/
}

@media (max-width: 576px) {
  h1.header {
    font-size: 3em;
    margin-top: 0em;
  }
}

.navpage .nav-link {
  padding-left: 0px;
  padding-right: 0px;
  margin-right: 1rem;
  color: #000;
}

.navpage .nav-link.active, .navpage .nav-link:hover {
  border-bottom: 2px solid var(--primary) !important;
}

/* ------ FOOTER -----------------------*/
.footer {
  width: calc(100% - 30px);
  text-align: center;
}

.copyright, .footer-link {
  color: #212529;
}

.copyright:hover, .footer-link:hover {
  color: var(--primary);
  background-color: transparent;
}



/*************** CONTENT *****************************/


h2.heading-title {
  font-size: 2em;
  margin-top: 0.1em;
}

h2.entry-title {
  margin-top: 0.1em;
  margin-bottom: 0.1em;
}

.soustitre, .diffusion, .rediffusion {
  font-weight: bold;
}

.arbo {
  font-size: 0.9em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.titre p, .horraires p, .liens p, .header p {
  margin-bottom: 0.3em;
}

.titre, .horraires, .liens {
  margin-bottom: 1em;
}

a.spip_out::after {
    content: " ➚";
    color: var(--primary);
}


@media (max-width: 576px) {
  h2.heading-title {
    font-size: 1.7em;
  }
}



/*************** SOMMAIRE *****************************/
/****** crowdfunding **/
.crowdfunding {
  border: 2px solid var(--primary);
  margin-bottom: 1.5rem;
  background-color: rgba(0, 0, 0, 0.05);
}
.crowdfunding table.spip {
  margin-bottom: 0;
}

/****** une et acutalités **/
.une, .actualites {
  border-bottom: 2px solid var(--primary);
  margin-bottom: 1.5rem;
}




/****** live **/

.live .nav-tabs .nav-item {
  margin-bottom: 0px;
}

.live .nav-tabs .nav-item:last-child {
      margin-bottom: -1px;
}

.live .nav-tabs .nav-link {
  padding: 1rem 1rem;
  background-color: #FFF;
  border-bottom: 1px solid var(--primary) !important;
  color: #000;
}

.live .nav-tabs .nav-link.active, .live .nav-tabs .nav-link.active:hover {
  background-color: var(--primary);
  color: #fff;
}

.live .nav-tabs .nav-link:hover {
  color: var(--primary);
}

.badge-direct {
  margin-left: 50px;
  color: var(--primary);
  border: 1px solid var(--primary);
  background-color: #fff;
  border-radius: 0;
  font-size: 85%;
}

.nom-live{
  font-weight: bold;
}



/*************** EMISSIONS *****************************/

.card {
  border-radius: 0px;

}

.card-body p {
  margin-bottom: 0.5em;
}

.card-emission,
.card-emission-prog {
  border: 0;
}

.card-emission .card-body {
  border: 2px solid var(--primary);
}

.card-emission-prog .card-body {
  border-bottom: 2px solid var(--primary);
}

.card-emission .card-header,
.card-emission-prog .card-header {
  border-bottom: 0;
  background-color: #FFF;
  text-align: left;
}

.card-emission-prog .card-img {
  border: 1px solid #000;
}


.card-rubrique {
  border: 0px;
  margin-bottom: 1em;
  padding: 0px;
  /*border-bottom: 3px solid var(--primary);
  border-left: 1px solid var(--primary);
  border-top: 1px solid var(--primary);
  border-right: 3px solid var(--primary);
 */
}

.card-rubrique .card-body {
  padding: 0px;
}

.card-rubrique .card-footer {
  border: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
  background-Color: #FFF;
}

.card-title {
  font-size: 1.1em;
}

.lien-block, .lien-block:active, .lien-block:focus {
  text-decoration: none;
  color: #000;
}

.lien-block:hover {
  text-decoration: none;
}

[data-toggle="collapse"][aria-expanded="true"] > .js-rotate-if-collapsed
       {
         display: inline-block;
           -webkit-transform: rotate(180deg);
           -moz-transform:    rotate(180deg);
           -ms-transform:     rotate(180deg);
           -o-transform:      rotate(180deg);
           transform:         rotate(180deg);
       }



 /*************** PODCAST *****************************/
h5.date {
  margin: 0;
  margin-top: 1em;
}

 .card-podcast {
   border: 0;
   border-bottom: 2px solid var(--primary);
 }

 .card-podcast.audio {
   border-bottom: 0;
 }

.card-podcast .card-img {
  border: 1px solid #000;
  background-color: #000;
  transition: color 0s ease-in-out, background-color 0s ease-in-out, border-color 0s ease-in-out, box-shadow 0s ease-in-out;
 }

  .card-podcast .card-img:hover {
      border: 1px solid var(--primary);
      background-color: var(--primary);
    }

  .card-podcast .card-img:focus {
      border: 1px solid var(--primary);
      background-color: var(--primary);
    }



 .lien-podcast, .lien-podcast:active, .lien-podcast:focus {
   text-decoration: none;
   color: #000;
 }


.card-title {
  line-height: 1.5;
  font-weight: bold;
  margin-bottom: 0;
}

 .lien-podcast:hover {
   text-decoration: none;
 }

/*.card-podcast .card-body:last-child{
   border-top: 1px solid var(--primary);
 }*/
