.container .content {
    height: auto;
}
.h720 {
    height: 760px !important;
}
.title div {
	display: inline-block;
}
.h720 > div:nth-child(1) {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* sub4(산불외종료 이력): 제목/안내문은 왼쪽에 두 줄, 검색영역은 오른쪽에 한 줄로 고정 */
.title.sub4-title {
    flex: 1;
    min-width: 0;
    margin-right: 20px;
}
.title.sub4-title > div {
    display: block;
}
@media screen and (min-width: 1281px) {
    .container .content .result .title.sub4-title > span {
        display: block;
        margin: 6px 0 0 0;
        line-height: 1.4;
    }
}
#dateWrap.sub4-date {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    white-space: nowrap;
}
#dateWrap.sub4-date input[type="date"] {
    margin-bottom: 0;
}
#dateWrap input[type="date"] {
    margin-top: 0px;
	margin-bottom: 12px;
    width: 128px;
    height: 26px;
    padding: 0 5px;
    border-radius: 3px;
    border: 1px solid var(--gray50);
	font-size: 14px;
	color: var(--gray90);
}
.paging a {
	cursor: pointer;
}
tr {
	height: 5.78vh;
}
span.fireExtText {
	display: inline-block;
	width: 50px;
	text-align: left;
}
.rb_WG img {
    margin: 0;
    width: 18px;
    height: 16px;
}
.btn {
	float: right;
    margin: 0px 0 0 10px;
    padding: 0 10px;
    height: 26px;
    font-weight: 600;
    border-radius: 3px;
    border: 1px solid var(--gray50);
    background: #fff;
    transition: all .2s;
	color: var(--gray90);
}
.container .content .result .title > div {
	font-size: 20px;
    color: #333;
}
.container .content .result .title > span {
	font-size: 14px;
    color: #666;
	margin: 0 0 0 20px;
}


@media screen and (max-width: 1280px){
	.h720 > div:nth-child(1) {
	    margin-bottom: 10px;
	}
	.container .content .result .title {
	    margin-bottom: 0;
	    height: 50px;
	}
	.container .content .result>.title span {
		display: none;
	}
	#dateWrap {
	    margin: 0 0 10px 0;
	    display: flex;
	    justify-content: end;
	}
	#dateWrap input[type="date"] {
    	margin-top: 0;
    	margin-bottom: 0;
	}
	label[for="startDtm"] {
	    margin-top: 40px;
	}
	.title div {
		display: block;
	}
}

@media screen and (max-width: 1000px){
	#dateWrap {
        margin: 0 0 0 0;
	}
	.h720 > div:nth-child(1) {
	    height: 85px;
	    align-items: normal;
	    margin-bottom: 10px;
	    flex-direction: column;
	}
    label[for="startDtm"] {
        margin-top: 5px;
    }
}

@media screen and (max-width: 920px){
	.container .content .result .title > span {
	    margin: 0 0 0 0;
	}
    span.rb_grade2 {
        width: 100% !important;
    }
}

@media screen and (max-width: 625px){
    .h720 > div:nth-child(1) {
        align-items: normal;
        margin-bottom: 10px;
        flex-direction: column;
    }
	.container .content .result .title {
        height: 50px;
    }
    .container .content .result .title > span {
	    font-size: 12px;
		line-height: 1;
	}
}

@media screen and (max-width: 530px) {
	.h720 {
	    height: 755px !important;
	}
	.h720 > div:nth-child(1) {
        height: 110px;
    }
}

@media screen and (max-width: 420px) {
	.tbl_card {
	    font-size: 12px;
	}
	#dateWrap input[type="date"] {
	    font-size: 13px;
	}
	span.rb_WG {
	    font-size: 13px;
	}
}

@media screen and (max-width: 360px) {
	#dateWrap input[type="date"] {
	    font-size: 12px;
	    width: 102px !important;
	}
	#dateWrap button {
    	margin: 0px 0 0 5px;
	    font-size: 12px;
	    padding: 0 6px;
    }
}

@media screen and (max-width: 320px) {
    label[for="startDtm"] {
	    display: flex;
	    flex-direction: column;
	    align-items: end;
	    gap: 4px;
    }
	.container .content .result .title {
        height: 75px;
    }
	.h720 > div:nth-child(1) {
        height: 130px;
    }
	#dateWrap button {
        width: 60px;
    }
	.container .content .result .title > span {
        font-size: 11px;
    }
}

/* 모바일: 날짜 검색영역이 한 줄에 안 들어가 왼쪽으로 잘리는 문제 -> 줄바꿈(날짜 2개 / 버튼 2개).
   위의 ≤530/≤360/≤320 고정 높이·너비 규칙보다 우선하도록 파일 맨 끝에 둔다. (sub2 / sub4 공용) */
@media screen and (max-width: 625px) {
    #dateWrap,
    #dateWrap.sub4-date {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 6px;
        white-space: normal;
    }
    #dateWrap input[type="date"] {
        flex: 1 1 calc(50% - 3px);
        width: auto !important;
        min-width: 0;
    }
    #dateWrap .btn {
        margin: 0;
    }
    .h720 > div:nth-child(1) {
        height: auto;
    }
}

/* 발생지역(2번째 열)은 왼쪽 정렬 - 진화자원이력(sub2) / 산불외종료 이력(sub4) 공용.
   sub.css 의 `.container .content .result .table table tbody tr td {text-align:center}` 보다 id 로 우선 */
#fireExtHistWrap table thead th:nth-child(2),
#fireExtHistWrap table tbody tr td:nth-child(2) {
    text-align: left;
    padding-left: 20px;
}
