/* _______________________________ GENERALES _______________________________ */
html, body {
    height: 100%;
    margin: 0;
}

.titu1{
  font-family: sans-serif;
  font-size: 1.6em;
}
.titu2{
  font-family: sans-serif;
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 1.5em;
  margin-bottom: .5em;
}
.titu3{
  font-family: sans-serif;
  font-size: 1.2em;
}
.pgen{
  font-family: sans-serif;
  font-size: 1em;
}
.sinpadd{
    padding: 0 !important;
}
main{
    overflow-x: hidden;
}
/* _______________________________ GENERALES _______________________________ */



/* _______________________________ PORTADA _______________________________ */
.backColNav{
    background-color: rgba(0, 0, 0, 0); !important;
}
.contPort{
  background-image: url('../img/fondInd.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.logoPort{
  width: auto;
  height: 3em;
}
.btnMenPort{
    color: #0B1426 !important;
    padding-left: 1em !important;
    padding-right: 1em !important;
    transition: all .3s;
}
.btnMenPort:hover{
    color: #3968c6 !important;
}
.btnMenPort:focus{
    outline: none;
}
.imgTxtPort{
    width: auto;
    height: 70%;
}
.scrollCont{
    width: 2em;
    height: auto;
    position: absolute;
    bottom: 2em;
    left: calc(50% - 1em);
}
.imgScroll{
    width: 100%;
    height: auto;
}
.visResponsive{
    display: block;
    color: #0B1426;
    margin-top: .5em !important;
}
.btnImgP{
    width: 100%;
    height: auto;
    opacity: 1;
    transition: all .3s;
}
.btnImgP:hover{
    opacity: .9;
}

.btnImgD{
    padding: 4em 1em;
    filter: saturate(100%);
    transition: all .3s;
}
.btnImgD:hover{
    filter: saturate(150%);
}
.btnImgD img{
    width: auto;
    max-height: 13em;
}

.btnImgDC1{
    background-color: #FFFFFF;
}
.btnImgDC2{
    background-color: #CEDCE3;
}


.backFoot{
    background-color: #000063;
}
.txtFoot1{
    font-family: sans-serif;
    font-size: 1em;
    color: #FFF;
}
.liBlFoot{
    background-color: #FFF;
}
.txtFoot2{
    font-family: sans-serif;
    font-size: .8em;
    color: #FFF;
}

.txtFoot2 a{
    font-family: sans-serif;
    font-size: .8em;
    color: #FFF;
    opacity: 1;
    transition: all .3s;
}
.txtFoot2 a:hover{
    text-decoration: none;
    color: #FFF;
    opacity: .7 !important;
}
.btnDesProgr{
    display: inline-block;
    background-color: #5DB487;
    padding: .7em;
    color: #FFF;
    text-decoration: none !important;
    margin-top: -1em;
    margin-top: .5em !important;
    transition: all .5s;
}
.btnDesProgr:hover{
    background-color: #0B1426;
    color: #FFF;
}

@media (max-width: 767px) {
    .btnDesProgr{
        margin-top: .5em !important;
    }
}
/* _______________________________ PORTADA _______________________________ */



/* _______________________________ NAV _______________________________ */
.logoNav{
  width: auto;
  height: 2em;
}
.btnNavPrin{
  background-color: rgba(256, 256, 256, 0);
  color: #FFF !important;
  margin-left: .5em;
  margin-bottom: .3em;
  border-radius: 5px;
  border: 1px solid rgba(256, 256, 256, .1);
  font-weight: lighter;
  transition: all .5s;
  outline:none;
}
.btnNavPrin:hover{
  background-color: rgba(256, 256, 256, .1);
  opacity: 1;
  border: 1px solid rgba(256, 256, 256, .3);
}
.btnNavPrin:focus{
  outline: none;
}
.activeNavE{
  background-color: rgba(256, 256, 256, .1);
  opacity: 1;
  border: 1px solid rgba(256, 256, 256, .3);
  pointer-events: none;
}
/* _______________________________ NAV _______________________________ */



/* _______________________________ ESTATUTOS _______________________________ */
.liEst{vertical-align: top;}
.liNorm{
  list-style: auto !important;
  margin-left: 2em;
  list-style-type: upper-roman !important;
}
.pgensm{
    font-family: sans-serif;
    font-size: 1em;
    margin: 0 !important;
}
/* _______________________________ ESTATUTOS _______________________________ */



/* _______________________________ MISIÓN Y VISIÓN _______________________________ */
.logoMV{
  width: auto;
  height: 4em;
}
/* _______________________________ MISIÓN Y VISIÓN _______________________________ */


/* _______________________________ ORGANIGRAMA _______________________________ */
ol.organizational-chart,
ol.organizational-chart ol,
ol.organizational-chart li,
ol.organizational-chart li > div {
    position: relative;
}
ol.organizational-chart,
ol.organizational-chart ol {
    list-style: none;
    margin: 0;
    padding: 0;
}
ol.organizational-chart {
    text-align: center;
}
ol.organizational-chart ol {
    padding-top: 1em;
}
ol.organizational-chart ol:before,
ol.organizational-chart ol:after,
ol.organizational-chart li:before,
ol.organizational-chart li:after,
ol.organizational-chart > li > div:before,
ol.organizational-chart > li > div:after {
    background-color: #b7a6aa;
    content: '';
    position: absolute;
}
ol.organizational-chart ol > li {
    padding: 1em 0 0 1em;
}
ol.organizational-chart > li ol:before {
    height: 1em;
    left: 50%;
    top: 0;
    width: 3px;
}
ol.organizational-chart > li ol:after {
    height: 3px;
    left: 3px;
    top: 1em;
    width: 50%;
}
ol.organizational-chart > li ol > li:not(:last-of-type):before {
    height: 3px;
    left: 0;
    top: 2em;
    width: 1em;
}
ol.organizational-chart > li ol > li:not(:last-of-type):after {
    height: 100%;
    left: 0;
    top: 0;
    width: 3px;
}
ol.organizational-chart > li ol > li:last-of-type:before {
    height: 3px;
    left: 0;
    top: 2em;
    width: 1em;
}
ol.organizational-chart > li ol > li:last-of-type:after {
    height: 2em;
    left: 0;
    top: 0;
    width: 3px;
}
ol.organizational-chart li > div {
    background-color: #fff;
    border-radius: 3px;
    min-height: 2em;
    padding: 0.5em;
}
/*** PRIMARY ***/
ol.organizational-chart > li > div {
    color: #FFF;
    margin-right: 1em;
    border-radius: .5em;
    background-color: #081527;
}
ol.organizational-chart > li > div:before {
    bottom: 2em;
    height: 3px;
    right: -1em;
    width: 1em;
}
ol.organizational-chart > li > div:first-of-type:after {
    bottom: 0;
    height: 2em;
    right: -1em;
    width: 3px;
}
ol.organizational-chart > li > div + div {
    margin-top: 1em;
}
ol.organizational-chart > li > div + div:after {
    height: calc(100% + 1em);
    right: -1em;
    top: -1em;
    width: 3px;
}
/*** SECONDARY ***/
ol.organizational-chart > li > ol:before {
    left: inherit;
    right: 0;
}
ol.organizational-chart > li > ol:after {
    left: 0;
    width: 100%;
}
ol.organizational-chart > li > ol > li > div {
    /*background-color: #83e4e2;*/
    border-radius: .5em;
    border: 2px solid #081527;
}
/*** TERTIARY ***/
ol.organizational-chart > li > ol > li > ol > li > div {
    /*background-color: #fd6470;*/
    border-radius: .5em;
    border: 1px solid #081527;
}
/*** QUATERNARY ***/
ol.organizational-chart > li > ol > li > ol > li > ol > li > div {
    border-radius: .5em;
    background-color: #AAA;
}
/*** QUINARY ***/
ol.organizational-chart > li > ol > li > ol > li > ol > li > ol > li > div {
    background-color: #fddc32;
}

@media only screen and ( min-width: 64em ) {
    ol.organizational-chart {
        margin-left: -1em;
        margin-right: -1em;
    }
    /* PRIMARY */
    ol.organizational-chart > li > div {
        display: inline-block;
        float: none;
        margin: 0 1em 1em 1em;
        vertical-align: bottom;
    }
    ol.organizational-chart > li > div:only-of-type {
        margin-bottom: 0;
        width: calc((100% / 1) - 2em - 4px);
    }
    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(2),
    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(2) ~ div {
        width: calc((100% / 2) - 2em - 4px);
    }
    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(3),
    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(3) ~ div {
        width: calc((100% / 3) - 2em - 4px);
    }
    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(4),
    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(4) ~ div {
        width: calc((100% / 4) - 2em - 4px);
    }
    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(5),
    ol.organizational-chart > li > div:first-of-type:nth-last-of-type(5) ~ div {
        width: calc((100% / 5) - 2em - 4px);
    }
    ol.organizational-chart > li > div:before,
    ol.organizational-chart > li > div:after {
        bottom: -1em!important;
        top: inherit!important;
    }
    ol.organizational-chart > li > div:before {
        height: 1em!important;
        left: 50%!important;
        width: 3px!important;
    }
    ol.organizational-chart > li > div:only-of-type:after {
        display: none;
    }
    ol.organizational-chart > li > div:first-of-type:not(:only-of-type):after,
    ol.organizational-chart > li > div:last-of-type:not(:only-of-type):after {
        bottom: -1em;
        height: 3px;
        width: calc(50% + 1em + 3px);
    }
    ol.organizational-chart > li > div:first-of-type:not(:only-of-type):after {
        left: calc(50% + 3px);
    }
    ol.organizational-chart > li > div:last-of-type:not(:only-of-type):after {
        left: calc(-1em - 3px);
    }
    ol.organizational-chart > li > div + div:not(:last-of-type):after {
        height: 3px;
        left: -2em;
        width: calc(100% + 4em);
    }
    /* SECONDARY */
    ol.organizational-chart > li > ol {
        display: flex;
        flex-wrap: nowrap;
    }
    ol.organizational-chart > li > ol:before,
    ol.organizational-chart > li > ol > li:before {
        height: 1em!important;
        left: 50%!important;
        top: 0!important;
        width: 3px!important;
    }
    ol.organizational-chart > li > ol:after {
        display: none;
    }
    ol.organizational-chart > li > ol > li {
        flex-grow: 1;
        padding-left: 1em;
        padding-right: 1em;
        padding-top: 1em;
    }
    ol.organizational-chart > li > ol > li:only-of-type {
        padding-top: 0;
    }
    ol.organizational-chart > li > ol > li:only-of-type:before,
    ol.organizational-chart > li > ol > li:only-of-type:after {
        display: none;
    }
    ol.organizational-chart > li > ol > li:first-of-type:not(:only-of-type):after,
    ol.organizational-chart > li > ol > li:last-of-type:not(:only-of-type):after {
        height: 3px;
        top: 0;
        width: 50%;
    }
    ol.organizational-chart > li > ol > li:first-of-type:not(:only-of-type):after {
        left: 50%;
    }
    ol.organizational-chart > li > ol > li:last-of-type:not(:only-of-type):after {
        left: 0;
    }
    ol.organizational-chart > li > ol > li + li:not(:last-of-type):after {
        height: 3px;
        left: 0;
        top: 0;
        width: 100%;
    }
}

.orgTxt1{
    font-size: 1.7em;
    font-weight: bold !important;
    color: #FFF;
}
.orgTxt2{
    font-size: 1.2em;
    color: #081527;
}
.orgTxt3{
    font-size: 1em;
    color: #666;
}
.orgTxt4{
    font-size: .8em;
    color: #FFF;
}

/* _______________________________ ORGANIGRAMA _______________________________ */


/* _______________________________ EVENTOS _______________________________ */
.imgBanner{
    width: 100%;
}
.tituInst{
    font-family: sans-serif;
    font-size: 1.2em;
    font-weight: bold;
}
.indicador{
    display: inline-block;
    border: 1px solid #357AF3;
    padding: .3em 2em;
    margin-right: 2em;
    text-align: center;
    font-family: sans-serif;
    font-weight: bold;
    font-size: .8em;
}
.actInd{
    background-color: #4EB688;
    border: 1px solid #4EB688;
    color: #FFF;
}
.tituInstForm{
    font-family: sans-serif;
    font-size: .9em;
    font-weight: bold;
}
.btn_env{
    background-color: #FFF;
    border: 1px solid #4EB688;
    color: #000;
    padding: .2em 2em;
    transition: all .5s;
}
.btn_env:hover{
    background-color: #4EB688;
    border: 1px solid #4EB688;
    color: #FFF;
}
input[type="file"].agrEditImgForm {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}
label.agrEditImgFormLab {
  width: auto;
  display: inline-block;
  background-color: #4EB688;
  padding: 1em 3em;
  color: #FFF;
  text-align: center;
  border-radius: 3px;
  cursor: pointer;
  opacity: 1;
  transition: .5s;
}
label.agrEditImgFormLab:hover {
  opacity: .8;
}

.btnVideo{
    background-color: #5DB487;
    font-family: sans-serif;
    font-size: 1.2em;
    color: #FFF;
    padding: .6em 2em;
    border: transparent !important;
    transition: all .5s;
}
.btnVideo:hover{
    background-color: #081527;
}

.respUpLFile{
    color: #4EB688;
    min-height: 2em;
    width: 100%;
}
/* _______________________________ EVENTOS _______________________________ */





/* _______________________________ CONSTANCIA _______________________________ */
.txt_nomDin{
    font-family: sans-serif;
    font-weight: bold;
    color: #081527;
    font-size: 20px;
    text-align: center;
}
/* _______________________________ CONSTANCIA _______________________________ */





.btnAfilTipo{
    display: inline-block;
    background-color: #5DB487;
    padding: .7em;
    color: #FFF;
    text-decoration: none !important;
    border: transparent !important;
    outline:none;
    margin-top: -1em;
    margin-top: .5em !important;
    transition: all .5s;
}
.btnAfilTipo:hover{
    background-color: #0B1426;
    color: #FFF;
}
.btnAfilTipoAct{
    pointer-events: none;
    background-color: #0B1426;
    color: #FFF;
}
.mensEstaEst{
    border: solid 1px red;
    color: red;
    font-family: sans-serif;
    font-size: 1em;
    padding: 1em;
}

#selArchEst::after{
    content: 'Seleccionar Archivo';
}
.archSelect::before{
    content: 'Seleccionar Archivo 1';
}
/*.archSelect::before{ content: 'File 1 Uploaded'; background: #2fd148; }*/

