@charset "UTF-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css?family=Goudy+Bookletter+1911|Lato:400,900');

body {
	background-color: #fff;
}

.inventoryBox{
	border: 2px solid black;
	margin: 5px 20px;
	width: 290px;
	height: 590px;
	padding: 20px;
	/*vertical-align: top;
	display: inline-block;*/
	/*width: 20% with no height causes them to cascade and display weirdly*/
}

header {
	background-color: #fff;
	width: 100%;
	padding: 12px 0;
}

#header-content {
	width: 80%; /* 960px = 80% */
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

#header-content img {
	height: 146px;
}

nav {
	width: 76.0416666667%; /* 730px / 960px */
	position: absolute;
	bottom: 18px;
	right: 0;
}

nav ul {
	display: block;
	text-align: right;
	list-style-type: none;
}

nav li {
	display: inline-block;
	font-family: 'Goudy Bookletter 1911', serif;
	font-size: 1.25em; /* 20px / 16px */
	color: #16325a;
	padding: 0 3.125%; /* 30px / 960px */
	text-align: left;
}

nav li:last-child {
	padding-right: 0;
}

nav a:link {
	text-decoration: none;
	color: #16325a;
	padding: 10px 2.0833333333%; /* 20px / 960px */
}

nav a:hover {
	background-color: #16325a;
	color: #fff;
	padding: 10px 2.0833333333%; /* 20px / 960px */
}

#banner {
	width: 100%;
	height: 441px;
	background-image: url("../images/home-banner.jpg");
	background-repeat: no-repeat;
	background-size: cover;
}

#color-bar {
	background-color: #a32973;
	padding: 12px 0;
	text-align: center;
}

#color-bar h3 {
	color: #fff;
	font-family: 'Goudy Bookletter 1911', serif;
	font-size: 1.875em; /* 30px / 16px */
	margin-bottom: 0;
}

#wrapper-white {
	width: 80%; /* 960px = 80% */
	background-color: #fff;
	margin-left: auto;
	margin-right: auto;
	padding: 60px 0;
	overflow: hidden;
}

section, aside {
	margin-bottom: 20px;
}
section {
	width: 60.4166666667%; /* 580px / 960px */
	float: left;
}

aside {
	width: 31.25%; /* 300px / 960px */
	height: 300px;
	float: right;
	position: relative;
	border: 3px solid #16325a;
	padding: 20px 1.4583333333% 14px; /* 14px / 960px */
	text-align: center;
}

section h1 {
	color: #a32973;
	text-transform: uppercase;
	font-family: 'Goudy Bookletter 1911', serif;
	font-size: 2.25em; /* 36px / 16px */
	margin-bottom: 16px;
}

aside h2 {
	color: #a32973;
	font-family: 'Goudy Bookletter 1911', serif;
	font-size: 1.75em; /* 28px / 16px */
	margin-bottom: 18px;
}

aside hr {
	width: 90%;
	margin: 20px auto;
	border-top: 1px solid #16325a;
}
p {
	font-size: 1em; /* 16px / 16 px */
	color: #000;
	font-family: 'Lato', sans-serif;
	margin-bottom: 16px;
	line-height: 180%;
}

aside p {
	font-size: 1em; /* 16px / 16 px */
	line-height: 150%;
	font-family: 'Lato', sans-serif;
	margin-top: 10px;
	margin-bottom: 0;
}

.uppercase {
	text-transform: uppercase;
}

#wrapper-shop {
	width: 100%;
	padding: 60px 0;
	background-color: #f4f3f0;
	overflow: hidden;
}

#shop-content {
	width: 80%; /* 960px = 80% */
	margin-left: auto;
	margin-right: auto;
}

#shop-content h1 {
	text-transform: uppercase;
	color: #a32973;
	font-family: 'Goudy Bookletter 1911', serif;
	text-align: center;
	font-size: 2em; /* 32px / 16px */
	margin: 0 0 28px;

}

.shop-box {
	width: 31.25%; /* 300px / 960px */
	text-align: center;
	display: inline-block;
}

.shop-box:first-of-type {
	margin-right: 2.7083333333333%; /* 26px / 960px */
}

