/* Google Font blocked due to mixed content - using fallback fonts */

/* Canvas Reset */
body, p, input, textarea, #navigation, ul.nav li a, #navigation ul.rss a, #navigation .cart-contents, #navigation ul.rss, #navigation ul.cart .cart_list a, #logo .site-title, #logo .site-description, #footer p, .post .title, .page .title, .post-meta, .post-more, .entry, .entry p, .entry .wp-caption-text, .wp-pagenavi span.extend, .wp-pagenavi span.pages, .widget h3, .widget p, .widget_woo_twitter ul li .content, #tabs ul.wooTabs li a, #tabs .inside li a, #tabs .inside li span.meta, #commentform input.txt, #commentform textarea, .widget_woo_twitter ul li .content, #tabs ul.wooTabs li a, #tabs .inside li a, #tabs .inside li span.meta, .button, .button:visited, .reply a, .gform_wrapper .top_label .gfield_label, .entry .quote cite {
	font-family: 'Titillium Web', Tahoma, Geneva, sans-serif;
	font-weight: normal;
}

h1, h2, h3, h4, h5, h6 {
	color: #D88E0C;
	font-family: 'Titillium Web', Tahoma, Geneva, sans-serif;
	font-weight: normal;
}

/* 1.1 Defaults */
body {
	color: #000;
	font-size: 14px;
}

p:empty {
	display: none;
}

a:link, a:visited {
	color: #D88E0C;
}

/* 2.2 Navigation */
#navigation {
	background: #FFF;
}

#navigation h3 {
	display: none !important;
}

ul.nav {
	margin: 0;
}

#navigation ul.nav > li {
	border-right: 1px solid #D88E0C;
}
@media only screen and (min-width: 768px) {
	ul.nav {
		width: 75.418%;
	}

	#navigation ul.nav > li {
		width: 24.864%;
	}
}

#navigation ul.nav > li:hover, #navigation ul.cart > li:hover, #navigation ul.cart > li:hover > ul > div {
	background: #D88E0C;
}

ul.nav li a, #navigation ul.rss a, #navigation .cart-contents, #navigation ul.rss, #navigation ul.cart .cart_list a {
	color: #000;
	font-size: 18px;
	font-weight: 600;
	padding-bottom: 7px !important;
	padding-left: 0;
	padding-right: 0;
	padding-top: 7px !important;
	text-align: center;
	text-transform: uppercase;
}

#navigation ul.nav > li a:hover, ul.nav li.current_page_item a, ul.nav li.current_page_parent a, ul.nav li.current-menu-ancestor a, ul.nav li.current-cat a, ul.nav li.current-menu-item a,
.single-witness ul.nav li.menu-witnesses a,
.single-post ul.nav li.menu-collection a {
	background: #D88E0C;
	color: #FFF;
	text-decoration: none;
}

#navigation .nav li.parent > a {
	padding-right: inherit;
}

#navigation .nav li.parent > a:after {
	display: none;
}

#navigation ul ul, #navigation ul.nav li ul, ul.nav ul {
	background: #D88E0C;
	border: 1px solid #D88E0C;
	left: -1px;
	margin: 0;
	width: 100%;
}

ul.nav li ul li a {
	color: #FFF !important;
}

ul.nav li ul li a:hover, ul.nav ul li.current_page_item a, ul.nav ul li.current_page_parent a, ul.nav ul li.current-menu-ancestor a, ul.nav ul li.current-cat a, ul.nav ul li.current-menu-item a, #navigation ul.cart .cart_list a {
	color: #000 !important;
	text-decoration: none;
}

/* 2.3 Header */
#header {
	padding: 20px 0 25px;
}

#header .social-buttons {
	overflow: hidden;
}

/* 2.5 Sidebar */
#sidebar {
	overflow: visible;
}

@media only screen and (min-width: 768px) {
	.archive #wrapper #sidebar {
		margin-top: 55px;
	}
	
	.archive.post-type-archive-witness #wrapper #sidebar {
		margin-top: 63px;
	}
}

