/*....  NEWS  ..............................................................*/

/* News Box */
.newsbox {
    background-color: #F1F8FF;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    position: relative;
    border-radius: 3px;
    margin-top: 1.5rem;
    border-top: 2px solid #5583d3;
}

.topheader {
    font-weight: 400;
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: .1rem;
    position: absolute;
    top: -1.4rem;
    left: 0;
    background-color: #5583d3;
    color: white;
    padding: .25rem .5rem;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.newsbox h3 {
    font-weight: 400;
    font-size: 1.1rem;
}

.newsbox .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: self-start;
}

.newsbox .container .news {
    display: block;
    width: 31.5%;
    margin: 1rem 0;
    color: #002461;
    font-size: .9rem;
    line-height: 1.25rem;
}

@media screen and (max-width: 1400px) {
    .newsbox .container .news {
        width: 48%;
    }
}

@media screen and (max-width: 1000px) {
    .newsbox .container .news {
        width: 100%;
    }
}

.newsbox .container .grid {
    width: 100%;
    display: grid;
    grid-template-columns: 3fr;
    grid-template-rows: 100%;
    gap: 2rem;
}

@media screen and (max-width: 1400px) {
    .newsbox .container .grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 1200px) {
    .newsbox .container .grid {
        grid-template-columns: 1fr 0fr;
        gap: 0rem;
    }
}

.newsbox .container .news .image {
    padding-bottom: 42%;
    background-color: #d1deea;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
    border-radius: 3px;
    margin-bottom: .7rem;
}

.newsbox .container .news .grid-image {
    grid-column: 2/3;
    grid-row: 1/2;
    background-color: #d1deea;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
    border-radius: 3px;
    margin-bottom: .7rem;
    padding-bottom: 150%;
    height: 0;
}

.newsbox .container .news .content {
    width: 100%;
    color: #212b3c;;
    font-size: .9rem;
    line-height: 1.25rem;
}

.newsbox .container .news .content pre {
    width: 100%;
}

.newsbox .container .news a {
    width: 100%;
    color: white;
    background-color: #50A731;
    padding: 0 .5rem;
    border-radius: 5px;
    font-size: .9rem;
    line-height: 1.25rem;
    cursor: pointer;
}

.newsbox .container .news a:hover {
    background-color: #5583d3;
}


.newsbox .container .news .grid-content {
    grid-column: 1/2;
    grid-row: 1/2;
    width: 100%;
    color: #212b3c;
    font-size: .9rem;
    line-height: 1.45rem;
}

.newsbox .container img {
    display: block !important;
    width: 100%;
    margin: 1rem 0 !important;
    height: auto;
    background-color: rgba(80, 167, 49, .1);
    color:#50A731;
    font-size: .8rem;
    font-weight: 400;
    font-style: italic;
    text-decoration: none;
    border: none;
}

.newsbox .container .news h4 {
    color: #002461;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: .6rem;
    margin-bottom: .6rem;
    border-left: 2px solid #5583d3;
    padding-left: 1rem;
}

.newsbox .container .news .grid-content h4 {
    color: #002461;
    font-size: 1.55rem;
    line-height: 1.85rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    border-left: 2px solid #5583d3;
    padding-left: 1rem;
}

.newsbox .container .news h5 {
    color: #002461;
    background-color: rgba(85, 131, 211, .2);
    width: 100%;
    font-size: .8rem;
    line-height: 1rem;
    font-weight: 400;
    padding: .1rem .8rem;
    border-radius: 3px;
    margin-bottom: .3rem;
}

.newsbox .container .news h2 {
    color: #172f59;
    font-size: 1rem;
    font-weight: 500;
    padding: .5rem 0;
    text-decoration: underline;
    display: block;
}

.newsbox .container .news h3 {
    color: #172f59;
    font-size: 1rem;
    font-weight: 500;
    padding: .5rem 0;
    text-decoration: underline;
    display: block;
}

.newsbox .container .news strong {
    font-weight: 500;
}

.newsbox .container .news .grid-content h5 {
    margin-bottom: 1.3rem;
}

.newsbox .container .news .content p {
    margin-bottom: .6rem;
}

.newsbox .container .news .grid-content p {
    margin-bottom: 1.2rem;
}

.newsbox .container .news p img {
    display: none;
}

.newsbox .container .news ul {
    list-style-type: disc;
    padding-left: 8px;
    margin-left: 16px;
    margin-bottom: .6rem;
}

.paginator {
    position: fixed;
    display: inline-block;
    top: 50%;
    right: 1rem;
    background-color: #50A731;
    color: white;
    padding: .5rem 1rem;
    border-radius: 1rem;
    user-select: none;
}

.paginator:hover {
    transform: scale(1.1);
}

.paginator a {
    color: white;
    font-weight: 600;
}