.brick-55 .content-switcher-image {
    min-height: 500px;
}

.header-img {
    width: 100%;
}

.content-body table td {
    font-family:Tahoma,Geneva,sans-serif;
}

.page-header-text-title, 
.page-header-text-wrapper-short {
    background-color: transparent !important;
}

.page-1 .headerSuffix .headerSuffix-container:first-child {
    padding: 0;
}

.page-1 .main-content  {
    display:none;
}

.page-1 .content-switcher-image {
    background-size: contain !important;
}

.qui-control-teamPage {
   padding-top:3rem;
}


.page-header-logo img {
    margin-top: 5px;
    max-height: 40px;
}

.page-header > picture {
    min-width: 100%;
}

.brick-7 {
     padding-left: 80px !important;
}

@media screen and (max-width: 767px) {
    .brick-7 {
         padding-left: 20px !important;
    }
}

.page-1 .tpl-businessPro-row h2 {
    text-align: center;
}

.page-1 .team-page-entry-header h2 {
    text-align: left;
}

.page-1 .brick-odd-suffix {
    background: #fff;
}

@media screen and (max-width: 767px) {
    .page-1 .quiqqer-bricks-promoslider-wallpaper2Content-left h1 {
        font-size: 32px;
    }

    .page-1 .quiqqer-bricks-promoslider-wallpaper2Content-left .button-blue {
        font-size: 16px;
    }
}

.page-multible-right .tpl-businessPro-row {
    padding-top: 1rem;
    padding-bottom: 0rem;
}

.page-multible-right ul {
    margin: 0;
}

[data-brickid="18"] {
    margin: 40px auto 0;
}

th {
    padding: 6px;
}

.content-body + .content-body {
    padding-top: 0;
}

.quiqqer-formbuilder-text {
    margin-bottom: 20px;
}

.qui-control-childrenlist-4er-entry-content-headerLink, 
.qui-control-childrenlist-4er-entry-content-headerLink:hover {
    color: inherit;
}

.brick-33 .image {
    display: block;
    text-align: center;
    width: 100%;
}

.brick-33 .quiqqer-icon {
    font-size: 50px;
}

.brick-33 .quiqqer-icon {
    font-size: 50px;
}

.brick-33 p {
    text-align: center;
}

.brick-33 footer {
    text-align: center;
    width: 100%;
}

.brick-35 .qui-control-childrenlist-3er-entry-content {
    display: none;
}

.brick-33-wrapper {
    background-image: url('/media/cache/Mainproject/Classic/bricks/background-car.png') !important;
    background-repeat: no-repeat !important;
    background-position: 800px top !important;
}

@media screen and (max-width: 767px) {
    .brick-33 article {
        margin-bottom: 40px;
    }
}

.brick-9 {
    margin-bottom: 2rem;
}

.brick-9 h1 {
    padding: 2rem 0;
    font-size: 1.75rem;
}

.brick-9 .control-header {
    padding-bottom: 0;   
}

.brick-9 .simpleGoogleMap {
    min-height: 400px;
}

.content-switcher-image {
    background-size: contain !important;
}

/* MSF: restore readable BusinessPro menu colors after the v2 update. */
.header-bar .quiqqer-menu-megaMenu {
    height: 100%;
    --msf-menu-background: #e5edf8;
    --msf-menu-background-hover: #d4e2f3;
    --msf-menu-foreground: #2f4565;
    --msf-menu-border: #bbcee7;
    --msf-menu-border-hover: #8da9ce;

    --qui-megaMenu-link-color: var(--msf-menu-foreground);
    --qui-megaMenu-link-color--hover: var(--msf-menu-foreground);
    --qui-megaMenu-link-bgColor--hover: var(--msf-menu-background);
    --qui-megaMenu-link-borderRadius: 0;
    --qui-megaMenu-submenu-bgColor: var(--msf-menu-background);
    --qui-megaMenu-submenu-link-color: var(--msf-menu-foreground);
    --qui-megaMenu-submenu-link-color--hover: var(--msf-menu-foreground);
    --qui-megaMenu-submenu-link-bgColor--hover: var(--msf-menu-background-hover);
    --qui-megaMenu-text-color: var(--msf-menu-foreground);
    --qui-megaMenu-text-color--muted: var(--msf-menu-foreground);
}

.header-bar .quiqqer-menu-megaMenu-list-item:is(:hover, :focus-within) {
    background: var(--msf-menu-background);
}

.header-bar .quiqqer-menu-megaMenu-children-image {
    box-sizing: border-box;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    grid-auto-rows: 1fr;
    gap: 16px;
    padding: 16px;
}

.header-bar .quiqqer-menu-megaMenu-children-image-entry {
    padding: 0;
}

.header-bar .quiqqer-menu-megaMenu-children-image-entry > a {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 160px;
    height: 100%;
    padding: 24px 16px;
    border: 1px solid var(--msf-menu-border);
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    line-height: 1.4;
    transition: background-color 150ms ease, border-color 150ms ease;
}

.header-bar .quiqqer-menu-megaMenu-children-image-entry > a:is(:hover, :focus-visible) {
    background: var(--msf-menu-background-hover);
    border-color: var(--msf-menu-border-hover);
}

.header-bar .quiqqer-menu-megaMenu-children-image-entry-image {
    border: 0;
    height: auto;
    min-height: 64px;
    width: 100%;
}

.header-bar .quiqqer-menu-megaMenu-children-image-entry-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.header-bar .quiqqer-menu-megaMenu a:focus-visible {
    outline: 2px solid var(--msf-menu-foreground);
    outline-offset: -2px;
}

/* Keep the top-level hover inside the configured navigation height. */
.header-bar .quiqqer-menu-megaMenu__wrapperDesktop,
.header-bar .quiqqer-menu-megaMenu-list {
    height: 100%;
}

.header-bar .quiqqer-menu-megaMenu-list-item-inner {
    box-sizing: border-box;
    height: 100%;
    align-items: center;
    line-height: normal;
    padding-top: 0;
    padding-bottom: 0;
}

/* MSF: center the start-page header content vertically on desktop. */
@media screen and (min-width: 769px) {
    .page-1 .brick-1 .quiqqer-bricks-promoslider-wallpaper-container > ul > li > .grid-container {
        display: flex;
        align-items: center;
        min-height: 100%;
    }
}

/* Pastel menu surfaces use dark text for clear contrast. */
.header-bar .quiqqer-menu-megaMenu .quiqqer-menu-megaMenu-list-item-menu a,
.header-bar .quiqqer-menu-megaMenu-list-item:is(:hover, :focus-within) > .quiqqer-menu-megaMenu-list-item-inner {
    color: var(--msf-menu-foreground);
}
