/*******************
pop-up
*******************/

/***** popup's controler *****/

.overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	transition: opacity 200ms;
	visibility: hidden;
	opacity: 0;
}
.overlay:target {
	visibility: visible;
	opacity: 1;
}
/***** popup's appearance *****/

/* Modal */

.pop-modal {
	background-color: rgba(0, 0, 0, .65);
	display: none;
	overflow: auto;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding-top: 10%;
}
/* Modal Content */

.modal-content {
	position: relative;
	top: 0px;
	width: 1000px;/* 600px; */
	margin: 0 auto;
	background-color: #434343;
	box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.modal-animated-in {
	animation: totop-in .3s ease;
}
.modal-animated-out {
	animation: totop-out .3s ease forwards;
}
.modal-header {
	background-color:#67a1e0; /*#9d61a1;  #dcdc2d; */
	width: 100%;
	/* height: 60px; */
	line-height: 60px;
	padding-left: 20px;
}
.modal-content .close {
	position: absolute;
	right: 0;
	top: 0;
	background-color: #817c7c;
	width: 60px;
	height: 60px;
	color: #fff;
	line-height: 60px;
	text-align: center;
	cursor: pointer;
	transition: all .3s;
}
.modal-content .close:hover {
	background-color: #fff;
	color: #ff9292;
}
.modal-header h3 {
	color:#e7e6e3; /* #147e31;*/
	/* text-shadow: 1px 0px rgba(255, 255, 255, 1); */
	font-weight: bolder;
	font-size: 20px;
}
/* Modal Body */

.modal-body {
	padding: 20px 27px 20px 20px;
	line-height: 30px;
	font-size: 15px;
	color: #f8f8f6f5;
	background-color: #000e36;
}
.modal-body h3 {
	font-size: 18px;
}
.modal-body-inner {
	/* overflow-y: auto; 顯示y捲軸 */
	overflow: hidden; /* 不顯示捲軸 */
    /* height: 60%; */
	height: 550px;
	padding: 0 30px 0 10px;
}
.modal-body-inner hr {
	width: 97%;
}
.modal-body-inner h3 {
	margin-bottom: 5px;
	/* color: #edff00; */
}
.modal-body-inner::-webkit-scrollbar-track {
	background-color: #777777;
}
.modal-body-inner::-webkit-scrollbar {
	width: 5px;
	background-color: white;
}
.modal-body-inner::-webkit-scrollbar-thumb {
	background-color: white;
}
.modal-body ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.modal-body ul li {
	position: relative;
	margin-left: 30px;
	list-style-type: decimal-leading-zero;
}
.modal-body ul li::before {
	position: absolute;
	color: #5cc560;
	left: -20px;
	top: 10px;
	display: inline-block;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
}
.modal-body a {
	color: #ede0ac;
}
.modal-body a:hover {
	color: #b9b9b9;
	transition: all .2s linear;
}
.modal-body-text-wrap {
	margin-bottom: 20px;
}
.modal-body-text {
	font-size: 15px;
}
.modal-body-text-wrap h5 {
    color: #98c9ff;
    font-size: 1.1vw;
    font-weight: 500;
}
.modal-body-text-special{
	color:#ffef9a;
}
.modal-body-text-wrap h6 {
	color: #999;
	font-size: 12px;
}
/* Modal Footer */

.modal-footer {
	background-color: #656464;
	width: 100%;
	height: 60px;
	line-height: 60px;
	padding-left: 20px;
}
/*sidenav*/

.menu {
	position: fixed;
	z-index: 29;
}
.menu__style {
	/* background-color: #795f9ee3; */
	/* opacity: 0.9; */
	 background-image: linear-gradient(to top, #f2c5d5f2 0%, #d8eef9e8 40%,  #e1c0ed 80%,  #b1b0e5ed 100%);
	/* background-image: linear-gradient(120deg, #fbe5cddb 0%, #ffc3a0d9 20%, #f398a8db 100%); */

	text-align: center;
}
.menu ul li {
    font-weight: bold;
    opacity: 1 !important;
    color: #0e2946;
    display: inline-block;
    border-bottom: 1px solid #efedd8cc;
    line-height: 2.4em;
    width: 85%;
    /* filter: drop-shadow(0.1px 0px 1px rgb(255, 255, 237)); */
}
.menu ul li a{
	filter: none;
}
.menu ul li:hover {
	color:#e380d0; /*#1f0e46 #cbfff4e8; #fffae0f5; */
	filter: none;
}
/* hide sidenav 黏人精*/

#sidebar {
	transition: all 300ms linear;
}
#sidebar.active {
	right: -800px;
	/* -200px */
}
#sidebar .toggle-btn {
	position: fixed;
	/* position:absolute; */
	right: 0px;
	/* 220px */
	/* top:50px; */
	box-shadow: 2px 2px 2px 1px rgba(252, 93, 174, 0.3);
	cursor: pointer;
	border-radius: 10px;
	background-color: #f09047f5;
}
/* 收合導覽黏人精*/

