/* Button */
._button, ._button:active, ._button:focus, .ui-custom-dialog .ui-dialog-buttonset button {
    display: inline-block;
    position: relative;
    padding: 0;
    margin-right: 10px;
    border-radius: 3px;
    color: #fff;
    background-color: #ff6239;
    padding: 5px 10px;
    letter-spacing:0.01em;
    font-weight:400;
    line-height: 1.5;
    cursor: pointer;
    border: none;
    -webkit-transition: background-color 0.5s;
    -o-transition: background-color 0.5s;
    transition: background-color 0.5s;
    box-shadow:none;
    outline: 0;
}
._button:hover, .ui-custom-dialog .ui-dialog-buttonset button:hover {
    background-color: #ec5932;
    color:#fff
}

/* Button icons */
._button i.icon, .ui-custom-dialog .ui-dialog-buttonset button i.icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    vertical-align: text-top;
    margin-left: 0px;
}

/* Button colors */

/* Cancel */
.ui-custom-dialog .ui-dialog-buttonset button.ui-button-cancel { background-color: #ddd; color: #333; }
.ui-custom-dialog .ui-dialog-buttonset button.ui-button-cancel:hover { background-color: #ccc;}

/* Custom audio */
._button.mm-custom-audio { background-color: #afd23e }
._button:hover.mm-custom-audio { background-color: #669c22 }

/* Delete */
._button.ui-button-delete { background-color: #e65345 }
._button:hover.ui-button-delete { background-color: #cb473b }


/* Datepicker */
._datepicker {
    width: auto;
    padding: 0;
    display: none;
    border: 0 none;
}
._datepicker .ui-icon { 
    display: block;
    text-indent: -99999px;
    overflow: hidden;
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    background-image: url(../images/ui-theme/ui-icons_222222_256x240.png);
}

._datepicker {
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.35);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.35);
    box-shadow: 0 1px 2px rgba(0,0,0,0.35);
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

._datepicker .ui-datepicker-header {
    position: relative;
    padding: .4em 0;
    border: 1px solid #3b3e40;
}

._datepicker .ui-datepicker-header {
    background: #595c5d;
    border-radius: 0;
}

._datepicker th {
    color: #e8e9ea!important;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.4);
    border: #27292b solid!important;
    border-width: 1px 0!important;
    background: #77797a;
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset;
    -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset;
    box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset;
}

.ui-datepicker .ui-datepicker-prev,._datepicker .ui-datepicker-next {
    position: absolute;
    top: 9px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

._datepicker .ui-datepicker-prev-hover,._datepicker .ui-datepicker-next-hover {
    top: 9px;
}

._datepicker .ui-datepicker-prev {
    left: 2px;
}

._datepicker .ui-datepicker-next {
    right: 2px;
}

._datepicker .ui-datepicker-prev-hover {
    left: 2px;
}

._datepicker .ui-datepicker-next-hover {
    right: 2px;
}

._datepicker .ui-datepicker-prev span,._datepicker .ui-datepicker-next span {
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -8px;
    top: 50%;
    margin-top: -8px;
}

._datepicker .ui-datepicker-title {
    margin: 0 2.3em;
    line-height: 1.8em;
    text-align: center;
    color: #e8e9ea;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.4);
}

._datepicker .ui-datepicker-title select {
    font-size: 1em;
    margin: 1px 0;
}

._datepicker select.ui-datepicker-month-year {
    width: 100%;
}

._datepicker select.ui-datepicker-month,._datepicker select.ui-datepicker-year {
    width: 49%;
}

._datepicker table {
    width: 1px;
    font-size: .9em;
    border-collapse: collapse;
    margin: -1px 0 0 0;
}

._datepicker th {
    padding: .7em 0;
    text-align: center;
    font-weight: bold;
    border: 0;
    font-size: 10px;
    color: #acacac;
    border-bottom: 1px solid #cdcdcd!important;
}

._datepicker td {
    border: 0;
    padding: 0;
    border: 1px solid #cdcdcd;
}

._datepicker td a {
    display: block;
    padding: 0!important;
    width: 30px;
    height: 30px;
    border: 0 none!important;
    line-height: 30px;
    text-align: center;
    font-size: 12px;
    text-decoration: none;
    font-weight: bold!important;
}

._datepicker td a.ui-state-default {
    color: #5d5d5d;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    background: #e8e9ea;
}

._datepicker tr:first-child {
    border: 1px solid #27292b;
}

._datepicker .ui-datepicker-current-day a {
    background: #20a8fe!important;
    filter: none!important;
    color: #FFF!important;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25)!important;
    /* -webkit-box-shadow: 0 0 7px #022a44 inset!important; */
    -moz-box-shadow: 0 0 7px #022a44 inset!important;
    /* box-shadow: 0 0 7px #022a44 inset!important; */
}

._datepicker td.ui-datepicker-unselectable {
    border-color: #ebebeb!important;
    background: #fcfcfc;
    background: -moz-linear-gradient(top,#fcfcfc 0,#efefef 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#fcfcfc),color-stop(100%,#efefef));
    background: -webkit-linear-gradient(top,#fcfcfc 0,#efefef 100%);
    background: -o-linear-gradient(top,#fcfcfc 0,#efefef 100%);
    background: -ms-linear-gradient(top,#fcfcfc 0,#efefef 100%);
    background: linear-gradient(top,#fcfcfc 0,#efefef 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc',endColorstr='#efefef',GradientType=0);
}

._datepicker .ui-datepicker-buttonpane {
    background-image: none;
    margin: .7em 0 0 0;
    padding: 0 .2em;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
}

._datepicker .ui-datepicker-buttonpane button {
    float: right;
    margin: .5em .2em .4em;
    cursor: pointer;
    padding: .2em .6em .3em .6em;
    width: auto;
    overflow: visible;
}

._datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
    float: left;
}

._datepicker .ui-icon-circle-triangle-w {
    background: url(../images/ui-theme/icons_16.png) 0 -128px no-repeat!important; 
}

._datepicker .ui-icon-circle-triangle-e {
    background: url(../images/ui-theme/icons_16.png) 0 -112px no-repeat!important;
}


._datepicker .ui-datepicker-header .ui-state-hover {
    border: 0;
    background: 0;
}

._datepicker.ui-datepicker-multi {
    width: auto;
}

._datepicker .ui-datepicker-multi .ui-datepicker-group {
    float: left;
}

._datepicker .ui-datepicker-multi .ui-datepicker-group table {
    width: 95%;
    margin: 0 auto .4em;
}

._datepicker .ui-datepicker-multi-2 .ui-datepicker-group {
    width: 50%;
}

._datepicker .ui-datepicker-multi-3 .ui-datepicker-group {
    width: 33.3%;
}

._datepicker .ui-datepicker-multi-4 .ui-datepicker-group {
    width: 25%;
}

._datepicker .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header {
    border-left-width: 0;
}

._datepicker .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
    border-left-width: 0;
}

._datepicker .ui-datepicker-multi .ui-datepicker-buttonpane {
    clear: left;
}

._datepicker .ui-datepicker-row-break {
    clear: both;
    width: 100%;
    font-size: 0;
}

.ui-datepicker-rtl {
    direction: rtl;
}

.ui-datepicker-rtl .ui-datepicker-prev {
    right: 2px;
    left: auto;
}

.ui-datepicker-rtl .ui-datepicker-next {
    left: 2px;
    right: auto;
}

.ui-datepicker-rtl .ui-datepicker-prev:hover {
    right: 2px;
    left: auto;
}

.ui-datepicker-rtl .ui-datepicker-next:hover {
    left: 2px;
    right: auto;
}

.ui-datepicker-rtl .ui-datepicker-buttonpane {
    clear: right;
}

.ui-datepicker-rtl .ui-datepicker-buttonpane button {
    float: left;
}

.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current {
    float: right;
}

.ui-datepicker-rtl .ui-datepicker-group {
    float: right;
}

.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header {
    border-right-width: 0;
    border-left-width: 1px;
}

.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
    border-right-width: 0;
    border-left-width: 1px;
}

._datepicker .ui-datepicker-cover {
    display: none;
    display: block;
    position: absolute;
    z-index: -1;
    filter: mask();
    top: -4px;
    left: -4px;
    width: 200px;
    height: 200px;
}


/* Progress bar */
.ui-progressbar {
    height: 10px;
    text-align: left;
    border: 0 none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background: #333;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.35) inset,0 1px 0 rgba(255,255,255,0.15);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.35) inset,0 1px 0 rgba(255,255,255,0.15);
    box-shadow: 0 1px 3px rgba(0,0,0,0.35) inset,0 1px 0 rgba(255,255,255,0.15);
}

.ui-progressbar .ui-progressbar-value {
    margin: -1px;
    height: 100%;
    border: 0 none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.ui-progressbar .ui-progressbar-value {
    background: #27abff;
    background: -moz-linear-gradient(top,#27abff 0,#059eff 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#27abff),color-stop(100%,#059eff));
    background: -webkit-linear-gradient(top,#27abff 0,#059eff 100%);
    background: -o-linear-gradient(top,#27abff 0,#059eff 100%);
    background: -ms-linear-gradient(top,#27abff 0,#059eff 100%);
    background: linear-gradient(top,#27abff 0,#059eff 100%);
}


/* Toggle Switch */
select.ui-toggle-switch {
    display: none!important;
}

.ui-toggle-switch,.ui-toggle-switch .ui-slider,.ui-toggle-switch label {
    display: inline-block;
    *display: inline;
    zoom: 1;
}

.ui-toggle-switch label {
    text-transform: uppercase;
    margin: 0 8px!important;
    font-weight: bold;
    border: 0;
    font-size: .8em!important;
    opacity: .5;
    filter: alpha(opacity=50);
}

.ui-toggle-switch label:first-child {
    margin-left: 0;
}

.ui-toggle-switch label.ui-state-active {
    opacity: 1;
    filter: alpha(opacity=100);
}

.ui-toggle-switch .ui-slider {
    margin: 0 8px;
    border-radius: 2px;
}

.ui-slider {
    position: relative;
    text-align: left;
    background: #838688;
    border: 0;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset;
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset;
    box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset;
    display: inline-block;
    *display: inline!important;
    *zoom: 1;
    border-radius: 2px;
}

.ui-slider .ui-slider-handle {
    position: absolute;
    z-index: 2;
    width: 17px;
    height: 21px;
    cursor: default;
    background: url(../images/ui-theme/slider_handles.png) 0 0 no-repeat;
    outline: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    border: 0;
}

.ui-slider .ui-slider-range {
    position: absolute;
    z-index: 1;
    font-size: .7em;
    display: block;
    border: 0;
    background: #14a4ff;
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset;
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset;
    box-shadow: 0 1px 3px rgba(0,0,0,0.6) inset;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.ui-slider .ui-slider-handle.ui-state-active {
    background-position: -17px 0;
}

.ui-slider-horizontal {
    height: 6px;
}

.ui-slider-horizontal .ui-slider-handle {
    top: -5px;
    margin-left: -.6em;
}

.ui-slider-horizontal .ui-slider-range {
    top: 0;
    height: 100%;
}

.ui-slider-horizontal .ui-slider-range-min {
    left: 0;
}

.ui-slider-horizontal .ui-slider-range-max {
    right: 0;
}

.ui-slider-vertical {
    width: .8em;
    height: 100px;
}

.ui-slider-vertical .ui-slider-handle {
    left: -.3em;
    margin-left: 0;
    margin-bottom: -.6em;
}

.ui-slider-vertical .ui-slider-range {
    left: 0;
    width: 100%;
}

.ui-slider-vertical .ui-slider-range-min {
    bottom: 0;
}

.ui-slider-vertical .ui-slider-range-max {
    top: 0;
}

/* Dialog */
.ui-custom-dialog {
    position: absolute;
    padding: .2em;
    width: 300px;
    overflow: visible;
    border: 0 none;
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.75);
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.75);
    box-shadow: 0 1px 4px rgba(0,0,0,0.75);
}

.ui-custom-dialog .ui-dialog-titlebar {
    position: relative;
    background: transparent!important;
    padding: 0 0 8px 0;
    margin: 20px 20px 5px 20px;
    border: solid #e5e5e5;
    border-width: 0 0 1px 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.ui-custom-dialog .ui-dialog-title {
    float: left;
    margin: .1em 16px .1em 0;
    color: #353536;
    font-size: 20px!important;
}

.ui-custom-dialog .ui-dialog-titlebar-close {
    position: absolute;
    right: -32px;
    top: -32px;
    margin: 0;
    width: 30px;
    height: 30px;
    background: url(../images/ui-theme/modalClose.png) 0 0 no-repeat;
    border: 0!important;
    z-index: 10000;
}
.ui-custom-dialog .ui-dialog-titlebar-close:before {
    display: none
}
.ui-custom-dialog .ui-dialog-titlebar-close span {
    display: none;
}

.ui-custom-dialog .ui-dialog-titlebar-close:hover,.ui-custom-dialog .ui-dialog-titlebar-close:focus {
    padding: 0;
}

.ui-custom-dialog .ui-dialog-content {
    position: relative;
    border: 0;
    padding: 15px 20px 20px 20px;
    background: 0;
    overflow: auto;
    zoom: 1;
}

.ui-custom-dialog .ui-dialog-buttonpane {
    text-align: left;
    border: solid #e5e5e5;
    border-width: 1px 0 0 0;
    background: transparent;
    margin: 20px 20px 10px 20px;
    padding: 10px 0 0 0;
}

.ui-custom-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
    float: right;
}

.ui-custom-dialog .ui-dialog-buttonpane button {
    margin: .5em .4em .5em 0;
    cursor: pointer;
}

.ui-custom-dialog .ui-resizable-se {
    width: 14px;
    height: 14px;
    right: 3px;
    bottom: 3px;
}

.ui-draggable .ui-dialog-titlebar {
    cursor: move;
}

.ui-custom-dialog {
    position: absolute;
    padding: .2em!important;
    border: 0 none!important;
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.75);
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.75);
    box-shadow: 0 1px 4px rgba(0,0,0,0.75);
}

.ui-custom-dialog .ui-dialog-titlebar {
    position: relative;
    background: transparent!important;
    padding: 0 0 8px 0;
    margin: 20px 20px 5px 20px;
    border: solid #e5e5e5;
    border-width: 0 0 1px 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.ui-custom-dialog .ui-dialog-title {
    line-height: 1.3em;
    float: left;
    margin: .1em 16px .1em 0;
    color: #353536;
    font-size: 20px!important;
}

.ui-custom-dialog .ui-dialog-titlebar-close {
    position: absolute;
    right: -4px;
    top: -6px;
    margin: 0;
    width: 32px;
    height: 32px;
    background: 0;
    border: 0!important;
    z-index: 10000;
    box-shadow: none!important;
}

.ui-custom-dialog .ui-dialog-titlebar-close:after {
    content: "\f00d";
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    color: #777;
    font-size: 18px;
    text-shadow: none;
    cursor: pointer;
}

.ui-custom-dialog .ui-dialog-titlebar-close:hover:after {
    color: #27abff;
    margin: 0;
    padding: 0;
    /* left: -10px; */
}

.ui-custom-dialog .ui-dialog-titlebar-close span {
    display: none;
}

.ui-custom-dialog .ui-dialog-titlebar-close:hover,.ui-custom-dialog .ui-dialog-titlebar-close:focus,.ui-custom-dialog .ui-dialog-titlebar-close:active {
    background: none!important;
    box-shadow: none!important;
    border: none!important;
    outline: none;
}

.ui-custom-dialog .ui-dialog-content {
    position: relative;
    border: 0;
    padding: 15px 20px 20px 20px;
    background: 0;
    overflow: auto;
    zoom: 1;
}

.ui-custom-dialog .ui-dialog-buttonpane {
    text-align: left;
    border: solid #e5e5e5;
    border-width: 1px 0 0 0;
    background: transparent;
    margin: 20px 20px 10px 20px;
    padding: 10px 0 0 0;
}

.ui-custom-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
    float: right;
}

.ui-custom-dialog .ui-dialog-buttonpane button {
    margin: .5em .4em .5em 0;
    cursor: pointer;
}

.ui-custom-dialog .ui-resizable-se {
    width: 14px;
    height: 14px;
    right: 3px;
    bottom: 3px;
    background-position: -80px -224px;
}

.ui-draggable .ui-dialog-titlebar {
    cursor: move;
}

.ui-custom-dialog {
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
}

/* Widget */
.ui-custom-dialog.ui-widget-content {
    background: #f6f6f6;
    color: #222;
}

.ui-custom-dialog .ui-widget-header {
    background: #ccc;
    color: #222;
    font-weight: bold;
}

.ui-custom-dialog .ui-widget-header {
    color: #1b1d1f;
    font-size: 14px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    overflow: hidden;
}

.ui-custom-dialog.ui-widget-header a {
    color: #222;
}
.ui-helper-clearfix {
    display: block;
}