/*
	Theme Name: Gmina Krasnosielc
	Description: Gmina Krasnosielc website template
	Author: getso.pl
*/
/* ---------------------------
    Reset
--------------------------- */
*,
*:before,
*:after {
  	-webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
  	box-sizing: border-box;
}
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; }
a, ins, del { text-decoration:none }
q, blockquote { quotes: none; }
sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline;}
sup{top:-0.5em;}
sub{bottom:-0.25em;}
th, td {  vertical-align: top; }
th { text-align: left; }
nav li { display:block; list-style:none; }
img { display:inline-block; max-width:100%; height:auto; }
button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;}
button,input{*overflow:visible;line-height:normal;}
button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0;}
button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}
textarea{overflow:auto;vertical-align:top;}
label,input,button,select,textarea{font-size:14px;font-weight:normal;line-height:20px;}
input,button,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;}
label{display:block;margin-bottom:5px;font-size:16px;}
select,textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{display:inline-block;height:30px;padding:5px;margin-bottom:10px;font-size:14px;line-height:1;color:#555555;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;vertical-align:middle;width:100%;}
textarea{height:auto;padding:4px 6px;}
textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"],.uneditable-input{background-color:#ffffff;border:1px solid #cccccc;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-webkit-transition:border linear .2s, box-shadow linear .2s;-moz-transition:border linear .2s, box-shadow linear .2s;-o-transition:border linear .2s, box-shadow linear .2s;transition:border linear .2s, box-shadow linear .2s;}textarea:focus,input[type="text"]:focus,input[type="password"]:focus,input[type="datetime"]:focus,input[type="datef-local"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="time"]:focus,input[type="week"]:focus,input[type="number"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="color"]:focus,.uneditable-input:focus{border-color:rgba(82, 168, 236, 0.8);outline:0;outline:thin dotted \9;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);}
input[type="radio"],input[type="checkbox"]{margin:4px 0 0;*margin-top:0;margin-top:1px \9;line-height:normal;cursor:pointer;}
input[type="file"],input[type="image"],input[type="submit"],input[type="reset"],input[type="button"],input[type="radio"],input[type="checkbox"]{width:auto;}
select,input[type="file"]{height:25px;*margin-top:4px;line-height:1;}
select{border:1px solid #cccccc;background-color:#ffffff;}
select[multiple],select[size]{height:auto;}
select:focus,input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;}


/* ---------------------------
    General
--------------------------- */
html {
	-webkit-text-size-adjust: none;
	overflow-y: scroll;
}
body {
	background: #fff url('images/bg.png') 0 0 repeat-x;
	color: #333;
	font: normal 14px/18px verdana, sans-serif;
}
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;
}


/* ---------------------------
    Layout
--------------------------- */
#header {
	padding: 15px;
}
#header h1 {
	padding: 0;
}
#header h1 a {
	display: block;
	width: 570px;
	height: 130px;
	background: url('images/gmina-logo.png') no-repeat;
	text-indent: -9999px;
}
.lang-switch {
	position: absolute;
	right: 30px;
	top: 20px;
}
.splash .lang-switch {
	top: 10px;
	right: 0;
}
.lang-switch li,
.a11y-toolbar-widget li {
	margin-left: 4px;
	display: block;
	list-style: none;
	float: left;
}
.lang-switch li a,
.a11y-toolbar-widget a {
	width: 26px;
	height: 17px;
	display: block;
	text-indent: -9999px;
	background: url('images/lang.png');
}
.lang-switch li:nth-child(2) a {
	background-position: -29px 0;
}
.lang-switch  li:nth-child(3) a {
	background-position: -58px 0;
}
.lang-switch li a:hover {
	opacity: .5;
}

.a11y-toolbar-widget {
	position: absolute;
	right: 30px;
	top: 47px;
}
.splash .a11y-toolbar-widget {
	top: 37px;
	right: 0;
}
.a11y-toolbar-widget a {
	height: auto;
	border: 1px solid #ccc;
	background: #fff;
	text-align: center;
	text-indent: 0;
	line-height: 17px;
	font-size: 15px;
	color: #fff;
	background: #ccc;
}
.a11y-toolbar-widget a:hover,
.fontsize .a11y-toolbar-widget li:first-child a,
.desaturated .a11y-toolbar-widget li:nth-child(2) a,
.contrast .a11y-toolbar-widget li:last-child a {
	border-color: #679332;
	color: #fff;
	background: #679332;
}
.a11y-toolbar {
	display: none;
}

