@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Narrow:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,800;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100;300;400;500;700&family=Noto+Serif+SC:wght@200;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700&family=Noto+Serif+TC:wght@200;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rochester&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Julius+Sans+One&display=swap');
/* CSS Document */
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body, p{
	font-family: 'Archivo', 'Noto Sans SC', 'Noto Sans TC', sans-serif;
	text-align: justify;
}
a {
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}
nav{
	background: #fafafa;
	position: fixed;
	width: 100%;
	z-index: 999;
	height: 75px;
	line-height: 75px;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}
nav .wrapper{
	position: relative;
	max-width: 1250px;
	padding: 0 30px;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.wrapper .logo img{
	width: auto;
	padding-top: 14px;
	height: 60px;
}
.wrapper .nav-links,
.wrapper .nav-lang{
	display: inline-flex;
}
.nav-links li,
.nav-lang li{
	list-style: none;
}
.nav-links li a{
	color: #333382;
	text-decoration: none;
	font-size: 16px;
    font-weight: 300;
    padding: 10px 15px;
}
.nav-lang li a{
	color: #333382;
	text-decoration: none;
	font-size: 16px;
    font-weight: 300;
    padding: 10px 15px;
}
.nav-links li a:hover{
	border-bottom: 2px solid #000;
	color: gray;
}
.nav-lang li a:hover{
	color: #aa539a;
}
.nav-links .drop-menu {
    width: 160px;
    line-height: 1.5;
    padding: 2px 16px 2px 2px;
}
.nav-lang .drop-menu {
    width: 120px;
    line-height: 2;
}
.nav-lang .drop-menu,
.nav-links .drop-menu{
	background: #fafafa;
	top: 95px;
	position: absolute;
	opacity: 0;
	visibility: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.nav-lang li:hover .drop-menu,
.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box{
	top: 78px;
	opacity: 1;
	visibility: visible;
	transition: all 0.4s ease;
}
.nav-lang .drop-menu li a,
.nav-links .drop-menu li a{
	width:100%;
	display: block;
	padding: 4px 8px;
	border-bottom: none;
}
.mega-box{
	position: absolute;
	top: 95px;
	width: 100%;
	left: 0;
	padding: 0 30px;
	opacity: 0;
	visibility: hidden;
}
.mega-box .mega-menu,
.mega-box .mega-menu-2{
	background: #fafafa;
	padding: 20px;
	display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.5fr;
    gap: 10px 20px;
	width: 100%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2)
}
.mega-box .cell {
    line-height: 20px;
    padding: 0px 20px;
}
.mega-box .mega-menu .cell:nth-child(2) {
    grid-column: span 2;
}
.mega-box .mega-menu .cell:nth-child(3){
    grid-row: span 3;
}
.mega-box .mega-menu-2 .cell:nth-child(1) {
    grid-column: span 3;
}
.mega-box .mega-menu-2 .cell:nth-child(2) {
    grid-row: span 3;
}
.mega-box .cell h2 {
	font-size: 20px;
	font-weight: 400;
	padding-left: 16px;
	line-height: 1.5;
    border-left: 2px solid darkblue;
}
.mega-box .cell h4 {
	font-size: 18px;
	font-weight: 500;
    line-height: 1.5;
	padding: 10px 0px;
}
.mega-box .cell h4 a {
    text-decoration: none;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    padding: inherit;
    cursor: pointer;
    border-bottom: none;
}
.mega-box .cell p {
    font-size: 16px;
    padding: 10px;
}
.mega-box .cell .more{
    background: #888;
	border: 1px solid #888;
	border-radius: 4px;
    text-transform: uppercase;
    padding: 10px;
    margin: 20px 0px;
    cursor: pointer;
	font-size: 14px;
    font-weight: 300;
    color: #fff;
    float: right;
    transition: all 0.4s ease;
}
.mega-box .cell.more:hover{
    background: white;
    color: #000;
}
.mega-box .cell img{
	width: 100%;
	height: auto;
    padding: 20px 0px;
}
/* To filter to a specific color of black SVG file, use the Codepen (https://codepen.io/sosuke/pen/Pjoqqp) to convert a hex color code to a CSS filter */
.yellowgreenfilter {
    filter: invert(57%) sepia(94%) saturate(329%) hue-rotate(38deg) brightness(108%) contrast(90%);
}

.mega-links li a {
	padding: 8px 0px;
	font-size: 16px;
	display: block;
}
.mega-links li a:hover {
	padding-left: 15px;
	border-bottom: none;
	transition: all 0.4s ease;
}
.nav-links .mobile-item{
	display: none;
}
.wrapper .btn{
	color: rgb(50, 45, 135);
	font-size: 22px;
	cursor: pointer;
	display: none;
}
.wrapper .btn.cancel-btn{
	color: #fff;
	position: absolute;
	right: 30px;
	top: 10px;
}

@media screen and (max-width: 992px) {
	nav .wrapper{
		justify-content: flex-start;
	}
	.nav-lang li a{
		font-size: 16px;
	}
	.wrapper .btn{
		display: block;
		position: absolute;
		right: 30px;
	}
	.wrapper .nav-links{
		position: fixed;
		height: 100vh;
		width: 100%;
		max-width: 350px;
		background: rgb(0, 129, 204);
		display: block;
		top: 0;
		left: -100%;
		overflow-y: auto;
		line-height: 48px;
		padding:50px 10px;
		box-shadow: 0 15px 15px rgba(0,0,0,0.55);
		transition: all 0.4s ease;
	}
	#menu-btn:checked ~ .nav-links{
		left: 0%;
	}
	#menu-btn:checked ~ .btn.menu-btn{
		display: none;
	}
	.nav-links::-webkit-scrollbar{
		width: 0px;
	}
	.nav-links li{
		margin: 4px 10px;
	}
	.nav-links li a{
		color: #fff;
		padding: 0 20px;
		display: block;
		font-size: 16px;
	}
	.nav-links li a:hover{
		background: #ebcc1b;
		border-bottom: none;
		border-radius: 5px;
    }
	.nav-links .drop-menu{
		position: static;
		opacity: 1;
		visibility: visible;
		top: 75px;
		padding-left: 20px;
		width: 100%;
		background: rgb(0, 129, 204);
		max-height: 0px;
		overflow: hidden;
		transition: all 0.4s ease;
		box-shadow: none;
	}
	#showDrop:checked ~ .drop-menu,
	#showMega1:checked ~ .mega-box,
	#showMega2:checked ~ .mega-box,
	#showMega3:checked ~ .mega-box,
	#showMega4:checked ~ .mega-box,
	#showMega5:checked ~ .mega-box,
    #showMega6:checked ~ .mega-box{
		max-height: 100%;
	}
	.nav-links .drop-menu li{
		margin: 0;
	}
	.nav-links .drop-menu li a{
		font-size: 16px;
		border-radius: 5px;
	}
	.nav-links .desktop-item{
		display: none;
	}
	.nav-links .mobile-item{
		display: block;
		font-size: 16px;
		color: #fff;
		padding-left: 20px;
		cursor: pointer;
		border-radius: 5px;
		transition: all 0.4s ease;
	}
	.nav-links .mobile-item:hover{
		background: #ebcc1b;
	}
	.mega-box{
		position: static;
		top: 85px;
		width: 100%;
		opacity: 1;
		visibility: visible;
		padding: 0px;
		max-height: 0px;
		overflow: hidden;
		transition: all 0.4s ease;
	}
    .mega-box .mega-menu,
    .mega-box .mega-menu-2{
		background: #0098cb;
        grid-template-columns: none;/* default value to remove desktop grid setting. */
        display: flex;
		flex-direction: column;
		padding: 0px 20px;
	}
	.mega-box .cell{
        grid-row: auto; /* default value to remove desktop grid setting. */
        grid-column: auto; /* default value to remove desktop grid setting. */
        font-size: 0px;
		width: 100%;
		margin: 0px;
		padding: 0px;
	}
    .mega-box .mega-menu .cell:nth-child(2) {
        order: 3;
    }
    .mega-box .mega-menu .cell:nth-child(3) {
        order: 6;
    }
    .mega-box .mega-menu .cell:nth-child(4) {
        order: 2;
    }
    .mega-box .mega-menu .cell:nth-child(5) {
        order: 4;
    }
    .mega-box .mega-menu .cell:nth-child(6) {
        order: 5;
    }
    .mega-box .mega-menu-2 .cell:nth-child(2) {
        order: 5;
    }
    .mega-box .mega-menu-2 .cell:nth-child(3) {
        order: 2;
    }
    .mega-box .mega-menu-2 .cell:nth-child(4) {
        order: 3;
    }
    .mega-box .mega-menu-2 .cell:nth-child(5) {
        order: 4;
    }
	.mega-box .cell h2, 
    .mega-box .cell h4{
        color: rgb(25,46,121);
	    padding: 10px;
 	}
    .mega-box .cell h4 {
        border-bottom: 1px solid rgba(255,255,255, 0.2)
    }
    .mega-box p {
        color: white;
    }
    .mega-box .cell img {
        display: none;
    }
	.mega-box .cell .mega-links{
	padding: 0px;
	}
	.mega-links li a{
		margin: 0;
		padding: 8px;
	}
	.mega-links li a:hover{
		padding: 8px;
	}
}


