.npDiapo * {box-sizing: border-box}
.npDiapo .mySlides {display: none}


.npDiapo img {vertical-align: middle;}

/* Slideshow container */
.npDiapo .slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.npDiapo .prev, .npDiapo .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.npDiapo .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.npDiapo .prev:hover, .npDiapo .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.npDiapo .text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* The dots/bullets/indicators */
.npDiapo .dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.npDiapo .active, .npDiapo .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.npDiapo .fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .8} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .8} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .npDiapo .prev, .npDiapo .next, .npDiapo .text {font-size: 11px}
}

.diapo_bull{
  text-align:center;
}

.npDiapo a.prev:hover, .npDiapo a.next:hover{
  text-decoration: none;
}

div.diapo_btctrl{
  text-align: center;
}

div.diapo_btctrl button{
  background-color: #EEE;
  border:0;
  padding:0 10px;
  border-radius: 2px;
}

div.diapo_btctrl button:hover{
  background-color: #DDD;
  cursor: pointer;
}

div.diapo_btctrl button[data-activ='1']{
  background-color: #EEE;
}
div.diapo_btctrl button[data-activ='0']{
  background-color: #e24949;
}