.attr-nav > ul > li {
    margin-right: 0;
}

.logo-container {
    position: relative;
}
.black-logo, .white-logo {
    position: absolute;
    height: 32px;
    transition: opacity 0.3s;
}
.white-logo {
    opacity: 0;
}
.no-background .black-logo {
    opacity: 0;
}
.no-background .white-logo{
    opacity: 1;
}
.no-background:hover .black-logo {
    opacity: 1;
}
.no-background:hover .white-logo{
    opacity: 0;
}

.no-background .navbar-brand h1 {
    color: #fff;
}

.no-background:hover .navbar-brand h1 {
    color: #000;
}

@media (max-width: 992px) {
    .no-background .black-logo {
        opacity: 1;
    }
    .no-background .white-logo{
        opacity: 0;
    }

    nav.navbar.bootsnav .navbar-toggle {
        z-index: 999;
        left: 0;
    }

    nav.navbar.bootsnav .navbar-brand {
        margin: 13px auto 10px auto;
        /*width: 100%;*/
        display: flex;
        justify-content: center;
    }

    .navbar-brand h1 {
        display: none !important;
    }
}

@media (max-width: 992px) {
    nav.bootsnav .megamenu-content .col-menu {
        width: 100vw !important;
    }
}

.n1 {
    display: flex;
    flex-wrap: wrap;
}

.n1.row .col-md-3:first-child {
    padding-right: 0;
}

.n1.row .col-md-3 {
    padding: 0;
    float: left;
    line-height: 50px;
    width: 20%;
}

.n1.row ul.menu-col>li {
    padding-bottom: 6px;
    padding-top: 6px;
}

.n1.row .title
{
    min-width: 199px;
}

@media (min-width: 993px) {
    ul.menu-col {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .n1.row ul.menu-col>li {
        min-width: 160px;
        /*text-align: center;*/
    }

    nav .container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    #navbar-menu {
        margin-left: calc(-15.55%);
    }

    .n1.row .title > a {
        /*width: 200px;*/
        /*display: block;*/
        /*margin: 0 auto;*/
        /*text-align: center;*/
    }
}

.navbar-brand h1 {
    /*display: block;*/
    /*position: relative;*/
    /*font-size: 12px;*/
    /*left: 92px;*/
    /*width: 4em;*/
    /*line-height: 1.1;*/
    /*top: 3px;*/
    /*overflow: hidden;*/
    /*color: #000;*/
}

.navbar-brand h1 {
    display: block;
    position: relative;
    font-size: 1.9em;
    font-weight: bold;
    left: 92px;
    letter-spacing: 5px;
    width: 3em;
    line-height: 1.1;
    top: 0px;
    overflow: hidden;
    color: #000;
    padding-left: 5px;
}

@media (max-width: 992px) {
    .attr-nav {
        top: 56px;
    }

    .attr-nav>ul>li.search {
        display: inline-block;
        top: -95px;
    }

    .search-wrapper.active .input-holder {
        /*width: 70vw;*/
        /*max-width: 450px;*/
        /*left: 0;*/
    }

    .search-wrapper.active .close {
        /*right: -9.5vw;*/
    }
    .search-wrapper .input-holder .search-input{
        padding: 0px 40px 0 10px;
    }

    .search-wrapper .input-holder .search-icon span {
        background-size: 45px;
    }
}

@media only screen and (max-width:560px){

    /* 观察到元素向左滑开，到其设定宽度后，元素整体向左平移了一段距离 */
    /* 元素宽度 450px， 则最终呈现的是元素向左整体移动了 450 * 0.12 = 54 */
    .search-wrapper {
        /*-webkit-transform: translate(-112%, 0%);*/
        /*-moz-transform: translate(-112%, 0%);*/
        /*-ms-transform: translate(-112%, 0%);*/
        /*transform: translate(-112%, 0%);*/
    }
    .search-wrapper.active {
        -webkit-transform: translate(calc(-100% - 54px), 0%);
        -moz-transform: translate(calc(-100% - 54px), 0%);
        -ms-transform: translate(calc(-100% - 54px), 0%);
        transform: translate(calc(-100% - 54px), 0%);
    }

    .search-wrapper.active .input-holder {
        width: 75vw;
    }
}

@media only screen and (max-width:425px){
    .search-wrapper.active .input-holder {
        width: 65vw;
    }
}


/* 通用解决方案（适用于所有移动浏览器） */

.search-icon,
.search-icon:active,
.search-icon:focus {
    -webkit-tap-highlight-color: transparent; /* Android/iOS */
    tap-highlight-color: transparent; /* 未来标准 */
    outline: none; /* 移除焦点轮廓 */
    user-select: none; /* 可选：禁止文字被选中 */
    background-color: transparent !important;
}


#search-close,
#search-close:active,
#search-close:focus {
    -webkit-tap-highlight-color: transparent; /* Android/iOS */
    tap-highlight-color: transparent; /* 未来标准 */
    outline: none; /* 移除焦点轮廓 */
    user-select: none; /* 可选：禁止文字被选中 */
    background-color: transparent !important;
}

.search-wrapper,
.search-wrapper:active,
.search-wrapper:focus {
    -webkit-tap-highlight-color: transparent; /* Android/iOS */
    tap-highlight-color: transparent; /* 未来标准 */
    outline: none; /* 移除焦点轮廓 */
    user-select: none; /* 可选：禁止文字被选中 */
    background-color: transparent !important;
}

