/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/

/*edit nav*/
.container {
    width: 100% !important;
    padding: 0px 20px;
}

h2.av-special-heading-tag {
	text-transform: none !important;
	padding-top: 20px !important;
}

h3 {
	line-height: 25px;	
	margin-bottom: 10px !important;
}

h4 {
	color: #ae0917;
	font-size: 20px;	
}

.headerPadding h2.av-special-heading-tag {
	text-transform: none !important;
	padding-top: 70px !important;
	padding-bottom: 40px !important;
}

/* video in post */
#top .avia-video .av-click-to-play-overlay .avia_playpause_icon {
	position: absolute;
	min-height: 100px;
	width: 100%;
	margin: auto;
	background: rgba(0,0,0,0.4);
	border-radius: 3px;
	top: 10%;
	z-index: 50;
	left: 0px;
}

.avia_playpause_icon::before {
	content: '\E897   watch on youtube' !important;
	font-size: 34px !important;
	line-height: 1.5 !important;
}

/*Linie hinter Header entfernen*/
.special-heading-border {
	display: none !important;
}

/* entfernt author in news */
.blog-author.minor-meta {
	display: none !important;
}


/* edit newsletter buttons in mobile view */

@media screen and (max-width: 1235px) and (min-width: 767px) {
	.hg_four_news_buttons.no_margin.av_one_fourth {
		width: 50% !important;
	}
	.hg_four_news_buttons.flex_column_table_cell {
		float: inherit !important;
		display: block !important;
	}
}


@media only screen and (min-width: 989px) {
	#av-layout-grid-1 .flex_column.av_one_full.flex_column_div.first.avia-builder-el-3.avia-builder-el-no-sibling {
		max-width: 645px !important;
	}
}

/* bringt Textblock in die Mitte mit halber Größe*/
@media only screen and (min-width: 989px) {
	.centerText .av-special-heading.av-special-heading-h3, .centerText p {
		max-width: 600px;
		min-width: 400px;
		margin: auto;
	}
}

/*Macht Kreise um Zahlen in about*/
.about {
	margin-bottom: 95px !important;
}
.postid-517 h3 {
	font-weight: 400 !important;
	font-size: 25px !important;
	line-height: 30px !important;
	margin-bottom: 20px !important;
}
.about p {
	float: right;
	margin-left: 10px;
	margin-top: 25px;
	max-width: 500px;
	line-height: 30px;
	font-weight: 400;
	font-size: 25px;
}

.postid-517 .avia-section {
    min-height: 80px !important;
}

.postid-517 .av-special-heading {
	margin: 0 auto !important;
}

.about .header-number {
    width: 80px;
    height: 80px;
    border: 2px solid #ae0917;
    border-radius: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
	float: left;
	font-size: 38px;
	color: #ae0917;
}

@media only screen and (max-width: 1450px) {
	.about p {
		max-width: 350px;
	}
}

/*ENDE: Macht Kreise um Zahlen in about*/


/*färbt aktiven und hover menüpunkt rot*/
#top #header_main > .container .main_menu .av-main-nav > li > a:hover, .header_color .main_menu ul:first-child > li.current_page_item > a, .header_color .main_menu ul:first-child > li.active-parent-item > a, .header_color .main_menu ul:first-child > li.current-menu-item > a {
	color: #ae0917;
}


.header_color .header_bg, .header_color .main_menu ul ul, .header_color .main_menu .menu ul li a, .header_color .pointer_arrow_wrap .pointer_arrow, .header_color .avia_mega_div, .header_color .av-subnav-menu > li ul, .header_color .av-subnav-menu a, .header_color .sub_menu > ul > li > a, .header_color .sub_menu > div > ul > li > a, .header_color .main_menu ul:first-child > li > a, #top .header_color .main_menu .menu ul .current_page_item > a, #top .header_color .main_menu .menu ul .current-menu-item > a, #top .header_color .sub_menu li ul a {
	color: #888;
}
.header_color .main_menu .menu ul li a:hover {
	color: #ae0917 !important;
}
.red h1, .red h2, .red h3 {
	color: #ae0917 !important;
}

/* färbt masonry */
.masonryHome .av-inner-masonry-content.site-background {
    background-color: #af0917 !important;
}

.masonryHome h3 {
    color: white;
}
..masonryHome .av-masonry-entry-content.entry-content {
 color: white;
 font-size: 16px;
}
.tag-about .av-masonry-entry-content.entry-content {
	display: none;
}

/* Abstände anpassen */
.page-id-952 #av_section_2 .template-page.content.av-content-full.alpha.units {
	padding-bottom: 57px !important;
}
/*ENDE: masonry auf Startseite */

/*masonry auf http://be-rural.eu/upcoming-events/ */

.eventPageMasonry img {
	padding: 20px 20px 20px 20px;
}
.ect-list-description {
	padding: 20px !important;
}

/*ENDE: masonry auf http://be-rural.eu/upcoming-events/ */

/* Edit Masonry */
.av-masonry-entry-content.entry-content {
	font-size: 14px;
}

