
body {
    background: #fafafa;
    color: black;
}

p {
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: black;
}

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
{
    float: left;
    width: 150px; 
}

.middleheader
{
    width: auto;
    min-width: 420px;
    display: inline-block;
}

.versionheader {
    width: auto;
    min-width: 50px;
    display: inline-block;
} 

.rightheader
{
    float: right;
    width: 350px;
}

.sesionrightheader {
    float: right;
    width: 200px;
    margin-top: 10px;
}

.mobileleftheader
{
    float: left;
    width: 40px; 
}

.mobilerightheader
{
    float: right;
    width: auto;
    min-width: 280px;
}

.headerconfigdropdown {
    display: none; 
    position: fixed; 
    right: 0px;
    top: 46px;
    border-style: groove;
    width: 360px;
    height: 546px;
    z-index: 1000;
    background-color: #faf9f8;
}

.headernotifydropdown {
    display: none;
    position: fixed;
    right: 0px;
    top: 46px;
    border-style: groove;
    width: 320px;
    z-index: 1000;
    background-color: #faf9f8;
}

.headersesiondropdown {
    display: none; 
    position: fixed; 
    right: 0px;
    top: 46px;
    border-style: groove;
    width: 400px;
    z-index: 1000;
    background-color: #faf9f8;
}


.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: 370px;
    height: 100px;
    background-repeat: no-repeat;
    background-position: bottom;
    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: 370px;
}

.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;
}

@media only screen and (max-width: 910px) {

    .user-background {
        width: 370px;
    }

    .headersesiondropdown {
        width: 370px;
    }

    .userinfo {
        width: 370px;
    }

    .userfooter {
        width: 370px;
    }
}

.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;
}

.divtitulosistema {
    width: 200px;
    color: white;
}

#TituloSistema {
    padding-top: 0px;
    margin-bottom: 0px;
    margin-top: 12px;
    font-weight: bold;
    font-size: 18px;
}

.divheadersearch {
    display: inline-block;
    margin-top: 8px;
    width: 400px;
}

.divheadermobilesearch {
    display: inline-block;
    margin-top: 5px; 
    margin-left: 5px;
    width: 305px;
}

.searchpath {
    color: black;
    margin-left: 27px;
}

#normalheader {
    display: block;
    height: 46px;
    box-shadow: 7px 7px 7px #808080;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

#mobileheader {
    display: none;
}

#mobilesearch {
    display: none;
}

@media only screen and (max-width: 910px) {
        
    #normalheader {
        display: none;
    }

    #mobileheader {
        display: block;
    }
        
    #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: 316px;
    height: 168px;
    margin-top: 10px;
    margin-left: 10px;
}

.product
{
    cursor: pointer;
    display: inline-block;
}

.product.k-state-selected {
    background-color: transparent;
    border: 2px solid black;
}

#configaceptar {
    width: 95%;
}

/* ---------------------------------------------------
    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;
}

#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;
}

.versionInfo {
    display: inline-block;
    float: right;
    margin-top: 8px;
    margin-right: 40px;
}

.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
----------------------------------------------------- */

.butonsTilesContainer {
    margin-left: 0px;
}

.panelsTilesContainer {
    margin-left: 40px;
}

.iconsTilesContainer {
    margin-left: 0px;
}

.butonsTitle {
    margin-left: 40px;
    font-size: 22px;
}

.panelTitle {
    margin-left: 0px;
    font-size: 22px;
}

.iconTitle {
    margin-left: 40px;
    font-size: 22px;
}

.butonsBack {
    margin-top: 20px;
    margin-left: 40px;
}

.panelBack {
    margin-top: 20px;
    margin-left: 0px;
}

.iconBack {
    margin-top: 20px;
    margin-left: 40px;
}

#content {
    width: 100%;
    /* padding-bottom: 20px; */
    padding-left: 60px;
    padding-right: 40px;
    padding-top: 60px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}


