html,
body {
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
}

body {
    position: relative;
    font-family: '微軟正黑體';
}

.content {
    padding-bottom: 100px;
}

.phone-side-menu-frame {
    display: none;
    transition: all .6s;
    left: -50%;
    width: 50%;
    height: 100%;
    background-color: #cb2e27;
    position: absolute;
    z-index: 1000;
    padding: 45px 25px;
}

.phone-side-menu-cross-frame {
    position: absolute;
    right: 12px;
    top: 16px;
    cursor: pointer;
}

.phone-side-menu-cross-img {
    width: 35px;
}

.phone-side-menu-picture-frame {
    padding: 0px;
    margin: 5px 0px;
    position: relative;
    cursor: pointer;
}

.phone-side-menu-picture-title-link,
.phone-side-menu-picture-title-link:hover {
    text-decoration: none;
}

.phone-side-menu-picture-title {
    color: white;
    letter-spacing: 10px;
    padding-left: 5px;
}

.triangle {
    width: 10px;
    height: 10px;
    position: absolute;
    right: 0px;
    top: 8px;
}

.phone-side-menu-picture-content-frame {
    background-color: white;
    padding: 2px 0px;
    border-radius: 5px;
}

.phone-side-menu-link,
.phone-side-menu-link:hover {
    color: black;
    text-decoration: none;
}

.phone-side-menu-picture-content {
    margin: 5px 0px;
    letter-spacing: 10px;
    padding-left: 5px;
}

.phone-side-menu-picture-content:hover {
    color: #cb2e27;
}

.hone-left-menu-link {
    color: black;
}

.hone-left-menu-link:hover {
    text-decoration: none;
    color: #cb2e27;
}

.phone-side-menu-picture-content-no-space,
.phone-side-menu-picture-content-no-space-fax {
    margin: 5px 0px;
    padding-left: 5px;
}

.phone-side-menu-picture-content-no-space:hover {
    color: #cb2e27;
}

.phone-hr-black {
    margin: 5px 0px;
    background-color: rgba(0, 0, 0, 0.2);
}

.phone-hr-white {
    background-color: rgba(255, 255, 255, .7);
    margin: 6px 0px;
}

#phone-side-menu-picture,
#phone-side-menu-vector,
#phone-side-menu-video,
#phone-side-menu-music,
#phone-side-menu-template,
#phone-side-menu-project,
#phone-side-menu-about,
#phone-side-menu-authorize,
#phone-side-menu-question,
#phone-side-menu-info {
    display: none;
}

.show-picture #phone-side-menu-picture,
.show-vector #phone-side-menu-vector,
.show-video #phone-side-menu-video,
.show-music #phone-side-menu-music,
.show-template #phone-side-menu-template,
.show-project #phone-side-menu-project,
.show-about #phone-side-menu-about,
.show-authorize #phone-side-menu-authorize,
.show-question #phone-side-menu-question,
.show-info #phone-side-menu-info {
    display: block;
}

.phone-hanburg-frame {
    display: none;
    position: absolute;
    left: 20px;
    top: 0px;
    transition: all .6s;
}

.phone-hanburg {
    width: 28px;
    height: 20px;
    cursor: pointer;
}

.phone-search-button-frame {
    display: none;
    position: absolute;
    right: 20px;
    top: 0px;
}

.phone-search-button {
    width: 28px;
    height: 28px;
    cursor: pointer;
}

.phone-search-input-frame {
    display: block;
    height: 36px;
    line-height: 0px;
    position: relative;
}

.phone-search-form {
    display: block;
    width: 100%;
    height: 30px;
    line-height: 30px;
    position: relative;
}

.phone-search-input {
    height: 30px;
    border: 0px;
    outline: 0px;
}

.phone-search-type {
    width: 50px;
    height: 25px;
    line-height: 25px;
    border: 0px;
    border-radius: 4px;
    background-color: rgba(220, 220, 220, .7);
    font-size: 14px;
    position: absolute;
    right: 73px;
    top: 2px;
}

.phone-search-go-button {
    width: 50px;
    height: 25px;
    line-height: 25px;
    border: 0px;
    border-radius: 4px;
    background-color: #cb2e27;
    color: white;
    font-size: 14px;
    position: absolute;
    right: 15px;
    top: 2px;
}

