/**
Theme Name: Mea IT Services Astra
Author: mea IT Services e.U.
Author URI: https://mea-it.services
Description: Child Theme of Astra WP developed by mea IT Services e.U.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mea-it-services-astra
Template: astra
*/

html, body {
	overflow-x: hidden;
}

.site-primary-header-wrap {
    max-width: var(--wp--custom--ast-content-width-size);
}

.ast-button-wrap .menu-toggle:focus,
a:focus,
a.uagb-buttons-repeater.wp-block-button__link:focus
{
	outline: none !important;
}

.ast-button-wrap .menu-toggle:focus-visible,
a:focus-visible,
a.uagb-buttons-repeater.wp-block-button__link:focus-visible,
#ast-scroll-top:focus-visible,
.ast-menu-toggle:focus-visible,
.video-trigger:focus-visible .play-button,
.efbl-see-more-btn:focus-visible,
.efbl-grid-wrapper img.img-responsive:focus-visible,
.owl-dot:focus-visible,
.owl-next:focus-visible,
.owl-prev:focus-visible,
.fancybox-inner button:focus-visible,
.spectra-image-gallery__control-lightbox--close:focus-visible
{
	outline: -webkit-focus-ring-color auto 1px !important;
}

.owl-next:focus-visible,
.owl-prev:focus-visible
{
	outline-offset: 4px;
}

.uagb-buttons__outer-wrap .uagb-buttons-repeater {
	transition: all 0.2s linear !important;
}

h1, h2, h3, h4 {
	-moz-hyphens: auto;
   -o-hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
   hyphens: auto; 
}

#content p a {
	color: var(--ast-global-color-0);
}

/* ---------------------------------------------------- Slider --------------------------------------------------------*/

.ast-container {
    padding-left: 0px;
    padding-right: 0px;
}

#header-slider .uagb-button__link {
	text-align: center;
}

/* Slider dots in correct color*/
.swiper-pagination .swiper-pagination-bullet {
  width: 20px;
  height: 20px;
  background-color: transparent !important;
  border: 3px solid #ffffff;
  border-radius: 50%;
  opacity: 1 !important;
}

/* Slider dot active*/
.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  opacity: 1 !important;
}

/* ----------------------------------------------- Video on Homepage --------------------------------------- */
.video-container {
	position: relative;
	width: 1400px;
	height: 800px;
}

/* Klick-Overlay */
.video-trigger {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  z-index: 3;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  background: rgba(0,0,0,0.25);
}

/* Text */
.video-label {
  font-size: 1.4rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Kreis */
.play-button {
  width: 90px;
  height: 90px;
  border: 3px solid #fff;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
	transition: transform 0.2s linear;
}

/* Play-Dreieck */
.play-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 26px solid #fff;
}

/* Hover */
.video-trigger:hover .play-button {
  transform: scale(1.08);
}
.video-trigger:hover .video-label {
  opacity: 0.9;
}

/* Video */
.video-wrapper {
  position: absolute;
  inset: 0;
  display: none;
  z-index: 1;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
}

.supporter-box .uagb-ifb-title {
  text-shadow: none;
}

/*Download links in font-color black*/
.dlm-downloads li,
.dlm-downloads li a {
  color: #000;
}

/* ----------------------------------------------- Sticky Button ------------------------------------------------- */
.sticky-buttons.-large {
    --block-size: 75px;
    --size: 50px;
}

.sticky-buttons .sb-label {
	font-size: 20px;
	padding: 0px 15px !important;
}

.sticky-buttons .sb-item {
	margin-top: 10px;
}


/* ------------------------------------------------ Galerie ------------------------------------------------------- */

.spectra-image-gallery__media img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

button, .ast-button, .button, input[type="button"], input[type="reset"], input[type="submit"], a:where(.wp-block-button__link) {
	box-shadow: none !important;
}

/* -------------------------------------------- Scroll to top ----------------------------------------------------- */

#ast-scroll-top {
	font-size: 24px !important;
    right: 0.9em;
	display: flex;
    align-items: center;
    justify-content: center;
}

/* -------------------------------------------------- Menu -------------------------------------------------------- */

