/*  
Theme Name: Rambo
Theme URI: 
Description: A magazine-style layout for Wordpress
Version: 2.1
Author: M.T. and J.S.K based on Mimbo theme by Darren Hoyt
Author URI: 

The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php



/* HTML Elements */

* {
	margin:0;
	padding:0;
	}

body,html {
	min-height:101%;
	}
	
body {
	background: #3c3c3c;
	color: #333333;
	padding: 13px 0 25px 0;
	}

body, select, input, textarea {
	font: 100% Arial, Verdana, Sans-Serif;
	}
	
p {	
	font-size:140%;
	margin: 15px 0;
	}

a:link, a:visited {
	color: #2F4F2F;
	text-decoration:none
	}

a:hover, a:active {
	color:#333333;
	text-decoration:underline;
	}

hr {
	display: block;
	height:1px;
	background:#333;
	border:0;
	}

small {
	font-size: 0.98em;
	}

img, a:link img, a:visited img {
border: 2px solid #CFCFCF;
	}

img.alignleft, div.alignleft {
float:left;
margin:0 0.5em 0.5em 0;
}

img.alignright, div.alignright {
float:right;
margin:0 0 0.5em 0.5em;
}

img.aligncentered, div.aligncentered {
text-align:center;
margin:0 auto;
}
		

/* Structure */

#page {	
    	position:absolute;
    	left:  50%;    
	    width:990px;
        margin-left: -495px;
		font-size:0.75em;
		background:#FFF;
		padding: 10px 15px 15px 15px;
	}


#branding {
	position:relative;
	top: 15px;
	width:855px;
	margin-bottom:15px;
	background: transparent url(http://kuvasalonki.com/wp-content/themes/rambo2.2/images/kvs_header2011.jpg) no-repeat;
	height: 112px;
	}

#sidebar {
	position: relative;
	top: auto;
	left: auto;
	width: 186px;
	float:left
	}

#leftcol {
	position: relative;
	top: auto;
	right: 0px;
	left:auto;
	margin-top:10px;
	width:285px;
	border-right:1px dotted #b6b6b6;
	padding-right:10px;
	float:left;
	}
	
#rightcol {
	position: relative;
	top: 10px;
	left:auto;
	width:307px;
	padding-left:10px;
	margin-top:10px;
/*	margin-top: -2px;*/
	float: left;
	}

	#sidebar2 {
		position: absolute;
		top: auto;
		right:20px;
        /*margin-right:-788px;*/
        width: 110px;
		float:left
        }

/* Twitter-loota purkkaliima */


.twtr-doc {
	margin-top: 20px;
	}
.twtr-hd {
	margin-top: -5px;
	}
.twtr-tweets {
	font-size: 9px;
	}

/* Structure jatkuu*/
	

#lead p {	
	font-size:140%;
	margin-right: 345px;
        margin-top: 5px;
	margin-bottom: 15px;
	}

.left {
float:left;
}

.right {
	float:right;
	}
	
/* Tuoreimmat-kategoria lisatty - JSK */

#tuoreimmat p {	
	font-size:105%;
        margin-top: 5px;
	margin-bottom: 15px;
	}

#tuoreimmat h3 {	
	font-size:88%;
        }

#tuoreimmat {	
	font-size:120%;
        float:bottom;
        position:relative;
        bottom:auto;
        /* border:1px solid gray; */
        clear:both;
        margin-top: 25px;
	margin-bottom: 15px;
        padding-top: 10px;
        margin-left: 5px;
        width: 650px;
	}

/*Googgelimainokset arkistosivuilla ja singles */

.google-ad {
padiing-top:20px;
padding-bottom: 20px;
}

.google-ad_ylh_banneri {
margin-top: 25px;
padding-left: 91px;
}


/*Subnav */

.subnav li {
	list-style:none;
	border-bottom:1px solid #FFF;
	}

.subnav li a:link, .subnav li a:visited {
	background:#eef5e1;
	display:block;
        padding:1px 4px 0px 8px;
	border-left:4px solid #e4efd5;
	}
		
