﻿html, body {
    /*overflow-y: auto;*/
    height: 100%;
}

div#headerDiv {
    color: #f0f0f0;
    background-color: #515151;
    border: none;
    /* background-image: url('Img/menu_backgound_2.jpg'); */
}

div#headerBox {
    padding: 5px 0 5px 0;
    border: none;
    /* border-bottom: 1px solid #D0D0D0; */
}

div#logoutDiv {
    float: right;
    display: block;
    height: 30px;
    margin-right: 10px;
    margin-top: 5px;
}

a#logo {
    display: none;
    width: 417px;
    height: 51px;
    background-image: url('Img/logo.png');
    background-repeat: no-repeat;
}

#header1 {
    float: left;
    display: block;
    padding: 0 0 0 5px;
}

#header2 {
    float: left;
    display: block;
    padding-left: 10px;
    margin-top: 15px;
}

#header3 {
    text-align: right;
    display: inline-block;
    vertical-align: top;
    padding-top: 8px;
}

#header4 {
    text-align: right;
    display: inline-block;
}

#header5 {
    text-align: right;
    display: none;
}

#bodyDiv {
    position: absolute;
    display: flex;
    top: 50px;
    bottom: 0px;
    width: 100%;
    overflow: hidden;
}
                                
#menuDiv {
    float: left;
    width: 200px;
    height: 100%;
    border-right: 1px solid #D0D0D0;
    order: 1;
}

#contentDiv {
    width: 100%;
    height: 100%;
    vertical-align: top;
    order: 2;
    overflow: auto;
}

#contentHeaderDiv {
    height: 25px;
    line-height: 25px;
    padding-left: 0.5em;
}

#contentHeaderDiv_1 {
    float:left;
}

#contentHeaderDiv_2 {
    float:right;
}


#contentBodyBodyDiv {
    padding: 0.3em 0.5em 0 0.5em;
}


a.logoutButton {
    display: inline-block;
    height: 32px;
    width: 32px;
    background-image: Url('Img/logout.png');
    background-repeat: no-repeat;
    background-position: 0 0;
}

a.menuButton {
    display: inline-block;
    height: 32px;
    width: 32px;
    background-image: Url('Img/menu.png');
    background-repeat: no-repeat;
    background-position: 0 0;
}

@media only screen and (max-width: 720px) {
    #header1, #header3, #header4 {
        display: none;
    }

    #header2 {
        margin-top: 0px;
    }

    #header5 {
        display: unset;
    }

    #contentDiv {
        float: none;
        height: auto;
        width: auto;
        order: 2;
    }

    #menuDiv {
        border: none;
    }                     

    #bodyDiv {
        position: unset;
        display: unset;
        bottom: 0px;
        width: 100%;
        overflow: hidden;
    }

    html, body {
        overflow: auto;
        height: auto;
    }    
}