.main-header-menu > .menu-item,
.ast-desktop .main-header-menu > .menu-item.current-menu-item,
.ast-desktop .main-header-menu > .menu-item.current-menu-ancestor {
	border: 3px solid transparent !important;
	box-sizing: border-box;
	font-weight: 700;
	transition: all 200ms ease-out;
	white-space: nowrap;
}

.ast-desktop .main-header-menu > .menu-item:hover,
.ast-desktop .main-header-menu > .menu-item.current-menu-item,
.ast-desktop .main-header-menu > .menu-item.current-menu-ancestor {
	border-color: #ffffff !important;
}

.main-header-menu > .menu-item {
	border-radius: 15px;
}

.main-header-menu > .menu-item > .menu-link {
	border-radius: 12px;
}

.ast-desktop .main-header-menu {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {
    line-height: 60px;
}

.main-header-menu .menu-item {
	margin-left: 4px;
	margin-right: 4px;
	padding-left: 0 !important;
	padding-right: 0 !important;
	font-size: 18px;
}

.main-header-menu .sub-menu .menu-item {
	margin-left: 0;
	margin-right: 0;
}

.main-header-menu .menu-link::before {
  content: attr(data-label);
  grid-area: 1 / 1;
  font-weight: 700;
  visibility: hidden;
  white-space: nowrap;
  height: 0;
}

#ast-desktop-header .main-header-menu > .menu-item > .sub-menu, 
#ast-desktop-header .main-header-menu > .menu-item > .astra-full-megamenu-wrapper {
	padding-top: 45px;
  	border-top: none;
	background-color: transparent;
}

.sub-menu .menu-link {
	border-radius: 0px;
}

.ast-builder-menu-1 .main-header-menu > .menu-item > .sub-menu > li {
	background-color: var(--ast-global-color-4);
}

.main-header-menu .sub-menu .menu-item {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#ast-desktop-header {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.ast-mobile-popup-drawer .ast-mobile-popup-header {
	min-height: unset !important;
}

/* ------------------------------------------- Toggle Menu --------------------------------------------- */

#ast-mobile-header .menu-toggle {
	background-color: var(--ast-global-color-0) !important;
}

.ast-menu-toggle {
	box-shadow: none !important;
}

#ast-hf-mobile-menu .sub-menu .menu-link {
	border-radius: 12px;
}

#menu-toggle-close .ast-mobile-svg {
	width: 30px;
	height: 30px;
	color: white;
}

#menu-toggle-close {
	background-color: var(--ast-global-color-0);
	margin-top: 1.8em;
    margin-right: 1em;
}

#menu-toggle-close .ast-svg-iconset {
	height: 30px;
}

#ast-mobile-popup .sub-menu .menu-link,
.main-header-menu .sub-menu .menu-link
{
	white-space: normal;
    word-break: break-word;
    hyphens: auto;
    overflow-wrap: break-word;
    line-height: normal;
    display: flex;
    padding-top: 1em;
    padding-bottom: 1em;
}

/* --------------------------------------------- Footer ------------------------------------------------ */

.underline_line_footer a {
    text-decoration: underline !important;
}

.underline_line_footer a:hover {
    font-weight: bold;
}

/* ----------------------------------------------- Logo ------------------------------------------------- */

.ast-logo-title-inline .site-logo-img {
  padding-right: 0 !important;
}

/* ------------------------------------------- Breadcrumbs ---------------------------------------------- */

.ast-header-breadcrumb {
  margin-bottom: -3em;
  background: transparent;
  border-bottom-width: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
}

.ast-breadcrumbs {
	padding-left: 2em;
    padding-right: 2em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    color: #fff;
    background-color: var(--ast-global-color-0);
    position: absolute;
    top: 1em;
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
}

.ast-breadcrumbs .trail-items {
	font-size: 15px;
}

.ast-breadcrumbs a:hover {
	text-decoration: underline;
	font-weight: bold;
}

/* ----------------------------------------------- Social Feed ----------------------------------------- */

.owl-theme .owl-dots .owl-dot {
	box-shadow: none;
}

.owl-theme .owl-dots .owl-dot.active span, 
.owl-theme .owl-dots .owl-dot:hover span {
	background: var(--ast-global-color-2);
}

