﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\ 
for details on configuring this project to bundle and minify static web assets. */
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.container {
    padding-left: 15px;
    padding-right: 15px;
    width : 90% !important;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

#file_drop_area {
    padding: 10px;
    margin: 10px;
    border: dotted 3px #DEE1E6;
    border-radius: 4px;
}



#approval-table {
    border-collapse: collapse;
    /*width: 30%; 테이블 크기 조절 */
    font-size:12px;
}

    #approval-table th, #approval-table td {
        border: 1px solid #dddddd;
        text-align: center;
        /*padding: 8px;*/
    }

    /* 미결재 상태에 대한 스타일 */
    #approval-table .pending {
        background-color: #ffcccb;
        font-weight: bold;
    }

    /* 결재 완료 상태에 대한 스타일 */
    #approval-table .completed {
        background-color: #c2f0c2;
        font-weight: bold;
    }

    #approval-table th:first-child {
        font-weight: normal; /* 헤더 "결재자"의 굵은 글씨 제거 */
    }

.displayNone {
    display: none !important;
}

.displayFlex {
    display: flex !important;
}

.tb_date {
    height: 93%;
    width: 100%;
    margin-top: 20px;
}

    .tb_date tr:nth-child(odd) {
        background-color: #F7F9FC
    }

    .tb_date tr:hover {
        background-color: #F2CB61
    }

    .tb_date th {
        text-align: center;
        background: #DEE1E6;
    }

    .tb_date td {
        text-align: center;
    }

input, select {
    border-radius: 5px;
    /*height: 25px;*/
    border: solid 2px black;
}

    select option:hover {
        background-color: #F2CB61;
    }

.search_keyname {
    width: 65px;
    text-align: center;
}

.fl {
    float: left;
}

.search_area {
    padding: 10px;
    padding-top: 20px;
    overflow: hidden;
}

.btn_search {
    margin-left: 15px;
    height: 25px;
    width: 80px;
    /*border: solid 1px black;*/
    text-align: center;
    padding-top: 2px;
    font-weight: bold;
    background: #B2EBF4;
    border-radius: 30px;
    box-shadow: 1px 1px 5px 1px;
}

    .btn_search:hover {
        background-color: #F2CB61
    }

.search_icon {
    height: 20px;
    width: 20px;
}

.pop_background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

    .pop_background .pop_title {
        background: #DEE1E6;
        overflow: hidden;
        font-weight: bold;
    }

    .pop_background .pop_window {
        position: relative;
        top: 50%;
        left: 50%;
        overflow: auto;
        height: 50%;
        width: 50%;
        transform: translate(-50%, -50%);
        z-index: 1002;
        box-sizing: border-box;
        background: #fff;
        box-shadow: 2px 5px 10px 0px rgba(0,0,0,0.35);
        -webkit-box-shadow: 2px 5px 10px 0px rgba(0,0,0,0.35);
        -moz-box-shadow: 2px 5px 10px 0px rgba(0,0,0,0.35);
    }

    .pop_background .btn_pop_close {
        float: right;
        height: 22px;
        width: 22px;
        border: 0px;
        background: #B2EBF4;
        background-image: url(/images/delete.png);
        background-size: 22px;
    }

        .pop_background .btn_pop_close:hover {
            background-color: #F2CB61
        }

#ListSideManu {
    padding: 0;
}

    #ListSideManu li {
        padding-left: 20px;
    }

        #ListSideManu li:hover {
            background-color: #F2CB61
        }

#side_menu_icon {
    background: #B2EBF4;
    width: 50px;
    height: 50px;
    position: fixed;
    left: 20px;
    bottom: 20px;
    border-radius: 25px;
    text-align: center;
    line-height: 50px;
    z-index: 9999;
}

.SideManu {
    position: fixed;
    width: 120px;
    top: 50px;
    left: 0;
    padding-top: 20px;
    height: 100vh;
    overflow: hidden;
}

    .SideManu div, .SideManu h5, .SideManu li {
        width: 180px;
    }

.SideMenuSubTitle {
    font-weight: bold;
    padding-left: 10px;
}


@media (max-width: 800px) {

    #btn_search {
        margin-top: 10px;
        width: 80vw;
    }

    .SideManu {
        width: 180px;
        background: white;
        border: solid 1px #B2EBF4;
        display: none;
        animation-duration: 1s;
        animation-name: show;
        padding: 30px;
    }

    @keyframes show {
        from {
            width: 0px;
        }

        to {
            width: 180px;
        }
    }
}

@media (min-width: 800px) {

    .ContinerBody {
        width: calc(100% - 125px);
        padding-left: 120px;
    }

    #side_menu_icon {
        display: none;
    }

    .SideManu {
        display: block !important;
    }
}


.approval-box {
    border: 1px solid #000;
    padding: 10px;
    margin: 10px;
    display: inline-block;
}

#file_drop_area {
    padding: 10px;
    margin: 10px;
    border: dotted 3px #DEE1E6;
    border-radius: 4px;
}


.tg {
    border-collapse: collapse;
    border-spacing: 0;
}

    .tg td {
        border-color: black;
        border-style: solid;
        border-width: 1px;
        font-family: Arial, sans-serif;
        font-size: 14px;
        overflow: hidden;
        padding: 10px 5px;
        word-break: normal;
    }

    .tg th {
        border-color: black;
        border-style: solid;
        border-width: 1px;
        font-family: Arial, sans-serif;
        font-size: 14px;
        font-weight: normal;
        overflow: hidden;
        padding: 10px 5px;
        word-break: normal;
    }

    .tg .tg-0pky {
        border-color: inherit;
        text-align: left;
        vertical-align: top
    }




