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; 
}
/**
 *  modal css
 */
.modal-example-content {
    width: 500px;
    height: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    background-color: #FFF;
    /*border: 1px solid rgba(0, 0, 0, 0.2);*/
    outline: 0 none;
}
.modal-example-header {
    /*border-bottom: 1px solid #E5E5E5;*/
    background-color: #E13511;
    color: #FCDDD6;
}
.modal-example-header h2 {
    margin: 0px;
    padding: 20px;
    font-size: 14px;
    color: #FCDDD6;
}
.modal-example-header a.modal-example-close {
    float: right;
    display: block;
}

.modal-example-body p,
.modal-example-body h3 {
    margin: 0;
    padding-top: 5px;
    text-align: center;
    font-size: 13px;
    line-height: 25px;
    color: #000000;
}
.modal-example-body h3 a {
    font-size: 13px;
    line-height: 25px;
}
.modal-example-body a {
    color: #e10000;
    text-decoration: underline;
}
.modal-example-body h3.error {
    color: #e10000;
}
.modal-example-body {
    padding: 20px;
    text-align: left;
}
.modal-example-close {
    font-size: 27px;
    font-weight: bold;
}
a.modal-example-close {
    text-decoration: none;
    color: #FCDDD6; /*#E13511*/
}
a.modal-example-close:hover {
    color: #ffcc33;
    text-decoration: none;
}
.modal-loader {
    margin: auto;
    text-align: center;
    height: 100px;
    overflow: hidden;
}
.modal-loader img {
    position: relative;
    top: -100px;
}
.contract-box-messages {
    overflow: auto;
}
.message-flash-absolute {
    position: absolute;
    left: 0px;
    top: 35px;
    width: 100%;
}
