/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-bottom: 40px;
  color: #5a5a5a;
  
  margin:0;
	padding:0;
	font-size:13px;
	font-family:"Arial Unicode MS", "微軟正黑體","新細明體";
	color:#333333;
	background-color:#FFFFFF;
}



/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */
/* add by jn begin */
#search {
  font-size: 13px;
   width: 80px;
   margin-top:10px;
   height: 25px;
}


.navbar {
  background-color: #500000;
  color: #e1e1e1;
  font-size: 15px;
  margin-bottom: 0px;  
  border-radius: 0;
  border: 0px;
}
.navbar-brand img{
   padding-bottom: 2px;   
}

/* add by jn end  */
/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
/*  top: 0;
  right: 0;
  left: 0;
  z-index: 20; */
}
.navbar-nav {
	color: #FFF;
	margin-bottom: 15px;
	padding-top: 20px;
	overflow-y: hidden;
}
/* 視窗縮小後隱藏清單button底色 */
#navbar_button{
	background-color: #333;

}

.navbar-nav > li > a {
	padding:0;
	margin: 0px 6px 0px 8px;
	font-size: 17px;	
/*  top: 0;
  right: 0;
  left: 0;
  z-index: 20; */
}

.navbar-inverse .navbar-nav > li > a {
	color: #969696;
}


.navbar-header{
	margin: 0px 0px 16px 0px;

}

.navbar-inverse .navbar-nav > li > a:hover{
	color: #AA001E;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
  padding-right: 0;
  padding-left: 0;
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}
.navbar-wrapper .navbar .container {
  width: auto;
}
#navbarntnu {
	background-color: #FFFFFF;
}

#bgred {
   background-color: #7f0015;  
   z-index: -20;
   width: 100%;
   height:10%;
   position: absolute; 
}
#footer_logo {
    background-color: #EEEEEE; 
    color: #999999;
/*    float: left; */
    font-size: 9px;
    font-style: normal;
    line-height: 1.4em;
    margin: 0 0 0 0;
    text-transform: none; 
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {  
  margin-bottom: 10px;
/*  margin-left: 10px;
  margin-right: 10px;
  */
  width: 95%;
  margin: 0px auto;
 /*
  margin-left:0 auto;
  margin-right:0 auto;
  */
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
  background: none repeat scroll 0 0 rgba(100, 100, 100, 0.75);
    bottom: 0; 
	left: 0px;
    position: absolute;	
    width: 100%;	
    padding-top: 10px;	
	padding-left: 50px;
	text-align: left;
	height: 10%;
	font-size: 17px;
}

/* Declare heights because of positioning of img element */
.carousel .item {  
  margin-top: 0px;  
  background-color: #777;
}

.carousel-inner > .item > img {
  position: absolute;
  top: 0px;
  left: 0px;
  min-width: 100%;
  height: 350px;
  
}

/* CUSTOMIZE THE CAROUSEL NO SCRIPT
-------------------------------------------------- */

/* Carousel base class */
.no_script_carousel {  
  margin-bottom: 10px;
/*  margin-left: 10px;
  margin-right: 10px;
  */
  width: 95%;
  margin: 0px auto;
 /*
  margin-left:0 auto;
  margin-right:0 auto;
  */
}
/* Since positioning the image, we need to help out the caption */
.no_script_carousel-caption {
  z-index: 10;
  background: none repeat scroll 0 0 rgba(100, 100, 100, 0.75);
    bottom: 0; 
	left: 0px;
    position: absolute;	
    width: 100%;	
    padding-top: 10px;	
	padding-left: 50px;
	text-align: left;
	height: 10%;
	font-size: 17px;
}

/* Declare heights because of positioning of img element */
.no_script_carousel .item {  
  margin-top: 0px;  
  background-color: #777;
}

.no_script_carousel-inner > .item > img {
  position: absolute;
  top: 0px;
  left: 0px;
  min-width: 100%;
  height: 350px;
  
}


