﻿html, body {
    font-family: 'Microsoft YaHei',Arial,SimSun,serif,Verdana;
    margin: 0;
    padding: 0;
    font-size: 10px;
}

a {
    text-decoration: none;
    color: black;
}

    a:visited {
        text-decoration: none;
        color: black;
    }

img {
    border: none;
}

h1, h2, h3 {
    margin: 0.5em 0;
    text-indent: 1em;
}
#MainContent_structscript {
    display:none;
}


header {
    height: 4em;
    width: 100%;
    z-index: 10;
    position: fixed;
    top: 0;
    box-shadow: 0 1px 1px gray;
    background-color: #eee;
    font-weight: bold;
}

    header a {
        color: white;
    }

        header a:visited {
            color: white;
        }

nav {
    width: 1470px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
article {
    width: 1200px;
    margin-top: 0.7em;
}
.flexcolumn {
    display: flex;
    flex-direction: column;
}

.virow {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    padding: 1em 0;
}
.trow {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.flexrow {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.flexaeven {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;

}

#page {
    width: 1470px;
    margin: 0 auto;
    box-shadow: 0 2px 4px black;
    
}

#home {
    margin-left: 1em;
    padding: 0.4em 0.5em;
    border-radius: 8px;
    font-weight: bolder;
    background-color: #F5C518;
    font-size: 1.4em;
}

    #home a {
        display: flex;
        flex-direction: row;
    }


    #home span {
        height: 100%;
    }

#home_4k {
    color: blue;
}

#home_sp {
    color: red;
}

#home_av {
    color: green;
}

#navleft {
    display: flex;
    align-items: center;
}

#category {
    display: flex;
    align-items: center;
    width: auto;
    font-size: 1.6em;
    margin: 0 2em;
}

#catemenu {
    display: flex;
    align-items: center;
}


#category ul {
    padding: 0;
    margin: 0;
}


    #category ul li {
        list-style: none;
        float: left;
        margin-right: 1em;
        height:22px;
        line-height:22px;
    }

#category a {
    text-shadow: 0 0 1px #333;
    color: black;
}

    #category a.currcate {
        position: relative;
        top: -1px;
        left: -1px;
        text-shadow: 1px 1px 3px #333;
    }

    #category a:hover {
        position: relative;
        top: -1px;
        left: -1px;
        text-shadow: 1px 1px 3px #333;
    }
#tophead{
    width:760px;
}
#tophead h1 {
    text-indent: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align:center;
    
}

#navright {
    display: flex;
    align-items: center;
}

#search {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right:1em;
}

    #search button {
        border: none;
        cursor: pointer;
        background-color: white;
        position: absolute;
        width: 18px;
        height: 18px;
        padding: 0;
        margin-left: 8px;
    }

    #search input {
        width: 16em;
        height: 2em;
        border-radius: 1.4em;
        border-width: thin;
        padding-left: 2.4em;
    }

#lang_list {
    width: 120px;
    height: 32px;
    font-size: 1.3em;
    font-weight: bold;
    position: relative;
    margin-right:1em;
}

#curr_lang {
    color: black;
    height: 22px;
    padding-right: 3em;
    background: url('https://www.4kmp.com/images/language.png') no-repeat;
    background-position: right;
    text-align: right;
    line-height: 22px;
}

#lang_list:hover > ul {
    visibility: visible;
}

#lang_list ul {
    visibility: hidden;
    padding: 0.6em;
    margin: 0.5em 0;
    background: #333;
    border-radius: 8px;
    position:absolute;
    bottom:26px;
    right:0;

}


#lang_list li {
    list-style: none;
    height: 22px;
    line-height:22px;
    padding: 0;
    margin: 6px 0;
    background: url('https://www.4kmp.com/images/language.png') no-repeat;
}

#lang_list .lang0 {
    background-position-y: 0;
}

#lang_list .lang1 {
    background-position-y: -22px;
}

#lang_list .lang2 {
    background-position-y: -44px;
}

#lang_list .lang3 {
    background-position-y: -66px;
}

#lang_list .lang4 {
    background-position-y: -88px;
}

#lang_list .lang5 {
    background-position-y: -110px;
}

#lang_list .lang6 {
    background-position-y: -132px;
}

#lang_list .lang7 {
    background-position-y: -154px;
}

#lang_list .lang8 {
    background-position-y: -176px;
}

#lang_list .lang9 {
    background-position-y: -198px;
}

