.mask-gallery .gallery-nav .slick-track .image {align-self: inherit;}
.mask-gallery .gallery-nav .slick-track .image .img-inner {border: solid 1px #f1f2f1; padding: 30px; text-align: center; height: 100%; display: flex; align-items: center; justify-content: center;}
.mask-gallery .gallery-nav .slick-track .image img { display:inline-block; margin:0; }
.mask-gallery .gallery-nav .slick-track .image.slick-current img {box-shadow: none;}
.mask-gallery .gallery-nav .slick-track .image.slick-current .img-inner {border: solid 1px #003e6e; }
.mask-gallery .gallery-nav .slick-track .image:focus {outline: none;}
.mask-gallery .slick-slider .description  {background: #f1f2f1}
.news.news-single ul.arrow-pointer { padding:0; }
.news.news-single ul.arrow-pointer li { position:relative; list-style:none; padding-left:30px; margin-bottom:20px; }
.news.news-single ul.arrow-pointer li:before { position: absolute; content: ''; width: 14px; height: 12px; left: 0; top: 6px; background-image: url(../img/left-arrow2.svg); background-position: left center; background-repeat: no-repeat; background-size: contain; }


.news-related-wrap .news-related-news .card-body .card-title { font-size:34px !important; margin-bottom:0; text-transform: uppercase; }
.news-related-wrap .news-related-news .card-body:not(:first-child) { margin-top: 1px !important; }
.news-related-wrap .news-related-news .card-body .link-desc { padding-left:22px; }
.news-related-wrap .news-related-news .card-body .news-related-news-date { padding-left:22px; margin-bottom: 0; position:relative; }
.news-related-wrap .news-related-news .card-body .news-related-news-date:before {
    content: ""; width: 8px; height: 15px; filter: brightness(0) invert(1); position: absolute; left: 0; top: 4px; background-image: url(../img/left-arrow.svg); background-position: left center; background-repeat: no-repeat;
}
.news-related-wrap .news-related-links .card-body .card-title { font-size:34px !important; margin-bottom:0; text-transform: uppercase; }
.news-related-wrap .news-related-links .card-body:not(:first-child) { margin-top: 1px !important; }
.news-related-wrap .news-related-links .card-body .news-related-news-date { padding-left:22px; margin-bottom: 0; position:relative; }
.news-related-wrap .news-related-links .card-body .news-related-news-date:before {
    content: ""; width: 8px; height: 15px; position: absolute; left: 0; top: 4px; background-image: url(../img/left-arrow.svg); background-position: left center; background-repeat: no-repeat;
}
.news-related-wrap .news-related-links .card-body .link-desc { padding-left:22px; position:relative; }
.news-related-wrap .news-related-links .card-body .link-desc:before {
    content: ""; width: 14px; height: 14px; position: absolute; left: 0; top: 5px; background-image: url(../img/link-icon.svg); background-position: left center; background-repeat: no-repeat; background-size: contain;
}
.news-related-wrap .news-related-links .card-body .link-desc a { display:inline-block; }
.news-single .news-release-info { margin-top:16px; }
.news-single .news-release-info p { color: var(--bs-body-color); }
.news-single .news-release-info .news-date { margin-right:15px; }
.news-single .teaser-text h4 { font-weight:400 !important; text-transform:none; }

*:focus { outline: none; }
.mask-gallery .gallery-nav { margin-top:20px; }
.mask-gallery .gallery .image .image-wrap .play-pause { border:none; }
.news-list-view .article .card .card-body .teaser-text p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }

.input-field { height:38px; }

.news .date-published p { margin-bottom:0; }
.news .date-published .news-date { margin-right:15px; }
.mask-tabnews .tabnews-content .lightbox-textpic { width: 50%; }
.mask-tabnews .tabnews-content .lightbox-textpic .img-wrap { width: 100%; }
.frame a.lightbox-textpic .fa-search-plus { right: 10px; }

.mask-tabnews .frame:not(:last-of-type) { margin-bottom: 0;}
.mask-tabnews .ce-gallery { margin-bottom: 0;}
.mask-tabnews .ce-gallery .figure-img { margin-bottom: 0;}
.news-single .blockquote div>* {font-size: 1.0rem!important;}
.mask-gallery .slick-slider .description  {margin-top:10px;}
/*.mask-gallery .slick-slider .description  {margin: 10px 50px 0px;}*/
.mask-gallery .gallery .image img { padding: 0 50px;}
.mask-gallery .gallery .image .image-wrap img { height: 500px; object-fit: contain; }
.mask-gallery .gallery-nav .slick-track .image img { width: auto; }

.gallery .slick-track .image .play-pause,
.gallery .slick-track .image .lightbox {padding: 12px 12px 8px 12px !important; min-width: 48px; min-height: 48px;} 
.gallery .slick-track .image .sr-only {vertical-align: top; line-height: 24px;}
.gallery .slick-track .image .play-pause .position-absolute,
.gallery .slick-track .image .lightbox .position-absolute {position: static !important; transform: translate(0%, 0%) !important;}


/*Custom CSS for Teaser*/
.carousel-picture-border.border-start.border-30.border-awi-iceblue {
    position: relative;
}
.teaser-btn {
    background: #fff;
    color: #003e6e;
}
.teaser-btn:hover {
    background-color: #f2f2f2 !important;
    color: #003e6e !important;
}
.teaser-inner {
            background: #003E6E;
            display: grid;
            grid-template-columns: 1fr 404px;
            min-height: 350px;
            column-gap: 164px;
        }
        .teaser-left {
            padding: 20px;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
     
        .teaser-right {
            background: #f2f2f2;
        }
        .teaser-right img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            /*max-height: 350px;*/
        }
       .teaser-left a{
            width: max-content;
            margin-top: auto;
        }

        .long-img{
            padding-left: 25px;
        }
         .teaser-right img{
            border-right: 25px solid #003E6E;
        }
        .long-img img , .normal-img img{
            object-fit: cover !important;
        }
        .normal-img img {
            padding: 20px 0px 20px 0px;
        }


.copyright-wrapper {
    position: relative;
    display: flex;
    height: 100%;
    overflow: hidden;
    /* border-right: 25px solid #003E6E !important; */
}
.teaser-right.wide-img{
    display: flex;
    align-items: center;
}
.teaser-right.wide-img .copyright-wrapper{
    display: flex;
    align-items: center;
    height: max-content;
}
.teaser-right{
   border-right: 25px solid #003E6E !important; 
}
.img-box {
    overflow: hidden;
}
.copyright-wrapper img {
    border-right: 0 !important;
}
.copyright{
    transform: translateX(calc(100% - 17px));
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    white-space: nowrap;
    bottom: 20px !important;
    margin: 0 !important;
    padding: 0 4px !important
}
.copyright.open-copyright {
    transform: translateX(0px);
    white-space: wrap;
}
.teaser-right.normal-img .copyright {
    right: 0px !important;
    bottom: 20px !important;
}
.img-wrap {
    overflow: hidden;
}
/* .teaser-right.wide-img .copyright-wrapper .copyright {
    bottom: 70px !important;
} */

.mask-slider .carousel-control-prev, .mask-slider  .carousel-control-next{
    width: max-content;
    height: max-content;
    top: 50%;
    transform: translateY(-50%);
}


@media (max-width: 1200px) {
    .mask-gallery .gallery .image .image-wrap img { height: 300px; }
    .mask-gallery .slick-prev, .mask-gallery .slick-next { top: 250px}
    .teaser-inner{
        grid-template-columns: 1fr 334px;
\       column-gap: 34px;
    }
    .teaser-wrapper .frame-space-after-no-space {
        margin-bottom: 0 !important; 
    }
    .teaser-inner h2{
        font-size: 2rem;
    }
   section.teaser .teaser-inner p{
        font-size: 1.5rem !important;
    }
    .teaser-wrapper .frame-default header h2 {
        font-size: 1.6rem !important;
    }
    .news-section-mt{
        margin-top: 0 !important;
    }
    .teaser-wrapper .news-section {
        margin-top: 48px !important;
    }
 
}
@media (max-width: 991px) {
    .mask-gallery .gallery .image .image-wrap img { height: 200px; }

    .mask-gallery .slick-prev, .mask-gallery .slick-next { top: 150px}
    .mask-gallery .gallery-nav .slick-track .image .img-inner { padding: 20px;}

            .teaser-inner{
               background: #f2f2f2;
               column-gap: 20px;
               grid-template-columns: 1fr;
               position: relative;
            }
           
            .teaser-inner h2{
                font-size: 2rem;
            }
            .teaser-inner h3{
                font-weight: 400;
                max-width: 370px;
                font-size: 1.5rem;
            }
            .teaser-right {
                position: absolute;
                right: 20px;
                background: transparent;
                top: 100px;
                padding: 0;
            }
            .teaser-right img{
                padding: 0;
                border: none;
                background: transparent;
                height: 200px;
                width: 200px;
            }
            .teaser-inner h2 , .teaser-inner p{
                color: #003E6E !important;
            }
               .teaser-btn {
    background: #003e6e;
    color: #fff;
}

}
@media (max-width: 767px) {
    .mask-gallery .gallery-nav .slick-track .image .img-inner { padding: 10px; }
    .mask-gallery .gallery-nav .slick-track .image img { max-height:100px; width:auto; }
    .mask-gallery .slick-slider .description  {margin-top:1rem;}
    .teaser-btn {
    background: #003e6e;
    color: #fff;
}
 .news-section{
        margin-top: 0px !important;
    }
    .teaser-wrapper .news-section {
        margin-top: 0px !important;
    }
}
@media(max-width: 600px){
 .teaser-right{
                position: initial;
            }
            .teaser-right img{
                width: 100%;
            }
            .teaser-left a{
                position: absolute;
                bottom: 20px;
                left: 20px;
            }
            .teaser-inner{
                padding-bottom: 90px;
            }
}
@media (max-width: 575px) {
/*    .mask-gallery .gallery .image .image-wrap img { height: 130px; }*/
}

.fancybox-caption .fancybox-caption__body {text-align: left; }


@media (min-width: 786px) {    
    .news.news-single .mask-gallery .slick-slider .slick-arrow {background: none !important;}
    .news.news-single .mask-gallery .slick-slider .slick-arrow path {fill: #003e6e;}
    .news.news-single .mask-gallery .slick-slider .slick-arrow:hover {background: #003e6e !important;}
    .news.news-single .mask-gallery .slick-slider .slick-arrow:hover path {fill: #ffffff;}
}
@media (max-width: 480px) {
    .fancybox-caption__body { max-height: 20vh !important; }
    .fancybox-caption__body::-webkit-scrollbar { width: 6px;}
    .fancybox-caption__body::-webkit-scrollbar-track { background: #d1d3d5;}
    .fancybox-caption__body::-webkit-scrollbar-thumb {background: #6c757d;border-radius: 3px;}
}
#shareModal .modal-body a {white-space: nowrap;}
.mask-gallery .gallery .slick-arrow { width: 48px; height: 48px; font-size: 22px;}

.news-single .card-body .blockquote svg{ padding-bottom: 7px;padding-left: 5px;font-size: 15px !important;}
/*.news-single .card-body .blockquote p{ display:inline; }*/
.news-single .card-body .blockquote h4{ display:inline; }
.news-single .card-body .d-flex.align-items-end {display: none !important;}
.news-single .card-body .quote-start svg{font-size: 15px !important; }
.news-single .card-body .quote-start {margin-right:7px !important;}
.news-single .card-body .flex-row{margin-top:0.7rem}
.news-single .card-body figure{margin:0px;}

/*Information sea ice section*/
.news {
    /*background-image: url(./images/section-bg.png);*/
    /*background-repeat: no-repeat;
    background-size: cover;*/
    /*padding: 90px 0px;*/
}

.title h2 {
    color: #003e6e !important;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 40px;
}

.news-inr-body {
    padding: 1rem;
    background: #fff;
    margin-bottom: 30px;
    /*min-height: 385px;*/
    position: relative;
}

.title-inr h3 {
    color: #003e6e;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 20px;
    word-break: break-word;
}

.news-section a svg {
    width: 25px;
}

.news-section a {
    /*display: flex;
    align-items: center;
    justify-content: end;
    width: max-content;
    margin-left: auto;*/
}

.news-info-teaser .date-small p, .news-info-teaser .date-small span {
    font-size: 16px;
    margin-bottom: 10px;
}

p.quote,
.news-section.bg-blue .news-inr-body p,
.news-section .teaser-text p,
.news-list-view .news-info-teaser .article .card .card-body .teaser-text p {
    font-size: 16px;
    margin-bottom: 16px;
}

.news-section.bg-blue .news-inr-body {
    background: #003E6E;
}

.news-section.bg-blue .news-inr-body .date p {
    color: #fff;
    font-size: 32px;
    font-weight: 500;
}

.news-section.bg-blue * {
    color: #fff;
}

.news-section.bg-blue a svg path {
    fill: #fff;
}

/*.news-section a svg path {
    fill: #003E6E;
}*/

.news-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img-wrap {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.news .col-lg-4:nth-child(2) {
    margin-top: 86px;
}

.news .col-lg-4:nth-child(2) .news-section {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news .col-lg-4:nth-child(2) .news-inr-body {
    min-height: auto;
}

.news-section:last-child .news-inr-body {
    margin-bottom: 0;
}

span.tag {
    position: absolute;
    top: 0;
    right: 20px;
    color: #fff;
    background: #00ace5;
    padding: 8px 10px;
    max-width: 84px;
    border-radius: 0 0 15px 15px;
    line-height: normal;
    font-weight: 500;
    overflow-wrap: anywhere;    
    word-wrap: break-word;       
    word-break: break-word;   
    -webkit-hyphens: auto;    
    hyphens: auto;
}


.blue-bg-teaser .date p {
    font-size: 1.5rem !important;
    font-weight: 500 !important;
}

.frame:not(:last-of-type) {
    margin-bottom: 24px;
}

.news-section-mt {
    margin-top: 40px;
}

.frame-type-mask_polarstern_teaser {
    margin-top: 89px;
}

.transform-hack:after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #cececea1;
    z-index: -1;
} 
.wim-66-33-container.transform-hack .container, .wim-33-33-33-container.transform-hack .container {
    z-index: 1;
    position: relative;
}

/*Animation teaser*/

.teaser-left {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.teaser-inner h2{
    font-size: 2.5rem !important;
    font-weight: 500 !important;
    color: #fff !important;
    margin-bottom: 30px;
}
.teaser-inner  p{
    color: #fff;
    font-size: 2rem !important;
}
.teaser-right {
    background: #f2f2f2;
}
.teaser-right img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /*max-height: 350px;*/
}
.teaser-left a{
    width: max-content;
    margin-top: auto;
}

.portrait-img{
    padding-left: 20px;
}
 .teaser-right img{
    border-right: 25px solid #003E6E;
}
.portrait-img img , .square-img img{
    object-fit: cover;
}
.square-img img {
    padding: 20px 0px 20px 0px;
}

.news-wrapper a img {
    height: 100%;
    object-fit: cover;
}
.news-wrapper a {
    display: flex;
    height: 100%;
}

.news-section {
    /*display: flex;
    flex-direction: column;
    height: 600px;
    display: -webkit-flex;*/
/*
    display: grid;
    grid-template-rows: 1fr 2fr;
    gap: 0;
*/    width: 100%;
} 
.copyrite-image-wrapper {
    width: max-content;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.copyrite-image-wrapper img {
    padding: 0 !important;
}

.copyrite-image-wrapper.copyright-slider{
    width: 100%;
}

.copyrite-image-wrapper.copyright-slider img{
    width: 100%;
    /*height: 100% !important;*/
    object-fit: cover !important;
}

.figure:has(.copyright) {
  overflow: hidden;
}


@media(max-width:1024px){
    .news{
        /*padding: 60px 0px;  */
    }
    .news .col-lg-4:nth-child(2) , .news .col-lg-4:nth-child(3) {
        margin-top: 30px;
    }
    .title h2 {
        font-size: 1.75rem;
        margin-bottom: 30px;
    }
    .title-inr h3 , .news-section.bg-blue .news-inr-body .date p{
        font-size: 1.5rem;
    }
    .news-inr-body{
        min-height: auto;
    }
    .news-inr-body{
        padding: 20px;
    }
    .news-section a svg {
        width: 16px;
    }
    .frame-type-mask_polarstern_teaser {
        margin-bottom: 5em;
        margin-top: 136px;
    }
    .news-section-mt {
        margin-top: 89px;
    }
    /* .teaser-right.normal-img .copyright{
        bottom: 0 !important;
    } */
    .teaser-right.long-img .copyright {
        bottom: 20px !important;
        margin: 0 !important;
    }
    /* .teaser-right.wide-img .copyright-wrapper .copyright{
         bottom: 90px !important;
    } */
   
}
@media(max-width: 767px){
    section.teaser .teaser-inner h2{
        font-size: 1.8rem !important;
    }
    .teaser-inner h3{
        max-width: 320px !important;
    }
    .teaser-right.long-img img {
        max-height: 183px;
        min-width: 130px;
    }
    .teaser-right.wide-img img {
        max-height: 110px;
    }
    .teaser-right.normal-img img {
        max-height: 181px;
    }
    .news-section-mt , .frame-type-mask_polarstern_teaser{
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }
    span.tag{
        font-size: 14px;
        padding: 4px 10px;
    }
    .copyright-wrapper img {
        padding: 0 !important; 
    }
    .teaser-right {
        padding: 0 20px !important; 
    }
     .copyright {
            top: inherit !important;
            /* bottom: 0 !important; */
            margin: 0 !important;
        }
    .carousel-picture-border{
        position: relative;
    }

}
@media(max-width:991px){
    section.teaser .teaser-inner h2 , section.teaser .teaser-inner h3{
        color: #003258 !important;
    }
    .teaser-right img{
        border-right: 0 !important;
        max-height: 190px;
    }
    .breadcrumb-wrapper.container, .container.teaser-wrapper , .container.teaser-wrapper .container{
        max-width: 100% !important;
    }
    .container.teaser-wrapper .container{
        padding: 0 20px;
    }
    a.btn.btn-awi-deepblue.teaser-btn:hover{
        background-color: #00355e !important;
        color: #fff !important;
    }
    .teaser-inner{
       min-height: 300px !important;
    }
    .teaser-right{
        border-right: 0 !important;
    }
    .teaser-right.wide-img .copyright-wrapper .copyright {
        bottom: 20px !important;
        margin: 0 !important;
    }

       .teaser-right.normal-img .copyright{
        margin: 0 !important;
    }
       /* .teaser-right.normal-img .copyright {
            bottom: 0px !important;
    } */
    .copyright{
        margin: 0 !important;
    }

}

@media(max-width: 600px){
    .teaser-right img{
        max-height: 100%;
        padding: 0 20px;
    }
       .teaser-inner h2{
    font-size: 1.75rem !important;
    }
     .teaser-right.long-img img {
        max-height: 100%;
        min-width: 100%;
    }
    .teaser-right.wide-img img {
        max-height: 100%;
    }
    .teaser-right.normal-img img {
        max-height: 100%;
    }
}

   .news-section{
        margin-top: 88px !important;
    }
    .date {
    padding-right: 101px;
}

/* ............................... Updated "Zitat" (quote) element .......................................*/

.portal-card-wrapper .card-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    border-left: 25px solid #00ace5;
    column-gap: 40px;
}

.portal-card-wrapper .container {
    padding: 0px;
}

.portal-card-wrapper .text-content {
    padding: 40px 50px;
}

.portal-card-wrapper .text-content p,
.portal-card-wrapper .text-content span {
    font-style: italic;
    font-weight: 300 !important;
    color: #003e6e;
}

.portal-card-wrapper .text-content.text-white  p,
.portal-card-wrapper .text-content.text-white  span {
    font-style: italic;
    font-weight: 300 !important;
    color: #fff;
}

.portal-card-wrapper .text-content.text-black  p,
.portal-card-wrapper .text-content.text-black  span {
    font-style: italic;
    font-weight: 300 !important;
    color: #000;
}

.portal-card-wrapper .text-content p {
    font-size: 24px !important;
    margin: 0;
    margin-bottom: 20px;
    line-height: 32px;
}

.portal-card-wrapper .video-thumbnail {
    aspect-ratio: 4 / 3; 
    /*height: 100%;*/
    position: relative;
}

.portal-card-wrapper .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portal-card-wrapper .portal-title h2 {
    color: #003e6e;
    line-height: 1.3;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 500;
}

.portal-card-wrapper .video-grid {
    background: #f2f2f2;
}


@media(max-width:1024px) {
    .portal-card-wrapper .text-content p {
        font-size: 18px !important;
        margin-bottom: 15px;
        line-height: 26px;
    }

    .portal-card-wrapper .text-content span {
        font-size: 14px;
    }
    .portal-card-wrapper .text-content {
       padding: 20px;
    }
}

@media (max-width: 767px) {
    .portal-card-wrapper .card-grid {
        grid-template-columns: 1fr;
        border: none;
    }

    .portal-card-wrapper .card-grid.video-grid .text-content {
        padding: 20px 16px;
    }

    .portal-card-wrapper .portal-title h2 {
        margin-bottom: 20px;
        font-size: 24px;
    }
   
    .portal-card-wrapper .text-content {
        padding: 20px 0px;
    }
    .portal-card-wrapper .text-content{
        padding-top: 0;
    }

    .portal-card-wrapper .text-content.quote-text {
        padding: 20px;
    }
}

.portal-card-wrapper .text-content.quote-text p {
    display: inline;
}

.portal-card-wrapper .text-content.quote-text > div {
    display: inline;
}

.portal-card-wrapper span.quotes-writter {
    display: block;
    margin-top: 30px;
}
.portal-card-wrapper span.quote-after, span.quote-before {
    font-size: 22px;
}

@media (max-width: 767px){
   .portal-card-wrapper span.quotes-writter {
        margin-top: 15px;
    } 
}

/* ............................... Updated "Zitat" (quote) element .......................................*/