/**
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
*/

.single-properties .ast-container:not(.site-primary-header-wrap) {
	padding: 0 !important;
}

/* Immobilienfelder display none at backend*/
.entry-meta {
    display: none;
}

.es-breadcrumbs,
.es-title {
    display: none;
}

.es-listing__title {
    display: block !important;
	line-height: 1.2em !important;
	font-size: 22px !important;
}

.es-listings.es-listings--list .es-listing__title, 
.es-listings.es-listings--list-sm .es-listing__title,
.es-property-section__title 
{
	font-weight: 700 !important;
}

.heading-font,
.es-listing__title,
.es-property-section__title 
{
	font-family: 'Oswald', sans-serif !important;
}

.es-property-section__title {
	font-size: 28px !important;
}

.es-property-section .es-property-fields .es-property-field {
	font-size: 18px !important;
}

.es-property-section .es-property-section__title:after {
	color: var(--ast-global-color-5) !important;
	height: 4px !important;
	top: calc(50% - 4px);
}
	
.es-post-entity .entry-title {
	display: none;
}

.es-listing__title *,
.es-property-section__title
{
  color: var(--ast-global-color-2) !important;
}

/*
.es-listing__content {
    padding: 0px !important;
}
*/

.es-listing {
	box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .1);
	border-top: 4px var(--ast-global-color-1) solid;
}

.es-listing a {
    color: var(--ast-global-color-4);
}

.es-control__hfm {
	display: none !important;
}

.entry-content .es-btn.es-btn--gray, 
.es-btn.es-btn--gray, 
.widget .es-btn.es-btn--gray, 
button.es-btn.es-btn--gray, 
input.es-btn.es-btn--gray
{
	background: #e8eaee !important;
	border-color: #e8eaee !important;
	border-radius: 0 !important;
}

.entry-content .es-btn.es-btn--gray .es-icon, 
.es-btn.es-btn--gray .es-icon, 
.es-btn.es-btn--gray .es-pagination .page-numbers li .page-numbers.page-numbers--preload:before, 
.es-btn.es-btn--gray .es-pagination ul li .page-numbers.page-numbers--preload:before, 
.es-btn.es-btn--gray .es-request-agents .es-agent-item.es-agent-item--active .es-entity__image:before, 
.es-btn.es-btn--gray body .es-field .select2-container .select2-selection .select2-selection__arrow b, 
.es-pagination .page-numbers li .es-btn.es-btn--gray .page-numbers.page-numbers--preload:before, 
.es-pagination ul li .es-btn.es-btn--gray .page-numbers.page-numbers--preload:before, 
.es-request-agents .es-agent-item.es-agent-item--active .es-btn.es-btn--gray .es-entity__image:before, 
.widget .es-btn.es-btn--gray .es-icon, 
body .es-field .select2-container .select2-selection .select2-selection__arrow .es-btn.es-btn--gray b, 
button.es-btn.es-btn--gray .es-icon, 
input.es-btn.es-btn--gray .es-icon
{
	color: var(--ast-global-color-0) !important;
}

.entry-content .es-btn.es-btn--gray.es-btn--active .es-icon, .es-btn.es-btn--gray.es-btn--active .es-icon, .es-btn.es-btn--gray.es-btn--active .es-pagination .page-numbers li .page-numbers.page-numbers--preload:before, .es-btn.es-btn--gray.es-btn--active .es-pagination ul li .page-numbers.page-numbers--preload:before, .es-btn.es-btn--gray.es-btn--active .es-request-agents .es-agent-item.es-agent-item--active .es-entity__image:before, .es-btn.es-btn--gray.es-btn--active body .es-field .select2-container .select2-selection .select2-selection__arrow b, .es-pagination .page-numbers li .es-btn.es-btn--gray.es-btn--active .page-numbers.page-numbers--preload:before, .es-pagination ul li .es-btn.es-btn--gray.es-btn--active .page-numbers.page-numbers--preload:before, .es-request-agents .es-agent-item.es-agent-item--active .es-btn.es-btn--gray.es-btn--active .es-entity__image:before, .widget .es-btn.es-btn--gray.es-btn--active .es-icon, body .es-field .select2-container .select2-selection .select2-selection__arrow .es-btn.es-btn--gray.es-btn--active b, button.es-btn.es-btn--gray.es-btn--active .es-icon, input.es-btn.es-btn--gray.es-btn--active .es-icon
{
	color: #1a315633 !important;
}

