﻿
/*---------------------------------------------------------------------------------
                        Main - header/footer 공통요소
---------------------------------------------------------------------------------*/

html, .bar_fixed, .s_off_limits {
    /*max-width: 500px;
    overflow: hidden;*/
}

html, body {
    width: 100%;
    height: 100%;
    min-width: 320px;
    margin: 0 auto;
}

.common_wrap {
    position: relative;
}

/*하단바 높이 조정*/
.bar_fixed, .menu_bar {
    height: 6.5rem;
}

.mobile_menu {
    height: calc(100% - 6.5rem);
}
/*---*/

.bar_fixed {
    position: fixed;
    bottom: 0px;
    width: 100%;
    min-width: 320px;
    z-index: 4; /*max 5*/ /*하단 픽스된 버튼이 z-index: 3*/
    width: 100%;
    box-shadow: 0px 3px 11px rgba(0,0,0,0.3);
}

.bar_fixed.active {
    height: 100%;
}

.bar_fixed.inactive {
    transition-delay: 0.4s;
}

.menu_bar ul {
    width: 100%;
    height: 100%;
}

.menu_bar {
    box-shadow: 0px 3px 11px rgba(0,0,0,0.3);
    bottom: 0px;
    position: absolute;
    width: 100%;
    min-width: 320px;
    height: 6.5rem;
    background-color: #ffffff;
    z-index: 2; /*max 10*/
}

