.fa {
    margin-right: 2px;
}

.mb-10 {
    margin-bottom: 10px;
}

.p-10 {
    padding: 10px;
}

.danger {
    color: darkred !important;
}

.center {
    text-align: center;
}

.cb, .clear {
    clear: both;
}

.errors, .error {
    color: red;
}

/* hack? */
body.modal-open {
    padding-right: 0 !important;
}

label .icheckbox_minimal-blue, label .iradio_minimal-blue {
    vertical-align: bottom;
    margin-right: 7px;
}

label + .icheckbox_minimal-blue, label + .iradio_minimal-blue {
    margin-left: 10px;
}

.icheckbox_minimal-blue + label, .iradio_minimal-blue + label {
    margin-left: 5px;
    margin-bottom: 0;
    vertical-align: middle;
}

.icheckbox_minimal-blue.focus {
    background-position: -20px 0;
}

.icheckbox_minimal-blue.focus.checked {
    background-position: -40px 0;
}

label:hover {
    cursor: pointer;
}

th.action,
td.action {
    width: 15px;
}

td.check {
    width: 18px;
}

/* flash messages */
.flash-message {
    border-radius: 3px 3px 3px 3px;
    overflow: hidden;
    padding: 10px 15px 10px 40px;
    margin-bottom: 10px;
    font-weight: bold;
}

.flash-message p {
    float: left;
    padding: 0;
    margin: 0;
    width: 93%;
}

.flash-message.error {
    background: url("/cms/img/error.gif") no-repeat scroll 12px 12px #FFECCE;
    border: 1px solid #E9C59B;
    color: #E3302C;
}

.flash-message.success {
    background: url("/cms/img/success.gif") no-repeat scroll 12px 12px #EDFBD8;
    border: 1px solid #BFDE84;
    color: #508600;
}

.flash-message.info {
    background: url("/cms/img/info.gif") no-repeat scroll 12px 12px #ECF9FF;
    border: 1px solid #BBDBE0;
    color: #0888C3;
}

.flash-message.info a {
    color: #0888C3;
}

.flash-message.warning {
    background: url("/cms/img/warning.gif") no-repeat scroll 12px 12px #FEFDE2;
    border: 1px solid #E5E181;
    color: #666666;
}

.flash-message .close {
    background: transparent url("/cms/img/close.png") no-repeat scroll 0 0;
    cursor: pointer;
    display: block;
    float: right;
    height: 16px;
    left: auto;
    margin-top: 2px;
    opacity: 0.5;
    position: relative;
    top: auto;
    width: 16px;
}

.flash-message .close:hover {
    opacity: 1;
}

.flash-message ul {
    padding-left: 0;
}

.flash-message ul li {
    list-style: none;
}

/* flash messages end */

#ManagerTable .user-image {
    max-width: 50px;
    max-height: 50px;
}

/* Editor styles */
input.file-upload-input {
    display: none;
}

.input-group.date .fa-calendar {
    cursor: pointer;
}

.product-box {
    /*border: 1px solid black;*/
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin-bottom: 30px;
}

td.handle-wrap {
    width: 32px;
}

.handle {
    cursor: pointer;
}

.sortable-table .ui-sortable-helper {
    display: table;
    background: white;
}

.sortable-table .placeholder {
    background: #ecf0f5
}

form img {
    max-width: 100%;
}

.cursor-pointer {
    cursor: pointer;
}

ul.pagination {
    margin: 0px;
}

label.checkbox-label {
    margin-bottom: 0px;
}

.visible-inline {
    display: inline !important;
}

.color-block {
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: inherit;
    margin-right: 10px;
}

.product-image {
    position: relative;
}

.product-image .btn.remove-image {
    position: absolute;
    top: 8px;
    left: 8px;
    opacity: 0.5;
    transition: opacity .2s ease-in-out;
}

.product-image .btn.remove-image:hover {
    opacity: 1;
}

.removeable-image {
    position: relative;
}

.removeable-image .btn.remove-image {
    position: absolute;
    top: 8px;
    left: 8px;
    opacity: 0.5;
    transition: opacity .2s ease-in-out;
}

.removeable-image .btn.remove-image:hover {
    opacity: 1;
}

.ui-autocomplete.ui-menu {
    max-height: 500px;
    overflow-y: auto;
}

.ui-autocomplete.ui-menu .ui-state-active {
    margin: 0;
}

.content-header {
    padding: 15px;
}

.content-header + .content {
    margin-top: -15px;
}

.content-header > .breadcrumb {
    position: relative;
    top:0;
    right:0;
}

.nav-tabs-custom > .nav-tabs > li.has-error:not(.active) {
    border-top-color: #dd4b39;
}

@media (min-width: 992px) {
    .modal-xl {
        width: 1440px;
        max-width: 100%;
        max-height: 100vh;
    }
}
