@charset "utf-8";
/* import Document */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700;900&display=swap');
/*Noto Sans TC,font-family:'Noto Sans TC', sans-serif; font-weight:300(Light),400(Regular),500(Medium),700(Bold),900(Black)*/
@import url('https://fonts.googleapis.com/css2?familyfamily=Montserrat:wght@300;400;500;700;900&display=swap');
/*Noto Sans TC,font-family:'Montserrat', sans-serif; font-weight:300(Light),400(Regular),500(Medium),700(Bold),900(Black)*/


/*-------css reset------------*/

/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    /* border: 0; */
    /* font-size: 100%; */
    /* 繼承body或瀏覽器預設字型大小 */
    /* font: inherit; */
    vertical-align: baseline;
    box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    border-style: none;
    border: 0;
}

/* Forms*/

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}


input[type="checkbox"],
input[type="radio"] {
    margin-right: 5px;
    margin-left: 0;
    /* vertical-align: text-top; */
}

input[type="button"],
input[type="submit"],
input[type="reset"],
select,
button {
    cursor: pointer;
}

button {
    padding: 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

/*ios樣式清除*/
input[type="button"],
input[type="submit"],
input[type="reset"],
button {
    background-color: transparent;
    border: none;
    margin: 0px;
    background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#00ffffff', GradientType=1);
}

/*---------------------------------------------------------------------------------------------------------------------------------------*/
/* 基本設定 */

body {
    font-family: 'Montserrat', 'Noto Sans TC', 'Heiti TC', '黑體-繁', 'Microsoft JhengHei', '微軟正黑體', sans-serif;
    font-size: 16px;
    color: var(--dfborder);
    background-color: #fff;
    -webkit-overflow-scrolling: touch;
    /*momentum-based scrolling*/
    background-image: url(../images/bg_fix.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

#Wrap {
    height: 100%;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

:root {
    --style1-blue-dark: #0f58a3;
    --style1-blue--: #4ba4ff;
    --style1-blue-light: #cce9ff;
    --style1-blue-bg: #f7fcff;
    --style2-orange-dark: #d93f15;
    --style2-orange--: #ff981d;
    --style2-orange-light: #ffe4b3;
    --style2-orange-bg: #fffbf3;
    --style3-green-dark: #025856;
    --style3-green--: #26ad45;
    --style3-green-light: #e5f9e1;
    --style3-green-bg: #f7fbf4;
    --dfborder: #152632;
}

/* 連結 */

a {
    color: #152632;
    text-decoration: none;
    transition: all 0.3s ease;
}

a.active,
a:hover {
    color: var(--style1-blue-dark);
}

a:focus,
:focus {
    outline: 2px dashed #ffd13a;
}

/* 反選 */
::selection {
    background-color: #ffd13a;
    color: #fff;
}

#Footer *::selection {
    background-color: #ffd13a;
    color: #fff;
}

/*---------------------------------------------------------------------------------------------------------------------------------------*/

/*----Header----*/
#Header {
    width: 100%;
    position: relative;
}

@media screen and (min-width:1024px) {
    #Header .inner {
        width: 100%;
        position: relative;
    }
}


#Header .inner .header_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: var(--style1-blue--);
    border-radius: 0 0 10px 10px;
}

@media screen and (min-width:1440px) {
    #Header .inner .header_info {
        padding: 0 12.5vw;
    }
}

@media screen and (max-width:1439px) and (min-width:1024px) {
    #Header .inner .header_info {
        padding: 0 8vw;
    }
}

@media screen and (min-width:1024px) {
    #Header .inner .header_info {
        height: 65px;
    }
}

@media screen and (max-width:1023px) {
    #Header .inner .header_info {
        height: 55px;
        padding: 0 15px 0 65px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10005;
    }
}


/*----logo----*/

#Header .logo {
    flex: 0 1 auto;
    height: 100%;
}

@media screen and (min-width: 1024px) {
    #Header .logo {
        width: 190px;
    }
}

@media screen and (max-width:1023px) {
    #Header .logo {
        width: 120px;
        /* margin-left: calc(50% - 60px); */
    }
}

#Header .logo h1,
#Header .logo a {
    width: inherit;
    height: inherit;
}

#Header .logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

@media screen and (max-width: 1023px) {
    #Header .logo a {
        justify-content: center;
    }
}

#Header .logo a img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

/*----social_link----*/

#Header .social_link .list {
    display: flex;
    align-items: center;
}

#Header .social_link .list>li {
    margin-left: 10px;

}

#Header .social_link .list a {
    display: block;
    width: 30px;
    height: 30px;
    text-indent: -999px;
    position: relative;
    overflow: hidden;
}

#Header .social_link .list a::before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: 200%;
}

#Header .social_link .list .fb a::before {
    background-image: url(../images/social-icon.png);
    background-position: 0 0;
}

#Header .social_link .list .fb:hover a::before {
    background-position: 0 100%;
}

#Header .social_link .list .yt a::before {
    background-image: url(../images/social-icon.png);
    background-position: 100% 0;
}

#Header .social_link .list .yt:hover a::before {
    background-position: 100% 100%;
}


/*----menu----*/

@media screen and (min-width:1440px) {
    #Menu {
        padding: 0 12.5vw;
    }
}

@media screen and (max-width:1439px) and (min-width:1024px) {
    #Menu {
        padding: 0 8vw;
    }
}

@media screen and (max-width:1023px) {
    #Menu {
        display: none;
    }
}

#Menu .menu_list {
    width: 100%;
    max-width: 1440px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#Menu .menu_list>li {
    flex: 1 1 auto;
    position: relative;
}

#Menu .menu_list>li>a {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
}


#Menu .menu_list>li>a {
    padding: 32px 0;
    position: relative;
    width: 100%;
}


#Menu .menu_list>li>a .icon {
    display: block;
    width: 51px;
    height: 51px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* #Menu .menu_list>li>a.home .icon {
    background-image: url(../images/home-icon.svg);
}

#Menu .menu_list>li>a.ranking .icon {
    background-image: url(../images/ranking-icon.svg);
}

#Menu .menu_list>li>a.recommend .icon {
    background-image: url(../images/recommend-icon.svg);
}

#Menu .menu_list>li>a.gift .icon {
    background-image: url(../images/gift-icon.svg);
}

#Menu .menu_list>li>a.download .icon {
    background-image: url(../images/download-icon.svg);
} */

#Menu .menu_list>li>a .title {
    padding-top: 15px;
    font-weight: 500;
}

@media screen and (min-width:1440px) {
    #Menu .menu_list>li>a .title {
        letter-spacing: .2em;
        font-size: 1.25rem;
    }
}

@media screen and (max-width:1439px) and (min-width:1024px) {
    #Menu .menu_list>li>a .title {
        letter-spacing: .1em;
        font-size: 1.125rem;
    }
}

#Menu .menu_list>li::before,
#Menu .menu_list>li:last-child::after {
    content: '';
    display: block;
    position: absolute;
    width: 1px;
    height: 40%;
    top: 30%;
    background-image: linear-gradient(#999999 15%, rgba(153, 153, 153, 0) 0%);
    background-size: 1px 5px;
    background-repeat: repeat-y;
}

#Menu .menu_list>li::before {
    left: 0;
}

#Menu .menu_list>li:last-child::after {
    right: 0;
}


#Menu .menu_list>li.selected>a::after,
#Menu .menu_list>li>a:hover::after {
    content: '';
    display: block;
    position: absolute;
    width: 70%;
    height: 4px;
    background-color: var(--style1-blue--);
    border-radius: 2px;
    left: 15%;
    bottom: 20px;
}




/*第二層選單*/

#Menu .menu_list li ul {
    display: none;
    width: 180px;
    background-color: #ffffff;
    position: absolute;
    z-index: 10;
    padding: 20px 10px;
    border-radius: 10px;
    border: 1px solid #000000;
    box-shadow: 0 0 10px 6px #00000010;
    box-sizing: border-box;
}

#Menu .menu_list>li>ul {
    top: 135px;
    left: calc(50% - 90px);
}


.MenuFix #Menu .menu_list>li>ul {
    top: 60px;
}


#Menu .menu_list li ul>li {
    padding: 20px 0;
    border-bottom: 1px dashed #999999;
    position: relative;
}

#Menu .menu_list li ul>li:first-child {
    padding-top: 0;
}

#Menu .menu_list li ul>li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

#Menu .menu_list li ul li a {
    line-height: 1.5em;
    position: relative;
    padding: 0 20px;
    display: block;
    text-align: center;
}

#Menu .menu_list>li>ul>li>a.sf-with-ul::after {
    content: "";
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    border-top: 2px solid #999999;
    border-right: 2px solid #999999;
    top: calc(50% - 6px);
}

#Menu .menu_list>li>ul>li>a.sf-with-ul:hover::after {
    border-color: var(--style1-blue-dark);
}

#Menu .menu_list>li:not(:last-child)>ul>li>a.sf-with-ul::after {
    transform: rotate(45deg);
    right: 10px;
}

#Menu .menu_list>li:last-child>ul>li>a.sf-with-ul::after {
    transform: rotate(-135deg);
    left: 10px;
}



/*第三層選單*/
#Menu .menu_list>li:not(:last-child)>ul>li>ul {
    top: 0;
    left: 168px;
}

#Menu .menu_list>li:last-child>ul>li>ul {
    top: 0;
    right: 168px;
}


/*----------------------------------------------------------------------*/
/* 手機板選單 */
/* mmenu補丁 */
#nav ul {
	display: none;
}


/*預先隱藏選單*/

@media screen and (min-width: 1024px) {

	#nav,
	#MenuMobile,
	.switch {
		display: none;
	}
}

