/* elements.css for >Wilmes Consult< */

.werbelink {
    float: none;
    line-height: 1;
    padding: 0.625rem 0.3125rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    opacity: 0.4;
    margin-left: -0.3125rem;
}

.werbelink span {
    font-weight: 600;
}

/* cookieconsent */
.cc-link {
    padding: 0;
    display: inline;
}

@media all {
    .timeline {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        position: relative
    }

    .timeline *,
    .timeline :after,
    .timeline :before {
        -webkit-box-sizing: inherit;
        box-sizing: inherit
    }

    .timeline:not(.timeline--horizontal):before {
        background-color: rgb(229, 238, 255);
        background: linear-gradient(rgb(229, 238, 255), rgb(16, 0, 104));
        bottom: 0;
        content: '';
        left: 50%;
        margin-left: -0.25rem;
        position: absolute;
        top: 0;
        width: 0.5rem;
        z-index: 1;
        border-radius: 0.25rem;
    }

    .timeline__wrap {
        overflow: hidden;
        position: relative;
        z-index: 2
    }

    .timeline .ce-element {
        padding: .625rem 2.5rem .625rem 0;
        position: relative;
        width: 50%;
        z-index: 2;
        margin: 0;
    }

    .timeline .ce-element:after {
        background-color: rgb(255, 255, 255);
        border: 4px solid rgb(229, 238, 255);
        border-radius: 50%;
        content: '';
        height: 20px;
        position: absolute;
        right: -10px;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        top: 50%;
        width: 20px;
        z-index: 1
    }

    .timeline .ce-element.animated {
        -webkit-animation-duration: 1s;
        animation-duration: 1s;
        -webkit-animation-fill-mode: both;
        animation-fill-mode: both;
        opacity: 0
    }

    .timeline .ce-element.fadeIn {
        -webkit-animation-name: fadeIn;
        animation-name: fadeIn
    }

    .timeline .timeline__item--left {
        left: 0
    }

    .timeline .timeline__item--right {
        left: 50%;
        padding: .625rem 0 .625rem 2.5rem
    }

    .timeline .timeline__item--right:after {
        left: -10px
    }

    .timeline--mobile .ce-element .timeline__content:before,
    .timeline .timeline__item--right .timeline__content:before {
        left: -12px;
        border-width: 0.625rem 0.75rem 0.625rem 0;
        border-color: transparent rgb(16, 0, 104) transparent transparent;
    }

    .timeline--mobile .ce-frame-invertedBlue.ce-element .timeline__content:before,
    .ce-frame-invertedBlue.timeline__item--right .timeline__content:before {
        border-color: transparent rgb(16, 0, 104) transparent transparent;
    }

    .timeline__content {
        display: block;
        padding: 1.25rem;
        position: relative;
        border: 0.375rem solid rgb(16, 0, 104);
    }

    .timeline__content:before {
        content: '';
        height: 0;
        position: absolute;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        top: 50%;
        width: 0
    }

    .timeline__content:before {
        right: -12px;
        z-index: 1;
        border-style: solid;
        border-width: 0.625rem 0 0.625rem 0.75rem;
        border-color: transparent transparent transparent rgb(16, 0, 104);
    }

    .ce-frame-invertedBlue .timeline__content:before {
        border-color: transparent transparent transparent rgb(16, 0, 104);
    }

    .timeline__content h2 {
        font-size: 1.25rem;
        font-weight: 700;
        margin: 0 0 .625rem
    }

    .timeline__content p {
        font-size: .9375rem;
        line-height: 1.5;
        margin-bottom: 10px
    }

    .timeline--mobile {
        padding: 0
    }

    .timeline--mobile:before {
        left: 10px !important;
        margin: 0 !important
    }

    .timeline--mobile .ce-element {
        left: 0;
        padding-left: 40px;
        padding-right: 0;
        width: 100%
    }

    .timeline--mobile .ce-element:after {
        left: 0.25rem;
    }

    .timeline--mobile .ce-element .timeline__content:after {
        left: -10px;
        border-bottom: 10px solid transparent;
        border-right: 10px solid #fff;
        border-left: none;
        border-top: 10px solid transparent
    }

    @-webkit-keyframes fadeIn {
        0% {
            opacity: 0;
            top: 70px
        }

        100% {
            opacity: 1;
            top: 0
        }
    }

    @keyframes fadeIn {
        0% {
            opacity: 0;
            top: 70px
        }

        100% {
            opacity: 1;
            top: 0
        }
    }

    @-webkit-keyframes liftUp {
        0% {
            top: 0
        }

        100% {
            top: -15px
        }
    }

    @keyframes liftUp {
        0% {
            top: 0
        }

        100% {
            top: -15px
        }
    }
}