#sidebar .toggle-btn span {
	display: block;
	width: 30px;
	height: 90px;
	color: #fffffff2;
	margin: 5px 0px;
	padding: 3px 0;
	text-align: center;
	cursor: pointer;
}
/*toTop*/

.toTop-arrow {
	width: 50px;
	height: 50px;
	border: 0;
	border-radius: 50%;
	opacity: 0.8;
	background: #e380d0;
	color: #fffffff2;
	cursor: pointer;
	position: fixed;
	right: 10px;
	bottom: 10px;/* 10px; */
	padding-top: 5px;
	z-index: 999;
}
.toTop-arrow::before, .toTop-arrow::after {
	width: 10px;
	height: 3px;
	border-radius: 5px;
	top: 10px;
	background: #fffffff2;
	position: absolute;
	content: "";
}
.toTop-arrow::before {
	transform: rotate(-45deg) translate(0, -50%);
	left: 1.1rem;
}
.toTop-arrow::after {
	transform: rotate(45deg) translate(0, -50%);
	right: 1.1rem;
}
.toTop-arrow:focus {
	outline: none;
}




/* scroll Menu */

#section-menu {
	position: fixed;
	top: 40%;
	right: 0;
	z-index: 3000;
	text-transform: uppercase;
	-webkit-transition: all ease 0.1s;
	transition: all ease 0.1s;
}
#section-menu.freeze {
	right: -112px;
}
.touch #section-menu {
	display: none;
}
#section-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#section-menu li {}
#section-menu a {
	float: right;
	clear: both;
	display: block;
	height: 2em;
    line-height: 2em;
    font-weight: 600;
	text-decoration: none;
	padding: 0 16px;
	background: #0101a1; /* #1212eed1; */
	color: #ffea06eb; /* #ffea06eb; */
	white-space: nowrap;
	-webkit-transition: all ease 0.1s;
	transition: all ease 0.1s;
}
#section-menu.freeze a {
	float: none;
	width: 128px;
}
#section-menu a:hover{
    background: #04041fd7; /*  */
    color: #fff;
	font-size: 1.2em;
}
#section-menu a span {
	display: none;
	font-weight: 700;
	position: relative;
	width: 48px;
	left: -16px;
	text-align: center;
	background: rgba(0,0,0,0.1); /* #fafd4a*/
}
#section-menu a.active {
    background:#428152; /* #fff821; */
    font-size: 1.2em;
    font-weight: 700;
    color:#fff; /* #fff821; */
}
#section-menu.freeze a span {
	display: inline-block;
}
#section-menu a.active span {
	display: inline-block;
    background:#12772b; /* 040493 #000; */
    color:#fff821; /* #ffff0b; */
}
#section-menu a.active span:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	background: rgba(255,255,255,0.25);
}
#section-menu.freeze a.active span:before {
	display: none;
}



@media (max-width:1280px) {
	.modal-content {
		width: 800px;
	}
	.modal-body-inner {
    	height: 400px;
	}

}

@media (max-width:1024px) {
	.popup__img {
		top: 18%;
		right: 1%;
		max-width: 100%;
	}
	.modal-content {
		width: 500px;
	}
	.modal-body-inner {
		height: 350px;
	}
}

@media (max-width:768px) {

	/*popup*/
	.modal-content {
		width: 90%;
		margin-top: 150px;
	}
	.modal-body-inner {
		height: 250px;
	}
	.popup__img {
		top: 11%;
		right: -5%;
		max-width: 110%;
		width: 110%;
	}

}




