/* Minification failed. Returning unminified contents.
(22,17): run-time error CSS1039: Token not allowed after unary operator: '-nb-texto-tenue'
(188,25): run-time error CSS1039: Token not allowed after unary operator: '-nb-radio-chico'
(234,37): run-time error CSS1046: Expect comma, found '38'
(234,44): run-time error CSS1046: Expect comma, found '/'
(253,37): run-time error CSS1046: Expect comma, found '38'
(253,44): run-time error CSS1046: Expect comma, found '/'
(311,37): run-time error CSS1046: Expect comma, found '29'
(311,43): run-time error CSS1046: Expect comma, found '/'
(392,37): run-time error CSS1046: Expect comma, found '38'
(392,44): run-time error CSS1046: Expect comma, found '/'
(529,25): run-time error CSS1039: Token not allowed after unary operator: '-nb-radio'
(530,39): run-time error CSS1039: Token not allowed after unary operator: '-nb-transicion'
(563,28): run-time error CSS1039: Token not allowed after unary operator: '-nb-acento-suave'
(566,17): run-time error CSS1039: Token not allowed after unary operator: '-nb-texto'
(567,25): run-time error CSS1039: Token not allowed after unary operator: '-nb-radio-chico'
(571,28): run-time error CSS1039: Token not allowed after unary operator: '-nb-fondo-hover'
(574,57): run-time error CSS1030: Expected identifier, found '>'
(574,81): run-time error CSS1031: Expected selector, found ')'
(574,81): run-time error CSS1025: Expected comma or open brace, found ')'
(578,57): run-time error CSS1030: Expected identifier, found '>'
(578,81): run-time error CSS1031: Expected selector, found ')'
(578,81): run-time error CSS1025: Expected comma or open brace, found ')'
(595,17): run-time error CSS1039: Token not allowed after unary operator: '-nb-menu-opcion'
(599,17): run-time error CSS1039: Token not allowed after unary operator: '-nb-acento'
(602,17): run-time error CSS1039: Token not allowed after unary operator: '-nb-menu-opcion'
(606,17): run-time error CSS1039: Token not allowed after unary operator: '-nb-menu-grupo'
(609,36): run-time error CSS1039: Token not allowed after unary operator: '-nb-borde'
(1051,37): run-time error CSS1046: Expect comma, found '38'
(1051,44): run-time error CSS1046: Expect comma, found '/'
(1156,25): run-time error CSS1046: Expect comma, found '255'
(1156,33): run-time error CSS1046: Expect comma, found '/'
(1157,37): run-time error CSS1046: Expect comma, found '38'
(1157,44): run-time error CSS1046: Expect comma, found '/'
(1169,37): run-time error CSS1046: Expect comma, found '38'
(1169,44): run-time error CSS1046: Expect comma, found '/'
(1288,41): run-time error CSS1046: Expect comma, found '38'
(1288,47): run-time error CSS1046: Expect comma, found '/'
 */

body {
    background: #fafafa;
    color: black;
    background-size: cover;
    height: calc(100vh - 3px);
    display: flex;
    flex-direction: column;
    background-image: url('/Content/Images/Fondos/Fondo.svg');
    background-position: bottom;
    background-attachment: fixed;
}

/*  El #999 que estaba aca daba 2.85:1 sobre blanco: no pasa AA y afectaba a TODO parrafo del
    sistema, porque es un selector de elemento con color propio y la herencia nunca le llega.
    El token da 6.39:1 en claro y 4.94:1 en oscuro, medido. Y ademas sigue al tema, que el
    #999 fijo no hacia: en Modo Oscuro un parrafo gris sobre fondo marron era 1.4:1.  */
