/*
    @author dpalacios@aduanet.net
    Hoja de estilos para nebby.js

*/ 
.nebby{
    width: 100vw;
    height: 100vh;
    pointer-events: none!important;
}
.nebby:has(.nebby-notifications-buttons) {
    pointer-events: auto !important;
    background: rgba(0,0,0,.4);
    backdrop-filter : blur(15px);
    transition: 4s;
}
/*Esta opcion hace que se pueda clickear fuera del modal o notificacion*/
.nebby-unlocked {
    pointer-events: none !important;
}
/*Esta opcion hace que NO se pueda clickear fuera del modal o notificacion hasta que haga una opcion*/
.nebby-locked {
    background: rgba(0,0,0,.4);
    pointer-events: auto !important;
}

.nebby-wrapper ,.nebby-wrapper-modal {
    /*border: darkblue 2px solid;*/
    width: auto;
    /*background: #FFFFFF;*/
    pointer-events: none !important;
}
.nebby-container {
    pointer-events: none   !important;
    display: grid;
    grid-template-columns: 0.7fr 1.6fr 0.7fr;
    /*grid-template-rows: 0.3fr 1fr 2.4fr 1fr 0.3fr;*/
    /*grid-template-rows: minmax(20px, 60px) minmax(20px, 100px) minmax(20px, auto) minmax(100px, 60px) minmax(20px, 60px);*/
    /*grid-template-rows: minmax(20px, 30px) minmax(20px, 30px) minmax(20px, auto) minmax(30px, 60px) minmax(20px, 100px);*/
    /*grid-template-rows: minmax(20px, 55px) minmax(20px, 75px) minmax(100px, auto) minmax(75px, 75px) minmax(20px, 60px);*/
    grid-template-rows: minmax(20px, 111px) minmax(20px, 220px) minmax(100px, auto) minmax(75px, 75px) minmax(20px, 130px);
    grid-auto-rows: 1fr;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-template-areas:
    "nebby-wrapper-top nebby-wrapper-top nebby-wrapper-top"
    "nebby-wrapper-topLeft nebby-wrapper-topCenter nebby-wrapper-topRight"
    "nebby-wrapper-midLeft nebby-wrapper-center nebby-wrapper-midRight"
    "nebby-wrapper-bottomLeft nebby-wrapper-bottomCenter nebby-wrapper-bottomRight"
    "nebby-wrapper-bottom nebby-wrapper-bottom nebby-wrapper-bottom";
    /*left: 6px;*/
    top: -2px;/*32*/
    position: fixed;
    /*width: 99%;
    height: 95%;*/
    /*width: 99vw;
    height: 98vh;*/
    z-index:999999999 ;
}




.nebby-wrapper-top {

    grid-area: nebby-wrapper-top;
    width: 100%;
}
.nebby-wrapper-topLeft {
    grid-area: nebby-wrapper-topLeft;
    width: 100%;
}
.nebby-wrapper-topCenter {
    grid-area: nebby-wrapper-topCenter;
    width: 100%;
}
.nebby-wrapper-topRight {
    grid-area: nebby-wrapper-topRight;
    width: 100%;
}
.nebby-wrapper-midLeft {
    grid-area: nebby-wrapper-midLeft;
    width: 100%;
}
.nebby-wrapper-center {
    grid-area: nebby-wrapper-center;
    width: 100%;
}
.nebby-wrapper-midRight {
    grid-area: nebby-wrapper-midRight;
    width: 100%;
}
.nebby-wrapper-bottomLeft {
    grid-area: nebby-wrapper-bottomLeft;
    width: 100%;
    align-self: self-end;
}
.nebby-wrapper-bottomCenter {
    grid-area: nebby-wrapper-bottomCenter;
    width: 100%;
    align-self: self-end;
}
.nebby-wrapper-bottomRight {
    grid-area: nebby-wrapper-bottomRight;
    width: 100%;
    align-self: self-end;
}
.nebby-wrapper-bottom {
    grid-area: nebby-wrapper-bottom;
    width: 100%;
    align-self: self-end;
}

/*Inicia Nebby-modal*/

