@import url("open-iconic/font/css/open-iconic-bootstrap.min.css");

/*Ocultar 'x' center ellipse header de los popup.*/
.popup-header .close-button {
    display: none !important;
}

/*Este si  funciona para hacer desaparecer la X, no el estilo de arriba*/
.e-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn {
    background-color: rgba(0, 0, 0, 0);
    border-color: rgba(0, 0, 0, 0);
    border-radius: 50%;
    bottom: 5px;
    float: right;
    height: 20px;
    left: -5px;
    position: relative;
    width: 20px;
    visibility: hidden;
}

th.e-headercell 
{
    background-color:#ffc174 !important;
    /*color:white !important;*/
}

/*.e-tab-header {
    color: white !important;
}
.e-control {
    color: white !important;
}
.e-toolbar {
    color: white !important;
}
.e-lib {
    color: white !important;
}
.e-keyboard {
    color: white !important;
}*/

.e-tab {
    background-color: #cdc472 !important; /* #aea054 !important; */
    /*color: white !important;*/
}
.e-active {
    background-color:#ffc174 !important;
    /*color: white !important;*/
}

.e-list-group-item {
    font-weight: bold;
    color:#ffc174 !important;   /* darkblue */
    font-size:20px !important; 
}
.e-list-group-active {
    font-weight: bold;
    color:#ffc174 !important; /* darkblue */
    font-size: 20px !important;
}

.estiloTab 
{
    min-width: 100%;
    background-color: white !important;
}

/*
.e-touch {
    background-color:#ffc174 !important;
    color: white !important;
}
*/

html,
body {
    /*font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    height: 100%;
}

a,
.btn-link {
    color: #0366d6;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.big-main-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.footer {
    position: absolute;
    bottom: 0;
    height: 60px;
    background-color: #49505738;
    width: 100%;
    color: #9c9c9c;
    font-size: 0.7rem;
    overflow: hidden;
}

.top-bar {
    z-index: 2;
}

    .top-bar .navbar .navbar-nav .nav-item .firstname-icon {
        margin-right: 4px;
    }

    .top-bar .navbar .navbar-nav .nav-item .firstname-text {
        font-weight: 600;
    }

    .top-bar .navbar {
        height: 3.5rem;
        box-shadow: 0px 1px 10px 0px #6c757d;
    }

        .top-bar .navbar .navbar-collapse .navbar-nav .action {
            vertical-align: middle;
        }

        .top-bar .navbar .navbar-collapse .navbar-nav .nav-item {
            vertical-align: middle;
        }

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f8f9fb;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
        z-index: 199;
        display: block;
        position: sticky;
        top: 0;
    }

        .main .top-row > a,
        .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .main .top-row .navbar {
            height: 3.5rem;
            border-bottom: 1px solid #d6d5d5;
        }

            .main .top-row .navbar .navbar-collapse .navbar-nav .action {
                vertical-align: middle;
            }

            .main .top-row .navbar .navbar-collapse .navbar-nav .nav-item .bell {
                vertical-align: middle;
                margin-top: 8px;
            }

            .main .top-row .navbar .navbar-nav .nav-item .flag {
                vertical-align: middle;
                margin-top: 2px;
            }

            .main .top-row .navbar .navbar-nav .nav-item .user {
                vertical-align: middle;
            }

.sidebar {
    position: sticky;
    top: 0;
    z-index: 2;
    background-image: linear-gradient( 180deg, rgb(44, 46, 61) 0%, rgb(44, 46, 61) 70% );
}

    .sidebar .top-row {
        background-color: rgb(40, 41, 59);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

.slidebar-nav-open .ind .top-row {
    background-color: rgb(40, 41, 59);
}

.slidebar-nav-open .ind .navbar-brand {
    font-size: 1.1rem;
}

.slidebar-nav-open .ind .oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item-side {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item-side:first-of-type {
        padding-top: 1rem;
    }

    .nav-item-side:last-of-type {
        padding-bottom: 1rem;
    }

    .nav-item-side a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

        .nav-item-side a.active {
            background-color: rgba(255, 255, 255, 0.25);
            color: white;
        }

        .nav-item-side a:hover {
            background-color: rgba(255, 255, 255, 0.1);
            color: white;
        }

.content {
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
    background-color: #e9ecef;
    height: 100%;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type="checkbox"]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media (max-width: 767.98px) {
    .top-bar a,
    .top-bar .btn-link {
        margin-left: 0;
    }

    .top-bar .navbar .navbar-nav .nav-item .firstname-text {
        display: none;
    }

    .display-user-bar {
        display: block;
    }

    .hide-user-bar {
        display: none;
    }

    .footer {
        display: none;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-bar {
        position: sticky;
        top: 0;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        display: block;
    }
}

.border-left-primary {
    border-left: 0.25rem solid #1b6ec2 !important;
}

.border-left-success {
    border-left: 0.25rem solid #28a745 !important;
}

.border-left-info {
    border-left: 0.25rem solid #17a2b8 !important;
}

.border-left-warning {
    border-left: 0.25rem solid #ffc107 !important;
}

.display-5 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
}

.display-6 {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.2;
}
