@charset "utf-8";

/*――――――――――――――――――――――:: S: common      ::――――――――――――――――――――――*/
:root{
	--color-point:#0199B0;/**/
	--color-point-hover:#057D98;
	--color-active:#006978;
	
}
/*――――――――――――――――――――――:: E: common      ::――――――――――――――――――――――*/

/*――――――――――――――――――――――:: S: default     ::――――――――――――――――――――――*/
/*default.css*/
/***************
Nav 다크모드 라이트모드  
****************/
[data-nav-theme="dark"]{
	--nav-theme:#0199B0;
	--nav-bg:#0199B0; /* 배경색 */
	--gnb-i-hover: rgba(0, 0, 0, 0.1);
    --gnb-i-active: rgba(0, 0, 0, 0.2);
}

/*CCM Header- LIGHT ver. */
[data-nav-theme="light"] {
	--nav-bg:#fff; /* 배경색 */
	--nav-fg:#057D98; /* 전경색 */
	--nav-theme:#182641;
}

header .header_wrap .logo{display: block;background: url(../images/pt/header_logo_w.svg)no-repeat center /53px;filter:var(--ico-n);height: 50px;width: 93px;position: fixed;left: 70px;top: 0;z-index: 100;cursor: pointer;}
[data-ccm] header .header_wrap .lnb_btn.open + .logo{background-color:transparent;}
.lnb .lnb_inner> ul .menu::after{background-color: var(--nav-theme);}
/* header - 열린 탭 */
.recent_tabs_wrap .btn_recent {width: 32px; height: 32px; background-color: #057D98; border-radius: 12px;margin-right: 8px; transform: translateY(3px);}
.recent_tabs_wrap .btn_recent:hover {background-color: #1FAEC4;}
/* header 탭 리스트 */
.header_tab .tab_item{ background-color:#057D98;}
.header_tab .tab_item.active { color:#182641;}
.header_tab .tab_item:not(.active) .tab_close,
[data-nav-theme="dark"] .header_tab .tab_item:not(.active):hover{background-color: #1FAEC4;}
[data-ccm][data-nav-theme="dark"] header .header_wrap .header_lt .logo{background: url(../images/pt/header_logo_w.svg) no-repeat center/53px; width:93px;filter:none;}
.side_lst .etc::after{content:'';display:block;position:absolute;top:-11px;left:50%;transform:translateX(-50%);width:24px;height:1px;background:var(--border-n);}
[data-ccm] .side_lst > ul> li:nth-last-of-type(-n + 5):is(:hover,.active) > button{filter:none}
/* longhand로만 지정해 hover 시에도 default.css의 공통 background-position(center 5px)이 유지되도록 함 - hover 시 아이콘이 내려와 라벨과 겹치던 문제 수정 */
/*홈페이지*/
.side_lst li[role="homepage"] button {background-image: url(../images/ico/side_homepage.png);background-repeat: no-repeat;background-size: 24px;}
.side_lst li[role="homepage"]:is(:hover,.active) button {background-image: url(../images/ico/side_homepage_w.png);background-repeat: no-repeat;background-size: 24px;}
/*내부회계*/
.side_lst li[role="accounting"] button {background-image: url(../images/ico/side_accounting.png);background-repeat: no-repeat;background-size: 24px;}
.side_lst li[role="accounting"]:is(:hover,.active) button {background-image: url(../images/ico/side_accounting_w.png);background-repeat: no-repeat;background-size: 24px;}
/*전표결재/Icard*/
.side_lst li[role="Icard"] button {background-image: url(../images/ico/side_icard.png);background-repeat: no-repeat;background-size: 24px;}
.side_lst li[role="Icard"]:is(:hover,.active) button {background-image: url(../images/ico/side_icard_w.png);background-repeat: no-repeat;background-size: 24px;}
/*si폴더*/
.side_lst li[role="si"] button {background-image: url(../images/ico/side_si.png);background-repeat: no-repeat;background-size: 24px;}
.side_lst li[role="si"]:is(:hover,.active) button {background-image: url(../images/ico/side_si_w.png);background-repeat: no-repeat;background-size: 24px;}
/*conference*/
.side_lst li[role="conference"] button {background-image: url(../images/ico/side_meet.png);background-repeat: no-repeat;background-size: 24px;}
.side_lst li[role="conference"]:is(:hover,.active) button {background-image: url(../images/ico/side_meet_w.png);background-repeat: no-repeat;background-size: 24px;}

/* 퀵바 아이콘 아래 라벨 영역 */
[data-ccm] .side_lst > ul {width:52px;}
[data-ccm] .side_lst > ul > li {width:52px;height:54px;margin-bottom:2px;border-radius:8px;}
[data-ccm] .side_lst > ul > li > button {display:flex;align-items:flex-end;justify-content:center;padding:0 2px 2px;box-sizing:border-box;background-position:center 5px;background-size:22px;}
[data-ccm] .side_lst > ul > li .quickbar_label {display:block;width:100%;overflow:hidden;color:#3d4654;font-size:11px;font-weight:700;line-height:12px;letter-spacing:-0.7px;text-align:center;white-space:nowrap;margin-bottom: 6px;}
[data-ccm] .side_lst > ul > li .alert_badge {top:-3px;right:-1px;min-width:16px;height:16px;padding:0 4px;box-sizing:border-box;line-height:16px;text-align:center;z-index:1;}
[data-ccm] .side_lst > ul > li:hover,
[data-ccm] .side_lst > ul > li.active {border-radius:8px;}

/* .etc 구분선(top:-11px)이 바로 위 버튼과 겹치므로, 그룹 앞에 여백을 더 확보하고 구분선 위치를 그 여백 중앙으로 재조정 */
[data-ccm] .side_lst > ul > li.etc {margin-top: 12px;}
[data-ccm] .side_lst .etc::after {top: -7px;}
/*――――――――――――――――――――――:: E: default     ::――――――――――――――――――――――*/

/*――――――――――――――――――――――:: S: portal      ::――――――――――――――――――――――*/
.overtime_work li{margin-bottom: 10px;}
.overtime_work dt{display: flex;align-items: center;gap: 6px}
.overtime_work .icon_dec{background:var(--color-point);border-radius: 100%;width: 4px;height: 4px;margin-left: 10px;}

.modal_profile .modal_dialog dl div .accent_color{color: var(--color-point);}
.user_work_schedule {margin-bottom:20px}
.user_work_schedule .egate_fm_edit_view3 > tr > :is(th ,td), 
.user_work_schedule .egate_fm_edit_view3 > :is(thead, tbody,tfoot) > tr > :is(th ,td){padding:4px 10px!important;}
.profile_wrap .tb_list dl{min-height:40px;}
.profile_wrap .profile_area .tb_list dl .tb_cont{gap:4px;}
.profile_wrap .profile_area #btn_profile_zip{padding:0;margin:0;width:30px;height:30px}
.profile_wrap textarea[name="user_desc"]{min-height:60px;margin-block: 4px;}


/*――――――――――――――――――――――:: E: portal      ::――――――――――――――――――――――*/



/*――――――――――――――――――――――:: S: login       ::――――――――――――――――――――――*/
.checkbox input:checked ~ .icon,
.login_btn > button{background-color:var(--color-point);border-radius: 4px;}
.checkbox:hover .icon {border-color:var(--color-point);}
.login_container .login_inp input:focus{color:var(--color-point);outline:var(--color-point);border-color:var(--color-point);}
.login_logo {display: block; background: url('../images/login/logo.svg')no-repeat center/ 95px 45px; width: 100%;height: 45px; margin: 80px 0 34px; font-size: 30px; line-height: 1; text-indent: -999em;}
.login_container .login_title{text-indent:-9999px}
/* TYPE A */
.login_type_a .login_logo {position:relative;display: flex;margin-inline: auto;margin-block:30px 68px;justify-content: center;align-items:center;background:none;}
.login_type_a .login_logo::after{content:'';display:block;background: url('../images/login/logo.svg')no-repeat center/ contain;width: 95px;height: 45px;margin-left: -15px;}
/* TYPE C */
.login_type_c .login_container{flex-direction:row-reverse;}
/*――――――――――――――――――――――:: E: login       ::――――――――――――――――――――――*/

/*――――――――――――――――――――――:: S: application ::――――――――――――――――――――――*/
/*근태관리 테이블 타이틀 2줄*/
#fm_pt_body:has( .lnb_tit_timecard) .egate_vw_content_header_table tr td{white-space: normal;word-break: keep-all;line-height: normal;}
/*4대회의*/
.conferenceinfo{display:flex;flex-wrap: wrap;border-radius: 8px;padding: 20px;margin-top: 20px;background-color: var(--bg-a);gap:10px 0;}
.conferenceinfo .title{width:60px;min-width:60px;max-width:60px;font-weight:bold}
.conferenceinfo span:not( .title){width:calc(100% - 60px);word-break:keep-all;}
/*최종결재*/
.egate_aprv_line_table_area{display: flex;flex-wrap: wrap;justify-content: space-between;}
.egate_sub_section.drafter.fl,
.egate_aprv_line_table_area .fl{margin-left: 0;}
.egate_aprv_line_table_area .fl:not(:has(+ .fl)){flex:1;}
.egate_aprv_line_table_area .fr:has(+ .fr){margin-right:-1px;}
.egate_sub_section.labellength4 .label{line-height:1.2;}
.egate_sub_section .egate_aprv_line_table_area .label{padding-top:20px;}
.egate_aprv_line_table_area .label{position:relative;left:0;top:0;height:auto;padding-top:20px;}
.egate_aprv_line_table_area .egate_sub_section{display:flex;}
.egate_aprv_line_table_area dd .egate_userinfo{padding-inline:4px;}
.egate_aprv_line_table_area .egate_sub_section.cooper {display: inline-flex;clear: initial;}
.egate_aprv_line_table_area dd.date{border-bottom: 0;height: 30px;}
.egate_aprv_line_table_area dd.date + dd{min-height: 50px;}
.egate_aprv_line_table_area dd .sign.txt{color: #CC2404;font-weight: bold;}
/*사무용품 신청내역 조회*/
div[role="product_info"]{border:1px solid var(--border-n);border-radius:4px;}
div[role="product_info"]:hover{border-color:var(--color-active);}
.tabulator-col-content{display:flex;align-items:center;flex-direction:column;gap:6px;}


/*설계변경*/
.egate_aprv_line_table_area > .egate_sub_section.center_option{position:absolute !important;left:50% !important;top:50% !important;transform:translate(-50%,-50%) !important;display:flex;flex-direction:column;align-items:center;gap:10px;margin:0;pointer-events:auto;z-index:1;width:max-content;max-width:50%;float:none !important;}
.egate_sub_section.center_option > span{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;}

/* 결재선 sign_expand 더보기 */
.egate_sub_section .sign_more_r{display:inline-flex;align-items:center;justify-content:center;float:left;width:14px;height:110px;padding:0;cursor:pointer;background:#fff;border:1px solid var(--border-n);border-radius:2px;transition:transform .15s ease;}
.egate_sub_section[data-expanded="true"] .sign_more_r{transform:rotate(180deg);}
.egate_sub_section.fl[data-expanded="true"]{width:auto !important;max-width:calc(100% - 32px) !important;float:none !important;flex:0 0 auto !important;margin-right:auto !important;}
.egate_sub_section.fr[data-expanded="true"]{width:auto !important;max-width:calc(100% - 32px) !important;float:none !important;flex:0 0 auto !important;margin-left:auto !important;}
.dcr_home.aprv_home.app_home.col-3 .app_col2 .app_wrap::after,
.dcr_home.aprv_home.app_home.col-3 .app_col2 .app_wrap::before{height: 100%;}


/* 프로젝트참여율 */
.egate_fm_container_inner:has([role="part_table"]){overflow-x:auto;}
table[role="part_table"]{min-width:fit-content;}
.project_admin_wrap{display: flex;flex-direction: column;gap:20px;}
.project_admin_wrap .cal_box{width: 300px;overflow: hidden;min-width: 236px;}
.project_admin_wrap .project_top{display: flex;flex-wrap: nowrap;gap:20px;}
.project_admin_wrap .project_top .egate_fm_edit_view{flex: 1;}
.project_admin_wrap .fc-basic-view .fc-body .fc-row{min-height: 30px;}
.project_admin_wrap .fc-toolbar.fc-header-toolbar{margin: 50px 0px 15px}
.project_admin_wrap .fc-row.fc-rigid .fc-content-skeleton{bottom:0}
.project_admin_wrap .fc-row.fc-rigid .fc-content-skeleton .selectable{position:relative;}
.project_admin_wrap .fc-row.fc-rigid .fc-content-skeleton .selectable::after{content: '';display: block;width: 100%;height:29px; background: var(--color-point);
    opacity: 0.4;position: absolute;top:0;left: 0;bottom: 0;box-sizing: border-box;}
.project_admin_wrap .fc-unthemed td.fc-widget-content.fc-today,
.project_admin_wrap .fc-unthemed td.fc-widget-content.fc-today::after{background:transparent;}

.cal_info_box{display: flex;align-items:center;gap: 8px;margin-top: 20px;justify-content: center;}
.cal_info_box > span{width: 20px;height: 20px;display: block;}
.cal_info_box > span:nth-of-type(1){border: 1px solid  #d8f4ff;background-color: #d8f4ff;}
.cal_info_box > span:nth-of-type(2){border: 1px solid  #ffdddd;background-color: #ffdddd;}
.cal_info_box > span:nth-of-type(3){background:#fff;border:1px solid #648FFF;}
.project_admin_wrap :is(.tb_tit,.tb_cont){display: block;width: 100%;}
.project_admin_wrap .ip_textarea{min-height: 100px;}
.project_admin_wrap [class*="btn_box_"]{margin-block: 10px;padding: 0;}
/*프로젝트 참여율 td hover시 포인트 컬러 */
.egate_fm_edit_view3 > tr > :is(th ,td).hover-gr:hover, 
.egate_fm_edit_view3 > :is(thead, tbody,tfoot) > tr > :is(th ,td).hover-gr:hover{font-weight:bold!important;color: var(--color-point)!important;}

.cal_box .fc-unthemed td.fc-widget-content.regday[class*="timecard"],
.fc-unthemed td.fc-widget-content.regday{background-color:#ffdddd!important;}
/*근태*/
.fc-unthemed td.fc-widget-content[class*="timecard"]{background-color:#d8f4ff!important;}

/*참여율 캘린더 : 오늘/근태 표시 색상 교체. fc-today는 다른 캘린더에서도 쓰여서 전역 규칙은 그대로 두고 이 캘린더에서만 재정의*/
.cal_box .fc-unthemed td.fc-widget-content.fc-today{background-color:#d8f4ff;}
.cal_box .fc-unthemed td.fc-widget-content.fc-today::after{content:none;}
.cal_box .fc-unthemed td.fc-widget-content[class*="timecard"]{background-color:#fff!important;position:relative;}
.cal_box .fc-unthemed td.fc-widget-content[class*="timecard"]::after{content:'';display:block;width:100%;height:100%;border:1px solid #648FFF;position:absolute;left:0;bottom:0;box-sizing:border-box;}

.egate_fm_edit_view3 td[role="target_project"] .ip_label{width:160px;max-width:160px;}
.chk_object_grid{columns:160px;column-gap:20px;}
.chk_object_grid .ip_label{display:block;break-inside:avoid;margin-bottom:10px;}

/* 모바일에서는 사이드봇의 기존 기능을 유지하고 헤더 아래 가로 바로 배치한다. */
@media (max-width: 768px), (max-width: 1024px) and (max-height: 768px) and (hover: none) and (pointer: coarse) {
    /* 모달 위치·스크롤은 CSS로만 보정하여 PC 전환 시 기존 인라인 설정이 그대로 적용된다. */
    .ui-dialog.mobile-dialog {position: fixed !important; top: 8px !important; left: 8px !important; min-width: 0 !important; min-height: 0 !important; max-width: calc(100vw - 16px) !important; max-height: calc(100vh - 16px) !important; max-height: calc(100dvh - 16px) !important; box-sizing: border-box; display: flex; flex-direction: column; overflow: hidden;}
    .ui-dialog.mobile-dialog > .ui-dialog-titlebar, .ui-dialog.mobile-dialog > .ui-dialog-buttonpane {flex: 0 0 auto;}
    .ui-dialog.mobile-dialog > .ui-dialog-content {flex: 1 1 auto; min-width: 0 !important; min-height: 0 !important; height: auto !important; padding-bottom: 16px !important; overflow: auto !important; -webkit-overflow-scrolling: touch;}
    .ui-dialog.mobile-dialog .egate_fm_wrap {min-width: var(--dialog-content-width, 600px) !important; height: auto !important; overflow: visible !important; box-sizing: border-box;}
    .ui-dialog.mobile-dialog .ui-dialog-content > form {height: auto !important;}
    .ui-dialog.mobile-dialog .egate_fm_container, .ui-dialog.mobile-dialog .egate_fm_container_outer, .ui-dialog.mobile-dialog .egate_fm_container_inner {position: static; height: auto !important; overflow: visible !important;}

    [data-ccm] #fm_pt_wrap .side_lst {position: fixed; top: 50px; left: 0 !important; right: 0 !important; bottom: auto; width: 100%; height: 64px !important; padding: 5px 8px; box-sizing: border-box; border: 0; border-bottom: 1px solid var(--border-n); border-radius: 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;}
    [data-ccm] #fm_pt_wrap .side_lst > ul {display: flex; gap: 8px; width: max-content; margin: 0;}
    [data-ccm] #fm_pt_wrap .side_lst > ul > li {flex: 0 0 52px; margin: 0;}
    [data-ccm] #fm_pt_wrap .side_lst > ul > li.etc::before {display: none;}

    /* 열린 패널도 같은 시작점을 사용하며 기존 좌우형 및 확대 너비를 덮어쓴다. */
    [data-ccm] #fm_pt_wrap .fm_slide_panel_bg {position: fixed; top: 114px; left: 0; bottom: 0; height: calc(100% - 114px);}
    [data-ccm] #fm_pt_wrap .slide_panel_area {top: 114px !important; left: 0 !important; right: 0 !important; bottom: 0; width: 100% !important; max-width: 100%; height: calc(100% - 114px) !important; border-radius: 0; transform: none !important; visibility: hidden; pointer-events: none; transition: none;}
    [data-ccm] #fm_pt_wrap .slide_panel_area.on {visibility: visible; pointer-events: auto;}
    [data-ccm] #fm_pt_wrap .side_bot_panels {overflow-x: auto;}
    [data-ccm] #fm_pt_wrap:has(.side_lst) #fm_pt_body {top: 114px !important; left: 0 !important; right: 0 !important; bottom: 0; width: 100% !important; height: calc(100% - 114px) !important;}
    [data-ccm] #fm_pt_wrap .floating_bottom {left: 12px;}

    /* 가로 스크롤 컨테이너 밖에 빠른작성 목록을 띄워 잘림을 방지한다. */
    [data-ccm] #fm_pt_wrap .quick_write_list {position: fixed; top: 114px; left: 8px; right: auto; max-height: calc(100vh - 122px); max-height: calc(100dvh - 122px); overflow-y: auto;}
}

