/*
Theme Name: SHY
Theme URI: http://www.herpetomania.fi
Description: Theme for SHY.
Author: Jarmo Tuutti
Author URI: http://www.herpetomania.fi
Version: 1.0
Tags: shy

License: n/a
License URI: n/a
*/

@import url('bootstrap/css/bootstrap.min.css'); 

body { 
	line-height: 160%;
	font-size: 15px;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	background-color: #888888;
}

table {
	line-height: 160%;
	font-size: 15px;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
}

img {
	max-width: 100%;
	height: auto;
	}

a:link, a:visited {
	color: #c27932;
	}

h1 {
	font-size: 34px;
	color: #8cc86c;
	margin-top: 0;
	font-family: 'Ubuntu', sans-serif;
	font-weight: 500;	
	margin-bottom: 20px;
	}

h2 {
	color: #8cc86c;
	font-size: 24px;
	font-family: 'Ubuntu', sans-serif;
	font-weight: 500;
	}
	
h3 {
	color: #8cc86c;
	margin-bottom: 14px;
	font-family: 'Ubuntu', sans-serif;
	font-weight: 500;
	}

h3.widget-title {
	border-color: #8cc86c;
	border-style: dotted;
	border-width: 0 0 0px 0;
	margin-top: 0;
}

h3.widget-title a {
	font-weight: 500;
}

h3.rpwe-title {
	font-weight: 500;
}

h4 {
	color: #8cc86c;
	margin-top: 25px;
	}

@media (max-width: 480px) { 
	h1 { font-size: 26px; }
	h2 { font-size: 22px; }
	h3 { font-size: 20px; }
}

ul li {
	margin-bottom: 5px;
	}

/* Etusivun banneri */

.banner-wrapper {
  width: 100%;
  display: inline-block;
  position: relative;
}

.banner-wrapper:after {
  padding-top: 45%;
  display: block;
  content: '';
}

.banner-main {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  color: white;
  background-size: cover;
}

div.etusivun-nostot {
	text-align: center;
}

div.etusivun-nostot-inside {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}

div.etusivun-nostot-wrapper {
	overflow: hidden;
	max-width: 550px;
	margin-left: auto;
	margin-right: auto;
}

div.etusivun-nostot-wrapper img {
	max-width: 75px;
}

div.etusivun-nostot-laatikot {
	margin: 1px;
	width: 32%;
	float: left;
	font-size: 20px;
	text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
	font-family: 'Ubuntu', sans-serif;
	font-weight: 500;	
}

div.etusivun-nostot-laatikot a {
	color: white;
	text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) { div.etusivun-nostot { display: none; } }

/* Etusivun muut */

.etusivu-intro {
	font-size: 20px;
	color: #777777;
	padding: 0 50px 0 50px;
	line-height: 150%;
}

/* Alareunan footer-alue */
	
.footer-bg {
	background-color: #888888;
	color: white;
	}

.footer-bg a:link, .footer-bg a:visited {
	color: white;
	text-decoration: underline;
}	

.footer-bg h3 {
	color: white;
	}	

/* Lisää reunaan tilaa, käytetään sisältöalueella */

.paddings {
	padding: 20px 40px 20px 40px;
	}

@media (max-width: 991px) { .paddings { padding: 20px 20px 20px 20px; } }


/* Kategorian artikkelit */

.blogilista-kuva {
	float: left;
	width: 30%;
}

.blogilista-teksti {
	float: right;
	width: 66%;
}

@media (max-width: 767px) {
	.blogilista-kuva { float: none; width: 100%; margin-bottom: 10px; }
	.blogilista-teksti { float: none; width: 100%; margin-bottom: 20px; }
}

.cover-wrapper {
  width: 100%;
  display: inline-block;
  position: relative;
}

.cover-wrapper:after {
  padding-top: 50%;
  display: block;
  content: '';
}

.cover-main {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  color: white;
  background-size: cover;
}


.cover-inside {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}

.cover-inside p {
	font-weight: bold;
	text-shadow: 0 0 3px #444444;
	text-align: center;
}