@media only screen and (max-width: 320px) {
	.archive #wrapper #sidebar {
		margin-top: 25px;
	}
}

/* 2.6 Footer */
#footer {
	border-top: 2px solid #D88E0C;
}

#footer p {
	color: #000;
	font-size: 12px;
	font-style: italic;
}

#footer img {
	vertical-align: middle;
}

#footer .col-left {
	border-right: 2px solid #D88E0C;
	text-align: center;
	width: 49%;
}

#footer .col-left .image {
	display: inline-block;
	height: 68px;
	padding: 5px 8.7%;
	width: 68px;
}

#footer .col-left .image.alhm {
	background: url('images/alhm.png') no-repeat center center;
}

#footer .col-left .image.alhm:hover {
	background: url('images/alhm-hover.png') no-repeat center center;
}

#footer .col-left .image.ibl {
	background: url('images/ibl.png') no-repeat center center;
}

#footer .col-left .image.ibl:hover {
	background: url('images/ibl-hover.png') no-repeat center center;
}

#footer .col-left .image.lasy {
	background: url('images/lasy-panstwowe.png') no-repeat center center;
}

#footer .col-left .image.lasy:hover {
	background: url('images/lasy-panstwowe-hover.png') no-repeat center center;
}

#footer .col-right {
	margin: 0 1%;
	padding: 8px 0 0;
	width: 48%;
}

#footer #credit span {
	display: block;
}

#footer #credit .copy {
	clear: both;
	padding: 1em 0 0;
}

@media only screen and (max-width: 767px) {
	#footer .col-left, #footer .col-right {
		border: 0;
		margin: 0;
		width: 100%;
	}
	
	#footer .col-left .image {
		padding: 5px 3%;
	}
}

@media only screen 
and (min-device-width: 768px) 
and (max-device-width: 1024px) 
and (orientation : portrait) {
	#footer .col-left img {
		padding: 5px 6%;
	}
}

/* 3. POSTS */
.page-title, .post .title, .page .title, h1.title, article .title {
	font-size: 20px;
	line-height: 1;
	margin: 0 0 1em;
	text-transform: uppercase;
}

.post .title a:link, .post .title a:visited, .page .title a:link, .page .title a:visited, article .title a:link, article .title a:visited {
	color: #000;
	font-size: 14px;
	font-weight: bold;
}

.post, .search .page, article {
	margin: 0 0 20px;
}

/* Archives */
.controls {
	margin: 0 0 20px;
}

.gridlist-toggle {
	float: right;
}

.gridlist-toggle.disabled {
	visibility: hidden;
}

.gridlist-toggle a {
	background: url('images/grid-list.png') no-repeat 0 0;
	color: #D88E0C;
	display: inline-block;
	font-size: 30px;
	height: 29px;
	margin: 0 0 0 15px;
	width: 29px;
}

.gridlist-toggle a:hover, .gridlist-toggle a.active {
	color: #000;
	text-decoration: none;
}

.gridlist-toggle a#grid:hover, .gridlist-toggle a#grid.active {
	background-position: left bottom;
}

.gridlist-toggle a#list, .gridlist-toggle a#list {
	background-position: right bottom;
}

.gridlist-toggle a#list:hover, .gridlist-toggle a#list.active {
	background-position: right top;
}

/* Grid View */
.posts.grid .block {
	float: left;
	margin: 0 4.418% 4.418% 0;
	position: relative;
	width: 30.388%;
}

@media only screen and (max-width: 767px) {
	.posts.grid .block {
		float: none;
		width: 100%;
	}
}

.posts.grid .block.last {
	margin-right: 0;
}

.posts.grid article .post-content {
	display: none;
	height: 100%;
	max-height: 220px;
	overflow: hidden;
	position: absolute;
	top: 0;
	width: 100%;
}

.no-touch .posts.grid article:hover .post-content {
	background-color: #D88E0C;
	display: block;
}

.no-touch .category-pamiatki .posts.grid article:hover .post-content {
	background-color: #CE6208;
}

.no-touch .category-varia .posts.grid article:hover .post-content {
	background-color: #969D1D;
}

