/* 공통 디자인 */
body {
    font-family: 'NanumSquareNeo';
    color: #333;
}
* {
    box-sizing: border-box;
}
.inner {
    padding: 6rem 0;
}
.b-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #004D7C;
}
/* index */
#indexLoadImg {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #F7F8F8;
}
.indexLogo {
    position: absolute;
    left: 50%; top: 30%;
    transform: translateX(-50%);
    width: 40%;
}
.indexImg {
    position: absolute;
    left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 100%;
}
/* header */
header {
    position: fixed;
    left: 0; top: 0;
    width: 100%; height: 6rem;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    text-align: center;
    z-index: 999;
    background: #fff;
}
.back {
    display: block;
    position: relative;
    background: url(../img/prev.png) no-repeat center/contain;
    width: 1.7rem; height: 1.7rem;
    display: block;
}
.back:after {
    position: absolute;
    content: '';
    display: block;
    width: 2.5rem; height: 2.5rem;
    background: transparent;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
}
header a {
    display: block;
    width: 100%;
}
header a img {
    width: 22%;
}
/* home */
.home_top {
    display: flex;
    flex-flow: column nowrap;
    gap: 1.5rem;
    padding: 2rem 1.5rem 4rem;
}
.home_top .left {
	width: 100%;
    height: 20rem;
}
.home_top #map {
    width: 100%;
	height: 100%;
	border-radius: 1rem;
}
.home_top #map .leaflet-control-container {
	display: none;
}
.home_top .right {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    gap: 1.5rem;
}
.right li {
    width: calc(50% - 0.75rem);
    padding-bottom: .5rem;
}
.right li:last-child {
    padding-bottom: 0;
}
.right li a {
    display: block;
    width: 100%;
}
.right li a img {
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 5px;
    border-radius: .7rem;
}
.home-live {
    padding: 2rem 1.5rem 1rem;
}
.live_flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.live_more {
    position: relative;
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
}
.live_area {
    border-radius: .7rem;
}
.live_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.live_left {
    width: 25%;
}
.live_right {
    width: 75%;
}
.ing {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: #045582;
    background: #f7f8f8;
    border-radius: 1.5rem;
    padding: .7rem 0;
}
.name {
    font-size: 1.4rem;
    margin-left: 1rem;
    line-height: 1.3;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news_tit_area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem 2rem;
}
.news_tit {
    font-size: 1.8rem;
    font-weight: 900;
    color: #004D7C;
}
.news_more {
    font-size: 1.4rem;
    display: block;
    font-weight: 700;
}
.news-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 11rem;
    overflow: hidden;
    padding: 0 1.5rem;
}
.news-img {
    width: 48%;
    height: 150%;
}
.news-txt {
    display: flex;
    flex-direction: column;
    width: 48%;
    height: 100%;
}
.news-txt h2{
    font-size: 1.6rem;
    font-weight: 700;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}
.news-txt span {
    font-size: 1.1rem;
    font-weight: 700;
}
/* news */
.main_title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #004D7C;
    padding: 1.5rem 1.5rem 2rem;
}
.news-area2 {
    margin-bottom: 1.5rem;
}
.news-link2 {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 11rem;
    overflow: hidden;
    padding: 0 1.5rem;
}
.news-img2 {
    width: 48%;
    height: 150%;
}
.news-txt2 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 48%;
    height: 100%;
}
.news-txt2 h2{
    font-size: 1.6rem;
    font-weight: 700;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}
