/********** Template CSS **********/
:root {
    --primary: #0a4495;
    --secondary: #F14D5D;
    --light: #ECF4FF;
    --dark: #120F2D;
}

/*:root {
    --primary: #248067;
    --secondary: #1ba784;
    --light: #c4d7d6;
    --dark: #1a3b32;
}*/

[class^=flaticon-]:before,
[class*=" flaticon-"]:before,
[class^=flaticon-]:after,
[class*=" flaticon-"]:after {
    font-size: inherit;
    margin-left: 0;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
    color: var(--primary);
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
    color: var(--primary);
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
    color: var(--primary);
}

a {
    color: var(--primary);
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.text-success {
    color: #198754 !important
}

.text-info {
    color: #0dcaf0 !important
}

.text-warning {
    color: #ffc107 !important
}

.text-danger {
    color: #dc3545 !important
}

.text-light {
    color: #ECF4FF !important
}

.text-dark {
    color: #120F2D !important
}

.text-white {
    color: #fff !important
}

.text-body {
    color: #6B6A75 !important
}

.text-muted {
    color: #6c757d !important
}

.text-black-50 {
    color: rgba(0,0,0,0.5) !important
}

.text-white-50 {
    color: rgba(255,255,255,0.5) !important
}

.text-reset {
    color: inherit !important
}

.bg-primary {
    background-color: var(--primary);
}

.bg-secondary {
    background-color: var(--primary);
}

.bg-success {
    background-color: #198754 !important
}

.bg-info {
    background-color: #0dcaf0 !important
}

.bg-warning {
    background-color: #ffc107 !important
}

.bg-danger {
    background-color: #dc3545 !important
}

.bg-light {
    background-color: #ECF4FF !important
}

.bg-dark {
    background-color: var(--dark);
}

.bg-body {
    background-color: #fff !important
}

.bg-white {
    background-color: #fff !important
}


.border-primary {
    border-color: var(--primary);
}

.border-secondary {
    border-color: var(--secondary);
}

.border-success {
    border-color: #198754 !important
}

.border-info {
    border-color: #0dcaf0 !important
}

.border-warning {
    border-color: #ffc107 !important
}

.border-danger {
    border-color: #dc3545 !important
}

.border-light {
    border-color: #ECF4FF !important
}

.border-dark {
    border-color: #120F2D !important
}

.border-white {
    border-color: #fff !important
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-secondary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

    .btn-primary,
    .btn-secondary,
    .btn-primary:hover,
    .btn-secondary:hover {
        color: #FFFFFF;
    }

        .btn-primary:hover {
            background: var(--secondary) !important;
            border-color: var(--secondary) !important;
        }

        .btn-secondary:hover {
            background: var(--secondary) !important;
            border-color: var(--secondary) !important;
        }

.btn-square {
    width: 136px;
    height: 36px;
}

.btn-sm-square {
    width: 128px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}


.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}
.nav-item {
    width: 7.5em;
    text-align: center;
}
.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-left: 0px;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: .5rem;
    font-size: 20px;
    font-weight: 500;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: .5rem;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--primary);
}

.navbar-light .navbar-nav .nav-link.active {
    color: white;
    background-color: var(--primary);
}

.dropdown-toggle {
    height: 100%;
}

.nav-contact {
    font-size: 1rem;
    margin: 0rem;
}

.paging {
    margin-top: 2rem;
    text-align: center;
}

.list-item {
    display: block;
    overflow: hidden;
    border-bottom: 1px dashed #A0A0A0;
}

.Tree {
    border: 0px solid red;
}

.TreeNode {
    overflow: hidden;
}

.productInfo img {
    max-width: 100%;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 15, 45, .5);
    z-index: 1;
}

/*    .carousel-caption h4 {
        font-size: 40px !important;
        font-weight: 500 !important;
    }

    .carousel-caption h3 {
        font-size: 60px !important;
        font-weight: 600 !important;
    }*/
