/*

Theme Name: KS-Lukkomestarit
Description: Custom theme for KS-Lukkomestarit
Version: 1.0
Author: lemonline.fi
Author URI: http://www.lemonline.fi
Tags: Spectacular!

*/

* {
  padding:0;
  margin:0;
  list-style:none;
}

body {
  font:0.6em Verdana, Arial, Helvetica, sans-serif; /* Means 1em == 10px, 1.2em == 12px, etc. */
  background:url(./images/body_bg.jpg) repeat-x; /* Set background image here */
  background-color:#edf1f7;
    color:#000000;
}

h1, h2, h3, h4, h5 {
  font-weight:normal;
  text-decoration:none;
  font-size:1.3em;
  padding-bottom:5px;
  line-height:6pt;
  text-transform: uppercase; letter-spacing:-1px; font-weight:bold;
}

h1 {
  color:#000000;
  font-size:2.2em;
  margin-top:0px;
  margin-bottom:10px;
  font-weight:strong;
}

h2 {
  color:#1b3b73;
  font-size:1.8em;
  margin-bottom:10px;
}

h3 {
  color:#000000;
  font-size:1.5em;
  margin-top:15px;
}

h4 {
  color:#000000;
  font-size:1.3em;
}

p {
  font-weight:normal;
  text-decoration:none;
  font-size:1.3em;
  padding-bottom:5px;
  line-height:6pt;
  line-height:1.5;
  margin:10px 0;
  text-transform: none;
}

a {
  color:#1b3b73;
}

img {
  border:0;
}

div#page {
  width:949px;
  padding-top:0px;
  margin:0px auto 0;
  background:url(./images/page_bg.jpg) repeat-y;
  position:relative;  

}

div.header {
  width:949px;
  background:url(./images/frontpage_header.jpg) no-repeat;
  position:relative;
  height:486px;
  margin:auto;
}

div.header_frontpage {
  width:949px;
  background:url(./images/frontpage_header.jpg) no-repeat;

}

div.header_services {
  background:url(./images/palvelut_header.jpg) no-repeat;
  height:416px;
}

div.header_company {
  background:url(./images/yritys_header.jpg) no-repeat;
  height:416px;
}

div.header_contact {
  background:url(./images/contact_header.jpg) no-repeat;
  height:416px;
}


div#content {
  width:949px;
  padding-top:20px;
}

.inner_left, .inner_right {
	float:left;
	width:45%;
}

.inner_left {
	margin-left:55px;
}

.inner_right {
	padding:10px;
}


div.frontpage_inner_left h1, h1.main_title {
	position:relative;
	left:-20px;
	padding-left:20px;
	padding-top:5px;
	padding-bottom:5px;
	width:591px;
	font-weight:bold;
	text-transform:uppercase;
	border-bottom:2px solid black;
	letter-spacing:-2px;
}

h1.main_title {
	position:relative;
	left:30px;
	padding-left:20px;
	padding-top:5px;
	padding-bottom:5px;
	width:591px;
	font-weight:bold;
	text-transform:uppercase;
	border-bottom:2px solid black;
	letter-spacing:-2px;
}


/*-----------------------------------------------------------------------------

  Main Content

-----------------------------------------------------------------------------*/

/* Frontpage */

div.frontpage_inner_left {
	float:left;
	width:591px;
	padding-bottom:0px;	
	margin-top:10px;
}

div.frontpage_inner_right {
	float:left;
	width:241px;
	padding-bottom:0px;	
	background:url(./images/frontpage_right.jpg) no-repeat;
	height:436px;
	margin-top:-12px;
	margin-left:10px;
}

div.frontpage_inner_left h1 {
	margin-top:20px;
	float:left;
	display:block;
}


div.frontpage_inner_left div {
	width:588px;
	margin-bottom:0px;
	float:left;
}

div.frontpage_inner_left ul {
	width:588px;
	margin-bottom:0px;
}

div.frontpage_inner_left ul li {
	float:left;
	margin:0px;
	list-style-type:none;
	margin:0px;
	padding:0px;

}

div.frontpage_inner_left ul li a{
	float:left;
	display:block;
	width:142px;
	height:140px;
}

/* Palvelut */

div.services_inner_left {
	float:left;
	width:540px;
	padding-bottom:0px;	
	margin-top:10px;
}

div.services_inner_right {
	float:left;
	width:292px;
	padding-bottom:0px;	
	background-color:#e5e5e5;
	
	margin-top: 10px;
	margin-left:10px;
}

div.service { 
	position:relative;
	font-size:80%;
	margin-bottom:10px;
	border-bottom:1px solid #bbbbbb;
	padding-bottom:10px;	
	
}

