* {
    font-size: 14px;
    /*line-height: 1.25;*/
}

body {
    font-family: "Malgun Gothic", Arial, sans-serif;/*,"AppleGothicNeoSD"*/
    margin: 0;
}
.navbar-nav-main-menu .nav-link {
    padding-left: 1rem!important;
    padding-right: 1rem!important;
    font-weight: bold;
}
.nav-main-link .nav-link {
    color: #FFFFFF !important;
}
.navbar-nav-main-menu {
    padding: 0;
}
.navbar-nav-w-menu {
    white-space: nowrap;
}
.navbar-nav-w-menu .nav-link {
    padding-top: 1.25rem!important;
    padding-bottom: 1.25rem!important;
}
.navbar-nav-w-menu a.active {
    color: #FFFFFF !important;
    background-color: #0099ff;
}
/* .navbar-nav-main-menu .nav-link:hover {
    color: #3db36b!important;
} */
.navbar-nav-n {
    margin-right: 2rem;
}
.navbar-nav-main-menu .navbar-nav-n-menu {
    display: none;
}
.navbar-nav-w-menu a:focus, .navbar-nav-w-menu a:hover {
    color: #FFFFFF !important;
    background-color: #0099ff;
}
.navbar-nav-main-menu .dropdown-toggle::after {
    display: none;
}

.header-item-n {
    display: none;
}

.vertical-nav {
    min-width: 18rem;
    width: 18rem;
    height: calc(100% - 3.8rem);
    position: fixed!important;
    left: 0;
    top: 3.8rem;
    padding: 0;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
}

#leftmenuinnerinner {
    height:100%;
    width:100%;
    padding-bottom: 2.5rem;
    overflow-y:scroll;
    overflow-x:hidden;
}

#closeSidebar {
    display:none;
}

.blockList {
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
    height: 65vh;
    overflow-y:scroll;
    overflow-x:hidden;
    padding: 1rem;
}

/*
.navbar-nav-sub-menu {
    padding: 0;
}

.navbar-nav-sub-menu ul {
    width: 100%;
}

.navbar-nav-sub-menu li {
    padding-left: 1.25rem;
}

.navbar-nav-sub-menu a:hover {
    display: block;
    background-color: rgba(0, 0, 0, 0.1);
}

.navbar-nav-sub-menu li.sidebar-header {
    background: transparent;
    font-weight: bold;
    padding-left: 0.75rem;
    text-transform: none;
} */

.tree, .tree ul {
    margin:0;
    padding:0;
    list-style:none;
}
.tree ul {
    margin-left:0.5rem;
    position:relative;
}
/*.tree ul ul {
    margin-left:.5rem;
}*/
.tree ul:before {
    content:"";
    display:block;
    width:0;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    border-left:0.05rem solid;
}
.tree li {
    margin:0;
    padding-left:1rem;
    line-height:2rem;
/*     color:#369; */
    color: rgba(0,0,0,.8);
/*     font-weight:700; */
    position:relative;
}
.tree ul li:before {
    content:"";
    display:block;
    width:0.625rem;
    height:0;
    border-top:0.05rem solid;
    margin-top:-0.05rem;
    position:absolute;
    top:1rem;
    left:0;
}
.tree ul li:last-child:before {
    background-color: #f8f9fa!important;
    height:auto;
    top:1rem;
    bottom:0;
}
.indicator {
    margin-right: 0.3rem;
    cursor: pointer;
}
.tree li a {
    text-decoration: none;
/*     color:#369; */
    color: inherit;
    cursor: pointer;
    padding: 0.25rem;
}
.tree li a.active {
    border: 1px solid #b3e0ff;
    background-color: #e6f5ff;
}

/*.tree li button, .tree li button:active, .tree li button:focus {
    text-decoration: none;
    color:#369; 
    border:none;
    background:transparent;
    margin:0;
    padding:0;
    outline: 0;
}*/

