@font-face {
  font-family: "QuicksandBook";
  src: url('/fonts/Quicksand_Book.eot');
  src: local('Quicksand Book'), url('/fonts/Quicksand_Book.woff') format('woff'), url('/fonts/Quicksand_Book.otf') format('opentype'), url('/fonts/Quicksand_Book.svg#QuicksandBook-Regular') format('svg');
  font-weight: normal;
}

@font-face {
  font-family: "QuicksandBold";
  src: url('/fonts/Quicksand_Bold.eot');
  src: local('Quicksand Book'), url('/fonts/Quicksand_Bold.woff') format('woff'), url('/fonts/Quicksand_Bold.otf') format('opentype'), url('/fonts/Quicksand_Bold.svg#QuicksandBold-Regular') format('svg');
}

@font-face {
  font-family: "BrightMix";
  src: url('/fonts/iconpack.eot');
  src: url('/fonts/iconpack.woff') format('woff'), url('/fonts/iconpack.otf') format('opentype'), url('/fonts/iconpack.svg#IconPack') format('svg');
}

a {
  color: #2D5B67;
}

.columns {
  color: #555;
}

dd,dt {
  line-height: 3.5rem;
}

.twitter,.tel,.email {
  display: inline-block;
  width: 20px;
  background-repeat: no-repeat;
  margin-right: 10px;
  position: relative;
  background-position: 50%;
}

.email {
  background-image: url('/images/email.png');
}

.tel {
  background-image: url('/images/tel.png');
}

.twitter {
  background-image: url('/images/twitter.png');
}

body {
  background-image: url('/images/bg_top.png');
  background-color: #273D50;
  background-repeat: no-repeat;
  background-position: 50% 0;
  color: #eeeeee;
  font-family: Georgia, Times, "Times New Roman", serif;
  font-size: 16px;
  line-height: 20px;
}

button {
  appearance: none;
  background-color: #2D5B67;

  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  color: #FFF;
  font-size: 18px;
  height: 16px;
  line-height: 16px;
  margin-right: 10px;
  padding: 6px 8px;
  text-align: center;
  width: 111px;
  border: none;

  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  position: absolute;
  right: -20px;
  cursor: pointer;
}

header {
  font-family: 'QuicksandBook', sans-serif; /*font-family:  "QuicksandBook", "Helvetica Neue", Helvetica, Arial, sans-serif;
  */
display: block;
  padding: 0;
  overflow: hidden;
}

header h2.columns {
  color: #FFF;
}

header ul {
  background: rgba(0,0,0,0.6);
  height: 40px;
  border: 10px solid transparent;
  border-top: none;

  -webkit-box-shadow: 0 0 5px #000;
  -moz-box-shadow: 0 0 5px #000;
  box-shadow: 0 0 5px #000;

  -webkit-background-clip: padding-box;
  -moz-background-clip: padding-box;
  background-clip: padding-box;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.no-rgba header ul {
  background: #222;
}

header li {
  display: inline-block;
  text-transform: uppercase;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.2);
  line-height: 30px;
  width: 19.4%;
  padding: 0;
  margin: 0;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

header li:last-child {
  border-right: none;
}

header img {
  width: 150px;
}

header h1 {
  display: inline-block;
  height: 150px;
  line-height: 150px;
  color: #FFF;
  width: 100%;
  text-align: center;
}

blockquote.columns {
  display: inline;
  margin-right: 0;
  line-height: 28px;
  margin-bottom: 0;
  color: #FFF;
  font-size: 20px;
  font-size: 2rem;
  font-family: Georgia, Times, "Times New Roman", serif;
  border: none;
}

blockquote cite {
  display: block;
  font-size: 20px;
  font-size: 2rem;
  color: #FFF;
}

header > div.row {
  margin-top: 20px;
  margin-top: 2rem;
  min-height: 130px;
}

#page {
  margin: 18px 0 50px 0;
}

#main,
.blogpost,
.project {
  border: 10px solid transparent;

  -webkit-box-shadow: 0 0 5px #000;
  -moz-box-shadow: 0 0 5px #000;
  box-shadow: 0 0 5px #000;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: #FFF;
  color: #000;

  -webkit-background-clip: padding-box;
  -moz-background-clip: padding-box;
  background-clip: padding-box;
  background-repeat: no-repeat;
  overflow: hidden;
}

