/*
Theme Name: ERS
Description: ERS theme designed by <a href="http://minuspink.com//">minuspink</a>
Author: Adrian Trif
Author URI: http://minuspink.com/
*/

/* CSS reset by Eric Meyer
-------------------------------------------------------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
:focus {
	outline: 0;
}
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
.clear {
	clear: both;
}
.left {
	float: left;
}
.right {
	float: right;
}

/* Typography
-------------------------------------------------------------------------------------------------------------- */
a {
	text-decoration: none;
	color: #15a7d8;
}
a:hover {
	text-decoration: underline;
	color: #96c737;
}

/*
.text a:link {
	text-decoration: none;
	border-bottom: 1px solid #15a7d8;
	color: #15a7d8;
}
.text a:visited {
	text-decoration: none;
	border-bottom: 1px solid #15a7d8;
	color: #93561a;
}
.text a:hover {
	text-decoration: none;
	border-bottom: 1px solid #15a7d8;
	color: #527809;
}
.text a:active {
	text-decoration: none;
	border-bottom: 1px solid #15a7d8;
	color: #527809;
}
*/

h1 {
	font-size: 28px;
	margin: 24px 0 6px;
	color: #15a7d8;
}
h2 {
	font-size: 18px;
	line-height: 22px;
	margin: 20px 0 4px;
	color: #15a7d8;
}
h3 {
	font-size: 14px;
	line-height: 16px;
	margin: 4px 0 0;
	color: #15a7d8;
}
.textinput {
	padding: 4px;
	border: 1px solid #e4e4e4;
	color: #666;
}
input[type='text'], 
input[type='password']
{
	height: 16px;
	line-height: 16px;
	background: #fff;
	border: 1px solid #dee2e3;
	padding: 3px;
}
input[type='checkbox'] {
	margin-left: 0;
}
textarea {
	background: #fff;
	border: 1px solid #dee2e3;
	height: 100px;
	padding: 3px;
	font-family: Helvetica, Arial, sans-serif;
}
label {
	font-weight: bold;
}
label span {
	font-weight: normal;
	color: #666;
}
#motto {
	margin-bottom: 30px;
	font-family: Georgia, serif;
	font-style: italic;
	font-size: 20px;
	color: #15a7d8;
}

/* Layout
-------------------------------------------------------------------------------------------------------------- */
html {
	height: 100%;
}
body {
	height: 100%;
	background: #f7f4eb url("images/bg.jpg") 50% 0% fixed no-repeat;
	font: normal 12px/1.5 Helvetica, Arial, sans-serif;
	color: #333;
}
body p {
	margin: 0 0 10px;
}
#wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 0 -150px 0;
}
#container {
	width: 940px;
	margin: 0 auto;
}
#primary {
	position: relative;
	float: left;
	width: 620px;
	margin: 0 0 20px;
	color: #333;
}
#primary h1 {
	line-height: 1.2;
}
#primary .post small {
	display: block;
	color: #666;
	margin-bottom: 8px;
}
#aside {
	float: right;
	width: 300px;
	margin: 0 0 20px;
	color: #666;
}
#header {
	float: left;
	width: 940px;
	height: 210px;
	padding-top: 20px;
}
#logo {
	padding-top: 5px;
}
#slogan {
	margin-top: 30px;	
}
#header_pics {
	float: right;
}

#nav {
	position: relative;
	float: left;
	width: 940px;
	margin-bottom: 30px;
	z-index: 100;
}
#nav ul {
	position: relative;
	float: left;
}
#nav li {
	position: relative;
	float: left;
	font-size: 13px;
	font-weight: bold;
}
#nav li a {
	display: block;
	float: left;
	height: 56px;
	line-height: 56px;
	overflow: hidden;
	text-align: center;
	color: #fff;
}
#nav li a:hover {
	text-decoration: none;
}
#nav li ul {
	position: absolute;
	float: left;
	width: 185px;
	left: 0px;
	top: 55px;
	display: none;
}
#nav li ul li {
	float: left;
	width: 185px;
	height: 28px;
	margin: 0;
	background: none;
}
#nav li ul li a {
	display: block;
	float: left;
	height: 20px;
	line-height: 20px;
	width: 170px;
	margin-right: 0;
	padding: 4px 5px 3px 10px;
	border-bottom: 1px solid #fbf9f4;
	background: #93561a;
	text-align: left;
	overflow: hidden;
}
#nav li ul li.current_page_item a,
#nav li ul li a:hover {
	background: #96c737;
}
#nav li:hover ul {
	display: block;
}
#nav li ul li ul {
	display: none;
}

