.highlights {
    margin-bottom: 50px;
}

.highlights-box-container {
    background: #e9e6e2;
    margin-top: 20px;
}
/*
.highlights-box-container:hover {
        cursor: pointer;
}
*/

.lbc-text {
    padding: 20px;
}
.lbc-text h3 {
    font-size: 30px;
    margin: 0px;
}
.lbc-text p {
    margin: 0px;
    font-size: 16px;
}
.lbc-text hr {
    margin: 20px 80px;
}

.lbc-image {
    position: relative;
}
.lbc-image img {
    width: 100%;
    height: auto;
}

.lbc-image .portrait {
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
    border: 1px solid #ffffff;
    z-index: 5;
}

/* regole aggiuntive classi di controllo posizione blocchi */
.highlights-box-container.underOtherPosition, .highlights-box-container.firstPosition.underOtherPosition {
    margin-top: 0px !important;
}
.highlights-box-container.sameTypeNode {
    margin-top: 0px;
}

.highlights-box-container.firstPosition {
    margin-top: 40px;
}
@media(min-width:768px) {
    .highlights-box-container.firstPosition {
        margin-top: 80px;
    }
}

@media(max-width:991px) {
    .highlights-box-container.sameTypeNode {
        margin-top: 20px;
    }
}
@media(min-width:992px) {
    .highlights-box-container {
        margin-top: -125px;
    }
    .highlights-box-container.firstPosition {
        margin-top: 100px;
    }
}

/* aggiornamento comportamento 2-3-4 blocchi */
@media(min-width:640px) and  (max-width:767px) {
    .highlights .ht-total-2 {
        width: 50% !important;
    }
    .highlights .ht-total-3 {
        width: 33% !important;
    }
    .highlights .ht-total-4 {
        width: 50% !important;
    }
}
@media(min-width:480px) and  (max-width:639px) {    
    .highlights .ht-total-2 {
        width: 50% !important;
    }
    /*
    .highlights .ht-total-3 {
        width: 33% !important;
    }
    */
    .highlights .ht-total-3 {
        width: 100% !important;
    }
    .highlights .ht-total-3 .lbc-text {
        padding: 10px;
        width: 65%;
        float: left;
    }
    .highlights .ht-total-3 .lbc-text hr {
        margin: 10px 60px;
    }
    .highlights .ht-total-3 .lbc-image {
        width: 35%;
        float: right;
    }
    .highlights .ht-total-4 {
        width: 50% !important;
    }
}
@media(max-width:479px) {    
    .highlights .ht-total-2 {
        width: 100% !important;
    }
    .highlights .ht-total-2 .lbc-text {
        padding: 10px;
        width: 65%;
        float: left;
    }
    .highlights .ht-total-2 .lbc-text hr {
        margin: 10px 60px;
    }
    .highlights .ht-total-2 .lbc-image {
        width: 35%;
        float: right;
    }
    .highlights .ht-total-3 {
        width: 100% !important;
    }
    .highlights .ht-total-3 .lbc-text {
        padding: 10px;
        width: 65%;
        float: left;
    }
    .highlights .ht-total-3 .lbc-text hr {
        margin: 10px 60px;
    }
    .highlights .ht-total-3 .lbc-image {
        width: 35%;
        float: right;
    }
    .highlights .ht-total-4 {
        width: 100% !important;
    }
    .highlights .ht-total-4 .lbc-text {
        padding: 10px;
        width: 65%;
        float: left;
    }
    .highlights .ht-total-4 .lbc-text hr {
        margin: 10px 60px;
    }
    .highlights .ht-total-4 .lbc-image {
        width: 35%;
        float: right;
    }
}

/* landscape fix */
/*
@media(max-width:767px) and (orientation: landscape) {

}
*/

/* portrait fix 
@media(max-width:767px) and (orientation: portrait) {

}
*/
