body {
    font-size: 100%;
    background: #009ad6;
    color: black;
}

a:hover
{
   /*background-color: #9999ff;*/
    background-color: orange;
}

/* ------------ title related styles ----------*/

.title_box {
    background: white;
    margin: 0 auto;
    width: 800px;
    background-image: url('bg.png');
}

.title_top div {
   background: url(title_corner_tl.png) no-repeat top left;
}
.title_top {
   background: url(title_corner_tr.png) no-repeat top right;
}
.title_bottom div {
   background: url(title_corner_bl.png) no-repeat bottom left;
}
.title_bottom {
   background: url(title_corner_br.png) no-repeat bottom right;
}

.title_top div, .title_top, 
.title_bottom div, .title_bottom {
   height: 15px;
   font-size: 1px;
}

#title 
{
    background-image: url('logo2.png');
    background-repeat: no-repeat;
    padding-left: 20%;
    padding-top: 15px; 
    color: #222288;
    float: left;
    margin: 10px 10px 10px 10px;
}

#title h1 
{
    font-size: 200%;
}

#language
{
   margin-left: 85%;
   padding-top: 7px;
   font-size: 75%;
}

#language a:link
{
   /*background: white;*/
   text-decoration: none;
   border: none;
}

#language img
{
  border: none;
}

.logo 
{
    padding-left: 20px;
}

/* ----------- the main content pain ------------- */

.content_box {
    background: white;
    margin: 0 auto;
    width: 800px;
}

.content_top div {
   background: url(content_corner_tl.png) no-repeat top left;
}
.content_top {
   background: url(content_corner_tr.png) no-repeat top right;
}
.content_bottom div {
   background: url(content_corner_bl.png) no-repeat bottom left;
}
.content_bottom {
   background: url(content_corner_br.png) no-repeat bottom right;
}

.content_top div, .content_top, 
.content_bottom div, .content_bottom {
   height: 15px;
   font-size: 1px;
}
.rounded_content { margin: 0 15px; }

#mainpane {
    width: 750px;
    min-height: 520px;
}


#mainbody {
    border: none;
    font-size: small;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    /*padding: 0% 1% 0.1% 1%;*/
    margin: 1% 1% 0% 0.2%;
    width: 460px;
    float: right;
    color: black;
    text-align: justify;
    min-height: 550px;
}

#mainbody h2
{
    color: #669999;
}

#mainbody dl 
{
    line-height: 140%;
    margin-bottom: 1em;
}

#mainbody dd 
{
    margin-left: 1em;
    font-size: small;	
}
	
#mainbody dt 
{
   font-weight: bolder;
}
	
#mainbody oli
{
    font-style: italic;
    line-height: 140%;
}

#mainbody li
{
    padding-top: 1%;
    /*list-style: none;*/
}

.mainbody_image
{
    padding-top: 20px;
    padding-bottom: 20px;
}

/*NAVIGATION BAR*/

#nav {
    border: none;
    font-size: 95%;
    font-weight: bold;
    padding-left: 20px;
    padding-top: 13px;
    width: 245px;
    height: 481px;
    float: left;
    margin-right: 2px;
    margin-left: 0px;
    background-color: #426d84;
    background-image: url('waves12.jpg');
    background-repeat: no-repeat;
    color: white;
} 

#nav ul{
    color: white;
}
#nav li {
    padding-top: 0.3em;
    list-style-type: none;
    margin: 0% 0% 0% 0%;
}
#nav a {
    color: #FFFFFF;
    text-decoration: none;
}
#nav ul a {
    padding: 1px 4px 1px 0px;
}
#nav a:hover, #nav a:active, #nav a:focus {
    color: white;
    /*background-color: #66BBBB;*/
    background-color: #FF6600;
}

#nav_level2 ul {
    padding: 0% 0% 0% 2%;
    margin: 0% 0% 0% 0%;
    color: red;
}

/* photo gallery image */

#mainimg img {
    padding: 5px 5px 5px 5px;
    width: 475px;
    /*max-height: 500px;*/
    border-color: gray;
    border-width: thin;
    border-style: none;
}

#mainimg a:link a:visited {
    border-style: none;
}


#previmg {
    /*float: left;*/
    margin-top: 15px;
    padding: 5px 5px 5px 5px;
    width: 150px;
    border-style: solid;
    border-width: thin;
    border-color: gray;
}

#previmg img {
    border-style: none;
}

#previmg a:link {
    border-style: none;
}

#nextimg {
    /*float: right;*/
    margin-left: 200px;
    margin-top: 15px;
    padding: 5px 5px 5px 5px;
    border-style: solid;
    border-width: thin;
    border-color: gray;
}

#nextimg img {
    border-style: none;
}

#nextimg a:link {
    border-style: none;
    text-decoration: none;
}

#index {
    padding-bottom: 6%;
}
/* ---------- page footer ------------- */

#footer {
    color : #999999; 
    font-size: 0.75em;
    padding-top: 6px;
    margin: 0 0 0 196px;
    clear: both;
}
#footer p {
    margin: 0;
}

#w3c
{
    margin: 0 auto;
    width: 800px;
    margin-top: 1.5%;
}

.img_container ul
{
    float: left;
    list-style-type: none;
    border-width: thin;
    border-color: gray;
    border-style: none;
    width: 120px;
    height: 100px;
    padding: 1% 1% 1% 1%;
    margin-right: 10px;
}

.img_container img
{
    margin-left: 10%;
    margin-right: 10%;
    border-width: 1px;
    border-color: black;
}

/*.img_container a:link,a:visited
{
    border-style: none;

    color: gray;
}
*/

.img_container a:hover
{
    background-color: white;
    text-decoration: none;
    border-color: orange;
    border-width: 2px;
}

.img_title
{
    padding-left: 10%;
    padding-right: 10%;
    text-align: left;
    border-width: thin;
    border-color: black;
}

