@charset "UTF-8";
/************************************/
/* 모듈별 반응형 설정은 모듈별 css파일에 작성 */
/************************************/

:root{
	--padding : 20px;
	--border-radius : 20px;
}




/* 데스크탑 */
@media all and (max-width : 1536px) {

.org-box .dept-items .dept .mem-group {flex-direction: column;}


}

/* 노트북, 작은 데스크탑 */
@media all and (max-width : 1280px) {
	/*html, body {font-size: 14px;}*/
	.menu .menu-ul .submenu-ul li a {height: 50px;}

	.page-title-wrap {flex-direction: column;gap: 15px;height: unset;}
	.page-title-wrap .page-title {order: 2;width: 100%;padding: 5px;}
	.page-title-wrap .top-wrap {order: 1;width: 100%;justify-content: space-between;}
	.page-title-wrap .top-wrap .total-search-wrap {flex: 1;max-width: 400px;}
	.page-title-wrap .top-wrap .total-search-wrap input {width: 100%; height: 35px;}

	.file_list .file_attch_wrapper .file_name::before {background-size: cover;width: 15px;height: 18px;}
	.file_list .file_attch_wrapper .file_size_box {font-size:0.8rem;margin-top: 3px;text-align: center;flex: 0 0 auto;}

	.search-form-wrap form .input-wrap {min-height: 40px;}
	.category-wrap ul li label span {height: 28px;padding: 0 15px 0 30px;line-height: 28px;}
	.category-wrap ul li label span::before {width: 17px;height: 17px;}

	.org-box .dept-items .dept.executive {flex-direction: column;}
	.org-box .dept-items .dept.executive .mem-items.leader {flex-direction: column;}
	.org-box .dept-items.sub {padding-left: 30px;}
	.org-box .dept-items.sub::before {left: 90px; top: -114px; height: calc(100% + 100px);}
	.org-box .dept-items.sub .dept:first-child::after,
	.org-box .dept-items .dept .mem-items.leader .mem:has(dl.ceo) + .mem dl.leader::after {content: none;}
}

