@charset "utf-8"; /*레인보우필름*/
#container .subpage_top_title.index {
    position: relative;
}

#container .subpage_top_title.index .bg {
    background: url(./img/bg.png) no-repeat bottom center / cover;
    position: absolute;
    height: 65%;
    bottom: 0;
    left: 0;
    width: 100%;
}

/*리스트*/
.infomation {
    display: none;
}

form.search_form {
    padding: 40px 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f7f7f7;
    width: 100%;
    margin-bottom: 80px;
}

form.search_form::before {
    content: '검색';
    font-size: 18px;
    font-weight: 700;
    line-height: 60px;
    display: inline-block;
    margin-right: 0;
}

form.search_form input[type="text"], form.search_form select {
    border: 1px solid #ddd;
    border-radius: 0;
    flex: 1;
    max-width: 300px;
    background: white;
    height: 60px;
    padding: 0 24px 0;
    margin-left: 0;
    font-size: 16px;
    color: #333;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

form.search_form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 24px center;
    padding-right: 50px;
}

form.search_form select:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

form.search_form button {
    width: 120px;
    flex-shrink: 0;
    border: 0;
    border-radius: 0;
    color: white;
    background: url(./img/icon_search.png) no-repeat left 31px center black;
    line-height: 60px;
    height: 60px;
    font-weight: 700;
    padding-left: calc(18px + 8px);
}

#map {
    width: 100%;
    height: 400px;
    margin-bottom: 80px;
}

.sub_container.index .table_info .total {
    margin-bottom: 24px;
    line-height: 1;
}

.sub_container.index .table_info .total span {
    color: #3AB6F3;
}

.sub_container.index .table_info {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
}

.sub_container.index .table_info ul {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: flex-end;
    gap: 12px;
    width: auto;
    margin-left: auto;
    max-width: calc(4 * 200px + 3 * 24px);
}

.sub_container.index .table_info ul li {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    font-size: 16px;
    line-height: 1;
    font-weight: bold;
    flex: 0 0 auto;
}

.sub_container.index .table_info ul li.filter-btn {
    cursor: pointer;
}

.sub_container.index .table_info ul li.filter-btn span{
    cursor: pointer;
}

.sub_container.index .table_info ul li.filter-btn:hover {
    opacity: 0.8;
}

.sub_container.index .table_info ul li.filter-btn.active {
    opacity: 1;
}

.sub_container.index .table_info ul li.filter-btn.active span {
    /* box-shadow: 0 0 0 2px #3AB6F3; */
    color: #3AB6F3;
}

.sub_container.index .table_info ul li.filter-btn img {
    height: 32px;
    width: auto;
}

.sub_container.index .shop_table td.level img {
    height: 28px;
    width: 84px;
}

.sub_container.index .shop_table td.level img[src*="3th_"] {
    width: 28px;
}

.sub_container.index .shop_table td.level {
    text-align: center;
}

.sub_container.index .shop_table td.level .level-badges {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 172px;
}

.sub_container.index .shop_table td.align_left {
    text-align: left;
}

.sub_container.index .shop_table td.align_left a {
    color: #888;
}

.sub_container.index .shop_table th {
    background: #f7f7f7;
}

.sub_container.index .shop_table td.icon {
    font-size: 0;
}

.sub_container.index .shop_table td.icon span:last-child {
    font-size: 18px;
    font-weight: bold;
}

.sub_container.index .shop_table td span.batt {
    margin-right: 4px;
    border-radius: 8px;
    height: 16px;
    line-height: 16px;
    padding: 0 8px 0 20px;
    color: white;
    font-size: 12px;
    display: inline-block;
    margin-right: 4px;
    font-weight: bold;
}

.sub_container.index .shop_table td span.batt_all,.map_info_title span.batt_all {
    background: url(./img/icon_all.png) no-repeat left 8px center #FF814C;
}

.sub_container.index .shop_table td span.batt_pre,.map_info_title span.batt_pre {
    background: url(./img/icon_pre.png) no-repeat left 8px center #CEC541;
}

.sub_container.index .shop_table td span.batt_pre_pro,.map_info_title span.batt_pre_pro {
    background: url(./img/icon_pre.png) no-repeat left 8px center #633DC2;
    padding-left: 26px;
}

.sub_container.index .shop_table td span.batt_pro,.map_info_title span.batt_pro {
    background: url(./img/icon_pro.png) no-repeat left 8px center #37A76C;
    padding-left: 26px;
}

.sub_container.index .shop_table td span.batt_s,.map_info_title span.batt_s {
    background: url(./img/icon_s.png) no-repeat left 8px center #435ECA;
}

.sub_container.index .shop_table td span.batt_ppf,.map_info_title span.batt_ppf {
    background: url(./img/icon_ppf.png) no-repeat left 8px center #633DC2;
}

