/********** Template CSS **********/
:root {
    --primary: #015fc9;
    --secondary: #0dd3f1;
    --light: #f6f7fc;
    --dark: #15233c;
}

a {
	color: #333333;
	outline: none; /* for Firefox Google Chrome  */
}

a:hover {
	color: #946fdd;
	text-decoration: none;
}

a:focus {
	color: #946fdd;
	outline: 5px solid #946fdd !important;
	text-decoration: none;
	/*outline: none;*/ /* for Firefox Google Chrome  */
}

a.goCenter {
	position: absolute;
	top: -2.2em;
	left: 50%;
	margin-left: -480px;
	padding: 0 .5em;
	height: 2em;
	line-height: 2em;
	background: #946fdd;
	color: #333;
	text-decoration: none;
	z-index: 999999999999;
	opacity: 0;
	transition: .5s;
	-moz-border-radius: 0px 0px 4px 4px;
	-webkit-border-radius: 0px;
	border-radius: 0px 0px 4px 4px;
	color: #FFF
}

@media screen and (max-width: 767px) {
	a.goCenter {
		display:none
	}
}

a.goCenter:hover,a.goCenter:focus {
	outline: none;
	top: 0;
	opacity: 1
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1 {
	font-size: 2em;
	font-weight: bold;
	color: rgb(132, 108, 89);
}

h2 {
	font-size: 1.5em;
	font-weight: bold;
	color: rgb(132, 108, 89);
}

h3 {
	font-size: 1.2em;
	font-weight: bold;
	color: rgb(132, 108, 89);
}

h4 {
	font-size: 1em;
	font-weight: bold;
	color: rgb(132, 108, 89);
}

h5 {
	font-size: 1em;
	font-weight: bold;
	color: rgb(132, 108, 89);
}

figcaption {
	margin-top: 0.5em;
	margin-bottom: 1em;
}

#title_figcaption {
	font-size: 36px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: rgba(255,255,255,.85);
	position: absolute;
	top: 0;
	padding-top: 110px;
	left: 8%;
	text-shadow: 3px 3px 3px rgba(73,67,41,.48);
}

@media only screen and (max-width: 768px) {
	#title_figcaption {
		font-size: 24px;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 3px;
		color: rgba(255,255,255,.85);
		position: absolute;
		top: 0;
		padding-top: 0px;
		left: 8%;
		text-shadow: 3px 3px 3px rgba(73,67,41,.48);
	}
}

.zone-video-box {
	display: inline-block;
	margin-right: 12px;
	margin-bottom: 50px;
	vertical-align: top;
}

.youtube-box {
	border-radius: 10px;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover,
.btn.btn-secondary,
.btn.btn-outline-secondary:hover {
    color: #ffffff;
}

.btn.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: 0.5s;
}

.navbar .navbar-brand img {
    max-height: 60px;
}

.navbar .right-link img {
    max-height: 32px;
    padding: 0 2px;
}

.navbar .nav-link {
    color: #696e77;
    font-weight: 700 !important;
    outline: none;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    vertical-align: middle;
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 10%;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    z-index: 1;
	color: #17120e;
	font-size: 24px;
	font-weight: bold;
	line-height: 1.5;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 50px;
}

@media (max-width: 768px) {
	.carousel-caption {
	    top: 35%;
	    left: 15%;
		font-size: 14px;
	}

    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
        object-fit: cover;
    }
}

.page-header {
    background: url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: #696e77;
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
    color: var(--primary);
}

/*** Facts ***/
@media (min-width: 992px) {
    .container.facts {
        max-width: 100% !important;
    }

    .container.facts .facts-text {
        padding-left: calc(((100% - 960px) / 2) + 0.75rem);
    }

    .container.facts .facts-counter {
        padding-right: calc(((100% - 960px) / 2) + 0.75rem);
    }
}

@media (min-width: 1200px) {
    .container.facts .facts-text {
        padding-left: calc(((100% - 1140px) / 2) + 0.75rem);
    }

    .container.facts .facts-counter {
        padding-right: calc(((100% - 1140px) / 2) + 0.75rem);
    }
}

@media (min-width: 1400px) {
    .container.facts .facts-text {
        padding-left: calc(((100% - 1320px) / 2) + 0.75rem);
    }

    .container.facts .facts-counter {
        padding-right: calc(((100% - 1320px) / 2) + 0.75rem);
    }
}