#header form {
	position: absolute;
	right: 30px;
	top: 77px;
	padding: 9px;
	background: #679332 url('images/search.png') 57px 9px no-repeat;
	color: #fff;
	font-size: 13px;
	line-height: 1px;
	cursor: pointer;
}
#header form:hover,
#header form.active,
#header input {
	background-color: #78a740;
}
#header input {
	width: 0;
	margin: 0 0 0 20px;
	padding: 0;
	border: 0;
	height: 100%;
	line-height: 1px;
	color: #fff;
}
#header form.active input {
	width: 200px;
}
#header input:focus,
#header input {
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
	border: 0 !important;
	outline: none !important;
}

#nav {
	padding: 0 20px;
	margin: 0 -20px 20px -20px;
	border-bottom: 5px solid #679332;
	background: #f8f8f8;
	position: relative;
}
#nav ul {
	height: 40px;
}
#nav > ul > li {
	float: left;
}
#nav ul li {
	position: relative;
}
#nav ul 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;
}
#nav .bip {
	display: block;
	width: 110px;
	height: 30px;
	text-indent:-9999px;
	background: url('images/bip-logo.png') left center no-repeat;
	position: absolute;
	right: 20px;
	top: 6px;
}
#nav ul ul {
	display: none;
	position: absolute;
	top: 40px;
	left: 0;
	z-index: 8888;
	background: #fff;
}
#nav ul li:hover > ul {
	display: block;
}
#nav ul ul a {
	padding: 10px 15px;
	width: 200px;
	background: #eee;
	border: 0;
	line-height: 13px;
}
#nav ul ul a:hover,
#nav ul ul li:hover > a {
	color: #fff;
	background: #666;
}
#nav ul ul ul {
	display: none;
	left: 100%;
	top: 0;
}
#nav ul ul li:hover ul {
	display: block;
}
#nav ul ul ul a {
	border-left: 1px solid #ccc !important;
}
#nav ul ul ul a:hover {
	border-left: 1px solid #666 !important;
}

.inner {
	padding: 0 20px;
	background:#fff;
	-webkit-box-shadow: 0 0 20px #ccc;
	-moz-box-shadow: 0 0 20px #ccc;
	box-shadow: 0 0 20px #ccc;
}

#main {
	padding: 30px 0;
	min-height: 500px;
}

#footer {
	margin: 0 -20px;
	font-size: 13px;
	line-height: 18px;
	border-top: 1px solid #ddd;
}
#footer .footer-links {
	padding: 20px 30px;
	background: #eee;
	border: 1px solid #ddd;
	border-width: 1px 0;
}
#footer p {
	margin-bottom: 5px;
}
#footer img {
	display: block;
	margin: 20px auto;
}
#footer img + span {
	display: block;
	margin: 0 auto 20px auto;
	width: 800px;
	text-align: center;
}

#footer .copyright {
	color: #999;
	font-size: 12px;
	text-align: center;
	padding: 20px;
	background: #eee;
}
#footer .fb-like-box {
	width: 212px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 3px;
}
#footer .counter {
	padding: 20px;
	border-bottom: 1px solid #ddd;
	text-align: center;
	font-size: 16px;
	line-height: 16px;
}
#footer .counter span {
	color: #679332;
}


/* ---------------------------
    Specific
--------------------------- */
.clearfix:before,
.clearfix:after {
    content: "\0020";
    display: block;
    height: 0;
    visibility: hidden;
}
.clearfix:after {
    clear: both
}
.clearfix {
    zoom: 1
}
.prev,
.next {
    max-width: 49%
}
.aligncenter {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
.prev,
.alignleft {
    float: left;
    text-align: left;
}
.next,
.alignright {
    float: right;
    text-align: right;
}
.alignleft {
    margin: 0 15px 0 0
}
.alignright {
    margin: 0 0 0 15px
}

.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,
.listing-images li a span {
	position: relative;
	padding: 8px 10px 8px 20px;
	display: block;
	text-decoration: none;
	line-height: 16px;
	font-size: 12px;
	color: #000;
}
.listing-images li a {
	padding: 0;
}
.listing li a:before,
.listing li a span:before {
	position: absolute;
	left: 5px;
	top: 8px;
	color: #679332;
	content: '\00BB \0020';
}
.listing-images li a:before {
	display: none;
}
.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;
}

