/*
 * layout.css
 * Mise en page commune : couleurs, en-tête, menu, pied de page, accueil, logos clients
 */

body {
  background: #3800D3;
  color: white;
}

body.node-type-projet,
body.page-taxonomy-term,
body.page-contact {
  background: #fff;
}

html body.page-expertises,
html body.page-erreur {
  background: transparent url("../images/background.gif") repeat center 300px;
}

footer {
  position: relative;
  background: transparent url("../images/background-footer.gif") no-repeat right top;
}

a {
  color: white;
}

.logo-inverse {
  display: block;
}

.logo-original {
  display: none;
}

.Header {
  height: 90px;
  line-height: 90px;
}

@media screen and (min-width: 992px) {
  .Header {
    height: 145px;
    line-height: 145px;
  }
}

.btn-menu {
  position: relative;
  padding-right: 20px;
  margin-top: -100px;
  z-index: 99;
  float: right;
  width: 200px;
  text-align: right;
}

@media screen and (min-width: 992px) {
  .btn-menu {
    padding-right: 55px;
    margin-top: -155px;
  }
}

.animate-fadein {
  opacity: 0;
  -webkit-animation: revealicon 2s normal forwards;
  -moz-animation: revealicon 2s normal forwards;
  -o-animation: revealicon 2s normal forwards;
  animation: revealicon 2s normal forwards;
}

.animate-revealTeaser {
  opacity: 0;
  -webkit-animation: revealTeaser 2s cubic-bezier(0, 1, 0.5, 1) 1 normal forwards;
  -moz-animation: revealTeaser 2s ease-in 1 normal forwards;
  -o-animation: revealTeaser 2s cubic-bezier(0, 1, 0.5, 1) 1 normal forwards;
  animation: revealTeaser 2s cubic-bezier(0, 1, 0.5, 1) 1 normal forwards;
}

.front .animation-logo {
  opacity: 0;
  -webkit-animation: revealmamasam 2s cubic-bezier(0, 1, 0.5, 1) 1 normal forwards;
  -moz-animation: revealmamasam 2s ease-in 1 normal forwards;
  -o-animation: revealmamasam 2s cubic-bezier(0, 1, 0.5, 1) 1 normal forwards;
  animation: revealmamasam 2s cubic-bezier(0, 1, 0.5, 1) 1 normal forwards;
}

.front .animation-menu {
  opacity: 0;
  -webkit-animation: revealmenu 2s cubic-bezier(0, 1, 0.5, 1) 1 normal forwards;
  -moz-animation: revealmenu 2s ease-in 1 normal forwards;
  -o-animation: revealmenu 2s cubic-bezier(0, 1, 0.5, 1) 1 normal forwards;
  animation: revealmenu 2s cubic-bezier(0, 1, 0.5, 1) 1 normal forwards;
}

.animate-second,
.front .animation-logo,
.front .animation-menu,
.animate-final {
  -webkit-animation-delay: 0;
  -moz-animation-delay: 0;
  -o-animation-delay: 0;
  animation-delay: 0;
}

@-webkit-keyframes revealTeaser {
  20% {
    opacity: 0;
    -webkit-transform: translateY(20%);
    -moz-transform: translateY(20%);
    -o-transform: translateY(20%);
    transform: translateY(20%);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
}

@-webkit-keyframes revealmamasam {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-20%);
    -moz-transform: translateX(-20%);
    -o-transform: translateX(-20%);
    transform: translateX(-20%);
  }

  40% {
    opacity: 1;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}

