/* Position the image container (needed to position the left and right arrows) */
.ic-container-slider {
  position: relative;
}

/* Hide the images by default */
.ic-slides {
  display: none;
  background: black;
  height: 600px;
  justify-content: center;  
  align-items: center;
}

.ic-slides img {
  width: auto;
  height:auto;
  max-width: 100%;
  max-height: 600px; 
}

.captio-container + .row {
  background: black;
  display:flex;
  justify-content: center;
}

.main-container.container > .row #main.ic-slider-bottom {
  margin-bottom: 30px;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
  height: 100px; 
  object-fit: cover;
}

/* Next & previous buttons */
.ic-container-slider a.prev,
.ic-container-slider a.next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(0, 0, 0, 0.4);
}

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

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

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Container for image text */
.caption-container {
  text-align: center;
  background-color: #222;
  padding: 2px 16px;
  color: white;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.ic-column {
  float: left;
  width:25%;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

#main .listado div.field--item div.paragraph.paragraph--type--galeria div.ic-container-slider {
  max-width: 829px;
}

.caption-container {
  background-color: #000000;
}

.page-node-type-noticia #main .contenedor-seccion-listados.contenedor-noticia-evento .pagina-generica .bloque-izquierdo .caption-container p,
.caption-container p {
  color: #E2DFDA;
  font-size: 16px;
  line-height: 20px;
  padding: 5px !important;
  background-color: #000000;
  font-weight: 100;
}

.ic-slider-nav-btn {
  background-color: #B50D0D;
  color: #fff;
  width: fit-content;
  float: left;
  font-size: 14px;
  padding: 4px 7px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.ic-slider-nav-btn.enabled {
  cursor: pointer;
}

.ic-slider-nav-btn.disabled{
  background-color: #fff;
  border: 1px solid #B50D0D;
  color: #B50D0D;
}

.ic-slider-nav {
  margin-top: 10px;
  display: flex;
}

.ic-slider-dots {
  margin-top: 10px;
  display: flex;
}

.ic-dot {
  width: 10px;
  height: 10px;
  margin: 5px 7px;
  background: #B50D0D3D;
  display: block;
  -webkit-backface-visibility: visible;
  -webkit-transition: opacity 200ms ease;
  -moz-transition: opacity 200ms ease;
  -ms-transition: opacity 200ms ease;
  -o-transition: opacity 200ms ease;
  transition: opacity 200ms ease;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  cursor: pointer;
}

.ic-dot.active, .ic-dot.active span, .ic-dot:hover span, .ic-dot:hover {
    background: #B50D0D;
}

.ic-slider-nav-btn.ic-slider-nav-prev,
.ic-dot.ic-dot-first {
  margin-left: auto;
  margin-right: 5px;
}

.ic-slider-nav-btn.ic-slider-nav-next,
.ic-dot.ic-dot-last {
  margin-right: auto;
  margin-left: 5px;
}

.ic-slides-text-msg {
  margin-bottom: 10px;
}

.ic-slides-text {
  margin-top: 10px;
}
