html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

body {
  line-height: 1; }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

@-webkit-keyframes animname {
  0% { }
  50% { }
  100% { } }

@keyframes animname {
  0% { }
  50% { }
  100% { } }

#mygallery .jg-entry {
  z-index: 3;
  cursor: pointer; }
  #mygallery .jg-entry:hover {
    opacity: 1 !important; }
    #mygallery .jg-entry:hover .caption {
      display: none !important; }
    #mygallery .jg-entry:hover:before {
      opacity: .8; }
  #mygallery .jg-entry:before {
    content: "";
    position: absolute;
    display: block;
    width: 40px;
    height: 40px;
    background: transparent url("http://en.f1i.com/wp-content/themes/f1i-en-2017/site/assets/img/f1i-logo.svg") no-repeat !important;
    background-size: 500px 500px !important;
    background-position: -400px -140px !important;
    left: 50% !important;
    top: 50% !important;
    -webkit-transform: translate(-50%, -50%) !important;
        -ms-transform: translate(-50%, -50%) !important;
            transform: translate(-50%, -50%) !important;
    opacity: 0;
    z-index: 5; }

.masonry img:hover {
  opacity: 1 !important; }

.masonry div {
  margin-bottom: 0; }

.masonry .grid-item {
  z-index: 3;
  position: relative;
  cursor: pointer; }
  .masonry .grid-item .grid-number {
    position: absolute;
    top: 0;
    background: white !important;
    color: black;
    padding: 5px;
    font-size: 1.4rem;
    z-index: 2; }
  .masonry .grid-item a:hover {
    opacity: 1 !important; }
    .masonry .grid-item a:hover:before {
      opacity: .8; }
  .masonry .grid-item a:before {
    content: "";
    position: absolute;
    display: block;
    width: 40px;
    height: 40px;
    background: transparent url("http://en.f1i.com/wp-content/themes/f1i-en-2017/site/assets/img/f1i-logo.svg") no-repeat !important;
    background-size: 500px 500px !important;
    background-position: -400px -140px !important;
    left: 50% !important;
    top: 50% !important;
    -webkit-transform: translate(-50%, -50%) !important;
        -ms-transform: translate(-50%, -50%) !important;
            transform: translate(-50%, -50%) !important;
    opacity: 0;
    z-index: 5; }

.masonry .grid-sizer-, .masonry .grid-item- {
  width: -webkit-calc(100%);
  width: calc(100%); }
  @media screen and (min-width: 768px) {
    .masonry .grid-sizer-, .masonry .grid-item- {
      width: -webkit-calc(50%);
      width: calc(50%); } }

.masonry .grid-sizer-1, .masonry .grid-item-1 {
  width: -webkit-calc(100%);
  width: calc(100%); }
  @media screen and (min-width: 768px) {
    .masonry .grid-sizer-1, .masonry .grid-item-1 {
      width: -webkit-calc(100%);
      width: calc(100%); } }

.masonry .grid-sizer-2, .masonry .grid-item-2 {
  width: -webkit-calc(100%);
  width: calc(100%); }
  @media screen and (min-width: 768px) {
    .masonry .grid-sizer-2, .masonry .grid-item-2 {
      width: -webkit-calc(25%);
      width: calc(25%); } }

.masonry .grid-sizer-3, .masonry .grid-item-3 {
  width: -webkit-calc(100%);
  width: calc(100%); }
  @media screen and (min-width: 768px) {
    .masonry .grid-sizer-3, .masonry .grid-item-3 {
      width: -webkit-calc(33.33333%);
      width: calc(33.33333%); } }

.masonry .grid-sizer-4, .masonry .grid-item-4 {
  width: -webkit-calc(100%);
  width: calc(100%); }
  @media screen and (min-width: 768px) {
    .masonry .grid-sizer-4, .masonry .grid-item-4 {
      width: -webkit-calc(25%);
      width: calc(25%); } }

.masonry .grid-sizer-5, .masonry .grid-item-5 {
  width: -webkit-calc(100%);
  width: calc(100%); }
  @media screen and (min-width: 768px) {
    .masonry .grid-sizer-5, .masonry .grid-item-5 {
      width: -webkit-calc(20%);
      width: calc(20%); } }

.masonry-legende {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.2rem;
  font-family: 'Source Sans Pro', sans-serif; }
  .masonry-legende b, .masonry-legende strong {
    font-weight: 500;
    margin-right: 5px; }

