html {
    box-sizing: border-box;
    font-size: 62.5%;
    /*    font-family: 'Times New Roman', Times, serif;*/
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    /*Cargar fuentes de Google Fonts aquí*/
    font-family: 'Times New Roman', Times, serif;
    /*  font-family: 'Open Sans', sans-serif;*/
    font-size: 1.6rem;
    line-height: 2rem;
    transition: background-color .5s;
    background-color: #E6E6E7;
    opacity: 1;
}

.contenedor .form-container h4 {
    /* Fuente del pop-up*/
    color: #4a5a67;
    font-weight: bold;
    text-align: left;
    font-size: 26px;
    letter-spacing: 0.5px;
    font-weight: bold;
    line-height: 30px;
    padding-top: 3px;
    padding-bottom: 10px;
}


/* Button used to open the contact form - fixed at the bottom of the page */


/*
.open-button {
   / background-color: #b7dbf3;
    border-radius: 5px;
   /* color: #4a5a67;*
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    float: none;
    margin-left: 60px;
    margin-bottom: 40px;
    bottom: 23px;
    right: 28px;
    width: 100px;
}*/

.open-button {
    border: none;
    background-color: #d8e8f0e3;
}


/* The popup form - hidden by default */

.form-popup {
    display: none;
    margin-left: 20px;
    margin-right: 140px;
    bottom: 0;
    right: 15px;
    border: 3px solid #b7dbf3;
    z-index: 9;
    width: 95%;
}


/* Add styles to the form container */

.form-container {
    /*contenedor del CV */
    float: none;
    padding: 10px;
    background-color: white;
    text-align: justify;
}


/* Set a style for the submit/login button */

.form-container .btn {
    /* ok*/
    background-color: #d8e8f0e3;
    color: #4a5a67;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
    opacity: 0.8;
}

.form-container .cancel {
    /*Color del boton cerrar */
    background-color: #b7dbf3;
}


/* Add some hover effects to buttons */

.form-container .btn:hover,
.open-button:hover {
    opacity: 1;
}


/*Globales*/

.contenedor {
    max-width: 120rem;
    margin: 0 auto;
    width: 95%;
}

h1,
h2,
h3,
h4 {
    font-family: 'Times New Roman', Times, serif;
}


/*Originalmente era h1 */

h5 {
    font-size: 2rem;
}


/*Originalmente era h2 */

h1 {
    font-size: 2.5rem;
    line-height: 1.5;
    color: #4a5a67;
    font-weight: 400;
    text-align: justify;
}

h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #4a5a67;
    text-decoration: none;
    text-align: center;
    font-style: italic;
}

h4 {
    font-size: 1.8rem;
    color: #4a5a67;
    text-decoration: none;
    font-weight: 700;
    font-style: italic;
    line-height: 1.5;
    text-align: justify;
}

h5 {
    font-size: 1.5rem;
    color: #4a5a67;
    text-decoration: none;
    font-weight: 400;
    /* font-style: italic;*/
    line-height: 1.5;
    text-align: justify;
}

h6 {
    font-size: 1.8rem;
    color: #4a5a67;
    text-decoration: none;
    font-weight: 300;
    font-style: none;
    line-height: 1.5;
    text-align: justify;
}

img {
    max-width: 100%;
}

.columnas-8 ul li {
    font-size: 1.5rem;
    font-weight: 400;
    color: #4a5a67;
    text-decoration: none;
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.5;
}

.columnas-4 ul li {
    font-size: 1.5rem;
    font-weight: 400;
    color: #4a5a67;
    text-decoration: none;
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.5;
}

.columnas-8 span {
    text-decoration: none;
    color: #4a5a67;
    font-size: 2rem;
    font-family: 'Times New Roman', Times, serif;
}

.columnas-8 .italic {
    font-style: italic;
    font-size: 1.5rem;
}


/*centra coloca borde y genera sobre en practicas */

.contenedor-practice {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10%;
    margin-bottom: 10%;
    border: 2px solid #b7dbf3;
    box-shadow: 0 0 0 2px #b7dbf6, 0 15px 50px;
}

.contenedor p {
    text-align: justify;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    line-height: 1.5;
    color: #4a5a67;
}

.contenedor .italic p span {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    line-height: 1.5;
    color: #4a5a67;
    font-style: italic;
}


/*Utilidades*/

.centrar-texto {
    text-align: center;
}

.centrar-columnas {
    justify-content: center;
}

.no-margin {
    margin: 0;
}

.btn {
    display: block;
    text-align: center;
    padding: 1rem 3rem;
    margin: 2rem 0;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 700;
    text-transform: capitalize;
    /*ver de quitar mayusculas */
    font-size: 2rem;
    flex: 0 0 100%;
    outline: none;
    transition: 0.3s;
    border-radius: 3rem;
}

.btn:hover {
    cursor: pointer;
}

@media (min-width: 768px) {
    .btn {
        display: inline-block;
        flex: 0 0 auto;
    }
}

.btn-primario {
    background-color: #608492;
}

.btn-primario:hover {
    background-color: hsl(239, 93%, 33%);
}

.btn-secundario {
    background-color: #608492;
}

.btn-secundario:hover {
    background-color: #6f3fbd;
}

@media (min-width: 768px) {
    .grid {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .columnas-2 {
	flex: 0 0 calc(16% - 1rem);
    }  
    .columnas-3 {
        flex: 0 0 calc(25% - 1rem);
    }
    .columnas-4 {
        flex: 0 0 calc(33.3% - 1rem);
    }
    .columnas-6 {
        flex: 0 0 calc(50% - 1rem);
    }
    .columnas-8 {
        flex: 0 0 calc(66.6% - 1rem);
    }
    .columnas-10 {
        /*((100/12)*10)/*/
        flex: 0 0 calc(83.3% - 1rem);
    }
    .columnas-12 {
        flex: 0 0 100%;
    }
}


/* marco de la foto*/

.slide-contenedor {
    /*  border: 3px solid #b7dbf3;*/
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
    /*  margin-bottom: 10;*/
    max-width: 100%;
    /*con cover si se baja recorta la foto con scale-down si se baja las fotos horizontales las posisiona en la base del marco*/
    max-height: 100vh;
    width: 80%;
    height: auto;
    position: relative;
    overflow: hidden;
    /* margin: auto; */
    box-shadow: 0 0 0 0px #4a5a67, 0 0px 0px;
}


/* .miSlider{
    display: none;
    transition: 2s;
    max-height: 100vh;
} */

.miSlider img {
    width: 100%;
    max-height: 100vh;
    height: inherit;
    /*objext-fit: cover la foto ocupa todo el marco */
    object-fit: scale-down;
    vertical-align: top;
    transition: 3.5s;
}

.slide-contenedor .direcciones {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
}

.slide-contenedor .direcciones a {
    color: #fff;
    display: inline-block;
    padding: 20px;
    text-decoration: none;
}

.slide-contenedor .direcciones a:hover {
    background: rgba(0, 0, 0, .5);
    transition: .5s;
}

.slide-contenedor .barras {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.slide-contenedor .barra {
    cursor: pointer;
    height: 2px;
    width: 25px;
    margin: 0 2px;
    background: #dcdde1;
    display: inline-block;
    margin-left: 3px;
}

.slide-contenedor .active {
    background-color: #4a5a67;
}

.fade {
    animation-name: fade;
    animation-duration: 3.5s;
}

@keyframes fade {
    from {
        opacity: .4;
    }
    to {
        opacity: 1;
    }
}