
/* slideshow */
.slideshow-container {
	height:100%;
    max-width: 1000px;
    position: relative;
    margin: auto;
}

.mySlides {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 45%;
    width: auto;
    margin-top: -40px;
    padding: 16px;
    color: red;
    font-weight: bolder;
    font-size: 30px;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
}

.imgg{
    /*max-height: 25rem;*/
    margin-top: 1rem;
    margin-bottom: 2rem;
}

/* clase del div, que no uso, para poner descripción a la imagen
.text {
    color: black;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 50px;
    width: 100%;
    text-align: center;
}
*/

.numbertext {	
    color: black;
    padding: 8px 12px;
    /*position: absolute;*/
	position: relative;
    /*top: 40px;*/
	text-align: center;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 10px;
    background-color: black;
    border: black;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: red;
}

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

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/*Estilo de los botones igual a rutas.css*/

.rutasAnoCompleto h3 {
	margin-bottom: 10px;
}

.enlacesMeses {
    display: grid;
	grid-template-columns: repeat(3, 1fr);
	/*las 2 líneas siguientes son equivalentes. Redundo por compatibilidad con navegadores*/
	grid-gap: 10px;
	gap: 10px;
	text-align:center; 
	font-weight:bold;
}

.enlacesMeses div {		
	border: #f3f3f3;
	border-style: outset;
	border-radius: 7px;
	padding: 3px;
	background: #3a7999;	
	box-sizing: border-box;   
}

.enlacesMeses a {
	display: block;
	text-decoration: none;
	cursor: pointer;	
	border: #f3f3f3;
	border-style: outset;
	border-radius: 5px;
	padding: 3px;
	background: #3a7999;
	color: #f2f2f2;
	box-sizing: border-box; 
}

/*Quise poner en los botones el efecto deslizamiento pero al desplegar el menú queda debajo de ellos. Se debe a las posiciones relative y absolute que hay que dar*/

.enlacesMeses a:hover {
	color: #3a7999;
	background: #f2f2f2;
}

.conColorFondo {
	background-color: gainsboro;
	border-radius: 10px;
	padding: 5px;
}

@media screen and (max-width: 768px) {
	
	.enlacesMeses a {	
		position: relative;
		border: #f3f3f3;
		border-style: outset;
		border-radius: 5px;
		padding: 3px;
		background: #3a7999;
		color: #f2f2f2;
		box-sizing: border-box;   
	}
	
	.enlacesMeses a:visited {
		color: #f2f2f2
	}
	
	.rutasAnoCompleto {
		text-align: left;
	}
}