#nav_home a {
	width: 84px;
	background: url("images/nav.png") 0px 0px no-repeat;
	margin-right: 9px;
}
#nav_home a:hover,
#nav_home.active a {
	background-position: 0px -80px;
}
#nav_stn a {
	width: 173px;
	background: url("images/nav.png") -93px 0px no-repeat;
	margin-right: 9px;
}
#nav_stn a:hover {
	background-position: -93px -80px;
}
#nav_sff a {
	width: 168px;
	background: url("images/nav.png") -275px 0px no-repeat;
	margin-right: 4px;
}
#nav_sff a:hover {
	background-position: -275px -80px;
}
#nav_suk a {
	width: 142px;
	background: url("images/nav.png") -445px 0px no-repeat;
	margin-right: 5px;
}
#nav_suk a:hover {
	background-position: -445px -80px;
}
#nav_sww a {
	width: 150px;
	background: url("images/nav.png") -594px 0px no-repeat;
	margin-right: 8px;
}
#nav_sww a:hover {
	background-position: -594px -80px;
}
#nav_about a {
	width: 93px;
	background: url("images/nav.png") -752px 0px no-repeat;
	margin-right: 8px;
}
#nav_about a:hover {
	background-position: -752px -80px;
}
#nav_contact a {
	width: 87px;
	background: url("images/nav.png") -854px 0px no-repeat;
}
#nav_contact a:hover {
	background-position: -854px -80px;
}

h2.subcat_item {
	margin:  0 0 4px;
}

/* Images
-------------------------------------------------------------------------------------------------------------- */
#content img {
	margin: 0;
	max-width: 640px;
}
#content .attachment img {
	max-width: 900px;
}
#content .alignleft,
#content img.alignleft {
	/*display: inline;*/
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
#content .alignright,
#content img.alignright {
	/*display: inline;*/
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
#content .aligncenter,
#content img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
#content img.alignleft, 
#content img.alignright, 
#content img.aligncenter {
	margin-bottom: 12px;
}
#content .wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	text-align: center;
	margin-bottom: 20px;
	padding: 4px;
}
#content .wp-caption img {
	margin: 5px 5px 0;
}
#content .wp-caption p.wp-caption-text {
	margin: 5px;
	color: #888;
	font-size: 12px;
}
#content .wp-smiley {
	margin:0;
}
#content .gallery {
	margin: auto;
}
#content .gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
#content .gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
#content .gallery dl {
	margin: 0;
}
#content .gallery img,
#content .entry img {
	border: 10px solid #f1eee8;
	margin-bottom: 10px;
}
#content .entry a:hover img,
#content .gallery img:hover {
	border: 10px solid #d7d1c6;
}
#content .gallery br+br {
	display: none;
}


.btn_leaf {
	display: block;
	float: left;
	width: 240px;
	height: 90px;
	margin: 0 0 20px;
	padding: 35px 0 0 60px;
	background: url("images/btn_leaf.png") 0% 50% no-repeat;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.2;
	color: #fff;
}
.btn_leaf span {
	color: #fff;
}
.btn_leaf:hover {
	text-decoration: none;
	color: #406004;
}

.btn_flower1 {
	display: block;
	float: left;
	width: 230px;
	height: 155px;
	margin: 0 0 20px;
	padding: 80px 0 0 70px;
	background: url("images/btn_flower1.png") 0% 50% no-repeat;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.2;
	color: #fff;
}
.btn_flower1 span {
	color: #fff;
}
.btn_flower1:hover {
	text-decoration: none;
	color: #05536d;
}

.btn_flower2 {
	display: block;
	float: left;
	width: 230px;
	height: 145px;
	margin: 0 0 20px;
	padding: 90px 0 0 70px;
	background: url("images/btn_flower2.png") 20px 50% no-repeat;
	font-size: 22px;
	font-weight: bold;
	line-height: 1.2;
	color: #fff;
}
.btn_flower2 span {
	color: #fff;
}
.btn_flower2:hover {
	text-decoration: none;
	color: #905303;
}

/* aside buttons */
/*.btn {
	display: block;
	float: left;
	margin: 0 0 20px;
	width: 270px;
	padding: 10px;
	background-color: #96c737;
	border: 5px solid #96c737;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	font-size: 18px;
	line-height: 1.2;
	color: #fff;
}
.btn:hover {
	text-decoration: none;
	border: 5px solid #d7d1c6;
	color: #fff;
}
.btn span {
	color: #fff;
}
.leaf {
	background: #96c737 url("images/bg_leaf.png") 99% 50% no-repeat;
}
.leaf:hover {
	color: #406004;
}
.flower1 {
	border: 5px solid #15a7d8;
	background: #15a7d8 url("images/bg_flower1.png") 99% 50% no-repeat;
}
.flower1:hover {
	color: #05536d;
}
.flower2 {
	border: 5px solid #f09928;
	background: #f09928 url("images/bg_flower2.png") 99% 50% no-repeat;
}
.flower2:hover {
	color: #905303;
}
*/

#push {clear: both; height: 150px;}

#footer {
	height: 150px;
	width: 780px;
	padding-left: 160px;
	margin: 0 auto;
	background: url("images/tree.png") 0% 100% no-repeat;
}
#copyright {
	padding-top: 40px;
	color: #80aa2f;
}
#footer_info {
	float: left;
	width: 450px;
	color: #663300;
	font-size: 11px;
}
#design_by {
	float: left;
	width: 140px;
	padding-left: 100px;
	line-height: 1;
	color: #80aa2f;
}
#design_by a {
	text-decoration: underline;
}