.shop-box:last-of-type {
	margin-left: 2.7083333333333%; /* 26px / 960px */
}

.shop-box h3,
.team h3{
	color: #a32973;
	text-transform: uppercase;
	font-family: 'Goudy Bookletter 1911', serif;
	font-size: 1.75em; /* 28px / 16px */
	margin: 18px 0 12px;
}

.shop-box p,
.team p{
	font-size: 0.875em; /* 14px / 16px */
	margin-bottom: 24px;
}

.shop-box a {
	display: block;
	background-color: #a32973;
	padding: 10px 6.6666666667%; /* 20px / 300px */
	font-family: 'Lato', sans-serif;
	font-size: 0.875em; /* 14px / 16px */
	color: #fff;
	text-decoration: none;
	width: 53.3333333333%; /*160px / 300px */
	margin: 0 auto;
}

.team {
	width: 20.8333333333%; /* 200 / 960px */
	text-align: center;
	display: inline-block;
}

.team:first-of-type {
	margin-right: 2.6041666667%; /* 25px / 960px */
}

.team:nth-of-type(2),
.team:nth-of-type(3){
	margin-left: 2.5%; /* 24px / 960px */
	margin-right: 2.55; /* 24px / 960px */
}

.team:last-of-type {
	margin-left: 2.6041666667%; /* 25px / 960px */
}
 /* Tables */
table {
	background-color: white;
	border-collapse:separate;
	margin: 22px 0;
	width:375px;
}

table tr th, table tr td { /* styles for headers and regular data cells */
  	border-right: 2px solid #16325a;
  	border-bottom: 2px solid #16325a;
	color: black;
	text-align:center;
	font-size: 18px;
  	padding: 5px;
}

table tr th { /* styles for table headers */
  	background: #16325a;
  	border-top: 1px solid #16325a;
  	text-align: left;
	background-color:#16325a;
	font-weight: bold;
	color: white;
} /* end of tables section */

footer {
	padding: 40px 0 30px;
	width: 100%;
	font-size: 0.75em;  /* 12px / 16px */
	overflow: hidden;
	background-color: #16325a;

}

footer h3 {
	font-family: 'Goudy Bookletter 1911', serif;
	color: #fff;
	text-transform: uppercase;
	font-size: 1em; /* 16px / 16px */
	font-weight: bold;
}

footer p {
	font-family: 'Lato', sans-serif;
	color: #fff;
	opacity: .70;
}

#footer-content {
	width: 80%; /* 960 = 80% */
	margin: 0 auto;
}

#footer-left {
	width: 35%;
	float: left;
}

#footer-right {
	width: 45%;
	float: right;
	text-align: right;
}


/* --------- TRANSITION EFFECTS ----------- */


aside .book-details {
	opacity: 1;
}

aside .book-details:hover {
  	opacity: 0;
	transition: linear 1s;
}

.mask {
	width: 100%; /* 328px / (300px + 14px + 14px) */
	height: 334px;
  	position: absolute;
  	top: 0;
  	left: 0;
	text-align: center;
  	opacity: 0;
	transition: linear 2s;

}

.mask:hover {
  	opacity: 1;
  	transition: linear 1s;
	background-color: #a32973;
}

.mask h2, 
.mask p,
.mask .learn {
	opacity: 0;
}

.mask:hover h2 {
	color: #fff;
	font-size: 2em; /* 32px / 16px */
	margin-top: 25%;
	opacity: 1;
}

.mask:hover p {
	color: #fff;
	font-size: 1.25em; /* 20px / 16px */
	margin-bottom: 40px;
	opacity: 1;
}

.mask:hover .learn {
	background-color: #16325a;
    color: #fff;
	font-family: 'Lato', sans-serif;
	font-size: 1.25em; /* 20px / 16px */
	padding: 16px 11.3333333333%; /* 34px / 300px */
    text-transform: uppercase;
    text-align: center;
	text-decoration: none;
	opacity: 1;
}

/* --------- EXTRA CREDIT TRANSITION EFFECTS ----------- */

.shop-pics {
	width: 100%; /* 300px / 300px */
	height: 149px;
	opacity: 0.5;
	transition: 2s;
}

