﻿/*header 추가*/
header {
    width: 100%;
    height: 56px;
    background-color: #231815;
    border-bottom: 1px solid #efefef;
    position: fixed;
    top: 0;
    left: 0;
    box-sizing: border-box;
    z-index: 10;
}

    header .header_wrap,
    .contents_area .contents_wrap {
        /*min-width: 1200px;
        width: 1200px;*/
        min-width: 1260px;
        width: 1260px;
        margin: 0 auto;
        padding: 0 56px 96px;
    }

        .contents_area .contents_wrap.contents_bot_set88 {
            padding-bottom: 76px;
        }

    header .header_wrap {
        display: flex;
        justify-content: space-between;
        padding: 0 32px;
    }

    header .logo_area {
        width: 140px;
        height: 100%;
        margin-right: 52px;
        display: inline-block;
    }

        header .logo_area a {
            display: flex;
            width: 100%;
            height: 100%;
            justify-content: center;
            align-items: center;
        }

        header .logo_area img {
            display: inline-block;
            max-height: 100%;
        }

        header .logo_area .hospital_name {
            font-weight: 700;
            font-size: 12px;
            line-height: 20px;
            display: inline-block;
        }

    header .menu_area {
        display: flex;
        justify-content: space-between;
        height: 100%;
        flex-grow: 1;
    }

    header .gnb_area ul {
        display: flex;
        height: 100%;
        align-items: center;
        justify-content: flex-start;
    }

        header .gnb_area ul li {
            margin-right: 24px;
        }

            header .gnb_area ul li:last-of-type {
                margin-right: 0px;
            }

        header .gnb_area ul a {
            display: inline-block;
            height: 56px;
            line-height: 56px;
            font-weight: bold;
            font-size: 14px;
            padding: 0 12px;
        }

    header .state_view_area {
        height: 100%;
    }

        header .state_view_area .state {
            display: inline-block;
            font-weight: 500;
            font-size: 12px;
            height: 56px;
            line-height: 56px;
            color: #999999;
        }

    header .sub_menu_area ul {
        display: flex;
        height: 100%;
        align-items: center;
        justify-content: flex-end;
        margin-top: -5px;
    }

        header .sub_menu_area ul li {
            margin-left: 44px;
            position: relative;
            list-style: none;
        }

            header .sub_menu_area ul li:first-of-type {
                margin-left: 0px;
            }

        header .sub_menu_area ul a {
            display: inline-block;
            height: 56px;
            line-height: 56px;
            font-weight: 500;
            font-size: 14px;
            padding: 0 12px;
            color: #ffffff;
            font-family: 'Poppins';
        }

    header .sub_menu_area .depth_02 {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 48px;
        display: inline-block;
        padding: 0 8px;
        background-color: #ffffff;
        border-radius: 16px;
        box-sizing: border-box;
        height: auto;
        width: auto;
        overflow: hidden;
        transition: all 0.5s;
        height: 0;
        /*border: 1px solid #231815;*/
    }

        header .sub_menu_area .depth_02.active {
            border: 1px solid #efefef;
        }

        header .sub_menu_area .depth_02 li {
            display: block;
            width: auto;
            padding: 0;
            height: 40px;
            border-bottom: 1px solid #efefef;
            text-align: center;
            margin-left: 0;
            position: static;
        }

            header .sub_menu_area .depth_02 li:last-of-type {
                border-bottom: 0;
            }

            header .sub_menu_area .depth_02 li a {
                height: 40px;
                display: block;
                padding: 0;
                width: auto;
                font-weight: 500;
                font-size: 12px;
                color: #999999;
                line-height: inherit;
                width: 104px;
                line-height: 40px;
            }

                header .sub_menu_area .depth_02 li a:hover,
                header .sub_menu_area .depth_02 li a.active {
                    font-weight: bold;
                    color: #231815;
                }

    header .logout_area {
        width: 192px;
        display: flex;
        justify-content: flex-end;
    }

        header .logout_area .btn {
            font-weight: 500;
            font-size: 12px;
            line-height: 56px;
            color: #ffffff;
            font-family: 'Poppins';
            margin-top: -5px;
        }

