/* Styles for Button Box main product pages - product table layouts
	Tweaked for different window sizes and split out to -large and -small files.

	1/30/15: In a large viewport (eg, desktop computer) the
	individual DIV tags which contain product listing info
	are displayed like cells in a table--that's the
	display:table-cell; line. */
	
	
#ShoppingCartIcn {
	margin-left:25px;
	}
#ButtonBoxHeader {
	width:100%;
	height:144px;
	border:0px;
	padding:0px;
	border-spacing:0px;
	border-collapse:collapse;
	background-color:#f5eed2;
	background-image:url(images/HeaderBg2.jpg);
	background-repeat:repeat-x;
	}

#ButtonBoxLogo {
	display:block;
	margin:0 auto;
	padding-top: 10px;
	width:312px;
	height:auto;
 }

#HeaderIcons {
	display:block;
	position:absolute;
	right:30px;
	top:85px;
	}

#HeaderIcons img {
	margin-left:25px;
	display:inline;
	}

/* footer styles */
	
div#footer {
   position:fixed;
   vertical-align:middle;
   text-align:center;
   left:0px;
   bottom:0px;
   height:25px;
   width:100%;
   background:#26370f;
   color: #FFF;
   font-size:13px;
   padding:3px;
   z-index:1002;
}

div#footer a {
	color:white;}

/* Page top content and left side menu */

#PageTopContainer {
	width:100%;
	display:table;
	border:0px;
	border-spacing:0px;
	border-collapse:separate;
	/* padding: 0px 9px 9px 9px; */
	}
	
/* left hand menu - toggleable */
#LeftHandMenu {
	width:215px;
	position:absolute;
	z-index: 10;
	left:-185px;
	top:180px;
	display:block; /* was table-cell */
	background-color:#e0dbc5;
	border-radius: 0px 7px 55px 0px;
	-moz-border-radius: 0px 7px 55px 0px;
	vertical-align:top;
		/* transition for sliding */
	 -webkit-transition:.5s ease all;
    -moz-transition:.5s ease all;
    -o-transition:.5s ease all;
    transition:.5s ease all;
    box-shadow: 10px 0px 30px -20px #FFFFFF;
	}

#LeftHandMenu.display-nav { /* sliding menu: was #container.display-nav #nav in original example */
   -webkit-transform:translateX(185px);
   -moz-transform:translateX(185px);
    -ms-transform:translateX(185px);
     -o-transform:translateX(185px);
        transform:translateX(185px);
}

#LeftHandMenu #button { /* button to open and close side menu */
	position:relative;
	display:block;
	text-align:center;
	font-size:10px;
	text-transform:uppercase;
	letter-spacing:.1em;
	/* height:25px; */
	width:265px;
	padding:6px;
	background-color:#faf8f2;
	margin-bottom:-15px;
	top:-10px;
	left:-76px;
	transform:rotate(90deg);
	transform-origin: right center 0;
		-webkit-transform:rotate(90deg);
		-webkit-transform-origin: right center 0;
		-moz-transform:rotate(90deg);
		-moz-transform-origin: right center 0;
		-ms-transform:rotate(90deg);
		-ms-transform-origin: right center 0;
		-o-transform:rotate(90deg);
		-o-transform-origin: right center 0;
	border-radius: 2px 12px 2px 2px;
	}
	
#LeftHandMenu #button:hover {
	background-color:#fff;
	}

#nav-services {
	display:none;
	}
	
#PageTopMainPanel {
	width:100%; /*new*/
	text-align:center;
	margin-top:5%;
	}
	
#PageTopMainPanel.Accessories {
	padding-left:35px;
	}

.Accessories p {
	text-align:left;
	padding:20px;
	width:65%;
	max-width:500px;
	margin:0 auto;
	}

.Accessories ul {
	list-style-type:none;
	display:block;
	text-align:center;
	margin:0 auto;
	width:60%;
	min-width:400px;
	}

.Accessories li {
	display:inline-block;
	padding:10px;
	}

.Accessories li a {
	font-family: "Libre Baskerville", Georgia, Garamond, Times, serif;
	font-size:14pt;
	color:#000;
	}

h1 {		/* headline at top of page */
	font-weight: bold;
	padding-top:12px;
	padding-bottom: 5px;
	color: #424242;
   font-family: "Libre Baskerville", Georgia, Garamond, Times, serif;
	letter-spacing:0.03em;
	line-height: 145%;
	font-variant: small-caps;
	font-size:230%;
}

h2  {			/* used in product pages (not new concertinas) for subheadings */
	color: #000000;
	font-weight: bolder;
	font-size: 16pt;
	font-family: "Libre Baskerville", Georgia, Garamond, Times, serif;
	letter-spacing:0.1em;
	text-align:center;
	margin-top: 35px;
	margin-bottom: 20px;
	line-height: 145%;
	font-variant: small-caps;
	display:block;
	width:100%;
	padding:15px;
	background-color:#f0ecda;
	z-index:100;
	}

.ProductNavTable {
	background-color: #f0ecda;
	padding:15px;
	width:100%;
	}
	
.ProductNavRow {
	display:inline-table;
	}

.ProductNavRow li {
	list-style-type:none;
	text-align:left;
	padding:6px;
}
	
.ProductNavIcon { /* Table for instrument category icons at top of page */
	display:table-cell;
	padding:15px;
	min-width:160px;
	text-align:center;
	vertical-align: bottom;
	}

.ProductNavTableText {
	display:block;
	position:relative;
	font-weight:normal;
	font-size:20px;
	font-family:sans-serif;
	text-transform:uppercase;
	letter-spacing:2px;
	color:rgba(0,0,0,0.15);
	}