.breadcrumb {
    padding: 1rem 1rem;
    margin-bottom: 0rem !important;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
}

.page-content {
    width: calc(100% - 21rem);
    margin-left: 18.75rem;
    transition: all 0.4s;
    margin-top: 0;
}

#sidebar.active {
    margin-left: -17.5rem;
}

#divHeader {
    flex-direction: row;
    width: calc(100% - 17.75rem);
    margin-left: 17.75rem;
    transition: all 0.4s;
    margin-top: 4rem;
}
/*
#content.active {
    width: 100%;
    margin: 0;
}
*/
#divPortalContent {
    margin-top: 4rem;
    margin-bottom: 4rem;
    margin-left: -16.75rem!important;
}

#divFullContent {
    margin-left: -16.75rem!important;
}

.selUserDeptList {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.selUserDeptList li {
    margin-bottom: 0.313rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0.5rem;
    position: relative;
    text-align: left;
}

.selUserDeptList li:hover {
    cursor: move;
}

.selUserDeptList .btn {
    position: absolute;
    right: 0.5rem;
    margin-top: -0.3rem;
    cursor: pointer;
}

.btnList {
    display: -ms-flexbox!important;
    display: flex!important;
    -ms-flex-pack: end!important;
    justify-content: flex-end!important;
    height: 2.4rem;
    margin-top: -3.4rem;
    margin-bottom: 2rem!important;
    margin-right: 1rem;
}

.search-inline {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -ms-flex-align: center;
    align-items: center;
}

.search-inline .search-check {
    width: 100%;
}

.search-inline label {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 0;
    margin-right: 0.5rem;
    white-space: nowrap;
    width: auto;
}
.search-inline .form-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 0;
}
.search-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
    -ms-flex: 1 1 auto !important;
    flex: 1 1 auto !important;
}
.search-inline .form-control-plaintext {
    display: inline-block;
}
.search-inline .input-group {
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
}
.search-inline .input-group > .form-control {
    width: 1%;
}
.search-inline .custom-select {
    width: auto;
}
.search-inline .form-check {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: auto;
    padding-left: 0;
}
.search-inline .form-check-input {
    position: relative;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-top: 0;
    margin-right: 0.25rem;
    margin-left: 0;
}
.search-inline .custom-control {
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.search-inline .custom-control-label {
    margin-bottom: 0;
}

.table td, .table th {
    padding: 0.25rem !important;
}
.table:not(.table-bordered):not(.table-borderless) tr:last-child td {
    border-bottom: 2px solid #dee2e6;
}
table .row {
    margin-right: 0; 
    margin-left: 0;
}

.tableFixHead { 
    overflow-y: auto; 
    height: 70vh; 
}
.tableFixHead thead {
    z-index: 1;
    position: relative;
}

.tableFixHead-modal { 
    overflow-y: auto; 
    overflow-x: hidden;
    height: 65vh; 
}
.tableFixHead-modal thead {
    z-index: 1;
    position: relative;
}

.tableFixHead-modal-modal { 
    overflow-y: auto; 
    overflow-x: hidden;
    height: 65vh; 
}
.tableFixHead-modal-modal thead {
    z-index: 1;
    position: relative;
}

.tableMiniFixHead { 
    overflow-y: auto; 
    height: 35vh; 
}

.tableMiniFixHead thead {
    z-index: 1;
    position: relative;
}

.col-w-chk {
    -ms-flex: 0 0 2.5rem;
    flex: 0 0 2.5rem;
}
.col-w-btn {
    -ms-flex: 0 0 5.25rem;
    flex: 0 0 5.25rem;
}

.row-selected {
    background-color: #ffeecc;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    margin-left: -1rem;
}

.control-label {
    padding-top: calc(.375rem + 1px);
    padding-bottom: calc(.375rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.25;
}
.form-control:not(textarea) {
    height: 1.75rem;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
textarea.form-control {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.custom-form-inline {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -ms-flex-align: center;
    align-items: center;
}
.custom-form-inline .form-control {
    width: auto;
}
.custom-form-inline .form-check {
    width: 100%;
}
.input-group-text {
    height: 1.75rem !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.input-group-append > button {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.custom-file {
    height: 2.5rem !important;
}
.custom-file-input {
    height: 2.5rem !important;
    cursor: pointer;
}
.custom-file-label {
    height: 2.5rem !important;
    overflow: hidden;
}
.custom-file-label::after {
    content: none;
}

.modal { 
    overflow: auto !important; 
}

.modalMain .modal-dialog {
    margin-top: 0!important;
}

.modalMain .modal-header {
    padding-top: 0.5rem!important;
    padding-bottom: 0.5rem!important;
}

.modalMain .modal-body { 
    padding: 1rem 2rem!important; 
}

.necessaryInput {
    color: #ff3333;
    font-weight: bold;
}

.delItem {
    color: #990000!important;
}

.eaAppLine {
    border-collapse: collapse;
}

.eaAppLine th {
    border: 0.07rem solid #333333!important;
    font-weight: normal;
    text-align: center;
}

.eaAppLine td {
    border: 0.07rem solid #333333!important;
    text-align: center;
    vertical-align: top;
    word-break: break-all;
}

.eaTable {
    border-collapse: collapse;
}

.eaTable th, .eaTable td {
    border: 0.07rem solid #a6a6a6!important;
}

.mainContents .row div[class*=col] {
    /*border-right: 0.07rem solid #ccc; 
    border-bottom: 0.07rem solid #ccc;*/
    min-height: 2rem;
}

a {
    color: inherit;
/*    text-decoration: none;*/
}

a:link, a:visited {
  color: inherit;
}

.ellipsisLongTxt {
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
}

.was-validated .form-control:valid, .form-control.is-valid {
    border-color:#ced4da !important;
    background-image: inherit !important;
    box-shadow:inherit !important;
}

.was-validated .custom-file-input:valid ~ .custom-file-label, .custom-file-input.is-valid ~ .custom-file-label {
    border-color:#ced4da !important;
    background-image: inherit !important;
    box-shadow:inherit !important;
}

.multiselect {
    background-color: #fff;
    border: 1px solid #ced4da;
}

/* hack for bootstrap-select outline focus border */
.bootstrap-select .form-control:focus {
    outline: 0px none #fff !important;
}

.bootstrap-select .form-control > div.filter-option:focus {
    outline: 0px none #fff !important;
}

.bootstrap-select .form-control > div.filter-option > div.filter-option-inner:focus {
    outline: 0px none #fff !important;
}

.bootstrap-select .form-control > div.filter-option > div.filter-option-inner > div.filter-option-inner-inner:focus {
    outline: 0px none #fff !important;
}

#tblSchedules td {
    overflow: hidden;
    text-overflow: ellipsis;
/*     white-space: nowrap; */
    height: 9rem;
}
/*
#tblSchedules a {
    text-decoration: none;
}
#tblSchedules a:hover,
#tblSchedules a:focus {
    text-decoration: none;
}
*/

.Sat {
    color: #0066CC;
}
.Sun {
    color: #FF3300;
}
.Hol {
    color: #FF0000;
}
.today {
    background-color: #ffffcc;
}

.colHeader {
    font-weight: bold;
}

.btn-sch {
    padding: 0.1rem 0.25rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.hLayout {
    text-align: center;
    color:#ffffff;
    border-radius: 0.75rem;
    background-color:#004377;
    padding-top:0.35rem;
    padding-bottom:0.35rem;
    margin-top: 1rem;
    border: 0.1rem solid #004377;
}

/* .subjectLayout {
    margin-top: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.1rem;
    text-align: center;
    box-shadow: 0 0 1rem rgb(224, 219, 219);
    border-radius: 1rem;
    border: 0.1rem solid #b9b9b9;
    background-color:#cae6f8;
} */

.radiusBorder {
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 1rem;
    border: 0.2rem solid #b9b9b9;
}

.tableLayout {
    width: 100%;
    margin-bottom: 0rem !important;
}

.btn-close {
    font-size: xx-large;
}

.table .thead-light th:not(.notAlign) {
    text-align: center;
}

.tableFixHead .table td:not(.notAlign){
    text-align: center;
}

.tableFixHead .table td div:not(.notAlign){
    justify-content: center;
}

.tableFixHead-modal .table td:not(.notAlign){
    text-align: center;
}

.tableFixHead-modal .table div:not(.notAlign){
    justify-content: center;
}

.tableFixHead-modal-modal .table td:not(.notAlign){
    text-align: center;
}

.tableFixHead-modal-modal .table div:not(.notAlign){
    justify-content: center;
}

.alignCenter td:not(.notAlign){
    text-align: center;
}

.alignCenter th:not(.notAlign){
    text-align: center;
}

.alignCenter td div:not(.notAlign){
    justify-content: center;
}

/* .pcFooter {
    display: block;
} */

.mobileFooter {
    display: none;
}

.nav-color {
    background-color: #000000;
}

.main-badge .badge-pill {
    padding-right: .6em;
    padding-left: .6em;
    border-radius: 0.5rem !important;
}

.text-ellipsis {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-responsive .table td {
    vertical-align: middle;
}

.search-inline #ddlSearchDate {
    margin-right: 0.5rem !important;
}

.search-inline #ddlCategory {
    margin-right: 0.5rem !important;
}

.form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #C0C0C0;
    opacity: 1; /* Firefox */
}

.form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #C0C0C0;
}

.form-control::-ms-input-placeholder { /* Microsoft Edge */
    color: #C0C0C0;
}

input[type="date"] {
    width: 10rem !important;
    text-align: center !important;
}

.btnAngle {
    width: 3rem !important;
    text-align: center !important;
}

.modal-loading .modal-dialog {
    display: table;
    position: relative;
    margin: 0 auto;
    top: calc(50% - 2rem);
}

.modal-loading .modal-dialog .modal-content {
    background-color: transparent;
    border: none;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
  }
  
  .autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff; 
    border-bottom: 1px solid #d4d4d4; 
  }
  
  /*when hovering an item:*/
  .autocomplete-items div:hover {
    background-color: #e9e9e9; 
  }
  
  /*when navigating through the items using the arrow keys:*/
  .autocomplete-active {
    background-color: DodgerBlue !important; 
    color: #ffffff; 
  }

/* @media (max-width: 576px) {

} */

@media (max-width: 767px) {
    .modalMain .modal-body { 
        padding: 1rem!important; 
    }

    .mainContents .colHeader {
        background-color: #f8f8f8!important;
    }

    table.table button.btn {
        padding: .25rem .375rem;
        font-size: .875rem;
        border-radius: .2rem;
    }
    .tableLayout {
        width: 95%;
    }

    .col-w-chk {
        -ms-flex: 1;
        flex: 1;
    }
    .col-w-btn {
        -ms-flex: 1;
        flex: 1;
    }

    .btnList button, .searchBtn button {
        padding: 0.25rem 0.375rem;
        font-size: 0.875rem;
    }

    .m-none {
        display: none;
    }
}

@media (max-width: 991px) {
    .navbar-nav-n {
        margin-right: 0!important;
        flex-direction: row;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    .navbar-nav-w-menu {
        display: none;
    }
    .navbar-nav-n-menu {
        display: block!important;
    }
    .navbar-nav-main-menu .navbar-brand span { 
        display: none; 
    }
    .navbar-nav-main-menu .dropdown-menu {
        position: absolute;
        max-height: 86vh;
        overflow-y: auto;
    }
    #mainMenuMobile .dropdown-item {
        width:50%;
        text-align: center;
    }

    .breadcrumb {
        padding: 0.75rem 1rem;
    }

    .btnList {
        height: auto;
        margin-top: 0;
        margin-bottom: 0.5rem!important;
    }

    .search-inline label:not(.form-check-label) {
        width: 8rem!important;
        margin-right: 0;
        -ms-flex-pack: flex-start;
        justify-content: flex-start;
    }

    .modal-lg {
        margin: 0;
        max-width: 100vw;
    }

    .tableFixHead {
        height: 65vh;
    }

    .tableFixHead-modal { 
        height: 40vh; 
    }
    .tableFixHead-modal-modal { 
        height: 40vh; 
    }
    .blockList {
        height: 40vh;
    }
    .pcFooter {
        display: none;
    }
    .mobileFooter {
        padding-top: 0.8rem !important;
        padding-bottom: 0rem !important;
        display: block;
    }
    .navbar {
        padding-bottom: 0rem !important;
        padding-top: 0rem !important;
    }

    .userDtMobile {
        font-size: 0.75rem;
    }

    .search-inline #ddlSearchDate {
        margin-right: 0rem !important;
        width: 8rem !important;
    }

    .search-inline #ddlCategory, #ddlYear {
        margin-right: 0rem !important;
        width: 8rem !important;
    }

    input[type="date"] {
        width: auto;
    }

    .search-inline input[type="date"] {
        width: 1%! important;
    }
}

