/*
	Theme Name: Green Festival
	Description: Green Festival website template
	Author: gokonski@saren.pl
*/
/* ---------------------------
	reset
--------------------------- */
abbr, address, article, aside, audio, b, blockquote, body, canvas,
caption, cite, code, dd, del, details, dfn, div, dl, dt, em, fieldset,
figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup,
html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav,
object, ol, p, pre, q, samp, section, small, span, strong, sub, summary,
sup, table, tbody, td, tfoot, th, thead, time, tr, ul, var, video { margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline; background-color: transparent; }
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { display: block; }
address, cite, q, dfn { font-style: normal; }
h1, h2, h3, h4, h5, h6 { font-weight: normal; line-height:1.2; }
a, ins, del { text-decoration:none }
q, blockquote { quotes: none; }
th, td {  vertical-align: top; }
th { text-align: left; }
button, input, select, textarea { font: inherit; }

/* --------------------------
	default
-------------------------- */
@font-face {
    font-family: 'RockwellBold';
    src: url('font/rockwell-bold-webfont.eot');
    src: url('font/rockwell-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/rockwell-bold-webfont.woff') format('woff'),
         url('font/rockwell-bold-webfont.ttf') format('truetype'),
         url('font/rockwell-bold-webfont.svg#RockwellBold') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'RockwellRegular';
    src: url('font/rockwell-webfont.eot');
    src: url('font/rockwell-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/rockwell-webfont.woff') format('woff'),
         url('font/rockwell-webfont.ttf') format('truetype'),
         url('font/rockwell-webfont.svg#RockwellBold') format('svg');
    font-weight: normal;
    font-style: normal;
}
html { overflow:hidden; overflow-y:scroll; }
body { background:#468223; font:normal 13px/17px arial, verdana, sans-serif; color:#515151; border-top:4px solid #34ab49; }
a { color:#8dc63f; text-decoration:none; }
a:hover { text-decoration:underline; }
nav li { list-style:none; }
li a { color:inherit; }
button { cursor:pointer; }
:focus { outline:none; }
h1 { font-size:26px; }
h2 { font-size:22px; }
h3 { font-size:18px; }
h4 { font-size:14px; }
h5 { font-size:12px; }
h1,
h2,
h3,
h4 {
	padding:0 0 10px 0;
	color:#8dc63f;
}
h1 {
	color:#555;
}
h5 {
	margin-bottom:10px;
	font-size:14px;
}
p {
	margin:0;
	padding:0 0 10px;
}
img {
	display:block;
}
table { 
	border-collapse: collapse; 
	border-spacing: 0; 
	width:100%; 
	margin:10px 0; 
}
td {
	padding:5px;
	border:1px solid #eee;
}
th {
	background:#eee;
	border:1px solid #fff;
	padding:5px;
}
tr:nth-child(odd) {
	background:#f8fff8;
}
hr {
	clear:both;
}
h1,
h2,
h3,
h4,
h5,
nav {
	font-family:RockwellRegular;
}


/* --------------------------
	layout
-------------------------- */
#page-bg {
	background:#fff;
}

#header {
	background:url(images/header-bg.jpg) center top repeat-x;
	height:365px;
}
#header h1 a {
	display:block;
	text-indent:-9999px;
	width:700px;
	height:170px;
	background:url(images/green-festivals-logo.png);
	position:absolute;
	left:40px;
	top:10px;
}
#header .be-green {
	background:url(images/be-green-logo.png);
	display:block;
	width:190px;
	height:160px;
	position:absolute;
	right:0;
	top:0;
}
#header form {
	position:absolute;
	right:0;
	top:310px;
	z-index:30;
}
#header input {
	-moz-border-radius: 4px; 
	-webkit-border-radius: 4px;
	border-radius: 4px;
	padding:3px 10px;
	height:30px;
	line-height:30px;
	width:240px;
}
#header button {
	height:31px;
	width:71px;
	background:url(images/button-search.png) center no-repeat;
	text-indent:-9999px;
	position:absolute;
	right:3px;
	top:3px;
}
#header input,
#header button {
	border:0;	
	display:block;
}

