
/*
 * News card
 */
.news-card {
    transition: all 0.3s ease-in-out;
    border-radius: 4px;
    /*border: 1px solid transparent;*/
    padding: 16px;
    width: 100%;
}

/* ------ */
.news-card.grid {
    margin-right: 16px !important;
    margin-bottom: 16px !important;
}

/* ------ */
.news-card:hover {
    /*border: 1px solid rgba(38, 60, 132, 0.15);*/
    border-radius: 4px;
    padding: 16px;
    cursor: pointer;
    transform: scale(1.02);
    box-shadow: 0px 24px 24px rgba(0, 0, 0, 0.08);
}

.news-card .news-cover-img {
    position: absolute;
    opacity: 0;
    width: 100%;
    transition: all 0.3s ease-in-out;
}

.news-card .news-cover-img > img {
    border-radius: 4px;
    width: 100%;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
}

.news-card:hover .news-cover-img {
    opacity: 1;
}

.news-card .news-line-drawing {
    transition: all 0.3s ease-in-out;
    background-color: rgba(38, 60, 132, 0.05);
}

.news-card:hover .news-line-drawing {
    background-color: white;
}

.news-card .a {
    color: #2f2f2f;
}

.news-card .news-line-drawing > img {
    width: 100%;
    object-fit: cover;
}

.news-card .news_date {
    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 22px;
    /* identical to box height, or 157% */

    /* Salmon */
    color: #DE3564;
    position: relative;

}


/* ----------------------------------- */
.news-card .tags {
    font-weight: 300;
    font-size: calc(1.025vw);
    line-height: 1;
    color: black;
    display: flex;
    flex-flow: row wrap;
}

.news-card.small .tags {
    display: none;
}



/* tag link */

.news-card .li-tag-link-label {
    position:relative;
    font-style: normal;
    font-weight: 300;
    font-size: var(--font-size-xd-14);
    line-height: 1;
    color: black;
    width: fit-content;
    padding: 0px;
    padding-top: 2px;
    padding-bottom: calc(0.42vh);
    padding-right:8px;
    border-radius: 100px;
    margin-left: -8px;
    padding-left: 8px;
    margin-right: 12px;
    transition: all 0.8s cubic-bezier(.05, .69, .14, 1);
    cursor: pointer;
}

.news-card .li-tag-link-label.selected {
    color: rgb(222, 53, 100);
    background-color: rgba(222, 53, 100, 0.08);
}

.news-card .li-tag-link-label:hover {
    color: black;
    background-color: rgba(40, 40, 40, 0.053);
}

/* --------- */
.news-card .title {
    color: #000000;
    position: relative;
}

.news-card .lead,
.news-card .introtext {
    /* Medium Blue */
    color: #000000;
    position: relative;
}

.news-card .dimension {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #263C84;
    text-transform: uppercase;
}

.news-card .card-body {
    padding-left: 0px;
    padding-right: 0px;
}


/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .news-card.grid
    {
        max-width: 400px;
        width: 100%;
        min-width: 200px;
    }
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {
    .news-card.grid {
        max-width: 400px;
        width: 100%;
        min-width: 200px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .news-card.grid {
        max-width: 400px;
        width: 100%;
        min-width: 200px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .news-card.grid {
        max-width: 400px;
        width: 100%;
        min-width: 200px;
    }
}

/**
Slick view - 100% width
 */
.model-slick-item > .news-card.grid {
    width:100%;
    max-width: 100%;
}