@media (max-width: 1199px) {
    .navbar-nav-w-menu .nav-link {
        padding-left: 0.4rem!important;
        padding-right: 0.4rem!important;
    }

    .vertical-nav {
        top: 0;
        height: 100vh;
        z-index: 9999;
    }
    #leftmenuinnerinner {
        overflow:auto;
        -webkit-overflow-scrolling:touch;
        position:relative;
        top:0;
        padding-top:0;
    }
    #closeSidebar {
        display:block;
    }
    #sidebar {
        margin-left: -17.75rem;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #divHeader {
        width: 100%;
        margin-left: 0;
    }
    #divPortalContent {
        margin-top: 4rem;
        width: 100%;
        margin-left: 0!important;
    }
    #divFullContent {
        width: 100%;
        margin-left: 0!important;
    }
    /*
    #content {
        width: 100%;
        margin: 0;
    }
    */
    .page-content {
        width: 100%;
        margin: 0;
    }
    #divFooter {
        width: 100%;
        margin: 0;
    }
    .header-item-n {
        display: block;
    }
    .header-item-n .btn {
        padding-top: 0;
        padding-bottom: 0;
        margin-right: 0.5rem;
        margin-left: -0.25rem;
    }

    .modal-xl {
        margin: 0;
        max-width: 100vw;
    }
}