.news-txt2 span {
    font-size: 1.1rem;
    font-weight: 700;
}
/* qna */
.box{
    border: 1px solid #E8E8E8;
    margin: 0 1.5rem;
}
.box.open {
    background: #E3EDFA;
    border-radius: .5rem;
}
.question_inner {
    padding: 2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.box.open .question_inner {
    border-bottom: 1px solid #E6EBF0;
}
.question {
    font-size: 1.6rem;
    font-weight: 800;
    max-width: 25rem;
    line-height: 1.3;
}
.question_inner i {
    background: url(../img/qna_down.png) no-repeat center/contain;
    width: 1.2rem; height: 1.2rem;
}
.box.open .question_inner i {
    background-image: url(../img/qna_up.png);
}
.answer {
    display: none;
    font-size: 1.4rem;
    padding: 2rem 1.5rem;
    line-height: 1.4;
}
.box.open .answer {
    display: block;
}
/* sub */
.category {
    display: flex;
    margin: 0 1.5rem 3rem;
}
.category a {
    border-bottom: 1px solid #f9f9f9;
    width: 50%;
    font-size: 1.8rem;
    font-weight: 800;
    padding: 1rem 0;
    text-align: center;
}
.category a.on {
    color: #004D7C;
    border-bottom: 1px solid #004D7C;
}
.sub_title {
    color: #004D7C;
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: .5rem;
    margin: 3rem 1.5rem;
}
.sub_content {
    font-size: 1.4rem;
    line-height: 1.4;
    padding: 0 1.5rem 3rem;
}
.boxSub {
    padding: 1.5rem;
    border: 1px solid #E8E8E8;
    margin: 0 1.5rem 2rem;
    border-radius: 1rem;
}
.boxSub h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #004D7C;
    margin-bottom: 1rem;
}
.boxSub pre {
    font-size: 1.4rem;
    line-height: 1.4;
    padding: 0;
}
.boxToggle {
    padding: 1.5rem;
    border: 1px solid #E8E8E8;
    margin: 0 1.5rem 2rem;
    border-radius: 1rem;
    position: relative;
}
.boxToggle h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #004D7C;
    margin-bottom: 1rem;
}
.boxToggle pre {
    font-size: 1.4rem;
    line-height: 1.4;
    padding: 0;
    margin-bottom: 1rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-height: 1.5em;
    transition: max-height 0.3s ease, white-space 0.3s ease;
}
.boxToggle.open pre {
    white-space: normal;
    max-height: none;
}
.boxToggle .buttonWrap {
    display: flex;
    justify-content: flex-end;
}
.boxToggle button {
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    padding: 0.8rem 1.2rem;
    border-radius: 5rem;
    background: #004D7C;
    display: flex;
    align-items: center;
    gap: 1em;
}
.boxToggle button img {
    width: 1rem;
}
.table {
    text-align: center;
    margin: 0 1.5rem 2rem;
}
.table, td, th {
    border: 1px solid #1E74A1;
    border-collapse : collapse;
}
.table td {
    padding: 1rem;
    font-size: 1.3rem;
    color: #065683;
    font-weight: 700;
    line-height: 1.4;
}
.table td.back_color {
    padding: 1rem 1.5rem;
    background: #E0EBF9;
    color: #065683;
    font-weight: 800;
    font-size: 1.5rem;
}
/* map */
#map {
    width: 100vw;
    height: 100vh;
}
#map.lh_map {
    margin-top: 6rem;
}
.custom_marker_red {
    background-image: url(../img/map_1.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 3.5rem !important;
    height: 4rem !important;
}

.custom_marker_blue {
    background-image: url(../img/map_2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 3.5rem !important;
    height: 4rem !important;
}
.marker-cluster div {
    border-radius: 50% !important;
}

.leaflet-marker-icon { border-radius: 50%; text-align: center;}
.leaflet-marker-icon div { line-height:40px;}
.leaflet-marker-icon div span { font-size: 1.6rem;}

.leaflet-popup { bottom: 4rem !important; }
.leaflet-popup-content { font-size: 1.4rem;}
.leaflet-popup-close-button span {font-size: 1.4rem;}


.marker-cluster { width: 5rem !important; height: 5rem !important; border-radius: 50% !important; }
.marker-cluster > div { width: 4rem; height: 4rem; border-radius: 50%; position: absolute; margin-left: unset !important; margin-top: unset !important; top:50%; left: 50%; transform: translate(-50%,-50%);}

.sm { background-color: unset !important; /* width: 7rem !important; height: 7rem !important; */}
.sm > div {background-color: #164B60 !important; width: 4rem !important; height: 4rem !important; border-radius: 50%;}
.sm > div span { line-height:4rem; color: #fff;}
.md { background-color: unset !important; /* width: 7rem !important; height: 7rem !important; */}
.md > div {background-color: #164B60 !important; width: 4rem !important; height: 4rem !important; border-radius: 50%;}
.md > div span { line-height:4rem; color: #fff;}
.lg { background-color: unset !important; /* width: 7rem !important; height: 7rem !important; */}
.lg > div {background-color: #164B60 !important; width: 4rem !important; height: 4rem !important; border-radius: 50%;}
.lg > div span { line-height:4rem; color: #fff;}


.marker_info { position: fixed; right: 1.5rem; top: 10%; padding: 0.3rem 1rem; z-index: 9999; background: #ffffffcf; border-radius: 10px;}
.marker_info p { display: flex; align-items: center; font-size: 1.5rem; margin: 0.6rem 0; }
.marker_info p img { width: 2.5rem; margin-right: .7rem;}


#info_box { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 9999; border-radius: .7rem .7rem 0 0 ; background: #fff; margin-bottom: 7rem;}
#info_box.lh {
    padding: 1.5rem;
    border: 1px solid #E5EBFC;
    box-shadow: rgb(149 157 165 / 30%) 0px -8px 8px;
}
#info_box.newhome {
    padding: 1.5rem;
    border: 1px solid #E7D5FE;
    box-shadow: rgb(149 157 165 / 30%) 0px -8px 8px;
}
#info_box.lh .name_link {
    background: #CADAFE;
    border: 1px solid #E5EBFC;
    border-radius: .7rem;
}
#info_box.newhome .name_link {
    background: #DBC0FE;
    border: 1px solid #E7D5FE;
    border-radius: .7rem;}
#info_box .name_link {
    display: block; 
    width: 100%; 
    padding: 1.5rem 0; 
    font-size: 1.6rem; 
    font-weight: 600;
    color: #333;
    text-align: center;
    position: relative;
}
#info_box .name_link:after { content:''; background: url(../img/map-arrow.png) no-repeat center / contain; width: 1rem; height: 2rem; position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%);}
#info_box .detail_wrap { background: #fff; padding: 1.5rem 0; display: flex; flex-direction: column; gap: 1.5rem;}
#info_box .detail_wrap .cls { width: 100%; font-size: 1.6rem; text-align: center; font-weight: 500;}
#info_box .detail_wrap .cls:before { content: "유형 : "; font-size: inherit;font-weight: unset;}
#info_box .detail_wrap .state { width: 100%; font-size: 1.6rem; text-align: center; color: #ff2424;}
#info_box .detail_wrap .state:before { content: "공고상태 : "; font-size: inherit; color: #333;}
#info_box .detail_wrap .period { font-size: 1.6rem; width: 100%; text-align: center; }
#info_box .detail_wrap .period:before { content: '공고기간 : '; margin-right: 1rem;}

/* lh */
.lh-inner {
    padding: 3rem 2rem;
    margin-bottom: 7rem;
}
.lh-inner2 {
    padding: 3rem 2rem;
    margin-bottom: 7rem;
}
.input_wrap .lh-box {
    border: 1px solid #D7D7D7;
    border-radius: 1rem;
    display: flex;
    padding: .5rem 0 .5rem 0;
    margin: 2rem 1.5rem 1.5rem;
}
.input_wrap .lh-box input {
    width: 100%;
    font-size: 1.6rem;
}
.input_wrap .lh-box input::placeholder {
    font-size: 1.4rem;
    font-weight: 700;
    color: #D7D7D7;
}
.input_wrap .lh-box button {
    width: 15%;
    padding: 0.5rem 1rem;
    outline: none;
    border-radius: 1rem;
}
.input_wrap .lh-box button img {
    display: inline-block;
    width: 60%;
    margin-top: .3rem;
}
.state_select {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 1.5rem 2rem;
}
.state_select span {
    font-size: 1.4rem;
    font-weight: 700;
    margin-right: .5rem;
}
#type {
    font-size: 1.4rem;
    border: none;
    background-color: #F7F8F8;
    border-radius: 1rem;
    font-weight: 700;
    padding: 1rem 2.5rem 1rem .5rem;
    background-image: url(../img/down.png);
    background-repeat: no-repeat;
    background-position: 90%;
    background-size: 1.3rem;
}
#type option {
    font-size: 1.4rem;
}
.search_result li{
    padding: 0 1rem 1.5rem;
}
.search_link {
    display: block;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #e6e6e6;
}
.search_top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1rem;
}
.search_top .left {
    font-size: 1.3rem;
    background: #164B60;
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: .7rem 0;
    border-radius: 1.5rem;
    margin-right: .5rem;
    width: 30%;
}
.search_top .right {
    display: flex;
    align-items: center;
    width: 70%;
}
.search_ing {
    background: #F7F8F8;
    border-radius: 1.5rem;
    color: #164B60;
    font-weight: 800;
    padding: .7rem 1rem;
    border-radius: 1.5rem;
    margin-left: .5rem;
    font-size: 1.4rem;
}
.search_date {
    font-size: 1.3rem;
    line-height: 1.2;
    margin-left: .5rem;
    font-weight: 700;
}
.search_btm {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.search_btm .type {
    font-size: 1.4rem;
    background: #C2D7F4;
    color: #164B60;
    font-weight: 700;
    text-align: center;
    padding: .7rem 0;
    border-radius: 1.5rem;
    margin-right: .9rem;
    width: 30%;
}
.search_name {
    position: relative;
    width: 70%;
    font-size: 1.4rem;
    line-height: 1.3;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-left: .9rem;
}
.search_name:before {
    position: absolute;
    content: '';
    display: block;
    width: .1rem; height: 150%;
    left: 0; top: 50%;
    transform: translateY(-50%);
    background: #C9C9C9;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}
.pagination li a img {
    width: 70%;
    vertical-align: middle;
}
.pagination .prev a img {
    transform: rotate(180deg);
}
.pagination .page a {
    display: block;
    font-size: 1.4rem;
    margin: 0 1rem;
}
.allCount {
    text-align: center;
    padding: 3rem 0;
    font-size: 1.7rem;
    font-weight: 800;
}
.allCount img {
    display: inline-block;
    width: 40%;
    padding-bottom: 1.5rem;
}
.search_map {
    position: relative;
    display: block;
    margin: 8rem 1.5rem 0;
}
.search_map img {
    width: 100%;
}
.search_map span {
    display: block;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    position: absolute;
    left: 2rem; top: 2rem;
}
/* INFO */ 
.info_sub {
    font-size: 1.6rem;
    font-weight: 800;
    color: #004D7C;
    margin-bottom: 1rem;
}
.info_cont {
    padding: 1.5rem 1.5rem 4rem;
    font-size: 1.4rem;
    line-height: 1.4;
}
.info_img {
    display: block;
    width: 100%;
    margin-top: 1rem;
}


@media screen and (min-width: 700px) and (max-width: 1024px) {
    .inner {
        padding: 8rem 0;
    }
    header {
        height: 8rem;
    }
    header a img {
        width: 15%;
    }
    .news-link { 
        height: 13rem;
    }
    .news-link2 {
        height: 14rem;
    }
}