body {
	background: url(kirppanat/body_bg.gif) repeat center top;
	color:#444444;
  font-family:'Lucida Grande',Verdana,Arial,Sans-Serif;
}

/* Container */

#container {
	width: 900px;
	margin: 0 auto;
	background: url(kirppanat/top.gif) no-repeat 0 225px;
}


/* Header */

#header {
	width: 100%;
	height: 190px;
  background: url(kirppanat/header_bg.jpg) no-repeat 0 0;
  position: relative;
}

#header h1 {
	padding: 25px 0 0 459px;
}

a#telkku_kehys {
	position: absolute;
	top: 74px;
	left: 29px;
	width: 208px;
	height: 139px;
	z-index: 3;
	background: left top no-repeat;
	}

#telkku_kehys { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=image, src='http://kirppanat.takocreative.com/wp-content/themes/k2/images/telkku/telkku_frame.png'); }
#telkku_kehys[id] { background-image:  url('kirppanat/telkku_frame.png'); }

#telkku_kuva {
	position: absolute;
	top: 74px;
	left: 29px;
	width: 208px;
	height: 139px;
	z-index: 2;
	}

#telkku_kuva p {
  margin: 25px 10px 10px;
}

/* Content Area - Content and Sidebar */

.background {
	background: transparent url(kirppanat/content_bg.gif) repeat-y left top;
}

body.page-id-2 .background {
	background: transparent url(kirppanat/content_bg_full.gif) repeat-y left top;
}



h2.arh {
  color: #a1a1a1;
	width: auto;
	margin-left: 133px;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 0;
	font-size: 18px;
	background: none;
	border-bottom: none;
	border-top: none;
	line-height: 25px;
}

body.search-results h2.arh {
  margin-left: 103px;
}

/* Content */

#content {
	width: 581px;
	margin-top: 20px;
	margin-bottom: 50px;
}

body.page-id-2 #content {
	width: 855px;
}

body.search-results #content {
	width: 555px;
}

/* Main Menu */

#menu {
  background: url(kirppanat/header_bg.jpg) no-repeat 0 -190px;
	padding: 10px 0 8px;
	margin-bottom: 0px;
	height: auto;
}

#menu ul {
	background: none;
	margin-left: 260px;
	height: auto;
	width: 600px;
}

#menu ul li {
	line-height: 21px;
	letter-spacing: -0.2px;
	display: inline;
}

#menu ul li a {
  font-family: 'Lucida Grande',Verdana,Arial,Sans-Serif;
	text-transform: uppercase;
	display: block;
	float: left;
	margin: 0 0 2px 2px;
	padding: 0 6px 0;
	color: #934829;
	border-left: none;
}

#menu ul li a:hover {
	color: #FFEBC2;
	background: #934829;
	cursor: pointer;
}

/* Main Menu - Current Page Item */

#menu ul li.current_page_item {
	line-height: 21px;
}

#menu ul li.current_page_item a {
	background: #934829;
	margin-top: 0px;
	color: #FFEBC2;
	border: 0;
}

#menu ul li.current_page_item a:hover {
	color: #FFEBC2;
	text-decoration: underline;
}

/* Main Menu - extra */

#menu ul li.first a {
	border: 0;
}

#menu ul li.current_page_item a {
	margin-right: 0px;
	position: relative;
}

/* SubMenu */

#submenu {
  background: #fff;
	padding: 0;
	margin: 0 20px 0 40px;
}

#submenu ul {
  border-width: 0px 2px 2px 2px;
	border-color: #e8c47b;
	border-style: dashed;
	margin-left: 213px;
	padding: 5px 0;
	height: auto;
	width: 597px;
}

#submenu ul li {
	line-height: 22px;
	float: left;
	font-size: 11px;
	font-weight: bold;
}

#submenu ul li a {
  font-family: 'Lucida Grande',Verdana,Arial,Sans-Serif;
	text-transform: uppercase;
	display: inline-block;
	white-space: nowrap;
	margin: 0 0 0 5px;
	padding: 0 7px 0;
	color: #934829;
}

#submenu ul li a:hover {
	color: #934829;
	background: #FFEBC2;
	cursor: pointer;
}

/* SubMenu - Current Page Item */

#submenu ul li.current_page_item {
	line-height: 22px;
}

