*{
	margin: 0px;
	padding: 0px;
	font-family: Verdana
}

html {
	scroll-behavior: smooth;
}

/*-- Cabecera --*/
#cabecera {
	position: fixed;
	top: 0;
    height: 130px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
	background-color: rgb(204, 204, 204);
	z-index: 1000;
}

#logo {
    height: auto;
}

#logo img {
    width: 500px;
    display: block;
    margin: 0;
}

body{
	background: -moz-linear-gradient(top,  rgba(30,87,153,1) 0%, rgba(125,185,232,0) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,1)), color-stop(100%,rgba(125,185,232,0))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(30,87,153,1) 0%,rgba(125,185,232,0) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(30,87,153,1) 0%,rgba(125,185,232,0) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(30,87,153,1) 0%,rgba(125,185,232,0) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(30,87,153,1) 0%,rgba(125,185,232,0) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#007db9e8',GradientType=0 ); /* IE6-9 */
	width:100%;
}

main {
	padding-top: 130px;
}

section[id] {
	scroll-margin-top: 120px;
}

.clear{
	clear:both;
}

p {
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	margin-bottom: 10px;
	line-height: 18px;
	color: #333;
}

h1{
	font-family: 'Roboto', sans-serif;
	font-size: 17px;
	color: #360F0E;
	margin-bottom: 20px;
	text-decoration: none;
	text-shadow: 0px 0.5px #000000;
	text-transform: uppercase;
}

h2{
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	color: #000000;
	text-decoration: none;
	margin-bottom: 10px;
}

h3 {
	font-family: 'Roboto', sans-serif;
	font-size: 15px;
	margin-bottom: 18px;
	margin-top: 20px;
	line-height: 18px;
	color: #380D0D;
}

h4 {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	margin: 30px auto;
	line-height: 18px;
	color: #000;
	text-decoration: underline;
}

a{
	text-decoration:none;
}

/*-- Menu --*/
#menu {
    height: 40px;
    margin: 0;
}

#menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    height: 40px;
    align-items: center;
	border-bottom: 1px solid #000000;
}

#menu li a {
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-family: 'Reboto', sans-serif;
    font-size: 15px;
    color: rgba(30,87,153,1);
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: all ease .5s;
}

#menu li a:hover {
    color: #000000;
    font-size: 18px;
}

#menu ul li:nth-child(4) a:hover {
	color: #3ac50c
}

/*-- Cuerpo --*/
#contenedor_principal {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 20px;
    margin: 5px auto;
    max-width: 1200px;
    overflow: hidden;
}

#contenedor_principal_interior {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

#wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    max-width: 100%;
}

.nivoSlider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.nivoSlider img {
    width: 100%;
    height: auto;
}

.nuestra-empresa {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
	margin: 40px;
}

.nuestra-empresa img {
    margin: 20px; /* Espacio entre el texto y la imagen */
    width: 30%; /* Ajusta el tamaño de la imagen */
    order: 2; /* Para que la imagen aparezca después del texto */
}

.nuestra-empresa div {
	margin-top: 15px;
    flex: 1; /* Para que el texto ocupe el espacio disponible */
	text-align: justify;
}

.nuestra-empresa h1 {
	color: #360F0E;
}

.nuestra-empresa p {
	color: #3C0901;
}

.objetivo {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
	margin: 40px;
}

.objetivo img {
    width: 25%; /* Ajusta el tamaño de la imagen */
    margin-top: 40px;
}

.objetivo div {
	margin: 30px; /* Espacio entre el texto y la imagen */
    flex: 1; /* Para que el texto ocupe el espacio disponible */
	text-align: justify;
}

.objetivo h1 {
	color: #2e0101;
}

.objetivo p {
	color: #3C0901;
}

#servicios {
    padding: 35px;
}

.cuadros {
    display: flex;
    justify-content: space-between; /* Espacio entre los cuadros */
    gap: 20px; /* Espacio entre los cuadros */
    flex-wrap: wrap; /* Permitir que los cuadros se envuelvan en pantallas más pequeñas */
}

.cuadro {
    flex: 1; /* Permitir que cada cuadro crezca igualmente */
    min-width: 250px; /* Ancho mínimo para los cuadros */
    background-color: rgb(204, 204, 204); /* Color de fondo para los cuadros */
    padding: 30px; /* Espacio interno dentro de los cuadros */
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* Sombra alrededor de los cuadros */
    border-radius: 5px; /* Esquinas redondeadas */
	text-align: justify;
}

.cuadro img {
    max-width: 80%; /* Asegurarse de que las imágenes no excedan el ancho del cuadro */
    height: auto; /* Mantener la proporción de las imágenes */
}

.fotos-instrumentos{
    width: 200px;
    padding: 20px;
}

#prosumidores {
    padding: 40px;
    background-image: url('images/prosumidores.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* Para posicionar el overlay correctamente */
}

#prosumidores::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3); /* Fondo negro con transparencia */
    z-index: 1;
}

#prosumidores > * {
    position: relative;
    z-index: 2;
}

#prosumidores h1, h2, h3, p {
	color:#000
}

