/* --- Dropdown with view/edit mode --- */

.dropdown
{
    position: relative;
    float: left;
    display: inline;
    margin-right: 10px;
    max-width: 120px;
}

.dropdown dl
{
    margin: 0;
    padding: 0;
    line-height: 1;
}

.dropdown dt
{
    position: relative;
    float: none;
    display: block;
    width: auto;
    margin: 0;
    border: solid 1px #CBCBCB;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    font-family: 'SkyTextBold';
    font-size: 1.3em;
}

.dropdown.open dt
{
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.dropdown dt a
{
    display: block;
    padding: 6px 30px 6px 6px;
    color: #707070;
}

.dropdown dt a:after
{
    position: absolute;
    top: 0;
    right: 0;
    border-left: solid 1px #CBCBCB;
    background: #F3F3F3 url(../../images/icons/dropdown-arrow-down.png) no-repeat center center;
    width: 22px;
    height: 100%;
    -moz-border-radius: 0 5px 5px 0;
    -webkit-border-radius: 0 5px 5px 0;
    border-radius: 0 5px 5px 0;
    content: '';
}

.dropdown.open dt a:after
{
    background-image: url(../../images/icons/dropdown-arrow-up.png);
}

.dropdown dd
{
    padding: 6px 8px;
    border: solid #CBCBCB;
    border-width: 0 1px 1px 1px;
    background: url(../../images/gradients/tab-back-grey.png) repeat-x;
    cursor: default;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown.open dd
{
    display: none;
}

.dropdown fieldset
{
    position: absolute;
    display: none;
    min-width: 140px;
    top: 46px;
    left: 0;
    margin: 0;
    padding: 6px;
    border: solid 1px #CBCBCB;
    background: url(../../images/gradients/tab-back-grey.png) repeat-x;
    background-size: 100% 100%;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 50;
}

.dropdown.mirrored fieldset
{
    left: auto;
    right: -10px;
}

.dropdown.open fieldset
{
    display: block;
}

.dropdown fieldset:after
{
    position: absolute;
    top: -9px;
    left: 10px;
    width: 19px;
    height: 10px;
    background: url(../../images/icons/callout-arrow.png) no-repeat;
    content: '';
}

.dropdown.mirrored fieldset:after
{
    left: auto;
    right: 10px;
}

.dropdown fieldset div > label
{
    display: block;
    padding: 6px 0 2px 3px;
    font-size: 1.2em;
    color: #888;
}

.dropdown fieldset a.button
{
    float: none;
    display: block;
    margin-top: 6px;
}

.dropdown fieldset .search:after
{
    top: 3px;
    left: 3px;
}

.dropdown fieldset .search input
{
    padding-top: 5px;
    padding-bottom: 5px;
}

/* --- Custom radio buttons and checkboxes --- */

span.checkbox, span.radio
{
    position: relative;
    display: block;
    margin-top: 6px;
    border: solid 1px #CECECE;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background: #FFF;
    font-size: 12px;
    white-space: nowrap;
    line-height: 1;
}

span.checkbox label, span.radio label
{
    display: block!important;
    padding: 8px 8px 8px 34px;
}

span.input
{
    position: absolute;
    top: 0;
    left: 0;
    width: 25px;
    height: 100%;
    border-right: solid 1px #CECECE;
    -moz-border-radius: 5px 0 0 5px;
    -webkit-border-radius: 5px 0 0 5px;
    border-radius: 5px 0 0 5px;
    background: #F2F2F2;
    text-align: center;
}

span.input input
{
    margin-top: 7px;
}

span.checkbox span.help
{
    position: absolute;
    top: 6px;
    right: 6px;
}

/* --- Search box --- */

span.search 
{
    position: relative;
    display: block;
    line-height: 1;
}

span.search input
{
    margin: 0!important;
    padding-left: 34px!important;
}

span.search:after
{
    position: absolute;
    top: 0;
    left: 0;
    width: 25px;
    height: 93%;
    content: '';
    border: solid 1px #AAA;
    border-right-color: #CECECE;
    -moz-border-radius: 5px 0 0 5px;
    -webkit-border-radius: 5px 0 0 5px;
    border-radius: 5px 0 0 5px;
    background: #F2F2F2 url(../../images/icons/form-search.png) no-repeat center center;
    text-align: center;
}

/* --- Custom sliders --- */

fieldset.slider-wrapper
{
    padding: 14px 30px 50px 30px;
}

.slider .ui-slider .ui-slider-handle
{
    top: -6px!important;
    width: 18px!important;
    height: 18px!important;
    -moz-border-radius: 10px!important;
    -webkit-border-radius: 10px!important;
    border-radius: 10px!important;
    border-color: #FFF!important;
    background: url(../../images/gradients/button-back-blue.png) repeat-x top!important;
}

.slider .ui-widget-content
{
    border: none;
    background: #CCC;
}

.slider .ui-slider-tooltip.ui-widget-content
{
    background: #009CDD;
    color: #FFF;
    font-family: 'SkyTextBold';
    font-size: 14px!important;
}

.slider .ui-slider-horizontal
{
    background: #FFF!important;
}

.slider span.ui-slider-tic 
{
    height: 10px!important;
    top: -14px!important;
    color: #DDD;
}

.slider li span.ui-slider-label-show
{
    margin-top: 5px;
    width: 40px;
    text-align: center;
    font-size: 11px!important;
}

.slider .ui-widget-header
{
    border: none;
    background: none;
}