
* {
    margin: 0;
    padding: 0;
    color: #4B4B4B;
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 300;
}

/* navbar */
.navbar-brand {
    color: #2F3542 !important;
    display: flex;
    align-items: flex-start;
    font-weight: 500;
}
.navbar-brand img {
    width: 50px;
}

.nav-link {
    font-weight: 400;
}

/* ul > .navbar-nav {
    font-size: 16px;
} */

/* Index */
.HBanner_one {
    background-image: url('../assets/HomePage.png') ;
    height: 400px;
    width: 100%;
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.Custom-btn {
    background-color: #2c3e50; 
    color: white;
    border: none;
    border-radius: 50px;
    padding: 20px 50px;
    margin-top: 20px;
}

.Custom-btn:hover {
    background-color: #4B4B4B; 
    color: #AAAAAA;
}

.HBanner_second {
    background-image: url('../assets/BusinessUnit.png') ;
    height: 230px;
    width: 100%;
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-flex;
    align-items: center;
    text-align: center;
}

.second-text a:hover {
    text-shadow: 0 0 20px #34495e, 0 0 40px #eee;
}

.HBanner_Third {
    background-image: url('../assets/Investor.jpg') ;
    width: 100%;
    height: 230px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-flex;
    align-items: center;
    text-align: center;

}

.HBanner_Third a:hover {
    text-shadow: 0 0 20px #34495e, 0 0 40px #eee;
}

.HBpdding {
    padding-right: 20px;
}

.HBanner_Fourth {
    background-image: url('../assets/Investor_right.jpg') ;
    width: 100%;
    height: 230px;
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-flex;
    align-items: center;
    text-align: center;
}

.HBanner_Fourth a:hover {
    text-shadow: 0 0 20px #34495e, 0 0 40px #eee;
}

/* About */
.ABanner_one {
    background-image: url('../assets/AboutPage.jpg') ;
    height: 400px;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.ABanner_text {
    display: flex;
    justify-content: center;
    padding-top: 50px;
}

.card {
    /* width: 18rem; */
    overflow: hidden;    
    margin-bottom: 50px;
}

.card:hover {
    cursor: pointer;
    align-items: center;

}

.card-body {
    width: 100%;
    height: 70px;
    position: absolute;
    bottom: 0;
    background: rgb(27, 27, 27, .2);
    font-size: 20px;
    transition: .5s;

}

.card-text {
    color: #ffffff;
    text-shadow: 0 0 15px #233243;
    text-align: center;
}

.card:hover .card-body {
    width: 100%;
    height: 100%;
    background: rgb(27, 27, 27, .5);
    align-items: center;
    display: flex;
    margin: auto;
    text-align: center;
    justify-content: center;
}



  .card-body p {
    color: white;
    /* margin-top: 2em;
    padding: 0.5em;
    opacity: 0;
    visibility: hidden; */
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
  }

  /* .card-body:hover p {
    opacity: 1;
    visibility: visible; 
  }
  */

.card:hover img {
    transform: scale(1.1) rotate(-3deg);
    transition: .5s;
}

/* 公司簡章CoIntro */
.CoIntroBanner {
    background-image: url('../assets/IntroBanner.jpg') ;
    height: 400px;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.Cointro_one img{
    width: 100%;
}

.intro_item {
    line-height: 2;
    padding: 100px 0;
}

.IntroTitle {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.5;
    padding-bottom: 1rem;
}

/* .text-shadow {
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
} */

/* 管理層MgemtTeam */
.MgemtTeamBanner {
    background-image: url('../assets/MgemtTeam.jpg') ;
    height: 400px;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.tabbedPanels { 
    width: 100%; 
}

.Mgemt_item {
    line-height: 2;
    padding: 20px 130px;
}

.Mgemt_title {
    position: relative;
    font-size: 48px;
    font-weight: 600;
    color: #2C3E50;
}

.Mgemt_title::after {
    position: absolute;
    left: 0px;
    bottom: -5px;
    content: "";  /*即使不需要文字也要給"", 才會顯示出來*/
    width: 140px;
    height: 5px;
    background-color: #2C3E50;
}

.Mgemt_sub {
    font-size: 32px;
    color: #84ABA6;
    padding-top: 20px;
    line-height: 1.5;
}

.MgemtTeam_one img {
    width: 350px;
    display: flex;
    justify-content: center;
    margin: auto;
}

.summary {
    font-size: 20px;
    line-height: 2;
    padding: 0px 100px 50px;
}

.summary p {
    padding: 20px;
}


.tabs {
    width: 83%;
    display: flex;
    justify-content: center;
    list-style: none;	
    margin: auto;
    padding: 100px 0;
}

.tabs li {
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
}

.tabs a {
    font-size: 20px;
    display: block;
    text-decoration: none;
    color: #2C3E50;
    font-weight: bold;
    padding: 12px;
    margin-right: 4px; 
    border: 2px solid #2C3E50;
    /* border-top-right-radius: 5px;
    border-top-left-radius: 5px; */
    background-color: #fff;
    margin-bottom: -2px;
}


.tabs a.active {
    background-color: #2C3E50;
    color: #fff;
    font-weight: bold;
}

/*VS願景與戰略*/
.VSBanner {
    background-image: url('../assets/VSpage.jpg') ;
    height: 400px;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.services {
    padding: 5%;
}

.services> .container> .row {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);;
}

.services-card {
    background-color: #fff;
}

.image-container { 
    width: 100%;
    height: auto;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: scale(1.2) translate(-50%,-50%);
    transition: all .3s linear;
    transform-origin: top left;
}

.text-container {
    transition: all .3s linear;
    display: grid;
    height: auto;
    align-content: end;
    padding: 20px;
}

.text-container h2 {
    font-weight: bold;
    font-size: 28px;
    margin: 0;
    color: #5C828D;
    line-height: 1.5;
}


/* .text-container p {
    font-size: 20px; 
    color: #666;
    transition: all .3s linear;
} */

.services-card:hover .text-container {
    background-color: #5C828D;
}

.services-card:hover img {
    transform: scale(1.6) translate(-50%,-50%);
}

.services-card:hover .text-container p,
.services-card:hover .text-container h2{
    color: #fff;
}

/* 業務板塊 */
.BUBanner {
    background-image: url('../assets/BUpage.jpg') ;
    height: 400px;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

/* 投資者關係 */
.IRBanner {
    background-image: url('../assets/Investor.jpg') ;
    height: 400px;
    width: 100%;      
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.items-menu{
    line-height: 50px;
}

.items-menu li {
    cursor: pointer;
    border: 1px solid #fff;
    color: #fff;
    background-color: #233243;
    text-align: center;
    line-height: 1.5;
    padding: 10px 0;
}

.items-menu li:nth-child(1) {
    background-color: #fff;
    color: #233243;
    font-size: 20px;
    border-top: 4px solid #233243;
    line-height: 1.5;
    padding: 10px 0;

}

.items-menu li:nth-child(1):hover {
    background-color: #fff;
}


.items-menu li:hover {
    background-color: #eee;
    transition: 0.3s;
    color: #233243;
}

.table {
    cursor: pointer;
}

.table td:nth-child(2) {
    text-align: right;
}


.pdf_box {
    border: 1px solid #CC8E35;
    line-height: 1;
}

.left_box {
    background-color: #CC8E35;
    text-align: center;
    padding: 10px;
}

.right_box {
    padding: 10px;
}

.right_box img {
    width: 80px;
    cursor: pointer;
}

.pdf_box:hover {
    box-shadow: 0 0 15px #daaf73;
}

.more-btn {
    width: 100%;
    background-color: #F5F5F5;
    margin: 50px 0;
}

.more-btn:hover {
    background-color: #ecf0f1;
    color: #bdc3c7;
}

/* 媒體中心 */
.MCBanner {
    background-image: url('../assets/MCpage.jpg') ;
    height: 400px;
    width: 100%;      
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

/* 行業新聞 */
.INBanner {
    background-image: url('../assets/MC_second.jpg') ;
    height: 400px;
    width: 100%;      
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.INnews {
    margin: 100px 0;
}

.INnews-text {
    border: 1px solid #eee;
    padding: 20px;
    margin: 20px;
    display: flex;
    align-items: center;
}

.INnews-text a {
    line-height: 1.5;
}

.INnews-title img {
    width: 50px;
}



/* Contact US */
 .ContactBanner {
    background-image: url('../assets/ContactPage.jpg') ;
    height: 400px;
    width: 100%;      
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


.ContactBanner h2 {
    height: 400px;
}



.contact-box{
	justify-content: center;
	align-items: center;
	text-align: center;
	box-shadow: 0px 0px 19px 5px rgba(0,0,0,0.19);
    margin: 100px 0;
}

.contact-box-text {
    padding: 50px;
}

.field{
	width: 100%;
	border: 2px solid rgba(0, 0, 0, 0);
	outline: none;
	background-color: rgba(230, 230, 230, 0.6);
	padding: 0.5rem 1rem;
	font-size: 1.1rem;
	margin-bottom: 22px;
	transition: .3s;
}

.field:hover{
	background-color: rgba(0, 0, 0, 0.1);
}

textarea{
	min-height: 150px;
}

.formBtn{
	width: 100%;
	padding: 0.5rem 1rem;
	background-color: #5C828D;
	color: white;
	font-size: 1.1rem;
	border: none;
    border-radius: 50px;
    padding: 15px 50px;
	outline: none;
	cursor: pointer;
	transition: .3s;
}

.formBtn:hover{
    background-color: #A4BDBF;
}

.field:focus{
    border: 2px solid rgba(30,85,250,0.47);
    background-color: #fff;
}

.contact_text {
    margin-top: 20px;
    line-height: 1.5;
}

.label-left{
    text-align: left;
} 



/* footer */

a,
a:hover,
a:focus,
a:active {
    text-decoration: none;
    outline: none;
}

a,
a:active,
a:focus {
    color: #6f6f6f;
    text-decoration: none;
    transition-timing-function: ease-in-out;
    -ms-transition-timing-function: ease-in-out;
    -moz-transition-timing-function: ease-in-out;
    -webkit-transition-timing-function: ease-in-out;
    -o-transition-timing-function: ease-in-out;
    transition-duration: .2s;
    -ms-transition-duration: .2s;
    -moz-transition-duration: .2s;
    -webkit-transition-duration: .2s;
    -o-transition-duration: .2s;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* footer bg */
.footer-section {
    background-color: #233243;
    position: relative;
    overflow: hidden;
    z-index: 9;
}

.footer-section:before {
    content: '';
    position: absolute;
    top: -146%;
    left: -18%;
    width: 44%;
    height: 257%;
    transform: rotate(54deg);
    background-color: rgb(31, 47, 64);
    -webkit-transform: rotate(54deg);
    -moz-transform: rotate(54deg);
    -ms-transform: rotate(54deg);
    -o-transform: rotate(54deg);
    z-index: -10;
}

.footer-section:after {
    position: absolute;
    content: '';
    background-color: rgb(31, 47, 64);
    top: -24%;
    right: 4%;
    width: 26%;
    height: 264%;
    transform: rotate(44deg);
    -webkit-transform: rotate(44deg);
    -moz-transform: rotate(44deg);
    -ms-transform: rotate(44deg);
    -o-transform: rotate(44deg);
    z-index: -10;
}

.footer-top {
    padding-top: 96px;
    padding-bottom: 50px;
}

.widget-title {
    position: relative;
    text-transform: capitalize;
    padding-bottom: 15px;
}

.widget h5 a {
    color: #BCCCCE;
}
.widget > h5> a:hover {
    color: #fff;
}

.widget-title::before {
    content: ''; /* 必须设置 content 属性，否则伪元素可能不显示 */
    position: absolute;
    bottom: -5px; /* 控制底线的位置，可根据需要调整 */
    /* left: 0; */
    width: 20%;
    height: 2px; /* 底线的高度 */
    background-color: #fff; /* 底线的颜色 */
    text-align: center;
    margin-bottom: 15px;
  }

.footer-top .widget-title {
    color: #BCCCCE;
}

.footer-top .widget-title a {
    font-weight: 500;
}

.courses-link-list li {
    color: #ffffff;
}

.courses-link-list li+li {
    margin-top: 10px;
}

.courses-link-list li a {
    color: #ffffff;
    text-transform: capitalize;
    font-family: var(--para-font);
    font-weight: 300;
}

.courses-link-list li a:hover {
    color: #FFB8B8;
}

.courses-link-list li i {
    margin-right: 5px;
}

.footer-top .small-post-title a {
    font-family: var(--para-font);
    color: #ffffff;
    font-weight: 400;
}

.footer-bottom {
    padding: 13px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.149);
}

.copy-right-text {
    color: #ffffff;
}

.copy-right-text span{
    color: #ffb606;
}

.input_group {
    display: flex;
    align-items: center;
}

@media (max-width: 992px) {
    /* index */
    .HBanner_one {
        background-image: url('../assets/HomePage_small.png') ;
        display: inline-flex;
        align-items: end;
        text-align: center;
        padding-bottom: 20px;
    }

    .HB_text {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .HBanner_second {
        background-image: url('../assets/BusinessUnit_small.png') ;
        display: inline-flex;
        align-items: end;
        text-align: right;
    }

    .HBanner_Fourth {
        display: inline-flex;
        align-items: end;
        text-align: right;
    }

    .HBpdding {
        padding-right: 0;
    }

    .second-text{
        padding: 0 20px;
    }


    /* 投資者關係 */
    .IRBanner {
        height: 200px;
    }

    .IRBanner h2 {
        height: 200px;
    }

    /* 管理層 */
    .MgemtTeamBanner {
        height: 200px;
    }

    .MgemtTeamBanner h2 {
        height: 200px;
    }

    .Mgemt_item {
        padding: 0 30px 0;
    }
    

    /* 媒體中心 */
    .MCBanner {
        height: 200px;
    }

    .MCBanner h2 {
        height: 200px;
    }

    /* 業務板塊 */
    .BUBanner {
        height: 200px;
    }

    .BUBanner h2 {
        height: 200px;
    }

    .intro_item {
        line-height: 2;
        padding: 20px 0;
    }

    /* 公司簡介 */
    .CoIntroBanner {
        height: 200px;
    }

    .CoIntroBanner h2 {
        height: 200px;
    }

    .intro_item {
        line-height: 2;
        padding: 40px 0 100px;
    }

    .IntroTitle {
        font-size: 26px;
        text-align: center;
    }
    
    

    /* 關於我們 */
    .ABanner_one {
        height: 200px;
    }

    .ABanner_one h2 {
        height: 200px;
    }

    .ABanner_text {
        background-color: #eee;
        display: flex;
        justify-content: center;
        padding: 20px;
     }
    /* 願景與戰略 */
    .VSBanner {
        background-image: none ;
        background-color: #233243;
        display: flex;
        align-items: center;
    }
    
    .VSBanner {
        height: 100px;
    }

    .VSBanner h2 {
        height: 100px;
    }


    

    
    /* footer */
    .widget {
        margin-bottom: 20px;
    }
    /* 管理層_執行董事 */
    .MgemtTeam_one img {
        width: 100%;
    }

    .summary {
        font-size: 20px;
        line-height: 2;
        padding: 0;
    }

    .tabs {
        width: 100%;
        padding: 30px 0;
    }    
    
    .tabs a {
        height: 100px;
        display: flex;
        align-items: center;
        font-size: 16px;
    }

    .Mgemt_title {
        font-size: 30px;
    }

    .Mgemt_sub {
        font-size: 24px;
    }

    .summary p {
        font-size: 16px;
    }

    /* 願景與戰略 */
    .change>div:nth-of-type(1) {
        order: 2;
    }
   
    .text-container {
        padding: 20px;
    }
    
    .services> .container> .row {
        /* box-shadow: ; */
        padding: 5px;
    }

    .services-card {
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);;
    }
    
    .services {
        padding: 0;
    }

    .services-card {
        margin-bottom: 20px;
    }    
    .pdf_box_padding {
        padding: 10px;
    }

    .CardRow {
        margin-top: 20px;
    }

    

    /* Contact US */
    .ContactBanner {
        height: 150px;
    }

    .ContactBanner h2 {
        height: 150px;
    }

    .contact-box{
        margin: 20px 0;
        box-shadow: none;
    }    

    .contact-box-text {
        padding: 0;
    }

    .contact-box-text h2 {
        display: none;
    }

    .map {
        padding: 20px 0 0;
    }
}

@media (min-width: 768px){
    .card {
        width: 100%;
    }

    .CardRow {
        margin: 4rem;
    } 

}

@media (max-width: 768px) {
    .table {
        margin-top: 20px;
    }
}

#toTop {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 998;
    background: #2c3e50;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    box-sizing: border-box;
  }
  