
.header { display: none; }
.m-header .header-tools { display: flex; justify-content: space-between; height: 50px; }
/* section_1 - header-logo */
.m-header .logo { margin: 10px 0 0 10px; }
.m-header .logo img { width: 50px; vertical-align: middle; }
.m-header .logo .text { vertical-align: middle; font-size: 16px; color: #000; }

/* section_1 - header-district */
/* .m-header .header__district { display: inline-block; }
.m-header .header__district .c-image { width: 32px; height: 32px; } */
/* section_1 - district-select */
.m-header .district-select .view { position: relative; width: 74px; height: 26px; margin: 10px 10px 0 0; text-align: center; line-height: 26px; border-radius: 999px; font-size: 12px; background-color: #7B1FA2; color: #fff; }
.m-header .district-select .view i.iconfont { font-size: 12px; }
.m-header .district-select.on .district-wrap { left: 0; }
.m-header .district-select .district-wrap { position: fixed; top: 0; left: 200%; z-index: 100; width: 100vw; height: 100vh; background-color: #fff; color: #666; }
.m-header .district-select .title { position: relative; text-align: center; line-height: 40px; border-bottom: 1px solid #e1e1e1; font-size: 14px; color: #333; }
.m-header .district-select .title i.iconfont { position: absolute; top: 0; left: 10px; z-index: 0; font-size: 20px; }
.m-header .district-select .wrap { overflow-y: auto; height: 100%; padding: .1px 0 100px; }
.m-header .district-select .tip { margin: 20px 0 20px 10px; font-size: 12px; color: #999; }
.m-header .district-select .list { overflow-y: auto; display: flex; flex-wrap: wrap; }
.m-header .district-select .item { width: 20%; padding: 6px 0; margin: 0 8px 20px; text-align: center; border-radius: 999px; font-size: 12px; background-color: #f5f5f5; }


.header-area.m-header .select .view { background-color: #0A2461; }
/* section_2 */
.m-header .header-nav-wrap { position: relative; height: 40px; line-height: 40px; font-size: 18px; background-color: #7B1FA2; color: #fff; }
.m-header .nav .list { overflow-x: auto; padding-right: 100px; white-space: nowrap; }
.m-header .nav .item { display: inline-block; height: 100%; padding: 0 10px; }
.m-header .menu-btn { position: absolute; top: 0; right: 0; padding: 0 20px; line-height: 1; background-color:  #7B1FA2; }
.m-header .menu-btn i.iconfont { line-height: 40px; font-size: 14px; }
.m-header .menu { transition: .3s; position: fixed; top: -200%; left: 0; z-index: 100; width: 100%; height: calc(100vh - 50px); line-height: 1.2; }
.m-header .menu.on { top: 50px; }
.m-header .menu .menu-title { position: relative; text-align: center; line-height: 40px; background-color:  #7B1FA2; color: #fff; }
.m-header .menu .menu-title i.iconfont { position: absolute; top: 0; right: 0; height: 100%; padding: 0 20px; background-color: red; }
.m-header .menu .list { overflow-y: auto; height: 100%; padding: 20px 0 100px; font-size: 14px; background-color: #fff; color: #666; }
.m-header .menu .item { margin-bottom: 10px; }
.m-header .menu .title { margin: 0 0 20px 10px; font-weight: bold; color: #333; }
.m-header .menu .link-wrap { display: flex; flex-wrap: wrap; }
.m-header .menu .links { display: inline-block; padding: 4px 0; margin: 0 8px 20px; width: 20%; text-align: center; border: 1px solid #e5e5e5; border-radius: 6px; background-color: #f3f3f3; }


.header-area.m-header .header-nav-wrap,
.header-area.m-header .menu-btn { background-color: #0A2461; }

.m-main .mcarousel { overflow: hidden; height: 210px; }
.m-main .mcarousel img { display: block; width: 100%; }
.m-main .mcarousel .swiper-slide { position: relative; }
.m-main .mcarousel .info { height: 30px;position: absolute;
    right: 0;
    z-index: 10;
    width: 100%;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.75); text-align: center;
    font-weight: normal;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 24px;
    overflow: hidden;
    color: #666;
    padding: 3px 15px 0 15px; }


@media (min-width: 769px) {
    .m-header { display: none; }
    .header { display: block; }

    .header .top { height: 46px; background-color: #ececec; }
    .header .top-wrap { display: flex; justify-content: space-between;}
    .header .top-title { margin-left: 16px; line-height: 46px; font-size: 14px; color: #666; }
    .header .menus-wrap {display: flex; justify-content: space-between; }
    .header .menu { position: relative; font-size: 12px;}
    .header .menu:last-child { margin-left: 20px;}
    .header .menu .view { height: 46px; line-height: 46px; cursor: pointer; }
    /* .header .menu .view */
    .header .menu .view i { margin-left: 6px; font-size: 10px; }
    .header .menu ul { display: none; position: absolute; top: 100%; right: 0; z-index: 1; padding: 10px 0;   box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px; word-break:keep-all;  white-space:nowrap; background-color: #fff; }
    .header .menu a { display: block; padding: 0 20px; line-height: 30px; }
    .header .menu:hover ul { display: block; }

    .header .nav-wrap { background-color: #7B1FA2; }
    .header .subNav-wrap { background-color: #f3f5f6; }

    .header .nav { display: flex; justify-content: space-around; align-items: center; height: 60px; font-size: 20px; color: #fff; font-weight: bold; }
    .header .nav .link { position: relative; }
    .header .nav .link:hover::before { content: ''; position: absolute; bottom: -10px; left: 0; z-index: 1; width: 100%; height: 2px; background-color: #fff; }
    .header .nav > li.active .link::before { content: ''; position: absolute; bottom: -10px; left: 0; z-index: 1; width: 100%; height: 2px; background-color: #fff; }
    .header .nav > li.active .link { font-weight: bold; }
    .header .subNav { display: flex; justify-content: space-around; align-items: center; height: 40px; font-size: 14px; }
    .header .subNav .link:hover { color: #7B1FA2; }
    .header .subNav > li.active .link { color: #7B1FA2; font-weight: bold; }
    .m-header .nav .item.active .link { color: #fff; background-color: rgba(255, 255, 255, 0.2); border-radius: 4px; }
    
    .header .logo img { display: block; width: 130px; height: 100px; }
    .header .logo .text { position: absolute; top: -9999px; }


    .header .toolWrap { display: flex; justify-content: space-between; padding: 30px 20px 20px; }
    .header .searches { display: inline-block; width: 160px; height: 28px; margin-top: 10px; vertical-align: middle; border: 1px solid #e5e5e5; border-radius: 4px; }
    .header .searches .text { display: table-cell; width: 9999px; height: 26px; }
    .header .searches input { width: 100%; height: 100%; border: 0; padding: 0 10px; border-radius: 999px; font-size: 14px; color: #666; }
    .header .search-btn { float: right; width: 26px; height: 26px; text-align: center; line-height: 26px; cursor: pointer; }

    .header .districtSelect { position: relative; display: inline-block; margin-top: 10px; margin-left: 10px; vertical-align: middle; }
    .header .districtSelect .view { position: relative; width: 92px; height: 28px; text-align: center; line-height: 26px; border: 1px solid #e5e5e5; border-radius: 4px; font-size: 13px; color: #666; cursor: pointer; }
    /* .header .districtSelect .view:hover { background-color: #004eb3; color: #fff; } */
    .header .districtSelect i.iconfont { transition: all .5s; margin-left: 4px; font-size: 12px; }
    /* .header .districtSelect.on .list { display: block; } */
    .header .districtSelect .districtSelectWrap { display: none; position: absolute; top: 100%; right: 0; z-index: 100; }
    .header .districtSelect .list { width: 354px; padding: 18px 28px 0 28px; margin-top: 10px; border: 1px solid #e1e9f4; border-radius: 4px; font-size: 13px; background-color: #fff; }
    .header .districtSelect:hover .view { background-color: #7B1FA2; color: #fff; }
    .header .districtSelect:hover .districtSelectWrap { display: block; }
    .header .districtSelect:hover i.iconfont { transform: rotate(45deg); }
    .header .districtSelect .item { display: inline-block; width: 46px; padding: 0 10px; margin: 0 0 20px; white-space: nowrap; }
}
