/*************** SCROLLBAR BASE CSS ***************/
 
.scroll-wrapper {
    overflow: hidden !important;
    padding: 0 !important;
    position: relative;
}
 
.scroll-wrapper > .scroll-content {
    border: none !important;
    box-sizing: content-box !important;
    height: auto;
    left: 0;
    margin: 0;
    max-height: none;
    max-width: none !important;
    overflow: scroll !important;
    padding: 0;
    position: relative !important;
    top: 0;
    width: auto !important;
}
 
.scroll-wrapper > .scroll-content::-webkit-scrollbar {
    height: 0;
    width: 0;
}
 
.scroll-element {
    display: none;
}
.scroll-element, .scroll-element div {
    box-sizing: content-box;
}
 
.scroll-element.scroll-x.scroll-scrollx_visible,
.scroll-element.scroll-y.scroll-scrolly_visible {
    display: block;
}
 
.scroll-element .scroll-bar,
.scroll-element .scroll-arrow {
    cursor: default;
}
 
.scroll-textarea {
    border: 1px solid #cccccc;
    border-top-color: #999999;
}
.scroll-textarea > .scroll-content {
    overflow: hidden !important;
}
.scroll-textarea > .scroll-content > textarea {
    border: none !important;
    box-sizing: border-box;
    height: 100% !important;
    margin: 0;
    max-height: none !important;
    max-width: none !important;
    overflow: scroll !important;
    outline: none;
    padding: 2px;
    position: relative !important;
    top: 0;
    width: 100% !important;
}
.scroll-textarea > .scroll-content > textarea::-webkit-scrollbar {
    height: 0;
    width: 0;
}
 
 
 
 
/******************* WINDOWS VISTA SCROLLBAR *******************/
 
.scrollbar-custom > .scroll-content.scroll-scrolly_visible { left: -17px; margin-left: 17px; }
.scrollbar-custom > .scroll-content.scroll-scrollx_visible { top:  -17px; margin-top:  17px; }
 
 
.scrollbar-custom > .scroll-element {
    background-color: #fcfdff;
}
 
.scrollbar-custom > .scroll-element,
.scrollbar-custom > .scroll-element div
{
    border: none;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    z-index: 10;
}
 
.scrollbar-custom > .scroll-element .scroll-element_outer,
.scrollbar-custom > .scroll-element .scroll-element_size,
.scrollbar-custom > .scroll-element .scroll-element_inner-wrapper,
.scrollbar-custom > .scroll-element .scroll-element_inner,
.scrollbar-custom > .scroll-element .scroll-bar,
.scrollbar-custom > .scroll-element .scroll-bar div
{
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
}
 
.scrollbar-custom > .scroll-element .scroll-element_outer,
.scrollbar-custom > .scroll-element .scroll-element_size,
.scrollbar-custom > .scroll-element .scroll-element_inner-wrapper,
.scrollbar-custom > .scroll-element .scroll-bar_body
{
    background: none !important;
}
 
 
.scrollbar-custom > .scroll-element.scroll-x {
    border-top: solid 1px #fcfdff;
    bottom: 0;
    height: 16px;
    left: 0;
    min-width: 100%;
    width: 100%;
}
 
.scrollbar-custom > .scroll-element.scroll-y {
    border-left: solid 1px #fcfdff;
    height: 100%;
    min-height: 100%;
    right: 0;
    top: 0;
    width: 16px;
}
 
.scrollbar-custom > .scroll-element.scroll-x div {
    background-repeat: repeat-x;
}
 
.scrollbar-custom > .scroll-element.scroll-y div {
    background-repeat: repeat-y;
}
 
.scrollbar-custom > .scroll-element.scroll-x .scroll-arrow {}
 
.scrollbar-custom > .scroll-element.scroll-x .scroll-bar { min-width: 16px; background-position: 0px -34px; background-repeat: no-repeat; }
.scrollbar-custom > .scroll-element.scroll-x .scroll-bar_body { left: 2px; }
.scrollbar-custom > .scroll-element.scroll-x .scroll-bar_body-inner { left: -4px; background-position: 0px -17px; }
.scrollbar-custom > .scroll-element.scroll-x .scroll-bar_center { left: 50%; margin-left: -6px; width: 12px; background-position: 24px -34px; }
.scrollbar-custom > .scroll-element.scroll-x .scroll-bar_bottom { left: auto; right: 0; width: 2px; background-position: 37px -34px; }
 
 
.scrollbar-custom > .scroll-element.scroll-y .scroll-bar { min-height: 16px; background-position: -34px 0px; background-repeat: no-repeat; }
.scrollbar-custom > .scroll-element.scroll-y .scroll-bar_body { top: 2px; }
.scrollbar-custom > .scroll-element.scroll-y .scroll-bar_body-inner { top: -4px; background-position: -17px 0px; }
.scrollbar-custom > .scroll-element.scroll-y .scroll-bar_center { top: 50%; margin-top: -6px; height: 12px; background-position: -34px 24px; }
.scrollbar-custom > .scroll-element.scroll-y .scroll-bar_bottom { top: auto; bottom: 0; height: 2px; background-position: -34px 37px; }
 
 
 
