/* header */
#header .header-row {
	flex-grow: 0;/* flex-grow: 1; */
}



/* social-icons */
.social-icons li:hover.social-icons-weibo a {
	background: #DF2029 !important;
}
.social-icons li:hover.social-icons-baidu a {
	background: #1565C0 !important;
}
.social-icons li:hover.social-icons-qq a {
	background: #FFC107 !important;
}
.social-icons li:hover.social-icons-line a {
	background: #06C755 !important;
}
.social-icons li:hover.social-icons-telegram a {
	background: #0088CC !important;
}
.social-icons li:hover.social-icons-tiktok a {
	background: #212121 !important;
}
.social-icons li:hover.social-icons-logout a {
	background: #FC0004 !important;
}
.social-icons li:hover.social-icons-member a {
	background: #0A7596 !important;
}
.social-icons li:hover.social-icons-privacy a {
	background: #865959 !important;
}
.social-icons li:hover.social-icons-link a {
	background: #3a9646 !important;
}


/* footer-social-icons */
.footer-social-icons li {margin-bottom: 5px;}
.footer-social-icons li a {
    height: 38px;
    line-height: 38px;
    width: 38px;
}

#footer p {
	color: #CECECE;
}
#footer a:not(.btn):not(.no-footer-css) {
	color: #CECECE;}
#footer a:not(.btn):not(.no-footer-css).text-color-light:hover {
    color: #0088cc !important;
}
#footer .footer-copyright p {
    color: #CECECE;
    margin: 0;
    padding: 0;
    font-size: 0.9em;
}
.footer-copyright #sub-menu li a:hover { color: #8C8C8C !important;}

/* menu */
#header .header-btn-collapse-nav {
	background: rgba(24,19,99,1.00);
}

@media (min-width: 992px) {
	#header .header-nav-main nav > ul > li > a {
		color: #222222;
		padding: 0.5rem 0.8rem;
	}
    
	#header .header-nav-main nav > ul > li.open > a, #header .header-nav-main nav > ul > li:hover > a {
        background: rgba(24,19,99,1.00);
    }
	
    #header .header-nav-main nav > ul > li.dropdown .dropdown-menu {
		border-top-color: #181363;
	}
	
	#header .header-nav-main nav > ul > li.dropdown:hover > a:before {
		border-bottom-color: #181363;
	}
}

@media (max-width: 991px) {
	#header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a {
		color: #222222;
	}
	
	#header .header-nav-main:not(.header-nav-main-mobile-dark) nav > ul > li > a:active {
		color: rgba(24,19,99,1.00);
	}

}
header .header-nav-top .nav > li > a [class*="fa-"] {
    font-size: 1.2em !important;
}

/* list */
.list.list-icons li > [class*="fa-"]:first-child,
.list.list-icons li a:first-child > [class*="fa-"]:first-child,
.list.list-icons li > .icons:first-child,
.list.list-icons li a:first-child > .icons:first-child {
	color: #0088CC;
	border-color: #0088CC;
}

/* slider L R button */
.owl-carousel:not(.nav-arrows-1):not(.show-nav-title) .owl-nav button[class*="owl-"] {
	background-color: #181363;
	border-color: #930302 #930302 #b00002;
}

.owl-carousel:not(.nav-arrows-1):not(.show-nav-title) .owl-nav button[class*="owl-"]:hover,
.owl-carousel:not(.nav-arrows-1):not(.show-nav-title) .owl-nav button[class*="owl-"].hover {
	background-color: #181363;
	border-color: #930302 #930302 #b00002;
}

.owl-carousel .owl-dots .owl-dot.active span, .owl-carousel .owl-dots .owl-dot:hover span {
    background-color: #b00002;
}


/* index preview */

