﻿ /* ==========================================
   NORITAKE WEBSITE - CLEAN MASTER STYLESHEET
   ========================================== */
html, body { margin:0; padding:0; width:100%; height:auto; overflow:visible; }
body { font-family:Arial,Helvetica,sans-serif; background:#fff; color:#333; }

/* FIXED-ON-SCROLL BANNER AND MENU WRAPPER
   Requires <div id="fixed_header"> around masthead and main_menu in DWT. */
#fixed_header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 2000;
    width: 100%;
    background-color: #FFFFFF;
}

/* RESPONSIVE BANNER */
#masthead {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    position: relative;
    top: auto;
    z-index: auto;
}
#masthead img { display:block; width:100%; max-width:100%; height:auto; margin:0; padding:0; border:0; }

/* NAVIGATION - POSITIONED DIRECTLY BELOW BANNER INSIDE WRAPPER */
#main_menu { width:100%; background-color:#641B2B; border-top:2px solid #B89A5A; border-bottom:2px solid #B89A5A; font-family:Arial,Helvetica,sans-serif; position:relative; top:auto; z-index:auto; text-align:center; box-sizing:border-box; }
#main_menu ul { list-style:none; margin:0; padding:0; }
#main_menu > ul > li { display:inline-block; position:relative; vertical-align:top; }
#main_menu a { display:block; padding:16px 22px; color:#fff; text-decoration:none; font-size:14px; font-weight:bold; letter-spacing:.4px; }
#main_menu a:hover, #main_menu a:focus { background-color:#B89A5A; color:#3E1720; }
#main_menu li ul { display:none; position:absolute; top:100%; left:0; min-width:210px; background-color:#fff; text-align:left; border:1px solid #B89A5A; box-shadow:0 5px 12px rgba(0,0,0,.18); z-index:1100; }
#main_menu li:hover > ul, #main_menu li:focus-within > ul { display:block; }
#main_menu li ul li { display:block; }
#main_menu li ul a { padding:12px 16px; color:#641B2B; font-size:13px; font-weight:normal; letter-spacing:0; border-bottom:1px solid #EEE7DC; }
#main_menu li ul a:hover, #main_menu li ul a:focus { background-color:#F3EBDD; color:#641B2B; }

/* MAIN CONTENT - NATURAL HEIGHT, NO FORCED BLANK SPACE */
#container {
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	box-sizing: border-box;
	background-color: #FFFFFF;
	background-image: none;
}
#sidebar_background {
	position: relative;
	top: 0;
	bottom: 0;
	left: 0;
	width: 280px;
	height: auto;
	background-image: url("photo_gallery/Noritake/P1Image%20.gif");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
	z-index: 0;
}
#left_col { position: relative; z-index: 1; float: left; width: 280px; margin: 0; padding: 30px 15px; box-sizing: border-box; text-align: center; background-image: none; background-color: transparent; }
#page_content { position: relative; z-index: 1; display: block; float: none; clear: none; width: auto; margin: 0 0 0 280px; padding: 20px; box-sizing: border-box; background-color: #FFFFFF; text-align: left; }
#page_content p { max-width: 100%; }
#page_content img { max-width: 100%; height: auto; 
}
/* MAIN CONTENT */
#page_content {
    position: relative;
    z-index: 1;
    margin-left: 280px;
    padding: 30px;
    box-sizing: border-box;
    background: #FFFFFF;
    text-align: left;
}
#page_content p {
	max-width: 100%;
	text-align: center;
}
#page_content img { max-width:100%; height:auto; }

/* FOOTER */
#footer { position:relative; clear:both; width:100%; background:#641B2B; color:#fff; text-align:center; padding:15px 0; box-sizing:border-box; }

/* SCROLLING MESSAGE */
.noritake-marquee { width:100%; overflow:hidden; white-space:nowrap; height:32px; line-height:32px; color:#000080; font-size:18pt; position:relative; }
.noritake-marquee span { display:inline-block; padding-left:100%; animation:noritake-scroll 22s linear infinite; }
@keyframes noritake-scroll { 0% { transform:translateX(0); } 100% { transform:translateX(-100%); } }

/* IMAGE GALLERY */
#nor-coll-grid { width:100%; max-width:1500px; margin:0 auto; text-align:center; font-size:0; }
#nor-coll-grid .nor-item { display:inline-block; vertical-align:top; width:18%; margin:1%; padding:8px; box-sizing:border-box; background:#fff; border:1px solid #E6DFD2; text-align:center; }
#nor-coll-grid img { display:inline-block; width:auto; max-width:100%; height:auto; margin:0 auto; }

/* RESPONSIVE */
@media screen and (max-width:1100px) { #nor-coll-grid .nor-item { width:30%; margin:1.5%; } }
@media screen and (max-width:768px) { #main_menu > ul > li > a { padding:12px 10px; font-size:13px; } #page_content { padding:15px; } }
@media screen and (max-width:600px) {
    #left_col { position:relative; top:auto; float:none; width:100%; height:auto; min-height:0; background-size:cover; }
    #page_content { margin-left:0; width:100%; padding:12px; }
    #nor-coll-grid .nor-item { width:46%; margin:2%; padding:5px; }
}
@media screen and (max-width:480px) { #main_menu > ul > li > a { padding:10px 7px; font-size:12px; } .noritake-marquee { font-size:14pt; } }
