﻿/* #region NEWS */

.news, .newsPress {
    background: #fff;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    margin: 30px 0;
}

.newsPress {
    border: 1px solid #eaeaea;
}

    .news .img-figure, .newsPress .img-figure {
        height: 45px;
        overflow: hidden;
    }

    .news h2, .newsPress h2 {
        margin: 0;
        text-transform: uppercase;
        font-weight: bold;
        font-size: 15px;
        color: #2f4057;
        text-align: left;
    }

    .news .title, .newsPress .title {
        min-height: 40px;
        margin-top: 10px;
    }

    .news .description, .newsPress .description {
        font-weight: normal;
        text-align: left;
        height: 85px;
        max-height: 85px;
        text-overflow: ellipsis;
        color: #2f4057 !important;
    }

        .news .description span, .newsPress .description span {
            height: 85px;
            max-height: 85px;
            text-overflow: ellipsis;
        }

.news .newsContent {
    background-color: white;
    border: 1px solid #eaeaea;
    height: 110px;
    max-height: 110px;
    padding-top: 8px;
}

.news .newsDate {
    font-size: 14px;
    padding-top: 10px;
    font-weight: bold;
    color: white;
    height: 110px;
    background-color: rgba(47, 64, 87,0.8);
}

.news:hover .newsContent {
    background-color: rgba(47, 64, 87,0.4);
    border-left: unset !important;
}

    .news:hover .newsContent .title {
        background-color: unset !important;
    }

        .news:hover .newsContent .title h2, .news:hover .newsContent .relatedNews {
            color: white !important;
        }

p.more {
    text-align: center;
    color: #2f4057 !important;
}

.more a {
    position: relative;
    font-size: 13px;
    margin-top: 30px;
    display: block;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    display: inline-block;
}

    .more a:after {
        content: '';
        width: 18px;
        height: 1px;
        position: absolute;
        left: 55px;
        top: 9px;
        vertical-align: middle;
        margin-left: 10px;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -ms-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
    }

.newsDetail_Actions {
    border-bottom: 1px solid rgba(47, 64, 87, 0.2);
}

.linkClassifica {
    padding: 5px 0;
    font-size: 13px;
    font-weight: 400;
    color: white;
    cursor: zoom-in;
}

    .linkClassifica button {
        width: 150px;
        padding: 5px;
        background-color: rgba(47, 64, 87,0.8);
        margin-right: 10px;
        border: 0px;
    }

/* #endregion */


/*#region CATEGORY & NEWS*/
.custom-search-form {
    margin-top: 5px;
}

    .custom-search-form .btn-primary,
    .categoriesSection .active {
        background: rgba(47, 64, 87, 0.7);
    }


.categoriesSection .list-group-item:hover,
.categoriesSection .list-group-item.active:hover {
    background: rgba(47, 64, 87, 0.9);
    color: white;
}

.categoriesSection .list-group-item .badge {
    background: rgba(47, 64, 87, 0.7);
}

.categoriesSection .list-group-item:hover .badge,
.categoriesSection .list-group-item.active .badge {
    background: white;
    color: rgb(47, 64, 87);
}
/* #endregion*/

.shareNews {
    text-align: right;
}

    .shareNews i {
        margin: 0 5px;
        cursor: pointer;
        font-size: 14px;
        color: #2f4057;
    }

#shareIcons {
   text-align: right;
}

@media only screen and (max-width: 1200px ) {
    .news .newsContent {
        background-color: white;
        border: 1px solid #eaeaea;
        height: 100%;
        max-height:900px;
    }
    .linkClassifica button {
        margin: 10px 0px;
    }
}

@media only screen and (max-width: 668px ) {
    .news .description, .newsPress .description {
        height: 40px;
        max-height: 40px;
    }
}

@media only screen and (max-width: 375px) {
    .news .description, .newsPress .description {
        height: 55px;
        max-height: 55px;
    }
}



.padPress {
    padding: 30px 70px !important;
}
@media only screen and (max-width: 767px) {
    .padPress {
        padding: 30px 30px !important;
    }
}