.no-boxshadow #main,
.no-boxshadow .blogpost,
.no-boxshadow .project {
  border: 10px solid #222;
}




.blogpost,.project {
  position: relative;
  color: #555;
}

.blogpost:hover,.project:hover {
  -webkit-box-shadow: 0 0 15px #000;
  -moz-box-shadow: 0 0 15px #000;
  box-shadow: 0 0 15px #000;
}

.blogpost p {
  font-size: 20px;
  font-size: 2rem;
  line-height: 30px;
  line-height: 3rem;
}

.blog li > span,.lab li > span {
  font-family: Monaco, "Courier New", monospace;
  color: #555;
}

#main > section,#main > div,#main > ul,#main > p,article.blogpost,article.project {
  padding: 3rem;
  padding: 30px;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

article p:first-of-type {
  margin-top: 18px;
  margin-top: 1.8rem;
}

#about {
  background-image: -webkit-linear-gradient(top, #ffffff 0%,#f2f2f2 100%), linear-gradient(top, #E8E8E8 0%,#E8E8E8 100%);
  background-image: -moz-linear-gradient(top, #ffffff 0%,#f2f2f2 100%), linear-gradient(top, #E8E8E8 0%,#E8E8E8 100%);
  background-image: -o-linear-gradient(top, #ffffff 0%,#f2f2f2 100%), linear-gradient(top, #E8E8E8 0%,#E8E8E8 100%);
  background-image: -ms-linear-gradient(top, #ffffff 0%,#f2f2f2 100%), linear-gradient(top, #E8E8E8 0%,#E8E8E8 100%);
  background-image: linear-gradient(top, #ffffff 0%,#f2f2f2 100%), linear-gradient(top, #E8E8E8 0%,#E8E8E8 100%);

  -webkit-background-size: 100% 100%, 100% 1px;
  -moz-background-size: 100% 100%, 100% 1px;
  background-size: 100% 100%, 100% 1px;
  background-position: 0 0, 0 100%;
}

#about a {
  color: #292A5D;
  text-decoration: underline;
}

.myself p {
  margin-top: 25px;
  margin-top: 2.5rem;
}

hr {
  clear: both;
  border-top: 1px solid #f4f4f4;
  border-bottom: 1px solid #f4f4f4;
  height: 2px;
  margin: 24px 0;
}

.blog hr,.projects hr {
  height: 120px;
  border: none;
  margin: 0;
  clear: both;
  background: url('/images/ampersand.png') no-repeat 50% 50%;
}

.blog hr:last-child,.projects hr:last-child {
  display: none;
}

.projects p img {
  -webkit-box-shadow: 5px 5px 5px #999;
  -moz-box-shadow: 5px 5px 5px #999;
  box-shadow: 5px 5px 5px #999;
}

header h2 {
  color: #FFF;
  line-height: 145px;
  font-size: 70px;
  font-size: 7rem;
  position: relative;
  text-align: center;
}

h2,h3 {
  font-family: 'QuicksandBook', sans-serif;
  color: #2D5B67;
  font-size: 35px;
  font-size: 3.5rem;
  padding: 0;
}

h4 {
  font-family: 'QuicksandBook', sans-serif;
  color: #2D5B67;
}

h1 span,h2 span,h3 span,h4 span {
  color: #292A5D;
}

#about {
  overflow: hidden;
}

#about + hr {
  visibility: hidden;
}

.competences img,.developments img {
  border: 5px solid #444;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.competences h3,.developments h3 {
  text-align: center;
}

.competences li {
  text-align: justify;
}

.front #desktop {
  position: relative;
  left: -88px;
}

#evangelist{
  position: relative;
  left: 100px;
}

#front {
  position: relative;
  left: -30px;
}

#main > hr:last-of-type {
  margin-bottom: 0;
}

#main .contact {
  padding: 4.2rem 2rem;
  padding: 42px 20px;
  background: #F8F8F8;
}

.contact-button {
  background: #2D5B67;
  font-size: 1.8rem;
  font-size: 18px;
  display: block;
  width: 150px;
  position: absolute;
  bottom: 0;
  right: 0;

  -webkit-transition: background 1s ease;
  -moz-transition: background 1s ease;
  -o-transition: background 1s ease;
  -ms-transition: background 1s ease;
  transition: background 1s ease;
}

#about .contact-button {
  color: #FFF;
  text-decoration: none;
}

