/* apply a natural box layout model to all elements, but allowing components to change */

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    background: #fff;
    font-family: 'Nunito Sans', sans-serif;
}

ul {
    list-style: none;
}

a {
    text-decoration: none !important;
}


/*MENU*/

.barra {
    background-color: #071829;
}

.navegacion {
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
}

.navegacion a {
    padding: 1rem;
    display: block;
}

@media (min-width:768px) {
    .navegacion {
        flex-direction: row;
    }
}

.enlace {
    overflow: hidden;
}

.enlace a {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
}

.enlace a:hover {
    background-color: rgb(7, 24, 41);
}

.enlace:hover .submenu {
    display: block;
    max-height: 300px;
}

.enlace:target .submenu {
    max-height: 300px;
}

.enlace i {
    color: #fff;
    margin-left: 1rem;
}

@media (min-width:768px) {
    .enlace {
        flex: 1;
        position: relative;
        overflow: visible;
    }
    .enlace .submenu {
        position: absolute;
        width: 100%;
    }
}

.submenu {
    background-color: #333;
    max-height: 0;
    transition: .8s;
}

.submenu a:hover {
    background-color: rgb(58, 58, 58)
}

@media (min-width:768px) {
    .submenu a {
        display: none;
    }
    .enlace:target .submenu a {
        display: block;
        flex-direction: column;
    }
    .enlace:hover .submenu a {
        display: block;
        flex-direction: column;
    }
}

.navbar {
    background-color: #333;
    font: 200;
    color: #fff;
}

.navbar a {
    color: #fff;
}

h1 {
    margin-top: 2rem;
}

.bloque-login .container .login-row .login-box {
    margin-top: 100px;
    max-width: 20rem;
    max-height: 30rem;
    box-shadow: 2px 2px 2px 2px #333;
    border-radius: 2px;
}

.alinear-derecha {
    text-align: right;
    color: antiquewhite;
}

.bg-company-red {
    background-color: #071829 !important;
}


/*ESTUDIANTES*/

table.dataTable thead .sorting:after,
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before {
    bottom: .5em;
}


/*FIN ESTUDIANTES*/


/*MODAL*/

.modal-lg {
    max-width: 90% !important;
}

.modal-medium {
    max-width: 60% !important;
}

.modal-body {
    height: 90%;
    width: 100%;
    overflow-y: auto;
}

hr {
    margin-top: 2%;
}

.color-fondo {
    background: #ef9;
}


/* CSS PARA LOS BOTONES */

.botones_descarga ul {
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
    top: 50%;
}

.botones_descarga li {
    display: inline-block;
    margin: 10px;
}

.botones_descarga a {
    text-decoration: none;
}

.boton_mir {
    border: none;
    color: white;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    font-size: 0.8rem;
}

.btn_mir {
    background-color: #071829;
    color: white;
    border: 2px solid #071829;
}

.btn_mir:hover {
    background-color: #071829;
    color: white;
}

.botones_descarga {
    margin-bottom: 2rem;
}

.inputmir {
    margin-right: 1.5rem;
    position: relative;
    width: 6rem;
    background: white;
    border: none;
    font-size: 1.3rem;
    font-weight: bold;
    color: black;
    margin-top: -0.1rem;
}


/*TERMINA CSS PARA BOTONES */

.contenedor {
    padding: 10px;
    margin: 10px;
}

.sombra {
    -webkit-box-shadow: 0px 0px 10px 0px rgba(163, 163, 163, 0.43);
    -moz-box-shadow: 0px 0px 10px 0px rgba(163, 163, 163, 0.43);
    box-shadow: 0px 0px 10px 0px rgba(163, 163, 163, 0.43);
}

.ministerio {
    padding: 2rem;
    background-color: aliceblue;
    margin: 0.5rem;
}

@media (min-width: 768px) {
    .ministerios {
        display: grid;
        grid-template-columns: 33.3% 33.3% 33.3%;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

.imagen_ministerio {
    max-width: 100%;
    margin-bottom: 2rem;
}