.jsgif {
    position: relative;


    canvas {
        display: block;
        width: 100%;
    }
}

$_gif_indicator_s_size: 60px;
$_gif_indicator_s_border_size: 3px;
$_gif_indicator_s_font_size: 16px;
$_gif_indicator_m_size: 80px;
$_gif_indicator_m_border_size: 0;
$_gif_indicator_m_font_size: 24px;


.g1-indicator-gif {
    display: block;
    @include box-sizing( border-box );
    position: absolute;
    z-index: 1;
    #{$left}: 50%;
    #{$right}: auto;
    top: 50%;
    bottom: auto;

    width: $_gif_indicator_s_size;
    height: $_gif_indicator_s_size;
    margin-#{$left}: -$_gif_indicator_s_size/2;
    margin-top: -$_gif_indicator_s_size/2;

    border-width: $_gif_indicator_s_border_size;
    border-style: solid;

    text-align: center;
    //text-transform: uppercase;
    letter-spacing: 0;

    font-size: $_gif_indicator_s_font_size;
    line-height: 1;
    font-family: $important_font_family;
    font-weight: 600;

    @include border-radius( 50% );

    border-color: #fff;
    background-color: #000;
    background-color: rgba(0,0,0, 0.666);
    color: #fff;

    &:before {
        display: block;
        position: absolute;
        #{$left}: 0;
        #{$right}: 0;
        top: 50%;

        margin-top: -0.5em;

        content: "gif";
    }
}

@media only screen and ( min-width: $mobile_breakpoint + 1px ) {
    .g1-indicator-gif {
        width: $_gif_indicator_m_size;
        height: $_gif_indicator_m_size;
        margin-#{$left}: -$_gif_indicator_m_size/2;
        margin-top: -$_gif_indicator_m_size/2;

        border-width: $_gif_indicator_m_border_size;

        font-size: $_gif_indicator_m_font_size;
    }
}

.g1-indicator-gif-playing {
    display: none;
}