/*讀入思源黑體*/
@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);

html {}

body {
    font-family: 'Noto Sans TC', '微軟正黑體', sans-serif;
    color: #fff;
    background-color: #000;
}

a {
    text-decoration: none;
}

a:hover {}

a:active {}

img,
svg {
    vertical-align: middle;
    max-width: 100%;
    max-height: 100%;
}

/************************************/
/*以下為各區塊設定*/
body>.all_wrap {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

/*header設定*/
#mobileHeader {
    position: fixed
}

#mobileHeader nav {
    max-width: 720px;
    margin: auto;
}

.header_menu .button {
    color: #ff9000;
    font-size: 1.6em;
    width: 90px;
}

.header_menu .icon_link {
    color: #ccc;
    font-size: 1.3em;
    width: 90px;
}

.header_menu .icon_link a {
    color: #ccc;
    margin-left: 20px;
}

div.bottomNav {}

div.bottomNav a {}

div.bottomNav a.noImage {
    font-size: .8em;
}

/*main設定*/
main#main {}

.adContainer {
    display: flex;
    margin-bottom: 8px;
    padding-bottom: 10px;
    padding-top: 10px;
}

.adContainer .ad {
    padding: 0 10px;
}

.hot_videos {}

.hot_videos h4 {
    font-size: 18px;
    margin: 8px 10px 15px;
}

.hot_videos h4 i {
    display: inline;
}

.hot_videos h4 img {
    display: inline;
}

.hot_option {
    overflow-x: scroll;
}

.hot_option::-webkit-scrollbar {}

ul.trendingNowWrapper {
    list-style: none;
    white-space: nowrap;
    padding: 0px;
    margin-bottom: 0px;
}

ul.trendingNowWrapper>li {
    margin: 0 0 0 3px;
    font-size: 15px;
    line-height: 15px;
    display: inline-block;
}

ul.trendingNowWrapper>li a {
    color: #fff;
    text-align: center;
    padding: 10px 15px;
    display: inline-block;
    background: #151515;
    border-radius: 60px;
    -moz-border-radius: 60px;
    -webkit-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
    border: 2px solid #212121;
    -webkit-tap-highlight-color: transparent;
}

.hot_video_list {
    margin-top: 20px;
}

ul.page_down_ad_list {
    text-align: center;
}

ul.page_down_ad_list>li {
    margin-bottom: 0.6em;
}

ul.page_down_ad_list>li>a {
    display: block;
    background-color: #1E1F24;
    font-size: 0.8em;
    padding: 8px;
    border-radius: 6px;
}

ul.page_down_ad_list>li>a:hover {
    color: #ff9000;
    background-color: #0f1014;
}

/*側選單補充*/
#leftMenu.offcanvas {
    background: #000;
    overflow: auto;
    border-right: 4px solid #0e0e0e;
}

#leftMenu.offcanvas::-webkit-scrollbar {
    width: 5px;
}

#leftMenu .closeHamMenu {
    position: absolute;
    top: 16px;
    right: 25px;
    bottom: inherit;
    left: inherit;
}

#leftMenu .js-subMenu::-webkit-scrollbar {
    height: 5px;
}

div.menuSection .menuLink.halfWidth {
    min-height: 160px;
    padding: 5px;
    display: flex;
    align-items: center;
}

div.menuSection .menuLink.halfWidth img {
    margin: auto;
}

/*搜尋列補充*/
#searchMenu .ph-icon-search:before {
    color: #fff;
}

#searchMenu aside#searchSection div.inputContainter .inputField input[type=search] {
    width: 100%;
    height: 40px;
    padding: 0 35px 0 42px;
    background: #252525;
    color: #fff;
    border: 0;
    display: block;
    position: relative;
    box-sizing: border-box;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    font-size: 18px;
}

#searchMenu aside#searchSection div.inputContainter {
    position: static;
    display: table-cell;
    width: 80%;
}

#searchMenu aside#searchSection #closeSearch {
    background: 0 0;
    border: none;
    font-size: 16px;
    font-weight: 700;
    line-height: 40px;
    color: #c6c6c6;
    padding: 0 4px 0 15px;
    display: table-cell;
}

#searchMenu aside#searchSection div.recentSearches li,
aside#searchSection div.trendingSearches li {
    padding-top: 4px;
    padding-bottom: 4px;
    line-height: 15px;
}

/*會員選單補充*/
#memberMenu aside#rightMenu {
    position: relative;
    width: 100%;
}

/*頁面補充 - 影片view_video*/
.view_video_down_AD {
    display: flex;
    gap: 10px 10px;
    margin-bottom: 10px;
    justify-content: space-between;
}

.fromRow .goto_HD {
    display: inline-block;
    float: right;
    text-align: center;
    color: #fff;
    background-color: #ff9000;
    border-radius: 10px;
    padding: 10px;
}

.fromRow .goto_HD>a {
    display: inline-block;
    color: #fff;
    font-size: 0.6em;
}

.fromRow .goto_HD>a i {
    font-size: 2em;
}

div.categoryTags div.categoryRow {
    padding: 0.75em;
}

/*20230822補文字廣告多層化*/
div.bottomNav a.noImage {
    display: inline-block;
}

/*20230906 修改搜尋按鈕*/
aside#searchSection div.inputContainter .inputField #searchSubmit {
    pointer-events: inherit;
    border: none;
}

/*20231115 加入model彈出視窗的設定*/
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1060;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    border: none;
    margin: 0px;
    background-color: rgba(0, 0, 0, .75);
}

.modal-content {
    background-color: #151515;
    color: #fff;
}

.btn-close {
    background-color: #fff;
}

.btn-primary {
    background-color: #f90;
    border-color: #f90;
}
.btn-primary:hover {
    background-color: #aa6600;
    border-color: #aa6600;
}

/*pc 和 mobile行動瀏覽的硬設定*/

.only_pc {}

.only_mobile {}

.over_pad {}

.under_pad {}



@media (min-width: 768px) {
    .only_pc {}

    .only_mobile {
        display: none;
    }
}

@media (max-width: 767px) {
    .only_pc {
        display: none;
    }

    .only_mobile {}

}

/*bootstrap 補充*/
.offcanvas {
    transition: transform .3s ease-in-out;
    -ms-transform: transform .3s ease-in-out;
    -moz-transform: transform .3s ease-in-out;
    -webkit-transform: transform .3s ease-in-out;
    -o-transform: transform .3s ease-in-out;

}

.offcanvas-start {

    transform: translateX(-100%) translateZ(0px) rotateY(0deg);
}

.offcanvas.show {
    transform: translateX(0) translateZ(0px) rotateY(0deg);
}