/* @charset "utf-8"; */
/* @import url("fontawesome-free/css/all.css"); */
/* @import url(//fonts.googleapis.com/earlyaccess/notosanstc.css); */

@import "../bootstrap_custom.css";
@import "../mdb/css/mdb.min.css";
@import "notosanstc.css";
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css);
@import "framework.css";

/* Rows
--------------------------------------------------------------------------------------------------------------- */
.row0{color:#A8A8A8; background-color:#202020;}
.row1{color:#FFFFFF; background-color:rgba(0,0,0,.55);}
.row2{color:#474747; background-color:#F4F4F4;}
.row3{color:#474747; background-color:#FFFFFF;}
.row4{color:#A8A8A8; background-color:#000000;}
.row5, .row5 a{color:#A8A8A8; background-color:#202020;}




/* Content Area
--------------------------------------------------------------------------------------------------------------- */
.container{padding:80px 0;}

/* Content */
.container .content{}

.sectiontitle{display:block; max-width:55%; margin:0 auto 80px; text-align:center;}
.sectiontitle *{margin:0;}

/* Introblocks */
#introblocks{display:block;position:relative;margin: -150px 0 -100px;z-index:1;}/* 150px => 70px + container padding */

/* Sidebar */


/* Add roundness to certain items
Settings are all different due to the optical similarity needed for different sized elements
Delete this section if roundness is not wanted / required
--------------------------------------------------------------------------------------------------------------- */
.btn{border-radius:14px;}
#footer input, #footer button{border-radius:12px;}


/* Transition Fade
This gives a smooth transition to "ALL" elements used in the layout - other than the navigation form used in mobile devices
If you don't want it to fade all elements, you have to list the ones you want to be faded individually
Delete it completely to stop fading
--------------------------------------------------------------------------------------------------------------- */
*, *::before, *::after{transition:all .3s ease-in-out;}
#mainav form *{transition:none !important;}



/* Navigation
--------------------------------------------------------------------------------------------------------------- */
nav ul, nav ol{margin:0; padding:0; list-style:none;}

#mainav, #breadcrumb, .sidebar nav{line-height:normal;}
#mainav .drop::after, #mainav li li .drop::after, #breadcrumb li a::after, .sidebar nav a::after{position:absolute; font-weight:900; font-size:10px; line-height:10px;}

/* Top Navigation */
@media (min-width: 992px) {
	#mainav{}
	/* #mainav ul{text-transform:uppercase;} */
	#mainav ul ul{position:absolute;/* width: 250px; */text-transform:none;z-index:9999;}
	#mainav ul ul ul{left: 200px;top:0;}
	#mainav li{display:inline-block;position:relative;margin: 0 15px 0 0;padding:0;}
	#mainav li:last-child{margin-right:0;}
	#mainav li li{width: 100%;margin:0;}
	#mainav li a{display:block;padding: 20px 0;}
	#mainav li li a{border:solid; border-width:0 0 1px 0;}
	#mainav .drop{padding-left: 15px;}
	#mainav li li a, #mainav li li .drop{display:block; margin:0; padding:10px 15px;}

	#mainav .drop::after{top:35px; left:5px;}
	#mainav li li .drop::after{top:15px; left:5px;}
	#mainav ul ul{visibility:hidden;opacity: 0;}
	#mainav ul li:hover > ul{visibility:visible;opacity:1;}

	/* #mainav form{display:none; width:100%; margin:0; padding:0;} */
	/* #mainav form select, #mainav form select option{display:block; cursor:pointer; outline:none;} */
	/* #mainav form select{width:100%; padding:5px; border:1px solid;} */
	/* #mainav form select option{margin:5px; padding:0; border:none;} */
	

	 .dropdown-menu {
	  display: block;
	  visibility: hidden;
	  transition: 0.4s ease-out;
	  opacity: 0;
	  &.show {
		opacity: 1;
		visibility: visible;
		top: 50px;
	  }
	}
	.dropdown-item{
		font-weight: bold;
	}
	.nav-link{
		word-break: break-all;
	}
	
}

/* Back to Top */
#backtotop{z-index:999; display:inline-block; position:fixed; visibility:hidden; bottom:20px; right:20px; width:36px; height:36px; line-height:36px; font-size:16px; text-align:center; opacity:.2;}
#backtotop i{display:block; width:100%; height:100%; line-height:inherit;}
#backtotop.visible{visibility:visible; opacity:.5;}
#backtotop:hover{opacity:1;}


/* Tables
--------------------------------------------------------------------------------------------------------------- */
table, th, td{border:1px solid;border-collapse:collapse;vertical-align:top;font-size: 20px;background-color: #d9d5d512;color: #797979;}
table, th{table-layout:auto;}
table{width:100%;/* margin-bottom:15px; */}
th, td{padding: 10px 10px;}
td{border-width: 2px 2px;}


/* Colours
--------------------------------------------------------------------------------------------------------------- */
body{
	color:#A8A8A8;
	background-color: #000000;
	font-family: 'Noto Sans TC', '微軟正黑體', sans-serif;
	}
	
a{color: #6d6f70;}
a:active, a:focus{background:transparent !important;}/* IE10 + 11 錯誤修復-防止灰色背景 */
hr, .borderedbox{border-color:#D7D7D7;}
label span{color:#FF0000; background-color:inherit;}
input:focus, textarea:focus, *:required:focus{border-color:#3A93F3 !important;}

.imgover:hover::before{background-color: rgb(0 123 255 / 30%);/* #3A93F3 */}
.imgover, .imgover:hover::after{color:#FFFFFF;}


/* Rows */
.row0{color:#A8A8A8; background-color:#202020;}
.row1{color: rgb(0 0 0 / 55%);background-color: rgb(255 255 255 / 70%);font-weight: bold;}
.row2{color:#474747; background-color:#F4F4F4;}
.row3{color:#474747; background-color:#FFFFFF;}
.row4{color:#A8A8A8; background-color:#000000;}
.row5, .row5 a{color:#A8A8A8; background-color:#202020;}


/* Top Bar */
#topbar a{color:inherit;}
#topbar a:hover{color:#3A93F3;}


/* Header */
#header #logo a{color:inherit;}


/* Page Intro */
#pageintro{color:#FFFFFF;}


/* Content */
#introblocks{box-shadow:0px 15px 15px 0px rgba(0,0,0,.1);}


/* Navigation */
@media (min-width: 992px) {
	#mainav li a{color:inherit;}
	#mainav .active a, #mainav a:hover, #mainav li:hover > a{color: #2f8cf1;background-color:inherit;}
	#mainav li li a, #mainav .active li a{color:#FFFFFF;background-color: rgb(58 147 243 / 80%);border-color: rgb(58 147 243 / 80%);/* #3A93F3 */}
	#mainav li li:hover > a, #mainav .active .active > a{color:#FFFFFF; background-color:#3A93F3;}
	#mainav form select{color:#474747; background-color:#FFFFFF; border-color:#D7D7D7;}
}

#backtotop{color:#FFFFFF; background-color:#3A93F3;}


/* Tables + Comments */
table, th, td, #comments .avatar, #comments input, #comments textarea{border-color:#D7D7D7;}
th{color:#FFFFFF;background-color:#373737;font-weight: bold;}
tr, #comments li, #comments input[type="submit"], #comments input[type="reset"]{color:inherit; background-color:#FBFBFB;}
tr:nth-child(even), #comments li:nth-child(even){color:inherit; background-color:#F7F7F7;}
table a, #comments a{background-color:inherit;}




/* Max Wrapper Width - Laptop, Desktop etc.
--------------------------------------------------------------------------------------------------------------- */
@media screen and (min-width:1140px){
	.hoc{max-width: 1200px;}
}

@media screen and (min-width:978px) and (max-width:1140px){
	.hoc{max-width: 100%;}
}


/* Mobile Devices
--------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width:978px){
	.hoc{max-width:90%;}

	#topbar{}

	#header{padding: 10px 0;}
	#header #logo{margin-top:0;font-weight: bold;}

	#mainav{}
/* 	#mainav ul{display:none;} */
	#mainav form{display:block; margin-top:2px;}

	#breadcrumb{}

	.container{}
	#comments input[type="reset"]{margin-top:10px;}
	.pagination li{display:inline-block; margin:0 5px 5px 0;}

	#footer{}

	#copyright{}
	#copyright p:first-of-type{margin-bottom:10px;}
}

@media screen and (max-width:750px){
	.imgl, .imgr{display:inline-block; float:none; margin:0 0 10px 0;}
	.fl_left, .fl_right{display:block; float:none;}
	.group .group > *:last-child, .clear .clear > *:last-child, .clear .group > *:last-child, .group .clear > *:last-child{margin-bottom:0;}/* Experimental - Needs more testing in different situations, stops double margin when stacking */
	.one_half, .one_third, .two_third, .one_quarter, .two_quarter, .three_quarter{display:block; float:none; width:auto; margin:0 0 30px 0;}

	#topbar{text-align:center;}
	#topbar > div:first-of-type ul{margin:0 0 10px 0;}

	#header{/* text-align:center; */}
	#header #logo{margin:0 0 15px 0;}

	#breadcrumb{text-align:left;}

	#pageintro article{max-width:none;}
	#pageintro .heading{margin-bottom:20px; font-size:2.5rem;}
	#pageintro article p:last-of-type{line-height:1.4; font-size:1.2rem;}

	.sectiontitle{max-width:none;}
	.sd-third > li{max-width:348px;}/* Restrict the width to the one_third grid element in smaller devices */

	#services li:nth-last-child(-n+4){margin-bottom:50px;}
	#services li:last-child{margin-bottom:0;}

	#footer{}
	#footer .latestimg > li, #footer .latestimg > li:nth-last-child(-n+3){display:inline-block; float:none; width:auto; margin:0 5% 5% 0;}
	#footer .latestimg > li:last-child{margin-bottom:0;}
	#footer .latestimg > li img{width:auto;}
}

@media screen and (max-width:450px){
	#topbar > div:first-of-type ul li{display:block; margin:0;}
}


/* Other
--------------------------------------------------------------------------------------------------------------- */
@media screen and (max-width:650px){
	.scrollable{display:block; width:100%; margin:0 0 30px 0; padding:0 0 15px 0; overflow:auto; overflow-x:scroll;}
	.scrollable table{margin:0; padding:0; white-space:nowrap;}

	.inline li{display:block; margin-bottom:10px;}
	.pushright li{margin-right:0;}

	.font-x2{font-size:1.6rem;}
	.font-x3{font-size:1.8rem;}
}

/* Page Intro
--------------------------------------------------------------------------------------------------------------- */
#pageintro{padding: 400px 0 270px;}/* 270px => 70px for #introblocks negative margin */

#pageintro article{display:block; max-width:75%; margin:0 auto; text-transform:capitalize; text-align:center;}
#pageintro article p:first-of-type{margin:0 0 30px 0; padding:0; font-size:2.5rem;}
#pageintro .heading{font-size:5rem;}
#pageintro footer{margin-top:50px;}
#pageintro footer .btn{padding:25px 35px 27px; font-size:1.2rem; border-radius:50px;}



/* Others
---------------------------------------------------------------------------------- */

.sidebar {
	position:sticky;
	top: 120px;
	height: 83vh;
	overflow-y: overlay;
}


.sidebar::-webkit-scrollbar {
  width: 10px;
}


::-webkit-scrollbar-button {
  /* background: transparent; */
  border-radius: 4px;
}

::-webkit-scrollbar-track-piece {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid slategrey;
}

::-webkit-scrollbar-track {
  box-shadow: transparent;
}


.imgover{
	width: 80%;
	border-radius: 30px
}
.imgover img{
	width: 100%;
	border-radius: 30px
}
.imgover::before {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
	border-radius: 30px
}


.person-photo{
	width:35%
}

.gsc-search-button-v2 {
  font-size: 0;
  padding: 6px 6px !important;
  width: auto;
  vertical-align: middle;
  border: 1px solid #000;
  border-radius: 6px !important;
  margin-top: 2px;
  border-color: #000;
  background-color: #333;
  background-image: linear-gradient(top, #333, #333);
}

.gsc-search-button {
  margin-left: 2px;
  padding: 0px;
}

table.gsc-search-box td.gsc-input {
  padding: 6px;
}

