/*
Theme Name: UNGC Poland
Theme URI: http://underscores.me/
Author: One Milk
Author URI: http://onemilk.pl/
Description: UN Global Compact Poland
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ungcpl
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

UNGC Poland is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family:sans-serif;
	-webkit-text-size-adjust:100%;
	-ms-text-size-adjust:100%;
}

body {
	margin:0;
}

article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary {
	display:block;
}

audio,canvas,progress,video {
	display:inline-block;
	vertical-align:baseline;
}

audio:not([controls]) {
	display:none;
	height:0;
}

[hidden],template {
	display:none;
}

a {
	background-color:transparent;
}

a:active,a:hover {
	outline:0;
}

abbr[title] {
	border-bottom:1px dotted;
}

b,strong {
	font-weight:700;
}

dfn {
	font-style:italic;
}

h1 {
	font-size:2em;
	margin:.67em 0;
}

mark {
	background:#ff0;
	color:#000;
}

small {
	font-size:80%;
}

sub,sup {
	font-size:75%;
	line-height:0;
	position:relative;
	vertical-align:baseline;
}

sup {
	top:-.5em;
}

sub {
	bottom:-.25em;
}

img {
	border:0;
}

svg:not(:root) {
	overflow:hidden;
}

figure {
	margin:1em 40px;
}

hr {
	box-sizing:content-box;
	height:0;
}

pre {
	overflow:auto;
}

code,kbd,pre,samp {
	font-family:monospace,monospace;
	font-size:1em;
}

button,input,optgroup,select,textarea {
	color:inherit;
	font:inherit;
	margin:0;
}

button {
	overflow:visible;
}

button,select {
	text-transform:none;
}

button,html input[type="button"],input[type="reset"],input[type="submit"] {
	-webkit-appearance:button;
	cursor:pointer;
}

button[disabled],html input[disabled] {
	cursor:default;
}

button::-moz-focus-inner,input::-moz-focus-inner {
	border:0;
	padding:0;
}

input {
	line-height:normal;
}

input[type="checkbox"],input[type="radio"] {
	box-sizing:border-box;
	padding:0;
}

input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button {
	height:auto;
}

input[type="search"] {
	-webkit-appearance:textfield;
	box-sizing:content-box;
}

input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration {
	-webkit-appearance:none;
}

fieldset {
	border:1px solid silver;
	margin:0 2px;
	padding:.35em .625em .75em;
}

legend {
	border:0;
	padding:0;
}

textarea {
	overflow:auto;
}

optgroup {
	font-weight:700;
}

table {
	border-collapse:collapse;
	border-spacing:0;
}

td,th {
	padding:0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,button,input,select,textarea {
	color:#404040;
	font-family:sans-serif;
	font-size:16px;
	font-size:1rem;
	line-height:1.5;
}

h1,h2,h3,h4,h5,h6 {
	line-height:1.2;
	margin:0 0 2%;
	font-weight:600;
}

h1 {
	font-size:32px;
}

h2 {
	font-size:24px;
}

h3 {
	font-size:16px;
}

p {
	margin:0 0 2%;
}

small,.small {
	font-size:13px;
}

dfn,cite,em,i {
	font-style:italic;
}

blockquote {
	margin:0 1.5em;
}

address {
	margin:0 0 1.5em;
}

pre {
	background:#eee;
	font-family:"Courier 10 Pitch",Courier,monospace;
	font-size:15px;
	font-size:.9375rem;
	line-height:1.6;
	margin-bottom:1.6em;
	max-width:100%;
	overflow:auto;
	padding:1.6em;
}

code,kbd,tt,var {
	font-family:Monaco,Consolas,"Andale Mono","DejaVu Sans Mono",monospace;
	font-size:15px;
	font-size:.9375rem;
}

abbr,acronym {
	border-bottom:1px dotted #666;
	cursor:help;
}

mark,ins {
	background:#fff9c0;
	text-decoration:none;
}

big {
	font-size:125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing:border-box;
	font-size:100%;
}

*,:before,:after {
/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing:inherit;
}

body {
	background:#fff;
/* Fallback for when there is no custom background color defined. */
	font-size:16px;
	line-height:1.6;
	font-family:'Open Sans',sans-serif;
	font-weight:400;
	color:#252525;
	letter-spacing:.25px;
}

