html {
   /*overflow: hidden;*/
}

/* 기본스타일 제거, 버튼 모양 재설정 */

input[type='radio'] {
    flex-shrink: 0;
    -webkit-appearance: none;
    /* 웹킷 브라우저에서 기본 스타일 제거*/
    -moz-appearance: none;
    /* 모질라 브라우저에서 기본 스타일 제거*/
    appearance: none;
    /*기본 브라우저에서 기본 스타일 제거*/
    width: 13px;
    height: 13px;
    border: 1px solid #888;
    /*체크되지 않았을 때의 테두리 색상*/
    border-radius: 50%;
    outline: none;
    /*focus 시에 나타나는 기본 스타일 제거*/
    cursor: pointer;
}

/* 체크 시 버튼 모양 스타일*/

input[type='radio']:checked {
    background-color: #0078D7;
    /*체크 시 내부 원 색상*/
    border: 3px solid #fff;
    /*라인이 아닌, 라인과 원 사이 색상*/
    box-shadow: 0 0 0 1px #0078D7;
    /*라인*/
}

#sidebar-menu ul li a img {
    width: 16px;
    margin-left: 10px;
}

.fc .fc-button {
    border-radius: 0;
}

.fc .fc-button-primary {
    background-color: #ccc !important;
    border-color: #888 !important;
}

.fc-toolbar-title {
    font-size: 30px !important;
}


/* ���� 諛쒖넚 page CSS */

.page-title {
    color: #000 !important;
    font-size: 16.8px;
    font-weight: bold;
    padding: 20px 0 35px;
}

@media (max-width: 768px) {
    .message {
        width: 40%;
    }
}

#bulk-shipping-page .message-display {
    width: 290px;
    height: 290px;
    background-image: url(../images/message-display-bg.png);
    background-size: 290px 290px;
    background-repeat: no-repeat;
    margin: 0 auto;
    padding: 40px 26px 0px 30px;
}

.message-display2 {
    width: 290px;
    height: 290px;
    background-image: url(../images/message-display-bg2.png);
    background-size: 290px 290px;
    background-repeat: no-repeat;
    margin: 0 auto;
    padding: 0 26px 40px 30px;
}

.message-display2 .message-contents {
    -ms-overflow-style: none;
}

.message-display2 .message-contents::-webkit-scrollbar {
    display: none;
}

#bulk-shipping-page .message-display2 .message-contents > div {
    padding: 10px 0;
    border-bottom: 1px dashed #d9d9d9;
}

#bulk-shipping-page .message-display-example .message-contents > div {
    border-bottom: 0;
}

#bulk-shipping-page .message-display-example {
    background-image: url(../images/message-display-example-bg.png);
    height: auto;
    background-size: contain;
    background-position: bottom;
}

.flatpickr-calendar.hasTime .flatpickr-time {
    position: absolute;
    top: 0;
    right: 0;
    justify-content: end;
}

.flatpickr-time select {
    width: auto;
    border: 0;
}

.flatpickr-current-month {
    width: 40% !important;
    font-size: 100% !important;
    left: 8% !important;
    line-height: 2.2 !important;

}

.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,
.flatpickr-months .flatpickr-next-month.flatpickr-next-month {
    right: 45% !important;
}

p {
    line-height: 2;
    margin-bottom: 0;
}

.preview-display {
    width: 250px;
    height: 500px;
    background-image: url(../images/message-display-bg3.png);
    background-size: 250px 500px;
    background-repeat: no-repeat;
    margin: 0 auto;
    padding: 35px 20px 30px 25px;
}

.preview-display .preview-display-contents {
    -ms-overflow-style: none;
    font-size: 12px;
}

.preview-display .preview-display-contents::-webkit-scrollbar {
    display: none;
}

.preview-display .table-bordered th {
    text-align: center;
}

.preview-display .table-bordered td,
.preview-display .table-bordered th {
    padding: 3px;
}

@media (max-width: 768px) {
    .preview-display {
        width: 240px;
        background-size: 240px 500px;
        padding: 35px 10px 30px 15px;
    }

    .example > div {
        width: 33.333% !important;
    }
}

@media (min-width: 769px) and (max-width: 1280px) {
    .preview-display {
        width: 240px;
        background-size: 240px 500px;
        padding: 35px 10px 30px 15px;
    }

    .example > div {
        width: 25% !important;
    }
}

.text-storage-display {
    width: 250px;
    height: 500px;
    background-image: url(../images/message-display-bg.png);
    background-size: 250px 500px;
    background-repeat: no-repeat;
    margin: 0 auto;
    padding: 30px 15px;
}

input.required-input::placeholder {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ff0000' class='bi bi-flag-fill' viewBox='0 0 16 16'%3E%3Cpath d='M14.778.085A.5.5 0 0 1 15 .5V8a.5.5 0 0 1-.314.464L14.5 8l.186.464-.003.001-.006.003-.023.009a12 12 0 0 1-.397.15c-.264.095-.631.223-1.047.35-.816.252-1.879.523-2.71.523-.847 0-1.548-.28-2.158-.525l-.028-.01C7.68 8.71 7.14 8.5 6.5 8.5c-.7 0-1.638.23-2.437.477A20 20 0 0 0 3 9.342V15.5a.5.5 0 0 1-1 0V.5a.5.5 0 0 1 1 0v.282c.226-.079.496-.17.79-.26C4.606.272 5.67 0 6.5 0c.84 0 1.524.277 2.121.519l.043.018C9.286.788 9.828 1 10.5 1c.7 0 1.638-.23 2.437-.477a20 20 0 0 0 1.349-.476l.019-.007.004-.002h.001'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    padding-left: 15px;
    background-position: left bottom;
    color: #ff0000;
}

