@media all {

    /* ultimele noutati*/
    .trimtext2 {
        padding: 0 20px;
        text-align: justify;
        text-indent: 25px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 6;
        overflow: hidden;
    }

    .four_elements,
    .one_element,
    .two_elements,
    .unu_element {
        padding-top: 3%;
        width: 95%;
        margin: 0 2.5%;
    }

    /*
    .unu_element .unu_element {
        padding-top: 1%;
        width: 95%;
        margin: 0 2.5%;
    }

    .chenar_unu {
        color: #3C3D37;
        width: 73%;
        margin: 0 13.5% 25px 13.5%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        background-color: #F7F7F7;
    }

    .chenar_unu .chenar_unu {
        width: 95%;
        margin: 0 2.5% 25px 2.5%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        background-color: white;
    }

    .chenar_unu .chenar_unu:hover {
        background-color: white;
    }

    .chenar_unu:hover {
        /* width:73%;
margin:0 13.5% 50px 13.5%;
min-height: 100px;
height:auto;
border-radius:10px;
        cursor: pointer;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        background-color: rgb(238, 177, 177);
    }
        */

    .trimtext2 a {
        color: #000;
        text-decoration: none;
    }

    .trimtext2 a:hover {
        color: #2729ca;
    }

    /* .chenar-div-mic {
        height: fit-content;
    } */

    .chenar-div-mediu {
        height: 25vh;
    }

    .chenar-div-mare {
        height: 40vh;
    }

    .chenar-div-mare p,
    .chenar-div-mediu p {
        text-indent: 20px;
        padding: 0 2%;
    }

    /*
    .articol-economie,
    .contur-chenar-albastru {
        box-shadow: 0 4px 8px 0 rgba(0, 155, 212, 0.2), 0 6px 20px 0 rgba(0, 155, 212, 0.19);
    }
        */



    .contur-chenar-mov {
        box-shadow: 0 4px 8px 0 rgba(120, 68, 172, 0.2), 0 6px 20px 0 rgba(120, 68, 172, 0.19);
    }

    /*
    .articol-urbanism,
    .contur-chenar-roz {
        box-shadow: 0 4px 8px 0 rgba(224, 88, 220, 0.2), 0 6px 20px 0 rgba(224, 88, 220, 0.19);
    }

    .articol-administratie,
    .contur-chenar-rosu {
        box-shadow: 0 4px 8px 0 rgba(212, 41, 44, 0.2), 0 6px 20px 0 rgba(212, 41, 44, 0.19);
    }

    .articol-mediu,
    .contur-chenar-verde {
        box-shadow: 0 4px 8px 0 rgba(36, 166, 16, 0.2), 0 6px 20px 0 rgba(36, 166, 16, 0.19);
    }

    .articol-publicatii {
        box-shadow: 0 4px 8px 0 rgba(209, 129, 14, 0.4), 0 6px 20px 0 rgba(209, 129, 14, 0.3);
    }
        */

    .div-class-center {
        width: 90%;
        margin: 2% 5%;
        text-align: justify;
        align-items: center;
        line-height: 2em;
    }

    .div-class-center p {
        text-indent: 30px;
        text-align: justify;
    }

    /* ultimele stiri */

    .chenar {
        width: 29.33%;
        margin: 0 2% 50px 2%;
        float: left;
        /* height: 450px; */
        height: 38em;
        border-radius: 10px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        background-color: #FFF;
        position: relative;
    }

    .chenar1 {
        width: 30%;
        margin: 0 35% 50px 35%;

        height: 450px;
        border-radius: 10px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        background-color: #FFF;
        position: relative;
    }

    .chenar i,
    .chenar4 i,
    .chenar6 i,
    .chenar8 i,
    .chenar1 i {
        width: 100px;
        height: 100px;
        text-align: center;
        font-size: 55px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 25px auto;
        border: 1px solid black;
        border-radius: 50%;
        transition: all .3s ease-out;
    }

    .chenar i:hover,
    .chenar4 i:hover,
    .chenar6 i:hover,
    .chenar8 i:hover,
    .chenar1 i:hover {
        font-size: 60px;
    }

    .trimtext {
        padding: 0 30px;
        text-align: justify;
        text-indent: 25px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 6;
        overflow: hidden;
    }


    .chenar img,
    .chenar4 img,
    .chenar6 img,
    .chenar8 img,
    .chenar1 img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        border-radius: 10px 10px 0 0;
        margin-bottom: 10px;
    }

    .chenar4 {
        /* width: 23%;*/
        margin: 0 1% 30px 1%;
        float: left;
        height: 60vh;
        border-radius: 10px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        background-color: #FFF;
        position: relative;
    }

    .chenar4 a,
    .chenar a,
    .chenar1 a {
        text-decoration: none;
        color: black;
    }

    .buton-fixat {
        position: absolute;
        bottom: 0;
        left: 50%;
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);

    }
}

@media (min-width:981px) {

    .four_elements {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
}

@media (min-width:641px) and (max-width: 980px) {
    .four_elements {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:640px) {
    .four_elements {
        display: grid;
        grid-template-rows: repeat(4, 1fr);
    }
}


.div-mare-noutati {
    display: grid;
    gap: 1em;
    margin: auto;
    justify-content: center;
}

.card-noutati {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.1);
    max-width: 25em;
    text-align: center;
}

.card-noutati p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.6em;
    text-align: center;
    /* font-weight: 800; */
}

.card-noutati a {
    word-break: break-all;
}

.card-noutati img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5em;
}

@media (min-width:981px) {
    .div-mare-noutati {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* TABLETA SI TELEFON */
@media (max-width:981px) {

    .card-noutati {
        max-width: 20em;
    }

    .card-noutati p {
        font-size: 0.8em;
    }

}

/* TABLETA */
@media (max-width:980px) and (min-width:641px) {
    .div-mare-noutati {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* TELEFON */
@media (max-width: 641px) {
    .card-noutati img {
        display: none;
    }

    .div-mare-noutati {
        grid-template-columns: repeat(1, 1fr);
    }
}