@media screen and (max-width: 1023px) {
	.switch a {
		display: block;
		position: fixed;
		top: 0;
		z-index: 99999;
		transition-delay: 0.3s;
		left: 0;
		background-color:transparent;
	}



	.menu-action::after,
	.menu-action::before,
	.menu-action>i::before {
		background: #fff none repeat scroll 0 0;
		content: "";
		height: 2px;
		left: 0;
		position: absolute;
		border-radius: 2px;
		transition: all 0.3s ease;
	}

	.menu-action,
	.menu-action>i {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
	}

	.menu-action::after {
		bottom: 7px;
	}

	.menu-action::before {
		top: 7px;
	}

	.menu-action>i {
		height: 2px;
		left: 0;
		text-indent: -999px;
		overflow: hidden;
	}

	.menu-action>i::before {
		top: 0;
	}

	.mm-wrapper--opened .menu-action>i {
		opacity: 0;
	}

	.mm-wrapper--opened .menu-action::after {
		bottom: 14px;
		transform: rotate(45deg);
	}

	.mm-wrapper--opened .menu-action::before {
		top: 14px;
		transform: rotate(-45deg);
	}

	.switch a {
		width: 55px;
		height: 55px;
	}

	.menu-action::after,
	.menu-action::before,
	.menu-action>i::before,
	.menu-action,
	.menu-action>i {
		width: 30px;
	}

	.menu-action {
		height: 30px;
		left: calc(50% - 15px);
	}


	/*html.mm-opening .switch a { position:absolute; }*/
	.mm-menu.mm-horizontal>.mm-panel {
		transition: transform 0.4s ease;
		box-shadow: inset -6px 0 3px -3px rgba(0, 0, 0, 0.25);
	}

	.mm-menu .mm-hidden {
		display: none;
	}

	.mm-wrapper {
		overflow-x: hidden;
		position: relative;
	}

	.mm-menu,
	.mm-menu>.mm-panel {
		width: 100%;
		height: 100%;
		position: absolute;
		left: 0;
		top: 0;
		z-index: 0;
	}

	.mm-menu {
		/*background: inherit;*/
		display: block;
		overflow: hidden;
		padding: 0;
	}

	.mm-menu>.mm-panel {
		background: inherit;
		-webkit-overflow-scrolling: touch;
		overflow: scroll;
		overflow-x: hidden;
		overflow-y: auto;
		box-sizing: border-box;
		padding: 20px;
		transform: translateX(100%);
	}

	.mm-menu>.mm-panel.mm-opened {
		transform: translateX(0%);
	}

	.mm-menu>.mm-panel.mm-subopened {
		transform: translateX(-30%);
	}

	.mm-menu>.mm-panel.mm-highest {
		z-index: 1;
	}

	.mm-menu .mm-list {
		padding: 15px 0;
	}


	.mm-menu>.mm-list {
		padding-bottom: 0;
	}


	.mm-menu>.mm-list:after {
		content: '';
		display: block;
		height: 40px;
	}

	.mm-panel>.mm-list {
		margin-left: -20px;
		margin-right: -20px;
	}

	.mm-panel>.mm-list:first-child {
		padding-top: 0;
	}

	.mm-list,
	.mm-list>li {
		list-style: none;
		display: block;
		padding: 0;
		margin: 0;
	}

	.mm-list {
		font: inherit;
	}


	.mm-list>li {
		position: relative;
		font-size: 16px;
	}

	.mm-list>li>a,
	.mm-list>li>span {
		line-height: 180%;
		display: block;
		padding: 10px 10px 10px 20px;
		margin: 0;
	}

	.mm-listitem__text .icon {
		display: inline-block;
		content: '';
		width: 30px;
		height: 30px;
		margin-right: 10px;
		margin-bottom: 0.25em;
		vertical-align: middle;
		position: relative;
		background-repeat:  no-repeat;
		background-size: 100%;
	}

	.mm-list>li{
		position: relative;
	}

	.mm-list>li:not(.mm-subtitle):not(.mm-label):not(.mm-search):not(.mm-noresults):after {
		content: '';
		border-bottom: 1px solid rgba(0, 0, 0, 0.15);
		display: block;
		width: 90%;
		margin:0 5% ;
		bottom: 0;
		left: 0;
		position:absolute ;
	}


	.mm-list a.mm-subopen {
		width: 70px;
		height: 100%;
		padding: 0;
		position: absolute;
		right: 0;
		top: 0;
		z-index: 2;
		text-indent: -10000px;
	}

	.mm-list a.mm-subopen:before {
		content: '';
		border-left-width: 1px;
		border-left-style: solid;
		display: block;
		height: 100%;
		position: absolute;
		left: 0;
		top: 0;
	}

	.mm-list a.mm-subopen.mm-fullsubopen {
		width: 100%;
	}

	.mm-list a.mm-subopen.mm-fullsubopen:before {
		border-left: none;
	}

	.mm-list a.mm-subopen+a,
	.mm-list a.mm-subopen+span {
		padding-right: 25px;
		margin-right: 45px;
	}

	.mm-list>li.mm-selected>a.mm-subopen {
		background: transparent;
	}

	.mm-list>li.mm-selected>a.mm-fullsubopen+a,
	.mm-list>li.mm-selected>a.mm-fullsubopen+span {
		padding-right: 45px;
		margin-right: 0;
	}

	.mm-list a.mm-subclose {
		text-indent: 20px;
		margin-top: -14px;
	}

	.mm-list>li.mm-label {
		text-overflow: ellipsis;
		white-space: nowrap;
		overflow: hidden;
		text-transform: uppercase;
		text-indent: 20px;
		line-height: 25px;
		padding-right: 5px;
	}

	.mm-list>li.mm-spacer {
		padding-top: 40px;
	}

	.mm-list>li.mm-spacer.mm-label {
		padding-top: 25px;
	}

	.mm-list a.mm-subopen:after,
	.mm-list a.mm-subclose:before {
		content: '';
		border: 2px solid transparent;
		display: inline-block;
		width: 7px;
		height: 7px;
		transform: rotate(-45deg);
		margin-bottom: -5px;
		position: absolute;
		bottom: 50%;
	}

	.mm-list a.mm-subopen:after {
		border-top: none;
		border-left: none;
		left: 20px;
	}

	.mm-list a.mm-subclose:before {
		border-right: none;
		border-bottom: none;
		left: 22px;
	}

	.mm-menu.mm-vertical .mm-list .mm-panel {
		display: none;
		padding: 10px 0 10px 10px;
	}

	.mm-menu.mm-vertical .mm-list .mm-panel li:last-child:after {
		border-color: transparent;
	}

	.mm-menu.mm-vertical .mm-list li.mm-opened>.mm-panel {
		display: block;
	}

	.mm-menu.mm-vertical .mm-list>li.mm-opened>a.mm-subopen {
		height: 40px;
	}

	.mm-menu.mm-vertical .mm-list>li.mm-opened>a.mm-subopen:after {
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
		top: 16px;
		right: 16px;
	}

	.mm-menu.mm-vertical .mm-list>li.mm-opened.mm-label>a.mm-subopen {
		height: 25px;
	}



	.mm-menu {
		background-color: #fff;
	}

	.mm-menu .mm-list>li:after {
		border-color: rgba(0, 0, 0, 0.15);
	}

	.mm-menu .mm-list>li>a.mm-subclose {
		background: rgba(0, 0, 0, 0.05);
	}

	.mm-menu .mm-list>li:hover>a.mm-subclose {
		color: var(--style1-blue-dark);
	}

	.mm-menu .mm-list>li>a.mm-subopen:after,
	.mm-menu .mm-list>li>a.mm-subclose:before {
		border-color: rgba(0, 0, 0, 0.5);
	}


	.mm-menu .mm-list>li>a.mm-subopen:before {
		border-color: rgba(0, 0, 0, 0.15);
	}


	.mm-menu .mm-list>li.mm-selected>a:not(.mm-subopen),
	.mm-menu .mm-list>li.mm-selected>span {
		background: rgba(0, 0, 0, 0.1);
	}

	.mm-menu .mm-list>li.mm-label {
		background: rgba(255, 255, 255, 0.05);
	}

	.mm-menu.mm-vertical .mm-list li.mm-opened>a.mm-subopen,
	.mm-menu.mm-vertical .mm-list li.mm-opened>ul {
		background: rgba(255, 255, 255, 0.05);
	}

	/*
	jQuery.mmenu offcanvas addon CSS
*/
	.mm-page {
		transition: transform 0.4s ease;
	}

	.mm-opened .mm-page::before {
		content: "";
		display: block;
		background-color: rgba(0, 0, 0, 0.6);
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 10005;
	}

	html.mm-opened {
		overflow: hidden;
		position: relative;
	}

	html.mm-opened body {
		overflow: hidden;
	}

	html.mm-opened .mm-page {
		box-sizing: border-box;
		position: relative;
	}

	html.mm-background .mm-page {
		background: inherit;
	}

	#mm-blocker {
		background: rgba(3, 2, 1, 0);
		display: none;
		width: 100%;
		height: 100%;
		position: fixed;
		top: 0;
		right: 0;
		z-index: 9999;
	}

	html.mm-opened #mm-blocker,
	html.mm-blocking #mm-blocker {
		display: block;
	}

	.mm-menu.mm-offcanvas {
		display: none;
		position: fixed;
	}

	.mm-menu.mm-current {
		display: block;
	}

	.mm-menu {
		width: 80%;
		min-width: 240px;
		max-width: 440px;
	}

	html.mm-opening .mm-page,
	html.mm-opening #mm-blocker {
		transform: translate(80%, 0);
	}
}

@media all and (max-width: 175px) {

	html.mm-opening .mm-page,
	html.mm-opening #mm-blocker {
		transform: translate(140px, 0);
	}
}

@media all and (min-width: 550px) and (max-width: 1023px) {

	html.mm-opening .mm-page,
	html.mm-opening #mm-blocker {
		transform: translate(440px, -0);
	}
}
.mm-menu:after {
	content: "";
	display: block;
	width: 20px;
	height: 120%;
	position: absolute;
	left: 100%;
	top: -10%;
	z-index: 99;
}

.mm-menu.mm-next:after,
.mm-menu.mm-front:after {
	content: none;
	display: none;
}

.mm-menu:after {
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* mm-member */
.mm-list .mm-member {
	padding: 20px 20px 0 20px;
}

.mm-list .mm-member::after {
	content: '';
	display: block;
	clear: both;
	border: 0 !important;
}

.mm-member .header::after {
	content: '';
	display: block;
	clear: both;
}

.mm-member a {
	display: block;
	text-decoration: none;
}


.mm-member .header a::before,
.mm-member .header .user::before {
	content: '';
	display: inline-block;
	vertical-align: middle;
	margin-right: 6px;
	width: 18px;
	height: 18px;
	background: url(../images/icon_tooper.png) no-repeat;
	background-size: 300%;
}


.mm-member .cont {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #ccc;
}

.mm-member .cont>div {
	display: inline-block;
	margin: 0 5px 10px 0;
}

.mm-member .cont>div a {
	border: 1px solid #ccc;
	padding: 0 10px;
	color: #666;
	line-height: 36px;
	font-size: 0.9375rem;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

/*----------------------------------------------------------------------*/
/*選單浮動效果*/
@media screen and (min-width: 1024px) {
    .MenuFix #Wrap {
        padding-top: 275px;
    }

    .MenuFix #Header {
        position: fixed;
        top: 0;
        left: 0;
        background-color: #fff;
        height: 60px;
        -webkit-box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2);
        box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2);
        animation: header 0.5s ease 1;
        z-index: 100;
    }

    @-webkit-keyframes header {
        0% {
            top: -60px;
        }

        100% {
            top: 0;
        }
    }

    .MenuFix #Header .header_info {
        display: none;
    }


    .MenuFix #Menu .menu_list>li>a {
        flex-direction: row;
        padding: 0;
        line-height: 60px;
    }

    .MenuFix #Menu .menu_list>li>a span {
        margin: 0 10px;
        padding: 0;
    }


    .MenuFix #Menu .menu_list>li>a .icon {
        width: 35px;
        height: 35px;
    }

    .MenuFix #Menu .menu_list>li.selected>a::after,
    .MenuFix #Menu .menu_list>li>a:hover::after {
        width: 70%;
        left: 15%;
        bottom: 5px;
    }

}

