/* 
###
BACKSTAGE 5.1 CSS > NEWS AND CALENDAR PLUGINS
###
*/


.news_content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.news_content .scrollcol {
    width: 55%;
    align-self: flex-start;
}
.news_content .scrollcol.title {
    align-self: flex-start;
    position: sticky;
    top: 180px;
    width: 40%;
}
.news_content .scrollcol .cols {
    columns: 2;
    column-gap: 45px;
}
.animation #handle {
  animation-name: example;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}
@keyframes example {
    0% {transform: translateX(0px);}
    50% {transform: translateX(20px);}
    0% {transform: translateX(0px);}
}


@media screen and (max-width: 1100px) {

    .news_content {
        flex-direction: column;
    }
    .news_content .scrollcol {
        width: 100%;
        align-self: flex-start;
    }
    .news_content .scrollcol.title {
        position: relative;
        top: auto;
        width: 100%;
    }
    .news_content .scrollcol .cols {
        columns: 1;
    }
    .animation {
        display: none;
    }

}


.news-overview {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    row-gap: 60px;
    margin-top: 60px;
}
.news-overview.single {
    margin-top: 0;
}
a.back {
    display: block;
    margin-top: 1em;
}
.news-overview.news-overview--is-calendar {
    /* calendar only class */
}
.news-overview.news-overview--is-news {
    /* news only class */
}
.news-overview .item {
    width: 100%;
    box-sizing: border-box;
    background: var(--accents);
    position: relative;

    border-radius: 20px;
    overflow: hidden;
}
.news-overview .item:nth-of-type(even) {
    background: var(--accents2);
}

.news-overview .item a {
   
}
.news-overview .item .image {
    width: 100%;
    position: relative;
}


.news-overview .item .image .arrow {
    content: "";
    width: 40px;
    height: 20px;
    background: var(--accents);
    position: absolute;
    left: 50px;
    bottom: 8px;
    z-index: 3;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.news-overview .item:nth-of-type(even) .image .arrow {
    background: var(--accents2);
}


.news-overview .item .news-overview-content {
    padding: 2em;
    line-height: 1.5;
    box-sizing: border-box;
    width: 100%;
    padding: 40px;
    padding-top: 35px;
    position: relative;
}
.news-overview .item .news-overview-content h2 {
    max-width: 80%;
}
.news-overview .item .news-overview-content h2 em {
    font-weight: 400;
    font-style: normal;
    font-family: 'sensei';
    display: block;
}
.news-overview .item .news-overview-content h2 em span {
    color: var(--color);
}

.news-overview .item .news-overview-content .btn {
    padding-left: 40px;
    position: relative;
}
.news-overview .item .news-overview-content .btn:before {
    content: "";
    width: 16px;
    height: 8px;
    background: #fff;
    position: absolute;
    left: 16px;
    top: 50%;
    margin-top: -4px;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    transition: all 300ms ease-in-out;
}
.news-overview .item .news-overview-content .btn.clicked:before {
    transform: rotate(-180deg);
}

.news-overview .item .news-overview-content .meta {
    font-size: .8em;
    color: rgba(0,0,0,0.3);
    margin-top: 30px;
    position: absolute;
    right: 30px;
    bottom: 30px;
}
.news-overview .item .news-overview-content .showtext {

}
.news-overview .item .news-overview-content .text {
/*    max-width: 600px;*/
    padding-top: 25px;
    padding-bottom: 35px;
    display: none;
}
.news-overview .item .news-overview-content .text.active {
    display: block;

}
.news-overview .item .tools {
    color: var(--color);
    position: absolute;
    right: 40px;
    top: 35px;

    display: flex;
    column-gap: 20px;
}
.news-overview .item .tools img {
    display: block;
    width: 30px;
    cursor: pointer;

    filter: brightness(0) saturate(100%) invert(15%) sepia(39%) saturate(2624%) hue-rotate(180deg) brightness(91%) contrast(95%);
}
.news_item .section {
    margin-top: 40px;
    padding: 40px;
    background: var(--accents);
}
div.pagination {
    display: flex;
    justify-content: center;
    width: 70%;
    margin: 40px auto;
    margin-bottom: 0;
}
div.pagination div {
    width: 50px;
    height: 50px;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 50px;
    text-align: center;
    margin: 0 10px;
}
div.pagination div:not(.disabled) {
    background: var(--accents);
}
div.pagination div a {
    display: block;
    color: var(--main);
}
div.pagination div:hover:not(.disabled),
div.pagination div.active {
    background: var(--color);
}
div.pagination div:not(.disabled):hover a,
div.pagination div.active,
div.pagination div.active a {
    color: var(--background);
}

.tag-wrapper .tag {
    background: var(--color);
    border-radius: 8px;
    padding: 2px 6px;
    color: white;
    margin: 2px;
    text-align: center;
    font-size: 0.8em;
}

@media screen and (max-width: 1000px) {

/*    .news-overview {
        display: block;
        width: 100%;
        margin-left: 0;
    }
    .news-overview .item {
        width: 100%;
        margin: 0;
        margin-bottom: 1em;
        background: transparent;
    }
    .news-overview .item:last-of-type {
        margin-bottom: 0;
    }
    .news-overview .item a {
        flex-direction: row;
    }
    .news-overview .item a .image {
        width: 30%;
    }
    .news-overview .item a .news-overview-content {
        width: 100%;
        padding: 0 15px;
        padding-right: 0;
    }
    .news-overview .item a .news-overview-content .title {
        font-size: 1em;
    }
    .news-overview .item a .news-overview-content .meta,
    .page_content .date {
        font-size: .9em;
        white-space: nowrap;
    }*/

    .news-overview .item .news-overview-content {
        padding: 25px;
    }
    .news-overview .item .tools {
        position: relative;
        right: auto;
        top: auto;
        margin-top: 25px;
    }
    .news-overview .item .tools img {
        width: 20px;
    }

    .news-overview .item .image .arrow {
        width: 20px;
        height: 10px;
        left: 20px;
    }

}
