.default-style .sidenav .app-brand.logo {
    height: 59px;
}

.layout-1 .layout-sidenav .app-brand.logo,
.layout-1 .layout-sidenav .app-brand.logo + .sidenav-divider,
.layout-reversed .layout-2 .layout-sidenav .app-brand.logo {
    display: none;
}

.layout-1 .layout-navbar .app-brand.logo,
.layout-reversed .layout-2 .layout-navbar .app-brand.logo {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
}


.layout-1 .layout-navbar .layout-sidenav-toggle,
.layout-reversed .layout-2 .layout-navbar .layout-sidenav-toggle,
.layout-offcanvas .layout-navbar .layout-sidenav-toggle,
.layout-fixed-offcanvas .layout-navbar .layout-sidenav-toggle {
    display: block !important;
}

.app-brand-text.logo-text {
    font-size: 1.1rem;
}

.app-brand-logo.logo-frame {
    display: -ms-flexbox;
    display: flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: #BE0000;
}

@media (min-width: 992px) {
    .llayout-offcanvas .llayout-sidenav .llayout-sidenav-toggle,
    .llayout-fixed-offcanvas .llayout-sidenav .llayout-sidenav-toggle {
        display: none;
    }
}

@media (min-width: 992px) {
    .layout-collapsed:not(.layout-sidenav-hover):not(.layout-offcanvas):not(.layout-fixed-offcanvas) .layout-sidenav .app-brand-logo, .layout-collapsed:not(.layout-sidenav-hover):not(.layout-offcanvas):not(.layout-fixed-offcanvas) .layout-sidenav .app-brand-text {
        margin-right: auto;
        margin-left: auto;
    }
}


/* *****************************************************************************
 *  Navbar
 */

.navbar-user .dropdown-toggle,
.navbar-user.b-nav-dropdown .nav-link {
    white-space: nowrap;
}

