.btn01s {
    color: #3f71b7;
    border: solid 1px #3f71b7;
}

.btn02s {
    color: #fff;
    background: #3f71b7;
}

.btn03s {
    color: #666;
    border: solid 1px #ccc;
}

.btn04s {
    color: #757575;
    border: solid 1px #dbdbdb;
}

.calc input[type="checkbox"] + label {
    background: url(/img/ico/check_ico20x20.png) no-repeat left center / 19px;
}

.calc input:checked + label {
    background-image: url(/img/ico/checked_ico20x20.png);
}


/* 계산기 */

.sub_topmenu {
    margin: 25px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dbdbdb;
}

.sub_topmenu .menual_btn {
    padding: 9px 16px;
    background: #dadee4;
    border-radius: 2px;
    margin: 0;
}

.sub_topmenu .menual_btn span {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: #37588e;
    padding-left: 18px;
    background: url('../img/ico/menual_ico.png') no-repeat left center / 15px;
}

.sub_topmenu .contact_title {
    /* margin-right: 20px; */
    font-size: 21px;
    font-weight: 500;
}

.sub_topmenu .top_btnwrap {
    display: flex;
}

.sub_topmenu button {
    width: 130px;
    height: 40px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
}

.sub_topmenu button.w160 {
    width: 160px;
}

.sub_topmenu .top_btnwrap button + button {
    margin-left: 10px;
}

.sub_topmenu .print_btn {
    width: 130px;
    height: 40px;
    font-weight: 500;
    color: #454545;
    text-align: center;
    border: solid 1px #dbdbdb;
}

fieldset legend {
    display: none;
}

.bsearch_box {
    display: flex;
    justify-content: center;
    padding: 30px 0;
    margin-bottom: 20px;
    background: #f9f9f9;
}

.bsearch_box .ser_fombox {
    width: 100%;
    max-width: 360px;
}

.bsearch_box .ser_fombox .in_box {
    position: relative;
}

.bsearch_box .ser_fombox input {
    width: 100%;
    height: 34px;
    margin: 0;
    padding: 0 44px 0 10px;
}

.bsearch_box .ser_fombox button {
    width: 40px;
    height: 34px;
    border-radius: 5px;
    background: #3f71b7 url(../img/btn/search_btntype.png) no-repeat center center;
    position: absolute;
    right: -8px;
    top: 0;
    font-size: 0;
}

.bsearch_box .date_wrap {
    display: flex;
    align-items: center;
}

.bsearch_box .date_wrap input {
    width: 134px;
    height: 34px;
    border: solid 1px #dbdbdb;
    font-size: 14px;
    font-weight: 350;
    color: #454545;
    padding: 0 14px;
    background: #fff url('../img/ico/date_pickerico.png') no-repeat right 14px center;
}

.bsearch_box .date_wrap span {
    font-size: 18px;
    font-weight: 300;
    color: #454545;
    margin: 0 10px;
}

.sel_btnbox + .date_wrap {
    margin-left: 20px;
}

.sel_btnbox button {
    width: 60px;
    height: 34px;
    font-size: 14px;
    font-weight: 350;
    color: #666;
    text-align: center;
    vertical-align: middle;
    background: #fff;
    border: solid 1px #dbdbdb;
}

.sel_btnbox button.active {
    background: #666;
    color: #fff;
    border: none;
}

.sel_btnbox button + button {
    margin-left: 10px;
}

.date_wrap + .ser_fombox {
    margin-left: 16px;
}

.calc table {
    width: 100%;
    table-layout: fixed;
    /* border-top: solid 1px #757575; */
}

.calc .calc_list {
    margin-bottom: 50px;
}

.tbs01 {
    /* margin-bottom: 60px; */
}

.tbs01 tr {
    border-bottom: solid 1px #ececec;
}

.tbs01 th {
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    color: #454545;
    height: 40px;
    vertical-align: middle;
    background: #f9f9f9;
}

.item_stm .tbs01.fir_tb thead th {
    height: 80px;
}

.item_stm .tbs01 th + th {
    border-left: solid 1px #dbdbdb;
}

.item_stm .tbs01 td.date {
    text-align: left;
    color: #252525;
}

