.main-header {
    width: 100%;
    color: #323232;
    position: absolute;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid #2877bd;
    font-size: 14px;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.3);
}

.main-header a {
    color: #323232;
}

.header {
    width: 100%;
    background-color: #fff;
    min-width: 1320px;
}

.logo-container {
    float: left;
    margin-left: 80px;
    line-height: 80px;
}

.logo {
    height: 42px;
    width: 100px;
    float: left;
    background: url(../images/logo.png) no-repeat;
    background-size: cover;
    margin-right: 14px;
    margin-top: 16px;
}

.logo-text {
    font-size: 18px;
    float: left;
    position: relative;
}

.nav-container {
    float: right;
    margin-right: 180px;
    padding: 20px 0;
}

.header-nav {
    padding: 10px 20px;
    margin-right: 35px;
    float: left;
    text-align: center;
    position: relative;
}

.header-nav:last-child {
    margin-right: 0;
}

.header-nav:hover {
    background-color: rgba(40, 119, 189, 0.5);
    color: #fff;
    box-shadow: 0 0 20px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

/*导航按钮的指示伪类*/
.location:before {
    height: 2px;
    width: 50%;
    border-radius: 4px;
    background-color: #2877bd;
    position: absolute;
    display: block;
    content: "";
    left: 25%;
    top: 46px;
}
/*解决方案伪类*/
.programme_location{
    position: relative;
}
.programme_location:after{
    height: 2px;
    width: 100%;
    border-radius: 4px;
    background-color: #2877bd;
    position: absolute;
    display: block;
    content: "";
    left: 0;
    top: 26px;
}
.footer {
    line-height: 40px;
    background-color: #2877bd;
    text-align: center;
    color: #fff;
    font-size: 14px;
    clear: both;
}

.float-container {
    height: 76px;
    width: 70px;
    box-sizing: border-box;
    padding: 14px 10px;
    display: inline-block;
    position: fixed;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.40) center center no-repeat;
}

.float-container:hover {
    background-color: #2877bd;
    box-shadow: 2px 0 10px 1px rgba(0, 0, 0, 0.4);
    transition: all 0.3s;
}

.float-img {
    height: 28px;
    width: 28px;
    margin: 0 auto;
    background: center center no-repeat;
}

.float-text {
    width: 100%;
    text-align: center;
    margin-top: 6px;
    display: inline-block;
    font-size: 12px;
    color: #fff;
}

#number-container {
    right: 0;
    bottom: 152px;
}

#qr-container {
    right: 0;
    bottom: 76px;
}

#backtoTop-container {
    right: 0;
    bottom: 0;
    height: 60px;
}

#backtoTop-container:after {
    height: 14px;
    width: 28px;
    margin: 0 auto;
    display: block;
    content: "";
    background: url(../images/backtoTop.png) center center no-repeat;
    background-size: cover;
    position: relative;
    top: 10px;
}

.float-content {
    padding: 14px 10px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.3);
    position: absolute;
    background-color: #fff;
    box-sizing: border-box;
}

#float1 .float-text {
    letter-spacing: 1px;
    color: #2877bd;
}

#float1 {
    height: 100%;
    width: 152px;
    top: 0;
    left: -170px;
    display: none;
}

#float1:after {
    content: " ";
    position: absolute;
    right: -11px;
    bottom: 30%;
    width: 20px;
    height: 20px;
    border: 1px solid #e5e5e5;
    background-color: #fff;
    border-left: 0;
    border-bottom: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

#float2:after {
    content: " ";
    position: absolute;
    right: -11px;
    bottom: 15%;
    width: 20px;
    height: 20px;
    border: 1px solid #e5e5e5;
    background-color: #fff;
    border-left: 0;
    border-bottom: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

#float1 .float-content-img {
    height: 28px;
    width: 28px;
    background: center center no-repeat;
    margin: 0 auto;
}

#float2 {
    height: 160px;
    width: 130px;
    top: -83px;
    left: -152px;
    padding: 5px 10px;
    display: none;
}

#qr {
    height: 104px;
    width: 104px;
    margin: 0 auto;
}

#qr-text-container {
    width: 104px;
    margin: 10px auto 0;
    text-align: center;
}

#number-container:hover #float1 {
    display: block;
}

#qr-container:hover #float2 {
    display: block;
}

@media screen and (max-width: 1500px) {
    .header-nav {
        margin-right: 0;
    }
}
@media screen and (max-width: 1320px) {
    .nav-container {
        margin-right: 20px;
    }
}