/*---- 不確定欄數表格基本設定 ----*/

.table-mobilefriendly .title-desktop,
.table-mobilefriendly .item-content .list,
.table-mobilefriendly.two-columns .list {
    display: flex;
}

.table-mobilefriendly .item img {
    width: 100%;
}

.table-mobilefriendly .item input {
    max-width: 100%;
    text-align: center;
    margin-bottom: 0
}

/*---- 兩欄表格基本設定 ----*/

.table-mobilefriendly.two-columns .list .title {
    width: 30%;
}

.table-mobilefriendly.two-columns .list .info {
    width: 70%;
}

.mobile-title {
    display: none;
}

/*---- 表格欄數會隨著項目不同而變化，請以 CSS 設定----*/

/* Order-list 訂單查詢 */

.table-mobilefriendly.order-list .item:first-child {
    width: 10%
}

.table-mobilefriendly.order-list .item.date,
.table-mobilefriendly.order-list .item.num {
    width: 19%;
}

.table-mobilefriendly.order-list .item {
    width: calc((100% - 10% - 19% - 19%) / 4);
    /*calc(100%/ 欄數)*/
    text-align: center;
}

/* Coupon-list 優惠券查詢 */

.table-mobilefriendly.coupon-list .item {
    width: calc(100% / 5);
    /*calc(100%/ 欄數)*/
    text-align: center;
}

/* Coupon-list 購物車優惠券選取 */

.table-mobilefriendly.coupon-list-modal .item {
    width: calc(100% / 3);
    /*calc(100%/ 欄數)*/
    text-align: center;
}

/* Reward-list 紅利點數查詢 */

.table-mobilefriendly.reward-list .item.info {
    width: 60%;
}

.table-mobilefriendly.reward-list .item {
    width: calc((100% - 20%) / 3);
    /*calc(100%/ 欄數)*/
    text-align: center;
}

/* Cart-list-check 購物車列表 */

/* Inq-list-check 詢問車列表*/

.table-mobilefriendly.cart-list-check .item.qty,
.table-mobilefriendly.cart-list .item.qty,
.table-mobilefriendly.cart-list-check .item.img,
.table-mobilefriendly.cart-list .item.img {
    width: 150px;
}

.table-mobilefriendly.inq-list-check .item.img,
.table-mobilefriendly.inq-list .item.img {
    width: 180px;
}

.table-mobilefriendly.cart-list-check .item.pdt-name,
.table-mobilefriendly.cart-list .item.pdt-name {
    width: 25%;
}

.table-mobilefriendly.cart-list-check .item:first-child,
.table-mobilefriendly.cart-list-check .item:last-child,
.table-mobilefriendly.inq-list-check .item:first-child,
.table-mobilefriendly.inq-list-check .item:last-child {
    max-width: 7%
}

