.form_table {
    border-collapse: collapse;
    text-align: left;
    line-height: 1.5;
}
.form_table th {
    padding: 5px 8px;
    font-weight: bold;
    vertical-align: middle;
    border: 1px solid #ccc;
    background-color: #eee;
}
.form_table td {
    padding: 5px 8px;
    vertical-align: middle;
    border: 1px solid #ccc;
}

/* Flex */
.flex {
    display: flex;
}
.flex.jsb {
    justify-content: space-between;
}
.flex.jsa {
    justify-content: space-around;
}
.flex.jse {
    justify-content: space-evenly;
}
.flex.js {
    justify-content: flex-start;
}
.flex.je {
    justify-content: flex-end;
}
.flex.jc {
    justify-content: center;
}
.flex.aic {
    align-items: center;
}
.flex.aib {
    align-items: baseline;
}
.none {
    display: none;
}
.ellipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* Margin Auto */
.mHauto {
    margin: auto 0;
}

section ul.menu_list2 {
    width: 100%;
}
section ul.menu_list2 > li {
    width: 92%;
    padding: 15px 4%;
    border-bottom: 1px solid #e7e7e7;
    font-size: 1.5rem;
    color: #58585a;
    background-color: #fff;
}
section ul.menu_list2 > li > span:nth-child(1) {
    float: left;
}
section ul.menu_list2 > li > span:nth-child(2) {
    float: right;
}
section ul.menu_list2 > li > label {
    float: right;
}
section ul.menu_list2 > li > span.set_login {
    width: 60px;
}
section ul.menu_list2 > li > span.list_arrow {
    width: 6px;
}
section ul.check_list > li:active {
    background-color: #fff;
}
section .right_text {
    width: 92%;
    margin: 0 auto;
    padding: 20px 0 0 0;
    font-size: 1.5rem;
    color: #58585a;
    background-color: #fff;
    text-align: right;
}


.order_pay_wrap {
    
    div, span, p, ul, li, button, a, input {
        box-sizing: border-box;
        font-family: 'Cafe24Ohsquare', sans-serif;
    }
    .fc_red {
        color:red !important;
    }
    .fc_blue {
        color:#315f95 !important;
    }

    .spinner-wrap {
        display:inline-flex;
        align-items: flex-start;
        width:100px;
        input {
            flex:1;
            height:24px;
            width:100%;
            text-align:center;
            border:1px solid #efefef;
            border-left:0;
            border-right:0;
            color:#000;
        }
        button {
            width:24px;
            height:24px;
            flex-shrink: 0;
            border:0;
        }
        button.btn-m {
            background: url(/app/common/img/section/count_down.jpg) no-repeat center/contain;
        }
        button.btn-p {
            background: url(/app/common/img/section/count_up.jpg) no-repeat center/contain;
        }
    }
}

.title-info-box {
    border:1px solid #7F7F7F;
    border-radius:5px;
    position:relative;
    .tit {
        display:block;
        width:120px;
        height:22px;
        margin:0 auto 0;
        color:#fff;
        font-size:14px;
        line-height:22px;
        font-weight:normal;
        text-align:center;
        border-radius:0 0 10px 10px;
        background-color:#7F7F7F;
    }
    .inner {
        padding:10px;
        font-size:13px;
        p {
            color: #000;
            line-height:1.4;
            text-align:center;
        }
        p.fc_red {
            margin-top:8px;
        }
    }
}

