.ellipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

main h1 {
    margin: 60px 0;
}

.mistralLogo {
    margin-top: 16px;
}

.mFixed .mistralLogo {
    margin-top: 12px;
}

.fixedHeader {
    -webkit-transform: translateZ(0);

    -moz-transform: translateZ(0);

    -ms-transform: translateZ(0);

    -o-transform: translateZ(0);

    transform: translateZ(0);
    position: relative;
    z-index: 10;
}

.mainHeader--hgroup {
    padding: 0 5.8%;
}

.homepageBanner {
    height: 675px;
    min-height: 350px !important;
}

.prodcutBanner {
    height: 422px;
    min-height: 300px !important;
}

.bannerText, .productBannerText {
    height: calc(100% - 150px);
}

.bannerText > div, .productBannerText > div {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.bannerText--l01 {
    width: 94px;
    right: -94px;
    top: 2px;
}

.bannerText--l02 {
    width: 274px;
    left: -62px;
    bottom: -5%;
}

.mFixed {
    left: 0;
    top: -100px;
    position: fixed;
    width: 100%;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.80);
}

.mFixed .fixedHeaderInner {
    margin: auto;
    height: 100%;
    position: relative;
}

.mFixed .mistralLogo, .innerHeader .mistralLogo {
    width: 100px;
    height: 55px;
}

.fixedHeader {
    transition: all 0.5s;
}

.m-hamburger {
    display: none;
}

.mainNav {
    float: right;
    margin-top: 19px;
}

.mainNav > ul, .mainNav > ul > li {
    display: inline-block;
    vertical-align: middle;
}

.mainNav > ul > li {
    margin-left: 19px;
    padding: 0 4px 4px;
    border-bottom: 3px solid transparent;
}

.mainNav li:empty {
    display: none;
}

.mainNav > ul > li.is-active, .mainNav > ul > li:hover {
    border-bottom-color: rgb(255, 255, 255);
}

.mainNav > ul > li.is-active > a, .mainNav > ul > li:hover > a {
    color: rgb(255, 255, 255);
}

.mainNav .loginBtn {
    margin-left: 40px;
}

.mainNav .is-submenu:after {
    right: -10px;
    margin-top: -11px;
}

.mainNav--submenu {
    position: absolute;
    z-index: 10;
    width: 95%;
    left: 0;
    right: 0;
    margin: 7px auto;
    justify-content: space-between;
    padding: 25px 42px 42px 17px;

    background-color: rgba(255, 255, 255, 1);
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
}

.mFixed .mainNav--submenu {
    width: 90%;
}

.mainNav > ul > li:hover .mainNav--submenu {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}

.mainNav > ul > li:hover.is-submenu:after {
    transform: rotate(-180deg);
}

.mainNav h2 {
    padding-left: 33px;
    margin-bottom: 30px;
    font-size: 2.125em;
    font-weight: 700;
}

.mainNav--submenu .is-submenu:after {
    display: none;
}

.mainNav--submenu section > ul {
    border-left: 1px solid rgb(158, 158, 158);
    padding-left: 15px;
    min-height: 196px;
}

.mainNav--submenu section:first-child > ul {
    border-left: 0;
}

.mainNav--submenu > section > ul > li > a {
    border: 2px solid transparent;
    padding: 0 12px;
}

.mainNav--submenu > section > ul > li:hover > a {
    border-color: rgba(1, 1, 1, 1);
}

.sty1:hover {
    background-color: rgb(255, 255, 255);
    color: rgb(22, 22, 22);
    border-color: rgba(255, 255, 255, 1);
}

.sty2:hover, .sty3:hover {
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
}

.cardBlock2--card3 .sty2:hover, .cardBlock2--card4 .sty2:hover {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
}

/*main Box homepage */

.cardPage {
    padding: 34px 10.2% 0;
}

.cardBlock--card {
    margin-top: 40px;
}

.cardBlock h2 {
    top: 15px;
    padding: 25px 27px 27px;
}

.cardBlock1--card1, .cardBlock1--card2 {
    height: 494px;
}

.cardBlock1--card1 {
    width: 61%;
    margin-right: 4%;
}

.cardBlock1--card2 {
    width: 32.3%;
}

.cardBlock1--card3 {
    width: 31.8%;
    height: 594px;
    margin-right: 4%;
}

.cardBlock1-card--4--5 {
    width: 64.2%;
}

.cardBlock1-card--4--5 .cardBlock1--card4, .cardBlock1-card--4--5 .cardBlock1--card5 {
    width: 100%;
}

.cardBlock1-card--4--5 .cardBlock1--card4 {
    height: calc(55.1% - 20px);
}

.cardBlock1-card--4--5 .cardBlock1--card5 {
    height: calc(38.3% - 20px);
    bottom: 0;
}