th,
td {
    vertical-align: middle;
}

td .form-control {
    padding: 0;

}

.tb-type .form-control,
.tb-type .form-select {
    padding: 0 3px;

}

.tb-type label {
    background: #eaebef;
    border: 1px solid #d8d8db;
    text-align: center;
}

.tb-type .tb-type-td {
    padding: 5px 10px;
    border: 1px solid #d8d8db;
}

.cursor-pointer {
    cursor: pointer;
}

.border-dashed {
    border: 1px dashed #d9d9d9;
}

.main-content {
    /*max-height: 100vh;*/
    /*background: #40189D;*/
}

.menu {
    background-color: #f5f7f7;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.menu-btn {
    cursor: pointer;

    padding: 10px !important;
    color: rgba(0, 0, 0, 0.54);
    border-bottom: 3px solid #ccc !important;
}

.menu-btn:hover,
.menu-btn.active {
    /*background-color: #40189D !important;
    color: #746FD8 !important;*/
    border-bottom: 3px solid #888 !important;
}

.menu-btn:hover,
.menu-btn.active {
    /*color: #746FD8 !important;*/
}

.ti-help-alt {
    color: #000 !important;
}

.menu-btn:hover .ti-help-alt,
.menu-btn.active .ti-help-alt {
    /*color: #ccc !important;*/
}

.menu-btn:hover .ti-help-alt:hover {
    color: #ec4561 !important
}

.menu-btn .btn:focus {
    box-shadow: unset;
}

#importImg-help-btn button:hover,
#scale-help-btn button:hover,
#coordinate-help-btn button:hover,
#delete-help-btn button:hover,
#saveTemplate-help-btn button:hover {
    color: #fff !important;
}

#create-template-page .modal-content {
    background-color: aliceblue;
}

.menu-btn-layer {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.menu-btn-layer {
    top: 107px;
}

@media (max-width: 1280px) {
    .menu {
        width: 100%;
        overflow-x: scroll;
    }
    
    .menu-btn-name {
        white-space: nowrap;
    }
}

#canvas-help-layer,
#text-help-layer,
#table-help-layer,
#scale-help-layer {
    top: 300px;
}

.btn-xs {
    padding: 1px 5px;
    line-height: 1.5;
    border-radius: 3px;
}

.btn-character {
    background-color: #eee;
    font-size: 12px;
}

.btn-character:hover,
.btn-character:focus,
.btn-character.focus {
    color: #333;
    text-decoration: none;
}

.message-button-list .btn {
    margin: 0 0 3px 0;
}

.example > div {
    float: left;
    width: 20%;
}

#user-manual-page .text-box {
    bottom: -7%;
    left: 10%;
}

#receivingNumb .left-img {
    background-image: url(../images/message-display-bg3.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 285px;
    height: 592px;
}

.typcn-document-add:before {
    width: unset;
    height: unset;
}

#tableReceive td {
    font-size: 13px;
    text-align: center;
}

.btn-shadow {
    box-shadow: 0px 4px 4px 0px #ccc;
}

.search-box .btn {
    display: inline-block !important;
    padding: 0 10px;
    min-width: 50px;
    height: 23px;
    font-size: 13px;
    margin-right: 5px;
}

.btn-1 {
    background-color: #2A323C;
    color: #fff;
}

.btn-2 {
    background-color: #006820;
    color: #fff;
}

.btn-3 {
    background-color: #DB0010;
    color: #fff !important;
}

.btn-4 {
    background-color: #0d6efd;
    color: #fff;
}

.table-section {
    width: 100%;
    overflow: scroll;
    border: 1px solid #BDC3C7;
    flex: 1;
    min-height: 0;
}

.table-section > div {
        height: 65vh;
    }

.table-section thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

.table-section tbody td .btn {
    padding: 0 10px;
}

.table-section th,
.table-section td {
    white-space: nowrap;
}

.table-section th {
    color: rgba(0, 0, 0, 0.54);
}

.table-section td {
    border-bottom: 1px solid #e9ecef;
    border: 0;
}

#contentFrame {
    /*height: 100% !important;*/
}

@media (min-width: 1920px) {
    
}

@media (min-width: 769px) and (max-width: 1280px) {
    
    body {
        overflow: auto;
    }
    
    .page-content {
        overflow: unset !important;
        width: 100%;
        height: 100vh !important;
    }
    
    .main-content {
        overflow: unset !important;
        min-width: 1300px;
    }
    
    
}

@media (max-width: 768px) {
    
    #stage-parent,
    #stage-parent div,
    #stage-parent canvas,
    #helpContent {
        width: 100% !important;
    }
    
    #layout-wrapper {
        min-width: 1300px;
    }
    
    .main-content {
        overflow: unset !important
    }

    #contentFrame,
    .tabTit {
        margin-left: 185px;
    }
    
    .page-content {
        overflow: unset !important;
    }
    
    #page-content .page-content {
        overflow-x: auto !important;
    }
    
    .table-section > div {
        height: 45vh !important;
    }
}