p {
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: var(--nb-texto-tenue);
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 0px 0px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    min-height: 46px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    HEADER STYLE
----------------------------------------------------- */

.leftheader {
    flex: 0 0 auto;
}

/*  Columna del medio del grid de #normalheader. El 1fr/auto/1fr centra el buscador en la
    ventana; aca solo se limita el ancho del campo.  */
.middleheader {
    min-width: 240px;
    justify-self: center;
}

/*  ORDEN DE PRIORIDADES cuando la barra aprieta, de lo primero que cede a lo ultimo:

      1. el nombre de la empresa   flex-shrink 100, y tiene el nombre completo en el title
      2. el buscador              piso de 240px (160 abajo de 1400)
      3. el cartel de ambiente    no cede hasta 900px; despues ellipsis (el title tiene el texto)

    Las dos columnas laterales del grid miden igual (1fr), asi el buscador queda en el eje de
    la ventana y no corrido hacia el logo. overflow:hidden recorta empresa/ambiente con
    puntos suspensivos cuando ya no entran.  */
.headerlado {
    min-width: 0;
    /*  Con justify-self start/end la caja mide lo que mide su contenido y se sale de su columna:
        el overflow recortaba tarde y el nombre quedaba debajo del buscador sin puntos suspensivos.
        El tope es el ancho de la columna del grid.  */
    max-width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.headerlado:first-child {
    justify-self: start;
}

.headerlado:last-child {
    justify-self: end;
    justify-content: flex-end;
}

/*  min-width: 0 es lo que habilita el ellipsis — sin eso un flex item no baja del ancho de su
    contenido y un nombre de empresa largo empuja el buscador afuera de la pantalla.  */
.headerempresa,
.headerambiente {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #fff;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.headerempresa {
    padding-left: 6px;
    font-size: 1.1em;
    font-weight: 600;
}

/*  flex: 0 0 auto — mide el texto y no cede. Ver el orden de prioridades en .headerlado.  */
.headerambiente {
    flex: 0 0 auto;
    padding: 0 10px;
    text-align: center;
    font-size: 1.6em;
    color: rgba(255, 255, 255, 0.8);
}


/*  Ancho automatico y no encoger: con 145px fijos los botones de 45px se apretaban unos contra
    otros a medida que se agregaban (hoy son seis). El aire entre iconos es el margin-left.  */
.rightheader {
    flex: 0 0 auto;
    width: auto;
    display: flex;
    flex-direction: row-reverse;
}

.rightheader .flatbutton {
    flex: 0 0 auto;
    margin-left: 3px;
}

/*  Wiki / Mesa / Impresión tienen <a> dentro del .flatbutton; sin esto solo el glifo es
    clickeable. Config y Notificaciones no llevan <a>: el click va al div entero.  */
.rightheader .flatbutton > a,
.mobilerightheader .flatbutton > a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 45px;
    color: inherit;
    text-decoration: none;
}

/*  Sin sesion la barra no tiene ni empresa ni buscador que empujen: el margin-left auto es lo que
    lo manda a la derecha ahora que el contenedor es flex y el float no hace nada.  */
.sesionrightheader {
    flex: 0 0 200px;
    margin-left: auto;
}

.mobileleftheader {
    flex: 0 0 40px;
}

/*  Ancho automatico: con 280px fijos alcanzaba para seis botones y ahora son ocho, con lo cual el
    ultimo caia a una segunda linea.

    row-reverse porque los botones estan escritos en orden inverso en el markup (venian de
    float: right, que dentro de un contenedor flex no hace nada). Sin esto la tira de iconos del
    header mobile aparece dada vuelta.  */
.mobilerightheader {
    flex: 0 0 auto;
    width: auto;
    display: flex;
    flex-direction: row-reverse;
}

/*  En telefono el cartel va dentro de la barra, entre el menu y los botones, y toma solo el hueco
    que dejan los iconos (flex 0 1 auto + min-width 0): si la leyenda no entra se corta con puntos
    suspensivos y el texto completo queda en el title. Fondo oscuro translucido en vez de un color
    propio, para que se lea sobre cualquier tema de la barra sin competir con los iconos.  */
#mobileheader .headerambiente {
    flex: 0 1 auto;
    min-width: 0;
    margin: 0 4px;
    padding: 1px 8px;
    border-radius: var(--nb-radio-chico, 4px);
    background-color: rgba(0, 0, 0, 0.28);
    color: #fff;
    font-size: 0.8em;
    font-weight: 600;
    line-height: 1.4;
}

#mobileheader .mobilerightheader {
    margin-left: auto;
}

.mobilerightheader .flatbutton {
    margin-left: 3px;
}

