.news-info em {
    color: #999;
}

.newslist-custom {}

.newslist-custom .news-image {
    height: 0;
    padding-bottom: 60%;
    background-size: cover;
}

.newslist-custom .news-title {
    color: #2b797f;
    font-weight: 200;
}

.newslist-custom a.image div {
    transition: all linear 0.15s;
}

.newslist-custom a.image:hover div {
    opacity: 0.7;
}

.newslist-custom .news-title a {
    color: inherit;
}

.newslist-custom .read-more a {
    border-color: #b59633;
    background: #b59633;
}

.newslist-custom .read-more a:hover {
    border-color: #b59633;
    background: #fff;
    color: #b59633;
}

.newslist-custom .ce_divider_extended {
    margin: 40px 0;
}

.mod_newslist .pagination li {
    display: none;
}

.mod_newslist .pagination li.previous,
.mod_newslist .pagination li.next {
    display: block;
    width: 49%;
}

.mod_newslist .pagination {
    padding-top: 100px;
}

.mod_newslist .pagination > p {
    display: none;
}

.mod_newslist .pagination ul {
    width: 100%;
    float: none;
    clear: both;
}

.mod_newslist .pagination li.previous {
    float: left;
}

.mod_newslist .pagination li.next {
    float: right;
}

.mod_newslist .pagination li a {
    display: inline-block;
    padding: 12px 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.2s ease-out 0s;
    width: 100%;
    background: #fff;
    border: 2px solid #b59633;
    color: #b59633;
    font-weight: bold;
    min-width: 140px;
    text-align: center!important;
    position: relative;
    -webkit-transition-property: all;
    transition-property: all;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    font-size: 0.9rem;
}

.mod_newslist .pagination li a:hover {
    background: #b59633;
    color: #fff;
}

@media(min-width: 768px) {
    .newslist-custom {
        width: 33.333333%;
        float: left;
        padding: 0 1%;
    }
}

/* Single */

.mod_newsreader {}

.mod_newsreader .news-image {
    height: 0;
    padding-bottom: 60%;
    background-size: cover;
}

.mod_newsreader .content {
    max-width: 800px;
    margin: 35px auto 0 auto;
}

.mod_newsreader p.back {
    display: none;
}

.mod_newsreader .news-info.bottom {
    float: left;
}

.mod_newsreader .back-custom {
    float: right;
}

.mod_newsreader .back-custom a.btn {
    border-color: #b59633;
    background: #b59633;
    width: 190px;
}

.mod_newsreader .back-custom a.btn:hover {
    border-color: #b59633;
    background: #fff;
    color: #b59633;
}

@media(min-width: 768px) {
    .mod_newsreader .content {
        margin-top: 100px;
    }
}

/* Teaser */
.mod_newsteaser_v6 .blog-title {
    text-align: center;
    position: absolute;
    z-index: 99;
    color: #fff;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.mod_newsteaser_v6 .news-info {
    position: absolute;
    bottom: 80px;
    transform: translateX(-50%);
    left: 50%;
    padding: 20px;
    z-index: 10;
}

.mod_newsteaser_v6 .news-info em {
    color: #fff !important;
}

.stickyheader {
    z-index: 99999;
}

@media(min-width: 768px) {
    .mod_newsteaser_v6 .item-inside {
        height: 640px;
    }

    .mod_newsteaser_v6 .blog-title {
        top: 150px;
    }
}


/* -------------------------------------------- */
/* Projekte Layout neu */
/* -------------------------------------------- */

body.projekt #main .mod_article.first {
    padding-top: 0;
}

.projektdetails {
    text-align: center;
}

/*
#projekt-buttons {
    display: flex;
    position: fixed;
    z-index: 99;
    right: 0;
    bottom: 20px;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}

#projekt-buttons a {
    flex: 0 0 auto;
    display: block;
    margin: 1px;
    background: #2b797f no-repeat center center;
    width: 50px;
    height: 50px;
}

#projekt-buttons a:hover {
    opacity: 0.9;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
}

@media(orientation: landscape) {
    #projekt-buttons {
        max-height: 210px;
        top: 50%;
        bottom: auto;
        transform: translateY(-30%);
    }

    #projekt-buttons.col-2 {
        right: 50px;
    }
}

@media(min-width: 960px) {
    #projekt-buttons {
        position: fixed;
        z-index: 99;
        right: 0;
        top: 50%;
        transform: translateY(-30%);
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
        max-height: 310px;
    }

    #projekt-buttons.col-2 {
        right: 75px;
    }

    #projekt-buttons a {
        display: block;
        margin: 1px;
        background: #2b797f no-repeat center center;
        width: 75px;
        height: 75px;
    }
}

@media(min-width: 960px) and (orientation: portrait) {
    #projekt-buttons {
        transform: translateY(-40%);
    }
}
*/