.navbar-user .user-info {
    max-width: 220px;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

@media (min-width: 992px) {
    .navbar-user .dropdown-menu {
        margin-top: .25rem;
    }
}


/* *****************************************************************************
 *  Toastr - custom css
 */

.toast-top-right-custom {
    top: 12px;
    right: 12px;
    width: 12em;
}


/* *****************************************************************************
 *  Long text column - custom css
 */

.long-cont-1 {
    position: relative;
    max-width: 100%;
    padding: 0 !important;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    vertical-align: text-bottom !important;
}

.long-cont-2 {
    position: absolute;
    white-space: nowrap;
    overflow-y: visible;
    overflow-x: hidden;
    text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    max-width: 100%;
    min-width: 0;
    width:100%;
    top: 0;
    left: 0;
}

.long-cont-1:after, .long-cont-2:after {
    content: '-';
    display: inline;
    visibility: hidden;
    width: 0;
}


/* *****************************************************************************
 *  Alert modal
 */

.modal-dialog-vertical-center {
    -webkit-transform: translate(0,-50%);
    -o-transform: translate(0,-50%);
    transform: translate(0,-50%);
    top: 30%;
    margin: 0 auto;
}

.modal-sm.modal-dialog-vertical-center {
    max-width: 20rem;
}

.modal-content-border-1 {
    border: 1px solid rgba(24,28,33,0.2);
}


/* *****************************************************************************
 *  Wait modal
 */

.wait-modal-sm {
    -webkit-transform: translate(0,-50%);
    -o-transform: translate(0,-50%);
    transform: translate(0,-50%);
    top: 30%;
    margin: 0 auto;
    max-width: 10rem;
}

.wait-modal-body {
    padding: 1.5rem 0 0.5rem;
}

.wait-cube {
    margin: 20px auto; width: 40px; height: 40px;
}


/* *****************************************************************************
 *  Base styles
 */

.text-blue { color: #487df2; }
.text-red { color: #df1616; }
.text-orange { color: #ff7325; }
.text-yellow { color: #f7bc1c; }
.text-green { color: #70cc33; }
.text-purple { color: #af52fe; }
.text-gray { color: #646c6f; }
.text-emerald { color: #499d94; }
.text-navy { color: #445d73; }

.bg-blue { background: #487df2; }
.bg-red { background: #df1616; }
.bg-orange { background: #ff7325; }
.bg-yellow { background: #f7bc1c; }
.bg-green { background: #70cc33; }
.bg-purple { background: #af52fe; }
.bg-gray { background: #646c6f; }
.bg-emerald { background: #499d94; }
.bg-navy { background: #445d73; }

.fa-blank { visibility:hidden !important; }
svg.svg-inline--fa.fa-blank.fa-w-16.check-mark { width: 0; }

.scrollable-dropdown-menu {
    height: auto;
    max-height: 220px;
    overflow-x: hidden;
}

.border-none div.k-multiselect-wrap {
    border-style: none;
}

.border-none span.k-picker-wrap.k-state-default {
    border-style: none;
}

.border-none span.k-picker-wrap.k-state-disabled {
    border-style: none;
}

.cursor-pointer {
    cursor: pointer;
}


/* *****************************************************************************
 *  Modal styles
 */

.modal.modal-level-minus-2 {
    z-index: 1801 !important;
}
.modal-backdrop.modal-level-minus-2 {
    z-index: 1800 !important;
}
.modal.modal-level-minus-1 {
    z-index: 1901 !important;
}
.modal-backdrop.modal-level-minus-1 {
    z-index: 1900 !important;
}
.modal.modal-level {
    z-index: 2001 !important;
}
.modal-backdrop.modal-level {
    z-index: 2000 !important;
}
.modal.modal-level-plus-1 {
    z-index: 2101 !important;
}
.modal-backdrop.modal-level-plus-1 {
    z-index: 2100 !important;
}
.modal.modal-level-plus-2 {
    z-index: 2201 !important;
}
.modal-backdrop.modal-level-plus-2 {
    z-index: 2200 !important;
}
.modal.modal-level-top {
    z-index: 3001 !important;
}
.modal-backdrop.modal-level-top {
    z-index: 3000 !important;
}
.move-cursor { cursor: move; }
.modal-bg-color {
    background-color: #f8f8f8;
}


/* *****************************************************************************
 *  Tag styles
 */

.tag {
    color: #fff;  cursor: default;  font-size: 0.9rem;  font-weight: 400;
}


/* *****************************************************************************
 *  Common styles
 */

.text-link {
    text-decoration: underline;
    /*text-decoration-color: #cccccc !important;*/
    text-decoration-color: #868686 !important;
    text-underline-offset: 5px;
}
.btn-custom {
    width: calc(1.8rem + 2px) !important;
    line-height: 1.8rem;
}
.font-weight-300 {
    font-weight: 300 !important;
}
.font-weight-400 {
    font-weight: 400 !important;
}
.font-weight-500 {
    font-weight: 500 !important;
}
.font-weight-600 {
    font-weight: 600 !important;
}
.default-pointer {
    cursor: default;
}

/*  추가  */
/* Vertical Scrollbar 삭제 */
.k-grid .k-grid-header {
    padding: 0 !important;
}

/* 선택 체크박스를 포함하는 필터 패널을 보기 좋게 */
.k-filter-selected-items {
    font-weight: 500;
}

/*  min-height 적용 -> 로딩 버그 해결  */
.k-grid .k-grid-content {
    overflow-y: visible;
    /*min-height: 100px;*/
    min-height: 40px;
}
.k-loading-image::before {
    border-width: 0.1rem;
    border-color: #4e5155;
    animation: k-loading-animation 1.5s linear infinite;
}

/*  그리드 행의 높이 지정  */
.k-grid .k-table-td {
    box-sizing: border-box;
    height: 40px;
}

/*  그리드 로우 폰트 변경  */
.k-grid .k-table-md {
    font-size: 14px;
    line-height: 1.42857;
}

/*  그리드 툴바  */
.k-grid-toolbar {
    padding: 8px;
    display: block;
}

.k-toolbar > * {
    display: block;
}

/*  필터 박스 최적화  */
.k-check-all-wrap {
    padding: 0 !important;
    min-width: fit-content !important;
}

.k-filter-menu.k-popup .k-filter-menu-container {
    min-width: 100px;
    min-height: 100px;
}

.k-filter-help-text {
    white-space: nowrap;
    display: inline-block;
    overflow: visible;
}

.k-filter-selected-items {
    margin: auto;
}

.k-filter-menu {
    width: fit-content;
}

.k-actions > * {
    flex: 1 0 0%;
}

/*  리스트 박스 벨류 짤림 버그  */
.k-input-inner {
    overflow: visible;
}

/*  탭 넘길때 페이지 넘버링 버그  */
.k-pager-numbers {
    display: flex !important;
}

.k-pager-md .k-pager-sizes .k-dropdownlist {
    display: inline-flex !important;
}

.k-pager-numbers-wrap > .k-dropdown {
    display: none !important;
}

.k-pager-sizes > span {
    display: flex !important;
}

.k-pager > span {
    display: flex !important;
}

.k-pager > .k-pager-refresh {
    display: inline-flex !important;
}

/*  모달폼, datapicker, input 박스  */
#formRoot .k-input-inner {
    border: none;
}

#formRoot .k-input-inner,
.modal-level-plus-1 .k-input-inner {
    border-radius: 0;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

#store-form .form-control.k-timepicker,
#formRoot .form-control.k-timepicker,
#formRoot .form-control.k-picker,
#formRoot .form-control.k-datepicker {
    display: flex !important;
    padding: 0;
}

input.form-control.time-picker {
    border-radius: 0 !important;
    border: none !important;
}

#formRoot .k-dropdownlist .k-button:hover,
#formRoot .k-dropdownlist .k-button:focus,
#formRoot .k-dropdownlist .k-button:active {
    border: none !important;
    outline: none !important;
}

#formRoot .k-dropdownlist .k-button:not(:hover) {
    border: none !important;
    outline: none !important;
}

/*  폼 멀티 셀렉트 수정  */
#formRoot .k-multiselect.k-input {
    display: flex !important;
    padding: 0;
}

#formRoot .k-multiselect.k-input span.k-clear-value {
    position: relative;
    left: -5px;
}

/*  4k 모니터 드랍다운 text 줄바뀜 버그  */
.k-list-item-text {
    white-space: nowrap;
}

/*  tagsinput value 가려짐 문제  */
/*  tagsinput 캐럿 안생기는 문제  */
#formRoot .bootstrap-tagsinput input {
    padding: 0 .375rem !important;
    min-width: 36px !important;
}

/*  inv/screen form 양식 수정  */
div[name="siteShortName-con"] > span,
div[name="siteName-con"] > span {
    padding: 0;
    display: flex;
}

/*  폼 clear-value button 조정  */
.custom-show-inline-flex {
    display: inline-flex;
}
.custom-hide {
    display: none;
}

/*  pager-size button 화살표 넘어가는 버그  */
.k-pager-sizes .k-dropdownlist .k-input-inner {
    padding-right: 0;
}

.k-pager-sizes .k-dropdownlist .k-input-button {
    padding-left: 0;
    border-left: none;
}

.k-input {
    box-shadow: none !important;
}

/*  datepicker border 줄 안맞는 버그  */
.k-datepicker.k-input .k-input-inner {
    border: none;
}

/*  alart modal button 색 변경  */
.bootbox button.bootbox-alert-confirm-btn {
    background-color: #e84c64;
    color: #fff ;
}

.bootbox button.bootbox-alert-confirm-btn:hover {
    background-color: #dc485f;
    color: #fff ;
}

/*  그리드 colum title ... 생기는 문제  */
.k-grid .k-cell-inner .k-grid-header-menu {
    width: calc(10px + 1.42857em);
    margin-inline-end: 0;
}

.k-grid .k-grid-header .k-cell-inner > .k-link > .k-sort-icon {
    margin-inline-start: calc(0.5rem - 1px);
}

/*  Kendo TreeView Font  */
.k-treeview-leaf-text {
    font-size: 1rem !important;
    font-weight: 400 !important;
}

/* 기본 스타일 */
.k-treeview-leaf-text {
    font-size: 1rem !important;
    font-weight: 400 !important;
}
/* 4K 모니터용 스타일 */
@media (min-resolution: 384dpi) {
    .k-treeview-leaf-text {
        font-size: 1rem !important;
        font-weight: 100 !important;
    }
}

/*  datetimepicker 폼 수정  */
#formRoot .k-datetimepicker {
    display: flex !important;
    padding: 0;
}

/* 인벤 타겟팅 and or 버튼 수정 */
.k-grid-container .toggle-handle.btn.btn-default {
    border: none;
    opacity: 0;
}
.k-grid-container .toggle-handle.btn.btn-default:hover {
    opacity: 0;
}

.k-grid-container .btn.btn-info.toggle-on {
    padding: 7px 18px !important;
}
.k-grid-container .btn.btn-success.active.toggle-off {
    padding: 7px 18px !important;
}

svg.svg-inline--fa.fa-blank.check-mark {
    width: 0;
}


/*  shop  */
.thumbnail-image {
    border-radius: 20px;
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin: auto;
    display: block;
}




/* Session context */
.navbar-session-context {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 0.75rem;
    min-width: 0;
}

.navbar-session-context-item {
    min-width: 0;
}

.navbar-session-context-item + .navbar-session-context-item {
    margin-left: 0.15rem;
    padding-left: 0.65rem;
    position: relative;
}

.navbar-session-context-item + .navbar-session-context-item::before {
    background: rgba(255, 255, 255, 0.18);
    content: "";
    height: 1rem;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
}

.navbar-session-pill {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 999px;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.98);
    display: flex;
    gap: 0.45rem;
    justify-content: flex-start;
    line-height: 1;
    max-width: 20rem;
    min-height: 2rem;
    min-width: 0;
    padding: 0.35rem 0.5rem;
    text-decoration: none !important;
    transition: background-color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
    vertical-align: middle;
}

button.navbar-session-pill {
    appearance: none;
    background-color: transparent;
    border: 1px solid transparent;
    color: inherit;
    font: inherit;
    line-height: inherit;
    margin: 0;
    text-align: left;
    text-decoration: none !important;
    vertical-align: middle;
}

.navbar-session-pill.is-clickable {
    cursor: pointer;
    opacity: 0.95;
}

.navbar-session-pill.is-clickable:hover,
.navbar-session-pill.is-clickable:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.08);
    outline: none;
    text-decoration: none !important;
    opacity: 1;
}

button.navbar-session-pill:hover,
button.navbar-session-pill:focus,
button.navbar-session-pill:active,
.navbar-session-pill:hover,
.navbar-session-pill:focus,
.navbar-session-pill:active,
.navbar-session-pill__primary {
    text-decoration: none !important;
}

.navbar-session-pill.is-readonly {
    opacity: 0.82;
}

.navbar-session-pill__icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.94);
    display: inline-flex;
    flex: 0 0 1.55rem;
    font-size: 0.78rem;
    height: 1.55rem;
    justify-content: center;
    width: 1.55rem;
}

.navbar-session-pill__content {
    align-items: center;
    display: inline-flex;
    flex: 1 1 auto;
    min-height: 1.55rem;
    min-width: 0;
}

.navbar-session-pill__primary {
    align-items: center;
    color: rgba(255, 255, 255, 0.98);
    display: inline-flex;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.1;
    max-width: 16.5rem;
    min-height: 1.55rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.session-context-modal-search {
    margin-bottom: 0.85rem;
}

.session-context-list {
    background: #fff;
    border: 1px solid rgba(68, 93, 115, 0.12);
    border-radius: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    max-height: 420px;
    min-height: 120px;
    overflow-y: auto;
}

.session-context-list-item {
    align-items: center;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(68, 93, 115, 0.08);
    color: inherit;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 0.9rem 1rem;
    text-align: left;
    width: 100%;
}

.session-context-list-item:last-child {
    border-bottom: 0;
}

.session-context-list-item:hover:not(:disabled),
.session-context-list-item:focus:not(:disabled) {
    background: rgba(232, 76, 100, 0.05);
    outline: none;
}

.session-context-list-item.is-active,
.session-context-list-item:disabled {
    background: rgba(68, 93, 115, 0.04);
    cursor: default;
    opacity: 1;
}

.session-context-list-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.session-context-list-short,
.session-context-list-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.session-context-list-short {
    color: #1f2933;
    font-size: 0.95rem;
    font-weight: 700;
}

.session-context-list-name {
    color: #7a8087;
    font-size: 0.8rem;
}

.session-context-list-badge {
    background: rgba(68, 93, 115, 0.1);
    border-radius: 999px;
    color: #445d73;
    flex: 0 0 auto;
    font-size: 0.73rem;
    font-weight: 700;
    padding: 0.22rem 0.55rem;
}

.session-context-list-arrow {
    color: #a0a6ad;
    flex: 0 0 auto;
    font-size: 0.8rem;
}

.session-context-empty {
    color: #7a8087;
    padding: 1.35rem 1rem;
    text-align: center;
}

@media (max-width: 1279.98px) {
    .navbar-session-pill {
        max-width: 15rem;
    }

    .navbar-session-pill__primary {
        max-width: 12rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-session-context {
        gap: 0.35rem;
        margin-right: 0.5rem;
    }

    .navbar-session-context-item + .navbar-session-context-item {
        margin-left: 0;
        padding-left: 0.45rem;
    }

    .navbar-session-pill {
        max-width: 10rem;
        padding: 0.3rem 0.4rem;
    }

    .navbar-session-pill__primary {
        max-width: 7rem;
    }

    .navbar-user .user-info {
        max-width: 180px;
    }
}

@media (max-width: 767.98px) {
    .navbar-session-pill {
        max-width: 8rem;
        padding: 0.28rem 0.35rem;
    }

    .navbar-session-pill__icon {
        flex-basis: 1.35rem;
        height: 1.35rem;
        width: 1.35rem;
    }

    .navbar-session-pill__primary {
        font-size: 0.78rem;
        max-width: 5.2rem;
    }

    .navbar-user .user-info {
        max-width: 140px;
    }
}

.k-datepicker {
    display: flex !important;
    padding: 0;
}

/* jqury grid toolbar tamplete */
.k-toolbar::before {
    content: none !important;
}

/* 캔도 멀티셀렉트 필터 최대 높이 수정 */
.k-popup .k-multicheck-wrap {
    max-height: 350px !important;
}

.k-footer-template.k-table-row .k-table-td {
    border: none;
}
