/*
Theme Name:     enfold-child
Description:    Child Theme for Enfdold
Author:         IDM3Admin
Template:       enfold
*/

/* Header (je nach Schriftzug müssen hier die Werte angepasst werden) */

#header_meta .container {
    position: absolute;
    top: 10px !important;
    left: 0;
    right: 0;
}

div .logo {
	margin-top: 10px !important;
}

#svg1109 {
  	padding-bottom: 10px !important;
}

.html_header_top.html_header_sticky #top #wrap_all #main {
  	padding-top: 140px !important;
}

/** non-sticky header fix for mobile **/
@media only screen and (max-width: 767px) {
    .html_header_top.html_header_sticky #top #wrap_all #main {
        padding-top: 0 !important;
    }
}

#header_meta {
    min-height: 0;
    margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
    .responsive .logo img, .responsive .logo svg {
        min-height: 80px;
    }
    .responsive #top .logo {
        margin-top: 0;
    }
    .responsive #header .sub_menu, .responsive #header_meta .sub_menu > ul {
		margin: 10px auto !important;
    }

.responsive #top #wrap_all #header {
    	display: flex;
    	flex-flow: column;
	}

#header_meta {
    	background: transparent;
	}

#header #header_meta .container {
		position: static;    
	}    
}

/** Icons **/
header .av-icon-char {
	font-size: 30px;
}

.av_secondary_right .sub_menu {
	margin-top: 20px;
}

@media only screen and (max-width: 767px) {
	.menu-item-53 {
		padding-right: 0 !important;
	}
  
	.responsive #header .sub_menu, .responsive #header_meta .sub_menu > ul {
  		float: right !important;
  		width: initial !important;
  		margin: 0;
	}
}

/* Schriften */

/** Überschriften **/
h1,
h2,
h3,
h4,
h5,
h6,
#top .title_container .main-title,
tr.pricing-row td,
#top .portfolio-title,
.callout .content-area,
.avia-big-box .avia-innerbox,
.av-special-font,
.av-current-sort-title {
	font-weight: bold !important;
	text-transform: initial !important;
}

.avia-menu-text  {
	font-weight: 400 !important;
}

section h2 {
  	text-transform: uppercase;
}

@media only screen and (max-width: 767px) {
	h1, h2, h3, h4, h5, h6, .av-special-heading-tag, .av-special-heading {
		text-align: left !important;
	}
}

/** Hauptmenü **/
ul#avia2-menu li#menu-item-1687 a, ul#avia2-menu li#menu-item-5514 a {
    font-size: 1.8rem;
    letter-spacing: 0;
    font-weight: initial !important;
    line-height: 2rem;
	color: #000;
}

ul#avia2-menu li#menu-item-1687 a:hover, ul#avia2-menu li#menu-item-6595 a:hover {
	color: #000;
	text-decoration: none !important;
}

ul#avia2-menu li#menu-item-2088 a {
    font-size: 20px;
    letter-spacing: 0.1em;
    font-weight: initial !important;
	line-height: 35px;
}

#avia-menu a {
	font-size: 1em;
}

#top .av-main-nav ul a {
	font-size: 0.9em;
}

/* Schriftgrößen */
body, p, .av-main-nav > li > a, #commentform label, #top .comment_text {
	font-size: 1em !important; 
}

.breadcrumb, .comment-edit-link, #cancel-comment-reply-link, .commentmetadata, #top .comment-reply-link {
	font-size: 80% !important;
}

.sidebar li, #comments span, .minitext, .form-allowed-tags, #reply-title small, #commentform label, .tagcloud a {
	font-size: 90% !important;
}

.logged-in-as {
  font-size: 90% !important;
  line-height: 1.4;
  font-weight: normal !important;
  letter-spacing: normal !important;
}

/* Links */
body a:hover, body a:focus {
	text-decoration: underline;
} 

/* Breadcrumb */
/** links ausrichten **/
.title_container .breadcrumb {
    right: auto !important;
}

/** Höhe anpassen **/
#top .title_container .container {
	min-height: 30px !important;
}

/* Content */
/** Mindestbreite **/
body {
  min-width: 325px;
}

/** Abstände Main und Sidebar **/
main, aside {
  padding-top: 20px !important;
}

/** innerer Abstand Sidebar **/
.inner_sidebar {
	margin-left: 20px !important;
}

/** Submenu **/
@media only screen and (min-width: 768px) {
#sub_menu1 {
	margin: 0 -50px !important;
 	padding: 0px;
}
}

