#caroufredsel_wrapper {
  overflow: hidden;
}

#carousel {
  overflow: visible;
}

.block-wwcarousel {
  background-color: #f4f4f4;
}

#carousel a:hover {
  text-decoration: none;
}

#carousel .lesson img {
  width: 100%;
  height: auto;
}

#carousel .image.highlight {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

#carousel img.carousel_default,
#carousel .image.highlight img {
  width: 100%;
  height: auto;
}

ul#carousel {
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
}

ul#carousel li {
  display: block;
  float: left;
  width: 225px;
  height: 300px;
  vertical-align: top;
  margin-left: 3px;
}

#carousel .title,
#carousel .text {
  padding: 0.8em 1em 1em 1em;
  font-size: 0.8em;
}

#carousel .title {
  font-size: 0.9em;
}

#carousel li.news .text {
  padding-top: 0;
}

#carousel .title {
  text-transform: uppercase;
}

#carousel .title.news {
  background-color: #043b64;
  color: white;
}

#carousel li a {
  color: white;
}

#carousel ol li {
  display: list-item !important;
  float: none;
  width: auto;
  height: auto;
  margin-left: 0;
}

#carousel ol {
  margin-left: .5em;
  padding-left: .5em;
}

#carousel ul ol li {
  display: block;
  float: none;
  width: auto;
  height: auto;
}

.carousel_controls {
  position: absolute;
  display: block;
  width: 100%;
}

#prev2 {
  position: absolute;
  top: -180px;
  left: 30px;
  width: 52px;
  height: 52px;
  background: #fff url(../img/previous.svg) no-repeat scroll 0 0;
  background-size: 30px 30px;
  background-position: 8px 10px;
  border: medium none;
  border-radius: 26px 26px 26px 26px;
  -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  z-index: 1000;
}

#next2 {
  position: absolute;
  top: -180px;
  right: 30px;
  width: 52px;
  height: 52px;
  background: #fff url(../img/next.svg) no-repeat scroll 0 0;
  background-size: 30px 30px;
  background-position: 12px 10px;
  border: medium none;
  border-radius: 26px 26px 26px 26px;
  -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  z-index: 1000;
}


/* SLIDESHOW */

#wwslideshow {
    margin: 50px auto;
    position: relative;
    width: 100%;
    height: 400px;
    padding: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    background-color: white;
}

#wwslideshow > div {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}


#wwslideshow > div img {
  width: 100%;
  height: auto;
  max-height: 375px;
  object-fit: cover;
  overflow: hidden;
}