/*header 끝*/

/* Color */
.sidebar {
    background-color: #231815;
    position: relative;
}

    .sidebar > .nav .nav-item.nav-profile {
        margin-top: 80px;
    }

.bg-primary {
    background-color: #231815 !important;
}

.btn-dark {
    background-color: #231815 !important;
}

.btn-light {
    background-color: #f8f8f8 !important;
    color: #707070;
}

.btn-disabled:disabled {
    background: #ddd !important;
    border-color: #ddd !important;
    color: #252C46;
}

.btn-success,
.btn-primary {
    background-color: #231815 !important;
    border: 1px solid #231815 !important;
}

.checkbox-style {
    margin-right: 2px;
    position: relative;
    top: 2px;
}

.page-item.active .page-link {
    background-color: #231815 !important;
    border-color: #231815 !important;
}

.page-link {
    color: #231815;
}

.input-group-text {
    font-size: 0.8rem !important;
}

.search_title,
.list-group-item-primary {
    background-color: #f8f8f8 !important;
}

.text-danger {
    color: #d07070 !important;
}

a.text-danger {
    color: #231815 !important;
    font-weight: bold;
}

    a.text-danger:hover {
        color: #707070 !important;
    }

.btn-danger {
    background-color: #fff9f9;
    color: #ff3d3d !important;
    border-color: #fff9f9;
    font-weight: bold;
}

    .btn-danger:hover {
        background-color: #fff9f9;
        border-color: #fff9f9;
    }
/* Color */

html, button, input, select, textarea, body, :root, .table th, .table td {
    font-family: 'Nanum Gothic', '돋움', Dotum, Arial, AppleGothic, sans-serif !important;
    font-weight: 300;
    font-size: 0.9rem;
    color: #333333;
    font-style: normal;
}

.form-control {
    font-size: 0.8rem !important;
}


.col-lg-10.width_set_full,
.col-md-10.width_set_full,
.stretch-card.width_set_full {
    flex: 0 0 100%;
    max-width: 100%;
}

.col-lg-6.width_set_full {
    flex: 0 0 100%;
    max-width: 100%;
}

.col-md-6.width_set_resize {
    flex: 0 0 100%;
    max-width: 100%;
}

.table_type01 th:first-child, .table_type01 td:first-child,
.table_type01 th:nth-child(2), .table_type01 td:nth-child(2),
.table_type01 th:nth-child(3), .table_type01 td:nth-child(3) {
    text-align: center;
}

.table_type02 td.col-lg-2 {
    width: inherit;
}



.grid_set_type01 .form-control {
    width: auto;
}

.grid_set_type01.stretch-card {
    width: 100%;
}

.grid_set_type01 .table.table-bordered td .btn.btn-outline-danger.bnt-sm {
    margin-right: 10px;
}

.grid_set_type01 .form-control.input_width_set {
    width: 90px;
    flex: none;
    max-width: none;
}

.grid_set_type01 .form-control.select_width_set {
    width: 115px;
    max-width: none;
}

.table_padding_set.table th,
.table_padding_set.table td {
    padding: 8px 12px;
}

.table_btn_set.table.table-bordered td button:nth-of-type(2) {
    margin-top: 4px;
}

.btn-danger:not(:disabled):not(.disabled):active,
.btn-danger:not(:disabled):not(.disabled).active,
.show > .btn-danger.dropdown-toggle,
.btn-danger:focus,
.btn-danger.focus {
    background-color: #fff9f9;
    color: #ff3d3d !important;
    border-color: #fff9f9;
    font-weight: bold;
}
/* hospital_registCss -> */
.grid_set_type02.col-md-6 {
    flex: 0 0 70%;
    max-width: 70%;
}

.scrollSet.height_set {
    height: auto;
}

.document_form_set .table .col-lg-1,
.document_form_set .table .col-lg-5 {
    flex: none;
    max-width: none;
    width: auto;
}

.table.table_btn_set tr td:last-child {
    min-width: 150px;
}

