/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
.cd-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  width: 90%;
  max-width: 1170px;
  margin: 0 auto;
}
.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}

/* -------------------------------- 

Main components 

-------------------------------- */

#cd-timeline {
  position: relative;
  padding: 2em 0;
  margin-top: 2em;
  margin-bottom: 2em;
}
#cd-timeline-vertical-line {
  /* this is the vertical line */
  content: '';
  position: absolute;
  top: -75px;
  left: -2px;
  height: 110%;
  width: 16px;
  background: #fff;
  /*border: 2px solid #c9d1d9;*/
  box-shadow: 0 0 32px #111;
}

.cd-timeline-block {
  position: relative;
  margin: 2em 0;
}
.cd-timeline-block::after {
  clear: both;
  content: "";
  display: table;
}
.cd-timeline-block:first-child {
  margin-top: 0;
}
.cd-timeline-block:last-child {
  margin-bottom: 0;
}

.cd-timeline-img {
  position: absolute;
  top: 15px;
  left: -24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  /*box-shadow: 0 0 0 2px #c9d1d9, 0 0 0 14px #fff, 0 0 0 16px #c9d1d9;*/
  box-shadow: 0 0 32px #111;
}
.cd-timeline-img img {
  display: block;
  width: 24px;
  height: 24px;
  position: relative;
  left: 50%;
  top: 50%;
  margin-left: -12px;
  margin-top: -12px;
}
.cd-timeline-img.cd-picture {
  background: #fff;
}
.cssanimations .cd-timeline-img.is-hidden {
  visibility: hidden;
}
.cssanimations .cd-timeline-img.bounce-in {
  visibility: visible;
  -webkit-animation: cd-bounce-1 0.6s;
  -moz-animation: cd-bounce-1 0.6s;
  animation: cd-bounce-1 0.6s;
}

@-webkit-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
  }
}
@-moz-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -moz-transform: scale(0.5);
  }
  60% {
    opacity: 1;
    -moz-transform: scale(1.2);
  }
  100% {
    -moz-transform: scale(1);
  }
}
@keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    -ms-transform: scale(0.5);
    -o-transform: scale(0.5);
    transform: scale(0.5);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
}
.cd-timeline-content {
  position: relative;
  margin-left: 60px;
  /*border-radius: 0.25em;*/
  padding: 1em;
  /*border: 2px solid #c9d1d9;*/
}
.cd-timeline-content-block-shadow {
  background: #ffffff;
  box-shadow: 8px 8px 32px #111;
}
.cd-timeline-content::after {
  clear: both;
  content: "";
  display: table;
}
.cd-timeline-content h2 {
  color: #303e49;
  font-size: 1.6rem;
}
.cd-timeline-content p, .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
  font-size: 13px;
  font-size: 0.8125rem;
}
.cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
  display: inline-block;
}
.cd-timeline-content p {
  /*margin: 1em 0;*/
  line-height: 1.6;
}
.cd-timeline-content .cd-read-more {
  float: right;
  padding: .8em 1em;
  background: #b72b39;
  color: #ffffff;
  border-radius: 0.25em;
  box-shadow: /*0 0 0 10px #fff, */8px 8px 32px #ccc;
}
.no-touch .cd-timeline-content .cd-read-more:hover {
  background-color: #790b16;
}
.cd-timeline-content .cd-date {
  float: left;
  padding: .8em 0 0 0;
  opacity: .7;
  margin-left: 16px;
}

/*    Background images     */

.bg-img {
  width: 100%;
  height: 100%;
  position: fixed;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  transition: opacity 1s ease;
}

#bg-img-microsoftflightsimulator2024 {
  background-image: url("/img/index/microsoftflightsimulator2024.jpg");
  opacity: 0;
}
#bg-img-totum {
  background-image: url("/img/index/totum.jpg");
  opacity: 0;
}
/*#bg-img-spaceopera {
  background-image: url("/img/index/spaceopera.jpg");
  opacity: 0;
}*/
#bg-img-vega {
  background-image: url("/img/index/vega.jpg");
  opacity: 0;
}
/*#bg-img-lapsychoseenrose {
  background-image: url("/img/index/lapsychoseenrose.jpg");
  opacity: 0;
}*/
#bg-img-unnamed {
  background-image: url("/img/index/unnamed.jpg");
  opacity: 0;
}
#bg-img-gamejam {
  background-image: url("/img/index/gamejam.jpg");
  opacity: 0;
}

