﻿/**/

/*--------------------------------
OVERRIDES
--------------------------------*/

.alert {
    border-radius: 0 0.25rem 0.25rem 0;
    border: none;
    border-left: 3px solid;
    margin-top: 1.2rem;
}

.header-sin-borde {
    border-bottom: none !important;
    justify-content: flex-end;
}

/*--------------------------------
ELEMENTS
--------------------------------*/

.icono-alerta {
    position: absolute;
    top: 0px;
    left: 0px;
    transform: translate(calc(-50% - 1.5px), -50%);
    padding: 3px;
    background: #fff;
    border-radius: 50%;
    transition: background 350ms ease 0s;
}

.btn-cerrar-modal {
    background: #e4e6eb;
    border: none;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    color: #6f6f6f;
}

/*--------------------------------
BOTONES
--------------------------------*/

.btn + .btn {
    margin-left: 5px;
}

.btn-in {
    margin-top: 1.6rem;
}


.btn-icono {
    transition: all .2s;
    padding: 0;
}

.btn-icono__icono {
    display: inline-grid;
    width: 34px;
    height: 36px;
    align-content: center;
    border-radius: 0.25rem 0 0 0.25rem;
    position: absolute;
    border-right: 1px solid rgb(255 255 255 / 30%);
}

.btn-icono__texto {
    padding: .375rem .75rem;
    display: inline-grid;
    margin-left: 35px;
}

.btn-icono__texto--sin-icono {
    margin-left: 0 !important;
}

.btn-icono:hover .btn-icono__icono {
    font-size: .875rem;
}

.btn-sm > span.btn-icono__icono {
    height: 30px;
}

    .btn-sm > span.btn-icono__icono > .oi {
        top: 0px;
    }

.btn-sm > span.btn-icono__texto {
    padding: .25rem .5rem;
}

.btn-sm:hover .btn-icono__icono {
    font-size: .875rem;
}



.btn-xxs > span.btn-icono__icono {
    height: 24px;
    width: 25px;
    font-size: 12px;
    border-radius: 3px;
}

    .btn-xxs > span.btn-icono__icono > .oi {
        top: 0px;
    }

.btn-xxs > span.btn-icono__texto {
    padding: 0.18rem 0.3rem;
    font-size: .7rem;
    border-radius: 3px;
    margin-left: 27px;
}

.btn-xxs:hover .btn-icono__icono {
    font-size: 13px;
}

.btn-xxs--ajuste-header {
    margin: 0px !important;
    margin-left: 10px !important;
    margin-bottom: 5px !important;
}

.btn:hover {
    box-shadow: 0px 2px 6px rgb(0 0 0 / 30%);
}

.btn-link:hover {
    box-shadow: none;
}

.btn-cancelar {
    background: #eff0f2;
    border: 1px solid #cecece;
}

    .btn-cancelar:hover {
        box-shadow: 0px 2px 6px rgb(0 0 0 / 10%);
    }

    .btn-cancelar .btn-icono__icono {
        border-right: 1px solid #cecece;
        height: 36px;
        padding-bottom: 4px;
        color: #969696;
    }


.btn-primario, .btn-primario:active, .btn-primario:focus {
    color: #fff;
    border-color: var(--color-primario) !important;
    transition: all 0.2s;
    background: var(--color-primario) !important;
}

    .btn-primario:hover {
        color: #fff;
        border-color: var(--color-primario-l1) !important;
        background: var(--color-primario-l1) !important;
    }

    .btn-primario.disabled, .btn-primario:disabled,
    .btn-secundario.disabled, .btn-secundario:disabled
    .btn-terciario.disabled, .btn-terciario:disabled {
        opacity: .2;
    }

.btn-secundario, .btn-secundario:active, .btn-secundario:focus {
    background: var(--color-secundario);
    border-color: var(--color-secundario) !important;
    color: #fff;
}

    .btn-secundario:hover {
        background: var(--color-secundario-l1);
        box-shadow: 0px 2px 6px rgb(0 0 0 / 17%);
        border-color: var(--color-secundario-l1) !important;
        color: #fff;
    }


