@charset "utf-8";
/* CSS Document */
/*.navbar {min-height: 80px;}
.navbar-brand {padding: 0 15px; height: 80px; line-height: 80px;}
.nav-title {valign: middle;}*/

body {
	padding-top: 50px;
	font-family: Trebuchet, Tahoma, Palatino, Veranda, Helvetica;
	margin: auto;
}



.strong1 {color: #337ab7;
	font-weight:bold;}
.strong2 {color: #2e6da4;
	font-weight:bold;}
.strong3 {color: #004b8d;
	font-weight:bold;}


p {	margin-bottom: 30px;}

img {
	max-width: 100%;}
.img-rounded-25 {
	border-radius: 25px;}
.img-catalogue {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);}
.img-sm {
	max-width: 300px;}
.img_size_50 {
	width: 50px;
	height: 50px;
	}
.img_size_100 {
	width: 100px;
	height: 100px;
	}
.img_size_150 {
	width: 150px;
	height: 150px;
	}	
.img_size_200 {
	width: 200px;
	height: 200px;
	}	
.img-border {
	border: 2px solid #eeeeee;}	
.img_min_250 { min-width: 250px;}
.img_min_300 { min-width: 300px;}

.img_max_50 { max-width: 50px;}
.img_max_60 { max-width: 60px;}
.img_max_100 { max-width: 100px;}
.img_max_150 { max-width: 150px;}
.img_max_200 { max-width: 200px;}

.float_left {
	float:left;}
.clearfix {
    overflow: auto;
}	



/* FIGURES for ALL */
figure {
	float: left;} 
figcaption {
	font-color: #333;}


/* FIGURES and features, used in OMNI-MANDREL and PRODUCT-CAROUSEL */
.fig_omni {
	float: left;
	width: 100px;
	padding: 5px;}

.figcap_omni {
	font-size: 10px;}


.div_carousel {
	}
.div_carousel_img {
	width: 200px;
	height: 200px;
}
.div_carousel_caption {
	width: auto;
	text-align: left;
}


.float_left {float:left;}
.float_right {float:right;}





/* FOR IMAGE WIDTHS */
.img_max80_min360 {	/* for AU100.html first image */
	max-width: 1280px;
	min-width: 360px;
	}

.div_min300 {
	min-width: 300px;}

.div_border {
	border: 5px solid #337ab7;}	

	
.div_space {
	height: 3em;
	border: 1px solid transparent;}
.div_line_gradient {
	height: 1px;
	background: linear-gradient(to right, #fff, #eee, #fff);
	}
.div_line_gradient_dark {
	height: 1px;
	background: linear-gradient(to right, #eee, #ccc, #eee);
	}	
.div_line_gradient_3em {
	height: 1px;
	background: linear-gradient(to right, #fff, #eee, #fff);
	margin-top: 3em;
	margin-bottom: 3em;
	}
.div_line_gradient_thick {
	height: 3px;
	background: linear-gradient(to right, #fff, #eee, #fff);
	}

/* BUTTONS */
.btn {
	border-radius: 24px;
	padding: 1em;
	font-weight:bold;}

	
/* NAVBAR */
.nav {
	font-size: 90%;	
}
.logo-ncg {
	font-weight: "700";
	color: #ffffff;
	}
nav.navbar {
	border-bottom: 6px solid #004B8D;}
div.navbar-header {
	padding-left: 0.8em;
	background-color: #004B8D;}

.gly-2x{font-size: 2em;}
.gly-3x{font-size: 3em;} /* not used */
.gly-4x{font-size: 4em;} /* not used */
.gly-5x{font-size: 5em;} /* not used */
.gly_50px{font-size: 50px;}
.gly_60px{font-size: 60px;}
.gly_80px{font-size: 80px;}
.gly_100px{font-size: 100px;}
.gly-200px{font-size: 200px; color:#004b8d;}

.font_small {font-size: small;}
.font_xxsmall {font-size: xx-small;}

.p-2x {line-height: 2em;}
.p-3x {line-height: 3em;}
.p-4x {line-height: 4em;}

.animate {
	transition-duration: 0.4s;
	}
.shadow {
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
	}

.container {
	max-width: 100%;
	margin: auto;}
.row {
	max-width: 100%;
	margin: auto;}
	
	
.bottom-three {
     margin-bottom: 2.5em;
  }
.uppercase {
    text-transform: uppercase;
}
.bold-font1 {
	font-family: Oswald, "PT Sans Caption", "Francois One", sans serif;	
}
.bold-font2 {
	font-family: "PT Sans Caption", "Francois One", sans serif;	
}
.p-expect {
	font-size: large;
	font-family: "Kalam", cursive;
}
.box_logo {
	background: white;
	background: linear-gradient(to right, #ddd, #fff, #fff, #fff, #ddd); 
	display: flex;
	flex-flow: column nowrap;
	height: 90vh;
	justify-content: center;
	align-items: center;
	}
.img_logo {
	width: 80%;
	max-width: 680px;}
.flex-footer {
	background-color:#111111;
	background: linear-gradient(to bottom, rgba(17,17,17,0.90), rgba(0,0,0,1.00));
	color: #ffffff;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, sans-serif;
	width: 100%;
	height: 3.2em;
	font-size: 0.6em;
	padding: 1em;
}
.flex-wrap {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
	align-items: baseline;
}
.flex-wrap-catalogue {
	display: flex;
	flex-flow: row wrap;}
@media (max-width: 768px) {
	/* for CATALOGUE.html, when page is MOBILE form, make SIDEBAR in one row */
	.flex-wrap-catalogue {
	flex-flow: col wrap;
	background-color: black;}
	}

@media (min-width: 480px) {
	/* for PRODUCT1.html & PRODUCT2.html, use FLEX for all, except MOBILE which uses BOOTSTRAP row/col */
.flex-page-pro {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
}


.flex_parent_fastener_type {		/* for Product_AU100 and Product_HF300 pages */
	display: flex;
	flex-direction: row; 			/* flex in rows */
	flex-wrap: wrap; 				/* 自動換行 */
	justify-content: space-around; 	/* align horizontally */
	align-items: center; 			/* align vertically */ 
	}
.flex_parent_products {		/* for Products/Features Page */
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
/*	justify-content: flex-start; 	/* align horizontally */
	}
.flex_child_products {
	flex: auto;
	width: 150px;}
.flex_products_img {
	height: auto;}

/* HEADER used for FEATURE.html's Flex Box */
header { 
  padding: 1vw;
  display: flex;
  flex-flow: row wrap; 
  max-width: 90vw;
  margin: auto;
  align-items: center;
  justify-content: center;
  border: 2px solid #888888;
  background-color: #eeeeee;
}
header div { 
  flex: auto; 
  width: 150px; 
  margin: .5vw; 
}
header div img { 
  width: 100%; 
  height: auto; 
  max-width: 900px;
}
header div p {
	font-size: 36px;
	font-color: #ffffff;
	text-align: center;}
.flex_div_title {
	border-color:#eeeeee;
	}
@media (max-width: 400px) { 
  header div { margin: 0; }
  header { padding: 0;  }
}

#Topics div {
	border: 2px solid #eeeeee;}
#Topics img {
	width: 100%;}

#Variety {
	width: 90vw;
}
#Variety img {
	height: 100px;}
#Variety h4 {
	text-transform:uppercase;}






.div_center {
	text-align: center;
	}
.text_align_left {
	text-align: left;}
.img_center {
	display: block;
	margin-left: auto;
	margin-right: auto;}

.flex-box {
	align-self: center;
	padding: 5em;
}
.flex-0 {flex: 1 1 400px;
	background-color:#ffcccc;} 
	
/* SIZE OF BOX DEPENDS ON SCREEN WIDTH, NOT CONTENT */
.flex-20 {flex: 1 1 20%;}
.flex-25 {flex: 1 1 25%;}
.flex-30 {flex: 1 1 30%;} /* used in product2.html */
.flex-50 {flex: 1 1 50%;}
.flex-60 {flex: 1 1 60%;}
.flex-70 {flex: 1 1 70%;}
.flex-80 {flex: 1 1 80%;}
.flex-auto {flex: 1 1 auto;} /* grow=1 shrink=1 initial-size=auto */


.div_product {
	width: 200px;
	height: 200px;}

div.contact {
	text-align: center;
	padding: 3em;
	margin: auto;
}
div.contact>div.row {
	padding-top: 3em;
	padding-bottom: 3em;}
	
.div_catalogue {
	width: 70%;
	max-width: 900px;}

.pad_1em {padding: 1em;}
.pad_3em {padding: 3em;}
.pad_5em {padding: 5em;}
.pad_8em {padding: 8em;}

	
	
/* FOR CATALOGUE.html */
.polaroid {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.polaroid_round {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	border-radius: 100px;	
	}
.catalogue-card { /* for catalogue.html catalogue polaroid box */ 
	max-width: 25em;
	padding: 20px;
	margin: 20px;
	}	


/* CAROUSEL */
.carousel-img {	/* for index.html */
	max-width: 80vw;
	max-height: 80vh;
	min-width: 320px;
	padding: 1em;
	margin: auto;
	}

.carousel-control.right, .carousel-control.left {
	color: #004B8D;
}
.carousel-indicators li {
	border-color: #004B8D;
}
.carousel-indicators li.active {
	background-color: #004B8D;}


/* SIDEBAR STYLES - FOR CATALAGUE.HTML */

.sidebar-nav {
/*    position: absolute;
    top: 0;  */
    margin: 0;
    padding: 0;
    list-style: none;
	background-color: #337ab7;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, sans-serif;	
	border-bottom-color: 1px solid #2e6da4;
}

.grad_white_black_rad {
    background-color: white; /* For browsers that do not support gradients */
    background-image: radial-gradient(#ffffff, #ececec, #333333);} /* Standard syntax (must be last) */
.grad_blue {
    background-color: #337ab7; /* For browsers that do not support gradients */
    background-image: linear-gradient(to bottom right, lightskyblue, midnightblue);} /* Standard syntax (must be last) */


.background_white {
	background-color: #ffffff;}
.background_gray {
	background-color: #eeeeee;}
.background_blue1 {
	background-color:#337ab7;}
.background_blue2 {
	background-color:#2e6da4;}
.background_blue3 {
	background-color:#004b8d;}
	
.font_clr_white {font-color: #ffffff;}
.font_clr_black {font-color: #000000;}
.font_clr_blue1 { /* light blue */
	font-color: #337ab7;}
.font_clr_blue2 { /* med blue */
	font-color: #2e6da4;}	
.font_clr_blue3 { /* dark blue */
	font-color: #004b8d;}	


@media (max-width: 768px) {
	/* for CATALOGUE.html, when page is MOBILE form, make SIDEBAR in one row */
	.sidebar-nav li {
		display: inline-block;
		float: left;
		background-color: green;
		text-indent: 0;}
	.sidebar-nav li a {
    	display: block;
		font-size: 12px;
		width: auto;
		background-color: red;}

}

.sidebar-nav li {
    line-height: 40px;
	text-indent: 20px;
	border-bottom-color: 1px solid #2e6da4;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #ffffff;
	width: 250px;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}


	
.slideanim {visibility:hidden;}
.slide {
      animation-name: slide;
      -webkit-animation-name: slide;
      animation-duration: 1s;
      -webkit-animation-duration: 1s;
      visibility: visible;
}
  @keyframes slide {
    0% {
      opacity: 0;
      transform: translateY(70%);
    } 
    100% {
      opacity: 1;
      transform: translateY(0%);
    }
  }
  @-webkit-keyframes slide {
    0% {
      opacity: 0;
      -webkit-transform: translateY(70%);
    } 
    100% {
      opacity: 1;
      -webkit-transform: translateY(0%);
    }
  }