/*-------------------------------------------------------------------*/

/*KeyVisual*/

#KeyVisual {
    width: 100%;
}

@media screen and (min-width:1440px) {
    #KeyVisual {
        padding: 0 12.5vw;
    }
}


@media screen and (max-width:1439px) and (min-width:1024px) {
    #KeyVisual {
        padding: 0 8vw;
    }
}

@media screen and (max-width:1023px) {
    #KeyVisual {
        margin-top: 70px
    }
}

@media screen and (max-width:1023px) and (min-width:960px) {
    #KeyVisual {
        padding: 0 100px;
    }
}

@media screen and (max-width:959px) {
    #KeyVisual {
        padding: 0 30px;
    }
}


#KeyVisual>div {
    max-width: 1440px;
    margin: 0 auto;
}

#KeyVisual .owl-carousel .owl-stage-outer {
    border: 1px solid var(--dfborder);
    border-radius: 10px;
}

#KeyVisual .owl-nav button {
    position: absolute;
    text-indent: -9999px;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid var(--dfborder);
    background-color: var(--style1-blue-light);
    top: calc(50% - 30px);
}


#KeyVisual .owl-nav button:hover {
    border-color: var(--style1-blue-light);
    background-color: var(--style1-blue-dark);
}


@media screen and (min-width:960px) {
    #KeyVisual .owl-nav button {
        width: 60px;
        height: 60px;
    }
}

@media screen and (max-width:959px) and (min-width:768px) {
    #KeyVisual .owl-nav button {
        width: 45px;
        height: 45px;
    }
}

@media screen and (max-width:767px) {
    #KeyVisual .owl-nav button {
        width: 36px;
        height: 36px;
    }
}



#KeyVisual .owl-nav button::before {
    content: '';
    position: absolute;
    display: block;
    background-image: url(../images/arrow-icon.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#KeyVisual .owl-nav button:hover::before {
    filter: brightness(0) invert(1)
}

#KeyVisual .owl-nav button.owl-prev::before {
    transform: rotate(180deg);
}

@media screen and (min-width:960px) {
    #KeyVisual .owl-nav button::before {
        width: 25px;
        height: 25px;
        top: calc(50% - 13px);
    }

    #KeyVisual .owl-nav button.owl-prev::before {
        left: calc(50% - 13px);
    }

    #KeyVisual .owl-nav button.owl-next::before {
        right: calc(50% - 13px);
    }
}

@media screen and (max-width:959px) {
    #KeyVisual .owl-nav button::before {
        width: 20px;
        height: 20px;
        top: calc(50% - 10px);
    }

    #KeyVisual .owl-nav button.owl-prev::before {
        left: calc(50% - 10px);
    }

    #KeyVisual .owl-nav button.owl-next::before {
        right: calc(50% - 10px);
    }
}

@media screen and (min-width:1440px) {
    #KeyVisual .owl-nav button.owl-prev {
        left: -5vw;
    }

    #KeyVisual .owl-nav button.owl-next {
        right: -5vw;
    }
}

@media screen and (max-width:1439px) and (min-width:1024px) {
    #KeyVisual .owl-nav button.owl-prev {
        left: -6vw;
    }

    #KeyVisual .owl-nav button.owl-next {
        right: -6vw;
    }
}

@media screen and (max-width:1023px) and (min-width:960px) {
    #KeyVisual .owl-nav button.owl-prev {
        left: -70px;
    }

    #KeyVisual .owl-nav button.owl-next {
        right: -70px;
    }
}

@media screen and (max-width:959px) {
    #KeyVisual .owl-nav button.owl-prev {
        left: -20px;
    }

    #KeyVisual .owl-nav button.owl-next {
        right: -20px;
    }
}

#KeyVisual .owl-dots {
    display: flex;
    justify-content: center;
}

#KeyVisual .owl-dots .owl-dot {
    margin: 0 7px;
    border-radius: 50%;
    border: 1px solid #999999;
}

#KeyVisual .owl-dots .owl-dot.active {
    background-color: var(--style1-blue--);
    border-color: var(--style1-blue--);
}

@media screen and (min-width:1440px) {
    #KeyVisual .owl-dots {
        margin-top: 30px;
    }

    #KeyVisual .owl-dots .owl-dot {
        width: 15px;
        height: 15px;
    }
}

@media screen and (max-width:1439px) and (min-width:1024px) {
    #KeyVisual .owl-dots {
        margin-top: 20px;
    }

    #KeyVisual .owl-dots .owl-dot {
        width: 15px;
        height: 15px;
    }
}

@media screen and (max-width:1023px) {
    #KeyVisual .owl-dots {
        margin-top: 10px;
    }

    #KeyVisual .owl-dots .owl-dot {
        width: 10px;
        height: 10px;
    }
}

/*-------------------------------------------------------------------*/
/*TOP*/
.BtnTop {
    position: fixed;
    z-index: 1000;
    display: none;

}

@media screen and (min-width:630px) {
    .BtnTop {
        right: 20px;
        bottom: 40px;
    }
}

@media screen and (max-width:629px) {
    .BtnTop {
        right: 15px;
        bottom: 62px;
    }
}

.MenuFix .BtnTop {
    display: block;
}

.BtnTop a {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid var(--dfborder);
    box-shadow: 7px 7px 0px -2px var(--dfborder);
    background-color: #fff;
    position: relative;
}

@media screen and (min-width:1024px) {
    .BtnTop a {
        width: 60px;
        height: 60px;
        padding-top: 20px;
        font-size: 0.875rem;
    }
}

@media screen and (max-width:1023px) {
    .BtnTop a {
        width: 48px;
        height: 48px;
        padding-top: 15px;
        font-size: 0.75rem;
    }
}


.BtnTop a:hover {
    color: #fff;
    box-shadow: 0 0 #fff;
    background-color: var(--dfborder);
    transform: translate(5px, 7px);
}

.BtnTop a::after {
    content: '';
    display: block;
    position: absolute;
    background-image: url(../images/arrow-icon.svg);
    background-size: cover;
    transform: rotate(-90deg);
    top: 10px;
}

@media screen and (min-width:1024px) {
    .BtnTop a::after {
        width: 20px;
        height: 20px;
    }
}

@media screen and (max-width:1023px) {
    .BtnTop a::after {
        width: 15px;
        height: 15px;
    }
}


.BtnTop a:hover::after {
    filter: brightness(0) invert(1)
}

/*footer*/
#Footer {
    width: 100%;
    background-color: var(--style1-blue--);
    border-radius: 10px 10px 0 0;
}

@media screen and (min-width:1440px) {
    #Footer {
        padding: 18px 12.5vw;
        margin: 0 auto;
    }
}


@media screen and (max-width:1439px) and (min-width:1024px) {
    #Footer {
        padding: 18px 8vw;
    }
}


@media screen and (max-width:1023px) and (min-width:960px) {
    #Footer {
        padding: 18px 100px;
    }
}

@media screen and (max-width:959px) {
    #Footer {
        padding: 10px;
    }
}

#Footer>div {
    color: #fff;
    font-size: 0.875rem;
    letter-spacing: .1em;
}

@media screen and (min-width:320px) {
    #Footer>div {
        display: flex;
        align-items: center;
        vertical-align: middle;
    }
}

@media screen and (min-width:960px) {
    #Footer>div {
        justify-content: space-between;
    }
}

@media screen and (max-width:959px) {
    #Footer>div {
        flex-direction: column;
        justify-content: center;
    }

    #Footer .copyright {
        padding-bottom: 5px;
    }
}

@media screen and (max-width:629px) {
    #Footer>div {
        font-size: 0.75rem;
        line-height: 1.2em;
    }
}

#Footer .info>div {
    position: relative;
}

@media screen and (min-width:960px) {
    #Footer .info>div:last-child {
        padding-right: 0px;
    }
}

@media screen and (min-width:630px) {
    #Footer .info>div {
        padding: 0 10px;
    }
}

@media screen and (max-width:629px) and (min-width:320px) {
    #Footer .info>div {
        padding: 0 5px;
    }
}

@media screen and (max-width:319px) {
    #Footer .info>div {
        padding: 5px 0;
    }
}

@media screen and (min-width:320px) {
    #Footer .info {
        display: flex;
        justify-content: center;
    }

    #Footer .info>div::after {
        content: "";
        display: block;
        position: absolute;
        width: 1px;
        height: 80%;
        top: 10%;
        right: 0;
        background-color: #fff;
    }

    #Footer .info>div:last-child:after {
        display: none;
    }
}

/*----------------------------------------------------------------------*/
/*測試用menu*/
.ifun_text_menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10006;
}

.ifun_text_menu ul {
    box-sizing: content-box;
}

.ifun_text_menu a {
    display: block;
    text-decoration: none;
}

.ifun_text_menu li:hover>a {
    color: #0f58a3;
}

.ifun_text_menu>ul>li>a {
    text-indent: -10000px;
    width: 20px;
    height: 20px;
}

.ifun_text_menu>ul ul {
    display: none;
    position: absolute;
    width: 150px;
    border: 1px solid #ccc;
}

.ifun_text_menu ul ul ul {
    width: 190px;
}

.ifun_text_menu>ul ul::before {
    content: '';
    display: block;
    position: absolute;
    top: 12px;
    left: -12px;
    width: 5px;
    height: 5px;
    border-left: 1px solid #999;
    border-top: 1px solid #999;
    transform: rotate(135deg);
}

.ifun_text_menu li:hover>ul::before {
    border-color: #0f58a3;
}

.ifun_text_menu>ul>li>ul {
    top: 20px;
    left: 0;
}

.ifun_text_menu>ul>li>ul>li>ul {
    top: -1px;
    left: 150px;
}

.ifun_text_menu>ul>li>ul>li>ul>li>ul {
    top: -1px;
    left: 190px;
}

.ifun_text_menu>ul li:hover>ul {
    display: block;
}

.ifun_text_menu>ul ul li {
    background-color: rgba(255, 255, 255, 0.85);
    position: relative;
}

.ifun_text_menu>ul ul a {
    padding: 6px 10px;
    line-height: 125%;
    font-size: 14px;
    color: #333;
}


/*----------------------------------------------------------------------*/
/* 表單 */
/* 表單群組 */
/* 注意 ------
fieldset內，表單元件max-width:100%會失效(但IE沒事),加上如下兩個fix(尚未經測試),但須確保fieldset沒有左右margin
又或者,不要用fieldset,改用div
*/
/*IOS webkit fix*/
fieldset.FormGroup {
    width: auto;
    min-width: 0;
    max-width: none;
}

