html {
  scroll-behavior: smooth;
}


img {
  border: #eee solid 1px;
}

.content a {
   text-decoration: underline;
}



/* TOBI : legende sous l'image...*/
.tobi [data-type] {
    max-height: 85vh;
    max-width: 85vw;
    overflow: inherit ;
    overflow-y: visible;
}

.tobi [data-type] > figure > figcaption {
    background-color: rgba(0,0,0,0);
    bottom: 0;
    color: #ccc;
    padding: .22222em .44444em;
    position: inherit;
    font-size: 0.85rem;
    font-style: italic;
}

.tobi {
    background-color: rgba(25,25,25,0.96);

}

.video-responsive{
    overflow:hidden;
    padding-bottom:66.66%;
    position:relative;
    height:0;
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}


#totop {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 20px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  
  cursor: pointer; /* Add a mouse pointer on hover */
  text-decoration: none;
  font-size: 24px;
  padding: 2px 6px 4px 6px;
  border: 1px solid #4a4a4a;
  color: #4a4a4a;
  background: #fff;
  _border-radius: 8px;
  white-space: nowrap;
}

#totop:hover {
  background-color: #eee; /* Add a dark-grey background on hover */
}


.snip1577 {
    position: relative;
    display: inline-block;
    overflow: hidden;
    _margin: 10px;
    _min-width: 230px;
    max-width: 315px;
    width: 100%;
    color: #fff;
    text-align: left;
    background: #000;
  }
  .snip1577 *,
  .snip1577:before,
  .snip1577:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  }
  .snip1577 img {
    max-width: 100%;
    backface-visibility: hidden;
    vertical-align: top;
  }
  .snip1577:before,
  .snip1577:after {
    position: absolute;
    top: 20px;
    right: 20px;
    content: '';
    background-color: #fff;
    z-index: 1;
    opacity: 0;
  }
  .snip1577:before {
    width: 0;
    height: 1px;
  }
  .snip1577:after {
    height: 0;
    width: 1px;
  }
  .snip1577 figcaption {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 15px 20px;
  }
  
  .snip1577 div {
    margin: 0;
    font-size: 1.2em;
    font-weight: 200;
    opacity: 0;
    color: #fff;
    font-style:normal;
  }
  .snip1577 i {
    font-size: .8em;
    opacity: 0;
    color: #ddd;
    _text-transform: uppercase;
  }
  .snip1577 a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
  }
  .snip1577:hover img,
  .snip1577.hover img {
    zoom: 1;
    filter: alpha(opacity=20);
    -webkit-opacity: 0.2;
    opacity: 0.2;
  }
  .snip1577:hover:before,
  .snip1577.hover:before,
  .snip1577:hover:after,
  .snip1577.hover:after {
    opacity: 1;
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
  }
  .snip1577:hover:before,
  .snip1577.hover:before {
    width: 40px;
  }
  .snip1577:hover:after,
  .snip1577.hover:after {
    height: 40px;
  }
  .snip1577:hover i,
  .snip1577.hover i,
  .snip1577:hover div,
  .snip1577.hover div {
    opacity: 1;
  }
  .snip1577:hover div,
  .snip1577.hover div {
    -webkit-transition-delay: 0.15s;
    transition-delay: 0.15s;
  }
  .snip1577:hover i,
  .snip1577.hover i {
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
  }

  @media screen and (max-width:1023px) {
    .snip1577 figcaption {
      position: relative;
      padding: 2px;
    }
    .snip1577 div {
      opacity: 1;
      color: #111;
    }
    .snip1577 i {
      opacity: 1;
      color: #555;
    }
    .snip1577 {
      text-align: center;
      background: #fff;
    }
    .snip1577:hover img,
    .snip1577.hover img {
      zoom: 1;
      filter: alpha(opacity=60);
      -webkit-opacity: 0.6;
      opacity: 0.6;
    }
  }