.btn-terciario, .btn-terciario:active, .btn-terciario:focus {
    background: var(--color-terciario);
    color: #fff;
    border: 1px solid var(--color-terciario);
}

    .btn-terciario:hover {
        background: var(--color-terciario-l1);
        border: 1px solid var(--color-terciario-l1);
        box-shadow: 0px 2px 6px rgb(0 0 0 / 10%);
        color: #fff;
    }

    .btn-terciario .btn-icono__icono {
        background: rgb(0 0 0 / 4%);
    }



.btn-accion, .btn-accion:active, .btn-accion:focus {
    color: #fff;
    border-color: hsl(81 54% 45%);
    background: hsl(81 54% 45%);
}

    .btn-accion:hover {
        color: #fff;
        border-color: hsl(81 54% 55%);
        background: hsl(81 54% 55%);
        box-shadow: 0px 2px 6px rgb(0 0 0 / 17%);
    }

.btn-alerta, .btn-alerta:active, .btn-alerta:focus {
    color: #fff;
    border-color: hsl(354deg 45% 50%);
    background: hsl(354deg 45% 50%);
}

    .btn-alerta:hover {
        color: #fff;
        border-color: hsl(354deg 45% 60%);
        background: hsl(354deg 45% 60%);
    }


/*--------------------------------
ICONOS MODAL EXITO Y ERROR
--------------------------------*/

.contenedor-modal-icon {
    width: 80px;
    height: 115px;
    margin: 0 auto;
    top: -15px;
}

    .contenedor-modal-icon .check-icon {
        width: 80px;
        height: 80px;
        position: relative;
        border-radius: 50%;
        box-sizing: content-box;
        border: 4px solid #4CAF50;
    }

        .contenedor-modal-icon .check-icon::before {
            top: 3px;
            left: -2px;
            width: 30px;
            transform-origin: 100% 50%;
            border-radius: 100px 0 0 100px;
        }

        .contenedor-modal-icon .check-icon::after {
            top: 0;
            left: 30px;
            width: 60px;
            transform-origin: 0 50%;
            border-radius: 0 100px 100px 0;
            animation: rotacion-circulo 4.25s ease-in;
        }

        .contenedor-modal-icon .check-icon::before, .contenedor-modal-icon .check-icon::after {
            content: "";
            height: 100px;
            position: absolute;
            background: #FFFFFF;
            transform: rotate(-45deg);
        }

        .contenedor-modal-icon .check-icon .icon-line {
            height: 5px;
            background-color: #4CAF50;
            display: block;
            border-radius: 2px;
            position: absolute;
            z-index: 10;
        }

            .contenedor-modal-icon .check-icon .icon-line.line-tip {
                top: 46px;
                left: 14px;
                width: 25px;
                transform: rotate(45deg);
                animation: icon-line-tip 0.75s;
            }

            .contenedor-modal-icon .check-icon .icon-line.line-long {
                top: 38px;
                right: 8px;
                width: 47px;
                transform: rotate(-45deg);
                animation: icon-line-long 0.75s;
            }

        .contenedor-modal-icon .check-icon .icon-circle {
            top: -4px;
            left: -4px;
            z-index: 10;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            position: absolute;
            box-sizing: content-box;
            border: 4px solid rgba(76, 175, 80, 0.5);
        }

        .contenedor-modal-icon .check-icon .icon-fix {
            top: 8px;
            width: 5px;
            left: 26px;
            z-index: 1;
            height: 85px;
            position: absolute;
            transform: rotate(-45deg);
            background-color: #FFFFFF;
        }

@keyframes rotacion-circulo {
    0% {
        transform: rotate(-45deg);
    }

    5% {
        transform: rotate(-45deg);
    }

    12% {
        transform: rotate(-405deg);
    }

    100% {
        transform: rotate(-405deg);
    }
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }

    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }

    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }

    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }

    100% {
        width: 25px;
        left: 14px;
        top: 45px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }

    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }

    84% {
        width: 55px;
        right: 0px;
        top: 35px;
    }

    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

