body{
	background-color: #5ab6f4;
    background-image:url("../../tw_images/bg/bg.jpg");
    background-position: center top;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
	/*text-align:center;*/
	background-size:cover;
}

img {
    height: auto;
    max-width: 100%;
}

.banner img{
	max-height: 100%;
	max-width: 100%;
	height: 100%;
	width: 100%;
	margin:0 auto;
	overflow: hidden;
}
.about{
	text-align:center;
}
.about img{
	max-height: 100%;
	max-width: 100%;
	height: 100%;
	margin:0 auto;
	overflow: hidden;
}
.title img{
	max-height: 100%;
	max-width: 100%;
	height: 100%;
	width: 100%;
	margin:0 auto;
	overflow: hidden;
}
.pro img{
	max-height: 100%;
	max-width: 100%;
	height: 100%;
	width: 100%;
	margin:0 auto;
	overflow: hidden;
}
ul.footer_list{
	/*margin-left:15px;
	text-align:left;*/
	list-style:none;
	color:#555555;
	padding:0;
	font-size:13px;
	font-family:"Lucida Console";
}
ul.footer_list a{
	font-size:13px;
	text-decoration:none;
	color:#555555;
}
ul.footer_list a:hover{
	text-decoration:none;
	color:#48bcec;
}
ul.news{
	margin:0;
	padding-left: 20px;
}
ul.news li{
	line-height:30px;
	list-style: inside none disc;
	border-bottom:1px dashed #cccccc;
}
ul.news a{
	color:#666666;
}
ul.news a:hover{
	text-decoration:none;
	color:#0092ee;
}

.input-group-btn {
    width: auto;
}
.input-group-btn {
    font-size: 0;
    position: relative;
    white-space: nowrap;
}
.input-group-addon, .input-group-btn {
    vertical-align: middle;
    white-space: nowrap;
    width: 1%;
}
.input-group-addon, .input-group-btn, .input-group .form-control {
    /*display: table-cell;*/
	display: inline-block;
	float:right;
}

/*------------------------------------------------ menu ------------------------------------------------*/
ul.kid-menu{
	display: block !important;
}
.menu {
	font-family: "Lucida Console";
	width: auto;
	height: auto;
	padding: 0;
	list-style: none;
	margin: 0;
	background: #FBFBFC;
}
ul {
	padding: 0;
	list-style: none;
}
ul.menu li.item1:hover{
	color:#014099;
	background-color: #f2f2f2;
}
.menu > li > a {
	width: 100%;
	line-height: 2.5em;
	/*text-indent: 1.2em;*/
	text-indent: 0.8em;
	display: block;
	position: relative;
	color: #666666;
	font-size: 14px;
	text-decoration:none;
	border-bottom: 1px solid #ddd;
	font-weight:bold;
	background-color: #ffffff;
}
.menu ul li a {	
	width: 100%;
	display: block;
	position: relative;
	font-size:14px;
	font-weight: 400;
	color: #666666;
	text-decoration:none;
	/*border-bottom: 1px solid #ddd;*/
	font-weight:bold;
	line-height: 2.5em;
	text-indent: 1.2em;
	background-color: #ffffff;
}
.menu ul li a:hover{
	color:#014099;
	background-color: #f2f2f2;
	border-left:3px solid #014099;
}
.menu > li > a:hover, .menu > li > a.active {
	background:#fff;
	color:#014099;
}

.menu ul.kid-menu li a{
	border-bottom: none;
}
ul.kid-menu{
	padding: 0;
	margin: 0;	
}
ul.kid-menu li{
	list-style: none;
	border-bottom: 1px solid #ddd;
}

ul.kid-menu li.menu-kid-left{
	border-bottom:none;
}
ul.cute li{
	background: #fff;
}
ul.cute li a{
	color:#999999;
	font-size: 13px;
	font-weight:300;
}
.arrow-img {
    float: right;
    /*padding: 10px 1.5em 0 0;*/
	padding: 10px 0;
}
.img-arrow{
	padding: 0 0 0 8em;
}
.img-left-arrow{
	padding: 0 0 0 5.5em;
}

.sub-cate,.slide-grid{
	float: left;
}
.top-nav{
	border: 1px solid #ddd;
	margin-top: 20px;
	margin-bottom: 20px;
}
.sub-cate{
	width: 80%;
	margin: 2em 2em 0 2em;
}
h3.cate {
    background-color: #4ea9df;
    border: 5px solid #025ac2;
    color: #fff;
    font-size: 1.7em;
    margin: 0;
    padding: 0.6em;
}

nav .login{
	position: absolute;
	right: -10px;
	top: 20px;
	color: #fff;
}

nav .sm_login{
	display: none;
}

nav .login a{
	color: #fff;
}

