@import "General/botones.css";

:root {
    --color-verde: #A8BD06;/*rgba(168, 189, 6, 100);*/
    --color-rojo: #E42722; /*rgba(228, 39, 34, 100)*/;
    --color-amarillo: #FFC400; /*rgba(255, 196, 0, 100);*/
    --color-azul: #076FB5;
    --color-gris-oscuro: #818181;
    --color-morado: #BD0EE9;
    --color-blanco: #ffffff
}

body {
    margin: 0;
    padding: 0;
}

* {
    font-family: 'Roboto';
    color: var(--color-gris-oscuro);
}

/* width */
::-webkit-scrollbar {
    width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
    background-color: white;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--color-gris-oscuro);
    border-radius: 2px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--color-azul);
}

/*.esconderScroll::-webkit-scrollbar {
    display: none;
}

.esconderScroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}*/

.fondo_general {
    background-image: url(../images/fondoTriangulo.svg);
    background-position: right bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 30%;
}

.contenedor-gif-cargando {
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 10000;
    background-color: rgba(238, 238, 238, 0.5);
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gif-cargando {
    width: 150px;
    height: 150px;
}

/* Header */

#header {
    background-color: #f7f7f7;
    box-shadow: 0 2px 8px #0000003D;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.contenedorLogoHeader img {
    height: 3.75rem;
    margin-top: 0.875rem;
    margin-bottom: 0.875rem;
    margin-left: 0.875rem;
}

.navegacionHeader ul {
    list-style: none;
    display: flex;
    margin: 0;
    height: 5.5rem;
}

.navegacionHeader ul li a {
    color: inherit;
}

.contenedorImagenCircular {
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.contenedor_circular_con_borde {
    border-color: #E2DADA;
    border-width: 0.4rem;
    border-style: solid;
    box-shadow: 0px 3px 6px #00000080;
}

.imagen_circular {
    display: inline;
    /*margin: 0 auto;
    margin-left: -25%;*/
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.icono_configuracion_header {
    height: 3rem;
    width: 3rem;
}

#iconoMenu {
    display: none;
}

#imagenPerfilResponsive {
    display: none !important;
    height: 100%;
}

#btnCerrarMenuResponsive {
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    cursor: pointer;
}

#menuResponsive {
    position: fixed;
    background-color: #F7F7F7;
    -webkit-box-shadow: 15px 0px 25px 0px rgba(57,56,61,0.75);
    box-shadow: 15px 0px 25px 0px rgba(57,56,61,0.75);
    left: 0;
    top: 0;
    z-index: 1000;
    min-height: 100%;
}

.icono_menu_responsive {
    height: 3.5rem;
    width: 3.5rem;
}

/* Header */

#sideBar {
    background-color: #f7f7f7;
    float: left;
    height: 100%;
    width: 6.25rem;
    padding: 1%;
    justify-content: flex-start;
    align-items: center;
    position: fixed;
}

#sideBar a {
    text-align: center;
    margin-bottom: 1rem;
}

#sideBar img {
    width: 3.5rem;
    height: 3.5rem;
}

#contentBox {
    margin-top: 5.5rem;
    padding: 0;
}

/* De uso general */

.contenedor_mas_informacion {
    padding-right: 1.5rem;
    position: relative;
    width: fit-content;
}

.icono_mas_informacion {
    height: 1.25rem;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
}

.icono_mas_informacion_modal {
    height: 1.25rem;
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 0;
}

.textoModalInformacion {
    white-space: pre-line;
}

.modal-header {
    position: relative;
    border: none;
}

.close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
}

.link {
    font-size: x-small;
    margin-left: 10px;
    text-decoration: none;
    color: inherit;
}

.contenedor_koleyo {
    background-color: #f7f7f7;
    box-shadow: 0 2px 5px #00000033;
    border-radius: 5px;
}

.contenedor_koleyo_gris {
    background: #E2DADA 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000080;
    opacity: 1;
    border-radius: 5px;
}

.contenedor_koleyo_claro {
    background-color: #FCFCFC;
    box-shadow: 0px 2px 5px #0000003D;
    border-radius: 5px;
}

.contenedor_koleyo_intermedio {
    background-color: #FDFDFD;
    box-shadow: 0px 2px 5px #0000003D;
    border-radius: 5px;
}

.contenedor_blanco_koleyo {
    background-color: white;
    padding: 0;
    width: 100%;
    box-shadow: 0 2px 5px #0000003D;
    border-radius: 5px;
}

