/* GENERAL */

body
{
    font-family: "lato", sans-serif;
}

h1, h2, h3, h4, h5, h6
{
    font-weight: bold;

}

img
{
    max-width: 100%;
    height: auto;
}

section
{
    padding: 45px 0 80px 0;
}

section .heading
{
    text-align: center;
    padding-bottom: 40px;
}

section .heading h2
{
    text-transform: uppercase;
}

.red-divider
{
    width: 100px;
    height: 2px;
    background: #597535;
    margin: 0 auto;
}

.white-divider
{
    width: 100px;
    height: 2px;
    background: #fff;
    margin: 0 auto;
}

ul,ol
{
    list-style: none;
}




/* MENU */

.navbar
{
    background: #597535;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
}

.navbar .navbar-nav
{
    display: inline-block;
    float: none;
    vertical-align: top;
}

.navbar .navbar-collapse
{
    text-align: center;
}

.navbar li a
{
    color: #fff !important;
}

.navbar-nav li a:hover, .navbar-nav li.active a
{
    color: #597535 !important;
    background: #fff !important;
}

.navbar-default .navbar-toggle
{
    border-style: none;
}

.icon-bar
{
    background: #fff !important;
}


/* essais particles
.count-particles
{
    width: 800px;
    height: 1000px;
} */

canvas{
    position: fixed;
}

/* ABOUT */

#about
{
    padding-top: 100px;
    background: #597535;

}

.profile-picture
{
    text-align: center;
    margin: 0 auto;
    float: none;
}

#about .heading h1
{
    color: #ffffff;
    text-transform: uppercase;
}

#about .heading h3
{
    color: #000000;
}

.button2
{
    font-weight: bold;
    font-size: 20px;
    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;
    background: #597535;
}

.button2:hover
{
    background-color:#000000;
    border-color: grey;
    color: white;
}



/* SKILLS */
#skills
{
    background: #ffffff;
}

#skills .heading h2
{
    color: #597535;
}

#skills .progress
{
    height: 100%;
    margin: 30px 20px;
    background: #dddddd;
}

#skills .progress-bar
{
    background: #597535;
}

#skills .progress h5
{
    text-shadow: 1px 1px 1px #000000;
    text-transform: uppercase;
}

#skills .progress h5 span
{
    text-shadow: 1px 1px 1px #000000;
    text-transform: none;
}


/* EXPERIENCE */

#experience
{
    background: #597535;

}

#experience .heading h2
{
    color: #fff;
}

.timeline
{
    padding: 30px 10px;
    position: relative;
}

.timeline::before          /* c'est le trait de temps*/
{
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 5px;
    background: #333;
    left: 50%;
    margin-left: -2.5px;
}

.timeline > li            /* > veut dire parent direct*/
{
    margin-bottom: 20px;
    position: relative;
}

.timeline > li:after
{
    clear: both;
}

.timeline li:before, .timeline li:after
{
    content: " ";
    display: table;
}

.timeline li .timeline-badge /* petites valise sur le trait*/
{
    color: #597535;
    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-color: #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
{
    columns: #597535;
}



/* EDUCATION */

#education
{
    background: #fff;
}

#education .heading h2
{
    color: #597535;
}

.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: #597535;
}

.education-block h4
{
    margin-bottom: 20px;
}

.education-block p
{
    font-weight: bold;
}

.education-block .red-divider
{
    margin-bottom: 20px;
}



/* PORTFOLIO */

#portfolio
{
    background: #597535;
}

#portfolio .heading h2
{
    color: #fff;
}

#portfolio .thumbnail img
{
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

#portfolio .thumbnail img:hover
{
    width: 100%;
    height: 100%;
    filter: grayscale(none);
    -webkit-filter: none;
}

/*PUBLICATIONS*/
#publi
{
    /* background: #597535; */
    color: #597535;
}

#publi button
{
    position: absolute;
    margin-top: -60px;
    margin-left: 5px;
    background-color: #597535;
    border-color: grey;
}

#publi button:hover
{
    background-color: black;
    border-color: grey;
}

#publi .thumbnail img
{
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

#publi .thumbnail img:hover
{
    width: 100%;
    height: 100%;
    filter: grayscale(none);
    -webkit-filter: none;
}


/*PRESSE*/
#presse
{
    background: #597535;
    color: white;
}

#presse .thumbnail img
{
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

#presse .thumbnail img:hover
{
    width: 100%;
    height: 100%;
    filter: grayscale(none);
    -webkit-filter: none;
}

/* RECOMMANDATIONS */

#recommandations
{
    background: #fff;
}

#recommandations .heading h2
{
    color: #597535;
}

.carousel-control.left, .carousel-control.right
{
    background-image: none;
    color: #597535;
}

.carousel-indicators
{
    bottom: 0px;
}

.carousel-indicators li
{
   border-color: #597535; 
}

.carousel-indicators li.active
{
   background-color: #597535; 
}

#myCarousel .item
{
    padding: 40px 30px;
}

#myCarousel .item h3
{
    color: #597535;
    font-style: italic;
}




/* FOOTER */

footer
{
    background-color: #333;
    padding: 20px 0 40px;
}

footer .glyphicon
{
    font-size: 25px;
    margin: 20px;
    color: #597535;
    height: 30px;
}

footer .glyphicon:hover
{
    font-size: 27px;
}

footer h5
{
    color: #fff;
    font-weight: normal;
    font-size: 20px;
}





@media (max-width:768px)
{
    .timeline:before
    {
        
        left: 30px;
    }

    .timeline li .timeline-badge 
    {
        left: 20px;
    }

    .timeline-panel-container, .timeline-panel-container-inverted
    {
        width: 100%;
    }

    .timeline-panel-container-inverted .timeline-panel, .timeline-panel
    {
        margin-left: 60px;
        float: none;
    }

    .timeline-panel::after
    {
        border-left-width: 0;
        border-right-width: 14px;
        left: -14px;
        right: auto;
    }


}


/* CONTACT */

#contact
{
    background: #597535;
}


#contact .heading h2
{
    color: #fff;
}

#contact-form
{
    font-size: 20px;
    color: #fff;
}



.form-control
{
    height: 50px;
    font-size: 18px;
}

.comments
{
    font-style: italic;
    font-size: 18px;
    color: #fff;
    height: 25px;
}

#contact-form input[type=submit]
{
    margin: 40px auto 0px;
    display: block;
}

.button1:hover
{
    border-color: #ffa500;
    background: #333;
}

.thank-you
{
    text-align: center !important;
    margin-top: 15px;
    font-weight: bold;
    font-size: 22px;
}




