.header__top { display: flex; justify-content: space-between; align-items: flex-end; flex-flow: row wrap; }
.header__top-left { flex: 0 1 auto; }
.header__top-left img { display: block; max-width: 100%; height: auto;}
.header__top-mobile { display: none; }
.header__top-right p { font-size: 22px; font-weight: 700; line-height: 1.1; color: #000; margin-bottom: 22px;}
.header__top-right span { font-weight: 400; }


@media screen and (max-width: 1330px) {
    .header__top-right p { font-size: 18px; }
}
@media screen and (max-width: 600px) {
    .header__top { align-items: center;}
    .header__top-left { width: calc(100% - 50px); }
    .header__top-mobile { display: block; flex: 0 1 auto; }
}

.main-carousel { position: relative; }
.main-carousel__marques { position: absolute; left: 0; top: 0; z-index: 100;}
.main-carousel__marques a { text-transform: uppercase; color: #fff; display: block; padding: 8px 80px 8px 20px; background: rgba(51,51,51,1);
background: -moz-linear-gradient(left, rgba(51,51,51,1) 0%, rgba(51,51,51,1) 70%, rgba(51,51,51,0) 100%);
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(51,51,51,1)), color-stop(70%, rgba(51,51,51,1)), color-stop(100%, rgba(51,51,51,0)));
background: -webkit-linear-gradient(left, rgba(51,51,51,1) 0%, rgba(51,51,51,1) 70%, rgba(51,51,51,0) 100%);
background: -o-linear-gradient(left, rgba(51,51,51,1) 0%, rgba(51,51,51,1) 70%, rgba(51,51,51,0) 100%);
background: -ms-linear-gradient(left, rgba(51,51,51,1) 0%, rgba(51,51,51,1) 70%, rgba(51,51,51,0) 100%);
background: linear-gradient(to right, rgba(51,51,51,1) 0%, rgba(51,51,51,1) 70%, rgba(51,51,51,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#333333', GradientType=1 );}
.main-carousel__cell { position: relative; overflow: hidden; width: 100%;}
.main-carousel__cell img { display: block; max-width: 100%; height: auto; }
.main-carousel__animation a{ display: block; position: absolute; right: 0; top: 0; z-index: 99; text-transform: uppercase; font-size: 16px; width: 23%; height: 100%;}


@media screen and (max-width: 600px ) {
    .main-carousel { display: none;}
}

.pop-video { background-color: #fff; display: none;}
.pop-video__content { position: relative; display: block; height: 0; padding: 0; overflow: hidden; padding-bottom: 65%; width : 800px; max-width: 100%;}
.pop-video__iframe { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; height: 100%; border: 0; }


#nav .nav{
  display: flex;
  margin-bottom: 0;
}
#nav .nav li{
  flex-grow: 1;
  position: relative;
}
#nav .nav li a{
  background-color: #fff;
  color: #919191;
  display: block;
  text-align: center;
  font-size: 16px;
  padding: 10px;
  position: relative;
  transition: all 250ms ease;
  text-transform: uppercase;
  border-bottom: 4px solid #283f5a;
}
#nav .nav li a.config{
  background-color: #283f5a;
  color: #ffffff;
}
#nav .nav li:hover > a,
#nav .nav li a:hover{
  background-color: #283f5a;
  color: #ffffff;
}
#nav .nav li .subnav{
  display: none;
  position: absolute;
  top: calc(100% - 4px );
  left: 0;
  width: 250px;
  z-index: 2;
  -webkit-box-shadow: 0 5px 10px 0 rgba(0,0,0,0.2);
  box-shadow: 0 5px 10px 0 rgba(0,0,0,0.4);
}
#nav .nav li .subnav li a{
  background-color: #283f5a;
  color: #fff;
  text-align: left;
  font-size: 14px;
  border-bottom: 0px solid #4b4b4b;
  transition: all 250ms ease;
  text-transform: none;
  display:flex;
  justify-content: space-between;
  align-items: center;
}
#nav .nav li .subnav li a:after{
  content: " ";
  background: url(images/fleche-menu.png) no-repeat right center;
  padding-left: 5px;
  display: inline-block;
  width: 7px;
  height: 12px;
  font-size: 12px;
}
#nav .nav li .subnav li:last-child a{
  border: 0;
}
#nav .nav li .subnav li a:before{
  display: none;
}
#nav .nav li .subnav li a:hover{
  background-color: #283f5a;
  color: #fff;
}
#nav .nav li:hover .subnav{
  display: block;
}
@media (max-width: 600px) {
  #nav{display: none;}
  #nav.actif{display: block;}
  #nav .nav{
    border-top: 1px solid #283f5a;
    flex-wrap: wrap;
  }
  #nav .nav li{width: 100%;}
  #nav .nav li a{
    border-width: 1px;
  }
  #nav .nav li a:after{
    content: " ";
    background: url(images/fleche-menu-dark.png) no-repeat right center;
    margin-left: 5px;
    width: 7px;
    display: inline-block;
    height: 12px;
  }
  #nav .nav li .subnav{
    width: 100%;
    position: initial;
    margin: 0;
    text-align: center;
    -webkit-box-shadow: 0 0 0 0 rgba(0,0,0,0.2);
    box-shadow: 0 0 0 0 rgba(0,0,0,0.4);
  }
  #nav .nav li .subnav li a{
    text-align: center;
  }
}

@media screen and (max-width: 800px) {
    #nav .nav li a{ 
        font-size: 12px;
    }
}

@media screen and (max-width: 600px) {
    #nav .nav li a{ 
        font-size: 16px;
    }
}