#lang_list .lang10 {
    background-position-y: -220px;
}

#lang_list .lang11 {
    background-position-y: -242px;
}

#lang_list .lang12 {
    background-position-y: -264px;
}

#lang_list .lang13 {
    background-position-y: -286px;
}

#lang_list .lang14 {
    background-position-y: -308px;
}

#lang_list .lang15 {
    background-position-y: -330px;
}

#lang_list .lang16 {
    background-position-y: -352px;
}

#lang_list a {
    padding: 3px 0 3px 38px;
    color: #bbb;
}

.page-nav {
    font-size: 1.2em;
    padding: 1em;
}

    .page-nav a {
        background-color: #eee;
        border-radius: 6px;
        padding: 5px;
        margin-right: 8px;
        line-height: 1.4em;
        color: black;
    }

        .page-nav a:hover {
            border: none;
            background-color: #1F5B8E;
            position: relative;
            top: -1px;
            left: -1px;
            padding: 5px;
            color: white;
            text-shadow: none;
            box-shadow: 2px 2px 3px black;
        }

    .page-nav .page-number {
        background-color: #1F5B8E;
        color: white;
        margin-right: 0.6em;
        padding: 5px;
        border-radius: 6px;
    }

    .page-nav .curr-page {
        border-radius: 6px;
        padding: 5px;
        background-color: #1F5B8E;
        color: white;
        font-weight: bold;
        margin-right: 0.8em;
    }




#lang_list a:hover {
    color: white;
    position: relative;
    top: -1px;
    left: -1px;
}
#yeartag {
    margin: 0;
    padding: 0;
    height: 3.5em;
    position: relative;
    border-style: solid;
    border-top: none;
    border-left: none;
    border-right: none;
    border-width: 1px;
    border-color: #999;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 1.4em;
}
#yeartag ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
#yeartag li {
    margin-right: 1em;
    display: flex;
    flex-direction: row;
    align-items: center;
}



#yearlist {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 0 0 2em;
    height: 100%;
}
#yearlist a {
    color: black;
    text-shadow: 0 0 2px #444;
    font-weight: bold;
}
#yearlist a:hover {
    text-shadow: 1px 1px 3px #333;
    position: relative;
    top: -1px;
    left: -1px;
}

#taglist {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 0 0 2em;
    height: 100%;
    overflow:hidden;
}
    #taglist a {
        border-color: aquamarine;
        border-radius: 15px;
        border-width: 1px;
        border-style: solid;
        padding: 6px 9px;
        margin: 4px;
        color: black;
        text-shadow: 0 0 2px #444;
        white-space: nowrap;
    }
    #taglist a:hover {
        background-color: aquamarine;
        position: relative;
        top: -1px;
        left: -1px;
    }



#recomm {
    margin: 0;
    padding: 0;
    height: auto;
    position: relative;
    border-style: solid;
    border-top: none;
    border-left: none;
    border-right: none;
    border-width: 1px;
    border-color: #999;
}
    #recomm #htips {
        justify-content: space-between;
    }
#recomm p{
    font-size:1.3em;
    font-weight:bold;
    margin-right:1em;
}
    #recomm p span {
        color: red;
    }

.scrollul {
    display: flex;
    flex-direction: row;
    align-items: center;
}


#recomm :hover > button.scrollbutton {
    visibility: visible;
}

#recomm #MainContent_scrollarea {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}


#recomm button.scrollbutton {
    visibility: hidden;
    position: absolute;
    cursor: pointer;
    font-size: 10em;
    font-weight: bolder;
    opacity: 0.7;
    height: 1em;
    width: 1em;
    line-height: 1em;
    display: block;
    color: aqua;
    background-color: rgba(43,51,63,1);
    border-radius: 5em;
    border: none;
    margin: auto 0.1em;
    padding:0;
    font-family:Arial;
}

#recomm #scrolltoL {
    left: 0;
}

#recomm #scrolltoR {
    right: 0;
}

.scrollul ul {
    width: 100%;
    height: 100%;
    list-style: none;
    white-space: nowrap;
    word-break: normal;
    overflow-x: hidden;
    overflow-y: hidden;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#recomm ul li {
    margin: 0;
    padding: 0.5em;
}

.scrollul ul li {
    margin: 0;
    padding: 0;
}
#slheader {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.newestlist {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newestrow {
    justify-content: space-around;
    width: 100%;
    padding: 1em 0;
}

