/*=================================================
                컴포넌트
=================================================*/
/* body[data-devstep="component"] .component-wrap{
    position: relative;
    overflow: hidden;
    padding: 2.5rem 1rem 1rem;
    margin-bottom: 2rem;

    border: 1px solid #4B0082;
    background-color: rgba(200, 160, 230, 0.3);
}
body[data-devstep="component"] .component-wrap .devstep-title-wrap{
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    padding: 0.2rem 1.5rem;

    border: 1px solid #966532;
    background-color: rgba(230, 200, 180, 1);
}

body[data-devstep="component"] .component-wrap .component-wrap {
    background-color: rgba(200, 160, 230, 0.5);
}

body[data-devstep="component"] .component-wrap .component-wrap .component-wrap {
    background-color: rgba(200, 160, 230, 0.8);
} */

/*=================================================
                CSS Variables
=================================================*/
:root {
    --helper-color-primary: #00729E;
    --helper-color-primarylight: #E7F8FF;
    --helper-color-primarydark: #323232;
    --helper-color-secondary: #FFFFFF;
    --helper-color-secondarylight: #555555;
    --helper-color-secondarydark: #777777;
    --helper-color-accent: #2C8CB3;
    --helper-color-accentlight: #DEE2E6;
    --helper-color-accentdark: #999999;
    --helper-color-success: #198754;
    --helper-color-error: #DC3545;
    --helper-color-warning: #FFC107;
    --helper-color-cancel: #6C757D;
}

/*=================================================
				텍스트
=================================================*/
/*****#####===== 폰트 =====#####*****/
.h1, .h2, .h3, .h4, .h5, .h6 {
    margin-bottom: 0;
}

.h1 {
    /* 18px */
    font-size: 1.286rem;
    font-weight: 500;
}

.h2 {
    /* 16px */
    font-size: 1.143rem;
    font-weight: 700;
}

.h5 {
    /* 14px */
    font-size: 1rem;
    font-weight: 700;
}

.h6 {
    /* 14px */
    font-size: 1rem;
    font-weight: 400;
}

.display-1 {
    /* 12px */
    font-size: 0.857rem;
    font-weight: 400;
}

.display-2 {
    /* 14px */
    font-size: 1rem;
    font-weight: 500;
}

.display-5 {
    /* 10px */
    font-size: 0.714rem;
    font-weight: 500;
}

/*=================================================
                페이지 컴포넌트
=================================================*/
/*****#####===== 컨테이너 =====#####*****/
@media (min-width: 576px){
    .container{
        max-width: 720px;
    }
}

@media (min-width: 768px){
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px){
    .container {
        max-width: 720px;
    }
}

@media (min-width: 1200px){
    .container {
        max-width: 720px;
    }
}

@media (min-width: 1400px){
    .container {
        max-width: 720px;
    }
}

.container-xs-fixed{
    max-width: 460px !important;
}

/*=================================================
                컴포넌트 정보 페이지
=================================================*/
.fancybox-content{
    max-height: none;
}
/*****#####===== 상단 헤더 =====#####*****/
.component-layout .header-wrap{
    background-color: var(--helper-color-primary);

    color: #ffffff;
}

.component-layout .header-wrap .line-header{
    padding-top: 0.5rem;
}

.component-layout .header-wrap .version-wrap{
    font-size: 0.75rem;
}

/*****##### 메뉴 이동 영역 #####*****/
.component-layout .header-wrap .form-header{
    padding: 1.5rem 0;
}

/*****#####===== 아이템 영역 =====#####*****/
/*****##### 아이템 타이틀 #####*****/
.component-layout .part-title-wrap {
    padding: 2.5rem 0;
}

.component-layout .part-title-wrap .part-title{
    font-size: 3.125rem;
    font-weight: bold;
}

.component-layout .part-title-wrap .part-subtitle{
    margin-top: 0.25rem;

    color: #555555;
}

/*****##### 주의사항 및 약속 #####*****/
.component-layout .part-caution-wrap{
    padding: 1rem;

    background-color: #E1E7F8;
}

.component-layout .part-caution-wrap .caution-item{
    font-size: 0.875rem;
    line-height: 1.3125rem;
}

