/* 
 * Tyylit näytölle
 * (c) Atadone, Marko Myllymäki <etunimi.sukunimi@atadone.fi>
 */

body,
html { 
  margin:0;
  padding:0;
  background:#252e72;
  background-image: url("img/tausta.gif");
  font-family: "Verdana", sans-serif;
}

body { 
  min-width:900px;
}

#wrapper {
  width:900px;
  margin:0 auto;
  color: #ffffff;
  background:#5772b5;/*5b7fdb;*/
  background-image: url("img/wrapper_tausta.jpg");
  background-repeat: repeat-y;
  /*border-right: 2px solid #000;
  border-bottom: 2px solid #001;*/
  -moz-box-shadow: 0px 0px 5px 5px rgba(0,0,0, 0.25);
  -webkit-box-shadow: 0px 0px 5px 5px rgba(0,0,0, 0.25);
   box-shadow: 0px 0px 5px 5px rgba(0,0,0, 0.25);
}

#menu { 
  color: #000;
  float: left;
  width: 190px;
  margin: 0px;
  padding: 20px 5px 5px 22px;
  font-family: "Arial", sans-serif;
  font-size: 90%;
}

#header {
  background-color: #fff;
  color:#000;
/*  background-image: url("img/header_bg.png");*/
  background-image: url("img/vesi_headeriin.jpg");
  background-repeat: repeat-y;
  border-bottom: 2px solid #eee;
  text-align: left;
  font-family: "Arial", sans-serif;
  font-weight: bold;
  padding: 0.5em 1em;
}

#header p.name {  
  font-size: 18pt;
  font-family: Times New Roman,serif;
  font-style: italic;
  font-weight: bold;
  
}

#footer {
  position: relative;
  clear: both;

  height: 50px;
  margin: 0;
  padding: 0;
  
  border-top: 1px solid #200;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;

  color: #000000;
  background-color: #dae1f3;
  background-image: url("img/header_bg.png");
/*  background-color:#ffffff;
  background-image: url("images/footer_bg.png");*/
}

#footer p.copy_left { 
  color: #005;
  font-size: 80%;
  margin-top: 0.3em;
  position: absolute;
  bottom: 0.5em;
  left: 2em;
 }

#footer p.copy_left a { 
  color: #000;
}

#footer p.copy_right { 
  color: #fff;
  font-size: 70%;
  margin-top: 0.3em;
  position: absolute;
  bottom: 0.5em;
  right: 2em;
 }

#footer p.copy_right a { 
  color: #fff;
}

#menu ul { 
  margin: 2px 0 0 0; /* 0 **/
  padding: 0;
  list-style-type: none;
  line-height: 1.3em;
  font-weight: bold;
}

#menu ul ul #active, #menu ul ul li a { 
  border-top: 1px solid #e8f0ff;
  border-bottom: 0;
  margin: 0 0 0 0; /* 0 **/
  padding: 0em 1em;
  line-height: 1.3em;
}

#special_menu { 
  margin-top: 2em;
  margin-bottom: 2em;
  line-height: 1.1em;
  font-size: 80%;
}

#menu li a {   
  margin: 2px 0 0 0; /***/
  display: block;
  line-height: 1.3em;
  
}

#menu a:link, #menu a:visited {  
  margin: 2px 0 0 0; /***/
  display: block;     
  color: #fff;
  text-decoration: none; 
}

#menu a:hover {  
  margin: 2px 0 0 0; 
  color: #000;
  background-color:#6c8ad7; 
  text-shadow: none;
}

#menu ul {  
  padding-bottom: 2em;
}

#menu ul li  {  
  margin: 2px 0 0 0; 
  display: inline;
  text-shadow: 1px 1px 1px #339;
}

/* menu active elements highlighting */
#menu ul .active {  
  margin: 1px 0 0 0; 
  display: block;
  color: #000;
  background-color:#5f7bc4; /*a0a0ff;*/
  text-shadow: none;
}

#menu ul .active ul {    
  margin: 1px 0 0 0; 
  display: block;
  color: #000;
  background-color:#6c8ad7; /*a0a0ff;*/
  text-shadow: none;
}

#header img { 
  padding: 0px 10px 0px 0px;

}
/***
#header h1 { 
  margin: 0px 0px 5px 0px;
  border-bottom-style: solid;
  border-width: 2px;
  padding: 0px 10px 5px 5px;
}
***/

#content { 
  float: right;
  width: 660px;
  min-height: 500px;
  margin: 0px;
  padding: 5px 10px 30px 10px;
  color: #000;
  background-color: #fff;
}

* html #content {  
  /* The IE fix - \*/
  height: 500px;
  /* Keep this here! */ 
}

#footer p {  
  position: absolute;
  margin: 0px;
/*)  border-top-style: solid;
  border-color: #e8f0ff;
  border-width: 2px;
*/
  padding: 1em 1em;
  color: #204080;
  font-size: 80%;
  bottom: 10px;
}

#footer #logos {  
  position: absolute;
  right:12px;
  bottom:7px;
}

