:root {
    --heightDivMain: 100%;
}
*,
::before,
::after {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
.modal-dialog {
    max-width: 1200px;
}
.mw1000 {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.cieescard {
    width: 90%;
    max-width: 1200px;
    margin: 1em;
    flex-direction: column;
}
.pa-0 {
    padding: 0;
}

.ma-0 {
    margin: 0;
}

@import url('https://fonts.googleapis.com/css?family=Fjalla+One|Lato');

/* Estilos del divAvance */
.glyphicons::before {
    padding: 1px;
}
 #tblAvance {
    font-size: .5em;
}
#tblAvance tbody td {
    padding: 1px !important;
    color: #fff !important;
}
#tblAvance .th-inner {
    padding: 1px;
}

#encabezado {
    background-color: #000;
    justify-content: space-between;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1;

}
#divAvance {
    align-self: center;
    margin-right: 1em;
    width: calc(100% - 160px);
}
#img-logo-header {
    max-height: 80px;
    padding: 0 .3rem;
    margin-left: .5rem;
}
#logo-header {
    text-align: center;
}

#divMain {
    display: flex;
    justify-content: center;
    overflow-y: auto;
}

/* Animación */
.section-1 {
    /*background-image: url('../img/fondo4.jpg');*/
    width: 100%;
    height: 100%;
    background-size: cover;
    position: relative;
    color: #fff;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    /* Animación del fondo */
    animation: animate-background linear 50s infinite;
}
.section-1:before {
    content: "";
    padding-top: 0px;
    width: 100%;
    height: 100%;
    background-color: #000;
    position: absolute;
    top: 0px;
    opacity: 0.6;
}

.section-1 h1 {
    font-size: 60px;
    font-family: 'Fjalla One', sans-serif;
    text-align: center;
}

.section-1 p {
    font-size: 25px;
    font-family: 'Lato', sans-serif;
    width: 60%;
    text-align: center;
}
.section-1 h1, p {
    position: relative;
}

.backgroundslider {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: -1;
}

.backgroundslider li {
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    animation: imagenes 24s linear infinite;
}

.backgroundslider li:nth-child(1) {
    background-image: url(../img/fondo5.jpg);
}

.backgroundslider li:nth-child(2) {
    background-image: url(../img/fondo4.jpg);
    animation-delay: 10s;
}

@keyframes imagenes {
    0% { opacity: 1; animation-timing-function: easy-out;}
    70% { opacity: 0; animation-timing-function: easy-in;}
    100% { opacity: 0;}
}

/* Estilos para login */
.login--img {
    width: 75px;
    height: 75px;
    border: 1px solid;
    margin-bottom: 2em;
    margin-left: auto;
    margin-right: auto;
    border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
}

/*Estilos del Footer*/
footer {
    height: 40px;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    background: #000;
    color: #ccc;
    text-align: center;
    padding: 1em;
}
     
.text-justify {
    text-align: justify;
}
.fs-2 {
    font-size: 2em;
}

.iconRes:hover {
    cursor: pointer;
}

/* Estilos del mensaje de Guardando */
#msgSaving {
	width: 150px;
	height: 100px;
	border: 2px solid silver;
	display: none;
	flex-direction: column;		
	justify-content: center;
	align-items: center;
	background-color: rgba(0,0,0,0.3);
	position: fixed;
	top: 50%;
	left: 50%;
	color: #fff;
}

/* Estilos de divSubInicio */
.fieldset3 { 
    padding-left:10px;
    background:#E2F0D9;
    border:2px;
    border-color:#70AD47;
    border-style:solid;
    width: 100%;
}
.legend3 {
    width:80%;
    margin:20px;
    padding: 10px;
    font-weight:bold;
    color:#404040;
    border:2px solid #70AD47;
    border-radius: 5px;
    background:#FFFFFF;
}
.fieldset3 > h4 {
    font-family: arial;
    text-align: center; 
    font-size: 1em;
}
.fielset > h5 {
    font-family: arial;
    text-align: left;
}
.fieldset3 > ol { 
    margin-left: 2em;
}
.fieldset3 > ul { 
    margin-left: 2em;
}
           
/* Estilos para Loader */
.loader {
	display: block;
	border: 10px solid #f3f3f3;
	border-radius: 50%;
	border-top: 10px solid #3498db;
	border-bottom: 10px solid #3498db;
	width: 40px;
	height: 40px;
	-webkit-animation: spin 2s linear infinite; /* Safari */
	animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Estilos para el menú de las valoraciones finales */
.menuFinal {
    flex-wrap: nowrap;
    /*  margin-bottom: .5em; */
}
.menuFinal > button {
    margin: 8px 3px 0 3px;
    height: 30px;
}
#divSubContenido {
    flex-direction: column;
}
#divSubContenido ul li {
    font-size: 0.7em;
    list-style: none;
}
#divSubContenido p {
    font-size: 0.7em;
    text-align: justify;
}
#divSubContenido table tbody tr th {
    font-size: 2em;
    padding: 10px;
}
#divSubContenido table tbody tr td {
    font-size: 0.7em;
    text-align: justify;
    padding: 10px;
}
.cbDiv {
    height: 300px;
    font-size: .8em;
    overflow-y: auto;
}
.cbDivA {
    height: 300px;
    overflow-y: auto;
}