.newestlist .videoitem {
    background-color: #f6ffff;
}

.iteminfo {
    overflow: hidden;
    white-space: nowrap;
}

.videoitem {
    width: 320px;
    height: auto;
    padding: 0.5em;
    margin: 0;
    background-color: #fff0f0;
    border-radius: 5px;
    box-shadow: 0 0 2px 0 gray;
}


    .videoitem h2, .videoitem h3 {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0.2em 0;
        text-indent: 0;
    }

    .videoitem h2 {
        height: 22px;
        text-shadow: 0 0 1px #333;
        font-size:1.6em;
    }

    .videoitem h3 {
        height: 16px;
        font-size:1.25em;
    }

    .videoitem label {
        margin: 0.2em 0.4em 0.2em 0;
        height: 16px;
    }

        .videoitem label.tags {
            display: block;
            white-space: nowrap;
            overflow: hidden;
        }

            .videoitem label.tags span {
                margin-left: 0.4em;
            }

div.screenshot {
    padding: 0.5em 0;
    margin: 0;
    position: relative;
    display: flex;
}

.videoitem div.screenshot {
    width: 320px;
    height: 180px;
}

.RTMitem {
    width: 210px;
    padding: 0.5em;
    margin: 0;
    background-color: #ffe8e8;
    border-radius: 5px;
    box-shadow: 0 0 2px 0 gray;
    display: flex;
    flex-direction: column;
}

    .RTMitem .title {
        width: 100%;
        height: 5em;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .RTMitem .title h2 {
            max-height: 3em;
            line-height: 1.4em;
            margin: 0;
            text-align: center;
            text-indent: 0;
            white-space: normal;
            overflow: hidden;
            text-overflow: ellipsis;
            text-shadow: 0 0 1px blue;
            word-break: normal;
        }

    .RTMitem .poster {
        width: 100%;
        height: 270px;
    }

        .RTMitem .poster a {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
            .RTMitem .poster div {
                max-width: 100%;
                max-height: 100%;
                width: auto;
                height: auto;
                padding: 0;
                margin:auto;
                position: relative;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
            }
                .RTMitem .poster div span {
                    font-size: 1.2em;
                    height: 1.2em;
                    width: auto;
                    display: block;
                    position: absolute;
                    padding: 0.2em 0.3em;
                    color: white;
                    opacity: 1;
                    background-color: rgba(43,51,63,.6);
                    border-radius: 0.5em;
                    line-height: 1.2em;
                    bottom: 5px;
                    right: 5px;
                }

                .RTMitem .poster img {
                    max-width: 100%;
                    max-height: 270px;
                    width: auto;
                    height: auto;
                    box-shadow: 2px 2px 4px black;
                    border-radius: 8px;
                }

.NTMitem {
    width: 460px;
    height:270px;
    padding: 0.5em;
    margin: 0;
    background-color: #eaffff;
    border-radius: 5px;
    box-shadow: 0 0 2px 0 gray;
    display: flex;
    flex-direction: column;
}
.NTMitem .title{
    height:24px;
}
.NTMitem .posinfo{
    display:flex;
    flex-direction:row;
    height:246px;
}
.search .NTMitem .posinfo{
    height:256px;
}

.search .NTMitem {
    
    height: 280px;
}
.search .Main {
    background-color: #a5e9e9;
}

    .NTMitem .poster {
        width: 160px;
        padding-bottom: 5px;
    }
    .NTMitem div.screenshot div{
        overflow-x:hidden;
    }
.NTMitem div.screenshot button {
    font-size: 3em;
}
        .NTMitem div.screenshot div span {
            bottom: 5px;
            right: 5px;
        }
    .NTMitem .screenshot img {
        box-shadow: none;
        border-radius: unset;
        max-height: 162px;
        max-width: none;
    }

    .NTMitem .poster a {
        width: 100%;
        height: 100%;
        padding: 0;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
    }

.NTMitem .poster img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    box-shadow: 2px 2px 4px black;
    border-radius: 8px;
}

    .NTMitem .info {
        width: 295px;
        height: 100%;
        margin-right:5px;
    }
        .NTMitem .info label{
            font-size:1.3em;
        }

        .NTMitem h2 {
            height: 22px;
            text-shadow: 0 0 1px #333;
            font-size: 1.6em;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin: 0;
            text-indent: 0.5em;
            padding: 2px 1em 0 4px;
        }
    .NTMitem h3 {
        font-size: 1.3em;
        height: 2.8em;
        line-height: 1.4em;
        overflow-y: hidden;
        text-indent: 0;
    }

    .NTMitem .resyear {
        height: 1.8em;
        line-height: 1.8em;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding-right: 0.5em;
    }

    .NTMitem .tags{
        height:1.8em;
        line-height:1.8em;
    }
.NTMitem .videodesc {
    width: 100%;
    margin: 0.5em 0;
    font-size: 1.3em;
    line-height: 1.3em;
    overflow-y: scroll;
    height: 11.5em;
    scrollbar-width: none;
}
        .NTMitem .videodesc p {
            padding: 0;
            margin: 0;
        }

        .NTMitem .videodesc::-webkit-scrollbar {
            display:none;
        }

#rtlist div.screenshot {
    width: 208px;
    height: 127px;
}

