@charset "UTF-8";




/************************************* 共用設定 *************************************/

body {
    text-align: center;
    font-family: sans-serif;
    color: #666;
    font-size: 15px;

    padding-top: 60px;
    
      min-height: 100vh;
    display: flex;
    flex-direction: column;


}

p{
    line-height: 2em;
}



.main {
    flex: 1;
    /* 這會讓主要內容區塊自動填滿剩餘空間 */
}


a,
a:hover,
a:active,
a:visited,
a:focus {
    text-decoration: none;
    color: #d70c19;
}


a:hover {
    opacity: 0.8;
}

.myRed {
    color: #d70c19;
}

.myRedBg {
    background-color: #d70c19;
}


.subTitle {
    color: #d70c19;
    border-bottom: solid 1px #cccccc;
    margin-bottom: 20px;
    padding-bottom: 20px;
    color: #d70c19;
}

.subTitle.grey {
    color: #d70c19;
}

.subTitle .fa {
    padding-right: 5px;
}

.subTitle.withLogoIcon .logo_icon {
    display: inline-block;
    width: 25px;
    height: auto;
    position: relative;
    top: -2px;
}

select:hover,
select:active,
select:focus,
textarea:hover,
input:hover,
textarea:active,
input:active,
textarea:focus,
input:focus,
button:focus,
button:active,
button:hover,
label:focus,
.btn:active,
.btn.active {
    outline: 0px !important;
    -webkit-appearance: none;
    box-shadow: none !important;
}

a:focus,
input:focus,
select:focus {
    outline: 0 !important;
    border-color: #ccc !important;
    box-shadow: none !important;
}





.greyBox {
    background: #eeeeee;
    border-radius: 8px;
    padding: 20px;
    width: 100%;
    margin-bottom: 20px;
    min-height: calc(100% - 20px);
}

.greyBox h4 {
    color: #d70c19;
    margin-bottom: 10px;
}

.greyBox p {
    margin-bottom: 0px;
    line-height: 1.8;
    /* 移除 min-height: 82px; 因為我們現在用 height: 100% 來控制 */
}



a .myBtn,
.myBtn {
    padding: 13px 30px;
    color: #fff;
    background-color: #d70c19;
    display: inline-block;
    border-radius: 8px;
}


/************************************* form *************************************/


.form-check-input {
    accent-color: #d70c19;
}

.form-check-input:checked {
    background-color: #d70c19;
    border-color: #d70c19;
}

.form-check-input:focus {
    border-color: #d70c19;
    box-shadow: 0 0 0 0.25rem rgba(215, 12, 25, 0.25);
}



/* 所有瀏覽器通用的 placeholder 樣式 */
::placeholder {
    color: #999 !important;
    opacity: 1;
    /* Firefox */
}

/* 針對 Internet Explorer 10-11 */
:-ms-input-placeholder {
    color: #999 !important;
}

/* 針對 Edge (舊版) */
::-ms-input-placeholder {
    color: #999 !important;
}


.form-select,
.form-control-plaintext {
    color: #666;
}

/************************************* modal *************************************/


/*
.myclose {
    z-index: 1000;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 15px;
}

.myclose img {
    width: 23px;
    height: 23px;
}

.modal-dialog {
    margin-top: 53px;
}

.modal-backdrop {
    background-color: #000;
    opacity: 0.7 !important;
    border: none;
}

*/

.modal-header {
    padding-bottom: 10px;
}



.modal-body {
    padding-top: 0;
}

/************************************* header *************************************/
.header {
    color: #fff;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 10;
    width: 100%;
    height: 60px;
    /* 新增以下屬性 */
    display: flex;
    justify-content: center;
    /* 水平居中 */
    align-items: center;
    /* 垂直居中 */
}

.logo {
    width: 200px;
    height: auto;
}

.nav_btn {
    cursor: pointer;
    width: 25px;
    height: auto;
    position: absolute;
    top: 18px;
    left: 15px;
}

