/* Colours:
   gray #333
   green #50a400
   background green #5bb319
   transformed background green #6ebf21
   transformed background green2 #73c433
   light green #d1f6ba
   dark green #3e7e00 */

/* Browser reset */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: top;
}
img{
	margin: 0;
	padding: 0;
}
#contentcenter img{
    margin: 0 0 10px 20px;
}
h1, h2, h3, h4, h5, h6, p, ul, li, blockquote, table {
  font-weight: normal;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: "";
}

ul, ol {
  list-style-type: none;
  list-style: none;
  list-style-image: none;
}

blockquote, q {
	quotes: "" "";
}



/*** General ***/

html, body {
  height: 100%;
}
body {
  text-align: center;
  font-family: "Lucida Grande", Calibri, Verdana, Arial, Helvetica, sans-serif;
  font-size: smaller;
  color: #333;
  background: #73c433;
}
#admin{
    background: #665;
    height: 30px;
    width: 100%;
    text-align: right;
    border-bottom: solid 2px #000;
}
#adminnavi{
    padding: 3px 25px 0 0;
    list-style: none;
    text-align: right;
}
#adminnavi li{
    display: inline;
    margin-left: 20px;
}
#adminnavi li a{
    color: #ccc;
    font-size: medium;
    font-weight: bold;
    text-shadow: #6374AB 1px 1px 2px;    
}
#topnavi li a:hover{
}

#wrapper {
  position: relative;
/*  width: auto;  MUOKATTU */
  width: 1024px;
  margin: 0 50px;
  text-align: left;
}
#header {
  height: 121px;
  width: 100%;
  background: url(/img/bg_taustavalo_center.jpg) #5bb319 0 0 ; /* ISOMPI */
}
#head_left {
	background: url(/img/bg_taustavalo_left.jpg) no-repeat; /* ISOMPI */
	width:40px;
	float:left;
}
#head_right {
	background: url(/img/bg_taustavalo_right.jpg) no-repeat; /* ISOMPI */
	background-position: right top;
    height: 120px;
    float: right;
    width: 780px;
    text-align: right;
}
#logo {
    padding: 20px 0 0 0px;
    width: 400px;
    height: 40px;
}
#logo h2{
    color: #fff;
    margin: 0 0 0 15px;
    font-size: 28px;
}
#logo2 {
    padding: 15px 0 0 15px;
    width: 400px;
    height: 40px;
}
#content {
  height: 100%;
  background: #ffffff;
  float: left;
}
#kuvitus {
  height: 189px;
  width: 1014px;
  margin-top: 39px;
  background: #73c433 url(/img/kuvitus1.jpg) no-repeat 10px 10px;
  background-position: center;
  border-left: solid 5px #FFFFFF;
  border-right: solid 5px #FFFFFF;
}
#kuvitus2 {
  width: 1014px;
  background: #73c433;
  background-position: center;
  border-left: solid 5px #FFFFFF;
  border-right: solid 5px #FFFFFF;
  overflow: hidden;
}
#kuvitus2 div{
  height: 180px;
  min-width: 2019px; /* 1686 * 1.2 + 2*kuvat - 22 | pitaa olla kuvien yht leveys */
  position: relative;
  overflow: hidden;
  border: solid 1px green;
  white-space: nowrap;
}  
#kuvitus2 img{
    border-right: 1px solid #050;
    overflow: visible;
}

#contentleft{
    visibility: visible;
    width: 266px;
    float: left;
    background: #ffffff;
}
#contentleft p{
    padding: 0;
    margin: 0 5px 10px 10px;
}
#contentleft p a{
    line-height: 20px;
}
#contentcenter{
    visibility: visible;
    padding: 0 10px 0 10px;
    background: #fff;
    float: left;
    width: 478px;
}
#contentcenter p {
    margin: 0 10px 0 0;
}

#contentcenter ul{
    padding: 0 0 10px 20px;
    list-style-type: none;
}
#contentright{
    visibility: visible;
    width: 260px;
    float: left;
    background: #ffffff;
}
#contentright #puu{
    text-align: center; 
    width: 220px;
    height: 118px; 
	bottom:-122px;
}
#comments ul{
    list-style: none;
}
#comments textarea, #comments input[type=text]{
    width: 100%;
}
#comments textarea{
    height: 150px;
}
#comments p{
    padding: 5px 0 5px 0;
}


#footer {
  height: 50px;
  width: 100%;
  text-align: right;
  background: #222222; /*url(/img/bg_footer.jpg)*/
  float: left;
  border-top: ridge 3px #a5c557;
}
#footer p{
    position: relative;
    top: 35px;
    color: #ffffff;
    font-size: 10px;
}
#topnavi{
    margin: 25px 0 0 0;
    list-style: none;
    text-align: right;

}
#topnavi li{
    display: inline;
    margin-left: 20px;
}
#topnavi li a{
    color: #fff;
    font-size: medium;
    font-weight: bold;
    text-shadow: #6374AB 1px 1px 2px;    
}
#topnavi li a:hover{
//    text-decoration: none;
}
#vkolink{ /*linkki viikkoteidotteeseen */
    padding: 40px 20px 0 0;
}

.boxtitle{
    margin: 5px 0 5px 0;
    width: 100%;
    background: #5cba23;
    min-height: 26px;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
}
.boxtitle span{
    position: relative;
    left: 5px;
    top: 3px;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -1px;
  color: #50a400;
  margin: 10px 0 5px 20px;
}
p {
    padding: 0 0 10px 20px;
}
p.foot {
    font-size: 10px;
    color: #666;
}
h1 {
  font-size: 200%;
}
h2 {
  font-size: 180%;
}
h2.title {
  font-size: 180%;
}
h3 {
  font-size: 150%;
}
h4 {
  font-size: 125%;
}
h5 {
  font-size: 100%;
  font-weight: bold;
}
h6 {
  font-size: 100%;
  font-style: italic;
}
strong {
  font-weight: bold;
}
em {
  font-style: italic;
}
a {
  color: #50a400;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.politiikka-widget a div{
  background: #5cba23;
}
.ui-state-highlight p {
  color: #ffffff;
  font-weight: bold;
}

.button{
    padding: 2px 5px 2px 5px;
}

.naytakaikki {
}
.naytakaikki a{
    color: #334433;
    font-size: 12px;
}

.form_error{
    border: dashed 1px #ff0000;
}