/*일반 태블릿, 작은 노트북*/
@media all and (max-width : 1024px) {
	:root{
		--font-size: 15px;
	}
	.search-form-wrap form {padding: 15px;flex-wrap: wrap; gap: 0;}
	.search-form-wrap form .options-wrap {display: flex;flex-direction: column;flex: 1 1 100%;}
	.search-form-wrap form .input-wrap {width:100% !important;}
	.search-form-wrap form .input-wrap .input-label {width: 80px;}
	.search-form-wrap form .input-wrap .input-value {width: calc(100% - 80px);padding-right: 0px;}
	.search-form-wrap form :is(input, button).btn-search {margin-left: auto;align-self: flex-end;margin-top: 15px;}



	/*
	td에 data-col 값을 num/category/title/detail 네가지중 선택하여 작성.
	data-col이 detail 인 요소는 data-col-type 값을 user/hit/comment/file/date 중 선택하여 작성.
	*/
	.table-wrap {border-top: 2px solid #535353;border-bottom: 2px solid #535353;}
	.table-wrap table, .table-wrap thead, .table-wrap tbody, .table-wrap th, .table-wrap td, .table-wrap tr {display: block;min-width: unset;}
	.table-wrap thead {display: none;}
	.table-wrap table tr:hover {filter:unset;}
	.table-wrap table tr {display:flex;flex-wrap:wrap;gap: 2px;border-bottom: 1px solid #ddd;padding: 0.7rem 0.5rem;}
	.table-wrap table tr:last-child {border-bottom: none;}
	.table-wrap table tr td {border-bottom: unset;text-align: left;padding: 0px;height: auto;line-height: unset;}
	.table-wrap table tr td[data-col=num] {flex: 0 0 30px;font-size: 0.9rem;font-weight: 200;height: auto;display: flex;align-items: center;}
	.table-wrap table tr td[data-col=num] .notice {font-size: 0px;background-color: unset;width: 20px;height: 20px;display: inline-block;background-image: url('/static/images/com/icon_notice.png');background-position: center;background-repeat: no-repeat;background-size: 15px;padding: 0px;}
	.table-wrap table tr td[data-col=title] {flex: 0 0 calc(100% - 32px);padding: 5px 0;font-weight: bold;}
	.table-wrap table tr td[data-col=title] .ctgr:empty {display:none;}
	.table-wrap table tr td[data-col=detail] {display:none;}
	.table-wrap table tr td[data-col=user] {margin-left: 30px;margin-right: 10px;}
	.table-wrap table tr td[data-col=user], .table-wrap table tr td[data-col=date] {font-size: 0.9rem;color: #8f8f8f;font-weight: 300;margin-top: 3px;}
	.table-wrap .ctgr {padding: 3px 5px;}

	.form-wrap .input-wrap {flex-direction: column;align-items: flex-start;gap: 5px;height: auto;padding: 10px 0;}
	.form-wrap .input-wrap .input-label {padding: 10px 0 0 0;margin-top: 0px;}
	.form-wrap .input-wrap .input-label > * {font-size: 1.0rem;font-weight: bold;}
	.form-wrap .input-wrap.cont .input-value,
	.form-wrap .input-wrap .input-value {padding: 2px 0;width: 100%;}
	.form-wrap .input-wrap .input-value > * {font-weight: 300; position: relative;}
	.form-wrap .input-wrap .input-value input[type=text],
	.form-wrap .input-wrap .input-value textarea,
	.form-wrap .input-wrap .input-value select,
	.form-wrap .input-wrap .input-value div.like-input {width: 100% !important;}

	.form-wrap .input-wrap .input-value input[type=text] + button,
	.form-wrap .input-wrap .input-value input[type=text] + input[type=button] {position: absolute; right: 4px; top: 50%; transform: translateY(-50%);}


	/*
		반응형 테이블 유형 2
	*/
	.table-wrap.res {border: 0;}
	.table-wrap.res table tr {display:flex; flex-wrap: wrap; gap: 2px; border: 1px solid #d8e3ff; padding: 0; border-radius: 10px; margin-bottom: 1.25rem; position: relative;}
	.table-wrap.res table th,
	.table-wrap.res table td {white-space: normal;}
	.table-wrap.res table td {width: 100%; order: 2; height: 3rem; /*line-height: 3rem;*/ padding: 0 20px; width: 48%; display: flex; align-items: center;}
	.table-wrap.res table td.td-hide {display: none;}
	.table-wrap.res table td.td-btn {height: 0;}

	.table-wrap.res table td.td-title {order: 1; background: #f1f5ff; border-top-left-radius: 10px; border-top-right-radius: 10px; width: 100%; text-align: left; font-weight: 600; white-space: nowrap; text-align: left;}
	.table-wrap.res table td.td-title span.title {width: calc(100% - 96px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
	.table-wrap.res table td.td-title::after {content: attr(data-add-word);}
	.table-wrap.res table td.td-title:hover {background-color: #eaf1ff;}
	.table-wrap.res table td.td-detail {position: relative; padding-left: 114px;}
	.table-wrap.res table td.td-detail::before {content: attr(data-label); color: grey; position: absolute; left: 20px;}
	.table-wrap.res .btn {position: absolute; top: 6%; right: 1%;}

	.table-wrap.res .td-btn .btns {position: absolute; top: 10%; right: 1%;}

	.table-wrap.res .btn.btn-modify {border: 1px solid #3490de; box-shadow: none; color: #3490de; padding: 4px 10px;}
	.table-wrap.res .btn.btn-modify, .table-wrap.res .btn.btn-view {border: 1px solid #3490de; box-shadow: none; color: #3490de; padding: 4px 10px;}

	.pagination {padding: 20px 0;}
	.pagination ul li a {width: 30px;height: 30px;}
	.pagination ul li.first a::before,
	.pagination ul li.prev a::before,
	.pagination ul li.next a::before,
	.pagination ul li.last a::before{background-size: 20px;background-position: center;}

	#map {height: 300px;}
}


/*작은 태블릿, 큰 모바일*/
@media all and (max-width : 820px) {
	#container {flex-direction: column;}
	#container:has(.gnb > .menu.active)::before{content: '';width: calc(100% - var(--padding)*2);height: calc(100% - var(--padding)*2);position: absolute;background-color: #0000009e;z-index: 9;border-radius: var(--border-radius);}
	#container .gnb {min-height: 60px;height: auto;width: 100%;position: relative;background-color: #fff;border-radius: var(--border-radius) var(--border-radius) 0 0;padding: 0 var(--padding);display: flex;justify-content: space-between;z-index: 8px;align-items: center;}
	#container .gnb:has(.menu.active){z-index:unset;}
	#container .gnb .logo {width: 50px;height: 100%;}
	#container .gnb .logo a {display: flex;align-items: center;}
	#container .gnb > .menu {flex: 1;position: relative;height: 60px;text-align: right;}
	#container .gnb >.menu.active {position: absolute;height: calc(100vh - var(--padding)*2);top: 0;right: 0;display: flex;flex-direction: column;align-items: end;background-color: #fff;border-radius: var(--border-radius) 0 0 var(--border-radius);z-index: 11;overflow-y: auto;}
	#container .gnb >.menu .btn-menu {background-image: url('/static/images/com/icon_menu_right.png');width: 60px;height: 60px;display: inline-block;background-repeat: no-repeat;background-size: 22px;background-position: center;}
	#container .gnb >.menu.active .mobile-menu {width: 100%;padding: 0 var(--padding);border-bottom: 1px solid #eee; position: relative;}
	#container .gnb >.menu.active .btn-menu {background-image: url('/static/images/com/icon_menu_cancel.png');z-index: 1;}

	#container .gnb >.menu .menu-ul {width: 0px;overflow-y: auto;display: none;height: unset;flex: 1;}
	#container .gnb >.menu.active .menu-ul {display: flex;width: 100%;max-width: 400px;flex: 1;padding: 0 var(--padding);}
	#container .gnb >.menu .menu-ul > li {background-color: #fff;flex-direction: column;height: unset;max-height: unset;border-top: 1px solid #f3f3f3;padding-top: 10px;margin-bottom: 10px;}
	#container .gnb >.menu .menu-ul > li:first-child {border-top: 0px;}
	#container .gnb >.menu .menu-ul > li > a {width: 100%;background-position-x: 0;background-position-y: center;background-size: 18px;background-color: unset;border-radius: unset;height: 40px;}
	#container .gnb >.menu .menu-ul > li > a::after {top: 0;left: 35px;height: 100%;display: flex;align-items: center;padding: 0;width: calc(100% - 35px);transform: unset;color: #333;font-size: 1.2rem;}
	#container .gnb >.menu .menu-ul > li > a.active::after {color: #3490de;}
	#container .gnb >.menu .menu-ul > li .submenu {display: block;height: auto;position: initial;box-shadow: none;padding: 0;}
	#container .gnb >.menu .menu-ul > li .submenu .submenu-title {display: none;}
	#container .gnb >.menu .menu-ul > li .submenu .submenu-ul {height: auto;padding-left: 15px;}
	#container .gnb >.menu .menu-ul > li .submenu .submenu-ul li {text-align: left;}
	#container .gnb >.menu .menu-ul > li .submenu .submenu-ul li a {line-height: 1rem;font-size: 1rem;font-family: 'Pretendard';width: 100%;display: inline-block;height: auto;padding: 5px 0 5px 12px;}
	#container .gnb >.menu .menu-ul > li .submenu .submenu-ul li > a.active {color: #3490de;}
    #container .gnb >.menu .menu-ul > li .submenu .submenu-ul[data-level="2"] > li.active > a {color: #3490de;}
    #container .gnb >.menu .menu-ul > li .submenu .submenu-ul ul li.active > a::before {background: #3490de;}
	/*#container .gnb .menu .menu-ul > li .submenu .submenu-ul li.active a {color: #3490de;}*/
	#container .main {width: 100%;flex: 1;border-radius: 0 0 var(--border-radius) var(--border-radius);position: unset;}
	.bnpost > div {padding: 10px 5px;}
	.form-wrap .form-view-title,
	.form-wrap .form-view-cont,
	.form-wrap .form-view-comment,
	.form-wrap .form-view-bot {padding: 20px 0px !important;}
	.form-wrap .form-view-title .ctgr {padding: 5px 10px !important;border-radius: 5px;}

	ul.tab-menu {height: unset;}
	ul.tab-menu::before {bottom: 3px;}
	ul.tab-menu li a {line-height: unset;padding: 7px;font-size: 1rem;}

	.form-title {margin: 15px 0 10px 0;}
	.page-content .btn-wrap {padding: 10px 0;}

	.office {display: none;}
	.menu.active .m-office {display: flex;}

}

@media (max-width: 700px){

	.table-wrap.res table td {width: 100%; order: 2; height: 2.6rem; /*line-height: 2.6rem;*/ padding: 0 20px; }
	.table-wrap.res .td-btn .btns {top: 8px;}
	.table-wrap.res .btn {top: 3%;}

	#headerOrganizationPopup .total-search-wrap {flex-direction: column; flex-direction: column; align-items: flex-end;}
	#headerOrganizationPopup .total-search-wrap .btn-total-search {right: 15px;}
	#headerOrganizationPopup .total-search-wrap input {width: 100%; padding-left: 12px; padding-right: 32px;}
	
	#previewPopup .base-popup-content,
	#previewPopup .base-popup-content:has(embed) {width: 100%; border-radius: 0; height: 100%; max-height: 100vh; max-width: 100vw; min-width: unset;}
}


/*스마트폰*/
@media (max-width : 639px) {
	:root{
		--padding : 15px;
		--border-radius : 15px;
	}
	:is(input, button).btn-add {padding: 5px 15px;}
	.table-header-right select {font-size: 0.9rem;}

	#container {padding: 0;}
	#container:has(.gnb > .menu.active)::before {border-radius:0px;width: 100%;height: 100%;}
	#container .gnb {border-radius: 0px;box-shadow: 0px 8px 10px #00000012;}
	#container .gnb .menu.active {height: 100vh;}
	#container .main {border-radius: 0px;}
	div.content .conts-top {border-radius: var(--border-radius);}
	div.content .conts-bottom {border-radius: var(--border-radius);}
	.table-wrap table tr td[data-col=detail] {flex:1 1 100%;order:5;}
	/*ul.tab-menu::before {bottom: 2px;}*/


	.page-title-wrap {}
	.page-title-wrap h2.page-title {display: flex;/*flex-direction: column;*/gap: 8px;border-top: 1px solid #ededed;padding-top: 15px; flex-wrap: wrap; align-items: center;}
	.page-title-wrap h2.page-title span {font-size: 1.2rem;width: fit-content;}
	.page-title-wrap h2.page-title span.active {font-size: 1.5rem;}
	.page-title-wrap .top-wrap {flex-direction: column;}
	.page-title-wrap .top-wrap .total-search-wrap {order: 2;max-width: unset;}
	.page-title-wrap .top-wrap .user-info-wrap {order: 1;justify-content: end;}
	.page-title-wrap .top-wrap .user-info-wrap .btn-more-wrap {width: 164px;top: calc(100% + 5px);}


	.table-header {flex-direction: column;align-items: flex-end;gap: 5px;height: auto;padding: 15px 0;font-size: 0.9rem;}
	.table-wrap table tr td[data-col=detail][data-col-type=date] {flex:1 1 100%;order:5;}

	.search-form-wrap form .options-wrap {gap: 10px;}
	.search-form-wrap form .input-wrap {flex-direction: column;align-items: flex-start;gap: 5px;}
	.search-form-wrap form .input-wrap .input-label {width: 100%;}
	.search-form-wrap form .input-wrap .input-value {width: 100%;}
	.search-form-wrap form .input-wrap .input-value > * {width: 100% !important;}
	.search-form-wrap form .input-wrap .input-value > *:not(input[type="radio"], .radio-box > label) {font-size: 0.9rem;/*height:30px;*/ height: auto; min-height: 30px;}

	/*.page-content .btn-wrap {padding: 0;}
	.btn-wrap {position: fixed; bottom: 3%; right: 7%; z-index: 10; display: flex; flex-direction: column; gap: 8px;}
	.btn-wrap > div {display: flex; flex-direction: column; gap: 8px;}
	.btn-wrap .btn {border-radius: 50% !important; width: 60px; height: 60px; text-align: center; line-height: 60px; padding: 0 !important;  background: #ecececab !important; border: 1px solid #d5d5f7 !important; color: #4f4f69 !important;}
	.btn-wrap .btn.btn-list {background: #ffffff9c !important; color: #3788d8 !important; }
	.btn-wrap .btn.btn-delete {color: #9e1515 !important;}
*/
	.page-content .btn-wrap {display: block; text-align: right;}
	.page-content .btn-wrap div {display: inline;}
	.page-content .btn-wrap .btn {margin-bottom: 2px;}
	/*.btn-wrap:has(div) {flex-direction: column; gap: 4px;}*/
	
	#container.scrolled .gnb {box-shadow:none;border-bottom: 1px solid #e7e7e7;}
	#container.scrolled .btn-wrap {display: flex; flex-direction: row; gap: 0; position: fixed; top: 60px; z-index: 2; background: #fff; width: 100%; left: 0; padding: var(--padding); border-bottom: 1px solid #b9b9b94f; box-shadow: 0px 8px 10px #00000012;}
	#container.scrolled .btn-wrap .btn {border: 0; color: #333; background: none; padding: 0 8px; border-radius: 0; box-shadow: unset; font-size: 0.9rem;}
	#container.scrolled .btn-wrap .btn:last-child {padding: 0;}
	

	.file_wrap {flex-direction: column;}
	.file_list .file_attch_wrapper {flex-direction: column; align-items: flex-start;}

	.note-btn {font-size:12px; padding:2px 7px;}
	.note-editor .note-toolbar>.note-btn-group, .note-popover .popover-content>.note-btn-group {margin-right: 3px;margin-top: 3px;}

	.pagination ul {max-width: 340px;margin: 0 auto;}
	.pagination ul li a {width: 23px;height: 23px;}


	.info-box .desc dl {padding: 0 0 20px 0; display: flex; width: 100%; flex-direction: column; gap: 8px;}
	.info-box .desc dl dt {width: 100%; padding-left: 0; color: #8f8f8f;}
	.info-box .desc dl dd {width: 100%; padding-left: 0;}
	.info-box .desc dl dd::before {content: none;}

	.error-container .error-box {width: 90%;}

    .base-popup-wrapper .base-popup-content.action {width: 100%; height: 100%; max-height: 100%; max-width: 100%; border-radius: 0; padding: var(--padding);}
}

@media (max-width : 460px) {
	
	/*모바일일때 여백 완전히 없애기*/
	.inner{padding: 0px;padding-bottom: 15px;}
	div.content .conts-top {padding-top:15px;border-radius: 0px;}
	div.content .conts-bottom {border-radius: 0px;}
	
	
	.pagination ul li a {background: none;width: 20px;height: 20px;}
	.pagination ul li.active a {background: none;color: var(--point-blue);font-weight: bold;}
	.pagination ul li.active a:before {content: '';position: absolute;width: 12px;border-bottom: 2px solid var(--point-blue);border-radius: 0px;bottom: -2px;}

	.org-box .dept-items.sub {padding-left: 12px;}
	.org-box .dept-items.sub::before {left: 60px;}
	.org-box .dept-items .dept .dept-name {width: 98px;}
	.org-box .dept-items .dept .mem-items .mem dl {width: 120px; padding: 10px;}

}


/*스마트폰 이하*/
@media (max-width : 420px) {
	:root{
		--padding : 10px;
		--border-radius : 10px;
	}
	/*.inner {padding: var(--padding);}*/
	div.content .conts-bottom {padding: var(--padding);}
	.search-form-wrap form { }
	.pagination ul li a {width: 15px;height: 15px;}

}