* {
    margin: 0;
    padding: 0;
}
html {
    height: 100%;
}
header, nav, section, article, aside, footer {
    display: block;
}
body {
    font: 12px/18px Arial, Tahoma, Verdana, sans-serif;
    height: 100%;
}
a {
    color: blue;
    outline: none;
    
}
a:hover {
    text-decoration: none;
}
p {
    margin: 0 0 18px
}
img {
    border: none;
}
input {
    vertical-align: middle;
}
#wrapper {
    width: 100%;
    min-width: 1000px;
    min-height: 100%;
    height: auto !important;
    height: 100%;
}


/* Header
-----------------------------------------------------------------------------*/
#header {
    position: absolute;
    left:0px;
    right:0px;
    top: 0px;
    height: 50px;
    background:transparent url("../images/header.png") repeat-x;
}
#logo {
    margin-top: 7px;
    margin-left: 3px;
    float: left;
    width: 120px;
    height: 30px;
}

#logo-g {
    margin-top: 0px;
    float: left;
    margin-left: 3px;
    width: 139px;
    height: 43px;
}
#hright {
    float: right;
    margin-right: 5px;
}

/* Middle
-----------------------------------------------------------------------------*/
#cont {
    margin:0px 0px 9px 0px;
    border:0px;
    position:fixed;
    top:50px;
    bottom:0px;
    left:0px;
    right:0px;
    min-width: 950px;
}
#content {
    border:1px solid #d3d3d3;
    border-top:0; 
    position:absolute;
    top:0px;
    bottom:10px;
    left:0px;
    right:0px;
}
/* Footer
-----------------------------------------------------------------------------*/
#footer {
    position: absolute;
    bottom: 0px;
    height: 20px;
    background:transparent url("../images/footer.png") repeat-x;
    left:0;
    right:0;
}
#footer-log {
    position: absolute;
    height: 20px;
    bottom: 0;
    background:transparent url("../images/footer_ginus.png") no-repeat;
    width:100%;
}

#copyright {
    float: right;
    margin: -3px;
    margin-right: 10px;
}


/* mainmenu 
-----------------------------------------------------------------------------*/
#mainmenu {
    left: 125px;
    top: 15px;
    clear: both;
    margin: 0 5px;
    padding: 0 5px;
    width: 850px;
    height: 30px;
    list-style: none;
    text-align: left;
    position: relative;
    z-index: 2;
}

#mainmenu ul ul {
    display: none;
}

    #mainmenu ul li:hover > ul {
        display: block;
    }


#mainmenu ul {
    padding: 0 20px;
    list-style: none;
    position: relative;
    display: inline-table;
}

    #mainmenu ul li {
        float: left;
    }

        #mainmenu ul li a {
            margin: 0;
            white-space: nowrap;
            padding: 7px 15px;
            display: block;
            text-decoration: none;
            font-size: 1.2em;
        }

        #mainmenu ul a:link, #mainmenu ul a:visited {
            color: #888;
        }
        #mainmenu ul a:hover, #mainmenu ul a:focus {
            color: #335a86;
        }

    #mainmenu ul ul {
        background: #ccc;
        padding: 0;
        position: absolute;
        top: 30px;
    }
        #mainmenu ul ul li {
            float: none;
            position: relative;
        }
            #mainmenu ul ul li a {
                white-space: nowrap;
                padding: 5px 5px;
                color: #fff;
            }

    #mainmenu ul ul ul {
        position: absolute;
        left: 100%;
        top:0;
    }