.sub_container.index .shop_table td span.batt_c,.map_info_title span.batt_c {
    background: url(./img/icon_c.png) no-repeat left 8px center #CE41BB;
}

.sub_container.index .shop_table td span.batt_as,.map_info_title span.batt_as {
    background: url(./img/icon_as.png) no-repeat left 8px center #CE4151;
}

.sub_container.index .shop_table td.btns a:nth-child(1) {
    background: black;
    margin-right: 8px;
}

.sub_container.index .shop_table td.btns a:nth-child(2) {
    background: #3AB6F3;
    display: none;
}

.sub_container.index .shop_table td.btns a {
    display: inline-block;
    padding: 4px 8px 4px;
    line-height: 1;
    color: white;
    font-size: 16px;
    text-decoration: unset !important;
    border-radius: 4px;
}

.map_info_title {
    font-size: 0;
    display: flex;
    justify-content: center;
}

.map_info_title span.batt {
    margin-right: 2px;
    font-size: 0;
    width: 28px;
    background-position-x: center !important;
    padding: 0 !important;
    border-radius: 10px;
}

.map_info_title b {
    font-size: 16px;
    display: inline-block;
    margin-left: 4px;
    line-height: 1;
}

.map_info_box {
    text-align: center;
    font-size: 14px;
    line-height: 1;
    width: max-content;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #3AB6F3;
    background: white;
    margin: -4px -4px -4px;
    position: relative;
}

.map_info_box::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 8px;
    background: url(./img/map_img1.png) no-repeat center center;
    position: absolute;
    bottom: -8px;
    left: calc(50% - 6px);
}

.map_info_address {
    margin: 4px 0 4px;
    letter-spacing: -.7px;
}

.clickable-item {
    cursor: pointer;
}

/*자세히보기*/
.sub_container.view .main_title .batt {
    margin-right: 4px;
    padding-left: 20px;
    font-size: 12px;
    color: white;
    font-weight: 500;
    padding-right: 8px;
    border-radius: 10px;
}

.sub_container.view .main_title span.batt_all {
    background: url(./img/icon_all.png) no-repeat left 8px center #FF814C;
}

.sub_container.view .main_title span.batt_pre {
    background: url(./img/icon_pre.png) no-repeat left 8px center #CEC541;
}

.sub_container.view .main_title span.batt_pre_pro {
    background: url(./img/icon_pre.png) no-repeat left 8px center #633DC2;
    padding-left: 26px;
}

.sub_container.view .main_title span.batt_pro {
    background: url(./img/icon_pro.png) no-repeat left 8px center #37A76C;
    padding-left: 26px;
}

.sub_container.view .main_title span.batt_s {
    background: url(./img/icon_s.png) no-repeat left 8px center #435ECA;
}

.sub_container.view .main_title span.batt_ppf {
    background: url(./img/icon_ppf.png) no-repeat left 8px center #633DC2;
}

.sub_container.view .main_title span.batt_c {
    background: url(./img/icon_c.png) no-repeat left 8px center #CE41BB;
}

.sub_container.view .main_title span.batt_as {
    background: url(./img/icon_as.png) no-repeat left 8px center #CE4151;
}

.sub_container.view .main_title div {
    margin-bottom: 16px;
    font-size: 0;
}

.sub_container.view td, .sub_container.view th {
    border-right: 1px solid #ddd;
}

.sub_container.view tr td:last-child,.sub_container.view tr th:last-child {
    border-right: 0;
}

.sub_container.view .shop_images {
    margin-top: 80px;
}

.sub_container.view .shop_images b {
    display: block;
    margin-bottom: 24px;
    font-size: 22px;
    line-height: 1;
}

.sub_container.view .shop_images .shop_image_wrap {
    display: flex;
    gap: 24px;
}

.sub_container.view .shop_images .shop_image_wrap img {
    width: calc((100% - 24px - 24px) / 3);
}

.sub_container.view .shop_images .shop_image_wrap .noimg {
    display: flex;
    gap: 24px;
    width: 100%;
}

.sub_container.view .shop_images .shop_image_wrap .noimg div {
    width: calc((100% - 24px - 24px) / 3);
    background: url(./img/noimg.png) no-repeat center center #ddd;
    height: 200px;
}