div.service .service_title h2 {  cursor:pointer; margin-left:110px; text-transform: uppercase; letter-spacing:-1px; font-weight:bold; padding-top:5px; margin-bottom:0px; }
div.service .service_excerpt { margin-top:0px; margin-left:110px; width:430px; position:relative;}
div.service .service_excerpt img { display:none;}
div.service .service_content {  margin-left:110px; width:430px; position:relative; top:0px;padding-top:0px;margin-top:0px;}
div.service .service_content img.cfi { display:none; }
div.service .service_content img { float:left; margin-right:5px; margin-bottom:5px; }
div.service .service_content table td { border-bottom:1px solid grey; padding:5px;}
div.service .service_content table td a { display:block;  padding-bottom:5px;}
div.service .service_content table td img { position:relative; top:0px; vertical-align:top; border:1px solid black;}
div.service .service_content table td ul li { list-style-type:decimal; margin-left:20px;}

div.service_image { float:left; position:absolute; }
div.service_info {  }

h1.title_services, h1.title_contact {
	width:860px;
}

/*  */
div.company {  height:150px;}
div.company .company_title h3 { margin-left:130px; text-transform: uppercase; letter-spacing:-1px; font-weight:bold; padding-top:15px; margin-bottom:0px; color:black; }
div.company .company_content { margin-left:130px; width:370px; position:relative; top:0px; padding-top:0px;margin-top:0px;}
div.company .company_content img { display:none; visibility:hidden;}


div.company_image { border:2px solid black;float:left;position:absolute; }
div.company_image img { width:110px; height:128px; }


/* Yhteydenotto */

.contact_inner_left {
	width:430px;
}

.contact_inner_right {
	width:400px;
	margin-left:20px;
}


div.left_column
{
	float:left;
	width:65%;
	padding-right:30px;

}

div.right_column 
{
	float:left;
	width:30%;

}

div.left_column img {

}


div.dropper {
	clear:both;
}

div#frontpage_content div.left_column,
div#frontpage_content div.right_column
{
	float:left;
	width:300px;
	padding-right:40px;
	padding-top:13px;
	text-align:right;
}

div#frontpage_content div.right_column {
	width:420px;
	padding:0px;
	margin:0;
	text-align:left;
}


/*-----------------------------------------------------------------------------

  Main Navigation

-----------------------------------------------------------------------------*/


/* Other Pages */

div#mainnavigation {
	
  float:left;
  height:147px;
  position:absolute;
  top:21px;
  left:348px;
}

div#mainnavigation ul{
  float:left;
}

div#mainnavigation ul li{
  float:left;
  height:147px;
  
}

div#mainnavigation ul li.page-item-3 a {
  width:117px;
  background:url(./images/mainnavigation_hover.jpg) no-repeat;
  background-position:0px 1000px;
}
div#mainnavigation ul li.page-item-7 a {
  width:120px;
  background:url(./images/mainnavigation_hover.jpg) no-repeat;
  background-position:-116px 1000px;
}
div#mainnavigation ul li.page-item-13 a {
  width:167px;
  background:url(./images/mainnavigation_hover.jpg) no-repeat;
  background-position:-237px 1000px;
}
div#mainnavigation ul li.page-item-15 a {
  width:167px;
  background:url(./images/mainnavigation_hover.jpg) no-repeat;
  background-position:-405px 1000px;
}

/* Hover */
div#mainnavigation ul li.page-item-3.current_page_item a, div#mainnavigation ul li.page-item-3 a:hover {
 background-position:0px 0px;
}
div#mainnavigation ul li.page-item-7.current_page_item a, div#mainnavigation ul li.page-item-7 a:hover {
  background-position:-118px 0px;
}
div#mainnavigation ul li.page-item-13.current_page_item a, div#mainnavigation ul li.page-item-13 a:hover {
  background-position:-237px 0px;
}
div#mainnavigation ul li.page-item-15.current_page_item a, div#mainnavigation ul li.page-item-15 a:hover {
  background-position:-405px 0px;
}

div#mainnavigation ul li a {
  text-decoration:none;
  display:block;
  text-indent:-10000px;
  height:144px;
}





/*-----------------------------------------------------------------------------

  Sub Navigation

-----------------------------------------------------------------------------*/

div#subnavigation {
  width:190px;
  height:300px;
  float:left;
  margin-top:70px;
}

div#subnavigation ul{
  float:left;
  margin-right:22px;
  position:relative;
  z-index:2;
  bottom:-2px;
}

div#subnavigation ul li{
  float:left;
  
}

div#subnavigation ul li a {
  color:#524a6f;
  text-decoration:none;
  display:block;
  font-size:1.4em;
  padding:0px 10px 10px;
  width:190px;
}

div#subnavigation ul li a:hover, div#subnavigation ul li.current_page_item {
  color:#c5508a;

}




div#usermessagea {
	font-size:12pt;
	float:left;
}

div#usermessagea.success {
	color:green;
}

div#usermessagea.failure {
	color:red;
}

#cformsform {
	float:left;
	margin:0;
	padding:0;
	font-family:Verdana!important;
}

#cformsform legend {
  font-weight:normal;
  text-decoration:none;
  font-size:1.5em;
  padding-bottom:5px;
  line-height:6pt;
  text-transform: uppercase; 
  letter-spacing:-1px; 
  font-weight:bold;
  font-family:Verdana!important;
  color:black;
  padding-left:0px;
  margin-left:0px;
}

#cformsform label{
	background:none;
	color:#1a1a1a;

}

.reqtxt {
	background:none;
	color:#1a1a1a;
}

