﻿html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    color: #333;
}


header {
    height: 75px;
    flex: 0 0 auto;
    background-color: #fff;
    color: #333;
    padding-left: 30px;
    font-size: 24px;
}

.plain {
    color: #333;
    text-decoration: none;
}

    .plain a:hover {
        text-decoration: none;
    }


.page-wrapper {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

@media (min-width: 768px) {
    .page-wrapper {
        flex-direction: row;
    }
}

.bglight {
    background-color: #363640;
}

.navitem {
    color: #fff;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
}

.navlink {
    text-decoration: none;
}


#sidebar {
    width: 100%;
}

@media (min-width: 768px) {
    #sidebar {
        flex: 0 0 200px;
        width: 200px;
        top: 75px;
        height: calc(100vh - 75px);
        position: sticky;
        overflow-y: auto;
    }

        #sidebar .nav {
            flex-direction: column !important;
        }
}

@media (min-width: 1024px) {
    #sidebar .nav {
        flex-direction: row !important;
    }
}


#main-container {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

#main-content {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0rem;
}

footer {
    height: 150px;
    flex: 0 0 auto;
    background-color: #ecf0f1;
    color: #333;
    padding-left: 10px;
    margin-left: 0px;
    margin-right: 0px;
}

.content-block {
    font-size: 30px;
    font-weight: 600;
    width: 100%;
    height: 60px;
    padding-top: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
    background-color: #ecf0f1;
    color: #333;
}

.content-view-flex {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
}


.left {
    float: left;
    width: 250px;
    max-width: 250px;
    height: calc(100vh - 250px);
    padding: 20px;
    background: #ecf0f1;
    margin-bottom: 0;
}

.right {
    overflow: hidden;
    text-align: left;
    flex: 1 1 0%;
    padding-left: 30px;
}