.component-layout .part-caution-wrap .caution-item::before{
    content: "·";
    margin-right: 0.5rem;
    font-weight: bold;
}

/*****##### 아이템 영역 #####*****/
.component-layout .part-item-wrap{
    margin-bottom: 5rem;
}

.component-layout .part-item-wrap .part-item{
    padding: 2.5rem 0;
}

.component-layout .part-item .part-item-content:not(:first-child){
    margin-top: 1rem;
}

/*=================================================
		    페이지 기본설정
=================================================*/
.page-wrap:not([data-menu="component"]) {
    padding: 1rem 0 5rem;
}

.logo-wrap {
    padding: 1rem 0;
}

.back-btn {
    padding: 1.25rem;

    font-size: 1.71rem;

    cursor: pointer;
}

#gnb-wrap {
    border-bottom: none;
}

#gnb-wrap {
    border-bottom: none;
}

#gnb .layout-item[data-type="menu"] .logo-wrap img{
    max-width: 6rem;
}

#gnb-wrap .gnb-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#gnb-wrap .nav-title {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
}

#gnb-wrap .dango-btn {
    position: relative;
    padding: 1.5rem;

    font-size: 1.71rem;
}

#gnb .layout-item[data-type="sub-menu"] .sub-menu-wrap {
    padding: 0.5rem;
}

#gnb .noti-btn{
    position: relative;

    font-size: 1.375rem;
}

#gnb .noti-btn.active::after{
    content: '';
    display: inline-block;

    position: absolute;
    top: 0;
    right: -0.125rem;

    width: 0.375rem;
    height: 0.375rem;

    background: var(--helper-color-danger);

    border-radius: 50%;
}

.count-noti-box{
    position: relative;
}

.count-noti-box .count-noti-num{
    display: none;
    position: absolute;
    top: 0;
    right: 0;

    width: 1.5rem;
    height: 1.5rem;

    border-radius: 100%;

    background: var(--helper-color-danger);
    color: #ffffff;

    font-size: 12px;
    font-weight: bold;

    transform: translate(50%, -50%);
}

.count-noti-box.active .count-noti-num{
    display: block;
    text-align: center;
    line-height: 1.5rem;
}

@media (min-width: 100px) and (max-width: 767.98px){
    #gnb {
        padding: 0;
    }
}

/*=================================================
		[Common] sort_wrap
=================================================*/
.sort_wrap .form-select{
    color: var(--helper-color-secondarydark);

    border: 1px solid var(--helper-color-secondarydark);
    border-radius: 0.25rem;
}

/*=================================================
		[Component] fancy-alert
=================================================*/
.fancy-alert{
    padding: 1.5rem;
}

.fancy-alert .alert-text {
    font-size: 1rem;
    color: var(--helper-color-primarydark);
}

.fancy-alert .btn{
    border-radius: 0.5rem;
}

/*=================================================
		[Component] float_menu
=================================================*/
.component-wrap[data-comp="float_menu_item"] #float-menu {
    display: block;

    padding: 0.43rem 1.143rem 0.29rem 1.143rem;

    border-top: 1px solid #DDD;

    background-color: var(--helper-color-secondary);

    z-index: 100;
}

.component-wrap[data-comp="float_menu_item"] .float-menu-item {
    position: relative;

    height: 100%;

    text-align: center;
}

.component-wrap[data-comp="float_menu_item"] .float-menu-item .item-title {
    margin-top: 0.43rem;

    color:var(--helper-color-secondarylight);
}

.component-wrap[data-comp="float_menu_item"] .float-menu-item.active .item-title {
    color: var(--helper-color-primary);
}

.component-wrap[data-comp="float_menu_item"] .float-menu-item .item-icon {
    color: var(--helper-color-secondarylight);

    font-size: 1.43rem;
}

.component-wrap[data-comp="float_menu_item"] .float-menu-item.active .item-icon {
    color: var(--helper-color-primary);
}

.item-content-wrap .item-content {
    display: flex;

    padding: 0.29rem;

    align-items: center;

    border-radius: 3px;
    background-color: #F1F1F1;
}

