/*!
 * Start Bootstrap - Modern Business HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

html,
body {
    height: 100%;
}

body {
	padding-top: 50px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
	font-family: "jf-jinxuan-medium", "Noto Sans CJK TC Medium", "微軟正黑體", "新細明體";
	background-image: url(../images/bg.png);
	background-repeat: repeat;
	background-position: center top;
	background-color: #FFF8DE;
}
p {
	font-family:"jf-jinxuan-medium", "Noto Sans CJK TC Medium", "微軟正黑體", "新細明體";
	color: #000;
	font-size: 1em;
	text-align: left;
	line-height: 2em;
}
h6 {
	font-family:"jf-jinxuan-medium", "Noto Sans CJK TC Medium", "微軟正黑體", "新細明體";
	color: #A00;
	font-size: 1em;
	text-align: left;
	line-height: 2em;
}
.btn{
	color: #FFF;
	text-align: justify;
	margin-left: auto;
	margin-right: auto;
	background: rgba(112,63,70,1);
	font-size: 0.8em;
	height: 40px;
	width: auto;
	margin-top: 5px;
	margin-bottom: 5px;
	position: relative;
	float: right;
	}
.btn:hover{
	color: #FFF;
	background-color: rgba(138,79,87,1);
	}
a:link,a:visited,a:hover,a:active {
	color: #FFFFFF;
	text-decoration: none;
}
.breadcrumb {
	background-color: #FEF7DD;
}	

.img-portfolio {
	margin-bottom: 30px;
}

.img-hover:hover {
    opacity: 0.8;
}

/* Home Page Carousel */

header.carousel {
	height: 100%;
}

header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner {
    height: 100%;
}

header.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

.period {
    display: block;
    font-style: italic;
}


/* video */

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
}
.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

footer {
	height: 40px;
	line-height: 1em;
	margin: 0;
	padding: 5px;
	background-color: #AB8347;
	/*margin: 50px 0;*/
	left: 0;
	right: 0;
	bottom: 0;
	position: fixed;
	z-index: 1030;
}

.copyright-text {
	padding: 0;
	text-align: center;
	margin-top: 0.5em;
	margin-right: 0;
	margin-bottom: 0.5em;
	margin-left: 0;
	font-family: "微軟正黑體", "新細明體", "標楷體";
	font-size: 12px;
	color: #FFF;
}

@media(max-width:767px) {
footer {
	height: 3em;
	background-color: #AB8347;
	position: fixed;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.copyright-text {
	padding: 0;
	text-align: center;
	margin-top: 0.5em;
	margin-right: 0.5em;
	margin-bottom: 0.5em;
	margin-left: 0.5em;
	font-family: "微軟正黑體", "新細明體", "標楷體";
	font-size: 12px;
	color: #FFF;
	line-height: normal;
}

/* Responsive Styles */

@media(max-width:991px) {
    .customer-img,
    .img-related {
        margin-bottom: 30px;
    }
}

@media(max-width:767px) {
    .img-portfolio {
        margin-bottom: 15px;
    }

    header.carousel .carousel {
        height: 100%;
    }
}
