
html,body
{
    width: 100%;
    height: 100%;
}

body{
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
        margin: 0;
}
.container{
   flex: 1;
}

.head-content
{
    min-height: 3rem;
    border-bottom-left-radius: 0.35rem;
    border-bottom-right-radius: 0.35rem;
    border: none;
}

.head-title
{
    height: 3.5rem;
    line-height: 3.5rem;
    border: 0.01rem solid #d0d0d0;
    padding-left: 0.5rem;
    border-radius: 0.35rem;
    color: dimgrey;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
    background-color: white;
    font-size: 1.3rem;
    border-bottom: 0.01rem solid #d0d0d0;
}

.form-m2{
    margin: 2rem;
}

.header-top
{
    position: relative;
    background-color: #03a9f4;
    min-height: 4.5rem;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
}

.nav-menu
{
    min-height: 3.0rem;
    margin: 0;
    padding: 0;
    margin-top: 0.75rem;
    margin-left: auto;
    justify-content: flex-end;
    margin-right: 15%;
}

.nav-menu-item
{
    list-style: none;
    float: left;
    color: white;
    width: 8rem;
    height: 3.0rem;
    line-height: 3.0rem;
    text-align: center;
    cursor: pointer;
    font-size: 1.1rem;
}

.logined-item
{
    display: flex;
    margin-left: 2rem;
    height: 3rem;
    background-color: #43b7eb47;
    line-height: 3.0rem;
    justify-content: center;
    border-radius: 0.35rem;
}

.logined-item:hover,
.logined-item:active
{
    background-color: #84d5fa;
    transition: 0.3s;
}


.uavatar
{
    height: 3.5rem;
    flex-shrink: 0;
}

.uavatar img
{
    height: 60%;
}

.uname
{
    margin-left: 0.5rem;
    overflow: hidden;
    width: 3rem;
    position: relative;
}

.uname-text
{
    animation: 3s wordsLoop linear infinite normal;
    max-width: 10rem;
    position: absolute;
    word-break: keep-all;
}


.radio-check input[type=radio],
.radio-check input[type=checkbox]
{
    width: 1.5rem;
    height: 1.5rem;
    cursor:pointer;
    margin-top:0;
}

.radio-check .form-check-label
{
    margin-left: 0.5rem;
    cursor:pointer;
}

@keyframes wordsLoop {
    0% {
        transform: translateX(0px);
        -webkit-transform: translateX(0px);
    }
    100% {
        transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
    }
}

@-webkit-keyframes wordsLoop {
    0% {
        transform: translateX(0px);
        -webkit-transform: translateX(0px);
    }
    100% {
        transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
    }
}


.menu-item-hover:hover
{
    font-size: 1.2rem;
    transition: 0.3s;
}

.logo
{
    margin: 0;
    padding: 0;
    margin-left: 15%;
    height: 4.5rem;
    flex-shrink: 0;
}
.logo li
{
    list-style: none;
    float: left;
}

.logo-img
{
    height: 4.5rem;
}
.logo-img img
{
    height: 80%;
    margin-top: 10%;
    border-radius: 50%;
}

.logo-title
{
    height: 4.5rem;
    line-height: 4.5rem;
    color: white;
    font-size: 1.4rem;
    margin-left: 1.0rem;
}

.logo-mobile-menu
{
    display: none;
}

.nav-menu-mask
{
    display: none;
}

.nav-menu-mask.active
{
    display: block;
    position: fixed;
    background-color: black;
    opacity: 0.75;
    z-index: 19910422;
    width: 100%;
    height: calc(100vh - 4.5rem);
    top: 4.0rem;
}

.main-panel
{
    width: 65%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    min-height: calc(100%);
    flex-shrink: 0;
}

.flex-row
{
    display: flex;
}


/*侧边菜单*/

.side-nav
{
    height: 100%;
    width: 15rem;
    background-color: white;
    float: left;
    overflow-y: auto;
    scrollbar-width: none; /* firefox */
    -ms-overflow-style: none; /* IE 10+ */
    flex-shrink: 0;
    position: relative;
    flex-shrink: 0;
}

.side-nav::-webkit-scrollbar
{
    width: 0;
    background-color: #cecece;
}

.side-nav ul,
.th-right,
.th-right-menu
{
    margin: 0;
    padding: 0;
}
.side-nav ul li,
.th-right li,
.th-right-menu li
{
    list-style: none;
}

.nav-main
{
    box-sizing: border-box;
    border-left: 0.5rem solid white;
}


.nav-main>li
{
    height: 3.5rem;
    line-height: 3.5rem;
}

.nm-head
{
    cursor: pointer;
    padding-left: 0.5rem;
}

.nm-head:hover,
.nav-main.active .nm-head
{
    background-color: #f6f6f6;
}

.nm-head .bi
{
    float: right;
    margin-right: 1.0rem;
}

.nmc-title
{
    text-align: center;
    border-bottom: 0.01rem solid #e9e9e9;
}

.nmc-title:hover,
.nmn-item:hover,
.thrm-item:hover
{
    background-color: #03a9f4;
    cursor:pointer;
    color: white;
}

.thrm-item:hover
{
    background-color: #efefef;
    border-radius: 0.5rem;
    color: #03a9f4;
}