/*.cardBlock1--card4,.cardBlock1--card5{width: 64.2%; float: right;}*/

.cardBlock1--card5 .sty2 {
    position: absolute;
    top: 36px;
    left: 100%;
}

.cardBlock1--card1 .cardBlock--summary {
    left: 8.1%;
    top: 30.1%;
}

.cardBlock1--card2 .cardBlock--summary {
    left: 5.1%;
    top: 27.6%;
}

.cardBlock1--card3 .cardBlock--summary {
    left: 5.4%;
    top: 19.6%;
}

.cardBlock1--card4 .cardBlock--summary {
    left: 5.4%;
    top: 45.6%;
}

.cardBlock1--card5 .cardBlock--summary {
    left: 5%;
    top: 54%;
}

.cardBlock2--card {
    width: 47%;
}

.cardBlock2--card1, .cardBlock2--card3 {
    margin-right: 4%;
}

.cardBlock2--card1 .cardBlock--summary {
    margin-top: 22%;
    margin-bottom: 3%;
}

.cardBlock1--card figure {
    height: calc(100% - 5px);
}

.cardBlock1--card figure img {
    max-height: 100%;
    position: absolute;
    right: 0;
    bottom: 0;
}

.cardBlock1--card1 figure {
    width: 74%;
}

.cardBlock1--card2 figure {
    width: 83%;
}

.cardBlock1--card3 figure {
    width: calc(100% - 10px);
}

.cardBlock1--card4 figure {
    width: 51%;
    right: 0;
    bottom: 0;
}

.cardBlock1--card5 figure {
    width: 64.2%;
}

.cardBlock2--card1 .cardBlock--summary summary {
    padding-bottom: 10px;
}

.forgotPassword:hover {
    border-bottom-color: rgb(0, 0, 0);
}

/*************popup*************/

.popup--login--dimension {
    width: 47.6%;
}

.loginFormMain {
    width: 56%;
}

.popup--close {
    width: 30px;
    padding-top: 30px;
    opacity: 0.6;
}

.popup--close:hover {
    opacity: 1;
}

.fromStyle .inputGroup .bar {
    border-bottom: 2px solid rgb(191, 191, 191);
}

/*************popup end*************/

/**********Main footer***********/

.mainFooter {
    padding: 0 8.7% 0;
    margin: 140px 0 60px;
    position: relative;
}

.mainFooter .left {
    position: absolute;
    bottom: 8px;
}

.mainFooter .fb:hover, .mainFooter .tw:hover {
    opacity: 1;
}

.mainFooter .vestige:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/**********Main footer end***********/

/*contactus*/

.contactus, .storePage h1, .beauty--tutorial, .change-location {
    padding: 0 17.9%;
}

.contactLeft {
    width: 41.2%;
}

.contactRight {
    margin-left: 41.2%;
    z-index: 1;
}

.contactFormBlock {
    padding-left: 17.3%;
    padding-right: 8.9%;
}

.contactForm {
    border: 3px solid rgb(0, 0, 0);
    padding: 30px;
    -webkit-box-shadow: 10px 10px 0 rgb(0, 0, 0);
    box-shadow: 10px 10px 0 rgb(0, 0, 0);
}

/*contactus end*/

/**********beauty tutorials***********/

.beauty--tutorial--row.odd .beauty--tutorial--video {
    float: left;
}

.beauty--tutorial--row.even .beauty--tutorial--video {
    float: right;
}

.beauty--tutorial--video {
    width: 39.9%;
}

.beauty--tutorial--row.odd .videoinfo {
    padding-left: 39.9%;
}

.beauty--tutorial--row.even .videoinfo {
    padding-right: 39.9%;
}

.play:hover {
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.64);
    opacity: 1;
}

/**********beauty tutorials end***********/

/**********store***********/

.gmap form {
    top: -29px;
}

.change-location select {
    width: 45.2%;
    height: 58px;
    border-width: 3px;
}

/**********store end***********/

/**********product page***********/

.pdl55 {
    padding-left: 55px;
}

.product--card h1, .product--card summary, .product--card--abIn {
    position: relative;
    z-index: 10;
}

.product--card h1 {
    max-width: 62%;
}

.productPage {
    padding: 3% 10.3% 0;
}

.product--card, .video--card {
    border-width: 3px;
    width: 47.4%;
    margin-top: 90px;
}

.product--card:nth-of-type(2n+1) {
    margin-right: 25px;
}

.product--card summary, .product--card--abIn {
    max-width: 57%;
}

.product--card summary, .product--card--abIn {
    font-size: 1.1em;
}
.procust--img {
    bottom: 0;
    right: 0;
    width: 65%;
    height: 100%;
    padding-right: 10px;
}

