﻿@charset "utf-8";

/* common css */
@import url('reset.css');
body {
    font-family: arial, "微軟正黑體";
    background: url("../images/main_bg_02.png") no-repeat;
    background-position: bottom;


}
/* header */
#header {
    width: 100%;
    background: #214894;
    position: fixed;
    float: right;
    z-index: 3;
    height: 68px;
}
#header:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0px 1600px 45px 0;
    border-color: transparent #214894 transparent transparent;
    bottom:-45px;
    right:0;
    z-index: 2;
}
#header .logo{
    width: 390px;
    height: 89px;
    background: #FFF;
    position: absolute;
    top:0;
    left:0;
    padding: 17px 0 0 17px;
    box-sizing: border-box;
    z-index: 3;
}
#header .logo a{
    background:url("../images/logo02.png") no-repeat ;
    width: 360px;
    height: 60px;
    background-size: 100% auto;
    text-indent: -9999px;
    transition: all .3s;
    display: block;
}
#header .logo:after{
    content: "";
    position: absolute;
    top:0;
    right:-66px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0px 0 89px 66px;
    border-color: transparent transparent transparent #ffffff;
}
#header .logo:before{
    content: "";
    position: absolute;
    bottom:-40px;
    right:0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0px 0 40px 390px;
    border-color: transparent transparent transparent #ffffff;

}
/* slider */
#slider {
    position: relative;
    overflow: hidden;
    padding: 68px 0 0 0;
}
#slider .item img {
	display: block;
	width: 100%;
	height: auto;
}

#slider .owl-nav{
    display: none;
}

.owl-dots {
    text-align: center;
    width: 100%;
}

.owl-dot {
	display: inline-block;
	width: 20px;
	height: 20px;
	margin: 16px 20px 0 0;
	cursor: pointer;
    background: #e7e7e7;
    
}

.owl-dot.active {
	background: #08daf6; 
}

/* navigation */
#navigation {
    background: #214894;
    float: right;
    position: relative;
    padding: 0 50px 0 0;
}
#navigation>ul>li {
    float: left;
    position: relative;
    box-sizing: border-box;
    padding:28px 20px 0 20px;
}


#navigation>ul>li>a {
    font-size: 18px;
    color: #FFF;
    line-height: 40px;
    font-weight: bold;
    text-align: center;
    display: block;
}

#navigation>ul>li:hover {
    background:#0e2b65
}
#navigation ul li .sub-menu {
    position: absolute;
    top: 65px;
    background: rgba(36,86,182,1);
    width: 180px;
    left:0;
    display: none;
    transition: all .3s;
    z-index: 5;
}

#navigation ul li .sub-menu li {
    position: relative;
    border-bottom: 1px solid #214894;
}

#navigation ul li .sub-menu >li >a {
    color: #FFF;
    padding: 20px 20px;
    line-height: 20px;
    display: block;
    box-sizing: border-box;
    font-size: 16px;
}

#navigation ul.sub-menu >li:hover >a {
    background: rgba(27, 113, 194, 0.8);
}
#navigation ul li .sub-menu li.sub>a:after {
    display: block;
    content: "";
    background: url(../images/menu_arrow_right.png);
    width: 5px;
    height: 9px;
    position: absolute;
    right: 10px;
    top: 25px;
}
#navigation ul li .third-menu {
    position: absolute;
    left: 100%;
    top: 0;
    background: rgba(36,86,182,1);
    width: 100%;
    display: none;
}
#navigation .third-menu a {
    color: #FFF;
    padding: 20px 20px;
    line-height: 20px;
    display: block;
    box-sizing: border-box;
    font-size: 16px;
    border-bottom: 1px solid #214894;
}
#navigation .third-menu a:hover{
    background: rgba(27, 113, 194, 0.8);
}
/* mobile-toggle */
#mobile-toggle {
    position: fixed;
    top: 5px;
    right: 10px;
    width: 45px;
    height: 45px;
    text-indent: -9999px;
    z-index: 12;
    display: none;
    transition: all .3s;
}

