.SelectImages {
    background: rgba(0, 0, 0, 0.92);
    z-index: 1;
    position: absolute !important;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

#create-new-document.ui.form .field > label {
    color: #dddddd;
}

#create-new-document .section.one {
    color: #dddddd;
    line-height: 1;
}

.SelectImages .section.one {
    width: 50%;
    background: #464646;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.SelectImages .section.two {
    position: relative;
    width: 50%;
    flex-shrink: 1;
    /*overflow-y: auto;*/
}

.list_pending_images .each-directory {
    /*display: none;*/
    height: 100%;
    flex-shrink: 1;
}

/*.list_pending_images .each-directory.active {*/
/*    display: block;*/
/*}*/

.list_pending_images {
    height: 100%;
    overflow: auto;
}

.list_pending_images .each {
    transition: opacity 0.5s;
    border: 4px solid #FFF;
    border-radius: 5px;
    margin: 0.5rem 1% 0 0;
    position: relative;
    overflow: hidden;
    width: 32%;
    background: rgba(255, 255, 255, 0.8);
    height: 280px;
}

.list_pending_images .each:hover,
.list_pending_images .each.active {
    opacity: 1;
    /*border-color: cornflowerblue;*/
    cursor: pointer;
}

.list_pending_images .each.over-target {
    border-color: cornflowerblue;
}

.list_pending_images .each .check.circle {
    position: absolute;
    right: 0.3rem;
    top: 1rem;
    opacity: 0.5;
    font-size: 2em;
    color: #323232;
}

.list_pending_images .each .check.circle:hover {
    opacity: 1;
}

.list_pending_images .each .trash.icon {
    position: absolute;
    left: 0.45rem;
    bottom: 0.55rem;
    opacity: 0.4;
    font-size: 1.8em;
    color: #000;
}

.list_pending_images .each .trash.icon:hover {
    opacity: 0.6;
}

.list_pending_images .each.selected .check.circle {
    color: green;
    opacity: 1;
}

.list_pending_images .each .index {
    position: absolute;
    bottom: 1rem;
    opacity: 0.4;
}

.list_pending_images .control {
    margin-top: 1rem;
    font-size: 1.3rem;
}

.list_pending_images .button-text {
    color: #FFF;
    line-height: 1;
    cursor: pointer;
    opacity: 0.9;
}

.list_pending_images .button-text:hover {
    opacity: 1;
}

.list_pending_images .button-text.active {
    color: green;
}

.list_pending_images .list {
    overflow-y: auto;
    position: relative;
    height: 100%;
    flex-shrink: 1;
    margin-top: 1rem;
    /*margin-bottom: 2rem;*/
}

.list_pending_images .group {
    width: 100%;
    color: #dddddd;
    margin-top: 2rem;
    line-height: 1;
}

.list_pending_images .group .info {
    font-size: 2rem;
    padding-right: 1.5rem;
}

.list_pending_images .group .group-list {
    margin-top: 1rem;
}

.PreviewImage > .loading,
.air-loading {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    background: #9292921f;
    z-index: 100;
}

.PreviewImage.loading > .loading,
.air-loading.loading {
    display: flex;
}

.PreviewImage .control {
    color: white;
    width: 100%;
}

.PreviewImage .control i {
    margin: 0;
    font-size: 1.3em;
}

.PreviewImage .control > .button {
    cursor: pointer;
    opacity: 0.9;
    width: 40px;
}

.PreviewImage .control .button.icon {
    cursor: pointer;
    opacity: 0.9;
    width: initial;
}

.PreviewImage .control .button:hover {
    opacity: 1;
}

.PreviewImage .current_index {
    margin: 0 2rem;
    font-size: 1.3em;
}

.PreviewImage .index-image {
    margin: 0 1rem;
    font-size: 1.3rem;
}

.PreviewImage .prev.button,
.PreviewImage .next.button {
    font-size: 1.3rem;
    line-height: 1;
}

.preview_image_header {
    position: relative;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.5);
}

.preview_image {
    margin: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    padding: 0;
}

.preview_image > div {
    pointer-events: none;
    -webkit-transform-origin: left top;
    -webkit-transform: translateZ(0);
    -moz-transform-origin: left top;
    -moz-transform: translateZ(0);
    -ms-transform-origin: left top;
    -ms-transform: translateZ(0);
    -o-transform-origin: left top;
    -o-transform: translateZ(0);
    transform-origin: left top;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    width: 100%;
}

.preview_image canvas {
    /*width: 100%;*/
}

.preview_image canvas.drawing {
    pointer-events: auto;
}

.preview_image img {
    /*max-width: 90%;*/
    height: auto;
}

#canvas_drawing {
    position: absolute;
    top: 0;
    left: 0;
}

.drawing-board-controls {
    display: none !important;
}

.drawing-board-controls + .drawing-board-canvas-wrapper {
    margin: 0 !important;
    border: none;
}


.dropdown-from-icon {
    width: 0;
    position: absolute;
    padding: 0;
    height: 1px;
    min-height: 0;
    background: #FFF;
    top: 69%;
    left: -1px;
}

.document_list .each {
    width: 24%;
    height: 230px;
    margin: 0 1% 0.5rem 0;
    border: 1px solid #ccc;
    border-radius: 3px;
    overflow: hidden;
    background: #f5f5f5;
}

.document_list .each:hover {
    border: 1px solid #9a9a9a;
    cursor: pointer;
}

.Document .content {
    background: #FFF;
}

.manage_form {
    height: 100%;
}

/* TABLE */
div.ui.table.Table_root.theme1 {
    margin-top: 0.5em;
}

.Table_root.theme1 {
    border-radius: 0 !important;
}

.Table_root.theme1 .thead {
    background: #f4f4f5;
    color: rgb(120, 122, 125);
    font-size: 0.9em;
    font-weight: 100;
}

.Table_root.theme1 .thead .th {
    padding: 7px 0.8em !important;
}

.Table_root.theme1 .thead .th:first-child {
    padding-left: 14px !important;
    padding-right: 1.4em !important;
}

.Table_root.theme1 .th:last-child {
    border-right: 0 !important;
}

.Table_root.theme1 .th,
.Table_root.theme1 .td {
    border-right: 1px solid rgb(226, 230, 232);
    padding: 10px 10px 8px 10px;
}

.Table_root.theme1.td-top-xs .th,
.Table_root.theme1.td-top-xs .td {
    justify-content: flex-start !important;
}

.Table_root.theme1 .td:first-child {
    /*padding-left: 14px !important;*/
    padding: 10px 10px 8px 14px !important;
}

.Table_root.theme1 .tr {
    /*border-bottom: 1px solid rgba(34, 36, 38, .1);*/
}

.Table_root.theme1 .td:last-child {
    border-right: none;
}

.Table_root.theme1 .tr .button.remove {
    transition: opacity 0.3s;
    opacity: 0;
}

.Table_root.theme1 .tr:hover .button.remove {
    opacity: 1;
}

/* TABLE */

.child-image {
    position: absolute;
    left: 1rem;
    bottom: 3.5rem;
}

.ui.green.label.child-image-each:hover {
    background-color: red !important;
    border-color: red !important;
}

.each-document-chart-of-account:nth-child(even) {
    background: #f7f7f7;
}

.each-document-chart-of-account .add-chart-of-account-below-button {
	display: none;
}

.each-document-chart-of-account:hover .add-chart-of-account-below-button {
	display: flex;
}

.add-chart-of-account-below-button:hover {
	display: flex !important;
}

.text-color-red {
    color: red;
}
