/** DATE PICKER **/
.ui-datepicker { background: #fff; border: 1px solid #ccc; -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; }
.ui-datepicker {
    z-index: 100 !important; display: none; padding: 5px; margin-top: 1px; -moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.1); box-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
.ui-datepicker-header {
    position: relative; text-align: center; background: #ccc; padding: 5px; color: #333; font-weight: bold; border-bottom: 1px solid #ccc;
}
.ui-datepicker-calendar { border-collapse: collapse; border: 1px solid #ccc; border-top: 0; background: #fff; }
.ui-datepicker-calendar thead th { font-weight: normal; font-size: 10px; text-transform: uppercase; color: #666; }
.ui-datepicker-calendar thead th { background: url(../../images/thead.png) repeat-x top left; border-bottom: 1px solid #ccc; }
.ui-datepicker-calendar td { border-left: 1px solid #ccc; border-top: 1px solid #ccc; text-align: right; }
.ui-datepicker-calendar td { padding: 1px; background: #fff; }
.ui-datepicker-calendar td a { display: block; padding: 2px 8px; color: #666; text-shadow: 1px 1px #f7f7f7; }
.ui-datepicker-calendar td a:hover { background: #ccc; text-decoration: none; color: #333; }
.ui-datepicker-calendar td:first-child { border-left: 1px solid #ccc; }
.ui-datepicker-prev, .ui-datepicker-next { display: inline-block; width: 14px; height: 14px; }
.ui-datepicker-prev span, .ui-datepicker-next span { display: none; }
.ui-datepicker-prev { cursor: pointer; position: absolute; top: 5px; left: 5px; background: url(../../images/calarrow.png) no-repeat 3px -39px; }
.ui-datepicker-next { cursor: pointer; position: absolute; top: 5px; right: 5px; background: url(../../images/calarrow.png) no-repeat 3px 1px; }

.ui-datepicker-inline { padding: 0; background: #fff; }
.ui-datepicker-inline .ui-datepicker-calendar { width: 100%; border: 0; }
.ui-datepicker-inline .ui-datepicker-calendar td { border-left: 1px solid #ddd; border-top: 1px solid #ddd; text-align: right; }
.ui-datepicker-inline .ui-datepicker-header {
    position: relative; text-align: center; padding: 5px; background: #eee; color: #333; border-bottom: 1px solid #ddd;
    font-weight: bold;
}
.ui-datepicker-inline .ui-datepicker-calendar thead th {
    font-weight: normal; font-size: 10px; text-transform: uppercase; color: #666; font-weight: bold;
    background: url(../../images/titlebg.png) repeat-x top left; border-bottom: 1px solid #ccc;
}
.ui-datepicker-calendar td.ui-datepicker-today a { background: #FB9337; color: #fff; text-shadow: none; }

/** TABS **/
.ui-tabs {
    border: 1px solid #ccc; background: #fcfcfc; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; /*overflow: hidden;*/
    line-height: 21px;
}
.ui-tabs-nav { list-style: none; background: #eee url(../../images/thead.png) repeat-x top left; border-bottom: 1px solid #ddd; }
.ui-tabs-nav { position: relative; height: 41px; -moz-border-radius: 3px 3px 0 0; -webkit-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0; }
.ui-tabs-nav li { display: inline-block; float: left; }
.ui-tabs-nav li:first-child a { -moz-border-radius: 3px 0 0 0; -webkit-border-radius: 3px 0 0 0; border-radius: 3px 0 0 0; }
.ui-tabs-nav li a {
    display: block; padding: 10px 20px; font-weight: bold; background: #eee url(../../images/titlebg.png) repeat-x top left; color: #666;
    border-right: 1px solid #ddd; border-bottom: 1px solid #ddd;
}
.ui-tabs-nav li a:hover { text-decoration: none; background: #ddd; }
.ui-tabs-nav li.ui-state-active a { background: #fff; color: #333; border-bottom: 1px solid #fff; }

.ui-tabs select {
    background: none repeat scroll 0 0 #FCFCFC;
    border: 1px solid #CCCCCC;
    border-radius: 2px 2px 2px 2px;
    box-shadow: 1px 1px 2px #DDDDDD inset;
    color: #666666;
    padding: 5px 2px;
    font-size: 16px;
}

.ui-tabs-hide { display: none; }
.ui-tabs-panel { padding: 15px; background: #fff; }
.ui-tabs-panel ul { margin: 10px; }
.ui-tabs-panel ul li { padding-left: 10px; }

.widgetbox .ui-tabs { border: 1px solid #ddd; }
.widgetbox .ui-tabs-nav { -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0; height: 41px; }
.widgetbox .ui-tabs-nav li a { padding: 10px 15px; }

@media (max-width: 960px) {
    .ui-tabs { border: none; line-height: 21px; }
    .ui-tabs-panel { padding: 0px; background: #fff; }
    .ui-tabs-nav { display: none; }
    .ui-tabs select { display: inline-block; }
}

/*
.tabs2 { border: 0; }
.tabs2 .ui-tabs-nav { padding: 5px 0 0 5px; border: 1px solid #6082AD; background: #688AB5 url(../../images/titlebg.png) repeat-x top left; }
.tabs2 .ui-tabs-nav li:last-child a { -moz-border-radius: 0 3px 0 0; -webkit-border-radius: 0 3px 0 0; border-radius: 0 3px 0 0; }
.tabs2 .ui-tabs-panel { border: 1px solid #ccc; border-top: 0; }
.tabs2 .ui-tabs-nav li a { background: #a8c0df; border: 0; color: #fff; margin-right: 1px; }
.tabs2 .ui-tabs-nav li.ui-state-active a { background: #fcfcfc; color: #688AB5; border-bottom: 1px solid #fcfcfc; }
*/

/** ACCORDION **/
.accordion { border: 1px solid #ccc; background: #fcfcfc; overflow: hidden; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
.ui-accordion-header { background: #eee url(../../images/thead.png) repeat-x top left; border-top: 1px solid #ccc; position: relative; }
.ui-accordion-header { font-size: 12px; text-shadow: 1px 1px #f7f7f7; text-transform: uppercase; font-weight: normal; cursor: pointer; }
.ui-accordion-header:first-child { border-top: 0; }
.ui-accordion-header a { color: #333; padding: 10px; display: block; }
.ui-accordion-header a:hover { color: #FB9337; text-decoration: none; }
.ui-accordion-content { padding: 10px; border-top: 1px solid #ccc; color: #666; overflow: hidden; background: #fff; }
.ui-accordion-header .ui-icon {
    position: absolute; display: inline-block; background: url(../../images/accordinarrow.png) no-repeat 0 0; top: 18px;
    right: 10px; width: 10px; height: 10px;
}
.ui-state-active { background: #fcfcfc; }
.ui-state-active a { color: #FB9337; text-shadow: none; }
.ui-state-active .ui-icon { background-position: 0 -10px; }


/** SLIDER **/
.ui-slider { border: 1px solid #bbb; background: #ccc; position: relative; margin: 10px 0; }
.ui-slider { -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }
.ui-slider a { display: inline-block; z-index: 2; }
.ui-slider-range { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }

.ui-slider-horizontal { display: block; height: 2px; }
.ui-slider-horizontal a {
    position: absolute; top: -5px; width: 17px; height: 14px; background: url(../../images/sliderhor.png) 0 0;
    -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px;
}
.ui-slider-horizontal a.ui-slider-handle { margin-left: -8px; }
.ui-slider-horizontal a:hover, .ui-slider-horizontal a.ui-state-active {
    -moz-box-shadow: 0 0 3px rgba(0,0,0,0.3); -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.3); box-shadow: 0 0 3px rgba(0,0,0,0.3); }
.ui-slider-horizontal .ui-slider-range { background: #FB9337; height: 3px; position: absolute; }
.ui-slider-horizontal .ui-slider-range {
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
}
.ui-slider-horizontal .ui-slider-range-max { right: 0; }

.ui-slider-vertical { width: 2px; margin: 10px 0 2px 0; padding-top: 10px;}
.ui-slider-vertical a { position: absolute; left: -3px; }
.ui-slider-vertical a {
    width: 14px; height: 17px; position: absolute; left: -6px; background: url(../../images/sliderver.png) 0 0; -moz-border-radius: 2px;
    -webkit-border-radius: 2px; border-radius: 2px;
}
.ui-slider-vertical a:hover, .ui-slider-vertical a.ui-state-active {
    -moz-box-shadow: 0 0 3px rgba(0,0,0,0.3); -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.3); box-shadow: 0 0 3px rgba(0,0,0,0.3); }
}
.ui-slider-vertical a.ui-slider-handle { margin-bottom: -8px; }

.ui-slider-vertical .ui-slider-range { background: #FB9337; width: 4px; position: absolute; left: -1px; }
.ui-slider-vertical .ui-slider-range {
    -moz-box-shadow: inset 1px 0 1px rgba(0,0,0,0.3); -webkit-box-shadow: inset 1px 0 1px rgba(0,0,0,0.3);
    box-shadow: inset 1px 0 1px rgba(0,0,0,0.3);
}
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
.ui-slider-vertical .ui-slider-range-max { right: 0; }


/**DIALOG**/
.ui-dialog { background: url(../../images/blacktrans.png); padding: 5px; }
.ui-dialog { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; position: relative; }
.ui-dialog-titlebar { padding: 8px 10px; color: #fff; background: #eee url(../../images/thead.png) repeat-x top left; border-bottom: 1px solid #ccc; }
.ui-dialog-content { background: #fff; padding: 10px; }
.ui-dialog-titlebar { color: #069; font-weight:  bold; }
.ui-dialog-titlebar-close { position: absolute; top: 12px; right: 15px; font-size: 11px; font-weight: normal; color: #666; }
.ui-dialog-titlebar-close:hover { text-decoration: none; color: #333; }

.ui-dialog .wysiwyg legend { position: absolute; top: 13px; left: 15px; font-size: 11px; text-transform: uppercase; }
.ui-dialog .wysiwyg p { margin: 8px 0; }
.ui-dialog .wysiwyg input.submit {
    background: url(../../images/buttonbg3.png) repeat-x top left; border: 1px solid #314a78; padding: 5px 10px; color: #fff; font-size: 11px;
}
.ui-dialog .wysiwyg input.reset {
    padding: 5px 10px; background: url(../../images/thead.png) repeat-x top left; border: 1px solid #bbb; color: #333; font-size: 11px;
}
.ui-dialog .wysiwyg label { float: left; width: 100px; }