* {
    margin: 0;
    padding: 0;
}

/* 影片選單 */
.swiper-container {
    display: flex;
    position: absolute;
    justify-content: center;
    align-content: center;
    width: calc(100% - 400px);
    height: 200px;
    right: 6%;
}

.swiper-wrapper {
    top: 0px;
}

.scrollspy {
    height: 500px;
    font-size: 20px;
    overflow: auto;
}

/* #plyplcD-sSrgUbOp8 {
    position: fixed;
    top: 0px;
    left: 0px;
} */

.swiper-slide {
    text-align: center;
    font-size: 18px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
}

.pagebtnright {
    position: relative;
    right: calc(-100% + 40px);
    z-index: 100;
    top: 10px;
    width: 14%;
    max-width: 75px;
    outline: none;
    cursor: pointer;
}

.pagebtnleft {
    position: relative;
    left: -90px;
    z-index: 100;
    top: 10px;
    width: 14%;
    max-width: 75px;
    outline: none;
    cursor: pointer;

}

.swiper-button-next>.pagebtn {
    right: 0px
}

.swiper-button-prev>.pagebtn {
    left: 0px;
}

.btnpic {
    width: 100%;
    height: 100%;
}

/* Container */
.container-fluid {
    background: #FFFFFF;
    margin: 40px auto 10px;
    padding: 20px 40px 0;
    max-width: 960px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}


/* video撥放 */
#videomodel>.modal-dialog {
    max-width: 100%;
    max-height: 100%;
}

/* video頁面 */
.bar {
    width: 100%;
    height: 128px;
    margin-top: -128px;
    z-index: -100
}

.textbar {
    width: 100%;
    height: auto;
}

.img_size_back {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.img_size {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.previewbox {
    background-color: red;
    width: auto;
    height: auto;
}



.insidetext {
    height: 30px;
    width: 100%;
    font-size: 17px;
    color: #6A635A;
    text-align: center
}

/* menu */
.catfeet {
    width: 50px;
    height: 50px;
    visibility: hidden;
}

.menu_inti_posi {
    height: 60px;
    width: 60px;
}

#br3 {
    margin-left: 2.4px;
    margin-top: 5px;
    width: 92%;
    height: 92%;
}

#l1bar {
    margin-top: -100px;
}

#cat {
    position: absolute;
    background-repeat: no-repeat;
    background-image: url(/video/ncutube/icon.png);
    top: 2px;
    left: 50%;
    width: 410px;
    height: 230px;
    z-index: 1;
    pointer-events: none;
}

.left_box {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 85px;
    height: 100%;
    width: 22%;
    max-width: 230px;
    min-width: 215px;
    justify-content: start;
    align-content: space-around;
}

.menubtn {
    width: 200px;
    height: 14%;
    left: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
}

#box3arrow>.menubtn {
    width: 100%;
    justify-content: flex-end;
}

div.left_box>a {
    width: 100%;
    height: 14%;
}

a>div.menubtn {
    height: 100%;
}

.menutext {
    width: 105px;
    height: 54px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.arrow {
    position: fixed;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    bottom: 15px;
    right: 15px;
}

.arrow>img {
    position: absolute;
    width: 60px;
    height: 60px;
}

.arrow:hover {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0px 0px 15px rgb(255, 255, 255);
}

/* header */
header {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: left top;
    background-image: url(/video/ncutube/header.png);
    background-size: cover;
    width: 100%;
    height: 85px;
}

#shadow {
    position: absolute;
    background-repeat: no-repeat;
    background-image: url(/video/ncutube/shadow.png);
    background-position: left top;
    background-size: cover;
    top: 85px;
    width: 100%;
    height: 98px;
    z-index: -2;
    left: 0px;
    pointer-events: none;
}


/*camera*/
.circle {
    position: absolute;
    left: 38%;
    top: 6.8%;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    border: 4px solid #6A635A;
}

.rectangle {
    width: 100%;
    height: 100%;
    background-color: #FFF3DB
}

.camera {
    position: relative;
    bottom: 0px;
    width: 70px;
    height: 45px;
}

.camera_btn {
    background-color: #6C9EAD;
    position: absolute;
    left: 12%;
    width: 18%;
    height: 15%;
    border: 3px solid #6A635A
}

.border_ {
    border: 4px solid #6A635A;
}

.border_set {
    border-radius: 4px;
    border: 4px solid #6A635A;
}

.line {
    position: absolute;
    background-color: #6C9EAD;
    left: 0px;
    top: 27%;
    width: 100%;
    height: 57%;
}

.camerabox {
    display: flex;
    width: 75px;
    height: 55px;
    margin-left: 5px;
}






