

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: calibri;
}
body {
background-color: ghostwhite;
}
header {
    width: 100%;
    height: 140px;
    border-bottom: 1px solid #8c98ca;
    position: fixed;
    z-index: 100;
    background: white;
}
.aviso {
    margin: 20px;
}
.maps {
    width: 600px;
    height: 450px;   
}
.padre {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}
.container-header{
    width: 100%;
    max-width: 1220px;
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: auto;
}

.container-logo-title{
    display: flex;
    margin-top: 14px;
    margin-left: 10px;
}

.container-logo-title img{
    width: 220px;
    height: 120px;
}

    .container-logo-title h1 {
        font-weight: bold;
        margin-top: 16px;
        margin-left: 10px;
        color: #8c98ca;
        font-size: 36px;
    }


.container-menu{
   
}


.menu{
    position: absolute;
    right: 100px;
    margin-top: 20px;
   
}

.menu ul{
    display: flex;
}

.menu > ul li{
    list-style: none;
    font-size: 16px;
    font-weight: bold;
    color: #868686;
    padding: 20px 10px;
    border: 1px solid transparent;
    border-top: 4px solid transparent;
    cursor: pointer;
    transition: border 300ms;
    position: relative;
}

    .menu > ul > li:hover {
        border: 1px solid #eeeeee;
        border-top: 4px solid #8c98ca;
    }

.menu ul li label,
.menu ul li span{
    color: #868686;
}

.menu ul li span{
    font-size: 14px;
    position: relative;
    top: 4px;
}

.menu ul li label{
    font-size: 22px;
    position: relative;
    top: -6px;
    cursor: pointer;
}

.menu ul li .icon2{
    position: relative;
    top: -2px;
}
/*Submenu*/
    .menu ul li ul {
        width: 300px;
        position: absolute;
        top: 60px;
        left: 0;
        flex-direction: column;
        border: 1px solid #eeeeee;
        background: white;
        border-bottom: 1px solid #8c98ca;
        padding: 10px;
    }

.menu ul li ul li{
    padding: 10px 20px;
    border-bottom: 1px solid #eeeeee;
    font-weight: 100;
    font-size: 14px;
    position: relative;
}

.menu ul li ul li:hover{
    background: #FAFAFA;
}

.menu ul li ul li ul{
    position: absolute;
    left: 287px;
    top: 0;
}

.menu a{
    
    font-size: 16px;
    color: #868686;
    text-decoration: none;
    cursor: pointer;
}

.icon-menu{
    display: none;
}

main{
    width: 100%;
    max-width: 1220px;
    margin: auto;
    position: relative;
    top: 100px;
}

article{
    padding: 20px;
}

article h1{
    font-size: 40px;
    font-weight: 100;
}

article p{
    font-size: 18px;
    margin-top: 20px;
}

