
body {
	margin: 0;
	font-size: 14px;
	font-family: Arial, "儷黑 Pro", "LiHei Pro", "微軟正黑體", sans-serif;
	color: #111;
	background-color: #EEEEE9;
}
/*,
*:focus {*/
* {
	border: 0;
	outline: none;
}
*:visited {
	border-color: transparent;
	outline-color: transparent;
}
:-moz-any-link:focus {
  outline: none;
}
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}
a, a:visited, a:active {
	text-decoration: none;
	color: #666;
}
a:hover {
	text-decoration: none;
	color: rgba(255, 81, 0, 0.533);
}
img {
	max-width: 100%;
}

button:focus {
	outline: none;
}
.xbtn {
	display: inline-block;
	background-repeat: no-repeat;
	cursor: pointer;
}
.xbtn:hover, 
.xbtn.active {
	background-position: bottom;
}

/** customize from bootstrap */
.btn {
	font-size: 1em;
	padding-left: 1em;
	padding-right: 1em;
	border: 0 none;
	border-radius: unset;
}
.btn:focus, .btn:active:focus, .btn.active:focus {
	outline: 0 none;
}
.btn-outline-light {
	color: #888;
}

.btn-primary {
	background: rgba(253, 207, 0, 0.533) !important;
	color: rgba(0,0,0,.5) !important;
}
.btn-secondary {
	background: rgba(255, 81, 0, 0.533) !important;
	color: rgba(0,0,0,.5);
}
/*.btn-primary, */
.nav-item {
	background: transparent;
	color: #888;
}
/*.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active, 
.btn-primary.active, */
.nav-item:hover .nav-link, 
.nav-item:focus .nav-link, 
.nav-item:active .nav-link, 
.nav-item.active .nav-link {
	background: transparent;
	color: #FFF;
}
.navbar-collapse {
	background: rgba(243, 243, 243, 0.533);
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}
.dropdown-menu {
	font-size: 1em;
}

.clear-fix {
	clear: both;
}

#header {
	color: #666;
	min-height: 400px;
	background-position-x: 0;
	background-position-y: center;
	background-repeat: no-repeat;
	background-size: auto 100%;
}
#header.main {
	background-image: url('../images/bg_main_header.png');
}
#header.score,
#header.report {
	background-image: url('../images/bg_score_header.png');
}
#header.ranking {
	background-image: url('../images/bg_ranking_header.png');
}
#topbar {
	height: auto;
	margin-left: -15px;
	margin-right: -15px;
	padding: 0 15px;
	background: rgba(255,255,255,0.8);
}
#user_info {
	padding-top: 10px;
}
#topbar .navbar {
	padding: 0;
}
.navbar-light .navbar-toggler {
	border: 0 none;
	background: rgba(250,250,250, .5);
}
.navbar-expand-md .navbar-nav .nav-link,
.navbar-expand-lg .navbar-nav .nav-link {
	padding: .25em .75em;
}
#sub_menu1 {
	width: 250px;
	height: 220px;
	padding: 25px 20px 0 80px;
	background: url('../images/bg_langarden.png') no-repeat;
	background-size: cover;
	border: 0;
	border-radius: 0;
}
#sub_menu1 a {
	background: rgba(255,255,255,0.5);
	margin-bottom: 20px;
}
#sub_menu1 a:hover {
	background: #FFF;
}
#site_logo img {
	margin: 10px 0;
	max-width: 90%;
}

.promo {
	position: relative;
	clear: both;
	margin-top: 15px;
	padding-left: 0;
	padding-right: 0;
	text-align: center;
}
.promo .xbtn {
	display: inline-block;
	margin: 0 2px;
	background-size: 100% auto;
}

.text_voice {
	cursor: pointer;
}
.modal {
	background: rgba(0, 0, 0, .4);
}
.modal-content {
	max-width: 90%;
	margin-left: auto;
	margin-right: auto;
}
.modal-body {
	max-height: 600px;
	overflow: hidden;
	overflow-y: auto;
}
.container {
	background: #FFF;
	margin-left: auto;
	margin-right: auto;
}
.wrapper {
	position: relative;
	height: auto;
}
.fancybox-slide--iframe .fancybox-content {
    width: 800px;
	height: auto;
	padding: 6px;
	max-height: 100% !important;
	max-width: 800px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
}
.news .item {
	cursor: pointer;
}

.collapsing {
	position: absolute !important;
	z-index: 20;
	width: 200px;
	top: 40px;
	left: 0;
	/*background: rgba(255, 150, 195, 0.9);*/
	background: rgb(255, 159, 167) !important;
}
.collapse.show {
	display: block;
	position: absolute;
	z-index: 20;
	width: auto;
	min-width: 200px;
	top: 40px;
	left: 0;
	/*background: rgba(253, 207, 0, 0.644) !important;*/
	/*background: rgba(255, 81, 0, 0.533) !important;*/
	background: rgb(255, 159, 167) !important;
}
.navbar-collapse {
	max-height: none !important;
}
.fancybox-close-small {
	width: 36px;
	height: 36px;
	color: white;
	background-color: rgba(0,0,0,1);
	border: 1px solid white;
	border-radius: 50%;
	right: -18px;
	top: -18px;
}
.fancybox-slide--iframe .fancybox-content {
	max-width: 800px;
}

@media (min-width: 768px) {
	.wrapper {
		max-width: 100%;
	}
	#header.main {
		min-height: 500px;
	}
	#header.score,
	#header.ranking {
		height: 350px;
	}
	.btn-primary,
	.nav-item {
		background: rgba(253, 207, 0, 0.644) !important;
		color: rgba(0,0,0,.5) !important;
	}
	/*.btn-primary:hover, 
	.btn-primary:focus, */
	.btn-primary:active, 
	.btn-primary.active, 
	.nav-item:hover .nav-link, 
	.nav-item:focus .nav-link, 
	.nav-item:active .nav-link, 
	.nav-item.active .nav-link {
		background: rgba(255, 81, 0, 0.533) !important;
		color: #FFF;
	}
	.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
		color: #FFF;
	}
	.navbar-collapse {
		background: transparent;
	}
	.row.content {
		margin-left: auto;
		margin-right: auto;
	}
	/*.modal-dialog {
		max-width: 600px;
	}*/
	.promo .xbtn {
		width: 120px;
		height: 60px;
	}
}

@media (min-width: 1024px) {
	#site_logo img {
		margin: 10px 15px;
	}
	/*#topbar .navbar {
		padding: 0 15px;
	}*/
	.promo .xbtn {
		width: 160px;
		height: 80px;
	}
}

@media (min-width: 1200px) {
	.wrapper {
		max-width: 1200px;
	}
	.row.content {
		max-width: 1120px;
		min-height: 300px;
		margin-left: auto;
		margin-right: auto;
		clear: both;
	}
	.promo .xbtn {
		width: 200px;
		height: 100px;
	}
}
