/* 의료진 소개 */

.doctor_info {
    display: flex;
    justify-content: space-between;
    margin: 100px auto 130px auto;
}
.doctor_info > div {
    width: 47%;
}
.doctor_info img {
    width: 100%;
}

@media (max-width: 1200px) {
    .doctor_info {
        flex-direction: column-reverse;
        gap: 10px;
        margin: 40px auto 80px auto;
    }
    .doctor_info > div {
        width: 100%;
    }
}

/* 시설안내 */
.dentist .tab-btn {
    display: flex;
    margin: 20px 0 40px 0;
}
.dentist .tab-btn input {
    display: none;
}
.dentist .tab-btn label {
    text-align: center;
    font-family: 'NotoSerifKR';
    font-weight: 500;
    font-size: 20px;
    color: #00000082;
    width: 100%;
    padding: 0 8px;

    border-left: 1px solid #cccccc;
}
.dentist .tab-btn label:last-child {
    border-right: 1px solid #cccccc;
}
.dentist .tab-btn label:hover {
    cursor: pointer;
}
.dentist .tab-btn input:checked + label {
    color: #595248;
    font-weight: 600;
}

/* 탭 메뉴 내용 스타일 */
.dentist .tab-content {
}
#tab-content2,
#tab-content3,
#tab-content4,
#tab-content5,
#tab-content6,
#tab-content7,
#tab-content8 {
    display: none;
}

/* =========== info-interior ======== */
.gallery-top {
    position: relative;
    height: 80%;
    width: 100%;
    overflow: hidden;
}
.gallery-thumbs {
    position: relative;
    height: 20%;
    padding: 10px 0;
    overflow: hidden;
}
.gallery-thumbs .swiper-slide {
    width: 20%;
    height: 100%;
    opacity: 0.4;
}
.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

#gallery img {
    width: 100%;
}
#gallery .swiper-button-prev,
#gallery .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}
#gallery .swiper-button-prev:after,
#gallery .swiper-rtl .swiper-button-next:after {
    display: none;
}
#gallery .swiper-button-next:after,
#gallery .swiper-rtl .swiper-button-prev:after {
    display: none;
}
#gallery .swiper-button-prev i,
#gallery .swiper-button-next i {
    font-size: 16px;
}
#gallery .swiper-button-prev {
    left: 10px;
}
#gallery .swiper-button-next {
    right: 10px;
}
#gallery .swiper-button-prev:hover,
#gallery .swiper-button-next:hover {
    background-color: rgba(22, 22, 22, 0.8);
    color: #fff;
}

.gallery {
    margin-bottom: 120px;
}

@media (max-width: 1200px) {
    .gallery {
        margin-bottom: 60px;
    }
    .dentist .tab-btn {
        margin: 20px auto;
        /* flex-direction: column; */
        /* max-width: 350px; */
    }
    .dentist .tab-btn label {
        padding: 8px 15px;
        font-size: 0.5rem;
        padding: 0 2px;
    }
}

/* 게시판 커스텀 스타일 */
.case-wrap {
    margin: 300px 0 100px 0;
}

@media (max-width: 900px) {
    .case-wrap {
        margin: 100px 0 50px 0;
    }
}

#wrapper {
    margin-top: 0px;
}

/* ========= info-map ========= */
.map ul.flex > li > div {
    padding: 50px 0;
    height: 350px;
    border: 1px solid #dfdfdf;
}
.map ul.flex h5 {
    margin-top: 10px;
    font-family: 'NanumSquare', san-serif;
    font-weight: 800;
    transform: skew(-0.1deg);
}
.map ul.flex p {
    position: relative;
    margin-top: 10px;
    padding-top: 20px;
    font-weight: 700;
}
.map ul.flex p::before {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background-color: #ddd;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
}
.map ul.flex > li:nth-child(2) p span:nth-child(2) {
    background: #47af1b;
}
.map ul.flex > li:nth-child(2) p span:nth-child(3) {
    background: #00afbd;
}
.map .root_daum_roughmap {
    width: calc(100% - 20px) !important;
    margin: 0 auto;
}

/*================================================================ 1500px 이하 ================================================================= */
@media screen and (max-width: 1500px) {
}

/*================================================================ 1200px 이하 ================================================================= */
@media screen and (max-width: 1200px) {
    #wrapper {
        margin-top: 0;
    }
    .time-table article {
        margin-top: 40px;
    }
}

/*================================================================ 900px 이하 ================================================================= */
@media screen and (max-width: 900px) {
}

/*================================================================ 769px 이하 ================================================================= */
@media screen and (max-width: 769px) {
    /* =========== info-dentist ======== */

    /* =========== info-time ======== */
    .time-table ul {
        display: block;
        max-width: 500px;
        margin: 0 auto;
    }
    .time-table ul li img {
        width: 70%;
    }
    .time-table ul li:last-child {
        margin: 40px auto 0;
    }
    .time-table h6 {
        font-size: 18px;
    }

    /* ========= info-map ========= */
    .map ul.flex {
        flex-wrap: wrap;
        justify-content: center;
    }
    .map ul.flex > li {
        width: 100%;
    }
    .map ul.flex > li > div {
        height: auto;
    }
}

