﻿html, body, form, div, span, nav, button, input, li, a, p, th, td, select, option {
    font-family: "Segoe UI", SegoeUI, "Microsoft YaHei", 微软雅黑, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

html {
    overflow-x: auto;
    overflow-y: auto;
}

body {
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

form {
    text-align: center;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
}

#header {
    width: 100%;
    height: 82px;
    border-bottom: 0px solid hsla(0,0%,100%,.15);
    /*position: fixed;
    top: 0;
    left: 0;
    z-index: 999;*/
    box-sizing: border-box;
    margin: 0 auto;
    text-align: center;
}

#header-container {
    margin: 0 auto;
    height: 82px;
    background-color: rgba(245,245,245,0.8);
    background-image: url('../image/BGHeader.png');
    background-size: cover;
    background-repeat: repeat-x;
}

#logo {
    height: 100%;
    width: auto;
    min-width: auto;
    float: left;
    text-align: left;
}

    #logo img {
        height: 78px;
        padding-left: 5px;
        padding-top: 2px;
    }

.menu {
    padding-top: 29px;
    font-weight: bold;
    font-size: 13pt;
    display: inline-block;
}
.menu_sub {
    margin: 0px !important;
    font-weight: normal;
    font-size: 11pt;
    color: dimgrey;
}
    .menu a {
        margin: 8px;
        color: dimgrey;
        text-decoration: none;
    }

        .menu a:hover {
            text-decoration: underline;
        }

.menu_vertical {
    text-align:left;
    z-index:999;
}

    .menu_vertical a {
        line-height: 30px;
    }

#content {
    margin: 0 auto;
    text-align: center;
    /*margin-top: 82px;*/
}

#footer {
    text-align: center;
    background-size: cover;
    margin: 0 auto;
    margin-top: 20px;
}

/*
    下拉菜单
*/
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 10px 10px;
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}
.bg-first {
    background-color: #77CCFF !important;
}
.bg-self {
    background-color: #0066CC !important;
}
.product {
    height: 380px; /*需要与下面的同步修改*/
}

    .product:hover {
        background-color: #4B53BC; /* lightskyblue */
    }

.product-text {
    height: 285px; /*需要与上面的 product 同步修改*/
    overflow: hidden;
}

.swiper-button-next, .swiper-button-prev {
    top: 40% !important;
}

.swiper-pagination-bullet {
    width: 25px !important;
    border-radius: 0 !important;
}

.proj-container {
    height: 370px;
}

.proj {
    width: 100%;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 0px solid #e5e5e5;
    padding: 5px;
    box-sizing: border-box;
}

.proj-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #007bff;
    z-index: 2;
    opacity: 0;
}

.proj-title {
    width: 100%;
    text-align: center;
    color: #FFFFFF;
    font-size: 1.2rem;
    transition: 0.5s;
    line-height: 50px;
    padding-left: 20px;
    padding-right: 20px;
}

.proj-text {
    text-align: center;
    color: #FFFFFF;
    font-size: 1rem;
    height: 200px;
    line-height: 25px;
    padding: 0 15px;
    overflow: hidden;
}

.proj img {
    width: 100%;
    height: 100%;
    display: block;
    transition: 0.3s;
    transform: scale(1);
}

.proj:hover .proj-content {
    opacity: 0.8;
}

.proj:hover img {
    transform: scale(1.03);
}

.topicon {
    position: fixed;
    bottom: 10px;
    right: 10px;
    opacity: 1;
    cursor: pointer;
}

    .topicon img {
        width: 50px;
        height: 50px;
        border: 0;
    }

.animation {
    animation: contentfadein 2s ease-in-out forwards;
    -webkit-animation: contentfadein 2s ease-in-out forwards; /*Safari and Chrome*/
}

@keyframes contentfadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes contentfadein /*Safari and Chrome*/
{
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.a-clear {
    text-decoration: none;
    color: #212529;
}

    .a-clear:hover {
        text-decoration: none;
        color: #212529;
    }
.clear-margin-lr {
    margin-right: 0px !important;
    margin-left: 0px !important;
}
.clear-padding-lr {
    padding-right: 0px !important;
    padding-left: 0px !important;
}

.overflow {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
}

.noradius {
    border-radius: 0 !important;
}

.hidden {
    width: 0px;
    height: 0px;
    border: none;
    visibility: hidden;
}

.must:after {
    content: " *";
    color: red;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
    color: #A0A0A0;
}

input:-moz-placeholder, textarea:-moz-placeholder {
    color: #A0A0A0;
}

input::-moz-placeholder, textarea::-moz-placeholder {
    color: #A0A0A0;
}

input:-ms-input-placeholder, textarea:-ms-input-placeholder {
    color: #A0A0A0;
}


@media screen and (min-width: 1600px) {
    #horizontalMenu {
        display: block;
    }
    #verticalMenu {
        display: none;
    }
    #content {
        width: 80%;
        max-width: 1920px;
    }
    .carousel-item img {
        height: 600px;
    }

    .product {
        height: 380px;
    }

    .product-text {
        height: 285px;
    }

    #header-container {
        width: 80%;
        max-width: 1920px;
    }
    #footer {
        width: 80%;
        max-width: 1920px;
    }
}
@media screen and (min-width:1400px) and (max-width: 1599.9px) {
    #horizontalMenu {
        display: block;
    }
    #verticalMenu {
        display: none;
    }
    #content {
        width: 1300px;
    }
    .carousel-item img {
        height: 550px;
    }
    .product {
        height: 300px;
    }

    .product-text {
        height: 205px;
    }
    #header-container {
        width: 1300px;
    }
    #footer {
        width: 1300px;
    }
}

@media screen and (min-width:1220px) and (max-width: 1399.9px) {
    #horizontalMenu {
        display: block;
    }
    #verticalMenu {
        display: none;
    }
    #content {
        width: 96%;
    }
    .carousel-item img {
        height: 500px;
    }
    .product {
        height: 250px;
    }
    .product-text {
        height: 155px;
    }
    #header-container {
        width: 96%;
    }

    #footer {
        width: 96%;
    }
}

@media screen and (min-width:1025px) and (max-width: 1219.9px) {
    #horizontalMenu {
        display: none;
    }

    #verticalMenu {
        display: inline-block;
        float: right;
        margin-right: 66px;
    }

    #content {
        width: 100%;
    }
    .carousel-item img {
        height: 450px;
    }
    .product {
        height: 250px;
    }

    .product-text {
        height: 155px;
    }
    #header-container {
        width: 100%;
    }

    #footer {
        width: 100%;
    }
}

@media screen and (max-width:1024.9px) {
    #horizontalMenu {
        display: none;
    }
    #verticalMenu {
        display: inline-block;
        float: right;
        margin-right: 66px;
    }
    #content {
        width: 100%;
    }
    .carousel-item img {
        height: 350px;
    }
    .product {
        height: 250px;
    }

    .product-text {
        height: 155px;
    }
    #header-container {
        width: 100%;
    }
    #footer {
        width: 100%;
    }
}
@media screen and (max-width:840px) {
    #horizontalMenu {
        display: none;
    }
    #verticalMenu {
        display: inline-block;
        float: right;
    }
}
@media screen and (max-width:580px) {
    #companyName {
        display: none !important;
    }
}
