/*
Theme Name: Ketomaa
Author: Haaja
Author URI: http://haaja.com/
Description: WP-teema.
Version: 1.0
Tags: 
*/
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
#colorbox {
  -webkit-box-sizing: content-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: content-box;    /* Firefox, other Gecko */
  box-sizing: content-box;         /* Opera/IE 8+ */
}
body {background:#000 url('images/bg.jpg') top center no-repeat fixed;font-size:14px;font-family:"Mic32Regular",Arial, Helvetica;padding-bottom:20px;}
#wrapper {width:990px;margin:0 auto;}
h1,h2,h3,h4,h5 {margin-bottom:15px;font-weight:bold;font-family:'rbno-bold',Helvetica,Arial;color:#fff;letter-spacing:0.08em;}
h1 {font-size:36px;}
h2 {font-size:32px;}
h3 {font-size:26px;}
h4 {font-size:22px;}
h5 {font-size:18px;}
p {line-height:1.5;margin-bottom:15px;}
a, a:visited {color:#d7d7d7;text-decoration:none;}
a:hover {color:#fff;text-decoration:underline;}
strong {font-weight:bold;}
#header {position:relative;height:145px;margin-bottom:10px;}
#header .logo {position:absolute;left:-70px;top:50px;width:465px;z-index:10;}
#header-right {height:145px;position:relative;}
#topNav {float:right;font-family:"Mic32LtRegular",Helvetica,Arial;color:#d7d7d7;margin-top:20px;}
#topNav li {float:left;margin-left:8px;}
#topNav a {color:#d7d7d7;font-size:12px;}
#topNav .link {padding-top:13px;}
#topNav .first {padding-left:25px;}
#nav {position:absolute;bottom:0;right:0;width:680px;height:52px;}
#nav li {float:left;height:52px;line-height:52px;background:url('images/navBg.png') repeat 0 0;}
#nav li a {color:#fff;font-family:'rbno-bold',Helvetica,Arial;font-size:28px;padding-right:25px;text-transform:uppercase;padding-left:5px;}
#nav li#navLeft {background:url('images/navLeft.png') no-repeat top left;display:block;width:52px;margin-left:35px;}
#nav li .sub-menu {display:none;}
#nav li:hover .sub-menu {display:block;position:absolute;top:100%;z-index:100;background:#000;padding:10px 10px 0 0;}
#nav li .sub-menu li {float:none;}
#nav li .sub-menu li {height:35px;line-height:35px;padding-left:7px;}
#nav li .sub-menu li a {font-size:22px;}
#featured {position:relative;overflow:hidden;height:414px;}
.alasivu #featured {height:215px;overflow:hidden;margin-bottom:25px;}
#featured #fblike {background:transparent url('images/fbLike.png') no-repeat top left;display:block;width:151px;height:48px;position:absolute;top:0;right:0;z-index:10;}
#featured #caption {position:absolute;bottom:0;left:0;right:0;background:rgba(0,0,0,.7);*background:#000;_background:#000;color:#fff;z-index:100;padding:30px 100px 25px 40px;}
#caption h1 {font-size:52px;text-transform:uppercase;font-family: 'rbno-bold',Helvetica,Arial;letter-spacing: 0.07em;font-style: italic;}
#caption h1 a {color:#fff;}
#featured, #news, #pictures {margin-bottom:15px;}
.news-title, .pictures-title, .blog-title, .more-title, .facebook-title, #footer h3 {background:transparent url('images/titleBg.png') no-repeat top left;width:287px;height:52px;line-height:52px;padding-left:22px;margin:0;position:relative;z-index:10;font-style:italic;text-transform:uppercase;}
.more-title {position:relative;left:-20px;}
.news-title {width:400px;}
.alasivu .news-title {background:url('images/picturesBg.png') no-repeat;}
#content-wrap {width:990px;}
.content-block {border:5px solid rgba(96,100,112,.12);*border:5px solid #353638;position:relative;z-index:1;margin-top:-5px;border:5px solid #353638\9;}
.alasivu .content-block {margin-bottom:15px;}
#sidebar {float:left;width:230px;background:transparent url('images/sidebarBg.png') repeat-y left top;margin-left:12px;padding-left:15px;position:relative;padding-bottom:25px;}
#sidebar h2.news-title {position:absolute;top:-55px;background:transparent url('images/sidebarTitle.png') no-repeat top left;}
#sidebar ul {margin-top:5px;}
#sidebar ul li h3 {font-size:13px;font-family:"Mic32Bold",Helvetica,Arial;font-style:normal;font-weight:bold;text-transform:uppercase;margin-bottom:3px;letter-spacing:0;margin-bottom:0;line-height:1.3;}
#sidebar ul li {border-bottom:1px solid #1e1e1e;margin-bottom:15px;}
#sidebar ul li p {line-height:1.5;font-size:12px;}
#sidebar .view-all {display:block;height:32px;background:transparent url('images/viewAll.png') no-repeat;position:relative;margin-top:-15px;}
#sidebar .view-all {font-family:"FuturaEBlack",Helvetica,Arial;font-size:22px;font-style:italic;padding:5px 0 0 10px;}
#news-list li.first {background-image:none;}
#news-list li {float:left;width:245px;background:#0c0c0c url('images/seperator.png') repeat-y left top;color:#d7d7d7;height:320px;}
#news-list li .news-thumb {padding-left:10px;}
#news-list li .text {padding:15px 15px 0 20px;font-family:"Mic32LtRegular",Helvetica,Arial;font-size:13px;}
#news-list li h2 {font-size:13px;font-family:"Mic32Bold",Helvetica,Arial;font-style:normal;font-weight:bold;text-transform:uppercase;margin-bottom:3px;letter-spacing:0;line-height:1.3;}
#news-list li a, #blog-posts h2 a {color:#d7d7d7;}
.pagination a, .pagination .current {margin-right:10px;}
.pagination .current {color:#9e0b0f;}
hr {clear:both;}
table td { position:relative;vertical-align:top; } 
table td p { position:relative;top:0px; }
code ul li {margin-left:15px;}
code ul li .children {list-style:disc;margin-left:10px;}
.pvm {color:#9e0b0f;font-family:"Mic32Regular",Helvetica,Arial;font-size:13px;margin-bottom:3px;display:block;}
.content {background:#0c0c0c;padding:10px 10px 5px;color:#d7d7d7;position:relative;}
.news-content {background:#0c0c0c;}
.post, .page {padding:20px;border:1px solid #1f1f1f;width:690px;float:left;position:relative;}
#more-box {margin-top:50px;}
#more-box .content {margin-bottom:5px;line-height:1.1;font-size:12px;}
.pictures-title {background:transparent url('images/picturesBg.png') no-repeat top left;width:371px;}
.ngg-galleryoverview h2 {font-family:"Mic32Regular",Helvetica,Arial;}
.entry-title {text-transform:uppercase;font-size:42px;font-family: 'rbno-bold',"Mic32Regular",arial;letter-spacing: 0.07em;}
.post-img {margin-bottom:25px;}
.post h3, .page h3 {font-family:"Mic32Regular",Helvetica,Arial;font-size:25px;letter-spacing:0;}
.post h3 {font-size:20px;line-height:1.3;}
#post-list li {border-bottom:1px solid #1e1e1e;margin-bottom:20px;}
form p {line-height:1;}
form input {border:0;padding:6px 8px;}
#news-page .post-thumb {float:left;width:220px;}
#news-page li {width:100%;border-bottom:1px solid #1e1e1e;margin-bottom:20px;}
#news-page li .post-text {float:left;width:400px;}
#pictures, #calendar {width:599px;float:left;margin-right:10px;}
#pictures img {margin:0 7px 5px 0;}
#pictures .hslice h1 {display:none;}
#pictures .content-block .content {padding:10px 0 0 11px;}
#blog, #facebook {float:left;width:381px;}
.blog-title {background:transparent url('images/titleBg.png') no-repeat top left;}
#blog-posts {background:#020101 url('images/postsBg.png') no-repeat bottom right;padding:20px 15px 15px;}
#blog-posts li.first {border-top:1px solid #1d1d1d;}
#blog-posts li {border-bottom:1px solid #1d1d1d;padding:8px 0;}
#blog-posts h2 {margin:0;font-family:"Mic32Bold",Helvetica,Arial;font-size:16px;}
#footer {margin-top:20px;font-family:"Mic32LtRegular",Helvetica,Arial;color:#d7d7d7;}
#footer .one-fourth {background:#0c0c0c url('images/footerSep.png') no-repeat left top;float:left;width:245px;*width:212px\9;padding-left:32px;padding-top:23px;height:200px;display:block;_display:inline;}
#footer .first {background-image:none;}
#footer h3 {background-image:none;padding-left:0;font-size:36px;}
#footer a {color:#d7d7d7;}
#footer ul li {margin-bottom:3px;}
td {padding:5px 10px 0;}
td span {display:block;color:#333;}
.eri {background:#151413;}
/* =WordPress Core
--------------------------------------------------------------*/
.alignnone {
	margin: 5px 20px 20px 0;
}
.aligncenter,div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}
.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}
.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}
.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}
a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}
a img.alignnone {
	margin: 5px 20px 20px 0;
}
a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}
a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption {
	background: #1a1a1a;
	border: 1px solid #444;
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
color:#999;
}