#submenu ul li.current_page_item a {
	background: #FFEBC2;
	margin-top: 0px;
	color: #934829;
}

/* Sidebar */

#sidebar {
	width: 289px;
	padding-right: 20px;
}

#sidebar h2 {
	font-size: 13px;
	margin-right: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
	color: #444444;
}

#sidebar h3, #sidebar p  {
  padding: 10px 0 0;
	font-size: 13px;
	margin-right: 10px;
}

#sidebar .textwidget {
  margin-top: -10px;
}

/* Sidebar Block */

#sidebar .block {
	background: transparent url(kirppanat/sidebar_block_bottom.gif) repeat-x scroll 0 100%;
	padding:10px 20px 30px 14px;
}

#sidebar .block a {
	color: #CE1433;
}

#sidebar .block a:hover {
	color: #CE1433;
	text-decoration: underline;
}

#sidebar .block ul {
	width: 100%;
	padding: 1px 0 8px 0;
}

/* Sidebar Inside Block */

#sidebar_in .block ul li {
	font-weight: bold;
	border-bottom: #BDCCD1 1px solid;
	line-height: 20px;
	padding: 4px 0 4px 21px;
	background: url(images/circle.gif) no-repeat 5px 11px;
	margin-right: 10px;
}

#sidebar_in .block ul li ul li {
	border: 0;
}

/* Sidebar Special List */

#sidebar .categories ul, #sidebar .blogroll ul, #sidebar .widget_categories ul, #sidebar .widget_links ul {
	background: url(images/sidebar_ul_lines.gif) no-repeat 0 0;
	margin-top: 3px;
}

#sidebar .categories ul li, #sidebar .blogroll ul li, #sidebar .widget_categories ul li, #sidebar .widget_links ul li {
	width: 104px;
	float: left;
	margin-right: 10px;
	display: inline;
}

#sidebar .categories ul li, #sidebar .widget_categories ul li {
	background: url(images/icon_folder.gif) no-repeat 0 6px;
}

#sidebar .blogroll ul li, #sidebar .widget_links ul li {
	background: url(images/circle.gif) no-repeat 5px 11px;
	font-size: 11px;
}

body.search-results .post,
body.archive .post,
body.single .post,
body.blog .post {
  border-bottom: none;
  background: transparent url(kirppanat/post_meta_top.gif) no-repeat 10px 2px;
}

.page .post,
.error404 .post {
  border-bottom: none;
  background: none;
}

.page .edit-link {
  background: transparent url(kirppanat/post_meta_top.gif) no-repeat 10px 2px;
}
.page .comment .edit-link {
  background: none;
}

.post-meta {
  width: 85px;
  font-family: arial;
  background: #f2f2f2 url(kirppanat/post_meta_bottom.gif) no-repeat 0 100%;
  margin: 0 0 0 10px;
  padding: 10px 10px 10px 0;
}

.post-meta.edit {
  width: 55px;
  padding: 10px 5px 10px 0;
}

.post-meta h3 span.month {
	font-size: 13px;
	line-height: 12px;
	padding-left: 0px;

}
.post-meta h3 span.year {
  font-size: 12px;
}
.post-meta h3 span.day {
  font-size: 26px;
  line-height: 23px;
  padding-right: 3px;
}

.post-content {
  margin-left: 10px;
  padding-bottom: 30px;
  width: 430px;
  background: transparent url(kirppanat/page_h3_bg.gif) no-repeat scroll left bottom;
}

body.page .post-content {
  margin-left: -30px;
  width: 470px;
}

body.page-id-2 .post-content {
  margin-left: -30px;
  width: 730px;
}


/* Sidebar Search */


#search form div {
	background: none;  
}



#search {
  background: #fff url(kirppanat/haku_bg.gif) no-repeat 0 20px;
  padding: 20px 0;
  width: 273px;
  height: 60px;
  margin-left: 0px;
  position: relative;
}

#search form input.search_box {
  border-bottom: 1px dashed #ccc;
  top: 7px;
  left: 26px;
	width: 175px;
}

#search form input.submit {
  position: absolute;
  right: 10px;
  top: 5px;
  width: 50px;
}

#sidebar .adverts {
  background: #fff;
  padding: 25px 0 25px 0;
  width: 285px;
  font-size: 11px;
  color: #a0a0a0;
}