figure.p2.procust--img.posA img {
    margin-right: -30px;
}

.procust--img img {
    max-height: 115%;
    position: absolute;
    bottom: 15px;
    right: 20px;
}
.splEffect .procust--img{
    width: 45%
}
.splEffect .product--card h1{
    min-width: 80%;
}
.procust--img img[src*="loose_powder.png"] {
    right: -40px;
}
.procust--img img[src*="matte_nail_lacquer.png"] {
    bottom: -10px;
}
.product-type1 .col1, .product-type1 .col2, .product-type1 .col3 {
    flex: 1;
}

.popup--product--dimension .col1 {
    width: 48.4%;
}

.popup--product--dimension .col3 {
    max-width: 215px;
}

.popup--product--dimension footer {
    padding-right: 30%;
}

.popup--product--dimension .product-type2 .zoomout {
    display: block;
    margin-top: 185px;
}

.easyzoom {
    position: relative;
    display: inline-block
}

.easyzoom-flyout, .easyzoom-notice {
    position: absolute;
    background: #FFF
}

.easyzoom img {
    vertical-align: bottom
}

.easyzoom.is-loading img {
    cursor: progress
}

.easyzoom.is-ready img {
    cursor: crosshair
}

.easyzoom.is-error img {
    cursor: not-allowed
}

.easyzoom-notice {
    top: 50%;
    left: 50%;
    z-index: 150;
    width: 10em;
    margin: -1em 0 0 -5em;
    line-height: 2em;
    text-align: center;
    box-shadow: 0 0 10px #888
}

.easyzoom-flyout {
    z-index: 100;
    overflow: hidden
}