/* fade begin 
.carousel.carousel-fade .item {
	-webkit-transition: opacity 5s ease-in-out;
	-moz-transition: opacity 5s ease-in-out;
	-ms-transition: opacity 5s ease-in-out;
	-o-transition: opacity 5s ease-in-out;
	transition: opacity 5s ease-in-out;
	opacity:0;
}

.carousel.carousel-fade .active.item {
	opacity:1;
}

.carousel.carousel-fade .active.left,
.carousel.carousel-fade .active.right {
	left: 0;
	z-index: 2;
	opacity: 0;
	filter: alpha(opacity=0);
}

.carousel.carousel-fade .next,
.carousel.carousel-fade .prev {
	left: 0;
	z-index: 1;
}

.carousel.carousel-fade .carousel-control {
	z-index: 3;
}


 fade end */


.container-fluid {  
 
  width: 97%;
  margin: 0px auto;
}

#news_activity  {
	margin-top: -15px;
	margin-bottom: -30px;
}
#news_activity h2  {
/*	border-bottom: 1px solid #d8d8d8; delete by jn 2015.03.19 */
	color: #646464;
	margin: 0;
	font-size:18px;
	font-weight: bold;
	line-height: normal;
	padding-bottom: 2px;
	padding-top: -5px;
}
#news_activity h3 { 
    color: #000;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    padding: 0;
}
#news_activity h4 { 
    color: #666;
    font-size: 9px;
  /*   margin: 0 0 15px;
   padding: 0; delete by jn 2015.03.19 */
	text-align: right;
	/* add by jn 2015.03.19 */
	padding-bottom: 2px;
	padding-top: -5px;
	margin: 0 ;
	/* add by jn 2015.03.19 */
}

#news_activity  p{
	color: #A0A0A0;
	font-size: 14px;
	line-height: 18px;
	padding-top: 5px;
}

#news_activity  a{
	color: #646464;
	line-height: 20px;
	text-align: left;
	font-size: 16px;
	
}

#news_img  img{

	height: auto;
	max-width:100%;
    padding: 0px;
	
}
#news_activity  div a img{
    float:left;
	margin-top: 4px;
	margin-bottom: 8px;
	margin-right: 8px;
}

#important_activity h2  {
	border-bottom: 1px solid #d8d8d8;
	color: #646464;
	font-size: 18px;
	font-weight: bold;
	line-height: normal;
	padding-top: -10px;
	padding-right: 15px;
	padding-bottom: 2px;
	padding-left: 15px;
}

#important_activity img {
	/*display: block;
	float: left;*/
	
	height: auto;
	max-width:100%;
	border: medium none;
	padding: 0;
	white-space: normal;
	margin-top: -2px;
	margin-right: 2px;
	margin-bottom: 17px;
	margin-left: 2px;
}

/* static page */
#static_page h3 {
    font-size: 24px;
    font-weight: normal;
    margin: 0 0 20px;
    padding: 0;
	color: #333333;
	text-align: left;
	
}
#static_page h2 {
    border-bottom: 1px solid #7f0015;
    color: #7f0015;
    font-size: 18px;
    margin: 0 0 6px;
    padding: 15px 0 7px;
    text-transform: uppercase;
	
}
#static_page h2  a{    
    color: #7f0015;    
}
#static_page ul {
    list-style: outside none none;
    margin: 0;
    padding: 0;
	color: #666666;
}
#static_page ul  a{    
	color: #666666;
}
#about_div {background-color:#FFFFFF;opacity:0.8; margin-right:100px; padding-bottom: 100px;}
#about_div > h3 {font-size: 30px;    font-weight: normal;    margin: 0 20px 20px;    padding: 60px 0 0;}
#about_div > div > h1 > a {color: #000000;    font-size: 21px;    margin: 0;    padding: 14px 10px 10px;}
#more_news  p{
	color: #A0A0A0;
	font-size: 14px;
	line-height: 18px;
	padding-top: 5px;
}

#more_news  a{
	color: #646464;
	line-height: 20px;
	text-align: left;
	font-size: 16px;
	
}
/* static page */
/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {
  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left: 15px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
  #bgred {
   background-color: #7f0015;  
   z-index: -20;
   width: 100%;
   height:35%;
   position: absolute; 
  }
  #about_div {
   margin-right:400px
  }
  .act_class {
   display:block;
  }
}

@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }
  .container{width: 90%; 
  }
  .act_class {
   display:block;
  }
  #about_div {
   margin-right:600px
  }
@media (min-width: 1400px) {
  .featurette-heading {
    margin-top: 120px;
  }
  .container{width: 80%; 
  }
  .act_class {
   display:block;
  }
  #about_div {
   margin-right:600px
  } 
 
}
