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

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


/* import font styles */
@import url('https://fonts.googleapis.com/css2?family=Goudy+Bookletter+1911&family=Lato&display=swap');

/* ################################################### */
/* #### font families and colors from style guide #### */
/* ################################################### */

/* font-family: 'Goudy Bookletter 1911', serif;
font-family: 'Lato', sans-serif;

blue - #16325a
purple - #a32973
white - #ffffff
grey - #f4f3f0
black - #000000
*/

body {
	background-color: #fff;
}

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

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

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

nav {
	width: 76.04166666667%; /* 730/960 */
	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; /* 20/16 */
	color: #16325a;
	padding: 0 4.10958904%; /* 30/730 */
	text-align: left;
}

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

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

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

#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; /* 30/16 */
	margin-bottom: 0;
}

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

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

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


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

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

aside hr {
    width: 90%;
    margin: 20px auto;
    border-top: 1px solid #16325a;
}

p {
	font-size: 1em; /* 16/16 */
	color: #000;
	font-family: 'Lato', sans-serif;
	margin-bottom: 16px;
	line-height: 180%;
}

aside p {
	font-size: 1em; /* 16/16 */
	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;
}

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

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

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

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

.team:last-of-type {
	margin-left: 2.6041666667%; /* 25/960 */
}

#shop-content, #team-content {
	width: 60%; /* 960px */
	margin-left: auto;
	margin-right: auto;
}

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

.shop-box img {
	opacity: 0.7;
	transition: opacity 2s;
}

.shop-box img:hover {
    opacity: 1.0;
}

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

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

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

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

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

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

}

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

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

#footer-content {
	width: 60%; /* 960 */
	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%; /* span full width of aside */
	height: 334px;
	position: absolute;
	top: 0;
	left: 0;
	text-align: center;
	background-color: #a32973;
	opacity: 0;
	transition: linear 2s;
}

.mask:hover {
	opacity: 1;
}

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

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

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

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

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

#shop-content h2 {
    color: #a32973;
    font-family: 'Goudy Bookletter 1911', serif;
    font-size: 1.5em;
    margin-bottom: 18px;
}

table {
	border-collapse: separate;
	width: 400px;
	margin: 20px 0;
	background-color: #ffffff;
}

table tr th,
table tr td {
  	border-right: 2px solid #16325a;
  	border-bottom: 2px solid #16325a;
	font-size: 1em; 
	color: #000000;
	font-family: 'Lato', sans-serif;
	text-align: center;
  	padding: 10px;
}
table tr th:first-child,
table tr td:first-child {
  	border-left: 2px solid #16325a;
}
table tr th {
  	background: #16325a;
  	border-top: 1px solid #16325a;
  	text-align: center;
	background-color:#16325a;
	font-weight: bold;
	color: #ffffff;
}

.labels {
	font-weight: bold;
	text-align: right;
}

.price-col {
	text-align: right;
	padding-right: 10%;
}

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

#slideshow {
	overflow: hidden;
	white-space: nowrap;
}

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

.circle {
	display: inline-block;
	background-color: lightgrey;
	width: 1.25%; /* 12/960 */
	height: 12px;
	border-radius: 50%;
	margin-right: 1.5625%; /* 15/960 */
}

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


/* ##################################
 ##########   Tablet   ##############
 ################################## */


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

	#header-content {
		width: 75%;
		
	}
	
	#header-content img {
		height: 146px;
		margin-bottom: 45px;
	}
	
	nav {
		width: 76.04166666667%; /* 730/960 */
		position: relative;
	}
	
	nav ul {
		display: block;
		text-align: right;
		list-style-type: none;
	}
	
	nav li {
		display: inline-block;
		padding: 0 4.10958904%; /* 30/730 */
	}
	
	nav li:last-child {
		padding-right: 0;
	}

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

	#slideshow-wrapper {
		height: 300px;
	}

	#banner, #slideshow img {
		height: 300px;
	}

	.circle {
		height: 9px;
	}

	#color-bar h3 {
		font-size: 1.3em;
	}

	#wrapper-white, #shop-content, #team-content, #footer-content {
		width: 75%;
	}

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

	.team {
		display: inline-table;
		width: 18.75%;
	}

	.team img {
		width: 100%;
	}

	section h1 {
		font-size: 1.75em;
	}

	#wrapper-shop h1 {
		font-size: 1.75em;
	}

	aside {
		height: 280px;
	}

	aside h2 {
		font-size: 1.25em;
	}

	p, aside p {
		font-size: 0.75em;
	}

	.mask {
		height: 314px;
	}

	.mask:hover h2 {
		font-size: 1.25em;
	}

	.mask:hover .learn {
		padding: 16px 3.54166666667%;
	}

	.shop-box {
		width: 100%;
		margin-bottom: 50px;
	}

	.shop-box img {
		width: 100%;
		height: 150px;
	}

	
}

@media only screen and (max-width: 480px) {
	#header-content {
		width: 100%;
	}
	
	#header-content img {
		height: 115px;
	}

	header {
		padding: 12px 0 0 0;
		margin-bottom: -25px;
	}

	nav {
		width: 100%;
	}

	nav ul {
		margin: 6px 0;
	}

	nav li {
		display: grid;
		background-color: #a32973;
		color: #ffffff;
		border-bottom: 1px solid #ffffff;
		text-align: center;
		padding: 0;
	}
	

	nav li a {
		padding: 25px 20px;
		color:#ffffff;
	} 

	nav a:link {
		padding: 10px 0;
		color:#ffffff;
	}

	nav a:hover {
		background-color: #16325a;
		color: #fff;
		padding: 10px 41%;
	}

	#slideshow-wrapper {
		height: 200px;
	}

	#banner, #slideshow img {
		height: 200px;
	}
	
	section {
		width: 100%;
		clear: both;
	}

	aside {
		width: 90%;
		text-align: center;
	}

	.team {
		display: inline;
	}

	#footer-left {
		width: 90%;
		text-align: center;
		border-bottom: 1px solid #ffffff;
		float: none;
	}

	#footer-right {
		width: 90%;
		text-align: center;
		margin-top: 20px;
		float: none;
	}

}