.linklove {
	display:none;
}



.article {
  margin-bottom:20px;
}

.article blockquote {
  margin:0 15px;
  padding:1px 15px;
  border-left:5px solid #B8D1E4;
  background:#F0F0F0;
}

.article ul, .article ol {
  font-size:1.2em;
  margin-left:15px;
}

.article ul li {
  margin:5px 0;
  padding-left:15px;
  background:url(./images/square.png) 0 center no-repeat;
}

.article ol {
  margin-left:30px;
}

.article ol li {
  list-style:decimal;
  margin:10px 0;
}

.article ol li ol {
  font-size:1em;
  margin-left:15px;
}

#main p.byline {
}

ul.article_footer {
  text-align:right;
  margin:10px 0;
  background:#F1F1F1;
  padding:5px 10px;
  border:1px solid #DADADA;
  border-width:1px 0;
  line-height:1.5;
}

ul.article_footer li {
  font-size:0.9em;
  display:inline;
  background:none;
  border-left:1px solid #DADADA;
  margin-left:5px;
  padding-left:10px;
}

ul.article_footer li.first {
  border-left:0;
}

/*-----------------------------------------------------------------------------

  Secondary Content

-----------------------------------------------------------------------------*/

div#secondary {
  padding:15px 20px 20px 0;
  width:200px;
  float:left;
}

div#secondary ul#sidebar {
  margin:15px 0 20px;
  padding-bottom:10px;
  border-bottom:1px solid #e7e7e7;
}

div#secondary ul#sidebar li {
  margin:5px 0;
  font-size:1.2em;
  line-height:1.5em;
}

/* Sidebar headers */
div#secondary h2 {

}

div#secondary a {

  text-decoration:none;
}

div#secondary a:hover {
  text-decoration:underline;
}

div#secondary ul.children {
  margin-left:5px;
  padding-left:10px;
  border-left:5px solid #EAEAEA;
}

div#secondary ul#sidebar li li {
  font-size:1em;
}

/* Optional bio area header (commented out by default) */
div#author h2 {

}

div#secondary p {
  line-height:1.5;
  margin:5px 0;
}

/* Search input */
form#searchform {
  position:relative;
  height:28px;
  margin-bottom:20px;
}

form#searchform input#s {
  position:absolute;
  top:0;
  height:18px;
  width:156px;
  padding:5px;
  background:url(./images/text_bg.png) repeat-x;
  border:1px solid #bcbcbc;
}

input#search_submit {
  position:absolute;
  right:0;
}

/*-----------------------------------------------------------------------------

  Footer

-----------------------------------------------------------------------------*/


div#footer {
  width:949px;
  background:url(./images/footer_bg.jpg) no-repeat;
  height:110px;
  margin:auto;
  padding-top:15px;
}

div.contact_info_container {
	margin-left:50px;
}

div.contact_info {
 	width:170px;
 	float:left;
 	font-size:1.0em;
 	color:#444343;
 	padding:10px;
 	padding-top:15px;
 	line-height:1.5em;
 	text-align:left;
}

.map_link {
	display:block;
	height:50px;
	width:270px;
}

div.contact_info_left {
	text-align:right;

}

div.contact_info_right {
	text-align:left;

}

/*-----------------------------------------------------------------------------

  Wordpress Specific Stuff - Elements that weren't in my original stylesheet

-----------------------------------------------------------------------------*/

ol.commentlist {
  margin-top:15px;
}

/* Background color for visitor comments */
ol.commentlist li {
  background:#F1F1F1;
  padding:10px;
  margin:10px 0;
}

/* Background color for Admin comments */
ol.commentlist li.alt {
  background:#EBF9FC;
}

textarea#comment {
  width:500px;
}

#main p.comment_meta {
  margin:0;
  float:right;
}

/* Optional popup window (NOTE: popups make for bad UI IMHO) */
body#commentspopup {
  background:#FFF;
  padding:20px;
}

body#commentspopup a {

}

body#commentspopup h1 a {
  position:relative;
  top:0;
  left:0;
}

body#commentspopup h3 {
}

body#commentspopup p {
  margin:10px 0;
}

body#commentspopup textarea {
  width:340px;
}

/* Image stuff for 2.6.1 */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
}

.alignright {
  float: right;
}

.wp-caption {
  border: 1px solid #ddd;
  text-align: center;
  background-color: #f3f3f3;
  padding-top: 4px;
  margin: 10px;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

.wp-caption img {
  margin: 0;
  padding: 0;
  border: 0 none;
}

.wp-caption-dd {
  font-size: 11px;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
}

p.entry_info {
  clear:both;
}

div.navigation {
  margin:10px 0;
}

/*-----------------------------------------------------------------------------

  CSS Magic

-----------------------------------------------------------------------------*/

.clearfix:after {
  content:".";
  display:block;
  height:0;
  clear:both;
  visibility:hidden;
}
.clearfix {display:inline-block;}
/* Hide from IE Mac \*/
  .clearfix {display:block;}
/* End hide from IE Mac */

ul { font-size:10px; color:black;}
ul li { margin-bottom:4px; }