/* lightbox - we have fontawesome? awesome! */
@media all {
    .ce-media-image a {
        position: relative;
    }

    .ce-media-image a::before {
        content: '\f0c1';
        font-family: FontAwesome;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1;

        width: 1rem;
        height: 1rem;
        position: absolute;
        z-index: 1;
        top: auto;
        bottom: 0.3125rem;
        right: 0.3125rem;

        color: rgb(255, 255, 255);
        text-shadow: 0 0 1px rgb(0, 0, 0);
        background: none;
    }

    .header-button .ce-media-image a::before {
        display: none;
    }

    .ce-media-image a {
        text-decoration: none;
    }

    .ce-media-image a.lightbox::before {
        content: '\f00e';
    }

    .ce-media-image .ce-media-caption a::before {
        content: none;
    }
}

/* news */
@media all {

    .news-list-item+.news-list-item {
        border-top: 1px solid rgb(153, 153, 153);
        padding-top: 1.25rem;
    }

    .news-list-item+.news-list-item.news-list-item-teaser {
        border: none;
        padding-top: 0;
    }

    .news-list .news-date {
        display: inline-block;
        margin-top: 0.3125rem;
    }

    .news-list-link .fa {
        padding-left: 0.5em;
    }

    .news-list-item-teaser {
        width: 100%;
    }

    .modernizr-flexbox .news-list-teaser .ce-textpic-inner {
        display: flex;
        flex-direction: column;
    }

    .modernizr-flexbox .news-list-teaser .news-teaser-text {
        flex-grow: 1;
    }

    .news-list-masonry .has-pagination {
        margin-bottom: 5rem;
        /*FIXME */
    }

    .news-list-masonry .pagination {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
    }
}

