.ui-dialog {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    padding: .2em;
    outline: 0;
    border: 1px solid #ced4da;
    background: #fff;
    z-index: 1003 !important;
}

.ui-dialog .ui-dialog-titlebar {
    padding: .4em 1em;
    position: relative;
}

.ui-dialog .ui-dialog-title {
    margin: .1em 0;
    white-space: nowrap;
    width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui-dialog .ui-dialog-content {
    position: relative;
    border: 0;
    padding: .5em 1em;
    background: none;
    overflow: auto;
}

.ui-dialog .ui-dialog-buttonpane {
    text-align: left;
    border-width: 1px 0 0 0;
    background-image: none;
    margin-top: .5em;
    padding-top: 0.2em;
}

.ui-widget-header .ui-button.ui-state-hover {
    border: 1px solid #999999 !important;
    background: #dadada !important;
}

.ui-widget-header .ui-button .ui-button-text {
    display: block;
    line-height: normal;
    padding: 0.4em;
    text-indent: -9999999px;
}

.ui-icon-closethick {
    background-position: -96px -128px;
}

.ui-dialog-titlebar-close .ui-icon {
    width: 16px;
    height: 16px;
    position: absolute;
    top: 50%;
    margin-top: -8px;
    display: block;
    text-indent: -99999px;
    overflow: hidden;
    background-repeat: no-repeat;
}

.ui-widget-header .ui-state-default .ui-icon {
    background-image: url('/images/admin/ui-icons_888888_256x240.png');
}

.ui-widget-header:not(.ui-datepicker-header) .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {
    background-image: url('/images/admin/ui-icons_454545_256x240.png');
}

.ui-dialog .ui-dialog-titlebar-close {
    position: absolute;
    right: 0.3em;
    top: 50%;
    width: 19px;
    margin: -10px 0 0 0;
    height: 19px;
    border: 1px solid #d3d3d3;
    background: #e6e6e6 url('/images/admin/ui-icons_888888_256x240.png');
    background-position: -96px -128px;
    transition: all 0.3s ease;
}

.ui-dialog .ui-dialog-titlebar-close:hover {
    background-image: url('/images/admin/ui-icons_454545_256x240.png');
    border: 1px solid #999999 !important;
}

.ui-helper-hidden-accessible {
    display: none;
}

/*.ui-dialog .ui-dialog-titlebar-close {*/
/*    position: absolute;*/
/*    right: .3em;*/
/*    top: 50%;*/
/*    width: 20px;*/
/*    margin: -10px 0 0 0;*/
/*    padding: 1px;*/
/*    height: 20px;*/
/*    border: 1px solid #d3d3d3;*/
/*    background: #e6e6e6 url("/images/admin/ui-bg_glass_75_e6e6e6_1x400.png") 50% 50% repeat-x;*/
/*    font-weight: normal;*/
/*    color: #555555;*/
/*}*/

.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
    float: right;
    padding-right: 10px;
}

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

.ui-dialog .ui-resizable-se {
    width: 12px;
    height: 12px;
    right: -5px;
    bottom: -5px;
    background-position: 16px 16px;
}

.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl {
    border-top-left-radius: 4px;
}

.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr {
    border-top-right-radius: 4px;
}

.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl {
    border-bottom-left-radius: 4px;
}

.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br {
    border-bottom-right-radius: 4px;
}

.ui-dialog.ui-widget-content {
    border: 1px solid #aaaaaa;
    background: #ffffff url("/images/admin/ui-bg_flat_75_ffffff_40x100.png") 50% 50% repeat-x;
    color: #222222;
}

.ui-dialog.ui-widget-content a {
    color: #222222;
}

.ui-front {
    z-index: 100;
}

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

.ui-dialog-titlebar.ui-widget-header {
    border: 1px solid #aaaaaa;
    background: #cccccc url("/images/admin/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x;
    color: #222222;
    font-weight: bold
}

.ui-widget-header a {
    color: #222222
}

#loading {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.3);
}

body {
    overflow: scroll;
}

body.ajax-loading #loading {
    opacity: 1;
    visibility: visible;
    background: rgba(51, 64, 83, 0.3);
}

#loading:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    width: 400px;
    height: 200px;
    margin: -100px -200px;
    background: rgba(255, 255, 255, 0.9) url('/images/loading.svg') no-repeat scroll 50% 50%;
    background-size: 100px auto;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
}

body.ajax-loading #loading:before {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

#loading, #loading:before {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

body.ajax-loading #loading {
    -webkit-transition: all 0.3s ease 0.1s;
    -moz-transition: all 0.3s ease 0.1s;
    -ms-transition: all 0.3s ease 0.1s;
    -o-transition: all 0.3s ease 0.1s;
    transition: all 0.3s ease 0.1s;
}

body.ajax-loading #loading:before {
    -webkit-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s;
    -moz-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s;
    -ms-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s;
    -o-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s;
}

.ajax-fc-container {
    position: relative;
}

div#ajax-fc-content {
    width: 316px;
    height: 116px;
    background: url('/images/admin/captcha/bg-content-div.png') no-repeat;
}

div#ajax-fc-content div#ajax-fc-left {
    position: absolute;
    left: 0;
    top: 0;
}

div#ajax-fc-content div#ajax-fc-right {
    width: 98px;
    height: 150px;
    float: right;
}

p#ajax-fc-task {
    line-height: 16px;
    margin: 0;
    padding: 11px 0 0 11px;
    font-size: 10px;
    font-family: Verdana, Tahoma, Arial, sans-serif;
    color: #6c6c6c;
}

p#ajax-fc-task span {
    color: #f00;
    font-weight: bold;
}

ul#ajax-fc-task {
    width: 190px;
    height: 18px;
    list-style-type: none;
    background: url('/images/admin/captcha/bg-items.png') no-repeat -4px 0;
    margin: 6px 0 0 10px;
    padding: 5px 0 0 10px;
}

ul#ajax-fc-task li {
    float: left;
    margin-right: 1px;
    margin-top: 6px;
}

p#ajax-fc-circle {
    margin: 28px 0 0 5px;
    width: 85px;
    height: 69px;
    background: url('/images/admin/captcha/circle.png') no-repeat;
}

.ajax-fc-highlighted {
    cursor: pointer;
    z-index: 102;
}

@media only screen and (max-width: 400px) {
    div#ajax-fc-content {
        height: 116px;
        background-size: 100%;
        width: auto;
    }

    div#ajax-fc-right {
        right: -20px;
        position: absolute;
        bottom: 3px;
        top: 20px;
        width: auto !important;
    }

    p#ajax-fc-circle {
        width: 85px;
        height: 59px;
        background-size: 70%;
        margin: 0;
    }

    ul#ajax-fc-task li {
        margin-right: 3px;
        margin-top: 3px;
    }

    ul#ajax-fc-task img {
        width: 25px;
    }
}

.table-responsive {
    overflow-x: auto;
}

ul::-webkit-scrollbar-track,
._input::-webkit-scrollbar-track,
html::-webkit-scrollbar-track,
.table-responsive::-webkit-scrollbar-track {
    background-color: #ced4da; /* Color background scroll */
}

ul::-webkit-scrollbar-thumb,
._input::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb,
.table-responsive::-webkit-scrollbar-thumb {
    background-color: #000; /* Color scroll */
    border-radius: 10px;
}

ul::-webkit-scrollbar,
._input::-webkit-scrollbar,
html::-webkit-scrollbar,
.table-responsive::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}