/*Mozilla fix*/
@-moz-document url-prefix() {
    fieldset.FormGroup {
        display: table-cell;
    }
}

.FormGroup {
    max-width: 100%;
    position: relative;
    margin-left: 0;
    margin-right: 0;
    /*消除fieldset的左右margin*/
}

.FormGroup::after {
    content: '';
    display: block;
    clear: both;
}

legend.form_group_title {
    padding-left: 0;
    padding-right: 0;
}

/*消除legend的左右padding*/

.FormGroupWarp {
    max-width: 1290px;
    margin-left: auto;
    margin-right: auto;
}

.FormGroupWarp>*:first-child {
    margin-top: 0;
}

.FormGroupWarp>*:last-child {
    margin-bottom: 0;
}

.FormGroup {
    background-color: #fff;
    border: 2px solid var(--style1-blue--);
    margin-top: 10px;
    margin-bottom: 40px;
    padding-top: 20px;
    padding-bottom: 40px;
    position: relative;
    border-radius: 6px;
}

.form_group_title span {
    display: block;
    padding: 0 1.2em;
    background-color: var(--style1-blue--);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 2.3em;
    letter-spacing: 0.15em;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

@media screen and (max-width: 639px) {
    .form_group_title span {
        padding: 0 20px;
    }
}

.form_group_title.icon span::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin: 0 10px 0.15em 0;
    background: url("../images/icon_legend.png") no-repeat;
    background-size: 100%;
}

.form_group_title.search span::before {
    background-position: 0 0;
}

.FormGroup>*:first-child {
    margin-top: 0;
}

.FormGroup>*:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 639px) {
    .FormGroupWarp {
        margin-top: 20px;
        margin-bottom: 30px;
    }
}

@media screen and (min-width: 640px) and (max-width: 1023px) {
    .FormGroupWarp {
        margin-top: 25px;
        margin-bottom: 40px;
    }
}

@media screen and (min-width: 1024px) {
    .FormGroupWarp {
        margin-top: 30px;
        margin-bottom: 40px;
    }
}

