/* General
-------------------------------------------------------------- */

body {
    overflow-y: scroll;
    overflow-x: hidden;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 100;
    line-height: 1.35em;
    height: 100%;
    width: 100%;
    position: absolute;
}
header {
    color:white;
    width: 100%;
    height: 200px;
    position: relative;
    background-color: #004C7C;
    z-index: 1;
}
main {
    position: relative;
    width: 100%;
    height: 100%;
}
footer {
    height: 100px;
    position: relative;
    background-color: #004C7C;
    top: calc(610% - 120px);
    left: 0;
    right: 0;
    bottom: 0;
    clear: both;
}

/* Secciones con TAG section
-------------------------------------------------------------- */

section {
    width: 100%;
    position: relative;
    padding: 0 0 5% 0;
    border-bottom: solid 1px lightgray;
}
section > div {
    width: 80%;
    margin: 5% auto 0 auto;
}
section p {
    line-height: 1.75em;
    font-size: 1.2em;
    text-align: justify;
    vertical-align: middle;
    display: table-cell;
}
section h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3em;
    text-transform: capitalize;
    text-align: center;
    font-weight: 400;
    margin-bottom: 4%;
    color: #2F9DBF;
}
section h2 {
    font-size: 2em;
    margin-bottom: 2%;
    text-transform: capitalize;
    font-weight: 600;
    font-family: 'Montserrat', Sans-serif;
}

/* barra de navegacion
-------------------------------------------------------------- */

header nav {
    position: absolute;
    display: table;
    left: 5%;
    right: 5%;
    width: 90%;
    height: 40px;
    bottom: 10px;
    text-align: center;
    padding-top: 15px;
    border-top: solid 1px #456F8E;
}
header nav a {
    margin-left: 20px;
    font-family: 'Ubuntu', sans-serif;
    text-transform: capitalize;
    font-weight: 300;
    font-size: 1.45em;
    color: white;
    opacity: 0.65;
    transition: all 0.25s;
    padding-bottom: 24px;
    margin: 0 6% 0 6%;
    border-bottom: none 4px white;
}
header nav a:hover {
    opacity: 1;
    border-bottom-style: solid;
}
#MenuLogo {
    width: 480px;
    height: auto;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}
#MenuLogo img {
    width: 100%;
    height: 100%;
}

/* secciones
-------------------------------------------------------------- */


/* class full, para todas las secciones, ocasiona que se pueda 
   tener un diseño adaptible a todos los tamaños de pantalla 
---------------------------------------------------------------*/

.Full {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow-y: hidden;
}

/* class opaca_seccion, usada para crear opacidades en imagenes o
   en el video principal, para hacer un mejor enfasis, a otros elementos 
---------------------------------------------------------------*/

.Opaco {
    background-color: black;
    opacity: 0.75;
    z-index: 101;
    height: 100%;
    width: 100%;
    position: absolute;
    transition: all 0.5s;
    overflow: hidden;
}

/* clases, para dividir, alguna seccion de interes, en mitad izquierda
  y derecha, sin afectar la visualizacion 
---------------------------------------------------------------*/

.MitadIzquierda {
    width: 50%;
    position: absolute;
    height: 100%;
    float: left;
    left: 0;
}
.MitadDerecha {
    width: 50%;
    position: absolute;
    height: 100%;
    float: right;
    right: 0;
}

/* class centrado total, usada para centrar cualquier elemento deseado,
   en un contenedor, tanto vertical como horizontalmente
---------------------------------------------------------------*/

.CentradoTotal {
    transform: translateY(-50%);
    position: relative;
    margin-left: auto;
    margin-right: auto;
    top: 50%;
    display: table;
}

/* Slider
---------------------------------------------------------------*/

section#Slider {
    height: calc(90% - 200px);
    padding: 0;
}
#ContenedorSlider {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: white;
    margin: 0 auto;
    overflow: hidden;
}
.ImagenSlider {
    position: absolute;
    width: 100%;
    height: 100%;
}
#ContenedorSlider img {
    border: 0px;
    width: 100%;
    transform: translateY(-50%);
    top: 50%;
    position: absolute;
}

/* ajuste de propiedades, para que el mapa ocupe una proporcion automaticamente
   y haciendo que la parte de contacto ocupe la siguiente seccion
---------------------------------------------------------------*/

section#Contacto {
    height: 100%;
}
section#Contacto p {
    line-height: 1.25em;
    font-size: 1.2em;
    text-align: justify;
    vertical-align: inherit;
    display: block;
}
#ContenedorContacto {
    height: auto;
    margin: 0;
    width: 100%;
}
#Mapa {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 55%;
}
#Mapa iframe {
    width: 100%;
    height: 100%;
    border-style: none;
}
#ContenedorFormulario {
    position: absolute;
    top: 55%;
    width: 100%;
    height: 45%;
}
form {
    position: absolute;
    right: 5%;
    left: 5%;
    width: 90%;
    height: 70%;
}
#Parte1 {
    position: absolute;
    left: 0%;
    width: 50%;
    height: 100%;
}
#Parte2 {
    position: absolute;
    right: 0%;
    width: 50%;
    height: 100%;
}
.CajaCentrada {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    height: 90%;
    top: 50%;
    transform: translateY(-50%);
}