.div_disabled {
    color: gray !important;
    pointer-events: none;
}

.div_disabled_view {
    pointer-events: none;
}

.div_disabled_view_exception {
    pointer-events: auto;
}

/*popup*/
.popup_layer {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}
/*팝업 박스*/
.popup_box {
    position: relative;
    top: 50%;
    left: 50%;
    overflow: auto;
    height: 600px;
    width: 375px;
    transform: translate(-50%, -50%);
    z-index: 1002;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 2px 5px 10px 0px rgba(0,0,0,0.35);
    -webkit-box-shadow: 2px 5px 10px 0px rgba(0,0,0,0.35);
    -moz-box-shadow: 2px 5px 10px 0px rgba(0,0,0,0.35);
}

    .popup_box .pop_topbar {
        height: 20px;
        width: 375px;
    }

        .popup_box .pop_topbar a {
            height: 20px;
        }

            .popup_box .pop_topbar a img {
                height: 20px;
            }
    /*컨텐츠 영역*/
    .popup_box .popup_cont {
        padding: 50px;
        line-height: 1.4rem;
        font-size: 14px;
    }

        .popup_box .popup_cont h2 {
            padding: 15px 0;
            color: #333;
            margin: 0;
        }

        .popup_box .popup_cont p {
            border-top: 1px solid #666;
            padding-top: 30px;
        }

        .popup_box .popup_cont textarea {
            width: 178px;
            height: 171px;
        }
    /*버튼영역*/
    .popup_box .popup_btn {
        display: table;
        table-layout: fixed;
        width: 100%;
        height: 70px;
        background: #ECECEC;
        word-break: break-word;
    }

        .popup_box .popup_btn a {
            position: relative;
            display: table-cell;
            height: 70px;
            font-size: 17px;
            text-align: center;
            vertical-align: middle;
            text-decoration: none;
            background: #ECECEC;
        }

            .popup_box .popup_btn a:before {
                content: '';
                display: block;
                position: absolute;
                top: 26px;
                right: 29px;
                width: 1px;
                height: 21px;
                background: #fff;
                -moz-transform: rotate(-45deg);
                -webkit-transform: rotate(-45deg);
                -ms-transform: rotate(-45deg);
                -o-transform: rotate(-45deg);
                transform: rotate(-45deg);
            }

            .popup_box .popup_btn a:after {
                content: '';
                display: block;
                position: absolute;
                top: 26px;
                right: 29px;
                width: 1px;
                height: 21px;
                background: #fff;
                -moz-transform: rotate(45deg);
                -webkit-transform: rotate(45deg);
                -ms-transform: rotate(45deg);
                -o-transform: rotate(45deg);
                transform: rotate(45deg);
            }

            .popup_box .popup_btn a.close_day {
                background: #5d5d5d;
            }

                .popup_box .popup_btn a.close_day:before, .popup_box .popup_btn a.close_day:after {
                    display: none;
                }
/*오버레이 뒷배경*/
.popup_overlay {
    position: fixed;
    top: 0px;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1001;
    background: rgba(0,0,0,0.5);
}

.div_scroll {
    max-height: 30vw;
    overflow-y: scroll;
}

    .div_scroll table {
        margin: 0;
    }

.scroll_headtable {
    width: calc( 100% - 13.44px );
}



@media screen and (max-width: 767px) {
    .scroll_headtable {
        width: 100%;
    }

    .div_scroll {
        max-height: 70vw;
    }


}



    @media(max-width:992px) {

        .mobile thead {
            display: none;
        }

        .mobile tr {
            display: block;
            box-sizing: border-box;
            width: 100%;
            /*padding: 5px 5px 0;*/
            border-top: 2px solid #ccc;
            clear: both;
        }

        .mobile th,
        .mobile td {
            display: block;
            float: left;
            box-sizing: border-box;
            /*border: 0;*/
            font-size: 12px;
            margin-bottom: 0px;
            padding: 0 1px;
            width: 100%;
            text-align: left;
        }

        .mobile th {
            width: 100%;
            background: none;
        }

        .mobile td:before {
            font-weight: 700;
            content: attr(data-label) " ";
            /*background-color: azure;*/
        }


        /*    tbody tr td:not(.index, .name, .desc):before {
        font-weight: 700;
        content: attr(data-label) " : ";
    }*/
       
    }


table .input-group .btn {
    padding: 6px 12px;
}

table .btn {
    padding: 1px 6px;
}
.sub-menu:hover .dropdown-menu {
    
    left: 100%;

    display: block;
}

@media (max-width: 768px) {
    .sub-menu .dropdown-menu {
        padding-left:10px;
        display: block;
    }

}

.money{
    text-align:right;
}


.loader-spinner {
    border: 4px solid #f3f3f3; /* 회색 테두리 */
    border-top: 4px solid #3498db; /* 파란색 회전 테두리 */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.div-disabled {
    pointer-events: none; /* 클릭, 입력 막기 */
    opacity: 0.5; /* 흐리게 표시 */
}

.A4Size_Wide {
    width: 900px;
    height: 580px;
    display: flex;
    flex-direction: column;
    font-size: 11px;
    white-space: nowrap;
}