/*  En telefono son nueve cajas contando el menu: a 45px cada una la barra se partia en dos filas
    (45px -> 135px de alto). Se angosta la caja, no el icono: el glifo mide ~20px y sigue entero.  */
@media only screen and (max-width: 480px) {
    #mobileheader .flatbutton {
        width: 36px;
        margin-left: 0;
    }
}

.headernotifydropdown {
    display: none;
    position: fixed;
    right: 0px;
    top: 46px;
    border-style: groove;
    width: 320px;
    z-index: 1000;
    background-color: #faf9f8;
}

.headerconfigdropdown {
    display: none;
    position: fixed;
    right: 0px;
    top: 46px;
    border-style: groove;
    width: 360px;
    height: 545px;
    z-index: 1000;
    background-color: #faf9f8;
    box-shadow: 0 8px 32px 0 rgb(31 38 135 / 37%);
    border: none;
}

.headerconfigdropdown h3 {
    margin-top: 5px !important;
    margin-bottom: 0!important;
    font-size: 1.5em;
}

.headersesiondropdown {
    display: none;
    position: fixed;
    right: 0px;
    top: 46px;
    border-style: groove;
    width: 400px;
    z-index: 1000;
    background-color: #faf9f8;
    box-shadow: 0 8px 32px 0 rgb(31 38 135 / 37%);
    border: none;
}

.userinfo {
    margin-top: 15px;
    border-bottom: 1px solid lightgray;
    padding-bottom: 15px;
    width: 370px;
}

.userinfo a:hover {
    color: #0078d4 !important;
}

.userfooter {
    margin-top: 15px;
    padding-bottom: 15px;
    width: 370px;
}

.userfooter span {
    text-indent: -9999px;
    display: block;
    background-image: url(/Content/Images/Logo.png);
    background-size: cover;
    width: 130px;
    height: 30px;
}

@media only screen and (max-width: 768px) {

    .headersesiondropdown {
        width: 320px;
    }

    .userinfo {
        width: 290px;
    }

    .userfooter {
        width: 290px;
    }
}

.headermobiletoolbardropdown {
    display: none;
    position: fixed;
    right: 0px;
    top: 46px;
    border-style: groove;
    width: 320px;
    max-height: 590px;
    overflow: auto;
    z-index: 1000;
    background-color: #faf9f8;
    width: 100%;
    border: none;
    box-shadow: 0 8px 32px 0 rgb(29 29 29 / 37%);
    backdrop-filter: blur( 20px );
}

.headermobiletoolbardropdown > div {
    display: flex;
    justify-content: space-between;
}

.divheadersearch {
    display: inline-block;
    width: 400px;
    max-width: 100%;
}

/*  Abajo de 1400px el buscador de 400px, los 150 del logo y la tira de botones se comen todo y al
    cartel de ambiente le quedan 20px. Nada lo obliga a encogerse solo —los lados crecen, no hay
    overflow que dispare el shrink— asi que el ancho baja a mano, y el cartel a un cuerpo que sigue
    siendo legible de lejos, que es para lo que esta.

    Va DESPUES de la regla de arriba a proposito: misma especificidad, gana la ultima.  */
@media only screen and (max-width: 1400px) {
    .divheadersearch {
        width: 280px;
    }

    .headerambiente {
        font-size: 1.2em;
    }

    /*  Segundo en ceder, despues del nombre de la empresa y solo si hace falta.  */
    .middleheader {
        min-width: 160px;
    }
}

/*  Con menos de 1100px las dos columnas iguales (1fr) le dejan al lado derecho menos de lo que miden
    los botones y el cartel de ambiente se quedaba en 0px. El buscador pasa a ir pegado a la derecha
    del nombre: el lado derecho toma lo que mide (botones + cartel) y el nombre de la empresa, que
    corta con puntos suspensivos, se lleva lo que sobra.  */
@media only screen and (max-width: 1100px) {
    body #normalheader {
        grid-template-columns: minmax(0, 1fr) auto auto;
    }

    body #normalheader > .headerlado:last-child {
        justify-self: stretch;
    }

    .divheadersearch {
        width: 220px;
    }
}