.subnav li a:hover, .subnav li a:active {
	background:#e4efd5;
	text-decoration:none;
	color: #7da939;
	}

.subnav li li a:link, .subnav li li a:visited {
	border-left:none
	}

.textwidget {
padding:1px 4px 0px 8px;
	}
		
	 
	
	
/*	Headers */

h1 {
	font:4.20em Arial, Verdana, Sans-Serif;
	font-weight:bold;
	letter-spacing:0.15em;
	}
	
h2 {
	font: 2.3em Arial, Verdana, Sans-Serif;
	padding-bottom:8px;
	border-bottom:1px solid #333;
	margin: 20px 0;
	}

h3, #sidebar h2 {
	font: 1em Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	letter-spacing:0.1em;
	margin-bottom:4px;
	font-weight:bold;
	color:#2F4F2F;
	}

#sidebar h3, #sidebar h2 {
	border-top:5px solid #BBB;
	border-bottom:1px solid #BBB;
	padding:6px 0 6px 2px;
	margin:22px 0 15px 0;
	font-size:1em;
	}

h3, #sidebar2 h2 {
	font: 1em Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	letter-spacing:0.1em;
	margin-bottom:4px;
	font-weight:bold;
	color:#5f5f5f;
	}

#sidebar2 h3, #sidebar2 h2 {
	border-top:5px solid #BBB;
	border-bottom:1px solid #BBB;
	padding:6px 0 6px 2px;
	margin:22px 0 15px 0;
	font-size:1em;
	}


h3#respond {
/* border-top:1px dotted #b6b6b6; */
	margin-top:25px;
	padding-top:20px
	}

h3#comments {
	margin-top:32px
	}

h4 {
	font-size:1.6em;
	margin-bottom:6px;
	}
	
	
	
/* Content */


#content {
        float:right;
        margin-right:120px;
        padding-right:20px;
        padding-bottom:20px;
        width:650px;
	}
	
.description {
	font-size: 1.3em;
	font-weight: bold; 
	font-style:italic;
	color:#545454;
	margin-top: 3px;
	margin-bottom:0px;
	}

.feature {
	background:#f2f2f2;
	padding:15px;
	border-bottom:1px dotted #b6b6b6;
	border-top:1px dotted #b6b6b6;
	}

.feature:hover {
	background:#e9e9e9;
	}
	
.feature p, #rightcol p {
	margin:0;
	}

.feature img, #rightcol img {
	padding:1px;
	border:1px solid #000;
	}

/* Featured image lisätty */

.wp-post-image{
        float:right;
        width:269px;
        height:202px;
        margin: 0 35px 8px 0
	}

#leftcol .wp-post-image{
        float:left;
        width:269px;
        height:202px;
        margin: 0 35px 8px 0
	}

/* Content jatkuu */
			
#leadpic {

	float:right;
	margin: 0 35px 8px 0;
	}

#lead {
	margin-top:22px;
        line-height:165%;
	}

.title {
	font-family:arial,verdana,helvetica,sans-serif;
	font-size:1.5em;
	font-weight:bold;
	line-height:125%;
	}
	
.feature#lead .title {
	font:2.2em arial, verdana, helvetica, sans-serif;
	font-weight:bold;
	line-height:100%;
	display:block;
	padding-bottom:7px;
	}

#leftcol .feature {
	margin-bottom: 5px;
	border-bottom:none
	}

#rightcol img {
	float:left;
	margin:3px 10px 4px 0;
	}

#leftcol img {
	margin-bottom: 4px;
	display:block
	}
	
#rightcol .clearfloat {
	border-bottom:1px dotted #b6b6b6;
	padding:12px 0;
	}	

#sidelist li {
        font-size:110%;
	list-style:none
	}
	
.bullets li {
	list-style:none;
	border-bottom:1px solid #FFF;
	}
	