.no-touch .category-dokumenty .posts.grid article:hover .post-content {
	background-color: #6D572B;
}

.posts.grid article .post-content .inside {
	max-height: 70%;
	overflow: hidden;
	padding: 20px;
}

.posts.grid article h2.title {
	border-bottom: 1px solid #000;
	margin: 0 0 7px;
	padding: 0 0 5px;
}

.posts.grid article h2.title a {
	color: #FFF;
}

.posts.grid article .entry {
	color: #FFF;
}

.posts.grid article img.thumbnail {
	margin: 0;
	width: 220px;
	height: 220px;
	object-fit: cover;
}

/* List View */
.posts.list article h2.title {
	margin: 0 0 7px;
	position: relative;
	top: -5px;
}

.posts.list article .entry {
	position: relative;
	top: -5px;
}

.posts.list article img.thumbnail {
	height: auto;
	max-width: 125px;
}

/* Search Page */
.search-results img.thumbnail {
	display: none;
}

.search-results .post, .search-results article {
	border-bottom: 1px solid #D88E0C;
	padding: 0 0 20px;
}

/* Related */
.related h4 {
	border-bottom: 1px solid #D88E0C;
	margin: 0 0 1em;
	padding: 0 0 0.2em;
	text-transform: lowercase;
}

.related ul {
	overflow: hidden;
	padding: 0;
}

.related ul li {
	float: left;
	list-style-type: none;
	margin: 0 3.419% 3.419% 0;
	min-width: 100px;
	width: 13.81%;
}

@media only screen and (min-width: 999px) {
	.related ul li:nth-child(6n+6) {
		margin-right: 0;
	}
}

/* 3.1 Typographic Elements */
.entry, .entry p {
	color: #000;
	font-size: 14px;
}

.entry h3 {
	font-size: 18px;
	text-transform: uppercase;
}

.post h4, article h4 {
	color: #000;
	font-size: 16px;
}

/* 3.2 Images */
.entry img, img.thumbnail {
	background: none;
	border: 0;
	padding: 0;
}

img.alignleft, img.alignright {
	margin-top: 0;
}

.entry .gallery img {
	border: 0 !important;
	padding: 2px;
}

@media only screen and (max-width: 480px) {
	.entry .gallery img {
		max-width: 90%;
	}
}

/* 3.3 Pagination */
.woo-pagination {
	clear: none;
	float: right;
	margin: 0 0 0 40px;
}

.post-type-archive-witness .controls-bottom .woo-pagination {
	margin-top: 20px;
}

.woo-pagination a:link, .woo-pagination a:visited, .woo-pagination a:active, .nav-entries a span {
	background: none;
	box-shadow: none;
	color: #D88E0C;
	font-size: 18px;
	font-weight: normal;
	line-height: 1;
	padding: 0 1px;
}

.woo-pagination span.current, .woo-pagination a:hover {
	background: none;
	color: #000;
	font-size: 18px;
	font-weight: normal;
	padding: 0 1px;
}

/* 4.2 Specific Widgets */
.widget ul.menu {
	background-color: #D88E0C;
	list-style-position: inherit;
	list-style-type: none;
	padding: 10px 0;
	text-align: center;
	width: 140px;
}

@media only screen and (max-width: 480px) {
	.widget ul.menu {
		width: 100%;
	}
}

.widget ul.menu li a {
	color: #FFF;
	font-size: 14px;	
	font-weight: 600;
	text-transform: lowercase;
}

.widget ul.menu li a:hover, .widget ul.menu li.current-menu-item a {
	color: #000;
	text-decoration: none;
}

/* SEARCH FORM */
#nav-search {
	width: 24.582%;
}

#nav-search .searchform, #nav-search #searchform {
	border-color: #D88E0C;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	border-width: 1px;
	margin: 0;
	width: auto;
}

#nav-search .searchform input.s, #nav-search #searchform input#s {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	color: #D88E0C;
	font-size: 18px;
	font-style: italic;
	padding: 3px 8px;
	text-align: center;
	width: 100%;
}