/*  Ultimo recurso. Con una leyenda larga ("QA CLIENTE X - COPIA DEL 12/08" mide 302px) no hay orden
    de prioridades que la haga entrar en 800px junto al logo, el buscador y seis botones: cuando ya
    cedieron la empresa y el buscador, cede el cartel y se corta. El texto completo queda en el
    title, y la barra no desborda.  */
@media only screen and (max-width: 900px) {
    .headerambiente {
        flex: 0 1 auto;
    }
}

.divheadermobilesearch {
    display: inline-block;
    margin-top: 5px; 
    margin-left: 5px;
    width: 305px;
}

.searchpath {
    color: black;
    margin-left: 27px;
}

#normalheader {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 46px;
    box-shadow: 0 8px 32px 0 rgb(31 38 135 / 37%);
}

#mobileheader {
    display: none;
}

#mobilesearch {
    display: none;
}

@media only screen and (max-width: 716px) {
        
    #normalheader {
        display: none;
    }

    #mobileheader {
        display: flex;
        align-items: center;
    }
        
    #mobilesearch {
        display: none;
    }
}

.circulo {
    margin-top: 7px;
    margin-left: 7px;
    display: block;
    height: 32px;
    width: 32px;
    line-height: 28px;
    -moz-border-radius: 16px;
    border-radius: 16px;
    background-color: transparent;
    color: white;
    border-style: solid;
    border-width: 2px;
    border-color: white;
    text-align: center;
}

.circulosesion {
    display: block;
    height: 64px;
    width: 64px;
    line-height: 56px;
    font-size: 24px;
    font-weight: bold;
    -moz-border-radius: 32px;
    border-radius: 32px;
    background-color: #005494;
    color: white;
    border-style: solid;
    border-width: 2px;
    border-color: black;
    text-align: center;
    margin-bottom: 10px;
}

/* ---------------------------------------------------
    CONFIG STYLE
----------------------------------------------------- */

.temalistview {
    width: 310px;
    height: 160px;
    margin-top: 10px;
    margin-left: 10px;
    margin: 10px auto 0;
}

.product
{
    cursor: pointer;
    display: inline-block;
}

.product.k-state-selected {
    background-color: transparent;
    border: 2px solid black;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

#sidebar {
    width: 320px;
    position: fixed;
    top: 46px;
    left: -320px;
    height: 100vh;
    z-index: 999;
    /* background: #6d7fcc; */
    background: #f3f2f1;
    /* color: #fff; */
    color: black;
    transition: all 0.3s;
    overflow-y:hidden;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

#sidebar.active {
    left: 0;
}

#sidebarCollapse {
    margin-left:100px;
}

#menutreeview {
    color: black;
    font-size: 18px;
}

#menutreeview .k-sprite {
    width: 21px;
    height: 18px
}

#menutreeview .fa.k-sprite::before {
    font-size: 18px;
    line-height: 18px;
}

/*  Fila-boton: toda la fila es el hit-target (ERP + Manual, clase nb-nav-arbol).
    Kendo solo envuelve el texto en .k-in; el chevron queda afuera del <a> para
    no mezclar expandir carpeta con navegar. Prefijo html.nb-capa: al apagar la
    capa vuelve el treeview de Kendo. */
html.nb-capa .nb-nav-arbol.k-treeview .k-item > div {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    border-radius: var(--nb-radio);
    transition: background-color var(--nb-transicion);
}

html.nb-capa .nb-nav-arbol.k-treeview .k-item > div > .k-icon {
    float: none;
    flex: 0 0 auto;
}

