@font-face{
	font-family: "Myriad-Pro";  
	src: url(../fonts/MyriadPro-Regular.ttf) format("truetype");
}
@font-face{
	font-family: "Myriad-Pro-Light";  
	src: url(../fonts/MyriadPro-Light.ttf) format("truetype");
}
@font-face {
	font-family: "Myriad-CAD";  
	src: url(../fonts/Myriad-CAD.otf) format("truetype");
}

html {
	position: relative;
	min-height: 100%;
	padding-bottom: 100px; /*footer space*/
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: Constantia, serif;
	font-size: 1em;
	background: #eee url("../img/bg.jpg") no-repeat fixed center;
	background-color: #eee;
	background-size: 100% 100%;
}

a {
	color: #85586c;
}

.header {
	position: fixed;
	z-index: 2;
	top: 0em;
	width: 100%;
	background-color: #fff;
	box-shadow: 0px 0px 10px #999;
}

#banner {
	text-align: center;
}
#banner h1 {
	font-family: Myriad-Pro;
	font-size: 2em;
}

#head-logo {
	font-family: Myriad-Pro;
	font-weight: 100;
	position: absolute;
	margin: 0 1em;
	line-height: 0.5em;
	color: white;
	opacity: 0.0;
	transition: 0.5s;
}

.header .links {
	margin: 0 auto;
	padding: 0.6em;
	text-align: center;
	background-color: #ff7bac;
}

.header a {
	padding: 0.6em 1em;
	text-decoration: none;
	font-family: Constantia, serif;
	font-weight: 600;
	color: white;
}
.header a:hover {
	background-color: #dc418f;
}
.dropdown {
	position: relative;
	display: inline;
}
.drop-content {
	display: none;
	position: absolute;
	left: 0em;
	top: 1.8em;
	white-space: nowrap;
	text-align: left;
}
.dropdown:hover .drop-content, .drop-content a {
	display: block;
	background-color: #ff7bac;
	box-shadow: 2px 3px 6px rgba(0,0,0,0.1);
}

.drop-content a:hover {
	background-color: #dc418f;
}

.signin {
	position: absolute;
	right: 1em;
	bottom: 0;
}

.footer {
	background-color: #dc418f;
	position: absolute;
	bottom: 0;
	width: 100%;
	min-height: 100px; /*footer space*/
}
.footer .content {
	background-color: transparent;
	top: 0;
	padding: 0.5em;
}
.footer p {
	color: #eee;
}

.content, .content-items {
	position: relative;
	top: 6em;
	width: 960px;
	padding: 3em 7em 200px 7em;
	margin: 0 auto;
	background-color: #fff;
	padding-bottom: 200px; /*footer space*/
}

.content-items {
	width: 70%;
}

.carousel {
	position: relative;
	width: 100%;
	height: 400px;
	overflow: hidden;
	user-select: none;
}

.carousel .goback, .carousel .gonext {
	font-family: monospace;
	font-size: 3em;
	position: absolute;
	top: 50%;
	padding: 0 5px 0 5px;
	color: white;
	background-color: rgba(255, 123, 172, .7);
	z-index: 1;
	cursor: pointer;
}
.goback {
	left: 0;
}
.gonext {
	right: 0;
}
.goback:active, .gonext:active {
	background-color: rgba(255, 123, 172, 1);
}

#item-container .carousel {
	float: left;
	min-width: 300px;
	width: 50%;
	margin: 0 2.5em 1em 0;
}

img.large, img.slide {
	width: 100%;
	max-height: 400px;
	transition: 0.5s;
}
img.slide {
	position: absolute;
}

img.topic {
	max-width: 14em;
}
img.topic.left {
	float: left;
	margin: 0 1em 1em 0;
}
img.topic.right {
	float: right;
	margin: 0 0 1em 1em;
}

h1, h2, h3 {
	font-family: Myriad-CAD;
	font-weight: 100;
	font-size: 3em;
	color: #ff7bac;
	text-align: center;
	margin: 0.5em 0;
	clear: both;
}
h2 {
	text-align: left;
	font-size: 2em;
	margin-top: 1em;
}
h3 {
	text-align: left;
	font-size: 1.5em;
}