/*----FORMULARIO-----*/

#Parte1 strong,
#Parte2 strong {
    color: black;
    font-family: 'Montserrat';
    opacity: 50%;
    margin-bottom: 1px;
    text-align: center;
    margin: auto;
    font-size: 16px;
}
input {
    padding-left: 10px;
}
input[type="email"] {
    font-family: 'Open Sans';
    border-radius: 4px;
    width: calc(100% - 10px);
    font-size: 12px;
    margin-bottom: 10px;
    height: 30px;
    border-style: solid;
    border-width: thin;
    border-color: lightgrey;
}
input[type="text"] {
    font-family: 'Open Sans';
    text-transform: capitalize;
    border-radius: 4px;
    width: calc(100% - 10px);
    font-size: 12px;
    margin-bottom: 10px;
    height: 30px;
    border-style: solid;
    border-width: thin;
    border-color: lightgrey;
}
#comentario {
    white-space: pre-line;
    resize: none;
    font-family: 'Open Sans';
    width: 100%;
    height: 150px;
    border-radius: 4px;
    border-style: solid;
    border-width: thin;
    border-color: lightgrey;
    font-size: 12px;
}
input[type="submit"] {
    font-family: 'Montserrat';
    background-color: #005dac;
    font-weight: 400;
    font-size: 1.1em;
    color: white;
    width: 80%;
    height: 40px;
    padding-left: 10px;
    border-radius: 5px;
    margin-top: 20px;
    border: none;
}
input[type="submit"]:hover {
    background-color: #00AEEF;
    cursor: pointer;
}
#botones_formulario {
    width: 35%;
}

#BotonEnviar{
    font-size: 1.1em;
    width: 50%;
}

/* Scrollbar Personalizada
---------------------------------------------------------------*/

body::-webkit-scrollbar,
p::-webkit-scrollbar {
    width: 10px;
}
body::-webkit-scrollbar-track,
p::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0);
    height: 0;
    width: 0;
    visibility: hidden;
    display: none;
}
body::-webkit-scrollbar-thumb,
p::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #999999;
}
body::-webkit-scrollbar-thumb:hover,
p::-webkit-scrollbar-thumb:hover {
    border-radius: 10px;
    background-color: gray;
}

/* Secciones con TAG section
-------------------------------------------------------------- */

section#Creditos {
    padding: 0;
    margin: 0;
    border: none;
}
#Creditos {
    top: 25px;
    position: relative;
    color: white;
    font-style: normal;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25em;
    line-height: 1.3em;
    font-weight: 400;
}
section#Nosotros {
    height: 200%;
}
#ContenedorSuperior {
    position: absolute;
    top: 0;
    width: 80%;
    height: 50%;
}
#ContenedorInferior {
    position: absolute;
    top: 50%;
    width: 80%;
    height: 50%;
}
#ContenedorTexto {
    position: relative;
    width: 100%;
    height: 50%;
    margin-top: 15px;
    overflow-y: auto
}
#TituloNosotros {
    position: relative;
    width: 40%;
    height: auto;
    left: 30%;
    right: 30%;
    text-align: center;
}
#ImagenNosotros {
    position: relative;
    width: 100%;
    height: 40%;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}
#InformacionVMV {
    position: absolute;
    height: 100%;
    width: 100%;
}
.VMV {
    width: 100%;
    height: calc(100%/3);
}
#Valores {
    position: absolute;
    top: 0;
}
#Vision {
    position: absolute;
    top: calc(100%/3);
}
#Mision {
    position: absolute;
    top: calc(2*(100%/3));
}
.ContenedorIcono {
    position: absolute;
    width: 30%;
    height: 100%;
}
.ContenedorTexto {
    position: absolute;
    width: 70%;
    height: 100%;
    display: table;
}
.ContenedorTexto #Texto {
    transform: translateY(-50%);
    top: 50%;
    position: absolute;
}
.Icono {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 55%;
    overflow: hidden;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}
