/**
Theme Name: Mea IT Services Astra
Author: mea IT Services e.U. | Kerstin Greifensteiner
Author URI: https://mea-it.services
Description: Child Theme of Astra WP developed by mea IT Services e.U.
Version: 1.0.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
*/

.ast-container {
    padding: 0 !important;
}

.entry-content {
    overflow-x: hidden;
}

.ast-button-wrap .ast-mobile-menu-trigger-minimal:focus,
.ast-mobile-popup-drawer.active .menu-toggle-close:focus 
{
    border-width: 0px !important;
    outline:none;
}

a:focus {
    outline: none;
}

.biha-list-justify li {
    text-align: justify;
    word-wrap: break-word;
}


/* Menu */
.site-primary-header-wrap .ast-builder-grid-row {
    align-items: end;
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {
    line-height: 50px;
}

.site-header-section {
    align-items: end;
}

#ast-mobile-header .site-header-section {
    align-items: start !important;
}

.main-header-menu .sub-menu .menu-link {
    padding: .5em 1em; 
}

.sub-menu {
    padding: .5em 0;
}

.ast-desktop .ast-primary-header-bar.main-header-bar {
    padding: 0 !important;
    max-width: var(--wp--custom--ast-container-width);
}

.ast-menu-toggle {
    box-shadow: none;
}

.ast-menu-toggle:focus {
    outline: none;
    border-width: 0px !important;
}

#ast-hf-mobile-menu {
    overflow: hidden;
}

/* Buttons */
.wp-block-button__link {
    justify-content: space-between !important;
}

/* Homepage cards */

.biha-card-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #00000080;
    transition: all .2s linear;
    opacity: 0;
}

.biha-card:hover .biha-card-overlay::before {
    opacity: 1;
}

.biha-card-steuern img {
    width: auto;
}

/* About me */
.biha-justify p {
    text-align: justify;
}

/* Quote */
#zitat img {
    width: auto !important;
}

/* Width Management */
.ast-container {
    max-width: 100% !important;
}

/* Gallery */
.spectra-image-gallery__control-dots button,
.spectra-image-gallery__control-arrows 
{
    box-shadow: none !important;
    cursor: pointer;
}

.spectra-image-gallery__control-arrows svg {
    width: 40px;
    height: 40px;
}

.spectra-image-gallery__control-dots button::before {
    font-size: 40px !important;
}

/* Footer */
@media screen and (max-width: 544px) {
    .ast-footer-copyright p {
        text-align:center !important;
    }
}

/* Footer Menu AGB */
.footer-widget-area[data-section="sidebar-widgets-footer-widget-1"].footer-widget-area-inner a,
.menu-agb-menue-container a 
{
    color: var(--ast-global-color-4);
}

.menu-agb-menue-container a:hover {
    color: var(--ast-global-color-2);
}

.menu-agb-menue-container > ul {
	display: flex;
	gap: 22px;
    text-transform: uppercase;
}

@media only screen and (min-width: 976px) {
	/* pc */
	.menu-agb-menue-container > ul {
		font-size: 22px;
	}
}

@media only screen and (max-width: 976px) {
	/* tablet */
	.menu-agb-menue-container > ul {
		gap: 10px;
	}
}

@media only screen and (max-width: 767px) {
	/* phone */
	.menu-agb-menue-container > ul {
		flex-direction: column;
		justify-content: center;
		gap: 0px;
	}
}

/* Logo */
header .custom-logo-link img {
    max-height: 86px;
    width: auto;
}

/* Kontakt */
.biha-contacts-img img {
    width: auto !important;
}

/* Herz */
#herz img {
    object-position: 100% 0%;
}

/* Ferienwohnungen Auflistung */
.biha-apartments-list-item {
	width: 20vw !important;
	height: 20vw;
	min-height: 10vw;
}

.biha-apartments-list-item p {
	text-shadow: #00000040 0px 4px 4px;
	line-height: normal;
}

.biha-apartments-list-item::before {
	transition: opacity 200ms ease-out;
}

.biha-apartments-list-item:hover:before {
	opacity: 1;
}

.biha-apartments-list-item div:first-of-type {
	margin-bottom: -10px;
}

@media only screen and (max-width: 976px) {
	/* tablet */
	.biha-apartments-list-item {
		width: 45vw !important;
		height: 45vw;
	}
	
	.biha-apartments-list {
		flex-wrap: wrap !imoprtant;
	}
}

@media only screen and (min-width: 976px) and (max-width: 1100px) {
	.biha-apartments-list-item div:first-of-type {
		margin-bottom: 0;
	}
}

@media only screen and (max-width: 767px) {
	/* phone */
	.biha-apartments-list-item {
		width: 100% !important;
		height: 25vw;
	}
}

/* Nur der Menüpunkt mit ID 1047: Textfarbe beim Hover/Focus */
#menu-item-1047:hover > a,
#menu-item-1047 > a:hover,
#menu-item-1047 > a:focus,
#menu-item-1047:focus-within > a {
  color: #287454 !important;
}



