@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 .con_tab ul{gap:10px;}
.health_info_wrap .con_tab ul li a{border:1px solid #dac8bd;border-radius:5px;}
.health_info_wrap .con_tab ul li.on a{background:#fff;border-color:#000;color:#000;}
.health_info_wrap .list_type ul{display:flex;flex-wrap:wrap;gap:14px;}
.health_info_wrap .list_type ul li{width:calc(100% / 6);max-width:155px;text-align:center;}
.health_info_wrap .list_type ul li a{display:inline-flex;justify-content:center;align-items:center;width:100%;height:90px;padding:0 10px;border:1px solid #d5d5d5;border-radius: 10px;background:#f5f5f5;font-size:1.6rem;font-weight:500;word-break:keep-all;box-sizing:border-box;}
.health_info_wrap .list_type ul li.empty{width:100%;max-width:100%;padding:30px 0;font-size:15px;font-weight:600;color:#888;text-align:center;}

.health_info_wrap .view_type .tit_area{margin-bottom: 30px;}
.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.6rem;font-weight:700;color:#ef9141;}
.health_info_wrap .view_type .tit_area .info .date{font-size:1.3rem;font-weight:500;color:#888;letter-spacing:0;}
.health_info_wrap .view_type .tit_area p.title{margin-top:5px;font-size: 3rem;font-weight: 600;color:#000;word-break:keep-all;}
.health_info_wrap .view_type .cont_area{padding: 0 0 50px;border-bottom:1px solid #d5d5d5;}
.health_info_wrap .view_type .cont_area img{max-width:100%;}
.health_info_wrap .view_type .cont_area .ct_type_h .title{width: 100px;}
.health_info_wrap .view_type .cont_area .cont_tit{position: relative;margin-bottom: 20px;padding-left: 13px;font-size: 2.2rem;font-weight: 600;}
.health_info_wrap .view_type .cont_area .cont_tit:before{content:'';position: absolute;top: 6px;left: 0;width: 4px;height: 20px;background: #ef9141;border-radius: 50px;}
.health_info_wrap .view_type .cont_area .cont_txt{display: grid;grid-template-columns: 120px 1fr;align-items: baseline;gap: 30px 20px;}
.health_info_wrap .view_type .cont_area .cont_txt:nth-child(n+2){margin-bottom: 40px;padding-bottom: 40px;border-bottom: 1px dashed #ddd;}
.health_info_wrap .view_type .cont_area .cont_txt:last-child{margin-bottom: 0;padding-bottom: 0;border-bottom: 0;}
.health_info_wrap .view_type .cont_area .cont_txt p{line-height: 1.6;color:#222;font-weight:500;}
.health_info_wrap .view_type .cont_area .cont_txt p strong{display: block;padding: 5px 10px;background: #695d4f;border-radius: 5px;font-size: 1.6rem;font-weight: 600;color: #fff;text-align: center;}

.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;}

.health_info_wrap .board_total{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;}
.health_info_wrap .board_total_left{font-size:15px;color:#000;}
.health_info_wrap .board_total_left img{margin-right:5px;vertical-align:middle;}
.health_info_wrap .board_total_left .board_orange{color:#F96F00;}


/* 건강교실 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;}


/********************태블릿********************/
@media all and (max-width:1024px){

/* 건강사전 */
.health_info_wrap .list_type ul{gap:0;}
.health_info_wrap .list_type ul li{width:calc(100% / 4);max-width:100%;padding:5px;box-sizing:border-box;}
.health_info_wrap .list_type ul li a{padding:0 10px;}

.health_info_wrap .con_tab ul li{flex: 20%;}

.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 .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{margin-bottom:3vh;}
.health_info_wrap .view_type .cont_area img{height:auto !important;}

/* 관련 전문진료센터 */
.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;}

}

/********************모바일********************/
@media all and (max-width:767px){

/* 건강사전 */
.health_info_wrap .list_type ul li{width:calc(100% / 3);}


.health_info_wrap .con_tab ul{gap: 5px;}
.health_info_wrap .con_tab ul li{flex: 30%;}

.health_info_wrap .health_top{padding-top:50px;}
.health_info_wrap .health_top::after{width:34px;height:35px;margin-left:-17px;}

.health_info_wrap .table_blist ul li .thumb{width:125px;}
.health_info_wrap .table_blist ul li .thumb img{height:70px;}

/* 관련 전문진료센터 */
.ref_center_wrap ul li{width:calc(100% / 3);}

}


@media all and (max-width:480px){
	
/* 전문진료센터 */
.ref_center_wrap ul li{width:calc(100% / 2);}

/* 건강사전 */
.health_info_wrap .list_type 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;}

/* 건강사전 */
.health_info_wrap .list_type ul li a:hover{background:#fff;border:1px solid #ea9334;font-weight:700;color:#ea9334;}
.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 #333;border-radius: 10px;}
.health_info_wrap .board_search select{border:0;}
.health_info_wrap .board_search .srch_txt{border:0;font-size:1.7rem;}

}
