/*
Theme Name: Kylänpuoli
Author: Laura
*/



/*	Reset
-----------------------------------------------------------*/

* {
	margin: 0;
	padding: 0;
}




/*	Yleiset
-----------------------------------------------------------*/

	/* Koko sivu */

html {
	font-size: 100%;
}

body {
	background: #496b91 url(bg-grainblue.jpg);
	color: #000000;
	font: normal normal 1em/1.5em Georgia, Palatino, Palatino Linotype, URW Palladio L, serif;
}


	/* Yleiset */

a:link, a:visited {
	color: #619f3f;
	text-decoration: underline;
}

a:hover, a:active {
	color: #aed76f;
	text-decoration: none;
}

blockquote, cite, em {
	font-style: italic;
}

h1, h1 a:link, h1 a:visited, h1 a:hover, h1 a:active, h2, h2 a:link, h2 a:visited, h2 a:hover, h2 a:active, h3, h3 a:link, h3 a:visited, h3 a:hover, h3 a:active {
	color: #000000;
	font-weight: normal;
	text-decoration: none;
}

h2 {
	font-size: 1.5em;
	line-height: 1em;
	margin: 1.5em 0 1em 0;
}

h3 {
	font-size: 1.5em;
	line-height: 1.5em;
	margin: 1.5em 0 1em 0;
}

img, a img {
	max-width: 100%;
	border: 1px solid #dddddd;
	padding: 5px;
}

p {
	margin: 1.5em 0;
}

q {
	font-style: italic;
	margin: 1.5em 0;
}

small {
	font-size: 0.75em;
}

strong {
	font-weight: bold;
}


/* Taulukko */

table {
	border: 0;
	border-collapse: collapse;
	width: 100%;
}

table td {
	color: #000000;
	border: 0;
	padding: 0;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

table img {
	max-width: 100%;
	text-align: center;
	vertical-align: middle;
}

table p {
	margin: 0.75em 0;
}



/*	Luokat ja ID:t
-----------------------------------------------------------*/


	/* Etusivu */

.intro {
	line-height: 1.2em;
}

div.yhteystiedot {
	float: right;
	overflow: hidden;
	margin: 0 0 1.5em 1.5em;
	width: 250px;
}

div.yhteystiedot img {
	border: 0;
	padding: 0;
	width: 250px;
}

div.yt {
	background: #e9efd9;
	padding: 0.75em;
}

div.yt p:first-child {
	margin-top: 0;
}


	/* Koiramme-taulukko */

table.koirat td {
	vertical-align: middle;
	padding-bottom: 1.5em;
}

table.koirat td:first-child {
	width: 300px;
}


	/* Kauppa */

table.kauppa td {
	vertical-align: top;
	width: auto;
}

table.kauppa td.tuotekuva {
	padding: 3em 0 0 1.5em;
	width: 180px;
}

div.kauppa img, table.kauppa td img {
	border: 0;
}


	/* Blogi */

div.post {
	margin: 0 0 6em 0;
}

p.metadata {
	color: #aaaaaa;
	line-height: 1.5em;
	margin: -1.5em 0 1.5em 0;
}

div.navigation {
	background: #eef3e1;
	padding: 1.5em;
}

.navigation ul {
	list-style-position: inside;
}


	/* Kuvat ja galleriat */

.alignright {
	float: right;
	margin-right: 0.75em;
}

.gallery-caption {
	color: grey;
	font-style: italic;
	margin: 0 0.75em 1.5em 0 !important;
	text-align: left !important;
}

.gallery img {
	border: 1px solid #dddddd !important;
	margin-bottom: 0.75em;
	padding: 5px;
}

.gallery-item {
	text-align: left !important;
	margin: 0 !important;
	padding: 0 !important;
}

.wp-caption-text {
	color: grey;
	font-style: italic;
	margin: 0.75em 0 1.5em 0;
}


	/* Kommentit (Vieraskirja) */

#author, #email, #url, #comment {
	border: 1px solid #949b81;
	height: 1.5em;
	line-height: 1.5em;
	padding: 2px;
}

#comment {
	height: 15em;
}

#respond {
	background: #e9efd9;
	padding: 0.75em 1.5em;
}

#respond label {
	margin-left: 0.75em;
}

#respond #submit {
	padding: 0.1875em 0.375em;
}

#respond textarea {
	width: 100%;
}

.comment {
	padding: 0.75em 0 0 0;
}

.comment-author-kylanpuo {
	color: #a1927b;
	list-style-type: none;
	margin-left: 3em;
}

.comment-content p:first-child {
	margin-top: 0;
}

.comment-meta {
	font-weight: bold;
}

.commentlist {
	margin-top: 1.5em;
	list-style-type: none;
}

.thread-even {
}

.nocomments {
	display: none;
}



/*	Ulkoasun rakenne
-----------------------------------------------------------*/

	/* Wrapper */

#wrapper {
	background: #ffffff;
	border-width: 0 1px;
	margin: 0 auto;
	max-width: 950px;
	min-width: 500px;
}


	/* Header */

#header {
	height: 6em;
}

#header h1 {
	font-size: 2em;
	line-height: 0.75em;
	margin: 0;
	padding: 1.5em 0 0 2em;
}

#header h1 a:link, #header h1 a:visited, #header h1 a:hover {
	color: #619f3f;
	text-decoration: none;
}

img.linnut {
	border: 0;
	margin: 0;
	width: 100%;
	padding: 0;
}


	/* Navigaatio */

#nav ul {
	background: #69a647 url(bg-graingreen.jpg) top left repeat-x;
	height: 3em;
	list-style-type: none;
	margin: 0;
	padding: 0 0 0 4em;
}

#nav ul li {
	float: left;
	margin: 0;
	padding: 0;
}

#nav ul li a {
	color: #ffffff;
	display: block;
	letter-spacing: 1px;
	margin: 0.75em 1.5em 0.75em 0;
	padding: 0;
	text-align: center;
	text-decoration: none;
}

#nav ul li a:hover {
	color: #bee088;
}


	/* Content */

#content {
	clear: both;
	padding: 0.75em 4em 1.5em 4em;
	text-align: left;
}


	/* Footer */

#footer {
	clear: both;
	color: #aaaaaa;
	padding: 0 4em 1.5em 4em;
}

#footer a:link, #footer a:visited, #footer a:hover, #footer a:active {
	color: #aaaaaa;
}

#footer p {
	margin: 0;
}