.nav_btn:hover {
    opacity: 0.8;
}


/************************************* mobileMenu *************************************/

.offcanvas-backdrop {
    display: none;
}

#mobileMenu,
#mobileMenuForLogin{
    margin-top: 60px;
    text-align: left;
    padding-left: 15px;
    padding-right: 15px;

}

.main-menu,
#mobileMenuForLogin{
    border-top: 1px solid #eee;
    font-weight: bold;

}

#mobileMenu .menu-item ,
#mobileMenuForLogin .menu-item {
    color: #666666;
    padding: 15px;
    padding-left: 0px;
    display: block;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

#mobileMenu a:hover,
#mobileMenuForLogin a:hover{
    color: #d70c19;
}

#mobileMenu .menu-item.active,
#mobileMenuForLogin .menu-item.active{
    color: #d70c19;
}

#mobileMenu .menu-trigger,
#mobileMenuForLogin .menu-trigger{
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

#mobileMenu .menu-trigger i,
#mobileMenuForLogin .menu-trigger i {
    transition: transform 0.3s;
}

#mobileMenu .menu-trigger.open i,
#mobileMenuForLogin .menu-trigger.open i{
    transform: rotate(180deg);
}

#mobileMenu .submenu,
#mobileMenuForLogin .submenu{
    display: none;
    padding-top: 10px;
    /*    padding-left: 20px;*/


}

#mobileMenu .submenu a,
#mobileMenuForLogin .submenu a{
    color: #666666;
    padding: 10px 15px;
    display: block;
    text-decoration: none;

}

#mobileMenu .submenu a:hover,
#mobileMenuForLogin .submenu a:hover{
    color: #d70c19;
}


.quick-links {
    display: inline-block;
    padding-top: 15px;
    line-height: 2;
    margin-bottom: 15px;

}

#mobileMenu .quick-links a.quick-item,
#mobileMenuForLogin .quick-links a.quick-item{
    color: #666;
    display: inline-block;
    margin-right: 15px;
}

#mobileMenu .quick-links a:hover,
#mobileMenuForLogin .quick-links a:hover{
    color: #d70c19;
}

#mobileMenu .greyArea,
#mobileMenuForLogin .greyArea{
    display: none;
    background-color: #888;
    margin-bottom: 30px;
    padding: 15px;
    color: #fff;
    line-height: 2;
}

#mobileMenu .greyArea.show,
#mobileMenuForLogin .greyArea.show{
    display: block;
}

#mobileMenu .greyArea a,
#mobileMenuForLogin .greyArea a{
    color: #fff;
    display: inline-block;
    margin-right: 15px;
    font-size: 14px;
    font-weight: bold;
}

/************************************* footer *************************************/

.footer {
    background-color: #ebebeb;
    color: #333;
    font-size: 12px;
    font-weight: bold;
}

.footer .footer-top a {
    color: #333;
    padding: 0px 10px;
    border-right: 1px solid #333;
}

.footer .footer-bottom {
    background-color: #d70c19;
    color: #fff;
}







/************************************* index *************************************/

a .oneNew {
    color: #666;
    line-height: 20px;
    margin-bottom: 1em;
    margin-bottom: 20px;
}

a:hover .oneNew {
    color: #d70c19;
}

a .oneNew .date,
a .oneNew .content {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}




.quick_link_btn {
    aspect-ratio: 1;
    /* 確保寬高相等 */
    background: #d70c19;
    border-radius: 50%;
    /* 使用50%確保是圓形 */
    color: #fff;
    padding: 15px;
}

.quick_link_btn .fa,
.quick_link_btn .far {
    font-size: 35px;
    text-align: center;
    width: 100%;
    color: white;
    display: inline-block;
    padding-bottom: 0px;

}

/* 移除連結底線並保持白色文字 */
.quick_link_btn:hover {
    color: #fff;
}