@media (min-width: 576px) {
    .form-group {
        display: -ms-flexbox;
        display: flex;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        -ms-flex-align: center;
        align-items: center;
        margin-bottom: 0;
    }
}

@media (min-width: 768px) {
    .row-direction-reverse {
        flex-direction: row-reverse!important;
    }

    .search-inline #ddlDocType {
        margin-right: 1rem;
    }
}

@media (min-width: 992px) {
    .modalEaDocApp .modal-lg {
        max-width: 992px;
    }

    .search-inline #ddlDocStat, .search-inline #ddlRead, .search-inline #ddlReadKind {
        display: inline-block;
        width: auto !important;
        vertical-align: middle;
        -ms-flex: 0 0 auto !important;
        flex: 0 0 auto !important;
    }

    .search-inline #ddlDocType {
        display: inline-block;
        width: auto !important;
        vertical-align: middle;
        -ms-flex: 0 0 auto !important;
        flex: 0 0 auto !important;
        margin-right: 1rem;
    }

    .search-inline input[type="date"] {
        display: inline-block;
        width: auto;
        vertical-align: middle;
        -ms-flex: 0 0 auto !important;
        flex: 0 0 auto !important;
    }
}

@media (min-width: 1200px) {
    .modal-xl {
        max-width: 1200px;
    }
}

/*
@media print {
    body {
        visibility: hidden;
    }
}
*/