@charset "UTF-8";
/* header-custom 頁首-自定義 */
/*
                        出金入金
                    */
.header-custom {
	position: fixed;
    background: #fff;
    width: 100%;
    z-index: 10;
    -webkit-box-shadow: 0 0 10px #000;
    -moz-box-shadow: 0 0 10px #000;
    box-shadow: 0 0 10px #000;
}
.header-custom .area {
	width:100%;
	z-index:1000;
	padding:0;
	background:#fff;
}

/* 上方連結 ------------------------------------------------------------------*/
.header-custom .skybar {
	background: #fff;
	min-height: 0;
    margin-bottom: 0;
    border: 0;
	border-radius:0;
	padding:3px 8% 0;
}
.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 .skybar .open .dropdown-menu {
	border: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	padding:0;
	border-radius:0;
}
.header-custom .skybar .nav-fit {
    float: right;
}
/* 搜尋 */
.header-custom .search {
	display: block;
	position: relative;
	width: 100%;
	margin: 0 auto;
}
/* 搜尋框 */
.header-custom .search .stylish-input-group {
	position: absolute;
	right:0;
	top:-23px;
}
.header-custom .search input.form-control {
	border: none;
	padding: 0px;
	width: 25px;
	box-shadow: none !important;
	height:28px;
	background-color: #fff;
    color: #000 !important;
	opacity:0;
}
/* 搜尋框內文字 */
.header-custom .search .input-group.stylish-input-group input::placeholder {
 color: #bbb !important;
}
/* 搜尋框開啟 */
.header-custom .search .input-group:hover.stylish-input-group input.form-control {
	padding:0 10px;
	width: 150px;
	opacity:1;
}
.header-custom .search input.form-control,
.header-custom .search .search-icon-btn {
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-ms-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}
/* 搜尋按鈕 */
.header-custom .search-submit {
    position: absolute;
	border:none;
	background: transparent;
    right: 0;
    outline: none;
    z-index: 100;
	font-size:0.9em;
	padding: 0 5px;
}
.header-custom .search-submit svg {
	position: relative;
	bottom:-2px;
}
.header-custom .search-submit:hover svg,
.header-custom .search-submit:focus svg,
.header-custom .input-group:hover svg,
.header-custom .input-group:focus svg {
	color:#c30d23;
}
@media (max-width: 1000px) {
	.header-custom .skybar {
		display:none;
	}
}

/* logo ------------------------------------------------------------------*/
.header-custom .logo {
	min-height: 0px;
    text-align: left;
    height: 70px;
    padding: 5px 8%;
    margin-top: 0px;
}
.header-custom .logo a {
	position:relative;
	display:inline-block;
	padding: 0;
	margin: 0;
	line-height: 0 !important;
}
@media (max-width: 1000px) {
	.header-custom .logo {
		height: auto;
		background:#fff;
		padding:5px 6%;
        margin-top: 0;
	}
	.header-custom .logo a {
        width:260px;
	    height: 60px;
	}
}

/* mainMenu主選單 ------------------------------------------------------------------*/
.header-custom .mainMenu {
	margin-bottom:0;
	padding:0 8%;
	border:none;
	border-radius: 0px;
	width: 100%;
	min-height: 0px;
}
.header-custom .mainMenu>nav {
	position: relative;
	margin-top: 0px;
}
.header-custom .mainMenu .menulist {
	position:absolute;
	display:block;
	top: -35px;
	right:0;
}
.header-custom .menulist > li {
	display: inline-block;
	text-align: center;
	font-size:1.2rem;
    border-right: 1px solid #b5b5b5;
}
.header-custom .mainMenu .menulist>li a {
	display: inline-block;
	padding:20px 17px;
	width:100%;
	z-index:900;
	color: #000;
}

.header-custom .mainMenu .menulist>li:hover a,
.header-custom .mainMenu .menulist>li.open a {
	color: #c51720;
}
.header-custom .mainMenu .menulist>li.open>a {
	background: transparent;
}
.header-custom .mainMenu .menulist>li .dropdown-submenu > a:hover:after,
.header-custom .mainMenu .menulist>li.open .dropdown-submenu > a:hover:after {
    border-left-color: #fff;
}

.header-custom .mainMenu .menulist>li a.caret {
	position:absolute;
	display:block;
	width:15px;
	height:24px;
	padding:0;
	border:none;
    font-family: FontAwesome;
	z-index:1010;
	top:0;
	right:0;
	cursor:pointer;
	z-index:1000;
	line-height:24px;
	text-align:center;
}

