#header {
    position: relative;
    /*background-color: white;*/
    padding: 5px;
    /*width: 590px;*/
}

#top {
    position: relative;
    background-color: gray; /* #036fab; */
    color: white;
    font-size: 14px;
    /*padding-top:5px; /* because of the language flags!*/
    padding: 6px;
    text-align: left;
    margin: 0px 0px 10px 0px;
    height: 20px;
    -moz-border-radius: 4px;
    -webkit-border-radius:4px;
    -ktml-border-radius: 4px;
}

#bottom {
    position: relative;
    /*background-color: white;*/
    padding: 5px;
    text-align:center;
    margin: 10px 0px 0px 0px;
    clear: both;
}

#left {
    float: left;
    margin-right: 20px;
    /*background-color: lightgray; *//* #FFCC77;*/
    padding: 4px;
    width: 150px;
    border: 1px;
    border-style: none;
    border-color: lightgray;
    /*clear: both;*/
    -moz-border-radius: 4px;
    -webkit-border-radius:4px;
    -ktml-border-radius: 4px;
}

#right {
    float: right;
    background-color: #FFCC77; /*#FFCC77;*/
    padding: 5px;
    width: 210px;
    border: 1px;
    border-style: solid;
    border-color: grey;
    -moz-border-radius: 4px;
    -webkit-border-radius:4px;
    -ktml-border-radius: 4px;
}

/* this is NOT the main content! Change .right_content instead! Wim */
.center_content {
    position: relative;
    background-color: white;
    padding: 5px;
}

.left_content {
    background-color: white;
    padding: 5px;
    margin-left: 170px;
}

/* this is the main content! 
Use margin like this:
margin:25px 50px 75px 100px;

    * top margin is 25px
    * right margin is 50px
    * bottom margin is 75px
    * left margin is 100px
*/
.right_content {
    background-color: #FEFFFF;
    padding: 5px;
    padding-left: 30px;
    /*margin: 0px 230px 0px 160px;*/
    margin: 0px 230px 0px 160px;
    -moz-border-radius: 4px;
    -webkit-border-radius:4px;
    -ktml-border-radius: 4px;
}

#top a:link, #top a:visited {
  color: white;
  font-weight : bold;
  text-decoration: none;
}

#top a:link:hover, #top a:visited:hover  {
  color: black;
  font-weight : bold;
  text-decoration : underline;
}

.alignleft {
float: left;
}
.alignright {
float: right;
}

#menu {
    font-size: 12px;
    background: #FFCC77;
    float: left;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 11.5em;
}

#menu ul { /* remove bullets and list indents */
list-style: none;
margin: 0;
padding: 0;
}

#menu li {
    font: 80%;
    margin: 0;
    padding: 0;
}


#menu a, #menu h5 {
    background: #FFCC77  ; /* #FFCC77; */
    color: black;
    display: block;
    margin: 0;
    padding: 7px 18px;
    text-decoration: none;
    /*border-bottom: 1px;
    border-bottom-style: solid;
    border-bottom-color: gray;*/
    /*background-image: url('../images/keskon.jpg');*/
}

#menu h5 {
    color: black;
    background: #FFCC77; /*#FFC077; /* #FFC077; */
    padding: 7px 5px;
    /*text-transform: uppercase;*/
/*
    border-bottom: 1px;
    border-bottom-style: solid;
    border-bottom-color: grey;
    
    border-top: 1px;
    border-top-color: grey;
    border-top-style: solid;*/

}

#menu a:hover {
    background: grey;
    color: #045491;
    /*text-decoration : underline;*/
    padding-bottom: 7px;
}


div.mainmenu {
    position: absolute;
    left:1px;
    top: 1px;
    font-weight: bold;
    z-index: 1;
}

div.mainmenu a {
    margin-left: 10px;
    margin-right: 10px;
}

div.mainmenu p {
    margin-left: 30px;
    margin-right: 30px;
}

div.mainmenu div {
    text-align: center;
}

div.mainmenu a:hover {
    background-color: orange;
    font-weight: bold;
}

div.submenu {
    float: left;
    margin-left: 3px;
}

div.popup a:hover {
    background-color: orange;
    padding: 5px;
}

div.submenu:hover div:first-child {
    border-bottom: none;    
}

div.submenu div.popup {
    display: none;
}

div.submenu:hover div.popup {
    display: block;
    background-color: gray;
    border: solid 1px black;
}


div.submenu div {
    width: 140px;
    background-color: black;
    padding: 4px;
    border:solid 1px black;
    margin-top: 2px;
    -moz-border-radius: 4px;
    -webkit-border-radius:4px;
    -ktml-border-radius: 4px;
    background: black url("/resources/images/button4.jpg") repeat top left;
}

div.popup div, div.popup a {
    display: block;
    text-decoration: none;
    padding: 5px;
}

div.popup div + div, div.popup a + a {
    margin-top:0px;
}