.contenido {
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.texto {
    flex: 1;
    margin-right: 20px;
	text-align: justify;
}

.imagen-derecha {
    width: 30%; /* Ajusta el tamaño según sea necesario */
    max-width: 300px;
}

.tipos-prosumidores {
    display: flex;
    justify-content: space-around; /* Espacio entre las imágenes */
    gap: 5px; /* Espacio opcional entre las imágenes */
}

.tipos-prosumidores img {
    width: 40%;
    height: auto;
    flex: 1; /* Para que las imágenes tomen un espacio proporcional */
    object-fit: cover; /* Para mantener el aspecto de la imagen */
    margin: 0;
    padding: 0;
}

form {
    margin-bottom: 20px;
}

label {
    display: inline-block;
    width: 150px; /* Ajusta el ancho según tus necesidades */
    margin-bottom: 10px;
    vertical-align: top;
	color: #000;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select {
    width: calc(40% - 160px); /* Ajusta el ancho según tus necesidades */
    padding: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
}

input[type="submit"],
button {
    background-color: #288d06;
    border: none;
    color: #000;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

button:hover,
input[type="submit"]:hover {
    background-color: #63ce55;
}

.cotizarBtn {
	background-color: #288d06;
	color: #000;
	border: none;
	padding: 10px 20px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	margin-top: 10px;
	cursor: pointer;
	border-radius: 4px;
}

.result {
	margin-top: 20px;
	font-size: 18px;
	font-weight: bold;
}

.adjunto {
	text-decoration: underline;
	font-weight: bold;
}

#datos {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
	margin: 60px;
	justify-content: space-between;
}

.contacto {
	margin-left: 80px;
}

.mapa {
    margin-left: 50px; /* Espacio entre el texto y la imagen */
    width: 40%; /* Ajusta el tamaño de la imagen */
    order: 2; /* Para que la imagen aparezca después del texto */
}

/*-- Pie de pagina --*/
#Footer {
	display: flex;
	background-color: #333;
	width: 100%;
	height: 150px;
    /*position: fixed;
	bottom:0px; Quitando estas dos propiedades tiene que bajar si o si, position y bottom */
}

#Footer_Container {
	width: 860px;
	margin: 0 auto 0 auto;
	height: 50px;
	padding: 20px 20px 20px 20px;
}

#Footer_Container_d{
	float: right;
	}

#Footer h2 {
	color: #FFF;
	margin-bottom: 10px;
	text-shadow: 2px 1px 10px #1249FF;
	}

#Footer p {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 10px;
	color: #CCC;
	text-shadow: 2px 1px 10px #1249FF;
}

#Footer a {
	text-decoration: none;
	color: #FFF;
}

#Footer a:hover {
	color: #09F;
	text-decoration: underline;
}

a {
	text-decoration: none;
	color: #09F;
}

a:hover {
	color: #06C;
	text-decoration: underline;
}
#datafiscal{
	float: left;

	}
#desing{
	text-shadow: 2px 1px 10px #FF1808;
	font-size:10px;
	}
#redes_sociales{
	float:right;
}
/* Estilos para tabletas (max-width: 768px) */
@media (max-width: 768px) {
    #cabecera {
		display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        position: relative;
        padding: 10px 0;
    }

    #logo img {
        width: 300px; /* Ajusta según sea necesario */
    }

	#menu {
        width: 100%;
		margin-top: 10px;
		height: 175px;
    }

    #menu ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
        border-bottom: none;
    }

	#menu li {
        width: 100%;
        height: 30px;
        border-bottom: 1px solid #000000;
    }

    #menu li a {
        padding: 10px;
        font-size: 14px;
        width: 100%;
        text-align: center;
		display: block;
        border-bottom: #000;
    }

    main {
        padding-top: 10px;
    }

    #contenedor_principal_interior {
        padding: 10px;
    }

    .nuestra-empresa, .objetivo, .contenido {
        flex-direction: column;
        align-items: center;
        margin: 20px;
    }

    .nuestra-empresa img, .objetivo img, .imagen-derecha {
        width: 80%;
        margin: 20px 0;
    }

    .nuestra-empresa div, .objetivo div, .texto {
        margin: 0;
        text-align: justify;
    }

    .cuadros {
        flex-direction: column;
        gap: 10px;
    }

    .cuadro {
        margin-bottom: 20px;
    }

    .cuadro img {
        max-width: 70%;
    }

    .fotos-instrumentos{
        width: 80px;
        padding: 20px;
    }

	.imagen-derecha {
		justify-content: start;
	}

	.tipos-prosumidores {
		display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: auto;
        gap: 1rem;
	}

    .tipos-prosumidores img {
        width: 100%;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select {
        width: calc(60% - 160px); /* Ajusta el ancho según tus necesidades */
    }

    #datos {
        flex-direction: column;
        align-items: center;
        margin: 20px;
    }

    .contacto, .mapa {
        margin: 20px 0;
        width: 100%;
    }

    #Footer_Container {
        width: 90%;
    }
}

/* Estilos para móviles (max-width: 640px) */
@media (max-width: 640px) {
    #contenedor_principal_interior {
        padding: 5px;
    }

    .nuestra-empresa, .objetivo, .contenido {
        flex-direction: column;
        align-items: center;
        margin: 10px;
    }

    .nuestra-empresa img, .objetivo img, .imagen-derecha {
        width: 90%;
        margin: 10px 0;
    }

    .nuestra-empresa div, .objetivo div, .texto {
        margin: 0;
        text-align: justify;
    }

    .cuadros {
        flex-direction: column;
        gap: 5px;
    }

    .cuadro {
        margin-bottom: 10px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select {
        width: calc(100% - 160px); /* Ajusta el ancho según tus necesidades */
    }

    #datos {
        flex-direction: column;
        align-items: center;
        margin: 10px;
    }

    .contacto, .mapa {
        margin: 10px 0;
        width: 100%;
    }

    #Footer_Container {
        width: 90%;
    }
}