/* HOME CSS */





/* carousel */
#carousel-news{
    width: 100%;
    padding: 30px;
}


#carousel-default {
    margin-top: 2em
}

.carousel-contour{
    position: absolute;
    
    bottom: 35%;
    top: 35%;
    font-size: 9em;
    color: red;
    opacity: 0.8;
    left: 0; 
    right: 0; 
    margin-left: auto; 
    margin-right: auto; 
    width: 100px; 
}


.contour-content>img{
    width: 500px;
   
}

.carousel-caption {
    max-width: 100%;
    width:100%;
    left: 0;
    background-color: rgba(3, 3, 3, 0.589);   
    position: absolute;
    bottom: 0;
}
.carousel_legend {
    margin-left: 20px;
    margin-right: 20px;
    text-align: left;
   
}

/* entry points */

.entry-point {
    color: #fff;   
    padding-bottom: 20px; 
}
.entry-point-content{
    /*max-height: 280px;*/
    min-height: 280px;
}

.entry-point-content>a{
    color: #fff !important;
}
.entry-point-content>a>h1{
    font-size: 1.4em; 
    line-height: 50px;
    padding: 5px;
}

.entry-point-chapeau{
    position: absolute;
    margin-top: 5px;
    font-size: 1.4em;
    margin-top: 2px;
    margin-left: 5px;
    margin-right: 20px;
    color: #000;
    max-width: 360px;
}
.entry-point label {
    margin-top: 5px;
    font-size: 1.4em;
    margin-top: 2px
}
.entry-point-image{
   position: absolute;
   max-width: 240px;
   bottom: 10px;
   right: 15px;
}
.entry-point-boutique{
    right: 33px;
}
.entry-point-txt {
    height: 50px;
    position:absolute;
    left: 130px;
    top: 0px;
    background: #fff;
    padding-left: 10px;
    padding-right: 25px;
}

.entry-point-1{
    background-color: #fff;
}
.entry-point-2{
    background-color: #2d9338;
}
.entry-point-3{
    background-color: #ea9549;
}
.entry-point-4{
    background-color: #83b488;
}


.entry-h1-1{
    color: #fff;
}
.entry-h1-2{
    color: #fff;
}
.entry-h1-3{
    color: #fff;
}
.entry-h1-4{
    color: #fff;
}

.entry-point-image-p{
    margin-left: 20px;
}
.entry-point-zoom:hover {
    transform: scale(1.1);
    z-index: 10;
}
.entry-point-zoom {
    transition: transform .2s; /* Animation */
    
}

.epc-header{
   padding-top: 5px;
   padding-left: 10px;
}
.epc-header h1{
    font-size: 1.6em;
    
}

.epc-title, .epc-content{
    padding-left: 10px;
 }
 
.epc-title h2{
    font-size: 2.0em;
    
}
.epc-footer {
    bottom: 30px;
    right: 30px;
    position: absolute;
}
.epc-footer a {
    color: #fff;
    text-decoration: none;
}

/**** block last article ****/
.last-articles{
    background-color: #fff;
    min-height: 250px;
}
.last-articles h1{
    color: #139034;
    font-size: 1.4em;
    padding: 15px;
}

.last-articles .list-group-item{
    border: none;
}
.last-articles .list-group-item a{
    color: #000;
}

/**** block news *****/
#section_actualites h1{
    font-size: 1.8em;
}
#section_actualites h2{
    font-size: 1.2em;
    font-weight: bold;
}
#carousel-news{
    width: 100%;
    padding: 30px;
}

#carousel-news .carousel-inner{
    max-height: 28.5em;
}
.news-block{
    width: 250px;
    float: left;
    display: block;
    margin-right: 20px;
    background: #fff;
    border-radius: 6px;
    min-height: 28.5em;
    position: relative;
    margin-bottom: 1.5em;
}


.news-line{
    background-color: #f8d0e1;
    height: 5px;   
}
.news-desc{
    margin: 10px;
}
.news-link{
    width: 100%;
    position: absolute;
    bottom: 0;
    padding-left: 60px;
}
.empty-image{
    display: block;
    width: 100%;
    height: 188px;
}

#carousel-news .active > div { display:none; }
#carousel-news .active > div:first-child { display:block; }
#carousel-news > a {
    margin-right: 150px;
}

.carousel-control.left, .carousel-control.right { 
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 100%);
}
.carousel-control.left>a{
    left: 0px;
}

#carousel-news .carousel-inner{
    margin: auto;
    width: 100%
}

#carousel-news .carousel-control .glyphicon-chevron-left, #carousel-news  .carousel-control .icon-prev{
    margin-left: -90px;
}
#carousel-news .carousel-control .glyphicon-chevron-right, #carousel-news .carousel-control .icon-next{
    margin-right: -80px;
}

