* { margin: 0; padding: 0; outline: none; }

body {
	font-family: geneva, "Trebuchet MS", helvetica, sans-serif;
	font-size: 0.8em !important;
	color: #000;
	margin-top: 0 !important;
	padding-top: 0 !important;
	background: url('../images/bg.jpg') repeat-x #bc0001 !important;
}

.contact{
    position: fixed;
    top: 90px;
    right: 0px;
    z-index: 101;
    }


#background {
    width: 100%;
    display: table;
}

/* Yleiset perusmuotoilut */

h1, h2, h3, h4 { 
	color: #1E1E1E; 
	font-family: 'Ruluko', sans-serif;
}

h1 {
	font-size: 1.8em;
  margin: 10px 0 8px;
  border-bottom: 1px solid #E9E9E9;    
}

h2 {
	font-size: 1.4em;
  margin: 10px 0 8px;	
}    
   
h3 {
	font-size: 1.4em;
}    

h4, h5, h6 {
  font-size: 1.2em;
  font-weight: bold;  
}     
            
p {
  font-size: 1.1em;
	margin: 0 0 1em 0;
}

ol {
    margin: 0.5em 1em;
    line-height: 1.5em;
}

blockquote {
	padding-left: 20px;
}

a {
	text-decoration: none;
	color: #bc0001;
}

a:hover {
	color: #ff9900;
}

table{
  border-collapse: collapse;
}

table td{
  vertical-align: top;
  padding: 3px 3px;
}
       
hr {
	height: 1px;
	border: 0;
	border-bottom: 1px dotted #333;
	margin: 2em 0;
	background: transparent;
}

img {
  border: 0px;
}    
 

ul {
    margin-left: 25px;
    }

#slider ul {
    margin-left: 0px;
    }
    
.clear{
    clear: both;
    }    
        
/* alla olevalla tavalla buttonin halutaan näkyvän kaikilla selaimilla samalla tavoin*/
/* käytetään <button type="submit">sana</button> tagia */
button{
    margin:0 7px 0 0;
    background-color:#4e92dc;
    font-size: 10px !important;
    border: 1px solid #4e92dc;    
    line-height:130%;
    text-decoration:none;
    font-weight:bold;
    text-transform: uppercase;
    color:#FFFFFF;
    cursor:pointer;
    -moz-border-radius: 5px;
    border-radius: 5px;    
}

button{
    width:auto;
    overflow:visible;
    padding:4px 10px 3px 7px; /* IE6 */
}

button[type]{
    padding:4px 10px 4px 7px; /* Firefox */
    line-height:17px; /* Safari */
}

*:first-child+html button[type]{
    padding:3px 10px 2px 7px; /* IE7 */
}
       
.error{
    color: red;
}    

/* Header-osan muotoilut */


#header {
	width: 1100px;
	height: 305px;
	display: block;
	margin: 0 auto;
	text-align: left;
	font-size: 0.8em;
	color: #bc611a;
	background: url('../images/header2.png') center top no-repeat transparent;
	position: relative;
	}

        
/* Breacrumbs*/
.breadcrumbs{
    width: 100%;
    height: 15px;
    text-align: right;
    font-size: 0.8em;
    color: #767676;
    }     

.breadcrumbs a {
    color: #767676;
    text-decoration: none;
    }     

.breadcrumbs a:hover {
    color: #595959;
    text-decoration: none;
}
                                            
/* Lomakkeet */

form div {margin: 0 0 5px;}
form div.captcha {height: auto;}
form p {display: inline-block; margin: 0 !important;}

label {display: inline-block; width: 150px;}
textarea {vertical-align: top;}

input {width: 200px; padding: 3px;}
textarea {width: 400px; height: 200px; padding: 3px;}
.captcha {padding-left: 150px;}
input[type=submit] {margin-left: 150px;}



div#header h2 {
	margin-top: 0;
	font-weight: bold;
}

div#header div#welcome {
	width: 333px;
	height: 157px;
	float: left;
	padding: 10px;
	margin: 105px 0px 0px 200px;
	color:#fff;
	font-size:1.2em;
}

div#header div#welcome a.facebook {
 color:#ff9900;
 font-weight:bold;
}

div#header div#welcome a.facebook:hover {
 color:#ffc600;
 font-weight:bold;
}

div#header img {
	float: left;
	margin-top: 109px;
}

/* PÄÄNAVI */

ul.nav1 {
	width: 750px;
	height: 17px;
	overflow: hidden;
	margin: 0px;
	padding: 0 0 5px 0;
	list-style-type: none;
	clear: both;
	text-align: center;
	color: #bc0001;
	background: #fff;
	font-family: 'Ruluko', sans-serif;	
}

ul.nav1 li {
	height: 17px;
	float: left;
	text-align: left;
	color: #bc0001;
}

ul.nav1 li a {
	height: 17px;
	line-height: 17px;
	display: block;
	padding: 0 8px 0 8px;
	border-left: 3px solid #bc0001;
	font-weight: normal;
	color: #bc0001;
	background: #fff;
	font-size: 1.3em;
}

ul.nav1 li a.active {
	border-left: 3px solid #7e0c0e;
	border-bottom: 0;
	color: #7e0c0e;
	font-weight: bold;
}

