@font-face {
    font-family: "Replica Pro";
    src: url("../fonts/ReplicaPro-Bold.eot");
    src: url("../fonts/ReplicaPro-Bold.eot?#iefix") format("embedded-opentype"), url("../fonts/ReplicaPro-Bold.woff2") format("woff2"), url("../fonts/ReplicaPro-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Replica Pro";
    src: url("../fonts/ReplicaPro-Heavy.eot");
    src: url("../fonts/ReplicaPro-Heavy.eot?#iefix") format("embedded-opentype"), url("../fonts/ReplicaPro-Heavy.woff2") format("woff2"), url("../fonts/ReplicaPro-Heavy.woff") format("woff");
    font-weight: 900;
    font-style: normal;
}


body{
    font-family: "Replica Pro", Helvetica, Arial, sans-serif;
    font-weight: 700;
}

.arrow{
    width: 0;
    height: 0;
    border: 8px solid transparent;
    display: inline-block;
}
.arrow.left{ border-left-color: black;}
.arrow.right{ border-right-color: black;}
.arrow.up{
    border-width: 17px;
    border-bottom-color: #FC4C02;
}

/*.d-none{
    display: none;
    visibility: hidden;
    opacity: 0;
    z-index: -9999;
    position: absolute;
    top: -9999px;
    left: -9999px;
    width: 0px;
    height: 0px;
    padding: 0;
    margin: 0;
    line-height: 0;
}*/

#widget-ad-img{
    position: absolute;
    z-index: 9999;
    top: 0;
    /* left: 0; */
    /* right: 0; */
    /* bottom: 0; */
    width: 100%;
    height: 100%;
    transition: 600ms;
}

#widget-ad-img.d-none{
    top: 100%;
}


.hidden{
    opacity: 0 !important;
    visibility: hidden !important;
}

#widget{
    width: 740px;
    height: 240px;
    background-color: rgba(22, 26, 31, 0.90);
    position: absolute;
    top: 0;
    left: 0;
}

#counter{
    position: absolute;
    top: 90px;
    bottom: 44px;
    color: white;
    text-align: center;
    left: 0;
    right: 0;
    text-transform: uppercase;
    line-height: 108px;
}

#counter-arrow{
    position: relative;
}
#counter-arrow .arrow{
    position: absolute;
    opacity: 0;
    border-width: 5px;
    top: 30px;
}
#counter-arrow .arrow.original{
    position: relative;
    top: -15px !important;
    opacity: 0 !important;
    visibility: hidden !important;
}
#counter-arrow.animation .arrow{ animation: 2000ms linear forwards counterArrow; }


#counter-data{
    font-size: 70px;
    color: white;
    line-height: normal;
    font-weight: 900;
}
#counter-data.animation{ animation: 2000ms linear forwards counterData; }
#counter-data .digit{
    position: relative;
}
#counter-data .digit .original{
    position: relative;
    font-style: normal;
}
#counter-data .digit .unchanged,
#counter-data .digit .before,
#counter-data .digit .after{
    position: absolute;
    left: 0;
    right: 0;
    height: 100%;
    font-style: normal;
}

#counter-data .digit .unchanged{ top: 0; opacity: 1; }
#counter-data .digit .before{ top: 0; opacity: 1; }
#counter-data .digit .after{ top: 100%; opacity: 0; }

#counter-data .digit.animation .before{ animation: 400ms linear forwards counterBefore; }
#counter-data .digit.animation .after{ animation: 400ms linear forwards counterAfter; }

#counter-data .digit.animated .before{ top: -100%; opacity: 0; }
#counter-data .digit.animated .after{ top: 0; opacity: 1; }


#counter-lead{
    font-size: 60px;
    font-weight: 700;
    padding-left: 5px;
}


#streamer-link{
    position: absolute;
    bottom: 0;
    height: 44px;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    color: white;
    line-height: 44px;
    /*background: #FC4C02;*/
    background: #f65c00;
    overflow: hidden;
}
#streamer-link .arrow{
    vertical-align: sub;
    margin: 2px 10px;
    animation: 20s linear 0s infinite streamerLinkArrows;
}
#streamer-link .link{
    position: relative;
}
#streamer-link .link > span{
    position: absolute;
    display: inline-block;
    height: 100%;
    text-align: left;
    left: 0;
    line-height: 18px;
    font-size: 24px;
}
#streamer-link .link .original{
    opacity: 0;
    position: relative;
    visibility: hidden;
}
#streamer-link .link .before{
    top: 0;
    animation: 20s linear 0s infinite streamerLinkBefore;
}
#streamer-link .link .after{
    top: 100%;
    opacity: 0;
    width: 60%;
    overflow: hidden;
    animation: 20s linear 0s infinite streamerLinkAfter;
}



/* ------ ANIMATIONS ------ */

@keyframes counterArrow {
    0%{
        border-width: 5px;
        top: 30px;
        opacity: 0;
    }
    20%{
        border-width: 17px;
        top: -35px;
        opacity: 1;
    }
    80%{
        border-width: 17px;
        top: -35px;
        opacity: 1;
    }
    100%{
        border-width: 5px;
        top: -75px;
        opacity: 0;
    }
}
@keyframes counterData {
    0%{ color: white; }
    20%{ color: #FC4C02; }
    80%{ color: #FC4C02; }
    100%{ color: white; }
}

@keyframes counterBefore {
    from{
        top: 0;
        opacity: 1;
    }
    to {
        top: -100%;
        opacity: 0;
    }
}
@keyframes counterAfter {
    from{
        top: 100%;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}


@keyframes streamerLinkArrows{
    0%, 33%, 35%, 39%{
        margin: 2px 10px;
    }
    34%, 36%{
        margin: 2px 0;
    }
}

@keyframes streamerLinkBefore{
    0%, 33%{
        top: 0;
        opacity: 1;
    }
    36%, 100%{
        top: -100%;
        opacity: 0;
    }
}
@keyframes streamerLinkAfter{
    0%, 33%{
        top: 100%;
        opacity: 0;
        width: 60%;
    }
    36%, 100%{
        top: 0;
        opacity: 1;
        width: 100%;
    }
}