#selArchEst:invalid:before { content: 'Please Upload File'; }
#selArchEst:valid:before { content: 'File 1 Uploaded'; background: #2fd148; }

.txtEstInstruccion{
    font-family: sans-serif;
    font-size: .8em;
    color: #666;
}





@media (max-width: 767px) {
    .visResponsive{
        display: none;
    }
}

/* _______________________________ FOOTER _______________________________ */
.redesEst{
    width: auto;
    height: 3em;
    opacity: 1;
    transition: all .5s;
}
.redesEst:hover{
    opacity: .5;
}
/* _______________________________ FOOTER _______________________________ */












/* Estilos para la generación de PDF */
@media print, all {
    /* Evita que los elementos se corten */
    .avoid-page-break {
        page-break-inside: avoid;
        break-inside: avoid;
    }
    
    .page-break-before {
        page-break-before: always;
        break-before: page;
    }
    
    .page-break-after {
        page-break-after: always;
        break-after: page;
    }
    
    /* Asegura que el contenido no se desborde */
    #cont_carta_aceptacion,
    #cont_resumen {
        width: 100%;
        max-width: 100%;
        overflow: visible !important;
        display: block !important;
        visibility: visible !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        margin: 0 auto !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }
    
    /* Estilos para tablas en PDF */
    table {
        width: 100%;
        table-layout: fixed;
        word-wrap: break-word;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
}




/* Loader para la generación de PDF */
.pdf-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none;
}

.pdf-loader-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.pdf-loader-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #00005F;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