/* splash */
.splash {
	background: #fff url('images/bg.png') 0 0 repeat-x;
	padding: 3%;
}
.splash nav {
	background: url('images/gmina-logo-xs.png') left top no-repeat;
	position: absolute;
	padding: 220px 0 0 150px;
	top: 50px;
	left: -12%;
	z-index: 9999;
}
.splash nav a {
	display: block;
	margin-bottom: 10px;
	padding: 10px 20px;
	background: #fff;
	border: 2px solid #6cb810;
	box-shadow: 0 0 5px #679332;
	border-width: 0 3px 3px 0;
	text-decoration: none;
}
.splash nav li:nth-child(2) a {
	margin-left: 20px;
}
.splash nav li:nth-child(3) a {
	margin-left: 40px;
}
.splash nav a:hover {
	background: #eee;
}
.splash .vcard {
	position: absolute;
	bottom: 0;
	right: 0;
}
.splash .vcard h4 {
	font-weight: bold;
}
.splash .vcard .adr {
	padding: 5px 0;
}
.splash .slider {
	margin: 0 auto;
	width: 65%;
}
.splash .slider li {
	display: block;
	padding: 10px;
}
.splash .slider img {
	width: 97%;
	border-radius: 100%;
	border: 10px solid #fff;
	box-shadow: 0 0 15px #679332;
}
.splash .slider img {
	width: 97%;
	border-radius: 100%;
	border:10px solid #82d223;
	box-shadow: 0 0 15px #217715;
}


/* 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;
}

/* Kontakt */
.kontakt table td:nth-child(1) {
	width: 30%;
}
.kontakt table td:nth-child(2) {
	width: 20%;
}
.kontakt table td:nth-child(4) {
	width: 15%;
}

#map_canvas {
	width: 100%;
	height: 400px;
}
#map_canvas img {
	width: auto;
	max-width: none;
}

/* Wladze */
.wladze-gminy .vcard {
	padding-left: 170px;
	margin-bottom: 40px;
}
.wladze-gminy .vcard img {
	margin-left: -170px;
	float: left;
}

/* imprezy */
.imprezy .col9 section {
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 3px solid #000;
}
.imprezy .col9 section article:last-child {
	border: 0;
}


/* ---------------------------
    Grid
--------------------------- */
.container {
	max-width: 1000px;
    margin: 0 auto;
	position: relative;
}

.row {
  	margin-left: -15px;
  	margin-right: -15px;
}
.row:before,
.row:after {
  	content: " ";
  	display: table;
}
.row:after {
  	clear: both;
}

[class^="col"] {
	float: left;
	display: block;
  	padding: 0 15px;
}
.col12 {
  width: 100%;
}
.col11 {
  width: 91.66666666666666%;
}
.col10 {
  width: 83.33333333333334%;
}
.col9 {
  width: 75%;
}
.col8 {
  width: 66.66666666666666%;
}
.col7 {
  width: 58.333333333333336%;
}
.col6 {
  width: 50%;
}
.col5 {
  width: 41.66666666666667%;
}
.col4 {
  width: 33.33333333333333%;
}
.col3 {
  width: 25%;
}
.col2 {
  width: 16.666666666666664%;
}
.col1 {
  width: 8.333333333333332%;
}


/* ---------------------------
    Plugins
--------------------------- */
/* cookies */
#catapult-cookie-bar a {
	display: none;
}


/* BXslider */
.intro li {
	height: 330px;
	overflow: hidden;
}
.intro article {
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 0;
	padding: 20px;
	background: #fff;
	background: rgba(255, 255, 255, .85);
}
.intro article h2 {
	padding: 0 0 10px;
	font-size: 24px;
}
.bx-wrapper li {
	width: 100%;
	display:block;
}
.bx-wrapper {
	position: relative;
	padding: 0;
	*zoom: 1;
}
.bx-wrapper img {
	width: 100%;
	height:auto;
	display: block;
}
.bx-wrapper .bx-loading {
	min-height: 50px;
	background: url('images/bx_loader.gif') center center no-repeat #fff;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2000;
}
.bx-wrapper .bx-pager {
	position:absolute;
	width: 100%;
	left:0;
	bottom:-30px;
	z-index:9999;
	text-align:right;
}
.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
	display: inline-block;
	*zoom: 1;
	*display: inline;
}
.bx-wrapper .bx-pager.bx-default-pager a {
	background: #ccc;
	text-indent: -9999px;
	text-align:left;
	display: block;
	width: 15px;
	height: 15px;
	margin-left: 5px;
	outline: 0;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
	background:#679332;
}