.menumidbox {
    display: flex;
    height: 60px;
    width: 60px;
}


/*背景大小*/
.body {

    position: absolute;
    bottom: 0;
    width: 100%;
    height: 90%;

}

.bye {
    width: 0px;
    height: 0px;
}

body {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: left top;
    background-image: url(/video/ncutube/background.png);
    overflow-x: hidden;
}

/* 其他 */
.pointer {
    cursor: pointer;
}


/* 手機板 */

.player_class {
    display: flex;
    align-content: center;
    justify-content: center;
    width: 256px;
    height: 250px;
    flex-wrap: wrap;
}

.widthbox {
    display: flex;
    justify-content: center;
    width: 33.3%;
    min-width: 300px;
    height: auto;
}

#TV {
    position: fixed;
    background-color: transparent;
    width: 50px;
    height: 50px;
    border-radius: 50px;
}

#TV>img {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 0px;
    left: 0px;
}



#box1 {
    display: flex;
    flex-direction: row;
    height: 100px;
    width: 100%;
    justify-content: space-between;
}

#box1-1 {
    width: 300px;
    display: flex;
    height: 85px;
    justify-content: flex-start;
    align-items: center;

}

#box1-3 {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 85px;
    width: 160px;
}

.vdo_class {
    width: 20px;
    height: 20px;
}

.videoname {
    width: 65.5vw;
    height: 38.7px;
    font-size: 20px;
    margin-top: 13px;
    margin-left: 19px;
}

.viw {
    width: 100%;
    height: 25px;
}

#box2 {
    display: flex;
    flex-direction: row;
    width: auto;
    z-index: 100;
    height: 100%;
}

.BigPad {
    display: flex;
    top: 85px;
    flex-direction: row;
    height: auto;
    width: 100%;
}

#Bl3.menu_inti_posi,
#L3.menu_inti_posi,
#Br3.menu_inti_posi,
#R3.menu_inti_posi {
    height: 55px;
    width: 55px;
}

.bottom_box {
    position: fixed;
    display: flex;
    flex-direction: row;
    bottom: 0px;
    width: 100%;
    height: 70px;
    justify-content: space-around;
    align-items: flex-start
}


.middle_text {
    width: 35%;
    font-size: 28px;
    height: 59px;
    border-bottom: 4px solid #6A635A;
    margin-left: 40px;
}

.widthbox_middlebox {
    display: flex;
    width: 100%;
    height: 100%;
    min-width: 300px;
    align-items: flex-end;
}

.virtualbox {
    display: flex;
    width: 250px;
    height: 450px;
    justify-content: space-around;
    align-items: center
}

.smallshowing {
    top: 80px;
    position: fixed;


}

.phone_playerclass {
    width: 100vw;
    justify-content: flex-start;
    align-content: flex-start;
}


.test {
    width: 240px;
    height: 135px;
    cursor: pointer;
}

.content_a {
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 0px;
    height: 0px;
}

.goshow {
    width: 0px;
    height: 0px;
}

.showTV {
    width: 65.6vw;
    height: 36.9vw;
}

.smallshowTV {
    width: 100vw;
    height: 56.25vw;

}

.videonameshow {
    margin-top: 0px;
    height: 9vw;
}

.player_small {
    width: 0px;

}

.imgbox {
    width: 100%;
}

.contentMenu {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 90%;
    height: 50%;

}

.contentMenu2 {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    display: none;
}

#glass {
    position: absolute;
    left: 38%;
    top: 6.8%;
    border-radius: 50%;
    width: 34px;
    height: 34px;


}

#login_text {
    color: white;
    font-size: 24px;
    margin-top: 17px;
    text-align: center;

}

#ncutext {
    font-size: 38px;
    transform: scale(1.15, 1);
    margin-left: 22px;
}

#bd {
    background-repeat: no-repeat;
}

#box4 {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-content: flex-start;
    flex-wrap: wrap;
}


/* 後台 */
#chg_btn {
    position: fixed;
    bottom: 135px;
    right: 15px;
}

#del_btn {
    position: fixed;
    bottom: 90px;
    right: 15px;
}

#edit_btn {
    position: fixed;
    bottom: 180px;
    right: 15px;
}

.fonttype {
    font-family: myfont;
}

.videoinfo {
    font-size: 0px;
}

.already_btn {
    display: flex;
    justify-self: start;
    align-items: center;
    width: 100%;
    height: 70px;
}

#video_place {
    position: fixed;
    top: calc(50% - 18.45vw);
    left: 17.2vw;
    width: 65.6vw;
    height: 0px;
}