.table-mobilefriendly.cart-list-check .item {
    width: calc((100% - 7% - 7% - 150px - 150px - 25%) / 2);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.table-mobilefriendly.cart-list .item:first-child {
    max-width: 7%
}

.table-mobilefriendly.cart-list .item {
    width: calc((100% - 7% - 100px - 100px - 25%) / 2);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.table-mobilefriendly.inq-list-check .item {
    width: calc((100% - 180px - 7% - 7%) / 2);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.table-mobilefriendly.inq-list .item:first-child {
    max-width: 7%
}

.table-mobilefriendly.inq-list .item {
    width: calc((100% - 180px - 7%) / 2);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/*---- 以下顏色排版可自由變化----*/

/* Color CSS */

.table-mobilefriendly {
    color: #888;
    font-size: 16px;
}

.table-mobilefriendly .title-desktop .item {
    padding: 15px 10px;
    background: #aaa;
    color: #fff;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff
}

.table-mobilefriendly .title-desktop .item:last-child {
    border-right-color: #ffffff;
    border-bottom-color: #ffffff;
}

.table-mobilefriendly .item-content .list .item {
    padding: 15px 10px;
    color: #6a6a6a;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    background: #f0f0f0;
}

.table-mobilefriendly .item-content .list .item:first-child,
.table-mobilefriendly .title-desktop .item:first-child {
    border-left: 2px solid #fff
}

.table-mobilefriendly .item-content .list .item:first-child{
    background: #ddd;
    font-weight: bold
}

.table-mobilefriendly .item-content .list .item.pdt-name span {
    display: block
}

.table-mobilefriendly .item-content .list .item.pdt-name .activity-info {
    background: #efefef;
    font-size: 14px;
    padding: 7px 18px;
    margin-top: 5px;
    text-align: left;
}

.table-mobilefriendly .item-content .list .item.pdt-name .activity-info .date {
    display: block;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 0;
    font-style: italic
}

.mobile-title {
    font-weight: bold;
    color: #666;
}

.table-mobilefriendly .item input,
.table-mobilefriendly .item select {
    text-align: center;
    margin-bottom: 0
}

.table-mobilefriendly .item.img img {
    max-width: 120px
}

.table-mobilefriendly.two-columns .list {
    margin-bottom: 2px;
}

.table-mobilefriendly.two-columns .list .title,
.table-mobilefriendly.two-columns .list .info {
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

.table-mobilefriendly.two-columns .list .title {
    background: #aaa;
    color: #fff;
    font-size: 16px;
    margin-bottom: 0;
    font-weight: bold
}

.table-mobilefriendly.two-columns .list .title:after {
    background-color: transparent;
}

.table-mobilefriendly.two-columns .list .info {
    background: #f0f0f0;
    font-weight: bold;
    color: #555;
}

.table-mobilefriendly.two-columns .list .title.dark {
    background: #ff7e27;
    color: #fff
}
.table-mobilefriendly.two-columns .list .dark {
    background: rgba(255, 126, 39, .2);
    color: #333;
}

.delete-btn{
    font-size: 26px;
    color: #555
}
.delete-btn:hover{
    color: #ff7e27
}

@media (max-width: 991px) {
    .table-mobilefriendly .title-desktop {
        display: none;
    }
    .table-mobilefriendly .item-content .list {
        display: block;
        margin-bottom: 15px;
    }
    .table-mobilefriendly .item-content .list .item,
    .table-mobilefriendly.cart-list-check .item:first-child,
    .table-mobilefriendly.cart-list-check .item:last-child,
    .table-mobilefriendly.inq-list-check .item:first-child,
    .table-mobilefriendly.inq-list-check .item:last-child {
        width: 100%;
        max-width: 100%;
    }
    .mobile-title {
        display: inline-block;
    }
    .radio-inline {
        display: block
    }
    .table-mobilefriendly.cart-list-check .list .item.pdt-name,
    .table-mobilefriendly.cart-list .list .item.pdt-name,
    .table-mobilefriendly.inq-list-check .list .item.pdt-name,
    .table-mobilefriendly.inq-list .list .item.pdt-name {
        flex-direction: column;
        color: #222;
        font-size: 18px;
        font-weight: bold;
    }
    .table-mobilefriendly.cart-list-check .item .old-price,
    .table-mobilefriendly.cart-list .item .old-price {
        display: inline-block;
    }
    .table-mobilefriendly.cart-list-check .list .item:first-child,
    .table-mobilefriendly.cart-list-check .list .item:last-child,
    .table-mobilefriendly.cart-list-check .list .item.img,
    .table-mobilefriendly.cart-list .list .item:first-child,
    .table-mobilefriendly.cart-list .list .item.img,
    .table-mobilefriendly.inq-list-check .list .item:first-child,
    .table-mobilefriendly.inq-list-check .list .item:last-child,
    .table-mobilefriendly.inq-list-check .list .item.img,
    .table-mobilefriendly.inq-list .list .item:first-child,
    .table-mobilefriendly.inq-list .list .item.img {
        align-items: center;
        justify-content: center;
    }
    /*---- 以下顏色排版可自由變化----*/
    /* Color CSS */
    .table-mobilefriendly .item-content .list {
        border: 1px solid #aaa;
    }
    .table-mobilefriendly .item-content .list .item {
        padding: 5px 10px;
        border-right: none;
        border-bottom: none;
    }
    .table-mobilefriendly .item-content .list .item:first-child,
    .table-mobilefriendly .item-content .list .item.img {
        text-align: center;
    }
    .table-mobilefriendly .item-content .list .item:first-child {
        border-left: none;
        background: #aaa;
        color: #fff;
    }
    .table-mobilefriendly .item-content .list .item:first-child .mobile-title {
        color: #fff;
    }
    .table-mobilefriendly.coupon-list-modal .item-content .list .item:first-child {
        background: #fff;
        text-align: left;
    }
    .table-mobilefriendly.coupon-list-modal .item-content .list .item:first-child .mobile-title {
        color: #333;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .table-mobilefriendly .item-content .list .item {
        justify-content: flex-start;
        flex-direction: row;
        text-align: left;
    }
    .table-mobilefriendly .item-content .list .item .mobile-title {
        width: 100px;
    }
    .table-mobilefriendly .item.img img {
        max-width: 150px;
    }
}

@media (max-width: 767px) {
    .table-mobilefriendly.order-list .item,
    .table-mobilefriendly.coupon-list .item,
    .table-mobilefriendly.reward-list .item {
        display: flex;
        text-align: left;
    }
    .table-mobilefriendly.order-list .item:first-child {
        text-align: center;
        justify-content: center;
    }
    .table-mobilefriendly.order-list .item .mobile-title,
    .table-mobilefriendly.coupon-list .item .mobile-title,
    .table-mobilefriendly.reward-list .item .mobile-title {
        min-width: 110px;
    }
}

@media (max-width: 500px) {
    .mobile-title {
        font-weight: bold;
        color: #111;
        min-width: 110px;
    }
    .table-mobilefriendly .item.img img {
        max-width: 100px;
    }
    .table-mobilefriendly .item-content .list .item {
        color: #8a8a8a;
    }
    .table-mobilefriendly.cart-list-check .item-content .list .item,
    .table-mobilefriendly.cart-list .item-content .list .item,
    .table-mobilefriendly.inq-list-check .item-content .list .item,
    .table-mobilefriendly.inq-list .item-content .list .item {
        text-align: left;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: row;
    }
    .table-mobilefriendly.cart-list-check .list .item.pdt-name,
    .table-mobilefriendly.cart-list-check .list .item.img,
    .table-mobilefriendly.cart-list-check .list .item:first-child,
    .table-mobilefriendly.cart-list-check .list .item:last-child,
    .table-mobilefriendly.cart-list .list .item.pdt-name,
    .table-mobilefriendly.cart-list .list .item.img,
    .table-mobilefriendly.cart-list .list .item:first-child,
    .table-mobilefriendly.inq-list-check .list .item.pdt-name,
    .table-mobilefriendly.inq-list-check .list .item.img,
    .table-mobilefriendly.inq-list-check .list .item:first-child,
    .table-mobilefriendly.inq-list-check .list .item:last-child,
    .table-mobilefriendly.inq-list .list .item.pdt-name,
    .table-mobilefriendly.inq-list .list .item.img,
    .table-mobilefriendly.inq-list .list .item:first-child {
        text-align: center;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .table-mobilefriendly.cart-list-check .list .item.pdt-name,
    .table-mobilefriendly.cart-list .list .item.pdt-name,
    .table-mobilefriendly.inq-list-check .list .item.pdt-name,
    .table-mobilefriendly.inq-list .list .item.pdt-name {
        border-bottom: 1px solid #ccc;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    .table-mobilefriendly.two-columns .list .title {
        width: 60%;
    }
    .table-mobilefriendly .item input,
    .table-mobilefriendly .item select {
        max-width: 200px
    }
    .table-mobilefriendly.two-columns .list {
        flex-direction: column;
    }
    .table-mobilefriendly.two-columns .list .title,
    .table-mobilefriendly.two-columns .list .info {
        display: block;
        text-align: center;
        width: 100%;
    }
    .table-mobilefriendly.two-columns .list .dark {
        border-left: 3px solid #999;
    }
}

.tp-bullets {
    left: 50% !important
}

.video-background {
    overflow: hidden
}

.video-background #background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.app-icon {
    display: inline-block
}

.app-icon img {
    width: 180px;
    opacity: .8;
    transition: all .3s ease;
}

.app-icon:hover img {
    opacity: 1;
    transition: all .3s ease;
}

.footer-logo img {
    width: 95px;
    height: 75px;
}

.footer-icon img {
    opacity: .5;
    width: 22px;
    height: 22px;
}

.footer-icon:hover img {
    opacity: 1;
}

ul.media-body {
    margin-bottom: 0;
    position: relative;
    z-index: 5;
}

.icon-cart {
    font-size: 1.5rem;
    color: #aaa;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    line-height: 50px;
    border: 1px solid #aaa;
    display: inline-block;
    text-align: center
}

.icon-cart:hover {
    background: #ff7e27;
    border: 1px solid #ff7e27;
    color: #fff;
    text-decoration: none
}

.rev-btn {
    font-family: "Open Sans", Helvetica, Arial, Microsoft JhengHei, LiHei Pro, sans-serif;
    letter-spacing: 1.2
}

.rev_slider .tp-mask-wrap .tp-caption.slogan {
    line-height: 1.2 !important
}

.select-hidden {
    display: none;
    visibility: hidden;
    padding-right: 10px;
}

.select {
    position: relative;
}

.select.stle-1 {
    cursor: pointer;
    display: inline-block;
    position: relative;
    font-size: 16px;
    color: #fff;
    width: 220px;
    height: 40px;
}

.select-styled {
    font-size: 0.92857rem;
    border-radius: 50px;
    color: #555;
    border-color: #ccc;
    height: auto;
    text-align: center;
    padding: .375rem .75rem;
    line-height: 1.5;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    cursor: pointer;
}

.select-styled:after {
    content: "";
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-color: #ccc transparent transparent transparent;
    position: absolute;
    top: 13px;
    right: 10px;
}

.select-styled:hover {
    border-color: #ff6700;
}

.select-styled:active,
.select-styled.active {
    border-color: #ff6700
}

.select-styled:active:after,
.select-styled.active:after {
    top: 7px;
    border-color: transparent transparent #ccc transparent;
}

.lg .select-styled {
    font-size: 16px;
    padding: 10px 30px;
}

.lg .select-styled:after {
    border-width: 6px;
    top: 20px;
    right: 20px;
}

.lg .select-styled:active:after,
.lg .select-styled.active:after {
    top: 15px;
}

.lg .select-options,
.g-width-100x .select-options{
    width: 100%
}

.lg .select-options li {
    padding: 15px
}

.select-options {
    display: none;
    position: absolute;
    top: 120%;
    right: 0;
    left: 0;
    z-index: 999;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, .15);
    width: 150px;
    border: 1px solid #ccc
}

.select-options li {
    margin: 0;
    padding: 5px 0;
    text-indent: 15px;
    border-top: 1px solid #ccc;
    -moz-transition: all 0.15s ease-in;
    -o-transition: all 0.15s ease-in;
    -webkit-transition: all 0.15s ease-in;
    transition: all 0.15s ease-in;
    cursor: pointer;
}

.select-options li:hover {
    color: #fff;
    background: #ff6700;
}

.select-options li[rel="hide"] {
    display: none;
}

.bg-image {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: inline-block
}