blockquote {
	font-style:italic;
	position:relative;
	padding:0 32px;
	margin:4%;
	display:table;
}

blockquote:before {
	content:"\0022";
	position:absolute;
	top:0;
	left:-8px;
	color:#ddd;
	font-size:64px;
	line-height:48px;
}

blockquote:after {
	content:"\0022";
	position:absolute;
	bottom:-32px;
	right:0;
	color:#ddd;
	font-size:64px;
	line-height:48px;
}

blockquote:before,blockquote:after {
	font-family:cursive;
}

blockquote strong {
	font-size:13px;
	font-weight:700;
	display:block;
	font-style:normal;
}

blockquote img {
	border-radius:50%;
}

hr {
	background-color:#ccc;
	border:0;
	height:1px;
	margin-bottom:8px;
	margin-top:16px;
}

ul,ol {
	margin:0 0 16px;
}

ul {
	list-style:disc;
}

ol {
	list-style:decimal;
}

li > ul,li > ol {
	margin-bottom:0;
	margin-left:1.5em;
}

dt {
	font-weight:700;
}

dd {
	margin:0 1.5em 1.5em;
}

img {
	height:auto;
/* Make sure images are scaled correctly. */
	max-width:100%;
/* Adhere to container width. */
	display:block;
}

table {
	margin:0 0 1.5em;
	width:100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,input[type="button"],input[type="reset"],input[type="submit"] {
	border:1px solid #00979e;
	border-radius:3px;
	background:#00979e;
	color:#fff!important;
	font-size:inherit;
	line-height:inherit;
}

input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],input[type="number"],input[type="tel"],input[type="range"],input[type="date"],input[type="month"],input[type="week"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="color"],textarea {
	color:inherit;
	border:1px solid #ddd;
	border-radius:3px;
	line-height:inherit;
	font-size:inherit;
}

select,textarea {
	border:1px solid #ddd;
	border-radius:3px;
	line-height:inherit;
	font-size:inherit;
	padding:3px;
}

.srch input {
	padding:10px 15px!important;
	line-height:16px!important;
	font-size:16px;
	margin:0!important;
	display:inline;
	border:1px solid #00979e!important;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color:#00979e;
}

a:visited {
	color:#00979e;
}

a:hover,a:focus,a:active {
	color:#191970;
	opacity:.8;
}

a:focus {
	outline:none;
}

a:hover,a:active {
	outline:0;
	color:inherit;
}

a:link,a:active,a:visited,.menu li a.active {
	color:;
	text-decoration:none;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	float:right;
}

.main-navigation ul {
	display:none;
	list-style:none;
	margin:0;
	padding-left:0;
	position:relative;
}

.main-navigation > li:first-child {
	display:none;
}

.main-navigation li {
	display:block;
	float:left;
	line-height:75px;
}

.main-navigation a {
	margin:0 10px;
	text-transform:uppercase;
	color:#252525;
	font-weight:600;
	font-size:15px;
}

.main-navigation ul ul {
	float:left;
	position:absolute;
	top:60px;
	left:-999em;
	z-index:99999;
	background:#00979e;
	padding:8px;
}

.main-navigation ul ul ul {
	left:-999em;
	top:0;
}

.main-navigation ul ul a {
	text-transform:none;
	color:#fff;
	margin:0 0 8px;
	padding:0 0 8px;
	display:block;
	border-bottom:1px solid rgba(255,255,255,0.5);
}

.main-navigation ul ul li:last-child a {
	border-bottom:none;
	margin:0;
	padding:0;
}

.main-navigation ul ul li {
	float:none;
	line-height:1.2;
}

.main-navigation li:hover > a,.main-navigation li.active > a {
	color:#00979e;
}

.main-navigation ul ul :hover > a,.main-navigation ul ul .focus > a,.main-navigation ul ul li.active > a {
	color:#fff;
	opacity:.7;
}

.main-navigation ul ul a:hover,.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,.main-navigation ul li.focus > ul {
	left:auto;
}

.main-navigation ul ul li:hover > ul,.main-navigation ul ul li.focus > ul {
	left:100%;
}

/* Small menu. */
.menu-toggle,.main-navigation.toggled ul {
	display:block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display:none;
	}

	.main-navigation ul {
		display:block;
	}
}

