﻿
body, html {
    height: 100%;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 80px;
}

/* #region Navbar styles */
.navbar {
    font-size: 0.8em;
}

.navbar-header {
    border-bottom: 1px solid rgba(255,255,255, 0.1);
}
/* #endregion */

/* The sidebar menu */
.sidebar {
    height: 100%; /* 100% Full-height */
    width: 0px; /*width - change this with JavaScript*/
    /*width: 200px;  start with sidebar */
    position: fixed; /* Stay in place */
    z-index: 10; /* Stay on top */
    top: 30px;
    left: 0;
    background-color: #111; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 70px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidebar */
    padding-bottom: 60px;
}

    /* Para não aparecer aside barras del scroll durante a animação de abertura e fechamento do menu lateral */
    .sidebar .k-treeview {
        overflow: hidden !important;
    }

    /* The sidebar links */
    .sidebar a {
        padding: 2px 8px 4px 16px;
        text-decoration: none;
        font-size: 0.8em; /* 15px; */
        color: #818181;
        display: block;
        transition: 0.3s;
    }

        /* When you mouse over the navigation links, change their color */
        .sidebar a:hover {
            /*color: #f1f1f1;*/
            background-color: #111;
            color: white;
        }

    /* Position and style the close button (top right corner) */
    .sidebar .closebtn {
        position: absolute;
        top: 25px;
        right: 15px;
        font-size: 35px;
    }

/* #region Footer styles */

#main {
    min-height: 100vh;
    width: 100%;
    transition: margin-left .5s; /* If you want a transition effect */
    padding: 15px 0px 0px 0px;
    margin: 0;
}

.footer {
    min-width: 100%;
    height: 35px;
    color: #fff;
    font-size: 0.60em;
    background-color: #343a40;
}

/* #endregion */

/* #region custom Kendo UI styles */
#configure {
    display: none;
}

.k-panelbar .k-content {
    padding: 20px;
}

p .k-button {
    margin: 0 15px 0 0;
}

.k-state-active .label {
    font-size: 1em;
}

.k-i-expand, .k-i-collapse {
    color: #818181 !important;
}

/*.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;*/
    /*margin-left: 1%;
            margin-right: 1%;*/
/*}*/


.k-card.edit-card,
.k-card.index-card {
    margin: 40px 0 0 0 !important;
    min-height: calc(100vh - 50px);
    border-radius: 0;
}

    .edit-card > .k-card-header,
    .index-card > .k-card-header {
        padding: 1.5rem;
        text-align: left;
        border-width: 0 0 1px;
        border-color: inherit;
    }

    .edit-card > .k-card-body,
    .index-card > .k-card-body {
        padding: 1.5rem;
        margin-bottom: 1.3rem;
    }

    .index-card > .k-card-footer {
        padding-left: 1.5rem;
        text-align: left;
        border-width: 1px 0 0;
        border-color: inherit;
    }

.k-icon-32 {
    font-size: 32px; /* Sets icon size to 32px */
}

.k-icon-48 {
    font-size: 48px; /* Sets icon size to 48px */
}

.k-icon-64 {
    font-size: 64px; /* Sets icon size to 64px */
}

.colored-icon {
    color: blue;
}


.custom-disabled {
    pointer-events: none;
    opacity: .45;
}

#filterText {
    width: 100%;
    box-sizing: border-box;
    padding: 2px 8px;
    border-radius: 3px;
    background-color: #2c2c2c;
    color: white;
}

/* #endregion */

@media (max-width: 767px) {
    #responsive-panel {
        transition: all linear .2s;
    }

    #configure {
        display: block;
        float: right;
    }

    .k-rpanel {
        width: 100%;
    }

    .k-rpanel-expanded {
        margin-top: 1rem;
    }

    .navbar-header {
        width: 100%;
    }

    .footer {
        height: 60px;
    }

    .k-menu .k-item,
    .k-menu .k-link {
        width: 100%;
    }

    .k-menu .k-link {
        box-sizing: border-box;
    }
}

/* Customize Kendo Badge Colors */

.k-badge-solid-success {
    border-color: #77ae95;
    color: #fff;
    background-color: #77ae95;
}

.k-badge-solid-warning {
    border-color: #f8d97e;
    color: #000;
    background-color: #f8d97e;
}

.k-badge-solid-error {
    border-color: #dd646f;
    color: #fff;
    background-color: #dd646f;
}

.k-badge-solid-secondary {
    border-color: #9a9b9d;
    color: #fff;
    background-color: #9a9b9d;
}

.k-progressbar {
    background-color: #e0e0e0;
}

    .k-progessbar-red .k-selected {
        background-color: #f04848;
    }

    .k-progessbar-yellow .k-selected {
        background-color: #f0d348;
    }

    .k-progessbar-green .k-selected {
        background-color: #4CAF50;
    }

.status-circle {
    font-size: 16px;
    margin-right: 5px;
}

    .status-circle-red {
        color: #f44336;
    }

    .status-circle-yellow {
        color: #ffeb3b;
    }

    .status-circle-green {
        color: #4CAF50 !important;
    }
    