.gallery-first-image {
  position: relative; }
  .gallery-first-image a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center; }
    .gallery-first-image a .number-pics {
      display: none;
      position: absolute;
      top: 50%;
      left: 50%;
      display: block;
      color: white;
      background: black;
      -webkit-transform: translate(-50%, -50%);
          -ms-transform: translate(-50%, -50%);
              transform: translate(-50%, -50%);
      font-size: 1.4rem;
      line-height: 1.6rem;
      padding: 10px;
      text-align: center; }
      .gallery-first-image a .number-pics:before {
        content: 'See the pictures ';
        display: block; }
      .gallery-first-image a .number-pics:after {
        content: '';
        display: block;
        width: 30px;
        height: 30px;
        background: transparent url("http://en.f1i.com/wp-content/themes/f1i-en-2017/site/assets/img/f1i-logo.svg") no-repeat !important;
        background-size: 500px 500px !important;
        background-position: -315px -75px !important;
        position: absolute;
        bottom: 0;
        right: 0; }

.swiper-main {
  position: relative;
  cursor: pointer; }
  .swiper-main .swiper-container {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 20px; }
    .swiper-main .swiper-container.swiper-container-shop {
      opacity: 1;
      position: absolute;
      z-index: 1; }
    .swiper-main .swiper-container .swiper-wrapper img {
      width: -webkit-calc(100% - 100px);
      width: calc(100% - 100px); }
    .swiper-main .swiper-container .swiper-slide .swiper-compteur {
      font-weight: 700;
      font-size: 1.8rem;
      margin-top: 10px;
      margin-bottom: 10px; }
    .swiper-main .swiper-container .swiper-slide .shop-button {
      text-align: center;
      position: relative; }
      .swiper-main .swiper-container .swiper-slide .shop-button a {
        font-size: .8rem;
        font-weight: 600;
        text-decoration: none;
        color: black;
        padding: 5px 10px;
        background: white;
        border: 1px solid black;
        font-family: 'Source Sans Pro', sans-serif; }
        .swiper-main .swiper-container .swiper-slide .shop-button a:hover {
          color: white;
          background: black;
          opacity: 1; }
    .swiper-main .swiper-container .swiper-pagination {
      font-weight: 700;
      font-size: 2rem; }
    .swiper-main .swiper-container .swiper-button-prev {
      background: transparent url("http://en.f1i.com/wp-content/themes/f1i-en-2017/site/assets/img/mc-downarrow-grey.svg") no-repeat !important;
      background-position: -240px -40px;
      -webkit-transform: rotate(90deg);
          -ms-transform: rotate(90deg);
              transform: rotate(90deg);
      display: block;
      width: 40px !important;
      height: 40px !important; 
      position: absolute !important;

  }
    .swiper-main .swiper-container .swiper-button-next {
      background: transparent url("http://en.f1i.com/wp-content/themes/f1i-en-2017/site/assets/img/mc-downarrow-grey.svg") no-repeat !important;
      background-position: -240px -40px;
      -webkit-transform: rotate(-90deg);
          -ms-transform: rotate(-90deg);
              transform: rotate(-90deg);
      display: block;
      width: 40px !important;
      height: 40px !important; 
      position: absolute !important;
    }
  .swiper-main .swiper-home-pic {
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center; }
    .swiper-main .swiper-home-pic .number-pics {
      display: none;
      position: absolute;
      top: 50%;
      left: 50%;
      display: block;
      color: white;
      background: black;
      -webkit-transform: translate(-50%, -50%);
          -ms-transform: translate(-50%, -50%);
              transform: translate(-50%, -50%);
      font-size: 1.4rem;
      line-height: 1.6rem;
      padding: 10px;
      text-align: center; }
      .swiper-main .swiper-home-pic .number-pics:before {
        content: 'See the pictures ';
        display: block; }
      .swiper-main .swiper-home-pic .number-pics:after {
        content: '';
        display: block;
        width: 30px;
        height: 30px;
        background: transparent url("http://en.f1i.com/wp-content/themes/f1i-en-2017/site/assets/img/f1i-logo.svg") no-repeat !important;
        background-size: 500px 500px !important;
        background-position: -315px -75px !important;
        position: absolute;
        bottom: 0;
        right: 0; }

.fancybox-bg {
  background: white !important; }

.fancybox-container .fancybox-slider-wrap .fancybox-button--left {
  display: none; }
  @media screen and (min-width: 768px) {
    .fancybox-container .fancybox-slider-wrap .fancybox-button--left {
      display: block;
      border: none !important;
      position: absolute;
      top: 50%;
      cursor: pointer;
      left: 35px !important;
      z-index: 100000 !important;
      background: transparent url("http://en.f1i.com/wp-content/themes/f1i-en-2017/site/assets/img/mc-downarrow-blk.svg") no-repeat !important;
      display: block !important;
      width: 60px !important;
      height: 60px !important;
      -webkit-transform: translateX(-50%) rotate(90deg);
          -ms-transform: translateX(-50%) rotate(90deg);
              transform: translateX(-50%) rotate(90deg);
      min-height: 40px !important;
      line-height: 40px !important; }
      .fancybox-container .fancybox-slider-wrap .fancybox-button--left:before, .fancybox-container .fancybox-slider-wrap .fancybox-button--left:after {
        display: none; } }

