@charset "UTF-8";
/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
/* placeholder: proportions vidéo youtube responsive */
/* placeholder : width de 100vw */
/* changer delay selon position dans la liste*/
/* changer width selon position dans la liste */
/* center vertically */
/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
#block-bandeauprojetfront {
  width: 100vw;
  height: 130px;
  background-color: #FFD600;
  position: relative;
  z-index: 101;
  cursor: pointer;
  /* Texte défilant */
}
#block-bandeauprojetfront .field--name-body {
  position: relative;
}
#block-bandeauprojetfront .field--name-body h2 {
  font-weight: 400;
  line-height: 120%;
}
#block-bandeauprojetfront .field--name-body h2 a {
  font-size: 2.5rem;
  font-family: "SequelSans-BoldDisplay";
  color: #000;
  text-decoration: none;
  background-image: url(../images/fleche-defilement2-black.png);
  background-size: 70px;
  background-position: left center;
  background-repeat: no-repeat;
  padding: 0 55px 0 85px;
}
#block-bandeauprojetfront .field__item {
  display: block;
  margin: 0px auto 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  width: 100vw;
  height: 130px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  align-items: center;
}
#block-bandeauprojetfront .field__item div {
  position: absolute;
  min-width: 100%; /* au minimum la largeur du conteneur */
}
#block-bandeauprojetfront .field__item div span {
  position: relative;
  top: 4px;
  left: 0;
  display: inline-block;
  white-space: nowrap;
}
#block-bandeauprojetfront .field__item div span:first-child {
  animation: defilement 10s infinite linear;
}
#block-bandeauprojetfront .field__item div span:last-child {
  position: absolute;
  animation: defilement2 10s infinite linear;
}

@keyframes defilement {
  0% {
    margin-left: 0;
  }
  100% {
    margin-left: -100%;
  }
}
@keyframes defilement2 {
  0% {
    margin-left: 100%;
  }
  100% {
    margin-left: 0%;
  }
}
@media only screen and (min-width: 768px) {
  #block-bandeauprojetfront {
    margin-top: -15px;
  }
  #block-bandeauprojetfront .field--name-body h2 a {
    font-size: 3rem;
    background-size: 80px;
    padding: 0 55px 0 95px;
  }
}
@media only screen and (min-width: 1024px) {
  #block-bandeauprojetfront .field--name-body h2 a {
    font-size: 3.8rem;
    background-size: 90px;
    padding: 0 55px 0 105px;
  }
}
@media only screen and (min-width: 1200px) {
  #block-bandeauprojetfront .field__item div span {
    top: 10px;
  }
}
@media only screen and (min-width: 1440px) {
  #block-bandeauprojetfront .field--name-body h2 a {
    font-size: 5rem;
    background-size: 100px;
    padding: 0 55px 0 120px;
  }
}