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

.about>div>div {
	margin: 10px;
}

.about img {
	max-height: 225px;
	max-width: 360px;
	margin: 10px 20px;
	border: 2px solid var(--primary);
}

/* contact page */
.continfo {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.continfo h2 {
	font-size: 1.25rem;
	margin: 10px 0px;
}

.continfo p {
	margin: 10px 0px;
}

.map {
	display: flex;
	border: 1px solid var(--primary);
}

.staff {
	width: 90%;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 25px;
}

.staff h1 {
	color: var(--white);
	padding: 25px 0px;
}

.staff>div {
	display: flex;
	justify-content: space-evenly;
	align-items: flex-start;
	flex-wrap: wrap;
	width: 100%;
}

.staff>div>div {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 25px 25px;
	box-shadow: 0px 0px 10px 2px var(--black);
	border-radius: 10px;
	background-color: var(--white);
}

.staff>div>div img {
	width: 100px;
	height: 100px;
	border: 1px solid var(--primary);
	border-radius: 50%;
}

.staff p {
	margin: 5px 0px;
}

.sales {
	width: 90%;
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: var(--white);
	border-radius: 5px;
	margin: 25px 0px;
	padding: 25px 2.5%;
	box-shadow: 0px 0px 10px 2px var(--black);
}

.sales h1 {	
	padding: 25px 0px;
}

.sales>div {
	width: 100%;
    height: 540px;
}

.salesmap {
	border: none;
	width: 100%;
	height: 100%;
}

/* 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 */
.signin>form {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.signin>form>div {
	padding: 10px 0px;
	position: relative;
	width: 90%;
	max-width: 320px;
}

#login_email+span,
#login_password+span {
	position: absolute;
	left: 5px;
	top: 16px;
}

#login_email,
#login_password {
	font-size: 1.125rem;
	padding: 5px 0px 5px 34px;
	border: none;
	border-bottom: 1px solid var(--primary-dark);
	background: 5px 50%/24px no-repeat;
	height: 26px;
	width: calc(100% - 34px);
}

.signin p {
	margin: 10px 0px;
}

/* 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;
	font-size: 1rem;
}

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

.md-datepicker-input-container {
	border: 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-dark);
	transition: all .4s ease;
}

.ordertable>div:hover,
.ordert>div:hover {
	background-color: var(--primary-transparent);
}

.ordertable>div:FIRST-CHILD,
.ordert>div:FIRST-CHILD {
	background-color: var(--white);
	color: var(--primary);
	border: none;
	border-bottom: 1px solid var(--primary-dark);
	padding: 0px;
	position: sticky;
	top: 0px;
	z-index: 1;
	font-weight: 600;
}

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

.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,
.ordert>div:LAST-CHILD {
	background-color: var(--white);
	color: var(--primary-dark);
	border: none;
	justify-content: center;
	flex-direction: row;
	font-weight: 600;
}

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

/* register page */
.register p {
	margin: 10px 0px;
}

.signup {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 768px;
	margin: auto;
}

.signup>div {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.signup>div>div {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 10px 20px;
	width: calc(50% - 40px);
	min-width: 248px;
}

.signaddress {
	flex-direction: row !important;
	width: 100% !important;
	margin: 10px 0px !important;
	flex-wrap: wrap;
}

.signaddress>div {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 10px 20px;
	width: calc(50% - 40px);
	min-width: 248px;
}

.signup label {
	margin-left: 6px;
	margin-bottom: 5px;
	cursor: pointer;
}

.signup input,
.signup select,
.signup textarea {
	padding: 6px;
	border: none;
	border-bottom: 1px solid var(--primary);
	font-size: 1em;
	background-color: var(--white);
	width: calc(100% - 12px);
}

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

.signup select {
	width: 100%;
	height: 32px;
}

.signup .same {
	display: flex;
	align-items: center;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.signup input[type=checkbox] {
	display: none;
}

.checkmark {
	position: relative;
	height: 16px;
	width: 16px;
	margin-right: 5px;
	border: 1px solid var(--primary);
	border-radius: 3px;
}

.same:hover input+.checkmark {
	background-color: var(--grey-light);
}

.same input[type=checkbox]:checked+.checkmark {
	background-color: var(--primary);
}

.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

.same input[type=checkbox]:checked+.checkmark:after {
	display: block;
}

.same .checkmark:after {
	top: 1px;
	left: 5px;
	width: 4px;
	height: 8px;
	border: solid var(--white);
	border-width: 0 2px 2px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.same_ship:has(.same input[type=checkbox]:checked)+div {
	display: none;
}

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

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

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

.register_submit {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* profile */
.profile p {
	margin: 10px 0px;
}

.profileopts {
	display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.profileopts>a {
	margin: 10px;
	width: 90%;
	max-width: 200px;
	text-align: center;
}

/* password */
.password>div {
	padding: 10px 0px;
	position: relative;
	max-width: 450px;
}

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

	.qty,
	.quantity {
		display: none;
	}

	.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,
	.order {
		width: 100%;
	}

	.ord>div:last-child,
	.order>div:last-child {
		border: none !important;
	}

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

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

	.continfo>div {
		width: 100%;
	}

	.map iframe {
		width: 100%;
	}

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