/* SCROLL ARROWS */
 
.scrollbar-custom > .scroll-element .scroll-arrow { display: none; }
.scrollbar-custom > .scroll-element.scroll-element_arrows_visible .scroll-arrow { display: block; z-index: 12; }
 
 
.scrollbar-custom > .scroll-element.scroll-x.scroll-element_arrows_visible .scroll-arrow_less { height: 100%; width: 17px; background-position: 0px -51px;}
.scrollbar-custom > .scroll-element.scroll-x.scroll-element_arrows_visible .scroll-arrow_more { height: 100%; left: auto; right: 0; width: 17px; background-position: 17px -51px;}
 
.scrollbar-custom > .scroll-element.scroll-x.scroll-element_arrows_visible .scroll-element_outer { left: 17px; }
.scrollbar-custom > .scroll-element.scroll-x.scroll-element_arrows_visible .scroll-element_inner { left: -34px; }
.scrollbar-custom > .scroll-element.scroll-x.scroll-element_arrows_visible .scroll-element_size { left: -34px; }
 
 
.scrollbar-custom > .scroll-element.scroll-y.scroll-element_arrows_visible .scroll-arrow_less { width: 100%; height: 17px; background-position: -51px 0px;}
.scrollbar-custom > .scroll-element.scroll-y.scroll-element_arrows_visible .scroll-arrow_more { width: 100%; top: auto; bottom: 0; height: 17px; background-position: -51px 17px;}
 
.scrollbar-custom > .scroll-element.scroll-y.scroll-element_arrows_visible .scroll-element_outer { top: 17px; }
.scrollbar-custom > .scroll-element.scroll-y.scroll-element_arrows_visible .scroll-element_inner { top: -34px; }
.scrollbar-custom > .scroll-element.scroll-y.scroll-element_arrows_visible .scroll-element_size { top: -34px; }
 
 
/* PROCEED OFFSET IF ANOTHER SCROLL VISIBLE */
 
.scrollbar-custom > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_size { left: -17px; }
.scrollbar-custom > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_size { top: -17px; }
 
.scrollbar-custom > .scroll-element.scroll-x.scroll-scrolly_visible .scroll-element_inner { left: -17px; }
.scrollbar-custom > .scroll-element.scroll-y.scroll-scrollx_visible .scroll-element_inner { top: -17px; }
 
 
/* PROCEED OFFSET IF ARROWS & ANOTHER SCROLL */
 
.scrollbar-custom > .scroll-element.scroll-x.scroll-element_arrows_visible.scroll-scrolly_visible .scroll-arrow_more { right: 17px;}
.scrollbar-custom > .scroll-element.scroll-x.scroll-element_arrows_visible.scroll-scrolly_visible .scroll-element_inner { left: -51px;}
.scrollbar-custom > .scroll-element.scroll-x.scroll-element_arrows_visible.scroll-scrolly_visible .scroll-element_size { left: -51px;}
 
 
.scrollbar-custom > .scroll-element.scroll-y.scroll-element_arrows_visible.scroll-scrollx_visible .scroll-arrow_more { bottom: 17px;}
.scrollbar-custom > .scroll-element.scroll-y.scroll-element_arrows_visible.scroll-scrollx_visible .scroll-element_inner { top: -51px;}
.scrollbar-custom > .scroll-element.scroll-y.scroll-element_arrows_visible.scroll-scrollx_visible .scroll-element_size { top: -51px;}




/* New styles */
.scrollbar-custom > .scroll-element.scroll-y div {
    background: #f6f6f6;
}
.scrollbar-custom > .scroll-element.scroll-y .scroll-bar_body-inner {
    background-color: #b6b5b6;
}
.scrollbar-custom > .scroll-element.scroll-element_arrows_visible .scroll-arrow {
    width: 21px;
    height: 22px;
    background: #ccc url(../images/scroll-buttons.png) no-repeat 0 0;
    cursor: pointer;
}
.scrollbar-custom > .scroll-element.scroll-y.scroll-element_arrows_visible .scroll-arrow_less {
    width: 21px;
    height: 22px;
    background-position: 0 0;
}
.scrollbar-custom > .scroll-element.scroll-y.scroll-element_arrows_visible .scroll-arrow_more {
    width: 21px;
    height: 22px;
    background-position: 0 100%;
    top: 22px;
}
.scrollbar-custom > .scroll-element.scroll-y.scroll-element_arrows_visible .scroll-arrow_less:hover {
    background-position: 100% 0;
}
.scrollbar-custom > .scroll-element.scroll-y.scroll-element_arrows_visible .scroll-arrow_more:hover {
    background-position: 100% 100%
}
.scrollbar-custom > .scroll-element.scroll-y {
    width: 21px;
}
.scrollbar-custom > .scroll-element.scroll-y.scroll-element_arrows_visible .scroll-element_outer {
    top: 55px;
}
.scrollbar-custom > .scroll-element.scroll-y .scroll-bar_center {
    display: none;
}
.scrollbar-custom > .scroll-element.scroll-y.scroll-element_arrows_visible .scroll-element_outer {
    width: 5px;
    margin-left: 8px;
}