html.nb-capa .nb-nav-arbol.k-treeview .k-in {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 6px 8px;
    background-color: transparent;
    background-image: none;
    border: 0;
    box-shadow: none;
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

html.nb-capa .nb-nav-arbol.k-treeview .k-in.k-state-hover,
html.nb-capa .nb-nav-arbol.k-treeview .k-in.k-state-focused {
    background-color: transparent;
    background-image: none;
    box-shadow: none;
    color: inherit;
}

html.nb-capa .nb-nav-arbol.k-treeview .k-in.k-state-selected {
    background-color: var(--nb-acento-suave);
    background-image: none;
    box-shadow: none;
    color: var(--nb-texto);
    border-radius: var(--nb-radio-chico);
}

html.nb-capa .nb-nav-arbol.k-treeview .k-item > div:hover {
    background-color: var(--nb-fondo-hover);
}

html.nb-capa .nb-nav-arbol.k-treeview .k-item > div:has(> .k-in.k-state-selected) {
    background-color: var(--nb-acento-suave);
}

html.nb-capa .nb-nav-arbol.k-treeview .k-item > div:has(> .k-in.k-state-selected) > .k-in.k-state-selected {
    background-color: transparent;
}

html.nb-capa .nb-nav-arbol.k-treeview .k-in .k-sprite {
    float: none;
    flex: 0 0 auto;
    margin-right: 8px;
}

/*  Carpeta vs opcion, sin JS (la carpeta es la que trae el chevron como hermano del texto):
      - carpeta: texto en negrita con el icono tenue, como un titulo de grupo;
      - opcion: texto normal con el icono en el color de acento, que es lo que se abre;
      - lo que cuelga de una carpeta lleva una guia vertical, para ver a que grupo pertenece.
    La diferencia no depende solo del color: en tema claro y oscuro se nota igual por el peso
    del texto y por el icono.  */
html.nb-capa .nb-nav-arbol.k-treeview .k-item > div > .k-in {
    color: var(--nb-menu-opcion);
    font-weight: 400;
}
html.nb-capa .nb-nav-arbol.k-treeview .k-item > div > .k-in .k-sprite {
    color: var(--nb-acento);
}
html.nb-capa .nb-nav-arbol.k-treeview .k-item > div > .k-icon + .k-in {
    color: var(--nb-menu-opcion);
    font-weight: 600;
}
html.nb-capa .nb-nav-arbol.k-treeview .k-item > div > .k-icon + .k-in .k-sprite {
    color: var(--nb-menu-grupo);
}
html.nb-capa .nb-nav-arbol.k-treeview .k-group .k-group {
    box-shadow: inset 1px 0 0 var(--nb-borde);
}

#expandnodes {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    /* background: #7386D5; */
    background: darkgray;
    color: white;
    position: absolute;
    top: 10px;
    right: 85px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    border-radius: 30px;
}

#expandnodes:hover {
    background: #fff;
    color: black;
}

#colapsenodes {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: darkgray;
    color: white;
    position: absolute;
    top: 10px;
    right: 45px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    border-radius: 30px;
}

#colapsenodes:hover {
    background: #fff;
    color: black;
}

#dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: darkgray;
    color: white;
    position: absolute;
    top: 10px;
    right: 5px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    border-radius: 30px;
}

#dismiss:hover {
    background: #fff;
    color: black;
}

.flatbutton {
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background: transparent;
    color: white;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.flathome {
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background: transparent;
    color: black;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    margin: 8px auto;
}

.overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    display: none;
}

#sidebar .sidebar-header {
    padding-top: 15px;
    padding-left: 10px;
    padding-bottom: 10px;
    padding-right: 20px;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

/*  padding-top 46px = alto del .navbar-fixed-top. Antes era 34px y los primeros 12px del
    contenido quedaban debajo del header; la tira de Tips fue lo primero que lo hizo visible.  */
#content {
    width: 100%;
    padding-bottom: 20px;
    padding-left: 60px;
    padding-right: 40px;
    padding-top: 46px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}


@media only screen and (max-width: 768px) {

    #content {
        width: 100%;
        padding-bottom:20px;
        padding-left:15px;
        padding-right:15px;
        padding-top:74px;
        min-height: 100vh;
        transition: all 0.3s;
        position: absolute;
        top: 0;
        right: 0;
    }
}

/* ---------------------------------------------------
    USER STATUS
----------------------------------------------------- */

.userStatusDropdown {
    text-align: right;
    margin-right: 25px;
}

.userStatusButton {
    margin-top: 4px;
}

.userStatusDropdownMenu {
    right: 0;
    left: auto;
}

.userStatusLine {
    padding-left: 20px;
    padding-right: 20px;
    white-space: nowrap;
    color: #333;
}

/* ---------------------------------------------------
    TILES
----------------------------------------------------- */