#nav {
	zoom:1;
	background: #44bf60; /* Old browsers */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzQ0YmY2MCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMzMGE0NDMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #44bf60 0%, #30a443 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#44bf60), color-stop(100%,#30a443)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #44bf60 0%,#30a443 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #44bf60 0%,#30a443 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #44bf60 0%,#30a443 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #44bf60 0%,#30a443 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#44bf60', endColorstr='#30a443',GradientType=0 ); /* IE6-8 */
	font-size:15px;
	text-transform:uppercase;
	border-top:1px solid #57cf7a;
}
#nav ul {
	margin-top:-1px;
}
#nav li {
	float:left;
	display:block;
	margin-right:1px;
}
#nav a {
	display:block;
	color:#fff;
	padding:16px 23px 12px 23px;
	text-shadow:0 1px 2px #444;
	text-decoration:none;
}
#nav .active a,
#nav a:hover {
	filter:0;
	background:#197120;
	box-shadow:inset 0 -2px 5px #444;
}

#main {
	padding:40px 0;
	background:url(images/main-bg.png) 0 0 repeat-x;
}
#main aside nav {
	border:1px dashed #888;
	background:#fff;
	padding:9px;
}
#main nav a {
	display:block;
	zoom:1;
	background: #00ad57; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwYWQ1NyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMGE5NTQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #00ad57 0%, #00a954 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#00ad57), color-stop(100%,#00a954)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #00ad57 0%,#00a954 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #00ad57 0%,#00a954 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #00ad57 0%,#00a954 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #00ad57 0%,#00a954 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ad57', endColorstr='#00a954',GradientType=0 ); /* IE6-8 */
	font-size:14px;
	color:#fff;
	text-transform:uppercase;
	border-bottom:1px solid #15601b;	
	padding:14px 20px 10px 20px;
	text-shadow:0 1px 2px #444;
	text-decoration:none;	
}
#main nav .selected a,
#main .current_page_item a {
	background: #1d8525; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzFkODUyNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMxNTVlMWEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #1d8525 0%, #155e1a 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1d8525), color-stop(100%,#155e1a)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #1d8525 0%,#155e1a 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #1d8525 0%,#155e1a 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #1d8525 0%,#155e1a 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #1d8525 0%,#155e1a 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1d8525', endColorstr='#155e1a',GradientType=0 ); /* IE6-8 */
}

#content ul {
	margin:0;
	padding:0 0 10px 22px;
}
#content ul.event-info {
	padding-left:0;
	list-style:none;
}
#content ul.pagination {
	padding:20px 0;
	zoom:1;
	overflow:hidden;
}
#content ul.pagination li {
	display:block;
	float:left;
	margin-right:2px;
}
#content ul.pagination a {
	padding:9px 13px 7px 13px;
}

aside h5 {
	font-size:18px;
	color:#0090e5;
}
aside ul {
	list-style:none;
	font-size:14px;
}
aside li {
	padding:4px 0;
}

#social {
	height:300px;
	border-top:1px dashed #b8b8b8;
	background:#fafafa url(images/footer-bg.png) bottom left repeat-x;
	padding:20px 0 40px 0;
}
#social section {
	width:300px;
	float:left;
	margin-right:40px;
}
#social section:last-child {
	margin:0;
}
#social form {
	padding:10px 0 160px;
	background:url(images/newsletter-bg.png) center bottom no-repeat;
}
#social form input {
	margin-bottom:5px;
	border:1px solid #eaeaea; 	
	display:block;
	padding:7px 10px;
	width:278px;
}
#social form button {
	width:140px;
}

#social .twtr-hd,
#social .twtr-ft {
	display: none;
}
#social .twtr-widget .twtr-tweet {
	border:0;
}
#social .twtr-widget .twtr-tweet-wrap {
	padding:10px 0;
}

#footer {
	padding:20px 0;
	color:#fff;
}
#footer nav {
	float:left;
}
#footer nav li {
	display:inline;
	margin-right:20px;
}
#footer p {
	float:right;
}


/* --------------------------
	grid
-------------------------- */
.container {
	width:980px;
	margin:0 auto;
	position:relative;
}
.col1 {
	float:left;
	background:url(images/shadow-left.png) right top no-repeat;
	padding-right:30px;
	width:525px;
	min-height:500px;
}
.col2 {
	float:right;
	width:400px;
}
.home .col1 {
	background:url(images/shadow-right.png) right top no-repeat;
	width:400px;
}
.home .col2 {
	width:530px;	
}
.blog .col1 {
	width:700px;
}
.blog .col2 {
	width:220px;
}
.has-subnav .col1 {
	float:right;
	width:630px;
	background:none;
}
.has-subnav .col2 {
	float:left;
	width:270px;
	min-height:500px;
	background:url(images/shadow-left.png) right top no-repeat;
	padding-right:25px;	
}