@media(max-width:1280px){
	.arrow-img {
		/*padding: 0em 0em 0 5.5em;*/
	}	
	.img-arrow {
	padding: 0 0 0 7.2em;
	}
	.img-left-arrow {
	padding: 0 0 0 4.7em;
	}
}

@media(max-width:991px){
	nav .login{
		top: 80px;
	}
}

@media(max-width:768px){
	.sub-cate {
		width: 100%;
		margin:0;
	}
	/*.arrow-img {
		float: right;
		padding: 0em 0em 0 33.5em;
	}*/
	.img-arrow {
		padding: 0 0 0 35em;
	}
	.img-left-arrow {
		padding: 0 0 0 32.5em;
	}
	nav .login{
		top: 20px;
		right: 60px;
	}
	nav .sm_login{
		display: block;
	}
	nav .lg_login{
		display: none;
	}
}

@media(max-width:480px){
	.sub-left-right {
    width: 56%;
	}
	 .span_3_of_2 p {
		height: 121px;
		overflow: hidden;
	}
	/*.arrow-img {
		float: right;
		padding: 0em 0em 0 15.3em;
	}*/
	.img-arrow {
		padding: 0 0 0 17em;
	}
	.img-left-arrow {
		padding: 0 0 0 14.5em;
	}
	.input-group-addon, .input-group-btn {
		margin-top: -34px !important;
	}
	.input-group-addon, .input-group-btn {
		width: 5% !important;
	}

}
@media(max-width:320px){
	.menu ul li a {
	font-size: 1em;
	line-height: 2.5em;
	}
	.menu > li > a {
		font-size: 1em;
		line-height: 2.5em;
	}
	/*.arrow-img {
		float: right;
		padding: 0em 0em 0 7em;
	}*/
	.img-arrow {
		padding: 0 0 0 8.8em;
	}
	.img-left-arrow {
		padding: 0 0 0 6.2em;
	}
	.input-group-addon, .input-group-btn {
		margin-left: -7px !important;
		margin-top: -35px !important;
	}

}


/*-------------------------------------------- menu end ------------------------------------------------*/


.form-control2 {
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555;
    display: block;
    font-size: 13px;
    height: 34px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    vertical-align: middle;
    width: 100%;
}



/*-------------------------------------------- product ------------------------------------------------*/
.pro_list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  overflow: hidden;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.pro_item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 25%;
  padding: 0.625rem;
  margin: 0;
}
@media screen and (max-width: 50em) {
  .pro_item {
    width: 33.333%;
  }
}
@media screen and (max-width: 40em) {
  .pro_item {
    width: 50%;
  }
}
@media screen and (max-width: 22em) {
  .pro_item {
    width: 100%;
  }
}

.pro_item figure {
  margin: 0;
}

.pro_inner {
  background: #fff;
  width: 100%;
}
.pro_inner img {
  display: block;
  /*width: 100%;*/
}
.pro_inner figcaption {
  padding: 1.25rem;
}


/*-------------------------------------------- contacts ------------------------------------------------*/


.to input[type="text"] {
    background: none repeat scroll 0 0 #fff;
    border: 1px solid #eee;
    color: #777;
    float: left;
    font-family: "Exo 2",sans-serif;
    font-size: 0.85em;
    margin: 10px 5px 10px 0 !important;
    outline: medium none;
    padding: 10px 9px;
    width: 100%;
}
.text input[type="text"], .text textarea {
    border: 1px solid #eee;
    color: #777;
    font-family: "Exo 2",sans-serif;
    font-size: 0.85em;
    height: 150px;
    margin: 10px 0 25px;
    outline: medium none;
    padding: 10px 9px;
    width: 99.3%;
}

.submit input[type="submit"] {
    background: none repeat scroll 0 0 #f04664;
    border: medium none;
    color: #fff;
    cursor: pointer;
    font-family: "Exo 2",sans-serif;
    font-size: 1em;
    outline: medium none;
    padding: 10px 30px;
	margin-bottom: 20px;
	border-radius: 3px;
	-webkit-box-shadow: 0 1px 1px rgba(51,51,51,.5);
	-moz-box-shadow: 0 1px 1px rgba(51,51,51,.5);
	box-shadow: 0 1px 1px rgba(51,51,51,.5);
}

.submit button[type="submit"] {
    background: none repeat scroll 0 0 #f04664;
    border: medium none;
    color: #fff;
    cursor: pointer;
    font-family: "Exo 2",sans-serif;
    font-size: 1em;
    outline: medium none;
    padding: 10px 30px;
	border-radius: 3px;
	-webkit-box-shadow: 0 1px 1px rgba(51,51,51,.5);
	-moz-box-shadow: 0 1px 1px rgba(51,51,51,.5);
	box-shadow: 0 1px 1px rgba(51,51,51,.5);
}
.submit input[type="reset"] {
    background: #f04664 none repeat scroll 0 0;
    border: medium none;
    border-radius: 3px;
    box-shadow: 0 1px 1px rgba(51, 51, 51, 0.5);
    color: #fff;
    cursor: pointer;
    font-family: "Exo 2",sans-serif;
    font-size: 1em;
    margin-bottom: 20px;
    outline: medium none;
    padding: 10px 30px;
}
/*------------------------------------------ contacts end ----------------------------------------------*/