.contenedor_blanco {
    background-color: white;
    padding: 0;
    width: 100%;
    border-radius: 5px;
}

.contenedor_redondo {
    border-radius: 32px;
}

.form_input_container {
    padding: 1.5% 2.5%;
}

.input {
    background-color: #fcfcfc;
    border: none;
    box-shadow: 0 2px 5px #0000003d;
    outline: none;
    text-align: left;
    width: 100%;
}

.formInput {
    border: none;
    /*border-bottom: 1px solid lightgray;*/
    outline: none;
    background-color: inherit;
    width: 100%;
    height: 100%;
}

.formInput::placeholder {
    color: #a7a2a2;
}

.textInput {
    border: none;
    border-bottom: 1px solid lightgray;
    outline: none;
    background-color: inherit;
}

.hide {
    display: none!important;
}

.clickDesabilitado {
    pointer-events: none;
}

.inputFile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.time_date_Input {
    border: none;
    outline: none;
    background-color: inherit;
}

.selectInput {
    border: none;
    background-color: #f7f7f7;
    box-shadow: 0 2px 5px #00000033;
}

.seleccionable {
    cursor: pointer;
}

.objetoSeleccionableAnimado {
    transition: transform .2s;
    cursor: pointer;
}

.objetoSeleccionableAnimado:hover {
    transform: scale(1.025);
}

.imgEnLabel {
    height: 100%;
}

#BreadCrumb {
    position: fixed;
    z-index: 999;
    width: 100%;
}

.breadcrumb {
    background-color: white;
    padding-top: 1rem;
}

.breadcrumb-Inicial {
    font-family: 'Roboto';
    font-weight: bold;
    color: gray;
}

.breadcrumb-normal {
    color: gray;
}

.breadcrumb-actual {
    font-weight: bold;
    color: #E42722;
}

.breadcrumb-Inicial:hover, .breadcrumb-normal:hover {
    color: inherit;
}

.breadcrumb-actual:hover {
    color: #E42722;
}

.roboto_light {
    font-weight: lighter;
}

.roboto_regular {
    font-weight: normal;
}

.span-alerta-notificacion {
    background-color: var(--color-morado);
    box-shadow: 0 2px 2px rgba(0,0,0,0.3);
    position: absolute;
    top: -0.9rem;
    right: -0.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: white;
    padding: 3px 8px;
    border-radius: 11px;
    display: inline-block;
}

.img_alerta_notificacion {
    width: 1.7rem;
    height: 1.7rem;
    position: absolute;
    display: inline-block;
    top: -0.9rem;
    right: -0.5rem;
}

.bounce {
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-name: bounce;
    animation-timing-function: cubic-bezier(0.280, 0.840, 0.420, 1);
}

@keyframes bounce {
    0%   { transform: scale(1,1)      translateY(0); }
    10%  { transform: scale(1.1,.9)   translateY(0); }
    30%  { transform: scale(.9,1.1)   translateY(-10px); }
    50%  { transform: scale(1.05,.95) translateY(0); }
    57%  { transform: scale(1,1)      translateY(-2px); }
    64%  { transform: scale(1,1)      translateY(0); }
    100% { transform: scale(1,1)      translateY(0); }
}

/** Switch **/
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #A3C415;
}

