/* about page */
.about {
	width: 100%;
}

.picture-border {
	display: flex;
	max-height: 300px;
	max-width: 400px;
	height: 100vh;
	width: 100%;
	margin: 10px 20px;
	border: 2px solid var(--primary);
	background: 50%/cover no-repeat;
	float: left;
}

#mainimage {
	height: 100%;
	width: 100%;
	background: 50%/cover no-repeat;
}

/* contact page */
.continfo {
	margin: auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.continfo>div {
	width: 45%;
	margin: 0 auto;
}

.map {
	display: flex;
	margin: auto;
	width: 100%;
	height: 450px;
}

/* gallery page */
.gallery {
	display: flex;
	flex-wrap: wrap;
}

.gallery>div {
	margin: 10px auto;
}

.gallery>div>div {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0px 10px;
	max-width: 250px;
	position: relative;
	border: 1px solid var(--grey-dark);
}

.gallery>div>div>div:LAST-CHILD {
	width: 100%;
	text-align: center;
	padding: 5px 0px;
	background-color: var(--grey-dark);
	color: #fff;
}

.gallery img {
	width: 250px;
	display: flex;
	cursor: pointer;
}

/* sign in page */
.password {
	width: 90%;
	margin: auto;
}

.password>div {
	display: flex;
	flex-direction: column;
}

.password>div>div {
	display: flex;
}

.signin {
	width: 90%;
	margin: auto;
}

.signin>form>div {
	display: flex;
	flex-direction: column;
}

.signin>form>div>div {
	display: flex;
}

.signin>form>div>div>div:NTH-CHILD(2) {
	margin: 10px;
	align-self: center;
}

#login_email, #login_password {
	width: 200px;
	line-height: 2em;
	margin: 5px 0px;
	padding-left: 34px;
	border: none;
	border-bottom: 1px solid var(--grey-dark);
	background: 5px 50%/24px no-repeat;
}

#login_email {
	background-image: url("../icons/email.png");
}

#login_password {
	background-image: url("../icons/lock.png");
}

/* checkout page */
.ship {
	display: flex;
	flex-direction: column;
}

.ship>div {
	display: flex;
}

.ship>div>div {
	display: flex;
	flex-direction: column;
	margin: 0px 10px;
}

.ship input[type="radio"] {
	width: 13px;
	margin-right: 10px;
}

.ship input {
	margin: 10px 0px;
	padding: 5px;
	border-radius: 3px;
	border: 1px solid var(--grey-light);
	width: 190px;
}

.ship textarea {
	height: 70px;
	width: 250px;
	max-width: 250px;
	max-height: 70px;
	padding: 5px;
	margin: 10px 0px;
	border-radius: 3px;
	border: 1px solid var(--grey-light);
	resize: none;
}

/* order page */
.ordertable, .ordert {
	width: 100%;
	display: flex;
	flex-direction: column;
	text-align: center;
	margin: 15px 0px;
}

.ordertable>div, .ordert>div {
	display: flex;
	width: 100%;
	padding: 5px 0px;
	border-bottom: 1px solid var(--primary-light);
}

.ordertable>div:FIRST-CHILD, .ordert>div:FIRST-CHILD {
	background-color: var(--primary-dark);
	color: var(--white);
	border: none;
	padding: 0px;
	position: sticky;
	top: 162px;
}

.ordertable>div:FIRST-CHILD>div>div, .ordert>div:FIRST-CHILD>div>div {
	border-right: 1px solid var(--primary-light);
}

.ord, .ord>div, .qty, .qty>div, .qty>div>div, .order, .order>div,
.quantity, .quantity>div, .quantity>div>div {
	display: flex;
}

.ord, .qty {
	width: 50%;
	justify-content: space-between;
}

.ord>div {
	width: 33%;
	justify-content: center;
	align-items: center;
	padding: 5px 0px;
}

.qty>div {
	flex-direction: column;
	width: 50%;
}

.qty>div>div, .quantity>div>div {
	width: 100%;
	justify-content: space-around;
	padding: 5px 0px;
}

.qty>div>div>div {
	width: 50%;
}

.ordertable>div:LAST-CHILD {
	background-color: var(--primary-dark);
	color: var(--white);
	border: none;
	justify-content: center;
	flex-direction: row;
}

.order {
	width: 40%;
}

.order>div {
	justify-content: center;
	align-items: center;
	padding: 5px 0px;
}

.order>div:FIRST-CHILD {
	width: 60%;
}

.order>div:LAST-CHILD {
	width: 40%;
}

.quantity {
	width: 60%;
}

.quantity>div {
	flex-direction: column;
	width: 33%;
}

.ordert>div:LAST-CHILD {
	background-color: var(--primary-dark);
	color: var(--white);
	border: none;
}

/* register page */
.signuptable {
	display: flex;
	flex-wrap: wrap;
	margin: auto;
	justify-content: space-around;
}

.signuptable>div {
	display: flex;
	flex-direction: column;
	width: 40%;
	align-items: center;
	min-width: 265px;
}

.signuptable>div>div {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-top: 10px;
}

.signuptable label {
	margin-bottom: 5px;
}

.signuptable input, .signuptable select, .signuptable textarea {
	max-width: 300px;
	max-height: 96px;
	width: 310px;
	padding: 5px;
	border-radius: 3px;
	border: 1px solid var(--grey-dark);
	font-size: 1em;
}

.signuptable input::placeholder, .signuptable textarea::placeholder {
	color: var(--grey);
}

.signuptable select {
	max-width: 310px;
}

hr {
	border: 2px solid var(--primary);
}

.settings {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.captcha {
	max-width: 310px;
	width: 100%;
	margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
	.ordertable>div, .ordert>div {
		flex-direction: column;
	}

	.ordertable>div:FIRST-CHILD, .ordert>div:FIRST-CHILD {
		top: 52px;
	}

	.ordertable>div:FIRST-CHILD>div, .ordert>div:FIRST-CHILD>div {
		padding: 0px;
	}

	.ord, .qty, .order, .quantity {
		width: 100%;
	}

	.ord, .order {
		border-bottom: 1px dashed var(--primary-light);
	}

	.about>div {
		display: flex;
		flex-direction: column;
	}

	.picture-border {
		margin: 10px 0px;
		max-height: 216px;
		max-width: 288px;
	}

	.continfo>div:FIRST-CHILD {
		margin-bottom: 25px;
	}

	.continfo>div {
		width: 100%;
	}

	.signuptable input, .signuptable textarea {
		width: 250px;
	}

	.signuptable select {
		width: 260px;
	}

	.ship>div {
		flex-direction: column;
	}
}