/*-------------------------------------------- tab ------------------------------------------------*/

.nav-tabs > li.active > a {
    display: block;
    padding: 10px 15px !important;
    position: relative;
}

tab-content{
	background-color: #fff;
    clear: left;
    padding: 0;
}
  .styled-select{
	float: right;
    padding-left: 50px;
    position: relative;
    width: 8%;
  }
  .styled-select2 {
   background-color: #ffffff;
   padding: 5px;
   font-size: 13px;
   border: medium none;
   color: #666666;
   height: 34px;
	}


/*-------------------------------------------- tab end ------------------------------------------------*/

#inquiry{
	width:100%;
}

#news{
    /*border-bottom: 1px solid #cccccc;*/
    font-size: 15px;
    list-style: outside none none;
    margin-bottom: 10px;
    margin-top: 10px;
    padding: 8px 15px 8px 5px;
}

#txt_gray{
	color:#999999;
	font-size:15px;
}

@media(min-width:768px){
	.navbar-form .form-group{
		display: inline-flex;
	}
}

@media(max-width:767px){
	.navbar-form .form-group{
		display: inline-flex;
	}
}

@media screen and (max-width:480px){
	ul.footer_list{
		text-align:center !important;
	}
	
	#txt_gray{
		text-align:center !important;
	}
	.pagination {
		margin: 20px 0 20px 10%;
	}
	.navbar-form .form-group {
		display: inline-table;
		float: left;
		margin-bottom: 5px;
	}
	.input-group-btn:last-child > .btn {
		float: left;
		margin-left: -8px;
		margin-top: -34px;
	}
	.navbar-form {
		height: 50px;
		margin: 8px -15px;
		padding: 5px;
	}
	.styled-select{
		float: left;
		left: 0;
		padding:10px;
		position: absolute;
		width: 100%;
	}
   .styled-select2 {
	   background-color: #ffffff;
	   padding: 5px;
	   font-size: 13px;
	   border: medium none;
	   color: #666666;
	   height: 34px;
	}
	.input-group-btn:last-child > .btn {
		margin-left: -7px !important;
		margin-top: -35px !important;
	}
  .thumbnail a.pro_img:hover::before {
    background-image:url(../../tw_images/product/idx_hotpd_img_hover.png);
    background-repeat:no-repeat;
	background-position:0 -50px !important;
	background-size:cover;
   }
   .Section1 img{
		width:100%;
	}
	
}
@media screen and (max-width:768px){
	.form-control {
		  width: 95%;
	}
	.nav > li > a {
		display: block;
		padding: 0 10px 15px 10px;
		position: relative;
	}
	ul.footer_list{
		text-align:center !important;
	}
	
	#txt_gray{
		text-align:center !important;
	}
	.styled-select{
		float: left;
		margin-left: -10px;
		position: relative;
		width: 10%;
	}
   .styled-select2 {
	   background-color: #ffffff;
	   padding: 5px;
	   font-size: 13px;
	   border: medium none;
	   color: #666666;
	   height: 34px;
	}
	.input-group-btn:last-child > .btn {
		margin-left: -7px !important;
		margin-top: -35px !important;
	}
	.thumbnail a.pro_img:hover::before {
      display:none !important;
   }
	.Section1 img{
		width:100%;
	}
}

@media screen and (min-width: 768px) and (max-width: 992px) {
    /* 如果使用者之視窗寬度介於 768px ~ 992px，將會再載入這裡的 CSS。*/    
	ul.footer_list{
		text-align:center !important;
	}
	
	#txt_gray{
		text-align:center !important;
	}
	.input-group-btn:last-child > .btn {
		margin-left: -7px !important;
		margin-top: -35px !important;
	}
	.thumbnail a.pro_img:hover::before {
      display:none !important;
   }
}
  .thumbnail {
    position: relative;
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
    cursor: pointer;
  }
  
  .thumbnail a.pro_img::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: none;
    /*-moz-transition: all .3s linear;
    -webkit-transition: all .3s linear;
    -ms-transition: all .3s linear;
    -o-transition: all .3s linear;
    transition: all .3s linear;*/
  }
  
  .thumbnail a.pro_img:hover::before {
    background-image:url(../../tw_images/product/idx_hotpd_img_hover.png);
    background-repeat:no-repeat;
	background-position:0 -50px;
	background-size:cover;
  }
  