@media only screen and (max-width: 910px) {

    .butonsTilesContainer {
        margin-left: 0px;
    }
    
    .panelsTilesContainer {
        margin-left: 0px;
    }
    
    .iconsTilesContainer {
        margin-left: 0px;
    }
    
    .butonsTitle {
        margin-left: 0px;
        font-size: 22px;
    }
    
    .panelTitle {
        margin-left: 0px;
        font-size: 22px;
    }
    
    .iconTitle {
        margin-left: 0px;
        font-size: 22px;
    }

    .butonsBack {
        margin-top: 20px;
        margin-left: 0px;
    }
    
    .panelBack {
        margin-top: 20px;
        margin-left: 0px;
    }
    
    .iconBack {
        margin-top: 20px;
        margin-left: 0px;
    }
   
    #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 DESIGN WITH BUTTONS
----------------------------------------------------- */

.tileBlock {
    max-width: 160px;
    display: inline-flex;
    margin-bottom: 15px;
}

.tileElem {
    display:block;
}

.tileButton {
    width: 160px; 
    padding-left: 35px;
}

.tileIcon {
    width: 160px; 
    text-align: center;
}

.tileLink {
    width: 160px; 
    margin-top: 5px; 
    text-align: center;
    word-wrap: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
}

/* ---------------------------------------------------
    TILES DESIGN WITH PANELS
----------------------------------------------------- */

.panelTile {
    display: inline-flex; 
    margin-top: 10px;
    margin-left: 3px;
    margin-bottom: 10px;
}

.panelTileBlock {
    width:160px; 
    height: 152px;
    vertical-align:top;
}

.panelTileButton {
    width:140px; 
    height: 150px; 
    display: inline-block;
    vertical-align: top;
    text-align:center;
    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 );
}

.panelTileButton:hover {
    background-color: #0078b1;
}

.panelTileImage {
    width:138px; 
    height: 70px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}

.panelTileLink {
    width:138px;
    height:75px;
    margin-top: 5px;
    text-align: center;
    word-wrap: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
}

.panelTileParraf {
    font-size:17px;
    font-weight:bold;
    line-height:25px;
}

.panelTileRight {
    width:16px; 
    height: 150px; 
    display:inline-block;
    vertical-align:top;
    text-align:right;
}

.panelTileCommand {
    display:table-cell;
    vertical-align:bottom;
    width:16px;
    height: 148px;
    text-align: center;
}

/* ---------------------------------------------------
    TILES DESIGN WITH ICONS
----------------------------------------------------- */

.iconTile {
    display: inline-flex; 
    margin-top: 10px;
    margin-bottom: 10px;
}

.iconTileBlock {
    width:160px; 
    height: 131px;
    display: inline;
    vertical-align:top;
}

.iconTileMargin {
    width:40px; 
    height: 60px; 
    display: inline-block;
}

.iconTileImage {
    width:74px; 
    height: 60px; 
    display: inline-block;
    vertical-align: top;
    text-align:center;
}

.iconTileImage:hover {
    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);
}

.iconTileRight {
    width:34px; 
    height: 60px; 
    position: relative;
    display:inline-block;
    vertical-align:top;
    text-align:right;
}

.iconTileCommand {
    display:table-cell;
    vertical-align:bottom;
    width:30px;
    height: 60px;
    text-align: center;
}

.iconTileLink {
    width:158px;
    height:60px;
    margin-top: 5px;
    text-align: center;
    word-wrap: normal; 
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
}

/* ---------------------------------------------------
    TOOLTIP STYLE
----------------------------------------------------- */

.panelTooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
  }

.panelTooltip .panelTooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #0078b1;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 105%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 16px;
    font-weight: bold;
}

.panelTooltip .panelTooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #0078b1 transparent transparent transparent;
}

.panelTooltip:hover .panelTooltiptext {
    visibility: visible;
    opacity: 1;
}

/* ---------------------------------------------------
    TOOLBAR STYLE
----------------------------------------------------- */

#toolbar {
    position: fixed;
    width: 46px;
    top: 46px;
    left: 0px;
    height: 100vh;
    background: transparent;
    overflow-y: hidden;
    display: inline-block;  
    overflow: hidden;
}

#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;
}


#sortable {
    padding: 0px;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}

@media only screen and (max-width: 910px) {

    #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;
}

.chatbot-icon-wrapper {
    position: relative;
    display: inline-flex;
}

/* Badge de estado */
.chatbot-status-badge {
    position: absolute;
    top: 30px;
    right: 0px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #0f172a;
    opacity: 1;
    transform: scale(1);
    animation: badgePulse 2.4s ease-in-out infinite;
}

@keyframes badgePulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}

/* ---------------------------------------------------
    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;
}

.notification .badge {
    position: absolute;
    top: 4px;
    right: -1px;
    border-radius: 50%;
    background-color: yellow;
    color: black;
}