.site-main .comment-navigation,.site-main .posts-navigation,.site-main .post-navigation {
	margin:0 0 1.5em;
	overflow:hidden;
}

.comment-navigation .nav-previous,.posts-navigation .nav-previous,.post-navigation .nav-previous {
	float:left;
	width:50%;
}

.comment-navigation .nav-next,.posts-navigation .nav-next,.post-navigation .nav-next {
	float:right;
	text-align:right;
	width:50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip:rect(1px,1px,1px,1px);
	position:absolute!important;
	height:1px;
	width:1px;
	overflow:hidden;
}

.screen-reader-text:focus {
	background-color:#f1f1f1;
	border-radius:3px;
	box-shadow:0 0 2px 2px rgba(0,0,0,0.6);
	clip:auto!important;
	color:#21759b;
	display:block;
	font-size:14px;
	font-size:.875rem;
	font-weight:700;
	height:auto;
	left:5px;
	line-height:normal;
	padding:15px 23px 14px;
	text-decoration:none;
	top:5px;
	width:auto;
	z-index:100000;
/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline:0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display:inline;
	float:left;
	margin-right:1.5em;
}

.alignright {
	display:inline;
	float:right;
	margin-left:1.5em;
}

.aligncenter {
	clear:both;
	display:block;
	margin-left:auto;
	margin-right:auto;
}

.left {
	text-align:left;
}

.right {
	text-align:right;
}

.center {
	text-align:center;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,.clear:after,.entry-content:before,.entry-content:after,.comment-content:before,.comment-content:after,.site-header:before,.site-header:after,.site-content:before,.site-content:after,.site-footer:before,.site-footer:after,.row:before,.row:after {
	content:"";
	display:table;
	clear:both;
}

.clear:after,.clear:before,.entry-content:after,.comment-content:after,.site-header:after,.site-content:after,.site-footer:after,.row:after {
	clear:both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin:0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width:100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.site {
	border-top:3px solid #005168;
}

.row {
	margin:0 auto;
	max-width:1200px;
}

.col {
	display:block;
	float:left;
	margin:1%;
}

.colcenter {
	float:none;
	margin:0 auto;
}

.col100 {
	width:98%;
}

.col80 {
	width:78%;
}

.col75 {
	width:73%;
}

.col66 {
	width:64.666%;
}

.col60 {
	width:58%;
}

.col50 {
	width:48%;
}

.col40 {
	width:38%;
}

.col33 {
	width:31.333%;
}

.col30 {
	width:28%;
}

.col25 {
	width:23%;
}

.col20 {
	width:18%;
}

.col16 {
	width:14.6667%;
}

.col100f {
	width:100%;
	margin:0;
}

.p05 {
	padding:.5%;
}

.p2 {
	padding:2%;
}

.pushright {
	float:right!important;
}

.pushleft {
	float:left!important;
}

.pushcenter {
	float:none!important;
	margin:0 auto;
}

a[rel="home"] {
	float:left;
}

a[rel="home"] img {
	height:72px;
	display:block;
}

.grey {
	background:#eee;
}

.sm {
	margin-right:1%;
}

.sm a {
	display:inline-block;
	margin:0 5px;
	color:#666;
}

li.search {
	position:relative;
}

#searchform {
	position:absolute;
	right:-16px;
	top:16px;
	background:#00979e;
	padding:8px;
	display:none;
}

input.stext {
	padding:0 4px;
	border:none;
	float:left;
	line-height:32px;
	background:#fff url(images/s.png) 4px center no-repeat;
	padding-left:24px;
}

#searchform input.submit {
	position:absolute;
	right:8px;
	top:8px;
	bottom:8px;
	background-image:url(images/s.png);
	background-position:center center;
	background-repeat:no-repeat;
	font-size:0;
	width:32px;
	border:none;
	background-color:#fff;
	display:none;
}

li.search:hover #searchform {
	display:block;
}

.pad2 {
	padding:2%;
}

.subnav {
	margin:0;
	padding:0;
	list-style:none;
}

.subnav li a {
	line-height:1.2;
	padding:8px;
	display:block;
	font-size:14px;
	margin-bottom:1px;
	background:rgba(0,0,0,0.05);
}

