@import url(http://fonts.googleapis.com/earlyaccess/notosanstc.css);   /* 思源黑體 Noto Sans TC */
@import url(https://fonts.googleapis.com/css?family=Noto+Serif+TC&display=swap);   /* 思源宋體 Noto Serif TC */


/* 

Page One Template

http://www.templatemo.com/tm-504-page-one

*/

body {
	font-size: 21px;	
	overflow-x: hidden;
}

body,button,.form-control {
	color: #111;
	font-family: 'Noto Serif TC', 'Noto Sans TC', 'Open Sans', Helvetica, Arial, sans-serif; 
	font-weight: 400;	
}

button { cursor: pointer; }
a, button { transition: all 0.3s ease; }
a:hover,
a:focus {
	text-decoration: none;
	outline: none;
}

.container-fluid { 
	padding-left: 0; 
	padding-right: 0;
	overflow-x: hidden;
}

.tm-flex { display: flex; }

.tm-section {
	background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

button:focus { outline: none; }

p { 
	line-height: 1.8;
	margin-bottom: 50px;
}

.tm-section-title {
	font-size: 2.6rem;
    margin-bottom: 2rem;
}

.tm-site-title-wrap {
	padding-top: 80px;
	padding-bottom: 100px;
}

.tm-site-title { 	
	color: #676362;
	display: inline-block;
	font-size: 3rem; 
	padding: 30px 40px; background:rgba(255, 255, 255, 0.7);
	-moz-border-radius: 7px;   
-webkit-border-radius:7px;
border-radius:7px;
}

.tm-textbox {
	max-width: 600px;
	width: 100%;
	padding: 50px;
	overflow: auto;
}

.tm-textbox-full-height { min-height: 950px; }

.tm-white-bg {
	background-color: white;
	color: #676362;
}

.tm-translucent-white-bg { background-color: rgba(255,255,255,0.8); }

.tm-btn,.tm-btn:visited {
	display: block;
	float: right;
	font-size: 1.1rem;
	font-weight: 300;
	color: white;
	background-color: #983333;
	padding: 15px 30px;
	cursor: pointer;
	border: none;
}

.tm-btn:hover,.tm-btn:focus {
	color: white;
	background-color: #c9302c;
}

.tm-green-text { color: #96C700; }
.tm-blue-text { color: #3690FD; }
.tm-red-text { color: #983333; }

.tm-content-box {
	overflow: auto;
	height: 100%;
	max-width: 600px;
	width:  100%;
	padding: 180px 60px 100px;	
	display: -ms-flexbox;	
	display: -webkit-flex;	
	display: flex;   
	-webkit-flex-direction: column;   
	    -ms-flex-direction: column;   
	        flex-direction: column;
}
#flow .tm-content-box {padding: 60px 50px;	}
.tm-gallery-content { padding-top: 180px; }

.tm-content-box-right {
	margin-left: auto;
	margin-right: 0;
}

.tm-small-font { font-size: 1.25rem; }

.tm-page-content-width {
	max-width: 1200px;
	margin: 0 auto;	
	padding-left: 15px;
	padding-right: 15px;
	width: 100%;	
}

.tm-padding-b {	padding-bottom: 80px; }
.tm-page-content-width,.tm-content-box { min-height: 1150px; }

.tm-flex-col {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
    -ms-flex-direction: column;
        -webkit-flex-direction: column;
            flex-direction: column;    
}

.tm-media-icon {
	color:#888; width:100px;
	margin: 0 15px 0 0;
}

/* IE fix */
.tm-media-body { 
	flex: 1 1 auto; 
	width: 100%; 
}

/* Gallery */
.tm-section-gallery { min-height: 1100px; }
.filter-wrapper { padding-left: 0; }
.filter-wrapper li {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
}

.filter-wrapper li:last-child { margin-right: 0; }

.filter-wrapper li a {
	background-color: white;
    color: #666;
    font-weight: 400;
    padding: 6px 20px;    
    display: block;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
}

.filter-wrapper li a.selected { 
	background-color: #666666; 
	color: white;
}
.iso-box {
    position: relative;
    min-height: 50px;
    float: left;
    overflow: hidden;
    margin-bottom: 15px;
    padding-left: 8px;
    padding-right: 8px; 
}

.iso-box img {
border:5px solid #fff;-webkit-filter:grayscale(1);
-webkit-transition: all 0.5s linear; /* mouseout變回原形*/
   -moz-transition: all 0.5s linear;
   -o-transition: all 0.5s linear;
   -ms-transition: all 0.5s linear;
   transition: all 0.5s linear;
}

.iso-box img:hover {
border:0px solid #fff;-webkit-filter: none;
-moz-box-shadow: 1px 1px 8px #000000;
-webkit-box-shadow: 1px 1px 8px #000000;
box-shadow: 1px 1px 8px #000000;
-webkit-transition:All 0.6s ease; -moz-transition:All 0.6s ease; -o-transition:All 0.6s ease;
}

.iso-box-section {
	margin-left: -8px;
    margin-right: -8px;
}

/* Contact */
#contact .info { background:#983333 url(../img/Line.jpg) no-repeat right 15px bottom 15px; margin:0 -55px; padding:55px;color: #fff;}
#contact .info p{ margin:0 }
#contact i {color:#983333; line-height:40px;text-decoration: none;
height: 40px;
  width: 40px;
  text-align: center;
  vertical-align: middle;
  border-radius: 50%; /* may require vendor prefixes */
  background:#fff; margin:5px 10px 5px 0;}

#contact .info span a{ color: #fff;}  
#contact .info span a:hover{ color: #FF0;}  


.tm-section-contact { position: relative; }

.tm-copyright-div {	
	color: white;
	display: inline-block;
	padding: 30px 35px;
	position: absolute;
    bottom: 0;
    right: 0;    
}

.tm-copyright-text { 
	font-size: 1rem;
    margin-bottom: 0;
    font-weight: 300;
}

.tm-copyright-text a {
	color: #fff;
}

#nav { background:#111; position:fixed; right:10px; top:10px; padding:0 5px;text-align:center; z-index:999; }
#nav li { display:inline-block; font-size:17px;  font-weight:300; padding:0 5px 5px 5px;}
#nav li a{  color:#FFF;  }

iframe { height:700px; width:100%;margin:0; padding:0}
#flow li {font-size: 1.1rem; font-weight:300;}

#service ul{ display:inline-block; width:47%; vertical-align:top; margin:1em 0 ;}

/* Media Queries */
@media screen and (max-width: 991px) {
	.tm-gallery-content { padding-top: 150px; }
	.tm-section-gallery { min-height: 900px; }
	.tm-page-content-width,.tm-content-box { min-height: 1200px;	}
}

@media screen and (max-width: 767px) {
	
	#nav {  width:100%; top:0; right:0;  }
    #nav li {  font-size:15px;  padding:5px; width:40px; line-height:1.2;}
	
	.tm-gallery-content { padding-top: 100px; }
	.tm-content-box { padding: 100px 60px 100px; }
	.tm-section-gallery { min-height: 1050px; }	
	.tm-page-content-width,.tm-content-box { min-height: 1050px;	}
	.tm-site-title-wrap {
		padding-top: 60px;
		padding-bottom: 60px;
	}
	.tm-site-title { 	
	font-size: 2.5rem; 
	padding: 30px 40px; background:none; 
}


.tm-section-title { text-align:center}

.tm-textbox,.tm-content-box {
	padding: 40px 30px;
}

.iso-box img {-webkit-filter:none;}

.filter-wrapper li {

    margin-right: 5px;

}
.filter-wrapper li a { font-size:17px;

    padding: 6px 10px;    

}

.tm-media-icon {
	 width:85px; 
	margin: 0 10px 0 0;
}

#flow .tm-media-body {  width:125%}
#flow .tm-media-body ul{ margin:10px 0 40px -15px;}

#philosophy i { margin-left:15px;}
#philosophy p { text-align:center;}
#service { margin-bottom:-350px;}
#service ul{ display:block; width:100%;  margin:1em 0 0 0 ;}
#service ul.two{  margin:0 0 2em 0  ;}

#contact .info {background:#983333 url(../img/Line.jpg) no-repeat center bottom 15px; margin:0 -55px 65px -55px; padding:35px 35px 150px 35px;}
#contact .info span{ font-size:17px; display:inline-block}
#contact .info span small{ display:none;}

.tm-copyright-div,.tm-copyright-text a {	color: #333;}

@media screen and (max-height: 639px) {
	.tm-section-home { min-height: 100%; }
}

@media screen and (max-width: 575px) {
	.tm-gallery-content {padding-bottom: 150px;}	
}

@media screen and (max-width: 420px) {
	.tm-media {
		flex-direction: column;
		align-items: center;
	}

	.tm-media-icon {
		margin-right: 0;
		margin-bottom: 30px;
	}
}