.phone-member-btn {
    letter-spacing: 10px;
    text-indent: 10px;
    font-weight: bold;
    width: 100%;
}

.header {
    height: 65px;
    line-height: 60px;
    position: absolute;
    z-index: 500;
    background-color: rgba(255, 255, 255, .55);
    transition: all .6s;
}

.header:hover {
    background-color: rgba(255, 255, 255, .8);
}

.header-logo-frame {
    padding: 0;
    text-align: left;
}

.header-logo-frame a {
    vertical-align: super;
}

.header-logo {
    width: auto;
    height: 45px;
}

.header-word-image-frame,
.header-word-vector-frame,
.header-word-video-frame,
.header-word-music-frame,
.header-word-template-frame,
.header-word-font-frame,
.header-word-seed-frame,
.header-word-education-frame,
.header-word-project-frame,
.header-item-frame {
    position: relative;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    padding: 0 .5rem;
    display: inline-block;
    height: auto;
    line-height: 25px;
    border-radius: 5px;
    cursor: pointer;
}

.header-word-subscribe-frame {
    width: 100px;
}

.header-word-endless-frame {
    width: 128px;
    height: 28px;
    font-size: 22px;
    padding-top: 1.5px;
}

.icon-link.active .header-icon-img,
.header-item-frame.active,
.header-word-image-frame:hover,
.header-word-vector-frame:hover,
.header-word-video-frame:hover,
.header-word-music-frame:hover,
.header-word-template-frame:hover,
.header-word-font-frame:hover,
.header-word-seed-frame:hover,
.header-word-education-frame:hover,
.header-word-project-frame:hover,
.header-word-subscribe-frame:hover,
.header-word-endless-frame:hover {
    border-color: rgb(30, 30, 30);
    background-color: rgb(30, 30, 30);
    color: white;
    transition: all .2s;
}

.header-icon-frame {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-icon-frame .header-icon:first-child {
    margin-right: 13px;
}

.icon-link {
    display: flex;
    align-items: center;
    transition: all .2s;
}

.header-panel {
    position: absolute;
    top: 0px;
    padding-top: 32px;
}

.table-picture,
.table-vector,
.table-video,
.table-music,
.table-template,
.table-project,
.table-login {
    text-align: center;
    z-index: 1000;
    background-color: rgba(226, 226, 226, .8);
    border-radius: 5px;
    padding: 5px 0px;
    height: auto;
}

.table-picture {
    width: 120px;
}

.table-vector {
    width: 145px;
}

.table-video {
    width: 120px;
}

.table-music {
    width: 100px;
}

.table-template {
    width: 110px;
}

.table-project {
    width: 110px;
}

.table-login {
    width: 100px;
}

.table-favorite {
    width: 100px;
    height: 35px;
}

.table-point {
    width: 100px;
    height: 35px;
}

.table-cart {
    width: 100px;
    height: 35px;
}

.table-word,
.table-word-login,
.table-word-favorite,
.table-word-point,
.table-word-cart {
    width: auto;
    height: 25px;
    line-height: 25px;
    margin: 0px auto;
    font-size: 16px;
}

.table-word-login,
.table-word-favorite,
.table-word-point,
.table-word-cart {
    width: 80px;
    height: 25px;
}

.table-label {
    color: #000;
    line-height: 2rem;
    margin-bottom: .25rem;
    cursor: default;
}

.table-title-link {
    width: 100%;
    color: black;
    text-decoration: none;
}

.header-item-frame.active .table-title-link,
.table-title-link:hover {
    color: #fff;
    text-decoration: none;
}

.table-link {
    color: black;
    text-decoration: none;
}

.table-link:hover {
    color: #cb2e27;
    background-color: #ffffff;
    border-radius: 5px;
    transition: all .2s;
    text-decoration: none;
}

#header .user-name {
    color: rgb(61, 61, 61);
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
    align-items: center;
    margin-right: .5rem;
}

#header .user-name span::before {
    content: '';
    margin-right: .5rem;
}

.header-icon {
    display: inline-block;
    width: 40px;
    text-align: center;
    position: relative;
}

.header-icon-img {
    width: 38px;
    height: auto;
}

#user-icon {
    content: url('../img/element_s/user.png');
}

#user-icon:hover {
    content: url('../img/element_s/user_hover.png');
}

#user-favorite-icon {
    content: url('../img/element_s/user_favorite.png');
}

