@charset "UTF-8";
 
/* header-custom 頁首-自定義 */
html {

}
.header-custom {
	position: fixed;
    background: #fff;
    width: 200px;
    height:100vh;
    z-index: 10;
    top:0;
    left:0;
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 0 3px rgba(0,0,0,0.3);
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
}
.header-custom .area {
	width:100%;
    height:100%;
	z-index:1000;
	padding:0;
	background: #fe7001;
    overflow: visible;
    position:relative;
	/*border-bottom:10px solid #eee;*/
    /*overflow-y: auto;
    overflow-x: visible;*/
}
.header-custom .pc {
    display: block;
}
.header-custom .mb {
    display: none;
}
@media only screen and (max-width: 1040px) {
    .header-custom {
        width:100%;
        height:unset;
        background: transparent;
        z-index: 10;
        -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.3);
        -moz-box-shadow: 0 0 3px rgba(0,0,0,0.3);
        box-shadow: 0 0 3px rgba(0,0,0,0.3);
    }
    .header-custom .area {
        height:unset;
        background: ;
     }
    .header-custom .pc {
        display: none;
    }
    .header-custom .mb {
        display: block;
    }
}
.mCustomScrollBox ,.mCSB_container {
   overflow:visible;
}
.mCSB_outside+.mCSB_scrollTools {
   right:-10px;
}
/* 上方連結 ------------------------------------------------------------------*/
.header-custom .skybar {
    overflow: hidden;
	padding:10px 6%;
    display: none;
}
.header-custom .skybar ul li {
	position:relative;
	list-style-type: none;
	display: inline-block;
	padding: 0 8px;
	line-height: 28px;
	color:#000;
}
.header-custom .skybar a {
	color: #000;
	text-decoration: none;
}
.header-custom .skybar a:hover {
	color: #c30d23;
}

/* 搜尋框 */
.header-custom .search {
    display: block;
	position: relative;
	width: 100%;
	margin: 0 auto;
}
.header-custom .search input {
	padding: 10px;
	width: 100%;
	height: 38px;
    font-family: Microsoft JhengHei;
    font-size: 17px;
    line-height: 38px;
	background: #fff;
    border: 1px solid #5084e9;
    border-radius: 4px;
}
.header-custom .search input::placeholder {
    color: #bbb !important;
}

/* 搜尋按鈕 */
.header-custom .search button {
    position: absolute;
    width: 38px;
    height: 38px;
    font-size: 0.9em;
    color: #004fd5;
    background: transparent;
    padding: 0 5px;
    border: none;
    right: 0;
    outline: none;
    z-index: 100;
    
}
.header-custom .search button svg {
	position: relative;
	bottom:;
}

@media (max-width: 1040px) {
	.header-custom .skybar {
        padding: 10px 20px;
        background: #666;
	}
}

/* logo ------------------------------------------------------------------*/
.header-custom .logo {
    display:inline-block;
	min-height: 0px;
    text-align: left;
    padding: 30px;
    background: #d75e00;
}
.header-custom .logo a {
	position:relative;
	display:inline-block;
	padding: 0;
	margin: 0;
	line-height: 0 !important;
    overflow: visible;
}
.header-custom .logo a img {
    transition: .3s;
}
.header-custom .logo a:hover img {
    transition: .3s;
    transform: scale(1.075);
}
.header-custom .logo .title {
    display: none;
    color:#000;
    font-size: 1rem;
    line-height: 1;
    margin-top:8px;
}
@media (max-width: 1040px) {
	.header-custom .logo {
		height: auto;
		padding: 8px 20px;
        margin-top: 0;
        width: 100%;
        background: #fe7001;
	}
	.header-custom .logo a {
	    height: 50px;
        text-align:start;
	}
    body.page .header-custom .logo {
	}
}

