/*********** SECTION POSTS **********/
#id_section_posts {
    display: block;
    width: 100%;
    height: auto;
    background-color: #f8f8f8;
    padding-top: 60px;
    padding-bottom: 60px;
}

.ul_posts, .ul_flex {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.ul_posts > li, .ul_flex > li {
    display: block;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    /*height: auto;*/
}

.ul_flex > li > * {
    display: block;
    margin: auto;
}

.post {
    width: 90%;
    height: auto;  /*400px*/
    border: 0;
    padding: 0;
    display: block;
    margin: auto;
}

.div_img {
    width: 100%;
    height: 200px;    /*50%*/
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

.post h3 {
    margin-top: 20px;
    margin-bottom: 20px
}

.post_text {
    font-family: "Roboto-Light", sans-serif;

    /* hide text if it more than N lines  */
    overflow: hidden;
    /* for set '...' in absolute position */
    position: relative; 
    /* use this value to count block height */
    line-height: 1.2em;
    /* max-height = line-height (1.2) * lines max number (3) */
    max-height: 3.6em; 
    /* fix problem when last visible word doesn't adjoin right side  */
    text-align: justify;  
    /* place for '...' */
    margin-right: -1em;
    padding-right: 1em;
}

.post_text:before {
    /* points in the end */
    content: '...';
    /* absolute position */
    position: absolute;
    /* set position to right bottom corner of block */
    right: 0;
    bottom: 0;
}

.post_text:after {
    /* points in the end */
    content: '';
    /* absolute position */
    position: absolute;
    /* set position to right bottom corner of text */
    right: 0;
    /* set width and height */
    width: 1em;
    height: 1em;
    margin-top: 0.2em;
    /* bg color = bg color under block */
    background: white;
}

.post a {
    font-size: 18px;
    font-weight: bold;
    color: #1279be;
    border-bottom: 1px solid #c5c5c5;
    text-decoration: none;
}

#notizie .ul_posts {
    margin-bottom: 50px;
}

/***************************************************/