#user-favorite-icon:hover {
    content: url('../img/element_s/user_favorite_hover.png');
}

.banner-frame {
    position: relative;
    transition: all .6s;
    left: 0%;
}

.banner-iframe {
    width: 100%;
    height: 450px;
}

.banner-slogan {
    position: absolute;
    width: 100%;
    color: white;
    top: 280px;
    left: 0px;
    font-size: 40px;
    font-weight: bold;
}

.carousel-indicators {
    align-items: center;
}

.carousel-indicators li {
    width: 10px;
    height: 10px;
    transition: all .4s;
}

.carousel-indicators .active {
    width: 13.5px;
    height: 13.5px;
    background-color: rgb(30, 30, 30);
}

.search-bar-frame .search-bar {
    width: 270px;
    height: 40px;
    padding: 0px 0px 2px 5px;
    border-radius: 7px 7px 7px 7px;
    border: 0px;
    font-size: 16px;
    outline: 0px;
    position: relative;
    right: 15px;
}

.search-bar-frame.login .search-bar {
    right: 4px;
}
/* 登入後的搜尋框選擇器 */
.search-bar-frame .search-type .login{
    width: 105px;
    height: 35px;
    line-height: 25px;
    font-size: 16px;
    padding: 5px 10px;
    border: 0px;
    -webkit-appearance: none;
    background-image: url("../img/element_s/triangle_1.png");
    background-repeat: no-repeat;
    background-size: 13px;
    background-position: 90% 55%;
    outline: 0px;
    position: relative;
    box-shadow: 0px 2px 10px 0px rgb(160, 160, 160 ,0.8);
}
/* 登入前的搜尋框選擇器 */
.search-bar-frame .search-type {
    width: 105px;
    height: 35px;
    line-height: 25px;
    font-size: 16px;
    padding: 5px 10px;
    border: 0px;
    -webkit-appearance: none;
    background-image: url("../img/element_s/triangle_1.png");
    background-repeat: no-repeat;
    background-size: 13px;
    background-position: 90% 55%;
    outline: 0px;
    position: relative;
    left: -20px;
    box-shadow: 0px 2px 10px 0px rgb(160, 160, 160 ,0.8);
}

.search-bar-frame.login .search-type {
    left: -5px;
}

.purchased-item-btn {
    content: url('../img/element_s/purchased_item_normal.png');
    width: 17px;
    vertical-align: middle;
    margin-right: 2px;
    transform: translateY(-10%);
}

.purchased-item-btn.active {
    content: url('../img/element_s/purchased_item_only.png');
}

.search-bar-frame .search-button {
    width: 50px;
    height: 25px;
    line-height: 45px;
    background-color: white;
    position: relative;
    top: 12px;
    /* left: 35px; */
    left: 25px;
    border: 0;
    outline: 0;
}

.search-bar-frame.login .search-button {
    left: 0px;
}

.search-button:focus {
    outline: 0;
}

.search-picture {
    width: 25px;
    position: relative;
    bottom: 13px;
}


/*
	登入後顯示使用者資訊 start
*/

.user-data {
    width: 240px;
    height: 38px;
    line-height: 38px;
    border-radius: 38px;
    position: absolute;
    right: 2px;
    top: 19px;
    padding-left: 15px;
    padding-right: 50px;
    overflow: hidden;
}

.user-data-word {
    float: right;
    font-size: 14px;
}

.user-data-show-table {
    position: absolute;
    text-align: center;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    padding: 5px;
    border: 1px solid gray;
    width: 90px;
    height: 160px;
    line-height: 30px;
    left: -25px;
    top: 60px;
    display: none;
}

.user-data-show-table-link {
    color: black;
    margin: 0px;
}

.user-data-show-table-link:hover {
    text-decoration: none;
    color: #cb2e27;
}


/*
	登入後顯示使用者資訊 end
*/

.footer-outer-frame {
    background-color: rgb(30, 30, 30);
}

.footer {
    background-color: rgba(30, 30, 30);
    padding-top: 25px;
}

.footer-frame {
    color: white;
    padding: 20px;
    position: relative;
}

.footer-title {
    font-weight: bold;
    font-size: 16px;
    height: 25px;
    line-height: 25px;
}

.footer-word {
    font-size: 14px;
    height: 15px;
    line-height: 15px;
}

