footer * {
    font-size: 1.7rem;
}
footer img {
    vertical-align: middle;
    height: 48px;
}
#footer {
    background-color: #f4f5f6;
    color: #808080;
    line-height: 1.5;
    font-size: 1.7rem;
}
#footer .footer_wrap {
    width: 128rem;
    max-width: calc(100% - 3.2rem);
    margin: 0 auto;
    position: relative;
    padding: 4rem 0 2.4rem;
}
#footer .footer_top {
    margin-bottom: 4rem;
}
#footer .footer_info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 4rem;
}
#footer .footer_info .addr {
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
}
#footer .footer_info .link_area {
    width: 30rem;
}
#footer .link_lst a {
    display: inline-block;
    line-height: 2rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
}
#footer .link_lst .ico-new-window:after {
	margin: 0 0 0.3rem 0.2rem;
}
.footer_bottom {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    padding-top: 0.5rem;
    gap: 3rem;
    border-top: 1px solid #808080;
}
#fnb {
    position: relative;
    z-index: 0;
    margin-bottom: .8rem;
}
#fnb .fnb_lst {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
#fnb .fnb_lst li a {
    display: flex;
    height: 4rem;
    align-items: center;
    position: relative;
    transition: all .2s;
}
#fnb .fnb_lst li.point_color_blue .ico-new-window:after {
    font-weight: 700;
    color: #003ba9;
}
.r_arrow_icon:after {
    content: "";
    display: inline-block;
    position: relative;
    top: -.2rem;
    margin-left: .4rem;
    width: 2rem;
    height: 2rem;
    vertical-align: middle;
    background: url("../img/icon_gnb_rightArrow.png") no-repeat center;
    background-size: 1.6rem auto;
}
.copyright {
	color: #464c53
}
.txt_small {
	font-size: 1.5rem;
    font-weight: 400;
}
.identifier {
	display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    gap: 1rem;
    width: 100%;
    min-height: 4rem;
    padding: 0.8rem 1.6rem;
    border-radius: 0.6rem;
    background-color: #ffffff;
}
.identifier .logo img {
    width: 5rem;
    height: 2.4rem;
    margin-right: 1rem;
}
.ban-txt {
	font-size: 1.5rem;
}
.ico-new-window:after {
    content: '';
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    margin: 0 0 0 0.2rem;
    vertical-align: middle;
    background-size: contain;
    background-size: 2rem 2rem;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../img/ico-new-window.svg);
}

/* 산불신고 팝업 시작 */
.ui-dialog {
	border: 1px solid rgb(149 149 149 / 46%) !important;
    box-shadow: rgba(51, 51, 51, 0.2) 1px 1px 20px 1px !important;
    min-height: auto;
}
.ui-dialog-titlebar {
    background: #149088;
    color: white;
    border: none;
    padding: 15px;
}
.ui-dialog-title {
    font-size: 18px;
    font-weight: bold;
}
.ui-dialog-titlebar-close {
    background: transparent;
    border: none;
    color: white;
}
.ui-dialog-titlebar-close:hover {
    background: rgba(255,255,255,0.2);
}
.ui-dialog-content {
    padding: 20px !important;
    overflow-y: auto;
}
.ui-dialog-buttonpane {
    background: #f5f5f5;
    border-top: 1px solid rgb(149 149 149 / 46%);
}
.ui-dialog-buttonpane .ui-button {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
}
.ui-dialog-buttonpane .ui-button:hover {
    background: #3a7bc8;
}
/* X 버튼 스타일 */
.custom-fire-sttmn-dialog .ui-dialog-titlebar {
    color: white;
    border: none;
    padding: 15px 50px 15px 20px; /* 오른쪽 여백 확보 */
    border-radius: 8px 8px 0 0;
    position: relative;
}
.custom-fire-sttmn-dialog .ui-dialog-title {
    font-size: 18px;
    font-weight: bold;
}
.custom-fire-sttmn-dialog .ui-dialog-titlebar-close {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-indent: -9999px !important; /* 기본 텍스트 숨김 */
}
.custom-fire-sttmn-dialog .ui-dialog-titlebar-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 4px !important;
}
.custom-fire-sttmn-dialog .ui-dialog-titlebar-close * {
    display: none !important;
}
/* 기본 아이콘 숨기고 × 표시 */
.custom-fire-sttmn-dialog .ui-dialog-titlebar-close .ui-button-icon {
    display: none;
}
.custom-fire-sttmn-dialog .ui-dialog-titlebar-close::before {
    content: '×' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 32px !important;
    font-weight: 300 !important;
    text-indent: 0 !important;
}
/* 컨텐츠 영역 */
.custom-fire-sttmn-dialog .ui-dialog-content {
    overflow: visible !important;
    padding: 20px !important;
}
.fire-sttmn-QR {
	width: 100%;
}
/* 산불신고 팝업 끝 */


@media screen and (max-width: 900px) {
	#footer .footer_info {
		flex-direction: column; 
	}
	footer *, .txt_small, .ban-txt {
	    font-size: 1.2rem;
	}
	.identifier .ban-txt {
		font-size: 1.1rem;
	}
	footer img {
	    height: 35px;
	}
	#footer .footer_top {
	    margin-bottom: 2rem;
	}
    #footer .footer_info .link_area .link_lst {
	        padding: 1rem 0 0 0;
    }
    #footer .link_lst a {
	        padding: 0 0 0 0;
    }
	#footer .footer_wrap {
	    padding: 2.5rem 0 1.4rem;
	}
	#footer .footer_info {
	    margin-bottom: 1rem;
	}
	.footer_bottom {
	    gap: 0.5rem;
	}
}

@media screen and (max-width: 800px) {
	.ui-dialog {
		width: 500px !important;
	}
}

@media screen and (max-width: 550px) {
	.ui-dialog {
		width: 400px !important;
	}
}

@media screen and (max-width: 430px) {
	.ui-dialog {
		width: 350px !important;
	}
}

@media screen and (max-width: 390px) {
	#footer .footer_info .addr .tel_num {
	    display: flex;
    	flex-direction: column;
	}
	.ui-dialog {
		width: 300px !important;
	}
}