.nebby-container-modal {
    pointer-events: none !important;
    display: grid;
    grid-template-columns: 0.7fr 1.6fr 0.7fr;
    /*grid-template-rows: 0.3fr 1fr 2.4fr 1fr 0.3fr;*/
    /*grid-template-rows: minmax(20px, 60px) minmax(20px, 100px) minmax(20px, auto) minmax(100px, 60px) minmax(20px, 60px);*/
    /*grid-template-rows: minmax(20px, 30px) minmax(20px, 30px) minmax(20px, auto) minmax(30px, 60px) minmax(20px, 100px);*/
    grid-template-rows: minmax(20px, 55px) minmax(20px, 75px) minmax(100px, auto) minmax(75px, 75px) minmax(20px, 60px);
    grid-auto-rows: 1fr;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-template-areas:
    "nebby-wrapper-top-modal nebby-wrapper-top-modal nebby-wrapper-top-modal-modal"
    "nebby-wrapper-topLeft-modal nebby-wrapper-topCenter-modal nebby-wrapper-topRight-modal"
    "nebby-wrapper-midLeft-modal nebby-wrapper-center-modal nebby-wrapper-midRight-modal"
    "nebby-wrapper-bottomLeft-modal nebby-wrapper-bottomCenter-modal nebby-wrapper-bottomRight-modal"
    "nebby-wrapper-bottom-modal nebby-wrapper-bottom-modal nebby-wrapper-bottom-modal";
    /*left: 6px;*/
    top: -2px;/*32*/
    position: absolute;
    /*width: 99%;
    height: 95%;*/
    /*width: 99vw;
    height: 98vh;*/
    z-index:999999999 ;
    backdrop-filter: none;
    animation-duration: 15s;
}
.nebby-container-modal:has(.nebby-notify-modal) {
    pointer-events: auto !important;
    background: rgba(0,0,0,.4);
    backdrop-filter : blur(15px);
    transition: 4s;
}
.nebby-wrapper-top-modal {

    grid-area: nebby-wrapper-top-modal;
    width: 100%;
}
.nebby-wrapper-topLeft-modal {
    grid-area: nebby-wrapper-topLeft-modal;
    width: 100%;
}
.nebby-wrapper-topCenter-modal {
    grid-area: nebby-wrapper-topCenter-modal;
    width: 100%;
}
.nebby-wrapper-topRight-modal {
    grid-area: nebby-wrapper-topRight-modal;
    width: 100%;
}
.nebby-wrapper-midLeft-modal {
    grid-area: nebby-wrapper-midLeft-modal;
    width: 100%;
}
.nebby-wrapper-center-modal {
    grid-area: nebby-wrapper-center-modal;
    width: 100%;
}
.nebby-wrapper-midRight-modal {
    grid-area: nebby-wrapper-midRight-modal;
    width: 100%;
}
.nebby-wrapper-bottomLeft-modal {
    grid-area: nebby-wrapper-bottomLeft-modal;
    width: 100%;
    align-self: self-end;
}
.nebby-wrapper-bottomCenter-modal {
    grid-area: nebby-wrapper-bottomCenter-modal;
    width: 100%;
    align-self: self-end;
}
.nebby-wrapper-bottomRight-modal {
    grid-area: nebby-wrapper-bottomRight-modal;
    width: 100%;
    align-self: self-end;
}
.nebby-wrapper-bottom-modal {
    grid-area: nebby-wrapper-bottom-modal;
    width: 100%;
    align-self: self-end;
}




.nebby-notify-top{
    min-height: 45px;
    border-radius: 3px;
    width: 98.5%;
    /*margin: 5px;*/
    text-align: center!important;
    text-indent: 10px;
    /*padding-top: 10px;*/
    /*font-size: large;*/
    font-family: Roboto;
    /* display: table;*/
    /*box-shadow: 3px 3px #d1d1d3;*/
    z-index: 2147483647 !important;
    position: relative;
    pointer-events: auto;
    /*padding: 1em 0em 0em;*/
}
.nebby-notify-topLeft{
    min-height: 40px;
    border-radius: 5px;
    width: auto;/*93%*/
    /*margin: 5px;*/
    text-align: left;

    font-family: Roboto;
    /*box-shadow: 3px 3px #d1d1d3;*/
    z-index: 2147483647 !important;
    position: relative;
    pointer-events: auto;
    /*padding: 0.3em 0em 0em;*/
}

.nebby-notify-bottomLeft{
    min-height: 10px;
    border-radius: 3px;
    width: 98%;
    margin: 5px;
    text-align: left;
    text-indent: 10px;
    font-size: large;
    font-family: Roboto;
    /*box-shadow: 3px 3px #d1d1d3;*/
    z-index: 2147483647 !important;
    position: relative;
    pointer-events: auto;
}

