
:root {
    --rojo: #EF4650 !important;
    --negro: black !important;
    --gris: #F0EFF0 !important;
    --gris_oscuro: #666666 !important;
    --rojo_claro: hsla(9, 100%, 61%, 0.3) !important;
    --verde: #159E15 !important;
    --naranjo: #FFA347 !important;
    --azul: #2E65FF !important;
    --amarillo: #F7B103 !important;
    --morado: #854CAB !important;
    --fuente: 'Open Sans', !important;
}


html {
    font-size: 14px;
   
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1520px;
    }
}
body {
    font-family: 'Open Sans' !important;
    background-color: var(--gris) !important;
    height: 100vh;
}


/*FOOTER*/
#footer-wrapper {
    background: var(--negro);
    width: 100%;
    color: whitesmoke;
    /*position: absolute;*/
    height: 100%;
    /*bottom: 0;*/
}

footer {
    min-height: 40px;
}

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
    display: block;
}

#footer.container {
    /* width: max-content; */
    margin-left: auto;
    margin-right: auto;
    padding: 50px 0px 70px 0px;
    border-bottom: solid 1px grey;
    height: -webkit-fill-available;
}

.container:before, .container:after {
    display: table;
    content: "";
    line-height: 0;
}

#copyright-footer {
    background-color: var(--negro);
    color: grey;
    text-align: center;
    width: 100%;
    height: 50px;
    padding-top: 10px;
  /*  position: absolute;
    bottom: 0;*/
}

#print-date {
    display: none;
}

#footer-wrapper a {
    color: #ded1d4;
    padding-bottom: 50px;
}


/*FIN FOOTER*/


/*HEADER*/


#header {
    /*  height: auto;*/
}

#header {
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#901335', endColorstr='#880f1c', GradientType=0);
  
}

@media (min-width: 65em) {
    #block-navegacionprincipalenglish, .main-menu-nav {
        /* margin-left: calc(-50vw + 50%); */
        /* margin-right: calc(-50vw + 50%); */
        /* padding-left: 0; */
        /* padding-right: 0; */
        /* float: none; */
        /* background-color: #000; */
        /* clear: both; */
    }
}

@media (min-width: 65em) {
    .toggle-expand {
        display: none;
    }
}

.toggle-expand {
    color: navy;
    text-decoration: none;
    display: inline-block;
    text-decoration: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.toggle-expand__open {
    display: inline-block;
    text-align: center;
}

.toggle-expand {
    color: navy;
    text-decoration: none;
    display: inline-block;
    text-decoration: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
}






.container {
   /* margin-right: 8%;
    margin-left: 8%;*/
}

    .container:before, .container:after {
        display: table;
        content: "";
        line-height: 0;
    }

#header-lvl2 {
 background-color: var(--gris);
    min-height:8vh;
}



.span3 {
    width: 220px;
    background-color: none;
}

#logo-and-name h1 {
    margin-left: 10px;
    margin-top: -2px;
}

#header-div-nav {
    width: 100%;
}

/*.span8 {
    width: 620px;
}*/

#header-nav {
    float: right;
    margin-bottom: 0;
    margin-top: 15px;
}


#menu-btns .col-md-4 {
    width: 14%;
}

#menu-btns div {
    padding: 0px;
    overflow: hidden;
}

.col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-md-2 {
    float: left;
}

/*FIN HEADER*/

/*FUENTES*/
.texto_grande {
    font-size: 170%;
    line-height: 120%;
}

.texto_mediano {
    font-size: 20px;
    line-height: 41px;
}


.texto_pequenio {
    font-size: 12px;
    line-height:20px;
}


.negrita {
    font-weight: 600;
}
.negritaX {
    font-weight: 700;
}
/*FIN FUENTES*/

/*BOTONES*/
/*titulo1 {
    font-size: 1.75rem;
    color: black;
    font-weight: bolder;
}*/

.boton {
    display: inline-block;
    /*  font-weight: bolder;*/
    color: white;
    text-align: center;
    vertical-align: middle;
    /* -webkit-user-select: none; */
    -moz-user-select: none;
    -ms-user-select: none;
    /* user-select: none; */
    background-color: var(--rojo);
    border: 1px solid var(--rojo);
    /*  padding: 1rem 1rem 1rem 1rem; */ /*  .895rem 1.85rem;*/
    padding: 10px;
    /*   font-size: 1rem;*/
    /*   line-height: 1.5;*/
    border-radius: 2.25rem;
    width: 15%;
    min-width: max-content;
    height: 44px;
}
.boton2{
    display: inline-block;
  
    color: var(--rojo);
    text-align: center;
    vertical-align: middle;
    /* -webkit-user-select: none; */
    -moz-user-select: none;
    -ms-user-select: none;
    /* user-select: none; */
    background-color:transparent;
    border: 1px solid var(--rojo);
    padding: 10px;
    border-radius: 2.25rem;
    width: 15%;
    min-width: max-content;
    height: 44px;
}

.boton_lg {
    font-weight: bolder;
    font-size: 1.2rem;
    line-height: 1.4;
}

.boton_md {
    font-weight: bolder;
    font-size: 1rem;
    line-height: 1.4;
}

.boton:hover {
    background-color: white; /* Cambia el color de fondo */
    color: var(--rojo);
    text-decoration: none;
}

.boton:active {
    transform: translateY(2px); /* Efecto de desplazamiento hacia abajo */
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
}

button:disabled {
    background-color: var(--gris); /* Color de fondo m�s claro */
    border: 1px solid var(--gris);
    cursor: not-allowed; /* Cursor de no permitido */
}

    button:disabled:hover {
        color: var(--gris);
    }

