/*
Theme Name: Company Store
Author: Cory Anotado and Kevin Hall (hopefully)
Description: Sell your wares!
Version: 1.0
*/

html {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #4A4A4A;
	font-size: 18px;
}
/* containers setup */

.container {}
.container .item {
	width: 100%;
	padding: 1em 6em;
	overflow: auto;
	display: flex;
}
.container .topbar {
	background-color: #651297;
	color: #FFF;
	justify-content: space-between;
}
.container .logobar {
	background-color: #9E9E9E;
	color: #FFF;
	justify-content: center;
	padding: 1.5em 6em;
}
.container .menubar {
	background-color: #1FCA23;
	color: #FFF;
	justify-content: space-between;
}
.container .content {
	background-color: #FFF;
	display: block;
	overflow: initial;
	padding-bottom: 3em;
}
.container .footer {
	background-color: #651297;
	color: #FFF;
	justify-content: space-between;
}
/* span styles */

.underline {
	border-bottom: 10px solid #651297;
}
/* logo */

.logobar a img {
	max-width: 400px;
	height: auto;
}
/* content setup */

.category .title h1 {
	font-size: 2.8em;
	font-weight: bold;
}
.content .product_list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	overflow: initial;
	clear: both;
}
.content .single_product {
	flex-grow: 0;
	flex-basis: 130px;
	overflow: initial;
	padding: 0 1.1em 0 0;
}
.single_product .image {
	border-bottom: 10px solid #9E9E9E;
	padding-bottom: 10px;
	float: left;
}
.single_product .image img {
	max-width: 100%;
	width: 100%;
	height: auto;
}
.single_product .name {
	padding-top: 10px;
	font-size: 1em;
	font-weight: bold;
	float: left;
}
/* item page */

.single .entry {
	display: grid;
	grid-gap: 1em;
	grid-template-columns: 36% auto;
}
.single .title {
	grid-column: 1 / 3;
}
.single .images {
	grid-column: 1 / 2;
	/* Override WooCommerce styles. */
	float: none !important;
	width: 100% !important;
}
.single .images .hero img {
	max-width: 100%;
	height: auto;
	width: 100%;
}
.single .images .soldiers img {
	padding: 20px 20px 0 0;
}
.single .grid_form table {
	width: 100%;
}
.single .grid_form table tr {
	background-color: #D6D6D6;
}
.single .grid_form td, .single .grid_form th {
	border: 3px solid #FFF;
}
.single .grid_form td:first-child, .single .grid_form th {
	padding: 10px;
}
.single .grid_form td {
	padding: 0;
}
.single .grid_form td .quantity {
	height: 40px;
	width: 100%;
}
.single .grid_form td .quantity .qty {
	width: 100%;
	height: 100%;
	background-color: #D6D6D6;
	border: 0;
	font-size: 20px;
}
.single .grid_form .addtocart td {
	column-span: 9;
	text-align: center;
	font-weight: bold;
	background-color: #9E9E9E;
	color: #FFF;
	cursor: pointer;
}
.single .grid_form .addtocart td:hover {
	background-color: #AFAFAF;
}
.single .description {
	grid-column: 2 / 3;
}
.single .description .paragraph {
	line-height: 1.8em;
	padding: 1 3em;
}
.single .title h1 {
	font-size: 2.8em;
	font-weight: bold;
	padding-bottom: 10px;
	border-bottom: 10px solid #651297;
	/* Override WooCommerce styles. */
	margin-top: 0.67em !important;
}
.add-to-cart-error {
	text-align: center;
	color: #ff0000;
	padding: 10px;
}
/* footer things */

.footer img:not(:first-child) {
	padding-left: 2em;
}
.woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before {
	display: none;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2){
	padding: 10px;
}
	input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
		-webkit-appearance: none;
		margin: 0;
	}
/* form stuff */

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
	-webkit-appearance: none;
	padding: .7rem 1rem;
	border: 0;
	background-color: #D6D6D6;
	margin: 0;
	border-radius: 0;
	font-size: 1rem;
}
span.select2-selection.select2-selection--single {
	border-radius: 0;
	border: 0;
	background-color: #D6D6D6;
	padding: .5rem .7rem;
	height: inherit;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 100%!important;
	padding-right: 40px;
}

/* Search */
.search-container .search-display {
	height: 0;
	overflow: hidden;
	opacity: 0;
	transition: opacity .5s;
}

.search-container .search-display form {
	margin: 0;
}

.search-container .search-display input {
	-webkit-appearance: none;
	padding: .3rem .5rem;
	border: 0;
	margin: 0;
	border-radius: 0;
}

.search-container.show-search .search-display {
	height: auto;
	opacity: 1;
}

.search-container.show-search .menu {
	height: 0;
	overflow: hidden;
}

.single .grid_form tr.logo_option {
	background-color: transparent;
}

.single .grid_form tr.logo_option select {
	width: 100%;
}

.single .grid_form tr.logo_option img {
	max-height: 150px;
	width: auto;
	display: block;
	margin: 15px;
}

#logo_option_preview {
	display: inline-block;
	background-color: #D6D6D6;
	margin-top: 10px;
}

.single .grid_form tr.logo_option td {
	padding-top: 10px;
	vertical-align: top;
}

.single .grid_form tr.logo_option td:last-child {
	min-height: 50px;
}


dl.variation dd p {
	margin: 0;
}

.woocommerce div.product div.images img {
	max-width: 100%;
	width: auto !important;
	margin: auto;
}


/* mobile responsiveness */

@media screen and (max-width:1100px) {
	.category .title h1 {
		font-size: 2em;
	}
	.single .entry {
		grid-template-columns: 100%;
	}
	.single .description {
		grid-column: 1 / 2;
		grid-row: 2 / 3;
	}
	.single .images {
		grid-column: 1 / 2;
	}
	.single .title {
		grid-column: 1 / 2;
	}
	.container .item {
		padding: 1em 1.5em;
	}
	.single .grid_form table {
		font-size: 12px;
	}
	.single .description .paragraph {
		font-size: 16px;
		padding: 1 3em;
	}
	.woocommerce-product-gallery__wrapper {
		display: grid;
		grid-template-columns: 75% 25%;
		grid-auto-flow: row;
	}
	.woocommerce-product-gallery__image {
		align-items: flex-end;
		grid-column: 2 / 3;
	}
	.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2) {
		width: 100%!important;
		padding:5px;
	}
	.woocommerce-product-gallery__image:first-child {
		grid-row: 1 / 100;
		grid-column: 1 / 2;
	}
	input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
		-webkit-appearance: none;
		margin: 0;
	}
	.single .grid_form td:first-child, .single .grid_form th {
		padding: 5px;
	}
	.single .grid_form td, .single .grid_form th {
		border: 1px solid #FFF;
	}
	.single .grid_form td .quantity .qty {
		font-size: 14px;
	}
	.woocommerce table.shop_table_responsive tr:nth-child(n) td, .woocommerce-page table.shop_table_responsive tr:nth-child(n) td {
		text-align: left!important;
	}
	.quantity, .product-sub-total {
		text-align: right!important;
	}
	.woocommerce table.shop_table td {
		padding: 6px!important;
		font-size: 14px;
		text-align: left!important;
	}
}