.quick_link_btn:hover {
    opacity: 0.8;
}




/************************************* inside *************************************/

.breadcrumb {
    color: #909090 !important;
}

.breadcrumb-item a {
    color: #909090 !important;
    /* 可以換成你想要的顏色 */
}

.insideBanner {
    height: 150px;
    background-image: url(../img/banner.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-color: white;
    background-position: center center;
    margin-bottom: 30px;
}



.page_side_nav {
    margin-top: 36px;
}

.page_side_nav ul {
    list-style: none;
    padding-left: 0px;
}

.page_side_nav li {
    margin-top: 0;
    margin-bottom: 10px;
}

.page_side_nav li a {

    color: #666;
}

.page_side_nav li.now a,
.page_side_nav li a:hover {
    color: #d70c19;
}


/************************************* intro_location_box *************************************/


.intro_location_box {}



.intro_location_box .item {
    padding: 15px;
    width: 100%;
    background: #eeeeee;
    border-radius: 8px;
    margin-bottom: 15px;
}

.intro_location_box .item .title {
    font-size: 21px;
    color: #d70c19;
}



/************************************* servive_process_list *************************************/


.servive_process_list {
    text-align: center;
    color: #666666;
}

.servive_process_list .red {
    color: #d70c19;
}

.servive_process_list p {
    margin-bottom: 0px;
    line-height: 2;
}



.servive_process_list .fa,
.servive_process_list .far {
    font-size: 40px;
    margin-bottom: 10px;
}

.servive_process_list .title {
    font-size: 27px;
}

.servive_process_list .item {
    width: 235px;
    height: 235px;
    border: solid 1px #d70c19;
    border-radius: 4px;
    background-color: white;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;

}

/************************************* ServiceQA *************************************/
.ServiceQA .nav-tabs {
    margin-top: 30px;
    margin-bottom: 30px;
}

.ServiceQA .nav-tabs .nav-link {
    color: #666;
    padding-top: 15px;
    padding-bottom: 15px;
}

.ServiceQA .nav-tabs .nav-link.active {
    color: #d70c19;
    border-color: #d70c19 #d70c19 #fff;
}

.ServiceQA .nav-tabs .nav-link:hover {
    color: #d70c19;
    border-color: transparent transparent #d70c19;
}

.ServiceQA .accordion-button {
    color: #666;
    background-color: #eee;
    border-radius: 0px;
}

.ServiceQA .accordion-button:not(.collapsed)::after {

    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d70c19'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.ServiceQA .table {
    margin-bottom: 1rem;
}

.ServiceQA .accordion-body {
    padding: 1rem;
    border-radius: 0px;
}

.ServiceQA .accordion-item {
    margin-bottom: 15px;
    border-top: 1px solid #eee;
    color: #666;
    border-radius: 0px;
}

.accordion-item:first-of-type .accordion-button {
    border-radius: 0px;
}

.ServiceQA .accordion-item table {
    color: #666;
}



.ServiceQA .form-select {
    line-height: 2.3;
}



/************************************* download_list *************************************/

.download_list .title,
.download_list .dl_btn {
    display: inline-block;
}

.download_list .fa,
.download_list .far {
    font-size: 21px;
    padding-right: 10px;
}



.download_list .title {
    font-size: 21px;
    color: #d70c19;
}


.download_list .dl_btn {
    margin-left: 8px;
}

.download_list .dl_btn a {
    width: 60px;
    height: 30px;
    line-height: 30px;
    background: #d70c19;
    color: white;
    border-radius: 8px;
    display: inline-block;
    text-align: center;
}

.download_list .dl_btn a:hover {
    opacity: 0.65;
}


.download_list .top {
    margin-bottom: 8px;
}



.download_list .item {
    margin-bottom: 30px;
}



/************************************* others *************************************/


.ifMobileMarginBottom15px{
    margin-bottom: 15px;
}