@import "../common.css";

.news {

}

.news .newsItem {
    display: inline-flex;
    max-width: 200px;
    width: 200px;
    height: 330px;
    margin: 2em 2em 2em 0;
}

.newsContent {
    -webkit-flex: 1;  /* Safari 6.1+ */
    -ms-flex: 1;  /* IE 10 */    
    flex: 1; 
}

.news .newsItem.new {
    background-color: rgb(240, 236, 131);
    border-radius: .5em;
    padding-left: .5em;    
    padding-right: .5em;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.news .newsItem.old {
    border-radius: .5em;
    padding-left: .5em;
    padding-right: .5em;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.news .newsImage {
    width: 100%;
    height: 50px;
    background-color: rgb(240, 236, 131);
    border-radius: 3px;
    margin-top: .5em;
    margin-bottom: .5em;
    max-height: 11.5em;
    overflow: hidden;
}

.news .newsWithoutImage {
    width: 100%;
    height: 50px;
}

.news .newsImage img {
    display:block;
    max-width: 100%;
    max-height: 100%;
    border-radius: 3px;
}

.news .newsDate {
    font-family: Teko, sans-serif;
    font-size: 1.5em;
    color: rgb(171, 222, 190);
}

.news .new .newsDate {
    background-color: rgb(63, 58, 102);
    padding-left: 0.1em;

}

.news h2.newsTitle {
    font-family: Teko, sans-serif;
    font-size: 1.7em;
    font-weight: normal;
    line-height: 1em;
    margin-top: 0;
    margin-bottom: 1em;
    color: rgb(63, 58, 102);
}

.news .newsMessage {
    text-align: justify;
}

.news p.readMore {
    font-weight: bold;
    color: rgb(63, 58, 102);
}