#nav-search .icon-search {
	font-size: 1em;
	font-style: normal;
	left: 5px;
	position: absolute;
	right: auto;
	top: 3px;
}

.searchform .icon-search:before {
	color: #D88E0C;
}

/* 5.1 Comments */
#comments {
	display: none;
}

/* Home */
.home-posts .col-left, .home-posts .col-right {
	width: 474px;
}

.home-posts .block {
	float: left;
	margin: 0 0 12px;
	position: relative;
}

.home-posts div.add-margin {
	margin-right: 12px;
}

.home-posts div.clear-both {
	clear: both;
}

.home-posts .block.block-231 {
	width: 231px;
}

.home-posts .block.block-150 {
	width: 150px;
}

.home-posts .block.block-195 {
	width: 195px;
}

.home-posts .block.block-267 {
	width: 267px;
}

.home-posts article {
	margin: 0;
}

.home-posts iframe {
	display: block;
}

.home-posts img {
	height: auto;
}

.home-posts .overlay {
	background-color: #D88E0C;
	display: none;
	height: 100%;
	left: 0;
	opacity: 0.8;
	position: absolute;
	top: 0;
	width: 100%;
}

.home-posts .block-brown .overlay {
	background-color: #6D572B;
	opacity: 1;
}

.home-posts .block-green .overlay {
	background-color: #969D1D;
	opacity: 1;
}

.home-posts .block-orange .overlay {
	background-color: #CE6208;
	opacity: 1;
}

.no-touch .home-posts .overlay {
	display: block;
}

.no-touch .home-posts .block:hover .overlay {
	display: none;
}

@media only screen and (max-width: 1002px) {
	.home-posts .col-left, .home-posts .col-right {
		float: none;
		margin: 0 auto;
	}
}

@media only screen and (max-width: 320px) {
	.home-posts .col-left, .home-posts .col-right {
		width: 100%;
	}
	
	.home-posts div.add-margin {
		margin-right: 0;
	}
	
	.home-posts .block {
		width: 100% !important;
	}
}

.home-posts .post .title {
	bottom: 18px;
	color: #FFF;
	display: none;
	font-size: 14px;
	left: 20px;
	line-height: 1.2em;
	margin: 0;
	max-height: 50px;
	overflow: hidden;
	padding: 0 20px 0 0;
	position: absolute;
	z-index: 10;
}

.no-touch .home-posts .block-color .title {
	display: block;
}

.no-touch .home-posts .block:hover .title {
	display: none;
}

/* Witnesses Archive */
.filter-name {
	float: left;
	margin: 0 0 20px;
}

.filter-name a {
	font-size: 18px;
	margin: 0 2px 0 0;
}

.filter-name a.active {
	color: #000;
	
}

.post-type-archive-witness .block.even {
	background-color: #FBF3E6;
}

.no-touch .post-type-archive-witness .block:hover {
	background-color: #D88E0C;
}

.post-type-archive-witness .col-three-one {
	border-right: 1px solid #D88E0C;
	color: #000;
	float: left;
	line-height: 1.3;
	margin: 0;
	width: 33.19%;
}

@media only screen and (min-width: 768px) {
	.post-type-archive-witness .col-three-one {
		min-height: 170px;
	}
}

@media only screen and (max-width: 767px) {
	.post-type-archive-witness .col-three-one {
		border: 0;
		float: none;
		width: 100%;
	}
	
	.post-type-archive-witness .block {
		border-bottom: 1px solid #D88E0C;
	}
}

.post-type-archive-witness .col-three-one.last {
	border: 0;
}

.post-type-archive-witness .col-three-one .inside {
	padding: 20px;
}

.post-type-archive-witness .witness h2.title {
	border-bottom: 1px solid #000;
	color: #000;
	font-size: 14px;
	font-weight: bold;
	line-height: 1;
	margin: 0 0 8px;
	padding: 0 0 3px;
	text-transform: uppercase;
}

.post-type-archive-witness .inside {
	font-size: 13px;
	line-height: 1.3;
}

.post-type-archive-witness img.aligncenter {
	margin-bottom: 0;
	margin-top: 15px;
}