.es-icon {
	transition: color 200ms ease-out;
}

.es-price {
	color: var(--ast-global-color-3) !important;
}

.entry-content .es-btn:hover:not([disabled]):not(.es-btn--disabled):not(.es-btn--auth):not(.es-btn--default):not(.es-btn--active), 
.es-btn:hover:not([disabled]):not(.es-btn--disabled):not(.es-btn--auth):not(.es-btn--default):not(.es-btn--active), 
.widget .es-btn:hover:not([disabled]):not(.es-btn--disabled):not(.es-btn--auth):not(.es-btn--default):not(.es-btn--active), 
button.es-btn:hover:not([disabled]):not(.es-btn--disabled):not(.es-btn--auth):not(.es-btn--default):not(.es-btn--active), 
input.es-btn:hover:not([disabled]):not(.es-btn--disabled):not(.es-btn--auth):not(.es-btn--default):not(.es-btn--active) 
{
	border-color: var(--ast-global-color-0) !important;
	opacity: 1 !important;
}

.es-listings.es-listings--grid .es-listing .es-price, 
.es-listings[class*=" es-listings--grid-"] .es-listing .es-price, 
.es-listings[class^="es-listings--grid-"] .es-listing .es-price,
.es-address, 
.es-excerpt,
#footer-widgets .footer-widget .es-listing__terms li a, 
.es-listing__terms li a, 
.widget .es-listing__terms li a,
.es-listing__content__right.es-listing--hide-on-grid .es-price
{
	font-size: 18px !important;
}

.es-single__header-right .es-price,
.property-title
{
	font-size: 38px !important;
}

#footer-widgets .footer-widget .es-listing__terms li a, 
.es-listing__terms li a, 
.widget .es-listing__terms li a 
{
	text-decoration: underline !important;
}

#footer-widgets .footer-widget .es-listing__terms li a:hover, 
.es-listing__terms li a:hover, 
.widget .es-listing__terms li a:hover
{
	color: var(--ast-global-color-1) !important;
}

.es-listing .es-listing__image .es-listing__image__slider .slick-arrow,
.entry-content .es-btn, 
.es-btn, 
.widget .es-btn, 
button.es-btn, 
input.es-btn
{
	border-radius: 0 !important;
}

.entry-header {
	margin-bottom: 0 !important;
}

/* Alle Texte auf Estatik-Immobilien-Detailseiten */
.es-single,
.es-listing {
  font-size: 18px !important;
}

.es-total {
	font-size: 18px !important;
	color: var(--ast-global-color-0) !important;
}

.es-gallery {
	margin-bottom: 0 !important;
}

article.es-post-entity,
.post-navigation
{
	padding-left: 4em !important;
	padding-right: 4em !important;
}

.post-navigation {
	padding-bottom: 2em !important;
}

.single .post-navigation a {
	font-size: 18px !important;	
}

.sticky-buttons.-large {
    --block-size: 80px;
    --size: 40px;
}

/* General */

body, html {
    overflow-x: hidden;
}

.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 {
	border-color: transparent !important;
}

a.uagb-buttons-repeater.wp-block-button__link:focus,
.wp-block-button .wp-block-button__link:focus
{
	color: var(--ast-global-color-4);
    background-color: var(--ast-global-color-0) !important;
}

/*@media only screen and (min-width: 780px) {
	.ast-plain-container.ast-no-sidebar .entry-content > .alignfull, .ast-page-builder-template .ast-no-sidebar .entry-content > .alignfull {
		padding-left: 0.47em;
		padding-right: 0.47em;
	}
}*/

/* Container */

footer .ast-builder-grid-row-container-inner {
    max-width: var(--wp--custom--ast-content-width-size);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.site-primary-header-wrap {
    max-width: var(--wp--custom--ast-content-width-size);
}

/* Menü */

.menu-link {
    line-height: normal;
}

.menu-item:hover >.menu-link {
    font-weight: bold;
}

.sub-menu .menu-item:hover .menu-link {
    font-weight: bold !important;
}

.sub-menu .menu-link {
    text-transform: none;
    padding: .5em 1.5em !important;
}

.sub-menu {
    padding-top: 1em;
    padding-bottom: 1em;
}

.current-menu-parent,
.current-menu-item .menu-text
{
    font-weight: 700;
}

/* Buttons */

.ast-custom-button-link,
.uagb-button__wrapper 
{
    background-color: var(--ast-global-color-5) !important;
    position: relative;
    display: block;
}

.ast-custom-button,
.uagb-button__wrapper .wp-block-button__link {
    background-color: unset !important;
    position: relative;
    z-index: 1;
}

.ast-custom-button-link::after,
.uagb-button__wrapper::after 
{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--ast-global-color-0);
    pointer-events: none;
    transition: height 200ms ease-out;
    z-index: 0;
}