.tiles-container {
    text-align: center;
}

.tilesTitle {
    margin-left: 0;
    font-size: 2em;
    text-align: center;
}

.tileBlock {
    /*max-width: 160px;*/
    max-width: 180px;
    display: inline-flex;
    margin-bottom: 45px;
}

.tileElem {
    display: block;
}

.tileButton {
    /*width: 160px;*/
    width: 140px;
    /*padding-left: 35px;*/
}

.tileLink {
    /*width: 160px;*/
    width: 130px;
    margin-top: 5px;
    text-align: center;
    word-wrap: normal;
    font-size: 1.3em;
    font-weight: 600;
    word-break: break-word;
    overflow: hidden;
    width: 120px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    width:130px;
}

/* ---------------------------------------------------
    TOOLBAR STYLE
----------------------------------------------------- */

#toolbar {
    position: fixed;
    width: 66px;
    top: 46px;
    left: 0px;
    height: 100vh;
    background: transparent;
    overflow-y: hidden;
    display: inline-block;
    overflow: hidden;
    height: 100vh !important;
    /*box-shadow: 0 8px 32px 0 rgb(31 38 135 / 37%);
    background-color: #fff!important;*/
}

#toolbar i {
    font-size: 2em;
}

#exectoolbar {
    position: fixed;
    width: 46px;
    top: 48px;
    left: 0px;
    height: 100vh;
    background: transparent;
    overflow-y: hidden;
    display: inline-block;
    overflow: hidden;
}

.toolbutton {
    width: 36px;
    height: 30px;
    margin-top: 4px;
    margin-left: 5px;
    padding: 0px;
    line-height: 30px;
    text-align: center;
    vertical-align: middle;
    background: transparent;
    cursor: pointer;
    margin: 20px auto 20px auto;
}

#sortable {
    padding: 0px;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    list-style: none;
}

@media only screen and (max-width: 768px) {

    #toolbar {
        display: none;
    }
}

/* ---------------------------------------------------
    CONTEXT MENU STYLE
----------------------------------------------------- */

.contextflatbutton {
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    vertical-align: bottom;
    background: transparent;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.dropbtn {
    width: 32px;
    height: 32px;
    line-height: 32px;
    background: lightgrey;
    border-style: none;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.dropdowntile {
    float: right;
    margin-top: 32px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 2px 4px;
    text-decoration: none;
    display: block;
}

.dropdown span:hover {
    background-color: gray;
}

.show {
    display: block;
}

.menuitem {
    display: block;
    padding-left: 10px;
    padding-top: 3px;
    padding-bottom: 3px;
    cursor: pointer;
}

/* ---------------------------------------------------
    Notification Style
----------------------------------------------------- */

.temaNotific {
    width: 310px;
    max-height: 460px;
    overflow: auto;
    background-color: white;
    margin-left: auto;
}

.notificMessage
{
    display: inline-block;
    margin-left: 10px;
    margin-top: 3px;
    margin-bottom: 3px; 
    width: 280px; 
    min-height: 48px;
    border: 1px solid lightgrey;
    border-radius: 12px;
}

.headerNotif {
    border-radius: 12px 12px 0px 0px;
    background-color: lightgray;
}

.dateNotif {
    margin-left: 5px;
}

.notifBody {
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    background-color: #dfdcdb; 
    border-radius: 0px 0px 12px 12px;
}

.notifBody p {
    color: black;
} 

.notifBody a {
    color: blue;
} 

.notification {
    text-decoration: none;
    position: relative;
    display: inline-block;
    border-radius: 2px;
}

.badge {
    position: absolute;
    top: 4px;
    right: -1px;
    border-radius: 50%;
    background-color: yellow;
    color: black;
}

/* ---------------------------------------------------
    PRESENTACION STYLE
----------------------------------------------------- */


#myCarousel {
    display: block;
}

@media only screen and (max-width: 768px) {

    #myCarousel {
        display: none;
    }
}

#homepage .tileButton button {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 128px;
    height: 110px;
    background: rgba( 255, 255, 255, 0.25 );
    box-shadow: 0 8px 32px 0 rgb(31 38 135 / 37%);
    backdrop-filter: blur( 20px );
    -webkit-backdrop-filter: blur( 20px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
    width: 138px !important;
    height: 138px !important;
}

