﻿@import url('https://fonts.googleapis.com/css?family=Roboto:400,500&subset=latin-ext');

:root {
    /*--master-color: #e3000c;*/
    --master-color: #152682;
}

html,
body {
    font-size: 15px;
    font-family: "Roboto", Sans-Serif;
    color: #232323;
    background-color: #f2f2f2;
}

.page {
    margin-top: 60px;
}
b {
    font-weight: 500;
}
p { margin: 0;}

.red {
    color: var(--master-color);
}

header {
    background-color: var(--master-color);
    padding: 0;
    box-shadow: 0 1px 4px 0 rgba(0,0,0,.3);
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1600;
}

.carousel-caption {
    background-color: #fff;
    width: 100%;
    left: 0;
    color: #222;
    text-shadow: none;
    padding: 10px 0 8px;
    font-weight: 500;
    text-overflow: ellipsis;
    overflow: hidden;
}

.carousel-control > a {
    background-color: transparent;
}

.carousel-inner .item img {
    width: 100%;
}

.box a.thumbnail {
    cursor: pointer;
}

.box a.thumbnail:focus {
    border-color: #ddd;
}

.box a.thumbnail:hover {
    border-color: var(--master-color);
    text-decoration: none;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); 
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); 
}

.box a.thumbnail:hover .caption {
    text-decoration: none;
}

.box a.thumbnail .image { height: 130px; overflow: hidden; }

.box a.thumbnail .image img { height: 100%; }

.box a.thumbnail .caption { 
    height: 70px;  
    overflow: hidden; 
    width: 100%; 
    font-size: 14px; 
 }

header .logo {
    padding: 5px 0;
    margin-bottom: 0;
    float: left;
}

header .navbar {
    background-color: transparent;
}

header .navbar li a {
    color: #fff;
    font-size: 14px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    padding: 20px 10px 17px;  
    line-height: 1;
    font-weight: 500;
}

header .navbar li a [class*="icon-"] {
    color: #fff;
    position: relative;
    top: -1px;
}

header .navbar li:first-child a {
    border-left: none;
}

header .navbar li a:hover,
.overdown > [role=button].hover,
.mobilenav .list-group-item:hover  {
    /*background-color:  #c2020c;*/
    background-color:  #1229a7;
    color: #fff;
}

.topnav {
     display: none;
     border-top: 1px dashed #fff;
     margin-top: 10px;
     padding-top: 10px;
}

.topnav .list-group-item {
     background-color: transparent; 
     color: #fff;
     font-size: 14px;
     border: none;
     padding: 5px;
     text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

.topnav .list-group-item:hover {
    background-color:  #c2020c; 
    background-color:  #1229a7; 
    color: #fff;
}

header .overdrop-menu-right {
    background-color: var(--master-color);
    margin-right: -1px;
    font-size: 14px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

header .overdrop-menu-right li a {
    padding: 12px 10px;
}

header .navbar-toggle .icon-bar {
    width: 28px;
    height: 4px;
}

nav[data-type="mobile"] {
    background-color: var(--master-color);
}

.mobilenav .list-group-item {
    background-color: transparent;
    border: none;
    color: #fff;
    padding: 10px 10px;
    font-size: 15px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    line-height: 1;
}

.directory {
    margin-bottom: 10px;
}

.carousel-counter a.active {
  background-color: var(--master-color);
}

#index #carousel-banner-news,
#index #carousel-banner-newssub {
    margin-bottom: 10px;
}

#index #carousel-banner-news .item {
    height: 350px;
}

#index #carousel-banner-news .carousel-caption {
    z-index: 80;
    background-color: rgba(0,  0, 0, 0.5);
    color: #fff;
    padding-left: 45px;
}

#index #carousel-banner-news .carousel-counter {
    width: 47px;
    text-align: left;
    top: 0px;
    height: 100%;
    background-color: rgba(0, 0, 0, 1.7);
    padding: 85px 8px 0;
    z-index: 90;
}

#index #carousel-banner-news .carousel-counter a {
    border-radius: 2px;
    margin-bottom: 5px;
    background-color: rgba(255, 255, 255, 0.8);
}

#index #carousel-banner-news .carousel-counter a.active {
    background-color: var(--master-color);
}

#index #carousel-banner-newssub .carousel-counter {
    padding-right: 0;
}

#index .carousel-caption {
    padding-left: 10px;
    padding-right: 10px;
}

.box a.thumbnail .caption { 
    height: 50px;  
 }

#index #carousel-banner-newssub .item {
    height: 370px;
}

#index .box .section  {
    background-color: #fff;
    padding: 8px 8px;
    border-left: 5px solid var(--master-color);
    margin: 0 0 10px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.authors.list-group .list-group-item:hover {
    background-color: #fff;
    color: red;
}



#index .box .section a h4 {
     font-size: 20px;
     color: var(--master-color);
     font-weight: 500;
}

#index .box .section a span { 
    color: #222; 
    padding-top: 5px;
    display: block
}

#index .box .section a:hover span {
    text-decoration: none;
    color: var(--master-color);
}

#index .anfeca-ticker {
    border-color: var(--master-color);
}

#index .anfeca-ticker .caption {
    background-color: var(--master-color);
    font-weight: 500;
}

#categorie #carousel-banner {
    margin-bottom: 10px;
}

#categorie #carousel-banner .item {
    height: 400px;
}

#categorie #carousel-banner .item img { width: 100%;  }

#categorie h2 {
    color: var(--master-color);
    font-size: 20px;
    background-color: #fff;
    font-weight: 500;
    padding: 8px 8px;
    border-left: 5px solid var(--master-color);
    margin-bottom: 10px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

#categorie .pager {
    padding: 8px;
    margin-top: 20px;
}