#top .av-subnav-menu > li.current-menu-item a {
    background-color: orange !important;
    padding: 5px 0;
}

/* Footer */
/** Positionierung Spalten **/
#footer .widget, #footer .widget_pages, #footer .widget_categories, #footer .widget_archive, #footer .widgettitle {
  margin-top: 0 !important;
}

/** Abstände zum Content und zum Socket **/
#footer {
	padding: 15px 0 !important;
}

#footer p, #footer h2, #footer .widgettitle {
  	margin: 0 !important;
}

.widget.widget_pages {
	margin: 0 !important;
}

/** Überschriften  **/
.widgettitle {
	padding-top: 5px !important;
	font-size: 1.25em !important;
	letter-spacing: initial !important;
}

/** Abstände mobil **/
@media only screen and (max-width: 767px) {
	#footer .widget {
  		margin: 30px 0 10px 0;
	}

	#footer section {
  		margin: 0 !important;
	}
	
	#footer h2 {
  		margin-top: 20px !important;
	}
}

/* Socket */
/** Logo & Menü oberhalb des Copyrights positionieren **/
#socket .container {
  display: flex;
  flex-direction: column-reverse;
}

/** Logo & Menü ausrichten **/
#menu-item-58, #menu-item-638 {
  margin-right: 70px !important;
}

#avia3-menu, #menu-item-58, #menu-item-638 {
  margin: 0;
  padding: 0 !important;
}

.avia3-menu li {
  margin-left: 20px;
  margin-top: 1.5em;
  border: 0 !important;
  font-size: 14px;
}

@media only screen and (max-width: 767px) {
	.avia3-menu li {
  		margin: 0;
  		padding: 0 !important;
  		margin: 10px 0;
  		border: 0 !important;
  		font-size: 14px;
  		float: left;
  		clear: left;
}
}

@media only screen and (max-width: 767px) {
	.avia3-menu li {
  		margin: 0;
  		padding: 0 !important;
  		margin: 10px 0;
  		border: 0 !important;
  		font-size: 14px;
  		float: left;
  		clear: left;
	}
	
	#socket .container {
  		padding-left: 13px !important;
	}
}

/** Breite Logo **/
#socket svg {
	max-width: 220px !important;
}

/** Copyright **/
#socket .copyright {
 	font-size: .75rem;
    line-height: 120% !important;
	margin-top: 15px;
}

@media only screen and (max-width: 767px) {
	#socket .copyright {
		margin-left: -15px;
	}
}

/* ab hier instanzspezifische Anpassungen */
/** Remove hover effect on Post Slider **/
.slide-entry .image-overlay { 
	display: none !important; 
}

/** Bild Startseite **/
.avia-slideshow li img {
	border-radius: 0 !important;
}

/** Slider Startseite **/
.slider-start .slide-entry-title {
	position: absolute;
	top: 0px;
	line-height: 1 !important;
}

.slide-entry-title.entry-title {
	border-top: 4px solid black !important;
	border-right: 4px solid black !important;
	padding-top: 10px !important;
	padding-right: 10px !important;
}

@media only screen and (max-width: 767px) {
.slider-start .slide-entry-title {
	letter-spacing: -0.05em;
	}
}

.slider-start img {
	margin-top: 50px !important; 
}

.slider-start .slide-image {
	background-color: transparent !important; 
}

.slider-start .avia-content-slider {
	margin-top: 0;
}

@media only screen and (min-width: 768px) {
	.slider-text {
		margin-top: 50px;
	}
}

@media only screen and (max-width: 767px) {
	.slider-text {
		margin-top: -10px;
	}
}

.next-slide, .prev-slide {
	margin-top: 15px !important; 
}

.next-slide {
	border-radius: 4px 0 0 4px !important;
}

.prev-slide {
	border-radius: 0 4px 4px 0 !important;
}

#top .avia-slideshow-arrows a {
	opacity: 1;
	background: rgba(0, 0, 0, 0.3) !important;
	color: #fff !important;
} 

#top .avia-slideshow-arrows a:focus, #top .avia-slideshow-arrows a:hover {
  	color: #fff !important;
}

#top .avia-slideshow-arrows a {
	text-shadow: 0px 3px 0px black;
}

/** News Box Startseite **/
.post-meta-infos {
  	display: flex;
  	justify-content: flex-start;
}

