/************************************************************************************
Default
*************************************************************************************/
html, body {
    height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #222222;
    margin: 0px;
    background-image: url(../images/body.png);
    background-repeat: repeat-y;
    background-size: 255px;
}

.nbg {
    background-size: 40px;
}

img {
    border: 0;
    margin: 0px;
    padding: 0px;
}

a:link, a:visited {
    color: #222222;
    text-decoration: underline;
}

a:hover {
    color: #CC0000;
    text-decoration: none;
}

a:active {
    color: #CC0000;
    text-decoration: underline;
}


/************************************************************************************
STRUCTURE
*************************************************************************************/
#header {
    position: fixed;
    top: 0px;
    height: 48px;
    width: 100%;
    border-bottom: solid 1px #8d3b32;
    border-top: solid 1px #8d3b32;
    background: #d72218;
    background: linear-gradient(to bottom, #d72218 0%, #ab3d33 100%);
    color: #ffffff;
    -moz-box-shadow: 0 0 15px 0 #a4a4a4;
    -webkit-box-shadow: 0 0 15px 0 #a4a4a4;
    box-shadow: 0 0 15px 0 #a4a4a4;
    z-index: 999;
}

#headerlogo {
    padding: 5px 20px;
    float: left;
}

#headerappl {
    padding: 4px 40px;
    display: table-cell;
    vertical-align: middle;
    font-variant: small-caps;
    font-size: 2.8em;
}

#menu {
    float: left;
    margin-top: 50px;
    padding: 10px 10px 35px 10px;
    width: 235px;
    z-index: 1;
}

.menusmall {
    width: 30px !important;
    padding: 10px 10px 10px 0px !important;
    transform: rotate(90deg);
}

#menubar {
    width: 215px;
    display: table;
    padding: 10px 15px;
    overflow: hidden;
}

#menubar-resize {
    display: inline-block;
    padding: 5px;
    background-color: #a1a1a1;
    color: #ffffff;
    float: right;
}

#content {
    min-height: 100%;
    background-color: #ffffff;
    padding-top: 0px !important;
    overflow-x: auto;
    position: absolute;
    margin: 0px 0px 0px 255px;
}

.contentsmall {
    margin-left: 40px !important;
}

#container {
    padding: 60px 10px 35px 10px;
}

#footer {
    position: fixed;
    bottom: 0px;
    height: 25px;
    width: 100%;
    background: #ebebeb;
    font-size: 0.875em;
    color: #666666;
    -moz-box-shadow: 0 0 15px 0 #a4a4a4;
    -webkit-box-shadow: 0 0 15px 0 #a4a4a4;
    box-shadow: 0 0 15px 0 #a4a4a4;
    z-index: 999;
}

#footerleft {
    float: left;
    padding: 5px;
}

#footerright {
    float: right;
    padding: 5px;
}

.hide {
    display: none;
}

.emptyBox10 {
    height: 10px;
    width: 100%;
}

.emptyBox20 {
    height: 20px;
    width: 100%;
}


/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* for 640px or less */
@media screen and (max-width: 640px) {
    #headerlogo {
        display: none;
    }

    #headerappl {
        padding-left: 20px;
    }
}