#bg-img-fs2024-assurance {
  background-image: url("/img/games/microsoftflightsimulator2024/Assurance.jpg");
  opacity: 0;
}
#bg-img-fs2024-certifications {
  background-image: url("/img/games/microsoftflightsimulator2024/Certifications.jpg");
  opacity: 0;
}
#bg-img-fs2024-configurateur {
  background-image: url("/img/games/microsoftflightsimulator2024/Configurateur.jpg");
  opacity: 0;
}
#bg-img-fs2024-difficulte {
  background-image: url("/img/games/microsoftflightsimulator2024/Difficulte.jpg");
  opacity: 0;
}
#bg-img-fs2024-entretien {
  background-image: url("/img/games/microsoftflightsimulator2024/Entretien.jpg");
  opacity: 0;
}
#bg-img-fs2024-gainreputation {
  background-image: url("/img/games/microsoftflightsimulator2024/GainReputation.jpg");
  opacity: 0;
}
#bg-img-fs2024-licences {
  background-image: url("/img/games/microsoftflightsimulator2024/Licences.jpg");
  opacity: 0;
}
#bg-img-fs2024-mappemonde {
  background-image: url("/img/games/microsoftflightsimulator2024/MappeMonde.jpg");
  opacity: 0;
}
#bg-img-fs2024-marcheneuf {
  background-image: url("/img/games/microsoftflightsimulator2024/MarcheNeuf.jpg");
  opacity: 0;
}
#bg-img-fs2024-marcheoccasion {
  background-image: url("/img/games/microsoftflightsimulator2024/MarcheOccasion.jpg");
  opacity: 0;
}
#bg-img-fs2024-prevol {
  background-image: url("/img/games/microsoftflightsimulator2024/Prevol.jpg");
  opacity: 0;
}
#bg-img-fs2024-revenumission {
  background-image: url("/img/games/microsoftflightsimulator2024/RevenuMission.jpg");
  opacity: 0;
}
#bg-img-fs2024-revenuspassifs {
  background-image: url("/img/games/microsoftflightsimulator2024/RevenusPassifs.jpg");
  opacity: 0;
}
#bg-img-fs2024-scoremission {
  background-image: url("/img/games/microsoftflightsimulator2024/ScoreMission.jpg");
  opacity: 0;
}
#bg-img-fs2024-specialisations {
  background-image: url("/img/games/microsoftflightsimulator2024/Specialisations.jpg");
  opacity: 0;
}
#bg-img-fs2024-stamps {
  background-image: url("/img/games/microsoftflightsimulator2024/Stamps.jpg");
  opacity: 0;
}


@media only screen and (min-width: 768px) {
  .cd-timeline-content h2 {
  }
  .cd-timeline-content p {
    font-size: 16px;
    font-size: 1rem;
  }
  .cd-timeline-content .cd-read-more, .cd-timeline-content .cd-date {
    font-size: 14px;
    font-size: 0.875rem;
  }
}

.cssanimations .cd-timeline-content.is-hidden {
  visibility: hidden;
}
.cssanimations .cd-timeline-content.bounce-in {
  visibility: visible;
  -webkit-animation: cd-bounce-2 0.6s;
  -moz-animation: cd-bounce-2 0.6s;
  animation: cd-bounce-2 0.6s;
}
.cssanimations .cd-timeline-block:nth-child(even) .cd-timeline-content.bounce-in {
  -webkit-animation: cd-bounce-2-inverse 0.6s;
  -moz-animation: cd-bounce-2-inverse 0.6s;
  animation: cd-bounce-2-inverse 0.6s;
}

@-webkit-keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(20px);
  }
  100% {
    -webkit-transform: translateX(0);
  }
}
@-moz-keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -moz-transform: translateX(-100px);
  }
  60% {
    opacity: 1;
    -moz-transform: translateX(20px);
  }
  100% {
    -moz-transform: translateX(0);
  }
}
@keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
    -moz-transform: translateX(-100px);
    -ms-transform: translateX(-100px);
    -o-transform: translateX(-100px);
    transform: translateX(-100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(20px);
    -moz-transform: translateX(20px);
    -ms-transform: translateX(20px);
    -o-transform: translateX(20px);
    transform: translateX(20px);
  }
  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}