.content {
padding-top:0px;
}

.entry-content p {
  color: #424242 !important;
}


/* weißes Blatt hinter about auf Startseite */
.portfolio_entries-about .av-masonry-entry-title.entry-title:after {
content: "";
display: block;
background: url('/wp-content/uploads/2019/05/white_leaf.png') center center no-repeat;
height: 50px;
background-size: 17% auto;
margin-top: 10px;
}

/* portfolio picture caption */
.caption_bottom .slideshow_caption .slideshow_inner_caption {
 padding: 0 20px;
}

/* captiongröße auf Startseite */
#fullscreen_slider_1 .slideshow_caption {
    bottom: auto;
    top: 50px;
    height: auto;
    width: 50%;
	padding: 0 20px 0 20px;
}
/* captionhintergrundfarbe auf Startseite */
#fullscreen_slider_1 .caption_framed .slideshow_caption .avia-caption-content p, #fullscreen_slider_1 .caption_framed .slideshow_caption .avia-caption-title {
    background: rgba(61, 132, 46, 0.6);
    margin: 0 0 0 0;
    width: 100%;
}

/* captionpadding auf Startseite */
#fullscreen_slider_1 .caption_framed .slideshow_caption h2.avia-caption-title {
    padding: 25px 25px 0 25px;
    text-transform: none;
	letter-spacing: 1px;
	font-weight: 400 !important;
}

/* captionpadding auf Startseite */
#fullscreen_slider_1 .caption_framed .slideshow_caption .avia-caption-content p {
    padding: 0 25px 25px 25px;
	letter-spacing: 1px;
}

/* Startseite Überschriftengröße */
.page-id-952 h2 {
    font-size: 45px !important;
    font-weight: 400 !important;  
}

/* captionhöhe das Gap verschwindet */
.avia-caption-title {
    min-height: 75px;
}


/* captiongröße auf Region */
.fullwidthRegion  .slideshow_caption {
    bottom: 0px;
    top: auto;
    height: auto;
    width: 50%;
	padding: 0 0 0 0;
}
/* captionhintergrundfarbe auf Region */
.fullwidthRegion  .caption_framed .slideshow_caption .avia-caption-content p, .fullwidthRegion .caption_framed .slideshow_caption .avia-caption-title {
    background: rgba(174, 9, 23, 0.8);
    margin: 0 0 0 0;
    width: 100%;
}
.fullwidthRegion  .caption_framed .slideshow_caption .avia-caption-content p {
	padding-left: 2px !important;
}

.fullwidthRegion .caption_framed .slideshow_caption .avia-caption-title {
	padding-right: 3px !important;
}
/* captionpadding auf Region */
.fullwidthRegion  .caption_framed .slideshow_caption .avia-caption-title {
    text-transform: none;
	width: auto;
	float: left;
	min-height: 50px;
	line-height: 40px;
}

/* captionpadding auf Region */
.fullwidthRegion  .caption_framed .slideshow_caption .avia-caption-content p {
	width: auto;
	/*float: right;*/
	min-height: 50px;
	line-height: 40px;
}
/* captionpostition auf Region */
.caption_left .slideshow_caption {
    left: 20px;
}

button:hover {
    cursor: pointer;
}


.justify_text {
text-align: justify;
}


/* Boxen in About */
.white-popup {
  position: relative;
  background: #FFF;
  padding: 20px;
  width: auto;
  max-width: 500px;
  margin: 20px auto;
}

div[class*=" open-popup-link"] {
	border-width: 2px;
	border-color: #ae0917;
	border-style: solid;
	padding: 20px;
	border-radius: 0px;
    cursor:pointer;
	margin: 5px 5px 5px 5px;
	width: 32.94% !important;
		
}

.white-popup h3{
	color: #ae0917 !important;
	font-weight: 400 !important;
	font-size: 25px !important;
}

div[class*=" open-popup-link"] p{
	margin-bottom: 0;
	margin-top: 0;
}

@media only screen and (max-width: 1100px) {
	div[class*=" open-popup-link"] {
		width: 100% !important;
		margin: 5px 5px 5px 5px;
	}
	.threeNextTo  {
		margin-bottom: 5px;
	}
}

.threeNextTo .container {
	max-width: 1310px;
}

.threeNextTo h2 {
	margin-bottom: 0px;
}

 /* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 150%;
  background-color: #fff;
  border-color: #555;
  color: #555;
  text-align: left;
  padding: 10px;
  border-radius: 6px;
  border-width: 1px;
  border-style: solid;
  border-color: #555;
  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  margin-left: -60px;
  margin-bottom: 5px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
div[class*=" open-popup-link"]:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
} 

/* ENDE: Boxen in About */

/* background video abstand */
.page-id-1568 #av_section_6.avia-section-large .content {
	padding-top: 70px !important;
	padding-bottom: 50px !important;
}

/* background Bioeconomy products abstand */
.page-id-1568 #av_section_7 h2 {
	padding-bottom: 20px !important;
}

/* verbindet 2 Textboxen */

