@import '../fonts/futura.css';

body{
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale;
}

.coupon-modal{
    position:fixed;
    z-index:99998;
    top:0;
    width:100%;
    background:rgba(0,0,0,0.5);
    height:100%;
    display:block

}
.coupon-modal .sitk-modal{
    background:white;
    width:450px;
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%, -50%);
    padding:25px 25px 40px;
    text-align:center;
}

.coupon-modal .sitk-modal-loading .sitk-modal-body{
    /* display:none; */
}
.coupon-modal .main-label.merchant-title{
    font-size:16px;
    text-transform:uppercase;
}
.coupon-modal .sitk-modal-loading .sitk-modal-body.sitk-message + .sitk-modal-body{
    opacity: 1;
    height: 1px;
    overflow: hidden;
    display:block;
}
.coupon-modal .sitk-modal-body.sitk-message{
    /* display:none; */
}
.coupon-modal .sitk-modal-loading .sitk-modal-body.sitk-message{
    display:block;
}
.coupon-modal .sitk-modal .coupon-cta-wrapper a {
    display:block;
    width:200px;
    background:black;
    color:white;
    font-size:20px;
    font-weight:600;
    text-align:center;
    padding:8px 0;
    margin:0 auto;
    margin-top:25px;
}
.coupon-modal .sitk-modal .coupon-cta-wrapper a:hover{
    opacity:0.8;
}
.coupon-modal .sitk-modal .coupon-cta-wrapper textarea{
    width: 70%;
    display: inline-block;
    padding: 8px 15px;
    line-height: 28px;
    font-size: 28px;
    font-weight: bold;
    height: 50px;
    overflow: hidden;
    text-align: center;
    border-radius: 10px 0 0 10px;
    border: 1px solid #dcd9d9;

    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -o-user-select: none;
    -moz-user-select: none;
}
.coupon-modal .sitk-modal .coupon-cta-wrapper button.coupon-copy{
    width: 35%;
    background: black;
    color: white;
    border: none;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding: 12px 0;
    border-radius: 10px;
    vertical-align: top;
    margin-left: -5%;
}
.sitk-modal-content .show-with-code{
    display:none;
}
.coupon-modal .sitk-modal .coupon-cta-wrapper button.coupon-copy:hover{
    opacity:0.8;
}
.coupon-modal .sitk-modal .sitk-modal-close{
    position:absolute;
    right:10px;
    top:10px;
}
.coupon-modal .sitk-modal .sitk-modal-close:hover{
    opacity:0.8;
    cursor:pointer;
}
.coupon-title span{
    font-size: 18px;
    font-weight: 600;
}
.coupon-title {
    margin-top:22px;   
}
.coupon-title .title{
    font-size: 24px;
    padding: 13px 0 11px;
    line-height: 28px;
    background: black;
    color: white;
    border-radius: 10px;
    font-family: 'Avenir';
    font-weight: 900;
    text-transform: uppercase;
}
.coupon-modal .coupon-content{
    margin-top: 15px;
    display: inline-block !important;
}
.coupon-modal .coupon-content span.loading{
    color: #de9a9a;
    font-size: 60px;
    line-height: 16px;
    display: inline-block;
    height: 10px;
}
.coupon-modal .coupon-content .sub-text{
    font-weight:400;
    font-size:16px;
    font-family: 'Avenir';
}
.coupon-modal .coupon-content .secondary-text{
    font-size: 18px;
    font-weight: 400;
    margin-top: 19px;
    display: inline-block;
    font-family: 'Avenir';
}
.coupon-modal .coupon-content  .link-close{
    font-weight:600;
    font-size:14px;
    color:#de9a9a;
    font-family:'Avenir';
    margin-top:25px;
    display:inline-block;
}

.coupon-modal.modal-noCode .no-code{
    display:initial;
}

.coupon-modal .copy-paste-from{
    color:#d08790;      
}

