/*
Theme Name:   Kahuna Mangolia
Theme URI:    http://www.mangolia.net/
Description:  Kahuna child theme - used for Mangolia customizations
Author:       Jens Heise
Author URI:   http://www.mangolia.net/
Template:     kahuna
Version:      0.1
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, three-columns, right-sidebar, left-sidebar, grid-layout, custom-background, custom-colors, custom-header, flexible-header, custom-menu, featured-image-header, featured-images, front-page-post-form, full-width-template, footer-widgets, microformats, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, blog, entertainment, portfolio
Text Domain: kahuna
*/

/* customizations below */

.entry-meta span a.post-edit-link { border-bottom: none; }
.single-post .article-inner .wp-block-group {
	border-bottom: 1px solid lightgray;
}
.wp-block-code code {
	background-color: inherit;
	overflow: hidden;
}

.test { border: 1px dotted red; }
.single-attachment .attachment .entry-attachment .attachment-caption {
	display: block;
	font-size: smaller;
}

@media (min-width: 1153px) {
	.kahuna-responsive-headerimage #header-image-main-inside img.header-image {
		display: none;
	}



	.kahuna-responsive-headerimage #masthead div.header-image {
		display: block;
		background-size: 100%;
		background-position: top center;
		min-height: 350px;
	}
}
.kahuna-responsive-headerimage #masthead div.header-image {
	display: block;
	min-height: 350px;
}
.kahuna-responsive-headerimage #header-image-main-inside img.header-image {
	display: none;
}

#masthead .header-image {
	background-position: top center;
	background-repeat: no-repeat;
}
/*
.kahuna-responsive-headerimage #masthead div.header-image {
	display: block;
	min-height: 350px;
	background-position: top center;
	background-repeat: no-repeat;
}
*/

.masonry {
	position: relative;
	z-index: 98;
}
.pagination ~ .masonry,
.masonry + .pagination,
.pagination {
	z-index: 99;
	position: relative;
	background-color: rgba(255, 255, 255, 0.5);
}

span.edit-link {
	right: 0;
	padding-right: 0;
}
.icon-text-document.icon-metas {
	margin-right: 2px;
}
.icon-video.icon-metas,
.icon-image.icon-metas {
	margin-right: 5px;
}
.main #comments-title {
	margin-top: 1.5em;
	margin-bottom: 1em;
	line-height: 1;
}
#cancel-comment-reply-link {
	font-weight: inherit;
	line-height: inherit;
	font-size: inherit;
}
#cancel-comment-reply-link::before {
	content: " | ";
	font-family: inherit;
}
.logged-in-as,
#comments-title, 
#reply-title, 
.related-main-title {
	font-size: xx-small;
	text-transform: uppercase;
}

code {
	padding: 0;
	line-height: 1;
}

@media (max-width: 800px) {
	#content-masonry article.hentry {
		margin-bottom: 3%;
	}
}

article.hentry .entry-summary .post-thumbnail-container {
	padding: 0;
	margin: 0;
}
.entry-summary .post-thumbnail-container .responsive-featured-image img {
	width: 100%;
	height: auto;
}
.post-thumbnail-container .featured-image-meta {
	left: -50%;
	min-width: 50%;
	max-width: 60%;
}




.format-status .entry-meta .avatar {
	display: inline-block;
	float: none;
	margin-right: .3em;
}

article a[target='_top'].fa-image-link::after,
article a[target='_blank'].fa-image-link::after,
article a[href].fa-image-link::after {
	content: "";
}
article a[target='_top']::after, 
article a[target='_blank']::after, 
article a[href].fa-external-link::after {
	content: "\00a0\f08e";
}
article a[class*='fa-'].fa::after, 
article a[target='_top']::after, 
article a[target='_blank']::after {
	font: normal normal normal 14px/1 FontAwesome;
	text-decoration: none;
	text-rendering: auto;
}

@media (min-width: 1152px) {
	.kahuna-over-menu #site-header-main,
	.kahuna-over-menu #access::after {
		background: rgb(255 255 255 / 66%);
	}
}
.alignleft, 
img.alignleft {
	margin-right: 1em;
}
.alignright, 
img.alignright {
	margin-left: 1em;
}
.masonry .entry-content img[class*='align'],
.masonry .entry-summary img[class*='align'] {
	margin: 0;
	float: none;
	max-width: 100%;
	width: 100%;
}




.main .masonry article ul:not([class]),
.main .masonry article ol:not([class]),
.masonry .entry-content ul,
.masonry .entry-summary ol {
	margin: 0;
	padding: 0 !important;
}