/* path text-indicates the webpage path */
.pathtext {
    width: 95%;
    color: #888;
    font-size: 16px;
    font-weight: 300;
    padding-top: 15px;
    margin: 0px auto;
}
.pathtext a {
    color: darkblue;
}
.pathtext a:hover {
    color: rebeccapurple;
}

@media screen and (max-width: 600px){
    .pathtext {
        font-size: 14px;
    }
}
#go2topBtn {
    display: none;
	position: fixed;
	bottom: 320px;
	right:30px;
    border: none;
    outline: none;
    color: white;
    background-color: rgba(242,194,51,0.8);
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 6px;
	font-size: 24px;
	z-index: 999;
}
#go2topBtn:hover {
    background-color: #555;
}
/* footer setting */
footer {
   	width: 100%;
   	color: white;
	display: grid;
   	grid-template-columns: 0.5fr 1fr 1.2fr;
    grid-template-rows: 40px 1fr 100px;
}
footer .gray-parallel {
    grid-column: 2 / 4;
    grid-row: 1 / 4;
    clip-path: polygon(43% 0%, 100% 0%, 100% 100%, 0% 100%);
    background-color: #ddd;
}
footer .blue-parallel {
    grid-column: 2 / 4;
    grid-row: 1 / 4;
    clip-path: polygon(45% 0, 100% 0%, 100% 100%, 2% 100%);
    background-color: #0F2560;
}
footer .sitemap {
    grid-column: 3;
    grid-row: 2;
    line-height: 1.5;
    margin: 0px auto;
    width: 100%;
    columns: 4 140px;
    column-gap: 10px;
    z-index: 99;
}
footer .sitemap #item01,
footer .sitemap #item02,
footer .sitemap #item03,
footer .sitemap #item04,
footer .sitemap #item05,
footer .sitemap #item06{
    min-width: 140px;
    margin: 0px 6px 6px 0px;
    display: inline-block;
}
footer .sitemap h4 {
    color: white;
    font-size: 18px;
    font-weight: 400;
}
footer .sitemap ul {
    list-style: none;
    color: #B1B1B1;
    font-size: 15px;
    font-weight: 300;
}
footer .sitemap a {
    text-decoration: none;
    color: #B1B1B1;
}
footer .sitemap a:hover {
    color: white;
}
footer .brand {
   	width: 100%;
   	margin: 0px;
    padding: 40px;
	text-align: left;
    grid-column: 1 / 3;
    grid-row: 2 / 4;
    background-image: linear-gradient(to top left, #6177B5, #0F2560);
}
footer .brand img {
   	width: 35%;
   	height:auto;
}
footer .brand h2 {
    color: white;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.5;
    width: 70%;
}
footer .legal {
    grid-column: 2 / 4;
    grid-row: 3;
   	width: 90%;
    margin: 20px auto;
    z-index: 99;
}
footer .legal a {
    padding: 0px 8px;
    border-left: 1px solid white;
}
footer .legal a:nth-child(4) {
    border-right: 1px solid white;
}
footer .legal p {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 300;
    text-align: center;
}
@media screen and (max-width: 992px) {
    footer .sitemap h4 {
        font-size: 16px;
        color: white;
        padding: 0px;
    }
    footer .sitemap ul {
        font-size: 14px;
    }
    footer .brand img {
        width: 60%;
    }
    footer .brand h2 {
        font-size: 20px;
    }
	footer .legal p{
		font-size: 14px;
	}
}
@media screen and (max-width: 740px) {
    footer {
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
        grid-template-rows: none;
    }
    footer .sitemap {
        grid-column: auto;
        grid-row: auto;
        padding: 20px;
        margin: 0px auto;
        background-color: #0F2560;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    footer .legal {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        background-color: #0F2560;
        margin: 0px;
        padding: 20px;
    }
}

.wrapper input{
	display: none;
}