.coupon-modal .coupon-cta-wrapper {
    margin-top: 15px;
    position: relative;
    width: 100%;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.coupon-modal .sitk-modal  .coupon-cta-wrapper .link-to-merchant{
    font-size:18px;
    font-family:'Avenir';
    font-weight:600;
    background:none;
    color:#de9a9a;
    width:100%;
}

/* LOADING */
/* loading dots */
  
@keyframes blink {
    /**
     * At the start of the animation the dot
     * has an opacity of .2
     */
    0% {
      opacity: .2;
    }
    /**
     * At 20% the dot is fully visible and
     * then fades out slowly
     */
    20% {
      opacity: 1;
    }
    /**
     * Until it reaches an opacity of .2 and
     * the animation can start again
     */
    100% {
      opacity: .2;
    }
}

.sitk-message span.loading {
    /**
     * Use the blink animation, which is defined above
     */
    animation-name: blink;
    /**
     * The animation should take 1.4 seconds
     */
    animation-duration: 1.4s;
    /**
     * It will repeat itself forever
     */
    animation-iteration-count: infinite;
    /**
     * This makes sure that the starting style (opacity: .2)
     * of the animation is applied before the animation starts.
     * Otherwise we would see a short flash or would have
     * to set the default styling of the dots to the same
     * as the animation. Same applies for the ending styles.
     */
    animation-fill-mode: both;
}

.sitk-message span.loading:nth-child(2) {
    /**
     * Starts the animation of the third dot
     * with a delay of .2s, otherwise all dots
     * would animate at the same time
     */
    animation-delay: .2s;
}

.sitk-message span.loading:nth-child(3) {
    /**
     * Starts the animation of the third dot
     * with a delay of .4s, otherwise all dots
     * would animate at the same time
     */
    animation-delay: .4s;
}

/* coupon modal - loading */
.sitk-modal-body.sitk-message{
    font-size: 24px;
    font-weight: 700;
    padding: 28px 15px 15px;
}

.sitk-modal-body.sitk-message .sub-message{
    font-size: 18px;
    font-weight: normal;
    margin-top: 12px;
}


/* CATEGORY GRID - COUPONS */
.coupon-category-grid-wrapper{
    margin-left:-10px;
    margin-right:-10px;
    overflow:auto;
}
.coupon-category-grid-wrapper >  h4{
    font-size: 12px;
    font-family: arial;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left:10px;
    margin-right:10px;
    margin-bottom:15px;
}
.coupon-category-grid-wrapper .coupon-category-grid-inner{overflow: hidden;display: inline-block;width: 20%;height: 95px;float: left;padding: 10px;}
.coupon-category-grid-wrapper .coupon-category-grid{
    width: 100%;
    height: 100%;
    border: 1px solid #f1f1f1;
    display: inline-block;
    border-radius: 3px;
    box-shadow: 0 0 3px rgba(0,0,0,0.05);
    -moz-box-shadow: 0 0 3px rgba(0,0,0,0.05);
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.05);
    background-size: 70%;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    /* float: left; */
}
.coupon-category-grid-wrapper .coupon-category-grid .coupon-category-grid-url{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background:black;
}
.coupon-category-grid-wrapper .coupon-category-grid .coupon-category-grid-url:hover{
    opacity:0.02;
}


.sitk-coupons-list > h4{
    font-size: 12px;
    font-family: arial;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left:10px;
    margin-right:10px;
    margin-bottom:15px;
}

/*
    Redirector
*/
.redirector .coupon-modal{
    background:none;
}
.redirector .coupon-modal .merchant-title{
    font-family:'Open Sans';
    
}
.redirector .coupon-modal .main-link{
    font-family:'Avenir' !important;
    display:inline-block;
    width:100%;
}
.redirector .coupon-modal .main-link span{
    display:inline-block;
    width:100%;
}
.redirector .sitk-modal{
    max-width:400px;
}
.redirector .sitk-modal .secondary-text{
    display:inline-block;
    margin-top:35px;
    line-height:26px
}
.redirector .sitk-modal .coupon-content span.sub-text{
    display:inline-block;
    margin-top:15px;
    margin-bottom:10px
}