@charset "BIG5";
@font-face {
  font-family: Ngaan;
  src: url(../font/Ngaan.ttf);
}

/*.main-title {
	font-family:Ngaan, serif;
	text-shadow: grey 0.1em 0.1em 0.2em;
	position: relative; 
	color: #fff;
	font-size: 2.5em; 
	text-align:center;
	width: 50vw;
	left: 5em;
}

#mobile-title {
	font-size: 1.5em;
	text-align:center;
	font-family:Ngaan, serif;
	text-shadow: black 0.1em 0.1em 0.2em;
}*/

.main-bar {
	background: url("../images/background/background_change4.jpg") no-repeat;
	background-size: 100vw;
	height: 6em;
}


#logo-img{
		margin-left: 3em;
		padding:0;
		height: 4em;
	} 
	
.info-adjust-top{
		margin-top:9em;
}

.newstb tr:hover{
	background-color: #DDDDDD;
}

.card-border {
	margin-top:1em;
	margin-left:3em; 
	border:solid #DDDDDD 0.5px; 
	border-radius:10px;
	margin:0; 
	background-color:white;
}

.card-style {
	align-items:center;
	margin-left:auto;
	margin-right:auto;
	margin-top:2em;
	width:90vw;
}

#poster-sm {
		position: absolute;
		margin-bottom:2em;
}

#navbarSupportedContent {
	position: absolute;
	right: 1em;
}

.dropdown-item:hover {
	background-color: #DDDDDD;
}
#side-item{
	padding: 0;
	position: relative;
}

#side1st {
	position:relative; 
	font-weight:bold;
	display: block;
	margin-top:3em;
}

#side1stimg {
	height:55px;
	margin-top:0.7em;
	margin-bottom:0;
	position: absolute;
	margin-left:auto;
	margin-right:auto;
	left:0;
	right:0;
}

.nav-link, .nav-link:hover {
	color:lightgrey;
}

.title-style {
	font-size: 1.2em; 
	color: #666666;
}

.group1-member {
	margin-top: 5em;
	
}


/*Table style*/
.table-wrapper{
    margin: 10px 70px 70px;
    box-shadow: 0px 35px 50px rgba( 0, 0, 0, 0.2 );
}
.fl-table {
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
/*     white-space: nowrap; */
    background-color: white;
    margin-left: auto;
    margin-right: auto;
    vertical-align:middle;
}
.fl-table td, .fl-table th {
    text-align: center;
    padding: 8px;
}
.fl-table td {
    font-size: 16px;
     font-weight: normal;
}
.fl-table thead th {
    color: #444444;
    background: lightblue;
}

/* .fl-table tr:nth-child(odd) { */
/*     background-color: white; */
/* }  */

/* .fl-table tr:nth-child(even) { */
/*     background-color: rgb(240,240,240); */
/* } */

/*For setting news block*/
@media (min-width:1438px){
	.group2{
		width:55vw;
	}
}
@media (min-width:1259px) and (max-width: 1538.99px){
	.group2{
		width:50vw;
	}
}

@media (min-width:1119px) and (max-width: 1258.99px){
	.group2{
		width:45vw;
	}
}

@media (min-width:1007px) and (max-width: 1118.99px){
	.group2{
		width:40vw;
	}
}

@media (min-width:993px) and (max-width: 1006.99px){
	.group2{
		width:38vw;
	}
}




/*This is for large screen*/
@media (min-width:993px){
	.visible-md {
		display: none;
	}
	#side1st {
		height:0;
	}
	#side-item{
		position:relative;
		display:inline-block;
		height: 100px;
	}
	#mindex-list {
		clear: left;
	}
	.sidebarheight {
		height:100px;
	}
	.group1 {
		width:450px;
	}
}

/*This is for medium screen*/
@media (min-width:768px) and (max-width: 992.99px){
	.visible-md {
		display: none;
	}
	/*.main-title {
		font-size: 4vw;
	}*/
	#poster-sm {
		position: relative;
	}
	#mindex-list {
		clear: left;
	}
	#side1st {
		height:0;
	}
	#side-item{
		display:inline-block;
		height: 100px;
		position: absolute;
		margin-left: auto;
		margin-right: auto;
		left: 0;
		right: 0;
	}
	.sidebarheight {
		height:100px;
	}
	.group1-member{
		width:45%;
		margin-top:0;
	}
	
	.group1-factory{
		width:48%;
	}
}


/*This is for mobile screen*/
@media (max-width: 767.99px) {
	#logo-img{
		margin-left:0;
		height: 3em;
	} 
	.visible-sm {
		display: none;
	}
	.main-bar {
		height: 5em;
	}
	.info-head {
		position:absolute;
	}
	.info-adjust-top{
		margin-top:6em;
	}
	#poster-sm {
		position: relative;
	}
	#side-item {
		border-bottom:solid 0.5px #DDDDDD;
		width:100%;
		padding:14px 15px 14px 15px;
	}
	#side-item.sidebar-link.active {
	background-color:#DDDDDD;
	}
	#side1stimg {
		margin-left:1.5em;
		margin-right:1em;
		height:30px;
		float:left;
		position:relative;
		margin-top:0;
		margin-bottom:5px;
	}
	#side1st {
		margin:0;
		position:absolute;
		margin-left:4.5em;
	}
	.group1-factory{
		width:100%;
	}
}