/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* CTA BUTTON */
.custom-button {padding:70px 0;border:none;}

/* Header */

.background-header {
	background-position: 50% 0;
}

/* Footer */ 

.main-footer p a{
	color: #ffffff
}

/* Aktuelles Post Cards */

.recent-posts-content {
	padding: 20px;
	background-color: #ffffff;
}

.recent-posts-content h4{
	margin-top: 0 !important;
}

/* Veröffentlichungen */

.publications-toggles {
	max-width: 890px;
}

#wrapper .fusion-recent-posts .fusion-columns{
  display: flex;
  flex-wrap: wrap;
  row-gap: 30px;
}

#wrapper .fusion-recent-posts .fusion-column{
  float: unset;
  display: flex;
  flex-flow: column nowrap;
}

#wrapper .fusion-recent-posts .fusion-column .recent-posts-content{
  flex: 1;
}

/* News */ 

.single-post #main {
	max-width: 1060px;
	margin: 0 auto;
}

.fusion-image-carousel{
		margin-bottom: 0;
	}

/* Accessibility */ 

#main .post-type-list li a:hover{
	background: #28849d !important;
}
.fusion-flexslider a:focus-visible img,
.fusion-image-wrapper a:focus-visible img{
	outline:#000 solid 2px !important;
	outline-offset: -2px !important;
	border-radius: 10px;
}

body.fusion-body .fusion-tb-header .simplelang-mobile{
	display:none;
}

body.fusion-body .fusion-tb-header .simplelang a,
body.fusion-body .fusion-tb-header .fusion-main-menu-search a{
	height: 61px;
	padding: 0 15px;
}

body.fusion-body .fusion-tb-header .fusion-main-menu-search,
body.fusion-body .fusion-tb-header .simplelang{
	padding: 0 !important;
}

body.fusion-body .fusion-tb-header .simplelang a{
	position: relative;
	z-index: 11;
}

body.fusion-body .fusion-tb-header .simplelang a .fusion-megamenu-icon{
	color: #4c5166;
	padding: 0;
}

body.fusion-body .fusion-tb-header .simplelang a .menu-text {
    position: absolute;
    top: calc(100% - 10px);
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    font-size: 14px;
    background: #000;
    white-space: nowrap;
    transition: .3s all;
    opacity: 0;
    visibility: hidden;
}

body.fusion-body .fusion-tb-header .simplelang a .menu-text:after {
	content: '';
	display: block;
	position: absolute;
	bottom: 100%;
    left: 50%;
    transform: rotate(180deg) translateX(50%);
	width: 0px;
    height: 0px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #28849d;
}

#wrapper .fusion-header-wrapper .fusion-tb-header .fusion-menu li.simplelang{
	z-index: 4;
}

body.fusion-body .fusion-tb-header .simplelang a:focus .menu-text,
body.fusion-body .fusion-tb-header .simplelang a:hover .menu-text {
	opacity: 1;
    visibility: visible;
	background: #28849d;
	color: white;
}

/* Suche */ 

.search-results #wrapper .fusion-post-content-wrapper a:hover{
	color: #28849dcf;
}



/* Tablet */

@media screen and (max-width: 1023px) {

/* News */

	#wrapper .fusion-recent-posts .fusion-column{
		width: 100% !important;
		max-width: 100%;
	}

	#wrapper .fusion-recent-posts .fusion-columns{
		flex-flow: column nowrap;
	}

/* Header */
	
	.background-header{
		background-position-x: 70%;
	}
}

/* Phone */

@media screen and (max-width: 767px) {

/* Image-text-overlay */

	.image-text-overlay p{
		font-size: 20px;
	}

/* Header */

	.background-header{
		background-position-x: 70%;
		background-size: 200%;
		background-position-y: 60%;
	}
	
	/* Accessiblity */ 
	
	#wrapper .fusion-tb-header .simplelang {
		display:none; 
	}
	
	body.fusion-body .fusion-tb-header .simplelang-mobile{
		display: block;
	}
	
	/* Menu Contact Button */ 

	#wrapper .menu-main-navigation .fusion-button{
	color: var(--button_accent_color);
    background: var(--button_gradient_top_color);
    border-color: var(--button_border_color);
    padding: 10px 30px !important;
	}
}