#categorie .pager a {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 5px 10px;
    min-width: 20px;
    color: #5b5754;
    border-radius: 3px;
}

#categorie .pager a.active {
    background-color: #e6e6e6;
}

#categorie .pager a:hover {
    background-color: #e6e6e6;
    text-decoration: none;
}

#document .document {
    line-height: 1.5em;
}

#document strong {
    font-weight: 500;
}

#document .thumbnail img {
    margin-top: 0;
}

#document .page-header {
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

#document .page-header h2 {
    font-size: 34px;
    margin: 20px 0 50px;
    line-height: 40px;
    font-weight: bold;
}

#document .page-header span.date {
    font-size: 12px;
    color: #717171;
}

#document .page-header img { 
    margin-top: -5px;
    margin-bottom: 0;
    cursor: pointer;
}

#document .tags {
    margin: 20px 0;
    padding: 10px 0;
    border-top: 1px dotted #ddd;
    border-bottom: 1px dotted #ddd;
    font-size: 13px;
}

.right-col {
    margin-bottom: 10px;
}

.right-col h4.caption  {
    background-color: #fff;
    padding: 8px 8px;
    border-left: 5px solid var(--master-color);
    margin: 0 0 10px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
            font-weight: normal;
            font-size: 15px;
}

.right-col ul.box li .caption .title {
    height:60px;
    overflow: hidden;
    float: left;
}

.right-col ul.box li {
    background-color: #fff;
    padding: 8px;
    border-top: 1px solid #ddd;
}

.right-col ul.box li:hover a {
    color: var(--master-color);
    text-decoration: none;
}

.right-col ul.box li a {
    color: #454545;
    font-size: 13.5px;
}

.right-col ul.box li a .date {
    font-size: 11px;
    color: #767676;
}

.right-col ul.box li:last-child {
    border-bottom: 1px solid #ddd;
}

.right-col ul.box li .thumbnail-none {
    margin-bottom: 0;
}

.right-col ul.box li .thumbnail .image {
    overflow: hidden;
    height: 83px;
}


footer {
    
    color: #fff;
    font-size: 14px;
    box-shadow: -1px -1px 4px 0 rgba(0,0,0,.3);
}

footer .top {
    margin-top: 30px;   
    padding: 20px 0 0;
    background-color: #444;
}

footer .top .list-group-item {
    background-color: transparent;
    border: none;
    font-size: 13px;
    color: #fff;
    padding: 5px 0;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

footer .top .list-group-item:hover {
    color: var(--master-color);
    background-color: transparent;
}

footer .middle {
    background-color: var(--master-color);
    margin: 0;
    padding: 20px;
    font-size: 12px;
}

footer .end {
    margin-top: 0;
    background-color: #222;
    padding: 10px 0;
    color: #fff;
    font-size: 12px;
    box-shadow: none;
}


#modGallery .thumbnail {
    cursor: pointer;
    margin-bottom: 0;
}

.gallery .thumbnail .image { height: 100px; overflow: hidden; cursor: pointer; }

.gallery .thumbnail .image img { height: 100%; }

.alone-banner {
    border: 1px solid #ddd;
}

.alone-banner .thumbnail {
    margin-bottom: 0;
}

.alone-banner .thumbnail:hover {
    text-decoration: none;
}

.alone-banner .thumbnail .caption {
    background-color: #fff;
    text-align: left;
    font-weight: 500;
}

#authors ul li {
    padding: 7px;
}

#index .anfeca-ticker ul li {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

@media (max-width: 479px) {

    .container {
        width: 100%;
    }

    .page {
        margin-top: 50px;
    }

    #document .social {
        margin-top: 10px;
    }

    #index #carousel-banner-news .item,
    #index #carousel-banner-newssub .item {
        height: 200px;
    }   
    
    #index #carousel-banner-news .carousel-caption {
        height: 35px;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 13px;
        padding-left: 40px;
    }

    #index #carousel-banner-news .carousel-counter {
        padding-top: 30px;
        width: 30px;
        padding-left: 5px;
    }

    #index #carousel-banner-news .carousel-counter a {
        font-size: 12px;
        width: 20px;
        height: 20px;
        padding: 0;
        margin-top: 0;
        line-height: 20px;
    }

    #index #carousel-banner-newssub .carousel-counter {
        display: none;
    }

    #categorie #carousel-banner .item {
        height: 250px;
    }

    #categorie #carousel-banner .carousel-caption { 
        font-size: 13px; 
    }

    #index .anfeca-ticker .caption {
        width: 100%;
        padding: 5px;
    }

    #index .anfeca-ticker ul {
        height: 30px;
    }

    #index .anfeca-ticker ul li {
        font-size: 13px;
    }
}

@media (min-width: 480px) and (max-width: 767px)  {

     #document .social {
        margin-top: 10px;
    }

    #index #carousel-banner-news .item,
    #index #carousel-banner-newssub .item {
        height: 200px;
    }   

    #index .anfeca-ticker .caption {
        width: 100%;
        padding: 5px;
    }

    #index .anfeca-ticker ul {
        height: 27px;
    }

    #index .anfeca-ticker ul li {
        font-size: 13px;
    }

    #index #carousel-banner-news .carousel-counter {
        padding-top: 30px;
        width: 35px;
        padding-left: 5px;
    }

    #index #carousel-banner-news .carousel-counter a {
        font-size: 13px;
        width: 25px;
        height: 25px;
        line-height: 25px;
    }

    #index #carousel-banner-news .carousel-caption {
        height: 35px;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 13px;
        padding-left: 40px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {

}

@media (min-width: 1024px) and (max-width: 1199px) {
          
    .container {
        width: 980px;
    }
    
    #document .social {
        margin-top: -5px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 980px;
    }

    #document .social {
        margin-top: -5px;
    }
}







