body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  background: transparent url( /files/kyselykone2010.kotisivukone.com/images/site_top_img.jpg ) no-repeat top center;
  width: auto !important;
  color: #2b2b2b;
 
 
}

a {
  color: #1075d4;
}

p.caption {
  font-size: 16px;
  color: #888888;
}

p {
	float: none;
	width: auto;
}

#page {
	margin: 0 auto 0 auto;
	width: 980px;
  background-color: transparent;
 
}

#content {
	margin-top: 0px;
	margin-right: 208px;
	margin-bottom: 5px;
	margin-left: 30px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	width: 643px;
	
}
#columns {
	width: 880px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 0px;
}
.box {
	  border: none;
	  width:208px;
	  margin:0px;
	  z-index:1;
}

.box .header {
  background: transparent;
}

.box .content {
  background: transparent;
}

#menu {
	height: 38px;
	width: 910px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}

* html #menu {

}

#menu ul {
	margin-left: -3px;
}

#menu ul li {
	padding: 0;
	height: 32px;
	background-image: url(/files/kyselykone2010.kotisivukone.com/images/menu_separator.jpg);
	background-repeat: repeat-y;
	background-position: left top;
	margin-top: 3px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}
#menu ul li.first_link {
	margin-left: 0px;
	background-image: none;
}
* html #menu ul li.first_link {
  margin-left: 0px;
}
#menu ul li a {
	font-family: 'Arial', sans-serif;
	font-size: 15px;
	font-weight: normal;
	color: #ffffff;
	margin: 0;
	height: 32px;
	line-height: 32px;
	text-align: center;
	padding-top: 0;
	padding-bottom: 0;
	padding-right: 22px;
	padding-left: 22px;
	float: left;
}
#menu ul li a:hover {
	padding-right: 22px;
	padding-left: 20px;
	margin-left: 2px;
	text-decoration: none;
    	background-color: #b45a7a;
    	color: #ffffff;
}
#menu ul li.active_link a {
	text-decoration: none;
	color: #ffffff;
	background-color: #7f1d40;
	padding-right: 22px;
	padding-left: 20px;
	margin-left: 2px;
}

#columns {
	background: #fff;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 16px;
	margin-left: auto;
	padding-top: 0px;
}

#content h1 {
	color: #b52e5f;
	font-size: 27px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	padding-bottom: 5px;
	padding-top: 5px;
	width: 99%;
	line-height: 27px;
}

#content h2 {
	color: #b52e5f;
	font-size: 22px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	padding-bottom: 0px;
	padding-top: 15px;
	width: 99%;
	line-height: 24px;
}

#content h3 {
	color: #b52e5f;
	font-size: 16px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	line-height: 18px;
	padding: 0px;
	margin-top: 20px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

#content h4 {
	color: #b52e5f;
	font-size: 14px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	padding-bottom: 0px;
	line-height: 15px;
		margin-bottom: 0px;

}



#left-bar, #right-bar {
	display: block;
}

#right-bar{
	float:right;
	width:240px;
	position:relative;
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

#left-bar h1, #right-bar h1 {
}
#footer {
	width: 926px;
	margin-top: 0px;
	margin-right: auto;
	margin-left: auto;
	background-color: transparent;
	background-image: url(/files/kyselykone2010.kotisivukone.com/images/footer_top.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	padding-top: 15px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
#last { display: none; }

#copyright {
	width: 926px;
	padding-top: 16px;
	padding-left: 0px;
	background-color: #DDEDFF;
	background-image: url(/files/kyselykone2010.kotisivukone.com/images/page_shadows.gif);
	background-repeat: repeat-y;
	background-position: center top;
	margin-top: 25;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	float: left;
}

body #top-bar {
  width: 100%;
  margin: 0 auto;
  height: 94px;
  background: transparent url( repeat ) repeat top left;
}

body.singlepage3 div#content div.inner table img {
  background-color: #FFFFFF;
  border: 1px solid #DDDBD8;
  margin: 0 0 4px 4px;
  padding: 10px;
}


/*paavalikon taustan asettelu*/
#menu li {
  height: 36px;
}

#henkilotiedot {
	width: 136px;
	font-size: 11px;
	font-weight: normal;
	color: #333333;
}






/* login */

#headblock {
  display: block;
  color: #fff;
  margin: 0 auto;
  width: 780px;
}

#topbarlogin {
  white-space: nowrap;
  width: 390px;
  float: right;
  font-size: 10px;
  padding-top: 1px;
}
#topbarlogin .loginfield {
  width: 110px;
  height: 12px;
  margin-top: 2px;
  border: 1px inset #9e9e9e;
}
#topbarlogin .loginbutton {
  font-size: 10px;
  margin-top: 1px;
  height: 18px;
}
#topbarlogin #login_username {
  width: 120px;
}
#topbarlogin a, #topbarlogin a:visited {
  color: #fff;
  margin-left: 180px;
}

