.icon-news-menu{background:url(../images/news.png) no-repeat scroll 0 0 transparent;}
.icon-articles-menu{background:url(../images/articles.png) no-repeat scroll 0 0 transparent;}
.icon-category-menu{background:url(../images/category.png) no-repeat scroll 0 0 transparent;}


/*
    Mise en forme de la liste des documents PDF et DOC dans un article de News
*/
    .ui-block-resp{
        display:inline-block;
        min-height:32px;
        width:47%;
    }
    
    .ui-block-resp:nth-child(even) {
        float:right;
    }

    .icon-doc{
        height:32px;
        width:32px;
        float:left;
    }

    .doc-label{
        margin-left: 40px;
        height: 32px;
        line-height: 32px;
        overflow: hidden;
        -o-text-overflow: ellipsis; /* pour Opera 9 */
        text-overflow: ellipsis;
        -webkit-transition: color .25s ease-in-out; /* For Safari 3.1 to 6.0 */
        transition: color .25s ease-in-out;
    }
    
    .doc-label:hover {
        color: #333;
    }
    
    .list-docs .icon-doc{
        width:32px;
        height:32px;
        display:block;
        background:url(../images/docs-icons/document-type.png);
        background-repeat: no-repeat;
    }
    
    .news-main .news-data.news-hasimage{
      float: right; 
      width: 47%;
    }
    
    @media(max-width:768px){
      .news-main .news-data.news-hasimage{
        float: none; 
        width: 100%;
      }
    }
    
    
/* ---------------------------------------------------------------------- */
/* Media Queries
/* ---------------------------------------------------------------------- */

/* Standard 960 or larger (browsers) */
@media only screen and (min-width: 960px) {

    .ui-block-resp:nth-child(even) {
        float:right;
    }
}

/* ---------------------------------------------------------------------- */
/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
    
        /* Autres médias news */
    
        .ui-block-resp{
            width:45%;
            margin-bottom:10px;
        }

        .ui-block-resp {
            width:100%;
        }
        
        .ui-block-resp:nth-child(even) {
            float:none;
        }
}

/* ---------------------------------------------------------------------- */
/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {

        .ui-block-resp {
            width:100%;
            margin-bottom:10px;
        }
        
        .ui-block-resp:last-child {
            margin-bottom:0;
        }
        
        .ui-block-resp:nth-child(even) {
            float:none;
        }
}

/* NEWS */

.news-main-img{
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
    box-shadow: 2px 2px 4px #333;
    width:50%;
}

@media(max-width:767px){
    .news-main-img{
        float:none;
        margin-right: 0;
        width:100%;
    }
}

.news-title{
    font-size:1.6em;
    margin-bottom:8px;
    text-transform: uppercase;
    font-size:1.3em;
        margin-top:0;
}

.news .date{
    color:#888;
    text-transform: none;
    font-style: italic;
    font-size:12px;
    font-weight: normal;
}

.news-main .date{
    padding:0;
}

.news-hr{
    margin-left:auto; 
    margin-right:auto; 
    width:300px; 
    border-bottom:1px solid #ccc;
    clear:both;
}

/* SOCIAL LINKS */

.news-share-wrap .news-social-links .twitter a {
  background-image: url(../images/social-media/main-content/twitter.png);
  width: 20px;
  height: 15px;
}

.news-share-wrap .news-social-links .facebook a {
  background-image: url(../images/social-media/main-content/facebook.png);
  width: 16px;
  height: 16px;
}

.news-share-wrap .news-social-links .google-plus a {
  background-image: url(../images/social-media/main-content/google-plus.png);
  width: 16px;
  height: 16px;
}

.news-share-wrap .news-social-links .mail a {
  background-image: url(../images/social-media/main-content/mail.png);
  width: 15px;
  height: 11px;
}

.news-share-wrap {
  overflow: hidden;
  padding: 15px 0 5px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 5px;
}

.news-share-wrap h4 {
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
  font-size:16px;
}

.news-share-wrap .news-social-links {
  float: right;
}

.news-share-wrap .news-social-links {
  margin: 0 -17px 0 0;
  padding: 0;
  max-width: 100%;
}

.news-share-wrap .news-social-links li {
  display: inline-block;
  vertical-align: middle;
  margin: 0 17px 0px 0;
}

.news-share-wrap .news-social-links a{
  display: block;
  text-indent: -10000em;
  background-repeat: no-repeat;
  background-position: left top;
}

/* Social Links Responsive */

@media only screen and (max-width: 479px) {
    .social-links .twitter a {
        background-size: 100%;
        width: 32px;
        height: 24px
    }
    
    .social-links .facebook a {
        background-size: 100%;
        width: 32px;
        height: 32px
    }
    
    .social-links .google-plus a {
        background-size: 100%;
        width: 32px;
        height: 32px
    }
    
    .social-links .mail a {
        background-size: 100%;
        width: 32px;
        height: 24px
    }
}

img.news-img-linked{
    margin-right:1.5em;
    margin-bottom:1em;
}

ul.news-cat-list, ul.news-dates-list{
    list-style-type: none;
    font-size:14px;
    line-height:16px;
}

.news hr{
    border: 1px solid lightgray;
    border-top: none;
    margin: 20px 0;
}

a.news-date-selected{
    color:red;
}

.photo-news-list{
  border: 1px solid #777;
}