p
{
	
	font-weight: 500;
	
}

div[name=top]
{
	
	display: flex; 
	flex-direction: row; 
	justify-content: center; 
	align-items: center;
	
}

div[class=logo]
{
	padding: 10px 0px;
	width:265px;
	
}

location[name=banner]
{

	height: 200px !important;

}

h1[name=banner-title]
{
	
	text-shadow: 3px 3px 1px #000;
	
}

footer[name=footer]
{
	
	color: #65D2E6;
	background-color: #438B99;
	
}

div[name=footerMenu]
{
	
	display: flex; 
	align-items: center; 
	justify-content: center; 
	font-size: 18px; 
	background-color: #397884; 
	
}

div[name=FM]
{
	
	padding: 8px 20px;
	transition: all 0.3s ease;
	cursor: pointer;
	
}

div[name=FM]:hover
{
	
	color: white;
	
}

div[name=footerContent]
{
	
	display: flex;
	align-items: center; 
	justify-content: center;
	
}

div[name=footerContact]
{
	
	padding: 50px 20px 20px 20px;
	margin: 0px auto;
	
}

div[name=footerContact]
{
	
	color: #65D2E6;
	
}

div[name=othItem]
{
	
	margin: 0px auto;
	
}

div[name=footerQuick]
{
	
	display: flex;
	font-size: 22px;
	
}

div[name=subQuick]
{
	
	display: flex;
	padding: 0px 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	
}


div[name=subQuick] icon
{
	
	padding: 0px 10px;
	font-family: fontAwesome;
	
}

div[name=subQuick]:hover
{
	
	color: white;
	
}

div[name=statement]
{
	
	 text-align: center;

}

.flaticon-triangle-inside-circle:before
{
	
	color: black !important;
	
}


.navbar-toggle {
    display: none;
}

error
{
	
	width: 100%;
	display: none;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: bold;
	color: red;
	
}

/*mask*/
mask
{
	
	display: none;
	align-items: center;
	justify-content: center;
	position: fixed;
	height: 100%;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 9999999;
	overflow-y: hidden;
	
}

loading
{
	
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: fixed;
	height: 100%;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.5);
	z-index: 9999999;
	overflow-y: hidden;
	
}

loading p
{
	
	font-size: 20px;
	font-weight: bold;
	color: black;
	
}

div[class=action]
{
	
	display: flex;
	position: relative;
	padding: 50px;
	/*width: 500px;*/
	/*height: 250px;*/
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 20px;
	box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.5);
	background-color: white;
	
}

div[class=action] h2
{

	margin-bottom: 20px;
	font-size: 28px;
	font-weight: bold;
	
}

close
{
	
	display: block;
	position: absolute;
	top: 5px;
	right: 10px;
	font-size: 20px;
	font-family: fontAwesome;
	cursor: pointer;
	
}

close:hover
{
	
	color: black;
	
}

button[class=goBack]
{
	
	padding: 10px 25px;
	margin: 0px 5px;
	font-weight: bold;
	font-size: 18px;
	text-align: center;
	color: white;
	border-radius: 50px;
	background-color: #3E789F;
	cursor: pointer;
	
}

button[class=goBack]:hover
{
	
	background-color: #274B64;
	
}

div[class=action] div[name=img]
{
	
	margin-bottom: 20px;
	width: 150px;
	
}

@media screen and (max-width: 768px) {
    footer[name="footer"] {
        text-align: center;
        padding: 10px;
    }

    div[name="footerMenu"] {
        flex-direction: column;
        font-size: 16px;
    }

    div[name="FM"] {
        padding: 10px;
    }

    div[name="footerContent"] {
        flex-direction: column;
    }

    div[name="footerContact"] {
        padding: 20px 10px;
    }

    div[name="footerQuick"] {
        flex-direction: column;
        font-size: 18px;
        align-items: center;
    }

    div[name="subQuick"] {
        padding: 5px 0;
        font-size: 16px;
    }

    div[name="statement"] {
        font-size: 14px;
        padding: 10px;
    }
}

#mobileNav {
    display: none;
    background-color: #438B99;
    padding: 10px;
}

#mobileNavToggle {
    background-color: #397884;
    color: white;
    font-size: 18px;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

#mobileNavMenu {
    display: none;
    margin-top: 10px;
}

.navItem {
    margin-bottom: 8px;
}

.navItem a,
.dropdownToggle {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px;
    background-color: #4b9cac;
    border-radius: 5px;
    cursor: pointer;
}

.navItem a:hover,
.dropdownToggle:hover {
    background-color: #5bc0de;
}

/* 子選單 */
.dropdownMenu {
    display: none;
    padding-left: 10px;
    margin-top: 5px;
}

.dropdown.open .dropdownMenu {
    display: block;
}

/* 僅在手機顯示 */
@media screen and (max-width: 768px) {
    #mobileNav {
        display: block;
    }

    .mainmenu-area,
    .main-menu {
        display: none !important;
    }
}