.container.facts .facts-text {
    background: linear-gradient(rgba(1, 95, 201, 0.9), rgba(1, 95, 201, 0.9)),
        url(../img/carousel-1.jpg) center right no-repeat;
    background-size: cover;
}

.container.facts .facts-counter {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
        url(../img/carousel-2.jpg) center right no-repeat;
    background-size: cover;
}

.container.facts .facts-text .h-100,
.container.facts .facts-counter .h-100 {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
}

.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon img {
    max-width: 60px;
    max-height: 60px;
}

.service-item a.btn {
    color: var(--primary);
}

.service-item a.btn:hover {
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
}

/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(1, 95, 201, 0.9), rgba(1, 95, 201, 0.9)),
        url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
}

.team-item img {
    transition: 0.5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-text {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: 0.5s;
}

.team-item:hover .team-text {
    bottom: 0;
    opacity: 1;
}

.team-item a.btn {
    color: var(--primary);
}

.team-item a.btn:hover {
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
}

/*** Testimonial ***/
.animated.pulse {
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
}

.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    padding: 5px;
    border: 1px dashed var(--primary);
    border-radius: 10px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--primary);
    border-radius: 10px;
    font-size: 22px;
    transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

/*** Footer ***/
.footer {
    color: #a7a8b4;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #a7a8b4;
    font-weight: normal;
    text-transform: capitalize;
    transition: 0.3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #a7a8b4;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: #a7a8b4;
    border: 1px solid#A7A8B4;
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
    color: var(--secondary);
}

.footer .copyright a:hover {
    color: #ffffff;
}

/* News */
#news .item {
    border: #ddd 1px solid;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 2em;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    #news .item {
        margin-bottom: 0;
    }
}

#news .item .img-zoom {
    height: 75px;
    overflow: hidden;
}

#news .item .img-zoom img {
    width: 100%;
    height: 75px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform 0.3s ease-in-out;
}

#news .item img:hover {
    transition: transform 0.5s ease-in-out;
    transform: scale(1) rotate(-25deg);
}

#news .item .title {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgb(21, 35, 60);
    height: 2.8em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* Page */
#page {
    background-color: #f6f9ff;
    padding: 40px 50px;
    font-size: 18px;
    line-height: 1.8;
    border: #ddd 1px solid;
    border-radius: 10px;
}

#page img {
    display: block;
    width: 830px;
    height: auto;
    margin: 0 auto 10px auto;
}

#page h6 {
    font-weight: 300;
    width: 830px;
    margin: 0 auto 10px auto;
}

#page .movie iframe {
    display: block;
    width: 830px;
    height: calc(0.5625 * 830px);
    margin: 10px auto;
}

@media (max-width: 768px) {
    #page {
        padding: 10px 15px;
    }
    #page img {
        width: 100%;
    }
    #page h6 {
        width: 70vw;
    }
    #page .movie iframe {
        width: 70vw;
        height: calc(0.5625 * 70vw);
    }
}

@media (max-width: 428px) {
    #page {
        padding: 10px 15px;
    }
    #page img {
        width: 100%;
    }
    #page h6 {
        width: 71vw;
    }
    #page .movie iframe {
        width: 71vw;
        height: calc(0.5625 * 71vw);
    }
}

/* Page Clear */
#page-clear {
    background-color: #f6f9ff;
    padding: 20px 40px;
    font-size: 18px;
    line-height: 160%;
    border: #ddd 1px solid;
    border-radius: 10px;
}

/* Soical Icons */
.soicalicons {
    display: flex;
    padding-left: 0;
    list-style: none;
    justify-content: flex-start;
    align-content: center;
}

.soicalicons .circlebtn {
    /*float: left;*/
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 50px;
    text-align: center;
    color: #fff;
    /*margin-bottom: 10px;*/
    margin-right: 10px;
}

.soicalicons .circlebtn a {
    color: #fff;
    font-size: 18px;
}

.soicalicons .linecolor img {
    width: 28px;
    height: 28px;
    margin-top: 0;
    margin-bottom: 0;
}

.soicalicons .facebookcolor {
    background-color: #38509a;
}

.soicalicons .twittercolor {
    background-color: #00b7ff;
}

.soicalicons .wechatcolor {
    background-color: #66cc75;
}

.soicalicons .linkedincolor {
    background-color: #0e76a8;
}

.soicalicons .hyperlinkcolor {
    background-color: #fbc70d;
}