#sidebar .adverts p { padding: 5px 0; }

#sidebar .adverts li.virike {
  float: right;
  padding-right: 14px;
  margin-left: 0;
}

.post-content img {
  background:#fff none repeat scroll 0 0;
  border: 3px solid #dec285;
  padding: 2px;
}

body img.alignleft {
  margin: 10px 20px 20px -110px;
}

body.page img.alignleft {
  margin: 10px 20px 20px -80px;
}

.post-content h2 {
  font-size: 20px;
  line-height: 25px;
}

.post-content h2 span {
/*   background: transparent url(kirppanat/page_h2_bg.gif) no-repeat scroll center center; */
  background: red;
  color: white;
  line-height: 36px;
  padding: 4px 10px;
}

.post-meta h3 {
  margin-bottom: 0px;
}

.post-content h3 {
  background: transparent url(kirppanat/page_h3_bg.gif) no-repeat scroll left bottom;
  font-size: 1.8em;
  font-weight: normal;
  margin: 40px 0 0;
  padding: 0 0 10px;
}

.ngg-navigation { height: auto; padding-bottom: 10px; }

/* Footer */

#footer {
	width: 900px;
	margin: 0 auto;
	background: url(kirppanat/footer_bg_top.gif) no-repeat 40px 0;
	padding-top: 35px;
	margin-top: 0;
	position: relative;
	color: #6D3521;
}

#footer p {
	font-size: 0.9em;
	line-height: 1.3em;
}

#footer img {
  border: 2px solid #6D3521;
  float: left;
  margin: 0 13px 13px 0;
}

#footer .inner-wrap {
  margin: 0px   20px 0 40px;
  background: #f1f1f1;
}

#footer .inner-wrap .padding {
  padding: 20px 15px 35px;
}

#footer a {
	color: #6D3521;
	text-decoration: none;
}

#footer a {
	text-decoration: none;
	font-weight: bold;
}

#footer h2 {
  color: #6D3521;
}

/* Footer Popular Articles */

#footer .left-col h2 {
	width: auto;
	display: block;
	float: none;
	line-height: 24px;
	text-align: left;
	padding: 10px 10px 0px 30px;
	font-size: 20px;
	background: none;
}

#footer .left-col p {
  padding: 8px 10px 8px 30px;
}

#footer .left-col ul {
	width: 441px;
	display: block;
	float: left;
	padding: 5px 0 15px 30px;
}

#footer .left-col ul li {
	line-height: 20px;
	font-size: 15px;
	padding: 6px 0 9px 0;
	font-weight: bold;
	background: none;
}
#footer .middle-col {
  float: left;
  margin: 15px 0 0 30px;
  width: 210px;
}


/* Footer Subscribe */

#footer #subscribe {
	width: 241px;
	padding: 0 30px 0 18px;
	color: inherit;
}

#footer #subscribe a {
	font-weight: bold;
	text-decoration: none;
}

#footer #subscribe h2 {
	font-size: 15px;
}

#footer #subscribe p {
	padding: 8px 0 8px 42px;
}

#footer #subscribe p.rss {
	background: url(kirppanat/icon_rss.gif) no-repeat 0 11px;
}

table.aikataulu {
  width: 48%;
  float: left;
  margin: 0px 10px 5px 0;
  background: #dbdbdb;
}
table.aikataulu caption {
  font-weight: bold;
  font-size: 20px;
  color: #FFF;
  background: #a1a1a1;
  padding: 4px;
  margin: 20px 0 0 0;
}

table.aikataulu td {
  padding: 5px;
  vertical-align: top;
}

fieldset { 
	border-color: #a6a6a6; 
	border-style: solid; 
	border-width: 1px; 
}
.wpcf7-list-item {
  display: block;
}

fieldset legend {
  font-size: 1.5em;
  font-weight: bold;
}

#content form {
  margin-left: 0;
}

form .laheta input {
  font-size: 25px;
  color: #fff;
  background: #a6d901;
  padding: 5px 10px;
  border: none;
}
form .laheta input:hover {
  background: #90bc01;
  cursor: pointer;
}

div.wpcf7-response-output {
  font-size: 1.4em;
  margin: 1em 0 0;
}

span.wpcf7-not-valid-tip {
  padding-left: 5px;
  background: #ffd1d1;
} 