.cover-inside a, {
	color: white;
}



h1.cover-title {
	font-size: 40px;
	text-align: center;
	text-shadow: 0 0 5px #444444;
}


@media (max-width: 991px) {
	h1.cover-title { font-size: 30px; }
}


@media (max-width: 767px) {
	h1.cover-title { font-size: 24px; }
}

.nav-previous a,
.nav-next a {
	font-weight: bold;
	color: white;
	background-color: #8cc86c;
	padding: 5px;
}

/* Viimeisimmät kommentit */

ul#recentcomments {
	font-size: 12px;
	list-style-type: none;
	padding-left: 0;
}

ul#recentcomments li {
	margin-bottom: 0px;
}

/* Kommentit */

div#respond textarea {
	width: 100%;
}

div#respond input#author, div#respond input#email, div#respond input#url {
	width: 100%;
}

ol.commentlist {
	list-style-type: none;
	padding: 0;
}

ol.commentlist ul.children {
	list-style-type: none;
	margin-top: 10px;
	padding-left: 15px;
}

ol.commentlist li.comment {
	border: 1px solid #cccccc;
	padding: 10px 10px 5px 10px;
	margin-bottom: 10px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

ol.commentlist li.even {
	background-color: #f9f9f9;
}

ol.commentlist li.bypostauthor {
	background-color: #de8187;
	color: white;
}

ol.commentlist li.bypostauthor a:link, 
ol.commentlist li.bypostauthor a:visited {
	color: white;
}

ol.commentlist img {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}

ol.commentlist p {
	clear: both;
}

img.sitelogo {
	margin-top: 2px;
	max-width: 250px;
}

p.introteksti {
	text-align: center;
	color: white;
	font-family: 'Marcellus', serif;
	font-size: 20px;
	padding: 10px 30px 30px 30px;
	line-height: 130%;
	
}

p.intro {
	font-family: 'Cabin Condensed', sans-serif;	
	font-size: 20px;
	line-height: 1.3em;
	color: #666666;
	padding: 10px 0 10px 0;
	margin-bottom: 15px;
}

/* Artikkelit */

td {
	padding: 5px;
}

.readmore {
	font-weight: bold;
	color: #555555;
	border-style: dotted;
	border-color: #555555;
	border-width: 0 0 1px 0;
	margin: 20px 0 15px 0;
}

form#bp-login-widget-form label {
		display: block;
}

form#bp-login-widget-form input {
		display: block;
}

img.uutiset-pystykuva {
	float: right;
	padding: 0 0 10px 10px;
	max-width: 300px;
}

@media (max-width: 767px) { img.uutiset-pystykuva { float: none; max-width: 200px; margin: 0; } }

ul.rpwe-ul h3.rpwe-title a {
	font-size: 16px;
}

/* Navigointi */

.shiftnav-nav ul.shiftnav-menu {
	background-color: #c27932;
}	

.shiftnav-nav ul.shiftnav-menu li a {
	display: block;
	background-color: #c27932;
	color: white;
	border-top: 1px solid #f1c9a2;
	font-weight: 600;
}

.shiftnav-nav ul.shiftnav-menu li.current-menu-item a {
	text-decoration: underline;
}

.shiftnav-nav ul.sub-menu li a {
	display: block;
	padding-left: 30px;
	margin-left: 30px;
	background-color: #ee9d4f;
	font-weight: 300;
}

/* Kirjasto */

.kirjasto_form_wrap textarea.kirjasto-form-field {
	width: 100%;
	height: 150px;
	margin-bottom: 15px;
}

.kirjasto_form_wrap .lainattavat_tuotteet_wrap {
	border: 1px solid black;
}

.kirjasto_form_wrap .laina-aika-class {
	color: black;
}

.kirjasto_form_wrap .laina-aika-class {
	font-size: 16px;
	display: block;
}

.kirjasto_form_wrap .kirjasto_input_label {
	font-size: 16px;
}

/* Haku */

.screen-reader-text {
        display: none;
}