p, span, .price {
	font-family: Constantia, serif;
	color: #85586c;
}

p {
	margin: 1em;
	line-height: 1.5em;
}

.price {
	font-size: 2em;
}

.item-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.card {
	position: relative;
	width: 24em;
	margin: .5em;
	overflow: hidden;
}

.oos {
	filter: saturate(10%);
}
.oos img {
	filter: saturate(10%) brightness(75%) blur(3px);
}

.oos::after {
	content: "Out of Stock";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	color: white;
	font-size: 3em;
	white-space: nowrap;
}

.card img {
	width: 100%;
	height: 300px;
}

.card span {
	color: white;
}

.card .info {
	position: absolute;
	width: 100%;
	bottom: .2em;
	left: 0;
	box-sizing: border-box;
	padding: .7em;
	padding-bottom: .5em;
	background-color: rgba(255, 123, 172, .7);
	text-decoration: none;
	color: white;
}
.info h2 {
	color: white;
	margin: 0;
	font-size: 1.4em;
	line-height: .8em;
	padding-top: 0.1em;
	white-space: nowrap;
}

.card p {
	margin: 0;
	padding: .4em;
	padding-bottom: 0;
	color: white;
	display: none;
}

.card .delete {
	position: absolute;
	right: 0;
	font-size: 2em;
	padding: 0.2em;
	color: #dc418f;
	background-color: #ff7bac;
	cursor: pointer;

}

.page-numbers {
	text-align: center;
	margin-top: 2em;
}
.page-numbers a {
	font-size: 1.5em;
	margin: 0.5em;
	color: #85586c;
}
.page-numbers a.current {
	color: #ff7bac;
}

.item-details p {
	column-count: 1;
}

.suggested {
	display: flex;
	align-content: space-around;
	width: 100%;
}

.suggested .card img {
	max-height: 200px;
}

.cart {
	display: flex;
	flex-direction: column;
	font-size: 0.75em;
}
.cart img {
	max-height: 150px;
}
.cart a {
	text-decoration: none;
	font-size: initial;
}

.item {
	text-align: right;
	padding: 1em;
}
.item img {
	float: left;
	margin: 0.5em;
	width: 200px;
}
.item h2 {
	clear: none;
	color: #ff7bac;
}
.item p {
	margin: 0;
}
.item input {
	display: inline-block;
	margin: 1em 0;
	text-align: right;
}
.item .remove {
	cursor: pointer;
}

.total {
	text-align: right;
}

.total input {
	position: absolute;
	right: 2em;
}

hr {
	width: 100%;
	border-top: 1px solid #8c8b8b;
}

input {
	display: block;
	font-family: Constantia, serif;
	margin: 1em 1em 1em 0em;
}

input[type=submit], input[type=button] {
	border: none;
	padding: 0.4em 1.1em;
	margin: 1em 1em 1em 0;
	background-color: #ff7bac;
	font-size: 1.2em;
	font-family: Constantia, serif;
	color: white;
	cursor: pointer;
}

input[type=checkbox] {
	display: inline-block;
}

select {
	min-width: 7em;
	height: 2em;
	margin: 0 1em 1em 0;
	font-family: Constantia, serif;
	color: #85586c;
}

textarea {
	font-family: Constantia, serif;
}

#addcategory {
	position: absolute;
	top: 3.5em;
	right: 0;
	padding: 1em;
	border: 2px dotted pink;
}

.dropzone {
	width: 100%;
	height: 5em;
	text-align: center;
	line-height: 5em;
	background-color: #fee;
	border: 5px dashed pink;
}

.dropzone.hover {
	background-color: pink;
}

.hidden {
	display: none;
}

@media screen and (max-width: 699px) {
	.content, .content-items {
		width: 95%;
		padding: 1em 0;
		padding-bottom: 200px;
	}
	#head-logo {
		display: none;
	}
	img.topic, img.topic.left, img.topic.right {
		float: none;
		display: block;
		margin: 0 auto;
	}
	.suggested {
		width: 100%;
		flex-wrap: wrap;
	}
	.suggested .card {
		display: block;
		width: 90%;
		margin: 1em auto;
	}
}