﻿.filter-news-category {
    display: flex;
    align-items: center;
}

    .filter-news-category h3 {
        font-family: 'Poppins';
        font-style: normal;
        font-weight: 500;
        font-size: 16px;
        line-height: 121%;
        color: #262F33;
    }

.filter-news-brand h5 {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    text-align: center;
    color: #262F33;
    margin: 0rem !important;
}

.filter-news-brand .col-12 {
    border: 1px solid #262F33;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100% !important;
}

    .filter-news-brand .col-12:hover {
        border: 3px solid #262F33;
        cursor: pointer;
    }

.filter-news-brand-active {
    background: #262F33;
    border: 1px solid white !important;
}

    .filter-news-brand-active h5 {
        color: white !important;
    }

.filter-news-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .filter-news-button .btn-primary-blue {
        width: 12rem !important;
        display: flex;
        justify-content: left;
        align-items: center;
    }

.news-main-text p {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 36px;
    text-align: center;
    color: #000000;
}

.form-title {
    margin: 2rem 0rem !important;
}

.uudised-content {
    position: relative;
    overflow: hidden;
}

    .uudised-content:hover a img {
        transform: scale(1.125);
        transition: all 500ms;
    }

    .uudised-content:hover .uudised-description {
        background: #18BDE6;
        transition: all 500ms;
    }

    .uudised-content a img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .uudised-content.col-lg-12 {
        height: 20rem;
    }

.uudised-description {
    position: absolute;
    bottom: 5%;
    left: 5%;
    width: 90%;
    min-height: 5rem;
    padding: 0rem 0.5rem;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url();
    border-radius: 5px;
    min-width: 22rem;
    display: flex;
    align-items: center;
}

    .uudised-description p {
        color: white;
        margin: 0;
    }

.uudised-content a {
    text-decoration: none;
}

.content-visible {
    display: block;
}

.content-hidden {
    display: none;
}

@media (max-width: 481px) {
    .filter-news {
        padding: 4rem 2rem 0rem 2rem;
    }

    .filter-news-container {
        margin: 2rem 0rem;
    }

    .filter-news-brand {
        padding: 0.5rem;
        height: 3rem;
    }

    .banner-second-pages-information {
        justify-content: center !important;
        margin-top: 2rem;
    }
}

@media (min-width: 482px) and (max-width: 980px) {
    .filter-news {
        padding: 4rem 2rem 0rem 2rem;
    }

    .filter-news-container {
        margin: 2rem 0rem;
    }

    .filter-news-brand {
        padding: 0.8rem;
        height: 4.5rem;
    }

    .banner-second-pages-information {
        justify-content: center !important;
        margin-top: 2rem;
    }
}

@media (min-width:961px) {
    .filter-news {
        padding: 2rem;
    }

    .filter-news-brand {
        height: 3rem !important;
    }

    .container-form {
        margin-bottom: 1rem !important;
    }

    .news-container {
        padding: 0rem 3rem 6rem 3rem;
    }
}
