/* Général */
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 .heading1 {
  text-align: center;
  padding-bottom: 0;
}

section .heading h2 {
  text-transform: uppercase;
}

.red-divider {
  width: 100px;
  height: 2px;
  background: #1995AD;
  margin: 0 auto;
}

.white-divider {
  width: 100px;
  height: 2px;
  background: #1995AD;
  margin: 0 auto;
}

.button1 {
  font-weight: bold;
  text-transform: uppercase;
  color: #1995AD;
  border: 1px solid #A1D6E2;
  display: inline-block;
  margin-top: 20px;
  padding: 18px 50px;
  border-radius: 3px;
  transition: all 0.3s ease-in 0s;
  background: #BCBABE;
  text-decoration: none;
}

.button1:hover {
  background: #1995AD;
  color: #F1F1F2;
  text-decoration: none;
}

/* Navbar */
.navbar {
  background: #BCBABE;
  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 li a {
  color: #1995AD;
}

.navbar-nav li.active a {
    font-weight: bolder !important;
}

.navbar-nav li a:hover {
    color: #A1D6E2 !important;
    background-color: #1995AD !important;
}

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

.icon-bar {
  background-color: #1995AD !important;
}

@media(max-width: 1200px) {
  .menuItem {
    padding: 10px !important;
  }
}

/* About */

#about {
  padding-top: 100px;
  background-image: url("../images/bg-1.png");
}

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

#about .heading1 h1 {
  color: #1995AD;
  text-transform: uppercase;
}

#about .heading1 h3 {
  color: #1995AD;
}

.presentation {
  width: 75%;
  margin: 0 auto;
  font-style: italic;
  padding-top: 30px;
}

/* skills */

#skills {
  background: #fff;
}

#skills .heading h2 {
  color: #1995AD;
}

#skills .progress {
  height: 100%;
  margin: 30px 20px;
  background: #BCBABE;
}

#skills .progress-bar {
  background : #1995AD;
}

#skills .progress h5 {
  color: #f6e8f5;
  text-shadow: 1px 1px 1px #000;
}

/* experience */

#experience {
  background: #F1F1F2;
}

#experience .heading h2 {
  color: #1995AD;
}

.timeline {
  list-style: none;
  padding: 30px 10px;
  position: relative;
}

.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 5px;
  background: #333;
  left: 50%;
  margin-left: -2.5px;
}

.experience {
  margin-bottom: 20px;
  position: relative;
}

.timeline .experience:after {
  clear: both;
}

.timeline .experience:before, .timeline .experience:after {
  content: " ";
  display: table;
}

.timeline-badge {
  color: #1995AD;
  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 #F1F1F2;
  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: #1995AD;
}

@media(max-width: 600px) {
  .name {
    font-size: 24px;
  }

  .job {
    font-size: 18px;
  }

  .title {
    font-size: 24px;
  }

  section .heading {
    padding-bottom: 20px;
  }

  .timeline:before {
    left: 20px;
  }

  .experience {
    margin-bottom: 25px;
    position: relative;
    width: 100%;
    clear: left;
  }

  .timeline-panel {
    float: left;
    margin-left: 50px;
    padding: 10px;
    width: 100%;
  }

  .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
  }

  .timeline-panel-container {
    width: 75%;
    float: left;
    clear: left;
  }

  .timeline-panel-container-inverted {
    width: 75%;
    margin-left: 10px;
    float: left;
    clear: left;
    margin-top: 0;
    margin-bottom: 25px;
  }

  .timeline-badge {
    left: 8px;
  }
}

/* Education */

#education {
  background: #fff;
}

#education .heading h2 {
    color: #1995AD;
}

.education-block {
  width: 80%;
  height: 385px;
  margin: 0 auto;
  text-align: center;
  padding: 30px;
  background: #F1F1F2;
  border-radius: 10px;
  border: 2px solid #ccc;
  margin-bottom: 20px;
}

.education-block h5 {
  color: #A1D6E2;
  font-size: 15px;
  margin-bottom: 15px;
}

.education-block .glyphicon {
  font-size: 40px;
}

.education-block h3 {
  color: #1995AD;
}

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

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

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

/* Portfolio */

#portfolio {
  background: #F1F1F2;
}

#portfolio .heading h2 {
  color: #1995AD;
}

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

#portfolio .thumbnail img:hover {
  filter: none;
  -webkit-filter: none;
}

/* Recommendations */

#recommandations {
  background: #fff;
}

#recommandations .heading h2 {
  color : #1995AD;
}

.carousel-control.left, .carousel-control.right {
  background-image: none;
  color: #1995AD;
}

.carousel-indicators {
  bottom: -10px;
}

.carousel-indicators li {
  border-color: #1995AD;
}

.carousel-indicators li.active {
  background-color: #1995AD;
}

#myCarousel {
  height: 150px;
}

#myCarousel .item {
  padding: 0 30px;

}

#myCarousel .item h3 {
  color: #1995AD;
  font-size: 18px;
  font-style:italic;
}

@media(max-width: 760px) {
  #myCarousel {
    height: 200px;
  }

  .carousel-inner {
    width: 75%;
    margin: 0 auto;
  }
}

@media(max-width: 520px) {
  #myCarousel {
    height: 165px;
  }

  .comments {
    font-size: 12px !important;
  }

  .owner {
    padding-top: 10px;
    font-size: 12px;
  }
}

/* footer */

footer {
  background: #BCBABE;
  padding: 20px 0 40px;
}

footer .glyphicon {
  font-size: 25px;
  margin: 20px;
  color: #1995AD;
  height: 30px;
}

footer .glyphicon:hover {
  font-size: 27px;
}

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

/* Contact */
#contact {
  background: #F1F1F2;
}

#contact .heading h2 {
  color: #1995AD;
}

#contact-form {
  font-size: 20px;
  color: #1995AD;
}

.form-control {
  height: 50px;
  font-size: 18px;
}

.comments {
  font-style: italic;
  font-size: 18px;
  color: #1995AD;
  height: 25px;
}

#contact-form input[type=submit] {
  margin: 40px auto 0;
  display: block;
}

.thank-you {
  text-align: center;
  margin-top: 15px;
  font-weight: bold;
  font-size: 22px;
}

