@charset "utf-8";

body {
    background-color: #f4f4f4;
    font-size: 14px;
}

.am-container {
    max-width: 1200px;
}

/* 顶部导航栏背景色 */
.am-topbar {
    background: #fff;
}
/* 左上角站标颜色 */
.web-name {
    color: #6D7C84!important;
}

/* 顶部观看记录 */
@media only screen and (max-width: 640px) {
    .am-dropdown {
        display: block;
    }
}

.am-slides {
    background-color: #000;
}

/* 标题栏去缩进 */
.am-titlebar-default {
    margin-left: 0;
    margin-right: 0;
}

.friend-links>div>a {
    margin-right: 10px;
}

/* 电影展示块 */
.movie-description, .movie-title, .movie-tags, .right-list li a {
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
}
.movie-item {
    display: block;
    width: 100%;
    max-width: 178px;
    height: 232px;
    cursor: pointer;
    margin: 10px auto;
}
.movie-cover {
    width: 100%;
    height: 178px;
    position: relative;
    overflow: hidden;
}
.movie-cover>img {
    display: block;
    width: 100%;
    height: auto;
}
@media only screen and (max-width: 550px) {
    .movie-item {
        height: 212px;
    }
    .movie-cover {
        height: 158px;
    }
}
@media only screen and (max-width: 500px) {
    .movie-item {
        height: 192px;
    }
    .movie-cover {
        height: 138px;
    }
}
@media only screen and (max-width: 450px) {
    .movie-item {
        height: 172px;
    }
    .movie-cover {
        height: 118px;
    }
}
@media only screen and (max-width: 400px) {
    .movie-item {
        height: 152px;
    }
    .movie-cover {
        height: 98px;
    }
    /*.am-avg-sm-3>li {*/
    /*    width: 50%;*/
    /*}*/
    /*.am-avg-sm-3>li:nth-of-type(2n+1) {*/
    /*    clear: both;*/
    /*} */
}
.movie-description {
    position: absolute;
    width: 100%;
    bottom: -51px;
    height: 75px;
}
.movie-description>.description-bg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.6;
    filter: alpha(opacity=60);
}
.movie-description>p {
    height: 24px;
    line-height: 24px;
    overflow: hidden;
    margin: 0 10px;
    color: #fff;
    font-size: 12px;
    position: relative;
}
.movie-item:hover .movie-description {
    bottom: 0;
}
.movie-title {
    background-color: #fff;
    width: 100%;
    padding: 5px 0;
    position: relative;
}
.movie-item:hover>.movie-title {
    background-color: #f60;
    color: #fff;
}
.movie-item:hover>.movie-name {
    background-color: #ff926d;
    color: #fff;
}
.movie-title>p {
    font-size: 14px;
    padding: 0 10px;
    margin: 0;
    height: 22px;
    line-height: 22px;
    overflow: hidden;
    text-align: center;
}
.movie-title>.movie-tags {
    font-size: 12px;
    color: #999;
}
.movie-item:hover>.movie-title>.movie-tags {
    color: #fff;
}

/* 自动隐藏多出的两个 */
@media only screen and (min-width: 1025px) {
    .index-container .movie-lists li:nth-last-child(2), .index-container .movie-lists li:nth-last-child(1) {
        display: none!important;
    }
    /*.tv-lists li:nth-child(16),.tv-lists li:nth-child(17),.tv-lists li:nth-child(18) {*/
    /*    display: none!important;*/
    /*}*/
}

@media only screen and (min-width: 640px) and (max-width: 1025px) {
    .tv-lists li:nth-child(19),.tv-lists li:nth-child(20) {
        display: none!important;
    }
}

@media only screen and (max-width: 640px) {
    /*.tv-lists li:nth-child(17),.tv-lists li:nth-child(18) {*/
    /*    display: none!important;*/
    /*}*/
}

.tv-lists .movie-item { 
    height: auto;
}

.tv-lists .movie-cover {
    height: auto;
    max-height: 100px;
}

/* 右侧列表 */
.right-list {
    padding-left: 0;
    margin-top: 10px;
}
.right-list li {
    background-color: #fdfdfd;
    padding: 0 10px;
    list-style: none;
}
.right-list li a {
    display: block;
    line-height: 44px;
    color: #555;
}
.right-list li a:hover {
    color: #f60;
}

.right-list .r-l-right {
    float: right;
    font-size: 12px;
    color: #999;
    display: inline-block;
    margin-left: 10px;
}
/* 右侧列表排行 */
.right-list li:nth-child(1) .am-round {
    background-color: #dd514c;
}
.right-list li:nth-child(2) .am-round {
    background-color: #F37B1D;
}
.right-list li:nth-child(3) .am-round {
    background-color: #5eb95e;
}

