.form-actions {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 100;
    padding: 10px;
    background: #ffffff;
    box-shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2)
}

.form-actions__group {
    float: right;
}

.form-title {
    width: calc(100% + 40px);
    clear: both;
    float: left;
    font-size: 14px;
    font-weight: 400;
    margin: 0 -20px 15px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, .125);
    font-weight: bold;
}

.form-loading {
    position: absolute;
    width: 38px;
    height: 38px;
    top: 0;
    right: 10px;
    padding: 10px;
}

/* form checkbox */
.form-group-checkbox {
    width: 100%;
    float: left;
    clear: both;
    background: #9a9c9e;
    padding: 5px 8px 0;
    border-radius: 3px;
    max-height: 325px;
    overflow: auto;
}

.form-group-checkbox .form-checkbox {
    padding: 0;
    margin-bottom: 8px;
}

.form-group-checkbox .form-checkbox label {
    color: #ffffff;
    font-weight: normal;
    font-size: 13px;
    margin-bottom: 0;
    cursor: pointer;
}

.form-checkbox {
    width: 100%;
    float: left;
    padding: 5px 0;
}

.btn-checkbox {
    -webkit-appearance: none;
    background-color: #ced4da;
    padding: 0px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    vertical-align: middle;
    border-radius: 5px;
    outline: none;
}

.btn-checkbox:checked {
    background: url('../img/btn-checkbox.png');
    background-size: 20px 20px;
    color: #e9ecee;
}

.form-radio {
    width: 100%;
    float: left;
    padding: 10px 0 8px;
}

.form-radio__group {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}

.form-radio label {
    line-height: 18px;
    float: left;
    margin-bottom: 0;
    cursor: pointer;
    font-weight: normal !important;
}

.btn-radio {
    -webkit-appearance: none;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    padding: 0px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 5px;
    border-radius: 18px;
    float: left;
}

.btn-radio:checked {
    background: url('../img/icon-radio-checked.png');
    background-size: 18px 18px;
    color: #e9ecee;
    border: none;
}

@media only screen and (max-width: 992px) {
    .form-horizontal label.text-right {
        text-align: left !important;
    }
}

/* tá»± Ä‘á»™ng táº¡o máº­t kháº©u */
.strength {
    width: 100%;
    float: left;
    clear: both;
    padding: 3px 0;
}

.strength-result {
    width: 100%;
    float: left;
    clear: both;
    font-size: 10px;
    display: block;
    transition: 1s;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 3px;
}

.strength-box {
    width: 100%;
    float: left;
    clear: both;
}

.strength-box__list {
    float: left;
    margin-right: 4px;
    position: relative;
    border: 1px solid silver;
    width: 20px;
    height: 8px;
}

.strength1 .strength-box__list:nth-child(1) {
    background: #424f63;
}

.strength2 .strength-box__list:nth-child(1),
.strength2 .strength-box__list:nth-child(2) {
    background: #424f63;
}

.strength3 .strength-box__list:nth-child(1),
.strength3 .strength-box__list:nth-child(2),
.strength3 .strength-box__list:nth-child(3) {
    background: #424f63;
}

.strength4 .strength-box__list:nth-child(1),
.strength4 .strength-box__list:nth-child(2),
.strength4 .strength-box__list:nth-child(3),
.strength4 .strength-box__list:nth-child(4) {
    background: #424f63;
}

.strength5 .strength-box__list {
    background: #424f63;
}

/* tags */
.tags {}

.tags-item {
    float: left;
    margin: 10px 10px 0 0;
}

.tags-item__text {
    float: left;
    background: #ced4da;
    padding: 3px 10px;
    font-size: 13px;
    line-height: 22px;
}

.tags-item__remove {
    float: left;
    background: #ff0000;
    color: #ffffff;
    padding: 3px 8px;
    font-size: 13px;
    cursor: pointer;
    line-height: 22px;
}

/* suggest */
.suggest {
    position: relative;
}

.suggest .suggest-result {
    position: absolute;
    top: 37px;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0 7px;
    display: none;
    z-index: 1000;
}

.suggest .suggest-result ul {
    border: 1px solid #ced4da;
    background: #ffffff;
    list-style: none;
    margin-bottom: 0;
    padding: 0;
    border-radius: 5px;
    max-height: calc(35px * 10);
    box-shadow: 5px 6px 10px 0px rgba(0, 0, 0, .2);
    overflow: auto;
}

.suggest .suggest-result ul li {
    padding: 5px;
    cursor: pointer;
    border-bottom: 1px solid #ced4da;
}

.suggest .suggest-result ul li:hover {
    background: #ced4da;
}

/* áº£nh */
.image-box {
    width: 100%;
    float: left;
    clear: both;
}

.image-box__btn {
    clear: both;
    float: left;
}

.image-box__content {
    width: 100%;
    float: left;
    clear: both;
    margin: 10px 0 5px 0;
}

.image-box__content .item {
    width: 100px;
    height: 100px;
    float: left;
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    border: 1px solid #cccccc;
    margin-right: 5px;
    margin-bottom: 5px;
    background: #f4f6f9;
    cursor: pointer;
}

.image-box__content .item img {
    max-height: 100%;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.image-box__content .item .item-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 0, 0, 0.6);
    color: #ffffff;
    margin-bottom: 0;
    font-size: 10px;
    padding: 3px;
    line-height: 12px;
    max-height: 32px;
    overflow: hidden;
}