.subnav li.current_page_item a,.subnav li a:hover {
	background:rgba(0,0,0,0.15);
	color:#252525;
}

.submenu img {
	border-radius:50%;
	width:48px;
	display:inline-block;
}

.th h2 {
	position:relative;
	z-index:100;
	color:#fff;
	padding:16px;
}

.round {
	border-radius:50%;
}

.bgimage,.thumb {
	background-position:center center;
	background-repeat:no-repeat;
	background-size:cover;
	position:relative;
}

.bgimage:after {
	content:"";
	position:absolute;
	display:block;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background:rgba(0,0,0,0.33);
}

body.single .bgimage:after {
	background:rgba(0,0,0,0.66);
}

body.single .related .bgimage:after {
	background:rgba(0,0,0,0.33)!important;
}

.bgimage > div {
	position:relative;
	z-index:10;
}

.bgimage .col {
	color:#fff;
}

.section-title {
	padding:0 1%;
	margin-bottom:1%;
	text-transform:uppercase;
}

.site-footer {
	font-size:13px;
	color:#999;
	border-top:3px solid #005168;
}

.site-footer h4 {
	line-height:3;
	font-size:14px;
	color:#005168;
}

.site-footer h4:after {
	display:block;
	border-bottom:4px solid;
	content:"";
	width:10%;
	margin-bottom:16px;
}

.site-footer img {
	border-radius:50%;
}

.short a {
	color:#252525;
}

.short p {
	font-size:14px;
}

.short .date {
	display:block;
	font-size:12px;
}

.short .thumb {
	margin-bottom:16px;
}

.short h2 {
	font-size:16px;
	font-weight:700;
	line-height:1.2;
	margin-bottom:8px;
}

.rada a {
	color:#252525;
	text-align:center;
}

.rada a h3 {
	font-weight:700;
	font-size:14px;
}

.rada img {
	border-radius:50%;
	margin-bottom:2%;
}

.bluebg {
	background-color:#005168;
}

a.blue,a.post-edit-link {
	background:#00979e none repeat scroll 0 0;
	color:#fff;
}

a.lightblue {
	background:rgba(0,151,158,.15);
	color:#252525;
}

a.button,a.post-edit-link {
	border-radius:2px;
	display:inline-block;
	line-height:2;
	padding:0 16px;
}

.padv2 {
	padding:2% 0;
}

.padv4 {
	padding:4% 0;
}

.padb2
{
	padding-bottom: 32px;
}

.sdg-list a {
	display:block;
	float:left;
	margin:.05%;
	width:calc(100% / 18 - .1%);
}

.rada-all a,.partnerzy a {
	width:calc(100% / 6 - 2.5%);
	display:inline-block;
	margin:1%;
}

.flex {
	overflow:hidden;
/* just clearing floats */
	display:-webkit-flex;
	display:-ms-flexbox;
	display:flex;
	-webkit-flex-wrap:wrap;
	-ms-flex-wrap:wrap;
	flex-wrap:wrap;
	padding:0;
	margin:0 auto;
}

.flex > * {
	display:-webkit-flex;
	display:-ms-flexbox;
	display:flex;
	margin-bottom:32px!important;
}

.meta {
	padding:inherit 0;
}

.meta p
{
	font-size: 14px;
	line-height: 1.5;
}

.wp-pagenavi {
	padding:2%;
	text-align:center;
	font-size: 18px;
}

.wp-pagenavi a,wp-pagenavi span {
	margin:0 8px;
}

a.relitem {
	display:block;
	margin:2% 0;
	background: #eee;
	padding: 1px;
}

a.relitem h3 {
	display:table;
	margin:5px;
	font-weight:600;
	font-size:14px;
}

a.relitem h3 span {
	font-weight:400;
	color:#252525;
	display:block;
	margin-top:4px;
}

a.relitem img {
	float:left;
	margin-right:10px;
	max-width: 80px;
}

.relitem p
{
	font-size: 13px;
	line-height: 1.5;
	display: table;
	color: #252525;
		margin:5px;
}



.taxonomy-description p:last-child {
	margin-bottom:0;
}

.brdr,.gmp_map_opts {
	border:1px solid #ddd;
}

#pr {
	font-size:15px;
	max-width:50%;
}

select#pr * {
	padding:8px;
}