@-webkit-keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(-20px);
  }
  100% {
    -webkit-transform: translateX(0);
  }
}
@-moz-keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -moz-transform: translateX(100px);
  }
  60% {
    opacity: 1;
    -moz-transform: translateX(-20px);
  }
  100% {
    -moz-transform: translateX(0);
  }
}
@keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100px);
    -moz-transform: translateX(100px);
    -ms-transform: translateX(100px);
    -o-transform: translateX(100px);
    transform: translateX(100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(-20px);
    -moz-transform: translateX(-20px);
    -ms-transform: translateX(-20px);
    -o-transform: translateX(-20px);
    transform: translateX(-20px);
  }
  100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}


/*       Fleche vers le bas       */

[data-ca3_icon]::before {
    font-weight: normal;
    content: attr(data-ca3_icon);
}

.ca3-scroll-down-arrow {
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2hldnJvbl90aGluX2Rvd24iIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiBmaWxsPSJ3aGl0ZSIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTE3LjQxOCw2LjEwOWMwLjI3Mi0wLjI2OCwwLjcwOS0wLjI2OCwwLjk3OSwwYzAuMjcsMC4yNjgsMC4yNzEsMC43MDEsMCwwLjk2OWwtNy45MDgsNy44M2MtMC4yNywwLjI2OC0wLjcwNywwLjI2OC0wLjk3OSwwbC03LjkwOC03LjgzYy0wLjI3LTAuMjY4LTAuMjctMC43MDEsMC0wLjk2OWMwLjI3MS0wLjI2OCwwLjcwOS0wLjI2OCwwLjk3OSwwTDEwLDEzLjI1TDE3LjQxOCw2LjEwOXoiLz48L3N2Zz4=);
  background-size: contain;
  background-repeat: no-repeat;
}

.ca3-scroll-down-link {
  height: 80px;
  width: 100px;
  margin: 0px 0 0 -40px;
  line-height: 60px;
  position: absolute;
  left: 50%;
  /*bottom: -100px;*/
  top: -50px;
  color: #FFF;
  text-align: center;
  font-size: 70px;
  z-index: 100;
  text-decoration: none;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);

  -webkit-animation: ca3_fade_move_down 2s ease-in-out infinite;
  -moz-animation:    ca3_fade_move_down 2s ease-in-out infinite;
  animation:         ca3_fade_move_down 2s ease-in-out infinite;
}

/*animated scroll arrow animation*/
@-webkit-keyframes ca3_fade_move_down {
  0%   { -webkit-transform:translate(0,-20px); opacity: 0;  }
  50%  { opacity: 1;  }
  100% { -webkit-transform:translate(0,20px); opacity: 0; }
}
@-moz-keyframes ca3_fade_move_down {
  0%   { -moz-transform:translate(0,-20px); opacity: 0;  }
  50%  { opacity: 1;  }
  100% { -moz-transform:translate(0,20px); opacity: 0; }
}
@keyframes ca3_fade_move_down {
  0%   { transform:translate(0,-20px); opacity: 0;  }
  50%  { opacity: 1;  }
  100% { transform:translate(0,20px); opacity: 0; }
}


/*   Infos hover    */

.icon-link {
  width:initial; 
  height:initial;
  opacity: 30%;
  transition: opacity 0.5s;
}

.icon-link:hover {
  opacity: 100%;
}

.icon {
  display: inline-block; 
  max-width: 30px;
  opacity: 85%;
}

.icon:hover {
  opacity: 100%;
}

.icon_tooltip {
  position: relative;
  display: inline-block;
  margin-right: 3px;
  top: -2px;
}

.icon_tooltip .icon_top_tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.5s;
}
.icon_tooltip .icon_top_tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}
.icon_tooltip:hover .icon_top_tooltiptext {
  opacity: 1;
  visibility: visible;
}

.icon_tooltip .icon_bottom_tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 110%;
  left: 50%;
  margin-left: -60px;
}

.icon_tooltip .icon_bottom_tooltiptext::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}

.icon_tooltip:hover .icon_bottom_tooltiptext {
  visibility: visible;
}