/*
Theme Name:  SpeleoBG
Theme URI:   https://speleo-bg.org/
Description: SpeleoBG is a child theme of Astra, created for speleo-bg.org site.
Author:      Gonzomir Ltd.
Author URI:  https://greatgonzo.net/
Template:    astra
Version:     1.0.0
Text Domain: speleobg
*/


.cave {
	margin-bottom: 1em;
}

.cave .blog-layout-1 {
	display: block;
	padding-bottom: .5em;
	border: none;
}

.cave .entry-title {
	margin-bottom: .6667em;
  font-size: 1.5em;
  line-height: 1;
}

.cave .post-content {
	float: none;
}

.cave-data {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	margin: 0 0 3em;
}

.cave-data li {
	flex: 1 1 calc( 33.3333% - 1em );
	list-style-type: none;
	margin: 0;
	min-width: 12em;
}

.cave-data dt,
.cave-data dd {
	margin: 0;
	padding: 0;
}

.cave-data dt {
	font-weight: 400;
	font-size: .875em;
}

.cave-data dd {
	font-weight: bold;
}

.cave-pictures {
	list-style-type: none;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	margin: 0 0 3em;
}

.cave-pictures li {
	flex: 0 0 calc( 25% - 1em );
	min-width: 12em;
}

.cave-pictures li::before {
	content: '\200b';
}

.footer-sml-layout-2 .ast-small-footer-section-1 {
    text-align: left;
    font-size: 13px;
    line-height: 20px;
}

@media (min-width: 768px) {
	 .ast-small-footer-wrap div.ast-small-footer-section-1 {
		width: 30%;
	}
	.ast-small-footer-wrap div.ast-small-footer-section-2 {
		width: 70%;
	}
	.ast-footer-overlay {
		padding-top: 0.66666em;
		padding-bottom: 0.66666em;
	}
}

.ast-pagination .next.page-numbers, .ast-pagination .prev.page-numbers, .post-navigation a {
	padding: 0;
	height: 2.33333em;
	line-height: calc(2.33333em - 3px);
}

.widget {
	margin: 0 0 2em 0;
}

#secondary {
	line-height: 1.6;
}

/* Not to display that Wonderplugin Gallery Plugin is Free Version*/
div.html5gallery-elem-img-1 a {
	display: none !important;
	z-index: -1 !important;
}

/* Not to display that Wonderplugin Gallery Plugin is Free Version*/
div.html5gallery-elem-img-1 a div {
	display: none !important;
	z-index: -1 !important;
}

.ast-single-post > .entry-header > .entry-title,
.ast-article-single > .entry-header > h1.entry-title,
article#post-152  .entry-content > h2,
article#post-3425 .entry-content > h2 {
	color: #da7c26;
	font-size: 2.2222222222222rem;
}

article#post-152  .entry-content > h2,
article#post-3425 .entry-content > h2 {
	margin-bottom: 2.5rem;
	padding-bottom: 1.3333rem;
	border-bottom: 1px solid #eee;
}

article#post-3425 .entry-content > h2 {
	margin-top: 2rem;
}

article#post-152 > header.entry-header {
	display: none;
}

.post > .entry-header,
.page > .entry-header {
	margin-bottom: 2.5em;
	padding-bottom: 1.3333em;
	border-bottom: 1px solid #eee;
}

.home main > article > .entry-header.ast-header-without-markup {
	display: none;
}

.bfsp-linked-news {
	padding-top: 3em;
}

.bfsp-linked-news > h2 {
	margin-bottom: 1.5em;
}

.bfsp-linked-news .ast-article-single {
	padding: 0;
	margin-bottom: 3em;
}

@media all and ( min-width: 40em ) {
	.archive article .ast-blog-featured-section,
	.entry-content article .ast-blog-featured-section {
		width: auto;
		max-width: 40%;
		float: left;
		padding: 0;
		margin: 0 1.5em 1.5em 0;
	}
	.archive article .ast-blog-featured-section:empty,
	.entry-content article .ast-blog-featured-section:empty {
		display: none;
	}
}

.bfsp-foother-txt-widget {
	font-size: 0.85em;
}

.cave-foother-txt-widget-project {
	text-align: left;
	font-size: 0.75em;
}

.wp-block-search {
	display: flex;
	flex-wrap: wrap;
}

.wp-block-search label {
	width: 100%;
}

.wp-block-search input {
	flex: 1;
}

.wp-block-search .wp-block-search__button {
	margin-left: 0;
	padding-left: 1.5em;
	padding-right: 1.5em;
}

.cave-search-form {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 10em, 1fr ) );
	grid-column-gap: 1.5em;
	column-gap: 1.5em;
}

.cave-search-form label {
	display: block;
}

.cave-search-form button,
.cave-search-form input,
.cave-search-form select {
	width: 100%;
}

.cave-search-form input,
.cave-search-form select {
	line-height: normal;
}