/* pagination news & search */
@media all {

    .pagination {
        margin-bottom: 0.9375rem;
    }

    .pagination .pagination-count {
        margin-bottom: 0;
    }

    .pagination ul {
        display: block;
        margin: 0 -0.3125rem;
        padding: 0;
    }

    .pagination li {
        display: block;
        float: left;
        line-height: 1;
        padding: 0.3125rem;
    }

    .pagination span,
    .pagination a {
        display: inline-block;
        font-size: 75%;
        color: currentColor;
        text-decoration: none;
        text-align: center;
        line-height: 1;
        width: 1.75rem;
        padding: 0.4375rem 0;
        border: 1px solid currentColor;
        border-radius: 3px;
    }

    .pagination a:not(.fa)::before {
        content: none;
    }

    .pagination .fa {
        margin: 0;
        padding: 0;
    }

    .pagination .current {
        background: currentColor;
        background-clip: padding-box;
    }

    .pagination .current b {
        color: rgb(255, 255, 255);
    }

    .pagination .paginator-ellip {
        border: none;
        padding: 0;
        width: auto;
    }

    .ce-element {
        margin-bottom: 1.5625rem;
    }

    .ce-frame-inverted>div:not(.ce-header) {
        text-shadow: none;
        color: inherit;
        background-color: rgb(229, 238, 255);
        padding-top: 3.75rem;
        min-height: auto;
    }

    .ce-frame-inverted a:not(.btn) {
        text-shadow: none;
        color: inherit;
    }

    .ce-grid-fullwidth-bg {
        margin-bottom: 2.5rem;
        min-height: 30vh;
    }

    .ce-frame-invertedBlue>div:not(.ce-header):not(.timeline__item__inner) {
        text-shadow: none;
        background-color: rgb(16, 0, 104);
        color: rgb(255, 255, 255);
        min-height: auto;
    }

    .ce-uploads li {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .ce-uploads li .fa {
        font-size: 5rem;
        margin-bottom: 1.25rem;
    }

    .mapouter {
        margin: 0 -.625rem;
    }

    .gmap_canvas {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .iframe-loader {
        display: flex;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 1.25rem;
        border-radius: .5rem;
    }

    .iframe-loader>*:not(.btn) {
        color: rgb(255, 255, 255);
        margin-bottom: 1rem;
        line-height: 1.25;
        text-align: center;
        hyphens: none;
    }

    .mapouter,
    .contact-mapouter {
        background-image: url("/typo3conf/ext/ti_base_wc/Resources/Public/Images/WC-iFrame-Placeholder.jpg");
        background-image: linear-gradient(45deg, rgba(16, 0, 104, 0.125), rgba(229, 238, 255, 0.75)), url("/typo3conf/ext/ti_base_wc/Resources/Public/Images/WC-iFrame-Placeholder.jpg");
        background-size: cover;
        background-repeat: no-repeat;
    }

    .page-footer-inner a {
        color: inherit;
    }

    .ce-layout-quotearea p:not(.p-autor) {
        margin-bottom: 0;
    }

    .ce-layout-quotearea p {
        font-size: 1.75rem;
        text-transform: uppercase;
        line-height: 1.25;
        color: rgb(176, 177, 177);
    }

    .ce-layout-quotearea p.align-right:not(.p-autor) {
        font-size: 2.5rem;
        color: rgb(16, 0, 104);
    }

    .ce-layout-quotearea p.align-right:nth-last-child(2) {
        font-size: 2.25rem;
        margin-bottom: 1.75rem;
    }

    .ce-layout-quotearea p.p-autor {
        position: relative;
        right: 25%;
        font-size: 1.25rem;
    }

    .page-stage .ce-textpic-inner {
        padding-top: 1.25rem;
    }

    .cc-bottom {
        box-shadow: 0 0 1.25rem 0.25rem rgb(0, 0, 0, .25);
    }

    .ce-media {
        overflow: hidden;
    }

    .ce-accordeon .rc-head {
        border: 0.375rem solid rgb(16, 0, 104);
        /*! background-color:rgb(229,238,255); */
        border-radius: 0;
    }

    .ce-accordeon .rc-head.rc-open {
        border-bottom: 0;
    }

    .ce-accordeon .rc-container-enabled {
        border: 0.375rem solid rgb(16, 0, 104);
        border-top: 0;
        border-radius: 0;
    }

    .timeline__items .ce-frame-invertedBlue .timeline__content {
        background-color: rgb(16, 0, 104);
        color: rgb(255, 255, 255);
    }

    .timeline .ce-header>*:first-child {
        position: relative;
        color: rgb(255, 255, 255);
        z-index: 2;
    }

    .timeline .ce-header>*:first-child::before {
        content: "";
        position: absolute;
        background-color: rgb(16, 0, 104);
        left: -1.25rem;
        top: -1.25rem;
        bottom: -0.5rem;
        right: -1.25rem;
        z-index: -1;
    }

    .timeline .ce-header-subheader {
        margin-top: 1.25rem;
    }

    .ce-frame-hideFirstImage .ce-gallery>.ce-row:first-child {
        display: none;
    }

    .ce-frame-hideFirstImage .ce-gallery>.ce-row:last-child {
        display: block;
    }
}

@media all and (min-width: 30em) {
    .mapouter {
        margin: 0 -1.25rem;
    }
}

@media all and (min-width: 47.5em),
print {

    .ce-div {
        position: relative;
        overflow: hidden;
        height: 0.9375rem;
    }

    .ce-media-image a::before {
        right: 0.625rem;
        bottom: 0.625rem;
    }

    /* news teaser */
    .news-list-teaser {
        margin: 0 -0.625rem;
    }

    .news-list-item-teaser {
        width: 50%;
        float: left;
        padding: 0 0.625rem;
    }

    .news-list-teaser .news-list-item-teaser:nth-child(2n+1) {
        clear: left;
    }

    .timeline__items>div:not(:first-child) {
        margin-top: -2rem;
    }

    .timeline__content {
        padding: 2.5rem;
    }

    .timeline .ce-header>*:first-child::before {
        left: -2.5rem;
        top: -2.5rem;
        bottom: -1.25rem;
        right: -2.5rem;
    }

    .timeline .ce-header-subheader {
        margin-top: 2.5rem;
    }
}

/* desktop */
@media all and (min-width: 62.5em) {

    .news-list-item+.news-list-item {
        padding-top: 1.5625rem;
    }

    /* news teaser */
    .news-list-teaser {
        margin: 0 -1.25rem;
    }

    .news-list-item-teaser {
        width: 33.3333%;
        float: left;
        padding: 0 1.25rem;
    }

    .news-list-teaser .news-list-item-teaser:nth-child(2n+1) {
        clear: none;
    }

    .news-list-teaser .news-list-item-teaser:nth-child(3n+1) {
        clear: left;
    }

    .ce-element {
        margin-bottom: 2.8125rem;
    }

    .ce-grid-fullwidth-bg {
        margin-bottom: 3.75rem;
    }

    .ce-frame-twocolumns .ce-bodytext {
        column-count: 2;
        column-gap: 2.5rem;
        margin-bottom: 0.9375rem;
    }

    .mapouter {
        margin: 0 -2.5rem;
    }

    .ce-layout-quotearea p:not(.p-autor) {
        margin-bottom: 0;
    }

    .ce-layout-quotearea p {
        line-height: 1.125;
        font-size: 2.5rem;
    }

    .ce-layout-quotearea p.align-right:not(.p-autor) {
        font-size: 4.375rem;
    }

    .ce-layout-quotearea p.align-right:nth-last-child(2) {
        font-size: 3.75rem;
        margin-bottom: 1.75rem;
    }

    .ce-layout-quotearea p.p-autor {
        font-size: 1.25rem;
    }

    .page-stage .ce-textpic-inner {
        position: absolute;
        bottom: 2.5rem;
        width: 100%;
    }

    .page-stage header,
    .page-stage .ce-bodytext {
        width: 100%;
        max-width: 80rem;
        padding: 0 2.5rem;
        margin: 0 auto;
        color: rgb(255, 255, 255);
        display: flex;
        flex-direction: column;
    }

    .ce-tabs>.ce-element>.rc-head>*,
    .ce-accordeon>.ce-element>.rc-head>* {
        padding: 2.5rem;
        padding-right: 5rem;
    }

    .ce-tabs .rc-head .rc-link::after,
    .ce-accordeon .rc-head .rc-link::after {
        right: 2.5rem;
    }

    .ce-frame-hideFirstImage .ce-gallery>.ce-row:first-child {
        display: block;
    }

    .ce-frame-hideFirstImage .ce-gallery>.ce-row:last-child {
        display: none;
    }

    .werbelink {
        float: right;
        margin-left: 0;
    }
}

/* desktop - xlarge */
@media (min-width:82.5em) {

    .page-stage header,
    .page-stage .ce-bodytext {
        margin-left: 27rem;
    }

    .page-stage .ce-textpic-inner {
        bottom: 7.5rem;
    }

    .page-stage .ce-textpic-inner {
        bottom: 7.5rem
    }

    .news-list-item+.news-list-item {
        padding-top: 2.5rem;
    }

    .mapouter {
        left: 50%;
        margin-left: -50vw;
        width: 100vw;
    }
}

@media (min-width:120em) {

    .page-stage header,
    .page-stage .ce-bodytext {
        margin-left: 40rem;
    }

    .page-stage .ce-textpic-inner {
        bottom: 9.5rem;
    }

    .page-stage .ce-textpic-inner {
        bottom: 9.5rem
    }
}