@media screen and (max-width: 639px) {
    .FormGroup {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media screen and (min-width: 640px) and (max-width: 959px) {
    .FormGroup {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (min-width: 960px) and (max-width: 1399px) {
    .FormGroup {
        padding-left: 6vw;
        padding-right: 6vw;
    }
}

@media screen and (min-width: 1400px) {
    .FormGroup {
        padding-left: 100px;
        padding-right: 100px;
    }
}

/* 表單表格 */
.FormTableWrap {
    margin: 20px 0 30px;
}

.FormGroup .FormTableWrap {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.FormTableWrap>*:first-child {
    margin-top: 0;
}

.FormTableWrap>*:last-child {
    margin-bottom: 0;
}

.FormTableWrap table.FormTable {
    max-width: 800px;
}

table.FormTable {
    width: 100%;
    margin: 10px 0 20px;
    table-layout: fixed;
}

table.FormTable>tbody>tr>th {
    font-weight: normal;
    color: #152632;
    line-height: 1.5em;
    position: relative;
}

table.FormTable>tbody>tr>th span.required {
    color: #e60000;
    font-size: 0.875rem;
}

table.FormTable>tbody>tr>th label {
    padding-left: 5px;
}

table.FormTable>tbody>tr>td {
    line-height: 1.5em;
    color: var(--style1-blue--)
}

@media screen and (max-width: 1023px) {
    .FormTable {
        width: auto;
    }

    /* table.FormTable {
        border-top: 1px solid #ccc;
    } */

    table.FormTable,
    table.FormTable>tbody,
    table.FormTable>tbody>tr,
    table.FormTable>tbody>tr>th,
    table.FormTable>tbody>tr>td {
        display: block;
    }

    /* table.FormTable>tbody>tr {
        border-bottom: 1px solid #ccc;
    } */

    table.FormTable>tbody>tr>th {
        margin-bottom: 5px;
        text-align: left;
        /* font-weight: 500; */
    }

    table.FormTable>tbody>tr>th>div::after {
        content: '：';
    }
}

@media screen and (max-width: 479px) {
    table.FormTable>tbody>tr {
        padding: 15px 0 10px 0;
    }
}

@media screen and (min-width: 480px) and (max-width: 1023px) {
    table.FormTable>tbody>tr {
        padding: 15px 10px 10px 10px;
    }
}

@media screen and (min-width: 1024px) {

    table.FormTable>tbody>tr>th,
    table.FormTable>tbody>tr>td {
        vertical-align: top;
    }

    table.FormTable>tbody>tr>th {
        height: 1px;
        width: 230px;
        padding: 15px 10px 15px 10px;
        text-align: right;
    }

    table.FormTable>tbody>tr>th>div {
        max-height: 46px;
        height: 100%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        align-content: center;
        flex-wrap: wrap;
    }

    table.FormTable>tbody>tr>td {
        padding: 15px 10px 10px 10px;
    }
}

/* 表單內按鈕 */
.FormElmt .inline_btn {
    display: inline-block;
    margin-right: 6px;
    vertical-align: top;
}

.FormElmt .inline_btn span {
    margin-right: 6px;
    margin-bottom: 6px;
    display: inline-block;
}

.FormElmt .inline_btn span>* {
    display: block;
    padding-left: 15px;
    padding-right: 15px;
    background-color: #b6ac9e;
    color: #fff;
    height: 40px;
    line-height: 40px;
    box-sizing: border-box;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.FormElmt .inline_btn span>a {
    text-decoration: none;
}

.FormElmt .inline_btn span>input {
    margin: 0;
    border: 0;
    font-size: 100%;
}

.FormElmt .inline_btn span[class]>* {
    background-image: url("../images/icon_inline_btn.png");
    background-repeat: no-repeat;
    padding-left: 35px;
}

.FormElmt .inline_btn span.search>* {
    background-position: 15px 0;
}

.FormElmt .inline_btn span>*:hover,
.FormElmt .inline_btn span>*:focus {
    background-color: #c9161d;
}

.FormElmt .inline_btn.block {
    display: block;
    margin-left: 0;
    margin-right: 0;
}

/* 表單警告/提示 */
.FormElmt .form_alert span {
    color: #e60000;
    font-size: .875rem;
}

/* 表單元件 */
.FormElmt input[type="text"],
.FormElmt input[type="password"],
.FormElmt input[type="file"],
.FormElmt input[type="number"],
.FormElmt input[type="date"],
.FormElmt input[type="month"],
.FormElmt input[type="week"],
.FormElmt input[type="time"],
.FormElmt input[type="datetime-local"],
.FormElmt input[type="email"],
.FormElmt input[type="search"],
.FormElmt input[type="tel"],
.FormElmt input[type="url"],
.FormElmt input[type="color"],
.FormElmt input[type="hidden"],
.FormElmt input[type="range"] {
    line-height: 46px;
    height: 46px;
}

.FormElmt input[type="text"],
.FormElmt input[type="password"],
.FormElmt input[type="file"],
.FormElmt input[type="number"],
.FormElmt input[type="date"],
.FormElmt input[type="month"],
.FormElmt input[type="week"],
.FormElmt input[type="time"],
.FormElmt input[type="datetime-local"],
.FormElmt input[type="email"],
.FormElmt input[type="search"],
.FormElmt input[type="tel"],
.FormElmt input[type="url"],
.FormElmt input[type="color"],
.FormElmt input[type="hidden"],
.FormElmt input[type="range"],
.FormElmt select,
.FormElmt textarea {
    max-width: 100%;
    margin-bottom: 5px;
    margin-right: 5px;
    vertical-align: middle;
    font-size: 1rem;
    color: #555;
}

.FormElmt input::placeholder {
    color: #555;
}

.FormElmt input[type="text"],
.FormElmt input[type="password"],
.FormElmt input[type="number"],
.FormElmt input[type="date"],
.FormElmt input[type="month"],
.FormElmt input[type="week"],
.FormElmt input[type="time"],
.FormElmt input[type="datetime-local"],
.FormElmt input[type="email"],
.FormElmt input[type="search"],
.FormElmt input[type="tel"],
.FormElmt input[type="url"],
.FormElmt input[type="color"],
.FormElmt input[type="hidden"],
.FormElmt input[type="range"],
.FormElmt select,
.FormElmt textarea {
    background-color: #fff;
    border: 1px solid #152632;
    box-sizing: border-box;
    border-radius: 5px;
}

.FormElmt input[type="text"],
.FormElmt input[type="password"],
.FormElmt input[type="number"],
.FormElmt input[type="date"],
.FormElmt input[type="month"],
.FormElmt input[type="week"],
.FormElmt input[type="time"],
.FormElmt input[type="datetime-local"],
.FormElmt input[type="email"],
.FormElmt input[type="search"],
.FormElmt input[type="tel"],
.FormElmt input[type="url"],
.FormElmt input[type="color"],
.FormElmt input[type="hidden"],
.FormElmt input[type="range"] {
    padding: 0 20px;
}

.FormElmt textarea {
    padding: 10px;
}

.FormElmt select {
    padding-left: 12px;
    padding-right: 10px;
    height: 46px;
    max-width: 100%;
}

.FormElmt input[type="radio"]+label,
.FormElmt input[type="checkbox"]+label {
    margin-right: 4px;
}

.FormElmt input[type="text"]:focus,
.FormElmt input[type="password"]:focus,
.FormElmt input[type="file"]:focus,
.FormElmt input[type="number"]:focus,
.FormElmt input[type="date"]:focus,
.FormElmt input[type="month"]:focus,
.FormElmt input[type="week"]:focus,
.FormElmt input[type="time"]:focus,
.FormElmt input[type="datetime-local"]:focus,
.FormElmt input[type="email"]:focus,
.FormElmt input[type="search"]:focus,
.FormElmt input[type="tel"]:focus,
.FormElmt input[type="url"]:focus,
.FormElmt input[type="color"]:focus,
.FormElmt input[type="hidden"]:focus,
.FormElmt input[type="range"]:focus,
.FormElmt textarea:focus,
.FormElmt select:focus {
    background-color: var(--style1-blue-bg);
    border-color: var(--style1-blue--);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: all ease-in-out .15s;
}

.FormElmt input[disabled],
.FormElmt textarea[disabled],
.FormElmt select[disabled] {
    background-color: #fff;
    color: #666;
    opacity: 1;
    padding: 0;
    height: auto;
    line-height: inherit;
    box-shadow: none;
}

.FormElmt select[disabled] {
    cursor: default;
}

.FormElmt input[type="file"][disabled] {
    border: 0;
    background: none;
}

.FormElmt input[type="radio"][disabled]+label,
.FormElmt input[type="checkbox"][disabled]+label {
    color: #999;
}

@media screen and (max-width: 639px) {

    .FormElmt input[type="text"],
    .FormElmt input[type="password"],
    .FormElmt input[type="file"],
    .FormElmt input[type="number"],
    .FormElmt input[type="date"],
    .FormElmt input[type="month"],
    .FormElmt input[type="week"],
    .FormElmt input[type="time"],
    .FormElmt input[type="datetime-local"],
    .FormElmt input[type="email"],
    .FormElmt input[type="search"],
    .FormElmt input[type="tel"],
    .FormElmt input[type="url"],
    .FormElmt input[type="color"],
    .FormElmt input[type="hidden"],
    .FormElmt input[type="range"],
    .FormElmt select,
    .FormElmt textarea {
        font-size: 0.9375rem;
    }

    .FormElmt input[type="file"] {
        width: 100%;
    }

    .FormElmt input[type="text"],
    .FormElmt input[type="password"],
    .FormElmt input[type="number"],
    .FormElmt input[type="date"],
    .FormElmt input[type="month"],
    .FormElmt input[type="week"],
    .FormElmt input[type="time"],
    .FormElmt input[type="datetime-local"],
    .FormElmt input[type="email"],
    .FormElmt input[type="search"],
    .FormElmt input[type="tel"],
    .FormElmt input[type="url"],
    .FormElmt input[type="color"],
    .FormElmt input[type="hidden"],
    .FormElmt input[type="range"] {
        padding: 0 10px;
    }
}

.FormElmt hr {
    margin: 15px 0 5px;
}

.FormElmt .w40 {
    width: 40px;
}

.FormElmt .w60 {
    width: 60px;
}

.FormElmt .w80 {
    width: 80px;
}

.FormElmt .w100 {
    width: 100px;
}

.FormElmt .w150 {
    width: 150px;
}

.FormElmt .w200 {
    width: 200px;
}

.FormElmt .w250 {
    width: 250px;
}

.FormElmt .w300 {
    width: 300px;
}

.FormElmt .w350 {
    width: 350px;
}

.FormElmt .w400 {
    width: 400px;
}

.FormElmt .w500 {
    width: 500px;
}

.FormElmt .fullwidth {
    width: 100%;
}

/* .FormElmt .date, .FormElmt .datepicker { width:180px; } */
.FormElmt .note {
    display: block;
    color: #e60000;
}

.FormElmt .FormTable .note {
    display: inline-block;
    margin-left: 5px;
    font-size: 0.875rem;
}

.FormElmt .FormTable br+.note {
    display: block;
    margin-left: 0;
}

/*---------------------------------------------------------------*/
/* 按鈕 */
.BtnCommon {
    margin-top: 15px;
    margin-bottom: 15px;
    clear: both;
    text-align: center;
}

.BtnCommon.tl {
    text-align: left;
}

.BtnCommon.tr {
    text-align: right;
}

.BtnCommon div {
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
}

@media screen and (max-width: 639px) {

    .BtnCommon div,
    .BtnCommon.tc div {
        margin-right: 5px;
        margin-left: 5px;
    }

    .BtnCommon.tl div {
        margin-right: 10px;
        margin-left: 0;
    }

    .BtnCommon.tr div {
        margin-right: 0;
        margin-left: 10px;
    }
}

@media screen and (min-width: 640px) {

    .BtnCommon div,
    .BtnCommon.tc div {
        margin-right: 12px;
        margin-left: 12px;
    }

    .BtnCommon.tl div {
        margin-right: 16px;
        margin-left: 0;
    }

    .BtnCommon.tr div {
        margin-right: 0;
        margin-left: 16px;
    }

    .BtnCommon.small div,
    .BtnCommon.tc.small div {
        margin-right: 3px;
        margin-left: 3px;
    }

    .BtnCommon.tl.small div {
        margin-right: 6px;
        margin-left: 0;
    }

    .BtnCommon.tr.small div {
        margin-right: 0;
        margin-left: 6px;
    }
}

.BtnCommon a,
.BtnCommon button,
.BtnCommon span {
    display: block;
}

.BtnCommon span {
    display: flex;
    align-items: center;
}

.BtnCommon a,
.BtnCommon button {
    background-color: #fff;
    position: relative;
    border: 1px solid #152632;
    border-radius: 5px;
    box-shadow: 7px 7px 0 -2px var(--dfborder);
}

.BtnCommon a:hover,
.BtnCommon button:hover {
    box-shadow: 0 0 #fff;
    background-color: var(--dfborder);
    transform: translate(5px, 7px);
}

.BtnCommon.large a,
.BtnCommon.large button {
    height: 58px;
    line-height: 58px;
}

.BtnCommon.mid a,
.BtnCommon.mid button {
    height: 45px;
    line-height: 45px;
}

.BtnCommon.small a,
.BtnCommon.small button {
    height: 36px;
    line-height: 36px;
}

@media screen and (max-width: 639px) {

    .BtnCommon.large a,
    .BtnCommon.large button {
        padding-left: 20px;
        padding-right: 20px;
        font-size: 1.125rem;
    }

    .BtnCommon.mid a,
    .BtnCommon.mid button {
        padding-left: 15px;
        padding-right: 15px;
        font-size: 0.9375rem;
    }

    .BtnCommon.small a,
    .BtnCommon.small button {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 0.9375rem;
    }
}

@media screen and (min-width: 640px) {

    .BtnCommon.large a,
    .BtnCommon.large button {
        padding-left: 25px;
        padding-right: 25px;
        font-size: 1.125rem;
    }

    .BtnCommon.mid a,
    .BtnCommon.mid button {
        padding-left: 20px;
        padding-right: 20px;
        font-size: 1rem;
    }

    .BtnCommon.small a,
    .BtnCommon.small button {
        padding-left: 15px;
        padding-right: 15px;
        font-size: 1rem;
    }
}

.BtnCommon a {
    text-decoration: none;
}

/* 按鈕加icon */
.BtnCommon div[class] span::before {
    content: '';
    display: inline-block;
    flex: 0 1 auto;
    width: 20px;
    height: 20px;
    margin: 0 6px 0 0;
    background: url("../images/icon_btn.svg") no-repeat;
    background-size: 200%;
}

.BtnCommon a:hover,
.BtnCommon button:hover,
.BtnCommon a:focus,
.BtnCommon button:focus {
    background-color: #152632;
    /* box-shadow: 0 0 8px rgba(1, 175, 177, 0.5); */
    color: #fff;
}

.BtnCommon div.submit span::before {
    background-position: 0 50%;
}

.BtnCommon div.submit button:hover span::before,
.BtnCommon div.submit button:focus span::before {
    background-position: 100% 50%;

}

.BtnCommon div.reset span::before {
    background-position: 0 100%;
}

.BtnCommon div.reset button:hover span::before,
.BtnCommon div.reset button:focus span::before {
    background-position: 100% 100%;
}




/* 表單送出畫面 */
.form_feedback_box {
    background-color: #fffdf3;
    border: 2px solid var(--style1-blue--);
    padding: 20px 30px;
    max-width: 640px;
    margin: 30px auto;
    line-height: 2em;
    box-shadow: 2px 2px 17px rgba(0, 0, 0, 0.14);
}


/* 表單內樣式 */
.formStyle .row {
    display: flex;
}

.formStyle .row.two .item {
    width: calc(100% - 10px);
    margin-left: 20px;
}

.formStyle .row.two .item:first-child {
    margin-left: 0;
}

.formStyle select,
.formStyle input,
.formStyle textarea {
    width: 100%;
    margin-right: 0;
}

.formStyle input[type="file"] {
    margin-bottom: 0;
}

.formStyle .label {
    white-space: nowrap;
    padding-right: .5em;
    font-size: .875rem;
    color: #555;
}

.formStyle .item,
.formStyle .cont {
    width: 100%;
}

.formStyle .btn a {
    display: inline-block;
    white-space: nowrap;
    background-color: #eee;
    text-decoration: none;
    font-size: .875em;
    color: #555;
    padding: 3px .625em;
    border-radius: 3px;
    margin-bottom: 5px;
}

.formStyle .btn button {
    display: inline-block;
    white-space: nowrap;
    background-color: #eee;
    text-decoration: none;
    font-size: .875em;
    color: #555;
    padding: 6px .625em;
    border-radius: 3px;
    margin-bottom: 5px;
}

.formStyle .btn a:hover,
.formStyle .btn a:focus,
.formStyle .btn button:hover,
.formStyle .btn button:focus {
    background-color: #ff6a18;
    color: #fff;
}

.formStyle.addBox .row {
    border-top: 1px solid #eee;
    padding: 10px 0 5px 0;
}

.formStyle.addBox .row:first-child {
    border-top: none;
    padding-top: 0;
}

.formStyle.addBox .row>div {
    margin-left: 14px;
    display: flex;
    align-items: center;
}

.formStyle.addBox .row>div:first-child {
    margin-left: 0;
}

.formStyle.addBox .row.last {
    padding-top: 10px;
    flex-wrap: wrap;
}

.formStyle.addBox .row.last .btn {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.formStyle.addBox .row.last .btn a,
.formStyle.addBox .row.last .btn button {
    background-color: #1ba1e6;
    color: #fff;
}

.formStyle.addBox .row.last .btn a:hover,
.formStyle.addBox .row.last .btn a:focus,
.formStyle.addBox .row.last .btn button:hover,
.formStyle.addBox .row.last .btn button:focus {
    background-color: #ff6a18;
}

.formStyle.addBox .row.last p {
    font-size: .875em;
    margin-bottom: 0;
}

.formStyle.for_tel .row {
    flex-wrap: wrap;
}

.formStyle.for_tel .code {
    position: relative;
    padding-right: 30px;
}

.formStyle.for_tel .code::after {
    content: '';
    position: absolute;
    top: calc(50% - 4px);
    right: 10px;
    width: 10px;
    height: 1px;
    background-color: #dad9d9;
}

.formStyle.for_tel .code .cont {
    width: 100px;
}

.formStyle.for_tel .input .cont {
    min-width: 200px;
}

.formStyle.for_tel .ext {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.formStyle.for_tel .ext .cont {
    width: 100px;
}

.formStyle.for_address .row:first-child {
    margin-bottom: 5px;
    flex: 0 1 auto;
}

.formStyle.for_address .code {
    position: relative;
    padding-right: 30px;
}

.formStyle.for_address .code::after {
    content: '';
    position: absolute;
    top: calc(50% - 4px);
    right: 10px;
    width: 10px;
    height: 1px;
    background-color: #dad9d9;
}

.formStyle.for_address .code .cont {
    width: 110px;
}

.formStyle.for_address .select {
    width: calc(100% - 140px);
    display: flex;
}

.formStyle.for_address select+select {
    margin-left: 15px;
}

.formStyle.for_upload {
    border-bottom: 1px solid #eee;
}

.formStyle.for_upload .row {
    border-top: none;
    margin-bottom: 5px;
}

.formStyle.for_upload .row>div {
    margin-left: 14px;
    display: flex;
    align-items: center;
}

.formStyle.for_upload .row>div:first-child {
    margin-left: 0;
}

.formStyle.for_upload .label {
    width: 6em;
}

.formStyle.for_upload .title {
    padding: 12px 0;
}

.formStyle.for_upload textarea {
    margin-bottom: 15px;
}

@media screen and (max-width: 1023px) {
    .formStyle.for_upload {
        border-bottom: none;
    }

    .formStyle.for_upload .row p {
        margin-bottom: 0;
    }

    .formStyle.for_upload .title {
        padding-top: 0;
    }
}

@media screen and (max-width: 639px) {
    .formStyle.for_address .code .cont {
        width: 100px;
    }
}

@media screen and (max-width: 479px) {
    .formStyle .row {
        flex-direction: column;
    }

    .formStyle .row.two .item {
        margin-left: 0;
    }

    .formStyle .item {
        margin-bottom: 5px;
    }

    .formStyle.addBox .row>div {
        margin-left: 0;
    }

    .formStyle.addBox .btn {
        justify-content: flex-end;
    }

    .formStyle.for_tel .code,
    .formStyle.for_tel .input {
        margin-bottom: 5px;
    }

    .formStyle.for_tel .code::after {
        right: auto;
        left: 110px;
    }

    .formStyle.for_address .code {
        margin-bottom: 5px;
    }

    .formStyle.for_address .code::after {
        right: auto;
        left: 110px;
    }

    .formStyle.for_address .select {
        width: 100%;
    }

    .formStyle.for_upload .item {
        flex-direction: column;
    }

    .formStyle.for_upload .row>div.btn {
        justify-content: flex-end;
        margin-left: 0;
    }

    .formStyle.for_upload .label {
        width: 100%;
    }

    .FormElmt .input_group.inline>div.with_input {
        margin-top: 12px;
    }
}


/* 驗證碼 */
.FormElmt .randomcode {
    display: flex;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    -ms-display: flex;
    -ms-align-items: center;
    -ms-align-content: center;
    -ms-flex-wrap: wrap;
}

.FormElmt .randomcode>div {
    flex: 0 1 auto;
    margin-right: 10px;
    line-height: normal;
}

.FormElmt .randomcode .input input[type="text"] {
    width: 160px;
}

.FormElmt .randomcode .img img {
    display: inline-block;
}

.FormElmt .randomcode .btns {
    margin-left: 10px;
}

.FormElmt .randomcode .btns>* {
    display: inline-block;
    border: 0;
    padding: 0;
    margin-right: 10px;
    height: 32px;
    position: relative;
    font-size: 0.875rem;
    line-height: 32px;
    color: #999999;
    text-decoration: none;
}

.FormElmt .randomcode .btns>*:last-child {
    margin-right: 0;
}

.FormElmt .randomcode .btns>*:hover,
.FormElmt .randomcode .btns>*:focus {
    color: var(--style1-blue--);
}

.FormElmt .randomcode .btns>*::before {
    display: inline-block;
    content: '';
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
    margin-bottom: 2px;
    background: url("../images/icon_btn.svg") no-repeat;
    background-size: 200%;
}

.FormElmt .randomcode .refresh::before {
    background-position: 0 0;
}

.FormElmt .randomcode .play::before {
    background-position: 0 100%;
}

.FormElmt .randomcode .refresh:hover::before,
.FormElmt .randomcode .refresh:focus::before {
    background-position: right 0;
}

.FormElmt .randomcode .play:hover::before,
.FormElmt .randomcode .play:focus::before {
    background-position: right 100%;
}

.FormElmt .randomcode .btns>*::after {
    display: block;
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #999;
}

.FormElmt .randomcode .btns>*:hover::after,
.FormElmt .randomcode .btns>*:focus::after {
    background-color: var(--style1-blue--);
}


/*隱私權*/

.FormElmt .privacy_agreement_wrap .privacy_cont {
    background-color: #f8f8fd;
    padding: 1.5em;
    font-size: 0.875rem;
    line-height: 1.4em;
}

.FormElmt .privacy_agreement_wrap .privacy_cont p {
    margin-bottom: 10px;
}

.FormElmt .privacy_agreement_wrap .privacy_cont li {
    padding: 5px 0;
}

.FormElmt .privacy_agreement_wrap .privacy_agree {
    margin-top: 10px;
}

/*----------------------------------------------------------------------*/
/* datepicker共通設定 */
.ui-datepicker {
    background-color: #fff;
    padding: 15px 8px 7px 8px;
    position: relative;
    display: none;
    box-shadow: 0 0 5px #b2b2b2;
}

.ui-datepicker-prev,
.ui-datepicker-next {
    display: block;
    position: absolute;
    top: 15px;
    width: 36px;
    height: 36px;
    cursor: pointer;
}

.ui-datepicker-prev {
    left: 0;
}

.ui-datepicker-next {
    right: 0;
}

.ui-datepicker-prev span,
.ui-datepicker-next span {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -6px 0 0 -6px;
    width: 12px;
    height: 12px;
    background: url("../images/icon_datepicker.png") no-repeat;
    text-indent: -10000px;
}

.ui-datepicker-prev span {
    background-position: 0 0;
}

.ui-datepicker-next span {
    background-position: 0 -12px;
}

.ui-datepicker-prev:hover span {
    background-position: -12px 0;
}

.ui-datepicker-next:hover span {
    background-position: -12px -12px;
}

.ui-datepicker-title {
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    line-height: 30px;
}

.ui-datepicker-title select {
    height: 36px;
    padding: 7px 0 8px;
    font-size: 15px;
}

.ui-datepicker-title select.ui-datepicker-year {
    margin-right: 4px;
}

.ui-datepicker-title select.ui-datepicker-month {
    margin-left: 6px;
}

.ui-datepicker-title select.ui-datepicker-month:first-child {
    margin-left: 0;
}

.ui-datepicker-title select.ui-datepicker-month+select.ui-datepicker-year {
    margin-left: 6px;
    margin-right: 0;
}

.ui-datepicker-calendar {
    margin-top: 5px;
}

.ui-datepicker-calendar th,
.ui-datepicker-calendar td {
    width: 32px;
    padding: 0;
    font-family: Arial, Helvetica, "微軟正黑體", sans-serif;
    text-align: center;
}

.ui-datepicker-calendar th {
    font-size: 14px;
    font-weight: bold;
}

.ui-datepicker-calendar td {
    font-size: 14px;
}

.ui-datepicker-calendar th span,
.ui-datepicker-calendar td span,
.ui-datepicker-calendar td a {
    display: block;
    padding: 5px 0 5px;
}

.ui-datepicker-calendar td a {
    text-decoration: none;
    color: #333;
    line-height: 22px;
}

.ui-datepicker-unselectable {
    color: #cfcfcf;
}

.ui-datepicker-today {
    background-color: #e60012;
}

.ui-datepicker-calendar td.ui-datepicker-today a {
    color: #fff !important;
}

.ui-datepicker-unselectable.ui-datepicker-today {
    background-color: #f0f0f0;
}

.ui-datepicker-calendar td a.ui-state-default:hover {
    color: #e60012
}

.ui-datepicker-current-day a {
    border: 1px solid #21293c;
}



/*----------------------------------------------------------------------*/
/* 編輯器 */
.editable_content {
    margin-top: 10px;
    margin-bottom: 10px;
}

.editable_content.content {
    margin-top: 40px;
    margin-bottom: 40px;
}

#main_content+.editable_content.content {
    margin-top: 10px;
}

/* 為文字上稿區可能出現的元素做設定 */
/*.editable_content, .editable_content p, .editable_content li, .editable_content div, .editable_content blockquote { text-align:justify; text-justify:inter-ideograph; }*/
.editable_content,
.editable_content p,
.editable_content li,
.editable_content dt,
.editable_content dd,
.editable_content div,
.editable_content blockquote {
    line-height: 2em;
    letter-spacing: 0.1em;
}

.editable_content .district,
.editable_content div,
.editable_content table,
.editable_content iframe,
.editable_content blockquote {
    margin-top: 2.5em;
    margin-bottom: 2.5em;
}

.editable_content p,
.editable_content ul,
.editable_content ol,
.editable_content dl {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.editable_content p {
    padding: 0;
}

.editable_content h4,
.editable_content h5,
.editable_content h6 {
    margin-bottom: 5px;
    line-height: 1.5em;
}

.editable_content h4+*:not(h4):not(h5):not(h6),
.editable_content h5+*:not(h4):not(h5):not(h6),
.editable_content h6+*:not(h4):not(h5):not(h6) {
    margin-top: 0.625em;
}

.editable_content h4+h4,
.editable_content h4+h5,
.editable_content h4+h6,
.editable_content h5+h4,
.editable_content h5+h5,
.editable_content h5+h6,
.editable_content h6+h4,
.editable_content h6+h5,
.editable_content h6+h6 {
    margin-top: 1.25em;
}

.editable_content h4 {
    font-size: 1.375rem;
    color: var(--style1-blue-dark);
    overflow: hidden;
}

.editable_content h5 {
    font-size: 1.25rem;
}

.editable_content h6 {
    font-size: 1.125rem;
}

.editable_content blockquote {
    background-color: #fff;
    border: 1px solid var(--dfborder);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.editable_content blockquote::before,
.editable_content blockquote::after {
    display: block;
    position: absolute;
    font-family: 'Montserrat', sans-serif;
    line-height: 100%;
    color: #e5e5f0;
}

.editable_content blockquote::before {
    content: '“';
}

.editable_content blockquote::after {
    content: '”';
}

@media screen and (max-width: 767px) {
    .editable_content blockquote {
        padding: 50px 25px;
    }

    .editable_content blockquote::before,
    .editable_content blockquote::after {
        font-size: 80px;
    }

    .editable_content blockquote::before {
        left: 10px;
        top: 10px;
    }

    .editable_content blockquote::after {
        right: 10px;
        bottom: -40px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .editable_content blockquote {
        margin-left: 40px;
        margin-right: 40px;
        padding: 25px 50px;
    }

    .editable_content blockquote::before,
    .editable_content blockquote::after {
        font-size: 80px;
    }

    .editable_content blockquote::before {
        left: 10px;
        top: 10px;
    }

    .editable_content blockquote::after {
        right: 10px;
        bottom: -40px;
    }
}

@media screen and (min-width: 1024px) {
    .editable_content blockquote {
        margin-left: 60px;
        margin-right: 60px;
        padding: 30px 70px;
    }

    .editable_content blockquote::before,
    .editable_content blockquote::after {
        font-size: 100px;
    }

    .editable_content blockquote::before {
        left: 20px;
        top: 5px;
    }

    .editable_content blockquote::after {
        right: 20px;
        bottom: -45px;
    }
}

.editable_content .district .imgleft~blockquote,
.editable_content .district .imgright~blockquote {
    margin-left: 0;
    margin-right: 0;
}

.editable_content ol {
    list-style-type: decimal;
    padding-left: 2em;
    overflow: hidden;
}

.editable_content ul {
    list-style-type: disc;
    padding-left: 2em;
    overflow: hidden;
}

.editable_content ul[type="disc"] {
    list-style-type: disc;
}

.editable_content ul[type="circle"] {
    list-style-type: circle;
}

.editable_content ul[type="square"] {
    list-style-type: square;
}

.editable_content li {
    margin-bottom: 0.625em;
}

.editable_content ol ol {
    list-style-type: lower-alpha;
}

.editable_content ul ul {
    list-style-type: circle;
}

.editable_content ul ul,
.editable_content ul ol,
.editable_content ol ul,
.editable_content ol ol {
    margin-top: 5px;
    margin-bottom: 0;
}

.editable_content ul li:last-child,
.editable_content ol li:last-child {
    margin-bottom: 0;
}

.editable_content dl {
    overflow: hidden;
}

.editable_content dl dt {
    font-weight: bold;
    margin-bottom: 0.625em;
}

.editable_content dl dd {
    padding-left: 25px;
    margin-bottom: 0.625em;
    position: relative;
}

.editable_content dl dd::before {
    content: '';
    display: block;
    position: absolute;
    top: 1em;
    left: 6px;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    background-color: #333;
    border-radius: 50%;
}

.editable_content dl dl,
.editable_content dl ul,
.editable_content dl ol,
.editable_content ul dl.editable_content ol dl {
    margin-top: 5px;
    margin-bottom: 0;
}

.editable_content dl dd:last-child {
    margin-bottom: 0;
}

.editable_content hr {
    margin: 1.875em 0;
}

/* 影片、相關連結、相關檔案 */
.MsgModule_Download span,
.MsgModule_Link span {
    white-space: nowrap;
    font-weight: bold;
}

.MsgModule_Download+.MsgModule_Download,
.MsgModule_Download+.MsgModule_Link,
.MsgModule_Link+.MsgModule_Download,
.MsgModule_Link+.MsgModule_Link {
    margin-top: -10px;
}

.editable_content .MsgModule_Download span.file_hashes {
    margin-left: 4px;
}

.editable_content .MsgModule_Media {
    margin-left: auto;
    margin-right: auto;
    width: 560px;
}

.editable_content .MsgModule_Media.left {
    margin-left: 0;
}

.editable_content .MsgModule_Media.right {
    margin-right: 0;
}

.editable_content .MsgModule_Media.landscape {
    width: 560px;
}

.editable_content .MsgModule_Media.portrait {
    width: 315px;
}

.editable_content .MsgModule_Media .media_wrap {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 56.25%;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.editable_content .MsgModule_Media.landscape.ratio_16by9 .media_wrap {
    padding-bottom: 56.25%;
}

.editable_content .MsgModule_Media.portrait.ratio_16by9 .media_wrap {
    padding-bottom: 177.77%;
}

.editable_content .MsgModule_Media.landscape.ratio_4by3 .media_wrap {
    padding-bottom: 75%;
}

.editable_content .MsgModule_Media.portrait.ratio_4by3 .media_wrap {
    padding-bottom: 133.33%;
}

.editable_content .MsgModule_Media .media_wrap iframe,
.editable_content .MsgModule_Media .media_wrap object,
.editable_content .MsgModule_Media .media_wrap embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    margin: 0;
}

.editable_content .MsgModule_Media .describe {
    text-align: left;
    margin: 0;
    padding: 20px;
    background-color: #ebebeb;
    line-height: 150%;
}

.editable_content .MsgModule_Media .describe span {
    display: block;
}

.editable_content .MsgModule_Media .describe .title {
    margin-bottom: 10px;
}

.editable_content .MsgModule_Media .describe .desc {
    font-size: 0.9375rem;
}

.editable_content noscript div.ytlink {
    padding: 0;
    margin: 0;
    line-height: 1.25em;
}

/* no script時影片區塊顯示的訊息 */

.editable_content .MsgModule_Media video {
    display: block;
    width: 100%;
}

/* 文繞圖設定 */
.editable_content .district::after {
    content: '';
    display: block;
    clear: both;
}

.editable_content .district>*:first-child {
    margin-top: 0;
}

.editable_content .district>*:last-child {
    margin-bottom: 0;
}

.editable_content .img_bg {
    margin-bottom: 20px;
    text-align: center;
}

.editable_content .img_bg figure {
    display: inline-block;
    margin: 0;
}

.editable_content .imgleft {
    float: left;
}

.editable_content .imgright {
    float: right;
}

.editable_content .imgcenter {
    clear: both;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.editable_content .imgleft,
.editable_content .imgright {
    max-width: 50%;
}

.editable_content .img_bg figcaption,
.editable_content .img_bg span {
    display: block;
    padding: 0 0 0 14px;
    margin: 0 auto;
    position: relative;
    font-size: 0.875rem;
    font-weight: 300;
    color: #999;
    line-height: 1.5em;
    text-align: left;
}

.editable_content .img_bg figcaption::after,
.editable_content .img_bg span::after {
    content: '';
    display: block;
    position: absolute;
    top: 9px;
    left: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #999;
}

@media screen and (max-width: 639px) {

    .editable_content .district .imgleft,
    .editable_content .district .imgright {
        float: none;
        clear: both;
        max-width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 640px) and (max-width: 1279px) {
    .editable_content .imgleft {
        margin-right: 20px;
    }

    .editable_content .imgright {
        margin-left: 20px;
    }
}

@media screen and (min-width: 1280px) {
    .editable_content .imgleft {
        margin-right: 25px;
    }

    .editable_content .imgright {
        margin-left: 25px;
    }
}

/* 單篇延伸區塊 */
.editable_content h4.ext_title {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 0;
    position: relative;
    color: var(--style1-blue-dark);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 2em;
    padding-left: 40px;
}

.editable_content h4.ext_title::before {
    content: '';
    position: absolute;
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--style1-blue--);
    margin-right: 5px;
    background: url("../images/icon_module.svg") no-repeat;
    background-size: 100%;
    top: calc(50% - 12px);
    left: 5px;
    z-index: 10;
}


.editable_content h4.ext_title::after {
    content: '';
    position: absolute;
    display: block;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--style1-blue--);
    top: calc(50% - 17px);
    left: 0;
}

.editable_content h4.icon_file::before {
    background-position: 0 0;
}

.editable_content h4.icon_link::before {
    background-position: 0 50%;
}

.editable_content h4.icon_photo::before {
    background-position: 0 100%;
}

.editable_content ul.ext_list {
    margin: 0 0 2em 0;
    list-style-type: none;
    overflow: hidden;
}

.editable_content ul.ext_list li {
    position: relative;
    margin-bottom: 6px;
    line-height: 1.8em;
}

.editable_content ul.ext_list li:last-child {
    margin-bottom: 0;
}

.editable_content ul.ext_list li::after {
    content: '';
    display: block;
    position: absolute;
    top: 0.9em;
    left: -15px;
    background-color: var(--style1-blue--);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-top: -3px;
}

.editable_content ul.ext_list li>a {
    display: inline-block;
}

.editable_content ul.ext_list li>a:hover,
.editable_content ul.ext_list li>a:focus {
    color: var(--style1-blue-dark);
}

.editable_content ul.ext_list li span.file_ext {
    margin-left: 6px;
    width: 24px;
    height: 24px;
}

.editable_content ul.ext_list li span.file_hashes {
    margin-left: 6px;
    width: 24px;
    height: 24px;
}

.editable_content ul.ext_list li span.file_hashes a {
    background-position: right 0;
}

.editable_content ul.ext_list li span.file_hashes a:hover,
.editable_content ul.ext_list li span.file_hashes a:focus {
    background-position: right 100%;
}

.editable_content #colorbox_thum {
    position: relative;
    margin-top: 0;
}

/* html編輯區的表格預設樣式 */
.editable_content table[align="center"] {
    margin-left: auto;
    margin-right: auto;
}

.editable_content table caption {
    margin: 5px 0;
    padding: 5px 0;
    font-weight: bold;
    color: #333;
    text-align: left;
    line-height: 1.5em;
}

.editable_content .tableWrap {
    position: relative;
    overflow-y: auto;
    _overflow: auto;
    width: 100%;
    margin-bottom: 1em;
    -webkit-overflow-scrolling: touch;
}

.editable_content .tableWrap table {
    margin: 0;
}

/*添加IOS下卷軸*/
.editable_content .tableWrap::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
}

.editable_content .tableWrap::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 3px solid #fafafa;
    background-color: rgba(0, 0, 0, .3);
}

.editable_content .tableWrap::-webkit-scrollbar-thumb:hover {
    background-color: #e80067;
}

/* 移除第一個物件的上邊界、上間距避免過大的空白 */
.editable_content>*:first-child,
.editable_content blockquote>*:first-child,
.editable_content td>*:first-child {
    margin-top: 0;
}

/* 移除最後一個物件的下邊界、下間距避免過大的空白 */
.editable_content>*:last-child,
.editable_content blockquote>*:last-child,
.editable_content td>*:last-child {
    margin-bottom: 0;
}

/* 避免爆版 */
.editable_content iframe,
.editable_content img,
.editable_content div,
.editable_content p,
.editable_content span,
.editable_content ul,
.editable_content ol,
.editable_content li,
.editable_content figure,
.editable_content figcaption {
    max-width: 100%;
}

.editable_content * {
    word-wrap: break-word;
}

.editable_content a {
    text-decoration: underline;
    text-underline-offset: 5px;
}


/* 取消圖片的高度設定避免RWD時不等比例縮放 */
.editable_content img {
    height: auto;
}

/* html編輯區的表格外框樣式 */
.editable_content .table_style1 {
    width: 100%;
    border-left: 1px solid #000;
    border-top: 1px solid #000;
}

.editable_content .table_style1>tbody>tr>th,
.editable_content .table_style1>tbody>tr>td {
    padding: 5px 8px;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    line-height: 160%;
}

.editable_content .table_style1>tbody>tr>th {
    background-color: #dedede;
    color: #333;
    white-space: nowrap;
}

.editable_content .table_style1>tbody>tr>td {
    background-color: #fff;
    color: #333;
}


/*----------------------------------------------------------------------*/
/* 微編輯器 */
.micro_editable_content,
.micro_editable_content p,
.micro_editable_content li,
.micro_editable_content div,
.micro_editable_content blockquote {
    line-height: 1.875em;
    letter-spacing: 0.15em;
}

.micro_editable_content div,
.micro_editable_content table,
.micro_editable_content iframe,
.micro_editable_content blockquote {
    margin-top: 1.4375em;
    margin-bottom: 1.4375em;
}

.micro_editable_content p,
.micro_editable_content ul,
.micro_editable_content ol {
    margin-top: 1em;
    margin-bottom: 1em;
}

.micro_editable_content p {
    padding: 0;
}

.micro_editable_content h4,
.micro_editable_content h5,
.micro_editable_content h6 {
    margin-bottom: 5px;
    line-height: 1.5em;
}

.micro_editable_content h4+*:not(h4):not(h5):not(h6),
.micro_editable_content h5+*:not(h4):not(h5):not(h6),
.micro_editable_content h6+*:not(h4):not(h5):not(h6) {
    margin-top: 0.625em;
}

.micro_editable_content h4+h4,
.micro_editable_content h4+h5,
.micro_editable_content h4+h6,
.micro_editable_content h5+h4,
.micro_editable_content h5+h5,
.micro_editable_content h5+h6,
.micro_editable_content h6+h4,
.micro_editable_content h6+h5,
.micro_editable_content h6+h6 {
    margin-top: 1.25em;
}

.micro_editable_content h4 {
    font-size: 1.375rem;
    color: #202020;
    overflow: hidden;
}

.micro_editable_content h5 {
    font-size: 1.25rem;
}

.micro_editable_content h6 {
    font-size: 1.125rem;
}

.micro_editable_content blockquote {
    background-color: #fff;
    border: 1px solid #ccc;
    margin-left: 20px;
    margin-right: 20px;
    padding: 20px 40px;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.micro_editable_content blockquote::before,
.micro_editable_content blockquote::after {
    display: block;
    position: absolute;
    font-family: 'Montserrat', sans-serif;
    line-height: 100%;
    color: #e2e2e2;
    font-size: 64px;
}

.micro_editable_content blockquote::before {
    content: '“';
    left: 10px;
    top: 5px;
}

.micro_editable_content blockquote::after {
    content: '”';
    right: 10px;
    bottom: -25px;
}

.micro_editable_content ol {
    list-style-type: decimal;
    padding-left: 2em;
    overflow: hidden;
}

.micro_editable_content ul {
    list-style-type: disc;
    padding-left: 2em;
    overflow: hidden;
}

.micro_editable_content ul[type="disc"] {
    list-style-type: disc;
}

.micro_editable_content ul[type="circle"] {
    list-style-type: circle;
}

.micro_editable_content ul[type="square"] {
    list-style-type: square;
}

.micro_editable_content li {
    margin-bottom: 0.5em;
}

.micro_editable_content ol ol {
    list-style-type: lower-alpha;
}

.micro_editable_content ul ul {
    list-style-type: circle;
}

.micro_editable_content ul ul,
.micro_editable_content ul ol,
.micro_editable_content ol ul,
.micro_editable_content ol ol {
    margin-top: 5px;
    margin-bottom: 0;
}

.micro_editable_content ul li:last-child,
.micro_editable_content li:last-child {
    margin-bottom: 0;
}

.micro_editable_content hr {
    margin: 1.4375em 0;
}

/* 移除第一個物件的上邊界、上間距避免過大的空白 */
.micro_editable_content>*:first-child,
.micro_editable_content blockquote>*:first-child,
.micro_editable_content td>*:first-child {
    margin-top: 0;
}

/* 移除最後一個物件的下邊界、下間距避免過大的空白 */
.micro_editable_content>*:last-child,
.micro_editable_content blockquote>*:last-child,
.micro_editable_content td>*:last-child {
    margin-bottom: 0;
}

/* 避免爆版 */
.micro_editable_content iframe,
.micro_editable_content img,
.micro_editable_content div,
.micro_editable_content p,
.micro_editable_content span,
.micro_editable_content ul,
.micro_editable_content ol,
.micro_editable_content li,
.micro_editable_content figure,
.micro_editable_content figcaption {
    max-width: 100%;
}

.micro_editable_content * {
    word-wrap: break-word;
}

/* 取消圖片的高度設定避免RWD時不等比例縮放 */
.micro_editable_content img {
    height: auto;
}


/*----------------------------------------------------------------------*/
/*
    ColorBox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox,
#cboxOverlay,
#cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10001;
    overflow: hidden;
}

#cboxOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
}

#cboxMiddleLeft,
#cboxBottomLeft {
    clear: left;
}

#cboxContent {
    position: relative;
    font-size: 14px;
    text-align: center;
}

#cboxLoadedContent {
    overflow: auto;
    padding: 30px 5px 60px 5px;
}

#cboxTitle {
    margin: 0;
}

#cboxLoadingOverlay,
#cboxLoadingGraphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#cboxPrevious,
#cboxNext,
#cboxClose,
#cboxSlideshow {
    cursor: pointer;
}

.cboxPhoto {
    float: left;
    margin: auto;
    border: 0;
    display: block;
    max-width: none;
}

.cboxIframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

#colorbox,
#cboxContent,
#cboxLoadedContent {
    box-sizing: content-box;
}

#colorbox_thum {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

#colorbox_thum a {
    display: block;
    text-align: center;
    vertical-align: middle;
}

#colorbox_thum a:hover {
    transform: scale(1.02);
}

#colorbox_thum a * {
    vertical-align: middle;
}

#colorbox_thum a span {
    display: inline-block;
    height: 100%;
}

#colorbox_thum a img {
    max-width: 100%;
    max-height: 100%;
}

@media screen and (max-width:399px) {
    #colorbox_thum {
        margin-left: -5px;
        margin-right: -5px;
    }

    #colorbox_thum a {
        padding: 5px;
    }
}

@media screen and (min-width: 400px) {
    #colorbox_thum {
        margin-left: -10px;
        margin-right: -10px;
    }

    #colorbox_thum a {
        padding: 10px;
    }
}

@media screen and (max-width: 639px) {
    #colorbox_thum a {
        width: 140px;
        height: 100px;
    }
}

@media screen and (min-width: 640px) and (max-width: 1199px) {
    #colorbox_thum a {
        width: 180px;
        height: 120px;
    }
}

@media screen and (min-width: 1200px) {
    #colorbox_thum a {
        width: 220px;
        height: 145px;
    }
}

/*
    User Style:
    Change the following styles to modify the appearance of ColorBox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay {
    background: #000;
}

#colorbox {}

#cboxContent {
    margin-top: 20px;
}

.cboxIframe {
    background: #fff;
}

#cboxError {
    padding: 50px;
    border: 1px solid #ccc;
}

#cboxLoadedContent {
    border: 5px solid #000;
    background: #000;
}

#cboxTitle {
    position: absolute;
    bottom: 10px;
    /*bottom: 20px; */
    left: 0;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    color: #fff;
    line-height: 18px;
}

#cboxCurrent {
    position: absolute;
    top: -20px;
    right: 0px;
    color: #ccc;
}

#cboxSlideshow {
    position: absolute;
    top: -20px;
    right: 90px;
    color: #fff;
}

#cboxPrevious {
    position: absolute;
    top: 50%;
    left: 5px;
    margin-top: -32px;
    background: url("../images/colorbox_controls.png") no-repeat top left;
    width: 28px;
    height: 65px;
    text-indent: -9999px;
}

#cboxPrevious:hover {
    background-position: bottom left;
}

#cboxNext {
    position: absolute;
    top: 50%;
    right: 5px;
    margin-top: -32px;
    background: url("../images/colorbox_controls.png") no-repeat top right;
    width: 28px;
    height: 65px;
    text-indent: -9999px;
}

#cboxNext:hover {
    background-position: bottom right;
}

#cboxLoadingOverlay {
    background: #000;
}