.menu_bar li {
    float: left;
    display: block;
    width: calc(100% / 4);
    height: 100%;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.menu_bar li.active:after {
    width: 50%;
    height: 3px;
    content: '';
    background-color: #34b4cd;
    position: absolute;
    top: 0;
    transform: translate(-50%, 0%);
    left: 50%;
    opacity: 0;
}

.menu_bar li a {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    vertical-align: middle;
    background-size: 22px;
    background-position: 50% 11px;
    /*font-size: 0px;
    text-indent: -9999px;*/
    transition: 0.3s;
}

.menu_bar li a span {
    position: absolute;
    bottom: 7px;
    width: 100%;
    left: 0;
    color: #a59d9b;
}

.menu_bar li.active a span {
    color: #000;
}

.menu_bar li:nth-child(1) a {
    background-image: url(/images/icon/icon_fixed_1_off.png);
    background-size: 24px;
}

.menu_bar li:nth-child(2) a {
    background-image: url(/images/icon/icon_fixed_2_off.png);
    background-size: 24px;
}

.menu_bar li:nth-child(3) a {
    background-image: url(/images/icon/icon_fixed_3_off.png);
    background-size: 23px;
}

.menu_bar li:nth-child(4) a {
    /*background-image: url(/images/icon/icon_fixed_4_off.png);*/
    background-image: url(/images/icon/icon_fixed_4_on.png);
    background-position: 50% 11px;
    background-size: 22px;
}

.menu_bar li.active a {
    background-image: url(/images/icon/icon_fixed_1_on.png);
    transition: 0.3s;
}

.menu_bar li.active:nth-child(2) a {
    background-image: url(/images/icon/icon_fixed_2_on.png);
}

.menu_bar li.active:nth-child(3) a {
    background-image: url(/images/icon/icon_fixed_3_on.png);
}

.menu_bar li.active:nth-child(4) a {
    background-image: url(/images/icon/icon_fixed_4_on.png);
}

.mobile_menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    background-color: #ffffff;
    /*box-shadow: 0px 0px 6px rgba(0,0,0,0.2);*/
    z-index: 1;
    right: -80%;
    -webkit-box-shadow: -10px 0 20px -10px rgba(0, 0, 0, 0.1);
    box-shadow: -10px 0 20px -10px rgba(0, 0, 0, 0.1);
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.mobile_menu.active {
    right: 0%;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.mobile_menu .mobile_menu_list {
    height: 100%;
    padding: 8rem 2.5rem 6rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.mobile_menu.common_m .mobile_menu_list {
    padding-bottom: 0;
    padding-top: 0;
}

.mobile_menu.common_m .main_list {
    padding-bottom: 2rem;
    padding-top: 8rem;
}

.mobile_menu ul li {
    margin-bottom: 1rem;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.common_m ul li.list_contract a {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}


.mobile_menu .menu_home {
    margin-bottom: 5rem;
}

.mobile_menu .logout {
    display: flex;
    /*justify-content: center;*/
}

.mobile_menu ul li.last_child {
    margin-top: 5rem;
}

.mobile_menu ul li.logout {
    /*position: absolute;
    bottom: 5rem;*/
}

.mobile_menu ul li a {
    position: relative;
}

.mobile_menu ul li.on a:before {
    /*position: absolute;
    content: '';
    display: block;
    width: 180%;
    height: 0.5rem;
    background-color: #fee82e;
    bottom: 0px;
    left: -25px;
    opacity: 0.8;*/
}

.mobile_menu ul li a span {
    position: relative;
}

.mobile_bg.active {
    opacity: 1;
    visibility: visible;
}

.mobile_bg {
    position: fixed;
    content: "";
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background: rgba(46, 39, 36, 0.3);
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    opacity: 0;
    visibility: hidden;
}


.bar_fixed .close_icon {
    position: absolute;
    right: 15px;
    top: 15px;
}

.mobile_menu .c_button a {
    padding: 1rem;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0.7rem;
}

.mobile_menu .c_button a {
    padding: 1rem 1.5rem;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0.7rem;
}

.mobile_menu .c_division {
    content: "";
    /*width: calc(100% + 4rem);
    margin: 0 -2rem;*/
    height: 2px;
    background-color: #e6e9f2;
    margin: 1.5rem 0;
}


.mobile_menu .li_sh, .li_sh {
    box-sizing: border-box;
    cursor: pointer;
    text-align: center;
    width: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0rem 1.5rem;
    box-shadow: 0px 0px 4px 2px rgb(0 0 0 / 7%);
    border-radius: 1rem;
}


/*.mobile_menu.common_m*/
.mobile_menu.common_m .main_tit {
    margin-bottom: 2rem;
}

.mobile_menu.common_m .box_wrap {
    display: flex;
    margin-bottom: 2rem;
}

.mobile_menu.common_m .b_w, .mobile_menu.common_m .call_wrap .c_w a {
    text-align: center;
    width: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0rem 1.5rem;
    cursor: pointer;
    box-shadow: 0px 0px 4px 2px rgb(0 0 0 / 7%);
    border-radius: 1rem;
    height: 10rem;
    margin-right: 2rem;
}

.mobile_menu.common_m .b_w:last-child {
    margin-right: 0rem;
}

.mobile_menu.common_m .box_wrap .img {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 3rem;
    margin-bottom: 1rem;
}

.mobile_menu.common_m .li_wrap {
    margin-bottom: 5rem;
}

.mobile_menu.common_m .call_wrap .c_w a {
    display: flex;
    flex-direction: row;
    background-color: #feb52b;
    cursor: pointer;
    box-sizing: border-box;
    margin-right: 0;
    height: 5rem;
    align-items: center;
}

.mobile_menu.common_m .call_wrap .c_w img {
    height: 2rem;
    margin-right: 1.3rem;
}

.mobile_menu_list .c_button.btn_default {
    margin-bottom: 2rem;
}


/*.ending_box*/
.ending_box .gray {
    color: #666;
}

.mobile_menu.ending_box .mobile_menu_list {
    padding: 8rem 2.5rem 2rem;
}

.mobile_menu.ending_box .new_box {
    background-color: #feb52b;
    flex-direction: row;
    height: 5rem;
    min-height: 5rem;
}

.mobile_menu.ending_box .new_box .icon_plus {
    margin-right: 1.5rem;
    display: flex;
}

.ending_box .c_how {
    margin: 2rem 0 0;
    border-bottom: 1px solid #e6e9f2;
    padding-bottom: 1.5rem;
}

.ending_box .c_how .c_h_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.ending_box .c_how .tit {
    display: flex;
    align-items: center;
}

.ending_box .c_how .tit .img {
    height: 1.6rem;
    margin-right: 1rem;
}



.mobile_menu .box_list {
    overflow-y: auto;
    padding: 2rem;
    margin: 0 -2rem;
}

.mobile_menu.common_m .box_list {
    height: auto;
    padding: 0 2rem;
    overflow: hidden;
    padding-top: 2rem;
}


.mobile_menu.common_m .box_list .list_wrap {
    overflow-y: auto;
    height: calc(100% - 9.8rem);
    box-sizing: border-box;
    margin: 0 -2rem;
    padding: 0.7rem 2rem 2rem;
}

.mobile_menu .box_list .c_title {
    margin-bottom: 1.5rem;
}

.mobile_menu .box_list .list_wrap li {
    flex-direction: column;
    height: auto;
    text-align: left;
    padding: 0;
    overflow: visible;
}

/*.mobile_menu .box_list .list_wrap li .list_top {
    width: 100%;
    border-bottom: 1px solid #dfe0e4;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}*/

.mobile_menu .box_list .list_top .lt_tit {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.mobile_menu .box_list .list_top .lt_tit .c_text {
    display: flex;
}

.mobile_menu .box_list .list_top .i_medal {
    height: 4rem;
    margin: -1.5rem 0 0 0rem;
    margin-right: 1rem;
    /*display: none;*/
}


.mobile_menu .box_list .list_top .lt_tit .state {
    background-color: #e6e9f2;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    /*padding: 0 1.3rem;*/
    border-radius: 3rem;
    height: 2.3rem;
    color: #666;
    min-width: 70px;
}

.mobile_menu .box_list .list_wrap .c_bundle {
    border-bottom: 1px solid #e6e9f2;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.mobile_menu .box_list .list_wrap .c_bundle .bun {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.mobile_menu .box_list .list_wrap .ing .l_b_wrap {
    background-color: #feb52b;
}

.mobile_menu .box_list .ing .list_top .lt_tit .state {
    background-color: #fff;
    color: #000;
}

.mobile_menu .box_list .ing .list_top .c_bundle {
    border-bottom: 1px solid #bf8d2f;
}

.mobile_menu .box_list .list_wrap .lt_tit .i_trash {
    /*display: none;*/
}


.mobile_menu .box_list .list_wrap li.active {
    border-radius: 1rem;
    padding: 0;
    margin-bottom: 5rem;
    background-color: #fff;
    box-shadow: 0px 0px 4px 2px rgb(0 0 0 / 7%);
}

.mobile_menu .box_list .list_wrap li.active .lt_tit .state {
    /*display: none;*/
}

.mobile_menu .box_list .list_wrap li.active .lt_tit .i_trash {
    display: none;
}

.mobile_menu .box_list .list_wrap .l_b_wrap {
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    height: auto;
    text-align: left;
    padding: 1.5rem;
    overflow: visible;
    border-radius: 1rem;
    position: relative;
    z-index: 1;
}


.mobile_menu .box_list .list_wrap .active .l_b_wrap {
    background: #fff;
    border: 2px solid #feb52b;
}

.mobile_menu .box_list .list_wrap .active .l_b_wrap .btn_bundle {
    box-sizing: border-box;
    padding: 0;
    background: #ddd;
    width: 100%;
    display: flex;
    align-items: center;
    position: absolute;
    bottom: -40px;
    border-radius: 0 0 1rem 1rem;
}

.mobile_menu .box_list .complete .list_top .lt_tit .state {
    background-color: #feb52b;
    color: #000;
}

.mobile_menu .box_list .active.complete .list_top .lt_tit .state {
    /*background-color: #e6e9f2;
    color: #666;*/
}

.mobile_menu .box_list .complete .list_top .i_medal {
    display: block;
}



.mobile_menu .box_list .list_wrap .btn_bundle a {
    box-sizing: border-box;
    padding: 2rem 0 1rem;
    position: static;
    display: block;
    width: 50%;
    text-align: center;
}

.mobile_menu .box_list .list_wrap .active .btn_bundle {
    overflow: hidden;
    box-sizing: border-box;
    padding: 0;
    background: #ddd;
    width: 100%;
    display: flex;
    align-items: center;
    position: absolute;
    bottom: -40px;
    border-radius: 0 0 1rem 1rem;
}

.mobile_menu .box_list .list_wrap .btn_bundle a {
    box-sizing: border-box;
    text-align: center;
    padding: 2rem 0 1rem;
    width: 50%;
}

.mobile_menu .box_list .list_wrap .btn_bundle .btn_more {
    background-color: #adaeb2;
    color: #fff;
}

.mobile_menu .box_list .list_wrap .btn_bundle .btn_share {
    background-color: #e6e9f2;
}

.mobile_menu .box_list .list_wrap .c_bundle .bun:last-child {
    margin-bottom: 0;
}

.mobile_menu .box_list .list_wrap li .list_top, .mobile_menu .box_list .list_wrap li .list_detail {
    width: 100%;
}

.mobile_menu .box_list .list_wrap li .list_detail .detail_line {
    display: flex;
    justify-content: space-between;
}

.mobile_menu .box_list .list_wrap li .icon, .ending_box .list_wrap .btn_bundle {
    display: none;
}

.mobile_menu .box_list .list_wrap li.active .icon {
    display: block;
}


.ending_box .list_wrap li .icon {
    position: absolute;
    top: -13px;
    right: -1px;
}




/*.menu_wrap .ending_box .sec_how*/
.ending_box .sec_how .gray {
    color: #828282;
}

.menu_wrap .mobile_menu.ending_box .sec_how {
    padding: 0;
    margin-top: 4rem;
}

.ending_box .sec_how .c_sec_title {
    letter-spacing: -0.2rem;
}

.ending_box .sec_how .c_icon {
    height: 11rem;
}


.test {
}


/*---------------------------------------------------------------------------------
                                  Media Query
----------------------------------------------------------------------------------*/
@media (max-width: 991.98px) {
}


@media (max-width: 500px) {


}