/* 首页上次播放 */
#last-watch a {
    color: #FFF;
}

/* 播放器盒子 */
.player-box {
    height: 600px;
    padding: 0;
    background: #000 url(../i/loading.gif) no-repeat center;
}
@media only screen and (max-width: 600px) {
    .player-box {
        height: 300px;
    }
}

/*弹动效果*/
.hover-bounce:hover {
    -webkit-animation:bounce 1s .1s ease both;
    -moz-animation:bounce 1s .1s ease both;
}
@-webkit-keyframes bounce {
    0% {
        -webkit-transform:scale(1)
    }
    10%, 20% {
        -webkit-transform:scale(0.8) rotate(-2deg)
    }
    30%, 50%, 70%, 90% {
        -webkit-transform:scale(1.1) rotate(2deg)
    }
    40%, 60%, 80% {
        -webkit-transform:scale(1.1) rotate(-2deg)
    }
    100% {
        -webkit-transform:scale(1) rotate(0)
    }
}

/* 底部导航栏 */ 
.am-navbar .am-navbar-nav, .am-navbar-default .am-navbar-actions {
    background-color: #fff;
    border-top: 1px solid #eee;
}

.am-navbar-default .am-navbar-actions a {
    border-bottom: 0;
}

.am-navbar-default a {
    color: #868686;
}
.am-navbar-nav a .am-navbar-label {
    padding-top: 4px;
}
@media only screen and (min-width: 640px) {
    .am-with-fixed-navbar {
        padding-bottom: 0;
    }
}
/* 美化代码 */

/* 标题 */
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

/* 警告框 */
.am-alert-secondary {
    color: #FFF;
    background-color: #768093;
    border: none;
}

.am-alert .am-close {
    color: #FFF;
    opacity: .8;
}
.am-alert a {
    opacity: .8;
    position: relative;
}
.am-alert a:hover {
    opacity: 1;
}
.am-alert a:hover:after {
    content: "";
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -2px;
    border-bottom: 2px solid #fff;
}

/* 标题栏 */
.am-titlebar-default .am-titlebar-title {
    font-weight: normal;
    font-size: 2rem;
    color: #252629;
}
.am-titlebar-default .am-titlebar-title:before {
    border-left: 3px solid #1E9FFF;
}

/* 面板 */
.am-panel {
    box-shadow: 0 10px 60px 0 rgba(29, 29, 31, 0.09);
    border: none;
    margin-bottom: 30px;
}
.am-panel-hd {
    height: 42px;
    line-height: 42px;
    padding: 0 15px;
}
.am-panel-default>.am-panel-hd {
    background-color: #fff;
    border-color: #f6f6f6;
}

/* 导航栏 */
@media only screen and (min-width: 641px) {
    /*.am-nav>li>a:focus, .am-nav>li>a:hover {*/
    /*    background: transparent;*/
    /*}*/
    
    /*.am-nav>li>a:after {*/
    /*    content: ""!important;*/
    /*    width: 100%;*/
    /*    border: none;*/
    /*    height: 4px;*/
    /*    background: #e2e2e2;*/
    /*    left: 0;*/
    /*    margin-left: 0;*/
    /*}*/
    
    /*.am-nav>li>a:hover:after {*/
    /*    content: ""!important;*/
    /*    width: 100%;*/
    /*    border: none;*/
    /*    height: 4px;*/
    /*    background: #e2e2e2;*/
    /*    left: 0;*/
    /*    margin-left: 0;*/
    /*}*/
}


.colorful a {
	color: #E16132;
	margin-right: 5px;
}
@supports (-webkit-transform: scale(0)) {
    .colorful {
        display: inline-block;
        /*-webkit-mask-image: linear-gradient(to right, red, orange, yellow, green, cyan, blue, purple);*/
        background-image: linear-gradient(to right, red, orange, yellow, green, yellow, orange, red, orange, yellow, green, yellow, orange, red);
        background-image: linear-gradient(to right, red, orange, green, orange, red, orange, green, orange, red);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        -webkit-background-size: 200% 100%;
        background-size: 200% 100%;
        animation: bgp 5s infinite linear;
        font-weight: bold;
    }
    .colorful span {
        -webkit-text-fill-color: #E16132;
    }
}
@-webkit-keyframes bgp {
    0%  { background-position: 0 0;}
    100% { background-position: -100% 0;}
}