img {
    width: 100%;
}

.content-container .page-content-wrapper .page-content{
    background: #f4f4f4;
}

#fragrance .popin button:after, #popin-button-game-win:after {
    background-image: url(http://static1.lacoste.com/aaqm_prd/on/demandware.static/Sites-FR-Site/-/fr/v1497869232431/img/nav-icos.png);
    background-size: 450px 226px;
    background-repeat: no-repeat;
    background-color: transparent;
}


#fragrance-container {
    width: 310px;
    height: 450px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: flex;
}

#fragrance h2 {
    font-family: "LacosteSansCondensedBold";
    color: #243b65;
}

#fragrance-header-marque {
    display: inline-block;
    font-size: 20px;
    white-space: pre;
    font-family: 'LacosteSansCondensedLight';
    position: absolute;
    bottom: 5px;
    right: 0;
}

.fragrance-button {
    display: inline-block;
    font-family: "LacosteSansCondensedBold";
    font-size: 15px;
    text-transform: uppercase;
    text-decoration: none;
    color: #292929;
    border: 1px solid lightgrey;
    padding: 15px 40px;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 10px;
}

.fragrance-button:hover {
    text-decoration: none;
}

.fragrance-header {
    text-align: center;
    position: relative;
    padding-top: 30px;
}

.fragrance-header .fragrance-button {
    margin-top: 40px;
    background: #f4f4f4;
}

.fragrance-header h2 {
    opacity: 0;
}

.fragrance-header h1,
.fragrance-fragrance h1,
.fragrance-essence h1{
    font-family: "LacosteSansCondensedLight";
    font-size: 24px;
    letter-spacing: 5px;
    z-index: 2;
    margin: auto;
    margin-top: 40px;
    position: relative;
}

.fragrance-header img {
    width: 100%;
    max-width: 550px;
    margin: auto;
    display: block;
    position: absolute;
    top: -20px;
    transform: scale(1);
    animation: reveal-fragrance ease 1.5s;
    margin-left: -120px;
}

.fragrance-header h2{
    position: absolute;
    top: 22%;
    left: calc(40% - 250px);
    margin: 0;
    opacity: 0;
    transition: left ease 1s,
                opacity ease 2s;
    font-size: 160px;
    z-index: -2;
}

.fragrance-header h2:nth-of-type(2){
    left: 70%;
    top: 34%;
}

.fragrance-header.reveal h2 {
    opacity: 1;
}

.fragrance-header.reveal h2{
    left: calc(50% - 332px);
}

.fragrance-header.reveal h2:nth-of-type(2){
    left: calc(50% + 90px);
}

@keyframes reveal-fragrance{
    0% {
        transform: scale(0.7);
    }
}

.fragrance-header h1.next{
    margin-bottom: 155px;
    color: #1b335c;
    font-size: 15px;
}

#next-scroll, .next {
    cursor: pointer;
    display: inline-block;
    width: 100%;
    height: auto;
}

.next-img {
    position: absolute;
    display: block;
    margin: auto;
    left: 51%;
    cursor: pointer;
}

.fragrance-header .next-img:before {
    content: "";
    position: absolute;
    left: calc(50% - 14px);
    margin-top: 17px;
    width: 15px;
    height: 7px;
    background-size: cover;
    animation: blink ease-in-out infinite 1.1s;
}

.touchevents .fragrance-header .next-img:before {
    margin-top: 40px;
    animation: none;
}

.fragrance-header .next-img:after{
    content: "";
    position: absolute;
    height: 70px;
    top: 80px;
    width: 1px;
    background: #b2bac6;
    left: calc(50% - 7px);
}

@keyframes blink{
    0% {top: 30px;}
    50% {top: 35px;}
    100% {top: 30px;}
}

.fragrance-video{
    text-align: center;
    padding-top: 40px;
    margin-bottom: 60px;
}

.fragrance-video h2{
    font-size: 40px;
    max-width: 680px;
    margin: auto;
    line-height: 100%;
    letter-spacing: 2px;
}

.fragrance-video h3,
.fragrance-video p{
    font-family: "LacosteSansCondensedLight";
    font-size: 17px;
    text-transform: none;
    color: #606060;
    margin-bottom: 22px;
    margin-top: 10px;
}

.fragrance-video .fragrance-video-wrapper {
    max-width: 1060px;
    margin: auto;
    margin-top: 10px;
}

