﻿ .containerhomenews {
        margin-top:0px; border:1px solid #eee;
    }

.myCarousel .carousel-caption {
	left:0px;
	top:0;
	bottom:0;
	text-align:left;
	padding:60px 10px 0px 10px;
	background:#1d337f;
	text-shadow:none;
    width:40%;
    color:#fff;  
}

.myCarousel .carousel-title {
	left:0;
	top:0;
	background-color:#1d337f;
    position:absolute;
    width:215px;
    height:45px;
    z-index:99;
    width:40%;
    padding: 10px;
    font-size:15px;
    color:white;
}
  
    .myCarousel .item {overflow:hidden; width:100%;min-height:350px;
    }
    .myCarousel .carousel-caption h4 
    {
        font-size:14px;margin-bottom:10px;max-height:60px;text-overflow:ellipsis;
    }

     .myCarousel .carousel-caption h4 a 
    {
        text-overflow:ellipsis; height:60px; overflow:hidden; font-weight:bold; font-size:14px; line-height:22px;
    }

    .myCarousel .carousel-title a:link,.myCarousel .carousel-title a:visited 
    {
        color:white; text-align:left;display:inline;  
    }
     .myCarousel .carousel-caption a:link,.myCarousel .carousel-caption a:visited 
    {
        color:white; 
    }
    .myCarousel .carousel-caption .divsubject {
        height:200px; overflow:hidden;font-size:14px;text-overflow:ellipsis;margin-bottom:10px;text-align:justify;color:white;
    }

    .myCarousel .divsubject2 {
        height:50px; overflow:hidden;color:#666666;font-size:13px;text-align:left; float:left;text-overflow:ellipsis;text-align:justify;
    }
  
    .myCarousel .divleft {
       width:150px;min-width:150px;float:left !important;overflow:hidden;position:absolute;
       
    }
    .myCarousel .divright {
       float:right !important;position:relative;width:auto;padding-left:170px;
    }
    .myCarousel .smallimage-item {
        float:left !important; width:160px;  margin-top:2px;
                        display: inline-block;
  max-width: 100%;
  height: auto;
  padding:0px 5px 12px;
  line-height: 1.42857143;
  
  
 
    }
    .myCarousel .divlink {
        height:36px; overflow:hidden;line-height:20px; text-align:left;margin-bottom:5px;margin-top:5px;float:left;
    }
    .list-group-item-linkable a {font-weight:bold;color:#666;
    }

.myCarousel .list-group {
	position:absolute;
	top:0px;
	right:0;
    border:0;
   
    

}
.myCarousel .list-group-item {
	border-radius:0px;
	cursor:pointer;
    border:0;
    display:inline-block;
    margin-top:0px !important; padding-top:0px !important;
    margin-bottom:12px !important; padding-bottom:0px !important;
    height:97px;
    background-color:#F8F8F8 !important;
}

    .containerhomenews .list-group-item.active, .list-group-item.active:focus, .list-group-item.active:hover 
    {
        /*background-color:#f5f5f5 !important;*/
        text-shadow: none; 
        background-image: none;
        border:0;
        z-index:0;
    }

       .containerhomenews .list-group-item.active img, .list-group-item.active img:focus, .list-group-item.active img:hover {
            opacity:0.6;
        }


    .image-item {
        margin-left: 40%;
        width: 100%;
        min-height:165px;
       
    }

.myCarousel .glyphicon {color:white;
}
    .leftarrow, .leftarrow:visited {position: absolute;bottom:-350px; padding:10px 10px 7px 10px ; background-color:#555;right:60%; opacity:0.7;z-index:99;
    }
     .rightarrow, .rightarrow:visited {position: absolute;bottom:-350px;  padding:10px 10px 7px 10px; background-color:#555;left:40%;opacity:0.7;z-index:99;
    }
    .leftarrow:hover,.rightarrow:hover { opacity:0.6;
    }
  
    .carousel-control-arrow {
    }
    .list-group-homenews { margin:0 !important;padding:0 !important;height:350px; overflow:hidden;
    }
   
    .carouselhomenews { height:350px; overflow:hidden; float:left;
    }



@media (min-width:768px)
{
	.myCarousel .TitleHeader h2{font: normal 20px Arial;}
	
}

    @media (max-width: 480px) {
        .carousel-caption p,
	.myCarousel .list-group {width:100%; position:relative; } 

    .myCarousel .carousel-caption { width:100%;height:100%;overflow:hidden;
        }
    
      
      .myCarousel  .divsubject2 {
        display:none;height:0px;
        }
       .myCarousel .divlink {height:100px;
                              
        }
        .myCarousel .divright {height:100px;
        }
       .image-item {
       
        width: 100% !important;
        margin-left:0px;height:auto !important;
        min-height:350px;
        position:relative;
        }

         .carouselhomenews {
           height:auto;
        }

           .leftarrow 
        {
            right:0;bottom:-210px;
        }
        .rightarrow 
        {
            left:auto;right:0;bottom:-245px;
        }

        .myCarousel .carousel-caption .divsubject {
       overflow:hidden;font-size:14px;text-shadow: 1px 1px 1px rgba(50,50,50,0.9);color:#fff;line-height:20px;
        }
    }

    @media (max-width: 767px) {
        .carousel-caption p,
	.myCarousel .list-group {width:100%; position:relative; } 
     .image-item{
        height:180px ;width:100% !important; direction:ltr;
        margin-left:0px;
       
        position:relative;
        }
           .myCarousel .carousel-caption h4 a:link,.myCarousel .carousel-caption h4 a:visited 
    {
        color:#fff;font-size:20px;
    }

        .myCarousel .carousel-caption { width:100%;height:100%;overflow:hidden; background:rgba(50,50,50,0.3);min-height:350px;
        }
        .myCarousel .carousel-title { width:100%;
        }
         
        .myCarousel .carousel-caption .divsubject {
        height:135px; overflow:hidden;font-size:14px;text-shadow: 1px 1px 1px rgba(50,50,50,0.9);color:#fff;
        }
       
        .carouselhomenews {
           height:auto;
        }
        
           .leftarrow 
        {
            right:0;bottom:-210px;
        }
        .rightarrow 
        {
            left:auto;right:0;bottom:-245px;
        }
    }


    @media (min-width: 992px) { 
	.myCarousel {padding-right:37.5% !important;}
        .list-group {width:37.5% !important;
        }
           .myCarousel .item {overflow:hidden; width:100%;
    }
	.myCarousel .carousel-controls {}
    .leftarrow 
    {
        right:75%;
    }
    .rightarrow 
    {
        left:25%;
    }
    .image-item{
        min-height:350px !important;width:60% ;
        }
     .myCarousel .divleft {
        width:100px !important;
    }
}
@media  (max-width: 991px) { 
	.carousel-caption p,
	.myCarousel .list-group {width:100%; position:relative; } 
     .image-item{
        width:60%;min-height:350px !important;
        height:auto !important;
        }
    .myCarousel .divleft {
        width:150px;margin-left:0px; padding-left:0px;position:absolute;
    }
    .myCarousel .divright { padding-left:170px;width:100%;
    }
    .myCarousel .list-group-item {margin-left:0px; padding-left:0px; 
    }
    .myCarousel .list-group { height:350px !important; overflow:hidden;margin-top:20px;
    }
   

     .myCarousel .divlink {
    }
         .myCarousel .divsubject2 {
        overflow:hidden;color:#666666;font-size:13px; float:left;
    }

}