.nebby-notify-center{
    min-height: 40px;
    border-radius: 5px;
    width: auto;
    /* margin: 5px;*/
    text-align: left;
    font-family: Roboto;
    /*box-shadow: 3px 3px #d1d1d3;*/
    z-index: 2147483647 !important;
    position: relative;
    pointer-events: auto;
    /*padding: 0.3em 0em 0em;*/
}

.nebby-notify-bottom{
    min-height: 45px;
    border-radius: 3px;
    width: 98.5%;
    /*margin: 5px;*/
    text-align: center!important;
    text-indent: 10px;
    /*font-size: large;*/
    font-family: Roboto;
    /*box-shadow: 3px 3px #d1d1d3;*/
    z-index: 2147483647 !important;
    position: relative;
    pointer-events: auto;
    /*padding: 1em 0em 0em;*/
}




.nebby-notify-modal{
    min-height: 10px;
    height: auto;/*600*/
    border-radius: 3px;
    width: 97%;
    margin: 5px;
    text-align: center!important;
    text-indent: 10px!important;
    font-size: large!important;
    font-family: Roboto!important;
    /*box-shadow: 3px 3px #d1d1d3;*//*#d1d1d3*/
    z-index: 2147483647 !important;
    position: relative;
    pointer-events: auto;

    background: #fcfcfc;/*#effbfb*/
    color: #545454;
    font-family: inherit;
    font-size: 1rem;
}

.nebby-not-top-title
{
    height: auto;
    text-align: center;
    /*text-indent: 10px;*/
    font-size: medium;
    font-family: Raleway;
    font-weight: 600;
    /*  display: inline-block;*/
}

.nebby-not-top-message
{
    height: auto;
    text-align: center;
    /*text-indent: 10px;*/
    font-size: small;
    font-family: Raleway;
    padding: 5px;
    /*display: inline-block;*/
}

.nebby-not-title
{
    display: flex;
    height: auto;
    text-align: left;
    /*text-indent: 10px;*/
    font-size: large;
    font-family: Raleway;
    font-weight: 600;
    /*padding: 8px;*/
    /*margin: 0em auto 0.5em;*/
    /* justify-content: center;*/
    min-height: 1.2em;
    letter-spacing: 2px;
    border-radius: 5px 5px 0 0;
}

.nebby-con-title {
    height: auto;
    text-align: left;
    /* text-indent: 10px; */
    font-size: smaller;
    font-family: Raleway;
    font-weight: 600;
    padding: 8px;
    /* margin: 0em auto 0.5em; */
    /* justify-content: center; */
    min-height: 1.2em;
    letter-spacing: 2px;
    /* display: table-footer-group; */
    /* width: fit-content;*/
}

.nebby-not-message
{
    height: auto;
    text-align: left;
    /*text-indent: 10px;*/
    font-size: medium;
    font-family: Roboto, HelveticaNeue, sans-serif;
    padding: 8px;
    /*padding: 0em 1em 1em;*/

    justify-content: center;
    margin: 5px;
}

.nebby-notify-top .nebby-not-message
{
    height: auto;
    text-align: center;
    /*text-indent: 10px;*/
    font-size: medium;
    font-family: Roboto, HelveticaNeue, sans-serif;
    padding: 8px;
    /*padding: 0em 1em 1em;*/

    justify-content: center;
    margin: 5px;
}

.nebby-notify-bottom .nebby-not-message
{
    height: auto;
    text-align: center;
    /*text-indent: 10px;*/
    font-size: medium;
    font-family: Roboto, HelveticaNeue, sans-serif;
    padding: 8px;
    /*padding: 0em 1em 1em;*/

    justify-content: center;
    margin: 5px;
}

.nebby-close-not{

}

.nebby-default
{
    background: #BDBDBD;
    color: black;
}

.nebby-default .nebby-not-title
{
    background: #848484;/*#de0707;*/
    color: white;
}

.nebby-default .nebby-not-message
{
    background:#BDBDBD;/*#de0707;*/
    color: black;
}

.nebby-dark
{
    background: #333333;
    color: #ffffff;
}

.nebby-dark .nebby-not-title
{
    background: #000000;/*#de0707;*/
    color: white;
}