.files .sw-item.bgimage {
	background-size:cover!important;
	height:auto!important;
}

.files .sw-item.bgimage:after {
	background:none;
}

.sw-item .txt {
	position:absolute;
	bottom:0;
	left:0;
	right:0;
	background:rgba(0,0,0,0.75);
	z-index:100;
	color:#fff;
	padding:16px;
}

.sw-item .txt h2 {
	padding:0;
}

.sw-item .txt .fa {
	display:inline-block;
	margin:4px;
	font-size:14px;
}

.switems {
	margin:0 0 4%;
}

.switems a {
	display:block;
	margin-bottom:8px;
}

.switems .fa {
	font-size:21px;
	vertical-align:middle;
	margin-right:8px;
}

body.category-aktualnosci .twitter-timeline {
	height:100%!important;
}

.os {
	margin-bottom:10px;
}

.os a,.os p {
	font-size:14px;
	line-height:1.25;
	display:block;
}

.os h3 {
	font-weight:700;
}

.seatchitem {
	margin-bottom:20px;
}

.seatchitem ul {
	color:#999;
	display:block;
	margin:0;
	padding:0;
	margin-bottom:5px;
}

.seatchitem ul li {
	display:inline;
}

.seatchitem ul li:after {
	content:'\2022';
	margin:0 5px;
}

.seatchitem ul li:last-child:after {
	content:"";
}

.seatchitem img {
	border:1px solid #ddd;
}

.catsrch a {
	margin:0 10px;
}

.embed-container {
	position:relative;
	padding-bottom:56.25%;
	height:0;
	overflow:hidden;
	max-width:100%;
	height:auto;
}

.embed-container iframe,.embed-container object,.embed-container embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

.gallery .item img {
	max-height:520px;
	width:auto;
	margin:0 auto;
}

.cn img
{
	max-width: calc(100% - 2px);
	border: 1px solid #eee;
}


.docthumbnail
{
	width: 20%;
	float: left;
	margin-right: 10px;
}
.relateddocs p
{
	color: #252525;
}


/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display:block;
}

.hentry {
	margin:0 0 1.5em;
}

.byline,.updated:not(.published) {
	display:none;
}

.single .byline,.group-blog .byline {
	display:inline;
}

.page-content,.entry-content,.entry-summary {
	margin:1.5em 0 0;
}

.page-links {
	clear:both;
	margin:0 0 1.5em;
}

.footer {
	border-top:1px solid #ddd;
	line-height:2;
	font-size:14px;
	text-align:center;
}

.gmp_map_opts {
	position:relative;
}

.noscroll:after {
	position:absolute;
	left:0;
	top:0;
	right:0;
	bottom:0;
	background:rgba(0,0,0,0.05);
	z-index:10;
	cursor:pointer;
	content:"";
	text-align:center;
	font-size:13px;
	font-weight:700;
	padding-top:10%;
}

.noscroll:hover:after {
	background:rgba(0,0,0,0.5);
	color:#fff;
	content:"Kliknij aby skorzystać z mapy";
}

.gm-style-iw {
	text-align:left!important;
	font-family:'Open Sans',sans-serif!important;
	font-weight:400!important;
}

.gmpInfoWindowtitle {
	margin:0 0 8px!important;
	color:#252525!important;
}

.postcontent h1,.postcontent h2,.postcontent h3 {
	clear:both;
}

.postcontent h3 {
	font-size:20px;
}

.lgr {
	line-height:2;
	border-bottom:2px solid #ddd;
	display:table;
	margin:0 auto;
}

.bw img {
	-webkit-filter:grayscale(100%);
	-webkit-filter:grayscale(1);
	filter:grayscale(100%);
filter:url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter     id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /*     Firefox 10+, Firefox on Android */
filter:gray; /* IE6-9 */

-moz-filter: grayscale(100%);
-o-filter: grayscale(100%);
}

.videoWrapper {
	position:relative;
	padding-bottom:56.25%;
/* 16:9 */
	height:0;
}

