*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

.contenedor{
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.titulo-divisiones{
    padding-top: 0%;
    color:#013A63;
    background-color:hsla(202, 20%, 92%);
    font-size: 30px ;
    text-align: center;
    margin-bottom: 60px;
    
}


/*Header*/

header{
    width: 100%;
    height: 120vh;
    background: #2c3e50;  
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to left, rgba(51, 152, 219, 0.411), rgba(43, 61, 79, 0.418));  
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, rgba(78, 99, 114, 0.486), rgba(43, 61, 79, 0.445)), url(imagenes/rascacielos.jpg);
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.header-menu{
    background-color: hsla(0, 0%, 100%, 0.11);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    transition: 0.7s;
    padding: 0px 15px;
    z-index: 10;
    border-bottom: 0.4vh solid #000000;
    flex-wrap: wrap;
}
.header-menu.abajo{
    background: #fff;
    padding: 1.5vh 2vh;
    border-bottom: 0.4vh solid #013A63;
}
.header-menu .logo{
    position: relative;
    color: #000000;
    font-weight: bold;
    font-size: 5vh;
    letter-spacing: .04vh;
    transition: 1.5s;
    text-decoration: none;
}
.header-menu ul{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-menu ul li{
    list-style: none;
}

.header-menu ul li a{
    position: relative;
    font-family: helvetica;
    font-size: 2vh;
    margin: 0 1vh;
    text-decoration: none;
    color: #000000;
    letter-spacing: 2px;
    font-weight: 600;
    transition: 0.7s;
}

nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

nav a{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
}

.header-menu.abajo .logo{
    color: #013A63;
}

.header-menu.abajo ul li a:hover{
    text-decoration: underline;
}

.header-menu.abajo ul li a{
    color: #000000;
}

header .textos-header{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.titulongo {
    margin-top: 40vh;
    padding: 1.5vh;
    border: solid 1vh #fff;
    background-color: rgba(255, 255, 255, 0.63);
}

.textos-header h1{
    font-size: 5vh;
    color: #01253f;
}

.servicio{
    color: #01253f;
}

.textos-header h2{
    font-weight:bold;
    font-size: 3vh;
    color:#000000;
}

.wave{
    position: absolute;
    bottom: 0;
    width: 100%;
}


/*NEI mexico*/

.neimx{
    margin: 10px;

}

.titulo-divisiones{
    background-color: #013A63;
    color: #fff;
    margin: 20px;
    padding: 20px;
    font-size: 7vh;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
}

.contenedor-neimx{
    margin: 20px;
    text-align: center;
}

.contenedor-neimx h3{
    color: #013A63;
}

.cont-neimx{
    background-color: hsla(202, 20%, 92%);
    margin: 4vh;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
    padding: 20px;
    font-size: 3vh;
}

.cont-neimx2{
    background-color: hsla(202, 20%, 92%);
    margin: 4vh;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
    padding: 20px;
    font-size: 3vh;
}

.cont-neimx3{
    background-color: hsla(202, 20%, 92%);
    margin: 4vh;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
    padding: 20px;
    font-size: 3vh;
}

.contenedor-neimx h2{
    color: #013A63;
}

.contenido-neimx{
    display: flex;
    justify-content:space-around ;
    flex-wrap: wrap;
    transition: 1s;
    text-decoration: none;
    margin: 1vh;
}

.contenido-neimx p a{
    padding: 20px;
    display: flex;
    justify-content: space-around;
    transition: 1s;
    text-decoration: none;
    color: black;
    font-size: 2.5vh;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif, Helvetica, sans-serif;
}

.cont-neimx-conocenos p a{
    font-size: 2vh;
}

.cont-neimx:hover h3{
    color: #fff;
}

.cont-neimx2:hover h3{
    color: #fff;
}

.cont-neimx3:hover h3{
    color: #fff;
}

.cont-neimx:hover{
    margin: 20px;
    padding: 20px;
    background-color: hsla(205, 98%, 20%, 0.822);
    color: #fff;
    text-align: center;
}

.cont-neimx2:hover{
    margin: 20px;
    background-color: hsla(205, 98%, 20%, 0.822);
    color: #fff;
    text-align: center;
}

.cont-neimx3:hover{
    margin: 20px;
    background-color: hsla(205, 98%, 20%, 0.822);
    color: #fff;
    text-align: center;
}

.cont-neimx:hover p a{
    color: #fff;
    border-top: solid 0.5vh hsla(177,100%,30%, 0.7);
}

.cont-neimx2:hover p a{
    color: #fff;
    border-top: solid 0.5vh hsla(177,100%,30%, 0.7);
}

.cont-neimx3:hover p a{
    color: #fff;
    border-top: solid 0.5vh hsla(177,100%,30%, 0.7);
}

/*Vitasicura*/

.vitasicura{
    width: 100%;
}

.contenido-textos-vitasicura{
    display:flex;
    justify-content: space-around;
    align-items: center;
    flex-flow: row wrap;
    padding: 5vh;
}

.galeria-port-vitasicura{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.imagen-port-vitasicura{
    display: flex;
    justify-content: space-around;
    width: 50vh;
    margin: 2vh;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 0.4vh 0 rgba(0, 0, 0, .5);
    flex-wrap: wrap;
    background-color: hsla(202, 20%, 92%);
}

.imagen-port-vitasicura > img{
    width: 100%;
    padding-bottom: 1vh;
    object-fit: cover;
}

.imagen-port-vitasicura > h3{
    padding-bottom: 0.7vh;
    object-fit: cover;
}

.hover-galeria{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transform: scale(0);
    background: hsla(177,100%,30%, 0.7);
    transition: transform .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hover-galeria img{
    width: 50px;
}

.hover-galeria p{
    color: #fff;
}

.imagen-port-vitasicura:hover .hover-galeria{
    transform: scale(1);
}


/* Galeria */


.portafolio{
    background: #f2f2f2;
}

.juridico-cont{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.galeria-port{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.imagen-port{
    display: flex;
    justify-content: space-around;
    width: 25vh;
    margin: 2vh;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 0.4vh 0 rgba(0, 0, 0, .5);
    flex-wrap: wrap;
    background-color: hsla(202, 20%, 92%);
}

.imagen-port > img{
    width: 100%;
    padding-bottom: 1vh;
    object-fit: cover;
}

.imagen-port > h3{
    padding-bottom: 0.7vh;
    object-fit: cover;
}

.hover-galeria{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transform: scale(0);
    background: hsla(177,100%,30%, 0.7);
    transition: transform .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hover-galeria img{
    width: 50px;
}

.hover-galeria p{
    color: #fff;
}

.imagen-port:hover .hover-galeria{
    transform: scale(1);
}



/*Cursos*/


.galeria-port-cursos{
    text-decoration: none;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.imagen-port-cursos{
    text-decoration: none;
    width: 100%;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.imagen-port-cursos > img{
    text-decoration: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hover-galeria-cursos{
    text-decoration: none;
    list-style: none;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transform: scale(0);
    background: hsla(177,100%,30%, 0.7);
    transition: transform .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hover-galeria-cursos img{
    text-decoration: none;
    width: 100%;
}

.hover-galeria-cursos h3{
    text-decoration: none;
    list-style: none;
    font-size: 10px;
    font-size: 3vh;
    color: #fff;
    
}

.hover-galeria-cursos p{
    text-decoration: none;
    list-style: none;
    font-size: 10px;
    padding: 2px;
    font-size: 2vh;
    color: #fff;
    
}

.imagen-port-cursos:hover .hover-galeria-cursos{
    transform: scale(1);
}

/* Slider curso*/

.slider-curso{
    display: flex;
    justify-content: space-around;
    width: 80%;
}

.slider{
    width: 60%;
    margin: auto;
    overflow: hidden;
}

.slider ul{
    display: flex;
    padding: 0%;
    width: 400%;

    animation: cambio 15s infinite alternate;
    animation-timing-function:linear;
}

.slider li{
    width: 100%;
    list-style: none;
}

.slider img{
    width: 100%;
    height: 100%;
}


@keyframes cambio{
    0% {margin-left: 0;}
    20% {margin-left: 0;}

    25% {margin-left: -100%;}
    45% {margin-left: -100%;}

    50% {margin-left: -200%;}
    70% {margin-left: -200%;}

    75% {margin-left: -300%;}
    100% {margin-left: -300%;}
}


/* footer */

footer{
    border-top: 1vh solid #013A63;
    background: #013A63;
    padding-top: 3vh;
    justify-content: space-around;
}

.contenedor-footer{
    display: flex;
    margin: 2vh;
    justify-content: space-around;
    padding-bottom: 2vh;
    border-bottom: 0.3vh solid #ccc;
}

.content-foot-facebook img{
    width: 6vh;
    border-bottom: 0.4vh solid #009991;
    padding-bottom: 1.2vh;
    margin-bottom: 1.5vh;
}

.content-foot-telefono h4 {
    color: #fff;
    border-bottom: 0.4vh solid #009991;
    padding-bottom: 1.2vh;
    margin-bottom: 1.5vh;
}

.content-foot-telefono h4 a{
    text-decoration: none;
    color: #fff;
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-size: 5vh;
}

.content-foot-whats img{
    width: 6.5vh;
    border-bottom: 0.4vh solid #009991;
    padding-bottom: 1.2vh;
    margin-bottom: 1.5vh;
}

.contenedor-final{
    display: flex;
    justify-content: space-around;
}

.titulo-final{
    display: flex;
    width: 40%;
    justify-content: center;
    font-size: 3vh;
    color: #9e9797;
    margin: 2vh;
}

/*Ajuste Pantalla*/

@media screen and (max-width:600px){
    header{
        background-position: center;
    }

    .header-menu ul li a{
        position: relative;
        font-family: helvetica;
        font-size: 2vh;
        margin: 0 0.4vh;
        text-decoration: none;
        color: #000000;
        letter-spacing: 0.2vh;
        font-weight: 600;
        transition: 0.7s;
    }

    .header-menu.abajo .logo{
        border-right: none;
    }
}

/* Scroll Personalizado */

body::-webkit-scrollbar {
	width: 2vh;
	background: #fff;
}

body::-webkit-scrollbar-thumb {
	background: #002973;
	border-radius: 10px;
	border-right: 4px solid #fff;
    border-left: 2px solid #fff;
}