/* Competentum Group Slider styles */
.cg-slider-controlBar {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    height: 28px;
}

.cg-slider-vertical .cg-slider-controlBar{
    height: 100%;
    width: 28px;
}

.cg-slider-alignmentTable {
    display: table;
    height: 100%;
    width: 100%;
    vertical-align: middle;
    table-layout: fixed;
}
.cg-slider-alignmentCell {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

.cg-slider-bg{
    width: 100%;
    height: 4px;
    box-sizing: border-box;
    -ms-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border: none;
    background: #FC6D5C;
    transition: background 0.4s;
    position: relative;
    margin: auto;
}
.grayed-out .cg-slider-bg {
    background: #888;
}
.cg-slider-vertical .cg-slider-bg{
    width: 4px;
    height: 100%;
}

.cg-slider-progress{
    position: absolute;
    height: 100%;
    background: #FC6D5C;
    transition: background 0.4s;
}
.grayed-out .cg-slider-progress {
    background: #888;
}
.cg-slider-vertical .cg-slider-progress{
    width: 100%;
    height: auto;
}
.cg-slider-handle {
    position: absolute;
    cursor: pointer;
    left: 0;
    top: 50%;
    margin: -8px;
    width: 16px;
    height: 16px;
    background-color: #5D7D8C;
    border-radius: 50%;
}
.cg-slider-vertical .cg-slider-handle{
    left: 50%;
    bottom: 0;
    top: auto;
}
.cg-slider-handle:after{
    content: "";
    position: absolute;
    left: -4px;
    right: -4px;
    bottom: -4px;
    top: -4px;
    border-radius: 50%;
}
.cg-slider-handle-tooltip{
    display: none;
    color: #ffffff;
    cursor: default;
    z-index: 100;
    font-size: 12px;
    text-align: center;
    padding-left: 3px;
    padding-right: 3px;
    line-height: 22px;
    height: 22px;
    min-width: 16px;
    position: absolute;
    top: -24px;
    background-color: #5D7D8C;
    border-radius: 10px;
}
.cg-slider-vertical .cg-slider-handle-tooltip{
    top: auto;
    margin-bottom: -10px;
    margin-left: 17px;
    left: 50%;
}
.cg-slider-handle-tooltip:after{
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    left: 50%;
    bottom: -5px;
    margin-left: -7px;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: #5D7D8C 8px solid;
}
.cg-slider-vertical .cg-slider-handle-tooltip:after{
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    left: -5px;
    margin-top: -7px;
    border-right: #5D7D8C 8px solid;
    border-bottom: 7px solid transparent;
    border-top: 7px solid transparent;
}
.cg-slider-handle:focus{
    outline: none;
}
.cg-slider-handle:focus:after{
    content: "";
    position: absolute;
    left: -4px;
    right: -4px;
    bottom: -4px;
    top: -4px;
    border-radius: 50%;
    background-color: rgba(93, 125, 140, 0.3);
}
.cg-slider-handle:hover:after,
.cg-slider-handle:active:after{
    content: "";
    position: absolute;
    left: -4px;
    right: -4px;
    bottom: -4px;
    top: -4px;
    border-radius: 50%;
    background-color: #5D7D8C;
}
.cg-slider-handle.disable, .cg-slider-handle.disable:hover, .cg-slider-handle.disable:active{
    cursor: default;
    opacity: 0.3;
}
/*==================ANIMATION BLOCK========================================*/
.cg-slider-controlBar[animation=on] .cg-slider-progress{
    -webkit-transition: left 0.5s ease-in-out, width 0.5s ease-in-out;
    -moz-transition: left 0.5s ease-in-out, width 0.5s ease-in-out;
    -o-transition: left 0.5s ease-in-out, width 0.5s ease-in-out;
    transition: left 0.5s ease-in-out, width 0.5s ease-in-out;
}
.cg-slider-vertical .cg-slider-controlBar[animation=on] .cg-slider-progress{
    -webkit-transition: bottom 0.5s ease-in-out, height 0.5s ease-in-out;
    -moz-transition: bottom 0.5s ease-in-out, height 0.5s ease-in-out;
    -o-transition: bottom 0.5s ease-in-out, height 0.5s ease-in-out;
    transition: bottom 0.5s ease-in-out, height 0.5s ease-in-out;
}
.cg-slider-controlBar[animation=on] .cg-slider-handle,
.cg-slider-controlBar[animation=on] .cg-slider-handle-tooltip{
    -webkit-transition: left 0.5s ease-in-out;
    -moz-transition: left 0.5s ease-in-out;
    -o-transition: left 0.5s ease-in-out;
    transition: left 0.5s ease-in-out;
}
.cg-slider-vertical .cg-slider-controlBar[animation=on] .cg-slider-handle,
.cg-slider-vertical .cg-slider-controlBar[animation=on] .cg-slider-handle-tooltip{
    -webkit-transition: bottom 0.5s ease-in-out;
    -moz-transition: bottom 0.5s ease-in-out;
    -o-transition: bottom 0.5s ease-in-out;
    transition: bottom 0.5s ease-in-out;
}
/*==========================================================================*/
.cg-slider-bg.disable, .cg-slider-bg.disable:hover, .cg-slider-bg.disable:active{
    cursor: default;
    opacity: 0.3;
}
.cg-slider-tick{
    position: absolute;
    width: 2px;
    margin-left: -1px;
    height: 12px;
    background-color: #FC6D5C;
    transition: background 0.4s;
}
.grayed-out .cg-slider-tick {
    background: #888;
}
.cg-slider-vertical .cg-slider-tick{
    margin-left: 0;
    margin-bottom: -1px;
    width: 10px;
    height: 2px;
}
.cg-slider-tick-bottom{
    top: 0;
}
.cg-slider-tick-top{
    bottom: 0;
}
.cg-slider-tick-left{
    right: 0;
}
.cg-slider-tick-right{
    left: 0;
}

.cg-slider-tick-label{
    position: absolute;
    white-space: nowrap;
    font-size: 14px;
}
.cg-slider-tick-bottom .cg-slider-tick-label{
    text-align: center;
    top: 12px;
}
.cg-slider-tick-top .cg-slider-tick-label{
    text-align: center;
    bottom: 12px;
}
.cg-slider-tick-left .cg-slider-tick-label{
    padding-top: 1px;
    right: 12px;
}
.cg-slider-tick-right .cg-slider-tick-label{
    padding-top: 1px;
    left: 12px;
}

.cg-slider-with-labels-bottom{
    margin-bottom: 15px;
}
.cg-slider-with-labels-top{
    margin-top: 15px;
}
.cg-slider-with-labels-left{
    margin-left: 40px;
}
.cg-slider-with-labels-right{
    margin-right: 40px;
}