.fragrance-video .iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%;
}
.fragrance-video .iframe-wrapper svg{
    position:absolute;
    top:calc(50% - 29px);
    left:calc(50% - 29px);
}

.fragrance-video iframe,
.fragrance-video img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fragrance-video img,
.fragrance-video svg {
    cursor:pointer;
}

@media screen and (max-width: 1060px) {
    .fragrance-video .fragrance-video-wrapper {
        padding: 0 40px;
    }
}

.fragrance-play {
    margin-top: 55px;
}

.fragrance-play img {
    width: 100%;
}


.fragrance-fragrance {
    text-align: center;
    padding-top: 30px;
    background: #e4eaea;
    padding-bottom: 80px;
    font-size: 0;
}

.fragrance-fragrance h1 {
    padding: 0 50px;
}

.fragrance-fragrance h2 {
    font-size: 8vw;
    margin: 0;
    letter-spacing: 22px;
    line-height: 0px;
    margin-top: 100px;
}

.fragrance-fragrance h3 {
    font-family: "LacosteSansCondensedBold";
    font-size: 17px;
    color: #292929;
    letter-spacing: 7px;
    z-index: 2;
    position: relative;
    margin-top: 0;
}

.fragrance-fragrance h3 span {
    font-family: "LacosteSansCondensedLight";
}

.fragrance-fragrance p {
    font-family: "LacosteSansCondensedLight";
    text-transform: none;
    font-size: 17px;
}

.fragrance-fragrance img {
    width: 90%;
}

.fragrance-fragrance .first, .fragrance-fragrance .second{
    display: inline-block;
    vertical-align: top;
    max-width: calc(50% - 30px);
}

.fragrance-fragrance .first{
    position: relative;
}

.fragrance-fragrance .second{
    margin-top: 140px;
}

.fragrance-fragrance  .content{
    position: relative;
    margin-top: -50px;
}

.fragrance-essence {
    background: #000;
    text-align: center;
    height: calc(100vh - 88px);
    overflow: hidden;
    position: relative;
    cursor: ew-resize;
}

.fragrance-essence .essence-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.fragrance-essence img.essence {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    transition: height ease 0.5s,
                bottom ease 0.5s,
                filter ease 0.5s;
    will-change: transform;
    z-index: 1;
}

.fragrance-essence img.essence.cut {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) !important;
    z-index: 2;
}

.fragrance-essence img.essence.cut2 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) !important;
    z-index: 3;
}

#fragrance .fragrance-essence .swiper-slide.lightbox {
    filter: blur(5px);
    transform: scale(0.8);
}

