@charset 'utf-8';
@import url(common.css);

html {font-size: 13px}

/* intro */
.intro {width: 100vw;height: 100vh;max-width: 820px;background: url(../img/intro.png) no-repeat 50% 50% / cover;margin: 0 auto;position: relative;display: flex;align-items: center;justify-content: center;flex-direction: column;text-align: center}
.intro p {position: absolute;left: 2.916rem;bottom: 5.416rem; max-width: 70%}

/* -------------------
HEADER               |
------------------- */
header {padding: 1.25rem 0 5rem;background: #fd4f4c;background: linear-gradient(180deg, #fd4f4c 0%, #e4293e 30%);;}
header h1 {max-width: 50%; margin: 0 auto; text-align: center; font-size: 0}
header #gnb {text-align: center;max-width: 640px;margin-left: auto; margin-right: auto; margin-top: 1rem; color: #fff; font-size: 0}
header #gnb li {display: inline-block; vertical-align: top; font-size: 1.166rem; width: 25%; padding: 0}
header #gnb li img {display: block;margin: 0 auto .5rem}

/* -------------------
FOOTER               |
------------------- */
footer {position: fixed;left: 0;right: 0;bottom: 0;background: #fff; border-top: 1px solid #e5e5e5;box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);z-index: 2;}
footer ul {display: flex;justify-content: center;font-size: 0;color: #888; padding: .75rem 0}
footer li {max-width: 25%;text-align: center;flex-grow: 1;position: relative}
footer li.active {color: #000}
footer img {max-height: 1.75rem;display: block;margin: 0 auto .25rem}
footer li a {position: relative;display: inline-block;}
footer li .badge {background: #016aff;color: #fff;min-width: inherit;width: 1rem;height: 1rem;display: flex; align-items: center; justify-content: center;;border-radius: 50%;padding: 0;font-size: .75rem;position: absolute;left: -.5rem;top: -.25rem;}

.scroll-top {position:fixed; right:1rem; bottom:0; background:rgba(229, 41, 62, 0.8); width:3.75rem; height:3.75rem; color:#fff; display: flex;  align-items: center;  justify-content: center; font-size: 0; text-align:center; cursor:pointer; border-radius:50%; opacity:0;transition:all 0.3s;box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);z-index: 3}
.scroll-top i {font-size: 1.5rem;}
.scroll-top.is-showing {bottom:8rem;opacity: 1}

/* -------------------
MAIN                 |
------------------- */
.main-content .now {}
.main-content .now li {border-bottom: 1px solid #eee;padding: .5rem 0; font-size: 1.083rem; display: flex; align-items: center}
.main-content .now li b {font-size: 1.333rem;margin-left: auto;}
.main-content .now li small {font-size: 1.333rem;margin-left: auto;}
.main-content .now li img {margin-right: .5rem;max-width: 2.666rem;}
.main-content .bullet {}
.main-content .bullet li {display: flex; align-items: center}
.main-content .bullet li+li {margin-top: .5rem;}
.main-content .bullet li .date {margin-left: auto; font-size: .833rem; color: #666}
.banner {margin: 1rem auto;text-align: center}
.banner img {width: 100%}

/* -------------------
SUB                  |
------------------- */
.sub-top {padding: 1rem 0}
.sub-top .sub-top-inner {display: flex; align-items: center}
.sub-top h1 {font-size: 1.5rem;width: 70%;text-align: center}
.sub-top .go-back {font-size: 1.5rem; width: 15%;  position: relative; z-index: 2}
.sub-top h3 {font-size: 1.083rem;font-weight: bold;margin: 1.5rem 0 1rem;}
.sub-top h3:first-child {margin-top: 0;}
.sub-top h3 small {font-size: .833rem; color: rgba(255, 255, 255, 0.5)}
.sub-top+main {padding-top: 0;}
main {padding: 1.5rem 0}
main {}
main h2 {font-size: 1.333rem; margin: 2rem 0 1rem; display: flex; align-items: center}
main h2:first-child {margin-top: 0;}
main h2 a {margin-left: auto; font-size: 1rem;color:var(--green); font-weight: normal}
main h2+p {margin-top: -.5rem; margin-bottom: 1rem; font-size: .666rem; color: #666}
main h3 {font-size: 1.083rem;font-weight: bold;margin: 2rem 0 1rem; color: #000}
main h3:first-child {margin-top: 0;}
main h3 small {font-size: .833rem; color: #888}

/* list */
.list li {display: flex;width: 100%;}
.list li+li {padding-top: 1rem;margin-top: 1rem;border-top: 1px solid #eee;}
.list.normal {border-bottom: 1px solid #e5e5e5;}
.list.normal li {padding: 1rem 0;display: block;position: relative;padding-right: 2rem;}
.list.normal.angle li:after {content: "\F285"; font-family: bootstrap-icons;position: absolute;right: 0;top: 50%;transform: translate(0, -50%)}
.list.normal li+li {margin-top: 0;}
.list.normal strong {display: block;font-size: 1.041rem;font-weight: normal;}
.list.normal .date {display: block;font-size: .833rem;color: #aaa;}
.list.normal .btn.right {position: absolute;right: 0;top: 50%;transform: translate(0, -50%);line-height: 1.1;font-size: .916rem;}
.list.normal .btn.del {background-color: #fff;}
.list.normal .cash {position: absolute;right: 0;top: 50%;transform: translate(0, -50%);line-height: 1.1;color: #666; font-size: .916rem;}


.list.set li {}
.list.set li .checkbox-toggle {position: absolute;right: 1rem;top: 50%;-webkit-transform: translate(0, -50%);transform: translate(0, -50%);font-size: 0;}
.list.set li .checkbox-toggle input {opacity: 0;position: absolute}
.list.set li .checkbox-toggle label {width: 3rem; height: 1.25rem;border: 1px solid #ddd;background: #d5d5d5; border-radius: 1rem;margin: 0; position: relative}
.list.set li .checkbox-toggle label:before {content: "";position: absolute;left: 0;top: 50%;-webkit-transform: translate(0, -50%);transform: translate(0, -50%);width: 1.5rem;height: 1.5rem;background: #fff;border-radius: 50%;-webkit-box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.2);box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.2);-webkit-transition: all 0.3s;transition: all 0.3s}
.list.set li .checkbox-toggle label:after {content: "\f26e";font-family: bootstrap-icons !important;position: absolute;left: 0;width: 1.5rem;height: 1.5rem; text-align: center;line-height: 1.25rem;font-size: 1.25rem;color: #fff;vertical-align: top;-webkit-transition: all 0.3s;transition: all 0.3s}
.list.set li .checkbox-toggle :checked+label {background: var(--green);}
.list.set li .checkbox-toggle :checked+label:before {left: auto;margin-left: 1.5rem;-webkit-transition: all 0.3s;transition: all 0.3s}
.list.set li .checkbox-toggle :checked+label:after {color: var(--green);margin-left: 1.5rem;-webkit-transition: all 0.3s;transition: all 0.3s}

/* -------------------
MEMBER               |
------------------- */
.form.login .form-control {margin-bottom: 1rem;}
.form.login .login-check {color: #888}
.form.login .member-link {text-align: center; line-height: 1}
.form.login .member-link a+a {padding-left: 5px;margin-left: 5px;border-left: 1px solid #eee;}
.btn-join-group {margin-top: 3rem;padding-top: 3rem;border-top: 1px solid #eee;}
.btn-join-group .btn {color: #fff;width: 100%;display: flex;align-items: center;justify-content: center; font-size: 1.166rem; font-weight: bold; color: #222 !important}
.btn-join-group .btn img {max-width: 1.666rem;margin-right: .416rem;}
.btn-join-group .btn+.btn {margin-top: 1rem;}
.user-info {color: #666;display: flex;flex-wrap: wrap; align-items: center; font-size: 1.041rem;}
.user-info .profile {}
.user-info .name {font-size: 1.541rem; color: #222;}
.user-info b {color: #222}
.user-info ul {margin-top: 1rem;}
.user-info .img {margin-left: auto; text-align: center; font-size: .833rem;}
.user-info .img span {width: 3.333rem; height: 3.333rem; display: block; margin-bottom: .5rem; border-radius: 50%; overflow: hidden;}
.user-info .img img {width: 100%; height: 100%; object-fit: cover}
.card.refund {background: #0bbb83 url(../img/bg_return.png) no-repeat 0 50% / cover; padding: 2rem;text-align: center; color: #fff; display: block; margin: 1.5rem auto; overflow: hidden;}
.card.refund:after {content: "";position: absolute;left: 0;bottom: 0;right: 0;height: 50%; background: linear-gradient(0deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 50%);;}
.card.refund b {font-size: 2.5rem; display: block;}
.card.refund .btn {padding-left: 2rem;padding-right: 2rem; margin-top: 1rem; line-height: 1.2;position: relative;z-index: 1;}
.card.return {text-align: left; background-image: url(../img/bg_refund.png); padding-top: 2.5rem;padding-bottom: 2.5rem;}
.card.return b {font-size: 2.083rem;}
.check-area {}
.check-area .checkbox {display: flex}
.check-area .checkbox a {margin-left: auto; color: var(--green)}
.radio-group {display: flex;}
.radio-group .radio {flex-grow: 1; text-align: center}
.radio-group .radio label {padding: 1rem;display: block;margin: 0;border: 2px solid #eee; background: #f8f8f8; font-size: 1.083rem;}
.radio-group .radio:first-child label {border-top-left-radius: .75rem; border-bottom-left-radius: .75rem}
.radio-group .radio:last-child label {border-top-right-radius: .75rem; border-bottom-right-radius: .75rem}
.radio-group .radio+.radio label {margin-left: -2px;}
.radio-group .radio label:before {display: none;}
.radio-group .radio :checked+label {border-color: var(--green);z-index: 1; background: #fff; color: var(--green)}
.graph {height: 8rem;background: url(../img/chart_line.png) repeat-x 50% / contain;margin: 4rem 0 2rem;position: relative; display: flex;}
.chart {background: #f9fafb;border-radius: 1rem; padding: 2rem}
.chart .progress {flex-grow: 1;background: none; text-align: center; width: 25%; display: block; height: 100%; position: relative; overflow: visible}
.chart .progress .progress-bar {position: absolute;left: 50%;transform: translate(-50%, 0);bottom: 0;width: 2rem; height: 8rem; border-radius: .5rem; padding: .15rem 0}
.chart .progress .progress-bar:after {content: "";width: 100%;height: 100%;background: linear-gradient(0deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 80%);bottom: 0; position: absolute}
.chart+.chart {margin-top: 1rem;}
.chart .total {font-size: 1.333rem; text-align: right; font-weight: bold}
.chart .progress {height: auto;}
.chart b {position: absolute;top: -2rem;width: 100%; left: 0;}
.chart span {position: absolute;bottom: -2rem;width: 100%; left: 0; font-size: 1rem;}
.chart.type1 .total {color: var(--green)}
.chart.type2 .total {color: #f59325}
.chart.type3 .total {color: #3f8cff}
.chart.type1 .progress-bar {background: #0cc78b}
.chart.type2 .progress-bar {background: #f59325}
.chart.type3 .progress-bar {background: #3f8cff}
.withdraw dt {font-size: 1.125rem;}
.withdraw dt span { font-weight: normal; font-size: 90%; opacity: .8;}
.withdraw dd {color: #666;padding-top: .5rem;font-size: 1.083rem;border-bottom: 1px solid #e5e5e5;padding-bottom: 1.5rem;margin-bottom: 1.5rem;}
.withdraw dd.pb-0{margin-bottom:2.5rem}
.withdraw dd .form-control {color: #666;font-size: .916rem;}

/* اء·خات */
.profile-detail {position: relative; margin-top:2rem}
.profile-detail .link-group {background: #fff;border-radius: 2rem;padding: .75rem;text-align: center;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;margin: 0 auto;max-width: 280px;margin-top: .5rem;}
.profile-detail .link-group a {color: #016aff; line-height: 1; font-size: 1rem;}
.profile-detail .link-group a+a {margin-left:1.5rem;padding-left:1.5rem;border-left: 1px solid #eee}
.profile-detail .welcome {font-size:2rem;text-align: center;}
.profile-detail .id{text-align: center;color:#000;font-size: 1.125rem;margin-top: .5rem;}

.profile-detail .file-upload {position:relative;font-size: 0;}
.profile-detail .file-upload input[type="file"] {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;}
.profile-detail .file-upload label {display: inline-block;vertical-align: top;cursor: pointer;position: relative}
.profile-detail .file-upload label:before {content: "";width: 1.791rem;height: 1.791rem;display: block;background: url(../img/ic_camera.png) no-repeat 50% / cover;position: absolute;right:2px;bottom:2px;z-index: 1;}
.profile-detail .file-upload.preview-image {max-width:8rem;margin: 0 auto;position: relative;text-align: center;}
.profile-detail .file-upload .thumb-preview {width: 6.875rem !important;height: 6.875rem !important;border-radius: 50%;overflow: hidden;border: 10px solid #f7f7f7;background:#fff url('../img/profile1.jpg') no-repeat center / cover; position: relative;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center}
.profile-detail .file-upload .thumb-preview img {position:absolute; left:50%; top:50%; -webkit-transform:translate(-50%,-50%); transform:translate(-50%,-50%); max-width:none; max-height:10rem; width:auto;}
.profile-detail .file-upload .del-file {display: none;background: #ddd;border-radius: 50%; position: absolute;right: 2px;top:2px;padding: 0;border: 0;width: 1.791rem;height: 1.791rem;z-index: 3;font-size: 1rem;}
.profile-detail .file-upload .upload-display {overflow: hidden;background: #fff;width: 100%;height: 100%;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center}

.category-list {background: #f1f7ff;padding: .75rem 1rem 2rem;border-radius: 1rem;margin-top: 2rem;margin-bottom:2rem;}
.category-list ul {display: -webkit-box;display: -ms-flexbox;display: flex;-ms-flex-wrap: wrap;flex-wrap: wrap;}
.category-list li {flex-basis: 25%;-webkit-box-flex: 1;-ms-flex-positive: 1;flex-grow: 1;text-align: center;font-size:1rem;height:9rem;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: end;-ms-flex-align: end;align-items: flex-end;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center}
.category-list li img {max-height: 6rem;display: block;margin: 0 auto .25em}

.list.normal b {display:inline-block; color:#0ab27d; font-weight:normal; }
.list.normal small {display:block; color:#999; }

dl.board {}
dl.board dt {padding: 1rem;font-weight: 500;border-bottom: 1px solid #eee;}
dl.board dd {padding: 1rem;font-size: .916rem; border-bottom: 1px solid #eee;min-height:20vh;}
dl.board dd img {display:block; margin-bottom:1rem; }
dl.board .date {font-size: .833rem;color: #888;display: block;font-weight: 300;}
dl.board .info {text-align: right;margin-top: .5em;}

@media (min-width: 768px) {
    html {font-size: 18px}
}
@media (min-width: 992px) {
    html {font-size: 24px}
    body {}
    header {}
    footer {}
    .scroll-top {background: rgba(0, 0, 0, 0.3)}
    .scroll-top.is-showing {bottom: 1rem}
    .sub-top {background: none; padding-bottom: 1.25rem;}
}

@media (max-width: 767px) {
}

@media (max-width: 280px) {
    html {font-size: 10px}
}
