﻿/*========== 分頁 Pagination Begin ==========*/
.checkbox__indicator .web-icon {
    position: absolute;
    top: -1px;
    left: -1px;
    width: 18px;
    height: 18px;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: -webkit-transform .2s;
    transition: -webkit-transform .2s;
    transition: transform .2s;
    transition: transform .2s,-webkit-transform .2s;
    fill: #fff;
}

.checkbox__input:checked + .checkbox__indicator .web-icon {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.web-icon {
    display: inline-block;
    line-height: 0;
    fill: currentColor;
    box-sizing: content-box;
}

    .web-icon svg {
        width: 100%;
        height: 100%;
    }

.web-button {
    position: relative;
    display: inline-block;
    height: 32px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    color: #555;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 2px;
    outline: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.web-button--large {
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
}

.product-picker__pagination {
    padding-bottom: 20px;
    text-align: center;
    display: inline-block;
}

    .product-picker__pagination span, .product-picker__pagination a {
        padding: 0 4px;
        margin-right: 8px;
    }

        .product-picker__pagination span.disabled {
            color: #ccc;
            background-color: transparent;
            border-color: transparent;
        }

        .product-picker__pagination a.disabled {
            color: #555;
            background-color: transparent;
            border-color: transparent;
        }

        .product-picker__pagination a.current {
            color: #333;
        }

        .product-picker__pagination span.current {
            color: #ee4d2d;
        }

.pagination__part {
    margin-right: 16px;
}

    .pagination__part:last-child {
        margin-right: 0;
    }

.pagination-jumper, .pagination-jumper__label {
    display: inline-block;
    vertical-align: middle;
}

.pagination-jumper__label {
    font-size: 14px;
    line-height: 24px;
    color: #888;
}

.pagination-jumper__input {
    display: inline-block;
    width: 66px;
}

.jumper-input {
    line-height: 0;
    background-color: #fff;
}

.number-input .jumper-input__inner {
    padding-right: 0;
}

.jumper-input__inner--small {
    height: 24px;
    padding: 0 8px;
    font-size: 12px;
}

.jumper-input__inner {
    position: relative;
    display: inline-table;
    width: 100%;
    height: 32px;
    padding: 0 12px;
    font-size: 14px;
    border-collapse: separate;
    border-spacing: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #e8e8e8;
    border-radius: 2px;
    outline: none;
    -webkit-transition: border .2s ease-in-out;
    transition: border .2s ease-in-out;
}

.jumper-input__inner--small .jumper-input__input {
    height: 22px;
    font-size: 12px;
}

.jumper-input__inner .jumper-input__input {
    height: 30px;
    font-size: 14px;
}

.jumper-input__input {
    display: table-cell;
    width: 100%;
    padding: 0;
    color: #191919;
    vertical-align: middle;
    background-color: inherit;
    border: 0;
    outline: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.number-input .jumper-input__suffix {
    padding-left: 0;
}

.jumper-input__suffix {
    padding-left: 4px;
}

.jumper-input__prefix, .jumper-input__suffix {
    position: relative;
    display: table-cell;
    width: 1px;
    height: 100%;
    line-height: 0;
    color: #bbb;
    white-space: nowrap;
    vertical-align: middle;
}

.number-input--small .number-input__controls {
    width: 16px;
}

.number-input__controls {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 100%;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
}

.number-input__control.up {
    top: 0;
}

.number-input__control {
    position: absolute;
    width: 100%;
    height: 50%;
    overflow: hidden;
    line-height: 16px;
    opacity: 0;
    -webkit-transition: opacity .2s ease-in-out;
    transition: opacity .2s ease-in-out;
}

.number-input--small .number-input__control .web-icon {
    width: 8px;
    height: 8px;
    /*padding: 1px 3px;*/
}

.number-input__control.down, .number-input__control.up .web-icon {
    bottom: 0;
}

.number-input__control .web-icon {
    position: absolute;
    left: 50%;
    width: 8px;
    height: 8px;
    padding: 2px 5px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-box-sizing: initial;
    box-sizing: initial;
    -webkit-transition: -webkit-transform .2s;
    transition: -webkit-transform .2s;
    transition: transform .2s;
    transition: transform .2s,-webkit-transform .2s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    fill: #888;
}

.product-picker__control {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    height: 47px;
    border-top: 1px solid #e2e2e2;
    background: #f2f2f2;
}

    .product-picker__control .checkbox {
        display: inline-block;
        color: #333;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

.product-picker__select {
    padding-left: 20px;
}

.product-picker__button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding-left: 20px;
    padding-right: 20px;
}

.product-picker__selected {
    margin-right: 10px;
}

    .product-picker__selected .number {
        color: #ee4d2d;
    }

.product-picker__control .button {
    position: relative;
    display: inline-block;
    height: 32px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    color: #555;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 2px;
    outline: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.product-picker__cancel {
    min-width: 72px;
    margin-right: 8px;
}

.product-picker__control .button-primary {
    color: #fff;
    background-color: #ee4d2d;
    border-color: #ee4d2d;
}

.product-picker__confirm {
    min-width: 72px;
}

.product-picker__control .button-primary.disabled, .product-picker__control .button-primary.disabled:hover {
    color: #fff;
    background-color: #f8b8ab;
    border-color: #f8b8ab;
}
/*========== 分頁 Pagination End ==========*/