.pagination {
    display: flex !important;
    padding-left: 0 !important;
    list-style: none !important;
    border-radius: 0.25rem !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 0% !important;
}

/*관리자*/
.wrtie-display {
    display: flex;
    align-items: end;
}

.paper-label {
    margin-bottom: 0 !important;
}

.paper-margin {
    margin-bottom: -1rem !important;
}

.hover:hover {
    text-decoration: underline;
}

.td-position {
    position: relative;
}

.style-div {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
}

@media (max-width: 992px) {
    .grid_set_type02.col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .grid_set_type02 .col-md-4 {
        flex: 0 0 30%;
        max-width: 30%;
    }

    .sidebar {
        display: none;
    }
}

@media (max-width: 1630px) {
    .grid_set_type02 .col-md-2 {
        flex: 0 0 20%;
        max-width: 20%;
    }

    .grid_set_type02 .col-md-4 {
        flex: 0 0 30%;
        max-width: 30%;
    }
}

@media (max-width: 1440px) {
    .grid_set_type02 .stretch-card {
        flex: 0 0 70%;
        max-width: 70%;
    }
}

@media (max-width: 1120px) {
    .grid_set_type02 .stretch-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .grid_set_type02 .row {
        flex-wrap: nowrap;
    }
}

@media (max-width: 588px) {
    .grid_set_type02 .forms-sample .col-md-12 {
        padding-right: 0;
    }

    .grid_set_type02 .form-group.row {
        display: inline-block;
        width: 100%;
    }

        .grid_set_type02 .form-group.row label {
            display: block;
            width: 100%;
        }

    .grid_set_type02 label + .col-md-6 {
        padding-right: 0;
    }

    .grid_set_type02 .form-control.form-control-sm {
        margin: 0;
        width: 100%;
    }

    .grid_set_type02 .col-md-2 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .grid_set_type02 .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
        float: right;
        text-align: right;
        margin-top: 10px;
        padding-right: 0;
    }
}
/* <- hospital_registCss */

.grid_set_type03.col-lg-6 {
    flex: 0 0 70%;
    max-width: 70%;
}

.grid_set_type03 .input-group input,
.grid_set_type04 .input-group input,
.input_mr_set input {
    margin-right: 8px
}

.input_mb_set {
    margin-bottom: 8px;
}

.grid_set_type03 th:first-child, .grid_set_type03 td:first-child {
    max-width: 30px;
}

/*.table_wid_set03 th:first-child, .table_wid_set03 td:first-child {
    text-align: center;
}*/

.table_wid_set03 td:last-child select {
    width: auto;
}
/*
.table_center_set th:first-child, .table_center_set td:first-child {
    text-align: center;
}

.table_set_type02 td:first-child, .table_set_type02 td:last-child, .table_set_type02 th {
    text-align: center;
}

.grid_set_type03 th:first-child, .grid_set_type03 td:first-child,
.grid_set_type03 th:nth-child(2), .grid_set_type03 td:nth-child(2) {
    text-align: center;
}*/


/*.grid_set_type04 th:first-child, .grid_set_type04 td:first-child {
    max-width: 30px;
}*/

.grid_set_type04 th:last-child, .grid_set_type04 td:last-child {
    //text-align: center;
    max-width: 180px;
    width: 180px;
}

.grid_set_type04.col-lg-9 {
    flex: 0 0 100%;
    max-width: 100%;
}

.date_picker_set {
    width: 200px;
}

    .date_picker_set input {
        width: 95px;
        flex: none;
        max-width: none;
    }

.table_wid_set01.table.mt-3.table-bordered {
    min-width: 1006px;
}

.table_wid_auto.table {
    width: auto;
}


.grid_set_type05 .forms-sample .form-group {
    text-align: left;
}

.grid_set_type05 .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
}

.grid_set_type05 .radio_line label {
}

.grid_set_type05 .radio_line input[type="radio"] {
    margin: 0 4px;
}

    .grid_set_type05 .radio_line input[type="radio"]:first-child {
        margin-left: 0;
    }

.table.table_select_set select {
    margin-right: 4px;
}