.container-bg{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.bg1{
    width: 100%;
    max-width: 300px;
    height: 180px;
    background-image: url(../image/bg1.jpg);
    background-position: center center;
    background-size: cover;
    margin: 10px;
}

.bg2{
    width: 100%;
    max-width: 300px;
    height: 180px;
    background-image: url(../image/bg2.jpg);
    background-position: center center;
    background-size: cover;
    margin: 10px;
}

.bg3{
    width: 100%;
    max-width: 300px;
    height: 180px;
    background-image: url(../image/bg3.jpg);
    background-position: center center;
    background-size: cover;
    margin: 10px;
}

.bg4{
    width: 100%;
    max-width: 300px;
    height: 180px;
    background-image: url(../image/bg4.jpg);
    background-position: center center;
    background-size: cover;
    margin: 10px;
}
/*grupo_3 */
.grupo_3{
	display: block;
	padding: 4% 2% 12%; 
    
}
.grupo1_de_3{
	float: left;
	width: 30.333333%;
	margin-left: 4.33333%;

}
.grupo1_de_3:first-child{
	margin-left: 0px;
}
.grupo1_de_3 h4 a{
	margin: 4% 0;
	display:block;
	font-size: 1.5em;
	color: #868686;
	text-transform: capitalize;
	font-weight: 100;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.grupo1_de_3 h4 span{
	font-weight: 600;
	padding-left: 10px;
	color: #202020;
}
    .grupo1_de_3 h4 a:hover {
        color: #8c98ca;
    }
.grupo1_de_3 p{
	
    font-weight: 100;
    font-size: 14px;
	
    color: #868686;
	line-height: 1.8em;
}
.grupo1_de_3_img{
		position: relative;	
       
}

.grupo1_de_3_img img{
			
        width: 300px;
        height: 200px;
}
.grid{
     height: 450px;
     background-color: #ebebeb;
}
/*Pie*/
footer {
    width: 100%;
    border-top: 1px solid #8c98ca;
    z-index: 10;
    margin-top: 10px;
}
.container-footer {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    background-color: #8c98ca;
    height: 450px;
}
.container-footer ul{
    display: flex;
    list-style: none;
    padding: 0px 10px;
}

.container-footer li{
    padding: 4% 2% 2%;
}

footer .enlaces{
    margin-right: 50px;
}
footer .contacto{
    float:right;
    justify-content: flex-end;
    
}
footer .lopd {
    margin-left: 35px;
}
.denuncias {
    justify-content: center;
    margin-left: 40px;
    font-size: 21px;
    color: black;
}
.cookies {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 15px;
    z-index: 1000;
    margin-bottom: 80px;
}
/*Estilos de la galeria*/
.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: 350px;
	height: 250px;
}

/*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-top: 120px;
}

.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;
    margin-top: 150px; 
}


.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: 1px;  
	border-radius: 50%;
	line-height: 25px;
    margin-top: 30px;   
}

.pie {
    font-size: 21px;
    color: black;
}
.tFoot {
    text-decoration:underline;
}
@media screen and (max-width: 1100px){

    .padre {
        margin-top: 0px;
        height: 450px;
    }
    
    .pie {
    font-size: 15px;
}
    .tFoot {
    text-decoration:underline;
    font-size: 16px;
}
    header{
        height: 90px;
    }
    
    .container-logo-title{
        height: 60px;
        margin-top: 10px;
    }
    
    .container-logo-title img{
        width: 120px;
        height: 75px;
    }
    
    .container-logo-title h1{
        font-size: 20px;
        margin-top: 6px;
    }
    
    
    .icon-menu{
        display: block;
        position: absolute;
        right: 10px;
        top: 60px;
        font-size: 30px;
    }
    
    body{
        transition: all 300ms;
    }
    
    .body2{
        transform: translateX(-300px);
    }
    .menu{
        width: 300px;
        height: 100vh;
        position: fixed;
        top: 0px;
        right: -300px;
        background: #2D2F30;
        margin-top: 0px;
        overflow-y: scroll;
    }
    
    .menu ul {
        flex-direction: column;
    }
    
    .menu ul li{
        padding: 10px 20px;
    }
    
    .menu ul li ul{
        top: 0;
        border-bottom: 1px solid transparent;
        background: #2D2F30;
    }
    
    .menu ul li:hover{
        border: 1px solid transparent;
        border-top: 4px solid transparent;
    }
    
    .menu ul li ul{
        width: 100%;
        position: relative;
        border: none;
        padding: 2px; 
    }
    
    .menu ul li ul li{
        border-bottom: 1px solid #414141;
    }
    
    .menu ul li ul li:hover{
        background: #363636; 
    }
    
    .menu ul li ul li ul{
        width: 100%;
        position: relative;
        left: 0px;
        top: 6px;
    }
    
    article{
        text-align: center;
    }
    .modal h3 {
	color: #fff;
	font-size: 30px;
	text-align: center;
	margin-top: 80px;
    vertical-align: text-bottom;  
    }
    footer .contacto{
    float:right;
    justify-content: flex-end;
    margin-left: 0px;
    }
    
    .grupo_3 {
    width: 90%;
    margin: auto;
    list-style: none;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    }   
    .grupo1_de_3 {
    float: left;
    width: 100%;
    margin-left: 4.33333%;
    margin-top: 20PX;
}
    .grupo1_de_3:first-child {
     margin-left: 4.33333%;
}
    .grid {
    height: 1100px;
    background-color: 
    #ebebeb;
}
    .grupo1_de_3_img img{
			
        width: 210px;
        height: 150px;
}
}
@media screen and (max-width:400px) {
    .padre {
        width: 400px;
        height: 350px;
    }
    .maps {
        width: 350px;
        height: 350px;
    }
}

