.boton_verde {
    background-color: var(--verde);
    border: 1px solid var(--verde);
    color: white;
}

    .boton_verde:hover {
        background-color: white;
        color: var(--verde);
    }

/*FIN BOTONES*/




    /* Estilos para el spinner */
    #overlay {
        position: fixed; /* Cambiado a fixed para ocupar toda la pantalla */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        display: flex; /* Usar flexbox para centrar el contenido */
        justify-content: center; /* Centrar horizontalmente */
        align-items: center; /* Centrar verticalmente */
        z-index: 9999; /* Aseg�rate de que est� sobre otros elementos */
    }

/*    form floating*/
.form-control-inp {
    background-color: var(--gris);
    height: 44px;
    min-height: 40px;
    border: none;
    border-radius: 30px;
    width: 100%;
    padding: 10px;
    padding-left: 20px;
}

    .form-control-inp:focus {
        border-color: var(--rojo);
        outline: 0;
        box-shadow: 0 0 0 2px var(--rojo);
        transition: box-shadow 0.3s ease-in-out;
    }
.form-floating-inp {
    position: relative;
}

    .form-floating-inp > .form-control-inp,
    .form-floating-inp > .form-select-inp {
        height: calc(3.5rem + 2px);
        line-height: 1.25;
    }

    .form-floating-inp > label {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        padding: 1.5rem 1.75rem;
        pointer-events: none;
        border: 1px solid transparent;
        transform-origin: 0 0;
        transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
    }

@media (prefers-reduced-motion: reduce) {
    .form-floating-inp > label {
        transition: none;
    }
}
.form-floating-inp {
    position: relative;
}

    .form-floating-inp input select textarea {
        padding: 1.5rem 0.75rem 0.75rem;
    }
.form-floating-inp > .form-control-inp {
    padding: 1rem 0.75rem;
}

    .form-floating-inp > .form-control-inp::-moz-placeholder {
        color: transparent;
    }

    .form-floating-inp > .form-control-inp::placeholder {
        color: transparent;
    }

    .form-floating-inp > .form-control-inp:not(:-moz-placeholder-shown) {
        padding-top: 1.625rem;
        padding-bottom: 0.625rem;
    }

    .form-floating-inp > .form-control-inp:focus, .form-floating-inp > .form-control-inp:not(:placeholder-shown) {
        padding-top: 1.625rem;
        padding-bottom: 0.625rem;
    }

    .form-floating-inp > .form-control-inp:-webkit-autofill {
        padding-top: 1.625rem;
        padding-bottom: 0.625rem;
    }

.form-floating-inp > .form-select {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating-inp > .form-control-inp:not(:-moz-placeholder-shown) ~ label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-floating-inp > .form-control-inp:focus ~ label,
.form-floating-inp > .form-control-inp:not(:placeholder-shown) ~ label,
.form-floating-inp > .form-select ~ label {
    /*  opacity: 0.65;*/
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    padding-top: 0rem;
    height: 35px;
    width: fit-content;
    padding-right: 3px;
    padding-left: 3px;
    margin-left: 20px;
    margin-top: 5px;
    background: linear-gradient(to bottom, white 60%, transparent 50%);
    border: none;
}

.form-floating-inp > .form-control-inp:-webkit-autofill ~ label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}
.form-label-inp {
    margin-bottom: 0.5rem;
}
/*   end form floating*/

.overlay_ {
    position: static;
    z-index: 5;
}
.form-check-input:checked {
    background-color: var(--rojo);
    border-color: var(--rojo);
}




.select2-container--default .select2-selection--single:focus-within {
  /*  border-color: var(--rojo);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(254,70,33,.075);
    transition: box-shadow 0.3s ease-in-out;*/
}
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: text;
    padding-bottom: 5px;
    padding-right: 5px;
    position: relative;
    height: calc(3.5rem + 2px);
    border: 1px solid var(--gris_oscuro) !important;
    border-radius: 10px !important;
}
    .select2-container--default .select2-selection--single,
    .select2-container--default .select2-selection--multiple:focus {
      /*  border-color: var(--rojo);
        outline: 0;
        box-shadow: 0 0 0 2px var(--rojo);
        transition: box-shadow 0.3s ease-in-out;*/
    }
.select2-container--default.select2-container--focus .select2-selection  {
        border-color: var(--rojo);
        outline: 0;
        box-shadow: 0 0 0 2px var(--rojo);
        transition: box-shadow 0.3s ease-in-out;
    }

input[type="checkbox"] {
    appearance: none;
    /* -webkit-appearance: none; */
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid var(--gris_oscuro);
    border-radius: 4px;
    cursor: pointer;
   
}

input[type="checkbox"]:disabled {
    background-color: #d9d9d9;
    border-color: #bdbdbd;
    cursor: not-allowed;
}

input[type="checkbox"]:disabled:checked {
    /* background-color: #bdbdbd;
    border-color: #a6a6a6; */
    cursor: not-allowed;
}

input[type="radio"] {
    appearance: none;
    /* -webkit-appearance: none; */
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid var(--gris_oscuro);
    border-radius: 50%;
    cursor: pointer;
}

    /* Estilo cuando est� marcado */
    input[type="checkbox"]:checked {
        background-color: var(--rojo);
        border-color: white;
        outline:none;
    }
    input[type="radio"]:checked {
        background-color: var(--rojo);
        border-color: white;
        outline: none;
    }

       
   
