/*訊息燈箱*/
.lightbox {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	position: fixed;
	overflow-x: hidden;
	overflow-y: auto;
	background: rgba(0,0,0,.5);
	-webkit-transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	transition: all .25s ease-in-out;
	z-index: -1;
	opacity: 0;
	-webkit-transition: opacity .2s linear;
	-o-transition: opacity .2s linear;
	transition: opacity .2s linear;
}
/*訊息燈箱-開啟*/
.lightbox--active {
	opacity: 1;
	top: 0;
	bottom: 0;
	z-index: 1000;
}
/*訊息燈箱-內容盒*/
.lightbox__box {
	position: relative;
	width: auto;
	-webkit-transform: translate(0,-25%);
	-ms-transform: translate(0,-25%);
	-o-transform: translate(0,-25%);
	transform: translate(0,-25%);
	-webkit-transition: -webkit-transform .2s ease-out;
	-moz-transition: -moz-transform .2s ease-out;
	-o-transition: -o-transform .2s ease-out;
	transition: transform .2s ease-out;
	margin: 10px auto;
	background: #fff;
	box-shadow: 0 0 10px rgba(0,0,0,.15);
}
.lightbox--active .lightbox__box {
	-webkit-transform: translate(0,0);
	-ms-transform: translate(0,0);
	-o-transform: translate(0,0);
	transform: translate(0,0);
}
.lightbox--sm .lightbox__box{
	max-width: 300px;
}
.lightbox--sm .lightbox__body{
	/* padding-top: 15px; */
}
.lightbox--md .lightbox__box{
	max-width: 450px;
}
.lightbox--lg .lightbox__box{
	max-width: 700px;
}
.lightbox__content{
	background-clip: padding-box;
	position: relative;
	margin-top: 85px;
}
/* 標題 */
.lightbox__head{
	padding: 15px 44px 15px;/*12/18 20/18*/
	border-bottom: 1px solid #dddd;
	/* text-align: left; */
	/* position: absolute; */
	/* left: 0; */
	/* right: 0; */
	/* top: 0; */
}
.lightbox__head--left {
	padding-left: 15px;
}
/* 標題-文字 */
.lightbox__title{
	color: #2071aa;
	/*color: var(--blue-main, #002852);*/
	text-align: center;
	font-size: 1.125em;/*18/16*/
	font-weight: bold;
}
.lightbox__head--left .lightbox__title {
	text-align: left;
}
/*關閉 按鈕 */
.lightbox__btn-close{
	display: block;
	width: 44px;
	height: 44px;
	line-height: 44px;
	position: absolute;
	right: 0;
	top: 0;
	text-align: center;
	margin: 4px;
}
/* 關閉按鈕-文字 */
.lightbox__close-text{
}
/* 關閉按鈕-icon */
.lightbox__close-icon{
	width: 30px;
	height: 30px;
	line-height: 30px;
	background-color: #f4f4f4;
	text-decoration: none;
	transition: background .3s;
}
/* 內容 */
.lightbox__body{
	padding: 15px;
	/* overflow-y: auto; */
}
.lightbox__body--scroll {
	max-height: 390px;
	overflow-y: auto;
	margin: 0 10px 10px 0;
	display: inline-block;
	padding-top: 0;
}
/* for style webkit scrollbar */
.lightbox__body--scroll::-webkit-scrollbar {
	width: 5px;
	height: 5px;
}
.lightbox__body--scroll::-webkit-scrollbar-track {
	-webkit-border-radius: 10px;
	border-radius: 10px;
	background: #e8e8e8;
}
.lightbox__body--scroll::-webkit-scrollbar-thumb {
	-webkit-border-radius: 6px;
	border-radius: 6px;
	background: #033e7c;
	background: var(--blue-light, #033e7c);
}
.lightbox__footer{
	padding: 15px;
}
.lightbox__body + .lightbox__footer {
	padding-top: 0;
}
/* 描述 */
.lightbox__desc {
	line-height: 1.8;
	text-align: center;
	overflow: hidden;
}
/* 按鈕區 */
.lightbox__btnbox {
	/* margin-top: 10px; */
}
/* 動作按鈕 */
.lightbox__btn {
	padding: 11px 5px;
	font-size: 16px;
}
/* 兩個按難弓土 */
.lightbox .btnboxs--2 .lightbox__btn {
	text-decoration: none;
}
/* 滿版-phone */
.lightbox--full .lightbox__box{
	margin-top: 0;
	margin-bottom: 0;
}
.lightbox--full .lightbox__content{
	margin-top: 0;
}

/*如果使用者之視窗寬度>=768px，將會再載入這裡的 css。*/
@media screen and (min-width: 768px) {
	/*一般提示燈箱*/
	.lightbox__box {
		/* max-height: 500px; */
	}
	/* 滿版 */
	.lightbox--full .lightbox__box{
		margin-top: 10px;
		margin-bottom: 10px;
	}
	.lightbox--full .lightbox__content{
		margin-top: 85px;
	}
	/* 內容 */
	.lightbox__body{
		/* height: 430px; */
	}
}

@media screen and (min-width: 1024px) {
	.lightbox__btn-close:hover .lightbox__close-icon {
		background-color: #ddd;
	}
}