.order-pay-list {
    margin-top:10px;
    .order-pay-item {
        border-bottom: 1px solid #c7c8ca;
        dt {
            padding: 12px 0 10px;
            border-bottom: 3px solid #c7c8ca;
            display:flex;
            align-items: flex-end;
            gap:10px;
            strong {
                font-size: 16px;
                font-weight: 600;
                flex-shrink: 0;
            }
            .reg-date {
                font-size:12px;
                color:#666;
                flex-shrink: 0;
            }
        }

        .img-flex {
            display:flex;
            padding:10px 0;
            gap:8px;
            .p-img {
                flex-shrink: 0;
                width:85px;
                height:85px;
                img {
                    border-radius:5px;
                }
            }
            .txt {
                color:#000;
                font-size:15px;
                line-height:1.4;
            }
        }
        
        .opt {
            border-radius:4px;
            background-color: #f2f2f2;
            padding:5px;
            align-items: center;
            display:flex;
            font-size:14px;
            gap:8px;
            p {
                flex:1;
                line-height:1.2;
            }
            .btns {
                display:inline-block;
                flex-shrink: 0;
                width:20px;
            }
        }
        .total {
            padding:10px 0;
            display:flex;
            align-items: center;
            gap:10px;
            justify-content: space-around;
            .counter {
                flex:1;
                display:inline-flex;
                align-items: center;
                gap:10px;
                > strong {
                    font-weight:normal;
                    font-size:14px;
                    color:#000;
                }
            }
            .price {
                flex-shrink: 0;
                font-size:15px; 
                font-weight:normal;
                color:#000;
            }
        }
    }
    .order-pay-item + .order-pay-item {
        margin-top:10px;
    }
}

.order-pay-total {
    margin-top:15px;
    border-radius: 6px;
    background-color:#E3E1EA;
    padding:10px 15px;
    p {
        font-size:16px;
        color:#000;
        display:flex;
        justify-content: space-between;
    }
    p + p {margin-top:10px;}
}


.delivery-address-wrap {
    margin-top:20px;
    input[type=text]::placeholder {
        color:#999;
    }
    dt {
        padding: 12px 0 10px;
        border-bottom: 3px solid #c7c8ca;
        display:flex;
        align-items: flex-end;
        gap:10px;
        strong {
            font-size: 16px;
            font-weight: 600;
            flex-shrink: 0;
        }
    }
    .customer-info {
        padding:20px 0;
        p {
            font-size:15px;
            line-height:1.4;
        }
    }
    .delivery-area {
        .title {
            font-size:15px;
            font-weight:700;
            margin-bottom:20px;
        }
        .select-box {
            background-color: #ddd;
            padding: 10px;
            width: 100%;
            border-radius: 6px;
        }

        .select-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 4px 0;
        }

        .label {
        font-weight:bold;
            font-size: 14px;
            color: #000;
        }

        .link-select {
            background-color: #1c64b3;
            color: #fff;
            text-decoration: none;
            border-radius: 4px;
            padding: 5px 10px;
            font-size: 13px;
            display: inline-block;
        }

        .link-select:hover {
            background-color: #021427;
            color:white;
        }
    }
    .addr-detail {
        padding:20px 0;
        & > div {
            display:flex;
            align-items: center;
            font-size:17px;
        }
        .txt {
            flex:1;
        }
        .ip {
            flex-shrink: 0;
            display:flex;
            align-items: center;
            width:150px;
            input {
                width:100%;
                text-align: right;
                padding:0 6px;
                font-size:17px;
            }
        }
  
        .s-input-1 {
            margin-top:10px;
            width: 100%;
            box-sizing: border-box;
            font-size: 16px  !important;
            height: 29px !important;
            border: 1px solid #A8A8A8;
            height: 29px;
            padding:0 6px;
        }
        .s-input-1::placeholder {
            font-size: 16px;
        }
    }
}

.delivery-memo-wrap {
    margin-top:10px;
    .title {
        font-size:15px;
        p {
            font-weight:bold;
            line-height:1.4;
        }
        p.txt2 {
            margin-top:5px;
            color:red;
        }
    }
    ul {
        display:block;
        li {
            margin-top:8px;
            display:flex;
            align-items: center;
            input[type=checkbox] {
                flex-shrink: 0;
                margin-right:8px;
            }
            input[type=text] {
                flex:1;
                border: 1px solid #A8A8A8;
                height: 24px;
                padding:0 5px;
            }
        }
    }
}

.delivery-payment-wrap {
    margin-top:20px;
    .title {
        font-size:15px;
        p {
            font-weight:bold;
            line-height:1.4;
        }
    }
    .banner1 {
        margin-top:10px;
        display:block;
    }
}


