.container {
    width: 1250px;
    margin-right: auto;
    margin-left: auto;
}
#store-link{
    border: 14px solid #e0e0e0;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.banner {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    height: 100%;
    background-color: #252525;
    background-size: cover;
    background-repeat: no-repeat;
}

.banner img {
    width: 100%;
    height: 100%;
    vertical-align: bottom;
    position: relative;
    top: 0;
    left: 0;
}

article {
    font-size: 16px;
    padding-bottom: 32px;
}

.main {
    /* background-color: #E3E3E3; */
    padding-top: 32px;
    padding-bottom: 64px;
}

table#activity-schedule {
    width: calc(100% - 8px);
    text-align: center;
    margin: 0 auto 16px;
}

table#activity-schedule tr th,
table#activity-schedule tr td {
    border: 1px solid #BEBEBE;
    padding: 10px 0;
    vertical-align: middle;
}

table#activity-schedule tr th {
    background-color: #D3D3D3;
}

.event-itemBox {
    width: calc(100% / 6 - 8px);
    margin: 16px 4px;
    float: left;
    max-width: 140px;
}

.event-itemBox a {
    display: block;
}

.event-item-photo {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #FFF;
    box-sizing: border-box;
}

#live-section {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    height: 100%;
}

#player_div {
    width: 889px;
    height: 100%;
    margin: auto;
    background-color: #000;
}

#player_div .player-text {
    color: #FFF;
    height: 100%;
    padding-top: 200px;
    text-align: center;
    box-sizing: border-box;
}

#player_div .player-login {
    text-decoration: underline;
    cursor: pointer;
}

#player_div .player-text input {
    padding: 10px;
    border: 0;
    outline: 0;
    border-radius: 10px;
    margin-top: 5px;
    width: 250px;
    font-size: 15px;
    font-weight: bold;
}

#player_div .player-text input[type="submit"] {
    background-color: #dc5353;
    width: 100px;
    cursor: pointer;
    color: #FFF;
}

.vid-content {
    width: 889px;
    margin: auto;
}

.vid-content h2 {
    font-size: 18px;
}

.vid-content p {
    padding-top: 10px;
}


/*** 倒數計時區塊 ***/

#comesoon-container {
    width: 889px;
    height: 100%;
    margin: auto;
    background-color: #A3A3A3;
    position: absolute;
    top: 0;
    z-index: 5;
}

#comesoon-timer {
    width: 100%;
    height: 100%;
    background-color: #1C1C1C;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
}

#comesoon-timer p {
    width: 60%;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 37px;
    color: #FFFFFF;
    font-size: 20px;
    padding: 10px 0;
    position: absolute;
    bottom: 10%;
    left: 50%;
    -ms-transform: translate(-50%);
    /* IE 9 */
    -webkit-transform: translate(-50%);
    /* Safari */
    transform: translate(-50%);
}


/*** 商品項目 ***/
#products-section a {
    color: #1C1C1C;
}

.product-scope {
    width: calc((100% / 5) - 30px);
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
    margin: 15px;
    padding: 10px;
    float: left;
}

.product-cover {
    width: 100%;
    height: 198px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #EBDFD7;
    box-sizing: border-box;
}