ul.nav1 li a:hover {
	border-left: 3px solid #1f9bc9;
	border-bottom: 0;
	color: #1f9bc9;
}


/* ALANAVIT */

ul.nav2 {
    margin-left: 0px;
    margin-top: 10px;
    color: #bc0001;
	font-family: 'Ruluko', sans-serif;	
}

ul.nav2 li {
    display: block;
    padding: 3px 3px 3px 8px;
    margin-bottom: 1px;
}

ul.nav2 li a {
    font-size: 1.2em;
}

ul.nav2 li a:hover, ul.nav2 li.active2 a{
    color: #ff9900;  
}



ul.nav3 {
    margin-left: 5px;
}

ul.nav3 li a {
    font-size: 1.1em;
    color: #bc0001 !important;
}

ul.nav3 li.active3 a{
    color: #ff9900 !important;  
}

/* RAKENNEJUTTUJA */
div#wrapper {
	width: 1100px;
	margin: 0 auto 15px auto;
}

div#container {
	width: 741px;
	padding: 0 15px 15px 15px;
	margin: 0 0 0 143px;
	text-align: left;
	font-size: 0.9em;
	background: #fff;
}

div#container.wide {
	background-image: none !important;
}

div#container h2 {
	letter-spacing: 1px;
}


div#sidebar {
	width: 180px;
	padding: 0 10px 0 0;
	border: 0;
	float: left;
}



div#sidebar h2 {
    margin-top: 20px;
    padding-top: 5px;
    color: #ff9a02;
}

div#container div#sidebar label {
	width: 80px;
}

div#container div#sidebar input {
	width: 150px;
}

div#container div#sidebar input[type="submit"] {
	margin-left: 80px;
}

div#container div#sidebar img.esittely {
	padding-right: 5px;
	margin-right: 5px;
	border-right: 5px solid #fdc66c;
	float: left;
}

div#content {
	width: 550px;
	float: right;
	background: transparent;
}

div#footer {
	width: 771px;
	clear: both;
	text-align: center;
	margin: 0 0 0 143px;
	font-size: 0.8em;
	padding: 0px 0 0 0;
	/*border-top: 1px solid #fdd189;*/
	background: #fff;
}

div#footer a {
	color: #fff;
}

div#footer p {
 color:#fff;
 background-color:#cc0001;
 width:751px;
 margin-left:10px;
}



.clear {
	visibility: hidden;
	clear: both;
}

/* KALENTERIN CSS */

.kalenteri {
    border-collapse: collapse;
    width: 300px;
}

.kalenteri caption {
  font-weight: bold;
  padding: 1px;
  border-bottom: 2px solid #C4B9A4;
}

  /* Edellinen / Seuraava */
  .kalenteri caption span {
    font-weight: normal;
    text-align: left;
  }

  .prev {
    float: left;
    width: 73px;
    margin-top: 5px;
    cursor: pointer;
  }  

  .next {
    float: right;
    width: 70px; 
    margin-top: 5px;   
    cursor: pointer;
  } 
  
  .prev:hover {
      font-weight: bold;
  }  

  .next:hover {
    font-weight: bold;
  }   
  
  .month{
      font-size: 1.4em;
      }   
    
.kalenteri th {
    padding: 5px 0px 5px 0px;
    text-align: center;
}

.kalenteri td {
    padding: 0px 0px 0px 0px;
    text-align: center;
}

.kalenteri th {
    font-weight: normal;
    background-color: #FFFFFF;
    border-bottom: 2px solid #C4B9A4;    
    font-size: 0.9em;
}

.kalenteri td {
    width: 26px;
    height: 26px;
    border-right: 1px solid #C4B9A4;
    border-bottom: 1px solid #C4B9A4;
    overflow: hidden;
}

.kalenteri td.mennyt {
    padding-top: 2px;
}

.kalenteri td.tanaan {
    padding-top: 2px;
    color: #34384C;
    border: 2px solid #50141E;
}


.kalenteri td a{
    color: #47391C;
    padding: 2px 2px 4px 2px;
    display: block;
}

.kalenteri td a:hover{
    font-weight: bold;
}

.kalenteri td.viikko {
    width: 50px;
    border-top: 1px solid #C4B9A4;
    border-left: 1px solid #C4B9A4;
    padding-top: 2px;
}

.kalenteri td.selectedDay {

}

.kalenteri td.selectedDay a {
    font-weight: bold;
    border: 1px solid #47391C;   
}

.kalenteri td.hasSomething, .minikalenteri td.hasSomething {
	background-color: #fbafb0;
}

.minikalenteri td.hasSomething {
	font-weight: bold;
	border: 1px solid #fd7274; 
}

.minikalenteri td.hasSomething a{
	font-weight: bold;
	color: #fd7274; 
}

.minikalenteri td.tanaan {
  border: 1px solid #fd7274;   
}

.minikalenteri {
	border-collapse: collapse;
	padding: 0;
	margin: 0;
	position: absolute;
	top: 155px;
}

.minikalenteri td, .minikalenteri th {
	background-color: #efe7de;
	color: #000000;
	font-weight: normal;
	font-size: 11px;
	padding: 0 5px;
}

.minikalenteri th {
	text-align: center;
}

.minikalenteri .supertitle {
	color: #ffffff;
	background-color: #7e0c0e;
}

.minikalenteri a {
	display: block;
}