.path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 0;
}

    .path.circle {
        -webkit-animation: dash 0.9s ease-in-out;
        animation: dash 0.9s ease-in-out;
    }

    .path.line {
        stroke-dashoffset: 1000;
        -webkit-animation: dash 0.9s 0.35s ease-in-out forwards;
        animation: dash 0.9s 0.35s ease-in-out forwards;
    }

@-webkit-keyframes dash {
    0% {
        stroke-dashoffset: 1000;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 1000;
    }

    100% {
        stroke-dashoffset: 0;
    }
}



/*--------------------------------
BOXCONTENT
--------------------------------*/

.caja-contenido {
    background: white;
/*    border-radius: 4px;*/
    border-radius: 1rem;
    box-shadow: 0px 4px 10px 2px rgb(0 0 0 / 5%);
    margin-bottom: 2rem;
    border-left: 7px solid var(--borde-box-color);
}

.caja-contenido__cuerpo {
    padding: 15px 20px;
}

.caja-contenido__cabeza {
    border-bottom: 1px solid #e4e4e4;
    padding: 10px 20px 8px 20px;
    color: #464646;
    font-weight: normal;
    font-size: 1.2rem;
}


.caja-contenido__pie {
    border-top: 1px solid #e4e4e4;
    padding: 10px 20px;
}

/*--------------------------------
TOOLTIP
--------------------------------*/

.ttp {
    position: relative;
    display: inline-block;
}

.ttp__text {
    visibility: hidden;
    opacity: 0;
    width: max-content;
    max-width: 300px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 8px;
    position: absolute;
    z-index: 9;
    transition: all .2s;
}

.ttp__text--arriba {
    bottom: 150%;
    left: 50%;
    margin-left: -50%;
}

.ttp__text--abajo {
    top: 150%;
    left: 50%;
    margin-left: -50%;
}

.ttp__text--derecha {
    top: -5px;
    left: 110%;
}

.ttp__text--izquierda {
    top: -5px;
    right: 110%;
}

.ttp__text::after {
    content: "";
    position: absolute;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
}

.ttp__text--arriba::after {
    top: 100%;
    left: 50%;
    border-color: black transparent transparent transparent;
}

.ttp__text--abajo::after {
    bottom: 100%;
    left: 50%;
    border-color: transparent transparent black transparent;
}

.ttp__text--derecha::after {
    top: 40%;
    right: 100%;
    border-color: transparent black transparent transparent;
}

.ttp__text--izquierda::after {
    top: 40%;
    left: 103%;
    border-color: transparent transparent transparent black;
}


.ttp:hover .ttp__text {
    opacity: 1;
    visibility: visible;
}

/*--------------------------------
AYUDA LABEL
--------------------------------*/

.ayuda-label {
    position: relative;
    display: inline-block;
}


.ayuda-label__icon {
    display: inline-block;
    background: hsl(232 100% 83% / 1);
    padding: 0px 4px;
    border-radius: 50%;
    color: #fff;
    font-weight: bolder;
    font-size: 10px;
    position: relative;
    top: -1px;
    left: 3px;
    cursor: default;
}

.ayuda-label__texto {
    visibility: hidden;
    opacity: 0;
    background-color: #f2f3ff;
    color: hsl(235deg 42% 62%);
    font-size: 12px;
    box-shadow: 1px 1px 0px rgb(0 0 0 / 25%);
    left: -300%;
    top: 20px;
    max-width: 235px;
    width: max-content;
    border-radius: 5px;
    padding: 5px 8px;
    position: absolute;
    z-index: 2;
    transition: all .2s;
}

.ayuda-label:hover .ayuda-label__texto {
    opacity: 1;
    visibility: visible;
}

/*--------------------------------
OBLIGATORIO
--------------------------------*/

.campo-obligatorio {
    color: red;
    font-size: 1.5rem;
    position: relative;
    top: 6px;
    line-height: 1rem;
}


/*--------------------------------
CARGANDO
--------------------------------*/

