/* Estilos para la barra de información */

.informationbar{
	background: #203864ff;
}

.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;
    font-size: 14px;
}

.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 */
/* Estilo menu */
.checkbox-submenu{
    position: absolute;
    width: 0;
    height: 0;
    visibility: hidden;
}

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%;
    margin: auto;
	display: flex;
}

.logomenu img{
	display: flex;
	margin: 10px;
}

.abrir-menu{
	max-width: 100%;
	display: flex;
}

.abrir-menu img{
	max-height: 30px;
	margin: auto 1em auto auto;
}

.cerrar-menu{
	display: none;
	font-size: 14pt;
}

.cerrar-menu 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-menu{
	max-width: 100%;
	display: flex;
	margin: auto 1em auto auto;
}

/* Estilo submenu */
.submenu,
.submenu-iie{
	position: absolute;
	background: #f7f7f7;
	width: 120%;
	visibility: hidden;
	opacity: 0;
	transition: 1s;
    box-shadow: 0px 0px 5px 0px #777777;
}

.submenu li a,
.submenu-iie li a{
	display: block;
	padding: 10px;
	color: #000000;
	font: normal 12pt Garamond;
	text-decoration: none;
}

.texto-submenu{
    margin: auto auto auto 10px;
    text-align: left;
    font: normal 12pt Garamond;
}
    
.abrir-submenu{
    max-width: 100%;
    display: flex;
}

.cerrar-submenu{
    max-width: 100%;
    display: none;
}

.abrir-submenu img,
.cerrar-submenu img{
    max-height: 10px;
    margin: auto;
}

#abrir-cerrar-submenu:checked ~ .submenu,
#abrir-cerrar-submenu-iie:checked ~ .submenu-iie{
    visibility: visible;
	opacity: 1;
    display: block;
}

#abrir-cerrar-submenu:checked ~ label[for="abrir-cerrar-submenu"] .cerrar-submenu,
#abrir-cerrar-submenu-iie:checked ~ label[for="abrir-cerrar-submenu-iie"] .cerrar-submenu{
    display: flex;
}

#abrir-cerrar:checked ~ label[for="abrir-cerrar"] .abrir-menu,
#abrir-cerrar:checked ~ .navegacion .menu .logo,
#abrir-cerrar-submenu:checked ~ label[for="abrir-cerrar-submenu"] .abrir-submenu,
#abrir-cerrar-submenu-iie:checked ~ label[for="abrir-cerrar-submenu-iie"] .abrir-submenu{
    display: none;
}

/* Estilo generales*/
.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: 0 0 5px #777;
}

.menu > li{
	position: relative;
	display: inline-block;
}

.menu > li > a{
	display: flex;
    height: 60px;
	padding: 10px;
	color: #000000;
	font: normal 12pt Garamond;
    align-items: center;
}

.menu li a:hover{
    background-color: rgb(3, 96, 166);
    color: rgb(255, 255, 255);
    text-decoration: underline;
}

.menu li .system{
    background-color: rgb(32, 56, 100);
    border-radius: 5px;
    color: rgb(255, 255, 255);
    height: 40px;
}

.menu li .logo{
    margin: auto;
    height: 60px;
    padding: 0px 15px;
    display: flex;
}

.menu li .logo:hover{
    background-color: #ececec;
}

.menu li .logo img{
    margin: auto;
}

.sticky {
    position: fixed;
	top:0;
	width:100%;
}

@media screen and (min-width: 1050px){
    .menu > li > a{
        text-align: center;
    }
    
	label[for="abrir-cerrar"]{
		display: none;
	}

    .label-submenu{
		display: none;
	}

	.navegacion{
		display: grid;
	}

	.menu{
		display: flex;
		align-items: center;
	}

	.navegacion .informationbar .information{
		margin: 0em 2em 0em auto;
		display: flex;
		align-items: center;
	}

    .menu li:hover .submenu,
    .menu li:hover .submenu-iie{ 
        display: block;
        visibility: visible;
	    opacity: 1
    }

    .submenu li a,
    .submenu-iie li a{
	    text-align: center;
    }
}

