﻿/*header*/
header {
    position: relative;
    padding: 1rem 0;
    font-size: 2rem;
    font-weight: bold;
    background-color: var(--theme);
    display: table;
    width: 100%;
}

header .fr {
    text-align: right;
    width: 20vw;
}

header .fr p {
    margin: 0;
}

header .fr div {
    font-size: 1rem;
}

.container ul.vertical li a{
    aspect-ratio: 27/40 !important;
    height: calc(100% * 40 / 27) !important;
    min-height: calc(var(--tplWidth) / var(--cloumn) * 40 / 27);
}

/*导航*/
.nav1 {
    border-top: 0;
    margin-top: 0.5rem;
}

.nav1:nth-child(2n) {
    background-color: var(--theme);
}

.nav1:nth-child(2n-1) {
    background-color: var(--themesub);
}

/*视频列表*/
.container .layout>div {
    border-bottom: 0.5rem solid var(--bg);
}

.container ul.vod li a span {
    left: 0;
    right: inherit;
    font-size: 0.8rem;
}

.container ul.vod li>div {
    background: var(--bg);
}

@media screen and (max-width: 550px) {
    .container ul.vod li:nth-child(7n) {
        width: 98%;
    }
}

/*
.menu dl:first-child {border-top: 0;}
.menu dl {border-top:0.5rem solid var(--bg);margin: 0;padding: 0 !important;background-color: var(--theme);}
.menu dt a{font-size: 16px !important;color: var(--font);}
.menu dd a.on{font-size: 14px !important;color: var(--theme);}
.menu dd a:hover{font-size: 14px !important;color: var(--theme);}
.menu dd a:hover:before {background-color: var(--font);left: 0;right: 0;top: 1px;bottom: 0;z-index: -1;}
.menu dd a.on:before {background-color: var(--font);left: 0;right: 0;top: 1px;bottom: 0;z-index: -1;}
@media screen and (max-width: 550px) {
    .menu dd a{font-size: 14px !important;}
}*/