#MainContent_sidebar div.screenshot {
    height: auto;
    max-height: 180px;
}


div.screenshot button {
    height: 1.6em;
    width: 2.4em;
    display: block;
    position: absolute;
    padding: 0;
    cursor: pointer;
    color: white;
    opacity: 0.6;
    border: .06666em solid #fff;
    background-color: rgba(43,51,63,.7);
    border-radius: 0.3em;
}

#rtlist div.screenshot button {
    font-size: 2em;
}

.videoitem div.screenshot button {
    font-size: 3em;
}


div.screenshot button:hover {
    color: #F5C518;
    opacity: 1;
}



div.screenshot a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

#MainContent_sidebar div.screenshot a {
    height: auto;
    max-height: 180px;
}


div.screenshot div {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    padding: 0;
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    div.screenshot div span {
        font-size: 1.2em;
        height: 1.2em;
        width: auto;
        display: block;
        position: absolute;
        padding: 0.2em;
        color: white;
        opacity: 1;
        background-color: rgba(43,51,63,.5);
        border-radius: 0.5em;
        line-height: 1.1em;
    }

#rtlist div.screenshot div span {
    bottom: 4px;
    right: 4px;
}

.videoitem div.screenshot div span {
    bottom: 5px;
    right: 5px;
}

div.screenshot img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    box-shadow: 2px 2px 4px black;
    border-radius: 8px;
}
#rtlist img {
    max-height: 127px;
}


    div.screenshot img.current {
        box-shadow: none;
        border-style: dashed;
        border-width: 3px;
        border-color: #FF2003;
    }


#container {
    margin: 4em auto 0 auto;
    padding: 0;
    width: 100%;
    border-style: solid;
    border-top: none;
    border-left: none;
    border-right: none;
    border-width: 1px;
    border-color: #eee;
    min-height:1030px;
}

.videowindow {
    width: 1200px;
    height: auto;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

#videoinfo {
    width: 100%;
    display: flex;
    flex-direction: column;
}

    #videoinfo #infomain {
        display: flex;
        flex-direction: row;
        width: 100%;
        height:270px;
    }


        #videoinfo #infomain .poster {
            width: 200px;
            height: auto;
            min-height: 200px;
            max-height:270px;
        }

            #videoinfo #infomain .poster a {
                width: 100%;
                height: 100%;
                display: flex;
                justify-content: center;
            }

            #videoinfo #infomain .poster img {
                margin: auto;
                max-width: 180px;
                max-height: 270px;
                width: auto;
                height: auto;
                box-shadow: 2px 2px 4px black;
                border-radius: 8px;
            }

        #videoinfo #infomain #inforight {
            width: 1000px;
            display: flex;
            flex-direction: column;
        }

            #videoinfo #infomain #inforight .videodetail {
                width: 100%;
                text-align: right;
                line-height: 1.6em;
                height: 2.6em;
            }

            #videoinfo #infomain #inforight .tags {
                padding: 0 1em;
                height: 3em;
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: flex-end;
            }


            #videoinfo #infomain #inforight .videodesc {
                width: 100%;
                margin:0.5em 0;
                font-size: 1.4em;
                line-height: 1.6em;
                overflow-y:auto;
                height:200px;
            }
            

                #videoinfo #infomain #inforight .videodesc p {
                    padding: 0;
                    margin: 0;
                }
                .cnline{
                    text-indent:2em;
                }
#videoinfo #infomain #inforight .videodesc::-webkit-scrollbar {
    width: 10px;
    background-color: #eee;
}