@media screen and (max-width: 1050px){
    #text-submenu{
        display: none;
    }

	.checkbox-submenu{
        visibility: hidden;
        position: absolute;
    }

    .label-submenu{
        width: 100%;
        height: 60px;
        cursor: pointer;
        margin: auto 0em;
        background-color:rgb(255, 255, 255);
        color:rgb(0, 0, 0);
        display: grid;
        grid-template-columns: 90% 10%;
    }

    .submenu,
    .submenu-iie{
        display: none;
        position: relative;
        background: #ffffff;
	    width: 100%;
        box-shadow: 0px 0px 0px 0px #777777;
    }

    .submenu li a,
    .submenu-iie li a{
	    text-align: left;
        padding-left: 40px;
    }
}

/* Estilos para la portada */

.Portada{
    position: relative;
    height: 600px;
    max-width: 100%;
}

.Portada img{
    position: relative;
    display: inline-block;
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter:brightness(1.0);
}

.Portada .background{
    backdrop-filter: blur(0px);
    background: linear-gradient(-260deg, rgb(0, 0, 0) 80%, transparent 20%);
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto auto auto 0em;
    height: 600px;
}

.Portada .centrado{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto auto auto 0em;
    height: 600px;
    display: flex;
}

.Portada .centrado .text {
    margin: auto;
}

.Portada .centrado .text h1{
    margin: auto;
    max-width: 80%;
    position: relative;
    color: rgb(255, 255, 255);
    font: bold 30pt Garamond;
    text-align: center;
}

.Portada .centrado .text h2{
    margin: auto;
    max-width: 80%;
    color: rgb(255, 255, 255);
    font: bold 20pt Garamond;
    text-align: center;
}

.Portada .centrado .text h3{
    margin: auto;
    max-width: 80%;
    color: rgb(255, 255, 255);
    font: bold 15pt Garamond;
    text-align: center;
}

.Portada .centrado .text .form {
    display: grid;
    grid-template-columns: 100%;
}

.Portada .centrado .text .form .data{
    height: 45px;
    width: 250px;
    margin: 0.5em auto;
    background-color: rgb(255, 255, 255);
    font-family: Calibri;
    font-size: 1rem;
    border-style: solid;
    border-color: #949494;
    border-width: 0.3mm;
    padding-left: 10px;
    box-sizing: border-box;
}

.Portada .centrado .text .form .botonazul{
    height: 40px;
    width: 140px;
    margin: 0.5em auto;
    font-family: Arial;
    font-size: 10pt;
    color: #ffffff;
    background: rgb(30, 106, 128);
    cursor: pointer;
    border-style: none;
    border-radius: 50px;
}

.Portada .centrado .text .form .botonazul:hover{
    background: #262626;
    transition: all 0.5s;
}

.Portada .centrado .text .Respuesta{
    margin: auto;
    max-width: 90%;
    text-align: center;
    font-family: Arial;
    font-size: 14pt;
    color: rgb(255, 255, 255);
}

@media screen and (min-width: 1200px){
    .Portada .centrado{
        max-width: 50%;
    }

    .Portada .background{
        max-width: 60%;
    }
}

@media screen and (max-width: 1200px){
    .Portada .centrado{
        max-width: 70%;
    }

    .Portada .background{
        max-width: 80%;
    }
}

@media screen and (max-width: 700px){
    .Portada .centrado{
        max-width: 90%;
        margin: auto;
    }

    .Portada .background{
        background: rgb(0, 0, 0);
        max-width: 100%;
    }
}

/* 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 la portada del sistema*/
.screen{
    background: #ecf3fa;
    position:absolute;
    top: 0em;
    left: 0em;
    bottom: 0em;
    right: 0em;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    align-content: center;
}

.screen .container{
    max-width: 90%;
    margin: auto;
    background-color: #ffffff;
    box-shadow: 0px 0px 20px 20px #c2dff8;
    align-items: center;
}

.screen .container .image{
    margin: 0em;
    display: flex;
}

.screen .container .image img{
    max-width: 100%;
    height: 450px;
    margin: 0em;
    display: flex;
    object-fit: cover;
}

@media screen and (min-width: 700px){
    .screen .container{
        max-width: 90%;
        display: grid;
        grid-template-columns: 50% 50%;
    }

}

/* 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: #dddddd;
}

.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%;
    }
}