/*=================================================
            [Component] gds_item.php
=================================================*/
.component-wrap[data-comp="gds"] .lists-item-wrap {
    margin-top: 1.143rem;
}

.component-wrap[data-comp="gds"] .item-wrap {
    display: grid;
    grid-template-columns: 7.93rem 1fr;

    align-items: center;
    gap: 1.143rem;
}

.component-wrap[data-comp="gds"] .item-wrap .item-img {
    border: 1px solid var(--helper-color-accentlight);
    border-radius: 0.43rem;
}

.component-wrap[data-comp="gds"] .item-wrap .title-wrap {
    display: flex;

    flex-direction: column;

    gap: 0.29rem;
}

.component-wrap[data-comp="gds"] .item-wrap .item-title-wrap {
    display: flex;

    align-items: center;
}

.component-wrap[data-comp="gds"] .item-wrap .item-title {
    flex: 1 0 0;
}

.component-wrap[data-comp="gds"] .item-wrap .item-count-wrap {
    display: flex;

    justify-content: space-between;
}

.component-wrap[data-comp="gds"] .item-wrap .item-content-wrap {
    display: flex;

    gap: 0.29rem;
}

.component-wrap[data-comp="gds"] .item-content-wrap .item-content-content {
    padding: 2px 0.43rem;

    color: var(--helper-color-secondary);

    background-color: #00729E;
    border-radius: 2px;
}

.component-wrap[data-comp="gds"] .item-content-wrap .item-content-content.used {
    background-color: var(--helper-color-secondarydark);
}

.component-wrap[data-comp="gds"] .item-btn-wrap {
    border-radius: 3px;
}

.component-wrap[data-comp="gds"] .btn:hover {
    color: var(--helper-color-secondarylight);
    background-color: var(--helper-color-accentlight);
    border-color:  var(--helper-color-accentlight);
}

.component-wrap[data-comp="gds"] .dango-wrap {
    position: relative;
}

.component-wrap[data-comp="gds"] .popover {
    position: absolute;
    min-width: 6rem;
    top: 0px;
    left: 0px;
    will-change: transform;
}

.component-wrap[data-comp="gds"] .comp-dango {
    transform: translate3d(-62px, 17px, 0px) !important;
}


/*=================================================
            [Component] chat_gds_item.php
=================================================*/
.component-wrap[data-comp="chat_gds"] .item-wrap {
    display: grid;
    grid-template-columns: 4.375rem 1fr;
    align-items: center;

    gap: 0.857rem;
}

.component-wrap[data-comp="chat_gds"] .list-item-wrap {
    display: flex;
    flex-direction: column;

    gap: 0.29rem;
}

.component-wrap[data-comp="chat_gds"] .item-wrap .item-title-wrap {
    display: flex;
}

.component-wrap[data-comp="chat_gds"] .item-wrap .item-title {
    color: var(--helper-color-primarydark);
    flex: 1 0 0;
}

.component-wrap[data-comp="chat_gds"] .item-wrap .item-content-wrap {
    display: flex;
}


/*=================================================
            [Component] tax_popover_item.php
=================================================*/
.component-wrap[data-comp="tax_popover"] .tax-popover-wrap {
    padding: 1rem;

    background-color: #ffffff;

    border: 1px solid var(--helper-color-accentlight);
    border-radius: 0.2rem;
}

.popover .tax-popover-wrap {
    width: 18rem;

    transform: translate(0%, 0%);
}

.component-wrap[data-comp="tax_popover"] .tax-item-wrap {
    color: var(--helper-color-secondarylight);
}

.component-wrap[data-comp="tax_popover"] .tax-item {
    display: flex;

    line-height: 1.56;
}

.component-wrap[data-comp="tax_popover"] .tax-title {
    min-width: 12.86rem;
}

.component-wrap[data-comp="tax_popover"] .tax-subtitle {
    color: var(--helper-color-primarydark);
    flex: 1 0 0;
}

/*=================================================
            section-wrap
=================================================*/
.section-wrap {
    padding: 0 1.143rem 1.143rem;
}

