
/*NEWS PAGE HOME*/

#post ul li.grid {
    margin: 0.5% 1%;
    width: 30%;
    box-shadow: -3px -1px 3px 1px #dddddd;
}

.grid {
    display: inline-block;
    height: 25vh;
    position: relative;
    overflow: hidden;
    padding: 10px 15px;
}

.news {
    border-bottom: 1px solid #C5C5C5;
    margin: 0 0 10px;
    padding: 0 0 10px;
    overflow: auto;
}

.newsPost h4 {
    font-size: 19px;
    font-family: 'Candara';
    font-weight: 600;
    margin-top: 0;
    color:#0234cd 
}
.news > a{
    margin-top: -20px;
    /*font-size: 20px;*/
}

.news p {
    margin: 0;
    font-size: 1em;
    outline: 0;
    line-height: 115%;    
    padding: 0 0 12px;
    display: block;
    /*letter-spacing: 1px;*/
    font-family: 'Calibri';
}
.news p.postDate {
    font-size: 11px;
}
.news a:link,
.news a:visited,
.news a:active {
    color: #0234cd;
    text-decoration: none;
}
.news a:hover {
    text-decoration: none;
}
.news a.btn-small:hover{
    background-color:  #A13735;
    text-decoration: none;
    box-shadow: -3px -1px 3px 1px #4e0b09;
}

.btn-small{
    background: #0f52cc; 
    padding: 4px 10px; 
    border: none;
    text-transform: uppercase;
    color: white !important;
    float:right;
    /*margin-right: 10px;*/
    font-size: 12px;
   box-shadow:  -2px -1px 3px 0px darkblue;
}

#newsList{
      overflow-y: scroll;
    max-height: 500px;
}

/* width */
::-webkit-scrollbar {
  width: 7px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #7cadf614; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #7cadf6c4; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}
/* END OF NEWS PAGE*/


/* NEWS POST PAGE */
.RightMainContent{
    margin-top:2em;
}

.newsPost {
    border-bottom: 1px solid #C5C5C5;
    margin: 0 0 10px;
    padding: 0 0 10px;
    overflow: auto;
}

.newsPost h3 {
    font-family: Candara;
    font-weight: 600;
    margin-top: 0;
    color: #0234cd;
    font-size: 1.4em;
}

.newsPost .postDate {
    font-size: 100%;
}

.postContent {
    padding: 0 0 5px;
    display: block;
    width: 100%; 
    overflow: auto;
    font-family: Candara;
    font-size: 18px;
    text-align: justify;
    line-height: 1.4em;
}
.news h4 {
    font-family: Candara;
}
#thumbnail {
    height: 80px;
    width: 90px;
    margin-right: 10px;
    float: left;
}
 
a:hover {
    text-decoration: none;
    color:  #0234cd;
}

/*img slider*/
#imageHolder{
    max-width: 100%;
    height: 100%;
    max-height: 360px;
}
.newsImg{
    /*padding: 5%;*/
    margin: 30px 0;
    text-align: center;
}

.backLink{
    float:right;
    font-size: 1em;
}

#subCategory{
   font-family: Arial, Helvetica, sans-serif;
    color: rgb(128, 0, 0);
    font-size:2.5em;
    padding: 20px 0;
    margin: 0;
     text-shadow: 1px 1px 2px rgba(205, 204, 204, 0.8);
}
/* END OF NEWS POST PAGE */




/*For NewsPost Carousel if image has it*/
.carousel-control.right,
.carousel-control.left {
    background-image: none;
}
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
    max-width: 90%;
    margin: auto;
}
.carousel-indicators {
    display: none;
}
.carousel-control{
    width: 5%;
}
.carousel-control .glyphicon-chevron-left {
    left: 0;
}
.carousel-control .glyphicon-chevron-right {
    right: 0;
}

@media (max-height: 1299px) and (min-height: 1080px ) {
       .grid{
           height: 27vh;
       }
}





@media screen and (min-width: 1995px){
    .news h4{ font-size:2em; }
    .news p{ font-size:1.5em; }
    
    /*.newsPost h3{
        font-size: 2.5em;
    }*/

    textarea.postContent{ font-size: 1.5em;}

    #imageHolder{  height: 400px;}

    .backLink{ font-size: 1.5em; }

    .news p.postDate{  font-size: 13px; }
}

@media screen and (min-width: 2400px) {
    .news p { font-size: 1.2em; }
    .news h4 {  font-size: 1.4em;}
    .newsPost h3 { font-size: 1.6em; }
    .postContent{ font-size: 1.3em;}
}

@media screen and (max-width: 1550px){
    .news h4{   font-size: 1.1em;}
    .newsPost h3{ font-size: 1.2em;}
    .news p{ padding-bottom: 4px;}

    .btn-small {
        padding: 2px 8px;
        font-size: 0.8em;
    }
    .newsPost { padding: 0 20px;}

    #subCategory { font-size: 2em; padding: 1% 0;}
}
@media screen and (max-width: 1150px){
    .news h4{  font-size: 1em;} 
}
/*Mobile mode*/
@media only screen and (max-width:560px) {
    .RightMainContent {
        float: none;
        width: 100%;
         margin-top: 0;
    }

    #post ul li.grid {
    width: 95%;
    height: 28vh;
    }

    #subCategory{
        font-size: 2em;
    }
    .newsPost h3{
        font-size: 1.2em;
    }

}

@media screen and (max-height: 950px) and (min-height: 781px) {
    .grid { height: 28vh} 
}