/* Witness Filters */
.filter-box-wrapper {
	margin: 0 0 35px;
	text-align: center;
	width: 142px;
}

.filter-box {
	border: 1px solid #D88E0C;
	margin: 0 0 5px;
	position: relative;
}

.filter-box h4 {
	background-color: #D88E0C;
	color: #FFF;
	font-size: 18px;
	font-weight: 600;
	padding: 5px 0;
}

.filter-box > ul > li {
	border-top: 1px solid #D88E0C;
}

.filter-box ul li a {
	color: #000;
	display: block;
	font-size: 14px;
	padding: 6px 0 6px 10px;
}

.filter-box ul li a:hover {
	text-decoration: none;
}

.filter-box ul > li a i {
	color: #D88E0C;
	float: right;
	padding: 4px 5px 0 0;
}

.filter-box ul > li a:hover i, .filter-box ul > li.active a i {
	color: #000;
}

.filter-box ul > li a i.icon-sort-up {
	padding-top: 7px;
}

.filter-box ul > li a i.icon-sort-down {
	padding-top: 1px;
}

/* Witness Content */
.video-container {
	margin: 0 0 2em;
}

/* Homepage YouTube videos */
.home-posts .video {
	width: 474px;
	max-width: 100%;
}

/* Filters sub menu */
.filter-box ul li ul {
    border-top: 1px solid #D88E0C;
    min-height: 132px;
	padding: 0 0 0 94px;
    position: absolute;
    right: -335px;
    top: -1px;
    visibility: hidden;
    width: 240px;
    z-index: 9999;
}

.filter-box ul li:hover > ul {
	visibility: visible;
}

.filter-box ul li ul li {
	background-color: #D88E0C;
	padding-left: 10px;
	padding-right: 10px;
}

.filter-box ul li ul li:first-child {
	padding-top: 10px;
}

.filter-box ul li ul li:last-child {
	padding-bottom: 10px;
}

.filter-box ul li ul li a {
	color: #FFF;
	font-size: 12px;
	padding: 1px 0;
}

.filter-box ul li ul li a:hover {
	color: #000;
}

/* 6.1 Buttons */
a.button, a.comment-reply-link, #commentform #submit, .submit, input[type=submit], input.button, button.button, #wrapper .woo-sc-button {
	background: #D88E0C;
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	font-size: 18px;
	font-style: italic;
}	

a.button:hover, a.comment-reply-link:hover, #commentform #submit:hover, .submit:hover, input[type=submit]:hover, input.button:hover, button.button:hover, #wrapper .woo-sc-button:hover {
	background: #000;
}

/* 6.3 Contact Form */
input, textarea {
	border: 1px solid #D88E0C;
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	color: #000;
}

.page-id-2 .entry {
	width: 85.5%;
}

.entry #contact-page ol {
	padding: 0;
}

.entry #contact-page ol li {
	list-style-type: none;
}

#contact-page ol.forms label {
	margin: 0 0 10px;
	max-width: 230px;
	min-width: 80px;
	padding: 0;
	width: 38%;
}

#contact-page input[type=text], #contact-page input.wpcf7-text, #contact-page ol.forms textarea {
	max-width: 376px;
	min-width: 147px;
	width: 100%;
}

#contact-page ol.forms textarea {
	height: 150px;
	resize: none;
}

#contact-page input[type=submit] {
	float: right;
	padding: 0.327em 2em;
	width: auto;
}

div.wpcf7-mail-sent-ok {
	border: 2px solid #D88E0C;
}

div.wpcf7-response-output {
	margin: 0 0 3em;
}

/* Icons */
.icon-question-circle:before {
	content: "\f059";
}

.icon-times:before {
	content: "\f00d";
}

.hidden-xs {
	display: block !important;
}

@media (max-width: 767px) {
	.hidden-xs {
		display: none !important;
	}
}

/* Zbiory/video (tylko single, nie strona główna) */
body.single .post.category-video .video {
	width: 610px;
	max-width: 100%;
}

/* Świadkowie */
body.single .post.type-post .video {
	width: 724px;
	max-width: 100%;
}