/* Contact Form 7 */
.wpcf7 p {
	position: relative;
}
.wpcf7 p strong {
	color: #f95900;
}
.wpcf7 p input,
.wpcf7 p textarea {
	padding: 10px;
	margin: 0;
}
.wpcf7 p input {
	height: 35px;
}
.wpcf7 p textarea {
	height: 120px;
}
.wpcf7 p .wpcf7-submit,
.wpcf7 p .wpcf7-submit:focus {
	display: block;
	margin: 0 0 30px 0;
	padding: 8px;
	width: 100px;
	background: #679332;
	color: #fff;
	font-size: 14px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border: 0;
	height: auto;
}
.wpcf7 p .wpcf7-submit:hover,
.wpcf7 p .wpcf7-submit:focus {
	background: #ccc;
}
.wpcf7 p .wpcf7-form-control-wrap {
	display: block !important	;
	width: 100%;
}
.wpcf7-response-output {
	padding: 15px 5%;
	width: 100%;
	text-align: center;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.wpcf7-mail-sent-ok {
	background: #398f14;
	color: #fff;
}
.wpcf7-display-none {
	display: none;
}
.wpcf7-validation-errors {
	background: #b00;
	color: #fff;
}
.wpcf7-not-valid-tip {
	-webkit-border-radius: 0 10px 10px 10px;
	-moz-border-radius: 0 10px 10px 10px;
	border-radius: 0 10px 10px 10px;
	position: absolute;
	top: 70%;
	z-index: 100;
	display: block;
	color: #fff;
	background: #d00;
	padding: 5px 20px;
	border: none;
	right: 10%;
	width: auto;
}
.wpcf7-not-valid-tip-no-ajax {
	color: #f00;
	display: block;
}
.wpcf7 .screen-reader-response {
	display: none;
}
.ajax-loader {
	border: none;
	vertical-align: middle;
	display: block;
	float: right;
}
.wpcf7 .wpcf7-captchac,
.wpcf7 p span.captcha-614 {
	float: left;
	width: 15%;
}
.wpcf7 p .wpcf7-captchac {
	height:35px;
	width: auto;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	margin-right: 15px;
}


/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	        border-radius: 4px;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('images/fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('images/fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('images/blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
    overflow: hidden !important;
    width: auto;
}

.fancybox-lock body {
    overflow: hidden !important;
}

.fancybox-lock-test {
    overflow-y: hidden !important;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: url('images/fancybox_overlay.png');
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	   -moz-border-radius: 15px;
	        border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}

/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){

	#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
		background-image: url('images/fancybox_sprite@2x.png');
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

	#fancybox-loading div {
		background-image: url('images/fancybox_loading@2x.gif');
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}

/*!
 * jQuery UI Datepicker 1.8.22
 */
.ui-datepicker { width: 100%; display: none; float:right; }
.ui-datepicker .ui-datepicker-header { text-transform:uppercase; width: 100%; position:relative; padding:0 0 8px 0; color:#679332; font-size:14px; }
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; padding:10px; cursor:pointer; color:#679332; font-size:18px; display:block; }
.ui-datepicker .ui-datepicker-prev { left:8px; }
.ui-datepicker .ui-datepicker-next { right:10px; }
.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover { color:#333; }
.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px;  }
.ui-datepicker .ui-datepicker-next span { margin-left:0; }
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year { width: 49%; line-height:1; height:22px; padding:0; }
.ui-datepicker table { width: 100%; font-size: 12px; border-collapse: collapse; }
.ui-datepicker th,
.ui-datepicker td { width: 14%; padding: 0; border:2px solid #fff; border-left:0; }
.ui-datepicker th { text-align:center; padding:5px 0; color:#679332; font-size:12px; }
.ui-datepicker td span,
.ui-datepicker td a { display: block; line-height:38px; width:100%; text-align: center; text-decoration: none; color:#444; background:#eee; }
.ui-datepicker td a:hover { opacity:0.6; }
.ui-datepicker td.ui-datepicker-other-month span { background:#fff; }
.ui-datepicker td.ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
.ui-datepicker td.ui-datepicker-event a { color:#fff; background:#679332; }
.ui-datepicker td.ui-datepicker-current-day a { background:#bbb; color:#fff; }

/* accessibility plugin */
.fontsize h1 {
	font-size: 44px;
	line-height: 48px;
}
.fontsize h1.small {
	font-size: 32px;
	line-height: 38px;
}
.fontsize h2 {
	font-size: 38px;
	line-height: 42px;
}
.fontsize h3 {
	font-size: 32px;
	line-height: 38px;
}
.fontsize #nav ul ul a {
	line-height: 20px;
}
.fontsize #footer .counter {
	line-height: 24px;
}
.fontsize .listing li a,
.fontsize .post-listing {
	line-height: 26px;
}
.fontsize #footer,
.fontsize #footer .copyright,
.fontsize.home #main input,
.fontsize.splash .vcard {
	font-size: 16px !important;
}
.fontsize .post-single header time,
.fontsize aside ul ul a,
.fontsize .listing li a,
.fontsize .post-listing,
.fontsize .post-listing time,
.fontsize .post-single header time,
.fontsize #nav li a {
	font-size: 20px;
}
.fontsize h5,
.fontsize #footer .counter,
.fontsize .pagination a,
.fontsize .intro article h2,
.fontsize .wpcf7 p .wpcf7-submit,
.wpcf7 p .wpcf7-submit:focus {
	font-size: 24px;
}
.fontsize #nav {
	padding-right: 140px;
}
