@charset "utf-8";

/* CSS Document */

body{ background: url(../images/production_bg-2.png) 20% 7% /100% no-repeat;}

h1 {
    margin: 0;
    font-size: 17px;
    font-weight: bold;
    color: #ce0420;
    margin-bottom: 8px;
}

/**banner**/

#banner {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    margin-top: 65px;
}
#owl-demo .item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/**idx_production**/

#idx_production, #idx_news {
    padding: 2% 0 3%;
}
/* #idx_production {
    background: url(../images/production_bg.png) bottom left no-repeat;
} */
#idx_production ul li {
    display: inline-block;
    vertical-align: top;
    width: calc(100%/6 - 25px);
    text-align: center;
    margin: 2% 10px;
}
#idx_production ul li a{ position:relative; display:block; }
#idx_production ul li a::after, #idx_production ul li a::before{ content:''; width:140px; height:140px; display:block; }
#idx_production ul li a::after{ transition: ease-in-out .8s; position:absolute; top:0; left:0; opacity:0; }
#idx_production ul li:hover a::after{ opacity:1; }
#idx_production ul li:nth-child(1) a::before{background: url(../images/icon01.png);filter: drop-shadow(1px 1px 2px rgba(78, 0, 0, 0.7)); }
#idx_production ul li:nth-child(1) a::after{background: url(../images/icon01-01.png); }
#idx_production ul li:nth-child(2) a::before{background: url(../images/icon02.png);filter: drop-shadow(1px 1px 2px rgba(78, 0, 0, 0.7)); }
#idx_production ul li:nth-child(2) a::after{background: url(../images/icon02-02.png); }
#idx_production ul li:nth-child(3) a::before{background: url(../images/icon03.png);filter: drop-shadow(1px 1px 2px rgba(78, 0, 0, 0.7)); }
#idx_production ul li:nth-child(3) a::after{background: url(../images/icon03-03.png); }
#idx_production ul li:nth-child(4) a::before{background: url(../images/icon04.png);filter: drop-shadow(1px 1px 2px rgba(78, 0, 0, 0.7)); }
#idx_production ul li:nth-child(4) a::after{background: url(../images/icon04-04.png); }
#idx_production ul li:nth-child(5) a::before{background: url(../images/icon05.png);filter: drop-shadow(1px 1px 2px rgba(78, 0, 0, 0.7)); }
#idx_production ul li:nth-child(5) a::after{background: url(../images/icon05-05.png); }
#idx_production ul li:nth-child(6) a::before{background: url(../images/icon06.png);filter: drop-shadow(1px 1px 2px rgba(78, 0, 0, 0.7)); }
#idx_production ul li:nth-child(6) a::after{background: url(../images/icon06-06.png); }




#idx_production ul li p {
    font-size: 15px;
    letter-spacing: 0px;
    font-family: Arial;
    font-weight: bold;
    color: #9d2222;
}

/**idx_news**/

#idx_news {
    /* background: linear-gradient(to bottom, #ffffff 0%,#f4f4f4 35%,#ececec 45%,#e0e0e0 56%,#dbdbdb 66%,#d8d8d8 74%,#dddddd 95%); */
    /* background: linear-gradient(45deg, #db0808 3%,#e23f3f 24%,#d60000 81%); */
    background: url(../images/center-banner.jpg);
    background-attachment: fixed;
}
#idx_news ul {
    position: relative;
}
#idx_news li {
    padding: 2% 0;
    letter-spacing: 1px;
    font-weight: bold;
    text-align: left;
    color: #FFF;
    border-bottom: 1px solid #FFF;
}
#idx_news .date {
    margin: 0 3%;
    width: 30%;
    font-size: 15px;
    text-align: left;
}
#idx_news li p {
    display: inline-block;
    margin: 0;
    padding-right: 3%;
    width: 65%;
    font-size: 18px;
    text-align: left;
    color: white;
    line-height: 120%;
    vertical-align: middle;
}
span.more_btn {
    display: inline-block;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
#idx_news li .more_btn a {
    display: block;
    padding: 5px 20px;
    text-align: center;
    color: rgb(255, 255, 255);
    font-weight: 200;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 20px;
}
#idx_news li .more_btn:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #a2a2a2;;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
#idx_news li .more_btn:hover a, #idx_news li .more_btn:focus a, #idx_news li .more_btn:active a {
    color: #fff;
}
#idx_news li .more_btn:hover:before, #idx_news li .more_btn:focus:before, #idx_news li .more_btn:active:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    border-radius: 20px;
}

/**idx_about,  idx_Products**/

.idx_section { margin:50px auto 30px; display:flex; align-items:stretch; max-width:1000px; }
#idx_about, #idx_Products { position:relative; width:100%; }
#idx_about .box, #idx_Products .box {
    min-height: 255px;
    padding: 50px 27px 20px 27px;
    text-align: center;
    line-height: 28px;
}
#idx_Products .box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height:100%;
}
#idx_about .title, #idx_Products .title {
    position: absolute;
    width: 100%;
    top: -25px;
    z-index: 999;
    margin: 0;
}
#idx_Products #owl-demo2 .item img {
    display: block;
    width: 100%;
    height: auto;
    filter: inherit;
}
#owl-demo2 {}
#idx_Products #owl-demo2 .owl-prev {
    position: absolute;
    top: calc(100%/2 - 34px);
    left: -29px;
}
#idx_Products #owl-demo2 .owl-next {
    position: absolute;
    top: calc(100%/2 - 34px);
    right: -29px;
}
#idx_Products #owl-demo2 .owl-buttons div {
    display: inline-block;
    zoom: 1;
    margin: 0px;
    padding: 20px 4px;
    color: #FF4141;
    font-size: 32px;
    opacity: 1;
    border-radius: 0px;
    border: 2px solid #ADADAD;
    background: #fff;
}
#idx_Products #owl-demo2 .owl-buttons div:hover {
    background: #EA1616;
    color: #FFF;
}
#owl-demo2 a img:hover {
    border: 1px solid #CCC;
}
@media print, screen and (max-width:999px) {
    #top {
        border-bottom: 3px solid #E0F8FE;
    }
    #banner.container {
        padding: 0;
        border-radius: 0px;
        box-shadow: none;
    }
    #idx_about .box, #idx_Products .box {
        min-height: 330px;
    }
    #banner #owl-demo .item img {
        border-radius: 0;
    }
    #idx_production ul li {
        width: calc(100%/3 - 25px);
    }
}
@media print, screen and (max-width:768px) {
    .idx_section { margin:30px auto; display:block; }
    #idx_about, #idx_Products {
        width: 100%;
        margin: 5% 0;
        margin: 40px 0 20px;
    }
    #idx_about .box, #idx_Products .box {
        min-height: auto;
    }
    #idx_news .date {
        margin: 0 3% 0 0;
    }
    #idx_news li {
        padding: 5% 0;
    }
    #idx_news li p {
        width: 60%;
    }
}
@media print, screen and (max-width:640px) {}
@media print, screen and (max-width:540px) {
    #idx_production ul li {
        width: calc(100%/2 - 25px);
    }
    #idx_news li {
        text-align: center;
    }
    #idx_news li p {
        width: 100%;
        margin: 3% 0;
        text-align: center;
        font-size: 21px;
    }
    #idx_news li .more_btn {
        margin: 3%;
    }
}
