/* ==========================================================
   yost.technology - STYLE POST
   modulo Post / News
   ========================================================== */

.Title-bl-yostpost-2,
.title-yost-eventi {
    margin-bottom: 30px;

    font-size: 30px;
    text-align: center;
}

.thisothernews .leggiit a {
    display: none;

    margin-top: 20px;

    text-align: center;

    transition: all .3s ease 0s;
}

.nextothernews,
.nextothernews2,
.nextothernews3,
.nextothernews4,
.nextothernews5,
.nextothernews6 {
    position: relative;

    background-color: #f2f2f2;
}

.thisothernewss {
    max-width: 1200px;
    margin: auto;
    padding: 60px 0 30px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.thisothernews .col {
    margin: 0 15px 40px;
}

.YOSTP1 {
    margin: 60px auto 20px;
}

.YOSTP2 a {
    position: relative;
    display: block;
}

.TIPnextothernews {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.twocol .thisothernews {
    width: 50%;
}

.threecol .thisothernews {
    width: 33.33%;
}

.fourcol .thisothernews {
    width: 25%;
}

#undercats {
    max-width: 1200px;
    padding: 0 15px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#undercats li {
    display: inline-block;

    margin: 0 2%;
    padding: 5px;
}

#undercats li a {
    display: block;

    padding: 10px;

    border: 1px solid #D2D2D2;

    color: #666666;

    font-size: 16px;

    transition: all .3s ease 0s;
}

#undercats li a:hover {
    background: #D2D2D2;
    color: #000000;
}

.leggiitx a {
    height: auto !important;
    padding: 10px;

    line-height: 140% !important;
}

@media screen and (max-width: 960px) {

.fourcol .thisothernews,
    .col-sm-4 {
        width: 50%;
    }

}

@media screen and (max-width: 768px) {

.threecol .thisothernews {
        width: 100%;
    }

}

@media screen and (max-width: 600px) {

.twocol .thisothernews,
    .fourcol .thisothernews,
    .col-sm-4 {
        width: 100%;
    }

}