#projekt-buttons-wrap {
    position: fixed;
    z-index: 1001; /* damit ist er nun über dem Menü */
    right: 10px;
    bottom: 10px;
}

#projekt-buttons-wrap > a {
    display: block;
    position: relative;
    z-index: 1;
    background: #2b797f no-repeat center center;
    width: 50px;
    height: 50px;
}

#projekt-buttons {
    display: flex;
    position: absolute;
    z-index: 0;
    right: -1px;
    bottom: 51px;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}

#projekt-buttons a {
    flex: 0 0 auto;
    display: block;
    margin: 1px;
    background: #2b797f no-repeat center center;
    width: 50px;
    height: 50px;
}

#projekt-buttons a:hover {
    opacity: 0.9;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
}

/* Show/hide stuff */
#projekt-buttons {
    transition: all ease-in-out 0.35s;
}

#projekt-buttons:not(.show) {
    opacity: 0;
    transform: translateY(60%);
}

@media(orientation: landscape) {
    #projekt-buttons {
        max-height: 210px;
    }

    #projekt-buttons.col-2 {
        right: 51px;
    }
}

@media(min-width: 960px) {
    #projekt-buttons-wrap {
        right: 20px;
        bottom: 20px;
    }

    #projekt-buttons-wrap > a {
        display: block;
        background: #2b797f no-repeat center center;
        width: 75px;
        height: 75px;
    }

    #projekt-buttons {
        max-height: 310px;
        bottom: 76px;
    }

    #projekt-buttons.col-2 {
        right: 76px;
    }

    #projekt-buttons a {
        width: 75px;
        height: 75px;
    }
}


/*
tcc 14 02 22 änderungen bei den buttons

@media(max-width: 1439px){ */
@media(max-width: 1439px){
    body.projekt #top_link {
        display: none;
    }
}

@media(min-width: 8440px){
    #projekt-buttons-wrap > a {
        display: none;
    }

    #projekt-buttons {
        position: fixed;
        transform: translateY(-40%);
    }
}




#maps-lightbox {
    width: 100%;
    height: 100%;
    padding-top: 20px;
}

#gmap_lightbox {
    width: 100%;
    height: 100%;
}

#d3-video {
    display: table;
    width: 100%;
    height: 100%;
}

#d3-video .container {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

#d3-video li a {
    background: white;
    border-color: white;
    color: #2b797f;
}

#info-lightbox .projektdetails h4 {
    color: #fff;
}

#info-lightbox .projektdetails h4 .color-accent {
    color: #b59633;
}

#info-lightbox, #contact-lightbox {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 960px) {
    body.projekt #cboxLoadedContent {
        overflow: hidden !important;
    }
}

@media (max-width: 767px) {
    #info-lightbox, #contact-lightbox {
        overflow-y: scroll;
    }

    #info-lightbox > div, #contact-lightbox > div {
        padding: 80px 0 80px;
    }
}

#contact-lightbox .autogrid.adjust_mobile {
    width: 100% !important;
}

#contact-lightbox input.text,
#contact-lightbox input.captcha,
#contact-lightbox textarea {
    background: none;
    color: #fff;
    border: 1px solid rgb(153,153,153);
}

#contact-lightbox h2 {
    text-align: center;
    color: #fff;
}

#contact-lightbox .widget-captcha span.captcha_text {
    color: #fff;
}

@media (orientation: landscape) and (max-width: 971px) {
    #contact-lightbox > div {
        margin-top: -100px;
    }

    #contact-lightbox .widget {
        margin-bottom: 8px;
    }

    #contact-lightbox .widget input {
        padding: 10px;
    }
}

#contact-lightbox input[type=text]::-webkit-input-placeholder { color: #ccc !important; }
#contact-lightbox input[type=text]::-moz-placeholder { color: #ccc !important; }
#contact-lightbox input[type=text]:-moz-placeholder { color: #ccc !important; }
#contact-lightbox input[type=text]:-ms-input-placeholder { color: #ccc !important; }
#contact-lightbox textarea::-webkit-input-placeholder { color: #ccc !important; }
#contact-lightbox textarea::-moz-placeholder { color: #ccc !important; }
#contact-lightbox textarea:-moz-placeholder { color: #ccc !important; }
#contact-lightbox textarea:-ms-input-placeholder { color: #ccc !important; }

