@import url('variables/kgv-westerbusch-general.css');
@import url('controls.css');
@import url('startpage.css');
@import url('utils.css');

:root {
    --kgv-bg--light: #f7f9f4;
}

.template-breadcrumb {
    border: none !important;
}

.page-header {
    border-radius: 2rem;
    margin: 0 1rem 1rem;
    max-width: var(--kgv-page-max-width);
    margin-inline: auto;
    overflow: hidden;
}

/************/
/* Page nav */
/************/
/* nav */
.quiqqer-menu-megaMenu-list .quiqqer-menu-megaMenu-list-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.quiqqer-menu-megaMenu-list-item-inner {
    line-height: 2 !important;
}

.quiqqer-menu-megaMenu-list-item:hover {
    background: none !important;
}

.quiqqer-menu-megaMenu-list a {
    border-radius: 0.75rem;
    transition: all 0.1s ease-in-out;
}

.quiqqer-menu-megaMenu-list-item:hover a {
    background: #e9f0dd;
}

.header-bar-social .fa {
    border-radius: 0.75rem;
}

.header-bar-social .fa:hover {
    background: #e9f0dd !important;
}

    /*.quiqqer-menu-megaMenu-list a {*/
/*    background-position: bottom;*/
/*    background-repeat: no-repeat;*/
/*    background-size: calc(100% - 30px) auto;*/
/*}*/

/*.quiqqer-menu-megaMenu-list a:hover {*/
/*    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1213 73"><path d="M1212.41 5.51c3.05 12.87-22.36 11.93-30.26 15.68-94.32 20.51-269.09 32.42-365.48 37.51-77.91 3.82-155.66 9.93-233.67 11.67-57.49 2.56-115.05-.19-172.57 1.58-121.28.91-243.17 1.88-363.69-13.33-12.51-2.64-25.8-2.92-37.77-7.45-30.66-21.42 26.02-21.53 38.52-19.26 359.95 29.05 364.68 27.36 638.24 17.85 121-3.78 241.22-19.21 426.76-41.46 4.72-.65 9.18 3.56 8.45 8.36a941.74 941.74 0 0 0 54.29-9.21c9.33-2.33 18.7-4.56 27.95-7.19a7.59 7.59 0 0 1 9.23 5.24Z" fill="%23668529"></path></svg>');*/
/*    background-position: bottom;*/
/*    background-repeat: no-repeat;*/
/*    background-size: calc(100% - 30px) auto;*/
/*}*/

/* submenu */
.quiqqer-menu-megaMenu-children-simple {
    margin-block: 1rem;
}
.quiqqer-menu-megaMenu-children-simple-entry a {
    margin-inline: 1rem;
    padding: 8px 16px !important;
    border-radius: 0.75rem;
    transition: all 0.1s ease-in-out;
}

.quiqqer-menu-megaMenu-children-simple-entry a:hover {
    background: #e9f0dd;
}

/***************/
/* sidebar nav */
/***************/
.kgv-sidebar-nav .quiqqer-navigation-level-1 > li {
    border-bottom: none;
    margin: 0;
}

.kgv-sidebar-nav .quiqqer-navigation-entry {
    padding-block: 0.125rem;
}


/*************************/
/* sidebar brick styling */
/*************************/
.kgv-sidebar-brick {
    background: var(--kgv-bg--light);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
}

.kgv-sidebar-brick .control-content {
    margin-bottom: 1rem;
}



/***************/
/* Page footer */
/***************/
.page-footer {
    margin-top: 100px;
    position: relative;
}

.page-footer::before {
    content: '';
    width: 100%;
    height: 100px;
    left: 0;
    top: -90px;
    position: absolute;
    background-image: url('/media/cache/kgv/assets/kgv-silhouette-grass.svg');
    background-size: auto 100px;
}

.page-footer::after {
    content: '';
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    background-image: linear-gradient(to top, #00000052, transparent);
    z-index: 0;
}

.page-footer :is(.page-footer-container, .page-footer-copyright){
    z-index: 1;
    position: relative;
}

.page-footer a:not(:hover, :focus) {
    color: #fff;
}

/**************************/
/* CTA Box (freie Gärten) */
/**************************/
.kgv-ctaBox .wallpaperText  {
    border-radius: var(--kgv-borderRadius);
}

/**************/
/* Page: News */
/**************/
/* Den Baustein nur auf Unterseiten anzeigen */
.kgv-page-news .brick-container__kgv-sidebar-brick--news {
    display: none !important;
}

/************/
/* messages */
/************/
.content-message-error, .content-message-attention, .content-message-success, .content-message-information {
    border-radius: var(--kgv-borderRadius--sm);
    float: none !important;
    padding: 1rem 1rem 1rem 4rem;
}

.content-message-error.content-message-error:before,
.content-message-attention.content-message-attention:before,
.content-message-success.content-message-success:before,
.content-message-information.content-message-information:before {
    left: 1rem;
    top: 1rem;
    width: 3rem;
}

.content-message-information.content-message-information:before {
    content: "\f0e5";
}

/***********************/
/* Verein: unterseiten */
/***********************/
.kgv-subpages {
    max-width: var(--kgv-page-max-width);
    border-radius: 2rem;
    overflow: hidden;
    margin-inline: auto;
}

.kgv-subpages .qui-control-childrenlist-gallery.control-template {
    margin-block: 0;
}

.kgv-subpages .qui-control-childrenlist-gallery-entry-content {
    color: #fff;
    background: #7fa14e;
    padding: 2rem;
}

.kgv-subpages .qui-control-childrenlist-gallery-entry-content h2 {
    font-size: var(--qui-fs-lg);
}

.kgv-subpages .qui-control-childrenlist-gallery-entry-content h2 a {
    color: #fff;
}

.kgv-subpages .qui-control-childrenlist-gallery-entry-content-short {
    line-height: 1.5;
}

.kgv-subpages .qui-control-childrenlist-gallery-entry-content-footer a {
    background: #fafafa;
    border-color: #fafafa;
    color: #393f46;

    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: var(--_qui-btn-borderWidth) solid transparent;
    padding: .5em 1.25em;
    font-size: 1em;
    line-height: 1.5;
    border-radius: var(--_qui-btn-borderRadius);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, opacity .15s ease-in-out;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--_qui-font-family, inherit), sans-serif;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    float: none;
}

.kgv-subpages .qui-control-childrenlist-gallery-entry-content-footer a:is(:hover, :focus) {
    background: #eaeaea;
    color: #393f46;
    outline: none;
}

/* hover effect */
.qui-control-childrenlist-gallery.control-template:hover .qui-control-childrenlist-gallery-entry:not(:hover) {
    filter: brightness(.4);
}

.qui-control-childrenlist-gallery .qui-control-childrenlist-gallery-entry {
    transition: 0.3s ease;
}