.blog-date {
    position: absolute;
    width: 90px;
    height: 65px;
    top: 75px;
    left: -25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--secondary);
}

    .blog-date::after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        top: -25px;
        left: 0;
        border: 13px solid;
        border-color: transparent var(--primary) var(--primary) transparent;
        z-index: -1;
    }
.sticky-top {
    border-bottom: 1px solid var(--primary) !important;
}

/* 大于1600以上时 */
@media (min-width: 1600px) {


    .CompanyName {
        font-size: 1.3rem;
    }

    .nav-contact {
        font-size: 1rem;
    }
   
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: .3rem;
        transition: .5s;                
    }
    .nav-link {
        font-size: 1rem !important;
        margin-left: 0.5rem !important;
        /*border: 1px solid black;*/
    }

    .navbar-light .navbar-nav .nav-link {
        font-family: 'Jost', sans-serif;
        position: relative;
        margin-left: 0px;
        padding-top: 40px;
        padding-bottom: 40px;
        padding-left: .5rem;
        font-size: 10px;
        font-weight: 500;
        color: var(--dark);
        outline: none;
        transition: .5s;
    }

        .navbar-light .navbar-nav .nav-link::before {
            position: absolute;
            content: "";
            width: 0;
            height: 5px;
            bottom: 0;
            left: 50%;
            background: var(--primary);
            transition: .5s;
        }

        .navbar-light .navbar-nav .nav-link:hover::before,
        .navbar-light .navbar-nav .nav-link.active::before {
            width: 100%;
            left: 0;
        }

        .navbar-light .navbar-nav .nav-link.nav-contact::before {
            display: none;
        }

    .container-fluid h1 {
        font-size: 58px !important;
        font-weight: 800 !important;
    }
    .container-fluid h4, .h4 {
        font-size: 28px !important;
        font-weight: 500 !important;
    }
    .container h1 {
        font-size: 38px !important;
        font-weight: 800 !important;
    }

    .container h3 {
        font-size: 28px !important;
        font-weight: 800 !important;
    }

    .container h4 {
        font-size: 18px !important;
        font-weight: 600 !important;
    }

    .container h5 {
        font-size: 18px !important;
        font-weight: 600 !important;
    }

    .container h5, .h5 {
        font-size: 20px !important;
        font-weight: 500 !important;
    }

    .container p {
        font-size: 18px !important;
    }
    .newMetro {
        font-size: 16px !important;
    }
    .newMetroBottom {
        height: 150px !important;
    }
    .carousel-caption h4 {
        font-size: 38px !important;
        font-weight: 500 !important;
    }

    .carousel-caption h3 {
        font-size: 48px !important;
        font-weight: 600 !important;
    }
    .carousel-caption h2 {
        font-size: 52px !important;
        font-weight: 700 !important;
    }

    .carousel-caption h1 {
        font-size: 58px !important;
        font-weight: 800 !important;
    }

    .carousel-indicators {
        align-items: flex-end !important;
    }

        .carousel-indicators [data-bs-target] {
            width: 6px !important;
            height: 25px !important;
            color: rebeccapurple !important;
        }

        .carousel-indicators .active {
            height: 35px !important;
        }

    .btn {
        font-size: 1rem !important;
    }
}
/*1280-1599*/
@media (max-width: 1599px) {

    .navbar {
        flex-direction: row !important;
    }


    .CompanyName {
        font-size: 1.2rem;
    }

    .nav-contact {
        font-size: 0.8rem;
    }
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: .3rem;
        transition: .5s;
    }
    .nav-link {
        font-size: 0.8rem !important;
        margin-left: 0.5rem !important;
        /*border: 1px solid blue;*/
    }

    .navbar-light .navbar-nav .nav-link {
        font-family: 'Jost', sans-serif;
        position: relative;
        margin-left: 0px;
        padding-top: 35px;
        padding-bottom: 35px;
        padding-left: .5rem;
        font-size: 10px;
        font-weight: 500;
        color: var(--dark);
        outline: none;
        transition: .5s;
    }

        .navbar-light .navbar-nav .nav-link::before {
            position: absolute;
            content: "";
            width: 0;
            height: 5px;
            bottom: 0;
            left: 50%;
            background: var(--primary);
            transition: .5s;
        }

        .navbar-light .navbar-nav .nav-link:hover::before,
        .navbar-light .navbar-nav .nav-link.active::before {
            width: 100%;
            left: 0;
        }

        .navbar-light .navbar-nav .nav-link.nav-contact::before {
            display: none;
        }

    .container-fluid h1 {
        font-size: 54px !important;
        font-weight: 800 !important;
    }

    .container-fluid h4, .h4 {
        font-size: 24px !important;
        font-weight: 500 !important;
    }
    .container h1 {
        font-size: 34px !important;
        font-weight: 800 !important;
    }

    .container h3 {
        font-size: 24px !important;
        font-weight: 600 !important;
    }

    .container h4 {
        font-size: 18px !important;
        font-weight: 600 !important;
    }

    .container h5 {
        font-size: 18px !important;
        font-weight: 600 !important;
    }

    .container h5, .h5 {
        font-size: 20px !important;
        font-weight: 500 !important;
    }

    .container p {
        font-size: 18px !important;
    }
    .newMetro {
        font-size: 14px !important;
    }

    .newMetroBottom {
        height: 130px !important;
    }
    .carousel-caption h4 {
        font-size: 32px !important;
        font-weight: 500 !important;
    }

    .carousel-caption h3 {
        font-size: 42px !important;
        font-weight: 600 !important;
    }

    .carousel-caption h2 {
        font-size: 46px !important;
        font-weight: 700 !important;
    }

    .carousel-caption h1 {
        font-size: 52px !important;
        font-weight: 800 !important;
    }
    .carousel-indicators {
        align-items: flex-end !important;
    }

        .carousel-indicators [data-bs-target] {
            width: 3px !important;
            height: 15px !important;
            color: rebeccapurple !important;
        }

        .carousel-indicators .active {
            height: 25px !important;
        }

    .btn {
        font-size: 0.8rem !important;
    }
    .blog-date {
        position: absolute;
        width: 80px;
        height: 60px;
        top: 75px;
        left: -25px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background: var(--secondary);
    }
}
/* 大于1400时 */
/* @media (min-width: 1400px) {
    .navbar {
        flex-direction: row !important;
    }
    #navbarCollapse {
        display: flex !important;
    }
    
} */
/* 
@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
} */