#sidelist .bullets li {
	list-style:square;
	margin-bottom:5px;
	line-height:115%;
	margin-left:22px;
	}

#sidelist .children {
	background:#e4efd5;
	}
	
#sidelist .children li {
	margin-left:28px;
	border-bottom:1px solid #e4efd5;
	}
	
#sidelist .children li a, #sidelist .children li a:visited {
	padding:2px 2px 2px 0px;
	border:0;
	background:#e4efd5;
	color: #818d6f;
	}

#sidelist .children li a:hover, #sidelist .children li a:active	{				
	color:#465d23
	}

.postmetadata {
	margin: 30px 0;
	}

#writer {
	background:#eef5e1;
	margin:15px 0;
	padding:12px;
	}

#writer img {
	padding:1px;
	border:1px solid #7da939;
	float:left;
	width:80px;
	}

#writer span {
	display:block;
	padding-top:4px;
	border-top:1px solid #cbd8b4;
	margin-top:12px;
	}

#writer p {
	margin:0;
	width:482px;
	}	

.entry {
        float:right;
        padding-bottom:20px;
        width:650px;
	}

h3 a:link, h3 a:visited {
	color:#2F4F2F;
	}

/*Kielivalinta*/

.languages {	
	float: right;
	font-size:95%;
	font-style:bold;
        margin-top: 5px;
	margin-bottom: 15px;
	}

/*Post Formatting*/

.picleft {
	float:left;
	margin:3px 14px 10px 0;
	border:7px solid #f2f2f2;
	}

.picright {
	float:right;
	margin:3px 0 10px 14px;
	border:7px solid #f2f2f2;
	}	

.post blockquote {
	color:#76767a;
	background:#f2f2f2;
	padding:6px 14px;
	margin:18px 35px;
	border-right:1px solid #DDD;
	border-bottom:1px solid #DDD;
	}	

.post ul li {
	list-style:square;
	margin-bottom:5px;
	line-height:115%;
	margin-left:42px;
	}

.post ol li {
	margin-bottom:5px;
	line-height:115%;
	margin-left:48px;
	}
		
/* Form Elements */

select {
	background:#f2f2f2;
	border:1px solid #9c9c9c;
	width:100%
	}
	
#searchform {
	padding:16px 5px 0 0; 
	}

.button {
	padding: 1px;
	background:#000;
	color:#e7e7e7;
	border:none
	}

.button:hover {
	background:#777;
	color:#FFF
	}

#commentform input {
	width: 170px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	margin-top:5px;
	}



/* Comments*/

.commentlist {
	padding-left:30px;
	}
	
.commentlist li {
	margin: 15px 0 3px;
	padding: 8px 15px 10px 15px;
	background:#f2f2f2;
	border-top: 1px solid #ddd;
	}

#commentform small {
	background:#FFF;
	font-weight:bold;
	padding:0;
	}
	
.commentmetadata {
	display: block;
	}

.commentlist small {
	background:#e9e9e9
	}

.commentlist cite {
	font: 1.6em Georgia, "Times New Roman", Times, serif;
	font-weight:bold;
	letter-spacing:-0.05em;
	}	
	

/* Float Properties*/

.clearfloat:after {
	display:block;
	visibility:hidden;
	clear:both;
	height:0;
	content:".";
	}
	
.clearfloat {
	display:inline-block
	}

.clearfloat {
	display:block
	}

/* Captions */

.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	
	padding-top: 4px;
	margin: 10px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 2px solid #CFCFCF;
}

.wp-caption p.wp-caption-text {
	font-size: 120%;
        font-weight:bold;
	line-height: 17px;
	padding: 0 2px 5px;
	margin-top: 8px;
        margin-bottom: 0px;
}	


/* Footer*/

#footer {
        position: relative;
        left:168px;
        top: auto;
        bottom: 15px;
	margin: 0 auto;
	width: 900px;
	clear: both;
        font-size:0.9em;
	padding-top:15px;
        color:black;
	}

#footer a {
color:black;
	}