
/* 
	Theme Name: Volltext Enfold Child 
	Version: 1.2 
	Description: Child theme for Enfold. 
	Author: Akriga Ltd
	Author URI: https://www.akriga.com 
	Template: enfold 
 */ 

/* Don't treat like <a> etc */
.main_color b {
	color: #000;
}

.responsive .logo img,
header span.logo img {
	width: 150px;
}

/* Remove weiterlesen link */
body.post-type-archive-vt_nachrichten .more-link,
body.post-type-archive-vt_texte .more-link,
body.post-type-archive-vt_nachrichten .read-more-link,
body.post-type-archive-vt_texte .read-more-link {
	display: none !important;
}

body.post-type-archive-vt_nachrichten article,
body.post-type-archive-vt_texte article {
  border-bottom : 1px solid var(--enfold-main-color-border)
}

body.post-type-archive-vt_nachrichten main > article:first-child h2,
body.post-type-archive-vt_texte main > article:first-child h2 {
	margin-top: 0 !important;
}

/* Default of 11px from layout.css */
nav.sub_menu_socket .avia-menu-text {
}

/* default from typography setting */
nav.main_menu .avia-menu-text {
	font-size: 18px;
}

/* blog.css has justify */
#top .fullsize .template-blog .post .entry-content-wrapper {
	text-align: initial;
	font-size: 18px;
}

#top .fullsize .template-blog .post-title {
	line-height: 1.3em;
	margin-top: 35px;
	margin-bottom: 40px;
	padding: 0;
}

body.post-type-archive-vt_nachrichten h1,
body.post-type-archive-vt_texte h1 {
	line-height: 1.3em;
	margin-top: 35px;
	margin-bottom: 50px !important;
	padding: 0;
}

@media only screen and (min-width: 768px) {
	#top .fullsize .template-blog .post-title,
	dddbody.post-type-archive-vt_nachrichten h1,
	body.post-type-archive-vt_texte h1 {
		font-size: 60px;
	}
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	#top .fullsize .template-blog .post-title,
	dddbody.post-type-archive-vt_nachrichten h1,
	body.post-type-archive-vt_texte h1 {
		font-size: 40px;
	}
}

@media only screen and (max-width: 479px) {
	#top .fullsize .template-blog .post-title,
	dddbody.post-type-archive-vt_nachrichten h1,
	body.post-type-archive-vt_texte h1 {
		font-size: 24px;
	}
}

body.post-type-archive-vt_nachrichten article.post-entry p,
body.post-type-archive-vt_texte article.post-entry p {
	margin: 0 !important;
}

body.single-vt_nachrichten p,
body.single-vt_texte p {
	margin: 1.7em 0 !important;
	line-height: 1.66em ;
	font-size: 20px;
}


/* Used to be ueber */
body.post-type-archive-vt_nachrichten h2.post-title,
body.post-type-archive-vt_texte h2.post-title {
	font-size: 22px !important;
	font-weight: 700;
	padding: 6px 0 !important;
	margin-bottom: 0 !important;
}

@media only screen and (max-width: 767px) {
	#top .fullsize .template-blog .post .entry-content-wrapper .wp-caption {
		display: block;
		margin-left: auto;
		margin-right: auto;
		float: none;
	}
}

/* images in articles don't need padding */
#top .fullsize .template-blog .post .entry-content-wrapper .wp-caption img {
	padding: 0 !important; 
}

/* Without the border, we can let the margin of the text determine spacing */
#top .fullsize .template-blog div .wp-caption,
body.post-type-archive-vt_nachrichten div .wp-caption,
body.post-type-archive-vt_texte div .wp-caption {
	margin-bottom: 0px;
	border: none;
}

#top .fullsize .template-blog div .wp-caption p,
body.post-type-archive-vt_nachrichten div .wp-caption p,
body.post-type-archive-vt_texte div .wp-caption p {
	text-align: left;
	margin-top: 5px !important;
	margin-bottom: 0px !important;
	padding-bottom: 0px !important;
	padding-left: 0;
	line-height: 1.3em;
	font-size: 14px !important;
	font-size: clamp(12px 14px 14px) !important;
}


/* (The subtitle) - optional */
.vorspann {
	text-align: center;
	font-size: 24px;
	line-height: 1.65em;
	font-weight: 300;
	padding-bottom: 15px;
	border-bottom: 1px solid;
	border-color: #ACACAF;
	margin-bottom: 30px;
}

.vorspann.noborder {
	border-bottom: 0;
	padding-bottom: 0;
}

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

.autoren_name {
	text-align: center;
	font-size: 24px;
	line-height: 1.65em;
}

.vt_home .vorspann {
	border-bottom: 0;
}

.vt_home .vorspann:last-child {
	border-bottom: 1px solid;
	border-color: #ACACAF;
}


.datum p, 
.autor p,
.biblio p,
.footnotes {
	font-family: Arial,Helvetica,sans-serif !important;
	color: #5c5b5c !important;
	font-size: 18px;
}

/* ACF WYSIWYG repeater */
.footnotes > ol > li {
	/* padding : 0 !important; */
}

.footnotes > ol > li p:first-of-type,
.footnotes > ol > li p:last-of-type {
    margin-block: 0 !important;
}

.vt_super {
    position: relative;
    bottom: 0.5em;
    font-size: 0.8em;
}




:root {
	--vt_indent: 9%;
}

cite,
.vt_indent {
	font-family: Helvetica,Arial,sans-serif !important;
	color: #73acba !important;
	font-size: 30px !important;
	line-height: 1.26em !important;
	font-weight: 900;
	font-style: italic;
}

@media only screen and (min-width: 768px) {
	cite,
	.vt_indent {
		display: block;
		position: relative;
		padding: 0px 60px 0px calc(var(--vt_indent) + 20px);
		border-radius: 5px;
	}

	cite::before,
	.vt_indent::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		width: var(--vt_indent);
		background: #73acba;
		border-radius: 5px;
	}
}





/*
.vt_cpt #main .main_color p {
    margin: 0.5em 0;
    line-height:1.5em;
}
*/

/* Read more line is too faint */
.bloglist-excerpt .read-more-link:after {
    border-top-width: 2px;
}

/* override enfold setting for search text */
#top .template-search.content .entry-content-wrapper {
	font-size: 20px;
}

h1.entry-title {
	line-height: 1em !important;
	margin-top: 25px !important;
}


a strong {
/* body.vt_abonnieren a strong { */
	color: var(--enfold-main-color-primary) !important;	
}

body.search-results h2.entry-title {
	margin-bottom: 0 !important;
}

/* the round counter */
body.search-results .search-result-counter {
	background-color: #fafafa;	/* Without the slightly darker background the circle is difficult to see and the number "floats" compared to the heading */
	/* enfolds implementation for the counter text is not ideal - in easy way to make all numbers look good for the font we use */
	/* Experiments, nothigh ideal due to the varying height of the numbers */
	/* padding-left:14px !important;
	margin-bottom:18px !important; */
}
