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

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

body {
	background-color: #fff;
}

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

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

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

nav {
	width: 76.04166666666667%; /* 730/960 *100 */
	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.10958904109589%; /* (30/730 *100) */ 
	text-align: left;
}

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

nav a:link {
	text-decoration: none;
	color: #16325a;
	padding: 10px 44.1095890410959%; /* (30/730) + (20/50) * 100 */
}

nav a:hover {
	background-color: #16325a;
	color: #fff;
	padding: 10px 44.1095890410959%; /* (30/730) + (20/50) * 100  */
}

#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: 63%; /*960px*/
	background-color: #fff;
	margin-left: auto;
	margin-right: auto;
	padding: 60px 0;
	overflow: hidden;
}
main {
	padding: 486px 20px 20px;
}

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

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

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

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;
}

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;
}

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

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

#shop-content h2 {
	font-size: 1.7em;
	color: #a32973;
	font-family: 'Goudy Bookletter 1911', serif;
	padding-bottom: 15px;
}

#shop-content h2:first-child {
	font-size: 3em;
}

#shop-content p {
	font-family: 'lato', sans-serif;
	font-size: 1.2em;
	color: #16325a;
	padding-top: 15px;
	margin-left: 35px;
}

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

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

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

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

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

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

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

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

.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 6.666666666666667%; /* 20/300 *100 */
	font-family: 'Lato', sans-serif;
	font-size: 0.875em; /* 14/16 */
	color: #fff;
	text-decoration: none;
	width: 53.33333333333333%; /* 160/ 300 *100 */
	margin: 0 auto;
}

footer {
	padding: 40px 0 30px;
	width: 100%;
	font-size: 0.75; /* 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: 0.7;
}

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

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

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

/* TABLE CSS */

table {
    width: 450px;
    margin: 20px 0 0 15px;
    background-color: #f4f3f0;
    border-collapse: separate;
}

table tr th,
table tr td {
    border-right: 3px solid #16325a;
    border-bottom: 3px solid #16325a;
    font-size: 1.3em;
    color:#16325a;
    font-family: 'lato', sans-serif;
    text-align: center;
    padding: 10px;
}

table tr th:first-child,
table tr td:first-child {
    border-left: 3px solid #16325a;
}

table tr th {
    background: #16325a;
    border-top: 3px solid #16325a;
    text-align: right;
    color: #f4f3f0;
}

#table-head {
    text-align: center;
}

/* Rounded corners */

table tr:first-child th:last-child {
    border-top-right-radius: 25px;
}

table tr:last-child th:first-child {
    border-bottom-left-radius: 25px;
}

/* TRANSITION EFFECTS - YAYAYYAYAY */

aside .book-details {
	opacity: 1;
}

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

.mask {
	width: 100%; /* 328px */
	height: 334px;
	position: absolute;
	top: 0;
	left: 0;
	text-align: center;
	background-color: #a32973;
	opacity: 0;
	transition: linear 2s;
}

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

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

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

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

.mask:hover {
	opacity: 1;
}

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

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

/* SLIDESHOWS */

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

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

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

.circle {
	display: inline-block;
	background-color: lightgray;
	width: 0.625em; /* 12/1920 *100 */
	height: 0.625em;
	border-radius: 50%;
	margin-right: 0.78125%; /* 15/1920 *100 */
}

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

@media only screen and (max-width: 1024px) {

	#header-content {
		text-align: center;
		height: 13.25em;
	}

	#header-content img {
		top: 0px;
	}

	#shop-content {
		width: 80%;
	}
	
	nav {
		width: 100%;
	}

	nav ul {
		text-align: center;
	}

	#banner,
	#slideshow,
	#slideshow-wrapper {
		width: 100%;
		height: 300px;
	}

	.circle {
		width: 9px;
		height: 9px;
	}

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

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

	section h1 {
		font-size: 2em; 
	}

	aside h2 {
		font-size: 1.4375em; /* 25/16 */
	}

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

	.shop-box img {
		display: block;
		width: 100%;
	}

	#wrapper-white {
		width: 80%;
	}

	p {
		line-height: 150%; 
	}

	#footer-content {
		width: 80%
	}

}

@media only all and (max-width: 480px) {
	
	#header-content {
		width: 100%;
		margin-bottom: 120px;
	}

	#banner,
	#slideshow,
	#slideshow-wrapper {
		width: 100%;
		height: 235px;
	}

	nav {
		bottom: -110px;
	}
	
	nav li{
		width: 100%;
		background-color: #a32973;
		text-align: center;
		margin-bottom: 1px;
		padding: 10px;

	}

	nav li:last-child {
		padding-right: 10px;
	}

	nav a {
		color: #fff;
	}

	#color-bar h3 {
		font-size: 1.5em;
		padding: 0 15px;
	}

	section h1 {
		font-size: 2em; 
	}

	aside h2 {
		font-size: 1.4375em; /* 25/16 */
	}

	section {
		clear: both;
		width: 78%;
		float: none;
		margin-left: 40px;
	}

	aside {
		width: 70%;
    	position: relative;
    	clear: both;
    	float: none;
    	margin: auto;
	}

	#wrapper-shop {
		width: 100%;
	}

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

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

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

	#footer-content {
		width: 85%;
	}

	#footer-left /*TOP info*/ {
		width: 100%;
		clear: both;
		text-align: center;
		padding-bottom: 15px;
		border-bottom: 2px solid #fff;
	}

	#footer-right /*BOTTOM info*/ {
		width: 100%;
		clear: both;
		text-align: center;
		padding-top: 30px;
	}

}