html {
    font-size: 14px;
}
body {
    position: relative;
}
div, p, ul, li, dl, dt, dd, header, section, nav, footer  {
    margin: 0;
    padding: 0;
}
a,
a:hover,
a:visited {
    text-decoration: none;
    color: #000000;
}
li {
    list-style: none;
}
.mx-pad5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}
.tra-scale:hover {
 transform: scale(1.1);
 transition: all 0.5s;
}
.mx-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    border-bottom: 1px solid #ffffff;
    background: rgba(34, 34, 34, 0.4);
    z-index: 9999;
}
.mx-header .navbar {
    padding: 0;
}
.mx-header .mx-logo .logo img {
    height: 3.8rem;
}
.mx-header .mx-logo .name {
    height: 3.8rem;
    font-size: 24px;
    line-height: 3.8rem;
    margin-left: 0.5rem;
    color: #ffffff;
}

.mx-header .mx-nav .nav-item .nav-link {
    font-size: 16px;
    color: #ffffff;
    padding: 0.3125rem 1rem !important;
    display: block;
    line-height: 3.8rem;
    position: relative;
}
.mx-header .mx-nav .nav-item .dropdown-menu {
    background: rgba(34, 34, 34, 0.4);
}
.mx-header .mx-nav .nav-item .dropdown-menu .dropdown-item {
    font-size: 16px;
    color: #ffffff;
    padding: 0.3125rem 1rem !important;
    display: block;
    line-height: 1rem;
    position: relative;
}
.mx-header .mx-nav .nav-item .nav-link:hover,
.mx-header .mx-nav .nav-item .nav-link.active,
.mx-header .mx-nav .nav-item .dropdown-menu .dropdown-item:hover {
    color: #ff7019;
    background-color: transparent;
}
.mx-header .mx-nav .nav-item .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: transparent;
}
.mx-header .mx-nav .nav-item .nav-link:hover::after,
.mx-header .mx-nav .nav-item .nav-link.active::after {
    background: #ff7019;
}

.mx-header .navbar-toggler-icon {
    background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.mx-banner img {
    width: 100%;
}
.mx-title {
    margin: 2rem auto;
}
.mx-title .descript {
    color: #999999;
}
.mx-footer {
    background: #222222;
    padding: 2rem 0;
    color: #9f9f9f;
    font-family: "Microsoft-Yahei";
    font-size: 16px;
}
.mx-footer a {
    color: #808080;
}

.mx-about .about img,
.mx-contact .contact img,
.mx-cases .case img,
.mx-appinfo .appinfo img,
.mx-formula .formula img,
.mx-calculation .calculation img   {
    width: 100%;
    object-fit: cover;
}
.mx-about .about p {
    text-indent: 2rem;
    line-height: 30px;
    font-size: 16px;
}
.mx-cases,
.mx-contact,
.mx-formula {
    background: #f6f6f6;
}
.mx-project .project {
    background: url("../images/bn2.png") no-repeat 100% 50%;
}
.mx-project .project h3 {
    text-align: center;
}
.mx-project .project p {
    height: 10rem;
    overflow: hidden;
    color: #666666;
    line-height: 24px;
    padding:1rem 0;
}
.mx-contact .contact ul li {
    padding: 0.5rem 0;
}

.mx-cases .case .info {
    height: 3rem;
    overflow: hidden;
}
.mx-cases .case .card {
    position: relative;
}
.mx-cases .case .card:after {
    content: "";
    position: absolute;
    display: inline-block;
    width: 0%;
    left: 0;
    background: #ff7019;
    bottom: -1px;
    height: 1px;
    transition: all 0.5s ease;
}
.mx-cases .case:hover {
    cursor: pointer;
}
.mx-cases .case:hover .card:after {
    width: 100%;
}
.address {
    width: 100%;
    height: 20rem;
}
.mx-appinfo .appinfo .app-logo .logo {
    width: auto;
    height: 60px;
}
.mx-appinfo .appinfo .app-intro {
    margin-top: 5rem;
    font-size: 14px;
    line-height: 32px;
}
.mx-appinfo .appinfo .app-ercode {
    margin-top:8rem;
}
.mx-appinfo .appinfo .app-ercode .ercode {
    width: 15rem;
    height: 15rem;
}
.formula-intro .formula-step {
    padding: 1rem 0;
}
.mx-rounded {

}
.mx-top-rounded {

}


@media (max-width: 575.98px) { 
    .mx-rounded {
        border-radius: 0.4rem;
    }
    .mx-top-rounded {
        border-radius: 0.4rem 0.4rem 0 0;
    }
    .mx-project .project {
        background: none;
    }
    .mx-project .project p {
        padding: 1rem;
    }
    .address {
        border-radius: 0.6rem;
    }
    .mx-appinfo .appinfo .app-ercode {
        margin-top:3rem;
    }
 }


@media (min-width: 576px) and (max-width: 767.98px) { 
    .mx-rounded {
        border-radius: 0.4rem;
    }
    .mx-top-rounded {
        border-radius: 0.4rem 0.4rem 0 0;
    }
    .mx-project .project {
        background: none;
    }
    .mx-project .project p {
        padding: 1rem;
    }
    .address {
        border-radius: 0.6rem;
    }
    .mx-appinfo .appinfo .app-ercode {
        margin-top:3rem;
    }
 }


@media (min-width: 768px) and (max-width: 991.98px) { 
    .mx-rounded {
        border-radius: 0.4rem;
    }
    .mx-top-rounded {
        border-radius: 0.4rem 0.4rem 0 0;
    }
    .mx-project .project {
        background: none;
    }
    .mx-project .project p {
        padding: 1rem;
    }
    .address {
        border-radius: 0.6rem;
    }
    .mx-appinfo .appinfo .app-ercode {
        margin-top:3rem;
    }
}