.fragrance-essence h1 {
    color: #fff;
    font-size: 17px;
    margin: 0;
    padding: 40px 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.fragrance-essence .number {
    font-family: "LacosteSansCondensedLight";
    color: #fff;
    font-size: 17px;
    position: absolute;
    top: calc(50% - 100px);
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.fragrance-essence .number-two-line {
    top: calc(50% - 180px);
}

.fragrance-essence ul {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 500px;
    height: 500px;
    margin: 0;
    padding: 0;
    transform-origin: 50%;
    margin-left: -250px;
    margin-top: -120px;
    transition: all 1.5s ease;
    will-change: transform;
    z-index: 1;
}

.fragrance-essence ul:before {
    content: '';
    position: absolute;
    top: 2.5%;
    left: 2.5%;
    transform: rotate(-47deg);
    width: 95%;
    height: 95%;
    border-radius: 100%;
    border: 1px solid white;
    clip: rect(0, 350px, 500px, 0);
    clip-path: inset(0px 130px);
}

.fragrance-essence ul li {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 50%;
    height: 500px;
    width: 150px;
    margin-left: -75px;
    font-family: "LacosteSansCondensedLight";
    font-size: 24px;
    color: #fff;
    text-transform: none;
    opacity: 1;
    transition: all ease-out 1.5s;
    list-style-type: none;
    cursor: pointer;
}

.fragrance-essence ul li span {
    opacity: 0.3;
}

.fragrance-essence ul li:hover span {
    opacity: 1;
}

.fragrance-essence ul li.active span {
    opacity: 1;
}

.fragrance-essence ul li.active:before{
    content: "";
    position: absolute;
    top: -10px;
    left: calc(50% - 3px);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
}

.fragrance-essence ul li:nth-child(1){transform: rotate(0);}

.fragrance-essence ul li:nth-child(2){transform: rotate(30deg);}

.fragrance-essence ul li:nth-child(3){transform: rotate(60deg);}

.fragrance-essence ul li:nth-child(4){transform: rotate(90deg);}

.fragrance-essence ul li:nth-child(5){transform: rotate(120deg);}

.fragrance-essence ul li:nth-child(6){transform: rotate(150deg);}

.fragrance-visu {
    width: 90%;
    max-width: 1060px;
    margin: auto;
    font-size: 0;
    margin-top: 80px;
    position: relative;
}

.fragrance-visu img {
    width: 50%;
    vertical-align: top;
}

.fragrance-visu img.right-image {
    margin-top: 50%;
}

.fragrance-visu p {
    font-family: "LacosteSansCondensedLight";
    font-size: 24px;
    color: #292929;
    width: 50%;
    text-align: center;
    letter-spacing: 6px;
    margin: 0;
    width: 80%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.fragrance-visu .title{
    width: 50%;
    height: 50%;
    position: absolute;
    right: 0;
}

.fragrance-visu .title.bottom{
    height: calc(37% + 8px);
    left: 0;
    bottom: 0;
}

.fragrance-visu + .fragrance-visu{
    margin-top: 120px;
    margin-bottom: 100px;
}

.fragrance-visu + .fragrance-visu img.right-image{
    margin-top: 35%;
}

.fragrance-visu + .fragrance-visu .fragrance-visu .title.bottom{
    height: 43%;
}


.fragrance-conventions{
    position: relative;
    font-size: 0;
}

.fragrance-conventions img, .fragrance-conventions .title{
    display: inline-block;
    width: 570px;
    vertical-align: top;
}

.fragrance-conventions img{
    max-width: 50%;
}

.fragrance-conventions .title{
    width: calc(100% - 570px);
    height: 100%;
    position: absolute;
        min-width: 50%;
}

.fragrance-conventions .title p{
    font-family: "LacosteSansCondensedLight";
    font-size: 24px;
    color: #292929;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    letter-spacing: 6px;
    margin: 0;
    width: 450px;
    text-align: center;
    max-width: 100%;
}

.note-opacity {
    opacity: 0.5;
}

.fragrance-footer{width: 90%; max-width: 1060px; margin: auto; padding-bottom: 80px;}

.fragrance-footer p{margin: 0; text-align: center;}

.fragrance-footer p img{width: 50%;}

.fragrance-footer p:first-of-type img, .fragrance-footer p:last-of-type img{width: 25%;}

.fragrance-footer p:first-of-type{text-align: right;}

.fragrance-footer p:last-of-type{text-align: left;}

#fragrance .productPin{
    cursor: pointer;
    left: calc(50% - 30px);
    z-index: 2;
    bottom: 27%;
    width: 20px;
    height: 20px;
    padding: 30px;
}

#fragrance .productPin.isLoaded:hover:before{
    animation: pinBorderAnimation 1.5s linear infinite;
    opacity: 1;
}

#fragrance #fragrance-lightbox{
    display: none;
    z-index: 10;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    cursor: auto;
    opacity: 0;
    transition: opacity ease-in-out 0.7s;
}

#fragrance .swiper-no-swiping #fragrance-lightbox{
    opacity: 1;
}

#fragrance #fragrance-lightbox .overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

#fragrance .popin{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 510px;
    max-width: 100%;
    padding: 5px;
    transform: translate(-50%, -50%);
    border: 1px solid #fff;
    z-index: 10;
}

#fragrance .popin > div {
    border: 1px solid #4d4d4d;
    padding: 5px;
}

#fragrance .popin > div > div{
    background: #fff;
    padding: 85px 100px;
    padding: 80px;
}

#fragrance .popin button, #popin-button-game-win {
    background: #171717;
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

#fragrance .popin button {
    top: -60px;
    background: #fff;
}

#popin-button-game-win {
    top: 10px;
}

#popin-button-game-win {
    position: absolute;
    top: 10px;
    left: 50%;
}

#fragrance .popin button:after, #popin-button-game-win:after {
    content: "";
    height: 9px;
    width: 9px;
    position: absolute;
    left: 16px;
    top: 16px;
}

#fragrance .popin button:after {
    background-position: -150px -60px;
}

#popin-button-game-win:after {
    background-position: -150px -90px;
}

#fragrance .popin h2{
    font-family: "LacosteSansCondensedLight";
    font-size: 24px;
    color: #292929;
    margin: 0;
    letter-spacing: 6px;
}

