﻿/************************************************
 News Publisher
*************************************************/

/* News list */

div.newspublisher-maincontainer {
}

ul.newspublisher {
    margin: 0;
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
}

li.newspublisher {
    list-style: none;
}

div.newspublisher-container {
    overflow: hidden;
    clear: both;
    margin-bottom: 10px;
    
    /* Just a rounded demo newsbox */
    padding: 0px 20px 10px 20px;
    background-color: #fff;
    border-radius: 8px 8px 8px 8px;
    -moz-border-radius: 8px 8px 8px 8px;
    -webkit-border-radius: 8px 8px 8px 8px;
    border: 1px solid #ccc;    
    -webkit-transition: background-color 0.3s ease-in-out;
    -moz-transition: background-color 0.3s ease-in-out;
    -o-transition: background-color 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out; 
    /* end of demo css */
}

div.newspublisher-container:hover {
    /* Just a rounded demo newsbox */
     -webkit-transition: background-color 0.3s ease-in-out;
    -moz-transition: background-color 0.3s ease-in-out;
    -o-transition: background-color 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
    background-color: #f0f0f0;
    /* end of demo css */    
}

.newspublisher-title {
}

.newspublisher-content {
}

.newspublisher-picture {
    border: 1px solid #333;
    height: 150px;
    width: 200px;
    float: left;
    margin: 4px 12px 8px 0;
    overflow:auto;
    background-repeat: no-repeat;
    background-position: center; 
    background-size: cover;
}

/* Single News message */

.newspublisher-news-title {
}

.newspublisher-news-text {
}

.newspublisher-button {
}

.shorten-2-lines {
	overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.shorten-4-lines {
	overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.shorten-6-lines {
	overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.blog .item .title h4 {
	margin-bottom: 10px !important;
}

.blog .item p {
	color: rgb(255 255 255 / 66%);
	margin-bottom: 0;
}