.efbl_feeds_carousel .owl-nav .owl-prev {
	left: -50px !important;
}

.efbl_feeds_carousel .owl-nav .owl-next {
	right: -50px !important;
}

.efbl_feeds_carousel .owl-nav .owl-next,
.efbl_feeds_carousel .owl-nav .owl-prev
{
	color: var(--ast-global-color-0) !important;
	background: white !important;
	border: 3px solid var(--ast-global-color-0) !important;
}

.efbl_feeds_carousel .owl-nav .owl-next:hover,
.efbl_feeds_carousel .owl-nav .owl-prev:hover
{
	color: white !important;
	background-color: var(--ast-global-color-0) !important;
}

.eflb-hash,
.efbl-action-btn a,
.efbl-commnets a
{
	color: var(--ast-global-color-0) !important;
}

/* -------------------------------------------- Formular ------------------------------------------------------------- */

.nf-field input,
.nf-field textarea
{
	box-shadow: none;
	border: 3px solid var(--ast-global-color-0);
}

.nf-field a {
	color: var(--ast-global-color-0);
}

/* --------------------------------------------------- Responsive Design --------------------------------------------- */

@media screen and (min-width: 1318px) and (max-width: 1400px) {
	.main-header-menu ul:not(.sub-menu) .menu-item {
		margin-left: 3px !important;
		margin-right: 3px !important;
		font-size: 16px;
	}
}

@media screen and (min-width: 1181px) and (max-width: 1317px) {
	.main-header-menu .menu-item {
		margin-left: 2px !important;
		margin-right: 2px !important;
		font-size: 15px;
	}
}


/* Repsonsive Tablet */

@media only screen and (max-width: 976px) {
	
	.main-header-menu .menu-item {
		font-size: 20px;
	}

}

@media only screen and (max-width: 1180px) {
	/* --- Breadcrumbs --- */
	.ast-header-breadcrumb {
		position: absolute;
    	top: 15vh;
		max-width: 80vw;
		border-bottom: 0 !important;
	}
	
	/* --- Tabs --- */
	.uagb-tabs__wrap.uagb-tabs__vstyle6-tablet ul.uagb-tabs__panel, 
	.uagb-tabs__wrap.uagb-tabs__vstyle7-tablet ul.uagb-tabs__panel, 
	.uagb-tabs__wrap.uagb-tabs__vstyle9-tablet ul.uagb-tabs__panel, 
	.uagb-tabs__wrap.uagb-tabs__vstyle10-tablet ul.uagb-tabs__panel {
		min-width: unset !important;
		max-width: unset !important;
	}
	
	.uagb-tabs__wrap .uagb-tab {
		width: calc(100% - 10px);
    	text-align: center;
	}
	
	.uagb-tabs__wrap .uagb-tab a {
		width: 100%;
	}
}

/* Responsive Mobile Portrait */

@media only screen and (max-width: 767px) {
    .uagb-ifb-button-wrapper .wp-block-button__link {
		font-weight: 900 !important;
		font-size: 0.6em;
	}
	
	.efbl_feeds_carousel .owl-nav .owl-next,
	.efbl_feeds_carousel .owl-nav .owl-prev
	{
		display: none !important;
	}
	
	/* --- Breadcrumbs --- */
	.ast-header-breadcrumb {
		position: absolute;
    	top: 20vh;
		max-width: 80vw;
		border-bottom: 0 !important;
	}
	
}

/* Responsive Mobile Landscape */

@media screen and (max-width: 767px) and (max-height: 400px) {
	
	/* --- Header --- */
	.entry-content > .wp-block-uagb-container > .wp-block-cover > img,
	.entry-content > .wp-block-uagb-container > .wp-block-cover > .wp-block-cover__background {
		max-height: 130vh;
	}
	
	.entry-content > .wp-block-uagb-container:has(.wp-block-cover) {
		max-height: 100vh;
	}
	
	.entry-content > .wp-block-uagb-container > .wp-block-cover h1 {
		margin-top: 3em;
	}
	
	.ast-breadcrumbs {
		top: 3.5em;
	}
	
	#ast-mobile-header .ast-primary-header-bar {
		padding-right: 6em !important;
	}

}