.bloglist-simple .read-more-link  {
	display: flex !important;
	justify-content: flex-start;
	position: initial;
  	transform: initial;
	padding-top: 0;
	padding-left: 10px;
}

.bloglist-excerpt .more-link {
  	text-transform: none !important;
}

.bloglist-excerpt .more-link:hover {
  	text-decoration: none !important;
}

/** Links **/
#main a, strong {
	color: #000;
	font-weight: bold;
}

.entry-title a:hover, .entry-title a:focus {
	text-decoration: none !important;
	font-weight: initial !important;
}

p a {
	text-decoration: underline dotted !important;
}

p a:hover {
	text-decoration: underline !important;
}

p a:focus {
	text-decoration: none !important;
	outline: 1px solid black;
	padding: 0 2px;
}

.more-link:hover, .more-link:focus, .more-link:active {
	background: #000 !important;
	text-decoration: none !important;
	color: #fff !important;
}

.more-link-arrow:hover::after, .more-link-arrow:focus::after, .more-link-arrow:active::after {
	color: #fff !important;
	text-decoration: none !important;
}

.avia-button .avia_iconbox_title {
  	color: #000;
}

.avia_iconbox_title:hover, .avia_iconbox_title:focus, .avia_iconbox_title:active {
	text-decoration: none !important;
}

#avia-menu a:focus {
	background-color: #f0f0f0;
	text-decoration: none !important;
}

/** Highlights **/
.main_color .container .av-inner-masonry-content, #top .main_color .container .av-masonry-load-more, #top .main_color .container .av-masonry-sort, .main_color .container .av-masonry-entry .avia-arrow {
  	background-color: #000;
}

.av-masonry-entry-title.entry-title {
  	color: #fff;
}

/** Besuch planen **/
.page-id-133 .entry-content-wrapper.clearfix, .page-id-1232 .entry-content-wrapper.clearfix {
	padding-left: 15px !important;
}

.page-id-133 h2.av-special-heading-tag, .page-id-1232 h2.av-special-heading-tag {
	border-top: 4px solid black !important;
	/* border-right: 4px solid black !important; */
	padding-top: 15px !important;
	font-size: 1.6em;
	text-transform: initial !important;
}

.page-id-133 .av_one_third p, .page-id-1232 .av_one_third p {
	margin: 0;
}

.page-id-133 .av-special-heading-h6, .page-id-1232 .av-special-heading-h6{
	margin-top: 20px !important;
	padding-bottom: 0 !important;
}

/** Führungen  **/
.page-id-260 .entry-content-wrapper.clearfix {
	padding-left: 15px !important;
}

.page-id-260 h2.av-special-heading-tag {
	border-top: 4px solid black !important;
	/* border-right: 4px solid black !important; */
	padding-top: 15px !important;
	font-size: 1.6em;
	text-transform: initial !important;
}

.page-id-260 .av_one_third p {
	margin: 0;
}

.page-id-260 .av-special-heading-h6 {
	margin-top: 20px !important;
	padding-bottom: 0 !important;
}

.page-id-260 .av-16o54k-a7a0e69aab8d723c935c9f42bd4272e3 {
 	margin-top: 10px !important;
}

/** Selektion **/
::selection {
	background-color: #000 !important;
	color: #fff !important;
}

/** Buttons **/
.avia-button {
	background-color: #fff !important;
	border: 1px solid black;
}

/** Suche kein Datum anzeigen **/
.header_color .ajax_search_excerpt { 
	display: none;
}

.search .post-meta-infos {
    display: none !important;
}

/** News **/
.news .iconlist_icon {
  	filter: drop-shadow(3px 1px black);
  	border: 1px solid black;
  	background-color: #fff !important;
  	color: #000 !important;
}

.news .article-icon-entry {
  	border-bottom: 1px dotted #000;
}

.news .entry-footer {
  	margin-top: 20px;
}

.iconlist-timeline {
	display: none;
}

.news .avia-icon-list-container {
	margin: 0 !important;
}

/** Social Media Icons im Footer **/
#footer .av-icon-char {
	font-size: 30px;
	margin-right: 30px;
}

/** WPML **/
.wpml-ls-native {
	font-size: 1.2em;
}

.menu-item-language {
	margin-top: 4px;
}

/** Header mobil **/
@media only screen and (max-width: 390px) {
	#menu-item-wpml-ls-6-de {
		padding: 0 !important;
	}

	.sub_menu li {
		border: 0 !important;
	}
}