/*#homepage .tileButton button:hover {
    background: rgb(0 212 141);
}*/

.dropdowntile {
    margin-top: -28px;
    /*margin-right: 8px;*/
    margin-right: -32px;
}

.tilesTitle + br + div > div {
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /*justify-content: center;
    flex-direction: column;*/
    flex-direction: row;
    justify-content: space-around;
}

#configaceptar {
    width: 95%;
}

.userinfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 0;
    padding: 20px 10px;
    font-weight: bold;
}

.userinfo a {
    color: #002038 !important;
}

.userinfo:first-of-type {
    background-color: #0078d4;
    color: #fff;
    padding: 20px 10px;
}

.userinfo:nth-of-type(2) {
    padding-top: 0;
}

.user-background {
    display: block;
    width: 290px;
    height: 100px;
    /*background-image: url("/Content/Images/FondoInfoUser.png");*/
    background-repeat: no-repeat;
    background-position: bottom;
    /*margin-top: -30px;*/
    margin-top: -10px;
    background-image: url(/Content/Images/FondoInfoUser.svg);
    background-size: cover;
}

.userinfo i {
    align-self: flex-end;
    margin: 0 !important;
}

#sesioninfo div:first-of-type {
    margin: 0;
}

.headersesiondropdown {
    width: 290px;
}

.userfooter {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.userfooter div:first-of-type {
    margin-bottom: 0;
}

.userfooter a {
    background-image: url(/Content/Images/Logo.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    text-indent: -99999999px;
    height: 40px;
    display: block;
}

#Abm {
    background: rgb(255 255 255 / 52%); 
    box-shadow: 0 8px 32px 0 rgb(31 38 135 / 37%);
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
    padding-bottom: 4px;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 24px;
}

.tab-content
{
    background: rgba( 255, 255, 255, 0.25 );
    box-shadow: 0 8px 32px 0 rgb(31 38 135 / 37%);
    backdrop-filter: blur( 4px );
    -webkit-backdrop-filter: blur( 4px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
    padding: 24px;
}

#Abm > .tab-content {
    background: none;
    box-shadow: none;
    border-radius: 0;
    border: none;
    padding: 0;
    box-shadow: none;
    backdrop-filter: none;
}

/* Exportacion de Pagos Electronicos: la botonera queda sobre el panel, que va blanco y no
   translucido para que no se vea el fondo borroso. */
#ExpOPPendientesPagoElectronico > .tab-content {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

#PrcLogin .tab-content,
#PrcLogin #Abm {
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    border: none;
    padding: 0;
}

.tileButton > button > span > i {
    font-size: 3em;
}

#butLogin {
    margin-right: 30px;
}

button > span {
    padding-top: 3px;
}

/*.link-tile-color {
    color: #000 !important;
}*/

#menutreeview {
    font-size: 16px;
}

.tooltip-home {
    display: none;
}

@media only screen and (min-width: 768px) {
    .tiles-container {
        text-align: left;
    }

    .tilesTitle {
        margin-top: 40px;
        margin-left: 40px;
        text-align: left;
    }

    .tileButton {
        width: 180px;
    }

    .tilesTitle + br + div > div {
        padding-left: 4em;
        flex-direction: row;
        justify-content: flex-start;
    }

    .user-background {
        width: 370px;
    }

    .headersesiondropdown {
        width: 370px;
    }

    #sidebar {
        width: 450px;
        left: -460px;
    }

    #menutreeview {
        font-size: 18px;
    }

    .tileElem {
        width: 100%;
        max-width: 1200px;
        text-align: center;
        margin: auto;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        padding: 20px;
    }

    .tileButton {
        position: relative;
        padding: 20px;
    }

    .has-tooltip:hover + .tooltip-home,
    .has-tooltip:focus + .tooltip-home,
    .has-tooltip.hover + .tooltip-home {
        opacity: 1;
        transform: translate(-50%, -100%) scale(1) rotate(0deg);
        pointer-events: inherit;
        box-shadow: 1px 1px 20px rgb(38 38 38 / 60%);
    }

    .tooltip-home {
        display: block;
        position: absolute;
        top: 0px;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.75) rotate(5deg);
        transform-origin: bottom center;
        padding: 10px 30px;
        border-radius: 5px;
        text-align: center;
        color: white;
        transition: 0.15s ease-in-out;
        opacity: 0;
        width: 100%;
        max-width: 100vw;
        pointer-events: none;
        z-index: 5;
        background: #428bca;
    }

    .tooltip-home:hover {
        opacity: 1;
        transform: translate(-50%, -100%) scale(1) rotate(0deg);
        pointer-events: inherit;
    }

    .tooltip-home:after {
        content: "";
        display: block;
        margin: 0 auto;
        width: 0;
        height: 0;
        border: 5px solid transparent;
        border-top: 5px solid #428bca;
        position: absolute;
        bottom: 1px;
        left: 50%;
        transform: translate(-50%, 100%);
    }

    .tooltip-home p {
        color: #fff;
        font-weight: bold;
    }
}