#fragrance .popin p{
    font-family: "LacosteSansCondensedLight";
    font-size: 17px;
    text-transform: none;
    color: #606060;
    margin: 0;
    margin-top: 40px;
}

.fragrance-swiper{
    height: calc(100vh - 88px);
    position: relative;
}

#fragrance .swiper-slide{
    height: 100%;
    /*height: calc(100% - 103px);*/
    text-align: center;
    opacity: 0 !important;
    background: #000;
    transition: opacity ease 1s 0s, transform ease 1s;
}

#fragrance .swiper-slide:first-of-type{
    cursor: e-resize;
}

#fragrance .swiper-slide:last-of-type{
    cursor: w-resize;
}

#fragrance .swiper-slide img{
    transition: transform ease 1.5s 0.1s;
    transform: scale(0.5);
}

#fragrance .swiper-slide img.essence.cut{
    transform: translateX(-50%) scale(0.5) !important;
    /*transform: translateX(-50%);
    opacity: 0 !important;
    transition: opacity ease 0.6s 0;*/
}

#fragrance .swiper-slide-active{
    opacity: 1 !important;
    transition: opacity ease 3s 0.5s, transform ease 1s;
}

#fragrance .swiper-slide-active img{
    opacity: 1 !important;
    transform: scale(1);
}

#fragrance .swiper-slide-active img.essence.cut{
    transform: translateX(-50%) scale(1) !important;
    /*transform: translateX(-50%);
    opacity: 1 !important;
    transition: opacity ease 0.6s 0.8s;*/
}

#fragrance .fragrance-essence .swiper-slide h2{
    color: #fff;
    font-family: "LacosteSansCondensedBold";
    font-size: 100px;
    font-size: 11vh;
    letter-spacing: 34px;
    position: absolute;
    top: calc(50% - 25px);
    left: calc(50% + 25px);
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 3;
    /*white-space: nowrap;*/
}

#fragrance .fragrance-essence .swiper-slide h2 span span.rotate{
    opacity: 0;
    transition: opacity ease 0.8s;
}

#fragrance .fragrance-essence .swiper-slide.swiper-slide-active h2 span span.rotate{
    display: inline-block;
    opacity: 1;
}

.fragrance-mandarin img {
    height: 85%;
    top: 75px;
}

@keyframes flip{
    0% {transform: rotateX(-85deg);}
    100% {transform: rotateX(0deg); }
}
/*@keyframes opac{
    0% {opacity: 0;}
    100% {opacity: 1;}
}*/


/* Hovers */
@media screen and (min-width: 1280px)
{
    .fragrance-header .next-img:after {
        height: 100%;
    }

    .fragrance-header {
        height: 100vh;
    }

    #fragrance .productPin:hover > span{
        width: 20px;
        height: 20px;
        border-radius: 50%;
    }
    .fragrance-button{
        transition: all ease 0.3s;
    }
    .fragrance-button:hover{
        text-decoration: none;
        background: #292929;
        border-color: #292929;
        color: #e4eaea;
    }

    .fragrance-video .iframe-wrapper svg .button-play-bg,
    .fragrance-video .iframe-wrapper svg .button-play-arrow,
    .fragrance-video .iframe-wrapper svg button-play-arrow-border {
        transition:all ease 0.3s;
    }

    .fragrance-video .iframe-wrapper:hover svg .button-play-bg {
        fill:#fff;
    }
    .fragrance-video .iframe-wrapper:hover svg .button-play-arrow,
    .fragrance-video .iframe-wrapper:hover svg button-play-arrow-border {
        fill:#292929;
    }
}

/* ipad : tablette*/
@media screen and (max-width: 1279px) {
    .fragrance-fragrance .first {
        position: static;
        margin-right: 20px;
    }

    .fragrance-fragrance h2 {
        letter-spacing: 12px;
    }
    .fragrance-header h2 {
        top: 24%;
        font-size: 120px;
    }
    .fragrance-header.reveal h2 {
        left: calc(50% - 280px);
    }
    .fragrance-header.reveal h2:nth-of-type(2) {
        left: calc(50% + 95px);
    }
    .fragrance-header img{
        min-width: 450px;
    }

    /* Essences */
    .fragrance-swiper .active:before {
        display: none;
    }

    #fragrance .swiper-slide {
        height: 100%;
        display: flex;
    }
}