#mobile-toggle.active {
    right: 280px;
    transition: all .3s;
}

#mobile-toggle::before,
#mobile-toggle hr,
#mobile-toggle::after {
    content: "";
    position: absolute;
    left: 6px;
    display: block;
    width: 30px;
    height: 4px;
    margin: 0;
    background: #FFF;
    border: none;
    transition: all .3s;
}

#mobile-toggle::before {
    top: 10px;
}

#mobile-toggle hr {
    top: 20px;
}

#mobile-toggle::after {
    top: 30px;
}

#mobile-toggle.active::before {
    top: 20px;
    transform: rotate(45deg);
}

#mobile-toggle.active hr {
    opacity: 0;
}

#mobile-toggle.active::after {
    top: 20px;
    transform: rotate(-45deg);
}
/* mobile */
#mobile {
    background: #214894;
    position: fixed;
    right: -280px;
    top: 0;
    width: 280px;
    height: 100%;
    transition: all .3s;
    z-index: 11;
    overflow: auto;
    
}
#mobile.active {
    right: 0px;
}
#mobile .navigation {
    
}
#mobile .navigation>ul {
    
}
#mobile .wrap .navigation>ul >li {
    border-bottom: 1px solid #0e2b63;
}

#mobile .wrap .navigation ul li a {
    font-size: 18px;
    color: #ffffff;
    line-height: 60px;
    padding: 0 25px;
    box-sizing: border-box;
    width: 100%;
    position: relative;
    display: block;
}

#mobile .wrap .navigation ul li>a:hover {
    background: #193b7d;
}

#mobile .wrap .navigation ul li.sub>a:after {
    display: block;
    content: "";
    background: url("../images/menu_arrow.png");
    width: 9px;
    height: 5px;
    position: absolute;
    right: 30px;
    top: 35px;
}

#mobile .wrap .navigation .sub-menu {
    background: #193b7d;
    display: none;
}

#mobile .wrap .navigation .sub-menu a:hover {
    background: #193b7d;
}

#mobile .wrap .navigation .sub-menu a {
    display: block;
    line-height: 60px;
    border-bottom: 1px solid #112b5e;
    padding: 0 25px;
    box-sizing: border-box;
}

#mobile .wrap .navigation ul li .third-menu {
    background: #324e85;
    display: none;
}