/* Estilos para las tablas de escenarios */
.tblEscenario thead tr th {
    text-align: center;
    background-color: #f8f9fa;
}
.tblEscenario tbody tr td {
    vertical-align: top;
    font-size: .8em;
}
.tblEscenarioC1 thead tr th {
    text-align: center;
    background-color: #f8f9fa;
}
.tblEscenarioC1 tbody tr td {
    vertical-align: top;
    font-size: .8em;
}
.tblEscenarioC1 tbody tr td:first-child {
    background-color: steelblue;
    color: #fff;
}

/* Estilos Estandar para Tablas de CAE */
.tblCae1 thead tr {
    background: #F7F7F7;
    color: #000;
    font-weight: bold;
}
.tblCae1 tbody tr td {
    padding: .15rem .75rem;
    font-size: .8rem;
}
.tblCae1 tbody tr td:last-child {
    padding: 2.4px 5px;
}
.tblCae1 tbody tr td button {
    padding: 1px 4px;
}
.tblCae1 button {
    padding: .25rem;
}

/* Estilos para Indicadores de Funciones Institucionales */
.container-FU17 {
    margin: 1em;
    display: grid;
    grid-template-columns: 40px repeat(5,auto) 25% 25%;
    grid-template-rows: auto;
    border: 1px solid black;
}
.sub-container-FU17 {
    margin-top: -1em;
}
.container-FU17:last-child() {
    margin-bottom: 2em;
}

.container-FU17 > div {
    border: 1px solid #000;
}

.container-FU17 .item1 {grid-area: 1/1;}
.container-FU17 .item2 {grid-area: 1/2 / 1/7;}
.container-FU17 .item6 {grid-area: 2/1 / 5/1;}
.container-FU17 .item7 {grid-area: 2/2 / 2/7;}
.container-FU17 .item8 {grid-area: 2/7 / 5/7;}
.container-FU17 .item9 {grid-area: 2/8 / 5/8;}
.container-FU17 .item11 {grid-area: 3/3 / 5/3;}
.container-FU17 .item12 {grid-area: 3/4 / 3/4;}
.container-FU17 .item13 {grid-area: 3/5 / 3/5;}
.container-FU17 .item14 {grid-area: 3/6 / 3/6;}
.container-FU17 .item15 {grid-area: 4/4 / 4/4;}
.container-FU17 .item16 {grid-area: 4/5 / 4/5;}
.container-FU17 .item17 {grid-area: 4/6 / 4/6;}  

.container-FU17 .item8 textarea, .container-FU17 .item9 textarea {
    height: 100%;
    width: 100%;
}

.container-FU17 .item10 {
    grid-area: 3/2 / 5/2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    font-weight: bold;
}

.container-FU17 .item10 .form-check,
.container-FU17 .item11 .form-check {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.container-FU17 .item10 .form-check-input,
.container-FU17 .item11 .form-check-input {
    margin: 0 auto;
}



.container-FU17 .item6, .container-FU17 .item10, .container-FU17 .item11, .container-FU17 .item12, .container-FU17 .item13, .container-FU17 .item14 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    font-weight: bold;
}

.container-FU17 .item1, .container-FU17 .item2, .container-FU17 .item3, .container-FU17 .item4, .container-FU17 .item6 {
    background-color: #005C82;
    Color: #fff;
    font-size: .8rem;
    padding: 5px;
    text-align: center;
    font-weight: bold;
}

.container-FU17 .item15, .container-FU17 .item16, .container-FU17 .item17, .container-FU17 .item7, .container-FU17 .item8, .container-FU17 .item9 {
    padding: 5px;
    font-size: .8em;
}
.oculto {
    display: none;
}

/* Estilos de las valoraciones */
.tblValFU {
    width: 100%;
}
.tblValFU,
.tblValFU th,
.tblValFU td {
    border: 1px solid #676767;
    border-collapse: collapse;
}                
.tblValFU th,
.tblValFU td {
    font-size: .8rem;
}
.tblValFU th {
    background-color: #005C82;
    color: #fff;
    text-align: center;
    height: 2rem;
}
.tblValFU td {
    vertical-align: top;
    padding: .5rem;
    text-align: justify;
}