@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: 65%; /* 960px */
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

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

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

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 5%; /* 30px /730 */
	text-align: left;
}

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

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

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

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

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

aside {
	width: 31.25%; /* 300px /960 */
	height: 300px;
	float: right;
	position: relative;
	border: 3px solid #16325a;
	padding: 20px 1.45833333% 14px; /* 14px /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;
}

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: 65%; /* 960px */
	margin-left: auto;
	margin-right: auto;
}

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

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

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

.shop-box 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 {
	font-size: 0.875em; /* 14/16 */
	margin-bottom: 24px;
}

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

footer {
	padding: 40px 0 30px;
	width: 100%;
	font-size: 1em; /* 16/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: 65%; /* 960px */
	margin: 0 auto;
}

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

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

/* 	CASE STUDY PHP  */
	
	#order-summary h1{
	color: #a32973;
	text-transform: uppercase;
	font-family: 'Goudy Bookletter 1911', serif;
	font-size: 2em; /* 32/16 */
	text-align: center;
	margin-bottom: 20px;
	}
	
	#order-summary h2{
	color: #a32973;
	font-family: 'Goudy Bookletter 1911', serif;
	font-size: 1.5625em; /* 25/16 */
	text-align: left;
	margin-bottom: 20px;
	}

	#order-summary p {
	font-size: 1em; /* 16/16 */
	color: #000;
	font-family: 'Lato', sans-serif;
	line-height: 180%;
	margin-bottom: 5px;
	margin-top: 5px;
	}
	
	#order-summary table{
	border-radius: 5px;
	}
	
	#order-summary th{
	background-color: #16325a;
	color: #fff;
	font-family: 'Goudy Bookletter 1911', serif;
	font-size: 1.125em; /* 18/16 */
	font-weight: bold;
	text-align: center;
	padding: 10px 20px;
	border-color: #16325a;
	border-width: 3px;
	border-style: solid;
	}
	
#order-summary th:first-child{
	border-top-left-radius: 5px;
}

#order-summary th:last-child{
	border-top-right-radius: 5px;
}
#order-summary tr:last-child td:first-child{
	border-bottom-left-radius: 5px;
}

#order-summary tr:last-child td:last-child{
	border-bottom-right-radius: 5px;
}

	
	#order-summary td{
	font-size: 1em; /* 16/16 */
	background-color: #fff;
	color: #000;
	font-family: 'Lato', sans-serif;
	margin-bottom: 16px;
	line-height: 180%;
	text-align: center;
	border-color: #16325a;
	border-width: 3px;
	border-style: solid;
	}

/* --------- Study Case 2 --------- */

aside .book-details{
	opacity: 1;
	transition: ease-in 1s;
}

.mask {
     width: 100%; /* 329px /329 */
     height: 335px;
     position: absolute;
     top: -1px;
     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: #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 3.54166667%; /* 34px /960 */
}

#shop-content .shop-box img{
	opacity: .7;
	transition: opacity 2s;
}

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

/* --------- Study Case 3 --------- */


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

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

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

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

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

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


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

#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: 12px; 
	height: 12px;
	border-radius: 50%;
	margin-right: 15px;
}

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


/* --------- MEDIA QUERY TABLET --------- */

@media only screen and (max-width: 1024px) {
	
	#header-content {
	width: 80%; /* 960px */
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	}
	
	header img {              				  
	height: 146px;
	object-position: center;
	left: auto; 
	right: auto;
	}
	
	nav {
	position: relative;
	bottom: auto;
	right: auto;
}

	nav ul{                					 
	text-align: center;
	margin-right: auto;
	margin-left: auto;
	display: contents; 
	align-content: center;
	}
	
	#footer-content {
	width: 80%; /* 960px */
	}
	
	
	#shop-content {
	width: 80%; /* 960px */
	}
	
	#wrapper-white {
	width: 80%; /* 960px */
	}

	#banner {
	width: 100%;
	height: 300px;
	}
	

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

	#slideshow{
	width: 100%; 
	height: 300px;
	}
	
	.circle{
	width: 9px; 
	height: 9px;
	}
	
	#color-bar h3 {
	font-size: 1.25em; /* 30 to 20/16 */
	}
	
	section h1 {
	font-size: 1.75em; /* 36 to 28/16 */
	}

	aside h2 {
	font-size: 1.375em; /* 28 to 22/16 */
	}
	
	.shop-box h3 {
	font-size: 1.375em; /* 28 to 22/16 */
	}
	
	.shop-box {
	width: 100%; /* 960px /960 */
	text-align: center;
	display: inline-block;
}
	
	.shop-box:first-of-type {
	margin-right: auto;
	margin-left: auto;
	}

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

	.shop-box a {
	padding: 10px 0; /* 20px /960 */
	width: 70%;
	margin: 0 auto 50px;
	font-size: 0.875em; /* 14/16 */
	}

	.shop-box img{       						        
		width: 100%;
		height: 100%;
		margin-top: 0;
	}
	
	p{
		font-size: 0.875em; /* 14/16 */
	}
	footer p {
		font-size: 0.75em; /* 12/16 */
	}
	
	footer h3 {
	text-transform: uppercase;
	font-size: 0.8125em; /* 13/16 */
	font-weight: normal;
}
	.team{
		vertical-align: top;
	}

	.team img{									
	width: 87.5%; /* 175px /200 */
}

	
.team:first-of-type {
     margin-right: 1.25%; /* 25px /200 */
}
.team:nth-of-type(2),
.team:nth-of-type(3){
     margin-left: 1.2%; /* 24px /200 */
     margin-right: 1.2%; /* 24px /200 */
}
.team:last-of-type {
     margin-left: 1.25%; /* 25px /200 */
	
}

}

/* --------- MEDIA QUERY PHONE --------- */ 

@media only all and (max-width: 480px) {
	
	#header-content {
	width: 100%; /* 960px */
	margin-left: auto;
	margin-right: auto;
	}
	
	header img {              				
	height: 100px;
	object-position: center;
	left: auto; 
	right: auto;
	}
	
	nav {
		width: 100%;
	}
	
	
nav a:link {
	color: #fff;
}
	
	nav ul{
		margin: 8px 0;
		width: 100%;
	}
	
	nav li{ 
		background: #a32973;
		color: white;
		display: block;
		border-bottom: 1px solid #fff;
		width: 100%;
		text-align:center;
		height: 30px;
		justify-content: center;
		padding: 10px 0 0;
		
		
	}

	
	#banner {
	width: 100%;
	height: 200px;
	}
	

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

	#slideshow{
	width: 100%; 
	height: 200px;
	}
	
	section {
	width: 100%; 
	float: none;
	}

	aside {
	width: 90%; 
	height: 300px;
	float: none;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
	
#footer-content {
	width: 100%; /* 960px */
}

#footer-left {
	float: none;
	text-align: center;
	width: 85%;
	border-bottom: 2px solid white;
	margin-right: auto;
	margin-left: auto;
}

#footer-right {
	margin-top: 25px;
	float: none;
	text-align: center;
	width: 100%;
}
	
	.team img{					
	width: 60%; /* 175px /200 */
}
	
	.team{												
	width: 100%;
	 margin-left: 0%; /* 24px /200 */
     margin-right: 0%; /* 24px /200 */
	display: block;
	}
	

	
	
	
}