#mobile .wrap .navigation ul li .third-menu a {
    font-size: 15px;
    line-height: 50px;
    padding: 0 25px 0 40px;
}
/* footer */
#footer{
    width: 100%;
    background: url("../images/footer_bg.png");
    background-position: center top;
    overflow: hidden;
    position: relative;
}
#footer .wrap{
    padding: 100px 20px 20px 20px;
    overflow: hidden;
    max-width: 1600px;
    margin: 0 auto;
}
#footer .wrap .qrcode{
    text-align: center;
    width: 40%;
    float: left;
}
#footer .wrap .qrcode span{
    background: rgba(0,0,0,.3);
    font-size: 18px;
    color: #FFF;
    font-weight: bold;
    display: block;
    padding: 10px;
    box-sizing: border-box;
    width: 220px;
    margin: 10px auto 0 auto;
}
#footer .wrap .info{
    float: right;
    color: #fff;
    width: 60%;
}
#footer .wrap .info .company_name{
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 20px 0;
}
#footer .wrap .info ul{
    float: left;
    margin: 0 35px 0 0;
}
#footer .wrap .info ul li{
font-size: 16px;
margin: 0 0 20px 0;
}
#footer .copyright{
    font-size: 14px;
    width: 100%;
    padding: 10px;
    background: #000;
    color:#fff;
    text-align: center;
}
#black{
    position: fixed;
    left: 0;
    top: 0;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.9);
    z-index: 10;
}
#black.active{
    display: block;
}
#contact {
    position: fixed;
    right: 20px;
    top: 60%;
    z-index: 3;
    background: url("../images/contact.png");
    background-size: 100% auto;
    width: 150px;
    height: 127px;
}
#contact:hover {
 opacity: 0.9;
}
/* gotop */
#gotop{
    position:fixed; 
    right:0; 
    bottom:0; 
    display:block;
    width:135px; 
    height:70px; 
    padding:35px 10px 0 0; 
    text-align:right; 
    box-sizing:border-box; 
    transition:all .3s; z-index:2
}
#gotop:before{
    content:""; 
    position:absolute; 
    right:0; bottom:0; 
    display:block; 
    width:0; height:0; 
    border-style:solid; 
    border-width:0 0 70px 100px; 
    border-color:transparent transparent #555 transparent; 
    transition:all .3s; z-index:0;
}
#gotop span{
    position: absolute;; 
    font-size:15px; 
    color:#FFF; 
    letter-spacing:.5px; 
    z-index:2;
    right: 15px;
    top: 40px;
}
#gotop span:after{
    content:""; 
    position: absolute;;
    top:-10px; 
    width: 15px;
    height: 9px;
    background: url("../images/gotop_arrow.png");
    right: 2px;
}
#gotop:hover:before{
    border-bottom-color:#122e64;
}
/* RWD */
@media screen and (max-width: 1600px) {
    #navigation{
        padding: 0 10px 0 0;
    }
    #header .logo{
        width: 300px;
    height: 80px;
    }
    #header .logo:after{
        border-width: 0px 0 80px 66px;
    }
    #header .logo:before{
        border-width: 0px 0 40px 300px;
    }
    #header .logo a{
        width: 290px;
        height: 48px;
    }
    #header:after{
        border-width: 0px 1400px 35px 0;
        bottom: -35px;
    }
    
}
@media screen and (max-width: 1360px) {
    #header{
        height: 50px;
    }
    #header:after{
        display: none;
    }
    #slider {
		padding: 50px 0 0 0;
	}
    #navigation{
        display: none;
    }
    #mobile-toggle{
        display: block;
    }
    #header .logo{
        width: 200px;
        height: 50px;
        padding: 10px 0 0 0;
    }
    #header .logo a{
        width: 200px;
        height: 33px;
    }
    #header .logo:after{
        border-width: 0px 0 50px 33px;
        right: -33px;
    }
    #header .logo:before {
        bottom: -20px;
        border-width: 0px 0 20px 300px;
    }
    #slider{
        
    }
    .left_box {
        float: none;
        width: 100%;
        text-align: center;
    }
    .left_box ul{
        display: flex;
        flex-wrap:wrap;
    }
    .left_box li{
        width: calc((100% - 120px)/3);
        margin: 0 20px 25px 20px;
    }
    .right_box{
        width: 100%;
        margin: 20px 0 0 0;
    }
    #contact {
        width: 100px;
        height: 85px;
        top: 28%;
    }
}
@media screen and (max-width: 950px) {
    .left_box li{
        width: calc((100% - 80px)/2);
    }
    #footer{
        background: #2b2b2b;
    }
    #footer .wrap .qrcode{
        float: none;
        width: 100%;
    }
    #footer .wrap .qrcode img{
        display: none;
    }
    #footer .wrap {
        padding: 15px;
    }
    #footer .wrap .info{
        width: 100%;
    }
    #footer .wrap .info .company_name{
        text-align: center;
        margin: 20px 0;
    }
    #footer .wrap .info ul{
        width: 50%;
        margin: 0;
        padding: 0 10px;
        box-sizing: border-box;
        text-align: center;
    }
}
@media screen and (max-width: 600px) {
    .left_box li{
        width: 100%;
    }
    #contact {
        top: auto;
        bottom: 63px;
        right:0
    }
}
@media screen and (max-width: 700px) {
   
}
@media screen and (max-width: 600px) {
    #footer .wrap .info ul{
        width: 100%;
    }
}

}