/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
    /*   padding-bottom: 40px; */
    color: #5a5a5a;
}

.container.container-carousel {
    margin-top: -50px;
}

/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper .container {
    padding-right: 0;
    padding-left: 0;
}
.navbar-wrapper .navbar {
    padding-right: 15px;
    padding-left: 15px;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
    height: 300px;
    margin-bottom: 30px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    left:0;
    bottom:inherit;
    top:0;
    padding: 0;
    right: inherit;
    z-index: 4;
    text-align:left;
    background: #4aa8de; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMTAwJSI+CiAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjNGFhOGRlIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAwNDQ4NSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
    background: -moz-linear-gradient(-45deg,  #4aa8de 0%, #004485 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#4aa8de), color-stop(100%,#004485)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(-45deg,  #4aa8de 0%,#004485 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(-45deg,  #4aa8de 0%,#004485 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(-45deg,  #4aa8de 0%,#004485 100%); /* IE10+ */
    background: linear-gradient(135deg,  #4aa8de 0%,#004485 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4aa8de', endColorstr='#004485',GradientType=1 ); /* IE6-8 fallback on horizontal gradient */
    height:100%;
    width:30%;
    display: block;

}

/* Declare heights because of positioning of img element */
.carousel .item {
    height: 300px;
    background-color: #777;
}

.carousel-inner > .item > img {
    position: absolute;
    top: 0;
    right:0;
    /*left: 0;
    min-width: 100%;
    height: 500px;*/
}

.carousel-caption h2{  
    padding-bottom: 10px;
    padding-left: 60px;
    padding-top: 40px;
}


.carousel-caption .btnEnSavoirPlus{
    text-align:center;
    display:inherit;
    padding-left: 20px;
    text-shadow: inherit;

}
.carousel-caption .btnEnSavoirPlus a{
    -moz-user-select: none;
    background-color: #fefefe;
    background-image: none;
    border-color: #357ebd;
    border-radius: 6px;
    color: #1e1b5e;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 20px;
    padding: 4px 17px;
    text-transform: none;
    vertical-align: middle;
    white-space: nowrap;
    box-shadow: 0 0 5px grey;
    font-weight: bold;
}

@media (min-width: 768px) {
    .carousel .item, .carousel {
        height: 400px;
    }
}

.carousel-control .right-control,.carousel-control .left-control {
    position: absolute;
    top: 40%;
}

.carousel-control .right-control{
    right:20px;
}

.carousel-control .left-control {
    left: 20px;
}

.carousel-control.left,.carousel-control.right{
    text-align:inherit;
    z-index: 4;
    background:none;}


.carousel-indicators{
    display:none;
}

/* Bump up size of carousel content */
.carousel-caption p {
    margin-bottom: 20px;
    line-height: 1.4;
    padding-left: 60px;
    padding-right: 30px;
    font-size:16px;
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Pad the edges of the mobile views a bit */
.marketing {
    padding-right: 15px;
    padding-left: 15px;
}

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
    margin-bottom: 20px;
    text-align: center;
}
.marketing h2 {
    font-weight: normal;
}
.marketing .col-lg-4 p {
    margin-right: 10px;
    margin-left: 10px;
}


/* Featurettes
------------------------- */

.featurette-divider {
    margin: 80px 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -1px;
}



/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {

    /* Remove the edge padding needed for mobile */
    .marketing {
        padding-right: 0;
        padding-left: 0;
    }

    /* Navbar positioning foo */
    .navbar-wrapper {
        margin-top: 20px;
    }
    .navbar-wrapper .container {
        padding-right: 15px;
        padding-left:  15px;
    }
    .navbar-wrapper .navbar {
        padding-right: 0;
        padding-left:  0;
    }

    /* The navbar becomes detached from the top, so we round the corners */
    .navbar-wrapper .navbar {
        border-radius: 4px;
    }

    .featurette-heading {
        font-size: 50px;
    }

    .carousel-inner .item .fc_field_image{
        border-radius: 0 !important;
        border:0 none !important;
        padding:0 !important;
        width:70%;

    }

}

@media (min-width: 992px) {
    .featurette-heading {
        margin-top: 120px;
    }
}


@media (max-width:1199px) {
    .profils > div > ul > li > a{
        font-size: 15px;
        padding: 41px 8px;
    }

    .header .titre-header a{
        font-size:16px;
        font-style:italic;
        color:#1e1c5f;
    }

    .profils{
        margin-top:0px;
    }

    .profils .navbar-profils{
        min-height:192px !important;
        padding-right:0;
        padding-left:0;
    }

    .profils .navbar-profils .navbar-right{
        float:none !important;
        width:450px;
        margin-right:0px;
        margin:auto;
    }

    .carousel-caption{
        padding:0;
        left:0;
        bottom:0;
        top:inherit;
        width:100%;
        height:46%;
    }

    .carousel-caption h2{
        padding-bottom:0;
        padding-top:0;
    }

    .carousel-inner .item .fc_field_image{
        width:100%;
        right:0;
        border-radius: 0 !important;
        border:0 none !important;
        padding:0px !important;
    }
}

@media (max-width: 768px) {
 
    .carousel-caption h2{
        font-size:21px;
        padding-top:0px;
        margin-top:10px;
    }
    
    .carousel-caption p{
        font-size:13px;
    }
    
}
@media (max-width: 622px) {
    .carousel-caption{
        height:60%;
    }
}