/* --------------------------
	specific
-------------------------- */
.btn {
	background:#145d1a url(images/arr.png) 90% 50% no-repeat;
	color:#fff;
	border:0;
	text-transform:uppercase;
	display:inline-block;
	padding:10px 30px 10px 15px;
	line-height:1;
}
.btn:hover {
	background-color:#468223;
	text-decoration:none;	
}

.box {
	background:#fff;
	padding:30px 14px 12px 14px;
	border:1px dashed #ccc;
	position:relative;
	margin-bottom:30px;	
}
.box h5 {
	background:#8dc63f;
	color:#fff;
	text-shadow:0 1px 1px #777;
	padding:12px 15px 9px 15px;
	display:block;
	position:absolute;
	left:14px;
	top:-20px;
	font-size:18px;
	line-height:1;
	z-index:200;
}
.box blockquote {
	margin-bottom:12px;
}
.box blockquote p {
	background:#aae0fa;
	padding:10px;
	font-weight:bold;
	font-size:15px;
}
.map {
	padding:9px;
}
.map h5 {
	left:auto;
	right:10px;
} 
.map #map_canvas {
	width:100%;
	height:350px;
}
.home .map #map_canvas {
	height:525px;
}
.map .btn-info {
	position:absolute;
	bottom:20px;
	left:20px;
	text-shadow:0 1px 1px #777;
	background-color:#87a5c1;
}
.map .infowindow h2 {
	color:#555;
}
.news h5 {
	background-image:url(images/rss-icon.png);
	background-position:95% center;
	background-repeat: no-repeat;
	padding-right:40px;
}


.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}
.clearfix:after,.clearfix .pagination:after {
  clear: both;
}

.prev, 
.next { 
	max-width: 49%; 
}
.prev, .alignleft { 
	float: left; 
	text-align: left; 
}
.next, .alignright { 
	float: right; 
	text-align: right; 
}
.alignleft { 
	margin: 0 20px 20px 0;
}
.alignright { 
	margin: 0 0 20px 20px;
}
.alignleft,
.alignright { 
	padding:6px;
	border:1px dashed #ccc;
	box-shadow:1px 1px 10px #aaa;
}

.intro {
	background:#fff;
	margin:-10px 0 40px 0;
	border:1px dashed #aaa;
	padding:9px;
	overflow:hidden;
}
.intro li {
	color:#fff;
	height:275px;
	overflow:hidden;	
	list-style:none;
	display:block;
	position:relative;
}
.intro li div {
	width:400px;
	position:absolute;
	left:40px;
	bottom:30px;
}	
.intro li h3 {
	color:#fff;
}

.post time {
	color:#e5699f;
}
.post h2 {
	color:#3cb454;
}
.post-listing {
	padding:20px 0;
	border-bottom:2px dotted #ddd;
}


/* --------------------------
	plugins
-------------------------- */
.wpcf7 form {  padding:30px 60px; margin:30px auto; }
.wpcf7 label { display:block; font-weight:bold; font-size:13px; color:#666; padding:3px 0; }
.wpcf7 p input, .wpcf7 textarea { width:400px; padding:5px; }
.wpcf7 textarea { height:100px; }
.wpcf7 .submit { text-align:center; }
.wpcf7 .submit input { width:auto; }
.wpcf7-response-output { margin:10px 0; padding:10px !important; text-align:center; }
.wpcf7-mail-sent-ok { border: 1px solid #398f14; background:#ccebbc; }
.wpcf7-spam-blocked { border: 1px solid #ffa500; }
.wpcf7-display-none { display: none; }
.wpcf7-validation-errors { background:#b00; color:#fff; }
.wpcf7-form-control-wrap { position: relative; }
.wpcf7-not-valid-tip { -moz-border-radius:0 15px 15px 15px; -webkit-border-radius:0 15px 15px 15px; border-radius:0 15px 15px 15px; position:absolute; top:4px; z-index:100; display:block; color:#fff; background:#d00; padding:5px 20px; border:none; right:-40px; width:auto; }
.wpcf7-not-valid-tip-no-ajax { color: #f00; display: block; }
.ajax-loader { border: none; vertical-align: middle;  display:inline; margin:0 0 0 10px; }
.wpcf7-form-control-wrap.checkbox-178 .wpcf7-not-valid-tip,
.wpcf7-form-control-wrap.house-interested-in .wpcf7-not-valid-tip { width: 152px; left: 210px; top: -15px; }