
BODY {
  font-family: Trebuchet MS,Trebuchet,Arial,Verdana,Sans-serif; font-size: 10pt;
  background-repeat: repeat-x; 
  background-position: left top; 
  /* background-attachment: fixed */
}
form {
	margin:0px;
	}

h1 {
	font-weight:normal;
	font-size:18px;
	padding-left:6px;
	}


div.pagetitle {
	font-weight:normal;
	font-size: 22px;
	line-height:18px;
	color:#000000;
	margin-bottom:6px;
	}
div.pagetitle2 {
	font-weight:normal;
	font-size:18px;
	line-height:18px;
	color:#000000;
	margin-bottom:6px;
	}

div.newstitle1, div.newstitle2 {
	font-weight:normal;
	font-size:24px;
	line-height:24px;
	color:#000000;
	padding-left:6px;
	margin-top:10px;
	margin-bottom:8px;
	}
div.newstitle2 {
	font-size:18px;
	line-height:18px;
	}


#flow {
  border-left: solid 1px #ccc;
  border-top: solid 1px #ccc;
  border-radius: 10px 10px 10px 10px;
  padding: 20px;
  margin: 0 auto; 
  width: 1144px; 
  background-image: url('/kuvat/stripe.png'); 
}
#logo {
  margin-left: 30px;
  margin-right: 30px;
  margin-top: 5px;
  text-align: center;  
  background-position: 0% 0%;
  height: 90px;
  width: 147px;
  background-color: white;
  background-image: url('/images/khlogo.jpg'); 
  background-repeat: no-repeat;
}

#Yhteystiedot {
  border-top: dotted 1px gray;
  padding: 10px;
  margin: 10px;
}
#Yhteystiedot > div > div > div {
  padding-left: 20px;
}
#end {
  height: 1px;
  
}
#ylamainos {
  margin-left: 20px;
  font-weight: bold;
  font-size: 80%;
  color: #666;
  text-shadow: 0 0 2px #eee;
}


#qx {
  font-weight: bold;
  font-size: 300%;
}

.mainos > img {
  border: solid 1px black;
  padding: 0 0 0 0;
}



.ph {
  margin-top: 5px;
  border-radius: 0px 0px 0px 0px;
/*  background-color: #9D171E; */
  background-color: #ed1c24;

  height: 5px;
  text-align: right;
  padding-bottom: 10px;
  border-bottom: solid 1px #9D171E;
  /* border-right: solid 1px #9D171E; */
  border-left: solid 1px #9D171E;
  border-top: solid 1px #9D171E;
  color: #9d830b;
}

.ph > SPAN {
  border-radius: 10px 10px 0px 0px;
/*  background-color: #9D171E; */
  background-color: #ed1c24;

  padding: 8px 15px 5px 15px;
  text-transform: uppercase;
  font-weight: bold;
  text-align: right;
  font-size: 80%;
  padding-bottom: 1px;
  border-right: solid 1px #9D171E;  
  border-top: solid 1px #9D171E;
  color: white;
  text-shadow: 0 0 1px #000;
}

.newspheader {
  white-space: nowrap;
  text-align: right;
  font-weight: bold;
  font-size: 70%;
  overflow: hidden;
}

#Uutinen * IMG {
  /* display: inline-block; */
  margin: 8px;
  background-color: white;
  padding:5px;
  border: solid 1px gray;
}

#kehys {
/*  background-color: #660000; */
  background-color: #9c181e;
  padding-top: 10px;
  box-shadow: 10px 10px 5px #888;
  /* width: 1087px;    */
}
#main {
  background-color: white;
  margin: 10px;
  padding: 10px;

}

#mainleft {
  width: 210px;
}
#maincenter {
  background-color: white;
  width: 700px;
  padding-left: 10px;
  padding-right: 5px;
}
#mainright {
  border: solid 1px #ccc;
  background-color: white;
  width: 150px;
  padding-right: 5px;
  padding-left: 2px;
}
.fill {
  width: 8px;

}


#kuvat {
  width: 50%;
  float: right;
}
IMG.pieni {
  width: 100%;
  background-color: white;
  float: left;
}