.videoWrapper iframe {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

.join {
	background:rgba(0,0,0,.6);
	position:absolute;
	right:0;
	top:0;
	bottom:0;
	padding:2%;
	width:25%;
}


/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,.archive .format-aside .entry-title {
	display:none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap:break-word;
}

.bypostauthor {
	display:block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,/* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer {
/* Theme Footer (when set to scrolling) */
	display:none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display:block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,.entry-content .wp-smiley,.comment-content .wp-smiley {
	border:none;
	margin-bottom:0;
	margin-top:0;
	padding:0;
}

/* Make sure embeds and iframes fit their containers. */
embed,iframe,object {
	max-width:100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom:1.5em;
	max-width:100%;
}

.wp-caption img[class*="wp-image-"] {
	display:block;
	margin-left:auto;
	margin-right:auto;
}

.wp-caption .wp-caption-text {
color: #666;
    font-size: 14px;
    font-style: italic;
    margin: 8px;
}

.wp-caption-text {
	text-align:center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom:1.5em;
}

.gallery-item {
	display:inline-block;
	text-align:center;
	vertical-align:top;
	width:19%!important;
	max-width:19%!important;
}

.wpview-type-gallery div.gallery br {
	display:none!important;
}

.gallery-caption {
	display:block;
}

.owl-theme .owl-controls {
	margin-top:0;
	text-align:center;
	-webkit-tap-highlight-color:transparent;
	line-height:1;
}

.owl-theme .owl-controls .owl-nav [class*=owl-] {
	color:#fff;
	font-size:14px;
	margin:5px;
	padding:4px 7px;
	background:#d6d6d6;
	display:inline-block;
	cursor:pointer;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
}

.owl-theme .owl-controls .owl-nav [class*=owl-]:hover {
	background:#869791;
	color:#fff;
	text-decoration:none;
}

.owl-theme .owl-controls .owl-nav .disabled {
	opacity:.5;
	cursor:default;
}

.owl-theme .owl-dots .owl-dot {
	display:inline-block;
	zoom:1;
	*display:inline;
}

.owl-theme .owl-dots .owl-dot span {
	width:10px;
	height:10px;
	margin:5px 7px;
	background:#d6d6d6;
	display:block;
	-webkit-backface-visibility:visible;
	-webkit-transition:opacity 200ms ease;
	-moz-transition:opacity 200ms ease;
	-ms-transition:opacity 200ms ease;
	-o-transition:opacity 200ms ease;
	transition:opacity 200ms ease;
	-webkit-border-radius:30px;
	-moz-border-radius:30px;
	border-radius:30px;
}

.owl-theme .owl-dots .owl-dot.active span,.owl-theme .owl-dots .owl-dot:hover span {
	background:#869791;
}

.acf-map {
	width:100%;
	height:400px;
	border:#ccc solid 1px;
	margin:20px 0;
}

/* fixes potential theme css conflict */
.acf-map img {
	max-width:inherit!important;
}

/* RWD */
@media screen and (max-width: 1023px) {
	.main-navigation a {
		font-size:14px;
	}
}

#wprmenu_bar {
	padding:0;
}

#wprmenu_bar .wprmenu_icon {
	margin:13px!important;
}

#wprmenu_bar .bar_logo {
	height:33px;
	margin:4px!important;
}

#wprmenu_bar .wprmenu_icon span {
	height:3px;
}

#wprmenu_menu ul li a,#wprmenu_menu ul li a:hover {
	padding:8px 16px;
}

#wprmenu_menu.wprmenu_levels ul li ul li {
	padding-left:20px;
}

#wprmenu_menu ul > li > a {
	background:rgba(255,255,255,0.15);
}

#wprmenu_menu.wprmenu_levels ul li a {
	float:none;
}

@media screen and (max-width: 800px) {
	.col50,.col66,.col75 {
		width:98%;
	}

	.join {
		display:none;
	}

	.col25,.col33 {
		width:48%;
	}

	h1 {
		font-size:16px;
	}

	.meta p {
		font-size:13px;
		line-height:1.25;
	}

	.rada-all a,.partnerzy a {
		display:inline-block;
		margin:1%;
		width:calc(100% / 4 - 2.5%);
	}
}

@media screen and (max-width: 480px) {
	.col50 {
		width:98%;
	}

	.join {
		display:none;
	}

	.col25,.col33 {
		width:98%;
	}

	.rada-all a,.partnerzy a {
		display:inline-block;
		margin:1%;
		width:calc(100% / 3 - 2.5%);
	}
}