/* mainMenu主選單 ------------------------------------------------------------------*/
.navbar-collapse {
       padding-left:0px !important;
       padding-right:0px !important;
}
.header-custom .mainMenu {
    background-color: #fe7001;
	margin-bottom:0;
	padding:0;
	border:none;
	border-radius: 0px;
	width: 100%;
	/*min-height: 100%;*/
    height:100%;
}
.header-custom .mainMenu>nav {
	position: relative;
	margin-top: -1px;
    margin-bottom: 0;
    z-index: 1;
}
.header-custom .mainMenu .menulist {
    /*height:100%;*/
    background: #;
    z-index: 1;
    position: relative;
}
.header-custom .menulist > li {
	display: inline-block;
    width:100%;
	text-align: center;
	font-size:1.25rem;
    font-weight: 300;
    transition: .3s;
}
.header-custom .menulist > li.open {
    transition: .3s;
}
.header-custom .mainMenu .menulist>li a {
	padding: 20px 1rem;
	width:100%;
	z-index:900;
	color: #fff;
    font-weight: ;
    transition:0.3s;
}
/*展開按鈕*/
.header-custom .mainMenu .menulist>li a.caret {
	position:absolute;
    top:0;
	right:0;
	display:block;
	width:100%;
	height:60px;
    line-height:60px;
	padding:0 20px 0 0;
	border:none;
    font-family: FontAwesome;
    color: #fff;
	background-color: transparent;
	cursor:pointer;
	text-align: right;
    z-index:1010;
}
.header-custom .mainMenu .menulist>li a.caret[aria-expanded="true"] i.fa-angle-down:before {
    content: "\f106";
}

.header-custom .mainMenu .menulist>li:hover>a:first-child,
.header-custom .mainMenu .menulist>li.open>a:first-child {
    background-color: #f59449;
}
.header-custom .mainMenu .menulist>li:hover > a,
.header-custom .mainMenu .menulist>li.open  > a {
	color: #fff;
}

/* 主選單第二層 ------------------------------------------------------------------*/
.header-custom .menulist .dropdown-menu {
    display:none;
    height: 0;
	min-width:100%;
	text-align:center;
	font-size: 1.2rem;
	border-radius: 0px;
	box-shadow: none;
	padding: 0;
    transition: .3s;
}
.header-custom .menulist>.dropdown>.dropdown-menu {
	position:relative !important;
    background-color: #272727;
}
.header-custom .menulist .dropdown-menu li {
	position:relative;
	min-width:100%;
	text-align:center;
}
.header-custom .menulist .dropdown-menu li:first-child {
    border-top:none;
}
/*打開 open */
.header-custom .menulist .open>.dropdown-menu {
	display: block;
	margin-top: 0px;
	position: relative;
	width: 100%;
    height: auto;
}
.header-custom .mainMenu > li {
	padding: 20px 10px;
}
.header-custom .mainMenu > li > a {
	padding: 20px 10px;
}
/* 主選單第二層以後顏色 */
.header-custom .dropdown-menu {
	color: #333;
	background-color: #f2f3f5;
	border: none;
}
.header-custom .dropdown-menu li a {
	color: #fff;
    font-size: 1.1rem;
}
.header-custom .dropdown-menu li a:hover {
	background: #595959;
	color: #fff;
}
.header-custom .dropdown-menu > .active > a,
.header-custom .dropdown-menu > .active > a:focus,
.header-custom .dropdown-menu > .active > a:hover {
	background: #595959 !important;
	color: #fff ;
}

@media (max-width: 1040px) {
	.header-custom .menulist > li {
       background: #000000ad;
		border-right: none;
	}
	/* 主選單第二層以後 */
	.header-custom .menulist .dropdown-menu {
		font-size: 1.05rem;
		margin: 0;
		background-color: #000;
		border: 0px solid transparent;
	}
}

/* 主選單第三層以後 */
.header-custom .menulist>li.dropdown>ul .dropdown-menu {
    min-width:130px;
	position:absolute;
	top:0;
	margin-top:0;
	left:100%;
}
.header-custom .menulist>li li:hover>.dropdown-menu {
	display:block;
}

/* 其他連結 ------------------------------------------------------------------*/
.header-link {
    display:block;
    width: 100%;
    padding: 30px 0 0;
}
.header-link a {
    display:block;
    width: 100%;
    text-align:center;
    color:#333;
    font-size: 1.15rem;
    font-weight: 400;
    padding: 5px 0;
}
.header-link a:hover {
    color:#266ce9;
}

