/* ---------------------
	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: bold; line-height:1; }
a, ins, del { text-decoration:none }
q, blockquote { quotes: none; }
th { text-align: left; }
td { padding:3px 5px 0 3px; }
table{border-collapse:collapse;border-spacing:0;}
nav li { display:inline-block; list-style:none; }
img { display:block; max-width:100%; }


/* ---------------------
	General
--------------------- */
html, body {
    width: 210mm;
    height: 297mm;
	margin: 0 auto;
}
body {
    color: #444;
    font: 12px/16px Helvetica Neue, Helvetica, sans-serif;
	padding-bottom: 40px;
}
a {
	text-decoration: underline;
	color: #333;
}
a:hover {
	text-decoration: none;
}
p {
	margin-bottom: 15px;
}
h1 {
	font-size: 34px;
	line-height: 38px;
	padding:0 0 30px 0;
	text-align: left;
}
h1.small {
	font-size: 22px;
	line-height: 28px;
}
h2 {
	font-size: 28px;
	line-height: 32px;	
	padding:0 0 20px;
}
h3 {
	font-size: 22px;
	line-height: 28px;
	padding:15px 0 10px;	
}
h5 {
	border-bottom: 1px dotted #ccc;
	color: #679332;
	font-size: 16px;
	margin: 10px 0;
	padding-bottom: 5px;
}
table { 
	border-collapse:collapse;
	width: 100%;
	margin: 0 0 35px 0;
	border-bottom: 3px solid #679332;
}
table caption {
	padding: 8px;
	background: #679332;
	color: #fff;
}
td,
th {
	border: 0;
	padding: 5px;
}
th {
	padding-top: 5px 8px;
	background: #ddd;
}
td {
	border-bottom: 1px solid #ddd;
}
tr:hover {
	background: #f5f5f5;
}
article {
	text-align: justify;
}
article ul,
article ol {
	padding:0 0 10px 20px;
}
aside {
	margin-bottom: 20px;
}
aside h5 {
	padding: 5px 0;
}
aside li {
	list-style: none;
	display: block;
}
aside li a {
	display: block;	
	border-bottom: 1px solid #eee;
	padding: 10px;	
	text-decoration: none;
}
aside a:hover {
	color: #679332;
}
aside ul ul {
	margin: 5px 0 5px 20px;
}
aside ul ul a {
	padding: 5px 10px;
	font-size: 12px;
}
img {
	display: inline-block;
}


/* ---------------------
	Layout
--------------------- */
#header h1 {
	padding: 10px 0;
}
#header h1 a {
	margin: 0 auto;
	display: block;
	width: 570px;
	height: 130px;
	background: url('images/gmina-logo.png') no-repeat;
	text-indent: -9999px;
}

#nav {
	padding: 0;
	margin: 0 auto 20px;
	border-bottom: 5px solid #679332;
	background: #f8f8f8;
	position: relative;
}
#nav ul {
	height: 40px;
}
#nav > ul > li {
	float: left;
	position: relative;
}
#nav li:last-child a {
	border: 0;
}
#nav li a {
	border-right: 1px solid #fff;
	margin: 0;
	display:block;
	padding: 0 10px;
	text-decoration: none;
	font-size: 13px;
	line-height: 40px;
	color: #333;
}
#nav li:hover > a {
	background: #eee;
}
#nav li.active > a {
	background: #679332;
	color: #fff;
}

#main {
	padding:0 0 40px 0;
}

#footer {
	padding-top:15px;
	border-top:1px solid #ddd;
	text-align:center;
}
#footer p {
	margin: 0;
}
#footer .col3 {
	padding: 10px 0;
}


/* ---------------------
	Specific
--------------------- */
.clearfix:before,
.clearfix:after {
    content: "\0020";
    display: block;
    height: 0;
    visibility: hidden;
}
.clearfix:after {
    clear: both
}
.clearfix {
    zoom: 1
}

.row:before,
.row:after {
  	content: " ";
  	display: table;
}
.row:after {
  	clear: both;
}

aside,
#nav .bip,
#nav ul ul,
#main .col3,
.intro,
.counter,
.lang-switch,
.a11y-toolbar-widget,
.fb-like-box {
	display: none !important;
}

.slider img {
	margin: 20px auto;
}