.grid_set_type06 .col-lg-4 {
    min-width: 640px;
}

.grid_set_type06 .auth.register-bg-1 {
    justify-content: center;
}

.grid_set_type06 .auth.theme-one .auto-form-wrapper .form-group .input-group.input_mr_set .form-control {
    border-right: 1px solid #cfd5db;
    border-radius: 6px;
}
/* sign --> */

.sign_form_set .col-lg-1 {
    flex: 0 0 30% !important;
    max-width: 30% !important;
}

.sign_form_set.col-md-8 {
    max-width: 100% !important;
}

.sign_form_set label + .form-check, label + .form-radio {
    margin-top: 0;
}

.sign_form_set .input-group {
    display: block !important;
}

    .sign_form_set .input-group > .form-control {
        width: 60px !important;
        min-width: 60px !important;
    }

.sign_form_set .form-group {
    width: 100% !important;
}

    .sign_form_set .form-group:nth-child(3) label {
        width: 100%;
        max-width: 500px;
    }

.sign_form_set .form-check-inline {
    width: 100%;
}

.sign_form_set input[type="radio"] {
    margin: 0 4px;
}

    .sign_form_set input[type="radio"]:first-child {
        margin-left: 0px;
    }


.write_form_set.col-lg-6 {
    flex: 0 0 80%;
    max-width: 80%;
}

.write_form_set .row {
    flex-wrap: nowrap;
}

.label_margin_set input {
    height: 25px;
}

.label_margin_set label {
    width: calc(100% - 25px);
    height: 25px;
    margin: 0 auto;
    border: 1px solid #dee2e6;
    font-weight: 300;
}

    .label_margin_set label::after {
        height: 24px;
        line-height: 24px;
        padding: 0 0.75rem;
    }

.write_form_set .col-sm-3 {
    flex: none;
    max-width: none;
    display: inline-block;
    width: 150px;
}

.footer span.tel {
    color: #6c757d;
}

    .footer span.tel em {
        display: inline-block;
        margin-left: 4px;
        font-style: normal;
    }

.nav-footer-area {
    margin-top: 20px;
    text-align: center;
}

.contact {
    color: #ffffff;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 8px;
}

.logout {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    padding: 0.5rem 0.81rem;
    border: 1px solid #ffffff;
    border-radius: 0.1875rem;
}

    .logout:hover {
        color: #ffffff;
    }


.search-input-area {
    position: relative;
}

.search-input + .search-input-list {
    display: none;
}

.search-input:focus + .search-input-list {
    display: inline-block;
    height: auto;
    max-height: 180px;
    overflow-y: auto;
    position: absolute;
    left: 0;
    top: 26px;
    background-color: #ffffff;
    z-index: 10;
    padding: 8px 0;
}

    .search-input:focus + .search-input-list ul {
        margin: 0;
        cursor: pointer;
        padding: 0;
        width: 100%;
    }

        .search-input:focus + .search-input-list ul li {
            padding-left: 8px;
        }

            .search-input:focus + .search-input-list ul li:hover {
                background-color: #dfdfdf;
            }

/* 반응형 헤더 */
header .ham {
    display: none;
}
header .m_depth_title {
    display: none;
}

@media (max-width: 1400px) {
    .sign_form_set .col-md-10.grid-margin.stretch-card {
        position: relative;
        width: 100%;
        max-width: 100%;
        padding: 0 12.5px;
        flex: 0 0 100%;
    }
}

@media (max-width: 1400px) {
    .sign_form_set .col-md-10.grid-margin.stretch-card {
        position: relative;
        width: 100%;
        max-width: 100%;
        padding: 0 12.5px;
        flex: 0 0 100%;
    }
}

@media (max-width: 590px) {
    .sign_form_set .form-group:nth-child(2) {
        width: 120px !important;
    }

        .sign_form_set .form-group:nth-child(2) input[type="text"] {
            min-width: 100%;
        }

    .sign_form_set .form-group small {
        display: table;
        margin-top: 5px;
    }
}

/* <-- sign */

