@charset "UTF-8";


.icon-font {
  position: relative;
}

.icon-font:after {
  content: "";
  width: 30px;
  height: 30px;
  background-image: url(../images/icon_spirit.png);
  background-repeat: no-repeat;
  position: absolute;
  left: calc(50% - 15px);
  top: calc(50% - 15px);
}





/*左侧工具条*/
#toolbar {
  position: fixed;
  z-index: 9999;
  right: 17px;
  bottom: 10%;
}

#toolbar li {
  margin-bottom: 3px;
  font-size: 0;
  width: 57px;
  height: 57px;
  right: 0;
  position: relative;
}

#toolbar li a {
  display: block;
  position: absolute;
  z-index: 9;
  right: 0;
  top: 0;
  width: 57px;
  height: 57px;
  overflow: hidden;
  background: #1f479c;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  white-space: nowrap;
  font-size: 0;
}

#toolbar li .icon-font {
  display: inline-block;
  vertical-align: middle;
  width: 57px;
  height: 57px;
  background-color: #d9d9d9;
}

#toolbar li .icon-qq:after {
  background-position: 0 -150px;
}

#toolbar li .icon-phone:after {
  background-position: 0 -90px;
}

#toolbar li .icon-ewm:after {
  background-position: 0 -30px;
}

#toolbar li .icon-message:after {
  background-position: 0 -120px;
}

#toolbar li .icon-top:after {
  background-position: 0 -60px;
}

#toolbar li .icon-wangwang:after {
  background-position: 0 0;
}

#toolbar li .wz {
  display: inline-block;
  line-height: 57px;
  font-size: 14px;
  color: #fff;
  vertical-align: middle;
  padding-left: 10px;
}

#toolbar li.ewm .ewm-box {
  position: absolute;
  z-index: 1;
  padding: 5px;
  background: #1f479c;
  width: 110px;
  right: 120%;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
  -webkit-transition: all .7s;
  transition: all .7s;
}

#toolbar li.ewm .ewm-box p {
  margin-bottom: 0;
}

#toolbar li.ewm .ewm-box img {
  max-width: 100%;
}

#toolbar li.ewm .ewm-box:after {
  content: '';
  position: absolute;
  right: -5px;
  bottom: 20px;
  width: 0;
  height: 0;
  line-height: 0;
  font-size: 0;
  overflow: hidden;
  border-width: 5px;
  cursor: pointer;
  border-style: dashed dashed dashed solid;
  border-color: transparent transparent transparent #1f479c;
  border-right: none;
}

#toolbar li.ewm:hover .icon {
  background-position: -57px -180px;
}

#toolbar li.ewm:hover .ewm-box {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

#toolbar li.backtop {
  cursor: pointer;
}

#toolbar li.backtop .iconfont {
  color: #fff;
  background-color: #1f479c;
}

#toolbar li:hover a {
  width: 200px;
}

#toolbar li:hover .icon-font {
  background-color: #1f479c;
}

#toolbar li:hover .icon-qq:after {
  background-position: -30px -150px;
}

#toolbar li:hover .icon-phone:after {
  background-position: -30px -90px;
}

#toolbar li:hover .icon-ewm:after {
  background-position: -30px -30px;
}

#toolbar li:hover .icon-message:after {
  background-position: -30px -120px;
}

#toolbar li:hover .icon-wangwang:after {
  background-position: -30px 0;
}

#toolbar li:hover .icon-top:after {
  background-position: -30px -60px;
}

@media (max-width: 990px) {
  #toolbar {
    display: none;
  }
}
/* ==================== 通用工具栏 start ==================== */
.mxw-tool {
  position: fixed;
  z-index: 99;
}
.mxw-tool .icon {
  overflow: hidden;
}
@media screen and (min-width: 751px) {
  .mxw-tool {
    box-shadow: 0 0 10px -2px rgba(0, 0, 0, 0.2);
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px 0;
    border-radius: 100px;
    background-color: #fff;
  }
  .mxw-tool .tool-item {
    font-size: 0;
    position: relative;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 15px 15px;
    border-bottom: 1px solid #e6e6e6;
    transition: background-color 0.4s;
  }
  .mxw-tool .tool-item:hover {
    background-color: rgba(27, 75, 174, 0.1);
  }
  .mxw-tool .tool-item:hover .tool-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 9;
  }
  .mxw-tool .tool-item:hover .tool-content:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 9;
  }
  .mxw-tool .tool-item:last-child {
    border-bottom: 0;
  }
  .mxw-tool .tool-item .icon {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
  }
  .mxw-tool .tool-item .text {
    font-size: 14px;
    color: #666;
    line-height: 1.2;
  }
  .mxw-tool .tool-content {
    position: absolute;
    top: 0;
    height: 100%;
    background: #fff;
    width: 200px;
    right: 86px;
    color: #333;
    font-size: 14px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 20px;
    font-size: 16px;
    line-height: 1.6;
    border: 1px solid #ddd;
    border-radius: 5px;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
  }
}
@media screen and (max-width: 751px) {
  .mxw-tool {
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    font-size: 14px;
  }
  .mxw-tool .tool-item {
    width: 18%;
    height: 50px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
  }
  .mxw-tool .tool-item:nth-child(5) ~ .tool-item {
    display: none;
  }
  .mxw-tool .tool-item .icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-bottom: 5px;
  }
  .mxw-tool .tool-item .text {
    font-size: 13px;
    width: 100%;
    text-align: center;
    letter-spacing: 1px;
    text-indent: 1px;
  }
  body{ margin-bottom: 60px;}
}
/* ==================== 通用工具栏 end ==================== */