/*1024-1279*/
@media (max-width: 1279px) {
    .CompanyName {
        font-size: 0.9rem;
    }

    .CompanyEnglishName {
        font-size: 0.9rem;
    }

    .nav-contact {
        font-size: 0.7rem;
    }

    .nav-link {
        font-size: 0.6rem !important;
        margin-left: 0.4rem !important;
        /*border: 1px solid red;*/
    }

    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding-top: 15px;
        padding-bottom: 15px;
        padding-left: .3rem;
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link {
        font-family: 'Jost', sans-serif;
        position: relative;
        margin-left: 0px;
        padding-top: 30px;
        padding-bottom: 30px;
        padding-left: .3rem;
        font-size: 10px;
        font-weight: 500;
        color: var(--dark);
        outline: none;
        transition: .5s;
    }

        .navbar-light .navbar-nav .nav-link::before {
            position: absolute;
            content: "";
            width: 0;
            height: 5px;
            bottom: 0;
            left: 50%;
            background: var(--primary);
            transition: .5s;
        }

        .navbar-light .navbar-nav .nav-link:hover::before,
        .navbar-light .navbar-nav .nav-link.active::before {
            width: 100%;
            left: 0;
        }

        .navbar-light .navbar-nav .nav-link.nav-contact::before {
            display: none;
        }
    .container-fluid h1 {
        font-size: 50px !important;
        font-weight: 800 !important;
    }

    .container-fluid h4, .h4 {
        font-size: 20px !important;
        font-weight: 500 !important;
    }
    .container h1 {
        font-size: 30px !important;
        font-weight: 800 !important;
    }

    .container h3 {
        font-size: 20px !important;
        font-weight: 600 !important;
    }

    .container h4 {
        font-size: 15px !important;
        font-weight: 600 !important;
    }

    .container h5 {
        font-size: 15px !important;
        font-weight: 600 !important;
    }

    .container h5, .h5 {
        font-size: 20px !important;
        font-weight: 500 !important;
    }

    .container p {
        font-size: 15px !important;
    }
    .newMetro {
        font-size: 12px !important;
    }

    .newMetroBottom {
        height: 110px !important;
    }
    .carousel-caption h4 {
        font-size: 28px !important;
        font-weight: 500 !important;
    }

    .carousel-caption h3 {
        font-size: 38px !important;
        font-weight: 600 !important;
    }

    .carousel-caption h2 {
        font-size: 42px !important;
        font-weight: 700 !important;
    }

    .carousel-caption h1 {
        font-size: 48px !important;
        font-weight: 800 !important;
    }
    .carousel-indicators {
        align-items: flex-end !important;
    }

        .carousel-indicators [data-bs-target] {
            width: 2px !important;
            height: 10px !important;
            color: rebeccapurple !important;
        }

        .carousel-indicators .active {
            height: 15px !important;
        }

    .btn {
        font-size: 0.8rem !important;
    }
    .blog-date {
        position: absolute;
        width: 75px;
        height: 50px;
        top: 55px;
        left: -25px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background: var(--secondary);
    }
}


