/*!
 * Start Bootstrap - Scrolling Nav (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

body {
    width: 100%;
    height: 100%;
}

html {
    width: 100%;
    height: 100%;
}
.jumbotron hero-space{ 
   margin-top:0px;
 }
/* scroll to top */
.scrollup{
    position:fixed;
	width:80px;
	height:80px;
	top:120px;
    right:0px;
-webkit-border-radius: 2px 2px 0 0;	
	-moz-border-radius: 2px 2px 0 0;	
	border-radius:  2px 2px 0 0;	
}

a.scrollup {
	outline:0;
	text-align: center;
}

a.scrollup:hover,a.scrollup:active,a.scrollup:focus {
	opacity:1;
	text-decoration:none;
}
a.scrollup i {
	margin-top: 10px;
	color: #fff;
}
a.scrollup i:hover {
	text-decoration:none;
}

/* CSS Document */
.carousel-inner>.item>a>img, .carousel-inner>.item>img, .img-responsive, .thumbnail a>img, .thumbnail>img {
    display: block;
    max-width: 100%;
    height: auto;
}
.portfolio-item {
    margin: 0 0 15px;
    right: 0;
    
}

.portfolio-item .portfolio-link {
    display: block;
    position: relative;
    max-width: 400px;
    margin: 0 auto
	
}

.portfolio-item .portfolio-link .portfolio-hover {
    background: rgba(198, 20, 22, 0.6);
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all ease 0.5s;
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
	
}

.portfolio-item .portfolio-link .portfolio-hover:hover {
    opacity: 1
}

.portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
    position: absolute;
    width: 100%;
    height: 20px;
    font-size: 20px;
    text-align: center;
    top: 50%;
    margin-top: -12px;
    color: white;
	
}

.portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
    margin-top: -12px
}

.portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
.portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
    margin: 0
}

.portfolio-item .portfolio-caption {
    max-width: 400px;
    margin: 0 auto;
    background-color: white;
    text-align: center;
    padding: 20px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
}

.portfolio-item .portfolio-caption h4 {
    text-transform: none;
    margin: 0
}

.portfolio-item .portfolio-caption p {
    
    font-size: 16px;
    margin: 0
}

#portfolio * {
    z-index: 2
}
.text{
	font-family:"微軟正黑體";
	font-weight:800 !important;
	 color:#421706;
	font-style:normal;

}
.class_table{
	line-height:1.5;
	font-size:0.9em;
	
}
.style1{
	color:#333 !important;
}

.left_class{
	width:100%;
	height:100%;
	margin:10px auto;
	overflow:hidden;
	/*border-top: #fbc200 7px solid; */
	color:#FFF;
	background-color:rgba(255,255,255,0.7);
	padding-top:20px;
	padding-left:40px;
}
.left_class ul{
	float:left;
	text-align:left;
	margin-top:0px;
	margin-left:-25px;
	
}
.left_class li{
	font-size:1.2em;
	font-family:"微軟正黑體";
	list-style:none;
	margin-bottom:8px;
}
.left_class li i{
	color:#933;
}
.left_class li a{
	color:#000;
	text-decoration:none;
}
.1024_L{
	display:none !important;
}
@media(min-width:767px) {
    
    .top-nav-collapse {
        padding: 0;
    }
	.scrollup{
	width:120px;
	height:120px;
}
   .class_table{
	line-height:2;
	font-size:1.2em;
}
	.left_class ul{
	
	margin-left:15px;
	
}
	
}

}

}
@media(max-width:767px) {
.left_class ul{
	
	margin-left:-30px !important;
	
}

}
/* Demo Sections - You can use these as guides or delete them - the scroller will work with any sort of height, fixed, undefined, or percentage based.
The padding is very important to make sure the scrollspy picks up the right area when scrolled to. Adjust the margin and padding of sections and children 
of those sections to manage the look and feel of the site. */

.intro-section {
   
    padding-top:60px;
    text-align: center;
    background:url(../img/bg2.png);
}

.about-section {
    height: 100%;
    padding-top: 150px;
    text-align: center;
    background: #eee;
}

.services-section {
    height: 100%;
    padding-top: 150px;
    text-align: center;
    background: #fff;
}

.contact-section {
    height: 100%;
    padding-top: 150px;
    text-align: center;
    background: #eee;
}