@media (max-width: 1040px) {
    /*主選單*/
	.header-custom .mainMenu {
		padding: 0;
		border: none;
	}
	.header-custom .mainMenu .menulist {
		position: relative;
		float:none;
		top: 0px;
		text-align: center;
		margin: 0;
       max-height: 100vh;
       height:100vh;
       overflow-x: hidden;
       overflow-y: auto;
       background: #0000008f;
       padding-bottom: 80px;
    }
	.header-custom .menulist > li:before {
		content: "";
		position: absolute;
		left: 0;
		right: 100%;
		bottom:0;
		height:0;
		background: none;
	}
	.header-custom .mainMenu .menulist>li a {
        padding: 20px 10px 20px 20px ;
        text-align: left;
	}
	.header-custom .mainMenu .menulist>li a.caret {
        padding: 0 20px 0 0;
        text-align: right;
	}

	/*主選單第二層*/
    .header-custom .menulist>li.dropdown>ul a {
        padding: 20px 0px 20px 30px;
        font-size: 1.1rem;
        white-space: nowrap;
    }
    /*取消hover打開第三層*/
   .header-custom .menulist li.dropdown-menu a:hover ul  {
        display:none;
	}
    /*打開第三層的按鈕(偽元素)*/
   /* .header-custom .menulist>li.dropdown>ul.dropdown-menu>li::before {
        position: absolute;
        top: 0;
        right: 0;
        display:block;
        width: 70%;
        height:60px;
        line-height:60px;
        font-family: FontAwesome;
        /*content: "\f107";*/
        /*content: "我是偽元素";
        text-align: right;
        padding: 0 20px 0 0;
        z-index:100000;
    }*/
    /*偽元素hover似乎無效*/
    .header-custom .menulist>li.dropdown>ul.dropdown-menu>li:hover::before {
        background:#000;
        color:red;
    }
    
	/*主選單第三層以後*/
    .header-custom .menulist>li.dropdown>ul .dropdown-menu {
		position: relative;
       display:block !important;
		left:0;
        text-align: left;
        width:100%;
        padding: 10px;
        background:#fff;
	}
     .header-custom .menulist>li.dropdown>ul .dropdown-menu li {
		width: auto !important;
        min-width: auto !important;
         display: inline-block;
         border-top: none;
	}
	.header-custom .menulist>li.dropdown>ul .dropdown-menu a {
        width: auto;
        font-size: 1rem;
		padding: 10px !important;
        font-weight: 400;
	}
    .header-custom .menulist>li.dropdown>ul .dropdown-menu a:hover {
        background:#fff;
        color:#266ce9;
	}
    /*其他連結*/
    .header-link {
        display: none;
    }
    
    /*漢堡選單*/
    .mainMenu .navbar-header {
		height: inherit ;
		position: absolute;
		top: 11px;
		right: 0;
	}
	.mainMenu .navbar-toggle {
		display: block;
		z-index: 3000;
       padding: 12px 12px;
       margin-top: 0;
       margin-right: 8px;
       margin-bottom: 0;
       border-radius: 4px;
	}
    .mainMenu .navbar-toggle .icon-bar {
		width: 30px;
		height: 2px;
		background-color: #fff !important;
	}
	.navbar-toggle .icon-bar+.icon-bar {
		margin-top: 7px;
	}
	.mainMenu .navbar-toggle:hover .icon-bar,
    .mainMenu .navbar-toggle:focus .icon-bar {
		background-color: 6 !important;
	}
	.mainMenu .navbar-toggle:focus,
    .mainMenu .navbar-toggle:hover {
		background-color: transparent;
		border-color: transparent;
	}
	
	/* dropdown-menu (第二層以後的選單) */
    .header-custom .menulist > li > a:hover, 
    .header-custom .menulist > .open > a, 
    .header-custom .menulist > .open > a:focus, 
    .header-custom .menulist > .open > a:hover {
		color: ;
		background-color: ;
	}
	.header-custom .menulist > li > a:before {
		background: #d75d07;
	}
	.header-custom .menulist > li > a:hover:before {
		background: #d75d07;
		-webkit-transition-property: right;
		transition-property: right;
		-webkit-transition-duration: 0.3s;
		transition-duration: 0.3s;
		-webkit-transition-timing-function: ease-out;
		transition-timing-function: ease-out;
	}
	.header-custom .menulist > li > a:focus,
	.header-custom .menulist > li > a:hover {
		color: ;
		background-color: transparent;
	}
	.header-custom .menulist > .active > a,
	.header-custom .menulist > .active > a:focus,
	.header-custom .menulist > .active > a:hover {
		background-color: transparent;
	}
	  /* ff only */
	  @-moz-document url-prefix() {
		 .dropdown-submenu > a:after {
		 margin-top: -10px;
		}
	}
}

@media screen and (min-width: 992px) and (max-width: 1040px) {
	.navbar-default .navbar-header {
		height: 80px !important;
		position: absolute;
		top: -60px !important;
		right: 0;
	}
	.nav-fit {
		position: absolute;
		padding: 0px;
		z-index: 600;
	}
	.navbar-collapse > .nav-menu {
		margin-top: 0px !important;
	}
}

