﻿html {
    position: relative;
/*    min-height: 100%;*/
    text-align: center;
}

body {
    margin-bottom: 60px;
    /*    background-color: #343a40;*/
    background-color: #f2f2f2;
    width: auto;
    height: auto;
    /*    width: 1440px;
    height: 1024px;*/
}
.sidebar {
    position: fixed;
    /*top: 102px;*/
    bottom: 0;
    left: 0;
    z-index: 50; /* Behind the navbar */
    /*padding: 100px 0 0;*/ /* Height of navbar */
    height: 100%;
    width: 92px;
    background-color: #212121;
   /* border: 1px solid #C4C4C4;*/
    box-sizing: border-box;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
}
.sidebar .nav-item{
     width:111px;
}

.sidebar-sticky {
    position: fixed;
    top: 0;
    height: calc(100vh - 67px);
    padding-top: .5rem;
    overflow-x: auto;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
    }
}

.sidebar .nav-link {
    margin-top:15px;
    font-weight: 500;
    color: #333;
    align-content:center;
}

.sidebar .nav-link-active {
    margin-top: 15px;
    font-weight: 500;
    color: #333;
    background-color:white;
    align-content: center;
}

    .sidebar .nav-link .feather {
        margin-right: 4px;
        color: #999;
    }

    .sidebar .nav-link.active {
        color: #007bff;
    }

        .sidebar .nav-link:hover .feather,
        .sidebar .nav-link.active .feather {
            color: inherit;
        }

.sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

/*
   * Content
   */

[role="main"] {
    padding-top: 133px; /* Space for fixed navbar */
}

@media (min-width: 768px) {
    [role="main"] {
        padding-top: 67px; /* Space for fixed navbar */
    }
}
/* #region Navbar styles */
.navbar-header {
    border-bottom: 1px solid rgba(255,255,255,255);
}

.navbar-brand {
    font-size: 1rem;
    font-weight: lighter;
}
/* #endregion */


/* #region Footer styles */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 0.85em;
}
/* #endregion */

/* #region custom Kendo UI styles */


h1 a {
    color: #fff;
    text-decoration: none;
}

h2 {
    font-weight: lighter;
}

.placeholder img {
    display: inline-block;
}

p .k-button {
    margin: 0 15px 0 0;
}

#configure {
    display: none;
}

p .k-button {
    margin: 0 15px 0 0;

}

.k-state-active .label {
    font-size: 1em;
}

#responsive-panel {
    padding: 0;
    width: 100%;
}

    #responsive-panel .k-menu {
        padding: 1.5rem;
    }
/* #endregion */

@media (max-width: 767px) {
    #responsive-panel {
        transition: all linear .2s;
    }


    #configure {
        display: block;
        float: right;
    }

    .k-rpanel {
        padding: 0 1rem;
    }

    .k-rpanel-expanded {
        padding: .5rem 1rem;
    }

    .navbar-header {
        width: 100%;
    }

    .k-grid .k-widget{
        align-content:center;
        background-color:#ffffff;
       
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .k-menu .k-item,
    .k-menu .k-link {
        width: 100%;
    }

    .k-widget.k-menu-horizontal > .k-item {
        border: none;
    }

    .k-menu .k-link {
        box-sizing: border-box;
    }

    .k-dropdown {
        width: auto;
    }

   
    .k-combobox {
        width: auto;
    }
 

    .fieldlist {
        margin: 5px;
        padding: 15px;
        width: 250px;
        background-color: aliceblue;
    }

        .fieldlist li {
            list-style: none;
            padding-bottom: 2em;
        }

        .fieldlist label {
            display: block;
            padding-bottom: 1em;
            font-weight: bold;
            text-transform: uppercase;
            font-size: 12px;
            color: #444;
        }

    .form {
        display: flex;
        justify-content: center;
    }

    .center {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 50%;
    }
}