/**
 * Angular JS slider directive
 *
 * (c) Rafal Zajac <rzajac@gmail.com>
 * http://github.com/rzajac/angularjs-slider
 *
 * Licensed under the MIT license
 */

/* Slider colors */

/* Slider size parameters */

rzslider
{
    position: relative;

    display: inline-block;

    width: 100%;
    height: 4px;
    margin: 35px 0 15px 0;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    vertical-align: middle;
}

rzslider[disabled]
{
    cursor: not-allowed;
}

rzslider[disabled] .rz-pointer
{
    cursor: not-allowed;

    background-color: #d8e0f3;
}

rzslider span
{
    position: absolute;

    display: inline-block;

    white-space: nowrap;
}

rzslider .rz-base
{
    width: 100%;
    height: 100%;
    padding: 0;
}

rzslider .rz-bar-wrapper
{
    z-index: 1;
    left: 0;

    box-sizing: border-box;
    width: 100%;
    height: 32px;
    margin-top: -16px;
    padding-top: 16px;
}

rzslider .rz-bar-wrapper.rz-draggable
{
    cursor: move;
}

rzslider .rz-bar
{
    z-index: 1;
    left: 0;

    width: 100%;
    height: 4px;

    -webkit-border-radius: 2px;
       -moz-border-radius: 2px;
            border-radius: 2px;
    background: #d8e0f3;
}

rzslider .rz-bar.rz-selection
{
    z-index: 2;

    -webkit-border-radius: 2px;
       -moz-border-radius: 2px;
            border-radius: 2px;
    background: #0db9f0;
}

rzslider .rz-pointer
{
    z-index: 3;
    top: -14px;

    width: 32px;
    height: 32px;

    cursor: pointer;

    -webkit-border-radius: 16px;
       -moz-border-radius: 16px;
            border-radius: 16px;
    background-color: #0db9f0;
}

rzslider .rz-pointer:after
{
    position: absolute;
    top: 12px;
    left: 12px;

    width: 8px;
    height: 8px;

    content: '';

    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;
    background: #fff;
}

rzslider .rz-pointer:hover:after
{
    background-color: #fff;
}

rzslider .rz-pointer.rz-active:after
{
    background-color: #451aff;
}

rzslider .rz-bubble
{
    bottom: 16px;

    padding: 1px 3px;

    cursor: default;

    color: #55637d;
}

rzslider .rz-bubble.rz-selection
{
    top: 16px;
}

rzslider .rz-bubble.rz-limit
{
    color: #55637d;
}

rzslider .rz-ticks
{
    position: absolute;
    z-index: 1;
    top: -3px;
    left: 0;

    display: flex;

    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0 11px;

    list-style: none;

    justify-content: space-between;
}

rzslider .rz-ticks .tick
{
    width: 10px;
    height: 10px;

    cursor: pointer;
    text-align: center;

    border-radius: 50%;
    background: #d8e0f3;
}

rzslider .rz-ticks .tick.selected
{
    background: #0db9f0;
}

rzslider .rz-ticks .tick .tick-value
{
    position: absolute;
    top: -30px;

    transform: translate(-50%, 0);
}