.footer-link {
    text-decoration: none;
    color: white;
}

.footer-link:hover {
    color: white;
}

.footer-link-icon {
    position: relative;
    width: auto;
    height: 32px;
}

.footer-link-icon:not(:last-child) {
    padding-right: .5rem;
    margin-top: .35rem;
}

.footer-link-icon:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    width: 1px;
    height: 100%;
    background-color: #fff;
}

.footer-link-icon:last-child {
    height: 35px;
    padding-left: .5rem;
    margin-bottom: .1rem;
}

.footer-icon {
    width: 35px;
    height: auto;
}

.footer-description {
    color: white;
    font-size: 13px;
    text-align: center;
    position: relative;
}

.phone-footer {
    text-align: center;
    display: none;
    position: relative;
    left: 0%;
    transition: all .6s;
    margin-bottom: 70px;
    padding: 0px;
}

.phone-footer-info {
    background-color: #c6c6c6;
    height: 100px;
    padding: 10px 0 0 0;
}

.phone-footer-info-frame {
    width: 200px;
    height: 50px;
    line-height: 50px;
    margin: 0px auto;
}

.phone-footer-info-fb,
.phone-footer-info-ig {
    width: 36px;
    height: 36px;
}

.phone-footer-info-fb {
    position: relative;
    top: -38px;
    right: -195px;
}

.phone-footer-info-ig {
    position: relative;
    top: 3px;
    right: -154px;
}

.phone-footer-info-word-title {
    margin: 0px;
    height: 20px;
    line-height: 20px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 15px;
}

.phone-footer-info-word-content {
    margin: 0px;
    height: 20px;
    line-height: 20px;
    font-size: 10px;
    -webkit-transform: scale(0.83);
    letter-spacing: 1px;
    line-height: 19px;
}

.phone-footer-bottom {
    background-color: #dcdcdc;
    height: 70px;
    line-height: 70px;
    transition: all .6s;
    position: fixed;
    bottom: 0px;
    display: none;
    left: 0%;
}

