/* CSS Reset 
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	font-size: 100%;
	vertical-align: baseline;
}*/
@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
@font-face {
  font-family: 'Iansui094-Regular';
  src:  url('/fonts/Iansui094-Regular.woff') format("woff"),
        url('/fonts/Iansui094-Regular.ttf') format("truetype");
  font-family: 'ThePeakFontBeta_V0_101';
  src:  url('/fonts/ThePeakFontBeta_V0_101.woff') format("woff"),
        url('/fonts/ThePeakFontBeta_V0_101.ttf') format("truetype");
  font-family: 'yokoyama';
  src:  url('/fonts/yokoyama.woff') format("woff"),
        url('/fonts/yokoyama.ttf.ttf') format("truetype");
}
html {
  line-height: 1;
  margin: 0;
  padding: 0;
}
body
{
    /*font-family: 'Iansui094-Regular', sans-serif;*/
    font-family: 'yokoyama','ThePeakFontBeta_V0_101', sans-serif;
	background-image: url(/Images/bg-vags.png);
	background-color:rgba(205,205,255,0.5);
	background-position: right bottom;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: 80%;
}
footer {
  clear: both;
  padding: 1em;
  text-align: center;
}
ol, ul {
	list-style: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 1.5em;
	background-color:rgba(205,205,255,0.3);
}
caption, th, td {
	text-align: left;
	font-weight: normal;
	vertical-align: middle;
	font-size: 1.5em;
}
q, blockquote {
	quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
	content: "";
	content: none;
}
p {
	text-indent: 10px;
}

a, a:active, a:hover, a:link, a:visited {
  text-decoration: none;
  outline: none;
  color: blue;
  background-color:
}
a:hover{
  color: orange!important;
}
h2, .title-color{
  color: #2a08eb;
}
a img {
	border: none;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
	display: block;
}
*,*:before,*:after{
	box-sizing: border-box;
}
img{
	max-width: 100%;
	height: auto ;
}
/* CSS Reset end */

.wrap {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.header {
  position: relative;
  height: 350px;
}
#Main
{
	z-index:10;
}
#Contact
{
	background-color: rgba(200,200,230,0.5);
}
#Brand
{
	margin:3vh;
}
#CompanyTitle
{
	display: block;
	margin: 5px;
	color: #2a08eb;
	text-align: left;
	font-size: 2em;
}
#DocTitle
{
	display:block;
	margin:5px;
	color: #2a08eb;
	text-align:center;
	font-size: 2em;
	background-color: rgba(143,143,230,0.3);
}
.ContactInfo
{
  display: block;
  width: 100%;
  background-color: rgba(143,143,230,0.7);
  /*height:25vh;*/
  color: #FFF;
  padding:10px;
}
#AddressBlock
{
  display: block;
  float: left;
  width: 80vw;
  height: 100%;
  padding: 20px;
  text-align: center;
  line-height: 1.5rem;
}
#Queryfield
{
	background-color: rgba(143,143,230,0.7);
	padding:20px;
	font-size:1.2em;
}
#frmQuery
{
	text-align: right;
	line-height:2em;
}
#DSP
{
	font-size: 0.5em;
	text-align: center;
}
#records
{
	font-size:2em;
	background-color: rgba(168,208,168,0.5);
}
#navb
{
	background-color:rgba(244,237,110,0);
	font-size:1.5em;
	background-image: url('/Images/noren5_blue.png');
	background-repeat: repeat-x;
	background-size: contain;
}

#navbarNav
{
	font-size:1.5em;
}

#navTitle
{
	font-family: 'yokoyama';
	font-size:2.5em;
	color: Gold!important;
	vertical-align:middle;
	align-slef: center;
}

#toNews
{
	color: rgba(200,230,255,0.8);
}
#toNews a:hover
{
	color: rgba(200,180,180,0.8);
}

#toMenu
{
	color: rgba(200,230,255,0.8);
	
}

#toPosition
{
	color: rgba(200,230,255,0.8);
	
}
@media(max-width: 768px) {
  .header {
    height: auto;
  }
}

.logo {
  position: absolute;
  top: 30px;
  left: 0px;
}

.logo a {
  display: block;
  width: 250px;
  text-indent: -9999px;
  height: 250px;
  background: url('/Images/logo.png')
}

@media(max-width: 768px) {
  .logo {
    position: relative;
    margin: 0 auto;
    width: 150px;
    padding-bottom: 20px;
  }
  
  .logo a {
    display: block;
    width: 150px;
    height: 150px;
    background: url('/Images/logo.png')
  }
}

.menu {
   position: relative;
   top: 30px;
   float: right;
}

.menu li {
  float: left;
  background: #3399FF;
  border-right: 1px solid #fff;
}

.menu li a {
  color: #fff;
  display: block;
  width: 100px;
  font-weight: bold;
  text-align: center;
  height: 30px;
  line-height: 30px;
  text-decoration: none;
}

.navbar-item:hover {
  background: yellow;
  color: black;
}

#navTitle
{
	font-size:2.5em;
	color: Gold!important;
}

@media(max-width: 768px) {
  .menu {
    float: none;
  }
  
  .menu li {
    width: 90%;
    float: none;
    margin: 0 auto 10px auto;
    border-radius: 3px;
  }
  
  .menu li a {
    width: 100%;
    text-align: center;
  }

}

.content {
  float: left;
  width: 75%;
  border: 2px solid #000;
  padding: 10px;
}

.content h2{
	font-weight: bold;
	font-size: 26px;
	padding: 30px 0 20px 0;
}

.content p{
	line-height: 1.8;
	letter-spacing: 1pt;
	padding: 0 0 30px 0;
}

.sidebar {
  float: right;
  width: 20%;
  border: 2px solid #000;
  padding: 5px;
  margin-left: 5%;
}

.sidebar img {
  margin: 0 0 10px 0;
}

#navTitle
{
	font-size:2.5em;
	color: Gold!important;
}

@media(max-width: 768px) {
  .content, .sidebar {
    border: none;
    float: none;
    width: 100%;
  }

.sidebar img {
    display: block;
    max-width: 90%;
    height: auto;
    margin-bottom: 10px;
  }
}

#navTitle
{
	font-size:2.5em;
	color: Gold!important;
}

@media screen and (max-width: 768px) {
  .navbar-brand img{
    width: 30px;
  }
  #AddressBlock
  {
    display: block;
    float: left;
    width: 80vw;
    height: 100%;
    padding: 20px;
    text-align: center;
    line-height: 1rem;
  }
  #ContactInfo
  {
  }
}  
.navFixed 
{
    z-index: 60;          
    position: fixed;      
    top: 0;
    left: 0;
    margin-top: 0;
    margin-bottom: 100px;
    min-width: 100%;
    opacity: 0.94;
    transition: opacity .5s ease-out;
    background-color: white;
    color: rgba(163,163,163,0.7);
}
.product-categories > a
{
  transform: scale(1);
  transition: transform .4s ease-out;
}
.product-categories > a:hover
{
  transform: scale(1.02);
  box-shadow: 4px 4px 10px #999;
}
.carousel-bsize
{
  width: 100vw;
  height: auto;
}
.product-card-img
{
  height: 50%;
}

.ytframe
{
  width: 50vw;
}

#navTitle
{
	font-size:2.5em;
	color: Gold!important;
}