.nmc-title.active,
.nmn-item.active
{
    background-color: #03a9f4;
    color: white;
}
.nm-content
{
    background-color: #dbdbdb;
    height: auto!important;
}

.nm-head span
{
    margin-left: 0.35rem;
    color: #666666;
    font-size: 1.2rem;
}

.sub-nav.sn-expend .nm-content{
    display:block;
    transition: 0.5s;
}

.sub-nav.sn-collapse .nm-content{
    display: none;
}


.nav-main.active,
.nav-main:hover
{
    border-left: 0.5rem solid #03a9f4;
}

.nav-main.active i,
.nav-main.active span{
    color: #03a9f4;
}

.nm-head i
{
    font-size: 1.3rem;
}

.content
{
    margin-left: 1rem;
    background-color: white;
    width: 100%;
    margin-bottom: 5rem;
}


.content>.side-nav,
.main-panel>.side-nav .bi-chevron-right
{
    display: none;
}

.side-nav a:hover,
.side-nav a:active{
    text-decoration: none;
}

.more-menu{
    position: absolute;
    right: 0.35rem;
    height: 4rem;
    line-height: 4.0rem;
    width: 4rem;
    display: none;
}

.lists-pager
{
    display: flex;
    justify-content: center;
}

.no-more
{
    font-size: 1.0rem;
    height: 2rem;
    line-height: 2rem;
    color: gray;
    text-align: center;
    display: none;
    margin-bottom: 1rem;
}

.no-more.active
{
    display: block;
}

.nmi-navext-lists{
    margin: 0;
    padding: 0;
    background-color: rgb(74 118 173 / 87%);
    border-radius: 0.35rem;
    display: none;
    position: absolute;
    z-index: 666;
    width: 8rem;
    margin-top: -0.1rem;
}
.nnl-item{
    list-style: none;
    height: 2.5rem;
    line-height: 2.5rem;
    font-size: 1.0rem;
}

.nnl-item:hover,
.nnl-item:active{
    background-color: rgb(235 235 235 / 26%);
    border-radius: 0.35rem;
}

.nav-menu-item:hover .nmi-navext-lists{
    display: block;
    transition: 0.3s;
}

.nmi-navext-title .bi-caret-down-fill{
    font-size: 0.9rem;
    padding-left: 0.3rem;
}


.nav-menu a,
.nav-menu a:hover,
.nav-menu a:active{
    color: white;
    text-decoration: none;
}

/*侧边菜单*/

@media screen and (max-width: 1650px){
    .nav-menu{
        margin-right: 0;
    }
    .logo{
        margin-left: 8%;
    }
}

@media screen and (max-width: 1300px){
    .main-panel{
        width: 85%;
    }
}


@media screen and (max-width: 900px){

    .head-title {
        display: none;
    }

    .logo {
        margin-left: 0;
        height: 4.0rem;
    }

    .logo-img
    {
        display: none;
    }
    .logo-title
    {
        position: absolute;
        height: 4.0rem;
        line-height: 4.0rem;
        width: 60%;
        left: 50%;
        margin-left: -30%;
        text-align: center;
    }

    .more-menu{
        display: block;
    }

    .logo-mobile-menu
    {
        display: block;
    }

    .logo-mobile-menu .icon-btn-back,
    .more-menu .nav-bar-menu
    {
        font-size: 2.5rem;
        color: white;
        margin-left: 0.8rem;
    }

    .nav-menu
    {
        position: absolute;
        top: 4.0rem;
        left: 0;
        height: calc(100vh - 4.5rem);
        background-color: rgba(0,0,0,75%);
        width: 65%;
        z-index: 19910423;
        margin-right: 0;
    }

    .nav-menu
    {
        margin-left: -66%;
        top: 0;
        height: 100%;
        position: fixed;
        margin-top: 0;
    }

    .nav-menu-item{
        width: 100%;
        min-height: 3rem;
        height: auto;
    }
    .nav-menu.collapse-side-nav
    {
        margin-left: -65%;
        transition: 0.3s;
    }
    .nav-menu.extend-side-nav
    {
        margin-left: 0;
        transition: 0.3s;
    }

    .header-top
    {
        top: 0;
        height: 4.0rem;
    }

    .main-panel
    {
        margin-top: 0;
        width: 100%;
    }


    .main-panel>.side-nav
    {
        display: none;
    }

    .content>.side-nav
    {
        padding-left: 0.5em;
        padding-right: 0.5rem;
        width: 100%;
        display: block;
    }

    .content>.side-nav .nav-main
    {
        border-left: none;
        border-bottom: 0.01rem solid #ededed;
    }

    .content>.side-nav .bi-chevron-right
    {
        float: right;
        padding-right: 0.5rem;
        color: #8f8f8f;
    }

    .content .nm-head
    {
        background-color: white!important;
    }

    .content .nav-main:nth-child(1)
    {
        display: none;
    }

    .content .side-nav
    {
        height: auto;
    }

    .content
    {
        margin-left: 0;
    }

    .logined-item
    {
        display: none;
    }

    .nav-menu.active{
        margin-left: 0;
        transition: 0.3s;
    }
    .nav-menu.inactive{
        margin-left: -66%;
        transition: 0.3s;
    }

    .nmi-navext-lists{
        position: relative;
        width: 100%;
    }
}
