html, body, p, div {
  font-family: "Calibri", sans-serif;
}

html, body {
  background-color: #f0f0f0;
}

body {
  margin: 0.2em 1em;
  font-size: 85%;
}

h1 {
  font-weight: bold;
  font-size: 1.7em;
  margin: 0;
}

h2 {
  border-bottom: 2px solid #404040;
  font-size: large;
  margin: 1.5em 0 0 0;
}

h3 {
  font-weight: bold;
  font-size: 1em;
  margin: 0;
  padding: 0;

  page-break-after: avoid;
  break-after: avoid;
}

h4 {
  font-style: italic;
  font-weight: normal;
  font-size: 1em;
  margin: 0 0 .5em 0;
  padding: 0;
}

address {
  font: inherit;
}

.ligne {
  margin: .8em 0;
  position: relative; /* creating a positioning context */
}

.experiences .ligne {
  margin: 1.4em 0;
}

.caracteristique {
  font-size: 1.08em;
}

.infos {
  border: 1px solid #d0d0d0;
  padding: .5em;
  margin-top: .9em;
  background-color: white;
}

.projet {
  position: relative;
  background-color: white;
  border: 1px solid #e0e0e0;
  padding: .5em .8em;
  margin: .8em;
  page-break-inside: avoid;
  overflow: hidden;
}

.projet:first-child {
  margin: 1.4em .8em;
}

.projet .duration {
  position: absolute;
  right: 0;
  top: 0;
  width: 7em;
  text-align: center;
  padding: .1em .4em;
  border-bottom: 1px solid #E0E0E0;
  border-left: 1px solid #E0E0E0;
  background-color: #fafafa;
  border-radius: 0 0 0 10px;
  -webkit-box-shadow: 0px 3px 2px 0px #aaa;
   -moz-box-shadow: 0px 3px 2px 0px #aaa;
      box-shadow: 0px 3px 2px 0px #aaa;

}

.projet h4 {
  margin-right: 6.8em;
}

.experiences {
  background-color: #f8f8f8;
}

abbr {
  border-bottom: 1px dotted black;
  cursor:help;
}

button.usage-information {
  text-decoration: underline;
  padding: 0;
  overflow: visible; /* IE fix for padding */
}

a, a:active,
button.usage-information, button.usage-information:active {
  color: blue;
  cursor: pointer;
}

a:visited {
  color: #00c;
}

a:hover, a:focus,
button.usage-information:hover,
button.usage-information:focus {
  background-color: #D0D0FF;
}

ul {
  margin-top: 5px;
  margin-bottom: 5px;
}

.label {
  position: absolute;
  left: 0;
  top: 0;
  width: 12.8em;

  page-break-after: avoid;
  break-after: avoid;
}

.experiences h3 {
  margin: 0 0 0 13.2em;
}

.text {
  margin: 0 0 0 13em;

  page-break-before: avoid;
  break-before: avoid;
}

.experiences .text {
  margin: 0;
}

#miseajour,
#lienstatic {
  font-size: .8em;
  float: right;
  clear: right;
}

#validator {
  font-size: .6em;
  float: right;
}

.environnement {
  font-style: italic;
  font-size: .9em;
}

.usage-information {
  font-size: .8em;
  float: right;
  margin: 0 2em;
  font-weight: normal;
  background: transparent;
  border: none;
}

.enumeration {
  margin: 0;
  padding: 0;
}

.enumeration > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

@media screen and (max-width: 540px), handheld and (max-width: 540px) {
  body {
    font-size: 75%;
  }

  #lienstatic {
    display: none;
  }

  #miseajour {
    float: none;
  }

  .text {
    margin: 0;
  }
  
  .label {
    position: static;
    width: auto;
    font-weight: bold;
  }
  .experiences h3 {
    margin: 0;
  }
}

@media screen and (min-width: 900px), handheld and (min-width: 900px) {
  body {
    font-size: 90%;
  }

  .experiences .text {
    margin: 0 0 0 13em;
  }
  
  .projet, .projet:first-child {
    margin: .8em .8em .8em -4em;
  }
}

@media screen, handheld {
  .text, .duration {
    -webkit-transition: opacity 500ms, margin 500ms, visibility 0s;
    -moz-transition: opacity 500ms, margin 500ms, visibility 0s;
    -ms-transition: opacity 500ms, margin 500ms, visibility 0s;
    -o-transition: opacity 500ms, margin 500ms, visibility 0s;
    transition: opacity 500ms, margin 500ms, visibility 0s;
    opacity: 1;
  }

  .hidden .projet,
  .hidden .projet:first-child {
    margin: 0;
  }
  .hidden .text,
  .hidden .duration {
    height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
    border: 0;
    visibility: hidden;
    -webkit-transition-delay: 0s, 0s, 500ms;
    -moz-transition-delay: 0s, 0s, 500ms;
    -ms-transition-delay: 0s, 0s, 500ms;
    -o-transition-delay: 0s, 0s, 500ms;
    transition-delay: 0s, 0s, 500ms;
  }
}

@media print {
  body {
    font-size: 75%;
  }

  #validator {
    display: none;
  }

  .usage-information,
  #lienstatic {
    display: none;
  }

  div.infos {
    padding: 0;
    margin: 0;
    border: 0;
  }
}
