﻿.pnl-event-cat li {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    height:25px;
}
.pnl-event-cat .pnl-img {
 height:120px;
 overflow:hidden;
}
.pnl-event-cat a.event-cat-img {
  display:block;
  position:relative;
  margin-bottom:10px;
}
.topic-list a.active {
   color: #ff5e5e
}
.pnl-event-cat a.event-cat-img h3 {
    height: 45px;
    position: absolute;
    bottom: 1px;
    text-align: center;
    background-image: -webkit-linear-gradient(rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
    background-image: -o-linear-gradient(bottom,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
    background-image: -webkit-gradient(from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));
    background-image: linear-gradient(to bottom,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
}
.pnl-event-cat ul {
    margin-bottom: 0;
}
.card {
    list-style: none;
    margin-bottom: 18px;
}
#topcarousel img{
    width:100%;
    min-height:260px;

}
#topcarousel {
     height: 260px;
     overflow:hidden;
}
    #topcarousel a h4:hover {
        color: #eeb404;
    }
.news{
    margin-top: 20px;
}
a.newstitle h2{
    font-size: 32px;
    color:#000 !important;
} 
   
.detailcontent:hover {
    box-shadow: 0 0 5px rgba(0,0,0,.2);
    border-color: #d7d7d7;
}
a.newstitle:hover{ text-decoration:none;  }
.bottom{
    right: 0;
    left: auto;
    background-image: -webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.6) 100%);
    background-image: -o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.6) 100%);
    background-image: -webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));
    background-image: linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.6) 100%);
    background-repeat: repeat-x;
}
.event-cat-img h3{
    font-size: 26px;
    color: white;
    letter-spacing: 5px;
    padding: 7px 0 0;
}

span.date{
    font-size: 12px;
    color: #7f7f7f;
    padding-right: 8px;
}
 
.panel-default>.panel-heading{
    font-size: 18px;
}
 .pagination {
            float: none;
            margin: inherit;
            margin-top: 10px;
        }
  
 .probanner{
     padding-top:10px;
 }
 .cat-title span.right{
     float:right;
     font-size: 14px;
 }
  a.cat-title{
     display:block;
 }
  a.cat-title:hover{
         color: #01091F;
         text-decoration:none;
 }
  a.cat-title span:hover{
         color: #eeb404;
 }
#eventowersearchform{margin-top:10px;}
    #eventowersearchform .form-group {
        width: 90%;
        margin-bottom:0;
    }
    #eventowersearchform #eventowersearch {
        width:99%;
    }
/**detail page**/
@media only screen and (max-width: 992px) {
    .pnl-event-cat .pnl-img{
        height: auto;
    }
    #topcarousel {
        height: auto;
    }
    a.newstitle h2{
        font-size:18px;
    }
}
@media only screen and (max-width: 768px) {
    #eventowersearchform .form-group {
        width: 80%;
    }
    .event-cat-img {
        padding-top: 30%;
        grid-area: 1/1/-1/-1;
        content: '';
        display: block;
        overflow: hidden;
        position: relative;
        background-color: #F1F1F4;
        z-index: 9;
    }
    .news {
        margin-top: 0;
    }
    .home-title {
        margin-top: 0;
    }
    p { 
        margin-bottom: 0;
    }
        .event-cat-img img {
            position: absolute;
            left: 50%;
            top: 50%;
            width: 100%;
            height: auto;
            z-index: 0;
            -webkit-transform: translate3d(-50%,-50%,0);
            transform: translate3d(-50%,-50%,0);
            margin: 0 !important;
        }
    .card {
        margin-bottom: 9px;
    }
    .card-body { 
        padding-bottom: 0.6rem;
    }
    a.newstitle h2 {
        margin-top: 3px;
    }
}