#cboxLoadingGraphic {
    background: url("../images/colorbox_loading.gif") no-repeat center center;
}

#cboxClose {
    position: absolute;
    top: 5px;
    right: 5px;
    display: block;
    background: url("../images/colorbox_controls.png") no-repeat top center;
    width: 38px;
    height: 19px;
    text-indent: -9999px;
}

#cboxClose:hover {
    background-position: bottom center;
}


/*---------------------------------------------------------*/
/* 檔案下載圖示及雜湊值驗證 */
.file_ext {
    display: inline-block;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    vertical-align: middle;
}

.file_ext::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.file_csv::before {
    background-color: #589c00;
}

.file_doc::before {
    background-color: #2372ba;
}

.file_img::before {
    background-color: #5b2d8d;
}

.file_mov::before {
    background-color: #c51700;
}

.file_other::before {
    background-color: #919191;
}

.file_pdf::before {
    background-color: #ea4c3a;
}

.file_ppt::before {
    background-color: #dd5b26;
}

.file_txt::before {
    background-color: #919191;
}

.file_xls::before {
    background-color: #08743b;
}

.file_xml::before {
    background-color: #157efb;
}

.file_zip::before {
    background-color: #e67e22;
}

.file_odt::before {
    background-color: #2372ba;
}

.file_ods::before {
    background-color: #08743b;
}