.ast-custom-button-link:hover:after,
.uagb-button__wrapper:hover:after 
{
    height: 100%;
}

/* Above Header */

.ast-above-header-bar .wp-block-uagb-info-box svg {
    transition: all 200ms ease-out;
}

.ast-above-header-bar .wp-block-uagb-info-box:hover svg {
    fill: var(--ast-global-color-1) !important;
    color: var(--ast-global-color-1) !important;
}

.ast-above-header-bar .wp-block-uagb-info-box:hover a,
.ast-above-header-bar .wp-block-uagb-info-box:hover p,
.ast-above-header-bar .wp-block-uagb-info-box:hover mark {
    transition: all 200ms ease-out;
}

.ast-above-header-bar a:hover,
.ast-above-header-bar a:hover mark,
.ast-above-header-bar .wp-block-uagb-info-box:hover a,
.ast-above-header-bar .wp-block-uagb-info-box:hover p,
.ast-above-header-bar .wp-block-uagb-info-box:hover mark
{
    color: var(--ast-global-color-1) !important;
}

/* Footer */

footer a {
    color: white !important;
    text-decoration: underline !important;
}

footer a:hover {
    color: var(--ast-global-color-1) !important;
    text-decoration: underline !important;
}

.ast-footer-copyright {
    padding-left: 2.2em;
}

/*#ub-footer-navigation a {
    text-decoration: none !important;
}*/

/* Header */

#ub-header::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: var(--ast-global-color-0);
    opacity: 0.6;
}

.wp-block-uagb-advanced-heading .uagb-desc-text {
    width: fit-content;
    border-left: solid 4px white;
    border-right: solid 4px white;
    line-height: 1em;
    padding-left: 20px;
    padding-right: 20px;
}

.site-logo-img img {
    /*height: 90px;*/
    max-height: 90px;
}

.ub-leistung-titel-homepage {
	position: absolute;
	z-index: 2;
	pointer-events: none;
	bottom: 0;
	top: 0;
}

.ub-leistung-titel {
	position: absolute;
	z-index: 2;
	pointer-events: none;
}

/* Slider */

.swiper-pagination-bullet {
	width: 15px;
	height: 15px;
}

/* Grauer Streifen Elemente */

#ub-graue-streifen-oben,
#ub-graue-streifen-unten
{
    position: absolute;
    z-index: -1;
}

#ub-graue-streifen-oben {
    top: -15em;
    left: -14em;
}

#ub-graue-streifen-unten {
    bottom: -15em;
    right: -14em;
}

/* Leistungen Übersicht Startseite */

.ub-leistung-titel-container::after {
    content: '';
    width: 100%;
    height: 4px;
    background-color: var(--ast-global-color-0);
    position: absolute;
    bottom: 0;
    transition: height 200ms ease-out;
    pointer-events: none;
}

.ub-leistung-card:hover .ub-leistung-titel-container::after {
    height: 100%;
}

.ub-leistung-titel-container {
    transition: all 200ms ease-out;
}

.ub-leistung-titel-container h3 {
    position: relative;
    z-index: 1;
}

/* Repsonsive Tablet */

@media only screen and (max-width: 976px) {
    #ub-graue-streifen-oben {
        top: -12em;
        left: -9em;
    }

    #ub-graue-streifen-unten {
        bottom: -14em;
        right: -9em;
    }

    #ast-hf-mobile-menu .menu-link {
        width: fit-content;
        height: auto;
    } 

    .menu-item-has-children>.ast-menu-toggle {
        margin-right: 26em !important;
        box-shadow: none;
    }

    #ast-hf-mobile-menu .menu-item {
        padding-left: 4em;
        padding-right: 4em;
        padding-top: 1em;
        padding-bottom: 1em;
        justify-content: center;
        align-items: start;
    }
	
	#ast-hf-mobile-menu {
		padding-bottom: 1em;
	}
}