.tbs01 th .top {
    display: flex;
    width: 100%;
    height: 50%;
    justify-content: center;
    align-items: center;
    border-bottom: solid 1px #dbdbdb;
}

.tbs01 th .bot {
    height: 50%;
}

.tbs01 tfoot th:not(.row3) {
    padding: 0 10px;
}

.tbs01 tfoot .h40 {
    height: 40px;
}

.tbs01 tfoot th .bot {
    height: 100%;
}

.tbs01 th .bot .bot_box {
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tbs01 .bot .bot_box + .bot_box {
    border-left: solid 1px #dbdbdb;
}

.tbs01 td.row3 {
    padding: 0;
}

.tbs01 td .bot {
    height: 100%;
}

.tbs01 td .bot .bot_box {
    height: 100%;
    text-align: center;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tbs01 td .bot .bot_box input {
    text-align: center;
}


.tbs01 td .bot .bot_box:last-child,
.tbs01 td .bot .bot_box:last-child input {
    text-align: right;
}

.tbs01 td .bot .bot_box + .bot_box {
    padding-left: 10px;
}

.tbs01 td {
    font-size: 15px;
    height: 60px;
    color: #454545;
    padding: 0 5px;
    text-align: center;
    vertical-align: middle;
    word-break: break-all;
}

.tbs01 td.subject {
    text-align: left;
}

.tbs01 td.subject a {
    display: block;
    width: 100%;
    font-size: 15px;
    color: #454545;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.tbs01 td.date {
    color: #999;
}

.tbs01 td.num_rl {
    font-size: 15px;
    text-align: right;
}

.tbs01 td .tb_2btnwrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tbs01 td .tb_2btnwrap * {
    display: block;
    width: 48px;
    height: 28px;
    line-height: 26px;
    text-align: center;
    font-size: 12px;
}

.tbs01 td .tb_2btnwrap *:last-child {
    margin-left: 8px;
}

.tbs01 .input_wrap input {
    width: 100%;
    height: 40px;
    border: solid 1px #dbdbdb;
}

.tbs01 tfoot .all_price {
    font-size: 20px;
    font-weight: 700;
    color: #3f71b7;
    text-align: right;
    padding-right: 20px;
}

.tbs01 tfoot .mth_price {
    font-size: 20px;
    font-weight: 700;
    color: #252525;
    text-align: right;
    padding-right: 20px;
}

.item_stm td {
    height: 40px;
    padding: 4px 10px;
}

.item_stm td input {
    width: 100%;
    height: 30px;
}

.item_stm td .file_addbtn {
    display: flex;
    width: 21px;
    height: 21px;
    font-size: 0;
    outline: none;
    border: none;
    padding: 0;
    margin: 0 auto;
    background: transparent url('../img/ico/plus_file21x21.png') no-repeat center center;
}

.item_stm td .file_addbtn.in {
    background-image: url('../img/ico/plus_file18x18.png');
}

.item_stm td input.date_pick {
    padding: 0 10px;
    background: url('../img/ico/ico_calstm.png') no-repeat right 10px center;
    border-color: #dbdbdb;
}

.item_stm td.subject {
    padding-left: 20px;
}

.item_stm td.subject button {
    width: 21px;
    height: 21px;
    display: inline-block;
    background: url(../img/ico/plus_smtlist_btn.png) no-repeat center center/cover;
    margin-left: 8px;
    vertical-align: middle;
}

.item_stm td {
    border-right: solid 1px #dbdbdb;
}

.item_stm tr td:last-of-type {
    border: none;
}

.item_stm tr td .del_btn {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 auto;
    background: url('../img/btn/remove_btn24x24.png') no-repeat center center/cover;
}

.all_item .item_stm tr td:last-of-type {
    text-align: right;
}

.all_item .item_stm tr td:not(.row3) {
    padding: 0 20px;
}

.all_item .item_stm .tbs01 td.date {
    text-align: center;
}

.all_item .tbs01 tfoot th:not(.row3) {
    padding: 0 20px;
}

.all_item .item_stm .all_state_wrap {
    border: none;
}

/* 총괄항목내역서 */

.item_stm .all_state_wrap {
    border-bottom: solid 1px #454545;
}

.all_state_wrap {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.all_state_wrap > div {
    display: table-cell;
    height: 60px;
    line-height: 60px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    padding: 0 10px;
    color: #252525;
    border-left: 1px solid #dbdbdb;
}

.all_state_wrap > div.state_num {
    font-size: 18px;
    text-align: right;
}

.calc .next_prev_box {
    margin-bottom: 0;
}

.calc input:read-only {
    background: #fafafa;
    border-color: #dbdbdb;
    color: #ccc;
}

input.date_pick {
    background: #fff url(../img/ico/ico_calstm.png) no-repeat right 10px center;
}

.bot_btnwrap * {
    display: block;
    width: 130px;
    line-height: 42px;
    text-align: center;
    height: 42px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    margin-left: auto;
}

.tbs02 {
    border-bottom: solid 1px #dbdbdb;
}

.tbs02 tr {
    border-bottom: solid 1px #ececec;
}

.tbs02 tr.last {
    border-bottom: solid 1px #dbdbdb;
}

.tbs02 th {
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    line-height: 1.3;
    color: #252525;
    padding: 0 20px;
    vertical-align: middle;
    background: #f9f9f9;
}

.calc_done .tbs02 th {
    height: 60px;
}

.calc_done .tbs01 td {
    padding: 20px;
}

.tbs01.aja_tb td {
    padding: 8px 10px;
}

.tbs01.aja_tb td .subject {
    display: block;
    color: #454545;
}

.stm_history td input {
    height: 40px;
}


.stm_wrap {
    border: solid 1px #454545;
}

.stm_wrap .stm_ttl {
    font-size: 26px;
    font-weight: 500;
    text-align: center;
    padding: 20px 0;
    color: #252525;
    border-bottom: solid 1px #757575;
}

.stm_wrap .stm_stl {
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    padding: 20px 0;
    color: #252525;
    border-bottom: solid 1px #757575;
}

.tbs02 td {
    padding: 8px 20px;
    font-size: 15px;
    line-height: 1.3;
    color: #252525;
    vertical-align: middle;
    word-break: break-all
}

.tbs02 td .total.red {
    color: #d20e06;
}

.tbs02 td .total.blue {
    color: #3f71b7;
}

.tbs02 td .total.black {
    color: #252525;
}

.tbs02 input:focus {
    outline: none;
}

.tbs02 .input_wrap input {
    width: 100%;
    height: 40px;
    border: solid 1px #dbdbdb;
}

.tbs02 .button_wrap {
    display: flex;
}

.tbs02 .button_wrap input {
    width: calc(100% - 110px);
}

.tbs02 .button_wrap .moreAddress {
    margin-left: 10px;
}

.tbs02 .button_wrap button {
    width: 100px;
    font-size: 15px;
    font-weight: 500;
    color: #3f71b7;
    border: solid 1px #3f71b7;
    margin-left: 10px;
}

.tbs02 .button_wrap .postBtn {
    width: 260px;
}

.tbs02 .date_wrap {
    display: flex;
    align-items: center;
}

.tbs02 .date_wrap input {
    width: calc(50% - 10px);
    height: 40px;
    padding: 0 10px;
    background: #fff url(../img/ico/date_pickerico.png) no-repeat right 10px center;
}

.tbs02 .date_wrap span {
    font-size: 15px;
    color: #999;
    margin: 0 10px;
}

.tbs02 .button_wrap .input_box input {
    width: 100%;
}

.tbs02 .button_wrap .input_box {
    width: calc(100% - 110px);
}

.tbs02 .input_box {
    position: relative;
}

.tbs02 .input_box .won {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    color: #757575;
    font-size: 15px;
}

.tbs03 {
    border-top: 1px solid #757575;
}

.tbs03 tr {
    height: 58px;
}

.tbs03 th {
    text-align: center;
    font-weight: 500;
    font-size: 15px;
}

.tbs03 td {
    text-align: center;
    padding: 8px;
}

.tbs03 .button_wrap .input_box {
    width: 100%;
}

.admin_btnwrap button {
    width: 40px;
    height: 40px;
    border: solid 1px #dbdbdb;
}

.admin_btnwrap button + button {
    margin-left: -1px;
}

.admin_btnwrap .up {
    border-radius: 2px 0 0 2px;
    background: url('../img/ico/admbtn_up.png') no-repeat center center;
}

.admin_btnwrap .down {
    background: url('../img/ico/admbtn_down.png') no-repeat center center;
}

.admin_btnwrap .del_btn {
    border-radius: 0 2px 2px 0;
    background: url('../img/ico/admbtn_del.png') no-repeat center center;
}

.plus_item .plus_stm {
    width: 21px;
    height: 21px;
    display: inline-block;
    background: url('../img/ico/plus_smtlist_btn.png') no-repeat center center/cover;
    margin-left: 8px;
}

.stm_info_wrap {
    padding: 40px 10px 60px;
}

.stm_info_wrap .notice {
    color: #666;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 30px;
}

.stm_info_wrap .stm_date input {
    width: 40px;
    height: 40px;
    border: solid 1px #dbdbdb;
}

.stm_info_wrap .stm_date > div + div {
    margin-left: 30px;
}

.stm_info_wrap .stm_date .year input {
    width: 80px;
}

.stm_info_wrap .stm_date span {
    font-size: 14px;
    color: #252525;
    margin-left: 10px;
}

.calc_done .stm_info_wrap .notice {
    margin-bottom: 50px;
}

.info_write_wrap {
    margin-top: 40px;
}

.info_write_wrap > div {
    display: flex;
    align-items: center;
}

.info_write_wrap > div + div {
    margin-left: 30px;
}

.info_write_wrap input {
    width: 160px;
    height: 40px;
}

.info_write_wrap span {
    font-size: 18px;
    color: #252525;
    margin-right: 10px;
}

.info_write_wrap input[type="file"] {
    display: none;
}

.info_write_wrap input[type="file"] + label {
    font-size: 15px;
    font-weight: 500;
    color: #3f71b7;
    border: solid 1px #3f71b7;
    width: 100px;
    height: 40px;
    line-height: 38px;
    text-align: center;
    margin-left: 10px;
}

.info_write_wrap .file_txtbox {
    width: 160px;
    height: 40px;
    border: solid 1px #dbdbdb;
    padding: 10px;
    display: flex;
    align-items: center;
}

.info_write_wrap .file_txtbox span {
    max-width: calc(100% - 22px);
    font-size: 14px;
    color: #454545;
    margin: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.info_write_wrap .file_txtbox .file_delbtn {
    display: none;
    width: 16px;
    height: 16px;
    background: url('../img/btn/file_del16x16.png') no-repeat center center/cover;
    margin-left: 6px;
}

.btn_3wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.btn_3wrap button {
    width: calc(100% / 3 - 5px);
    max-width: 160px;
    height: 40px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
}

.btn_3wrap button + button {
    margin-left: 10px;
}

.btn_2wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.btn_2wrap button {
    width: calc(50% - 5px);
    max-width: 160px;
    height: 40px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
}

.btn_2wrap button + button {
    margin-left: 10px;
}


/* 공통 팝업 */

.com_popup {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.com_popup .pop_wrap {
    position: relative;
    top: 50%;
    left: 50%;
    width: calc(100% - 30px);
    max-width: 1000px;
    transform: translate(-50%, -50%);
    background-color: #fff;
}

.com_popup .pop_top {
    padding: 22px;
    text-align: center;
    background-color: #3a3a3c;
    position: relative;
}

.com_popup .pop_top h2 {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
}

.com_popup .close_btn {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('../img/ico/close02.png') no-repeat center center /cover;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}


.com_popup .pop_bot {
    padding: 30px;
    max-height: 78vh;
    overflow-y: auto;
}

.com_popup .poponebtn {
    width: 100%;
    height: 60px;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    background: #3d6cab;
    color: #fff;
}

.calc .g_list input + label {
    background: none;
    width: initial;
    height: initial;
}

.calc .g_list .item {
    width: calc(25% - 15px);
}

.calc .g_list .item + .item {
    margin-left: 20px;

}

.calc .g_list .fr_info {
    padding: 20px 15px 30px;
    text-align: center;
    border: solid 1px #eee;
    position: relative;
}

.calc .g_list input:checked + label .fr_info::before {
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: solid 2px #3d6cab;
    box-sizing: border-box;
    z-index: 1;
}

.calc .fr_info .fr_ico {
    display: inline-block;
    font-size: 14px;
    color: #3d6cab;
    padding: 6px 13px;
    border: solid 1px #3d6cab;
    border-radius: 14px;
    margin-bottom: 14px;
}

.calc .fr_info .fr_perc {
    color: #757575;
    margin-bottom: 10px;
}

.calc .fr_info .fr_disc {
    font-size: 18px;
    font-weight: 500;
    color: #252525;
}

.calc .pop_bot .red_txt {
    line-height: 1.2;
    color: #e7242b;
    text-align: center;
    margin-top: 20px;
}

.calc .g_infolist {
    display: flex;
}

.calc .g_infolist li {
    width: calc(25% - 15px);
}

.calc .g_infolist li + li {
    margin-left: 20px;

}

.calc .g_infolist .g_infottl input + label {
    width: 100%;
    border: solid 1px #dbdbdb;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    color: #252525;
    line-height: 1.3;
    text-align: center;
    background: none;
    padding: 0;
}

.calc .g_infolist input + label {
    background: none;
    width: initial;
    height: initial;
    display: initial;
    padding-left: 25px;
}

.calc .g_infolist .on .ginf_box {
    background: #f6f8fc;
    border-color: #dbdbdb;
}

.calc .g_infolist .g_infottl input:checked + label {
    position: relative;
    background: #f6f8fc;
}

.calc .g_infolist .g_infottl input:checked + label::before {
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    border: solid 2px #3d6cab;
    z-index: 1;
}

.calc .g_infolist .ginf_box {
    width: 100%;
    padding: 20px;
    text-align: center;
    border: solid 1px #eee;
    position: relative;
}

.calc .g_infolist .ginf_box .subject {
    font-size: 17px;
    font-weight: 500;
    color: #252525;
    margin-bottom: 10px;
}

.calc .g_infolist .ginf_box .disc {
    font-size: 14px;
    line-height: 1.4;
    color: #757575;
    margin-bottom: 10px;
}

.calc .g_infolist .ginf_box .p_info {
    color: #e7242b;
    font-family: 'Gmarket Sans';
    font-weight: 700;
}

.calc .g_infolist input:checked + label .ginf_box::before {
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: solid 2px #3d6cab;
    box-sizing: border-box;
    z-index: 1;
}

.gr_pop .pop_bot {
    max-height: calc(95vh - 64px);
    overflow-y: auto;
}

/* 거래명세표 팝업 */

.upload_pop .pop_wrap {
    max-width: 540px;
}

.pop_bot .row_tb .row_t + .row_t {
    margin-top: 30px;
}

.pop_bot .row_tb .label {
    font-weight: 500;
    color: #252525;
    margin-bottom: 10px;
}

.pop_bot .row_tb .input_wrap input {
    width: 100%;
    height: 40px;
}

.pop_bot .row_tb .input_wrap input[type="file"] {
    display: none;
}

.pop_bot .row_tb .input_wrap input[type="file"] + label {
    display: block;
    width: 100px;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    color: #fff;
    background: #3f71b7;
}

.pop_bot .row_tb .img_box {
    display: none;
    width: 100%;
    position: relative;
    margin-top: 20px;
    border: solid 1px #dbdbdb;
}

.pop_bot .row_tb .img_box .img_thumb {
    text-align: center;
}

.pop_bot .row_tb .img_box .img_delbtn {
    width: 40px;
    height: 40px;
    position: absolute;
    top: -10px;
    right: -10px;
    background: url('../img/btn/img_del40x40.png') no-repeat center center/cover;
}

.pop_btnwrap {
    display: flex;
}

.pop_btnwrap button {
    width: 50%;
    height: 60px;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
}


/* 거래명세표 팝업 */

.mms_pop .pop_bot {
    padding: 0;

}

.mms_pop table * {
    font-family: '돋움', 'dotum';
    color: #252525;
}

.mms_pop .mms_top {
    padding: 15px 8px;
}

.mms_pop .mms_top .left {
    width: 15%;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

.mms_pop .mms_top h3 {
    width: 87%;
    padding-right: 13%;
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    color: #454545;
}

.mms_pop .mms_top h3 span {
    font-size: 16px;
    font-weight: 400;
}

.mms_pop .mms_bot legend {
    display: none;
}

.mms_pop .mms_bot > div {
    border-top: solid 1px #aaa;
    margin: -1px 0 0 0;
}

.mms_pop table {
    width: 100%;
    table-layout: fixed;
    border: none;
}

.mms_pop table tr {
    border-bottom: solid 1px #dbdbdb;
}

.mms_pop table th {
    font-size: 13px;
    text-align: center;
    background: #fafafa;
    vertical-align: middle;
    border-right: solid 1px #dbdbdb;
}

.mms_pop table td {
    height: 50px;
    line-height: 1.2;
    font-size: 14px;
    border-right: solid 1px #dbdbdb;
    padding: 0 10px;
    color: #252525;
    vertical-align: middle;
    background: #fff;
}

.mms_pop table td:last-of-type {
    border: none;
}

.mms_pop table td strong {
    font-size: 16px;
    color: #252525;
}

.mms_pop table td.name {
    position: relative;
}

.mms_pop table .ji_img {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    max-width: 45px;
}

.mms_pop .top_tb table th {
    font-size: 14px;
    line-height: 1.3;
    vertical-align: middle;
    color: #252525;
}

.mms_pop .top_tb table td:nth-of-type(2n-1) {
    font-size: 13px;
    text-align: center;
    background: #fafafa;
    color: #454545;
}

.mms_pop .bot_tb table th {
    height: 36px;
}

.mms_pop .bot_tb table td {
    height: 32px;
    text-align: center;
}

.mms_pop .bot_tb table td.rtl {
    text-align: right;
}

.row_t input[type="checkbox"] + label {
    padding-left: 30px;
    background-image: url('../img/ico/checkbox_20x20.png');
}

.row_t input[type="checkbox"]:checked + label {
    background-image: url('../img/ico/checked20x20.png');
}

.row_t input[type="radio"] + label {
    margin: 0;
    width: 100%;
    height: 20px;
    padding-left: 32px;
    font-weight: 500;
    color: #999;
    background: url('../img/ico/radio_cir20x20_off.png') no-repeat center left;
}

.row_t input[type="radio"]:checked + label {
    color: #3f71b7;
    background-image: url('../img/ico/radio_cir20x20.png');
}

.row_t .radio_wrap {
    margin-bottom: 20px;
}

.row_t .radio_wrap.flex {
    display: flex;
}

.row_t .radio_wrap.flex .radio + .radio {
    margin-left: 30px;
}

/* .row_t .radio_wrap .radio+.radio {
    margin-left: 30px;
} */

.list_pop {
    z-index: 9999999;
}

.list_pop .pop_wrap {
    max-width: 380px;
}

.list_pop .pop_bot {
    padding: 20px 20px 30px;
}

/* 항목선택 */
.my_list_wrap {
}

.my_list_wrap li {
    border: solid 1px #dbdbdb;
    position: relative;
}

.my_list_wrap li + li {
    margin-top: -1px;
}

.my_list_wrap input + label {
    display: block;
    width: 100%;
    height: inherit;
    padding: 20px 0;
    text-align: center;
    color: #252525;
    background: none;
    position: relative;
}

.my_list_wrap input:checked + label {
    background: none;
}

.my_list_wrap input:checked + label::before {
    content: '';
    width: calc(100% + 2px);
    height: 100%;
    border: solid 2px #3d6cab;
    position: absolute;
    top: 0;
    left: -1px;
    box-sizing: border-box;
    z-index: 1;
}

/* 구매내역 팝업 */

.purch_history .pop_wrap {
    max-width: 590px;
}

.purch_history .top_allselect {
    padding: 20px 10px;
    border-top: solid 1px #eee;
    border-bottom: solid 1px #eee;
    background: #fafafa;
}

.purch_history .hist_month {
    margin-top: 30px;
}

.purch_history .month_top {
    padding-bottom: 19px;
    border-bottom: solid 1px #757575;
}

.purch_history .hist_month input + label {
    font-size: 20px;
    font-weight: 500;
    padding-left: 32px;
    background: url('/img/ico/check_ico20x20.png') no-repeat left center / 19px;
}

.purch_history .hist_month input:checked + label {
    background-image: url('/img/ico/checked_ico20x20.png');
}

.purch_history .hist_item {
    position: relative;
}

.purch_history .hist_item.end::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    opacity: 0.6;
}

.purch_history .pur_date {
    font-size: 16px;
    font-weight: 350;
    color: #454545;
    padding: 20px 10px;
    background: #fafafa;
}

.purch_history .info_wrap {
    border-bottom: solid 1px #ececec;
}

.purch_history .blur {
    position: relative;
    pointer-events: none;
}

.purch_history .blur::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    background: rgba(0, 0, 0, 0.2);
}

.purch_history .info_wrap .item_img_wrap {
    display: flex;
    width: 94px;
    margin-right: 20px;
}

.purch_history .info_wrap .info_box {
    width: calc(100% - 114px);
}

.purch_history .info_wrap {
    display: flex;
    padding: 23px 10px 20px;
}

.purch_history .info_wrap .thumb {
    width: 60px;
    height: 60px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: solid 1px #dbdbdb;
}

.purch_history .info_wrap .info_box {
    color: #757575;
    font-size: 15px;
    line-height: 1.3;
}

.purch_history .info_wrap .info_box .subject {
    max-width: 100%;
    font-size: 16px;
    overflow: hidden;
    /* white-space: nowrap; */
    text-overflow: ellipsis;
    margin-bottom: 4px;
    color: #252525;
}

.purch_history .info_wrap .info_box strong {
    font-size: 20px;
    font-weight: 900;
    font-family: 'Lato', sans-serif;
    color: #252525;
    margin-left: 3px;
}

.purch_history .info_wrap .info_box span {
    font-size: 15px;
    font-weight: 500;
    color: #252525;
}

.month_history .pop_wrap {
    max-width: 380px;
}

.month_history .my_list_wrap a {
    display: block;
    width: 100%;
    padding: 20px 0;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    color: #252525;
}

.month_history .my_list_wrap li:hover {
    border: solid 2px #3f71b7;
    z-index: 1;
}

.month_history .my_list_wrap li:hover a {
    padding: 19px 0;
}

.month_plus .pop_wrap {
    max-width: 540px;
}

.com_popup .select_2wrap {
    width: 100%;
    display: flex;
}

.com_popup .select_2wrap select {
    width: calc(50% - 5px);
    height: 40px;
    color: #999;
}

.com_popup .select_2wrap select + select {
    margin-left: 10px;
}

.month_plus .pop_bot {
    padding: 20px 20px 30px;
}

.com_popup .pop_btn_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.com_popup .pop_btn_wrap * {
    width: 100%;
    max-width: 120px;
    height: 40px;
}


/* 이용약관 */
.trems_tab_menu {
    width: 100%;
    margin: 15px 0;
}

.trems_tab_menu ul {
    display: flex;
}

.trems_tab_menu li {
    position: relative;
    width: 33.333333%;
    z-index: 1;
    border-bottom: 2px solid #3d6cab;
}

.trems_tab_menu li.active {
    border-bottom: none;
    z-index: 2;
}

.trems_tab_menu li.active a {
    height: 38px;
    border: 2px solid #3d6cab;
    border-bottom: none;
    background: #fff;
    color: #3d6cab;
}

.trems_tab_menu li a {
    display: block;
    height: 36px;
    margin-left: -1px;
    border: 1px solid #ccc;
    border-bottom: none;
    background: #f8f8f8;
    color: #333;
    text-align: center;
    font-weight: 500;
    line-height: 36px;
}

.trems_con {
    padding: 20px;
    border: solid 1px #ddd;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
}


/* test / table - > div 230818 */
.table_row {
    display: flex;
}

.table_row li {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
}

/* .table_row li:nth-of-type(-n+2) {
    border-bottom: 0;
} */
.table_row.col_table {
    flex-wrap: wrap;
}

.table_row.col_table li {
    width: 50%;
    line-height: 1.3;
}

.table_row li.w100 {
    width: 100%;
}

.table_row li .label {
    display: flex;
    align-items: center;
    max-width: 180px;
    width: 100%;
    height: 100%;
    flex: 0 0 auto;
    background: #f9f9f9;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    color: #252525;
}

.table_row li .input_wrap {
    width: calc(100% - 180px);
    padding: 8px 20px;
    font-size: 15px;
    color: #252525;
}

.table_row li .in_box {
    display: flex;
    border-top: 1px solid #252525;
    border-bottom: 1px solid #ececec;
}

.table_row li .in_box li {
    border-bottom: 0;
    width: 25%;
    display: flex;
    flex-direction: column;
}

.table_row li .in_box li .top_label {
    width: 100%;
    background: #f9f9f9;
    font-weight: 500;
    text-align: center;
    padding: 0 20px;
    line-height: 58px;
}

.table_row li .in_box li .input_box {
    padding: 8px;
}

.table_row li .in_box li .input_box .won {
    right: 20px;
}

.stm_label_wrap {
    display: flex;
    align-items: center;
    background: #f9f9f9;
}

.stm_label_wrap .label {
    text-align: center;
    line-height: 40px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 500;
    color: #252525;
}

.stm_wrap .stm60 {
    width: 60%;
}

.stm_wrap .stm50 {
    width: 50%;
}

.stm_wrap .stm20 {
    width: 20%;
}

.stm_wrap .stm18 {
    width: 18%;
}

.stm_wrap .stm12 {
    width: 12%;
}

.stm_table_row {
    font-size: 15px;
    height: 60px;
    color: #454545;
    text-align: center;
    vertical-align: middle;
}

.stm_table_row li .input_wrap {
    width: 100%;
    padding: 0 5px;
    font-size: 15px;
    color: #252525;
}

.stm_table_row li.admin {
    justify-content: center;
}

.calc_done .tbs02 .label {
    min-height: 60px;
}

.calc_done .in_box .input_box {
    padding: 0 !important;
    line-height: 58px;
}

.stm_wrap .total.red {
    color: #d20e06;
}

.stm_wrap .total.blue {
    color: #3f71b7;
}

.stm_wrap .total.black {
    color: #252525;
}

.calc_done .stm_history li {
    padding: 20px;
}

.calc_done .stm_history li.num_rl {
    justify-content: flex-end;
}


/* 구매내역 인증서 확인 */
.purch_history .certifi_wrap {
    flex: 0 0 auto;
    position: relative;
}

.purch_history .certifi_wrap .certifi {
    display: inline-block;
    font-size: 13px;
    line-height: 1;
    padding: 9px 15px;
    border-radius: 15px;
    color: #fff;
    background: #658dc5;
}

.purch_history .certifi_wrap .view_file {
    position: absolute;
    max-height: 205px;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    box-shadow: 0px 1px 12px 0px rgb(0 0 0 / 6%);
    background: #fff;
    padding: 0 12px;
    top: 32px;
    right: 0;
    display: none;
    z-index: 112;
    overflow-y: auto;
}

.purch_history .certifi_wrap .view_file::-webkit-scrollbar {
    width: 2px;
}

.purch_history .certifi_wrap .view_file::-webkit-scrollbar-thumb {
    background: #e9e9e9;
    border-radius: 12px;
}

.purch_history .certifi_wrap .view_file::-webkit-scrollbar-track {
    border-radius: 12px;
}

.purch_history .certifi_wrap .view_file li {
    font-size: 14px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
}

.purch_history .certifi_wrap .view_file li:last-of-type {
    border-bottom: 0;
}

.purch_history .certifi_wrap .view_file .down_file {
    display: inline-block;
    font-size: 15px;
    line-height: 30px;
    text-align: right;
    color: #3f71b7;
    padding-right: 30px;
    background: url(/img/ico/download_icon.png) no-repeat right 2px center;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 98%;
    white-space: nowrap;
}

.cer_img {
    width: 60px;
    height: 60px;
}

.cer_box_container {
    display: grid;
    grid-template-columns: 4fr 10fr;
    margin-bottom: 50px;
}

.cer_box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto 1fr;
    gap: 30px;
}

.cer_box_l {
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fb;
}

.cer_box_r {
    padding-top: 20px;
}

.cer_item {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cer_item p {
    line-height: 1.6;
}

.cer_text_end {
    margin-top: 10px;
}

.check_cer {
    margin-left: 20px;
    border-top: 1px solid #ccc;
    padding-top: 30px;
    margin-bottom: 30px;
    text-align: center;
    grid-column: 1 / -1
}

.span_a_b:hover {
    text-decoration: underline;
}

.terms_board {
    line-height: 1.7;
}

.terms_board span {
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif !important;
    font-size: 16px;
}