div#ylanavi {
  background-color: white;
  width: 95%;
  border-top: solid 1px #cccccc;
  border-bottom: solid 1px #cccccc;
  padding-top: 5px;
  padding-bottom: 5px;
}

div#ylanavi > A {
  font-family: ArialNarrowBold,"Arial Narrow",Arial,sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  line-height: 120%;
  margin-left: 20px;
  color: #C00;
  font-size: 15px;
  font-weight: bold;
  width: 120px;
  text-shadow: 0 0 2px #000;
}
div#ylanavi  > a:hover {
  color: black;
  background-color: white;
  text-shadow: 0 0 2px #ddd;
}

.yla {
  padding: 10px;
  width: 90%; 
  border-radius: 10px 10px 10px 10px;
  background-color: white;
}

H1 {
  font-size: 140%;
  color: #ff6600;
  color: #660099;

  font-weight: bold;
  text-shadow: 0 0 1px #000;
}

.kuvateksti {  font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt; color: #000000; font-weight: bold}
.alanavi {  border-color: black #999966 black #000000; border-style: none; border-top-width: 0px; border-right-width: 1px; border-bottom-width: 0px; border-left-width: 0px; background-repeat: repeat-y}

a:active {  font-family: Trebuchet MS,Trebuchet,Arial,Verdana,Sans-serif; text-decoration: none ; color: #CC0000;  }
a:hover { font-family: Trebuchet MS,Trebuchet,Arial,Verdana,Sans-serif;  color: #8B0000; text-decoration: underline;}
a:link { font-family: Trebuchet MS,Trebuchet,Arial,Verdana,Sans-serif; text-decoration: none ;  color: #CC0000; }
a:visited { font-family: Trebuchet MS,Trebuchet,Arial,Verdana,Sans-serif;  text-decoration: none ; color: #CC0000; }

.medialink {  
  border-bottom: dotted 1px gray;
  display: list-item;  
  list-style: disc inside;
  text-transform: uppercase;
  color: #CC0000; 
  cursor: pointer;
  margin-left: 5px;
  margin-right: 8px;
  padding: 3px;
  list-style-type: square;
  background-color: #ffddcc;
}
.onlinemenu {
  float: left;
  height: 300px;
  padding-right: 10px;
}

#Uutinen {
  border-radius: 0px 6px 0px 6px;
}
.newslink {
  background-color: white;
  display: block;
  border-bottom: solid 1px #c2c2c2;
  padding: 5px 0px 5px 0px;

}
.newslink > A {
  display: block;
  margin-left: 2px;
  background-color: white;
  color: #000011;
  padding: 5px 0px 5px 0px;
}
.newspreview {
  background-color: white;
  display: block;
}
.newspreview > span {
  color: #442222;
  font-weight: bold;
  margin-left: 10px;
}

.title {
  font-family: Trebuchet MS,Trebuchet,Arial,Verdana,Sans-serif; 
  font-size: 120%;
  font-weight: bold;
  color: navy;
  margin-right: 10px;
}
.desc {
  padding-left: 10px; 
  padding-bottom: 10px; 
}
.date {
  font-size: 80%;
  color: gray;
  text-transform: uppercase;
}


#page_ads {
  font-family: Trebuchet MS,Trebuchet,Arial,Verdana,Sans-serif; 
  font-size: 11pt; 
  float: left;
  width: 460px;
  border-left: solid 1px #c2c2c2;
  padding-left: 10px;
}

.saacell {

  width: 80px;
  font-size: 11px;
  font-weight: normal;  
  padding: 4px;
  padding-right: 15px;
}
img.googleweather {
  border-width: 0px;
  display: inline;
  margin: 2px;
  padding: 2px;
}

.temperature {
  font-size: 32px;
  color: #333;
  font-weight: bold;
  float: right;
  clear: right;
}


.taulu { 
  display: table;
}
.taulu > div {
  display: table-row;
}
.taulu > div > div {
  display: table-cell;
  vertical-align: top;  
}
.taulu > div > div > input {
  border-top: none;
  border-left: none;	
  border-right: none;
  border-bottom: solid 1px #c2c2c2;
}

.y {
  width: 100%;
  height: 100%;
  border-top: none;
  border-left: none;
}
.y > div > div {
  text-transform: uppercase;
  text-align: center;
  vertical-align: middle;
  border-right: none;
  border-bottom: none;

}
.z {
  border-top: solid 1px gray;
  border-left: solid 1px gray;
}
.z > div > div {
  text-transform: uppercase;
  text-align: center;
  vertical-align: middle;
  border-right: solid 1px #c2c2c2;
  border-bottom: solid 1px #c2c2c2;
}

.y > div > div > input {
    font-size: 70%;
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: none;
    background-origin: padding-box;
    background-position: 0 0;
    background-repeat: repeat;
    background-size: auto auto;
    color: black;
    font-family: Tahoma,Arial,Verdana;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    border-bottom: none;
    padding: 0px;
    margin: 0px;
    overflow: hidden;
}

.pkp {
  background-repeat: no-repeat;
  background-position: 50% 50%;
}


INPUT, TEXTAREA, SELECT, OPTION {
  border-top: none;
  border-left: none;
  border-right: none;
  background-color: #fcfcfc;
  border-bottom: solid 1px #c2c2c2;
  padding: 2px;
}


/* ILMOITUS ############################################# */


#ajaxd {
  clear: left;
  padding: 10px;
  border: solid 1px gray;
}
form {
  display: inline;
}

.iin {
  border-width: 0px 0px 1px 0px;
  font-family: monospace;
  text-align: center;
  margin-top: 3px;
  background-color: transparent;
  border-bottom: solid 1px #ccc;
}

.ilmoituslomake {
  background-color: #f1f1f1;
}
.osastot {
  clear: both;
}
.osastot > DIV {
  float: left; 
  width: 200px;
  font-size: 12px;
  border: dotted 1px #666;
  border-bottom: solid 1px #666;
  border-right: solid 1px #666;
  padding: 4px;
  text-align: center;
  margin-left: 3px;
  margin-top: 3px;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  background-color: white;
}
.sunday {
  background-color: #FFcccc;
  color: #c2c2c2;
}
.notaday {
  color: #c2c2c2;
}
.kalenteri > div.chd > div {
  font-weight: lighter;
  color: gray;
  text-align: left;
  font-size: 10px;
}
.kalenteri > div > div.wn {
  font-weight: lighter;
  color: gray;
  text-align: left;
  font-size: 10px;
}

#kalenteri {
  display: block;
  float: left;
}

.kalenteri {
  margin: 0px 10px 5px 10px;
  background-color: white;
  display: inline-table;
  border-top: solid 1px #c2c2c2;
  border-left: solid 1px #c2c2c2;
}
.kalenteri > div  {
  display: table-row;
}
.kalenteri > div > div {
  font-size: 12px;
  font-weight: bold;
  display: table-cell;
  padding: 2px;
  text-align: center;
  border-right: solid 1px #c2c2c2;
  border-bottom: solid 1px #c2c2c2;
}

.preview {
  margin-top: 10px;
  width: 200px;
  padding: 5px;
  font-family: monospace;
  font-weight: bold;
  border: solid 1px black;
  color: black;
  font-size: 12px;
  float: left;

}
.virhe {
  width: 400px;
  padding: 20px;
  font-weight: bold;

  color: red;
  font-size: 14px;
  float: left;
}
.ok {
  width: 400px;
  padding: 20px;
  font-weight: bold;
  color: green;
  font-size: 14px;
  float: left;
  background-color: white;
  border: dotted 1px gray;
  margin: 2px;
}
.info {
  width: 400px;
  padding: 20px;
  font-weight: bold;
  color: gold;
  background-color: #333;
  font-size: 14px;
  float: left;
}

.rhd {
  margin-top: 5px;
  display: block;
  clear: both; 
  text-transform: uppercase;
  font-weight: bolder;
  font-size: 12px;
  background-color: #bbfccb;
  color: #333333;
  padding: 5px 20px 5px 20px;

}
.mycal {
  display: inline;
  float: left;
  border: solid 1px #f1f1f1;
}
.mycal-browser {
  clear: both;
  text-align: center;
  font-weight: bold;
}
.bank {
  float: left;
  text-align: right;
  background-position: 50% 50%;
  background-repeat:no-repeat;
  cursor:pointer;
  display: block;
  height:60px;
  width:90px;
}