#footer img {  
  border: none;
}

/* Sisältöalueen tyylit */

#content { 
  position: relative;
  font-family: Verdana, sans-serif;
  font-size: small;

  background-color:#ffffff;
  background-image: url("images/content_grad.png");
  background-position: right;
  background-repeat: repeat-y; 

}

#content p {  
  font-family: Verdana, sans-serif;
}

#content #last_update { 
  position: absolute;
  bottom:1px;
  right:10px;
  color:#204080;  
  font-size: x-small;
}

#content a, #footer a {
  text-decoration: none;
  color: #1f529f; /*005be5;*/
  /* border-bottom: 1px dotted #ddd; */
  background: none;
}
#content a[href^="mailto"] {  
  border-bottom: 1px dotted #ccc;

  padding-right: 25px;
  background: url(img/email.png) bottom right no-repeat; 
}

#content a:hover[href^="mailto"] {  
  border-bottom: 1px solid #aaa;

  padding-right: 25px;
  background-color: #f0f5ff;
  background-image: url(img/email_go.png); 
  background-position: bottom right;
  background-repeat: no-repeat; 
}

#content a:visited, #footer a:visited {
  color: #402b98;
}
#content a:active, #footer a:active {
  color: #402b98;
}

#content a:hover {  
  border-bottom: 1px dotted #5050a0;
  background: #f0f5ff;
}

#content h1, h2, h3, h4 { 
  color: #204080; 
  font-weight: bold;
  font-family: Arial, sans-serif;
}

#content h1 { 
  font-size: 140%;
  text-shadow: 4px 4px 6px #aaa;
}

#content h1.tiedotteet {  
  
}

#content h2 { 
  font-size: 130%;
  text-shadow: 4px 4px 6px #bbb;
}

#content h3 { 
  font-size: 110%;
  text-shadow: 4px 4px 6px #bbb;
}

#content h4 { 
  font-size: 100%;
  text-shadow: 4px 4px 6px #bbb;
}

#content ul { 
  margin: .1em 0 0 1.3em;
  padding: 0;
  line-height: 1.4em;
  list-style-type: square;
  list-style-image: url("images/square.gif");
}

#content li
{ 
  margin-bottom: 0.3em;
  padding-bottom: 0px;
}

#content img.right {  
  float:right;
  margin:0em 1em 1em 1em;
  border: solid 1px #ccc;
  padding: 2px;
}

#content img#big_img {  
  float:left;
  margin:0em 1em 1em 0em;
  border: solid 1px #ccc;
  padding: 2px;
}

#content a img  { 
  border: none;
}

/* Galleria-osuus: */

#content div.loading  { 
  
}

#content div.thumbs  { 
  position: relative;
  border: solid 1px #ccc;
  background-color: #eee;
  padding: 2px;
  margin: 0px;
  text-align: center;
  vertical-align: middle;
  float: left;
}


#content div.thumbs div { 
  display: inline;
  float: left;
  text-align: center;
  vertical-align: middle;
  margin-left: 5px;
}

#content div.thumbs div.arrow { 
  float: left;
}

#content div.thumbs div.empty_clear { 
  clear: both;
}


#content div.thumbs div a { 
  float: left;
}

#content div.thumbs div a:hover { 
  border: none;
  background-color: #aaa;
}



#content div.thumbs div div.thumb_num  { 
  font-size: 75%;
  clear: both;
  text-align: center;
}


#content img.th {  
  border: solid 1px #ccc;
  padding: 2px;
  margin: 2px;
  background-color: #fff;
} 

#content img.left {  
  float:left;
  margin:0.5em 1em 1em 0em;
  border: solid 1px #ddd;
  padding: 2px;
}

#content img.icon {  
  margin:0;
  border: 0;
  padding: 0;
  position: relative;
  bottom: -4px;
}

/* Sisältöalueen lomakkeet */

#content form {
  line-height: 1.4em;
  margin-bottom: 4em;
}

#content form p {  
  margin-top: 0.7em;
  margin-bottom: 0.7em;
}

#content form label { 
  display: block;
  float: left;
  margin-right: 0.5em;
  width: 8em;
  text-align: left;
}  

#content form input { 
  border: 1px solid #8595bf;
  padding:1px;
  background-color: #e8f0ff;
  color: #781351;
}  

#content form textarea { 
  border: 1px solid #8595bf;
  padding:1px;
  background-color: #e8f0ff;
  color: #781351;
}  

#content form input:focus, #content form textarea:focus {  
  background-color: #f0ffff;
}

#content p .note, #content form p sup {  
  color: #a01020;
}

#content form .submit input { 
  border: 1px outset #c5d5ff;
  color: #000;
  background-color: #e8f0ff;
}

#content form .submit input:hover { 
  background-color: #f0ffff;
  color: #333;
}

#content form fieldset { 
  border: 1px solid #c5d5ff;
  padding: 1em 1em;
}

#content form legend { 
  padding: 2px 10px;
  color: #000;
  background-color: #e8f0ff;
}

