:root {
  /* Colores */
  --color-azul-f: #060a2f;
  --color-azul-c: #5286d6;
  --color-amarillo: #ffb400;
  --color-dorado: #df8b0c;
  --color-rosa: #fa0644;
  --color-naranja: #fa5300;
  --color-naranja-c: #ff7828;
  --color-verde: #007b37;
  --color-gris-bg: #e2e2e2;
  --color-gris-2-bg: #777777;
  --color-gris-border: #a3a3a3;
  --color-text: #333333;
  --color-text-light: #666666;

}


.modalb {
    display:none;
    position:fixed;
    inset: 0;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:1000;
    background:rgba(255, 255, 255, 0.5);
    justify-content:center;
    align-items:center;
    padding: 0;
}

    .modalb.show {
        display: flex;
        /*justify-content: center;
        align-items: center;*/
    }

    .modal-content {
        width:100%;
        /*max-width:1200px;*/
        height:100vh;
        border-radius:0;
        padding:24px 0;
        background-color: white;
    }

   .modal-content .contt {
        width: 90%;
        max-width: 1200px;
        height: 100%;
        padding: 0 8px 0 0;
        margin: 0 auto;
        overflow-y:scroll;
    }

    .modal-content .contt::-webkit-scrollbar {
        width: 8px;
    }

    .modal-content .contt::-webkit-scrollbar-thumb {
        background-color: var(--color-azul-f);
        border-radius: 10px;
    }

    .modal-content .contt::-webkit-scrollbar-track {
        background-color: var(--color-gris-2-bg);
        border-radius: 10px;
    }

    /*
    .modal-content img {
    width: 100%;
    border-radius: 8px;
    margin: 15px 0;
    }
    */

    .modal-content-ch {
        width:50%;
        max-width: 600px;
        height: 60vh;
        border-radius: 15px;
        padding: 16px 16px;
        background-color: white;
        border: 1px solid var(--color-azul-f);
    }

   .modal-content-ch .contt-ch {
        width: 100%;
        height: 100%;
        margin: 0 auto;
        overflow-y:scroll;
    }

    .modal-content-ch .contt-ch::-webkit-scrollbar {
        width: 8px;
    }

    .modal-content-ch .contt-ch::-webkit-scrollbar-thumb {
        background-color: var(--color-azul-f);
        border-radius: 10px;
    }

    .modal-content-ch .contt-ch::-webkit-scrollbar-track {
        background-color: var(--color-gris-2-bg);
        border-radius: 10px;
    }


    .modal-content .close {
        display:inline-flex;
        align-items:center;
        gap: 8px;
        background: var(--color-azul-f);
        cursor: pointer;
        padding: 4px 10px;
        margin-bottom: 16px;
        font-size: 1rem;
        font-weight: 600;
        border: 1px solid var(--color-azul-f);
        border-radius: 999px;
        color: white;
    }

    .modal-content .close:hover {
        background-color: white;
        color: var(--color-azul-f);
    }

    .modal-content-ch .close {
        display:inline-flex;
        align-items:center;
        gap: 8px;
        background: var(--color-azul-f);
        cursor: pointer;
        padding: 4px 10px;
        margin-bottom: 16px;
        font-size: 1rem;
        font-weight: 600;
        border: 1px solid var(--color-azul-f);
        border-radius: 999px;
        color: white;
    }

    .modal-content-ch .close:hover {
        background-color: white;
        color: var(--color-azul-f);
    }

    .modal-content .cont-fech-conv {
        width: 100%;
        height: auto;
        padding: 0 0 4px 0;
        border-bottom: 2px solid var(--color-azul-f);
        margin: 8px 0 16px 0;
        display: flex;
        justify-content: start;
        align-items: stretch;
    }

    .modal-content .box-fech-1 {
        width: auto;
        height: auto;
        padding: 0;
        margin: 0 16px 0 0;
    }

    .modal-content .box-fech-2 {
        width: auto;
        height: auto;
        margin: 0 0 0 0;
        padding: 8px;
        border-radius: 5px;
        background-color: var(--color-gris-bg);
    }

    .modal-content .txt-princ-mod {
        font-size: 32px;
        font-weight: 600;
        padding: 0;
        margin: 0;
        text-align: center;
        line-height: 1.2;
    }

    .modal-content .txt-fech-1 {
        font-size: 30px;
        font-weight: 600;
        text-align: center;
    }

    .modal-content .txt-fech-1 span {
        font-size: 26px;
    }

    .modal-content .txt-fech-2 {
        font-size: 30px;
        font-weight: 600;
        padding: 0;
        margin: 0;
        text-align: center;
        line-height: 1.2;
    }

    .modal-content .txt-mod-2 {
        font-size: 1.3rem;
        font-weight: 600;
        color: var(--color-amarillo);
    }

    .modal-content .txt-mod-2 i {
        color: var(--color-azul-f);
    }


    .modal-content .txt-mod-3 {
        font-size: 1.2rem;
        font-weight: 600;
        line-height: 1.2;
    }

    .modal-content .txt-mod-4 {
        font-size: 1.05rem;
        font-weight: 500;
        text-align: justify;
    }

    .modal-content .txt-mod-5 {
        font-size: 1.15rem;
        font-weight: 600;
        color: var(--color-azul-f);
    }

    .modal-content .marg-ol-1 {
        margin-left: 16px;
    }

    .txt-info-inst-1 {
        font-size: 1.0rem;
        font-weight: 500;
    }

    .txt-info-inst-2 {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--color-azul-f);
    }

    .txt-info-inst-3 {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--color-azul-f);
    }

    .cont-red {
        padding: 12px;
        border-radius: 10px;
    }

    .bg-primary {
        background-color: #fafaa1;
    }

    .bg-secondary {
        background-color: #a7faa1;
    }

    .bg-tertiary  {
        background-color: #a1f2fa;
    }

    .bg-quaternary  {
        background-color: #e0e0e0;
    }

    .bg-rojo  {
        background-color: red;
        color: white;
    }

    .bord-primary {
        border: 1px solid #ec9c06;
    }

    .bord-secondary {
        border: 1px solid #0694ec;
    }

    .bord-tertiary {
        border: 1px solid #048f17;
    }

    .img-inst-1 {
        display: block;
        width: 70%;
        max-width: 600px;
        padding: 0;
        margin: 0 auto;
    }

    .img-inst-2 {
        display: block;
        width: 33%;
        max-width: 250px;
        padding: 0;
        margin: 0 auto;
    }



   
    

@media ((min-width: 0) and (max-width: 768px)) {

    .modal-content .cont-fech-conv {
        width: 100%;
        height: auto;
        padding: 0 0 4px 0;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: stretch;
    }

    .modal-content .box-fech-1 {
        margin: 0 0 8px 0;
    }

    .modal-content .box-fech-2 {
        width: auto;
        max-width: 450px;
        height: auto;
    }

    .modal-content .txt-princ-mod {
        font-size: 24px;
    }

    .modal-content .txt-fech-1 {
        font-size: 24px;
    }

    .modal-content .txt-fech-1 span {
        font-size: 20px;
    }

    .modal-content .txt-mod-2 {
        font-size: 20px;
    }

    .modal-content .txt-mod-3 {
        font-size: 18px;
    }

    .modal-content .txt-mod-4 {
        font-size: 0.95rem;
    }

    .modal-content-ch {
        width:90%;
        max-width: 600px;
        height: 70vh;
        border-radius: 15px;
        padding: 16px 16px;
        background-color: white;
        border: 1px solid var(--color-azul-f);
    }


}
