/* 全跳窗通用 */
.modal.background {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.modal-xl .modal-header   { 
    border-bottom: none;
    padding: 30px 30px 20px 30px;
}
.modal-xl .title-tagline   { 
    font-size: 28px; 
    color: #586db0;
    font-weight: 600;
}
.modal-xl .modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.4);
    height: 85vh;
}
.modal-xl .h1 {
    font-size: 30px;
    line-height: 1.5;
}
.modal-xl .h3 {
    font-size: 18px;
    line-height: 1.5;
}
.modal-xl .h8 {
    font-size: 14px;
    line-height: 1.6em;
    color: #575454;
}
.modal-xl .highlight-red { 
    color: #D43430;
    font-size: 1.2em;
    font-weight: 700;
}
.modal-xl .cs03 { font-weight: 600;}

.btn-close:focus { box-shadow: none;}
.modal-xl .modal-body {
    font-size: 16px;
    padding: 0 10% 40px 10%;
    line-height: 1.6;
}
.modal-xl .modal-body li{
    margin-bottom: 8px;
    margin-left: 1.2em;
}
.modal-xl .modal-body ul li{
    list-style: disc;
}
.modal-xl .modal-body li a{
    font-weight: 500;
    color: #CB032B;
    /* text-decoration: underline; */
}
.modal-xl .title-container {
    padding-bottom: 40px;
}
.modal-xl .content-container {
    border-bottom: 1px solid #cacaca;
    border-top: 1px solid #cacaca;
    padding-block: 60px;
    font-size: 18px;
    line-height: 1.8;
}
.modal-xl .link-button {
    color: #fff;
    display: block;
    width: fit-content;
    background-color: #CB032B;
    font-size: 18px;
    line-height: 1.7em;
    font-weight: 500;
    padding: 5px 20px;
    border-radius: 5px;
    margin-top: 30px;
    margin-bottom: 30px;
}
.modal-xl .tc-container {
    padding-top: 40px;
}
.modal-xl .title-logo{
    justify-content: space-between;
    align-items: start;
}
.modal-xl .logo{
    max-width: 270px;
}
.modal-xl .badge {
    font-size: 0.9em;
    background-color: #CB032B;
    padding: 5px 8px;
    margin-right: 2px;
}

@media screen and (max-width: 992px) {
    .modal-xl .h1 { font-size: 24px; }
    .modal-xl .title-tagline { font-size: 22px; }
     .modal-xl .title-logo{
       flex-direction: column-reverse;
    }
    .modal-xl .logo{
        max-width: 170px;
    }
}
@media screen and (max-width: 768px) {
    .modal-xl .link-button {
        margin-inline: auto;
    }
}
@media screen and (max-width: 576px) {
    .modal-xl .modal-body {
        padding: 20px 8%;
    }
    .modal-xl .h1 { font-size: 20px; }
    .modal-xl .h3 { font-size: 16px; }
    .modal-xl .title-container {
        padding-bottom: 20px;
    }
    .modal-xl .content-container {
        padding-block: 40px;
        font-size: 16px;
    }
    .modal-xl .modal-content {
        height: 90vh;
        margin-inline: 8px;
    }
}

.modal-xl li table {
	width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
	}
.modal-xl li table tr {
	text-align: left;
	border: 1px solid #000;
	}	
.modal-xl li table tr th,
.modal-xl li table tr td {
    padding: 3px 10px;
	height: 40px;
	border-left: 1px solid #000;
    }	
@media only screen and (max-width: 768px) {
.modal-xl li table tr td {
    word-wrap: break-word;
	word-break: break-all;
	margin-left: 0px;
	text-indent: 0px;	
    }
}	


/* 威秀 */
.modal-xl.vieshow .table-title {
    border-left: 3px solid #233a56;
    color: #233a56;
    font-weight: 700;
    font-size: 18px;
    margin-block: 20px;
    padding-left: 0.8em;
}
.modal-xl.vieshow table {
    width: fit-content;
    font-size: 16px;
}
.modal-xl.vieshow table td, 
.modal-xl.vieshow table tbody, 
.modal-xl.vieshow table tr { 
    border: none;
}
.modal-xl.vieshow table th{
    border: 2px solid #fff;
} 
.modal-xl.vieshow .decor {
    max-width: 200px;
}

@media screen and (max-width: 576px) {

}

/* 王品 */
.modal-xl.wowprime .logo-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px;
    justify-items: start;
    margin-bottom: 10px;
}
.modal-xl.wowprime .logo-sm {
    max-width: 90px;
}

/* kkday */
.modal-xl.kkday .content {
    width: 70%;
}
.modal-xl.kkday .box-border {
    border: 1px solid #000;
    padding: 10px 20px;
    border-radius: 12px;
    text-align: center;
    width: 260px;
}
@media screen and (max-width: 992px) {
    .modal-xl.kkday .box-border {
        width: 100%;
        margin-top: 20px;
    }
    .modal-xl.kkday .content {
        width: 100%;
    }
}
/* 虎航 */
.modal-xl.tigerair .content {
    width: 70%;
}
.modal-xl.tigerair .box-border {
    border: 1px solid #000;
    padding: 10px 20px;
    border-radius: 12px;
    text-align: center;
    width: 260px;
}
@media screen and (max-width: 992px) {
    .modal-xl.tigerair .box-border {
        width: 100%;
        margin-top: 20px;
    }
    .modal-xl.tigerair .content {
        width: 100%;
    }
}

/* 捲軸寬度及高度 */
.modal ::-webkit-scrollbar {
	width: 8px; /*右側捲軸寬度*/
	height: 8px; /*下方捲軸高度*/
  }
/* 軌道背景底色 */
.modal ::-webkit-scrollbar-track {
	background: #f1f1f120; 
  }
   
/* 滑桿顏色 */
.modal ::-webkit-scrollbar-thumb {
	background: #6a9def; 
}
/* 滑桿滑鼠滑入時的顏色 */
.modal ::-webkit-scrollbar-thumb:hover {
	background: #4a86e6; 
}
/* 捲軸兩側頂端的按鈕 */
.modal ::-webkit-scrollbar-button {
	background-color: #dddddd;
}
/* 捲軸兩側頂端的按鈕滑鼠滑入時的顏色 */
.modal ::-webkit-scrollbar-button:hover {
	background-color: #c2c2c2;
}