.ce_tabs .tabs ul li a {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #2b797f;
}

.ce_tabs .tabs ul li a .ce_image {
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    .ce_tabs .tabs ul li {
        display: inline-block !important;
        width: auto !important;
        border: none !important;
    }

    .ce_tabs .tabs ul li a {
        font-size: 10px;
        letter-spacing: 1px;
        margin-left: 5px !important;
        margin-right: 5px !important;
    }

    .ce_tabs .tabs ul li a .ce_image img {
        width: 36px;
    }
}

#objekt-slider-desktop {
    display: none;
}

#objekt-slider-mobile img {
    width: 100%;
}

@media (min-width: 972px) {
    #objekt-slider-mobile {
        display: none;
    }

    #objekt-slider-desktop {
        display: block;
    }
}

#objekt-slider-mobile {

}

.widget-captcha input {
    width: 100% !important;
}

.widget-captcha .captcha_text {
    display: inline-block;
    margin: 0;
    font-size: 14px;
}

.mod_portfoliolist_v5 .info .subline p {
    margin: 0;
}

/* .portfolioreader .ce_gallery .content {
    margin: 0 !important;
    max-width: none;
    background: rgba(0,0,0,0.8);
}

.portfolioreader .ce_gallery .swiper-container {
    padding-bottom: 50px;
}

.portfolioreader .ce_gallery .swiper-outer {
    padding: 0 40px 0 40px;
    position: relative;
}

.portfolioreader .ce_gallery ul.swiper-wrapper {
}

.portfolioreader .ce_gallery ul.swiper-wrapper li {
    padding: 5px;
}

.portfolioreader .ce_gallery .swiper-pagination {
    bottom: 0;
}

.portfolioreader .ce_gallery .swiper-button-prev {
    left: -5px;
}

.portfolioreader .ce_gallery .swiper-button-next {
    right: -5px;
} */

.ce_gallery .content {
    margin: 0 !important;
    max-width: none;
    background: rgba(0,0,0,0.8);
}

.ce_gallery .swiper-container {
    padding-bottom: 50px;
}

.ce_gallery .swiper-outer {
    padding: 0 40px 0 40px;
    position: relative;
}

.ce_gallery ul.swiper-wrapper {
}

.ce_gallery ul.swiper-wrapper li {
    padding: 5px;
}

.ce_gallery .swiper-pagination {
    bottom: 0;
}

.ce_gallery .swiper-button-prev {
    left: 0;
}

.ce_gallery .swiper-button-next {
    right: 0;
}


#colorbox.custom {
    position: fixed !important;
    width: 100% !important;
    height: 100vh !important;
    left: 0 !important;
    top: 0 !important;
}



/*wir nehmen die Unterstreichung raus */
.ce_text_extented a {
    text-decoration:none;
    text-decoration:none !important
}




#colorbox.custom #cboxWrapper,
#colorbox.custom #cboxWrapper > div,
#colorbox.custom #cboxContent {
     width: 100% !important;
    height: 100% !important;
    float: none !important;
    top: 0 !important;
    left: 0 !important;
    position: absolute;
    margin-top: 0 !important;
}

#colorbox.custom #cboxLoadedContent {
    float: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0 !important;
}

#colorbox.custom #cboxTitle {
    display: none !important;
}

#colorbox.custom #cboxClose {
    margin-top: 20px !important;
    right: 20px !important;
    opacity: 0.5 !important;
}

#colorbox.custom #cboxClose:hover {
    opacity: 1 !important;
}

#colorbox.custom #cboxNext {
    width: 62px !important;
    height: 124px !important;
    margin-top: -31px !important;
    right: 20px !important;
    background: url(/system/modules/modul_tcc/assets/galleria/themes/classic/classic-map.png) no-repeat center center;
    background-position: -254px 46px;
    opacity: 0.3 !important;
}

#colorbox.custom #cboxNext:hover {
    background-position: -254px 46px;
    opacity: 1 !important;
}

#colorbox.custom #cboxPrevious {
    width: 62px !important;
    height: 124px !important;
    margin-top: -31px !important;
    right: 20px !important;
    background: url(/system/modules/modul_tcc/assets/galleria/themes/classic/classic-map.png) no-repeat center center;
    background-position: 16px 46px;
    opacity: 0.3 !important;
}

#colorbox.custom #cboxPrevious:hover {
    background-position: 16px 46px;
    opacity: 1 !important;
}