.file_odp::before {
    background-color: #dd5b26;
}

.file_wmf::before {
    background-color: #2f5483;
}

.file_dwg::before {
    background-color: #2f5483;
}

.file_ext::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.file_csv::after {
    background-image: url("../images/file_ext/csv.png");
}

.file_doc::after {
    background-image: url("../images/file_ext/doc.png");
}

.file_img::after {
    background-image: url("../images/file_ext/img.png");
}

.file_mov::after {
    background-image: url("../images/file_ext/mov.png");
}

.file_other::after {
    background-image: url("../images/file_ext/other.png");
}

.file_pdf::after {
    background-image: url("../images/file_ext/pdf.png");
}

.file_ppt::after {
    background-image: url("../images/file_ext/ppt.png");
}

.file_txt::after {
    background-image: url("../images/file_ext/txt.png");
}

.file_xls::after {
    background-image: url("../images/file_ext/xls.png");
}

.file_xml::after {
    background-image: url("../images/file_ext/xml.png");
}

.file_zip::after {
    background-image: url("../images/file_ext/zip.png");
}

.file_odt::after {
    background-image: url("../images/file_ext/odt.png");
}

.file_ods::after {
    background-image: url("../images/file_ext/ods.png");
}

.file_odp::after {
    background-image: url("../images/file_ext/odp.png");
}

.file_wmf::after {
    background-image: url("../images/file_ext/wmf.png");
}

.file_dwg::after {
    background-image: url("../images/file_ext/dwg.png");
}

.file_hashes {
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-indent: -999px;
    vertical-align: middle;
}

.file_hashes a {
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    position: relative;
}

.file_hashes a:hover,
.file_hashes a:focus {
    background-color: #00005d;
}

.file_hashes a::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    background: url("../images/icon_file_hashes.png") 0 0 no-repeat;
    background-size: 100%;
}

.file_hashes a:hover::after,
.file_hashes a:focus::after {
    background-position: 0 100%;
}

/*----------------------------------------------------------------------*/