﻿/*= Reset CSS 
============= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  vertical-align: middle;
}


.full-length {
  width: 100%;
  float: left;
  padding-bottom: 80px;
}

.btn {
  display: inline-block;
  padding: 5px 10px;
  font-size: 14px;
  color: #fff;
  border: 2px solid #4d92d9;
  background-color: #4d92d9;
  text-decoration: none;
  transition: 0.4s;
}

.btn:hover {
  background-color: transparent;
  color: #4d92d9;
  transition: 0.4s;
}

.text-desc {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  background-color: #e1aa40;
  height: 100%;
  opacity: 0;
  width: 100%;
  padding: 20px;
}

/*= Reset CSS End
================= *

/* effect-1 css */
.port-1 {
  float: left;
  width: 100%;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.port-1:hover .text-desc h4 {
  margin-top: 20px;
}

.port-1:hover .fangan {
  display: none;
}

.port-1 .text-desc {
  opacity: 0.9;
  top: -100%;
  transition: 0.5s;
  color: #000;
  padding: 20px;
}

.port-1 .text-desc h4 img {
  width: 26px;
  padding-right: 6px;
  vertical-align: text-bottom;
}

.port-1 .text-desc p {
  font-size: 16px;
}

.port-1 .web-text-desc {
  top: 0% !important;
}

.port-1 .web-text-desc p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.port-1 img {
  transition: 0.5s;
}

.port-1:hover img {
  transform: scale(1.2);
}

.port-1.effect-1:hover .text-desc {
  top: 0;
}

/*.port-1.effect-2 .text-desc{top: auto; bottom: -100%;}
.port-1.effect-2:hover .text-desc{bottom: 0;}*/

/*.port-1.effect-3 .text-desc{top: 50%; left: 50%; width: 0; height: 0; overflow: hidden; padding: 0;}
.port-1.effect-3:hover .text-desc{width: 100%; top: 0; left: 0; height: 100%; padding: 45px 20px 20px;}*/
/* effect-1 css end */


/*= Media Screen CSS
==================== */
@media only screen and (max-width: 1090px) {
  .port-5.effect-1 {
    z-index: 19;
  }
}

/*= Media Screen CSS End
======================== */

/*弹框切换导航*/
.bwizard {
  position: relative
}

.bwizard .well {
  margin: 3px 0
}

.bwizard-steps {
  margin: 0;
  padding: 0;
  display: inline-block;
  background: #fff
}

.bwizard-steps li {
  display: inline-block;
  position: relative;
  margin-right: 5px;
  line-height: 18px;
  list-style: none;
  padding: 12px 17px 10px 30px;
  background: #efefef;
  zoom: 1;
  *display: inline;
  *padding-left: 17px
}

.bwizard-steps li:first-child {
  -moz-border-radius: 4px 0 0 4px;
  -webkit-border-radius: 4px 0 0 4px;
  border-radius: 4px 0 0 4px;
  padding-left: 12px
}

.bwizard-steps li:first-child:before {
  border: 0
}

.bwizard-steps li:last-child {
  -moz-border-radius: 0 4px 4px 0;
  -webkit-border-radius: 0 4px 4px 0;
  border-radius: 0 4px 4px 0;
  margin-right: 0
}

.bwizard-steps li:last-child:after {
  border: 0
}

.bwizard-steps li:before {
  position: absolute;
  left: 0;
  top: 0;
  height: 0;
  width: 0;
  border-bottom: 20px inset transparent;
  border-left: 20px solid #2cabf4;
  border-top: 20px inset transparent;
  content: ""
}

.bwizard-steps li:after {
  position: absolute;
  right: -17px;
  top: 0;
  height: 0;
  width: 0;
  border-bottom: 20px inset transparent;
  border-left: 20px solid #efefef;
  border-top: 20px inset transparent;
  content: "";
  z-index: 2
}

.bwizard-steps .label {
  margin: 0 5px 0 0;
  padding: 1px 5px 2px;
  position: relative;
  top: -1px
}

.bwizard-steps .active {
  color: #fff;
  background: #ffd630
}

.bwizard-steps .active:after {
  border-left-color: #ffd630
}

.bwizard-steps a {
  color: #333
}

.bwizard-steps .active a {
  cursor: default
}

.bwizard-steps a:hover {
  text-decoration: none
}

.bwizard-steps.clickable li:not(.active) {
  cursor: pointer
}

.bwizard-steps.clickable li:hover:not(.active) {
  background: #ccc
}

.bwizard-steps.clickable li:hover:not(.active):after {
  border-left-color: #ccc
}

@media(max-width:480px) {

  .bwizard-steps li,
  .bwizard-steps li.active,
  .bwizard-steps li:first-child,
  .bwizard-steps li:last-child {
    background-color: transparent;
    padding: 0;
    margin-right: 0
  }

  .bwizard-steps li:after,
  .bwizard-steps li:before {
    border: 0
  }
}
