/* 解決跳窗橫向抖動問題 */
body.modal-open { padding-right: 0 !important;}

.modal-xl .modal-title    { 
    font-size: 20px; 
    color: #027542;
    font-weight: 600;
}
.modal-xl .modal-header   { 
    padding: 20px; 
    border-color: #80a489;
    padding-left: 10%;
}
.btn-close:focus { box-shadow: none;}
.modal-xl .modal-body {
    font-size: 16px;
    padding: 40px 10%;
    line-height: 1.6;
}
.modal-xl .modal-body li{
    margin-bottom: 8px;
}
.modal-xl .modal-body li a{
    font-weight: 500;
    color: #e85858;
    /* text-decoration: underline; */
}
@media screen and (max-width: 576px) {
    .modal-xl .modal-title    { 
        font-size: 18px; 
    }
    .modal-xl .modal-header   { padding-left: 5%; }
    .modal-xl .modal-body {
        padding: 20px 5%;
    }
}

.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;	
    }
}	

/* Mastercard 跳窗 */
.modal-mastercard .modal-title {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}
.modal-mastercard .subtitle {
    font-weight: 500;
    line-height: 1.5;
}
.modal-mastercard .modal-body {
    padding: 0;
}
.modal-mastercard .modal-header {
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 2.4em;
	height: 400px;
	max-height: 400px;
	text-align: center;
	background-image: url("../images/pop_b01.jpg");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
}
.modal-mastercard .content-container {
    padding: 40px 5%;
    gap: 20px;
}
.modal-mastercard .ps {
    list-style: none;
    padding: 0 5%;
}
.modal-mastercard .btn-close {
   background-image: url(../images/btn_close_w.svg);
   position: absolute;
   right: 20px;
    top: 20px;
}
@media screen and (max-width: 992px) {
    .modal-mastercard .content-container {
        flex-direction: column;
    }
    .modal-mastercard .modal-title {
        font-size: 24px;
    }
}
/* 捲軸寬度及高度 */
.modal ::-webkit-scrollbar {
	width: 8px; /*右側捲軸寬度*/
	height: 8px; /*下方捲軸高度*/
  }
/* 軌道背景底色 */
.modal ::-webkit-scrollbar-track {
	background: #f1f1f120; 
  }
   
/* 滑桿顏色 */
.modal ::-webkit-scrollbar-thumb {
	background: #80a489; 
}
/* 滑桿滑鼠滑入時的顏色 */
.modal ::-webkit-scrollbar-thumb:hover {
	background: #027542; 
}
/* 捲軸兩側頂端的按鈕 */
.modal ::-webkit-scrollbar-button {
	background-color: #dddddd;
}
/* 捲軸兩側頂端的按鈕滑鼠滑入時的顏色 */
.modal ::-webkit-scrollbar-button:hover {
	background-color: #c2c2c2;
}