.easyzoom--overlay .easyzoom-flyout {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.easyzoom--adjacent .easyzoom-flyout {
    top: 0;
    left: calc(-100% + 10px);
    width: 130%;
    height: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.product-type2 .easyzoom--adjacent .easyzoom-flyout {
    width: 50%;
    left: -50%;
}
/*valentine css start here */
.vlcBanner.prodcutBanner .mainHeader--hgroup{
    background: url("../img/valentine_offers/banner.jpg") bottom right / 60% no-repeat;
}
.vlcBanner.prodcutBanner.product--lips--banner .line1_1{
max-width: 60%;
}
.homepageBanner.site--banner {
    background-position: right -40px top 0;
}
/*valentine css end here */
/**********product page end***********/

@media screen and (min-width: 1900px) {

    body {
        font-size: 16px;
    }

    .cardBlock--card {
        border-width: 8px;
    }

    .cardBlock2--card2 .video {
        left: -8px;
        width: calc(100% + 16px);
    }
    
    .cardBlock2--card2 .video {
        top: -8px;
    }

    .cardBlock2--card1 .cardBlock--summary {
        margin-top: 19%;
    }

    .cardBlock1--card1, .cardBlock1--card2 {
        height: 680px;
    }

    .cardBlock1--card3 {
        height: 820px;
    }
    /*valentine css start here */
    .homeBanner .cardBlock--summary {
        padding-left: 50px;
    }

    /*valentine css end here */
}

@media screen and (min-width: 1600px) and (max-width: 1900px) {

    body {
        font-size: 14px;
    }

    .cardBlock--card {
        border-width: 7px;
    }

    .cardBlock2--card2 .video {
        left: -7px;
        width: calc(100% + 14px);
    }

    .cardBlock2--card2 .video {
        top: -7px;
    }

    .cardBlock2--card1 .cardBlock--summary {
        margin-top: 19%;
    }

    .cardBlock1--card1, .cardBlock1--card2 {
        height: 566px;
    }

    .cardBlock1--card3 {
        height: 683px;
    }

    .cardBlock h2 {
        padding: 22px 27px 24px;
    }

    .popup--product--dimension .col2 {
        min-width: 450px;
    }
    /*valentine css start here */
    .homeBanner figure img{
        max-width: 90%;
    }
    /*valentine css end here */

}

@media screen and (min-width: 1366px) and (max-width: 1599px) {

    body {
        font-size: 13px;
    }

    .cardBlock--card {
        border-width: 6px;
    }

    .bannerText {
        left: 15%;
    }

    .cardBlock2--card2 .video {
        left: -6px;
        width: calc(100% + 12px);
    }

    .cardBlock2--card2 .video {
        top: -6px;
    }

    .cardBlock2--card1 .cardBlock--summary {
        margin-top: 19%;
    }

    .cardBlock1--card1, .cardBlock1--card2 {
        height: 485px;
    }

    .cardBlock1--card3 {
        height: 588px;
    }

    .cardBlock h2 {
        padding: 20px 27px 22px;
    }

    /*valentine css START */
    .homeBanner > div .bannerInfo {
        font-size: 3.1em;
    }

    .homeBanner .cardBlock--summary {
        margin-top: 120px;
        padding-left: 25px;
    }

    .homeBanner > div figure {
        max-width: 64%;
    }

    .homeBanner a {
        margin-top: 10px;
    }
    /*valentine css END */

}

@media screen and (min-width: 1281px) and (max-width: 1365px) { /* New Css */

    body {
        font-size: 12px;
    }

    .cardBlock1--card1, .cardBlock1--card2 {
        height: 430px;
    }

    .cardBlock1--card3 {
        height: 530px;
    }

    .cardBlock--card {
        border-width: 5px;
    }

    .cardBlock2--card2 .video {
        left: -5px;
        width: calc(100% + 10px);
    }

    .cardBlock2--card2 .video {
        top: -5px;
    }

    .cardBlock h2 {
        padding: 18px 27px 20px;
    }

}

@media screen and (min-width: 1024px) and (max-width: 1280px) {

    body {
        font-size: 11px;
    }

    .cardBlock--card {
        border-width: 4px;
    }

    .cardBlock2--card2 .video {
        left: -4px;
        width: calc(100% + 8px);
    }

    .cardBlock2--card2 .video {
        top: -4px;
    }

    .cardBlock1--card1, .cardBlock1--card2 {
        height: 350px;
    }

    .cardBlock1--card3 {
        height: 450px;
    }

    .cardBlock1--card5 .sty2 {
        top: 26px;
    }

    .cardBlock h2 {
        padding: 15px 27px 17px;
    }

    .cardBlock1--card .cardBlock--summary summary {
        font-size: 1.8em;
    }

    .cardBlock2--card2 .goahead, .cardBlock2--card2 summary {
        font-size: 1.350em;
        line-height: 1.3em;
    }

    .mainFooter {
        margin-top: 74px;
    }

    .contactus, .storePage h1, .beauty--tutorial, .change-location {
        padding: 0 4%;
    }

    .procust--img img {max-height: 95%;}
    /*valentine css start here */
    .homeBanner .cardBlock--summary {
        margin-top: 90px;
        padding-left: 20px;
        font-size: 0.8em;
    }

    .homeBanner > div figure {
        max-width: 64%;
    }

    .homeBanner a {
        margin-top: 10px;
    }
    /*valentine css end here */

}
@media screen and (min-width: 768px) and (max-width: 1024px){
    .cardBlock2--card3 .sty2:not(:nth-of-type(3)) { bottom: 30%; }
    .cardBlock2--card3 .sty2:nth-of-type(2) {margin-left: 134px !important;}
    .cardBlock2--card3 .sty2:nth-of-type(3) {margin-left: 0 !important; bottom: 6%;}
    .cardBlock1--card2 figure{  width: 78%; }
    .p1 img  {width: 73%}
    .p2 img {width: 84%}
    .p3 {width: 83%}
    .p4 img {width: 74%}
    .product--card h1{font-size: 2.8em}
    .procust--img img[src*="loose_powder.png"] {right: -27px;}
}
@media screen and (min-width: 768px) and (max-width: 1023px) { /*valentine css update */
    body{
        font-size: 10px;
    }
    .mistralLogo {
        width: 110px;
        height: 59px;
    }

    .mainNav .loginBtn {
        margin-left: 10px;
    }

    .bannerText {
        left: 10%;
    }

    .bannerText, .productBannerText {
        font-size: 0.7em;
        height: calc(100% - 80px);
    }

    .sty1, .sty3 {
        padding: 0 20px;
    }

    .productPage, .cardPage {
        padding: 3% 4% 0;
    }

    .mainHeader--hgroup {
        padding: 0 4%;
    }

    .mainNav {
        font-size: 0.8em;
    }

    .mainNav h2 {
        padding-left: 15px;
    }

    .mainNav--submenu {
        padding: 25px 10px 42px 10px;
        font-size: 0.89em;
    }

    .mainNav--submenu section > ul {
        padding-left: 0;
    }

    .popup--product--dimension .textContainer {
        width: 35%;
    }

    .popup--product--dimension .product-type2 .zoomout {
        margin-top: 75%;
    }
    /*valentine css start here */
    .homeBanner > div .bannerInfo {
        font-size: 3em;
    }

    .homeBanner .cardBlock--summary {
        margin-top: 100px;
        padding-left: 20px;
        font-size: 0.8em;
    }

    .homeBanner > div figure {
        max-width: 64%;
    }

    .homeBanner a {
        margin-top: 10px;
    }
    .vlcBanner.prodcutBanner .mainHeader--hgroup{background-size: 75%}
    .procust--img img {max-height: 90%;}
    .vlcpage .productBannerText{left:initial}
    /*valentine css end here */
}