/* 主選單第二層 ------------------------------------------------------------------*/
.header-custom .menulist .dropdown-menu {
	min-width:130px;
	text-align:center;
	font-size: 1.1rem;
	border-radius: 0px;
	box-shadow: none;
	padding: 0;
}
.header-custom .menulist .dropdown-menu li {
	position:relative;
	min-width:100%;
	text-align:center;
}
.header-custom .menulist>li:hover>.dropdown-menu,
.header-custom .menulist>li.open>.dropdown-menu {
	margin-top: 0px;
}
.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: #333!important;
}
.header-custom .dropdown-menu li a:hover {
	background: #c51720;
	color: #fff !important;
}
.header-custom .dropdown-menu > .active > a,
.header-custom .dropdown-menu > .active > a:focus,
.header-custom .dropdown-menu > .active > a:hover {
	background: #c51720 !important;
	color: #fff !important;
}


@media (max-width: 1040px) {
	.header-custom .menulist > li {
		border-right: none;
	}
	/* 主選單第二層以後 */
	.header-custom .menulist .dropdown-menu {
		font-size: 1.05rem;
		margin: 0;
		background-color: #fff;
		border: 0px solid transparent;
	}
}

/* 主選單第三層以後 */
.header-custom .menulist>li.dropdown>ul .dropdown-menu {
	position:absolute;
	top:0;
	margin-top:0;
	left:100%;
}
.header-custom .menulist>li li:hover>.dropdown-menu {
	display:block;
}

@media (min-width: 1000px) {
	.header-custom .dropdown:hover>.dropdown-menu {display: block;}
    .header-custom .mainMenu .menulist>li>a {
	    padding: 0px 15px;
    }
	.header-custom .mainMenu .menulist .caret {
		display:none !important;
	}
}
@media (max-width: 1040px) {
	.header-custom .mainMenu {
		padding: 0;
		border: none;
	}
	.header-custom .mainMenu .menulist {
		position: relative;
		display:block;
		float:none;
		top: 0px;
		text-align: center;
		margin-bottom: 0;
	}
	.header-custom .mainMenu .nav-menu {
		float:none;
	}
	.header-custom .menulist > li:before {
		content: "";
		position: absolute;
		left: 0;
		right: 100%;
		bottom:0;
		height:0;
		background: none;
	}
	.header-custom .mainMenu .menulist>li a {
	}
	.header-custom .mainMenu .menulist>li a.caret {
	    width:60px;
        height:60px;
        line-height:60px;
        top: 0;
	}
	.header-custom .menulist>li:hover>.dropdown-menu,
	.header-custom .menulist>li.open>.dropdown-menu {
		margin-top: 0;
	}
	.header-custom .dropdown.open > .dropdown-menu {
		background-color: #fff;
	}
	.header-custom .mainMenu .menulist>li:hover>a,
	.header-custom .mainMenu .menulist>li.open>a {
	    background-color: #c51720 !important;
		color: #fff;
	}
	.header-custom .dropdown-menu li a:hover  {
		background-color: #c51720 !important;
		color: #fff;
	}
	.header-custom .open .dropdown-menu {
		display: block;
		margin-top: 0px;
		position: relative;
		width: 100%;
	}
	/*主選單第三層以後*/
    .header-custom .menulist>li.dropdown>ul .dropdown-menu {
		position: relative;
		top: 0;
		left:0;
	}
	.header-custom .menulist>li.dropdown>ul .dropdown-menu a {
		padding: 20px 5px 20px 40px !important;
	}
    /*漢堡選單*/
    .navbar-default .navbar-header {
		height: inherit ;
		position: absolute;
		top: -60px;
		right: 0;
	}
	.navbar-default .navbar-toggle {
		display: block;
		z-index: 3000;
       padding: 12px 12px;
       margin-top: 0;
       margin-right: 8px;
       margin-bottom: 0;
       border-radius: 4px;
	}
    .navbar-default .navbar-toggle .icon-bar {
		width: 30px;
		height: 2px;
		background-color: #333 !important;
	}
	.navbar-toggle .icon-bar+.icon-bar {
		margin-top: 7px;
	}
	.navbar-default .navbar-toggle:hover .icon-bar, .navbar-default .navbar-toggle:focus .icon-bar {
		background-color: #fff !important;
	}
	.navbar-default .navbar-toggle {
		border-color: none;
		border: none;
	}
	.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
		background-color: #c51720;
		border-color: #c51720;
	}
	
	/* 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: #fff;
		font-weight:normal;
		background-color: #c51720;
	}
	.header-custom .menulist > li > a:before {
		background: #c51720;
	}
	.header-custom .menulist > li > a:hover:before {
		background: #c51720;
		-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: #c51720;
		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;
	}
}

/* 首頁輪播與 內頁單元視覺------------------------------------------------------------------*/
.index_mainbanner-01,
.page_banner {
	padding-top:70px;
}
@media screen  and (max-width: 1040px) {
    .index_mainbanner-01,
    .page_banner {
	    padding-top:70px;
    }
}