.image-box__content .item .item-delete {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    background: rgba(255, 0, 0, 0.5);
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    color: #ffffff;
    font-size: 10px;
}

/* media */
#media {}

#media .close {
    position: absolute;
    right: -15px;
    top: -15px;
    z-index: 1;
    background: #ff0000;
    opacity: 1;
    border-radius: 30px;
}

#media .close i {
    width: 30px;
    height: 30px;
    color: #ffffff;
    text-align: center;
    line-height: 30px;
    font-size: 16px;
    cursor: pointer;
}

#media .modal-dialog {
    max-width: 90%;
}

#media .modal-content {}

#media .modal-body {
    padding: 0;
    width: 100%;
    height: calc(100vh - 60px);
}

#media iframe {
    width: 100%;
    height: 100%;
    float: left;
}

@media only screen and (max-width: 575px) {
    #media .modal-dialog {
        max-width: 100%;
        margin: 30px 8px 30px;
    }

    #media .modal-body {
        height: calc(100vh - 60px);
    }
}

/* role */
.role {}

.role-item {
    width: 100%;
    float: left;
    background: #ececec;
    margin-bottom: 10px;
}

.role-item__name {
    width: 100%;
    float: left;
}

.role-item__name-text {
    width: 100%;
    float: left;
    background: #C1C1C1;
    color: #ffffff;
    padding: 5px 10px;
    margin-bottom: 0;
    font-weight: bold;
    cursor: pointer;
}

.role-item__permission {
    width: 100%;
    float: left;
    padding: 10px;
}

.role-item__permission .item {
    float: left;
    margin-right: 20px;
}

.role-item__permission .item .btn-checkbox {
    float: left;
    margin-right: 7px;
}

.role-item__permission .item label {
    font-weight: normal;
    font-size: 14px;
    margin-bottom: 0;
    float: left;
    line-height: 20px;
    cursor: pointer;
}

/* logs */
.logs {
    padding: 10px;
}

.logs-info {
    padding: 0 0 10px;
}

.logs-info__table {
    margin-bottom: 5px;
}

.logs-info__table td,
.logs-info__table th {
    padding: 8px;
}

.logs-info__table td:first-child {
    width: 250px;
    font-weight: bold;
}

.logs-table {}

.logs-table td,
.logs-table th {
    padding: 8px;
}

.logs-table td:first-child {
    width: 250px;
    font-weight: bold;
}

/* table-form */
.table-form {
    width: 100%;
    float: left;
    clear: both;
    overflow: auto;
}

.table-form * {
    outline: none !important;
}

.table-form__table {
    float: left;
    width: 100%;
    border-spacing: 0px;
    border-collapse: collapse;
}

.table-form__control {
    width: 100%;
    float: left;
    height: 35px;
    border: none;
    padding: 5px;
    vertical-align: top;
    font-size: 14px;
}

.table-form__control {
    border-bottom: 1px solid #cccccc;
}

.table-form__control:last-child {}

.custom-image {
    width: 105px;
    float: left;
}

.custom-image img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    float: left;
    background: #ffe6e6;
}

.custom-image .add-image,
.custom-image .remove-image {
    width: 35px;
    height: 35px;
    float: left;
    border: none;
}

.custom-image .add-image {
    background: #007bff;
    color: #ffffff;
}

.custom-image .remove-image {
    background: #ff0000;
    color: #ffffff;
}

.table-form__table thead td {}

.table-form__table thead td p {
    margin-bottom: 0;
    padding: 0 10px;
    line-height: 35px;
}

.table-form__table thead td .add {
    border: none;
    width: 100%;
    height: 35px;
    background: #007bff;
    color: #ffffff;
}

.table-form__table tbody {
    position: relative;
}

.table-form__table tr {
    width: 100%;
    background: #ffffff;
}

.table-form__table td {
    vertical-align: top;
    border: 1px solid #cccccc;
    padding: 0;
}

.table-form__table-image {
    width: 105px;
}

.table-form__table-text {
    min-width: 200px;
}

.table-form__table-text .table-form__control {
    vertical-align: middle !important;
}

.table-form__table-textarea {
    min-width: 200px;
}

.table-form__table-textarea .table-form__control {
    height: 70px;
}

.table-form__table-custom {
    min-width: 200px;
}

.table-form__table-custom textarea {
    height: 70px;
}

.table-form__table-action {
    width: 35px;
    vertical-align: middle !important;
}

.table-form__table-action button,
.table-form__table-action span {
    width: 35px;
    height: 35px;
    float: left;
    clear: both;
    border: none;
    font-size: 12px;
    text-align: center;
    line-height: 35px;
}

.table-form .ui-sortable-helper {
    width: 100% !important;
    box-shadow: 0 0 5px 3px rgba(0, 0, 0, .2);
    display: table;
}

.table-form .ui-sortable-helper td {
    display: table-cell;
}

.table-form .ui-sortable-placeholder {
    border: 1px dashed #cccccc;
    height: 70px;
    width: 100%;
    visibility: visible !important;
}

.table-form .ui-sortable-placeholder td {
    border: none;
}

.error {
    color: red;
}

.side-bar-toggle {
    cursor: pointer;
    display: none;
    @media (max-width: 992px) {
        display: block;
    }
}
