@charset "utf-8";
@import url('https://fonts.cdnfonts.com/css/impact');

/* 초기화 */
* {margin:0; padding:0; box-sizing: border-box}
html {overflow-y:scroll}
body {min-width: 1500px; font-size:16px; font-family: 'Pretendard', sans-serif; font-weight:300; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; position: relative;}
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {font-weight:300}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}

ul,ol,dl,dt,dd {list-style:none}
li, p {word-break: keep-all}
legend {position:absolute;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
label, input, button, select, img, i {vertical-align:middle;font-size:1em}
html input[type="button"],
input[type="reset"],
input[type="submit"] {-webkit-appearance: button; cursor: pointer}
select::-ms-expand {display: none}

textarea, select, button {outline: none; font:inherit; border:0}
select {-webkit-appearance: none;-moz-appearance: none; appearance: none;background: url(../img/select_arrow.png) #fff no-repeat 93% 50%;border-radius:0}
select::-ms-expand {display: none}
input[type=text]::-ms-clear {display:none}
hr {border:1px solid #eee;margin:50px 0}
pre {overflow-x:scroll;font-size:1.1em}
a {color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}

*, :after, :before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

input[type=text],
input[type=password],
input[type=tel],
input[type=number] {
-webkit-transition: all 0.30s ease-in-out;
-moz-transition: all 0.30s ease-in-out;
-ms-transition: all 0.30s ease-in-out;
-o-transition: all 0.30s ease-in-out;
outline: none;
border:0
}
.placeholdersjs { color: #aaa !important; }

body{
    -ms-overflow-style: none;
    }
   ::-webkit-scrollbar {
     display: none}


/* align */
.float-l {float:left}
.float-r {float:right}

.text-l {text-align: left !important}
.text-r {text-align: right !important}
.text-c {text-align: center !important}

/* text */
.bold {font-weight:800}
.italic {font-style:italic}
.underline {text-decoration:underline}
.bg {background:rgba(108,67,187,0.3); display:inline-block}

/*그리드 사이즈 (PC)*/
.col-lg-2 > * {width:50%}
.col-lg-3 > * {width:33.33%}
.col-lg-4 > * {width:25%}
.col-lg-5 > * {width:20%}
.col-lg-6 > * {width:16.66%}
.col-lg-7 > * {width:14.28%}
.col-lg-8 > * {width:12.5%}

/*그리드 박스 스타일*/
.grid-box-wrap {width:100%}
#grid-box {margin:0 -10px}
#grid-box:before,#grid-box:after {content:'';display:block}
#grid-box:after {clear:both}
#grid-box > * {padding:0 10px;float:left}


/*입력박스*/
.full_input {width:100%}
.half_input {width:50%}
.frm_input {padding:0 10px; height:45px; border-radius:3px; font-family:inherit}
.frm_input::placeholder {font-size:0.8em}

/* button */
.btn-wrap {width:100%; text-align:center; clear:both; margin-top:50px}
.btn {display:inline-block; border:0; font-family:inherit; border-radius:3px; transition:all 0.3s ease}
.btn:focus, .btn.focus, .btn:active, .btn.active {outline:none}
.btn.active, .btn:active {box-shadow: none}
.btn-sm {height:35px; line-height:35px; padding:0 20px; font-size:14px}
.btn-md {height:45px; line-height:45px; padding:0 27px; font-size:16px}
.btn-lg {height:55px; line-height:55px; padding:0 35px; font-size:18px}
.btn-xl {height:65px; line-height:65px; padding:0 50px; font-size:21px}

.btn-primary {background:#ffd200}
.btn-primary:hover {background:#ffba00}
.btn-primary-o {border:1px solid #ffd200; color:#ffd200}
.btn-primary-o:hover {background:#ffd200}
.btn-white {background:#fff}
.btn-white:hover {background:#fff; color:#fff}
.btn-white-o {border:1px solid #fff; color:#fff}
.btn-white-o:hover {background:#ffd200; border:0; color:#ffd200}
.btn-normal {background:#777; color:#fff}
.btn-normal:hover {background:#444}
.btn-admin {background:#fd4242; color:#fff}
.btn-admin:hover {background:#e33939}

/* 팝업레이어 */
#hd_pop {z-index:1000; position: relative; width: auto; top: 0; left: 0}
#hd_pop h2 {display: none}
#hd_pop .dimmed {display: none}
.hd_pops {position: absolute}
.hd_pops a > img{max-width:100%}
.hd_pops p > img {width:100%; height:100%}
.hd_pops_con {box-shadow: 0 5px 30px rgba(0,0,0,0.1)}
.hd_pops_con > * {height:100%}
.hd_pops_footer {width: 100%; height: 50px; background: rgba(0,0,0,0.5);}
.hd_pops_footer button {background: transparent; cursor: pointer; font-size: 14px; width: 50%; height: 100%; float: left; color: #fff}
.hd_pops_reject {border-right: 1px solid rgba(255,255,255,0.2);}
.hd_pops_footer button span {display: inline-block}
.hd_pops_footer button span i {font-size: 1.2em}




/* 게시물 선택복사 선택이동 */
#copymove {}
#copymove  .win_desc {text-align:center;display:block}
#copymove  .tbl_wrap{margin:20px }
.copymove_current {float:right; color:#ff2020}
.copymove_currentbg {background:#f4f4f4}

/* 화면낭독기 사용자용 */
#hd_login_msg {position:absolute;top:0;left:0;font-size:0;line-height:0;overflow:hidden}
.msg_sound_only, .sound_only {display:inline-block !important;position:absolute;top:0;left:0;margin:0 !important;padding:0 !important;font-size:0;line-height:0;border:0 !important;overflow:hidden !important}
/* 본문 바로가기 */
#skip_to_container a {z-index:100000;position:absolute;top:0;left:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
#skip_to_container a:focus, #skip_to_container a:active {width:100%;height:75px;background:#21272e;color:#fff;font-size:2em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.3em}

/* ie6 이미지 너비 지정 */
.img_fix {width:100%;height:auto}

/* 캡챠 자동등록(입력)방지 기본 -pc */
#captcha {display:inline-block; position:relative}
#captcha legend {display:none}
#captcha #captcha_img {height:60px; border:1px solid #ddd; vertical-align:top}
#captcha #captcha_mp3 {width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../../../img/captcha2.png') no-repeat;text-indent:-999px;border-radius:3px}
#captcha #captcha_reload {margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../../../img/captcha2.png') no-repeat  0 -40px;text-indent:-999px;border-radius:3px}
#captcha #captcha_key {padding:0 10px; margin-left:5px; width:150px; height:60px; border:1px solid #ddd; background:#fff; font-weight:bold; text-align:center;border-radius:5px; vertical-align:top}
#captcha #captcha_info {display:block;margin:5px 0 0;font-size:0.95em;letter-spacing:-0.1em}

/* 캡챠 자동등록(입력)방지 기본 - mobile */
#captcha.m_captcha audio {display:block;margin:0 0 5px;width:187px}
#captcha.m_captcha #captcha_img {width:160px;height:60px;border:1px solid #e9e9e9;margin-bottom:3px;margin-top:5px;display:block;}
#captcha.m_captcha #captcha_reload {position:static;margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../../../img/captcha2.png') no-repeat  0 -40px;text-indent:-999px}
#captcha.m_captcha #captcha_reload span{display:none;}
#captcha.m_captcha #captcha_key {margin:0;padding:0 5px;width:115px;height:29px;border:1px solid #b8c9c2;background:#f7f7f7;font-size:1.333em;font-weight:bold;text-align:center;line-height:29px;margin-left:3px}
#captcha.m_captcha #captcha_info {display:block;margin:5px 0 0;font-size:0.95em;letter-spacing:-0.1em}
#captcha.m_captcha #captcha_mp3 {width:31px;height:31px;background:url('../../../img/captcha2.png') no-repeat 0 0 ;  vertical-align:top;overflow:hidden;cursor:pointer;text-indent:-9999px;border:none}

/* ckeditor 단축키 */
.cke_sc {margin:0 0 5px;text-align:right; display:none}
.btn_cke_sc {height:35px; line-height:33px; background:#eee; color:#777; display:inline-block; padding:0 10px; margin-bottom:10px; border:1px solid #ddd}
.cke_sc_def {margin-bottom:10px; padding:10px; border:1px solid #ddd; background:#f9f9f9}
.cke_sc_def dl{margin:0 0 5px;text-align:left;zoom:1}
.cke_sc_def dl:after {display:block;visibility:hidden;clear:both;content:""}
.cke_sc_def dt, .cke_sc_def dd {float:left;margin:0;padding:5px 0;border-bottom:1px solid #e9e9e9}
.cke_sc_def dt {width:20%;font-weight:bold}
.cke_sc_def dd {width:30%}
.btn_cke_sc_close {width:50px; height:35px; line-height:35px; background:#555; color:#fff}

/* ckeditor 태그 기본값 */
#bo_v_con ul{display: block;list-style-type: disc;margin-top: 1em;margin-bottom: 1em;margin-left: 0;margin-right: 0;padding-left: 40px;}
#bo_v_con ol{display: block;list-style-type: decimal;margin-top: 1em;margin-bottom: 1em;margin-left: 0;margin-right: 0;padding-left: 40px;}
#bo_v_con li{display: list-item;}


/* 자료 없는 목록 */
.empty_table {padding:50px 0 !important;text-align:center}
.empty_list {padding:20px 0 !important;color:#666;text-align:center}

/* 필수입력 */
.required, textarea.required {background-image:url('../img/require.png')  !important;background-repeat:no-repeat   !important;background-position:right top  !important;}

/* 테이블 항목별 정의 */
.td_board {width:80px;text-align:center}
.td_category {width:80px;text-align:center}
.td_chk {width:30px;text-align:center}
.td_date {width:60px;text-align:center}
.td_datetime {width:150px;text-align:center}
.td_group {width:80px;text-align:center}
.td_mb_id {width:100px;text-align:center}
.td_mng {width:80px;text-align:center}
.td_name {width:120px;text-align:center}
.td_nick {width:100px;text-align:center}
.td_num {width:70px;text-align:center}
.td_num2 {width:70px;text-align:center}
.td_numbig {width:80px;text-align:center}
.td_stat {width:60px;text-align:center}

.txt_active {color:#5d910b}
.txt_done {color:#e8180c}
.txt_expired {color:#ccc}
.txt_rdy {color:#8abc2a}

/* 새창 기본 스타일 */
.new_win {position:relative; max-width:500px; font-family:'NotoSansKR'}
.new_win .tbl_wrap {margin:0 20px}
.new_win #win_title {width:100%; height:50px; line-height:50px; font-size:18px; background:#333; color:#fff; padding:0 15px}
.new_win #win_title .sv {font-size:0.75em;line-height:1.2em}
.new_win form {padding:30px 10px}
.new_win .notice {text-align:center; font-size:16px; margin-bottom:20px}
.new_win .win_ul {border-right:1px solid #dfe6e7;}
.new_win .win_ul:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .win_ul li{float:left;background:#fff;width:33.333%;text-align:center;border:1px solid #ccc;margin-left:-1px}
.new_win .win_ul li a{display:block;padding:10px 0}
.new_win .win_ul .selected{background:#fff;border-color:#253dbe;position:relative;z-index:5}
.new_win .win_ul .selected a{color:#253dbe;font-weight:bold}
.new_win .win_desc {margin:5px 0;font-size:0.92em;color:#3598db;}
.new_win .frm_info{font-size:0.92em;color:#3598db}
.new_win .win_total{text-align:right;margin:10px 0}
.new_win .win_total span{display:inline-block;line-height:30px;font-size:0.92em;color:#4e546f;background:#d4d4d4;padding:0 10px;border-radius:5px;}
.new_win .new_win_con{margin:20px;}
.new_win .new_win_con:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .btn_confirm:after {display:block;visibility:hidden;clear:both;content:""}
.new_win .win_btn {width:100%; text-align:center; margin-top:20px}
.new_win .btn_close {position:absolute;top:0;right:0;height:50px;width:50px;background:url(../img/close_btn.gif) no-repeat 50% 50%;border:0;text-indent:-999px;overflow:hidden;cursor:pointer}
.new_win .btn_submit {padding:0 20px;height:40px;font-weight:bold;font-size:1.083em;float:right}

.new_win_table {width:100%}
.new_win_table thead th {padding:15px 10px; background:#f9f9f9; font-size:14px}
.new_win_table tbody td {padding:10px; border-bottom:1px solid #eee; font-size:13px}

/* 검색결과 색상 */
.sch_word {color:#00c4ac}

/* 자바스크립트 alert 대안 */
#validation_check {margin:100px auto;width:500px}
#validation_check h1 {margin-bottom:20px;font-size:1.3em}
#validation_check p {margin-bottom:20px;padding:30px 20px;border:1px solid #e9e9e9;background:#fff}

/* 사이드뷰 */
.sv_wrap {position:relative;font-weight:normal}
.sv_wrap .sv {z-index:1000;display:none;margin:5px 0 0;font-size:0.92em;background:#333;
-webkit-box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.2);
-moz-box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.2);
box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.2);}
.sv_wrap .sv:before{content: "";position: absolute;top: -6px;left: 15px;width: 0;height: 0;border-style: solid;border-width: 0 6px 6px 6px;border-color: transparent transparent #333 transparent;}
.sv_wrap .sv a {display:inline-block;margin:0;padding:0  10px;line-height:30px;width:100px;font-weight:normal;color:#bbb }
.sv_wrap .sv a:hover{background:#000;color:#fff}
.sv_member{color:#333}
.sv_on {display:block !important;position:absolute;top:23px;left:0px;width:auto;height:auto}
.sv_nojs .sv {display:block}

/* 페이징 */
.pg_wrap {clear:both;margin:20px 0 30px 0;text-align:center}
.pg_wrap:after {display:block;visibility:hidden;clear:both;content:""} 
.pg {display:block}
.pg_page, .pg_current {display:inline-block;vertical-align:middle;margin:0 2px; width:40px; height:40px; line-height:40px}
.pg_page {color:#555;background:#f5f5f5;border:1px solid #ddd}
.pg_page:hover{font-weight:700}
.pg_start {text-indent:-999px;overflow:hidden;background:url('../img/btn_first.gif') no-repeat 50% 50% #fff;padding:0;border:1px solid #bbb;}
.pg_prev {text-indent:-999px;overflow:hidden;background:url('../img/btn_prev.gif') no-repeat 50% 50% #fff;padding:0;border:1px solid #bbb}
.pg_end {text-indent:-999px;overflow:hidden;background:url('../img/btn_end.gif') no-repeat 50% 50% #fff;padding:0;border:1px solid #bbb}
.pg_next {text-indent:-999px;overflow:hidden;background:url('../img/btn_next.gif') no-repeat 50% 50% #fff;padding:0;border:1px solid #bbb}
.pg_start:hover,.pg_prev:hover,.pg_end:hover,.pg_next:hover{background-color:#fafafa}

.pg_current {display:inline-block; background:#444; color:#fff; font-weight:bold}

/* cheditor 이슈 */
.cheditor-popup-window *, .cheditor-popup-window :after, .cheditor-popup-window :before {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}

@media screen and (max-width:768px) {
    /* 팝업레이어 */
    #hd_pop .dimmed {width: 100%; height: 100vh; background: rgba(0, 0, 0, 0.4); position: absolute; top:0; left:0; display: block}
    .hd_pops {width: 85% !important; max-width: 500px; height: auto !important; top: 100px !important; left: 8% !important}
    .hd_pops_con {width: 100% !important; height: 100% !important}
    .hd_pops_con > * {width: 100%; height: auto}
    .hd_pops_footer {bottom: -30px}
    .hd_pops_footer button {color: #fff; font-size: 13px; letter-spacing: -0.5px}
}

/* 감량목표 선택 스타일 */
.question_box {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px dashed #ddd;
}

.question_title {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 10px;
    text-align: left;
    color: #333;
}

.weight_target .target_btn {
    display: flex;
    gap: 5px;
    width: 100%;
}

.weight_target .target_btn input[type="radio"] {
    display: none;
}

.weight_target .target_btn label {
    flex: 1;
    display: block;
    height: 45px;
    line-height: 43px;
    text-align: center;
    border: 1px solid #ff0000;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    color: #ff0000;
    background: #fff;
    border-radius: 3px;
}

.weight_target .target_btn input[type="radio"]:checked+label {
    background: #ff0000;
    color: #fff;
}

/* 모바일 대응 */
@media screen and (max-width: 768px) {
    .question_title {
        font-size: 20px;
    }

    .weight_target .target_btn {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .weight_target .target_btn label {
height: 45px;
    line-height: 43px;
    text-align: center;
    border: 1px solid #ff0000;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    color: #ff0000;
    background: #fff;
    border-radius: 3px;
    }

    /* 선택 시 스타일 */
    .weight_target .target_btn input[type="radio"]:checked+label {
        background: #ff0000;
        color: #fff;
    }
}
