﻿/*==Reset CSS==*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    /*font-family: Roboto,Arial,Tahoma;*/
    font-family: Vollkorn;
    /*font-family: Droid Sans;*/
    /*font-family: Lobster;*/
    font-size: 17px;
}

body {
    margin: 0 auto;
    text-align: center;
    background-color: gray;
    /*overflow-x:hidden;
  overflow-y:auto;*/
}

@media only screen and (min-width: 320px) {
    #wrapper {
        position: relative;
        margin: 0 auto;
        text-align: left;
        /*background-color: chocolate;*/
        width: 100%;
    }

    #Header {
        clear: both;
        width: 100%;
        height: 120px;
        background-color: red;
        z-index: 8;
        display: none;
    }

    #Contents {
        width: 100%;
        height: calc(100vh);
        vertical-align: middle;
    }

    #leftContents {
        display: none;
        float: left;
        width: 215px;
        height: 100%;
        color: white;
        vertical-align:middle;
        background-color:antiquewhite;
    }

    #rightContents {
        float: right;
        width: calc(100%);
        color: black;
        height: 100%;
        /*margin-top: 5px;*/
        margin-left: 5px;
        background-color: antiquewhite;
        overflow:auto;
    }
    #subHeader {
        float: right;
        width: calc(100%);
        color: black;
        font-weight: bold;
        padding-top:0px;
        height: 30px;
        line-height:30px;
        text-align: center;
        margin-left: 5px;
        background-color: antiquewhite;
        overflow: auto;
    }
    .sticky {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
    }

    #Footer {
        clear: both;
        width: 100%;
        padding-top: 3px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        background-color: green;
        color: yellow;
    }
    #mnuMobileButton {
        display: block;
        overflow: hidden;
        z-index: 99;
        width: 30px;
        height: 30px;
        position: fixed;
        top: 0;
        left: 0;
    }
    #mnuMobile {
        overflow: hidden;
        position: fixed;
        top: 30px;
        left: 0;
        width: 100%;
        display: none;
    }

    #DangNhap {
        display: none;
    }
}
.Login {
    text-align: center;
    line-height: 30px;
    width: 100%;
    height: 100%;
    padding: 5px;
    overflow: auto;
}

.showContents {
    text-align: center;
    line-height: 30px;
    width: 100%;
    height: 100%;
    padding: 5px;
    overflow: auto;
}

@media only screen and (min-width: 600px) {
    #mnuMobileButton {
        display: none;
    }
    #leftContents {
        display: block;
    }
    #rightContents {
        float: right;
        width: calc(100% - 220px);
    }
}
@media only screen and (min-width: 1000px) {
    #wrapper {
        width: 1000px;
    }

    #Header {
        display: block;
    }

    #DangNhap {
        display: block;
    }
}


.SubTopLeft {
    color: black;
    padding-top: 3px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
}

.SubTopMid {
    position: sticky;
    top: 0;
    padding-top: 3px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
}

.SubTopRight {
    background-color: antiquewhite;
    padding-top: 3px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
}

.SubBodyLeft {
    text-align: center;
    background: linear-gradient(90deg, rgba(9,9,121,1) 0%, #0545B2 45%, #4800ff 70%, rgba(0,212,255,1) 100%);
}

.SubBodyMid {
    margin: 0 5px;
    text-align: center;
    background: linear-gradient(90deg, burlywood 0%, white 50%, burlywood 100%);
}

.SubBodyRight {
    background-color: aqua;
    text-align: center;
}

.divUpdateProgress {
    display: block;
    left: 50%;
    top: 55%;
    position: fixed;
    -webkit-transform: translate3d(-50%, -50%, 0);
    -moz-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
    /*width: 600px;*/
    padding: 10px 10px 5px 10px;
    border-radius: 5px;
    text-align: center;
    /*vertical-align: middle;*/
    background-color: bisque;
    z-index: 1;
}

.lnkUSER {
    z-index: 2;
}
