/*jqgrid custom*/
table {
    font-family: "NanumSquare", sans-serif
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: hsla(0, 0%, 42%, 0.2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

#lui_list {
    display: none !important;
}

#load_list {
    display: none !important;
}

.ui-widget-content {
    border: 0px !important;
    width: 100%;
}

.ui-jqgrid-resize {
    display: none !important;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    /*background: none !important;*/
    color: transparent;
    border-radius: 0;
}

.sub-content-content input[type=checkbox] {
    display: block;
    height: auto;
}

.sub-content-content .ui-jqgrid-bdiv {
    overflow-y: auto;
}

.sub-content-content .ui-jqgrid-hdiv .ui-jqgrid-htable {
    width: 100% !important;
}

.sub-content-content .ui-jqgrid-hdiv .ui-jqgrid-htable th {
    padding: 10px 0;
    background-color: #f4f6f7;
    color: #555;
    text-align: center;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-size: 14px;
}

.ui-jqgrid-hdiv .ui-jqgrid-htable tr {
    border-bottom: 0;
    border-right: 0;
}

.sub-content-content .ui-jqgrid-hdiv .ui-jqgrid-htable tr th:first-child {
    border-left: none;
}

.sub-content-content .ui-jqgrid-hdiv .ui-jqgrid-htable tr th:last-child {
    border-right: none;
}

.sub-content-content .ui-jqgrid-hdiv .ui-jqgrid-htable th .ui-jqgrid-sortable {
    position: relative;
    font-size: 14px;
    text-align: center;
}

.sub-content-content .ui-jqgrid-hdiv .ui-jqgrid-htable th .ui-jqgrid-sortable span.s-ico {
    position: absolute;
    right: 10px;
}

.sub-content-content .ui-jqgrid-hdiv .ui-jqgrid-htable th {
    padding: 10px 0;
    background-color: #f4f6f7;
    color: #555;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.sub-content-content .ui-jqgrid-hdiv .ui-jqgrid-htable th:not([style*="display: none"]) {
    border-left: none;
}

.sub-content-content .ui-jqgrid-hdiv .ui-jqgrid-htable th:first-child {
    border-left: none;
}

.sub-content-content .ui-jqgrid-hdiv .ui-jqgrid-htable th .ui-jqgrid-sortable span.s-ico .ui-icon-triangle-1-s {
    margin-left: -5px;
}

.sub-content-content .ui-jqgrid-bdiv .ui-jqgrid-btable {
    width: 100% !important;
}

.sub-content-content .ui-jqgrid-bdiv .ui-jqgrid-btable .jqgfirstrow {
    /*border: 0 !important;*/
    border: none !important;
}

.sub-content-content .ui-jqgrid-bdiv .ui-jqgrid-btable .jqgfirstrow td {
    padding: 0 !important;
    border: none !important;
}

.sub-content-content .ui-jqgrid-bdiv .ui-jqgrid-btable tr {
    border-bottom: 1px solid #ddd !important;
    border-right: 0 !important;
}

.sub-content-content .ui-jqgrid-bdiv .ui-jqgrid-btable tr:focus {
    background: #F4F9FF;
    /*background: transparent;*/
    cursor: default;
}

.sub-content-content .ui-jqgrid-bdiv .ui-jqgrid-btable tr:hover {
    background: #F4F9FF;
    /*background: transparent;*/
    cursor: default;
}

.sub-content-content .ui-jqgrid-bdiv .ui-jqgrid-btable td {
    padding: 8px 5px 8px 5px;
    cursor: pointer;
    /*cursor: default;*/
    font-weight: 400;
    border-right: 0;
}

.sub-content-content .pagenation .ui-pg-input {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    text-align: center;
    border-radius: 4px;
    margin-right: 16px;
    padding: 0 !important;
}

.sub-content-content .pagenation .ui-pg-selbox {
    /*min-width: 120px;*/
    min-width: 80px;
    margin-top: 8px;
    margin-right: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url(/images/intro/arrow.png) no-repeat;
    background-position: center right 10px;
    padding-left: 14px;
    padding-right: 25px;
    height: 40px;
    border-radius: 4px;
    border: solid 1px #ddd;
    background-color: #fff;
    color: #767676;
    font-weight: 400;
    margin-left: 200px;
}

.sub-content-content .pagenation .ui-pg-button {
    padding: 0px 15px;
}

.sub-content-content .pagenation .ui-pg-table #pager_left,
.sub-content-content .pagenation .ui-pg-table #pager_center,
.sub-content-content .pagenation .ui-pg-table #pager_right {
    background: #f5f5f5;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 7px 30px;
}

