@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}
main {
    margin-top: 62px;
}
/*重写navbar样式*/
.navbar-nav {
    padding: 0 30px;
    width: 700px;
}

/*重写navbar 链接 选中样式*/
.navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show > .nav-link {
    color: #3278FF;
}

body {
    color: #5a5a5a;
}

/*横线*/
.line {
    width: 100%;
    height: .1rem;
    background-color: #d9d9d9;
}
/*面包屑导航*/
.bread-nav a{
    color: #5a5a5a;
    text-decoration: none;
}

.bread-nav a:hover {
    color: #3278FF;
}


/* Carousel base class */
.carousel {
    margin-bottom: 50px;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    bottom: 30px;
    z-index: 10;
}


.carousel-inner > .item > a > img,
.carousel-inner > .item > img,
.img-responsive,
.thumbnail a > img,
.thumbnail > img {
    display: block;
    max-width: 100%;
    height: auto;
}

.footer {
    background-image: url("../img/bottom-bg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    padding: 40px 0;
}

/* machine content */
.machine .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
    height: 280px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.machine .col-lg-4 .content {
    position: absolute;
}

.machine .col-lg-4 .bg-img {
    width: 100%;
    height: 100%;
    transition: all 0.4s;
}

.machine .col-lg-4:hover .bg-img {
    transform: scale(1.1);
}

.machine h3 {
    font-weight: 400;
}

.machine .col-lg-4 p {
    margin-right: .75rem;
    margin-left: .75rem;
}

.middle-bar {
    margin-top: 20px;
}

.product {
    margin-top: 30px;
}

.product .col-lg-4 {
    margin-bottom: 1.5rem;
    text-align: center;
    height: 280px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product .col-lg-4 .content {
    height: 40px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 0;
    right: 15px;
    background-color: rgba(0,0,0,0.4);
    width: calc(100% - 30px);
}

.product .col-lg-4 .bg-img {
    width: 100%;
    height: 100%;
}

.product .col-lg-4:hover {
}

/*news---------*/
.news {
    margin-top: 30px;
    margin-bottom: 50px;
}

.news .news-item {
    border-bottom: 1px dashed #ededed;
    height: 120px;
    display: flex;
    cursor: pointer;
    margin-bottom: 10px;
}
.news .news-item .content .title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news .news-item:hover .content .title {
    color: #3278FF;
}

.news .news-item .date {
    width: 100px;
    height: 100px;
    background-color: #ededed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.news .news-item .date .day{
    font-size: 22px;
    color: #333333;
    font-weight: bold;
}

.news .news-item .date .month{
  font-size: 14px;
}

.news .news-item .content {
    flex: 1;
}


.news .news-item .content .title {
    font-size: 20px;
}

.news .news-item .content .detail {
    margin-top: 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}



    /* Featurettes
    ------------------------- */

.featurette-divider {
    margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the machine headings */
.featurette-heading {
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.05rem;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
}

@media (min-width: 62em) {
    .featurette-heading {
        margin-top: 7rem;
    }
}