#content #warning {  
  color: #a02010;
  background-color: #ffffe0;
  font-weight: bold;
}

#content dl dt { 
  padding-top: 0.3em;

  color: #204080; 
  font-weight: bold;
  font-family: Arial, sans-serif;
}

.info_first {  
  font-size: 75%;
  float: left;
  width: 12em;
  text-align: center;

  border-bottom: 1px solid #475a8d;
  border-right: 1px solid #475a8d;
  background-color: #778abd;/*80b0f0;   background-color: #5080d0; */

  background-image: url("img/info_kulma.gif");
  background-position: top left;
  background-repeat: no-repeat;
  
  padding: 1em;
  margin: 1px;
}


.info {  
  font-size: 75%;
  float: left;
  width: 12em;
  text-align: center;


  border-bottom: 1px solid #475a8d;
  border-right: 1px solid #475a8d;


  background-color: #778abd;/*80b0f0;   background-color: #5080d0; */
  padding: 1em;
  margin: 1px;

}

#content .info_right {  
  float: right;
  border: 1px solid #c5d5ff;
  padding: 10px;
  margin: 10px;
  background-color: #e0f0ff; 
}

#content .news {  
  border: 1px solid #c5d5ff;
  padding: 0 5px 0 5px;
  margin: 1em 0;
  background-color: #e0f0ff; 
  width: 80%;
}

#content .news h2 { 
  font-size: 100%;
  font-weight: bold;
}

#content .news .more_info { 
  color: #246;
  border-top: 1px solid #c5d5ff;
}

#content .news .close {  
  border: 1px solid #c5d5ff;
  position: relative;
  top: 5px;
  right: 1px;
  display: inline;  
  float: right;
  padding: 0 4px;
  font-weight: bold;
  color: #000;
  background-color: #f0f0ff; 
}

#content dl dd { 
  padding-top: 0.3em;
  padding-bottom: 0.5em;
}

#content table {
/*  width: 100%;*/
  border-width: 1px;
  border-style: solid;
  border: 1px solid #d8e0ef;
  margin: 10px 0px;
  padding: 0;
  border-collapse: collapse;
}

#content td {
  margin: 0;
  border: 1px solid #d8e0ef;
  padding: 2px;
  font-weight: normal;
  text-align: left;
}

#content th {
  text-align: left;
  border: 1px solid #d8e0ef;
  background-color:#e8f0ff;
  margin: 0;
  padding-left: 2px;

  color: #204080; 
  font-weight: bold;
  font-family: Arial, sans-serif;
}

#content em {  
  color: #002050; 
}

.side_info {  
/*  border-top: 1px solid  #555555;
  border-bottom: 1px solid #555555;
*/

  font-size: 75%;
  text-decoration: none;
  color: #b0c0ff;
  background-color:#0000f0;
}

.info_emph {  
  font-size: 200%;
  font-weight: bold;
}

.info_note {  
  font-size: 150%;
  font-weight: bold;
  text-shadow: 2px 2px 2px #338;
}

#content p.note {  
  color: #208080; 
  font-weight: bold;
}

#content p.error {  
  color: #901020;
  font-weight: bold;
}

/* xxx logotyylit... */
.logot  {  
  padding-top: 1em;
  position: absolute;
  bottom: 1em;
  left: 1em;
}

.bottom_margin { 
  margin-top: 40px;
 
}

/* xxx IE ongelma? */
.logot p + p {  
  margin-left: 3em;
}

.logot img {  
  border: none;
  position: relative;
  bottom: -10px;
}




/* Hallitussivun erityiset tyylit */

#content table.committee { 
  width: 100%;
}

#content .committee_image {  
  width: 100px;
  height: 136px;
  text-align: center;
  vertical-align: middle;
}

#content .committee_image img { 
  padding: 1px;
  border: 1px solid #ddd;
}

#content td.committee_name, #content td.committee_contact { 
  padding-left: 2em;
}

#content .member_list_navi {  
  border: 1px solid #ddd;
  padding: 0.5em 1em 1em 0.5em;
}

#content .company_search {  
  border: 1px solid #ddd;
  padding: 0.5em 1em 1em 0.2em;
}

#content .company_search form {  
  margin: 0.2em 0;
  display: inline;  
}

#content .company_search  p {  
  display: inline;  
}

/* Jäsentaulukoiden leveydet th:n avulla */

#content th.name {  
  width: 20em;
}

#content th.contact {  
  width: 13em;
}

#content th.business {  

}

/* Tapahtumakalenterin ja uutistiedotteiden tyylit */

#content .calendar {  

}

#content table.calendar {  
  margin-top: 0;
  font-size: 90%;
  border: none;
/*  width: 50%;*/
}

#content table.calendar td {  
  border: none;
  font-weight: bold;

}

#content table.calendar .date {  
  color: #202050;
  font-weight: bold;
  padding-right: 0.5em;
}

.near-top {  
  padding-top: 0;
  margin-top: 0;
}




