$imagesPath: '/assets/vendors/jquery-ui/images/ui-lightness/';
$uiTextContentColor: #333333 !default;
$uiTextTitleColor: #333333 !default;
$uiLinkColor: #ffffff !default;
$uiLinkFocusColor: #c77405 !default;
$uiLinkActiveColor: #eb8f00 !default;
$uiLinkBorderFocusColor: $uiLinkFocusColor !default;
$uiLinkColor2: $uiLinkColor !default;
@import './shared';

.ui-widget-content {
    border: 1px solid #dddddd;
    background: #eeeeee url('#{$imagesPath}ui-bg_highlight-soft_100_eeeeee_1x100.png') 50% top repeat-x;
    color: $uiTextContentColor;
}

.ui-widget-content a {
    color: $uiLinkColor;
}

.ui-widget-header {
    color: $uiTextTitleColor;
    font-weight: bold;
    .advanced_search_dialog_container & {
        color: #ffffff;
    }
}

.ui-widget-header a {
    color: $uiLinkColor;
}

/* Interaction states
----------------------------------*/
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    border: 1px solid #cccccc;
    background: #f6f6f6 url('#{$imagesPath}ui-bg_glass_100_f6f6f6_1x400.png') 50% 50% repeat-x;
    font-weight: bold;
    color: $uiTextTitleColor;
}

.ui-state-default a {
    color: $uiLinkColor;
    text-decoration: none;
    &:visited, &:link {
        color: #000000;
        text-decoration: none;
    }
}

.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
    border: 1px solid $uiLinkBorderFocusColor;
    background: #fdf5ce url('#{$imagesPath}ui-bg_glass_100_fdf5ce_1x400.png') 50% 50% repeat-x;
    font-weight: bold;
    color: $uiLinkFocusColor;
}

.ui-state-hover a,
.ui-state-hover a:hover,
.ui-state-hover a:link,
.ui-state-hover a:visited {
    color: $uiLinkFocusColor;
    text-decoration: none;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    border: 1px solid $uiLinkActiveColor;
    background: #ffffff url('#{$imagesPath}ui-bg_glass_65_ffffff_1x400.png') 50% 50% repeat-x;
    font-weight: bold;
    color: $uiLinkActiveColor;
}

.ui-state-active a,
.ui-state-active a:link,
.ui-state-active a:visited {
    color: $uiLinkActiveColor;
    text-decoration: none;
}

/* Interaction Cues
----------------------------------*/
.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
    border: 1px solid #fed22f;
    background: #ffe45c url('#{$imagesPath}ui-bg_highlight-soft_75_ffe45c_1x100.png') 50% top repeat-x;
    color: #363636;
}

.ui-state-highlight a,
.ui-widget-content .ui-state-highlight a,
.ui-widget-header .ui-state-highlight a {
    color: $uiLinkColor;
}

.ui-state-error,
.ui-widget-content .ui-state-error,
.ui-widget-header .ui-state-error {
    border: 1px solid #cd0a0a;
    background: #b81900 url('#{$imagesPath}ui-bg_diagonals-thick_18_b81900_40x40.png') 50% 50% repeat;
    color: #ffffff;
}

.ui-state-error a,
.ui-widget-content .ui-state-error a,
.ui-widget-header .ui-state-error a {
    color: #ffffff;
}

.ui-state-error-text,
.ui-widget-content .ui-state-error-text,
.ui-widget-header .ui-state-error-text {
    color: #ffffff;
}

.ui-priority-primary,
.ui-widget-content .ui-priority-primary,
.ui-widget-header .ui-priority-primary {
    font-weight: bold;
}

.ui-priority-secondary,
.ui-widget-content .ui-priority-secondary,
.ui-widget-header .ui-priority-secondary {
    opacity: .7;
    filter: Alpha(Opacity=70);
    font-weight: normal;
}

.ui-state-disabled,
.ui-widget-content .ui-state-disabled,
.ui-widget-header .ui-state-disabled {
    opacity: .35;
    filter: Alpha(Opacity=35);
    background-imag1c94c4: none;
}

.ui-state-disabled .ui-icon {
    filter: Alpha(Opacity=35); /* For IE8 - See #6059 */
}

/* Icons
----------------------------------*/

/* states and images */
.ui-icon {
    width: 16px;
    height: 16px;
}

.ui-icon,
.ui-widget-content .ui-icon {
    background-image: url('#{$imagesPath}ui-icons_222222_256x240.png');
}

.ui-widget-header .ui-icon {
    background-image: url('#{$imagesPath}ui-icons_ffffff_256x240.png');
}

.ui-state-default .ui-icon {
    background-image: url('#{$imagesPath}ui-icons_222222_256x240.png');
}

.ui-state-hover .ui-icon,
.ui-state-focus .ui-icon {
    background-image: url('#{$imagesPath}ui-icons_222222_256x240.png');
}

.ui-state-active .ui-icon {
    background-image: url('#{$imagesPath}ui-icons_222222_256x240.png');
}

.ui-state-highlight .ui-icon {
    background-image: url('#{$imagesPath}ui-icons_228ef1_256x240.png');
}

.ui-state-error .ui-icon,
.ui-state-error-text .ui-icon {
    background-image: url('#{$imagesPath}ui-icons_ffd27a_256x240.png');
}

/* Overlays */
.ui-widget-overlay {
    background: #666666 url('#{$imagesPath}ui-bg_diagonals-thick_20_666666_40x40.png') 50% 50% repeat;
    opacity: .5;
    filter: Alpha(Opacity=50);
}

.ui-widget-shadow {
    margin: -5px 0 0 -5px;
    padding: 5px;
    background: #000000 url('#{$imagesPath}ui-bg_flat_10_000000_40x100.png') 50% 50% repeat-x;
    opacity: .2;
    filter: Alpha(Opacity=20);
    border-radius: 5px;
}
