html {
    scroll-behavior:smooth
}

body.page-bg-none {
    padding-top: 139px;
}

body {
    background-repeat:no-repeat;
    background-attachment: fixed;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

h1, h2, h3, h4 {
    padding-top: 1em;
    font-family: 'Noto Serif', serif;
}


h2 {
    text-align: center;
    font-size: 1.5em;
    font-style: normal;
    font-weight: 400;
    letter-spacing: .16em;
    line-height: 1.29em;
    padding: 0;
}

.qm-serif, .qm-process-topic, .qm-lead, .qm-lead-small {
    font-family: 'Noto Serif', serif;
}

.qm-process-topic {
    border-width: 2px;
    border-style: solid;
    padding: 5px 10px;
    font-weight: 500;
    transition: background-color 1s ease-in-out;
}

h1 {
    text-align: center;
    font-size: 2.8rem;
    padding-top: 0.5em;
    padding-bottom: 0.7em;
}

.qm-text h1 {
    padding-top: 70px;
    padding-bottom: 70px;
}

h2 {
    font-size: 1.7rem;
}

h3 {
    font-size: 1.1rem;
}

@keyframes fillOpacity {
    0% {
      opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
p, h1, h2, h3, h4, hr, li, .qm-animation-intro, img {
    animation: fillOpacity 2s forwards;
}

p {
    margin: 0;
    padding-bottom: 1em;
    font-weight: 300;
    font-size: 1.0rem;
}

li {
    font-weight: 300;
}

hr {
    padding-bottom: 1rem;
}

a:hover, a:focus {
    background: none;
    box-shadow: none;
}

.container-fluid {
    position: relative;
}

.btn-link:hover, .btn-link:active, .btn-link:focus {
    box-shadow: none;
}

.qm-default-teaser a:hover, .qm-default-teaser a:focus {
    text-decoration: none;
}

.cursor-pointer:hover{
    cursor: pointer;
}

.qm-img-responsive {
    height: 100%;
    background-position: center center;
}

.qm-text .qm-teaser {
    font-size: 1.5rem;
    text-align: center;
}

.qm-text p {
    text-align: justify;
}

.qm-imgteaser {
    position: relative;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

.qm-imgteaser .qm-imgteaser-text {
    position: relative;
    z-index: 1;
    top: 5rem;
    left: 15px;
    display: inline-block;
    max-width: 400px;
    padding: 15px;
}

/* TODO: JK - replace qm-teaser-link with link underline? */
.qm-teaser-link {
    padding: 0.5rem 1.5rem;
    display: inline-block;
    margin: auto;
    font-weight: 600;
    font-size: 1.1rem;
}

.qm-teaser-link:hover {
    cursor: pointer;
    text-decoration: none;
}

.qm-teaser-link:after {
    margin-left: auto !important;
    margin-right: auto !important;
    content: '';
    display: block;
    width: 1.625rem;
    margin: 0.3125rem 0 0 0;
    height: 1px;
    box-sizing: inherit;
}

.decoration-none:hover {
    cursor: pointer;
    text-decoration: none !important;
}


.qm-fullimage {
    background-repeat:no-repeat;
    background-attachment: fixed;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.qm-parallax-image {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-transition: background-image 2s ease-in-out;
    transition: background-image 2s ease-in-out;
}

.bg-parallax {
    min-height: 20vh;
}
@supports not (-webkit-touch-callout: none) {
    .bg-parallax {
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-position: center center;

        -webkit-transition: background-image 2s ease-in-out;
        -moz-transition: background-image 2s ease-in-out;
        -o-transition: background-image 2s ease-in-out;
        transition: background-image 2s ease-in-out;
    }
}
@supports (-webkit-touch-callout: none) {
    .bg-parallax {
        background-attachment: scroll;
        background-repeat: no-repeat;
        background-position: center center !important;
        background-size: cover !important;

        -webkit-transition: background-image 2s ease-in-out;
        -moz-transition: background-image 2s ease-in-out;
        -o-transition: background-image 2s ease-in-out;
        transition: background-image 2s ease-in-out;
    }
}



.qm-text, .qm-footer {
    position: relative;
    z-index: 10;
}

.qm-parallax-container {
    position: relative;
    overflow: hidden;
}

.qm-parallax-container .qm-parallax {
    top: -4%;
    bottom: -4%;
    min-width: 105%;
    min-height: 105%;
    left: 50%;
    transform: translateX(-50%);
    position: fixed;
}

.qm-parallax-container .qm-parallax img, .qm-parallax-container .qm-parallax video {
    min-width: 100%;
    min-height: 100%;
}


@keyframes reveal {

    50% {
        opacity: 0.8;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}


@keyframes bg-reveal {
to {
    width: 100%;
}
}

@keyframes img-reveal-lr {

    0% {
        left: 0;
    }

    100% {
        left: 100%;
    }
}

@keyframes img-reveal-rl {

    0% {
        right: 50%;
    }

    100% {
        right: 100%;
    }
}

.animated-element {
max-width: 100vw;
}

.animated-element.lr {
opacity: 0;
transform: translateX(-10%);
}

.animated-element.rl {
opacity: 0;
transform: translateX(10%);
}

.animated-element.reveal {
animation: reveal 1s forwards;
}

.img-animated-element.img-lr,
.img-animated-element.img-rl {
    position: relative;
}

.absolute-one-color,
.absolute-bg {
    position: absolute;
    top: 0;
}

.absolute-one-color {
    z-index: 9;
}

.absolute-bg {
    z-index: 8;
}

.img-animated-element.img-lr .absolute-one-color.img-reveal-lr {
    animation: img-reveal-lr 1s forwards;
}

.img-animated-element.img-rl .absolute-one-color.img-reveal-rl {
    animation: img-reveal-rl 1s forwards;
}

.z-10 {
z-index: 10;
}

.overflow-hidden {
overflow: hidden;
}



.qm-hover-pointer:hover {
    cursor: pointer;
}

.qm-default-card {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: min-content min-content auto 80px;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-template-areas:
        "image"
        "top"
        "text"
        "bottom";
}

.qm-default-card .image {
    grid-area: image;
}

.qm-default-card .top {
    grid-area: top;
    padding-top: 25px;
    padding: 0px 25px;
}

.qm-default-card .bottom {
    grid-area: bottom;
    padding: 0px 25px;
}

.qm-default-card .text { 
    grid-area: text;
    padding: 0px 25px;
}

.qm-process-placeholder {
    height: 70px;
    padding: 0px 25px;
    padding-bottom: 25px;
}

.qm-process-container {
    padding-top: 70px;
    padding-bottom: 70px;
    padding-right: 50px;
    padding-left: 50px;
    border: 1px solid #E0E0E0;
}

.qm-process p {
    font-size: 1rem;
}

.placeholder {
    height: 70px;
}

.qm-round {
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
}


.qm-process-image-left-overlap {
    margin-right: -50px;
}

.qm-process-image-right-overlap {
    margin-left: -50px;
}

.qm-process-container-left-overlap {
    margin-right: -50px;
    margin-top: 70px;
    margin-bottom: -70px;
    padding-left: 25px;
    padding-right: 25px;
}

.qm-process-container-right-overlap {
    margin-left: -50px;
    margin-top: 70px;
    margin-bottom: -70px;
    padding-left: 25px;
    padding-right: 25px;
}



.qm-image-panel {
    width: 100%;
    position: relative;
    text-align: center;
}
.qm-image-panel img {
    width: 100%;
}
/* TODO: JK - is qm image panel currently used? */
.qm-image-panel .qm-image-panel-body {
    position: absolute;
    width: 100%;
    top: 0;
    height: 100%;
    padding: 30px;
}
.qm-image-panel-border {
    width: 100%;
    height: 100%;
}
.qm-image-panel-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.qm-animation-container .qm-bg-hover-height {
    background-size: auto 100%;
    -webkit-transition: background-size 0.8s ease-out;
    -moz-transition: background-size  0.8s ease-out;
    -o-transition: background-size  0.8s ease-out;
    transition: background-size  0.8s ease-out;
}
.qm-animation-container:hover > .qm-bg-hover-height {
    background-size: auto 120%;
}


.qm-image-container .qm-image-container-text {
    transition: background-color 1.0s ease-in, color 1.0s ease-out;
}

.qm-animation-container .qm-animation-element.qm-animate-fade-in {
    opacity: 1.0;
    -webkit-transition: opacity 1.2s ease-in-out;
    -moz-transition: opacity  1.2s ease-in-out;
    -o-transition: opacity  1.2s ease-in-out;
    transition: opacity  1.2s ease-in-out;
}

.qm-animation-container .qm-animation-element.qm-animate-bttom-top-soft {
    position: relative;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    -webkit-transition: top 0.8s ease-out;
    -moz-transition: top 0.8s ease-out;
    -o-transition: top 0.8s ease-out;
    transition: top 0.8s ease-out;
}

.qm-animation-container .qm-animation-element.qm-animate-bttom-top {
    position: relative;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    opacity: 1.0;
    -webkit-transition: top 0.8s ease-out, bottom 0.8s ease-in-out, left 0.8s ease-in-out, right 0.8s ease-in-out, opacity 0.8s ease-in-out;
    -moz-transition: top 0.8s ease-out, bottom 0.8s ease-in-out, left 0.8s ease-in-out, right 0.8s ease-in-out, opacity 0.8s ease-in-out;
    -o-transition: top 0.8s ease-out, bottom 0.8s ease-in-out, left 0.8s ease-in-out, right 0.8s ease-in-out, opacity 0.8s ease-in-out;
    transition: top 0.8s ease-out, bottom 0.8s ease-in-out, left 0.8s ease-in-out, right 0.8s ease-in-out, opacity 0.8s ease-in-out;
}

.qm-animation-container .qm-animation-element.qm-animate-left-right,
.qm-animation-container .qm-animation-element.qm-animate-right-left {
    position: relative;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    opacity: 1.0;
    -webkit-transition: left 0.6s ease-in-out, right 0.6s ease-in-out, opacity 0.6s ease-in-out;
    -moz-transition: left 0.6s ease-in-out, right 0.6s ease-in-out, opacity 0.6s ease-in-out;
    -o-transition: left 0.6s ease-in-out, right 0.6s ease-in-out, opacity 0.6s ease-in-out;
    transition: left 0.6s ease-in-out, right 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.qm-animation-container .qm-animation-element.qm-animate-open-right, 
.qm-animation-container .qm-animation-element.qm-animate-open-left {
    position: absolute;
    width: 100%;
    height: 100%;

    top:0px;
    left:0px;

    -webkit-transition: margin-left 0.6s ease-in-out;
    -moz-transition: margin-left 0.6s ease-in-out;
    -o-transition: margin-left 0.6s ease-in-out;
    transition: margin-left 0.6s ease-in-out;
}

.qm-animation-container .qm-animation-element.qm-animate-open-down {
    position: absolute;
    width: 100%;
    height: 100%;

    top:0px;
    left:0px;

    -webkit-transition: top 1.0s ease;
    -moz-transition: top 1.0s ease;
    -o-transition: top 1.0s ease;
    transition: top 1.0s ease;
}

.qm-animation-container .qm-animation-element.qm-animate-open-right {
    margin-left: 100%;
}

.qm-animation-container .qm-animation-element.qm-animate-open-left {
    margin-left: -100%;
}

.qm-animation-container .qm-animation-element.qm-animate-open-down {
    top: 100%;
}


@media (min-width: 1200px) {
    .qm-panel-contact {
        position: relative;
        display: grid;
        grid-template-columns: 1fr 3fr 1fr;
    }
    .qm-panel-contact-lg {
        position: relative;
        display: grid;
        grid-template-columns: auto 3fr auto;
    }
}

@media (min-width: 768px) {

    .qm-animation-container .qm-animation-element.qm-animate-bttom-top.qm-animate {
        opacity: 0.0;
        top: 200px;
    }
    .qm-animation-container .qm-animation-element.qm-animate-bttom-top-soft.qm-animate {
        top: 100px;
    }
    .qm-animation-container .qm-animation-element.qm-animate-left-right.qm-animate {
        opacity: 0.0;
        left: -100px;
    }
    .qm-animation-container .qm-animation-element.qm-animate-right-left.qm-animate {
        opacity: 0.0;
        left: 100px;
    }

    .qm-animation-container .qm-animation-element.qm-animate-open-right.qm-animate {
        opacity: 1.0;
        margin-left: 0%;
    }

    .qm-animation-container .qm-animation-element.qm-animate-open-left.qm-animate {
        opacity: 1.0;
        margin-left: 0%;
    }

    .qm-animation-container .qm-animation-element.qm-animate-open-down.qm-animate {
        opacity: 1.0;
        top: 0%;
    }

    .qm-animation-container .qm-animation-element.qm-animate-fade-in.qm-animate {
        opacity: 0.0;
    }
}

.qm-text-decoration-none, .qm-text-decoration-none:hover {
    text-decoration: none;
}

.qm-link-underline {
    color: var(--font-main);
    border: none;
    background: none;
    padding-left: 0;
    padding-right: 0;
    text-transform: uppercase;
    text-decoration: none !important;
    position: relative;
    display: flex;
    justify-content: center;
    width: fit-content;
}

.qm-link-underline::after {
    content: '';
    position: absolute;
    width: 12%;
    min-width: 5px;
    height: 2px;
    bottom: -4px;
    transition: all 500ms ease-in-out;
}

.qm-link-underline-container:hover, .qm-link-underline-container:active, .qm-link-underline-container:focus {
    text-decoration: none;
}

.qm-link-underline-container:hover .qm-link-underline::after,
.qm-link-underline:hover::after {
    cursor: pointer;
    width: 100%;
}

h2.qm-headline {
    width: 100%;
    text-align: center;
    line-height: 0.1em;
    margin: 40px 0 80px;
    border-bottom-width: 2px;
    border-bottom-style: solid;
}

h2.qm-headline span {
    padding:0 20px;
}



/* NEU 31.01.2024 */
.qm-h2 {
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 5px;
    line-height: 41.5px;
    text-transform: uppercase;
    font-family: 'Noto Serif', serif;
    padding: 0;
    margin: 0;
    padding-bottom: 32px;
}

.qm-h2-dark-upper {
    text-transform: uppercase;
    color: #595959 !important;
}

.qm-h3 {
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 5px;
    line-height: 41.5px;
    font-family: 'Noto Serif', serif;
    padding: 0;
    margin: 0;
}

.qm-h3-dark {
    color: #595959 !important;
}

.qm-h3-dark-upper {
    text-transform: uppercase;
    color: #595959 !important;
}

.qm-h4 {
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 3px;
    line-height: 30px;
    font-family: 'Noto Serif', serif;
    padding: 0;
    margin: 0;
}

.qm-h4-dark-upper {
    text-transform: uppercase;
    color: #595959 !important;
}


.qm-bg-center {
    background-position: center center !important;
    background-size: auto 100%;
}

.qm-bg-animate {
    -webkit-transition: background-image 2s ease-in-out;
    transition: background-image 2s ease-in-out;
}


.qm-image-slider {
    position: relative;
    display: block;
    overflow: hidden;
}

.qm-image-slider-img {
    z-index: 500;
    width: 100%;
    background-position: center center !important;
    background-size: auto 100%;
    -webkit-transition: background-image 2s ease-in-out;
    transition: background-image 2s ease-in-out;
}

.qm-image-slider-content {
    z-index: 501;
    top: 100%;
    height: 100%;
    position: absolute;
    background-color: #00000050;
    width: 100%;
    -webkit-transition: top 0.5s ease-in-out, color 0.5s ease-in-out;
    transition: top 0.5s ease-in-out, color 0.5s ease-in-out;
}

.qm-image-slider:hover .qm-image-slider-content {
    top: 0;
}

.qm-image-slider-content2 {
    z-index: 501;
    opacity: 0;
    top: 0;
    height: 100%;
    position: absolute;
    background-color: #00000050;
    width: 100%;
    -webkit-transition: opacity 0.5s ease-in-out, color 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out, color 0.5s ease-in-out;
}

.qm-image-slider:hover .qm-image-slider-content2 {
    opacity: 1;
}

.qm-image-slider-content3 {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1em;
    z-index: 501;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.0em 1.5em;
    padding-right: 0.5em;
    position: absolute;
    background-color: #000000BB;
}


.qm-lead {
    text-align: center;
    font-size: 1.5em;
    font-style: normal;
    font-weight: 400;
    letter-spacing: .16em;
    line-height: 1.29em;
    text-transform: uppercase;
}

.qm-lead-small {
    padding: 1.5em 0;
    font-size: 12pt;
    letter-spacing: 3px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

.qm-lead-big {
    font-size: 32px;
}

/* "Normabstand" */

.qm-p-10 {
    padding: 10px;
}

.qm-p-20 {
    padding: 20px;
}

.qm-p-1 {
    padding: 40px;
}

.qm-pt-05 {
    padding-top: 20px;
}

.qm-pt-1 {
    padding-top: 40px;
}

.qm-pt-2 {
    padding-top: 60px;
}

.qm-pt-3 {
    padding-top: 80px;
}

.qm-pb-05 {
    padding-bottom: 20px;
}

.qm-pb-1 {
    padding-bottom: 40px;
}

.qm-pb-2 {
    padding-bottom: 60px;
}

.qm-pb-3 {
    padding-bottom: 80px;
}

.qm-py-05 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.qm-py-025 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.qm-py-1 {
    padding-top: 40px;
    padding-bottom: 40px;
}

.qm-py-2 {
    padding-top: 60px;
    padding-bottom: 60px;
}

.qm-py-3 {
    padding-top: 80px;
    padding-bottom: 80px;
}

.qm-px-05 {
    padding-left: 20px;
    padding-right: 20px;
}

.qm-px-1 {
    padding-left: 40px;
    padding-right: 40px;
}

.qm-px-2 {
    padding-left: 60px;
    padding-right: 60px;
}

.qm-px-3 {
    padding-left: 80px;
    padding-right: 80px;
}

.qm-px-4 {
    padding-left: 100px;
    padding-right: 100px;
}

.qm-p-2 {
    padding: 60px;
}

.qm-pb-2 {
    padding-bottom: 60px;
}

.qm-p-3 {
    padding: 80px;
}

.qm-mb-1 {
    padding: 40px;
}

.qm-mb-2 {
    padding: 60px;
}

.qm-mb-3 {
    padding: 80px;
}

.qm-placeholder-05 {
    clear: both;
    height: 20px;
}
.qm-placeholder-1 {
    clear: both;
    height: 40px;
}
.qm-placeholder-2 {
    clear: both;
    height: 60px;
}
.qm-placeholder-3 {
    clear: both;
    height: 80px;
}

.qm-placeholder {
    clear: both;
    height: 80px;
}


.qm-breadcumb {
    display: flex;
    justify-content: center;
    line-height: 1;
}

.qm-breadcumb-list {
    padding: 0px;
}

.qm-breadcumb-item {
    font-size: 8pt;
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
    text-transform: uppercase;
}

.qm-breadcumb-text, .qm-breadcumb-item a  {
    color: #adbdb2 !important;
}


.qm-kachel-b {
    display: grid;
    overflow-y: hidden;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto auto;
    gap: 0px 0px;
    grid-template-areas:
        "image"
        "teaser"
        "text";
}
.qm-kachel-b .qm-kachel-b-image {
    position: relative;
    grid-area: image;
}
.qm-kachel-b .qm-kachel-b-teaser {
    position: relative;
    grid-area: teaser;
    padding: 1.5em 0;
    font-size: 12pt;
    letter-spacing: 3px;
    font-weight: 400;
    text-transform: uppercase;
}
.qm-kachel-b .qm-kachel-b-text {
    position: relative;
    display: grid;
    grid-area: text;

    font-size: 12pt;
    overflow: hidden;

    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    gap: 0px 0px;
    grid-template-areas:
        "content"
        "link";

    height: 0px;
    -webkit-transition: height 1.0s ease-out;
    -moz-transition: height 1.0s ease-out;
    -o-transition: height 1.0s ease-out;
    transition: height 1.0s ease-out;
}
.qm-kachel-b:hover .qm-kachel-b-text, .qm-kachel-b-no-animation .qm-kachel-b-text {
    height: 230px;
}
.qm-kachel-b .qm-kachel-b-text-content {
    position: relative;
    grid-area: content;
}
.qm-kachel-b .qm-kachel-b-text-link {
    padding: 1.5em 0;
    position: relative;
    grid-area: link;

    opacity: 0.0;

    -webkit-transition: opacity 1.0s ease-in;
    -moz-transition: opacity 1.0s ease-in;
    -o-transition: opacity 1.0s ease-in;
    transition: opacity 1.0s ease-in;
}
.qm-kachel-b:hover .qm-kachel-b-text-link, .qm-kachel-b-no-animation .qm-kachel-b-text-link  {
    opacity: 1.0;
}

.qm-kachel-b .qm-kachel-b-button {
    min-width: 100px;
    margin: 1.5em;
    padding: 0.5em 1.0em;
    border-width: 1px;
    border-style: solid;
    text-align: center;
    text-transform: uppercase;
    -webkit-transition: background-color 0.8s ease-out, color 0.8s ease-in-out;
    -moz-transition: background-color 0.8s ease-out, color 0.8s ease-in-out;
    -o-transition: background-color 0.8s ease-out, color 0.8s ease-in-out;
    transition: background-color 0.8s ease-out, color 0.8s ease-in-out;
}
.qm-kachel-b .qm-kachel-b-button:hover {
    cursor: pointer;
}


.qm-kachel-c {
    display: grid;
    overflow-y: hidden;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto auto auto;
    gap: 0px 0px;
    grid-template-areas:
        "logo"
        "image"
        "teaser"
        "text"
        "link";
}
.qm-kachel-c .qm-kachel-c-logo {
    position: relative;
    grid-area: logo;
}
.qm-kachel-c .qm-kachel-c-image {
    position: relative;
    grid-area: image;
}
.qm-kachel-c .qm-kachel-c-teaser, .qm-kachel-c-teaser {
    position: relative;
    grid-area: teaser;
    padding: 1.5em 0;
    font-size: 12pt;
    letter-spacing: 3px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}
.qm-kachel-c .qm-kachel-c-text {
    position: relative;
    display: grid;
    grid-area: text;

    font-size: 12pt;
    overflow: hidden;

    height: 3.2em;
    -webkit-transition: height 0.8s ease-out;
    -moz-transition: height 0.8s ease-out;
    -o-transition: height 0.8s ease-out;
    transition: height 0.8s ease-out;
}
.qm-kachel-c:hover .qm-kachel-c-text {
    height: 150px;
}

.qm-kachel-c .qm-kachel-c-link {
    position: relative;
    display: grid;
    grid-area: link;
    padding: 0.5em 0;
    padding-top: 1.0em;
}

.qm-kachel-c .qm-kachel-c-button {
    min-width: 100px;
    margin: 1.5em;
    padding: 0.5em 1.0em;
    border-width: 1px;
    border-style: solid;
    text-align: center;
    text-transform: uppercase;
    -webkit-transition: background-color 0.8s ease-out, color 0.8s ease-in-out;
    -moz-transition: background-color 0.8s ease-out, color 0.8s ease-in-out;
    -o-transition: background-color 0.8s ease-out, color 0.8s ease-in-out;
    transition: background-color 0.8s ease-out, color 0.8s ease-in-out;
}
.qm-kachel-c .qm-kachel-c-button:hover {
    cursor: pointer;
}


.qm-kachel-d {
    display: grid;
    overflow-y: hidden;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 55px 1fr auto;
    gap: 0px 0px;
    grid-template-areas:
        "image"
        "location"
        "teaser"
        "text"
        "link";
}
.qm-kachel-d .qm-kachel-d-image {
    position: relative;
    grid-area: image;
}
.qm-kachel-d .qm-kachel-d-teaser {
    position: relative;
    grid-area: teaser;
    padding: 0px 20px;
    font-size: 12pt;
    letter-spacing: 3px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}
.qm-kachel-d .qm-kachel-d-location {
    position: relative;
    display: grid;
    grid-area: location;
    padding: 0px 20px;
    padding-top: 20px;

    font-size: 12pt;
}
.qm-kachel-d .qm-kachel-d-text {
    position: relative;
    display: grid;
    grid-area: text;

    font-size: 12pt;
}

.qm-kachel-d .qm-kachel-d-link {
    position: relative;
    display: grid;
    grid-area: link;
    padding: 30px 20px;
    padding-top: 5px;
}
.qm-kachel-d .qm-kachel-d-button:hover {
    cursor: pointer;
}


.qm-kachel-e {
    display: grid;
    overflow-y: hidden;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto auto auto;
    gap: 0px 0px;
    grid-template-areas:
        "image"
        "teaser"
        "text"
        "link";
    border-style: solid;
    border-width: 1px;
}
.qm-kachel-e .qm-kachel-e-image {
    position: relative;
    grid-area: image;
}
.qm-kachel-e .qm-kachel-e-teaser {
    position: relative;
    grid-area: teaser;
    padding: 1.5em 0;
    font-size: 12pt;
    letter-spacing: 3px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}
.qm-kachel-e .qm-kachel-e-text {
    position: relative;
    display: grid;
    grid-area: text;

    font-size: 12pt;
    overflow: hidden;

    height: 100px;
    -webkit-transition: height 0.8s ease-out;
    -moz-transition: height 0.8s ease-out;
    -o-transition: height 0.8s ease-out;
    transition: height 0.8s ease-out;
}
.qm-kachel-e:hover .qm-kachel-e-text {
    height: 150px !important;
}

.qm-kachel-e .qm-kachel-e-link {
    position: relative;
    display: grid;
    grid-area: link;
    padding: 1.5em 0;
}

.qm-kachel-e .qm-kachel-e-button {
    min-width: 100px;
    margin: 1.5em;
    padding: 0.5em 1.0em;
    border-width: 1px;
    border-style: solid;
    text-align: center;
    text-transform: uppercase;
    -webkit-transition: background-color 0.8s ease-out, color 0.8s ease-in-out;
    -moz-transition: background-color 0.8s ease-out, color 0.8s ease-in-out;
    -o-transition: background-color 0.8s ease-out, color 0.8s ease-in-out;
    transition: background-color 0.8s ease-out, color 0.8s ease-in-out;
}
.qm-kachel-e .qm-kachel-e-button:hover {
    cursor: pointer;
}


.qm-kachel-f {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    gap: 0px 0px;
    grid-template-areas:
        "image"
        "teaser"
        "text";
}
.qm-kachel-f .qm-kachel-f-image {
    position: relative;
    grid-area: image;
}
.qm-kachel-f .qm-kachel-f-teaser {
    position: relative;
    grid-area: teaser;
    padding: 1.5em 0;
    font-size: 12pt;
    letter-spacing: 3px;
    font-weight: 400;
    text-transform: uppercase;
}
.qm-kachel-f .qm-kachel-f-text {
    position: relative;
    grid-area: text;
    overflow: auto;
}


.qm-gradient {
    position: absolute;
    bottom: 0px;
    width: 100%;
    opacity: 1;
    -webkit-transition: opacity 0.8s ease-out, color 0.8s ease-in-out;
    -moz-transition: opacity 0.8s ease-out, color 0.8s ease-in-out;
    -o-transition: opacity 0.8s ease-out, color 0.8s ease-in-out;
    transition: opacity 0.8s ease-out, color 0.8s ease-in-out;
}
.qm-gradient-05 {
    height: 20px;
}
.qm-gradient-1 {
    height: 40px;
}
.qm-gradient-2 {
    height: 60px;
}
.qm-gradient-3 {
    height: 80px;
}


.qm-collapse {
    position: relative;
    overflow: hidden;

    transition-timing-function: cubic-bezier(0.1, 0.7, 1.0, 0.1);
    -webkit-transition: height 1.0s;
    -moz-transition: height 1.0s;
    -o-transition: height 1.0s;
    transition: height 1.0s;
}

.qm-collapse.qm-collapse-collapsed {
    height: 0px;
}

.qm-collapse:not(.qm-collapse-collapsed) > .qm-gradient {
    opacity: 0;
}

.qm-collapse-content {
    position: relative;
}


.qm-change-content {
    position: relative;
}

.qm-change-content-a, .qm-change-content-b {
    opacity: 1;
    -webkit-transition: opacity 2.0s ease-out;
    -moz-transition: opacity 2.0s ease-out;
    -o-transition: opacity 2.0s ease-out;
    transition: opacity 2.0s ease-out;
}

.qm-change-content-a.qm-change-content-collapsed, .qm-change-content-b.qm-change-content-collapsed {
    position: absolute;
    display: block;
    overflow: hidden;
    height: 0;
    opacity: 0;
}


.qm-table-estate-data td {
    padding-top: 4px;
    padding-bottom: 2px;
}

.qm-table-estate-data tr:first-child td {
    border-top: none !important;
}

.qm-scrolltop {
    position: fixed;
    z-index: 10000;
    opacity: 0;

    bottom: 12%;
    right: 19px;

    border-radius: 5px;

    -webkit-transition: opacity 1.0s ease-in-out, bottom 0.8s ease-in-out;
    -moz-transition: opacity 1.0s ease-in-out, bottom 0.8s ease-in-out;
    -o-transition: opacity 1.0s ease-in-out, bottom 0.8s ease-in-out;
    transition: opacity 1.0s ease-in-out, bottom 0.8s ease-in-out;
}

.qm-scrolltop:hover {
    cursor: pointer;
}

.qm-scrolltop.qm-scrolltop-active {
    bottom: 15%;
    opacity: 1;
}

.qm-scrolltop svg {
    display: block;
}

.qm-theme-light .qm-scrolltop {
    color: #8F8878;
    background-color: #F4F3ED;
}

.qm-theme-dark .qm-scrolltop {
    color: #8F8878;
    background-color: #282828;
}


.qm-slider-change {
    position: relative;
}


.qm-slider-change .qm-slider-change-a, .qm-slider-change .qm-slider-change-b {
    position: absolute;
    z-index: 600;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;

    -webkit-transition: opacity 1.0s ease-in-out, bottom 0.8s ease-in-out;
    -moz-transition: opacity 1.0s ease-in-out, bottom 0.8s ease-in-out;
    -o-transition: opacity 1.0s ease-in-out, bottom 0.8s ease-in-out;
    transition: opacity 1.0s ease-in-out, bottom 0.8s ease-in-out;
}

.qm-slider-change.qm-slider-change-show-a .qm-slider-change-a {
    z-index: 601;
    opacity: 1;
}
.qm-slider-change.qm-slider-change-show-b .qm-slider-change-b {
    z-index: 601;
    opacity: 1;
}


.row.display-flex {
    display: flex;
    flex-wrap: wrap;
}
.row.display-flex > [class*='col-'] {
flex-grow: 1;
}

.dubai-district-card:hover {
    cursor: pointer;
    text-decoration: none !important;
}

.dubai-district-card-image-container {
    position: relative;
    overflow: hidden;
    display: flex;
}

.dubai-district-card-image {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    transition: scale 1s ease;
}

.dubai-district-card:hover .dubai-district-card-image {
    scale: 1.2;
}


.qm-faq-list-item:hover {
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 .3rem 1rem rgba(0,0,0,.07)!important;
}


.qm-job-list-item {
    display: block;
    padding: 40px 20px;
}
.qm-job-list-item:hover {
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.10)!important;
}
.qm-job-list-item-date {
    font-weight: 300;
    font-size: large;
}
.qm-job-list-item-title {
    padding: 10px 0px;
    font-weight: 500;
    font-size: 2.0em;
}

.content-lexicon-letter {
    text-align: left !important;
}

.content-lexicon-item-title h2 {
    text-align: left !important;
}

.carousel-item img, .carousel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qm-page-nav-item {
    padding-bottom: 18px;
    padding-left: 10px;
    padding-right: 10px;
    text-transform: uppercase;
    position: relative;
    display: flex;
    justify-content: center;
    width: fit-content;
    color: #595959 !important;
}

.qm-page-nav-item:hover {
    cursor: pointer;
    text-decoration: none !important;
}

.qm-page-nav-item:active,
.qm-page-nav-item:focus {
    text-decoration: none !important;
}

.qm-page-nav-item-container:hover {
    cursor: pointer;
    text-decoration: none !important;
}

.qm-page-nav-item-container:active,
.qm-page-nav-item-container:focus {
    text-decoration: none !important;
}

.qm-page-nav-item::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0px;

    background-color: #595959;

    transition: width 500ms ease-in-out;
}

.qm-page-nav-item:hover::after {
    cursor: pointer;
    width: 100%;
}

.qm-table-datalist th {
    width: 250px;
}

@media (min-width: 992px) {
    .qm-ml-lg-120 {
      margin-left: 120px;
    }
    .qm-mr-lg-120 {
      margin-right: 120px;
    }
    .qm-border-lg-left {
        border-left: 1px solid #dee2e6;
    }
}



.qm-reiter-tab {
    padding-bottom: 1em;
}

@media (min-width: 768px) {
    .qm-reiter {
        display: flex;
        flex-wrap: wrap;
    }
    .qm-reiter-tab {
        order: 1;
        padding: 10px 15px;
    }
    .qm-reiter-tab-active {
        background-color: #F4F3ED;
    }
    .qm-reiter-tab:hover {
        cursor: pointer;
        background-color: #FAFAFA;
    }
    .qm-reiter-text {
        order: 2;
        flex-basis: 100%;
        padding: 15px 15px;
        background-color: #F4F3ED;
        display: none;
        min-height: 300px;
    }
    .qm-reiter-text-active {
        display: block;
    }
}

.qm-faq-menu-item {
    display: block;
    border-top: 1px solid #dee2e6;
    padding: 15px;
    margin-bottom: 15px;
}
.qm-faq-menu-item:hover {
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.10)!important;
}
.qm-faq-menu-item-date {
    font-weight: 300;
    font-size: large;
}
.qm-faq-menu-item-title {
    padding: 10px 0px;
    font-weight: 500;
    font-size: 2.0em;
}

.qm-faq-item {
    display: none;
}
.qm-faq-item-show {
    display: block;
}

.qm-faq-menu-item-active {
    background-color: #F4F3ED;
}

.collapse-inner {
    opacity: 0;
    -webkit-transition: opacity 0.8s linear;
    -moz-transition: opacity 0.8s linear;
    -o-transition: opacity 0.8s linear;
    transition: opacity 0.8s linear;
}
.show .collapse-inner {
    opacity: 1 !important;
}
.qm-collapse[aria-expanded=true] {
    background-color: #F4F3ED;
}

@media (min-width: 1500px) {
    .qm-pr-xl-80 {
        padding-right: 80px;
    }
    .qm-mr-xl-80 {
        padding-right: 80px;
    }
}

.qm-faq-side .qm-faq-menu-item {
    text-align: center;
}

@media (min-width: 992px) {
    .qm-faq-side {
        max-width: 360px;
    }
    .qm-faq-side .qm-faq-menu-item {
        text-align: left;
    }
}