/*========================================================================================================================================= */
/*================================================================ banner ================================================================= */
/*========================================================================================================================================= */

/* common */
.banner-bg {
    padding: 220px 0;
}
.banner-bg h2 {
    font-family: 'NotoSerifKR';
    color: #fff;
    text-align: center;
}
.banner-bg p {
    color: #fff;
    text-align: center;
    font-size: 13px;
    letter-spacing: 2px;
}

/* 예가온 커스텀 */
.sub_bg_01.banner-bg {
    background: url(../img/sub/sub_bg_01.jpg) center/cover no-repeat;
}
.sub_bg_02.banner-bg {
    background: url(../img/sub/sub_bg_02.jpg) center/cover no-repeat;
}
.sub_bg_03.banner-bg {
    background: url(../img/sub/sub_bg_03.jpg) center/cover no-repeat;
}
.sub_bg_04.banner-bg {
    background: url(../img/sub/sub_bg_04.jpg) center/cover no-repeat;
}
.sub_bg_05.banner-bg {
    background: url(../img/sub/sub_bg_05.jpg) center/cover no-repeat;
}

/* about */
.about-bg.banner-bg {
    background: url(../img/sub/about_bg.jpg) center/cover no-repeat;
}
.info-dentist-bg.banner-bg {
    background: url(../img/sub/info_dentist_bg.jpg) center/cover no-repeat;
}
.info-equipment-bg.banner-bg {
    background: url(../img/sub/info_equipment_bg.jpg) center/cover no-repeat;
}
.info-interior-bg.banner-bg {
    background: url(../img/sub/info_interior_bg.jpg) center/cover no-repeat;
}
.info-time-bg.banner-bg {
    background: url(../img/sub/info_time_bg.jpg) center/cover no-repeat;
}
.info-map-bg.banner-bg {
    background: url(../img/sub/info_map_bg.jpg) center/cover no-repeat;
}
.info-special-bg.banner-bg {
    background: url(../img/custom/info_special_bg.jpg) center/cover no-repeat;
}

/* sub2, sub3 */
.implant-bg.banner-bg {
    background: url(../img/sub/implant_bg.jpg) center/cover no-repeat;
}
.ortho-bg.banner-bg {
    background: url(../img/sub/ortho_bg.jpg) center/cover no-repeat;
}
.basic-bg.banner-bg {
    background: url(../img/sub/basic_bg.jpg) center/cover no-repeat;
}
.member-bg.banner-bg {
    background: url(../img/sub/login_bg.jpg) center/cover no-repeat;
}

/* sub4 */
.wisdom-bg.banner-bg {
    background: url(../img/sub/wisdom_bg.jpg) center/cover no-repeat;
}
.jaw-point-bg.banner-bg {
    background: url(../img/sub/jaw_point_bg.jpg) center/cover no-repeat;
}
.caries-bg.banner-bg {
    background: url(../img/sub/caries_bg.jpg) center/cover no-repeat;
}
.prosthetic-bg.banner-bg {
    background: url(../img/sub/prosthetic_bg.jpg) center/cover no-repeat;
}
.denture-bg.banner-bg {
    background: url(../img/sub/denture_bg.jpg) center/cover no-repeat;
}
.gum-therapy-bg.banner-bg {
    background: url(../img/sub/gum_therapy_bg.jpg) center/cover no-repeat;
}
.root-canal-bg.banner-bg {
    background: url(../img/sub/root_canal_bg.jpg) center/cover no-repeat;
}
.aesthetic-bg.banner-bg {
    background: url(../img/sub/aesthetic_bg.jpg) center/cover no-repeat;
}
.tooth-bg.banner-bg {
    background: url(../img/sub/tooth_bg.jpg) center/cover no-repeat;
}

/*================================================================ 1500px 이하 ================================================================= */
@media screen and (max-width: 1500px) {
}

/*================================================================ 1200px 이하 ================================================================= */
@media screen and (max-width: 1200px) {
    .banner-bg {
        padding: 150px 0;
    }
}

/*================================================================ 1025px 이하 ================================================================= */
@media screen and (max-width: 1025px) {
}

/*================================================================ 900px 이하 ================================================================= */
@media screen and (max-width: 900px) {
}

/*================================================================ 769px 이하 ================================================================= */
@media screen and (max-width: 769px) {
    .banner-bg {
        padding: 100px 0;
    }
}

/*================================================================ 600px 이하 ================================================================= */
@media screen and (max-width: 600px) {
}

/*================================================================ 425px 이하 ================================================================= */
@media screen and (max-width: 425px) {
    .banner-bg {
        padding: 60px 0;
    }
}

/*========================================================================================================================================= */
/*================================================================ banner ================================================================= */
/*========================================================================================================================================= */
