/************************ 게시판 ************************/
.sub_program_wrap{
    max-width: 1500px !important;
    min-width: 320px !important;
    padding:0 10px;
    box-sizing: border-box;
    margin:0 auto;
}
.newb_wrap{
    width: 100% !important;
}
.program_title{
    font-size: 65px;
    font-weight: 600;
    text-align: center;
    padding: 65px 0 40px;
    letter-spacing: -0.3px;
}
.newb_table > tbody > tr > td.newb_subject > a{
    max-width: 500px !important;
    min-width: 150px !important;
    display: block;
    font-size:21px !important;
    color:#242424;text-decoration:none;
    padding:0 5px;
    display: -webkit-box;
      display: -ms-flexbox;
      margin-top:1px;
      max-height:80px;
      overflow:hidden;
      vertical-align:top;
      text-overflow: ellipsis;
      word-break:break-all;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:1;
      font-weight: 500
}
.newb_list_wrap {
    border-top: 2px solid #000 !important;
}
.newb_table > thead > tr > th{
    font-size: 19px !important;
    height:80px;
    line-height: 80px;
    font-weight: 500;
    color:#000 !important;
}

.newb_table > tbody > tr > td{
    height:110px !important;
    line-height: 110px !important;
    font-size: 19px !important;
}
.newb_table > tbody > tr > td > span{
    display: -webkit-box;
    display: -ms-flexbox;
    margin-top:1px;
    max-height:80px;
    overflow:hidden;
    vertical-align:top;
    text-overflow: ellipsis;
    word-break:break-all;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:1;
    font-size: 19px !important;
}

.newb_state1{
    display: inline-block !important;
}
.listIcon > span{
    vertical-align: middle !important;
}
.newb_search_select{
    background-color: #fff;
}
.newb_search_btn{
    position: relative;
    background: #1c1c1c url(/images/search_icon.png) no-repeat center !important;
    text-indent: -9999px;
    border-radius: 0 !important;
}
.newb_state1{
    background-color: #9A9A9A !important;
    font-size: 15px !important;
    border-radius: 0px !important;
}
.newb_state2{
    background-color:#36AFDA !important;
    border-radius: 0px !important;
    vertical-align: middle !important;
    display: inline-block !important;
}
.newb_tab{
    width: 50%;
}

