/* 常用样式 */

* {
  box-sizing: border-box;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.none {
  display: none;
}

.clearfix:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
}

.clearfix {
  *zoom: 1;
}

.index-logo {
  font-size: 25px;
  font-weight: bold;
}

/* 导航条 */


.navbar {
  background: rgba(255, 255, 255, 0);
  transition: all 0.2s ease-in-out;
  padding: 5px 20px;
}

.white-nav.navbar {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 9px 33px rgba(105, 185, 252, 0.1);
}

.white-nav .navbar-item {
  color: #333;
}

.white-nav .index-logo {
  color: #26afff;
}

.index-logo-box {
  width: 148px;
  height: 58px;
  background-image: url('../images/logo-white.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

.white-nav .index-logo-box {
  background-image: url('../images//logo-blue.png');
}


.navbar-item {
  color: #ffffff;
}

.carousel .carousel-navigation.is-overlay .carousel-nav-left {
  background: url('../images/carousel-left.png') center center no-repeat;
  background-size: contain;
  opacity: 0.6;
}

.carousel .carousel-navigation.is-overlay .carousel-nav-right {
  background: url('../images/carousel-right.png') center center no-repeat;
  background-size: contain;
  opacity: 0.6;
}

@media (min-width: 1088px) {
  .navbar {
    padding: 0;
  }

  a.navbar-item,
  .navbar-link {
    margin-left: 20px;
    padding-left: 0;
    padding-right: 0;
    margin-right: 20px;
    border-bottom: 2px solid transparent;
  }

  .navbar-item.is-active {
    border-bottom: 2px solid #4880E9;
    border-radius: 0 !important;
  }

  a.navbar-item.is-active,
  .navbar-link.is-active {
    color: #ffffff;
    border-bottom: 2px solid #4880E9;
  }

  .white-nav a.navbar-item.is-active,
  .white-nav .navbar-link.is-active {
    color: #4880E9;
  }

}

/* 移动端 */
@media (max-width: 1088px) {
  .index-logo.navbar-item {
    font-size: 20px;
  }

  .index-logo-box {
    width: 108px;
    height: 30px;
  }

  .navbar:not(.white-nav) .index-logo.navbar-item {
    color: #ffffff;
  }

  .navbar:not(.white-nav) .navbar-burger span {
    background: #ffffff;
  }


  .navbar-item {
    color: #333;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0;
  }

}