.events, 
.workshops,
.monthly-picks {
	background-size: 100%;
	background-repeat: no-repeat;
	
}

.events {
	background-image:url("../images/events.jpg");
}

.workshops {
	background-image:url("../images/workshops.jpg");
}

.monthly-picks {
	background-image:url("../images/monthly-picks.jpg");
}

.shop-pics:hover {
	opacity: 1.0;
}

/* --------- SLIDESHOW ----------- */

#slideshow-wrapper {
	width: 100%;
	height: 441px;
}

#slideshow {
  width: 100%;
  height: 441px;
  overflow: hidden;
  white-space: nowrap;
}

#slideshow img {
  display: inline-block;
  width: 100%;
  height: 100%;
}

#circle-nav {
	margin-top: -50px;
	text-align: center;
}

.circle {
  margin-right: 1.5625%; /* 15px / 960px */
  display: inline-block;
  background-color: lightgrey;
  width: 12px; /* Leave this alone because it affects the border radius */
  height: 12px;
  border-radius: 50%;
}

/* --------- Media Query Tablet ----------- */

@media only screen and (max-width: 1024px) {
		
	#header-content {
		width: 100%; 
		text-align: center;
	}

	#header-content img {
		height: 126px;
	}

	nav {
		width: 80%;
		position: relative;
		bottom: auto;
		right: auto;
		margin: 12px auto 8px;
	}

	nav ul {
		text-align:center;
	}

	nav a:link {
		padding: 6px 30%; 
	}

	nav a:hover {
		padding: 6px 30%; 
	}
	
	#banner {
		height: 300px;
	}

	#color-bar {
		padding: 6px 0;
	}

	#color-bar h3 {
		font-size: 1.25em; 
	}
	
	p {
	font-size: 1em; 
	margin-bottom: 12px;
	line-height: 150%;
}
	
	section h1 {
		font-size: 2em; 
		margin-bottom: 12px;
	}

	aside h2 {
		font-size: 1.5em;
		margin-bottom: 14px;
	}
	
	#shop-content h1 {
		font-size: 1.5em;
		margin: 0 0 14px;
	}

	.shop-box {
		width: 100%;
		margin-bottom: 50px;
	}
	
	.shop-pics {
		min-height: 120px;
	}

	.shop-box:first-of-type {
		margin-right: auto;
	}

	.shop-box:last-of-type {
		margin-left: auto;
	}
	
	#slideshow-wrapper,
	#slideshow {
		height: 300px;
	}

	#circle-nav {
		margin-top: -30px;
	}

	.circle {
  		width: 9px; 
  		height: 9px;
	}
	
} /* Closes first media query */


/* --------- Media Query Smart Phone ----------- */

@media only all and (max-width: 480px) {
	
	nav {
		width: 100%;
		background-color: #a32973;
	}

	nav li {
		display: block;
		text-align: center;
		padding: 10px 0; 
		border-bottom: 1px solid #fff;
	}

	nav a:link,
	nav a:visited {
		color: #fff;
	}

	nav a:hover {
		color: #fff;
		background-color: transparent;
		text-decoration: underline;
	}
	
	#banner {
		height: 200px;
	}
	
	#slideshow-wrapper,
	#slideshow {
		height: 200px;
	}
	
	section {
		width: 100%;
		float: none;
	}
		
	aside {
		width: 90%;
		margin-left: auto;
		margin-right: auto;
		float: none;
	}
	
	#footer-left {
		width: 100%;
		float: none;
		text-align: center;
		border-bottom: 1px solid #fff;
		padding-bottom: 20px;
		margin-bottom: 30px;
	}

	#footer-right {
		width: 100%;
		float: none;
		text-align: center;
}

	.team {
		width: 100%; 
		text-align: center;
		display: inline-block;
	}

	.team:first-of-type {
		margin-right: 0;
	}

	.team:nth-of-type(2),
	.team:nth-of-type(3){
		margin-left: 0; 
		margin-right: 0; 
	}

	.team:last-of-type {
		margin-left: 0; 
	}

	
} /* Closes second media query */

