/* ALL */

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

h1,h2,h3,h4,h5,h6{
	font-weight: bold;
}

h1{
	text-transform: uppercase;
}

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-devider{
	width: 100px;
	height: 2px;
	background: #d82c2e;
	margin: 0 auto;
}

.white-devider{
	width: 100px;
	height: 2px;
	background: white;
	margin: 0 auto;
}

ul,ol
{
	list-style:none;
}

.ptnav{
	font-weight: bold;
}

.button1{
	font-weight: bold;
	text-transform: uppercase;
	color: white;
	border: 1px solid white;
	margin-top: 20px;
	padding: 18px 50px;
	border-radius: 3px;
	display: inline-block;
	transition: all 0.5s ease;
	background: transparent;
}

.button1:hover{
	background: white;
	color: #d82c2e;
	text-decoration: none;
}


/* MENU */
.navbarTitle{
	padding-top: 25%;
	margin-top: -16%;
	font-weight: bold;
	color: lightgrey;
	text-shadow: 1px 1px 1px black;
}

.navbar{
	padding: 0;
	background: #d82c2e;
	font-size: 12px;
	letter-spacing: 4px;
	text-transform: uppercase;
	font-weight: bold;
}

.navbar .navbar-nav{
	display: inline-block;
	float: none;
	vertical-align: top;
}

.navbar .navbar-collapse{
	text-align: center;
}

.navbar-toggle{
	text-align: left;
}

.navbar li a{
	color: white !important;
	transition: all 0.25s ease;
	border-left: solid white 1px ;
	border-bottom: solid white 1px ;
	border-right: solid white 1px ;
	border-radius: 0px 0px 20px 20px;
}

.navbar-nav li a:hover, .navbar-nav li.active a{
	color: #d82c2e !important;
	background-color: white !important;
}

.navbar-default .navbar-toggle{
	border-style: none;
}

.icon-bar{
	background-color: white !important;
}

.navbar-header a{
	color: white !important;
	margin-top: 50%;
}


/* ABOUT */
#about{
	padding-top: 100px;
	background: #d82c2e;
}

.profile-picture{
	text-align: center;
	margin: 0 auto;
	float: none;
}

#about .heading h1{
	color: white;
}

#about .heading h3{
	color: black;
	
}



/* SKILLS */
#skills{
	background: white;
}

#skills .heading h2{
	color: #d82c2e;
	text-transform: uppercase;
}

#skills .progress{
	height: 16%;
	margin: 30px 20px;
	background: #ddd;
}

#skills .progress-bar{
	background: #d82c2e;
}

#skills .progress h5{
	text-shadow: 1px 1px 1px black;
}

/* EXPERIENCE */
#experience
{
    background: #d82c2e;
}
#experience .heading h2
{
    color: #fff;
}

#experience h3{
	text-transform: uppercase;
}

.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: -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;
}

.ptnav{
	color: #d82c2e;
}


/* EDUCATION */
#education{
	background: white;
}

#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;
	margin-right: 3px
}

.education-block h3{
	color: #d82c2e;
}

.education-block h4{
	margin-bottom: 20px;
}

.education-block p{
	font-weight: bold;
}

.education-block .red-devider{
	margin-bottom: 20px;
}


/* PORTFOLIO */
#portfolio{
	background: #d82c2e;
}

#portfolio .heading h2{
	color: white;
}

#portfolio .thumbnail img{
	width: 100%;
	height: 100%;
	-webkit-filter: greyscale(100%);
}

#portfolio .thumbnail img:hover{
	filter: none;
	filter: grayscale(100%);
	-webkit-filter:greyscale(100%);
}

#portfolio .heading .ptnav{
	color: white;
	text-transform: uppercase;
}

#portfolio .heading .ptnav:hover{
	cursor: pointer;
}

/********* Superposition simple de texte sur une image *******/
/* Conteneur principal */
.overlay-image {
 position: relative;
 width: 100%;
}
/* Image originale */
.overlay-image .image {
	display: block;
	width: 100%;
	height: auto;
	transition:all 0.5s ease;
}
/* Texte original */
.overlay-image .text {
	color: #fff;
	font-size: 30px;
	line-height: 1.5em;
	text-shadow: 2px 2px 2px #000;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
}

/* Overlay */
.overlay-image:hover{
	cursor: pointer;
}

.overlay-image .hover {
	position: absolute;
	top: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: .5s ease;
}
/* Apparition overlay sur passage souris */
.overlay-image:hover .hover {
	opacity: 1;
}
.hover:hover{
	cursor: pointer;
}

.overlay-image:hover .image{
	filter: grayscale(100%);
}
.image:hover{
	cursor: pointer;
}

.overlay-image .normal {
	transition: .25s ease;
}
.overlay-image:hover .normal {
	opacity: 0;
}
.normal:hover{
	cursor: pointer;
}


/* CONTACT */
#contact .heading h2
{
    color: #d82c2e;
}
#contact-form
{
    font-size: 20px;
    background: #d82c2e;
    padding: 40px;
    border-radius: 10px;
	color: white;
}

.indProj{
	font-size: 25px;
	color: white;
	height: 30px;
	transition: all 0.125s ease;
}

.defProj{
	background: white;
	border-radius: 10px;
}

h3
{
    margin-top: 5px;
    font-size: 20px;
}

h4
{
     color: #d82c2e;
}

.ptnav{
	color: #d82c2e;
}

.tasks{
	list-style: circle;
	margin-left: -20px;
}





/* FOOTER */
footer{
	background: #333;
	padding: 20px 0 40px;
}

footer .glyphicon{
	font-size: 25px;
	margin: 20px;
	color: #d82c2e;
	height: 30px;
	transition: all 0.125s ease;
}

footer .glyphicon:hover{
	font-size: 30px;
	color: white;
}

footer h5{
	color: white;
	font-weight: normal;
	text-transform: uppercase;
}














/*SCROLLBAR*/
::-webkit-scrollbar {
  width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  	/*background: #888;*/
	background: #d82c2e;
	border-left: 1px solid #f1f1f1;
	border-right: 1px solid #f1f1f1;
	
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #99191b; 
}