input:focus + .slider {
    box-shadow: 0 0 1px #A3C415;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
/** /Switch **/

/** Seleccionar Colores **/

.color {
    width: 1rem;
    height: 1rem;
    border: none;
    cursor: pointer;
    transition: transform .2s;
    margin-right: 1rem;
}

.colorSeleccionado {
    transform: scale(1.5);
}

.colorRojo {
    background-color: #E42722;
}

.colorAzul {
    background-color: #076FB5;
}

.colorVerde {
    background-color: #A8BD06;
}

.colorAmarillo {
    background-color: #FFC400;
}

/** Seleccionar Colores **/

/* Puntuaciones */
.contenedor_puntuacion {
    direction: rtl;/* right to left */
    unicode-bidi: bidi-override;/* bidi de bidireccional */
}

.labelPuntuacion {
    color: gray;
    margin: 0;
    font-size: 1.5rem;
}

.labelPuntuacion :not(.desabilitada) {
    cursor: pointer;
}

.inputPuntuacion {
    display:none;
}

.corazon:hover :not(.desabilitada) {
    color: #E42722;
}

.corazon:hover ~ .corazon :not(.desabilitada) {
    color: #E42722;
}

.inputPuntuacion:checked ~ .corazon {
    color: #E42722;
}

.estrella:hover :not(.desabilitada) {
    color: #FFC400;
}

.estrella:hover ~ .estrella :not(.desabilitada) {
    color: #FFC400;
}

.inputPuntuacion:checked ~ .estrella {
    color: #FFC400;
}

.cursor-pointer {
    cursor: pointer;
}

/* Tooltip tutoriales */
.tooltip-container {
    position: relative;
}

.tooltip-tutorial {
    position: absolute;
    display: inline-block;
    cursor: pointer;
}

.tooltip-tutorial.arriba {
    top: var(--tutorial-px);
}

.tooltip-tutorial.abajo {
    bottom: var(--tutorial-px);
}

.tooltip-tutorial.izquierda {
    left: var(--tutorial-px);
}

.tooltip-tutorial.derecha {
    right: var(--tutorial-px);
}

.tooltip-tutorial img {
    width: 2rem;
    height: 2rem;
}

.tooltip-tutorial .tooltiptext {
    /*visibility: hidden;*/
    width: 300px;
    background-color: var(--color-morado);
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-tutorial .tooltiptext span {
    color: #fff;
    display: block;
}

.btn-tutorial {
    background-color: var(--color-gris-oscuro) !important;
    padding: 0.5rem;
}

.btn-tutorial:hover {
    box-shadow: none;
    background-color: var(--color-gris-oscuro);
}

.tooltip-tutorial .tooltiptext::after {
    content: "";
    position: absolute;
    border-width: 5px;
    border-style: solid;
    border-color: var(--color-morado) transparent transparent transparent;
}
.mostrar-tooltip .tooltiptext{
    justify-self: center;
}

.tooltip-tutorial:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.tooltip-tutorial .tooltiptext.arriba {
    bottom: 125%;
    left: 50%;
    margin-left: -150px;
}

.tooltip-tutorial .tooltiptext.arriba::after {
    top: 100%;
    left: 50%;
    margin-left: -5px;
}

.tooltip-tutorial .tooltiptext.izquierda {
    right: 125%;
    margin-left: -300px;
}

.tooltip-tutorial .tooltiptext.izquierda::after {
    left: 100%;
    bottom: 35%;
    transform: rotate(-90deg);
}

.tooltip-tutorial .tooltiptext.derecha {
    left: 125%;
    margin-right: -300px;
}

.tooltip-tutorial .tooltiptext.derecha::after {
    right: 100%;
    bottom: 35%;
    transform: rotate(90deg);
}

.tooltip-tutorial .tooltiptext.abajo {
    top: 125%;
    left: 50%;
    margin-left: -150px;
}

.tooltip-tutorial .tooltiptext.abajo::after {
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    transform: rotate(180deg);
}

@media only screen and (max-width: 992px) {
    #iconoMenu {
        display: block;
        cursor: pointer;
        margin: 1rem;
    }

    #imagenPerfilResponsive {
        display: block !important;
        cursor: pointer;
    }

    .contenedorLogoHeader img {
        margin: 0.875rem;
        text-align: center;
    }

    .navegacionHeader {
        display: none;
    }

    #sideBar {
        display: none;
    }

    #contentBox {
        margin-top: 5.5rem;
        padding: 0;
        margin-left: 0 !important;
    }

    #BreadCrumb {
        position: fixed;
        z-index: 999;
        width: 100%;
        margin-left: 0 !important;
    }

    .fondo_general {
        background-image: url(../images/fondoTriangulo.svg);
        background-position: right bottom;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: 50%;
    }
    .imgEnLabel {
        height: 90%;
    }
    .imgEnLabel + span {
        font-size: 15px;
    }
}

@media only screen and (max-width: 600px) {
    .imgEnLabel {
        height: 60%;
    }
    .imgEnLabel + span {
        font-size: 15px;
    }
    .modal-backdrop {
        width: 100%!important;
        height: 100%!important;
    }
    .modal-footer{
        z-index: 2;
    }
}
/* Estilos globales */
.gap-1{
    gap: 1rem!important;
}
.gap-2{
    gap: 2rem!important;
}
.gap-3{
    gap: 3rem!important;
}
.gap-4{
    gap: 4rem!important;
}
.gap-5{
    gap: 5rem!important;
}
.d-grid{
    display: grid!important;
}