@media (max-width: 992px) {

    .carousel-caption h4 {
        font-size: 20px !important;
        font-weight: 400 !important;
    }

    .carousel-caption h3 {
        font-size: 30px !important;
        font-weight: 500 !important;
    }

    .carousel-caption h2 {
        font-size: 34px !important;
        font-weight: 600 !important;
    }

    .carousel-caption h1 {
        font-size: 40px !important;
        font-weight: 700 !important;
    }

    .carousel-indicators {
        display: none;
    }

    .btn {
        padding: 0.5rem 0.7rem 0.5rem 0.7rem !important;
        font-size: 0.8rem !important;
    }
}

@media (max-width: 599px) {

    .carousel-caption h4 {
        font-size: 12px !important;
        font-weight: 400 !important;
    }

    .carousel-caption h3 {
        font-size: 24px !important;
        font-weight: 500 !important;
    }

    .carousel-caption h2 {
        font-size: 28px !important;
        font-weight: 600 !important;
    }

    .carousel-caption h1 {
        font-size: 32px !important;
        font-weight: 700 !important;
    }

    .carousel-indicators {
        display: none;
    }

    .btn {
        padding: 0.2rem 0.5rem 0.2rem 0.5rem !important;
        font-size: 0.7rem !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.carousel-indicators {
    align-items: flex-end;
}

    .carousel-indicators [data-bs-target] {
        width: 5px;
        height: 25px;
    }

    .carousel-indicators .active {
        height: 45px;
    }

.hero-header {
    background: linear-gradient(rgba(18, 15, 45, .5), rgba(18, 15, 45, .5)), url(../img/carousel-1.jpg) top right no-repeat;
    background-size: cover;
}

.service-item div {
    z-index: 1;
}

    .service-item div::after {
        position: absolute;
        content: "";
        width: 0;
        height: 100%;
        top: 0;
        left: 0;
        border-radius: 2px 2px 0 0;
        transition: .5s;
        z-index: -1;
    }

    .service-item div:hover::after {
        width: 100%;
        background: var(--primary);
    }

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}

.bg-offer {
    /*background: linear-gradient(rgba(18, 15, 45, .5), rgba(18, 15, 45, .5)), url(../img/offer.jpg) top right no-repeat;*/
    background-size: cover;
}

.testimonial-carousel .owl-dots {
    height: 45px;
    margin-top: 5px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 5px;
    height: 25px;
    background: #DDDDDD;
    transition: .5s;
}

    .testimonial-carousel .owl-dot.active {
        height: 45px;
        background: var(--primary);
    }

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

    .testimonial-carousel .owl-item.center .testimonial-text * {
        color: #FFFFFF !important;
    }