.twoTextsParallax {
	margin: 0 0 0 0 !important;
	padding: 20px 50px 20px 20px;
	min-width: 31%;
	letter-spacing: 0.5px;
}

/* ENDE: verbindet 2 Textboxen */

#av-layout-grid-5 {
	padding: 0 75px 0 75px;
}


/* entfernt paddings */
@media only screen and (max-width: 768px) {
	.zeroPadding {
		padding: 0 0 0 0 !important;
	}
}

/* erstellt 2-3 image */
.hideImage {
	width: 0 !important;
	padding: 0 0 0 0 !important;
}

.thirdImage  {
	width: 66.7% !important;
	min-width: 66.7% !important;
}


/* Portfolio grid masonry overlay with title */

.image-overlay-inside:before{
	display: none !important;
}
.grid-image:before {
	content: attr(title);
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1000;
	text-align: center;
	font-size: 24px;
	color: #ffffff !important;
	top: 0%;
	left: 0%;
	background-color: #ae0917;
	padding-top: 2.5em;
}
.grid-image:hover:before {
	opacity: 0;
}

.grid-image:before {
	opacity: 1;
}
.grid-image:before{
	transition: all linear 0.2s;
}
/*cleans up messy borders,deletes title on bottom*/
.grid-content {
	display: none !important;
}
/*erhöht den Abstand zwischen den Masonries*/
.isotope_activated .isotope-item {
	margin-left: 0;
	padding-right: 10px;
	padding-bottom: 10px;
}
/* ENDE: Portfolio grid masonry overlay with title */



/* events/list */
#tribe-bar-filters-wrap {
	padding: 0 10px 0 10px;
}

/* burger menu breaking point */
@media only screen and (max-width: 1100px) {
  nav.main_menu {
    display: block !important;
  }
  #avia-menu .menu-item {
    display: none;
  }
  .av-burger-menu-main.menu-item-avia-special {
    display: block;
  }
}

/*edit evnt page */

.tribe-events-divider {
	display: none !important;
}

.tribe-events-cost {
	display: none !important;
}
.tribe-events-event-categories-label {
	display: none !important;
}
.tribe-events-event-categories {
	display: none !important;
}
.tribe-events-event-cost-label {
	display: none !important;
}
.tribe-events-event-cost {
	display: none !important;
}
.tribe-event-tags-label {
	display: none !important;
}
.tribe-event-tags {
	display: none !important;
}
.tribe-events-cal-links {
	display: none !important;
}

/* upcoming events */

#ect-events-list-content .ect-list-date .ect-date-area {
	color: #ae0917 !important;
}
#ect-events-list-content .ect-list-description .ect-event-content a {
	color: #ae0917 !important;
	float: right;
}
#ect-events-list-content h2.ect-list-title a {
	color: #ae0917 !important;
}
.ect-rate-area {
	display: none !important;
}

/* Entfernt Header von Twitter-Widget */

.sidebar.sidebar_right.alpha.units .widgettitle {
	display: none;
}

/* Footer*/
@media only screen and (min-width: 1100px) {
	#footer .flex_column.av_one_third.el_after_av_one_third.el_before_av_one_third {
		max-width: 75%;
		min-width: 50%;
	}
}
@media only screen and (max-width: 1099px) {
	#footer .flex_column.av_one_third.el_after_av_one_third.el_before_av_one_third {
		width: 100%;
	}
}

#footer .flex_column.av_one_third.el_after_av_one_third.el_before_av_one_third td {
	padding-right: 0;
}

#footer .flex_column.av_one_third.el_after_av_one_third.el_before_av_one_third {
	text-align: right;
	float: right;
}
#custom_html-5, #custom_html-7 {
	display: none !important;
}

#footer .widget {
	margin: 30px 0 0 0;
}
#footer {
	border-top: #f2f2f2;
	border-style: solid;
	border-width: 2px;
	top: 25px;
}
.footer_color tr:nth-child(2n+1) {
	background: #ffffff;
}

.eu_table {
	width:100%;
	vertical-align: middle;
}

/*Bilder in Contact nac links */
.page-id-156 .avia-image-container-inner {
	float: left;
}

/* hide language switcher */
.av-language-switch-item.language_bg, .av-language-switch-item.language_ro, .av-language-switch-item.language_en {
	display: none;
} 


/* Newsletterbox*/
@media only screen and (min-width: 990px) {
	.newsletterFromField {
		padding: 16px 0;
		width: 49.5%;
		display: inline-block;
	}
}
@media only screen and (max-width: 989px) {
	.newsletterFromField {
		width: 100%;
	}
	.newsletterFromField .placeholder{
		display: none;
	}
}

@media only screen and (min-width:480px) and (max-width:767px) {
	.responsive #top .slideshow_caption h2 {
		font-size: 32px !important
	}
}

h2.avia-caption-title {
    font-size: 20px !important;
}
@media only screen and (min-width:989px) {
	.page-id-952 h2 {
		font-size: 32px !important;
	}
}

.green_background {
	background-color: #3d842e;
}