.nebby-dark .nebby-not-message
{
    background:#333333;/*#de0707;*/
    color: white;
}

.nebby-info
{
    background: #42a5f5; /*#009ffc*/
    color: white;
}

.nebby-info .nebby-not-title
{
    background: #2e73ab;/*#de0707;*/
    color: white;
}

.nebby-info .nebby-not-message
{
    background:#42a5f5;/*#de0707;*/
    color: black;
}

.nebby-success
{
    background: #66bb6a;
    color: black;
}

.nebby-success .nebby-not-title
{
    background: #47824a;/*#de0707;*/
    color: white;
}

.nebby-success .nebby-not-message
{
    background:#66bb6a;/*#de0707;*/
    color: black;
}

.nebby-error
{
    background: #ef5350;/*#de0707;*/
    color: black;
}

.nebby-error .nebby-not-title
{
    background: #a73a38;/*#de0707;*/
    color: white;
}

.nebby-error .nebby-not-message
{
    background:#ef5350;/*#de0707;*/
    color: black;
}


.nebby-warning
{
    background: #ffa726; /*#ffa602*/
    color: white;
}

.nebby-warning .nebby-not-title
{
    background: #b2741a;/*#de0707;*/
    color: white;
}

.nebby-warning .nebby-not-message
{
    background:#ffa726;/*#de0707;*/
    color: black;
}

.nebby-confirm
{
    background: #ab47bc;
    color: white;
}

.nebby-confirm .nebby-not-title
{
    background: #773183;/*#de0707;*/
    color: white;
}

.nebby-confirm .nebby-not-message
{
    background:#ab47bc;/*#de0707;*/
    color: white;
}

.nebby-finantial
{
    background: #78909C;
    color: white;
}

.nebby-finantial .nebby-not-title
{
    background: #54646d;/*#de0707;*/
    color: white;
}

.nebby-finantial .nebby-not-message
{
    background:#78909C;/*#de0707;*/
    color: white;
}

.nebby-external
{
    background: #8D6E63;
    color: white;
}

.nebby-external .nebby-not-title
{
    background: #624d45;/*#de0707;*/
    color: white;
}

.nebby-external .nebby-not-message
{
    background:#8D6E63;/*#de0707;*/
    color: white;
}

.nebby-critical
{
    background: #FF7043;
    color: white;
}

.nebby-critical .nebby-not-title
{
    background: #b24e2e;/*#de0707;*/
    color: white;
}

.nebby-critical .nebby-not-message
{
    background:#FF7043;/*#de0707;*/
    color: white;
}

@keyframes nebby-revealIn {
    0% {
        transform: scale3d(0.3, 0.3, 1);
    }
    100% {
    }
}

@keyframes nebby-fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.nebby.revealIn,
.nebby .revealIn {
    -webkit-animation: nebby-revealIn 1s cubic-bezier(0.25, 1.6, 0.25, 1) both;
    -moz-animation: nebby-revealIn 1s cubic-bezier(0.25, 1.6, 0.25, 1) both;
    animation: nebby-revealIn 1s cubic-bezier(0.25, 1.6, 0.25, 1) both;
}

.nebby.fadeOut {
    -webkit-animation: nebby-fadeOut 0.7s ease both;
    animation: nebby-fadeOut 0.7s ease both;
}
/*.nebby_close {
    float: right;
    display: inline-block;
    padding: 2px 16px;
    font-size: smaller;
    color: #00ff15;
}
.nebby_close:hover {
    float: right;
    display: inline-block;
    padding: 2px 16px;
    font-size: medium;
    color: #1c6dd0;

}*/


.nebby_close {
    z-index: 2;
    align-items: center;
    justify-content: center;
    width: 1.2em;
    height: 1.2em;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: -1.2em;
    padding: 0;
    overflow: hidden;
    transition: color 0.1s, box-shadow 0.1s;
    border: none;
    border-radius: 5px;
    background: transparent;
    color: #ccc;
    font-family: serif;
    font-family: monospace;
    font-size: 2.5em;
    cursor: pointer;
    justify-self: end;
    display: inline-block;
    float: right;
}
.nebby_close:hover {
    transform: none;
    background: transparent;
    color: #f27474;
}
.nebby_close:focus {
    outline: none;
    box-shadow: inset 0 0 0 3px rgba(100, 150, 200, 0.5);
}
.nebby_close::-moz-focus-inner {
    border: 0;
}





