/*! Ben's jQuery UI Extensions - v0.1 - 2013-03-20
* https://github.com/bseth99/jquery-ui-extensions
* Includes: jquery.ui.spinner.css, jquery.ui.slidespinner.css, jquery.ui.labeledslider.css, jquery.ui.combobox.css
* Copyright 2013 Ben Olson; Licensed MIT */

.ui-spinner { position:relative; display: inline-block; overflow: hidden; padding: 0; vertical-align: middle; }
.ui-spinner-input { border: none; background: none; padding: 0; vertical-align: middle; }
.ui-spinner-right .ui-spinner-input { margin: .2em 0; margin-left: .4em; margin-right: 22px; }
.ui-spinner-left .ui-spinner-input { margin: .2em 0; margin-right: .4em; margin-left: 22px; text-align: right; }
.ui-spinner-vertical .ui-spinner-input { margin: 0 .2em; margin-top: 12px; margin-bottom: 12px; text-align: center; }
.ui-spinner-horizontal .ui-spinner-input { margin: .2em 0; margin-left: 12px; margin-right: 12px; text-align: center; }
.ui-spinner-button {font-size: .5em; padding: 0; margin: 0; text-align: center; position: absolute; cursor: default; display: block; overflow: hidden; }
.ui-spinner-right .ui-spinner-button { width: 16px; height: 50%; right: 0; }
.ui-spinner-left .ui-spinner-button { width: 16px; height: 50%; left: 0; }
.ui-spinner-vertical .ui-spinner-button { width: 100%; height: 10px; left: 0;  }
.ui-spinner-horizontal .ui-spinner-button { width: 10px; height: 100%; top: 0; }
.ui-spinner a.ui-spinner-button { border: none; } /* more specificity required here to overide default borders */
.ui-spinner .ui-icon { position: absolute; }
.ui-spinner-right .ui-icon { margin-top: -8px; top: 50%; left: 0; } /* vertical centre icon */
.ui-spinner-left .ui-icon { margin-top: -8px; top: 50%; left: 0; } /* vertical centre icon */
.ui-spinner-vertical .ui-icon { margin-top: -3px; margin-left: -7px; top: 0; left: 50%; }
.ui-spinner-horizontal .ui-icon { margin-top: -8.5px; margin-left: -3px; top: 50%; left: 0; }
.ui-spinner-up { top: 0; }
.ui-spinner-down { bottom: 0; }
.ui-spinner-horizontal .ui-spinner-up { right: 0; }
.ui-spinner-horizontal .ui-spinner-down { left: 0; }

/* TR overrides */
.ui-spinner .ui-icon-triangle-1-s {
   /* need to fix icons sprite */
   background-position: -65px -16px;
}

.ui-slidespinner { position: relative; display: inline-block; }
.ui-slidespinner .ui-spinner-vertical { margin-right: 20px; }
.ui-slidespinner .ui-spinner-horizontal { margin-bottom: 20px; }
.ui-slidespinner input { width: 2.5em; }
.ui-slidespinner div { position: absolute; font-size: 7pt; }
.ui-slider-wrapper { position: relative; }

.ui-slider-wrapper .ui-slider-horizontal { width: 100%; }
.ui-slider-label-ticks { border: 1px solid transparent; position: absolute; text-align: center; white-space: nowrap; font-size: 0.9em; }
.ui-slider-labels { position: absolute; border: 1px solid transparent; }

.ui-slider-wrapper.horizontal { height: 4.5em; }
.horizontal .ui-slider-labels { top: 0.7em; margin-top: -0.35em; left: 0.05em; width: 100%; }
.horizontal .ui-slider-label-ticks { width: 1.2em; margin-left: -.7em; }
.horizontal .ui-slider-label-ticks span { display: inline-block; border-left: 1px solid #999; height: 0.7em; }

.ui-slider-wrapper.vertical { width: 4.5em; }
.vertical .ui-slider-labels { left: 0.7em; top: 0.4em; margin-left: -0.15em; height: 100%; }
.vertical .ui-slider-label-ticks { height: 1.2em; margin-top: -.6em; }
.vertical .ui-slider-label-ticks span { display: inline-block; border-top: 1px solid #999; width: 0.7em; margin-bottom: 0.15em; }

.ui-combobox { display: inline-block; margin: 0; margin-right: 1.8em; position: relative; }
.ui-combobox-input { padding: 0.2em; margin: 0; }
.ui-combobox-button { position: absolute; width: 1.8em !important; margin: 0; margin-left: -1px; top: 0; bottom: 0; }
.ui-combobox-button .ui-button-text { padding: 0em; }
.ui-combobox .ui-autocomplete { max-height: 10em; overflow-y: auto; overflow-x: hidden; }