/*
 * Below are the style developed by jason hung.
 */

@font-face {
    font-family: 'diamanteefdemibold';
    src: url('../font/diamanteef-demibold-webfont.eot');
    src: url('../font/diamanteef-demibold-webfont.eot') format('embedded-opentype'),
         url('../font/diamanteef-demibold-webfont.woff') format('woff'),
         url('../font/diamanteef-demibold-webfont.ttf') format('truetype'),
         url('https://www.hongrita.com/wp/wp-content/themes/hongrita/fonts/diamanteef-demibold-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;
} 

@font-face {
    font-family: 'dinbold';
    src: url('../font/din-bold-webfont.eot');
    src: url('../font/din-bold-webfont.eot') format('embedded-opentype'),
         url('../font/din-bold-webfont.woff') format('woff'),
         url('../font/din-bold-webfont.ttf') format('truetype'),
         url('https://www.hongrita.com/wp/wp-content/themes/hongrita/fonts/din-bold-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'dinregular';
    src: url('../font/din-regular-webfont.eot');
    src: url('../font/din-regular-webfont.eot') format('embedded-opentype'),
         url('../font/din-regular-webfont.woff') format('woff'),
         url('../font/din-regular-webfont.ttf') format('truetype'),
         url('https://www.hongrita.com/wp/wp-content/themes/hongrita/fonts/din-regular-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;

}
 
/* ==========================================================================
   Base styles	
   ========================================================================== */
.navActive{
	opacity: 1!important;
}
html{	
	width:100%;
	height:100%;
	margin:0;
	position:relative;	
    font-size: 12px;
}

body{ 
	font-family: dinregular;
	color:#00334d;
	/* background-color:#efefef; */
	background-color:#fff;
}

.main {
	opacity:0;
	filter: alpha(opacity = 0);		
}

h1{ 
	font-family: diamanteefdemibold;
	/* text-shadow: 1px 1px 1px rgba(0,0,0,1); */
}

h2,h3,h4,h5,h6{
	font-family: dinbold;
	line-height:1.4em;
}

.sc { letter-spacing:1px; }
.sc h1,.sc h2,.sc h3,.sc h4,.sc h5,.sc h6{ font-family: arial, 微軟正黑體, Microsoft JhengHei, STHeiti, 华文黑体, SimHei, 黑体, 新細明體, PMingLiU, 細明體, MingLiU, sans-serif; font-weight:normal;}
.sc h1, .sc h5{ font-weight:bold;}

.section-full h1{ font-size:50px; }
h1{ font-size:44px; }
h2{ font-size:30px; line-height:1.2em; }
h5{ font-size:14px; font-weight:normal; }
/* h3{ font-size:18px; line-height:1.7em; }
h4{ font-size:15px; }
h5{ font-size:13px; font-weight:bold; line-height:1em; }
h6{ font-size:11px; font-family:CourierNew; font-weight:bold; } */

.section-header h1 { margin-top:60px; }
.justify{ text-align:justify; }

p{
	font-family: dinregular;
	margin: 0 0 20px;
	line-height: 1.4em;
}

.sc p{
	font-family: arial, 微軟正黑體, Microsoft JhengHei, STHeiti, 华文黑体, SimHei, 黑体, 新細明體, PMingLiU, 細明體, MingLiU, sans-serif;
	margin: 0 0 20px;
	line-height: 1.4em;
}

.text-xs { font-size:12px; } 
.text-s { font-size:14px; } 
.text-m { font-size:16px; } 
.text-l { font-size:18px; } 
.text-xl { font-size:20px; } 
.text-xxl { font-size:26px; } 
.text-xl+.text-s { margin-bottom:30px; }
h2+.text-xl { margin-bottom:30px; }
hr+.text-xxl { padding:40px 0; }

#content-left ul li.first{ display:inline-block; }
a,a:hover { color:inherit; }
a.underline { border-bottom:0px solid #000; text-decoration:underline; }
.underline { border-bottom:1px solid #000; display:inline-block; line-height:1em; padding-bottom:1px; }

.mouse-on{
	opacity:1;
	filter: alpha(opacity = 100);	

	transition: opacity .1s ease-in-out;
	-moz-transition: opacity .1s ease-in-out;
	-webkit-transition: opacity .1s ease-in-out;
}

.mouse-on:hover{
	opacity:0.5;
	filter: alpha(opacity = 50);
}

.center{ text-align:center; }
.mt-10{ margin-top:10px; }
.mt-20{ margin-top:20px; }
.mt-30{ margin-top:30px; }
.mt-40{ margin-top:40px; }
.mt-60{ margin-top:40px; }
.mt-80{ margin-top:80px !important; }
.ml-10 { margin-left:10px; }

#map-canvas { width:480px; height:300px; }
.resize { width:100%; } 
.navbar-fixed-top,.indicators,.back-to-top { -webkit-transform: scale3d(1,1,1); }

.white{ color:#fff !important; }
.green{ color:#c3cf21; }
.blue{ color:#00334d; }
.dark-gray-bg{ background-color:#616161 !important; }  
.light-gray-bg{ background-color:#efefef !important; }  
.green-bg{ background-color:#c3cf21; }   
.blue-bg{ background-color:#00334d; color:#fff; }
.white-bg{ background-color:#fff; }
.green-border{ border-color:#c3cf21; }
   
.desktop{ display:block; }   
.mobile{ display:none; }   
   
/* ==========================================================================
   Home page	
   ========================================================================== */

.section-full,.section-img{ height:100%; width:100%; }
.section-header{ height:400px; width:100%; }
.section,.section-img{ padding:100px 0; }
#markets .section { min-height:600px; }
.section-footer{ padding:60px 0; }
.section-700{ height:700px; }
.section-550{ height:550px; }
.section-600{ height:600px; }
.section-400{ height:400px; }
.section-bottom{ padding:100px 0 140px 0; }
hr{ margin:0; }
hr.divider{ border-color:#c3cf21; margin:30px 0; }

.vertical-table{ display:table; }

.vertical-center {
    display:table-cell;
    vertical-align:middle;
	text-align:center;
}

.section-img2 {
	background: transparent url("https://www.hongrita.com/wp/wp-content/themes/hongrita/img/img-director-bg.jpg") no-repeat center center; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: 100% auto;
}

.section-img3 {
	background: transparent url("https://www.hongrita.com/wp/wp-content/themes/hongrita/img/img-director-bg2.jpg") no-repeat center center; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: 100% auto;
}

.content-box { 
	background-color:#efefef;
	padding:10px 20px 40px;
	margin:0 0 20px 0;
	width:100%;
}

#home .content-box { background-color:#fff; }
#news .content-box { margin:0 0 60px 0; }

.back-to-top{
	position:fixed;
	display:none;
	bottom:360px;
	left:50%;
	z-index:1000;
	font-weight:bold;
	
	font-size:16px;
	text-align:center;
	color:#00334d;
}

.indicators {
	position: fixed;
	top:50%;
	right: 20px;
	z-index: 100;
	padding:0;	
	text-align: center;
	list-style: none;
}

.indicators h4 { margin:2px 0px; }
.indicators span { opacity:0; }

.indicators li {
	display: inline-block;
	width: 8px;
	height: 8px;
	margin: 1px;
	text-indent: -999px;
	cursor: pointer;
	margin-left:10px;
	background-color: #000 \9;
	background-color: rgba(0, 0, 0, 0);
	border: 1px solid #818181;
	border-radius: 10px;
}

.indicators .active {
	width: 8px;
	height: 8px;
	margin-left: 10px;
	background-color: #818181;
}   

.section-footer .divider-left{ border-left:1px solid #fff; min-height:170px; }
.divider-left{ border-left:1px solid #c3cf21; min-height:160px; }
.divider-none{ min-height:160px; }
.section-title{ text-align:center; margin:0 0 60px 0; color:#00334d; }
#facilities .section-title{ text-align:left; margin:0 0 30px 0; }
.section-title-single{ text-align:center; margin:0 0 40px 0; color:#00334d; }
.section-title-no-mb{ text-align:center; margin:0 0 0px 0; color:#00334d; }
h2.sub-title{ margin:0 0 30px 0; /* color:#00334d; */ }
h3.sub-title{ margin:0 0 40px 0; /* color:#00334d; */ }
h4.sub-title{ margin:0 0 20px 0; /* color:#00334d; */ }
.spacing{ height:60px; }
.spacing-l{ height:120px; }

.carousel-caption {
	position: absolute;
	top: 50%;
	right:20%;
	left:20%;
	margin-top: -120px; 
	z-index: 10;
	text-align:center;
	max-width:auto;
	opacity:0;
	filter: alpha(opacity=0);	
}

.carousel-caption,.carousel-caption.left,.carousel-caption.right {
	transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	-webkit-transition: all .5s ease-in-out;
}
	
.active .carousel-caption {
	opacity:1;	
	filter: alpha(opacity=1);
	margin-left:0px;
}

.carousel-caption.left {
	text-align:left;
	max-width:440px;
}

.carousel-caption.right {
	text-align:left;
	max-width:440px;
	left:auto;
}

.carousel-caption p {
	display:inline-block;
	max-width:555px;
}
 
.carousel-caption h1,.carousel-caption h2,.carousel-caption h3,.carousel-caption h4,.carousel-caption h5,.carousel-caption h6 { margin-bottom: 20px; }
.cycle-slideshow+.sub-title,img+h4.sub-title{ margin-top:40px; } 
.fancybox + .fancybox{ margin-left:6px; }
.cycle-slideshow{ background-color:#000; }

#canvasloader-container{
	position:fixed;
	top:50%;
	left:50%;
	margin:-20px 0 0 -20px;
}
 
video#bgvid {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#video-bg {
	position: absolute;
	top: 0; 
	right: 0; 
	bottom: 0; 
	left: 0;
	overflow: hidden;
}

#video-bg > video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* 1. No object-fit support: */
@media (min-aspect-ratio: 16/9) {
	#video-bg > video { height: 300%; top: -100%; }
}

@media (max-aspect-ratio: 16/9) {
	#video-bg > video { width: 300%; left: -100%; }
}

/* 2. If supporting object-fit, overriding (1): */
@supports (object-fit: cover) {
	#video-bg > video {
		top: 0; left: 0;
		width: 100%; height: 100%;
		object-fit: cover;
	}
}

/*.markets{ -webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: 100% auto; }
.markets-1{ background: #fff url('../img/markets1.jpg') no-repeat top center;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: 100% auto; }
.markets-2{ background: #fff url('../img/markets2.jpg') no-repeat top center;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: 100% auto; }
.markets-3{ background: #fff url('../img/markets3.jpg') no-repeat top center;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: 100% auto; }
.markets-3{ background: #fff url('../img/markets4.jpg') no-repeat top center;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: 100% auto; }
.markets-4{ background: #fff url('../img/markets5.jpg') no-repeat top center;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: 100% auto; }
.markets-5{ background: #fff url('../img/markets6.jpg') no-repeat top center;-webkit-background-size: cover;-moz-background-size: cover;-o-background-size: cover;background-size: 100% auto; }*/

#in-house-automated-production-systems .row+.row,#in-house-precison-tooling-molding-technologies  .row+.row,#quality  .row+.row, #quality .mobile+.row { margin-top:60px; }
#quality .col-sm-4 img{ max-width:360px; }

/* ==========================================================================
   Cycle style	
   ========================================================================== */

.cycle-slideshow, .cycle-slideshow * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

.cycle-slideshow { 
	width: 100%; /* min-width: 200px; max-width: 500px; margin: 10px auto;*/  
	padding: 0; 
	position: relative;
    background: url(http://malsup.github.com/images/spinner.gif) 50% 50% no-repeat;
 }

.cycle-slideshow img { 
    position: absolute; 
	top: 0; 
	left: 0;
    width: 100%; 
	padding: 0; 
	display: block;
}

.cycle-slideshow img:first-child {
    position: static; 
	z-index: 100;
}

.cycle-pager { text-align: center; z-index: 500; position: absolute; bottom: 0px; overflow: hidden; right:10px; }

.cycle-pager span {
	font-family: arial;
	font-size: 40px;
	display: inline-block;
	color: #ccc;
	cursor: pointer;
	opacity: 0.5;
	margin: 0;
	padding:0 4px;
	line-height: 1.1em;	
}

.cycle-pager span.cycle-pager-active { color: #fff; opacity:1;}
.cycle-pager > * { cursor: pointer;}
.cycle-caption { position: absolute; color: white; bottom: 15px; right: 15px; z-index: 700; }

.cycle-overlay { 
    font-family: tahoma, arial;
    position: absolute; 
	bottom: 0; 
	width: 100%; 
	z-index: 600;
    background: black; 
	color: white; 
	padding: 15px; 
	opacity: .5;
	filter: alpha(opacity=50);
}

.cycle-prev, .cycle-next { position: absolute; top: 0; width: 30%; opacity: 0; filter: alpha(opacity=0); z-index: 800; height: 100%; cursor: pointer; }
.cycle-prev { left: 0;  background: url(http://malsup.github.com/images/left.png) 50% 50% no-repeat;}
.cycle-next { right: 0; background: url(http://malsup.github.com/images/right.png) 50% 50% no-repeat;}
.cycle-prev:hover, .cycle-next:hover { opacity: .7; filter: alpha(opacity=70) }
.disabled { opacity: .5; filter:alpha(opacity=50); }

.cycle-paused:after {
    content: 'Paused'; color: white; background: black; padding: 10px;
    z-index: 500; position: absolute; top: 10px; right: 10px;
    border-radius: 10px;
    opacity: .5; filter: alpha(opacity=50);
}

/* ==========================================================================
   Style reset	
   ========================================================================== */

.navbar-default h5{ margin:0; } 
.navbar-brand img{ display:inline; }

#home .navbar-default{ background-color:transparent; }
#home .navbar-brand{ padding-top:30px; }
#home .navbar-brand img.logo-icon{ width:69px; }
#home .navbar-brand img.logo-txt{ width:134px; margin-left:11px; opacity:0; filter: alpha(opacity=0); }
#home .navbar-nav > li > a { padding-top: 35px; }
#home .navbar-default .navbar-nav > li > a { color: #fff; opacity:0.5; filter: alpha(opacity=50);  }
#home .navbar-default .navbar-nav > li > a:hover,#home .navbar-default .navbar-nav > li.active > a,#home .navbar-default .navbar-nav > li.active > a:hover,#home  .navbar-default .navbar-nav > li > a:focus { color: #fff; opacity:1; filter: alpha(opacity=100);  background-color: transparent; }

.navbar-default,#home .navbar-default.smaller{ background-color:#f8f8f8; }
.navbar-brand,#home .navbar-default.smaller .navbar-brand { padding-top:8px; }
.navbar-brand img.logo-icon,#home .navbar-default.smaller .navbar-brand img.logo-icon{ width:34px; }
.navbar-brand img.logo-txt,#home .navbar-default.smaller .navbar-brand img.logo-txt{ width:134px; margin-left:11px; opacity:1; filter: alpha(opacity=100); }
.navbar-nav > li > a,#home .navbar-default.smaller .navbar-nav > li > a { padding-top: 17px; }
.navbar-default .navbar-nav > li > a,#home .navbar-default.smaller .navbar-nav > li > a{ color: #00334d; opacity:0.5; filter: alpha(opacity=50); }
.navbar-default .navbar-nav > li > a:hover,.navbar-default .navbar-nav > li.active > a,.navbar-default .navbar-nav > li.active > a:hover, .navbar-default .navbar-nav > li > a:focus { color: #00334d; opacity:1; filter: alpha(opacity=100); background-color: transparent; }

.short-divider { width:280px; margin:0 auto; margin-top:0px; margin-bottom:60px; position:relative; }
.section-footer .short-divider { width:20px; margin: 10px 0 14px 0; float:left; }
.btn { margin-right:10px; margin-bottom:10px; float:left; }
.carousel .btn,.center .btn { float:none; }
.dl-horizontal dt { width: 100px; text-align: left; }
.dl-horizontal dd { margin-left: 120px; }
.btn-link,.btn-link:hover,.btn-link:active,.btn-link:focus{ color:inherit; text-decoration:none; }
blockquote{ padding:0; }
.img-responsive{ width:100%; }
.carousel .item, .carousel .item.active, .carousel .carousel-inner { height: 100%; }
.btn-link { padding:0; margin:0; }
.btn-link:focus { outline:none; }
input { background-color:transparent; }

.sc .btn { font-family: arial, 微軟正黑體, Microsoft JhengHei, STHeiti, 华文黑体, SimHei, 黑体, 新細明體, PMingLiU, 細明體, MingLiU, sans-serif; }

.fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

.fill.mobile {
    width: 100%;
    height: 200px;
    background-position: center;
    background-size: cover;
}

.carousel-control img{
	top:50%;
	left:50%;	
	position:absolute;
	margin-top:-27px;
	margin-left:-14px;
}

#facilities .carousel-control img{ margin-top:-50px; }

.carousel-control.left { display:none; }

#home .section-full .center{
	top:50%;
	margin-top:-85px;
}

.container { height:100%; }
#recent-activities .row a ,#our-archievement .row .item a{ text-decoration:underline;}
#markets .img-responsive{ margin-top:30px; }
#contactus-message{ color:red; line-height:2em; }
#facilities  .carousel+.section-title{ margin-top:120px; }