


    /* HORIZONTAL */
    
    
    
    
    /* increase bottom margin to fit the pips */
    .ui-slider-horizontal.ui-slider-pips { 
        margin-bottom: 1.4em; 
    }
    
    
        
    /* increase bottom margin to fit the pips */
    .ui-slider-horizontal.ui-slider-pips { 
        margin-bottom: 1.4em; 
    }
    
 
.ui-state-default:first-of-type, .ui-widget-content .ui-state-default:first-of-type, .ui-widget-header .ui-state-default:first-of-type 
{
    background-image:url('images/bluecircle.png');
    background-repeat:no-repeat;
    z-index:7;
}

#slider_Pain_Fatigue .ui-state-default:last-of-type,  #slider_Pain_Fatigue .ui-widget-content  .ui-state-default:last-of-type,  #slider_Pain_Fatigue .ui-widget-header .ui-state-default:last-of-type 
{
    background-image:url('images/bluecircle.png');  background-repeat:no-repeat;
}



#slider_Pain_Foot_Pain .ui-state-default:last-of-type,  #slider_Pain_Foot_Pain .ui-widget-content  .ui-state-default:last-of-type,  #slider_Pain_Foot_Pain .ui-widget-header .ui-state-default:last-of-type 
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}




#slider_Pain_Ankle_Pain .ui-state-default:last-of-type,  #slider_Pain_Ankle_Pain .ui-widget-content  .ui-state-default:last-of-type,  #slider_Pain_Ankle_Pain .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}



#slider_Pain_Knee_Pain .ui-state-default:last-of-type,  #slider_Pain_Knee_Pain .ui-widget-content  .ui-state-default:last-of-type,  #slider_Pain_Knee_Pain .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}


#slider_Pain_Hip_Pain .ui-state-default:last-of-type,  #slider_Pain_Hip_Pain .ui-widget-content  .ui-state-default:last-of-type,  #slider_Pain_Hip_Pain .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}


#slider_Pain_Lower_Back_Pain .ui-state-default:last-of-type,  #slider_Pain_Lower_Back_Pain .ui-widget-content  .ui-state-default:last-of-type,  #slider_Pain_Lower_Back_Pain .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}


#slider_Pain_Plantar_Fasciitis .ui-state-default:last-of-type,  #slider_Pain_Plantar_Fasciitis .ui-widget-content  .ui-state-default:last-of-type,  #slider_Pain_Plantar_Fasciitis .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}

#slider_Pain_Diabetics_FootPain .ui-state-default:last-of-type,  #slider_Pain_Diabetics_FootPain .ui-widget-content  .ui-state-default:last-of-type,  #slider_Pain_Diabetics_FootPain .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}


#slider_Pain_Arthitis .ui-state-default:last-of-type,  #slider_Pain_Arthitis .ui-widget-content  .ui-state-default:last-of-type,  #slider_Pain_Arthitis .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}


#slider_Pain_Neuropathy .ui-state-default:last-of-type,  #slider_Pain_Neuropathy .ui-widget-content  .ui-state-default:last-of-type,  #slider_Pain_Neuropathy .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}

#slider_Pain_Poor_Circulation .ui-state-default:last-of-type,  #slider_Pain_Poor_Circulation .ui-widget-content  .ui-state-default:last-of-type,  #slider_Pain_Poor_Circulation .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}


#slider_Pain_Flat_Feet .ui-state-default:last-of-type,  #slider_Pain_Flat_Feet .ui-widget-content  .ui-state-default:last-of-type,  #slider_Pain_Flat_Feet .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}


#slider_Pain_Corns_calluses .ui-state-default:last-of-type,  #slider_Pain_Corns_calluses .ui-widget-content  .ui-state-default:last-of-type,  #slider_Pain_Corns_calluses .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}


#slider_Pain_Spurs_bunions .ui-state-default:last-of-type,  #slider_Pain_Spurs_bunions .ui-widget-content  .ui-state-default:last-of-type,  #slider_Pain_Spurs_bunions .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}

#slider_Pain_Gout .ui-state-default:last-of-type,  #slider_Pain_Gout .ui-widget-content  .ui-state-default:last-of-type,  #slider_Pain_Gout .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}


#slider_Pain_Other .ui-state-default:last-of-type,  #slider_Pain_Other .ui-widget-content  .ui-state-default:last-of-type,  #slider_Pain_Other .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}



#slider_Effect_Fatigue .ui-state-default:last-of-type,  #slider_Effect_Fatigue .ui-widget-content  .ui-state-default:last-of-type,  #slider_Effect_Fatigue .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}

#slider_Effect_Loss_Of_Energy .ui-state-default:last-of-type,  #slider_Effect_Loss_Of_Energy .ui-widget-content  .ui-state-default:last-of-type,  #slider_Effect_Loss_Of_Energy .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}

