@CHARSET "UTF-8";

/* 건강정보 */
.health_info_wrap .health_top{position:relative;padding-top:75px;font-size:1.8rem;font-weight:600;text-align:center;}
.health_info_wrap .health_top::after{content:'';position:absolute;top:0;left:50%;width:48px;height:50px;margin-left:-24px;background:url(/nanum/site/health/img/icon_health_top.png) no-repeat;background-size:cover;}

.health_info_wrap .srch_box{display:flex;justify-content:center;align-items:center;margin:30px 0;padding:30px 0;background:#f9f9f9;font-size:1.6rem;}
.health_info_wrap .srch_box .srch_input{min-width:370px;height:40px;padding:0 10px;border:1px solid #d5d5d5;font-size:1.5rem;font-weight:700;box-sizing:border-box;}
.health_info_wrap .srch_box .srch_input::placeholder{font-weight:500;color:#d5d5d5;}
.health_info_wrap .srch_box .srch_input::-webkit-input-placeholder{font-weight:500;color:#d5d5d5;}
.health_info_wrap .srch_box .srch_input:-ms-input-placeholder{font-weight:500;color:#d5d5d5;}
.health_info_wrap .srch_box .srch_btn{height:40px;margin-left:4px;padding:0 20px;border:0;background:#666;font-size:1.6rem;color:#fff;cursor:pointer;}

.health_info_wrap .slide_bnr{position:relative;overflow:hidden;height:300px;margin-bottom:40px;font-size:0;line-height:0;}
.health_info_wrap .slide_bnr .swiper-slide img{width:100%;height:300px;object-fit:cover;}
.health_info_wrap .slide_bnr .swiper-button{position:absolute;top:50%;width:37px;height:58px;margin-top:-29px;background-repeat:no-repeat;background-size:cover;cursor:pointer;z-index:5;}
.health_info_wrap .slide_bnr .swiper-button-disabled{opacity:0.5;cursor:default;}
.health_info_wrap .slide_bnr .swiper-button.next{right:30px;background-image:url(/nanum/site/health/img/btn_slide_next.png);}
.health_info_wrap .slide_bnr .swiper-button.prev{left:30px;background-image:url(/nanum/site/health/img/btn_slide_prev.png);}
.health_info_wrap .slide_bnr .swiper-pagination{bottom:20px;font-size:0;line-height:0;z-index:5;}
.health_info_wrap .slide_bnr .swiper-pagination .swiper-pagination-bullet{background:#fff;opacity:1;}
.health_info_wrap .slide_bnr .swiper-pagination .swiper-pagination-bullet-active{width:24px;background:#009ef6;border-radius:8px;}

.health_info_wrap .list_type{padding-top:10px;/*border-top:2px solid #000;*/}
.health_info_wrap .list_type ul{display: grid;grid-template-columns: 1fr 1fr 1fr 1fr;gap: 30px;}
.health_info_wrap .list_type ul li{border-bottom:1px solid #e5e5e5;box-sizing:border-box;}
.health_info_wrap .list_type ul li a{display:block;}
.health_info_wrap .list_type ul li .thumb{height: 180px;font-size:0;line-height:0;border:1px solid #d5d5d5;border-radius: 15px;overflow: hidden;}
.health_info_wrap .list_type ul li .thumb img{width:100%;height:100%;object-fit:cover;}
.health_info_wrap .list_type ul li .cont{padding:20px 0 30px;}
.health_info_wrap .list_type ul li .cont .info{display:flex;justify-content:space-between;align-items:center;}
.health_info_wrap .list_type ul li .cont .info .cate{font-size:1.4rem;font-weight:700;color:#009ef6;}
.health_info_wrap .list_type ul li .cont .info .date{font-size:1.5rem;font-weight:500;color:#888;letter-spacing:0;}
.health_info_wrap .list_type ul li .cont p.title{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:10px;font-size:2.1rem;line-height:1.3;font-weight:600;color:#000;word-break:keep-all;}
.health_info_wrap .list_type .empty{width:100%;max-width:100%;padding: 50px 0;border-top: 1px solid #ddd;border-bottom: 1px solid #ddd;font-size: 1.6rem;font-weight:600;color:#888;text-align:center;}

.health_info_wrap .view_type .tit_area{padding:30px 0;border-bottom:1px solid #e5e5e5;}
.health_info_wrap .view_type .tit_area .info{display:flex;justify-content:space-between;align-items:center;}
.health_info_wrap .view_type .tit_area .info .cate{font-size:1.4rem;font-weight:700;color:#009ef6;}
.health_info_wrap .view_type .tit_area .info .date{font-size:1.5rem;font-weight:500;color:#888;letter-spacing:0;}
.health_info_wrap .view_type .tit_area p.title{margin-top:10px;font-size:3rem;font-weight:700;color:#000;word-break:keep-all;}
.health_info_wrap .view_type .cont_area{padding:30px 0;border-bottom:1px solid #d5d5d5;}
.health_info_wrap .view_type .cont_area *{font-family:'Pretendard',sans-serif !important;}
.health_info_wrap .view_type .cont_area img{max-width:100%;}
.health_info_wrap .view_type .cont_area .cont_tit{margin-bottom:10px;font-size:2.4rem;font-weight:700;color:#1769ce;}
.health_info_wrap .view_type .cont_area .cont_tit:nth-child(n+2){margin-top:20px;}
.health_info_wrap .view_type .cont_area .cont_txt *{font-size:1.7rem !important;line-height:1.6 !important;color:#333 !important;}

.health_info_wrap .board_search .srch_txt::placeholder{font-weight:500;color:#555;}
.health_info_wrap .board_search .srch_txt::-webkit-input-placeholder{font-weight:500;color:#555;}
.health_info_wrap .board_search .srch_txt:-ms-input-placeholder{font-weight:500;color:#555;}

/* 건강교실 list */
.health_info_wrap .table_blist ul{display:flex;flex-direction:column;border-top:2px solid #000;}
.health_info_wrap .table_blist ul li{padding:20px 0;box-sizing:border-box;border-bottom:1px solid #e5e5e5;}
.health_info_wrap .table_blist ul li a{display:flex;align-items:center;}
.health_info_wrap .table_blist ul li .thumb{flex-shrink:0;width:290px;padding-left:30px;font-size:0;line-height:0;}
.health_info_wrap .table_blist ul li .thumb img{width:100%;height:163px;object-fit:cover;}
.health_info_wrap .table_blist ul li .cont{display:flex;flex-direction:column;flex-grow:1;padding:10px 0;}
.health_info_wrap .table_blist ul li .cont .cate{margin-bottom:5px;font-size:14px;font-weight:700;color:#009ef6;}
.health_info_wrap .table_blist ul li .cont .date{margin-top:20px;font-size:13px;font-weight:500;color:#888;letter-spacing:0;}
.health_info_wrap .table_blist ul li .cont p.title{display:-webkit-box;overflow:hidden;max-height:52px;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:10px;font-size:2rem !important;line-height:1.3;font-weight:600;color:#000;word-break:keep-all;}
.health_info_wrap .table_blist ul li .cont p.content{display:-webkit-box;overflow:hidden;max-height:72px;-webkit-line-clamp:3;-webkit-box-orient:vertical;color:#555;}
.health_info_wrap .table_blist .empty{width:100%;max-width:100%;padding:30px 0;border-bottom:1px solid #e5e5e5;font-size:15px;font-weight:600;color:#888;text-align:center;}

/* 관련 전문진료센터 */
.ref_center_wrap ul{display:flex;flex-wrap:wrap;gap:10px;}
.ref_center_wrap ul li{width:calc(100% / 6);max-width:150px;text-align:center;}
.ref_center_wrap ul li a{display:inline-flex;justify-content:center;align-items:center;width:100%;height:90px;padding:0 10px;border:1px solid #d5d5d5;background:#f5f5f5;font-size:1.6rem;font-weight:500;word-break:keep-all;box-sizing:border-box;}


/* 질환정보 - 검색 */
.health_info_wrap .board_search{margin-bottom:50px;padding:30px 100px;background:#f9f9f9;}
.health_info_wrap .board_search fieldset{max-width:100%;padding:5px;background:#fff;border:2px solid #666;border-radius: 10px;}
.health_info_wrap .board_search select{border:0;}
.health_info_wrap .board_search .srch_txt{border:0;}

/* 질환 정보 - 관련 링크 */
.refer_listwr{display: grid;grid-template-columns: 1fr 1fr 1fr;gap: 20px;}
.refer_listwr li a{position: relative;display: block;padding: 25px;padding-right:60px;border: 1px solid #ddd;border-radius: 20px;font-size: 1.8rem;}
.refer_listwr li a:before{content:'';position: absolute;top: 50%;right: 30px;transform: translateY(-50%);width: 20px;height: 20px;background: url(/nanum/site/builder/skin/main/img/common/new_window.png)no-repeat 50%/contain;}
.refer_listwr li a span{display: -webkit-box;-webkit-line-clamp: 1;-webkit-box-orient: vertical;overflow: hidden;}

/********************태블릿********************/
@media all and (max-width:1024px){

.health_info_wrap .srch_box{margin:3vh 0;padding:0;background:none;}
.health_info_wrap .srch_box .srch_input{flex-grow:1;min-width:auto;}
.health_info_wrap .srch_box .srch_btn{flex-shrink:0;width:20vw;padding:0 2vw;box-sizing:border-box;}

.health_info_wrap .slide_bnr{height:auto;margin-bottom:4vh;}
.health_info_wrap .slide_bnr .swiper-slide img{height:auto;}
.health_info_wrap .slide_bnr .swiper-button{display:none;}

.health_info_wrap .list_type ul{gap:10px 20px;grid-template-columns: 1fr 1fr 1fr;}
.health_info_wrap .list_type ul li{border-bottom:0;}


.health_info_wrap .table_blist ul li .thumb{width:240px;padding-left:20px;}
.health_info_wrap .table_blist ul li .thumb img{height:134px;}
.health_info_wrap .table_blist ul li .cont .date{margin-top:2vh;}

.health_info_wrap .view_type .tit_area{padding:3vh 0;}
.health_info_wrap .view_type .cont_area img{height:auto !important;}
.health_info_wrap .view_type .tit_area p.title{margin-top: 5px;font-size: 2.5rem;}
.health_info_wrap .view_type .cont_area .cont_tit{font-size: 2rem;}

/* 관련 전문진료센터 */
.ref_center_wrap ul{gap:0;}
.ref_center_wrap ul li{width:calc(100% / 4);max-width:100%;padding:5px;box-sizing:border-box;}
.ref_center_wrap ul li a{padding:0 10px;}

/* 질환정보 - 검색 */
.health_info_wrap .board_search{padding: 0;background: transparent;}

/* 질환 정보 - 관련 링크 */
.refer_listwr{grid-template-columns: 1fr 1fr;gap: 10px;}
.refer_listwr li a{padding: 20px;padding-right: 60px;font-size: 1.7rem;}

}

/********************모바일********************/
@media all and (max-width:767px){

.health_info_wrap .health_top{padding-top:50px;}
.health_info_wrap .health_top::after{width:34px;height:35px;margin-left:-17px;}
.health_info_wrap .list_type ul li .thumb img{}

.health_info_wrap .table_blist ul li .thumb{width:125px;}
.health_info_wrap .table_blist ul li .thumb img{height:70px;}

.health_info_wrap .view_type .cont_area{padding: 20px 0;}
.health_info_wrap .board_search .srch_txt,
.health_info_wrap .board_search select{border: 1px solid #d5d5d5;}


/* 관련 전문진료센터 */
.ref_center_wrap ul li{width:calc(100% / 3);}

/* 질환정보 - 검색 */
.health_info_wrap .list_type{padding-top: 0;}
.health_info_wrap .list_type ul{grid-template-columns: 1fr;}
.health_info_wrap .list_type ul li .thumb{height: 55vw;}
.health_info_wrap .list_type ul li .cont{padding: 15px 0 20px;}
.health_info_wrap .list_type ul li .cont .info .date{font-size: 1.7rem;}
.health_info_wrap .list_type ul li .cont p.title{margin-top: 0;font-size: 2.2rem;}

/* 질환 정보 - 관련 링크 */
.refer_listwr{grid-template-columns: 1fr;}
.refer_listwr li a{padding: 15px;padding-right: 50px;border-radius: 15px;font-size: 1.8rem;}
.refer_listwr li a:before{right: 20px;width: 15px;height: 15px;}

}


@media all and (max-width:480px){
	
/* 전문진료센터 */
.ref_center_wrap ul li{width:calc(100% / 2);}

}

/********************웹********************/
@media all and (min-width:1025px) {
	
/* 전문진료센터 */	
.ref_center_wrap ul li a:hover{background:#fff;border:1px solid #224191;font-weight:700;color:#224191;}


/* 관련 링크 */
.refer_listwr li a:hover{text-decoration: underline;border-color: #000;}

}
