@charset "UTF-8";

@font-face {
    font-family: 'SCDream';
    font-style: normal;
    font-weight: 100;
    src: url(/fonts/SCore_Dream/SCDream4.otf) format('opentype');
}

.window table,
th,
td {
    font-family: "SCDream";
    font-size: 13px;
    font-weight: normal;
}

.window {
    border: 1px solid #1C5A7F !important;
}

body:has(#setting-container) .window {
    border: 1px solid #0077BE !important;
}

.jqx-window-modal {
    width: 100% !important;
    height: 100% !important;
}

.jqx-window-content {
    overflow: hidden;
}

#window-daily-security-report .jqx-window-content {
    overflow: auto;
}

.window .jqx-window-header {
    padding: 12px 10px 12px 20px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #1C5A7F;
    color: #f4f5f6;
}

body:has(#setting-container) .window .jqx-window-header {
    background: #0077BE;
}

.window .jqx-window-header>div:first-child {
    font-size: 14px;
}

.window .jqx-window-header>div:first-child>i {
    margin-right: 10px;
}

.jqx-window .grid-area {
    margin: 0;
}

.window-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.window-layout .window-content {
    background-color: #fff;
    width: 100%;
    height: calc(100% - 50px);
}

.window-layout .window-content:not(:has(.jqx-tabs)) {
    width: calc(100% - 20px);
    height: 98%;
    padding: 8px 10px 5px 10px;
}

.window-layout .window-content:has(.jqx-tabs) {
    padding: 0;
}

.window-layout .window-content table {
    width: 100%;
}

.window-layout .window-content table tr {
    height: 40px;
    border-bottom: 1px solid #dbdbdb
}

.window-layout .window-content table tr:nth-child(1) {
    border-top: 2px solid #1C5A7F;
}

body:has(#setting-container) .window-layout .window-content table tr:nth-child(1) {
    border-top: 2px solid #519bd6;
}

.window-layout .window-content table th {
    padding-left: 15px;
    background-color: #F3F6FA;
    color: #000;
}

.window-layout .window-content table th>i {
    margin-right: 10px;
}

.window-layout .window-content table td {
    padding-left: 10px;
}

.window-layout .window-bottom {
    width: 100%;
    height: 50px;
    background-color: #fff;
    border-top: 1px solid #dbdbdb;
}

.window-layout .window-bottom .window-btn-group {
    display: flex;
    padding: 8px 5px 5px 5px;
    float: right;
    grid-gap: 5px;
}

.window-layout .window-bottom .window-btn-group button[type="button"]:has(i) {
    justify-content: center;
    align-items: center;
}

.window-layout .window-bottom .window-btn-group #btn-close>i {
    position: relative;
    top: 1px;
}

/* window message */
#window-message-alert .modal-body,
#window-message-confirm .modal-body,
#window-message-download .modal-body {
    display: grid;
    align-items: center;
    height: calc(100% - 77px);
    color: #000;
    padding: 13px;
}

#window-message-alert .modal-footer,
#window-message-confirm .modal-footer,
#window-message-download .modal-footer {
    height: 30px;
    grid-gap: 10px;
}


#window-message-alert button.btn,
#window-message-confirm button.btn,
#window-message-download button.btn {
    width: 50px;
    height: 30px;
    padding: 6px 10px 6px 10px;
    background-color: #fff;
    border: 1px solid;
    font-weight: bold;
}

#window-message-confirm small {
    color: #bbb;
}

small.sub {
	font-size: 12.5px;
	font-weight: 800;
}

small.point {
	color: #0065d1 !important;
}

small.warn {
	color: #ff0000a1 !important;
}

small.danger {
	color: #ff0000 !important;
}

#window-message-download .download-type {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-gap: 15px;
    padding: 5px;
    border-top: 1px solid #f3f4f5;
    border-bottom: 1px solid #f3f4f5;
}

.window .jqx-tabs-content-material {
    border: 0;
}

.window-layout .layout-search {
    width: 100% !important;
    height: 60px;
    min-height: 60px !important;
}

.window-layout .layout-search .layout-search-top {
    margin-left: 0;
}

.window-layout .layout-search:has(.layout-search-bottom) {
    height: 92px !important;
}

.window-layout .layout-content {
    width: 100% !important;
    padding: 0 !important;
}

.window-layout:not(:has(.layout-paging)) .layout-content {
    height: calc(100% - 65px) !important;
}

.jqx-window .inner-tab {
    display: flex;
    flex-direction: column;
    grid-gap: 5px;
    margin-top: 10px;
}

.jqx-window .date-search-group {
    display: flex;
    align-items: center;
    grid-gap: 7px;
}

.jqx-window .row-title {
    margin-top: 5px;
}

.jqx-window .row-title span>i {
    margin-right: 5px;
}

#window-target-choice .modal-footer {
    grid-column-gap: 5px;
}