#slider_Effect_General_Tiredness .ui-state-default:last-of-type,  #slider_Effect_General_Tiredness .ui-widget-content  .ui-state-default:last-of-type,  #slider_Effect_General_Tiredness .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}


#slider_Effect_Concentration .ui-state-default:last-of-type,  #slider_Effect_Concentration .ui-widget-content  .ui-state-default:last-of-type,  #slider_Effect_Concentration .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}

#slider_Effect_Others .ui-state-default:last-of-type,  #slider_Effect_Others .ui-widget-content  .ui-state-default:last-of-type,  #slider_Effect_Others .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}

#slider_Distraction_Fatigue .ui-state-default:last-of-type,  #slider_Distraction_Fatigue .ui-widget-content  .ui-state-default:last-of-type,  #slider_Distraction_Fatigue .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}

#slider_Distraction_Pain .ui-state-default:last-of-type,  #slider_Distraction_Pain .ui-widget-content  .ui-state-default:last-of-type,  #slider_Distraction_Pain .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}


#slider_Distraction_Discomfort .ui-state-default:last-of-type,  #slider_Distraction_Discomfort .ui-widget-content  .ui-state-default:last-of-type,  #slider_Distraction_Discomfort .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}

#slider_Distraction_Walking .ui-state-default:last-of-type,  #slider_Distraction_Walking .ui-widget-content  .ui-state-default:last-of-type,  #slider_Distraction_Walking .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}

#slider_Distraction_Standing .ui-state-default:last-of-type,  #slider_Distraction_Standing .ui-widget-content  .ui-state-default:last-of-type,  #slider_Distraction_Standing .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}


#slider_Distraction_Other .ui-state-default:last-of-type,  #slider_Distraction_Other .ui-widget-content  .ui-state-default:last-of-type,  #slider_Distraction_Other .ui-widget-header .ui-state-default:last-of-type
{
    background-image:url('images/bluecircle.png');    background-repeat:no-repeat;   
}





