.navbar {
  margin: 0 auto;
  width: 18rem;
  height: 1.25rem;
  /* line-height: 100px; */
  margin-bottom: 0px;
  padding: 0;

}
@media (max-width:961px) {
    .navbar{
        width: 95%;
    }
}
.navbar .navbar-brand {
  width: 4.85rem;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0;
  flex-shrink: 0;
}

.navbar .navbar-brand>img {
  width: 100%;
}

.nav-link {
  padding: 0;
}

.dropdown-menu {
  position: relative;
  z-index: 1000;
  background-color: #fff;
}

/*.navbar .navbar-nav {*/
/*  height: 100%;*/
/*  flex-direction: row;*/
/*  padding-left: .1875rem;*/
/*  background-color: #fff;*/
/*  position: relative;*/
/*  z-index: 1000;*/
/*  cursor: pointer;*/
  /* overflow: hidden; */
/*}*/

/*.navbar .navbar-nav>li {*/
/*  padding: 0 .1875rem;*/
/*  overflow: hidden;*/
/*}*/

/*.navbar .navbar-nav>.nav-item>.nav_link {*/
/*  height: 100%;*/
/*  line-height: 1.25rem;*/
/*  color: #333;*/
/*  display: block;*/
/*  font-size: .225rem;*/
/*}*/
/*.navbar-nav{*/
/*    height: 1.25rem;*/
/*}*/
/*@media screen and (max-width:768px){*/
/*    .navbar-nav{*/
/*        height:6rem;*/
/*        overflow-y:auto;*/
/*    }*/
/*}*/
.navbar-nav li.nav-item{
    position: relative;
    padding: 0 .1875rem;
    line-height: 1.25rem;
    font-size: .198rem;
    background: #fff;
}
.navbar .navbar-nav>.nav-item>.nav_link{
    display: inline-block;
    height: 100%;
    width:100%;
}
.navbar .navbar-nav>.hover-item:hover{
    background-color: #0862C3;
}
.navbar .navbar-nav>.hover-item:hover .nav_link{
    background-color: #0862C3;
    color:#fff;
}
.navbar .navbar-nav>.nav-item>.nav_link.search_link{
    cursor: pointer;
}
.navbar .navbar-nav>.nav-item>.nav_link.search_link img{
  width: .25rem;
  height: .25rem;
  vertical-align: middle;
}

.navbar .navbar-nav>li.active {
  background-color: #0862C3;
}
.navbar .navbar-nav>li.active .triangel{
    display: none;
}

.navbar .navbar-nav>li.active>.nav_link {
  color: #fff;
  background-color: #0862C3;
}

.navbar .navbar-nav>li>a:hover,
.navbar .navbar-nav>li>a:focus {
  background-color: #fff;
  text-decoration: none;
}

.navbar .navbar-nav>li.active>a:hover {
  background-color: transparent;
}
/*顶部菜单栏的子菜单样式start*/
 .nav-item .menu_sub{
    width: 2.15rem;
    position: absolute;
    top: 1.25rem;
    z-index:999;
    padding:0;
    list-style: none;
    background-color: #fff;
    font-size:.225rem;
    display: none;
    left:0;
    border-bottom-left-radius: .05rem;
    border-bottom-right-radius: .05rem;
    overflow: hidden;
}
.nav-item .menu_sub li{
    padding: 0 .3rem;
    height: .6rem;
    line-height: .6rem;
}
.nav-item .menu_sub li:hover a{
    color: #0862C3;
    text-decoration: none;
}
.nav-item .menu_sub li a{
    font-size: .225rem;
    color:#333;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: inline-block;
    white-space: nowrap;
}
.triangel{
    width:0;
    height: 0;
    border: 0.0625rem solid #fff;
    border-left-color: transparent;
    border-right-color: transparent;
    border-top-color: transparent;
    position: absolute;
    bottom: -0;
    left: 50%;
    transform:translateX(-50%);
}
/*顶部菜单栏的子菜单样式end*/
/* 下拉框样式 */

/* 搜索框样式 */
.modal-dialog {
  margin-top: 1rem;
}
.modal-body{
  padding:0;
}
.form-group{
  margin-bottom: 0;
}
.modal-content {
  background: transparent;
  color: #fff;
  border: none;
  font-size: .225rem;
}

.modal-content .col-form-label {
  padding-bottom: .125rem;
}

.modal-content .form-control {
  font-size: .225rem;
  height: .5rem;
  padding: 0;
  padding-left: .1rem;
  border-radius: .05rem;
}

.modal-content .search_input {
  display: flex;
  flex-direction: row;
}

.modal-content .search_input .form-control {
  flex: 9;
}

.modal-content .search_input .form-control:focus {
  box-shadow: none;
}

.modal-content .search_input .btn {
  flex: 1;
  height: .5rem;
  border-radius: .05rem;
  font-size: .225rem;
  padding-bottom: 0;
  line-height: .5rem;
  padding: 0 .1875rem;
}

@media screen and (min-width:960px) and (max-width: 1122px)  {
  .navbar {
    width: 90%;
  } 
  .main_w{
      width:90%;
  }
  /* .navbar .navbar-nav {
    height: 300px;
    flex-direction: column;
    padding-left: 0;
    overflow-y: scroll;
  } */
}

/* @media screen and (max-width: 992px) {
  .navbar .navbar-nav>li {
    overflow: visible;
  }
} */