body {
  font-family: Calibri, sans-serif;
  margin: 0;
  text-align: center;
  min-height: 100%;
  position: relative;
  padding-bottom: 75px;
}

header, footer, li.selected .label, li.selected .label:hover  {
  background-color: #2C3E50;
}

header, footer {
  border-top: 15px #18BC9C solid;
}

header {
  text-align: center;
  color: white;
  margin-bottom: 20px;
}

footer {
  border-top: 10px #18BC9C solid;
  position: fixed;
  width: 100%;
  bottom: 0;
  right: 0;
  text-align: left;
  padding: 10px;
  margin-top: 30px;
}

footer a {
  margin: 4px;
}

footer a:hover img {
  box-shadow: 0 0 5px #fff;
  border-radius: 50px;
}

header a.mail {
  display: inline-block;
  float: left;
  margin: 10px;
  margin-right: -32px;
  height: 32px;
  width: 32px;
  background-image: url(../img/email.png);
}

footer div {
  display: inline-block;
}

footer #cpr {
  padding: 10px 0 0 20px;
  color: #C5CAE9;
}

a {
  text-decoration: none;
  color: #2C3E50;
}

p {
  text-align: justify;
}

hr {
  margin: 20px 0 20px 0;
  background-color: #E3E3E3;
  border: 0;
  height: 1px;
}

.right {
  float: right;
}

#i18n {
  float: right;
  margin-top: -17px;
  height: 17px;
  background-color: #18BC9C;
  color: #FFF;
  font-size: .75em;
  font-weight: bold;
}

#about {
  margin-right: 100px;
  display: inline-block;
  text-align: left;
  padding-top: 15px;
}

#about h1 {
  font-size: 2.7em;
  font-weight: normal;
  margin-bottom: 8px;
  display: inline-block;
}

#about h2 {
  color: #C5CAE9;
  font-size: 1.1em;
  font-weight: normal;
  margin-top: 0;
  margin-bottom: 60px;
  display: inline-block;
  width: 100%;
}

#photo {
  border-radius: 100px;
  margin-top: 30px;
  margin-right: 25px;
  margin-left: -125px;
  float: right;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25),0 3px 10px rgba(0,0,0,0.15);
}

#menu li.selected .label {
  box-shadow: none;
  color: #18BC9C;
  background-color: #2A3C4D;
}

.label {
  text-align: left;
  padding: 10px;
  font-size: 1.1em;
  color: white;
  background-color: #2C3E50;
}

header, #menu li {
  box-shadow: 0 3px 6px rgba(0,0,0,.3);
}

li a:hover .label {
  background-color: rgba(0,0,0,.6);
}

li a:hover {
  background-color: rgba(255,255,255,.1);
}

ul {
  list-style: none;
  padding: 0;
}

ul.list {
  list-style: circle;
}

#menu {
  position: relative;
  z-index: 10;
  background-color: #FFF;
}

#menu li {
  border: none;
  margin: 10px 0;
  vertical-align: top;
  height: 300px;
}

#menu.small {
  font-size: .8em;
  background: none;
}

#menu.small li {
  display: inline-block;
}

#menu li, #main.displayed {
  background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  z-index: 1;
}

#menu li a {
  height: 100%;
  padding: 0;
  text-decoration: none;
  display: block;
  text-align: center;
}

#menu li img {
  width: 100%;
}

#menu li img.large {
  width: auto;
  height: 100%;
}

#main {
  display: none;
}

#main.displayed {
  display: block;
  position: relative;
  top: -76px;
  margin-bottom: -107px;
  font-size: 1.15em;
  background-attachment: fixed;
}

#wrapper {
  padding-top: 50px;
  background-color: rgba(0,0,0,.75);
  min-height: 100%;
  padding-bottom: 30px;
  margin-bottom: 64px;
}

#content *[data-width] {
  display: inline-block;
}

#menu.small .label {
  background-position: left;
  -webkit-background-size: 40px 40px;
  -moz-background-size: 40px 40px;
  -o-background-size: 40px 40px;
  background-size: 40px 40px;
  background-repeat: no-repeat;
  padding-left: 40px;
}

#menu.small #p-cv .label {
  background-image: url(../img/suitcase.png);
}

#menu.small #p-it .label {
  background-image: url(../img/laptop.png);
}

#menu.small #p-at .label {
  background-image: url(../img/chess.png);
}

#menu.small #p-vg .label {
  background-image: url(../img/stage.png);
}

#p-cv {
  background-image: url(../img/cv.jpg);
}

#p-it {
  background-image: url(../img/info.jpg);
}

#p-at {
  background-image: url(../img/livres.jpg);
  background-position: top;
}

#p-vg {
  background-image: url(../img/stage.jpg);
}

#content  h1 {
	background-color: #E14045;
	margin-left: -40px;
  padding: 5px 20px 5px 20px;
  margin-bottom: 0;
	z-index: 2;
  box-shadow: 0 3px 6px rgba(0,0,0,.3);
  font-size: 1.8em;
  display: inline-block;
  color: #fff;
}

@media (min-width: 875px) {
  #menu li {
    margin: 5px 3px;
    display: inline-block;
    width: 48%;
  }

  #menu.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    margin-top: 40px;
  }
  
  #menu.small {
    font-size: 1em;
  }
  
  #main.displayed.below {
    top: -26px;
  }
  
  #content  .left {
    margin-left: -40px;
    border-color: transparent #8A2226 transparent transparent;
    border-width: 0 20px 10px 0;
    z-index: 1;
    border-style: solid;
    height: 0px;
    width: 0px;
    top: 33px;
  }

  #content .table .left, #cv .table.left {
    border-width: 0 15px 10px 0;
    border-color: transparent #999 transparent transparent;
    float: left;
    position: relative;
    margin-left: -35px;
  }
}

@media (max-width: 500px) {
  #menu.small .label {
    font-size: 0;
    background-position: center;
    padding-top: 30px;
  }
  
  #photo {
    display: none;
  }
  
  #about {
    text-align: center;
    margin-right: 0;
  }
}

@media (max-width: 630px) {
  #menu.small li {
    background-image: none;
    background-color: #2C3E50;
  }
  
  #menu.small li a {
    margin-top: -5px;
  }
}