/* Yliajetut (common.css) */

.inner{
	margin:0px;
	padding: 0px;
}

table.content_table {
	margin: 0px;
	padding: 0px;
}

div#content div.inner img {
	margin:0;
}

div.ilmoittautumislomake {
  width: 636px;
  height: 694px;
  background: transparent url(/files/kyselykone2010.kotisivukone.com/images/kurssit/kurssi.jpg) no-repeat top left;
  color: #ffffff;
  font-family: Arial;
}

div.ilmoittautumislomake table.formeditor {
  width: auto;
}

div.ilmoittautumislomake div#formeditor3 {
  padding-top: 169px;
}

div.ilmoittautumislomake table.formeditor td {
  padding-bottom: 0;
}

div.ilmoittautumislomake table.formeditor td.label {
  padding-top: 1em;
  font-size: 90%;
  text-align: left;
}

div.ilmoittautumislomake .lomake_teksti {
  float: left; 
  width: 300px; 
  padding: 170px 15px 0 20px;
}

div.ilmoittautumislomake .lomake_teksti ul {
  margin-top: 0;
}

.banners h2 {
text-align:left;}

.bannerbox .content{
	text-align:center;
	padding-top: 0px;
	padding-right: 0;
	padding-bottom: 0px;
	padding-left: 0;
}

/* Ohjeiden kuva-tablet */
body.ohjeet #content table.content_table table {
  font-size: 10px;
  border: 1px solid #3AB0F2;
  margin: 0 0 5px 5px;
}
body.ohjeet #content table.content_table table td {
  padding: 2px 4px;
}
body.ohjeet #content table.content_table table td img { 
  margin: 0; 
}

body.ohjeet blockquote {
  margin: 0 20px;
  background: none;
}

#hovernappi{
position:relative;
top:135px;
left:10px;
height:63px;
width:181px;
background-image: url(/files/kyselykone2010.kotisivukone.com/images/aloita_tasta.png) !important;
background-image: url(/files/kyselykone2010.kotisivukone.com/images/aloita_tasta.gif);
}


div#hovernappi:hover{
background-image: url(/files/kyselykone2010.kotisivukone.com/images/aloita_tasta2.png) !important;
background-image: url(/files/kyselykone2010.kotisivukone.com/images/aloita_tasta2.gif);

}

* html #hovernappi {
  left: 0px;
}

* + html #hovernappi {
  left: 0px;
}

#headblocklink {
  width: 194px;
  height: 64px;
  position: relative;
  top: 5px;
  left: -75px;
}

#headblocklink a {
  height: 64px;
  display: block;
}

body.uusyritys #box8 {
  display: none;
}

body.frontpage #columns,
body.closed #columns {
	width: 926px;
	height: 635px;
	background-image: url(/files/kyselykone2010.kotisivukone.com/images/page_img.jpg);
	background-repeat: repeat-y;
	background-position: center top;
	margin-bottom: 0px;
	padding-bottom: 80px;
	margin-top: 0px;
	padding-top: 10px;
}

body.frontpage #content h1,
body.closed #content h1{
	color: #b52e5f;
	font-size: 24px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	padding-bottom: 10px;
	padding-top: 0px;
	float: left;
	width: 99%;
	line-height: 27px;
}

body.frontpage #content h2,
body.closed #content h2{
	color: #b52e5f;
	font-size: 18px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	padding-bottom: 5px;
	padding-top: 5px;
	float: left;
	width: 99%;
	line-height: 20px;
}

#infoarea {
	margin-top: 15px;
	margin-left: 140px;
	width: 580px;
	background-color: transparent;
	text-align: center;
	float: left;
}

#infoarea strong,
#infoarea b {
	color: #383838;
	font-size: 14px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	padding-bottom: 5px;
	padding-top: 5px;
	float: left;
	width: 99%;
	line-height: 16px;
}

#infolinks {
	margin-top: 440px;
	margin-left: 280px;
	width: 300px;
	background-color: transparent;
	text-align: left;
	float: left;
}

#infolinks a {
	color: #b52e5f;
	font-size: 16px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	padding-bottom: 5px;
	padding-top: 5px;
	float: left;
	line-height: 19px;
	text-decoration: none;
}

#infolinks a:hover {
	color: #b52e5f;
	font-size: 16px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	padding-bottom: 5px;
	padding-top: 5px;
	float: left;
	line-height: 19px;
	text-decoration: underline;
}