@-webkit-keyframes revealmenu {
  50% {
    opacity: 0;
    -webkit-transform: translateX(-10%);
    -moz-transform: translateX(-10%);
    -o-transform: translateX(-10%);
    transform: translateX(-10%);
  }

  70% {
    opacity: 1;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}

@-webkit-keyframes revealicon {
  80% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.node-type-projet .logo-inverse,
.page-taxonomy-term .logo-inverse,
.page-contact .logo-inverse {
  display: none;
}

.node-type-projet .logo-original,
.page-taxonomy-term .logo-original,
.page-contact .logo-original {
  display: block;
}

.logo-customer {
  height: 55px;
  width: auto;
}

.logo-customer.large {
  height: 70px;
  width: auto;
}

.logo-customer.small {
  height: 40px;
}

@media screen and (min-width: 992px) {
  .logo-customer {
    height: 45px;
  }
}

@media screen and (min-width: 1200px) {
  .logo-customer {
    height: 55px;
  }
}

.tags {
  margin-top: 10px;
}

.tags.medium {
  margin: 0px 20px 60px;
}

@media screen and (min-width: 992px) {
  .tags.medium {
    margin: 0px 200px 60px;
  }
}

.tag {
  background: #FFFC88;
  padding: 0px 4px 0px;
  color: #000;
  margin-right: 2px;
  margin-bottom: 6px;
}

@media screen and (min-width: 992px) {
  .tag {
    padding: 0px 4px 0px;
  }
}

@media screen and (min-width: 1200px) {
  .tag {
    padding: 2px 4px 1px;
  }
}

.tag a {
  color: #000;
}

.tag.medium {
  font-size: 16px;
  padding: 4px 8px 2px;
  color: #2F00B0;
  margin-right: 4px;
  margin-bottom: 8px;
}

.tag.medium a {
  color: #2F00B0;
}

.slick-track {
  display: inline-block;
}

.img-view-smartphone,
.slick-slide img.img-view-smartphone {
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  max-width: 90%;
  display: inline-block;
}

@media screen and (min-width: 768px) {
  .img-view-smartphone,
  .slick-slide img.img-view-smartphone {
    display: none;
  }
}

.img-smartphone,
.slick-slide img.img-smartphone {
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  height: auto;
  display: none;
}

@media screen and (min-width: 768px) {
  .img-smartphone,
  .slick-slide img.img-smartphone {
    max-width: 60%;
    display: inline-block;
  }
}

@media screen and (min-width: 992px) {
  .img-smartphone,
  .slick-slide img.img-smartphone {
    max-width: 90%;
  }
}

@media screen and (min-width: 1200px) {
  .img-smartphone,
  .slick-slide img.img-smartphone {
    max-width: 356px;
  }
}

.img-view-tablet,
.slick-slide img.img-view-tablet {
  max-width: 90%;
  display: inline-block;
}

@media screen and (min-width: 768px) {
  .img-view-tablet,
  .slick-slide img.img-view-tablet {
    display: none;
  }
}

.img-tablet,
.slick-slide img.img-tablet {
  height: auto;
  display: none;
}

@media screen and (min-width: 768px) {
  .img-tablet,
  .slick-slide img.img-tablet {
    max-width: 90%;
    display: inline-block;
  }
}

@media screen and (min-width: 1200px) {
  .img-tablet,
  .slick-slide img.img-tablet {
    max-width: 600px;
  }
}

.caroussel-tablet-item span.overlay {
  display: none;
}

@media screen and (min-width: 1200px) {
  .caroussel-tablet-item span.overlay {
    display: block;
  }
}

.button {
  display: inline-block;
  font-size: 16px;
  text-transform: uppercase;
  margin: 0px 0px 40px;
  letter-spacing: 1px;
  padding: 12px 30px;
  color: #fff;
  background-color: #FF4B44;
  font-family: "karlaregular", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.caroussel-tablet-item {
  text-align: center;
  position: relative;
}

.caroussel-tablet-item img {
  max-width: 100%;
  display: inline-block;
  position: relative;
  display: block;
}

.caroussel-tablet-item .image {
  display: inline-block;
  position: relative;
}

.caroussel-tablet-item .overlay {
  display: inline-block;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.caroussel-tablet-item.slick-current .overlay {
  display: none;
}

.Main-menu {
  background: transparent url("../images/background-inverse.gif") repeat left top;
}

.Menu {
  margin-right: 80px;
  margin-top: 80px;
}

@media screen and (min-width: 768px) {
  .Menu {
    margin-top: 200px;
  }
}

@media screen and (min-width: 992px) {
  .Menu {
    margin-right: 200px;
  }
}

.Menu-item {
  padding: 20px 0px;
  text-align: right;
}

@media screen and (min-width: 768px) {
  .Menu-item {
    padding: 30px 0px;
  }
}

.Menu-link {
  font-family: "miriam_librebold", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  color: white;
  position: relative;
  padding-right: 0px;
  font-size: 48px;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

@media screen and (min-width: 768px) {
  .Menu-link {
    font-size: 70px;
  }
}

.Menu-link:before {
  content: '';
  width: 0px;
  height: 4px;
  background-color: #FFFC88;
  position: absolute;
  right: -60px;
  top: 50%;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.Menu-link:hover,
.Menu-link:focus {
  padding-right: 80px;
  font-family: "miriam_librebold", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.Menu-link:hover:before,
.Menu-link:focus:before {
  width: 120px;
}

.logo-short {
  position: fixed;
  bottom: 20px;
  left: 30px;
}

@media screen and (min-width: 992px) {
  .logo-short {
    bottom: 50px;
    left: 50px;
  }
}

footer .logo-short {
  position: absolute;
  left: auto;
  right: 30px;
  bottom: 20px;
}

.Customers-title {
  font-family: "karlaregular", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 48px;
  font-weight: normal;
}

.Footer-title,
.Projet-teaser h2,
.Projet-body h2,
.Expertise-subtitle,
.Expertise-teaser h2 {
  font-size: 14px;
  text-transform: uppercase;
  margin: 0px 0px 15px;
  letter-spacing: 2px;
  font-weight: normal;
  font-family: "karlaregular", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.Footer {
  background-color: #3800D3;
  color: #fff;
}

.Footer-item {
  position: relative;
  text-align: center;
  font-size: 20px;
  line-height: 1.5;
  padding-top: 65px;
  padding-bottom: 90px;
}

.Footer-item:before {
  content: '';
  position: absolute;
  width: 100px;
  height: 5px;
  left: calc(50% - 50px);
  top: 0px;
  background-color: #FFFC88;
}

.Footer .copyright {
  font-size: 16px;
  padding: 20px 0px;
  text-align: center;
}

.Customers {
  background-color: #2F00B0;
  padding: 100px 0px 50px;
}

.Customers-title {
  padding: 50px 0px 45px;
  margin: 0px;
  position: relative;
  text-align: center;
}

.Customers-title:after {
  content: '';
  position: absolute;
  width: 100px;
  height: 5px;
  left: calc(50% - 50px);
  bottom: 0px;
  background-color: #FFFC88;
}

.Customers-item {
  text-align: center;
  padding: 80px 0px 30px;
}

@media screen and (min-width: 992px) {
  .Customers-item {
    padding: 120px 0px 70px;
  }
}

.teaser {
  text-align: center;
  padding: 80px 20px 100px;
  font-size: 30px;
  line-height: 40px;
}

.teaser span {
  background-color: #FFFC88;
  color: #2F00B0;
}

@media screen and (min-width: 992px) {
  .teaser {
    padding: 190px 100px 150px;
    font-size: 40px;
    line-height: 54px;
  }
}

.hamburger {
  padding: 0px;
  display: inline-block;
  cursor: pointer;
  vertical-align: middle;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0px 5px 0px -5px;
  overflow: visible;
  line-height: normal;
}

.hamburger:hover {
  opacity: 1;
}

.hamburger-box {
  width: 30px;
  height: 27px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -1.5px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 30px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -12px;
}

.hamburger-inner::after {
  bottom: -12px;
}

.hamburger--3dy .hamburger-box {
  perspective: 60px;
}

.hamburger--3dy .hamburger-inner {
  transition: transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1), background-color 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hamburger--3dy .hamburger-inner::before,
.hamburger--3dy .hamburger-inner::after {
  transition: transform 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hamburger--3dy.is-active .hamburger-inner {
  background-color: transparent;
  transform: rotateX(-180deg);
}

.hamburger--3dy.is-active .hamburger-inner::before {
  transform: translate3d(0, 12px, 0) rotate(45deg);
}

.hamburger--3dy.is-active .hamburger-inner::after {
  transform: translate3d(0, -12px, 0) rotate(-45deg);
}

.node-type-projet .hamburger-inner,
.node-type-projet .hamburger-inner::before,
.node-type-projet .hamburger-inner::after,
.page-taxonomy-term .hamburger-inner,
.page-taxonomy-term .hamburger-inner::before,
.page-taxonomy-term .hamburger-inner::after,
.page-contact .hamburger-inner,
.page-contact .hamburger-inner::before,
.page-contact .hamburger-inner::after {
  background-color: #2F00B0;
}

.node-type-projet .hamburger-inner::before,
.node-type-projet .hamburger-inner::after,
.page-taxonomy-term .hamburger-inner::before,
.page-taxonomy-term .hamburger-inner::after,
.page-contact .hamburger-inner::before,
.page-contact .hamburger-inner::after {
  content: "";
  display: block;
}

.node-type-projet .hamburger.is-active .hamburger-inner::before,
.page-taxonomy-term .hamburger.is-active .hamburger-inner::before,
.page-contact .hamburger.is-active .hamburger-inner::before {
  background-color: white;
}

.node-type-projet .hamburger.is-active .hamburger-inner::after,
.page-taxonomy-term .hamburger.is-active .hamburger-inner::after,
.page-contact .hamburger.is-active .hamburger-inner::after {
  background-color: white;
}

/* --- Anciennement en style="" dans le HTML --- */
.Header {
  position: relative;
}
.animation-logo {
  text-align: center;
}
.logo-inverse a,
.logo-original a,
.logo-short a {
  display: block;
}
.Main-menu {
  position: fixed;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 99;
}
.Main-menu.is-open {
  display: block;
}
.Home-next {
  text-align: center;
  font-size: 50px;
  margin-top: -80px;
  margin-bottom: 100px;
}
.Home-next img {
  height: 50px;
}
