/* row1 search bar and news categories bar */
/*---------------------------------------------*/
body{

    padding-top: 51px;

}

#queryBox{
    border: 1px solid #e5e5e5;
}
.form-group{
    margin-top:14px;
}
.row-search {
    padding-top: 16px;
    padding-bottom: 13px;
    background-color:#f9f9f9;
}


@media (max-width: 768px) {
    .cl-9{
        padding-top: 17px
    }
}

/* category news nav */

.news-category-nav{
    background-color:#f3f3f3;
    border-color:#f3f3f3;
    min-height: 38px;
}

.news-category-nav .navbar-nav > li > a {
    color: #777;
    padding-top: 10px;
    padding-bottom: 6px;
}
.news-category-nav .navbar-nav > li > a:hover,
.news-category-nav .navbar-nav > li > a:focus,
.news-category-nav .navbar-nav > .active > a,
.news-category-nav .navbar-nav > .active > a:hover,
.news-category-nav .navbar-nav > .active > a:focus {
    color: #fff;
    background-color: #ff8600;
}

@media (max-width: 768px) {
    .news-category-nav {
        text-align: center;
        display: none;
    }
    .news-category-nav {
        margin-bottom: 0;
    }
    .news-category-nav .navbar-nav > li > a {
        font-size: 1.1em;
    }
}
@media (max-width: 991px) {
    .news-category-nav li a {
        padding: 10px 12px;
    }
}

/*------------------------------*/

/* carousel */
/*------------------------*/
#myCarousel .carousel-caption {
    left: 0;
    right: 0;
    bottom: 0;
    text-align: right;
    padding: 10px;
    background: rgba(0,0,0,0.6);
    text-shadow: none;

}
#myCarousel .carousel-caption a,#myCarousel .carousel-caption a:hover,#myCarousel .carousel-caption a:active,#myCarousel .carousel-caption a:focus {
    color: #ffffff;
}

#myCarousel .carousel-indicators{
    right:70%;
}

#myCarousel .list-group {
    position:absolute;
    top:0;
    right:0;
}
#myCarousel .list-group-item {
    border-radius:0;
    cursor:pointer;
    border-color: #d8d8d8;
    padding-top: 0;
    padding-right: 7px;
    padding-left: 0;
    height: 59px;
}
#myCarousel .list-group .active {
    background-color:#efefef;
    color:black;
}

#myCarousel .list-group li h4 {
    font-size: 12px;
    line-height: 1.3em;
}

#myCarousel .carousel-inner > .item {
    width: 100%;
    background-color: #000000
}
#myCarousel .carousel-inner > .item > a > img {
    max-width: none;
    height: 350px;
}

@media screen and (min-width: 992px) {
    #myCarousel {padding-right:33.3333%;}
    #myCarousel .carousel-controls {display:none;}
}
@media screen and (max-width: 991px) {
    #myCarousel .carousel-caption p,
    #myCarousel .list-group {display:none;}
}

@media screen and (max-width: 991px) {
    #myCarousel {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width:620px;
    }
}

@media screen and (max-width: 767px) {
    #myCarousel {
        width:100%;
    }
    #myCarousel .carousel-inner > .item > a > img {
        height: 190px;
    }
}

/* carousel face effect */
.carousel-fade .carousel-inner .item {
    transition-property: opacity;
}
.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    opacity: 0;
}
.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}
.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    left: 0;
    transform: translate3d(0, 0, 0);
}
.carousel-fade .carousel-control {
    z-index: 2;
}


/* right side list*/
/*---------------------------*/
.category-body .media{
    border-bottom: 1px solid #ccc;
    padding-bottom: 4px;
    margin-top: 10px;
}

.category-body .media .media-object{
    width: 80px;
    height: 70px;

}
.category-title{
    border-bottom: 2px solid #ccc;
    margin-bottom: 15px;
}
.news-category{
    margin-top: 9px;
    margin-bottom: 20px;
}
.category-h4{
    padding-top: 10px;
    padding-right: 4px;
    color:#00a550;
    display: inline-block;

}
.news-right .media{
    border-bottom: 1px solid #ccc;
    padding-bottom: 4px;
    margin-top: 10px;
}
.news-right:last-child .media{
    border-bottom: none;
}

.news-right .media .media-object{
    width: 80px;
    height: 70px;

}
.media-object{
    margin-bottom: 5px;
}
.media-heading{
    line-height: 1.3em;
    color: black;
}

.right-title {
    border-bottom: 2px solid #00a550;
    margin-bottom: 15px;

}
.news-right-side {
    margin-bottom: 20px;
    background-color:#f9f9f9;
    padding-left: 10px;
    padding-right: 10px;
    border: 1px solid #efefef;
    padding-top: 11px;
}
.right-list-h4{
    padding-top: 10px;
    padding-right: 4px;
    display: inline-block;
}


.news-sodate {
    color: #7d7a77;
    font-size: 0.6em;
    position: absolute;
    bottom: 5px;
}
.media-body{
    position: relative;
}



.left-more{
    font-size: 12px;
    color: #ccc;
    padding-top: 26px;
}
/* content page*/
/*-----------------*/
.bord-1{
    margin-top: 3px;
}
/*listNews page*/
/*-----------*/

.news-card {
    margin-bottom: 18px;
    min-height: 196px;
    position: relative;
    overflow: hidden;
}
.news-card img {
    min-width: 280px;
    height: 140px;
}
@media screen and (max-width: 767px) {
    .news-card {
        text-align: center;
        height: auto;
    }
    .news-card img {
        height: auto;
    }
    .news-category-nav .navbar-nav{
        margin: 0;
    }
}
.news-cat a {
    text-decoration: none;
}
.news-cat a:hover >div.news-card>span {
    text-decoration: underline;
}

.list-cat-sodate {
    color: #777;
    font-size: 0.8em;
}

.list-cat-sodate .glyphicon {
    color: #ff8600;
}

@media only screen and (min-width :767px) {
    .news-card h6 {
        height: 20px;
        line-height: 1.18;
    }
}
.dropdown-toggle span {
    font-weight: bold;
}
.sh-rss{
    padding-top: 31px;
}
.sh-rss:hover{
    color:#ff8600;
}
.sh-rss:focus{
    color:#4d4d4d;
}


/*  news spinner */

.news-see-more {
    height: 3em;
}

.news-spinner {
    width: 70px;
    text-align: center;
    display: none;
    padding: 10px 0;
}

.news-spinner > div {
    width: 18px;
    height: 18px;
    background-color: #333;

    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.news-spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.news-spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0) }
    40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    } 40% {
          -webkit-transform: scale(1.0);
          transform: scale(1.0);
      }
}