.splash {
	text-align: Center;
}
.splash nav {
	position: static;
}
.splash nav li {
	display: block;
	font-size: 14px;
	padding: 3px 0;
}


.listing {
	margin-bottom: 20px;
}
.listing li {
	border-bottom: 1px solid #eee;
	list-style: none;
	display: block;
}
.listing li:hover {
	background: #F1F8EE;
}
.listing li img {
	width: 100%;
	display: block;
}
.listing li a {
	position: relative;	
	padding: 8px 10px 8px 20px;	
	display: block;
	text-decoration: none;	
	line-height: 16px;
	font-size: 12px;
	color: #000;
}
.listing li a:before {
	position: absolute;
	left: 5px;
	top: 8px;
	color: #679332;
	content: '\00BB \0020';
}	
.listing li time {
	display: block;
	color: #aaa;
	font-size: 11px;
}

.post-listing {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e4e4e4;
	font-size: 12px;
	line-height: 18px;
}
.post-listing h3 {
	padding-top: 0;
}
.post-listing a {
	text-decoration: none;
	display: block;
}
.post-listing .image-mask {
	margin-bottom: 10px;
	max-height: 200px;
	overflow: hidden;
}
.post-listing .image-mask img {
	display: block;
	width: 100%;
	height: auto;
}
.post-listing time {
	display: block;
	font-size: 12px;
	color: #aaa;
}
.post-gallery {
	padding-left: 340px;
}
.post-gallery a {
	display: block;
}
.post-gallery a:hover span {
	background: #ccc;
}
.post-gallery .image-mask {
	float: left;
	margin-left: -340px;
	width: 300px;
	border: 3px solid #fff;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 0 10px #ccc;
	-moz-box-shadow: 0 0 10px #ccc;
	box-shadow: 0 0 10px #ccc;
}
.post-gallery img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;

}
.post-single img {
	margin-bottom: 20px;
}
.post-single header h1 {
	padding-bottom: 5px;
}
.post-single header time {
	font-size: 12px;
	line-height: 12px;
	color: #999;
}
.post-single header {
	margin-bottom: 30px;
}

.pagination {
	padding-top: 30px;
}
.pagination li {
	margin-right: 5px;
	margin-bottom: 5px;
	list-style: none;
	float: left;
}
.pagination a {
	display: block;
	width: 30px;
	text-align: center;
	text-decoration: none;
	font-size: 14px;
	line-height: 30px;
	background: #ccc;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #fff;
}
.pagination a:hover,
.pagination .active a {
	background: #679332;
}

.back {
	padding: 20px 0;
}

.more {
	text-align: right;
	padding: 10px 0;
}
.more a,
.btn,
.widget_wysija .wysija-submit {
	background: #679332;
	border: 0;
	color: #fff;
	border-radius: 3px;
	padding: 5px 12px;
	display: inline-block;
	text-decoration: none;
}
.btn:hover,
.widget_wysija .wysija-submit:hover {
	background: #ccc;
}

.grid {
	margin: 0 -15px;
	padding: 0;
}
.grid li {
	display: block;
	list-style: none;
	padding: 15px;
	float: left;
	width: 33.3333332%;
	text-align: center;
	line-height: 130px;
	max-height: 150px;
}
.grid img {
	vertical-align: middle;
	max-height: 110px;
	width: auto;
}
.grid-gallery li {
	max-height: 240px;
}
.grid-gallery img {
	max-width: 100%;
	max-height: 220px;
	border: 6px solid #eee;
}

/* home */
.home #main section {
	margin-bottom: 20px;
}
.home #main input {
	width: 60%;
	margin: 0;
	float: left;
}
.home #main .widget_wysija .wysija-submit {
	width: 35%;
	margin-left: 5%;
}
.home #main .widget_wysija .wysija-paragraph {
	margin: 0;
	padding-top: 15px;
}
.home #main .widget_wysija .formErrorContent {
	display: none;
}
.home #main .widget_wysija .wysija-msg {
	font-size: 14px;
	line-height: 20px;
}
.home .partners li {
	list-style: none;
	display: block;
	padding: 10px;
}
.home .partners li img {
	display: block;
	margin: 0 auto;
	max-height: 80px;
	width: auto;
} 
.home .partners .more {
	text-align: center;
}