/*=================================================
            .item-lists-wrap
=================================================*/
.item-lists-wrap {
    display: flex;
    flex-direction: column;

    padding: 1.5rem;
    gap: 1.143rem;

    border-top: 2px solid var(--helper-color-accentlight);
}

/*=================================================
            item-rank
=================================================*/
.item-rank path {
    fill: var(--helper-color-primary);
}

.rank-title {
    color: var(--helper-color-accentdark);
}

/*=================================================
            card-lists-item
=================================================*/
.card-lists-item {
    padding: 1.43rem 1.143rem;

    background-color: #ffffff;
    border-radius: 0;
    box-shadow: none;
}

.card-lists-item .item-desc .desc-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--helper-color-primarydark);
}

.card-lists-item .item-desc .desc-content {
    font-size: 1rem;
    font-weight: 400;
    color: var(--helper-color-primarydark);
}

/*=================================================
            .item-title-title
=================================================*/
.item-title-title {
    display: flex;

    justify-content: space-between;
    align-items: center;
}

/*=================================================
            .-box
=================================================*/
.content-box {
    border: 1px solid var(--helper-color-accentlight);
    box-shadow: none;
}

.board-lists-item {
    box-shadow: none;
    border: 1px solid var(--helper-color-accentlight);
    border-radius: 3px;
}

.red-box {
    padding: 2px;

    color: var(--helper-color-secondary);

    background-color: #E74235;
    border-radius: 3px;
}

.safe-box {
    padding: 2px 0.43rem;

    color: var(--helper-color-secondary);

    background-color: #00729E;
    border-radius: 3px;
}

.status-box {
    padding: 2px 0.43rem;

    color: var(--helper-color-secondary);

    background-color: var(--helper-color-secondarydark);
    border-radius: 3px;
}

.chat_wrap .chat_bubble_wrap[data-type="image"] .thumbnail {
    max-width: 100%;
    border-radius: 3px;
}

/*=================================================
            .before-wrap
=================================================*/
.before-wrap .before-title {
    margin-right: 0.25rem;

    font-size: 0.875rem;
    /*text-decoration: line-through;*/
    color: var(--helper-color-accentdark);
}

.before-wrap .before-icon {
    font-size: 0.875rem;
    color: var(--helper-color-accentdark);
}

/*=================================================
            .button
=================================================*/
.item-btn {
    width: 100%;

    border-radius: 3px;
}

.btn-content-wrap {
    display: flex;

    gap: 0.875rem;

    align-items: center;
}

.btn-outline-secondary {
    border: 1px solid var(--helper-color-accentlight);
}

.btn {
    border-radius: 3px;
}

.btn-form {
    position: fixed;

    left: 0;
    bottom: 0;
    width: 100%;
    padding: 1rem 1.143rem;
    margin-top: 1.143rem;

    border: 2px solid var(--helper-color-accentlight);
    background: #ffffff;

    z-index: 100;
}

/*=================================================
            .drawer
=================================================*/
.drawer-content {
    height: 75vh;

    overflow-y: scroll;
}

.drawer-footer {
    border-top: 1px solid var(--helper-color-accentlight);
}

/*=================================================
                radio
=================================================*/
.pretty.p-active input~.state label {
    padding: 0.714rem;

    color: var(--helper-color-secondarylight);

    font-size: 1rem;
    font-weight: 400;
}

.pretty.p-active input:checked~.state label {
    color: var(--helper-color-secondary);
    background-color: var(--helper-color-primary);
    border-color: var(--helper-color-primary);
}

/*=================================================
                line
=================================================*/
.line {
    border: 3px solid #F3F6F9;
}

.address-bar {
    padding: 1rem;

    background-color: #E7F8FF;
    text-align: left;
}

/*=================================================
                form
=================================================*/
.form-select {
    color: var(--helper-color-accentdark);
}

.form-control {
    color: var(--helper-color-accentdark);
}

.list-content-wrap {
    display: flex;
    flex-direction: column;

    gap: 1.143rem;
}

/*=================================================
                popover
=================================================*/
.popover-body .pop-item {
    color: var(--helper-color-secondarylight);
}

.fancy-alert .item-list {
    padding: 0.5rem 0;
}