#table>.modal-body {
    background-color: transparent
}

#table {
    background-color: transparent;
    border: none;
}

.videoname {
    visibility: hidden;
}

.videoinfo {
    visibility: hidden;

}

.mgarrow {
    margin-left: -4px;
    ;
    width: 60px;
    height: 90px;
}

#p_c {
    width: auto;
    height: auto;
}

#timecounthover {
    display: none;
}

.timec {
    width: 144px;
    height: 224px;
}

#time_a {
    width: auto;
    height: auto;
    align-self: center;
}

@font-face {
    font-family: myfont;
    src: url('../video/font/GenSenRoundedTW-M-01.ttf'),
        url('../video/font/GenSenRoundedTW-R-01.ttf'),
        url('../video/font/GenSenRoundedTW-B-01.ttf');
}

#phone_timecount {
    display: none;
    position: absolute;
    background-repeat: no-repeat;
    background-image: url(/video/ncutube/phone_timecount.png);
    top: 78px;
    right: 173px;
    z-index: 10;
    pointer-events: none;
    width: 125px;
    height: 100px;

}

#phone_cat {
    visibility: hidden;
    position: absolute;
    background-repeat: no-repeat;
    background-image: url(/video/ncutube/phone_cat.png);
    top: 20px;
    right: 126px;
    z-index: 0;
    width: 95px;
    height: 75px;
}

#phone_grass {
    visibility: hidden;
    position: absolute;
    background-repeat: no-repeat;
    background-image: url(/video/ncutube/phone_grass.png);
    top: 3px;
    z-index: 10;
    right: -4px;
    pointer-events: none;
    width: 410px;
    height: 230px;

}



/* 大螢幕 (e.g.橫躺平板) 922~1200px */
@media (max-width: 576px) {}

@media (max-width: 1500px) {
    .timec {
        width: 126px;
        height: 196px;

    }
}

@media (max-width: 1400px) {
    .test {
        width: 192px;
        height: 108px;
    }

    /* .contentMenu {
        height: 50%;
    } */
}

/* 中螢幕 (e.g.直立平板) 768~922px */
@media (max-width: 1200px) {
    .test {
        width: 200px;
        height: 112.5px;
    }

    /* .contentMenu {
        height: 50%;
    } */
}

@media (max-width: 960px) {

    .contentMenu {
        height: 40%;
        /* right: 7%; */
    }

    .middle_text {
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 1033px) {

    .swiper-container {
        right: 8%;
    }
}

/* @media (max-width: 885px) {
    .test {
        width: 192px;
        height: 108px;
    }
} */

@media (max-width: 820px) {
    .test {
        width: 177.7px;
        height: 100px;
    }
}

@media (max-width: 780px) {
    .test {
        width: 160px;
        height: 90px;
    }
}

@media (max-width: 745px) {

    /* menu  */
    #br3 {
        margin-left: -2.9px;
        margin-top: 0.7px;
        width: 91%;
        height: 93%;
    }

    .left_box {
        flex-direction: row;
        max-width: 100%;
        top: calc(100% - 70px);
        width: 100%;
        height: 70px;
        justify-content: space-around;
    }

    div.left_box>a {
        width: auto;
        height: auto;
    }


    .test {
        width: 240px;
        height: 135px;
        cursor: pointer;
    }

    #time_a {
        display: none;
    }



    .camerabox {
        justify-content: center;
        height: auto;
        position: absolute;
        width: 60px;
        height: auto;
        top: 13px;
        left: 33px;
    }

    .camera {

        width: 60px;
        height: 41px;
    }

    .textbar {

        width: 100%;
        height: 110px;
        display: flex;
        align-items: center;
    }

    #cat {
        visibility: hidden;
    }

    #phone_cat {
        visibility: visible;

    }

    #phone_grass {
        visibility: visible;
    }

    .contentMenu2 {
        display: flex;
    }

    .contentMenu {
        display: none;
    }

    #ncutext {
        position: absolute;
        font-size: 20px;
        transform: scale(1.15, 1);
        left: 0px;
        /* pointer-events: none; */
        bottom: 0px;
        z-index: 100
    }

    .insidetext {
        height: 20px;
        width: 100%;
        font-size: 13px;
        margin-left: 0px;

    }

    #Bl2-text.insidetext,
    #Bl3-text.insidetext {
        margin-left: 0px;
    }

    #Bl3-text.insidetext {
        margin-left: 0px;
        margin-bottom: 2px;
    }

    .menubtn {
        width: 45px;
        height: 78px;
        left: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .menutext {
        width: 80px;
        height: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }



    .menu_inti_posi {
        height: 50px;
        width: 50px;
        border-radius: 50%;

    }

    .BigPad {
        flex-direction: column-reverse;
    }

    .virtualbox {
        width: 100%;
        height: 70px;
    }

    header {
        height: 85px;
    }

    .img_size_back {
        top: 0px;
        left: 0px;
        width: 45px;
        height: 45px;

    }

    .img_size {
        width: 45px;
        height: 45px;
    }

    #box4 {
        margin-left: 0;
    }

    .widthbox {
        width: 100%;
        height: 197px;
    }

    .widthbox_middlebox {
        height: auto;
        width: 100%;
    }


    .player_class {

        height: 220px;
    }

    .middle_text {
        min-width: 80%;
        text-align: center;
        left: 10%;

        font-size: 31px;
    }

    .videoname {
        width: 100vw;
        height: 33px;
    }

    #box1-1 {

        margin-top: -10px;
        margin-left: -15px;
    }

    .arrow {
        position: fixed;
        bottom: 75px;
        right: 15px;
    }

    #cat {
        left: 0px;
        top: 1px;
    }
}