/*뷰스타미디어*/
.media_gallery_list > li{
    width:33.3% !important;
    border: 0 !important;
    margin-bottom: 50px;
}
.media_gallery_list > li > a > div.media_gallery_info_wrap > span.thumbnail > img{
    width: 100% !important;
    max-height: 355px !important;
}
.media_gallery_wrap{
    width: 100% !important;
}
.media_gallery_info > em{
    font-size: 22px !important;
    font-weight: 600 !important;
}
.media_gallery_list_wrap{
    border: 0 !important;
}
.media_gallery_search_btn{
    position: relative;
    background: #1c1c1c url(/images/search_icon.png) no-repeat center !important;
    text-indent: -9999px;
    border-radius: 0 !important;
    margin: 0 !important;
}
.media_gallery_search_input{border-radius: 0 !important;}
.media_gallery_search_select{border-radius: 0 !important; background-color: #fff;;}
.gallCate{
    color:#DA842A !important;
    font-weight: 600 !important;
    font-size: 22px !important;
    height: 26px;
}
/*뷰스타미디어*/

/* 갤러리 4개 */
.media_gallery_wrap2 .media_gallery_list > li{
    width: 25% !important;
}
/* 갤러리 4개 */

/*치료전후*/
.media_gallery3_wrap{
    width: 100% !important;
}
.media_gallery3_list > li{
    float: none !important;
    width: 100% !important;
}
.media_gallery3_info_wrap{
    display: flex;
    justify-content: space-between;
}

.media_gallery3_info_wrap > div{
    width: 44%;
}
.media_gallery3_info_wrap > div:nth-child(2){
    padding-top:50px;
}
.gall3Cate{
    font-size: 30px !important;
    font-weight: 600 !important;
    color:#030303 !important;
}
.media_gallery3_info > em{
    color:#6A6A6A;
    font-size: 22px !important;
    margin-top: 20px;;
}
.media_gallery3_beaf{
    display: flex;
}
.media_gallery3_beaf > li{
    width: 50% !important;
    float: none !important;
    overflow: hidden;
    position: relative;
}
.loginWrap{
    background: rgba(0,0,0,0.7);
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color:#fff;
    font-size: 18px;
    line-height: 25px;
    height: 100%;
}
.loginWrap img{
    width: initial !important;
}
.imgwrap{
    width: 100%;
    /* max-height: 234px; */
    overflow: hidden;
}
.imgwrap > img{
    width: 100%;
    height: 100%;
}
.media_gallery3_beaf > li > span {
    width: 100% !important;
    padding: 17px 8px !important;
    font-size: 18px !important;
    background-color: #E8E8E8;
    color: #1c1c1c  !important;
    border-radius: 0  !important;
    font-weight: 500;
}
.media_gallery3_beaf > li img{
    width: 100%;
}

.media_gallery3_search_btn{
    position: relative;
    background: #1c1c1c url(/images/search_icon.png) no-repeat center !important;
    text-indent: -9999px;
    border-radius: 0 !important;
    margin: 0 !important;
}
.media_gallery3_search_input{border-radius: 0 !important;}
.media_gallery3_search_select{border-radius: 0 !important; background-color: #fff;}

.media_gallery_page_wrap > a.page-on{background-color:#646464;border:1px solid #646464;color:#fff;}
.newb_page_wrap > a.page-on{background-color:#646464;border:1px solid #646464;color:#fff;}
.media_gallery3_page_wrap > a.page-on{background-color:#646464;border:1px solid #646464;color:#fff;}
input{   -webkit-appearance: auto !important;}

/*예약*/
.reserv_sub{
    font-size: 23px !important;
    height: initial !important;
    line-height: initial !important;
    padding: 20px 0;
    margin: 50px auto !important;
}
.reserve_cal_box .title input{
    width: 150px !important;
    height: 40px !important;
}

/*전화상담예약*/
.newReserve table{
    border-top:3px solid #030305;
    border-bottom:3px solid #030305;
    width: 100%;
}

.newReserve table tr{
    /* border-bottom: 1px solid #C7C7C7; */
    border-bottom: 1px solid #C7C7C7;
}
.newReserve table th{
    background-color: #F6F6F6;
    font-size: 22px;
    font-weight: 600;
    
    box-sizing: border-box;
}
.newReserve table td{
    color: #969696;
    font-size: 21px;
    box-sizing: border-box;
   
    font-weight: 300;
    padding: 2.6% 0;
    padding-left: 2.5%;
   
}
.newReserve table td input, .newReserve table td select{
    height: 60px;
    border: 1px solid #BEBEBE;
    color: #969696;
    text-indent: 10px;
    font-size: 21px !important;
    background-color: #fff;
}
.newReserve .csW_01 td input, .csW_03 td select, .newReserve .csW_02 td > div{
    width: 60% !important;
    padding: 0 !important;
}
.newReserve .csW_03 th, .newReserve .csW_03 td{
    border: 0px !important;
}
.newReserve .csW_02 td input, .csW_02 td select{
    width: 30% !important;
}
.newReserve .csW_02 td > div{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.newReserve input::-webkit-input-placeholder{
    font-size: 21px;
}
/* .csW_03 td select{
    position: relative;
}
.csW_03 td select::after{
    content:'▼';
    display: block;
    width: 20px;
    height: 20px;
    color: #969696;
    font-size: 19px;
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
} */
.newReserve .agreement_wrap{
    background-color: #F6F6F6;
    width: 100%;
    box-sizing: border-box;
    padding: 3% 7%;
}
.newReserve .agree a{
    display: inline-block;
   padding: 7px 10px;
    font-weight: 300;
    color:#fff;
    font-size: 14px;
    color: #fff;
    background-color: #000;
    border-radius: 50px;
    vertical-align: text-bottom;
    margin-left: 10px;
}
.newReserve .agreement_wrap textarea{
    width: 100%;
    margin: 0 auto;
    margin-top: 2%;
    height: 150px;
    font-size: 25px;
    color:#414141;
    letter-spacing: -2px;
    font-family: 'Spoqa Han Sans Neo','Noto Sans KR','GmarketSans','sans-serif' !important;
}
.newReserve .agreement_wrap h2{
    font-size: 22px;
    font-weight: 600;
}
.newReserve .agree{
    text-align: right;
    font-size: 20px;
    margin-top: 1.5%;
    color:#191919;
    letter-spacing: -1px;
    font-weight: 500;
}
.newReserve .agree input{
    width: 20px;
    height: 20px;
    vertical-align: text-top;
}
.bbs_btns{
    text-align: center;
}
.bbs_btns input{
    padding: 1.5% 6%;
    background: linear-gradient(to top, #f1c195, #bc8a5e);
    font-size: 27px !important;
    font-weight: 600;
    letter-spacing: -1.2px;
    color: #fff;
    border:0;
}
.program_txt{
    color:#101010;
    font-weight: 400;
    font-size: 26px;
    text-align: center;
    letter-spacing: -0.3px;
    padding-bottom: 4%;
    width: 80%;
    margin:0 auto;
}
.program_txt span{
    font-weight: 600;
}


@media (max-width:1036px){
    .newb_view_area img{
        width: 90% !important;
    }
  }

@media (max-width: 640px){
    .newb_table > tbody > tr > td.newb_subject > a{
        width:15%;
        font-size:18px;
    }
    .newb_table > thead > tr > th{
        font-size: 16px;
        height:40px;
    }
    .newb_table > tbody > tr > td{
        height:60px;
        line-height: 60px;
        font-size: 16px;
    }
    .newb_tab{
        width: 70%;
    }

    .media_gallery_list > li{
        width:95% !important;
        border: 0 !important;
        float: none !important;
        margin: 0 auto !important;
    }
    .media_gallery_wrap2 .media_gallery_list > li{
        width: 95% !important;
    }

    .media_gallery3_info_wrap{
        display: block;
    }
    .media_gallery3_info_wrap > div {
        width: 100%;
        margin: 0 auto;
    }
    .media_gallery3_info_wrap > div:nth-child(2){
        padding-top:0px;
    }
    .media_gallery3_info > span{
        margin-top: 40px !important;
    }
    .media_gallery3_info > em{
        margin-top: 30px;
        font-size: 22px;
    }
    .media_gallery3_list > li{
        width: 95% !important;
        margin: 0 auto;
    }
    .media_gallery3_tab_wrap > .media_gallery3_tab > li{
        margin-right: 0 !important;
    }
    .reserv_sub {
        height: initial !important;
        line-height: initial !important;
        padding: 15px 0;
        width: 40% !important;
        border-radius: 0px !important;
    }
   
    #restime_add label{
        width: 28% !important;
    }

    .newReserve table th, .newReserve .agreement_wrap h2{
        font-size: 20px;
    }
    .newReserve table td input, .newReserve table td select{
        font-size: 20px !important;
    }
    
    .newReserve .agreement_wrap{
        padding: 3% 4%;
    }
    .bbs_btns input{
        padding: 3.5% 8%;
        box-sizing: initial;
    }
    .newReserve table td{
        /* padding: 3.6% 0;
        box-sizing: border-box; */
    }
    .newReserve .csW_01 td input, .csW_03 td select, .newReserve .csW_02 td > div {
        width: 100% !important;
        padding: 0 !important;
    }
    .newReserve table td{
        /* padding-left: 2.5% !important; */
    }
    .newReserve input::-webkit-input-placeholder{
        font-size: 20px !important;
    }
}