/*
* STYLE FOR CODE PROMO
*/

.cst-container{
    background: #FBFDFD;
    margin: 15px 5px;
    padding: 30px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(135,131,135,0.6);
    -moz-box-shadow: 0px 0px 5px 0px rgba(135,131,135,0.6);
    box-shadow: 0px 0px 5px 0px rgba(135,131,135,0.6);
    border-radius: 5px;
    position: relative;
    margin-bottom: 30px;
    font-family: Arial, Helvetica, "sans-serif";
}

.cst-container.valideoffer{
    border: 1px solid #00cc7e;
    margin-top: 60px;
}

.cst-container.bestoffer{
    border: 1px solid #ff8f33;  
    margin-top: 60px;
}

.cst-container.newoffer{
    border: 1px solid #1988ff; 
    margin-top: 60px;
}

.cst-row{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.btn-st{
    background: #f9122e;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    color: #FFF;
    font-size: 13px;
    width: auto;
    min-height: 62px;
    line-height: 62px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 3px;
    margin-right: 2px;
}

.btn-st.green{
    background: green;
}

.btn-copy{
    position: absolute;
    right: 1px;
    top: 1px;
}

.bloc-wb .btn-copy{
        position: initial;
        top: initial;
        right: initial;
    }

.bloc-wb .btn-copy{
    display: inline-block;
    vertical-align: top;
}

.bloc-entete-cst{
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-direction: row;
    flex-direction: row;
    margin-bottom: 10px;
}

.bloc-entete-cst.txtOfferOn{
    justify-content: start;
}

.bloc-entete-cst .inner{
    width: 100%;
}



.btn-display-cp{
    background: #EFEFEF;
    font-weight: bold;
    cursor: pointer;
}

.btn-clc-cp{
    border: none;
    cursor: pointer;
    max-width: 450px;
    margin: auto;
    min-width: 200px;
    position: relative;
    min-height: 44px;
}

.btn-clc-cp:hover span.code-show-coupon{
    background: #b30101;
}

.inner-clc{
    position: relative;
    width: calc(100% + 30px) !important;
}

.btn-clc-cp span.code-show-coupon{
    border-radius: 5px 0 0 5px;
    background: #f9122e;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    line-height: 18px;
    transition: all 0.5s ease;
    width: 100% !important;
    position: relative;
    display: inline-block;
    z-index: 11;
    color: #FFF;
    padding: 0px 10px;
    padding-top: 12px;
    padding-bottom: 10px;
    min-height: 44px;
    text-transform: uppercase;
}

/*
@media(min-width: 768px){
    .btn-clc-cp span.code-show-coupon{
        min-height: 70px;
        line-height: 50px;
    }
}*/

.btn-clc-cp span.code-show-coupon:before{
    display: block;
    content: "";
    width: 23px;
    height: 10px;
    background: #E50000;
    position: absolute;
    z-index: 12;
    right: -14px;
    bottom: 0px;
    -webkit-transform: translate(34deg, 0);
    -ms-transform: translate(34deg, 0);
    transform: translate(34deg, 0);
    -webkit-transform: skew(34deg, 0);
    -ms-transform: skew(34deg, 0);
    transform: skew(34deg, 0);
    transition: all 0.5s ease;
}

.btn-clc-cp:hover span.code-show-coupon:before{
    background: #b30101;
}

.btn-clc-cp span.code-coupon{
    display: inline-block;
    height: 44px;
    line-height: 44px;
    border-radius: 5px;
    background-color: #f4eaee !important;
    border: 1px dashed #f9122e !important;
    width: auto;
    text-align: right;
    padding-right: 8px;
    font-size: 16px;
    color: #838383;
    position: absolute;
    z-index: 6;
    right: -20px;
    top: 0;
    box-sizing: inherit;
    padding-left: 5px;
}


/*
@media(min-width: 768px){
    .btn-clc-cp span.code-coupon{
        height: 72px;
        line-height: 72px;
    }
}
*/

.btn-clc-cp span.code-effet{
    display: block;
    width: 47px;
    height: 39px;
    position: absolute;
    border-radius: 0 0 4px 4px;
    right: -33px;
    top: 6px;
    z-index: 13;
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: -webkit-transform 250ms,background-position 250ms;
    transition: transform 250ms,background-position 250ms;
    -webkit-transform: rotateZ(15deg) translate(0, -10px) scaleX(0.9);
    -ms-transform: rotateZ(15deg) translate(0, -10px) scaleX(0.9);
    transform: rotateZ(26deg) translate(0, -9px) scaleX(0.9);
    margin-top: 2px;
    background: linear-gradient(38deg, #8b0909 0, #8b0909 49%, rgba(202,235,137,0) 50%, rgba(255,255,255,0) 100%) 0 6px no-repeat;
}

.btn-clc-cp:hover span.code-show-coupon{
    width: calc(100% - 15px) !important;
}


.btn-clc-cp:hover span.code-effet{
    background-position: 0 0;
    -webkit-transform: rotateZ(13deg) translate(-9px, -3px) scaleX(0.9);
    -ms-transform: rotateZ(13deg) translate(-9px, -3px) scaleX(0.9);
    transform: rotateZ(13deg) translate(-9px, -3px) scaleX(0.9)
}

@media(min-width: 768px){
    .txtOfferOn .bloc-spec{
        width: calc(100% - 200px);
        display: flex;
        justify-content: center;
    }



    .txtOfferOn .bloc-spec > div{
        margin-left: -60px;
    }
}

.cst-container span.titre-section{
    text-transform: uppercase;
    font-weight: bold;
    display: block;
    font-size : 14px;
}

.cst-container span.intro{
    font-size: 1.5rem;
}

.cst-container .bloc-promo-title{
    text-align: center;
    width: 150px;
}

@media(min-width: 768px){
    .cst-container .bloc-promo-title{
        text-align: left;
    }
}

.cst-container .bloc-promo-title .intro{
    color: #232323;
    font-weight: bold;
    font-size: 38px;
    display: inline-block;
}

.cst-container .bloc-promo-title .intro .text-promo-detail{
    display: block;
    font-size: 16px;
    color: #232323;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

.show-cst{
    border: 1px dashed #f9122e;
    border-radius: 5px;
    position: relative;
    min-height: 70px;
    margin-top: 15px;
    min-width: 280px;
    margin: auto;
    background: #f4eaee;
}

.show-cst .code{
    color: #c4102e;
    text-transform: uppercase;
    text-align : center;
    font-weight: bold;
    font-size: 18px;
    display: inline-block;
    padding-right: 5px;
    padding-left: 5px;
    line-height: 70px;
    min-width: 195px;
}

@media(min-width: 767px){
    .more-cst.txtOfferOn{
        padding-left: 150px;
    }
}


.more-cst .date-expi .title{
    font-weight: bold;
}

.more-cst .detail-promo-cst .title{
    color: #232323;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    font-size: 18px;
    background: url('../img/icone-i.svg') no-repeat left center;
    min-height: 20px;
    padding-left: 25px;
    background-size: 19px 19px;
}

.more-cst .content p{
    margin-bottom: 10px;
    color: #232323;
    font-size: 16px;
    font-weight: normal;
}

.more-cst .content{
    font-size: 16px;
    color: #232323;
    line-height: 20px;
}

.tc-couponst{
    font-size: 14px !important;
    padding-top: 15px;
    color: #4f4f4f;
}

.tc-couponst .tc-title{
    display: block;
    background: url('../img/icon-tc.png') no-repeat;
    padding-left: 15px;
    height: 15px;
    margin-bottom:10px;
}

.tc-couponst p{
    margin-bottom: 10px;
    line-height: 17px;
    color: #4f4f4f;
}


.typeOffer{
    display: inline-block;
    position: absolute;
    top: -32px;
    left: 20px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding-left: 10px;
    padding-right: 20px;
}

.typeOffer.etiq{
    width: 100px;
    height: 30px;
    padding-left: 20px;
}

.typeOffer.newoffer{
    background-color: #1988ff;
}

.typeOffer.bestoffer{
    background-color: #ff8f33; 
}

.typeOffer.valideoffer{
    background-color: #00cc7e;
}


.typeOffer span{
    color: #ffffff;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    padding-left: 25px;
    line-height: 36px;
    height: 31px;
    display: inline-block;
}

.typeOffer.newoffer span{
    background: url('../img/picto-new.png') no-repeat left 4px;
}

.typeOffer.bestoffer span{
    background: url('../img/icon-best.png') no-repeat left center;
}

.typeOffer.valideoffer span{
    background: url('../img/icon-valide.png') no-repeat left center;
}


.tc-couponst small{
    font-size: 12px;
}


/* Btn Join Now */
/*.join a{
    text-decoration: underline;
}*/

.bloc-wb{
    margin-bottom: 25px!important;
    position: relative;
}



@media(min-width: 768px){
    .show-cst{
        display: inline-block;
    }

    .l-cst{
        margin-left: 10px;
    }

    .txtOfferOn .bloc-wb{
        width: calc(100% - 150px);
        display: flex;
        justify-content: center;
    }

    .txtOfferOn .bloc-wb > div{
        position: relative;
        margin-left: -150px;
    }
}

@media(min-width: 768px){
      .l-cst{
        position: absolute;
        left: 100%;
        bottom: 27px;
        min-width: 200px;
    }
  
}


@media(max-width: 767px){
   .l-cst{
        position: absolute;
        right: 5px;
        bottom: -27px;
    }
}


.bloc-bottom-cst .last-update{text-align: right;}
.bloc-bottom-cst .date-expi{text-align: right;}
.bloc-bottom-cst .clear{clear:both;}

.bloc-bottom-cst span{
    font-size: 14px;
}

.bloc-bottom-cst .date-expi span{
    font-weight: bold;
    background: url('../img/icone-expire.png') no-repeat left center;
    padding-left: 20px;
    color: #232323;
}

.bloc-bottom-cst .last-update span{
    font-style: italic;
    color: #4F4F4F;
}

@media(max-width: 600px){
    .show-cst{
        max-width: 100%;
    }

    .bloc-entete-cst{
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .cst-container .bloc-promo-title{
        margin-bottom: 10px;
        margin-top:5px;
    }

    .btn-clc-cp{
        margin-left: -50px;
    }


    .cst-container{
        padding-left: 10px;
        padding-right: 10px;
    }

    .bloc-wb .btn-copy{
        position: initial;
        top: initial;
        right: initial;
    }
}

@media(max-width: 460px){
    .inner-clc{
        max-width: 345px !important;
    }

    .bloc-entete-cst{
        overflow: hidden;
    }

    .btn-clc-cp span.code-coupon{
        height: 100%;
    }

    .btn-clc-cp span.code-show-coupon:before{
    display: block;
    content: "";
    width: 2px;
    height: 100px;
    background: transparent;
    position: absolute;
    z-index: 12;
    right: -47px;
    top: 18px;
    -webkit-transform: translate(34deg, 0);
    -ms-transform: translate(34deg, 0);
    transform: translate(34deg, 0);
    -webkit-transform: skew(34deg, 0);
    -ms-transform: skew(34deg, 0);
    transform: skew(0deg, 0);
    transition: all 0.5s ease;
    border: 1px solid #069;
    border-color: transparent transparent transparent #E50000;
    border-width: 26px;
    }

    .btn-clc-cp:hover span.code-show-coupon:before{
    display: block;
    content: "";
    width: 2px;
    height: 100px;
    background: transparent;
    position: absolute;
    z-index: 12;
    right: -68px;
    top: 9px;
    -webkit-transform: translate(34deg, 0);
    -ms-transform: translate(34deg, 0);
    transform: translate(34deg, 0);
    -webkit-transform: skew(34deg, 0);
    -ms-transform: skew(34deg, 0);
    transform: skew(0deg, 0);
    transition: all 0.5s ease;
    border: 1px solid #069;
    border-color: transparent transparent transparent #b30101;
    border-width: 35px;
    }

    .show-cst{
        min-width: 265px;
    }

    .show-cst .code{
        min-width: 140px;
    }

    .bloc-info-cst.bloc-wb{
        margin: auto;
        margin-bottom: 5px;
        text-align: center;
    }

    .bloc-wb .btn-copy{
        margin-bottom: 5px;
    }
}


@media(max-width: 360px){
    .btn-clc-cp{
        margin-left: -20px;
    }

    .inner-clc{
        width: 245px !important;
    }

    .bloc-entete-cst{
        overflow: hidden;
    }

    .btn-clc-cp span.code-coupon{
        height: 100%;
    }

    .btn-clc-cp span.code-show-coupon:before{
    display: block;
    content: "";
    width: 2px;
    height: 100px;
    background: transparent;
    position: absolute;
    z-index: 12;
    right: -47px;
    top: 18px;
    -webkit-transform: translate(34deg, 0);
    -ms-transform: translate(34deg, 0);
    transform: translate(34deg, 0);
    -webkit-transform: skew(34deg, 0);
    -ms-transform: skew(34deg, 0);
    transform: skew(0deg, 0);
    transition: all 0.5s ease;
    border: 1px solid #069;
    border-color: transparent transparent transparent #E50000;
    border-width: 26px;
    }

    .btn-clc-cp:hover span.code-show-coupon:before{
    display: block;
    content: "";
    width: 2px;
    height: 100px;
    background: transparent;
    position: absolute;
    z-index: 12;
    right: -68px;
    top: 9px;
    -webkit-transform: translate(34deg, 0);
    -ms-transform: translate(34deg, 0);
    transform: translate(34deg, 0);
    -webkit-transform: skew(34deg, 0);
    -ms-transform: skew(34deg, 0);
    transform: skew(0deg, 0);
    transition: all 0.5s ease;
    border: 1px solid #069;
    border-color: transparent transparent transparent #b30101;
    border-width: 35px;
    }
}

.cst-container *{box-sizing: border-box;}

.more-cst {
    /*margin-top: 10px;*/
}

@media(max-width:767px){
	.bottomCTA{
		position: fixed;
		bottom: 0px;
		left: 0px;
		width: 100%;
		margin: 0px;
        padding: 15px 30px 5px 30px;
        z-index: 9;
	}

    .bottomCTA .detail-promo-cst{
        display: none;
    }
}


@media (max-width: 767px) {
    .bottomCTA .date-expi, .bottomCTA .last-update {
        display: none!important
    }
}
