/* Estilos para la barra de información */

.informationbar{
	background: #1d253b;
}

.informationbar .information{
	width: fit-content;
	margin: 0em 0.5em 0em auto;
	font-family: Calibri;
	color: #ffffff;
	text-align: center;
	display: grid;
	grid-template-columns: 50% 50%;
}

.informationbar .information .text{
	display: flex;
	margin: 0.5em 0em 0.5em auto;
}

.informationbar .information .text a{
	width: fit-content;
	margin: auto;
}

.informationbar .information .text a:hover{
	text-decoration: underline;
}

.informationbar .information .redes{
	width: fit-content;
	margin: 0.5em;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.informationbar .information .redes a{
    border-radius: 40px;
	box-sizing: border-box;
    display: flex;
	height: 35px;
    margin: auto;
    width: 35px;
    padding: 3px;
}

.informationbar .information .redes a:hover{
    background-color: #c6c6c6;
}

.informationbar .information .redes .Logo{
	margin: 0.2em;
}

/* Estilos para la barra de navegación */

#abrir-cerrar{
    visibility:hidden;
    position: absolute;
	width: 0;
	height: 0;
}

label[for="abrir-cerrar"]{
    width: 100%;
	height: 90px;
	cursor: pointer;
	margin: auto 0em;
    background-color:rgb(255, 255, 255);
    color:rgb(0, 0, 0);
    display: grid;
	grid-template-columns: 80% 20%;
    box-shadow: 0px 0px 5px 0px #777777;
}

.logomenu{
	max-width: 100%;
	display: flex;
}

.logomenu img{
	display: flex;
	margin: 8px;
}

.abrir{
	max-width: 100%;
	display: flex;
}

.abrir img{
	max-height: 30px;
	margin: auto 1em auto auto;
}

.cerrar{
	display: none;
	font-size: 14pt;
}

.cerrar img{
	max-height: 15px;
	margin: auto 1em auto auto;
}

#abrir-cerrar:checked ~ .navegacion{
	display: inline;
	position: absolute;
}

#abrir-cerrar:checked ~ label[for="abrir-cerrar"] .cerrar{
	max-width: 100%;
	display: flex;
	margin: auto 1em auto auto;
}

#abrir-cerrar:checked ~ label[for="abrir-cerrar"] .abrir{
	display: none;
}

#abrir-cerrar:checked ~ .navegacion .menu .logo{
	display: none;
}

.navegacion{
	display: none;
	width: 100%;
	margin: auto;
	background: #ffffff;
}

a{
	text-decoration:none;
    color: rgb(255, 255, 255);
}

.navegacion ul{
	list-style: none;
}

.menu{
	display: grid;
	background: #ffffff;
	max-width: 100%;
    box-shadow: 0px 0px 5px 0px #777777;
}

.menu > li{
	position: relative;
	display: inline-block;
}

.menu > li > a{
	display: block;
	padding: 15px 20px;
	color: #000000;
	font-family: Calibri;
	text-decoration: none;
}

.menu li a:hover{
    background-color: rgb(51, 183, 216);
    color: rgb(255, 255, 255);
}

.menu .logo:hover{
    background-color: #a84b4b00;
}

/* Submenu*/

.submenu{
	position: absolute;
	background: #ffffff;
	width: 120%;
	visibility: hidden;
	opacity: 0;
	transition: opacity 1s;
}

.submenu li a{
	display: block;
	padding: 10px;
	color: #000000;
	font-family: Calibri;
	text-decoration: none;
	text-align: center;
	font-size: 12pt;
}

.menu li:hover .submenu{
	visibility: visible;
	opacity: 1;
}

.sticky {
    position: fixed;
	top:0;
	width:100%;
}

@media screen and (min-width: 850px){
	label[for="abrir-cerrar"]{
		display: none;
	}
	
	.navegacion{
		display: grid;
	}

	.menu{
		display: flex;
		align-items: center;
		height: 80px;
		max-width: 100%;
	}

	.navegacion .informationbar .information{
		margin: 0em 2em 0em auto;
		display: flex;
		align-items: center;
	}
}

@media screen and (max-width: 850px){
	.submenu{
		position: relative;
		right: -100%;
		top: 0px;
		position: absolute;
	}
}

