@charset "utf-8";

/* CSS Document */
html{
    height:100%;
    font-size:62.5%;
}
body{
    padding: 0;
    margin: 0;
}
*{
    font-family: Arial, FontAwesome, "微軟正黑體";
    font-size: 1.4rem;
}
/* index */
.index_body{

}
.index_select_wrap{
    width:420px;
    padding:18px;
    position: absolute;
    top:50%;
    left:50%;
    margin-top:-30px;
    margin-left:-290px;
    -moz-transform:translate(-50%, -50%);
    -webkit-transform:translate(-50%, -50%);
    -o-transform:translate(-50%, -50%);
    -ms-transform:translate(-50%, -50%);
    transform:translate(-50%, -50%);
    z-index:2;
}
.bubble{
    background:url("../img/window_bg.png") repeat;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 5px 15px 0px rgba(0,0,0,0.3);
}

.bubble:after{
    content: '';
    position: absolute;
    /*border-style: solid;
    border-width: 15px 15px 0;
    border-color: #FFFFFF transparent;*/
    background:url("../img/window_arrow_bg.png") no-repeat;
    display: block;
    width:99px;
    height:28px;
    z-index: 1;
    bottom:-27px;
    left:50%;
    -moz-transform:translateX(-50%);
    -webkit-transform:translateX(-50%);
    -o-transform:translateX(-50%);
    -ms-transform:translateX(-50%);
    transform:translateX(-50%);
}
.window_title img{
    width:100%;
    height:auto;
}
.index_select_wrap .form-control{
    padding-left:10px;
    border:1px solid #e40321;
    height:46px;
    font-size:18px;
}
.index_select_wrap form{
    width:100%;
}
.index_select_wrap form > div, 
.index_select_wrap form .btn{
    font-size:18px;
    margin:3px 0;
}
.index_select_wrap form .btn{
    border:1px solid #e40321;
    height:46px;
}
.index_select_wrap form > div{
    margin:15px 0px;
}
.index_select_wrap .bs-caret .caret{
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #dc0000;
}
.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn){
    width:100%;
}
.prod_num .hint{
    font-size:18px;
    color:#000000;
    text-align:right;
    margin:10px auto;
    display:block;
    text-decoration:none;
}
.submit_btn{
    text-align:center;
}
.submit_btn a,
.submit_btn a.btn.focus,
.submit_btn a .active:hover,
.submit_btn a .active:focus,
.submit_btn a:hover,
.submit_btn a:focus{

    width:178px!important;
    height:40px!important;
    border:none!important;
    outline: none!important;
    color:#fff!important;
    background: rgba(228,3,33,1);
    background: -moz-linear-gradient(top, rgba(228,3,33,1) 0%, rgba(146,2,21,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(228,3,33,1)), color-stop(100%, rgba(146,2,21,1)));
    background: -webkit-linear-gradient(top, rgba(228,3,33,1) 0%, rgba(146,2,21,1) 100%);
    background: -o-linear-gradient(top, rgba(228,3,33,1) 0%, rgba(146,2,21,1) 100%);
    background: -ms-linear-gradient(top, rgba(228,3,33,1) 0%, rgba(146,2,21,1) 100%);
    background: linear-gradient(to bottom, rgba(228,3,33,1) 0%, rgba(146,2,21,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e40321', endColorstr='#920215', GradientType=0 );
}
.index_bg{
    width:100%;
    height:100%;
    position:absolute;
    z-index:-1;

    background:url("../img/index_bg.jpg") no-repeat;
    background-size:cover;
}
.index_bg img{
    position:absolute;
    top:50%;
    left:100%;
    -moz-transform:translate(-100%, -50%);
    -webkit-transform:translate(-100%, -50%);
    -o-transform:translate(-100%, -50%);
    -ms-transform:translate(-100%, -50%);
    transform:translate(-100%, -50%);

}
.index2 .index_bg{
    width:100%;
    height:100%;
    overflow: hidden; 
}
.index2 .index_bg img{
    width:auto;
    height:100%;
}

@media (min-width:1400px){

    .index_bg img{

        position:absolute;
        top:50%;
        left:50%;
        -moz-transform:translate(-50%, -50%);
        -webkit-transform:translate(-50%, -50%);
        -o-transform:translate(-50%, -50%);
        -ms-transform:translate(-50%, -50%);
        transform:translate(-50%, -50%);

    }
}

@media (max-width:1023px){

    .index_select_wrap{
        margin-left:0px;
    }

}

@media (max-width:817px){

    .index_bg img{
        top:0px;
        left:50%;
        margin-left:-85px;
        -moz-transform:translate(-50%, 0);
        -webkit-transform:translate(-50%, 0);
        -o-transform:translate(-50%, 0);
        -ms-transform:translate(-50%, 0);
        transform:translate(-50%, 0);

    }

}

@media (max-width:540px){

    .index_select_wrap{
        width:90%;
        height:auto;
    }

}

@media (max-height:590px){

    .index_select_wrap{
        top:80px;
        -moz-transform:translateX(-50%);
        -webkit-transform:translateX(-50%);
        -o-transform:translateX(-50%);
        -ms-transform:translateX(-50%);
        transform:translateX(-50%);
        margin-bottom:80px;
    }

}

@media (max-width:325px) and (max-height:600px){

    .index2 .index_bg{
        width:100%;
        height:120%;
        overflow: hidden; 
    }

}

@media (max-width:325px) and (max-height:490px){

    .index2 .index_bg{
        width:100%;
        height:140%;
        overflow: hidden; 
    }

}

/* inside */
.inside_body{
    /*background:url("../img/side_bg.png") repeat;*/
    height:100%;
}

.inside_body > .container{
    width:100%;
    max-width:1170px;
    margin:0 auto;
    background-color:#fff;
    padding-left:0px;
    padding-right:0px;
}
.container-fluid{
    padding-left:0px!important;
    padding-right:0px!important;
}
/* nav */
.navbar-toggle {
    border:2px solid #e40321!important;
    color:#e40321!important;
}
.navbar-default {
    max-width:1170px;
    margin: 0 auto;
}
.navbar .container{
    width:100%;
    margin-right:0px;
}
.navbar-default .navbar-nav > li > a {
    color: #777;
}

.navbar-default .navbar-nav > li > a:hover{
    color: #e40321;
}
@media (min-width: 767px){
    .navbar-default {
        background-color: transparent;
        border-color: transparent;
    }
    .nav{
        background-color: #fff;
        border: 1px solid #cfcfcf;
        border-top:none;
        padding-left:15px;
        padding-right:15px;
        margin-right:5px;
        -webkit-box-shadow: 0px 10px 26px -13px rgba(0,0,0,0.2);
        -moz-box-shadow: 0px 10px 26px -13px rgba(0,0,0,0.2);
        box-shadow: 0px 10px 26px -13px rgba(0,0,0,0.2);
        border-radius: 0px 0px 3px 3px;
        -moz-border-radius: 0px 0px 3px 3px;
        -webkit-border-radius: 0px 0px 3px 3px;
    }
    .nav li a{
        padding:7px 10px;
    }
    .nav li.yahoo a{
        padding-right:7px;
    }
    .nav li.line_nav a{
        font-size:13px;
        cursor:default;
        display:inline-block;
        line-height:1.5;
        padding-left:0px;
        padding-right:0px;
    }
    .nav li.health_room a{
        padding-left:7px;
    }
    .nav i{
        font-size:15px!important;
    }
}
@media (max-width:767px){

    .navbar-default{
        margin-bottom:0px;
    }
    .nav .line_nav{
        display: none;
    }

}

.row{
    margin-right:0px!important;
    margin-left:0px!important;
}

/* wraps */
.wraps{
    width:100%;
    height:100vh;
    min-height:100vh;
    padding-top:50px;
    padding-left:50px;
}

.wraps > article,
.wraps > div{

    width:100%;
    max-width:1170px;
    margin:0 auto;

}

/* wrap1 - 內頁首頁 */
.wrap1{
    background: url("../img/wrap1_bg.jpg") no-repeat;
    background-position: 75% center;
    background-size:cover;
    padding-top:180px;
}
.wrap1 section{

    width:65%;
    padding:15px;
    background:url("../img/window_bg.png") repeat;
    border-radius: 2px 2px 2px 2px;
    -moz-border-radius: 2px 2px 2px 2px;
    -webkit-border-radius: 2px 2px 2px 2px;

}

.wrap1 section h4{
    color:#e40321;
}

.wrap1 section p{
    margin:0;
}

.wrap1 section p font{
    font-size:16px;
    line-height:1.5;
}

.wrap1 section p font:nth-child(2){
    display: block;
    margin-top:8px;
}

@media (max-width:768px){

    .wrap1{
        padding-left:0px;
        background: url("../img/wrap1_bg_m.jpg") no-repeat;
        background-position: 100% center;
        background-size:cover;
    }

    .wrap1 section{

        width:90%;
        margin: 0 auto;
        padding:20px;

    }

    .wrap1 section p:not(.hint){
        font-size:20px;
    }

    .wrap1 h4{
        line-height: 1.3;
    }

    .wrap1 section .hint{
        font-size:15px;
        padding-top:15px;

    }

}

@media (max-width:480px){

    .wrap1{
        padding-top:90px;
    }
    
}

/* wrap2 - 進料 */
.wrap2{
    height:auto;
    padding-bottom:30px;
    background: url("../img/wrap2_bg.jpg") no-repeat;
    background-position: 75% center;
    background-size: cover;
}
.docs_wrap{
    margin-top:30px;
}
.docs{
    display: inline-block;
    cursor: pointer;
    position:relative;
    margin-right:4%;
    margin-bottom:40px;
    display: inline-block;
}
.docs > .docs_info{
    padding:15px 20px 0px;
    z-index:2;
    position:absolute;
}
.docs > .docs_info h4{
    color:#e40321;
    font-size:21px;
}
.docs > .docs_info p{
    /*word-break: break-all;*/
}
.docs > .docs_info p .more_btn{
    color:#e40321;
}
.wrap2 .hint{
    width:575px;
    padding:10px;
    background:url("../img/window_bg.png") repeat;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
}
.wrap2 .hint_s{
    position:absolute;
    right:60px;
    bottom:10px;
}
.wrap2 .docs_qualify{
    width:84px;
    height:84px;
    position:absolute;
    bottom:-30px;
    right:-30px;
}
@media (max-width:800px){
    .wrap2{ 
        padding-left:30px;
    }
    .wrap2 h2{
        color:#fff;
    }
    .wrap2 .hint{
        width:90%;
    }
    .docs_wrap{
        margin-top:70px;
    }
    .docs{
        margin-left:calc(25% - 60px);
    }
}
@media (max-width:800px){
    .docs{
        margin-left:calc(25% - 75px);
    }
}
@media (max-width:480px){
    .docs{
        width:148px;
        display: block;
        margin:0 auto 40px;
    }
    .wrap2{
        background-position:80% center;
    }
}

@media (max-width:345px){
    .docs_wrap{
        margin-left:-30px;
    }
    
}

/* wrap3 - 生產 */
.wrap3{
    background: url("../img/wrap3_bg.jpg") no-repeat;
    padding-bottom:30px;
    background-size: cover;
    background-position: center bottom;
}
.pdf_url{
    text-align: right;
    padding-right:60px;
    margin-top:30px;
}
.pdf_url a,
.pdf_url a:hover,
.pdf_url a:focus,
.pdf_url a.active,
.pdf_url a.active:hover,
.pdf_url a.active:focus{
    padding-left:15px;
    padding-right:15px;
    /*background-color:#e40321!important;
    border-color:#e40321!important;*/
}
.pdf_url a *{
    font-size:17px;
    line-height:1.5;
}
.youtube_vid{
    position:relative;
    margin-top:30px;
    margin-left:-30px;
}
.youtube_vid a,
.youtube_vid a:hover,
.youtube_vid a:focus,
.youtube_vid .active,
.youtube_vid a.active{
    color:#fff;
    text-decoration:underline;
}
.youtube_vid a{
    display:inline-block;
}
.youtube_vid a *{
    font-size:20px;
    letter-spacing:0.5px;
}
.youtube_vid a i{
    color:#dc0000;
}
.youtube_vid > a > div{
    width:100%;
    text-align:center;
    position:absolute;
    z-index:10;
    top:50%;
    left:50%;
    -moz-transform:translate(-50%, -50%);
    -webkit-transform:translate(-50%, -50%);
    -o-transform:translate(-50%, -50%);
    -ms-transform:translate(-50%, -50%);
    transform:translate(-50%, -50%);
}
.youtube_vid a img{
    width:100%;
    display: block;
    margin:0 auto;
}
@media (max-width:767px){
    .wrap3{
        padding-left:30px;
        height:auto;
    }
    .pdf_url{
        text-align:center;
        padding:10px 0px 15px;
        margin-top:0px;
        margin-left:-30px;
    }
    .youtube_vid{
        margin-top:0px;
        margin-bottom:20px;
    }
    .youtube_vid a{
        display:block;
        text-align: center;
        margin-bottom:20px;
    }
}
@media (max-width:350px){
    .pdf_url > a > *{
        font-size:16px;
    }  
}
/* wrap4 - 生產 */
.wrap4{
    background: url("../img/wrap4_bg.jpg") no-repeat;
    padding:50px;
    background-size: cover;
    background-position: center center;
}
table{ 
    margin-top:10px;
}
th{
    background-color:#dc0000;
    color: #fff;
}
td{
    background-color:#fff;
}
table *{
    font-size:15px!important;
}
.table,
.table-bordered,
.table tr,
.table td{
    border: 1px solid #aeafaf;!important;
}
.table th{
    border: 1px solid #aeafaf;!important;
    border-top: 1px solid #aeafaf!important;
}
.table-left{
    width:calc(70% - 2px);
}
.table-right{
    width:calc(30% - 2px);
}
.brush_sitck{
    height:190px;
    text-align:center;
}
.brush_sitck a:nth-child(1),
.brush_sitck a:nth-child(2){
    margin-top:12px;
}
.brush_sitck a{
    width:calc(50% - 2px);
    display:inline-table;
    /*display: block;
    margin-top:10px;*/
    margin-bottom:10px;
    text-decoration:none;
    color:#000000;
}
.brush_sitck a > *{
    width:auto!important;
}
.brush_sitck i{
    color:#dc0000;
    margin:0px 2px;
}
@media (min-width:768px){
    table{
        display: inline-table;
    }
    .table-left{
        border-right-style: none!important;
    }
    .table-right{
        margin-left:-5px;
    }
    .brush_sitck a:nth-child(1){
        /*margin-top:25px;*/
    }
}
@media (max-width:767px){
    .wrap4{
        height:auto;
    }
    .table-left{
        width:100%;
    }
    .table-right,
    .table-right *{
        width:100%;
    }
    .brush_sitck{
        height:auto;
    }
    .wrap4 .hint{
        margin-bottom:200px;
    }
}
@media (max-width:767px){
    .wrap4 .hint{
        margin-bottom:100px;
    }
}
/*footer*/
/*footer*/
footer {
    bottom:0px;
    width: 100%;
    height:auto;
    position: fixed;
    padding-left: 0px!important;
    padding-right: 0px!important;
    z-index:999;
}
footer .bottom_nav{
    position: absolute;
    margin-left:15px;
    z-index:9999;
}

footer .bottom_nav a{
    width:120px;
    height:auto;
    color:#fff;
    font-size:28px;
    padding-left:8px;
    line-height:2.65;
    display: inline-block;
    margin-left:5px;
    text-decoration: none;
    background: url("../img/bottom_nav_bg.png") no-repeat;
    background-size:cover;
}

footer .bottom_nav a:hover,
footer .bottom_nav a.active{
    background: url("../img/bottom_nav_hover.png") no-repeat;
    background-size:contain;
}
footer img{
    width:1300px;
    height:180px;
    margin-top:1px;
    margin-left:100%;
    -moz-transform:translateX(-100%);
    -webkit-transform:translateX(-100%);
    -o-transform:translateX(-100%);
    -ms-transform:translateX(-100%);
    transform:translateX(-100%);

}
@media (max-width:992px){

    footer .bottom_nav a,
    footer .bottom_nav a:hover{
        width:110px;
        height:auto;
        color:#fff;
        font-size:20px;
        padding: 5px 5px 5px 13px;
        line-height: 2.8;
        margin-top:4px;
    }

}

@media (max-width:767px){

    footer {
        position: static;
        overflow: hidden;
    }
    footer .bottom_nav{
        width:auto;
        height:auto;
        position: fixed;
        top:0px;
        right:90px;
        z-index:2000;
    }
    footer .bottom_nav a,
    footer .bottom_nav a:hover{
        width:69px;
        font-size:13px;
        padding:2px 2px 2px 8px;
        line-height:3.1;
        margin-top:4px;
    }

    footer img{
        width:100%;
        height:auto;
    }

}
@media (max-width:550px){

    footer img{
        width:150%;
        height:auto;

    }

}

@media (max-width:350px){

    footer img{
        width:200%;
        height:auto;

    }

}

@media (max-width:340px){
    footer .bottom_nav a,
    footer .bottom_nav a:hover{
        width:65px;
        font-size:13px;
        padding:5px 6px;
        line-height:2.4;
        margin-top:5px;
        margin-left:-10px;
    }

}

.red{
    color:#e40321;
}