#carousel-news .active > div { display:none; }
#carousel-news .active > div:first-child { display:block; }

/*xs*/
@media (max-width: 767px) {
    #carousel-news .active > div:first-child + div { display:block; }
}

/*sm*/
@media (min-width: 768px) and (max-width: 991px) {
    #carousel-news .active > div:first-child + div { display:block; }
}

/*md*/
@media (min-width: 992px) and (max-width: 1199px) {
    #carousel-news .active > div:first-child + div { display:block; }
    #carousel-news .active > div:first-child + div + div { display:block; }
}

/*lg*/
@media (min-width: 1200px) {
    #carousel-news .active > div:first-child + div { display:block; }
    #carousel-news .active > div:first-child + div + div { display:block; }
    #carousel-news .active > div:first-child + div + div + div { display:block; }
}



.agenda_home, .acces_membre_home{
    background-color: #fff;
}

.acces_membre_home{
    margin-top: 15px;
    padding: 15px;
}

#carte_adherents{
    background-color: #f8f8f8;
    position: relative;
}
#carte_adherents h2{
    color: #2D9338;
    font-size: 1.5em;
    font-weight: bold;
}
#francemapresultsearch{
    position: absolute;
    width: 50%;
    height: 80%;
    top: 35px;
    right:20px;
    display: none;
}
@media screen and (max-width:424px){
    #francemapresultsearch{
        width: 75%;
    }
}

#francemaplegende{
    position: absolute;
    width: 40%;
    height: 80%;
    top: 25%;
    right:20px;
    text-align: justify;
    color: black;
    /*color: #ff9d0b;*/
    font-weight: bold;
}
@media screen and (max-width:424px){
    #francemaplegende{        
        width: 50%;
        /*font-size: 0.85em;*/        
        top: 45px;
    }
}
@media screen and (max-width:525px){
    #francemaplegende{
        font-size: 0.70em;
    }
}

#francemapresultsearch_titre{
    background-color: #ff9d0b;
    color: white;
    padding: 10px 30px;
}
#francemapresultsearch_close{
    color: white;
    position: absolute;
    top: 8px;
    right: 10px;
    border: solid 1px white;
    padding: 0px 5px;
    cursor: pointer;
}
#francemapresultsearch_liste{
    background: url('/sites/jenga/template/images/home/background-results.png');
    overflow-y: scroll;
    height: 80%;
    font-size: 0.875em;
}
#francemapresultsearch_liste .item{
    border-bottom: solid 1px black;
    margin: 15px 15px 0px 30px;
}
#francemapresultsearch_liste .item .titre{margin-bottom: 10px;}
#francemapresultsearch_liste .item .detail{
    padding-left: 35px;
    padding-bottom: 5px;
}
#francemapresultsearch_liste .item .lien{
    text-align: right;
    margin-bottom: 15px;
    padding-right: 20px;
}
#francemapresultsearch_liste .item .lien a{
    color: black;
}

#blocActu{
    background-color: #2c9338;
    color: white;
    padding: 0px;
    height: auto;
}
#blocActu h2{
    padding: 20px 15px 15px 15px;
    margin: 0px;
    font-size: 1.5em;
}
#blocActu .detail_actu{
    padding: 15px 15px 13px 15px;
}
#blocActu .detail_actu .titre_actu{
    font-size: 1.5em;
    margin-bottom: 15px;
}
#blocActu .detail_actu .texte_actu{
    /*font-size: 0.875em;*/
}
#blocActu .detail_actu .lien_actu{
    font-size: 0.9375em;
    font-weight: bold;
    text-align: right;
}

#blocActu a{
    color: white;
}

@media screen and (min-width: 992px){
    #secondLineHome, #firstLineHome{
        display: flex;
    } 

    #blocPublications .img-responsive{
        position: absolute;
        /*bottom: 0px;*/
        top:23%;
        right: 0px;
}   
}

#presentationVideo{
    padding: 0px;
}

/*#blocLesPublications{
    align-items: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}*/
@media screen and (min-width: 768px){
    #blocPublications{
        display: flex;
        height: 100%;
    }
}

/*#textePublications{ 
    position: relative; 
    height: 100%;
}*/
#descriptionPublications{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#descriptionPublications h2{
    font-size: 1.5em;
    font-weight: bold;
}
#descriptionPublications #textePublications{
    font-size: 0.875em;
    font-weight: bold;
}
@media screen and (min-width:768px){
    #descriptionPublications #textePublications{
        font-size: 1.05em;
        line-height: 1.5em;
    }
}
#blocPublications a{
    display: block;
    text-align: right;
    color: black;
    font-size: 0.875em;
    /*position: absolute;
    bottom: 0px;
    
    right: 0px;*/
}