.Icono:before {
    overflow: hidden;
    content: "";
    display: block;
    padding-top: 100%;
}
section#Servicios {
    height: 240%;
    padding: 0;
}
#ContenidoServicios {
    height: 100%;
}
#Equipo {
    width: 90%;
    height: 60%;
    position: relative;
    left: 5%;
    right: 5%;
}
.ContentImage {
    float: left;
    background-color: white;
    width: 30%;
    height: 100%;
}
.im img {
    width: 100%;
}
.im {
    transform: translateY(-50%);
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    overflow: hidden;
    border-radius: 50%;
    background-color: white;
    top: 50%;
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
    border: solid lightblue 3px;
    box-shadow: 5px 5px 10px #D8D8D8;
}
.im:before {
    overflow: hidden;
    content: "";
    display: block;
    padding-top: 100%;
    /* initial ratio of 1:1*/
}
.ime {
    transform: translateY(-50%);
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
    border-radius: 50%;
    background-color: white;
    top: 50%;
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
    border: solid lightblue 3px;
    box-shadow: 5px 5px 10px #D8D8D8;
}
.ime:before {
    content: "";
    display: block;
    padding-top: 100%;
    /* initial ratio of 1:1*/
}
.info {
    float: left;
    background-color: white;
    width: 70%;
    height: 100%;
}
.CentradoTotal {
    transform: translateY(-50%);
    position: relative;
    margin-left: auto;
    margin-right: auto;
    top: 50%;
    display: table;
}
#ImageContainer {
    background-color: white;
    width: 80%;
    height: 80%;
    margin: auto;
}
.ImagenEquipo {
    float: left;
    background-color: white;
    width: calc(100%/5);
    height: 100%;
}
.InformacionIndi {
    background-color: white;
    width: 85%;
    height: auto;
    transform: translateY(-50%);
    position: relative;
    margin-left: auto;
    margin-right: auto;
    top: 50%;
}
.InformacionIndi p {
    font-family: 'Open Sans', sans-serif;
    color: black;
    font-size: 1em;
    line-height: 1.35em;
    text-align: left;
}
.InformacionIndi h1 {
    font-family: 'Open Sans', sans-serif;
    color: #0d72b9;
    font-size: 1.7em;
    text-align: left;
    font-weight: 400;
    margin-bottom: 4%;
}
td h1 {
    font-family: 'Open Sans', sans-serif;
    color: #0d72b9;
    font-size: 1.7em;
}
.InformacionIndi h2,
.titulos h2 {
    font-family: 'Open Sans', sans-serif;
    color: black;
    font-size: 1.1em;
    font-weight: 600;
    margin: 0;
}
td {
    width: 50%;
}
tr {
    border-bottom: solid 40px white;
}
#ContentTitulos {
    background-color: white;
    width: 80%;
    height: auto;
    margin: auto;
}
.titulos {
    float: left;
    background-color: white;
    width: calc(100%/5);
    height: 100%;
}

/* Servicios
-------------------------------------------------------------- */

#Services {
    background-color: lightgray;
    width: 100%;
    height: 40%;
}
.tercio {
    position: absolute;
    width: calc(100%/3);
    background-color: white;
    height: 40%;
    float: left;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
    transition: all 1s;
}
.opacidad {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 100;
    transition: all 0.5s;
    top: 0;
}
#ListaServiciosCivil,
#ListaServiciosAmbiental,
#ListaServiciosSeguridad {
    position: absolute;
    width: 100%;
    height: 0%;
    background-color: white;
    opacity: 1;
    z-index: 10000;
    transition: all 0.75s;
    bottom: 0;
    overflow: auto;
}
.ImagenServices {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 15;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.opacidad:hover {
    opacity: 0;
}
button {
    position: relative;
    top: 80%;
    width: 50%;
    height: 10%;
    z-index: 200;
    background-color: #0d72b9;
    border-radius: 10px;
    left: 25%;
    right: 25%;
    transition: all 0.5s;
    border: solid 3px #0d72b9;
    box-shadow: 2px 2px 8px black;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4em;
    text-transform: uppercase;
    font-weight: 700;
    color: white;
}
button:hover {
    background: rgba(255, 255, 255, 1);
    cursor: pointer;
    color: #0d72b9;
}
.titles {
    position: absolute;
    width: 84%;
    padding-left: 8%;
    padding-right: 8%;
    top: 20px;
    height: 10%;
    z-index: 4000;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    color: white;
    font-size: 3em;
    font-weight: 400;
    line-height: 1.4em;
    text-shadow: 2px 2px 8px black;
    font-style: normal;
    text-transform: capitalize;
}
button:hover + .opacidad {
    opacity: 0;
}
.InformacionServicios {
    position: absolute;
    width: 90%;
    height: 30%;
    background-color: green;
    left: 5%;
    right: 5%;
    top: 5%;
}
.InformacionServicios h2 {
    font-family: 'Open Sans', sans-serif;
    color: #0d72b9;
    font-size: 1.1em;
    font-weight: 600;
    text-transform: capitalize;
}

/*-------DETAILS SERVICIOS------------------*/

.InfoServicio{
    width:90%;
    height:auto;
    margin-left: auto;
    margin-right: auto;
    margin-top:30px;
    background-color: white;
}

details summary{
    color:black;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2em;
    text-transform: capitalize;
    font-weight: 600;
    text-align: justify;
    border-bottom-style: solid;
    border-color:#0d72b9;
    border-width: 2px;
    margin-top:20px;
    line-height: 1.5;
}

details:hover{
    cursor:pointer;
}