/*GENERAL*/

body{
    font-family: 'Lato', sans-sérif;
}
h1,h2,h3,h4,h5,h6
{
    font-weight:bold;
}
img{
    max-width: 100%;
    height: auto;
}
section{
    padding: 45px 0 88px 0;
}
section .heading
{
text-align: center;
padding-bottom: 40px;
}
section .heading h2
{
text-transform: uppercase;
}
.red-divider{ 
width: 100px;
height: 7px;
background: #d82c2e;
margin: 0 auto;
}
.white-divider{ 
    width: 100px;
    height: 7px;
    background: #fff;
    margin: 0 auto;
}
ul,ol{
    list-style: none;
}
/*NAVBAR*/
.navbar {
    background-color: #d82c2e;
    letter-spacing: 2px;
    text-transform:uppercase;
    font-weight: bold;
    border-bottom: 1px solid white;

}
.navbar-nav {
margin: 0 auto;
text-align: center;
}
.nav-link{
    color: white !important;
    margin: 0px auto 30px;
}
.nav-link.active,
.nav-link:hover {
    background-color: white;
    color: #d82c2e !important;
}
/*ABOUT*/

#about
{
    padding-top:100px;
    background: #d82c2e;
}
.profile-picture{
    text-align: center;
    margin: 0 auto;
    float: none;

}
#about .heading h1{
    color:#fff;
    text-transform:  uppercase;

}
#about .heading h3{
    color:#000;
}
.button1{
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    border: 1px solid white;
    display: inline-block;
    margin-top: 20px;
    padding: 18px 50px;
    border-radius: 3px;
    transition: all 0.3s ease-in 0s;
}
.button1:hover
{
    background:#fff;
    color: #d82c2e;
    text-decoration: none;
}
    
/* SKILLS */
#skills{
    background:#fff
}
#skills .heading h2{
    color: #d82c2e;
    text-transform: uppercase;
}
#skills .progress{
    height: 100px;
    margin: 30px 20px;
    background: #ddd;
}
#skills .progress-bar{
    background:#d82c2e;
}
#skills .progress h5{
    text-shadow: 1px 1px 1px #000;
}
/*EXPRERIENCE*/
#experiences
{
    background: #d82c2e;
}
#experiences .heading h2
{
    color:#fff;
}
.timeline{
    padding: 30px 10px;
    position: relative
}
.timeline:before{
    top: 0;
    bottom: 0;
    position:absolute;
    content: "";
    width: 5px;
    background-color: #333;
    left: 50%;
    margin-left: -2.5px;
}
.timeline > li{
    margin-bottom: 20px;
    position: relative;
}
.timeline > li:after{
clear: both;
}
.timeline > li:before, .timeline > li:after{
    content: "";
    display: table;
}
.timeline li .timeline-badge{
    color:#d82c2e;
    width: 50px;
    line-height: 50px;
    font-size: 20px;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -2.5px;
    background-color: #ddd;
    border-radius: 50%;
}
.timeline-panel-container{
    width: 50%;
    float: left;
}
.timeline-panel-container-inverted{
    width: 50%;
    float: right;
}
.timeline-panel{
    width: 90%;
    float: right;
    margin-right: 40px;
    border: 1px solid #d82c2e;
    border-radius: 7px;
    padding: 20px 25px;
    position: relative;
    box-shadow: 0 1px 6px rgba(0,0,0, 0.175);
    background: #fff;
}
.timeline-panel-container-inverted .timeline-panel{
float: left;
margin-left: 40px;
}
.timeline-panel:after{
position: absolute;
top: 27px;
right: -14px;
display:inline-block;
border-top: 14px solid transparent;
border-left: 14px solid #fff;
border-right: 0 solid #fff;
border-bottom: 14px solid transparent;
content:" ";
}
.timeline-panel-container-inverted .timeline-panel:after{
    border-left-width: 0;
    border-right-width: 14px;
    left:-14px;
    right:auto
}
.timeline-heading h3{
    margin-top: 5px;
    font-size: 20px;
}
.timeline-heading h4{
    color:#d82c2e;
}
/*EDUCATION*/

#ecucation{
    background: #fff;
}
#education .heading h2{
    color: #d82c2e;
}
.education-block{
    width: 80%;
    margin: 0 auto;
    text-align: center;
    padding: 30px;
    background:#ddd;
    border-radius: 10px;
    border: 2px solid #ccc;
    margin-bottom: 20px;
}
.education-block h5{
    color: #888;
    font-size: 15px;
    margin-bottom: 15px;
}
.education-block .glyphicon{
    font-size: 40px;

}
.education-block h3{
    color: #d82c2e;
}
.education-block h4{
    margin-bottom: 20px;
}
.education-block p{
    font-weight: bold ;
}
.education-block .red-divider{
    margin-bottom: 20px;
}
/*PORTFOLIO*/
#portfolio{
    background-color: #d82c2e;
}
#portfolio .heading h2
{
    color:#fff;
    background-color: #d82c2e;
}

/*RECOMMANDATION*/
#recommandations{
    background: #fff;
    margin-top: 20px;
}
#recommandations .heading h2{
    color:#d82c2e
}
.carousel-control-prev, .carousel-control-next{
    background-image: none;
    color:#d82c2e
}
.carousel-indicators{
    bottom: 0px;
}
.carousel-indicators li{
    border-color: #d82c2e;
}
.carousel-indicators li.active{
    background-color: #d82c2e;
}
#myCarousel .carousel-item{
    padding:40px 30px;
}
#myCarousel .carousel-item h3{
    color:#d82c2e;
    font-style: italic;
}
/*FOOTER*/
footer{
    background-color: #333;
    padding: 20px 0 40px;

}
footer span {
    color:#d82c2e;
    font-size: 25px;
    line-height: 35px; /* Pourquoi fixer la hauteur de ligne du span? 
    Pour que lorsqu'il grandit et qu'il passe de 25 à 27 px, 
    il ne repousse pas le texte d'en-dessous*/
}
footer span:hover {
    
    font-size: 27px;
}
footer h6 {
    color: white;
    font-weight: normal;

}