body{
    position: absolute;
    top: 0px;
    font-family: Microsoft YaHei, Simsun, SimHei, Arial;
    -webkit-text-size-adjust: 100% !important;  
    text-size-adjust: 100% !important;  
    -moz-text-size-adjust: 100% !important;  
}
a:hover{
    text-decoration: none;
}
.automenu{
    display: none !important;
}

.menu{
    position: fixed;
    max-width: 1220px;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: auto;
    z-index: 11;
    background-size: 100% 100%;
    top: 0;
}
.menu-top{
    background: url(/assets/img/menu/menuback.jpg);
    background-size: 100% 100%;
    height: 150px;
}
.menu-main{
    max-width: 100%;
    background-color: white;
    height: 150px;
}
.menu-logo{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /*width: 30%;*/
    position: absolute;
    /*height: 100%;*/
}
.menu-logo img{
    height: 100%;
    width: 100%;
}
.navbar{position: absolute;
    right: 0;
    bottom: 0;
}

.shownave{left: 50%;
    margin: auto;
    margin-top: 150px;
    max-width: 1220px;    
    color: #8e8e8e;
    font-size: 16px;
    display: flex;
    justify-content: center;
    background-color: #940809;
    border-radius: 15px;
}
.shownave > li > a {
    position: relative;
    transition: color 0.3s;
    color: #8e8e8e;
}
/*.shownave .pcmenu:first-child {*/
/*    border-top-left-radius: 10px;*/
/*    border-bottom-left-radius: 10px;*/
/*    padding-left: 30px;*/
/*}*/
.shownave .pcmenu:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.shownave .pcmenu{
    background-color: #940809;
    margin-left: 0px;
}

.shownave > li > a:hover,
.shownave > li > a:focus,
.shownave > li.active > a:hover,
.shownave > li.active > a:focus,
.shownave > li.active > a {
    color: #940809;
    background: none;
    background-color: none;
}
.shownave .pcmenu > a{
    color: #fff !important;
}

.shownave > li > a::before,
.shownave > li > a::after {
    content: '';
    position: absolute;
    bottom: 0px;
    width: 10px;
    height: 10px;
    background: #940809;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.shownave > li > a::before {
    left: 50%;
    transform: translateX(-50%);
}

.shownave > li > a::after {
    right: 50%;
    transform: translateX(50%);
}

.shownave > li > a span {
    position: absolute;
    bottom: 3px;
    left: 50%;
    width: 0;
    height: 3px;
    background: #940809;
    transition: all 0.3s ease;
}

.shownave > li > a:hover::before,
.shownave > li > a:hover::after,
.shownave > li > a:hover span,
.shownave > li.active > a::before,
.shownave > li.active > a::after,
.shownave > li.active > a span {
    opacity: 1;
}

.shownave > li > a:hover span,
.shownave > li.active > a span {
    width: 70%;
    left: 15%;
}

.shownave > li > a:hover::before,
.shownave > li.active > a::before {
    left: 15%;
}

.shownave > li > a:hover::after,
.shownave > li.active > a::after {
    right: 15%;
}

.img{
    /* width: 100%;
    height: 100%; */
    object-fit: contain;
}

@font-face {
    font-family: 'qigong';
    src: url('/assets/fonts/qigong.ttf') format('truetype');
}
.wendu{
    cursor: default;
    color: #940809;
    font-family: 'qigong';
    font-size: 40px;
    line-height: 50px;
    text-shadow: 0 3px 3px #cecbcb;
    opacity: 1;
}

.wendu {
    float: right;
    margin-top: 40px;
    margin-right: 260px;
    
}
.wendu img{
    object-fit: contain;
}
.wendu-row{
    opacity: 0;
}    

.search-box {
    float: right;
    margin-top: 55px;
    margin-right: 80px;
}
.search-input {
    position: relative;
    width: 200px;
    height: 30px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 15px;
    outline: none;
}
.search-btn {
    position: relative;
    right: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}