body {

    background-size: cover;
}

@media (max-width: 400px) {

    .insidetext {
        font-size: 10px;
        margin-left: 0px;
    }

    .menutext {
        width: 64px;
    }

}

@media (max-width: 320px) {
    #phone_grass {
        visibility: visible;
        right: -33px;
    }
}



@media (max-height: 760px) {
    .timec {
        width: 100.8px;
        height: 156.8px;

    }
}

@media (max-height: 550px) {
    .timec {
        width: 70.56px;
        height: 109.76px;
    }
}

/* 超小螢幕 (e.g.直立手機), 576px以下 */
@media (max-height: 400px) {

    /* menu  */
    #br3 {
        margin-left: -3px;
        margin-top: 0px;
    }

    .left_box {
        flex-direction: row;
        max-width: 100%;
        top: calc(100% - 70px);
        bottom: 0px;
        width: 100%;
        height: 70px;
        justify-content: space-around;
    }

    div.left_box>a {
        width: auto;
        height: auto;
    }


    .test {
        width: 240px;
        height: 135px;
        cursor: pointer;
    }

    #time_a {
        display: none;
    }



    .camerabox {
        justify-content: center;
        height: auto;
        position: absolute;
        width: 60px;
        height: auto;
        top: 13px;
        left: 33px;
    }

    .camera {

        width: 60px;
        height: 41px;
    }

    .textbar {

        width: 100%;
        height: 110px;
        display: flex;
        align-items: center;
    }

    #cat {
        visibility: hidden;
    }

    #phone_cat {
        visibility: visible;

    }

    #phone_grass {
        visibility: visible;
    }

    .contentMenu2 {
        display: flex;
    }

    .contentMenu {
        display: none;
    }

    #ncutext {
        position: absolute;
        font-size: 20px;
        transform: scale(1.15, 1);
        left: 0px;
        pointer-events: none;
        bottom: 0px;
        z-index: 100
    }

    .insidetext {
        height: 20px;
        width: 100%;
        font-size: 13px;
        margin-left: 0px;

    }

    #Bl2-text.insidetext,
    #Bl3-text.insidetext {
        margin-left: 0px;
    }

    #Bl3-text.insidetext {
        margin-left: 0px;
        margin-bottom: 2px;
    }

    .menubtn {
        width: 45px;
        height: 78px;
        left: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .menutext {
        width: 80px;
        height: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }



    .menu_inti_posi {
        height: 50px;
        width: 50px;
        border-radius: 50%;

    }

    .BigPad {
        flex-direction: column-reverse;
    }

    .virtualbox {
        width: 100%;
        height: 70px;
    }

    header {
        height: 85px;
    }

    .img_size_back {
        top: 0px;
        left: 0px;
        width: 45px;
        height: 45px;

    }

    .img_size {
        width: 45px;
        height: 45px;
    }

    #box4 {
        margin-left: 0;
    }

    .widthbox {
        width: 100%;
        height: 197px;
    }

    .widthbox_middlebox {
        height: auto;
        width: 100%;
    }


    .player_class {

        height: 220px;
    }

    .middle_text {
        min-width: 80%;
        text-align: center;
        left: 10%;

        font-size: 31px;
    }

    .videoname {
        width: 100vw;
        height: 33px;
    }

    #box1-1 {

        margin-top: -10px;
        margin-left: -15px;
    }

    .arrow {
        position: fixed;
        bottom: 75px;
        right: 15px;
    }

    #cat {
        left: 0px;
        top: 1px;
    }
}