/* Estilos para la portada */

.Portada{
    max-width: 100%;
    background: linear-gradient(to right, #063940, #3e838c);
}

.Portada .centrado{
    max-width: 90%;
    margin: auto;
}

.Portada .centrado h1{
    color: rgb(255, 255, 255);
    font-family: Arial;
    font-size: 40pt;
    text-align: left;
}

.Portada .centrado h2{
    color: rgb(255, 255, 255);
    font-size: 20pt;
    font-family: Arial;
}

@media screen and (min-width: 1100px){
    .Portada .centrado{
        width: 800px;
        margin: 10em auto 10em 15em;
    }
    
    .Portada .centrado h1{
        font-size: 50pt;
    }
    
    .Portada .centrado h2{
        font-size: 30pt;
    }
}

/* Header sin imagen */

.header{
    max-width: 100%;
}

.header .content{
    max-width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: 50% 50%;
}

.header .content .text{
    max-width: 100%;
    margin: auto;
}

.header .content .text h1{
    color: rgb(0, 0, 0);
    font-family: Arial;
    font-size: 30pt;
    text-align: left;
}

.header .content .text  h2{
    color: rgb(0, 53, 102);
    font-family: Arial;
}

.header .content .img{
    width: 500px;
    height: 500px;
    margin: auto;
    display: grid;
    grid-template-rows: repeat(4, auto);
    grid-template-columns: repeat(4, auto);
}

.header .content .img .img01{
    background-image: url(Fotos/modules/services/topo-250x250.jpg);
}

.header .content .img .img02{
    background-image: url(Fotos/modules/services/retro-125x125.jpg);
}

.header .content .img .img03{
    background-image: url(Fotos/modules/services/riego-125x125.jpg);
}

@media screen and (min-width: 900px){
    .header .content{
        max-width: 80%;
    }
}

@media screen and (max-width: 900px){
    .header .content{
        grid-template-rows: repeat(1, auto);
        grid-template-columns: repeat(1, auto);
    }

    .header .content .img{
        width: 300px;
        height: 300px;
    }

    .header .content .img .img01{
        background-image: url(Fotos/modules/services/topo_150x150.jpg);
    }

    .header .content .img .img02{
        background-image: url(Fotos/modules/services/retro-75x75.jpg);
    }

    .header .content .img .img03{
        background-image: url(Fotos/modules/services/riego-75x75.jpg);
    }

}

/* Estilos para el pie*/

.pie{
    width: 100%;
    background: #1d253b;
    border-top: 7px solid transparent;
    border-image: linear-gradient(to right, rgb(0, 110, 255), rgb(51, 183, 216)) 1;
}

.pie .texto{
    width: 90%;
    margin: auto;
    text-align: center;
    font-family: Calibri;
    font-size: 12pt;
    color: #ffffff;
}

.pie .contenido{
    max-width: 90%;
    margin: auto;
    border-bottom: 2px solid;
    border-color: rgb(255, 255, 255);
}

.pie .contenido .pie-contacto{
    margin: 1em;
}

.pie .contenido h3{
    font-size: 15pt;
    font-family: Calibri;
    color: rgb(255, 255, 255);
}

.pie .contenido .pie-contacto p{
    font-size: 12pt;
    font-family: Arial;
    color: rgb(255, 255, 255);
    line-height: 25px;
    font-size: 12pt;
}

.pie .contenido .pie-contacto a:hover{
    text-decoration: underline;
}

.pie .contenido .pie-redes{
    margin: 1em;
}

.pie .contenido .pie-redes .redes{
    width: 10%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.pie .contenido .pie-redes a{
    border-radius: 40px;
    display: flex;
    margin: auto;
    width: 35px;
    height: 35px;
    padding: 2px;
}

.pie .contenido .pie-redes a:hover{
    background-color: #c6c6c6;
}

.pie .contenido .pie-redes .redes img{
    margin: 0.2em;
}

@media screen and (min-width: 80em){
    .pie .contenido{
        display: grid;
        grid-template-columns: 28% 18% 18% 18% 18%;
    }
}

@media screen and (min-width: 40em){
    .pie .texto{
        width: 70%;
    }

    .pie .contenido{
        max-width: 70%;
    }
}