.phone-footer-left,
.phone-footer-center,
.phone-footer-right {
    padding: 0px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.phone-footer-left,
.phone-footer-center {
    border-right: 1px solid #c6c6c6;
}

.phone-footer-center,
.phone-footer-right {
    border-left: 1px solid #c6c6c6;
}

.phone-bottom-link,
.phone-bottom-link:hover {
    color: black;
    text-decoration: none;
}

.phone-footer-img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.phone-footer-word {
    display: inline-block;
}

.go-top-img-frame {
    position: fixed;
    bottom: 161px;
    right: 10px;
    display: none;
    z-index: 1000;
    cursor: pointer;
}

.go-top-img {
    width: 40px;
    height: 40px;
}

@media (min-width: 0px) and (max-width: 575px) {
    .phone-side-menu-frame,
    .phone-hanburg-frame,
    .phone-search-button-frame,
    .phone-footer,
    .go-top-img-frame,
    .phone-footer-bottom {
        display: block;
    }
    .header-logo-frame {
        width: 100%;
        text-align: center;
    }
    .header-center,
    .header-right,
    .footer-outer-frame {
        display: none;
    }
    .banner-frame {
        margin-top: 36px;
    }
    .carousel-indicators {
        display: none;
    }
}

@media (min-width: 0px) and (max-width: 387px) {
    .phone-footer-info-fb {
        right: -186px;
    }
    .phone-footer-info-ig {
        right: -146px;
    }
}

@media (min-width: 0px) and (max-width: 373px) {
    .go-top-img-frame {
        bottom: 55px;
    }
    .phone-footer-info-fb,
    .phone-footer-info-ig {
        width: 26px;
        height: 26px;
    }
    .phone-footer-info-fb {
        top: -46px;
        right: -125px;
    }
    .phone-footer-info-ig {
        top: -46px;
        right: -131px;
    }
}

@media (min-width: 0px) and (max-width: 368px) {
    .phone-footer-info {
        height: 115px;
    }
    .phone-footer {
        margin-bottom: 75px;
    }
    .phone-footer-img {
        width: 28px;
        height: 28px;
        margin-right: 0px;
    }
    .phone-footer-word {
        font-size: 14px;
    }
}

@media (min-width: 0px) and (max-width: 339px) {
    .phone-footer-info {
        height: 130px;
    }
}

@media (min-width: 576px) {
    .table-picture {
        margin-left: -18px;
    }
    .table-vector {
        margin-left: -52px;
    }
    .table-video {
        margin-left: -36px;
    }
    .table-music {
        margin-left: -24px;
    }
    .table-template {
        margin-left: -31px;
    }
    .table-project {
        margin-left: -25px;
    }
    .table-login {
        margin-left: -30px;
    }
    .table-favorite {
        left: 381px;
        top: 55px;
    }
    .table-point {
        left: 427px;
        top: 55px;
    }
    .table-cart {
        left: 472px;
        top: 55px;
    }
    .footer {
        height: 800px;
    }
    .footer-about {
        position: absolute;
        left: -190px;
        top: 0px;
    }
    .footer-authorize {
        position: absolute;
        left: -155px;
        top: 140px;
    }
    .footer-question {
        position: absolute;
        left: -190px;
        top: 380px;
    }
    .footer-info {
        position: absolute;
        left: -80px;
        top: 520px;
    }
    .footer-description {
        top: 685px;
        line-height: 25px;
    }
    .phone-search-input-frame,
    .phone-search-form {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .table-picture {
        margin-left: -30px;
    }
    .table-vector {
        margin-left: -53px;
    }
    .table-video {
        margin-left: -37px;
    }
    .table-music {
        margin-left: -28px;
    }
    .table-template {
        margin-left: -32px;
    }
    .table-project {
        margin-left: -25px;
    }
    .table-login {
        margin-left: -30px;
    }
    .table-favorite {
        left: 562px;
        top: 55px;
    }
    .table-point {
        left: 606px;
        top: 55px;
    }
    .table-cart {
        left: 651px;
        top: 55px;
    }
    .footer {
        height: 800px;
    }
    .footer-about {
        position: absolute;
        left: -280px;
        top: 0px;
    }
    .footer-authorize {
        position: absolute;
        left: -245px;
        top: 140px;
    }
    .footer-question {
        position: absolute;
        left: -280px;
        top: 380px;
    }
    .footer-info {
        position: absolute;
        left: -170px;
        top: 520px;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .banner-frame {
        margin-top: 85px;
    }
}

@media (min-width: 992px) {
    .table-picture {
        margin-left: -40px;
    }
    .table-vector {
        margin-left: -53px;
    }
    .table-video {
        margin-left: -38px;
    }
    .table-music {
        margin-left: -29px;
    }
    .table-template {
        margin-left: -33px;
    }
    .table-project {
        margin-left: -25px;
    }
    .table-login {
        margin-left: -30px;
    }
    .table-favorite {
        left: 163px;
        top: 55px;
    }
    .table-point {
        left: 207px;
        top: 55px;
    }
    .table-cart {
        left: 251px;
        top: 55px;
    }
    .footer {
        height: 360px;
    }
    .footer-about,
    .footer-authorize,
    .footer-question,
    .footer-info {
        position: static;
    }
    .footer-description {
        top: 130px;
    }
}

@media (min-width: 1200px) {
    .footer {
        height: 360px;
    }
}

.content-head-title {
    font-family: '微軟正黑體';
    font-weight: bold;
    font-size: 28px;
    border: 2px solid #cb2e27;
    width: 170px;
    height: 50px;
    line-height: 50px;
    border-radius: 10px;
    margin: 0 auto;
}

.content-body {
    padding-bottom: 151px;
}

.img {
    width: 100%;
    height: auto;
}


/* Pagination */

.pagination-frame {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-top: 3.5rem;
    margin-left: -15px;
    margin-right: -15px;
}

.pagination ul {
    margin-bottom: 0;
}

.pagination .page-link {
    color: #000;
    border: 0;
}

.pagination .page-item.active .page-link {
    background-color: rgba(0, 0, 0, .5);
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type=number] {
    -moz-appearance: textfield;
}

.jump-page {
    min-width: 7rem;
    max-width: 10rem;
    margin-left: 1.75rem;
}

.jump-page span {
    font-size: 1.05rem;
    padding-left: .45rem;
    padding-right: .45rem;
}

.jump-page input {
    width: 35%;
}


/* Utilities */

.lp-0 {
    letter-spacing: 0;
}

.lp-1 {
    letter-spacing: .1rem;
}