/* -- Main layout styles -- */

body {
  margin: 1em 1em 1em 1em;
  padding: 0px;
  font-family: verdana, sans-serif;
  font-size: 1.0em; 
  background: #585858 url(../images/bg.jpg);  
} 

#siteBox {
  position: relative;
  width: 900px;
  margin: 0px auto;
  color: #FFF;
}


/* -- Header layout/display styles -- */

#header {
  float: left;
  width: 900px;
  height: 5em;
  background: #585858 url(../images/hdr.jpg) no-repeat bottom left;
}

#header a {
  float: right;
  width: 5em;
  padding: 5px 10px 5px 10px;
  font-size: 0.6em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  color: #FFF;
  background-color: #585858;
  border-bottom: 2px solid #333;
  border-right: 1px solid #333;
  border-left: 1px solid #333;
}

#header a:hover, #header a.active {
  padding-top: 10px;
  background-color: #333;
}

#header a.lastMenuItem {
  background-image: url(../images/corner_tr.gif);
  background-repeat: no-repeat;
  background-position: top right;
  border-right: 0px;
}

a .desc {
  display: none;
  text-transform: lowercase;
  color: #FC0;  
}

a:hover .desc, .active .desc {
  display: block;
}


/* -- Header title and subTitle layout/display styles -- */


.title {
  float: left;
  padding: 1em 5px 0 14em;
  font-size: 1.5em;
  font-weight: bold;
  text-transform: uppercase;
  text-align: right;
  line-height: 0.75em;
  letter-spacing: -0.15em;
  color: #585858;
}

.subTitle {
  display: block;
  font-size: 0.4em;
  text-transform: lowercase;
  line-height: 1.2em;  
  letter-spacing: 0.01em;
}


/* -- Content layout/display styles -- */

#content {
  float: left;
  width: 900px;
  padding: 1em 0 1em 0;
  background-color: #585858;
}

#contentLeft {
  float: left;
  width: 22%;
  margin-bottom: 1em;
  background: #777 url(../images/corner_sub_tr.gif) no-repeat top right;  
}

#contentRight {
  float: right;
  width: 75%;
  background: #777 url(../images/corner_sub_tl.gif) no-repeat top left;
}

#content p {  
  margin: 1.2em 1.2em 2em 1.2em;
  font-size: 0.6em;
  line-height: 1.5em;
}

#content a {  
  text-decoration: none;
  color: #FC0;
  border-bottom: 1px solid #AAA;
}

#content a:hover {
  color: #DDD;
  background-color: #888;
  border-bottom: 1px solid #EEEEEE;
}


.header, .subHeader {
  display: block;
  clear: both;  
  font-weight: bold;
  font-size: 0.9em;
  text-transform: lowercase;
  color: #FC0;
  border-bottom: 1px solid #AAA;    
}

.subHeader {
  border: 0px;
}


/* -- Content left site links (large plus icon) -- */

#content a.menuItem {
  display: block;  
  padding: 5px 0 5px 54px;
  background: url(../images/icn_plus.gif) no-repeat center left;
  border: 0px;
}

#content a:hover.menuItem { 
  color: #DDD;
  background: #888 url(../images/icn_plus_on.gif) no-repeat center left;
  border: 0px;
}


/* -- Footer layout/display styles -- */

#footer {
  float: left;
  width: 900px;
  height: 3em;
  margin-bottom: 1em !important;
  margin-bottom: 0;
  font-size: 0.6em;
  text-transform: lowercase;
  line-height: 2.6em;
  color: #585858;
  background: #585858 url(../images/hdr.jpg) repeat-y top left;
}

#footerLeft {
  float: left;
  width: 50%;
  height: 3em;
  text-align: left;
  background: url(../images/corner_bl.gif) no-repeat bottom left;
}

#footerRight {
  float: right;
  width: 45%;
  height: 3em;
  text-align: right;
  color: #fff;
  background: url(../images/corner_br.gif) no-repeat bottom right;
}

#footer a {
  color: #fff;
}

#footer a:hover {
  color: #666666;
  text-decoration: none;
}

/* -- Display formatting styles -- */

.grey {
  font-size: 0.9em;
  color: #AAA;
}

.white {
  color: #FFF;
}

acronym {
  cursor: help;
  border-bottom: 1px dotted #AAA;
}



/* -- <ul> tag styles -- */

ul{
  font-size: 0.6em;
  padding-top: 5px;
  padding-bottom: 5px;
  list-style-image: url(../images/li_bullet.gif);
}

li {
  margin-left: 50px;
}


/* -- Image alignment classes -- */

.imgLeft, .imgRight {
  margin: 5px;
}

.imgLeft {
  float: left;
  margin-left: 5px;
}

.imgRight {
  float: right;
  margin-right: 10px;
}


/* -- Utility classes to create the bottom rounded corners -- */

.bottomCorner {
  text-align: right;
}

.vBottom {
  vertical-align: bottom;
}

/* -- Lomake -- */
#lomake {
    width: 480px;
	margin: 30px 40px 25px 40px;
}

#lomake label {
    font-size: 1em;
	color: #fff;
}

#lomake fieldset{
	border: 1px solid #FC0;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 10px;
}

#lomake legend {
	font-family: verdana, sans-serif;
	font-size: 0.6em;
	font-weight: bold;
	letter-spacing: 0;
	color: #FC0;
	background: #777;
}

#lomake .kentta {
	font-family: verdana, sans-serif;
    font-size: 1em;
	background: #666;
	border: 1px solid #585858;
}

#lomake .nappula {
    border: 1px solid #FC0;
	background: #666;
	font-family: verdana, sans-serif;
    font-size: 1em;
	color: #FC0;
}

/*-- Left content -boksi -- */
#boksi {
    margin-left: 12px;
	margin-right: 12px;
	font-size: 0.6em;
}

#boksi legend {
	font-family: verdana, sans-serif;
	font-size: 0.9em;
	font-weight: bold;
	letter-spacing: 0;
	color: #FC0;
	background: #777;
}

#boksi fieldset{
	border: 1px solid #AAA;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 5px;
}

/*-- Sivun luontiaika --*/
#aika {
    font-size: 0.6em;
	color: #777;
	text-align: center;
}

/*-- Video -- */
.video {
    padding-right: 20px;
}

/*-- Shuffle --*/
#peli {
    padding: 10px;
}

    .toptable {
        border: 1px solid black;
    }
	
    .img {
        padding-right: 1px;
        border: 0px;
        margin-bottom: 0px;
        padding-bottom: 0px;
    }
