﻿body {
    background-color: #ffffff;    
}

/* Large desktops and laptops */
@media (min-width: 1200px) {

}

@media (max-width: 1199px) {
   
}

@media (min-width: 1140px) {
    body {
        padding-top: 80px !important;
    }
}

@media (max-width: 991px) and (min-width: 769px) {
    
}

/* Landscape phones and portrait tablets (max 768px) */
@media (max-width: 768px) {
    .box {
       padding-bottom: 20px !important;
   }
}

@media (max-width: 767px) and (min-width: 541px) {
    
}

@media (max-width: 540px) and (min-width: 481px) {
   
}

/* Portrait phones and smaller */
@media (max-width: 480px) {


}

/* ----------- iPhone 5 and 5S ----------- */
/* Portrait and Landscape */
@media only screen and (max-device-width: 320px) and (-webkit-min-device-pixel-ratio: 2) {
    
}

.newsflash {
    padding-bottom: 20px;
}

.box {
    padding-bottom: 20px;
}

#news {
    background-color: white;
    height: auto;
    width: 100%;
    display: block;
    /*border: 1px solid #e3e3e3;*/
}

#caption {
    /*border: 1px solid #e3e3e3;*/
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
}

.tags {
    display: block;
    /*border: 1px solid #e3e3e3;*/
}

#cat {
    vertical-align: middle;
}

#categories, #share, #favourite {
    display: inline-block;
}

#share {
    text-align: center;
    padding-left: 20px;
    padding-left: 10px;
    width: 10px;
    cursor: pointer;
}

#categories {
    padding: 6px;
    padding-bottom: 10px;
}

#share:hover {
    /*border: 1px solid #45b878;*/
}

.favouritebtn, .sharebtn {
    background-color: white;
    border-radius: 0px;
    /*border-left: 1px solid #e3e3e3 !important;*/
}

.favouritebtn:hover, .favouritebtn:focus, .sharebtn:hover, .sharebtn:focus {
    background-color: white;
    border-left: 1px solid #45b878 !important;
}    

#category {
    color: #45b878;
    cursor: pointer;
}

#category:hover {
    color: #e3e3e3;
}

.newscaption, .categories {
    padding: 10px;
    letter-spacing: -0.5px;
}

.newscaption {
    height: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 275px;
 
}

.btn-default {
    border-color: transparent;
}

#date {
    /*font-weight: bold;*/
    color: #808080;
}

.title {
    display: block;
    position: relative;
    text-align: center;
    bottom: 128px;
    color: white;
    opacity: 0.5;
    -webkit-animation: fadeout 1s; 
       -moz-animation: fadeout 1s; 
         -o-animation: fadeout 1s; 
            animation: fadeout 1s;
}

.browse > a {
    text-decoration: none;
}

@keyframes fadein {
    from { opacity: 0.5; }
    to   { opacity: 1; }
}

@keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0.5; }
}


.browse:hover div.title {
    display: block;
    opacity: 1;
    -webkit-animation: fadein 1s; 
       -moz-animation: fadein 1s; 
         -o-animation: fadein 1s; 
            animation: fadein 1s;
}

.selectable {
    color: inherit;
    cursor: pointer;
}

.selectable:hover {
    color: #45b878;
    text-decoration: none;
}

table, td {
    border: 1px solid #e3e3e3;
}