/* mobile */
@media screen and (max-width: 585px) {
    /** Bloc fragrance **/
    .fragrance-header {
        top: -20px;
    }

    .fragrance-fragrance h1 {
        padding: 0 20px;
    }

    .fragrance-fragrance h2 {
        margin-bottom: 25px;
    }

    .fragrance-header #fragrance-title {
        width: 100%;
        display: block;
        height: 30px;
        margin-top: 10px;
    }

    .fragrance-header h1,
    .fragrance-fragrance h1,
    .fragrance-essence h1 {
        font-size: 15px;
    }

    #fragrance-container {
        height: 247px;
    }

    .fragrance-header img {
        top: -120px;
        margin-left: -70px;
        transform: scale(0.6);
    }

    .fragrance-header h2 {
        top: 25%;
        font-size: 50px;
    }

    .fragrance-header.reveal h2:nth-of-type(2) {
        left: calc(50% + 47px);
        top: 34%;
    }

    #fragrance-header-marque {
        bottom: -10px;
    }

    .fragrance-header.reveal h2 {
        left: calc(50% - 119px);
    }

    .fragrance-header .fragrance-button {
        margin-top: 20px;
    }

    .fragrance-fragrance img {
        width: 60%;
    }

    .fragrance-fragrance div {
        width: 100%!important;
        display: block!important;
        max-width: 100%!important;
    }

    .fragrance-fragrance .second {
        margin-top: 0px;
    }

    .fragrance-video {
        padding-right: 15px;
        padding-left: 15px;
    }

    .fragrance-video h2 {
        font-size: 20px;
    }

    #fragrance .fragrance-essence .swiper-slide h2 {
        font-size: 4vh;
        letter-spacing: 25px;
        left: calc(50% + 10px);
    }

    .fragrance-essence {
        padding-top: 80px;
    }

    #fragrance .popin > div > div {
        padding: 40px 20px;
    }

    .fragrance-essence h1 {
        width: 100%;
        padding: 20px 0;
    }

    .fragrance-visu p {
        font-family: "LacosteSansCondensedLight";
        font-size: 15px;
        color: #292929;
        text-align: center;
        letter-spacing: 5px;
        margin: 0;
        width: 100%;
        position: relative;
        left: inherit;
        top: inherit;
        transform: initial;
    }

    .fragrance-visu {
        margin-top: 0px;
    }

    .fragrance-visu .title {
        width: 100%;
        height: 50%;
        position: relative;
        right: 0;
        display: block;
        padding: 20px;
    }


    .fragrance-visu + .fragrance-visu {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .fragrance-conventions .title p {
        font-family: "LacosteSansCondensedLight";
        color: #292929;
        letter-spacing: 5px;
        width: 100%;
        max-width: 100%;
        font-size: 15px;
        display: block;
        padding: 20px;
        text-align: center;
        margin: auto;
        position: relative;
        float: left;
    }

    .fragrance-conventions .title {
        width: 82%;
        height: 100%;
        position: relative;
        min-width: 50%;
        display: block;
        top: 35px;
        left: 30px;
        padding-top: 20px;
    }

    /** Essences **/
    .fragrance-swiper {
        height: auto;
    }

    .fragrance-swiper img {
        width: 100%!important;
        height: 100%;
    }

    .fragrance-essence ul {
        margin-top: -80px;
    }

    .fragrance-essence .number-two-line {
        top: calc(50% - 100px);
    }

    #fragrance .popin {
        transform: translate(-50%, -41%);
    }
}

/* Responsive fragrance header */


@media screen and (min-width: 580px) and (max-height: 835px) {
    .fragrance-header img {
        top: -80px;
    }

    #fragrance-container {
        height: 400px;
    }
}

@media screen and (min-width: 580px) and (max-height: 730px) {
    .fragrance-header img {
        top: -85px;
    }

    #fragrance-container {
        height: 375px;
    }
}

@media screen and (min-width: 580px) and (max-height: 700px) {
    .fragrance-header img {
        transform: scale(0.7);
    }

    .fragrance-header h2 {
        font-size: 100px;
    }

    .fragrance-header img {
        top: -140px;
    }

    .fragrance-header.reveal h2 {
        left: calc(50% - 210px);
    }

    .fragrance-header.reveal h2:nth-of-type(2) {
        left: calc(50% + 65px);
    }

    #fragrance-container {
        height: 290px;
    }
}

@media screen and (min-width: 1280px) {
    .anim-in-viewport {
        opacity: 0;
        transition: opacity 1s ease-in-out;
    }

    .anim-in-viewport.active {
        opacity: 1;
    }
}