@media (max-width: 600px) {
    .grid_set_type06 .col-lg-4 {
        min-width: auto;
    }
}

@media (max-width: 600px) {
    .grid_set_type06 .col-lg-4 {
        min-width: auto;
    }

    .grid_set_type06 .form-group label.text-danger {
        font-size: 12px;
        letter-spacing: -1px;
    }
}




@media (max-width: 530px) {
    .grid_set_type05 .form-group span {
        display: block;
        margin-top: 8px;
    }
}


@media (max-width:1200px) {
    .col-md-8.mypage_set {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width:480px) {
    .mypage_set small.text-danger {
        display: table;
        margin-left: 0;
        margin-top: 5px;
    }
}


@media (max-width:680px) {
    .grid_set_type04 .table-responsive + div {
        display: block;
        width: 100%;
        height: 48px;
    }
}



@media (max-width:1630px) {
    .grid_set_type03.col-lg-6 {
        flex: 0 0 80%;
        max-width: 80%;
    }

    .grid_set_type05.stretch-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width:992px) {
    .grid_set_type03.col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .write_form_set.col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width:680px) {
    .grid_set_type03 .table-responsive + div {
        display: block;
        width: 100%;
        height: 48px;
    }
}

@media (max-width:680px) {
    .table-responsive + div.box_width_full {
        display: block;
        width: 100%;
        height: 48px;
    }

    .footer span {
        font-size: 10px;
    }

    nav[aria-label="Page navigation example"] {
        display: block;
        width: 100%;
        height: 22px;
    }
}

@media (max-width: 768px) {
    col-lg-8.margin_set {
        margin: 0 12px;
    }
}

@media (max-width: 1180px) {
    /* 반응형 헤더 */
    body {
        height: 100%;
    }
    header .ham {
        position: fixed;
        display: inline-block;
        right: 20px;
        top: 14px;
        width: 30px;
        height: 30px;
        background-image: url(../../images/icon_ham.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        overflow: hidden;
        background-color: transparent;
        text-indent: -999999px;
        border: none;
        padding: 0;
        z-index: 10;
    }
    header.active .ham {
        background-image: url(../../images/icon_exit.png);
    }
    header .header_wrap {
        min-width: unset;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        right: -100%;
        background-color: #231815;
        padding: 0;
        overflow: hidden;
        transition: right 0.5s;
        flex-direction: column;
        padding-left: 20px;

    }
    header.active .header_wrap {
        right: 0;
    }
    header .sub_menu_area ul {
        padding: 20px 0 0;
        flex-direction: column;
        justify-content: flex-start;
    }
    header .sub_menu_area ul li {
        margin: 0;
        width: 100%;
    }
    header .sub_menu_area ul a {
        padding: 0;
        display: inline-block;
        width: 100%;
        text-align: left;
    }
    header .logout_area {
        position: absolute;
        right: 20px;
        bottom: 14px;
    }
    header .logout_area .btn {
        padding: 0;
    }
    header .sub_menu_area > ul > li > a.depth_title {
        display: none;
    }
    header .sub_menu_area > ul > li > a.depth_title.none_depth {
        display: inline-block;
    }
    header .m_depth_title {
        display: inline-block;
        width: 100%;
        text-align: left;
        height: 56px;
        line-height: 56px;
        font-weight: 500;
        font-size: 14px !important;
        padding: 0px;
        color: #ffffff;
        font-family: 'Poppins' !important;
        background-color: transparent;
        border: none;
    }
    header .sub_menu_area ul li{
        line-height: 1;
    }
    header .sub_menu_area .depth_02.active {
        border: none;
    }
    header .sub_menu_area .depth_02 {
        position: static;
        background-color: transparent;
        border: none;
        transform: none;
        padding: 0;
    }
    header .sub_menu_area .depth_02 li {
        border: 0;
    }
    header .sub_menu_area > ul > li {
        height: auto;
    }
    header .sub_menu_area .depth_02 li {
        height: 24px;
    }
    header .sub_menu_area .depth_02 li a {
        height: 24px;
        line-height: 24px;
    }
}
