/*
 * Base structure
 */

/*
 * Global add-ons
 */

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
    border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
    display: none;
}

@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        height: 100%;
        left: 0;
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        background-color: #f5f5f5;
        border-right: 1px solid #eee;
    }
}

/* Sidebar navigation */
.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}

.nav-sidebar > li > a {
    padding-right: 20px;
    padding-left: 20px;
}

.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
    color: #fff;
    background-color: #428bca;
}

.side-nav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9000;
    top: 0;
    left: 0;
    overflow-x: hidden;
    transition: 0.5s;
    background-color: black;
    color: white;
    border-right: 1px solid #eee;
}

/*.side-nav ul {
  padding-top: 15px;
}*/

.side-nav ul li {
    width: 285px;
}

.side-nav a {
    display: block;
    color: white;
    transition: 0.3s;
    padding: 8px 8px 8px 32px;
}

.side-nav-btn {
    font-size: 25px;
    cursor: pointer;
    color: #0e346a;
    padding-left: 15px;
}

nav > li > a:focus, .nav > li > a:hover {
    background-color: #1c69d4;
    color: white;
}


.current-page {
    border-left: 3px solid white;
    font-family: "BmwWebFontBold";
}

.current-page a {
    margin-left: 10px;
}


#main {
    transition: margin-left .5s;
    padding: 16px;
}

#closeNavBtn {
    display: block;
    text-align: right;
    margin-right: 10px;
    font-size: 30px;
    color: white;
    margin-top: 5px;
}

.sandwich-menu-row {
    top: 10px;
    left: 10px;
    font-weight: bold;
    z-index: 999;
    position: fixed;
}

.space-for-menu {
    margin-left: 20px;
}

/*
 * Main content
 */

.main {
    padding: 20px;
}

.main .page-header {
    margin-top: 0;
}

#content {
    padding-left: 3%;
    padding-right: 3%;
}

/*
 * Placeholder dashboard ideas
 */

.placeholders {
    margin-bottom: 30px;
    text-align: center;
}

.placeholders h4 {
    margin-bottom: 0;
}

.placeholder {
    margin-bottom: 20px;
}

.placeholder img {
    display: inline-block;
    border-radius: 50%;
}

.sidebar-bottom {
    position: absolute;
    bottom: 0;
    padding: 5px;
}

.online-message {
    color: #337ab7;
    text-decoration: none;
}

.offline-message {
    color: red;
    text-decoration: none;
}


/*
 * Content table formatting rules
 */

.table-wrapper {
    margin-top: 1%;
}

.slider-text {
    width: 100%;
    text-align: center;
}

.table.content-table thead {
    background-image: none;
    background-color: #c9c0c0;
    font-size: 0.875em;
}

.table.content-table th {
    vertical-align: top;
    text-align: center;
}

/*
 * Content table sorting related formatting rules
 */

.table.content-table th[st-sort] {
    position: relative;
    cursor: pointer;
    padding-right: 20px;
}

.table.content-table .sorting-icon {
    position: absolute;
    right: 0;
    top: 30%;
}

.table.content-table .sorting-icon .glyphicon {
    display: none;
}

.table.content-table :not(.st-sort-ascent):not(.st-sort-descent) > sorting-icon .glyphicon-sort {
    display: inherit;
}

.table.content-table .st-sort-ascent .glyphicon-sort-by-attributes {
    display: inherit;
}

.table.content-table .st-sort-descent .glyphicon-sort-by-attributes-alt {
    display: inherit;
}

.ms-action-cell {
    min-width: 90px;
}

.ms-container-combo {
    height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.table.content-table .ms-header-column {
    text-align: left;
}

.ms-edit-table-field {
    padding: 5px;
    border: 2px solid #ccc;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.ms-edit-table-field focuse {
    border-color: #333;
}

.table-striped>tbody>tr:nth-child(odd)>td,
.table-striped>tbody>tr:nth-child(odd)>th {
    background-color: #ffffff;
}
.table-striped>tbody>tr:nth-child(even)>td,
.table-striped>tbody>tr:nth-child(even)>th {
    background-color: #e5dfdf;
}