/******** GLOBAL PAGE STYLES ********/

* {
  font-family: verdana,helvetica,arial,sans-serif;
  font-size: 13px;
  color: rgb(0, 0, 0);
}

/* 151green.gif colors:
   rgb(225,238,238);
   rgb(210,231,219);
   rgb(207,229,203);
   rgb(220,233,235);
   rgb(235,240,250);
   rgb(223,234,238);
   rgb(231,237,244);

   151orange.gif colors:
   rgb(246,243,244);
   rgb(238,225,225);
   rgb(231,210,222);
   rgb(225,203,229);
   rgb(235,222,220);
   rgb(238,227,223);
   rgb(244,238,231);
   */
body { 
  margin: 0px; 
  padding: 40px 20px 40px 20px; 
  background-image: url("images/151orange.gif");
  text-align: center;
}

/* override the centering in body clause 
   which is for centering the big table in IE) */
body * {
  text-align: left;
}

#layouttable { 
  width: 884px;
  padding: 0px;
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
}

.contentsCell { 
  background-image: url("images_red/border_red-3-2.png");
  background-repeat: repeat;
  padding: 20px 0px;
  /*padding: 30px 100px 10px 100px;*/
}

td { 
  vertical-align: top;
  margin: 0px;
  padding: 0px;
}

/* this image rule applies to the page borders etc
   for images in the actual content, look further down
   for the #content img rule! */
img { 
  display: block;
  margin: 0px;
  border-style: none;
  behavior: url("pngbehavior.htc");
}

img.logo { 
  margin-left: auto;
  margin-right: auto;
}
/******** MENU STYLES ********/

/* div that contains both page and language menus.
   it should float to the left and keep its distance
   from both content and page edge. */
#menu {
  position: relative;
  float: left;
  margin: 0px 10px;
  width: 150px;
  height: 100%;
  border-right: 1px solid silver;  
  padding-right: 20px;
}

/* Menulist inside the menu div, i.e. both 
   actual menu lists. */
#menu ul { 
  top: 30px;
  display: inline;
  list-style: none;
  text-align: center;
  margin: 0px;
  padding: 0px;
}

/* Each item in the menus. */
#menu ul li {
  width: 150px;
  height: 28px;
  text-align: left;
  margin: 4px 0px 0px 0px;
  padding: 0px;
  border: 1px solid gray;
  font-weight: bold;
  background-color: rgb(246,243,244);
}

#menu ul li a { 
  padding: 6px 0px 0px 10px;
  display: block;
  height: 22px;
  white-space: nowrap;
  border-left: 3px solid transparent;
}

#menu ul li:hover {
  background-color: #e8e5e6;
  cursor: pointer;
}

#menu ul li.active a, 
#menu ul li:hover a { 
  border-left: 3px solid #7FA46B;
}

#menu li.submenu { 
  /*display: none;*/
  border-top: 0px;
  border-bottom: 0px;
  border-right: 0px;
  background-color: transparent;
  font-weight: normal;
  margin: 0px;
}

#menu li.submenu:hover { 
  background-color: #f6f3f4;
}

#langmenu li:first-child { 
  margin-top: 20px;
}

/********* LINK STYLES ********/

a:link {
  text-decoration: none;
  color: #7FA46B;
  /*color: rgb(242,18,93);*/
}

a:visited {
  text-decoration: none;
  color: #7FA46B;
  /*color: rgb(234,164,153);*/
  /*color: rgb(118,35,0);*/
}

/******** CONTENT STYLES ********/

#contents {
  margin-left: 180px;
  padding-left: 40px;
  padding-right: 40px;
  min-height: 200px;
}

#contents img.photo { 
  width: 300px;
}

#contents img.left { 
  float: left;
  margin: 5px 10px 5px 0px;
}

#contents img.right { 
  float: right;
  margin: 5px 0px 5px 10px;
}

#contents img.center { 
  margin-left: auto;
  margin-right: auto;
}

#contents img.polaroid { 
  border: 15px solid white;
  border-bottom: 30px solid white;
}

#contents img.blackframe { 
  border: 5px solid black;
}

#contents h1 {
  letter-spacing: 3px;
  word-spacing: 3px;
  font-family:  Verdana, Helvetica, Arial, sans-serif;
  text-align: center;
  color: #7FA46B;
  font-size: 16px;
  /*  font-style: italic;*/
}

#contents h2 {
  border-bottom: 1px solid silver;
  padding-top: 30px;
  font-weight: bold;
  text-transform: uppercase;
}

#contents h3 {
  font-weight: bold;
}

#contents p { 
  text-align: justify;
}

/* use this class for <p> elements where 
   you want the text centered. */
#content p.centered {
  text-align: center;
}

