body {
	font-family: helvetica, arial, sans-serif;
	font-size: 1.1em;
	background-image:url('../images/bacci.jpg'); background-attachment:fixed; background-size:100% 100%; background-repeat:repeat-x; 	
	margin: 0;
	padding: 0;
}

#wrapper {
	border:1px solid #def; -webkit-box-shadow: 5px 5px 5px #888888;-moz-box-shadow: 5px 5px 5px #888888;box-shadow: 5px 5px 5px #888888;
	margin: auto;
	text-align: left;
	width: 65%;
	margin-top: 5px;
	margin-bottom: 5px;
	border-radius: 10px;
	-moz-border-radius: 10px;
	padding:5px;
	overflow:hidden;
}

@media (max-width: 1280px) {
	#wrapper {
		width: 98%;
	}
}

#wrapper, #header, #content, #footer, #menu, #slider, #logo{
	background-color: #ffffff;
}

#body, #header, #footer{
	width: 100%;
	margin: auto;
}

#header {
	height: 25%;
	float: left;
	margin: auto;
	padding:1px;
}

#menu{
	overflow:hidden;
	border: 1px solid;
}

#content{
	clear:both;
	min-height: 1200px;	overflow: auto;
}

#logo{
	width: 50%;
	height: 100%;
	float: left;
	
	position: relative;
	vertical-align: middle;
	

}
img.logoimage{  max-width: 70%}

#slider{
	float: left;
	width: 47%;
	padding: 10px;
	height: 100%;
	max-height: 300px;
	margin: auto;
	position: relative;	
	 display:block;
	 
}

#footer1, #footer2{
	width: 50%;
	float: left;
}
#footer3{
	width: 80%;
	float: left;
}

a,a:visited{
	color: #342304;
	
}
a:hover{
	color: black;
    background-color:yellow;
    
}

a.menuISO{
	text-transform:uppercase;
	font:bold 12px Verdana, Arial, sans-serif;
}

a.menuPIENI{
	font:bold 10px Verdana, Arial, sans-serif;
	margin-left:0px;
}


th, td {
	font-size: 14px;
}
td.paivitykset{
	font-size: 10px;
}

img { 
	border: 1px;
	
	
	}


#fb-root{
	position: relative;
	left: 0px;
	top: 0px;
	width: 630px;
	background-color:white;
}



h1 {
	font-size: 25px;
	color: black;
	margin-bottom: 15px;
	margin-left: 5px;
}

h2 {
	font-size: 22px;
	color: black;
	margin-bottom: 15px;
	margin-left: 5px;
}

h3 {
	font-size: 18px;
	color: black;
	margin-bottom: 15px;
	margin-left: 5px;
}
h4 {
	font-size: 16px;
	color: black;
	margin-bottom: 15px;
	margin-left: 5px;
}

.block {
	display: block;
}

.clear {
	clear: both;
	height: 2px;
	padding-top: 0;
	margin-top: 0;
	margin-bottom: 3px;
	font-size: 1px;
}

.left {
	float: left;
	margin: 1px 8px 0px 0px;
}


#content p {
	margin: 1em 0;
	padding: 0;
}





font.virhe{
	color: red;
	font-size: 9px;
}

div.taulu{
	position:relative; 
	top:10px; 
	left:10px; 
	width:395px; 
	height:480px;
	background: url(images/messageboard.jpg);
	color: black;
	font-size: 14px;
	font-weight: bold;
	text-align: left;
	padding-left: 50px;
}
div.taulu_inner{
	position:relative; 
	top:10px; 
	left:35px; 
	width:350px; 
	font-size: 12px;
	height:480px;
}


div.tumma, td.td_tumma{
	background: #5d5d5d;
	color: white;
	font-size: 19px;
	text-align: center;
	text-transform: uppercase;
}
td.td_vaalea{
	background: #5d5d5d;
	color: white;
	font-size: 17px;
	text-align: center;
}
td.td_sisa{
	font-size: 13px;
	vertical-align: top;
}


/*######## Smart Green ########*/
.smart-green {
    margin-right:auto;
    max-width: 500px;
    background: #F8F8F8;
    padding: 30px 30px 20px 30px;
    font: 12px Arial, Helvetica, sans-serif;
    color: #666;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
.smart-green h1 {
    font: 20px "Trebuchet MS", Arial, Helvetica, sans-serif;
    padding: 10px 0px 10px 20px;
    display: block;
    margin: -10px -10px 10px -10px;
    color: #FFF;
    background: #9DC45F;
    text-shadow: 1px 1px 1px #949494;
    border-radius: 5px 5px 0px 0px;
    -webkit-border-radius: 5px 5px 0px 0px;
    -moz-border-radius: 5px 5px 0px 0px;
    border-bottom:1px solid #89AF4C;

}
.smart-green h1>span {
    display: block;
    font-size: 11px;
    color: #FFF;
}

.smart-green label {
    display: block;
    margin: 0px 0px 5px;
}
.smart-green label>span {
    float: left;
    margin-top: 10px;
    color: #5E5E5E;
}
.smart-green input[type="text"], .smart-green input[type="email"], .smart-green input[type="password"], .smart-green textarea, .smart-green select {
    color: #555;
    height: 30px;
    line-height:15px;
    width: 100%;
    padding: 0px 0px 0px 10px;
    margin-top: 2px;
    border: 1px solid #E5E5E5;
    background: white;
    outline: 0;
    -webkit-box-shadow: inset 1px 1px 2px rgba(238, 238, 238, 0.2);
    box-shadow: inset 1px 1px 2px rgba(238, 238, 238, 0.2);
    font: normal 14px/14px Arial, Helvetica, sans-serif;
}
.smart-green textarea{
    height:100px;
    padding-top: 10px;
}
.smart-green select {
    background: url('down-arrow.png') no-repeat right, -moz-linear-gradient(top, #FBFBFB 0%, #E9E9E9 100%);
    background: url('down-arrow.png') no-repeat right, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FBFBFB), color-stop(100%,#E9E9E9));
   appearance:none;
    -webkit-appearance:none;
   -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    width:100%;
    height:30px;
}
.smart-green .button {
    background-color: #9DC45F;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-border-radius: 5px;
    border: none;
    padding: 10px 25px 10px 25px;
    color: #FFF;
    text-shadow: 1px 1px 1px #949494;
}
.smart-green .button:hover {
    background-color:#80A24A;
}

#rcorners1, .rcorners1 {
    border-radius: 25px;
    background: #73AD21;
    padding: 10px;
	margin: 3px;
	width: 90%;
	color: black;
}

p.tapahtumaotsikko{
	color: black;
	font-size: 14px;
	font-weight: bold;	
	text-transform:uppercase;	
}



#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: transparent;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: white;
}