.product-name {
    width: 100%;
    height: 41.5px;
    overflow: hidden;
    margin: 10px 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-price {
    width: 100%;
    line-height: 1;
}

.product-price span {
    max-width: 70%;
    color: #D14B4B;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.product-price s {
    max-width: 30%;
    color: #B5B5B5;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: 5px;
    display: inline-block;
}


/*** 影片項目 ***/

.media-item {
    border-radius: 10px;
    width: calc(100% / 4 - 10px);
    border: 1px solid #DFDFDF;
    box-sizing: border-box;
    margin: 5px;
    padding: 8px;
    float: left;
    -webkit-transition: all .3s;
    /* Safari */
    transition: all .3s;
}

.media-item:hover .media-cover a::before {
    opacity: 1;
    visibility: visible;
}

.media-item:hover .media-link p {
    opacity: 0;
    visibility: hidden;
}

.media-cover {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #DFDFDF;
}

.media-cover .media-link,
.media-cover .media-comesoon-link {
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
}

.media-cover .media-link::before {
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(255, 96, 0, 0.5);
    background-image: url(../../images/home/play-icon.png);
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .3s;
    /* Safari */
    transition: all .3s;
}

.media-cover .media-link p {
    background-color: #000000;
    color: #FFFFFF;
    font-size: 12px;
    padding: 2px 5px;
    position: absolute;
    right: 5px;
    bottom: 5px;
    -webkit-transition: all .3s;
    /* Safari */
    transition: all .3s;
}

.media-cover .media-comesoon-passive {
    width: 100%;
    height: 100%;
    background: rgba(255, 96, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
}

.media-cover .media-comesoon-passive p {
    width: 100%;
    color: #FFFFFF;
    font-weight: bold;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    /* IE 9 */
    -webkit-transform: translate(-50%, -50%);
    /* Safari */
    transform: translate(-50%, -50%);
}

.media-cover .media-comesoon-passive p::before {
    content: url(../../images/home/play-icon.png);
    display: block;
}

.media-mark {
    width: 100%;
    padding: 10px 0;
}

.media-status-live,
.media-status-vod,
.media-status-soon {
    border-radius: 12px;
    color: #FFFFFF;
    font-weight: bold;
    line-height: 1;
    padding: 5px 32px 5px 15px;
    float: left;
    position: relative;
}

.media-status-live {
    background-color: #D20000;
}

.media-status-vod {
    background-color: #FF6000;
}

.media-status-soon {
    background-color: #959595;
}

.media-status-live::after,
.media-status-vod::after,
.media-status-soon::after {
    margin-left: 5px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-45%);
    -moz-transform: translateY(-45%);
    -ms-transform: translateY(-45%);
    transform: translateY(-45%);
}

.RightBar_customized {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: calc(100% - 2px);
    height: 18%;
    display: block;
    margin: 7px 2px;
}

.media-status-live::after {
    content: url(../../images/home/live-decoration-icon.png);
}

.media-status-vod::after {
    content: url(../../images/home/vod-decoration-icon.png);
}

.media-status-soon::after {
    content: url(../../images/home/soon-decoration-icon.png);
}

.media-type {
    border: 1px solid #1C1C1C;
    font-weight: bold;
    box-sizing: border-box;
    margin-left: 10px;
    padding: 1.5px 10px;
    float: left;
}

.media-supplier {
    width: 100%;
    height: 20px;
}

.media-supplier-link {
    width: 70%;
    height: 20px;
    color: #FF6000;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0.5px 0;
    float: left;
}

.media-supplier-link a {
    color: #FF6000;
    font-weight: bold;
    text-decoration: none;
}

.media-date {
    color: #FF6000;
    font-weight: bold;
    float: left;
}

.media-supplier .media-view-count {
    width: 30%;
    height: 20px;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    float: right;
    display: block;
}

.media-supplier .media-view-count::before {
    content: url(../../images/home/media-view-icon.png);
    vertical-align: middle;
    margin-right: 5px;
}

.media-name {
    width: 100%;
    height: 25px;
    line-height: 15px;
    font-size: 16px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 5px 0;
}

.media-desc {
    width: 100%;
    height: 38px;
    font-weight: bold;
    line-height: 18px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


/*** tab區塊 ***/

.event-tab-section {
    background-color: #FFF;
    padding-top: 32px;
    padding-bottom: 32px;
    min-height: 500px;
}

.event-tab {
    min-width: 145px;
    border-top: 5px solid transparent;
    border-right: 1px solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
    border-bottom: 1px solid #e0e0e0;
    font-size: 16px;
    text-align: center;
    box-sizing: border-box;
    margin-bottom: -1px;
    padding: 8px 15px;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s;
    font-weight: bold;
    position: relative;
}

.event-tab:nth-child(2)::before {
    content: "";
    background-image: url('../../images/vegetables/logo_01.png');
    background-size: 20px;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 10px;
}

.event-tab:nth-child(3)::before {
    content: "";
    background-image: url('../../images/vegetables/logo_02.png');
    background-size: 20px;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 10px;
}

.event-tab.tab-active {
    border-top: 5px solid #FF6000;
    border-left: 1px solid #E0E0E0;
    border-right: 1px solid #E0E0E0;
    border-bottom: 1px solid #FFFFFF;
    color: #FF6000;
}

.tab-active {
    border-top: 5px solid #FF6000;
    border-left: 1px solid #E0E0E0;
    border-right: 1px solid #E0E0E0;
    border-bottom: 1px solid #FFFFFF;
    color: #FF6000;
}

.event-tab-content {
    border-radius: 0px 20px 20px 20px;
    padding-top: 16px;
    padding-bottom: 16px;
    min-height: 320px;
    border: 1px solid #e0e0e0;
    padding: 20px 36px;
    box-sizing: border-box;
    width: 100%;
}

.tab-content {
    display: none;
}
.show {
    display: block;
}

.event-tab-section .container h1 {
    font-size: 30px;
    line-height: 30px;
    padding: 5px 10px;
    margin-bottom: 10px;
}

#products1-title {
    color:#750000;
}


@media(max-width:1000px){
    .container {
        width: 100%;
    }
    .product-scope {
        width: calc((100% / 3) - 30px);
    }
    .media-item {
        width: calc(100% / 3 - 10px);
    }
}

@media(max-width:600px){

    .product-scope {
        width: calc((100% / 2) - 30px);
    }
    .media-item {
        width: calc(100% / 2 - 10px);
    }
}

@media(max-width:400px){

    .product-scope {
        width: calc((100% / 1) - 30px);
    }
    .media-item {
        width: calc(100% / 1 - 10px);
    }
    .event-itemBox {
        width: calc(130% / 6 - 8px);
    }
}