/*Notifications Container*/

.nebby-notification-container-min {
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-rows: 1fr;
    /*grid-template-rows: 0.5fr 5fr 0.5fr 2fr 0.8fr 0.5fr;*/
    /*grid-template-rows: 0.5fr 2.8fr 0.3fr 0.2fr;*/
    /*grid-template-rows: minmax(20px, 60px) minmax(20px, auto) minmax(20px, 60px) minmax(20px, 60px);*/
    /*grid-template-rows: minmax(20px, 44px) minmax(min-content, max-content) minmax(20px, 51px) minmax(20px, 60px);*/
    grid-template-rows: minmax(20px, 44px) minmax(450px, 450px) minmax(20px, 51px) minmax(20px, 35px);
    grid-template-areas:
    "nebby-notification-title"
    "nebby-notification-message"
    "nebby-notification-actions"
    "nebby-notification-about";
    gap: 0px 0px;
    width: 100%;
    height: 100%;
}

.nebby-notification-container {
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-rows: 1fr;
    /*grid-template-rows: 0.5fr 5fr 0.5fr 2fr 0.8fr 0.5fr;*/
    /*grid-template-rows: 0.5fr 2.8fr 0.3fr 0.2fr;*/
    /*grid-template-rows: minmax(20px, 60px) minmax(20px, auto) minmax(20px, 60px) minmax(20px, 60px);*/
    /*grid-template-rows: minmax(20px, 44px) minmax(min-content, max-content) minmax(20px, 51px) minmax(20px, 60px);*/
    grid-template-rows: minmax(20px, 44px) minmax(min-content, max-content) minmax(20px, auto) minmax(20px, 35px);
    grid-template-areas:
    "nebby-notification-title"
    "nebby-notification-message"
    "nebby-notification-actions"
    "nebby-notification-about";
    gap: 0px 0px;
    width: 100%;
    height: 100%;
}
.nebby-notification , .nebby-notification div {

    width: auto;

    /*text-align: center!important;*/
    text-indent: 0px!important;/**/
    font-size: large!important;
    font-family: Roboto!important;
    z-index: 2147483647 !important;
    position: relative;
    pointer-events: auto;
    word-wrap: break-word;


}

.nebby-notification-title {
    grid-area: nebby-notification-title;

    font-weight: 600;
    /*padding: 10px;
    top: 5px;
    padding-bottom: 10px;*/
    margin: 1em 1.6em 0.3em;
}
.nebby-notification-message { grid-area: nebby-notification-message;     overflow-x: auto; margin: 1em 1.6em 1em;     display: inline-grid;
    /*text-align: justify;*/ justify-content: center; justify-items: center;}
.nebby-notification-actions { grid-area: nebby-notification-actions; border-top: 1px solid #b9b9b9;     padding: 10px; }
.nebby-notification-about { grid-area: nebby-notification-about;     border-top: 1px solid #b9b9b9;      text-align: center!important;}


.nebby-notification-message::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.nebby-notification-message::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

.nebby-notification-message::-webkit-scrollbar-thumb:vertical  {
    background-color: rgba(112, 128, 144, 0.78) !important;
    border-radius: 10px !important;
    outline: 1px solid rgba(112, 128, 144, 0.78) !important;
}

/*buttons*/
.nebby-buttons{
    margin: 0em 2em 0em;
}
.nebby-notifications-buttons{
    margin: 0em 5em 0em;
    height: 30px;
}

.nebby-button-ok{
    cursor: pointer;
    border: 0;
    border-radius: 0.25em;
    background: initial;
    background-color: #44b93f;
    color: #fff;
    font-size: 1em;
    padding: 4px;
    min-width: 100px;
    margin-right: 50px;
}

.nebby-button-cancel{
    cursor: pointer;
    border: 0;
    border-radius: 0.25em;
    background: initial;
    background-color: #6e7881;
    color: #fff;
    font-size: 1em;
    padding: 4px;
    min-width: 100px;
    margin-right: 50px;
}


.nebby-button-confirm{
    cursor: pointer;
    border: 0;
    border-radius: 0.25em;
    background: initial;
    background-color: #7066e0;
    color: #fff;
    font-size: 1em;
    padding: 4px;
    min-width: 100px;
    margin-right: 50px;
}
.nebby-separame{
    margin-right: 10px;
}