.contact-button:hover {
  background: #292A5D;
}

#js,#ruby,#php {
  position: relative;
  left: 180px;
}

#development {
  position: relative;
  top: 0;
  left: 160px;
}

.description {
  font-size: 3rem;
  font-size: 30px;
  line-height: 4.5rem;
  line-height: 45px;
  color: #2D5B67;
  padding-bottom: 80px;
}

.technos {
  position: absolute;
  top: 1rem;
  top: 10px;
  right: 2rem;
  right: 20px;
}

.technos li {
  display: inline-block;
  padding: 0.4rem 1rem;
  padding: 4px 10px;
  background: #273D50;

  border-radius: 20px;
  -webkit-border-radius: 2rem;
  -moz-border-radius: 2rem;
  border-radius: 2rem;
  margin-left: 5px;
  margin-left: 0.5rem;
  color: #FFF;
  font-family: 'QuicksandBook', sans-serif;
  text-transform: uppercase;
}

.description span {
  color: #292A5D;
}

.columns p {
  font-size: 20px;
  font-size: 2rem;
  line-height: 30px;
  line-height: 3rem;
}

nav a {
  color: #AAA;
}

nav li.active a {
  color: #2a85e8;
}

nav ul {
  display: none;
}

nav select {
  margin: 0 auto;
  display: block;
  width: 150px;
  margin-top: 20px;
  margin-top: 2rem;
}

.front #competences li:before,.back #competences li:before,.front #technologies li:before,.back #technologies li:before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 11px;
  background: url('/images/accueil/icon.png') no-repeat;
  padding-right: 10px;
  position: relative;
}

.row .phone-four.description {
  padding-bottom: 80px;
}

.description .contact-button {
  margin-right: 10px;
}

#contact dt {
  float: left;
  text-indent: -9999em;
}

.contact input,.contact textarea {
  width: 100%;
}

.contact {
  color: #555;
}

.contact textarea {
  height: 100px;
  height: 10rem;
}

/* tablet */
@media only screen and (min-width: 760px) {
  header h2 {
  text-align: left;
}

nav ul {
  display: block;
}

nav select {
  display: none;
}

}

/* Desktop */
@media only screen and (min-width: 980px) {
  blockquote:before {
  content: "\201C";
  font-size: 48px;
  margin: 5px 0 0 -0.525em;
  position: absolute;
  font-family: Times, Georgia, serif;
  line-height: 0;
}

blockquote:after {
  content: "\201D";
  font-size: 48px;
  margin: 20px 0 0 0.325em;
  position: absolute;
  right: 0;
  bottom: 3rem;
  bottom: 30px;
  font-family: Times, Georgia, serif;
  line-height: 0;
}

.front #competences, .back #competences {
  margin-left: 0;
  left : 0;
}

.front #technologies,.back #technologies {
  position: relative;
  left: 20px;
  overflow: hidden;
  margin: 0;
}

.back {
  position: relative;
  left: 20px;
}

}

/* Time */
a[rel~=bookmark] {
  display: block;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 60px;
  margin-bottom: 18px;
  border: 1px solid #273D50;
  font: 24px/45px "Helvetica Neue", Arial, sans-serif;
  text-align: center;
  letter-spacing: 2px;
  text-decoration: none;
  color: #666;
  background: #fcfcfc url("/images/date-day-bg.png") repeat-x left 18px;
}

a[rel~=bookmark] sup {
  position: absolute;
  padding-top: 4px;
  font-size: 10px;
  line-height: 10px;
  letter-spacing: normal;
}

a[rel~=bookmark] abbr {
  display: block;
  font: 10px Verdana, sans-serif;
  letter-spacing: normal;
  color: white;
}

a[rel~=bookmark]>:first-child {
  width: 50px;
  margin: -1px 0 0 -1px;
  padding: 0 5px;
  border: 1px solid #273D50;
  line-height: 16px;
  text-align: left;
  text-transform: uppercase;
  background: #273D50;
}

a[rel~=bookmark] sup+abbr {
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  padding: 0 3px;
  border: 1px solid #273D50;
  border-bottom: 1px solid #273D50;
  line-height: 14px;
  color: #FFF;
  text-align: right;
}

a[rel~=bookmark] time {
  display: none;
}

.row#credits{
  text-align: right;
  top: -40px;
  position: relative;
}