.search-input:focus {
    border-color: #940809;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown-menu {
    margin-top: 0;
}
.dropdown-menu {
    background: linear-gradient(to bottom, #ffffff, #f8f8f8);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* padding: 10px 0; */
    min-width: 100px;
    transition: all 0.3s ease;
}

.dropdown-menu > li > a {
    color: #333;
    padding: 12px 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}
.pcmenu .dropdown-menu > li > a {
    color: #fff;
    background-color: #b32d2f;
}
.pcmenu .dropdown-menu{
    padding: 0px;
    left: 10px;
}
.pcmenu .dropdown-menu > li > a:hover {
    background: #e56769;
    color: #fff;
}
.dropdown-menu > li > a:hover {
    background: rgba(148, 8, 9, 0.05);
    color: #940809;
    padding-left: 25px;
}

.dropdown-menu > li > a:before {
    position: absolute;
    left: 10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.dropdown-menu > li > a:hover:before {
    opacity: 1;
    left: 15px;
}


.dropdown:hover .dropdown-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.dropdown-menu {
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    display: block !important;
}
.menu-toggle{
    display: none;
}
.top-nav{
    font-size: 16px;
    position: absolute;
    bottom: 12px;
    right: 10px;
    text-indent: 1em;
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    z-index: 11;
}
.auto-nav {
    line-height: 45px;
    text-align: left;
    padding: 0px;
    position: fixed;
    top: 0;
    right: 0;
    width: 60%;
    background-color: #fff;
    height: 100%;
    height: 100vh;
    opacity: 0;
    transition: all 0.2s linear;
    overflow-y: auto;
    z-index: 100;
}
.auto-nav {
    position: fixed;
    z-index: 100;
    top: 0px;
    right: 0px;
    width: 0px;
    background: #fff;
    height: 100%;
    height: 100vh;
    opacity: 0;
    transition: all 0.2slinear;
    overflow-y: auto;
}
.auto-nav li a {
    padding-left: 30px;
    display: block;
    color: #999;
    font-size: 15px;
    line-height: 3.5;
    border-bottom: 1px solid #dcdcdc;
}
.auto-nav ,.auto-nav ul, .auto-nav ul li {
    list-style-type: none;
}
.auto-nav li {
    position: relative;
    line-height: 45px;
    text-align: left;
}
.dropdownl-auto{
    display: block;
    width: 50px;
    height: 50px;
    top: 0;
    right: 0;
    text-align: center;
    line-height: 50px;
    position: absolute;
}
.dropdown-auto-nav{
    display: none;
    padding: 0;
}

.dropdown-auto-nav a{
    font-size: 14px !important;
    padding-left: 60px !important;
    background-color: #eeeeee;
}
.dropdown{
    flex: 0 0 125px;
    text-align: center;
}
@media screen and (max-width: 1200px) {
    .wendu{
        display: none;
    }
    .top-nav {
        top: 100px;
        right: 40px;
        height: 21px;
    }
    .menu-logo{
        height: auto;
    }
    .menu-logo img{
        height: auto;
        width: 100%;
    }
    .automenu{
        display: block !important;
    }
    .pcmenu{
        display: none !important;
    }
    .menu{
        position: relative;
    }
    .shownave{
        left: 0;
        display: none;
    }
    .nav-pills{
        margin: 50px auto 10px 5% !important;
        display: flex;
    }
    .nav-pills {
        border-radius: 10px;
        display: flow;
        position: absolute;
        top: 100px;
        width: 170px;
        background-color: #fff;
        padding: 10px;
        border-bottom: 1px solid #ddd;
        display: none;
        transition: transform 0.3s ease;
        transform: translateY(-100%);
    }
    .nav-pills.active {
        display: block;
        transform: translateY(0);
    }
    .menu-toggle {
        display: block;
        position: absolute;
        top: 30px;
        right: 30px; 
        background-color: #940809;
        color: #fff;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    .menu-toggle:hover {
        background-color: #940809;
    }
    .menu-toggle:focus {
        outline: none;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    }
    .menu-logo {
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
    }
    /* .search-box {
        position: absolute;
        top: 30px;
        left: 50%;
        z-index: 1000;
        transform: translateX(-40%);
    } */
    .menu{
        height: 140px;
    }
}

@media screen and (max-width: 1920px) {
    /* .indexbody,.container{
        max-width: 80%;
    } */
}
@media screen and (max-width: 1440px) {

}
@media screen and (max-width: 768px) {
    .menu,.indexbody,.container{
        max-width: 100%;
    }
    .search-box {
        top: 30px;
        left: 30px;
        transform: translateX(0px);
    }
    .news-top {
        width: 100%;
    }
    
    .menu-logo{
        width: 200px;
        left: 20px;
        transform: rotateX(0);
        top: 40px;
    }
    .search-input{
        width: 130px;
    }
    .intro-header,.teaching-header,.affairs-header{
        width: 100% !important;
    }
    
}


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

}