.sub_container.view .btns.view {
    margin-top: 80px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.sub_container.view .btns.view a {
    line-height: 50px;
    width: 180px;
    text-align: center;
    border-radius: 8px;
    color: white;
}

.sub_container.view .btns.view a:nth-child(1) {
    background: #333;
}

.sub_container.view .btns.view a:nth-child(2) {
    background: #8AD598;
    display: none;
}

.sub_container.view .shop_image_wrap .img {
    background: url(./img/noimg.png) no-repeat center center #ddd;
    width: 100%;
}

/*공통*/
table {
    border-top: 2px solid black;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

table td {
    text-align: center;
}

table th {
    background: #f7f7f7;
}

table td, table th {
    border-bottom: 1px solid #ddd;
    line-height: 1;
    padding: 20px 12px;
}

table tr:last-child td {
    border-bottom: 1px solid black;
}

/*페이지네이션*/
.pagination {
    margin-top: 56px;
}

.pg_wrap {
    float: none;
    margin: 0 auto 0;
    display: flex;
    justify-content: center;
}

.pg_wrap .pg {
    display: flex;
    gap: 8px;
}

.pg_wrap .pg .pg_current {
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    background: white;
    color: black;
    font-size: 16px;
    border-radius: 0;
    border: 1px solid #ddd;
}

.pg_wrap .pg .pg_page {
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    background: #f7f7f7;
    color: black;
    font-size: 16px;
    border-radius: 0;
    border: 1px solid #ddd
}

.pg_wrap .pg .pg_start {
    background: url(/theme/basic/img/icon_page_arr2.png) no-repeat center center white;
    transform: scaleX(-1);
}

.pg_wrap .pg .pg_end {
    background: url(/theme/basic/img/icon_page_arr2.png) no-repeat center center white;
}

.pg_wrap .pg .pg_prev {
    background: url(/theme/basic/img/icon_page_arr.png) no-repeat center center white;
    transform: scaleX(-1);
}

.pg_wrap .pg .pg_next {
    background: url(/theme/basic/img/icon_page_arr.png) no-repeat center center white;
}

.bo_v_nb li:last-child {
    border-color: black;
}

.bo_v_nb li {
    border-color: black;
    background: unset !important;
}

.bo_v_nb li .nb_tit {
    color: black;
    font-weight: bold;
}

.bo_v_nb li .nb_tit i {
    display: none;
}

.bo_v_nb li .nb_date {
    color: black;
}

/* 1600px 이하일때 */
@media (max-width: 1600px) {
}

/* 1200px 이하일때 */
@media (max-width: 1200px) {
    .sub_container.index .table_info {
        position: relative;
    }

    .sub_container.index .table_info ul {
        display: none;
    }

    .sub_container.index .table_info ul.active {
        display: block;
        position: absolute;
        background: white;
        padding: 16px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        border: 2px solid black;
        border-radius: 8px;
        right: 0;
        top: 32px;
    }

    .sub_container.index .table_info ul.active::before {
        content: '▲';
        color: white;
        margin-top: -29px;
        position: absolute;
        right: 60px;
        text-shadow: 0 -4px 0 black;
        font-size: 16px;
    }

    .infomation {
        display: block;
        font-weight: bold;
        cursor: pointer;
    }

    .infomation::before {
        content: 'i';
        margin-right: 4px;
        border-radius: 50%;
        font-size: 14px;
        width: 21px;
        height: 21px;
        display: inline-block;
        border: 2px solid black;
        font-weight: bold;
        text-align: center;
        line-height: 18px;
    }

    .sub_container.index .shop_table td.icon div {
        display: flex;
        flex-wrap: wrap;
    }

    .sub_container.index .shop_table td.icon span {
        margin: 4px 1px 4px;
    }

    .sub_container.index .table_info ul li {
        font-weight: normal;
    }
}

.mobile {
    display: none;
}

.desktop {
    display: inline-block;
}

/* 768px 이하일때 (모바일) */
@media (max-width: 768px) {
    .sub_container.view .btns.view a:nth-child(2) {
        background: #8AD598;
        display: inline-block;
    }

    .sub_container.index .shop_table td.btns a:nth-child(2) {
        display: inline-block;
    }
}

/* 900px 이하일때 */
@media (max-width: 900px) {
    .mobile {
        display: block;
    }

    .desktop {
        display: none;
    }

    table {
        font-size: 16px;
    }

    table.shop_detail tr:first-child {
        display: none;
    }

    table.shop_detail tr:last-child {
        display: flex;
        flex-direction: column;
    }

    table.shop_detail tr:last-child td:last-child {
        border-bottom-color: black;
    }

    table.shop_detail tr td {
        text-align: left;
        padding: 0;
        border-bottom-color: #ddd;
        border-right-width: 0;
        display: flex;
        align-items: center;
    }

    table.shop_detail tr:last-child td:nth-child(1)::before {
        content: '시공점명';
        text-align: center;
        font-weight: bold;
        background: #f7f7f7;
        width: 160px;
        padding: 16px 12px 16px;
        border-right: 1px solid #ddd;
        display: inline-block;
        margin-right: 16px;
    }

    table.shop_detail tr:last-child td:nth-child(2)::before {
        content: '주소';
        text-align: center;
        font-weight: bold;
        background: #f7f7f7;
        width: 246px;
        padding: 16px 12px 16px;
        border-right: 1px solid #ddd;
        display: inline-block;
        margin-right: 16px;
    }

    table.shop_detail tr:last-child td:nth-child(3)::before {
        content: '대표';
        text-align: center;
        font-weight: bold;
        background: #f7f7f7;
        width: 160px;
        padding: 16px 12px 16px;
        border-right: 1px solid #ddd;
        display: inline-block;
        margin-right: 16px;
    }

    table.shop_detail tr:last-child td:nth-child(4)::before {
        content: '전화번호';
        text-align: center;
        font-weight: bold;
        background: #f7f7f7;
        width: 160px;
        padding: 16px 12px 16px;
        border-right: 1px solid #ddd;
        display: inline-block;
        margin-right: 16px;
    }

    table.shop_detail tr:last-child td:nth-child(5)::before {
        content: '핸드폰';
        text-align: center;
        font-weight: bold;
        background: #f7f7f7;
        width: 160px;
        padding: 16px 12px 16px;
        border-right: 1px solid #ddd;
        display: inline-block;
        margin-right: 16px;
    }

    .sub_container.index .table_info .total {
        font-size: 16px;
    }

    .sub_container.view .shop_images .shop_image_wrap,.sub_container.view .shop_images .shop_image_wrap .noimg {
        gap: 16px;
    }

    .sub_container.view .shop_images .shop_image_wrap img {
        width: calc((100% - 16px - 16px) / 3);
    }

    .sub_container.view .shop_images .shop_image_wrap .noimg div {
        background-size: 60%;
    }

    .infomation {
        font-size: 16px;
    }

    .infomation::before {
        width: 17px;
        height: 17px;
        line-height: 15px;
    }

    /* .sub_container.index .shop_table tr:has(th) th:nth-child(4),.sub_container.index .shop_table tr td:nth-child(4){display: none;} */
    .sub_container.index .shop_table td.btns a:nth-child(1) {
        margin-right: 4px;
    }

    .sub_container.index .shop_table tr:has(th) th:nth-child(5) {
        width: 120px;
    }

    .sub_container.index .shop_table tr:has(th) th:nth-child(2) {
        width: auto;
    }

    .sub_container.index .shop_table td.icon span:last-child {
        font-size: 16px;
    }

    #container .subpage_top_title.index .bg {
        height: 70%;
    }
}

/* 500px 이하일때 */
@media (max-width: 500px) {
    form.search_form {
        flex-wrap: wrap;
        gap: 8px;
    }

    form.search_form input[type="text"], form.search_form select {
        flex: 1 1 100%;
        max-width: 100%;
        font-size: 16px;
        padding: 0 12px 0;
        margin-left: 0;
    }

    form.search_form select {
        padding-right: 40px;
        background-position: right 12px center;
    }

    form.search_form::before {
        display: none;
    }

    form.search_form button {
        width: 100px;
        font-size: 16px;
        background-position: left 22px center;
        padding-left: 20px;
    }

    table.shop_table tr:has(th) {
        display: none;
    }

    table.shop_table {
        display: block;
        width: 100%;
    }

    table.shop_table tbody {
        display: block;
        width: 100%;
    }

    tr.shop-item {
        display: flex;
        flex-direction: column;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding-top: 16px;
    }

    tr.shop-item td {
        padding: 2px 12px 2px;
        text-align: left;
        border-bottom-width: 0;
        box-sizing: border-box;
        width: 100%;
    }

    tr.shop-item td.btns {
        border-bottom-width: 1px;
        padding-bottom: 16px;
        padding-top: 8px;
    }

    .sub_container.index .shop_table td.btns a:nth-child(1) {
        margin-right: 4px;
    }

    .sub_container.index .shop_table td.icon span:last-child {
        padding-bottom: 4px;
        font-size: 18px;
        width: 100%;
    }

    tr.shop-item td:first-child {
        display: none;
    }

    .sub_container.view .shop_images .shop_image_wrap,.sub_container.view .shop_images .shop_image_wrap .noimg {
        flex-direction: column;
    }

    .sub_container.view .shop_images .shop_image_wrap img,.sub_container.view .shop_images .shop_image_wrap .noimg div {
        width: 100%;
        background-size: 40%;
    }

    .sub_container.view .btns.view {
        flex-direction: column;
    }

    .sub_container.view .btns.view a {
        width: 100%;
    }

    table.shop_table tr:last-child td {
        border-bottom-width: 0;
    }

    table.shop_table tr:last-child td:last-child {
        border-bottom-width: 1px;
    }
}

/* 400px 이하일때 */
@media (max-width: 400px) {
    #container .subpage_top_title.index .bg {
        height: 60%;
    }
}