.c-cargando {
    background: hsl(0deg 0% 100% / 70%);
    transition: background-position .2s;
    z-index: 1051;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    top: 0;
    left: 0;
    position: fixed;
}


/*--------------------------------
CREADOR TEMAS
--------------------------------*/

.contenedor-estilo {
    border: 1px solid #cecece;
    padding: 15px;
    padding-bottom: 30px;
    border-radius: 5px;
    background: #f5f5f5;
}


/*SELECTORCOLOR*/
.contenedor-selector-color {
    border: 1px solid #cecece;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.selector--header {
    font-weight: bold;
    border-bottom: 1px solid #dddddd;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

    .selector--header button {
        border: none;
        outline: none;
        background: #eae9e9;
        color: #959595;
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
        border-radius: 50%;
    }

.selector--header--color {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-block;
    position: relative;
    top: 2px;
    margin-right: 8px;
}

.selector-color__contenedor-color {
    display: flex;
    position: relative;
}

.contenedor-color__input {
    margin-right: 1rem;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    height: 50px;
    width: 50px;
    cursor: pointer;
}

.contenedor-color__color {
    height: 50px;
    width: 50px;
    border: 2px solid #fff;
    outline: 1px solid #808080;
    margin-right: 1rem;
    cursor: pointer;
}

.range-luminosidad {
    background-image: linear-gradient(to right, #000 0%, transparent 100%), linear-gradient(to right, #fff 0%, transparent 100%);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: 1px #020202 solid;
    border-radius: 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    height: 10px;
}

.titulo-range {
    font-size: 0.7rem;
    margin-bottom: -5px;
}

.color-variacion {
    height: 35px;
    width: 35px;
    border-radius: 50%;
    border: 1px solid #cecece;
}

.selector-contenedor {
    display: flex;
    border: 1px solid #e1e1e1;
    gap: 20px;
    padding: 10px;
    background: #f2f3f5;
    border-radius: 3px;
}


.btn-mostrar-detalle {
    background: #6e737d;
    border: none;
    outline: none;
    font-size: 0.8rem;
    color: #fff;
    border-radius: 4px;
    margin-top: 1rem;
}

.selector-color-directo {
    border: 1px solid #c1c1c1;
    padding: 12px 10px 15px 10px;
    border-radius: 5px;
    margin-bottom: 1rem;
}

    .selector-color-directo .selector-color__nombre {
        font-weight: bold;
    }
.btn-creador-temas {
    border-radius: 50%;
    color: hsl(188deg 74% 22%);
    transition: all 0.2s;
    height: 42px;
    width: 42px;
    background: #fff;
    border: 2px solid hsl(188deg 74% 22%);
    position: fixed;
    bottom: 4rem;
    right: 2rem;
}
    .btn-creador-temas:hover {
        color: #fff;
        background: hsl(188deg 74% 22%);
        border: 2px solid #fff;
    }

/*BOTONERA*/

.botonera-creador-temas {
    position: fixed;
    background: #fff;
    z-index: 1;
    padding: 1rem 1.2rem;
    border: 1px solid hsl(188deg 74% 22%);
    bottom: 2rem;
    right: 2rem;
    border-radius: 3rem;
    box-shadow: -2px 3px 10px rgba(0,0,0,.3);
    height: 78px;
}
    .botonera-creador-temas button, .btn-botonera-temas {
        width: 2.8rem;
        height: 2.8rem;
        border-radius: 50%;
        padding: 0.5rem;
    }

.contenedor-input-descargar {
    display: inline-flex;
    position: relative;
    top: -15px;
    align-items: center;
}

    .contenedor-input-descargar div {
        display: flex;
        flex-direction: column;
        margin-left: 0.8rem;
        margin-top: -1rem;
        margin-right: 1rem;
        position: relative;
        top: 2px;
    }
    .contenedor-input-descargar div label{
        font-size: .7rem;
    }

.ttp--creador-temas {
    top: 8%;
    right: 115%;
}

    .ttp--creador-temas::after {
        left: 102%;
    }