.ProductNavGrid {
	display:grid;
	grid-gap:15px;
	grid-template-columns: 190px 190px 190px;
	grid-template-rows: auto auto;
	justify-content: center;
	list-style-type:none;
	margin-bottom:100px;
}

.ProductNavGrid li {
	background-color: #f0ecda;
	border-radius: 12px;
	padding:12px;
}

.ProductNavGrid li a {
	text-decoration:none;
}

.ProductNavGrid li a:hover {
	text-decoration:underline;
}

	
.SeeAlso {
	display:block;
	margin:45px auto 10px auto;
	}

.SeeAlsoLinks {
	display:table;
	margin: 5px auto;
	}

.SeeAlsoLinks p {
	display:list-item;
	list-style-type:none;
	font-size:80%;
	text-align:left;
	padding:2px 10px;
	}

.SeeAlso a {
	font-size:125%;
	text-decoration:underline;
	font-weight:normal;
}

.SeeAlso a:hover {
	text-decoration:underline;
}

.NestedNav {		/* used on instrument pages in nested (nav > nav > nav) navigation */
display:block;
width:100%;
padding:8px;
margin: 40px 0 0 0;
font-size:75%;
line-height:140%;
}

.NestedNav a {
text-decoration:none;
color:#333;
}


/* Product inventory */
	
.ProductTable { /* Table for instrument inventory */
	margin:0 auto 65px auto;
	width: 95%;
	max-width: 740px;
	}

.ProductTable td {		/* creates the lines between product entries */
	border-bottom: 1px solid #AAA;
	padding: 0;
	}

.ProductTable tr:first-of-type td {
	border-top: 2px solid #999;
	}

.ProductTable tr:last-of-type td {
	border-bottom: 2px solid #999;
	}

.ProductTableImage {
	display:table-cell;
	padding: 8px 0px 2px 0px;
	vertical-align:top;
	z-index:25;
}

.ProductTableImage img {
	max-width:250px;
	height:auto;
	}

	.ButtonPianoCBATables img { /* Makes sure that New Instrument Page images don't show too large */
		max-width:180px;
		height:auto;
	}

.zoom {
	position:relative;
	top:-12px;
	right:6px;
	z-index:50;
	}


.ProductTableText {
	display:table-cell;
	background-color:#faf8f2;
	padding: 8px 15px 15px 10px;
	vertical-align:top;
	margin: 0px 10px 15px 10px;
}

.ProductTableText p {
	margin-top: 2px;
	}

.ProductTableText ul {
	list-style-type:none;
	font-size:12pt;
	margin:5px 0 15px 20px;
}

.ProductTableText li {
	padding:3px;
}

.ProductTableText table {padding:5px;}

.ProductTableText tr:first-of-type {}

.ProductTableText tr td:first-of-type {font-size:80%;text-align:right;}
.ProductTableText tr td:first-of-type span {display:block;font-style:italic;}

.ProductTableText tr td {border:0;text-align:center;vertical-align:middle;padding:2px 5px;}


	/* subItem styles */

	.subItem { /* multiple items in middle column */
		display:block;
		border-top: 1px solid rgba(0,0,0,0.25);
		padding:5px;
		margin:15px 15px 15px 35px;
	}

		.ProductTableText h5 {
			margin:3px 0;
			font-size:13pt;
			font-weight:bold;
			font-family: "Libre Baskerville", Georgia, Garamond, Times, serif;
			letter-spacing:0.08em;
			text-align: left;
			line-height: 125%;
		}

		.subItem select {
			font-size:11pt;
			margin:4px 0;
		}

		.subItem .price {
		}

		.subItem .AddToCart {
			margin:2px 0;
		}

.ProductTablePrice {
	display:table-cell;
	padding: 8px 10px 10px 5px;
	text-align:center;
	vertical-align:top;
	width:150px;
	}

.ProductTablePrice select {margin-bottom:10px;}

.price {
	display:block;
	margin:0 auto;
	/* font-size: 13px; */
	font-weight: bold;
	padding-bottom:4px;
	}

.ProductTableSelector {
	text-align:left;
	font-size:11px;
	margin-bottom:6px;
	}

.AddToCart {
	display:block;
	margin:0 auto;
	}

/* New Concertinas - Place Deposit on Morse Concertina Forms */

.MorseDeposit {
		padding:4px;
		vertical-align:top;
		}


/* Instrument categories page */
.CategoryWrapper {
	display:table;
	margin:0px auto;
	}

.Category {
	display:table-cell;
	vertical-align:bottom;
	text-align:center;
	padding:15px 15px 35px 15px;
	margin-bottom:20px;
	}

.CategoryWrapper img {
	display:block;
	margin:0 auto;
	}

.Category p {
	margin:4px auto;
	font-weight:bold;
}

.vendors { /* DIVs for displaying vendor logos */
	display:block;
	margin:8px 0 25px 0;
}

.vendors img {
	margin:10px 25px;
	max-width:50%;height:auto;
	vertical-align:middle;
	display:inline;
}

.modal {
	display:none;
	width:75%;
	max-width:400px !important;
}

.fancybox-slide--iframe .fancybox-content {
    width  : 75%;
    height : 85%;
    max-width:750px;
    max-height:600px;
    margin: 0;
}

/* Exclusive links */
.MobileOnly {display:none;}
.DesktopOnly {}

.BackToTop {		/* class of back-to-top navigation layer */
	display:none;
	position:fixed;
	right: 10px;
	bottom: 30px;
	width: 70px;
	height: 70px;
	z-index: 100;
	overflow: hidden;
	}