@charset "UTF-8";

/**頁碼**/
.c-page {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: space-between;
    width: 100%;
}

.c-page__count {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    flex: 0 1 auto;
}

.c-page__count a {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0 5px;
    border-radius: 50%;
    font-size: 16px;
    color: #313131;
    line-height: 1;
    transition: background-color .4s ease-in-out;
    overflow: hidden;
}

.c-page__count a.hide {
    display: none;
}

.c-page__count a:hover,
.c-page__count a.active {
    background: var(--mainColor);
}

.c-page__prev,
.c-page__next {
    color: #313131;
    font-size: 16px;
    margin: 0 0 0 20px;
    transition: opacity .4s ease-in-out;
    flex: 0 0 auto;
}

.c-page__prev {
    margin: 0 20px 0 0;
}

.c-page__prev:hover,
.c-page__next:hover {
    opacity: .7;
}

.c-page__prev.disable,
.c-page__next.disable {
    opacity: .2;
    pointer-events: none;
}

/**頁碼上下則文字**/
.c-page__prev::after,
.c-page__next::before {
    position: relative;
    display: none;
    vertical-align: middle;
    font-size: 16px;
    color: #3f3f3f;
}

.c-page__prev::after {
    content: 'Prev';
    margin: 0 0 0 15px;
}

.c-page__next::before {
    content: 'Next';
    margin: 0 15px 0 0;
}

/**頁碼箭頭**/
.c-page__prev::before,
.c-page__next::after {
    content: '';
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 55px;
    height: 30px;
    background: url(../../images/common/icon_arrow_next_thin_long.svg) center no-repeat;
    background-size: contain;
}

.c-page__prev::before {
    transform: scaleX(-1);
}

/**頁碼內文頁樣式**/
.c-page-detail {
    justify-content: space-between;
}

.c-page-detail .c-page__count {
    display: none;
}

.c-page-detail .c-page__prev::after {
    content: 'Prev';
    margin: 0 0 0 15px;
}

.c-page-detail .c-page__next::before {
    content: 'Next';
    margin: 0 15px 0 0;
}

@media screen and (max-width: 991px) {}

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

@media screen and (max-width: 575px) {

    /**頁碼**/
    .c-page__count a {
        display: none;
        width: 40px;
        height: 40px;
    }

    .c-page__count a.active {
        display: flex;
    }

    .c-page__prev {
        margin: 0 30px 0 0;
    }

    .c-page__next {
        margin: 0 0 0 30px;
    }

    /**頁碼箭頭**/
    .c-page__prev::before,
    .c-page__next::after {
        width: 50px;
        height: 25px;
    }
}



/****IOS樣式****/
@supports (-webkit-touch-callout: none) {}