/* Zoom Link */
#zlink .text-logo {
    position: relative;
    background: linear-gradient(135deg, #ffffff, #efefef, #ffffff, #e0e0e0);
    width: 100%;
    height: 85px;
    border: 2px solid #dfdfdf;
    border-radius: 5px;
    box-shadow: 0 10px 6px -6px rgb(0 0 0 / 20%);
    transition: all 0.3s ease;
}

#zlink .text-logo p {
    margin: 0;
    width: 6em;
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700 !important;
    line-height: 1.3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#zlink .fit-img {
    width: 170px;
    height: 85px;
    -o-object-fit: scale-down;
    object-fit: scale-down;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
    background-color: white;
    padding: 5px 10px;
    border: 1px solid #dfdfdf;
    border-radius: 5px;
    box-shadow: 0 10px 6px -6px rgb(0 0 0 / 20%);
    transition: all 0.3s ease;
}

#zlink a:hover .fit-img,
#zlink a:hover .text-logo {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgb(0 0 0 / 20%);
}

.nav-link {
    text-transform: uppercase;
}

.tbl-info {
	border-collapse: collapse;
}

.tbl-info th {
	border-bottom: 1px solid #DEE2E6;
	padding: 3px;
	background-color: #888888;
	white-space: nowrap;
}

.tbl-info tr:nth-child(odd) {
}

.tbl-info tr:hover {
	background-color: #e8e8e8;
}

.tbl-info td {
	border-bottom: 1px solid #DEE2E6;
	padding: 5px;
}

.tbl-info text {
	font-size: 16pt;
}

#myBtn {
	display: none;
	position: fixed;
	bottom: 7%;
	right: 0.5%;
	font-size: 20px;
	color: white;
	cursor: pointer;
	opacity: 80%;

	background-color: #f0ab04;
	border: none;
	border-radius: 10px;
	padding: 12px 17px;
	margin-top:10px;
	margin-right:11px;
	text-align: center;
	text-decoration: none;
	float: right;
}

/* investment_cases */
#case .item {
    border: #ddd 1px solid;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 2em;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    #case .item {
        margin-bottom: 0;
    }
}

#case .item .img-zoom {
    height: 75px;
    overflow: hidden;
}

#case .item .img-zoom img {
    width: 100%;
    height: 75px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform 0.3s ease-in-out;
}

#case .item img:hover {
    transition: transform 0.5s ease-in-out;
    transform: scale(0.5) rotate(-25deg);
}

#case .item .title {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgb(21, 35, 60);
    height: 2.8em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* plan_venture */
#venture .item {
    border: #ddd 1px solid;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 2em;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    #venture .item {
        margin-bottom: 0;
    }
}

#venture .item .img-zoom {
    height: 75px;
    overflow: hidden;
}

#venture .item .img-zoom img {
    height: 75px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform 0.3s ease-in-out;
}

#venture .item img:hover {
    transition: transform 0.5s ease-in-out;
    transform: scale(0.5) rotate(-25deg);
}

#venture .item .title {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgb(21, 35, 60);
    height: 2.8em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* 投資機構介紹 */
.inside {
	text-align: left;
}

.inside table {
	width: 80%;
}

.inside td {
	padding: 10px;
	border-bottom: 1px solid #c9c9c9;
}

.inside > table > tbody > tr > th {
	text-align: center;
}

.com_list_title {
	text-align: center;
	padding: 1% 0;
	margin-top: 2%;
	background: #0070ca;
	font-size: 1.125rem;
	color: #fff;
	width: 80%;
}

.news_title {
	border: 1px solid #c9c9c9;
	background-color: #f7f7f7;
	height: 40px;
	margin: 0;
}

.map_title {
	background-color: #ff901e;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	color: #fff;
	margin-right: 5px;
	font-size: 1.750em;
	font-weight: 700;
	text-align: center;
}

.map_area {
	color: #ff901e;
}

.map_area, .map_title {
	margin-top: 2%;
	padding: 10px;
}

.map_area i {
	font-size: 1.250em;
	width: 20px;
}

/* 方案搭配投資人 */
.customer {
	display: block;
	border: #ccc solid 1px;
	border-radius: 5px;
	text-align: center;
}

.customer img {
	width: 100%;
}

.customer_title {
	color: #B30000;
	font-weight: bold;
	font-size: 1.2em;
}

.event_title {
	display: block;
	border: #ccc solid 1px;
	border-radius: 5px;
	padding: 3px;
	padding-left: 10px;
	color: #B30000;
	font-weight: bold;
	font-size: 1.2em;
}