@media only screen and (max-width: 1040px) {
	/* menu settings (行動版選單設定) */
	 .nav-fit .hidden-sm {
		display: none;
	}
	 .navbar-form {
		padding: 0 15px;
		width: auto;
	}
	 .navbar-nav > li:first-child {
	}
	 .navbar-nav > li > a {
		line-height: 20px;
	}
	 .nav > li > a {
		position: relative;
		display: block;
		padding: 10px;
	}
	 .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
		color: #fff;
	}
	 .navbar-collapse > .nav-menu {
		margin-top: 0px;
	}
	 .navbar-collapse > .nav-fit {
		display: block;
		width: 100%;
	}
	 .navbar-collapse.collapse {
		display: none !important;
	}
	 .navbar-collapse.collapse.in {
		display: block !important;
	}
	 .collapsing {
		overflow: hidden !important;
	}
	 .navbar-right {
		float: none !important;
	}
	 .navbar-top .nav-fit .navbar-form {
		margin-left: -15px !important;
		margin-right: -15px !important;
	}
	 .nav-menu li {
		display: block;
		width: 100% !important;
		text-align: left !important;
	}
	 .dropdown.open > .dropdown-menu {
		width: 100% !important;
		position: static;
		float: none;
		border: none;
	}
}
.action-dark-gray{
    background-color:#595959 !important;
    color:#fff !important;
}
/* 首頁輪播 ------------------------------------------------------------------*/
.index_mainbanner-01 {
	padding-top:0px;
}
@media screen  and (max-width: 1040px) {
    .index_mainbanner-01 {
	    padding-top:80px;
    }
}
/* 公司資訊 info ------------------------------------------------------------------*/
.header-custom .info{
   position: absolute;
    bottom: 6vh;
    left: 0%;
    width: 100%;
    z-index: 0;
    color: #fff;
    font-size: 0.7rem;
    /* background: #efefef; */
    text-align: center;
    padding: 0 20px;
    line-height: 1.5;
}
.header-custom .info li {
    margin-bottom: 5px;
}
.header-custom .info a {
    color: #fff;
}

/* 社群連結 social */
.header-custom .social {
	position: absolute;
    display: block;
    width: 100%;
    text-align: center;
    bottom: 15vh;
    z-index: 0;
}
.header-custom .social li {
	margin-right: 5px;
	list-style: none;
	display: inline-block;
	line-height:30px;
}
.header-custom .social a {
	position:relative;
	display: block;
	width: 35px;
	height: 35px;
	text-align:center;
    color: #fff;
    background-color: transparent;
    border: 1px solid #fff;
	border-radius: 50%;
	overflow:hidden;
    transition: .3s;
}
.header-custom .social a:hover {
    color: #f5a445;
    background-color: transparent;
    border: 1px solid #f5a445;
}

.header-custom .social svg {
	font-size: 1rem;
	text-align: center;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	-o-border-radius: 50%;
}

@media screen  and (max-width: 1440px) {
    .header-custom .mainMenu .menulist>li a {
        padding: 15px 1rem;
        width: 100%;
    }
}

/*全頁範圍*/
.wrapper {
    padding-left:200px;
}
@media screen  and (max-width: 1040px) {
    .wrapper {
        padding-left:0;
        overflow: hidden;
    }
   .header-custom .social,
   .header-custom .info {
        display: none;
    }
}

/*Burgur---------------------------------------------------*/
.icon-bar{
    transition:0.3s;
}
.rotate-top {
  transform-origin: top left;
  transform: translate(10px, 0px) rotate(45deg);
  transition: 0.5s;
  margin-bottom: 10px;
}
.rotate-btm {
  transform-origin: bottom left;
  transform: translate(10px, 0px) rotate(-45deg);
  transition: 0.5s;
}
.slash-hide {
  opacity: 0;
  transition: 0.2s;
  transform: translateX(50%); 
}
/*.top-slash,.mid-slash,.btm-slash{
   opacity:1;
   animation:slash-fade-in 1s ease-in-out;
}
.mid-slash{
    transition-delay:0.3s;
}
.btm-slash{
    transition-delay:0.6s;
}
@keyframes slash-fade-in{
    0%{
        opacity:0;
        transform: translate(-50px, 0px) ;
    }
    100%{
        opacity:1;
        transform: translate(0px, 0px) ;
    }
}*/