.ui-slider .ui-slider-range {
    background: blue;
}
.left-color {
    float: left;
    background-color: yellow;
    height: 14px;
    border-radius: 3px 0px 0px 3px;
    width: 50px;
}
.slider {
    background-color: green;
    background-image: none;
}
    
    
    

    /* default hide the labels and pips that arnt visible */
    /* we just use css to hide incase we want to show certain */
    /* labels/pips individually later */
    .ui-slider-pips .ui-slider-label,
    .ui-slider-pips .ui-slider-pip-hide { 
        display: none; 
    }

    /* now we show any labels that we've set to show in the options */
    .ui-slider-pips .ui-slider-pip-label .ui-slider-label { 
        display: block; 
    }
    
    /* PIP/LABEL WRAPPER */
    /* position each pip absolutely just below the default slider */
    /* and also prevent accidental selection */
    .ui-slider-pips .ui-slider-pip { 
        width: 2em;
        height: 1em;
        line-height: 1em;
        position: absolute;
        font-size: 0.8em;
        color: #999;
        overflow: visible;
        text-align: center;
        top: 20px;
        left: 20px;
        margin-left: -1em;
        cursor: pointer;

        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    .ui-state-disabled.ui-slider-pips .ui-slider-pip {
        cursor: default;
    }

    /* little pip/line position & size */
    .ui-slider-pips .ui-slider-line {
        background: #999;
        width: 1px;
        height: 3px;
        position: absolute;
        left: 50%;
    }

    /* the text label postion & size */
    /* it overflows so no need for width to be accurate */
    .ui-slider-pips .ui-slider-label {
        position: absolute;
        top: 5px;
        left: 50%;
        margin-left: -1em;
        width: 2em;
    }

    /* make it easy to see when we hover a label */
    .ui-slider-pips:not(.ui-slider-disabled) .ui-slider-pip:hover .ui-slider-label {
        color: black;
        font-weight: bold;
    }









    /* FLOATING HORIZTONAL TOOLTIPS */

    /* remove the godawful looking focus outline on handle and float */
    .ui-slider-float .ui-slider-handle:focus,
    .ui-slider-float .ui-slider-handle.ui-state-focus .ui-slider-tip-label,
    .ui-slider-float .ui-slider-handle:focus .ui-slider-tip,
    .ui-slider-float .ui-slider-handle.ui-state-focus .ui-slider-tip-label,
    .ui-slider-float .ui-slider-handle:focus .ui-slider-tip-label
    .ui-slider-float .ui-slider-handle.ui-state-focus .ui-slider-tip-label {
        outline: none;
    }
    
    /* style tooltips on handles and on labels */
    /* also has a nice transition */
    .ui-slider-float .ui-slider-tip,
    .ui-slider-float .ui-slider-tip-label {

        position: absolute;
        visibility: hidden;
        top: -40px;
        display: block;
        width: 34px;
        margin-left: -18px;
        left: 50%;
        height: 20px;
        line-height: 20px;
        background: white;
        border-radius: 3px;
        border: 1px solid #888;
        text-align: center;
        font-size: 12px;
        opacity: 0;
        color: #333;

        -webkit-transition-property: opacity, top, visibility;
        -moz-transition-property: opacity, top, visibility;
        -ms-transition-property: opacity, top, visibility;
        transition-property: opacity, top, visibility;

        -webkit-transition-timing-function: ease-in;
        -moz-transition-timing-function: ease-in;
        -ms-transition-timing-function: ease-in;
        transition-timing-function: ease-in;

        -webkit-transition-duration: 200ms, 200ms, 0ms;
        -moz-transition-duration: 200ms, 200ms, 0ms;
        -ms-transition-duration: 200ms, 200ms, 0ms;
        transition-duration: 200ms, 200ms, 0ms;
        
        -webkit-transition-delay: 0ms, 0ms, 200ms;
        -moz-transition-delay: 0ms, 0ms, 200ms;
        -ms-transition-delay: 0ms, 0ms, 200ms;
        transition-delay: 0ms, 0ms, 200ms;
    }
    
    /* show the tooltip on hover or focus */
    /* also switch transition delay around */    
    .ui-slider-float .ui-slider-handle:hover .ui-slider-tip,
    .ui-slider-float .ui-slider-handle.ui-state-hover .ui-slider-tip,
    .ui-slider-float .ui-slider-handle:focus .ui-slider-tip,
    .ui-slider-float .ui-slider-handle.ui-state-focus .ui-slider-tip,
    .ui-slider-float .ui-slider-handle.ui-state-active .ui-slider-tip,
    .ui-slider-float .ui-slider-pip:hover .ui-slider-tip-label {
    
        opacity: 1;
        top: -30px;
        visibility: visible;

        -webkit-transition-timing-function: ease-out;
        -moz-transition-timing-function: ease-out;
        -ms-transition-timing-function: ease-out;
        transition-timing-function: ease-out;

        -webkit-transition-delay:200ms, 200ms, 0ms;
        -moz-transition-delay:200ms, 200ms, 0ms;
        -ms-transition-delay:200ms, 200ms, 0ms;
        transition-delay:200ms, 200ms, 0ms;
        
    }
    
    /* put label tooltips below slider */
    .ui-slider-float .ui-slider-pip .ui-slider-tip-label {
        top: 42px;
    }

    .ui-slider-float .ui-slider-pip:hover .ui-slider-tip-label {
        top: 32px;
        font-weight: normal;
    }
    
    /* give the tooltip a css triangle arrow */
    .ui-slider-float .ui-slider-tip:after,
    .ui-slider-float .ui-slider-pip .ui-slider-tip-label:after {
        content: " ";
        width: 0;
        height: 0;
        border: 5px solid rgba(255,255,255,0);
        border-top-color: rgba(255,255,255,1);
        position: absolute;
        bottom: -10px;
        left: 50%;
        margin-left: -5px;
    }

    /* put a 1px border on the tooltip arrow to match tooltip border */
    .ui-slider-float .ui-slider-tip:before,
    .ui-slider-float .ui-slider-pip .ui-slider-tip-label:before {
        content: " ";
        width: 0;
        height: 0;
        border: 5px solid rgba(255,255,255,0);
        border-top-color: #888;
        position: absolute;
        bottom: -11px;
        left: 50%;
        margin-left: -5px;
    }
    
    /* switch the arrow to top on labels */
    .ui-slider-float .ui-slider-pip .ui-slider-tip-label:after {
        border: 5px solid rgba(255,255,255,0);
        border-bottom-color: rgba(255,255,255,1);
        top: -10px;
    }

    .ui-slider-float .ui-slider-pip .ui-slider-tip-label:before {
        border: 5px solid rgba(255,255,255,0);
        border-bottom-color: #888;
        top: -11px;
    }













    /* SELECTED STATES */
    /* Comment out this chuck of code if you don't want to have
        the new label colours shown */

    .ui-slider-pips [class*=ui-slider-pip-initial] {

        font-weight: bold;        
        color: #14CA82;

    }

    .ui-slider-pips .ui-slider-pip-initial-1 {

    }

    .ui-slider-pips .ui-slider-pip-initial-2 {
        color: #1897C9;
    }



    .ui-slider-pips [class*=ui-slider-pip-selected] {

        font-weight: bold;
        color: #FF7A00;

    }

    .ui-slider-pips .ui-slider-pip-inrange {

        color: black;

    }

    .ui-slider-pips .ui-slider-pip-selected-1 {

    }

    .ui-slider-pips .ui-slider-pip-selected-2 {
        color: #E70081;
    }


    .ui-slider-pips [class*=ui-slider-pip-selected] .ui-slider-line,
    .ui-slider-pips .ui-slider-pip-inrange .ui-slider-line {

        background: black;

    }