.fancybox-container .fancybox-slider-wrap .fancybox-button--right {
  display: none; }
  @media screen and (min-width: 768px) {
    .fancybox-container .fancybox-slider-wrap .fancybox-button--right {
      display: block;
      border: none !important;
      position: absolute;
      top: 50%;
      cursor: pointer;
      right: 0px !important;
      z-index: 100001 !important;
      background: transparent url("http://en.f1i.com/wp-content/themes/f1i-en-2017/site/assets/img/mc-downarrow-blk.svg") no-repeat !important;
      display: block !important;
      width: 60px !important;
      height: 60px !important;
      -webkit-transform: translateX(-50%) rotate(-90deg);
          -ms-transform: translateX(-50%) rotate(-90deg);
              transform: translateX(-50%) rotate(-90deg);
      min-height: 40px !important;
      line-height: 40px !important; }
      .fancybox-container .fancybox-slider-wrap .fancybox-button--right:before, .fancybox-container .fancybox-slider-wrap .fancybox-button--right:after {
        display: none; } }

.fancybox-container .fancybox-controls .logo-mcmobile {
  display: block;
  position: absolute;
  left: 50%;
  top: 0px;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 28%; }
  @media screen and (min-width: 768px) {
    .fancybox-container .fancybox-controls .logo-mcmobile {
      display: none; } }

.fancybox-container .fancybox-caption-wrap {
  padding: 0 !important;
  background: rgba(0, 0, 0, 1); }
  @media screen and (min-width: 768px) {
    .fancybox-container .fancybox-caption-wrap {
      background: black; } }
  .fancybox-container .fancybox-caption-wrap .caption-top {
    padding: 0 10px !important; }
    @media screen and (min-width: 768px) {
      .fancybox-container .fancybox-caption-wrap .caption-top {
        padding: 0 !important; } }
    .fancybox-container .fancybox-caption-wrap .caption-top .fancybox-caption p {
      margin-bottom: 5px; }
    .fancybox-container .fancybox-caption-wrap .caption-top .fancybox-caption .shop-button {
      display: table;
      margin: auto; }
      .fancybox-container .fancybox-caption-wrap .caption-top .fancybox-caption .shop-button a {
        font-size: .8rem;
        font-weight: 600;
        text-decoration: none;
        color: white;
        padding: 5px 10px;
        background: black;
        border: 1px solid white;
        font-family: 'Source Sans Pro', sans-serif; }
        .fancybox-container .fancybox-caption-wrap .caption-top .fancybox-caption .shop-button a:hover {
          color: black;
          background: white;
          opacity: 1; }
  .fancybox-container .fancybox-caption-wrap .caption-bottom {
    position: relative;
    bottom: 0px;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%); }
    @media screen and (min-width: 768px) {
      .fancybox-container .fancybox-caption-wrap .caption-bottom {
        position: absolute;
        bottom: 10px;
        overflow: hidden; } }

@media screen and (max-width:  767px) {
  .fancybox-placeholder {transform: translateY(80px) !important;}
}
  .fancybox-container--ready .fancybox-bg { opacity: 1 !important}    


  
#hidden-content-l{
  /* display: inline-block !important; */
  left: 0 !important;
  top: 0 !important;
  width: calc(90%) !important;
  height: auto !important;
  text-align: center;
}
#hidden-content-l h3{
  margin: 20px 0;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: bold;
}
@media screen and (min-width: 768px) {
  #hidden-content-l h3{
    font-size: 1.6rem;
  }
}
.related-gallery{
  width: calc(100% - 40px);
  top: 0;
  vertical-align: top;
  margin: 0 20px;
  text-align: center;
  vertical-align: top;
  display: none;
}
.related-gallery:nth-child(1), .related-gallery:nth-child(2) {
  display: block;
}
@media screen and (min-width: 768px) {
  .related-gallery{
    width: calc(33.33% - 40px);
    display: inline-block;
  }
  .related-gallery:nth-child(1), .related-gallery:nth-child(2) {
    width: calc(33.33% - 40px);
    display: inline-block;
  }
}
.related-gallery>p{
  margin: 10px 0 30px;
}
.fancybox-close-small{display: none}
.fancybox-buttons{display: block}
.fancybox-button--left::after{
  
}
.fancybox-button--right::after{

}
.justified-gallery img{
  opacity: 0;
}