/* GENERAL*/

body {
    font-family: 'Lato', sans-serif;
}

h1,h2,h3,h4,h5,h6 {
    font-weight: bold;
}
/*style applique a l'ensemble des images du HTML*/
img {
    max-width: 100%; /*du conteur*/
    height :auto;
}

section {
    padding: 65px 0 80px 0;
}

section .heading{
    text-align: center;
    padding-bottom: 40px;
    margin-bottom: 30px;
}

section .heading h2{
    text-transform: uppercase;
    color: #d82c2e;
}
.divider{
    width: 100px;
    height: 2px;
    background-color: #d82c2e;
    margin: 0 auto 15px;
}
.divider.white{
    background-color: #fff;
}
/*permet de supprimer les point associes au type liste*/
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: #fff !important;
    margin : 0 7px;
}

.nav-link.active,
.nav-link:hover {
    background-color: #fff;
    color: #d82c2e !important;
}

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

#about .heading h3{
    color: #000;
}
.button1{
    margin-top: 15px;
}
/*background de la section #about*/
#about {
    background-color: #d82c2e;
}
/*modelage de la photo*/
.profilePicture{
    text-align: center;
    margin: 0px auto 30px;
    float: none;
}


/*SKILLS*/
#skills .heading h2{
    color: #d82c2e;
}

#skills .progress{
    height: 45px;
    margin: 30px 20px;
}

#skills .progress:last-child{
    margin-bottom: 0px;
}

#skills .progress-bar h5{
    text-shadow:1px 1px 1px #000;
    margin:3px;
}


/*EXPERIENCE */
#experience{
    background-color: #d82c2e;
}
#experience .heading h2{
    color:#fff;
}
.timeline{
    padding: 30px 10px;
    position: relative;
}
/*creation de la 'timeline'*/
.timeline:before{
    top:0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 5px;
    background-color: #333;
    left: 50%;
    margin-left: -2.5px;
}
/*repartion a gauche et a droite de la ltimeline*/
.timeline > li{ /*le premier enfant, cad celui qui vient juste apres la classe timeline*/
    margin-bottom: 20px;
    position: relative;
}
.timeline > li:before,
.timeline > li:after{
    content: " ";
    display: table;
}
.timeline > li:after{
    clear:both;
}
.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: -25px;
    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 #d4d4d4;
    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 */
#education{
    background: #fff;
}
#education .heading h2{
    color: #d82c2e;
}
.education-block{
    width:90%;
    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 .bi{
    font-size: 35px;
}
.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: #d82c2e;
}
#portfolio .heading h2{
    color: #fff;
}

#portfolio img{
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    -ebkit-filter: grayscale(100%); 
}
#portfolio img:hover{
    filter: none;
    -webkit-filter: none; 
}
#portfolio .col-md-9{
    text-align: center;
    margin: 0 auto 30px;
}

/* FOOTER */ 

footer {
    background-color: #333;
    padding: 25px 0 40px;
}

footer span {
    color: #d82c2e;
    font-size: 25px;
    line-height: 35px;
}

footer span:hover {
    font-size: 28px;
}

footer h5 {
    color: #fff;
    font-weight: normal;
}