/** Imported posts: hide Generated by Feedzy **/
.single-post template#tp-language + span {
 	display: none;
}

.feedzy-rss-link-icon::after {
	display: none;
}

/** Footer **/
.textwidget {
  	margin-top: 4px;
}

#footer .av-icon-char {
  	padding: 4px;
  	margin: 0 0 4px 4px;
  	display: inline-block;
}

.av-icon-char:focus-visible {
  	outline: 2px solid black;
}

/** Schriftgrößen und -stärken **/
body {
	font-size: 1em;
}

.grid-entry-title.entry-title {
  	font-weight: initial !important;
	font-size: initial !important;
}

/** Buttons **/
.button {
  	background-color: #fff !important;
  	color: #000 !important;
  	border: 1px solid black !important;
  	font-family: 'Noto Sans', sans-serif;
  	padding: 8px !important;
  	min-width: 80px !important;
  	border-radius: 4px !important;
}

.button:hover, .button:focus, .button:active {
  	background-color: #000 !important;
 	color: #fff !important;
  	border: 1px solid black !important;
  	font-family: 'Noto Sans', sans-serif;
}

.avia_button_icon {
	color: #000 !important;
}

.avia-button:hover, .avia-button:hover .avia_iconbox_title, .avia-button:hover .avia_button_icon {
  	color: #fff !important;
  	background: #000 !important;
  	text-decoration: none !important;
}

/** Fix für Links **/
.post-entry a:hover, .post-entry a:active, .post-entry a:focus, .post-title a:hover, .post-title a:active, .post-title a:focus {
  	font-weight: bold !important;
  	text-decoration: underline;
  	text-transform: none !important;
}

.grid-entry-title a {
	font-weight: bold !important;
}

/** Fix für Startseiten Bild auf Tablets u.Ä. **/
@media only screen and (min-width: 768px) and (max-width: 989px) {
  .av-special-heading { 
    margin-top: 0;
  }
}

/** Fix für Sprachen-Links **/
.menu-item-language a {
  	font-weight: 400 !important;
}

.menu-item-language-current a {
  	font-weight: bold !important;
}

/* Tastaturfokus */
*:focus-visible {
	border: 1px solid black !important;
}

/* Bilder Blog Posts */
#top .fullsize .template-blog .big-preview {
  	padding: 0 0 10px 0;
  	max-width: 400px;
 	margin: 0 auto;
}

/* to top Button */
#scroll-top-link {
  	background: #fff;
  	border: 1px solid #000;
}

#scroll-top-link:hover, #scroll-top-link:hover::before {
  	background: #000;
  	border: 1px solid #000;
  	color: #fff;
}

#scroll-top-link::before {
  	color: #000;
}

h2 {
	font-size: 24px;
}

h1 {
	font-size: 36px;
}

.visuallyhidden {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
  clip-path: inset(0px 0px 99.9% 99.9%);
  overflow: hidden;
  height: 1px;
  width: 1px;
  padding: 0;
  border: 0;
}

.grid-content {
  min-height: 80px !important;
}

/** Archiv Links **/
.sort_by_cat a {
  	padding: 0 4px !important;
}
	
.active_sort {
  	border-bottom: 4px solid !important;
}

/** Spacing mobil **/
@media only screen and (max-width: 767px) {
	.bloglist-simple .entry-content-header {
		padding-top: 0;
	}
	
	#top .fullsize .template-blog .post-title {
		padding-bottom: 0;
	}
	
	.responsive #top #wrap_all .flex_column {
		margin-bottom: 0 !important;
	}
	
	#footer .widget:not(:first-child) {
  		margin: 24px 0 !important;
	}
	
	#top .av-special-heading {
		padding-bottom: 0 !important;
	}
	
	#aktuell {
		margin: 16px 0;
	}
	
	.grid-image.avia-hover-fx {
  		margin-top: 8px;
	}
	
	* {
		hyphens: auto;
	}
	
	.sort_width_container.av-sort-yes {
 		 margin-bottom: 8px;
	}
	
	.wp-image-405 {
		margin-bottom: 16px;
	}
	
	.page-id-133 h1.av-special-heading-tag {
  		margin-bottom: 16px;
	}

	.page-id-133 h2.av-special-heading-tag {
  		margin: 16px 0 !important;
  		padding-top: 8px !important;
	}
	
	.page-id-133 .entry-content-wrapper.clearfix {
  		padding: 0 !important;
	}
}