.single-attachment #nav-below .nav-next a:hover + a, 
.single-attachment #nav-below .nav-next a + a:hover {
	visibility: visible;
	margin-right: 56px;
	opacity: 1;
}
.single-attachment #nav-below a:hover i, 
.single-attachment #nav-below a:hover + a, 
.single-attachment #nav-below a + a:hover {
	background-color: rgba(140, 182, 95, 0.8);
}
.single-attachment #nav-below {
	margin: 0;
	padding: 0;
}
.single-attachment #nav-below .nav-previous,
.single-attachment #nav-below .nav-next {
	position: fixed;
	top: 50%;
	z-index: 9999;
	max-width: 54px;
	max-height: 54px;
	-webkit-transition: .3s ease-out all;
	transition: .3s ease-out all;
}
.single-attachment #nav-below .nav-previous {
	left: -10px;
}
.single-attachment #nav-below .nav-next {
	right: -10px;
}
.single-attachment .icon-angle-left::before,
.single-attachment .icon-angle-right::before {
	content: "\e917";
}
.single-attachment #nav-below .nav-next i {
	right: 0;
}
.single-attachment #nav-below i,
.single-attachment #nav-below span {
	color: rgb(255 255 255);
}
.single-attachment #nav-below i,
.single-attachment #nav-below a + a {
	background-color: rgba(215,215,215,0.8);
}
.single-attachment #nav-below i {
	position: absolute;
	top: 0;
	bottom: 0;
	display: block;
	width: 54px;
	height: 54px;
	margin: auto;
	-webkit-transition: .3s ease-out all;
	transition: .3s ease-out all;
}
.single-attachment #nav-below i::before {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	margin: auto;
	text-align: center;
	font-size: 30px;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	-webkit-transition: .2s ease-out all;
	transition: .2s ease-out all;
}
.single-attachment #nav-below .nav-previous i::before {
	-webkit-transform: translateY(-50%) rotate(180deg);
	-ms-transform: translateY(-50%) rotate(180deg);
	transform: translateY(-50%) rotate(180deg);
}
.single-attachment #nav-below .nav-next i::before {
	right: 10px;
}
.single-attachment #nav-below .nav-previous i::before {
	left: 10px;
}

.kahuna-responsive-featured .main .post-thumbnail-container {
	max-height: fit-content;
	min-height: 10em;

}

.masonry header [class*='thumbnail'] [src$='.svg'],
.masonry .attachment img[src$='.svg'] {
	max-width: calc( 100% - 10px );
}
.masonry header [class*='thumbnail'] [src$='.svg'],
.entry-attachment img[src$='.svg'],
.related-thumbnail img[src$='.svg'] {
	width: calc( 100% - 10px );
}
.masonry header [class*='thumbnail'] [src$='.svg'],
.masonry .attachment img[src$='.svg'],
.entry-attachment img[src$='.svg'],
.related-thumbnail img[src$='.svg'] {
	height: auto;
	padding: 5px;
}
.media_category-weiss .entry-attachment img[src$='.svg'],
.media_category-weiss.masonry-brick img[src$='.svg'] {
	background-color: rgb(236 236 236);
}
.lp-text-image > img[src$='.svg'] {
	width: 100%;
}

aside#colophon .widget-container {
	margin: 0;
}

#header-page-title .entry-title {
	max-width: 50%;
}
#header-page-title #breadcrumbs-container {
	min-width: calc( 50% - 2em );
	max-width: calc( 100% - 2em );
	width: -webkit-fill-available;
}
#header-page-title #breadcrumbs {
	text-align: end;
}

@media (max-width: 1152px) {
	#header-page-title .entry-title { margin-top: 0; }
	#header-page-title #breadcrumbs-container { margin-top: 5px; }
	#header-page-title .entry-title,
	#header-page-title #breadcrumbs-container {
		max-width: none;
		float: none;
		position: relative;
		transform: none;
		top: unset;
		right: unset;
		display: block;
	}
	#breadcrumbs-container #breadcrumbs-nav {
		padding-left: 0;
	}
	#breadcrumbs-container.cryout[class*="columns"] #breadcrumbs {
		text-align: start;
		padding: 0;
		float: none;
	}
	.cryout #container[class*="columns"] .main,
	.cryout #container[class*="columns"] #primary,
	.cryout #container[class*="columns"] #secondary {
		margin: 0 0 0;
		min-height: max-content;
	}
	article.hentry,
	.main .content-widget {
		margin-bottom: 0;
	}
	#container:not(.kahuna-landing-page) .main {
		padding-bottom: 0;
	}
	.sidey {
		padding-top: 0;
		padding-bottom: 0;
	}
}







#footer-top .footer-inside {
	padding-top: 0;
	padding-bottom: 0;
}
#footer-top .footer-inside > div:nth-child(1) a,
#footer-top .footer-inside > div:nth-child(1) { 
	color: inherit;
	font-size: 0;
	display: none !important;
}
#site-copyright {
	color: rgba(255, 255, 255, 0.25);
	float: right;
	font-size: smaller;
	font-style: normal;
	margin-right: 10px;
}
x3d-canvas,
X3DCanvas {
	overflow: hidden;
	position: relative;
	display: inline-block;
	outline: none;
	margin: 0px;
	padding: 0px;
	border: 0px;
	border-radius: 0px;
	width: 100%;
	height: 50vh;
}