/* ---------------------------------------------------
    MODO OSCURO SIN DESTELLO
----------------------------------------------------- */

/*  _Layout le pone la clase nb-oscuro al <body> del usuario autenticado cuando su tema es oscuro, antes
    del primer dibujo. Sin esto el fondo y el menu lateral salian claros (la ilustracion del body y el
    sidebar de arriba) y se corregian recien cuando Menu.js corria en el ready: el destello.
    Menu.js sigue pintando los mismos valores; si se cambia uno hay que cambiar el otro.
    Si el usuario eligio una imagen de fondo, el style inline del <body> (con !important) le gana a esta
    regla.  */
body.nb-oscuro {
    background-image: none !important;
}

body.nb-oscuro #sidebar,
body.nb-oscuro #menutreeview {
    color: white;
    background: #1f2226;
}


/* ---------------------------------------------------
    RELOJ DE ARENA AL ABRIR UNA PANTALLA
----------------------------------------------------- */

/*  El velo de _Layout (#nbCargando). Lleva adentro el reloj de arena de siempre (.hourglass, en
    Mastersoft.css), sin icono propio. Empieza debajo de la barra, que sigue usable: se puede cambiar de
    pantalla mientras carga. Va por debajo de los modales de Bootstrap (1050), asi que el cartel
    "Por favor, espere" de las llamadas con espera sigue viendose.
    El retardo de 250 ms es para que una pantalla que abre rapido no muestre nada y no parpadee: la
    animacion arranca invisible y recien despues se hace visible.  */
.nb-cargando {
    position: fixed;
    top: 46px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1045;
    background: rgba(255, 255, 255, 0.55);
    opacity: 0;
    animation: nbCargandoEntra 0.2s ease 0.25s forwards;
}

.nb-cargando.nb-cargando-oculto {
    display: none;
}

/*  La pantalla anterior ya mostraba el reloj al salir: este sigue visible desde el primer dibujo, sin el
    retardo ni el fundido de entrada, para que el reloj no se vaya y vuelva entre pantallas.  */
html.nb-continuo .nb-cargando {
    opacity: 1;
    animation: none;
}

/*  La vista trae su propio reloj de arena (#loader): se ve ese y no este.  */
.nb-cargando.nb-cargando-propio {
    display: none;
}

body.nb-oscuro .nb-cargando {
    background: rgba(0, 0, 0, 0.5);
}

@keyframes nbCargandoEntra {
    to {
        opacity: 1;
    }
}


/* ---------------------------------------------------
    RESULTADOS DE LA BUSQUEDA DE LA BARRA
----------------------------------------------------- */

/*  Cada resultado es un enlace real (clic derecho > abrir en otra pestaña). El enlace ocupa todo el
    renglon del desplegable para que el menu del navegador aparezca en cualquier parte de la fila y
    no solo sobre el texto, y no cambia el aspecto: hereda el color y no se subraya.  */
a.nb-resultado {
    display: block;
    margin: 0 -4px;
    padding: 0 4px;
    color: inherit;
    text-decoration: none;
}

a.nb-resultado:hover,
a.nb-resultado:focus {
    color: inherit;
    text-decoration: none;
}