/* Responsive Mobile Portrait */

@media only screen and (max-width: 767px) {
    #ub-graue-streifen-oben,
    #ub-graue-streifen-unten 
    {
        scale: 1.5;
    }

    #ub-graue-streifen-oben {
        top: -6em;
        left: -4em;
    }

    #ub-graue-streifen-unten {
        bottom: -6em;
        right: -4em;
    }

    #ast-hf-mobile-menu .menu-item {
        padding-left: 2em;
        padding-right: 2em;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        justify-content: center;
        align-items: start;
    }
	
	.ub-leistung-titel {
		bottom: 0;
	}
	
	article.es-post-entity,
	.post-navigation
	{
		padding-left: 2em !important;
		padding-right: 2em !important;
	}
	
	.sticky-buttons.-large {
		--block-size: 60px;
		--size: 30px;
	}
	
	.entry-content .wp-block-uagb-container > *:not( .wp-block-uagb-column ):not( .wp-block-uagb-section ):not( .uagb-container__shape ):not( .uagb-container__video-wrap ):not( .uagb-slider-container ):not( .spectra-container-link-overlay ):not(.spectra-image-gallery__control-lightbox):not(.wp-block-uagb-lottie):not(.uagb-container-inner-blocks-wrap):has(.landing-page-icon).landing-page-icon-wrap {
		width: inherit !important;
	}
	
		.entry-content .wp-block-uagb-container > *:not( .wp-block-uagb-column ):not( .wp-block-uagb-section ):not( .uagb-container__shape ):not( .uagb-container__video-wrap ):not( .uagb-slider-container ):not( .spectra-container-link-overlay ):not(.spectra-image-gallery__control-lightbox):not(.wp-block-uagb-lottie):not(.uagb-container-inner-blocks-wrap):has(.landing-page-icon).landing-page-icon-wrap + div {
		width: inherit !important;
	}
}

/* Responsive Mobile Landscape */

@media screen and (max-width: 767px) and (max-height: 400px) {
    h1 {
        font-size: 30px !important;
    }

    h2 {
        font-size: 24px !important;
    }

    .ub-service-card {
        width: 45% !important;
    }

    .site-logo-img img {
        max-width: 206px !important;
    }

    #ub-header-kontakt {
        flex-direction: row;
    }

    #ub-header, 
	.uagb-slider-container.uagb-block-0c8105ca .swiper-wrapper,
	.swiper-content > .wp-block-uagb-container
	{
        min-height: 300px !important;
    }
    
    .site-below-footer-wrap {
        padding-left: 2em !important;
        padding-right: 2em !important;
        padding-bottom: 0 !important;
    }

    .ast-sticky-main-shrink .ast-sticky-shrunk .site-logo-img img {
        max-height: none;
    }

    #ub-graue-streifen-oben,
    #ub-graue-streifen-unten 
    {
        scale: 1;
    }

    #ub-graue-streifen-oben {
        top: -11em;
        left: -10em;
    }

    #ub-graue-streifen-unten {
        bottom: -11em;
        right: -10em;
    }

    .menu-item-has-children>.ast-menu-toggle {
        margin-right: 2em !important;
    }

    .ub-team-inhalt-container.wp-block-uagb-container.wp-block-uagb-container > *.ub-team-bild:not( .wp-block-uagb-column ):not( .wp-block-uagb-section ):not( .uagb-container__shape ):not( .uagb-container__video-wrap ):not( .uagb-slider-container ):not( .spectra-container-link-overlay ):not(.spectra-image-gallery__control-lightbox):not(.wp-block-uagb-lottie):not(.uagb-container-inner-blocks-wrap).ub-team-bild {
        width: 33% !important;
    }

    .ub-team-inhalt-container.wp-block-uagb-container.wp-block-uagb-container > *.ub-team-text:not( .wp-block-uagb-column ):not( .wp-block-uagb-section ):not( .uagb-container__shape ):not( .uagb-container__video-wrap ):not( .uagb-slider-container ):not( .spectra-container-link-overlay ):not(.spectra-image-gallery__control-lightbox):not(.wp-block-uagb-lottie):not(.uagb-container-inner-blocks-wrap) {
        width: 66% !important;
    }

    .ub-team-inhalt-container {
        flex-wrap: nowrap !important;
        flex-direction: row !important;
    }
	
	.ast-footer-copyright {
		padding-left: 0;
	}
}