/*//jqgrid custom*/
caption {
    position: absolute;
    overflow: hidden;
    width: 0px;
    height: 0px;
}


.ui-icon.ui-icon-seek-first {
    background: url(/images/intro/prev_all.png) no-repeat;
}

.ui-icon.ui-icon-seek-prev {
    background: url(/images/intro/prev.png) no-repeat;
}

.ui-icon.ui-icon-seek-next {
    background: url(/images/intro/next.png) no-repeat;
}

.ui-icon.ui-icon-seek-end {
    background: url(/images/intro/next_all.png) no-repeat;
}

.ui-jqgrid-titlebar {
    position: absolute;
    overflow: hidden;
    width: 0px;
    height: 0px;
}

/*20260520 모바일반응형웹적용*/
@media (max-width: 768px) {
    #renewal-wrap .form-table {
        overflow: visible;
    }

    .sub-content-content .ui-jqgrid,
    .sub-content-content .ui-jqgrid-view,
    .sub-content-content .ui-jqgrid-bdiv,
    .sub-content-content .ui-jqgrid-pager {
        width: 100% !important;
    }

    /* 헤더 숨김 */
    #list thead,
    #list .jqgfirstrow {
        display: none !important;
    }

    /* 테이블을 카드형으로 변경 */
    #list,
    #list tbody,
    #list tr,
    #list td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }

    #list tr.jqgrow {
        margin-bottom: 12px;
        padding: 12px;
        border: 1px solid #ddd !important;
        border-radius: 8px;
        background: #fff;
    }

    #list td {
        position: relative;
        padding: 6px 0 6px 88px !important;
        border: none !important;
        text-align: left !important;
        white-space: normal !important;
        word-break: keep-all;
        line-height: 1.5;
    }

    #list td[style*="display:none"],
    #list td[style*="display: none"] {
        display: none !important;
    }

    #list td::before {
        position: absolute;
        left: 0;
        top: 6px;
        width: 78px;
        color: #666;
        font-weight: 700;
    }

    .form-table {
        border-radius: 8px;
        padding: 12px;
    }

    .form-table::before {
        width: 96% !important;
        background-color: #eee !important;
    }

    .form-row {
        display: flex;
        align-items: center; /* 높이가 다를 때 세로 중앙 정렬 */
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }

    .form-label {
        flex: 0 0 30%; /* 왼쪽 제목 영역의 너비를 30%로 고정 */
        font-weight: bold;
        color: #333;
    }

    .form-value {
        flex: 1; /* 나머지 공간을 모두 차지 */
        color: #666;
    }

    .form-value a {
        text-decoration: underline !important;
        color: #0c82e9 !important;
    }

    #list td[aria-describedby="list_prmisnDe"]::before {
        content: "허가일";
    }

    #list td[aria-describedby="list_prmisnNo"]::before {
        content: "허가번호";
    }
	 #list td[aria-describedby="list_cnwNm"]::before {
        content: "공사명";
    }
	
	 #list td[aria-describedby="list_entNm"]::before {
        content: "시행자";
    }

    #list td[aria-describedby="list_cnstrctEntNm"]::before {
        content: "시공업체";
    }

    #list td[aria-describedby="list_cnwpdDt"]::before {
        content: "공사기간";
    }

    #list td[aria-describedby="list_cnwNm"] a {
        color: #0B76D2;
        font-weight: 700;
        text-decoration: underline;
    }

    /* 페이징 모바일 정리 */
   

    /* 모바일 페이징 정렬 */
	  /* 페이징 전체 박스 */
    #pager {
        min-height: 96px !important;
        padding: 12px 14px !important;
        background: #f5f6f7;
        border-radius: 6px;
        overflow: visible !important;
        box-sizing: border-box;
    }

    #pg_pager,
    #pg_pager > .ui-pg-table,
    #pg_pager > .ui-pg-table > tbody,
    #pg_pager > .ui-pg-table > tbody > tr {
        height: auto !important;
        overflow: visible !important;
    }

    #pg_pager > .ui-pg-table > tbody > tr {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    #pager_left {
        width: 100% !important;
        text-align: left !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    #pager_center {
        width: 100% !important;
        text-align: center !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    #pager_center .ui-pg-table {
        margin: 0 auto !important;
        width: auto !important;
    }

    #pager_right {
        display: none !important;
    }


    .sub-content-content .pagenation .ui-pg-selbox {
        margin: 0 4px 0 8px !important;
        min-width: 64px;
        height: 36px;
    }

    .sub-content-content .pagenation .ui-pg-input {
        width: 40px;
        height: 36px;
        margin-right: 4px;
    }

    .sub-content-content .pagenation .ui-pg-button {
        padding: 0 3px !important;
    }
	
	
}