/********/
/* GRID */
/********/
.cc-news-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-gap: 0rem 2rem;
}
.cc-news-wrapper.sidebar {
    grid-template-columns: 1fr 2fr;
}

/**********/
/* FILTER */
/**********/
.cc-news-filter {
    margin-bottom: 40px;
}
.cc-news-headline {

}
.cc-news-checkboxFilter {
    display: flex;
    flex-flow: column;
}
.cc-news-checkboxFilter > label {
    margin-left: 20px;
}
.cc-news-checkboxFilter > [type="checkbox"] {
    position: relative;
    z-index: 0;
    -webkit-appearance: none;
}
.cc-news-checkboxFilter > [type="checkbox"] + label {
    cursor: pointer;
}
.cc-news-checkboxFilter > [type="checkbox"] + label::before {
    width: 15px;
    height: 15px;
    border-radius: 5px;
    border: 2px solid #FA8813;
    background-color: #fff;
    display: block;
    content: "";
    float: left;
    margin-right: 10px;
    z-index: 5;
    position: relative;
    top: 6px;
}
.cc-news-checkboxFilter > [type="checkbox"]:hover + label::before {
    box-shadow: inset 0px 0px 0px 3px #fff;
    background-color: #FA8813;
    opacity: 0.5;
}
.cc-news-checkboxFilter > [type="checkbox"]:checked + label::before {
    box-shadow: inset 0px 0px 0px 3px #fff;
    background-color: #FA8813;
}
.cc-news-yearsFilter {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}
.cc-news-years {
    margin-right: 10px;
    cursor: pointer;
}
.cc-news-years:last-child {
    margin-right: 0px;
}
/*************/
/* ITEM GRID */
/*************/
.cc-news-ajax-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-columns: min-content;
    grid-gap: 0rem 1.5rem;

}

.cc-news-wrapper.sidebar .cc-news-ajax-wrapper {

    grid-template-columns: 1fr 1fr;
}
.cc-news-itemWrapper {
    border: 1px solid #E5E5E5;
    padding: 15px;
    padding-top: 20px;
    margin-bottom: 30px;
}
.cc-news-ajax-wrapper > .cc-news-itemWrapper {
    min-width: 400px;
}
.cc-news-itemWrapper > div > span:first-child {
    color: #FA8813;
}
.cc-news-itemWrapper > div > span:last-child {
    float: right;
}
.cc-news-itemWrapper > h1 {
    margin-top: 20px;
    margin-bottom: 15px;
    line-height: 23px;
    height: 50px;
    /* truncate */
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}
.cc-news-itemWrapper > img {
    width: 450px;
    height: 250px !important;
    object-fit: cover;
}
.cc-news-itemWrapper > p {
    height: 85px;
    color: black !important;
    max-width: 100%;
    margin: 0px 0 25px 4px;
    /* truncate */
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    padding: 0;
}
.cc-news-itemWrapper > a {
    /* margin-top: 30px; */
    margin-bottom: 10px;
    color: black;
    border: 2px solid #000000;
    border-radius: 4px;
    box-sizing: border-box;
    display: inline-block;
    padding: 7px 20px;
    font-size: 14px;
    font-weight: 700;
}
.cc-news-itemWrapper > a:hover {
    border-color: #FA8813;
    background: #FA8813; 
    color: white;

}

@media screen and (max-width: 1300px) {
    .cc-news-wrapper.sidebar {
        display: grid;
        grid-template-rows:  3fr;
        grid-template-columns:1fr;

    }
    .cc-news-itemWrapper > img {
        width: 100% !important;
    }
    .cc-news-filter {
        margin-bottom: 20px;
    }
    .cc-news-checkboxFilter {
        /*flex-flow:row;*/
        flex-flow: wrap;
    }
    .cc-news-checkboxFilter > [type="checkbox"] {
        position: absolute;
    }
    .cc-news-checkboxFilter > label {
        margin-left: 0px;
        margin-right: 20px;
    }
}

@media screen and (max-width: 1299px) {
    .cc-news-itemWrapper > h1 {
        font-size: 20px !important;
    }
}
/*
@media screen and (max-width: 1100px) {
    .cc-events-ajax-wrapper {
        grid-template-columns: 1fr;
    }

    .cc-event-itemWrapper > h1 {
        margin-bottom: 0px;
    }

    .cc-event-itemWrapper > img {
        width: 100% !important;
    }
}
*/
@media screen and (max-width: 999px) {
    .cc-news-wrapper.sidebar .cc-news-ajax-wrapper {
        grid-template-columns: 1fr;
    }
    .cc-news-itemWrapper > img {
        width: 100% !important;
    }
}
/*

@media screen and (max-width: 1100px) {
    .cc-news-ajax-wrapper {
        grid-template-columns: 1fr;
    }
    .cc-news-itemWrapper > h1 {
        margin-bottom: 0px;
    }
    .cc-event-itemWrapper > img {
        width: 100% !important;
    }
}
@media screen and (max-width: 900px) {
    .cc-news-wrapper {
        grid-template-columns: 1fr;
    }
    .cc-event-itemWrapper > img {
        width: 100% !important;
    }
}

*/


/**********/
/* SLIDER */
/**********/
.news_slider_prevNextControls > .goToPrevSlide {
    position: absolute;
    top: 40%;
    left: -3%;
}
.news_slider_prevNextControls > .goToNextSlide {
    position: absolute;
    top: 40%;
    right: -3%;
}
.news-slider > div.slick-list .slick-slide {
    padding-right: 20px;
    margin-left: 20px;
}
.news-slider > div.slick-list .slick-slide > .cc-news-itemWrapper > a {
    margin-bottom: 15px;
}
.slick-slider .cc-news-itemWrapper > p {
    height: 85px;
    color: black !important;
    max-width: 100%;
    margin: 0px 0 25px 4px;
    /* truncate */
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    padding: 0;
}