@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');
/* CSS Document */

body{
	background:url(../images/footer_lodyas.png);
	font-family: 'Raleway', sans-serif;
	font-weight: 500;
	font-size:16px;
	color:#CCC;
}

.container{
	margin:0px auto;
	width:65%;
	margin-bottom:10px;}

.logofm{
	float:left;
	width:auto;
	margin:5px 0px 10px 0px;}

nav{
	float:right;
	width:80%;
	margin-top:52px;}

nav li{
	display:inline;
	margin:6px;}

nav a{
	font-family: 'Raleway', sans-serif;
	font-weight:400;
	color:#999;
	font-size:1.8em;
	text-decoration:none;}

nav a:hover{
	color:#FFF;}

section{
	clear:both;}

article{
	border-top:1px solid #666;
	padding:35px 0px;
	line-height:20px;}

article img{
	margin:10px 0px;}

.floattarifas{
	float:left;
	width:20%;}

.floatyates{
	float:right;
	width:77%;}

h1, h2{
	font-family: 'Raleway', sans-serif;
	font-style: italic;
	font-weight:bold;
	line-height:normal;
	color:#CCC;
	font-size:2em;
	margin:0px 0px 25px 0px;}
	
h1 a, h2 a{
	font-family: 'Raleway', sans-serif;
	font-style: italic;
	font-weight:bold;
	color:#CCC;
	text-decoration:none;}

.fechas{
	margin-bottom:25px;}

h1 a:hover, h2 a:hover{
	color:#FFF;}

.tarifas{
	font-family: 'Raleway', sans-serif;
	font-style: italic;
	font-size:1.5em;}

aside{
	background:rgba(170, 170, 170, 0.35);
	border-bottom:1px solid #333;
	border-top:1px solid #333;}

.otrosyates{
	float:left;
	width:55%;}

.otrosyates li{
	padding:10px 0px;
	list-style:url(../images/p.png);
	margin-left:18px;
	border-bottom:1px dotted #333333;
	text-shadow:2px 2px 2px #FFF;
	filter:shadow(color=#FFF, direction=135, strength=2);}
	
.otrosyates a{
	color:#333;
	text-decoration:none;}

.barcosocasion{
	width:35%;}
	
.barcosocasion li{
	clear:both;
	padding:10px 0px;
	border-bottom:1px solid #333333;
	text-shadow:2px 2px 2px #FFF;
	filter:shadow(color=#FFF, direction=135, strength=2);}
	
.barcosocasion a{
	color:#9f3645;
	text-decoration:none;}

.barcosocasiones{
	font-weight: 600;
	color:white;
}

.barcosocasiones a{
	font-weight: 600;
	color:white;
	text-decoration: none;
}

.barcosocasion img{
	float:left;
	margin:10px;}

.barcosocasiontxt{
	float:left;
	margin:10px;}

.cursiva{
	font-style:italic;}

.negrita{
	font-weight:bold;}

h3{
	font-family: 'Raleway', sans-serif;
	font-style: italic;
	color:#9F3645;
	font-size:1.3em;
	margin:10px 0px;}

footer{
	clear:both;
	text-align:center;
	padding:25px 0px;
	background:rgba(170, 170, 170, 0.35);
	border-bottom:1px solid #333;
	border-top:1px solid #333;}



/*RESPONSIVE*/

@media screen and (max-width: 980px){
	.container{
		margin:0px auto;
		width:65%;
		margin-bottom:10px;}
		
	.logofm{
		float:none;
		text-align:center;
		margin:5px 0px 10px 0px;}

	nav{
		float:none;
		width:95%;
		margin:20px 0px;}
	
	header{
		text-align:center;}
		
	.floattarifas{
		float:none;
		width:100%;}

	.floatyates{
		float:none;
		width:100%;}

	.video{
		width:100%;
		height:100%;}

	.tarifas{
		font-size:1em;
		margin:10px 0px;}
	
	h1, h2{
		line-height:40px;}

	.otrosyates, .barcosocasion{
		float:none;
		width:95%;}}


@media screen and (max-width: 768px){
	.container{
		margin:0px auto;
		width:95%;
		margin-bottom:10px;}
		
	.logofm{
		float:none;
		text-align:center;
		margin:5px 0px 10px 0px;}

	nav{
		float:none;
		width:95%;
		margin:20px 0px;}
	
	header{
		text-align:center;}
		
	.floattarifas{
		float:none;
		width:95%;}

	.floatyates{
		float:none;
		width:95%;}

	.video{
		width:100%;
		height:100%;}

	.tarifas{
		font-size:1em;
		margin:10px 0px;}
	
	h1, h2{
		line-height:40px;}
	
	.otrosyates, .barcosocasion{
		float:none;
		width:95%;}}


@media screen and (max-width: 480px){
	.container{
		margin:0px auto;
		width:95%;
		margin-bottom:10px;}

	.logofm{
		float:none;
		text-align:center;
		margin:5px 0px 10px 0px;}

	nav{
		float:none;
		width:95%;
		margin:20px 0px;}
	
	header{
		text-align:center;}
	
	nav a{
		font-size:1.8em;}
	
	.floattarifas{
		float:none;
		width:95%;}

	.floatyates{
		float:none;
		width:95%;}

	.video{
		width:100%;
		height:100%;}

	.tarifas{
		font-size:1em;
		margin:10px 0px;}

	h1 a, h2 a{
		font-size:1.4em;
		line-height:30px;}

	.otrosyates, .barcosocasion{
		float:none;
		width:95%;}}


img{
	width:auto;
	height:auto;
	max-width:100%;}


/*ESTILOS DE LA GALERIA LIGHTBOX*/

.galeria {
    width: 90%;
    margin: auto;
    list-style: none;
    padding: 20px;
    box-sizing: border-box;
    
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.galeria li {
    margin: 5px;
}

.galeria img {
    width: 150px;
    height: 100px;
}

/*Estilos del modal*/

.modal {
    display: none;
}

.modal:target {
    
    display: block;
    position: fixed;
    background: rgba(0,0,0,0.8);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal h3 {
    color: #fff;
    font-size: 30px;
    text-align: center;
    margin: 15px 0;
}

.imagen {
    width: 100%;
    height: 50%;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.imagen a {
    color: #fff;
    font-size: 40px;
    text-decoration: none;
    margin: 0 10px;
}

.imagen a:nth-child(2) {
    margin: 0;
    height: 100%;
    flex-shrink: 2;
}

.imagen img {
    width: 500px;
    height: 100%;
    max-width: 100%;
    border: 7px solid #fff;
    box-sizing: border-box;
}

.cerrar {
    display: block;
    background: #fff;
    width: 25px;
    height: 25px;
    margin: 15px auto;
    text-align: center;
    text-decoration: none;
    font-size: 25px;
    color: #000;
    padding: 5px;
    border-radius: 50%;
    line-height: 25px;
}
