* {
    padding: 0;
    margin: 0;
    border: 0;
}

html {
    background:#000;
    }

body {
    font-family: tahoma, arial, sans-serif;
    font-size: 14px;
    color: #fff;
}

#nav {
    list-style: none;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 994px;
    z-index: 10;
}

ul#nav #ulli {
    float: left;
    position: relative;
    text-align: center;
    width: 142px;
    height: 40px;
    font-size: 18px
}

.menuimage {
    display: block;
}

ul#nav li ul {
    list-style: none;
    display: none;
    position: absolute; 
    top: 40px;
    left: 0px;
    width: 142px;
    background: url(../images/default/sidebar_bg_1px.png) repeat-x #1073aa;
    font-size: 11px;
    text-align: left;

    z-index:10;/*any value*/
    overflow:hidden;/*must have*/
}

ul#nav li ul iframe {
    display:none;/*sorry for IE5*/
    display/**/:block;/*sorry for IE5*/
    position:absolute;/*must have*/
    top: 0;/*must have*/
    left: 0;/*must have*/
    z-index:-1;/*must have*/
    filter:mask();/*must have*/
    width:142px;/*must have for any big value*/
    height:1000px/*must have for any big value*/;
}
						


ul#nav li ul li.head {
    padding: 1em 0.5em 1px .3em;
    font-size: 11px;
    font-weight: bold;
    color: #FFF;
    border-width: 0 1px 0 1px;
    border-style: solid;
    border-color: #000;
    z-index: 10;
    }

ul#nav li ul li {
    padding: 1px 0.5em 1px 1em;
    font-size: 11px;
    color: #FFF;
    border-width: 0 1px 0 1px;
    border-style: solid;
    border-color: #000;
    }

ul#nav li ul li.bottom {
    padding: 1px 0.5em 1px 1em;
    font-size: 11px;
    color: #FFF;
    border-width: 0 1px 1px 1px;
    border-style: solid;
    border-color: #000;
    }

ul#nav li > ul {
    top: 40px;
    left: 0px;
}

ul#nav li:hover ul, ul#nav li.over ul { 
    display: block; 
}

ul#nav li ul li a {
    text-decoration: none;
    color:#FFF;
}

ul#nav li ul li a:hover {
    text-decoration: none;
    color:#FFF;
}

div#margin {
    padding: 2px;
    border: 3px solid #000;  
    background: #666;
    width: 994px;
    height: 796px; 
}

div#flash {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #1e4059;
    height: 120px;
    width: 994px;
}

div#mainmenu {
    position: absolute;
    top: 125px;
    left: 5px;
    z-index: 200;
}

iframe.content {
    position: absolute;
    top: 165px;
    left: 5px;
    float: left;
    clear: left;
    height: 636px; 
    width: 852px;
    z-index: 1;
    background: #FFF;
}

ul#sidebar {
    position: absolute;
    top: 165px;
    left: 857px;
    float: right;
    background: url(../images/default/sidebar_bg_1px.png) repeat-x;
    height: 638px;
    width: 142px;
    list-style: none;
}

ul li#news {
    margin: 0 5px;
    height: 174px;
}

ul li#news h1 {
    margin-top: 10px;
    font-size: 12px;
    font-weight: bold;
    width: 100%;
    border-bottom: 1px solid #2D6186;
    margin-bottom: 5px;
}

ul li#news ul {
    list-style: none;
    font-size: 11px;
}

ul li#news ul li{
    padding: 1px 0;
    list-style: none;
    font-size: 11px;
}

ul li#news ul li a {
    text-decoration: none;
    color:#FFF;
}

ul li#news ul li a:hover {
    text-decoration: none;
    color:#FFF;
}

ul li#ad {
    margin: 0 2px;
    height: 110px;
    text-align: center;
    vertical-align: middle;
}

ul li#datetime {
    margin: 0 5px;
    padding: 3px 0;
    border-bottom: 1px solid #2D6186;
    height: 32px;
    text-align: center;
}

ul li#language {
    text-align: center;
    margin: 3px 5px;
    height: 28px;
}

ul li#language img.active{
    padding: 3px;
}

ul li#language img.inactive {
    padding: 5px 0;
}

ul li#guestbook {
    padding: 0;
    margin: 3px 5px 0 5px;
    height: 42px;
    text-align: center;
    border-top: 1px solid #2D6186;
}

ul li#guestbook a{
    border: 0;
    padding: 0;
    margin: 0;
    }
