label.label-category-select-normal {
    margin-bottom: 0px;
    font-weight: normal;
    width: 100%;
}

#yiifcategory-parent option {
    font-size: 120%;
}

.level1 {
    background-color: #fd7b7b;
}
.level2 {
    background-color: #fde77b;
}
.level3 {
    background-color: #a1fd7b;
}
.level4 {
    background-color: #7bf1fd;
}
.level5 {
    background-color: #7b8bfd;
}
.level6 {
    background-color: #dd7bfd;
}

/*** INPUT ACTION ROW ***/
.input-action-row {
    display: flex;
    align-items: flex-end;
    width: 100%;
    max-width: 769px;
}

.input-action-row.isHtmlEditor {
    align-items: flex-start;
}

.input-action-row.isHtmlEditor .copyfield {
    margin-top: 25px;
}

.input-action-row .form-group {
    width: 100%;
}

.input-action-row:not(.isHtmlEditor) .copyfield {
    margin-bottom: 25px;
}

.validate-error .help-block, .validate-error .control-label, .validate-error .radio,
.validate-error .checkbox, .validate-error .radio-inline, .validate-error .checkbox-inline,
.validate-error.radio label, .validate-error.checkbox label, .validate-error.radio-inline label,
.validate-error.checkbox-inline label, .validate-error.checkbox-inline label {
    color: #a94442;
}
.validate-error .form-control {
    border-color: #a94442;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
}
/*** INPUT ACTION ROW ***/

/*** MODAL WINDOW ***/
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(255,255,255); /* Fallback color */
    background-color: rgba(255,255,255,0.9); /* Black w/ opacity */
}
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 1280px;
    height: 740px;
}
.modal-content p {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
    text-transform: none;
}
.modal-close {
    color: #222f3e;
    float: right;
    font-size: 28px;
    font-weight: bold;
    opacity: 0.5;
    position: relative;
    top: -10px;
}
.modal-close:hover, .modal-close:focus {
    color: #ff0000;
    text-decoration: none;
    cursor: pointer;
}
/*** MODAL WINDOW ***/


.mt-0 {
    margin-top: 0;
}

.mr-1 {
    margin-right: 5px;
}

@media screen and (min-width: 768px) {
    table.table.detail-view {
        table-layout: fixed;
    }
    table.table.detail-view th {
        width: 250px;
    }
}

.input-group.date {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.input-group.date .input-group-addon {
    width: auto;
}

[class^="yiif_class_enum"], [class^="yiif_class_yn"] {
    display: inline-block;
    padding: 2px 4px;
    color: #fff;
    background: #999999;
    border-radius: 3px;
    font-weight: bold;
    line-height: 14px;
    white-space: nowrap;
}

.yiif_class_yn_yes, .yiif_class_enum_green {
    background: #468847;
}

.yiif_class_yn_no, .yiif_class_enum_red {
    background: #b94a48;
}
.yiif_class_enum_none {
    background: #999999;
}
.yiif_class_enum_blue {
    background: #3a87ad;
} 
.yiif_class_enum_orange {
    background: #f89406; 
}
.yiif_class_enum_yelow {
    background: #f89406; 
}
.yiif_class_enum_black {
    background: #000; 
}