#videoinfo #infomain #inforight .videodesc::-webkit-scrollbar-thumb {
    background-color: #61B6EB;
    border-radius: 5px;
}


            #videoinfo #MainContent_reletv {
                width: auto;
                height:auto;
                max-height: 147px;
                position: relative;
                padding:0;
                margin-left:1em;
            }

#videoinfo :hover > button.scrollbutton {
    visibility: visible;
}

#MainContent_reletv button.scrollbutton {
    visibility: hidden;
    position: absolute;
    cursor: pointer;
    font-size: 8em;
    font-weight: bolder;
    opacity: 0.7;
    height: 1em;
    width: 1em;
    line-height: 1em;
    display: block;
    color: aqua;
    background-color: rgba(43,51,63,1);
    border-radius: 5em;
    border: none;
    margin: auto 0.1em;
    padding:0;
    font-family:Arial;
}

#scrolltoL {
    left: 0;
}

#scrolltoR {
    right: 0;
}



#videoinfo #MainContent_reletv ul {
    height: auto;
}

    #videoinfo #MainContent_reletv ul li {
        padding: 0 0.3em;
    }
#videoinfo label {
    margin-right: 1em;
    font-size: 1.3em;
    font-weight: bold;
    line-height: 2em;
    display: block;
    float: right;
}
#videoinfo label.resnote {
    color: red;
    font-style: italic;
}
#videoinfo .tags span {
    font-size: 1.3em;
}
#videoinfo label a {
    color: black;
    text-shadow: 0 0 2px #444;
}
    #videoinfo label a:hover {
        text-shadow: 1px 1px 3px #333;
        position: relative;
        top: -1px;
        left: -1px;
    }
#videoinfo .tags a {
    border-color: aquamarine;
    border-radius: 15px;
    border-width: 1px;
    border-style: solid;
    padding: 6px 9px;
    margin: 4px;
    color: black;
    text-shadow: 0 0 2px #444;
    font-size: 1.3em;
    line-height: 16px;
}

    #videoinfo .tags a:hover {
        background-color: aquamarine;
        position: relative;
        top: -1px;
        left: -1px;
        
    }
#videoinfo #MainContent_titleh12 {
    padding:0.5em 1em;
}
    #videoinfo #MainContent_titleh12 div {
        margin: 0;
        padding: 0;
        text-indent: 0;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        line-height: 1.5em;
        font-size:2em;
        font-weight:bold;
    }
    #videoinfo h1, #videoinfo h2 {
        margin: 0;
        padding: 0;
        text-indent: 0;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        line-height: 1.5em;
    }

#videoinfo h1 {
    font-size: 2em;
}

#videoinfo h2 {
    font-size: 1.4em;
}


.reid{
    height:1150px;
}
.reidnull {
    height: 1030px;
}
#MainContent_sidebar {
    width: 250px;
    padding: 0;
    margin: 0;
    position: relative;
    border-style: solid;
    border-top: none;
    border-bottom: none;
    border-right: none;
    border-width: 1px;
    border-color: #eee;
}

    #MainContent_sidebar scrollbar {
        padding: 0;
        margin: 0;
        border: none;
    }

    #MainContent_sidebar ul {
        width: 100%;
        list-style: none;
        white-space: nowrap;
        word-break: normal;
        overflow-x: hidden;
        overflow-y: scroll;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

        #MainContent_sidebar ul::-webkit-scrollbar {
            width: 10px;
            background-color: #eee;
        }

        #MainContent_sidebar ul::-webkit-scrollbar-thumb {
            background-color: #61B6EB;
            border-radius: 5px;
        }


        #MainContent_sidebar ul li {
            margin: 0;
            padding: 0.5em 1em;
        }


.fill {
    flex-grow: 1;
    min-height: 2em;
}

footer {
    width: 100%;
    display: flex;
    flex-direction: column;
}
    footer #ll {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
footer #copyright{
    display:flex;
    flex-direction:column;
    align-items:center;
}

    footer p {
        text-align: center;
    }

#link {
    width: 100%;
}

    #link ul {
        margin: 0;
    }

        #link ul li {
            list-style: none;
            display: block;
            margin-right: 1em;
            float: left;
        }

    #link a {
        color: #666;
    }

        #link a:visited {
            color: #666;
        }
#error {
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
    #error h1 {
        margin: 0;
        text-indent: 0;
        color: red;
        font-size: 4em;
    }