/* 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{
    background-color: #fff;
}

.homeClair{
    background-color: #f4feff; text-align: justify;
 

}
.homeFonce{
    background-color: #e4fcff; text-align: justify;

}
.homeFocus{background-color: #add9e8;
    margin-left:0;
    margin-right:0;}

/*.paragrapheHome{padding: 20px 10px 20px 10px;}*/
.paragrapheHome h2{margin-top:  10px; margin-bottom: 30px;}
.paragrapheHome p{margin: 0px;}
/*.blocFocusPrincipal{padding: 10px 20px; text-align: justify;}*/

/*.blocFocusPrincipal h2{margin-top: 10px; margin-bottom: 30px; }*/
.blocFocusPrincipal p{margin: 0px !important;}
.blocFocusImage{min-height: 300px;}

#section_presentation h1{
    margin: 50px 10px 50px 10px;
    font-weight: bold;
}
#section_presentation p{
    margin: 0px 10px 20px 10px;
}
#section_presentation #btn_contactHome{ background-color: #13447c; padding: 20px 25px;/* margin: 10px 0px 10px 45px;*/margin-bottom:25px; font-size: 1em;}
#photothequePresenationHome{display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-evenly;}
#photothequePresenationHome img{margin-bottom: 10px;}
#blocEventsHome{margin-top: 20px;}
#blocActuHome{background-color: #72c6d9; padding: 30px;}
#blocActuHome_content{background-color: white; padding: 10px; height: 100%;}
#blocActuHome_content h2{color: black; font-weight: bold;}
#carrouselActuHome a{text-decoration: none; color: black;}
#carrouselActuHome h3{margin-bottom: 40px;}
#carrouselActuHome p{line-height: 1em;}
#carrouselActuHome .owl-carousel .owl-item img{width: unset;}
#carrouselActuHome .owl-nav{position: absolute; bottom: 25%; font-size: 4em; width: 100%; color: #c4c4c4;}
#carrouselActuHome .owl-nav .owl-next{float: right;}
#blocAgendaHome{background-color: #133c59; padding: 30px; color: white;text-align: center;}
#blocAgendaHome h2{font-size: 3em;}
#blocAgendaHome a{color: white; text-decoration: none;}
#blocAgendaHome p{ margin: 40px 0px !important; font-size: 1.2em; }

.galleryParagraphe{ display: flex; flex-direction: column; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-top: 50px; align-content: space-between;}
.galleryParagraphe img{margin-bottom: 20px;}
.s-gallery{margin-top: 10px;margin-bottom:20px;}

.homeEntete{ background-color: #091d3a; /*border-bottom: solid 30px #ca191f;*/ color: white; text-align: justify; padding: 10px; }
.homeEntete h1{margin: 10px 0px 30px 0px; text-align: left;}
/*
#home_devenirSapeurPompier{margin-bottom: 30px;}
*/
/*
#home_employerSapeurPompier{margin-bottom: 60px;}
*/
#photothequeDevenirSapeurHome{margin-top: 55px; margin-bottom: 55px; display: flex; justify-content: space-evenly; }
/*#photothequeEmployerSapeurHome img{margin-bottom: 45px;}*/
@media screen and (min-width: 768px){
    /*
    #blocEventsHome{margin-top: 90px;}
    #section_presentation h1{
        margin: 50px 0px 50px 8.33%;
    }
    #section_presentation p{
        margin: 0px 0px 0px 8.33%;
    }
    #section_presentation .paragrapheHome p{margin: 0px;}
    #entete_homePresentation{display: flex; align-items: center;}
    #entete_homePresentationImage{padding: 55px 55px 55px 0px;}
    .paragrapheHome h2{margin-bottom: 60px;}
    .blocFocusPrincipal h2{margin-bottom: 55px; }
    .blocFocusPrincipal{padding: 55px 40px;}
    .galleryParagraphe{flex-direction: row;}
    .homeEntete h1{margin: 70px 0px;}
}
@media screen and (min-width: 992px){
    /*
    .gallery{margin-top: 90px;}
    .paragrapheHome{padding: 90px 0px 115px 0px;}
    .blocFocusPrincipal{padding: 0px 40px 90px 40px;}
    #carrouselActuHome .owl-nav{top: 33%;}
    #carrouselActuHome .owl-nav .owl-prev{margin-left: 33%;}
    #home_devenirSapeurPompier{margin-bottom: 145px;}
    */
}
@media screen and (min-width: 1200px){
    /*.blocFocusPrincipal{padding: 110px 40px;}*/
   /* .paragrapheHome{padding: 170px 0px 115px 0px;}*/
}