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;
}
/*** 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 ***/
/*** Publication  ***/
.publication-name-delete {
    cursor: pointer;
    padding: 0px 5px 0px 5px;
    color: red;
}
.add-new-item {
    text-align: right;
}
.publication-files {
    line-height: 25px;
    text-align: center;
}
.publication-files span {
    float: left;
    margin-right: 5px;
}
/*** Publication authors ***/
.author-box {
    background-color: #eee;
    padding: 10px;
}
.author-title {
    font-weight: bold;
}
.author-title img {
    position: relative;
    top: -5px;
    left: 10px;
}
.author-name-box {
    padding: 10px 0px 10px 10px;
    border: 1px solid #333333;
    margin: 3px;
    line-height: 50px;
}
/*** Publication articles ***/
.article-link-list {
    padding: 10px 0px 10px 10px;
    border: 1px solid #333333;
    margin: 3px;
    width: 50%;
}
/***            ***/

/*** Gallery photos grid ***/

.gallery-grid {
    position: relative;
}

.gallery-grid::after {
    content: "";
    display: block;
    clear: both;
}

.gallery-grid-item {
    cursor: move;
    width: calc(25% - 15px);
    float: left;
    padding:15px;
    border-width: 2px;
    margin-right: 15px;
    margin-bottom: 15px;
    min-width: 180px; /* width of image + card padding */
}

.gallery-grid-item-placeholder {
    width: calc(25% - 15px);
    border: 2px dotted #000000;
    pointer-events: none;
    float: left;
    padding:15px;
    margin-right: 15px;
    margin-bottom: 15px;
    min-width: 180px; /* width of image + card padding */
}

.gallery-grid-item img {
    width: 150px;
    height: 150px;
}

#modalEditImageName .modal-content {
    width: auto;
    height: auto;
}

#modalEditImageName.modal {
    z-index: 1050;
}
/***                     ***/