.index_pre_title a { color: #222222;}

/* scroll-to-top */
a:hover.scroll-to-top.visible, a:focus.scroll-to-top.visible  {
    color: #0088cc;
}

a:active.scroll-to-top.visible, a:visited.scroll-to-top.visible  {
    color: #b00002;
}

/* cookie-banner */
#cb-cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 999; border-radius: 0; display: none; } 

/* iframe youtube shorts */
iframe[src*="https://www.youtube.com/embed/"] {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    max-width: 320px!important;
    aspect-ratio: 9 / 16 !important;
}

/* video toogle title */
.toggle.toggle-minimal .toggle > .toggle-title {
	background: transparent;
    color: #777 !important;
    border-left: 0;
    border-bottom: none !important;
    border-radius: 0;
    margin: 0;
    padding: 0 20px 0 0 !important;
	font-weight: normal !important;
}
.toggle-primary.toggle-minimal .toggle.active > .toggle-title {
	color: #777 !important;
}

.toggle {
    margin: 0 0 20px !important;
}

.toggle > .toggle-content > p {
    margin-bottom: 0;
    padding: 10px 0 !important;
}


.toggle > .toggle-title:before {
    right: 5px !important;
}

/* video page sub link */
.nav-link:hover {
    color: #181363;
}
.nav-link:focus {
	color: #181363;
}

/* badge-outlined */
.badge.badge-outlined {
	border: 1px solid transparent;
	border-color: #d9d9d9 #d9d9d9 #bfbfbf;
    color: #777;
}

/* breadcrumb */
.breadcrumb li a:hover {color: #00CDFE !important;}

/*手機版無下拉選單按鈕保持相同高度 */
@media (max-width: 991px) {
.nodropdown {padding: 7px 0 !important;}
}


/*pagination color */
.pagination > .active > a:active:not(.bg-transparent),.pagination > .active > a,.pagination .page-item.active .page-link {
    background-color: #b00015 !important;
    border-color: #b00015;
}
.pagination > li > a,.pagination > li > a:hover,.pagination > li > a:focus {color: #b00015;}


/* seperator */

.seperator, .separator {
    color: #333;
    width: 100%;
    margin: 0px auto;
    overflow: hidden;
    text-align: center;
    line-height: 1.2em;
}
.seperator::before, .seperator::after, .separator::before, .separator::after {
    border-bottom: 1px solid #eee;
    content: "";
    display: inline-block;
    height: 0.65em;
    margin: 0 -4px 0 -100%;
    vertical-align: top;
    width: 50%;
}

.seperator::after, .separator::after {
    margin: 0 -100% 0 0;
    border-bottom: 1px solid #eee;
    content: "";
    display: inline-block;
    height: 0.65em;
    vertical-align: top;
    width: 50%;
}

/* forms star */
.star {
    color: red;
}

/* forms login color */
html .toggle-primary .toggle label {
	color: #777;}

/* search page title */
.list.list-icons a:hover, .list.list-icons h4:hover {color: #0088cc !important;}

/* video anchor link  */
.v-target:target:before {
    content: "";
    display: block;
    height: 95px;
}

@media (max-width: 991px) {
	.v-target:target:before {
        content: "";
        display: block;
        height: 0px;
    }
}

/* contact page  */
#contact_page #pageHeader {
	margin-bottom: 0;
}

#contact_page #footer {
	margin-top: 0 !important;
}

html .bg-color-dark-scale-10 {
	background-color: rgba(0, 0, 0, 0.6);
}

#frmContact input, #frmContact textarea, #frmContact select {
    color: #fff;
    border: 0.065rem solid #fff;
    background: transparent;
}

#frmContact label {
    color: #fff;
}
#frmContact select option {
    background-color: #213a4c;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}


.counters label {
    font-weight: 600;
}

.breadcrumb {
    color: #fff;
    active-color: #fff;
}
/* breadcrumb background  */
#pageHeader {background-position: center; background-repeat: no-repeat; background-size: cover;}

dl {
  display: grid;
  grid-gap: 4px 16px;
  grid-template-columns: max-content;
}
dt {
  font-weight: bold;
}
dd {
  margin: 0;
  grid-column-start: 2;
}

/* page height  */
#page-content {
	min-height: 550px;
	background-repeat: no-repeat; 
	background-position: center; 
	background-size: contain;
}

p.drop-caps:first-letter {
    font-size: 55px;
    line-height: 40px;
}

/* 匯款記錄  */
.table-striped-trs tr {background-color: rgba(0,0,0,0.05);}
.table-striped-trs tr th {background-color: white;}
.table-striped-trs tr:nth-child(4n-1), .table-striped-trs tr:nth-child(4n){background: white;}


/* background img-------------------------------------- */
.gallery_pro, .index_activity_pro, .index_item_pro, .index_agent_pro, .index_article_pro, .index_CAT_pro, .index_banner_pro, .article_pro, .pro_cover, .item_pro{
    background-repeat:no-repeat; 
    background-position:center center; 
    width:100%; 
    height:100%;
	background-size: cover;
}

.index_agent_pro {
	background-size: contain !important;
}

.gallery_pro {border:rgba(212,212,212,0.3) solid 0.05em;}
	
.gallery_pro {max-width:800px; max-height:800px;}

/* item nav  */
ul.nav-list li a {
	font-size: 0.8em;}

/* item sub nav  */
ul.nav-list li > a.active {
    color: #0088cc;
}
ul.nav-list li > a.active2 {
    color: #0088cc;
	font-weight: normal;
}
.item_sub a {
	color: #777;
}
.item_sub a.active{
	font-weight: bold;
	color: #0088cc;
}

.item_sub a.active2{
	font-weight: normal;
	color: #0088cc;
}

/*錨點 */
.anchor { scroll-margin-top: 4rem;}

/*icon mailbox color */
.bi-mailbox2-flag { 
	color: #0088CC;
	margin-right: 1em;
}


/*簡中 */
.noto-sans-sc-<uniquifier> {
  font-family: "Noto Sans SC", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}