/* 
* ESTILOS EN LA GRILLA MODAL 
* ========================== 
*/

.skin-alerta.informacion {
    background-color: #a9a9a9;
}

.skin-alerta.correcto {
    background-color: #67b960;
}

.skin-alerta.aviso {
    background-color: #bec44f;
}

.skin-alerta.evento_11,
.skin-alerta.evento_12,
.skin-alerta.evento_13 {
    background-color: #699ddd;
}

.skin-alerta.evento_3 {
    background-color: #c25757;
}

/* 
* /ESTILOS EN LA GRILLA MODAL 
* =========================== 
*/

div[name="btn-alertas-modal"] {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    position: fixed;
    bottom: 24px;
    right: 16px;
    z-index: 3;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

/* colores del boton que abre el modal de alertas: cuando hay alertas */

div[name="btn-alertas-modal"].alertas_si {
    background-color: #fb8d8d61;
    border: 2px solid #ff363661;
}

/* colores del boton que abre el modal de alertas: cuando no hay alertas */

div[name="btn-alertas-modal"].alertas_no {
    background-color: #8999a761;
    border: 2px solid #2d3e7754;
}

div[name="btn-alertas-modal"]:hover {
    animation: animacion_scalar 250ms cubic-bezier(0.32, -0.33, 0.43, 1.43);
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    -o-animation-fill-mode: forwards;
    -ms-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

@keyframes animacion_scalar {
    0% {
        transform: scale(1.0);
    }
    100% {
        transform: scale(1.3);
        -webkit-box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.33);
        -moz-box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.33);
        box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.33);
    }
}

div[name="btn-alertas-modal"].activar {
    animation: animacion_activar 300ms cubic-bezier(0.39, 0.03, 0.94, 0.18) forwards;
}

@keyframes animacion_activar {
    100% {
        bottom: 0;
        right: 0;
        width: 800px;
        height: 240px;
        border-radius: 0;
        border: transparent;
        background-color: white;
        opacity: 0.5;
    }
}

div[name="btn-alertas-modal"]>i {
    width: 48px;
    height: 48px;
    display: flex;
    font-size: 48px;
    color: #13131387;
    opacity: 0.7;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

div[name="alertas-modal"] {
    width: 840px;
    height: 240px;
    position: fixed;
    bottom: 0;
    right: 0;
    background-color: var(--color-fondo1);
    display: none;
    z-index: 3;
    flex-direction: column;
}

div[name="alertas-modal"] .header {
    width: 100%;
    height: 40px;
    background-color: var(--color-primario);
    color: var(--color-texto1);
    display: flex;
    flex: 0 0 auto;
    align-items: center;
}

div[name="alertas-modal"] .header .titulo {
    height: 100%;
    width: 200px;
    align-items: center;
    justify-content: center;
    display: flex;
    text-shadow: 1px 1px 1px #636363;
    user-select: none;
}

div[name="alertas-modal"] .header .alertas-configuracion {
    display: flex;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 8px;
    background-color: rgba(0, 0, 0, 0.12);
    opacity: 0;
}

div[name="alertas-modal"] .header .alertas-configuracion>div {
    display: flex;
    align-items: center;
}

div[name="alertas-modal"] .header .close {
    position: absolute;
    right: 2px;
    display: flex;
}

div[name="alertas-modal"] .body {
    padding-top: 4px;
}

div[name="alertas-modal"] div[name="alertas-listado"] {
    height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.skin-alerta {
    min-height: 36px;
    align-items: center;
    margin-left: 2px;
    margin-right: 2px;
    padding-top: 2px;
    font-size: 12px;
    margin-bottom: 2px;
}

.skin-alerta>div {
    padding: 0px 4px;
}

.skin-alerta div[name="icono-container"] {
    width: 40px;
}

.skin-alerta div[name="icono-container"]>.icono-parent {
    border-radius: 50%;
    background-color: #0000003b;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.skin-alerta div[name="icono-container"]>.icono-parent>i[name="icono"] {
    user-select: none;
}

.skin-alerta div[name="movil"] {
    width: 160px;
    text-align: center;
}

.skin-alerta div[name="fuente"] {
    width: 160px;
    text-align: center;
}

.skin-alerta div[name="fecha_creada"] {
    width: 140px;
}

.skin-alerta div[name="descripcion"] {
    width: 240px;
}

.skin-alerta div[name="botonera"] {
    width: fit-content;
    width: -moz-fit-content;
    justify-content: space-around;
    align-items: center;
}

.skin-alerta div[name="leida"] {
    height: 36px;
}

div[name="alertas-modal"] .sonido-parent.desactivado {
    opacity: 0.4;
    pointer-events: none;
}

/*
* MENSAJES DE ALERTA NOTIFY CUSTOM
* ================================
*/

.notifyjs-wrapper {
    margin-right: 3px !important;
    margin-bottom: 10px !important;
    opacity: 0.2;
    animation: opacity 750ms forwards;
}

@keyframes opacity {
    100% {
        opacity: 1;
    }
}

.notifyjs-container {
    -moz-box-shadow: 0px 0px 7px 1px #020202ba;
    -webkit-box-shadow: 0px 0px 7px 1px #020202ba;
    box-shadow: 0px 0px 7px 1px #020202ba;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    width: fit-content;
}

.notifyjs-skinAlertas-base {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    display: flex;
    flex-direction: column;
    width: 300px;
    height: 100px;
    padding: 5px;
    box-sizing: border-box;
}

.notifyjs-skinAlertas-base>.titulo {
    display: flex;
    flex: 0 0 30px;
    margin-bottom: 4px;
}

.notifyjs-skinAlertas-base>.titulo>.icono-container {
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
}

.notifyjs-skinAlertas-base>.titulo>.icono-container>.icono-parent {
    border-radius: 50%;
    background-color: #0000003b;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.notifyjs-skinAlertas-base>.titulo>.texto {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    font-size: 19px;
    font-weight: 200;
    font-family: sans-serif;
    padding-left: 14px;
    color: #f7f7f7;
    text-shadow: 1px 1px 1px #353535;
}

.notifyjs-skinAlertas-base>.mensaje {
    display: flex;
    flex: 1 1 auto;
    background-color: #0000003b;
    -moz-box-shadow: inset 0 0 10px #0000003b;
    -webkit-box-shadow: inset 0 0 10px #0000003b;
    box-shadow: inset 0 0 10px #0000003b;
    padding: 5px 5px;
    color: white;
    font-size: 14px;
    font-family: monospace;
    text-shadow: 1px 1px 1px #000000ad;
}

/*
* /MENSAJES DE ALERTA NOTIFY CUSTOM
* =================================
*/