@charset "utf-8";
/* CSS Document */
#banner{
	margin-top:570px;
}

#banner img{
	width:100%;
	height:100%;
}

#banner .contenedor{
	position:absolute;
	top:50%;
	left:50%;
	transform:translateX(-50%) translateY(-50%);
	color:#FFF;
}

#banner h2{
	font-size: 18px;
	}

#banner a{
	display: block;
	width:100px;
	color:#FFF;
	text-decoration:none;
	padding: 7px;
	margin-top:10px;
	border:3px solid #FFF;
	}
	
#banner a:hover{
	background: rgba(255,255,255,0.3);
	}

@media (min-width:480px){
	#banner h2{
		font-size:40px;
	}
	#banner a{
		margin-top:25px;
	}
}

/* Slider de imagenes */

.slider, .slider .imgs {
  width: 100%;
  height: 100%;
  max-height: 540px;
  position:absolute;
  top:0;
  margin-top:0;
  margin:0;
  
 }

.slider {
  height: 100%;
  max-height: 540px;
  
 }

.slider .imgs {
  display: flex;
  overflow: hidden;
}

.slider .img {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position:absolute;
  left: 100%;
  /* animation duration can't be greater than variable interval in JS! */
  /* check JS for other settings */
  animation: .6s cubic-bezier(0.645, 0.045, 0.355, 1) 0s left;
  animation-fill-mode: forwards;
  background-size: cover !important;
  background-position: 50% !important;
  top:0;
  margin-top:0;
  margin:0;
}

/* Change images here */
.slider .img:nth-of-type(1) { background: url(../imagenes/banner/re1.jpg);  }
.slider .img:nth-of-type(2) { background:url(../imagenes/banner/red2.jpg); }
.slider .img:nth-of-type(3) { background:url(../imagenes/banner/red6.jpg); }
.slider .img:nth-of-type(4) { background:url(../imagenes/banner/red4.jpg); }

.slider .img span {
  padding: 7px 20px;
  background: rgba(0, 0, 0, .8);
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  color: #f0f0f0;
  font-size: 14px;
  font-family: sans-serif;
}

.dots {
  position: absolute;
  bottom: -18px;
  left: 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.dot {
  width: 8px;
  height: 8px;
  background: gray;
  border-radius: 50%;
  margin: 0 3px;
  cursor: pointer;
}

.active-dot {
  background: #3f3f3f;
  cursor: default;
}

@keyframes leftNext {
  from { left: 100%; }
  to { left: 0; }
}

@keyframes leftCurr {
  from { left: 0; }
  to { left: -100%; }
}

@keyframes rightNext {
  from { left: -100%; }
  to { left: 0; }
}

@keyframes rightCurr {
  from { left: 0; }
  to { left: 100%; }
}