.tab-square-wrap {
    margin-top:10px;
    button {
        appearance: none;
        border-radius: 0;
    }
    .tab-square {
        display:flex;
        border: 1px solid #959595;
        height:45px;
        margin-bottom:10px;
        button {
            flex:1;
            border:0;
            margin:0;
            padding:0;
            color:#C5C8C9;
            font-size:14px;
            font-weight:600;
            background-color: #fff;
            & + button {
                border-left:1px solid #959595;
            }
            &.on {
                background-color: #B81D25;
                color: #FFFFFF;
            }
        }
    }

    .tab-square-items {
        .tab-item {
            display:none;
            &.on {
                display:block;
            }
        }
    }
}

.order_pay_wrap {
    .line-box {
        padding: 15px 12px;
        border: 1px solid #c7c8ca;
    }

    .payTypeWrap {margin:0px 0px 10px 0px; }
    .payTypeWrap .title{background-color:#C5C8C9; font-size:1.2rem; padding:7px 0px 7px 10px;color:#FFF; letter-spacing:-0.5px;  }
    .payTypeWrap .content{padding:15px 15px; border:1px solid #CACACA;   }
    .payTypeWrap .content .payType{width:100%;}
    .payTypeWrap .content .payType tr td{padding:7px 1px; vertical-align: top;}
    .payTypeWrap .content .payType tr td.notPayType{padding:20px 5px; font-size:1.5rem; text-align:center;  line-height: 20px;}
    .payTypeWrap .content .payType tr td .mofamPayTypeNotice{margin:15px 0px 5px 0px; font-size:1.3rem; word-break:keep-all; line-height: 15px;}
    .payTypeWrap .content .payType tr td .mofamPayTypeNotice .cForm{ }
    .payTypeWrap .content .payType tr td .mofamPayTypeNotice .red{color:#ff0000; }

    .payTypeWrap .content .payType tr td div.iradio_square-red {  position:absolute;
                            -ms-transform: scale(0.9, 0.9); /* IE 9 */
                            -webkit-transform: scale(0.9, 0.9); /* Safari */
                            transform: scale(0.9, 0.9); }

    .payTypeWrap .content .payType tr td  label.checkImg {display:inline-block;width:19px;height:19px;background:url("/app/common/img/section/check_out.png") left top no-repeat;background-size:100% 100%;vertical-align:middle;transition-duration:.3s; position:absolute;}
    .payTypeWrap .content .payType tr td input[type=radio] {display:none;}
    .payTypeWrap .content .payType tr td input[type=radio]:checked + label.checkImg {background:url("/app/common/img/section/check_in.png") left top no-repeat;background-size:100% 100%;}
    .payTypeWrap .content .payType tr td label.basic{font-size: 1.4rem; font-weight:600; vertical-align:middle; padding:4px 0px 0px 22px;display: inline-block; }

        .mContentWrap {
            margin: 5px 0px 0px 0px;
            position:relative;
            padding: 7px 7px;
            border-radius: 5px; 
            &.normal {
                background-color: #89C997;
            } 
            .arrowImg {
                width: 10px;
                position: absolute;
                left: calc((100% / 2) - 5px);
                top: -5px;
            }
            .text {
                color: #FFFFFF;
                font-size: 1.2rem;
                display: inline-block;
                font-weight: 600;
                letter-spacing: 0px;
                line-height: 15px;
            }
            .link{
                position: absolute;
                top: 0px;
                right: 8px;
                padding: 8px 0px 5px 0px;
                color: #fcff00;
                font-size: 1.2rem;
                top: calc((100% / 2) - 12px);
                font-weight: 600;
                letter-spacing: -0.5px;
            }
        }


    


    .pop-payment-state {
        width:90%;
        .pop_wrap {
            padding-bottom:20px;
        }

        .title {
            text-align:center;
            font-size:14px;
            color:#1c64b3;
        }
        .pay-list {
            padding-top:10px;
            display:block;
            li {
                display:flex;
                align-items: center;
                p {
                    flex:1;
                    font-size:14px;
                    color:#9f9f9f;
                }
                i {
                    flex-shrink: 0;
                    width:16px;
                    height:16px;
                    background:url(/app/order/img/icon-order-pay1.png) no-repeat center/contain;
                }
                &.type1 {
                    p {
                        color:#000;
                    }
                    i {
                        background-image:url(/app/order/img/icon-order-pay2.png);
                    }
                }
                &.type2 {
                    p {
                        color:red;
                    }
                    i {
                        background-image:url(/app/order/img/icon-order-pay3.png);
                    }
                }
            }
            li + li {
                margin-top:6px;
            }
        }
        .bott-text {
            margin-top:10px;
            text-align:center;
            font-size:13px;
            color:red;
        }
        .pay-error {
            margin-top:6px;
            background-color:red;
            color:#fff;
            font-size:12px;
            line-height:1.4;
            padding:6px 10px;
            border-radius:5px;
        }

        .step-wrap {
            width:160px;
            margin:10px auto;
            border:1px solid #707070;
            padding:2px;
            border-radius: 50px;
            .inner {
                height:10px;
                background-color: #707070;
                border-radius: 20px;
                display:flex;
                justify-content: flex-end;
                min-width:10px;
                transition:width 0.4s;
                &::before {
                    content:'';
                    width:10px;
                    height:10px;
                    border-radius: 50%;
                    background-color:#969696;
                }
            }
        }

        .pop-pay-btns {
            display:flex;
            gap:12px;
            margin-top:14px;
            button {
                margin:0;
                height:24px;
                border-radius: 4px;
                font-size:14px;
                color:#fff;
                background-color: #635E91;
                border:0;
                flex:1;
                &.btn-gray {
                    flex: 0 0 100px;
                    background-color:#BFBFBF;
                }
            }
        }
    }



    
}


.search-simple {
    margin-top:5px;
    display:flex;
    gap:10px;
    input[type=text] {
        padding:0 10px;
        border:1px solid #c7c8ca;
        border-radius:5px;
        height:24px;
        width:100%;
        flex:1;
        color:#000;
        &::placeholder {
            color:#a6a6a6;
        }
    }
    button {
        flex-shrink: 0;
        border-radius:5px;
        border:0;
        margin:0;
        padding:0 20px;
        color:#fff;
        font-size:15px;
        background-color:#a0a0a0;
    }
}

.cash-list-new {
    display:flex;
    gap:10px;
    justify-content: space-between;
    .datetime {
        flex:1;
    }
    .total {
        flex-shrink: 0;
    }
    .fc_red{
        color:red !important;
    }
    .fc_blue {
         color:#315f95 !important;
    }
}
.cash-list-new + .cash-list-new2 {
    margin-top:5px;
}


.delivery-step {
    margin-top: 30px;
    margin-bottom:10px;
    display:flex;
    justify-content:space-between;
    padding:0 5%;
    position:relative;
    &:before {
      content:'';
      position: absolute;
        z-index: 0;
        left: 50px;
        right: 50px;
        bottom: 34px;
        height: 2px;
        background-color: #BFBFBF;
    }
    
    .item {
        text-align: center;
        flex-shrink:0;
        display:flex;
        flex-direction: column;
        gap:10px;
        align-items:center;
        position:relative;
        z-index:1;
        .icon {
            width:30px;
            height:40px;
            display:inline-block;
            background-repeat: no-repeat;
            background-size: auto 100%;
        }
        .num {
            display:inline-block;
            width:24px;
            height:24px;
            text-align:center;
            line-height:24px;
            border-radius: 50%;
            color:#fff;
            font-size:14px;
            background-color:#BFBFBF;
        }
        p {
            font-size:14px;
            color:#BFBFBF;
        }
        &.on {
            .num {background-color: #000;}
            p {color:#000;}
        }
        &.item01 {
            .icon {
                background-image: url(/app/order/img/delivery-step1.png);
            }
            &.on {
                .icon {
                    background-image: url(/app/order/img/delivery-step1-on.png);
                }
            }
        }
        &.item02 {
            .icon {
                width:43px;
                background-image: url(/app/order/img/delivery-step2.png);
            }
            &.on {
                .icon {
                    background-image: url(/app/order/img/delivery-step2-on.png);
                }
            }
        }
        &.item03 {
            .icon {
                width:40px;
                background-image: url(/app/order/img/delivery-step3.png);
            }
            &.on {
                .icon {
                    background-image: url(/app/order/img/delivery-step3-on.png);
                }
            }
        }
        &.item04 {
            .icon {
                width:40px;
                background-image: url(/app/order/img/delivery-step4.png);
            }
            &.on {
                .icon {
                    background-image: url(/app/order/img/delivery-step4-on.png);
                }
            }
        }
    }
}

.delivery_time_new {
    text-align: center;
    font-size:14px;
    color:#404040;
    border-radius: 5px;
    padding: 6px 10px 5px;
    background-color: #E8E8E8;
    margin:20px 0 10px;
}

.delivery-state-new {
  > li {
    font-size:14px;
    color:#404040;
    position:relative;
    background-color: #E9F1F9;
    border-radius:5px;
    padding:10px 4px;
    & + li {
        margin-top:10px;
    }

    .num {
        display:inline-block;
        width:17px;
        height:17px;
        color:#fff;
        font-size:12px;
        text-align:center;
        line-height:17px;
        background-color:#7F7F7F;
        border-radius: 50%;
        margin:0 6px 0 4px;
    }

    .btn-detail-pop {
        border:0;
        appearance: none;
        background-color: #5E95D3;
        font-size:12px !important;
        padding:2px 8px;
        border-radius: 4px;
        color:#fff;
        position:absolute;
        top:8px;
        right:8px;
    }

    .txt1 {

    }
    .txt2 {
        display:flex;
        align-items: flex-end;
        margin-top:4px;
        gap:4px;
        &:before {
            content:'';
            width:27px;
            height:20px;
            display:inline-block;
            background:url(/app/order/img/icon-delivery-time.png) no-repeat left top/100% auto;
            flex-shrink: 0;
        }
        span {flex-shrink: 0;}
        .dv-time {
            font-size:11px;
        }
    }

  }  
}

.delivery-confirm-box {
    margin:10px 0;
    text-align: center;
    color:#000;
    font-size: 14px;
    letter-spacing: -0.03em;
    padding:8px;
    border-radius: 6px;
    background-color: #FCE8BA;

    .txt2 {
        color:red;
        font-size:13px;
        margin-top:5px;
    }

    .txt3 {
        color:#315F95;
        font-size:13px;
        margin-top:5px;
    }

    .w-box {
        margin-top:10px;
        border-radius: 5px;
        background-color: #fff;
        padding:10px;
        font-size:13px;
        line-height:1.2;
        text-align:left;
    }

    .btn-list {
        display:flex;
        width:100%;
        gap:10px;
        margin-top:10px;
        button {
            border:0;
            background-color:#5E95D3;
            font-size:14px;
            color:#fff;
            height:24px;
            border-radius: 5px;
            width:100%;
            flex:1;
        }
    }
    &.type2 {
        padding-bottom:14px;
    }
    &.type3 {
        padding-bottom:14px;
    }
}

.dv-banner {
    appearance: none;
    display:block;
    margin:10px 5%;
    img {
        border-radius: 5px;
    }
}



article.wait-modal{
	display: none;
	position: fixed;
	left:0;
	right:0;
	top:0;
	bottom:0;
	z-index: 400;
	transition: ease-in-out;

	&:before{
		content:'';
		position: fixed;
		left:0;
		right:0;
		top:0;
		bottom:0;
		background: rgba(0,0,0,0.5);
	}

	.wait-modal-wrapper{
		position: fixed;
		left:50%;
		top:50%;
		box-sizing: border-box;
		transform: translate(-50%, -50%);
		max-width:calc(600px - 40px);
		width: calc(100% - 40px);

		.view-box{
			-webkit-animation: showSweetAlert .3s;
			animation: showSweetAlert .3s;
			will-change: transform;
			display: flex;
			overflow: hidden;
			border-radius:24px;

			img{
				width: 100%;
			}

		}
	}

}