/*
 * Checkout
*/

.woocommerce-notices-wrapper {
	margin: 3em 0;
}

.woocommerce-message {
	border-bottom: 2px solid #edc900;
	padding-bottom: 1em;
	margin-bottom: 3em;
}

.woocommerce-message .button {
	margin-right: 1em;
}

h1 {
	margin-bottom: 0.7em;
}

h2 {
	/*font-weight: 450;*/
	color: #000;
	margin-bottom: 1em;
}

.woocommerce-billing-fields__field-wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

.form-row.half-row {
	width: 50%;
}

.form-row-wide {
	width: 100%;
}

.form-30 {
	width: 25%;
}

.form-40 {
	width: 37.5%;
}

.checkout-content .form-row {
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	flex-direction: column;
	margin: 0 0 10px;
}

/*.form-row.woocommerce-validated {
	display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    margin-top: 10px;
}*/
.form-row.woocommerce-validated input[type="checkbox"] {
	margin-top: 5px;
}

.form-row-first {
	padding-right: 15px;
}

/*.form-row-last {
	padding-left: 15px;
}*/

.form-row input {
    padding: 15px 18px;
    border: 2px solid #e8e8e8;
    background: #fbfbfb;
    font-family: "Space Grotesk", sans-serif;
    font-size: 17px;
    line-height: 1.3;
    color: #a1a1a1;
	width: 100%;
}

/*
#billing_country_field,
#billing_postcode_field {
	padding-right: 15px;
}*/

/*#billing_city_field {
	padding-left: 15px;
}*/

/*#billing_state_field {
	padding: 0 15px;
}*/

.form-row label {
	font-family: "Space Grotesk", sans-serif;
	margin-bottom: 0.43em;
}

.select2-container--default .select2-selection--single {
	border: 2px solid #e8e8e8;
    background: #fbfbfb;
    font-family: "Space Grotesk", sans-serif;
	border-radius: 0;
	height: 56px;
	padding: 0.3em;
	display: flex;
    align-items: center;
}

.select2-container .select2-selection--single .select2-selection__rendered {
	padding-right: 38px;
	font-family: "Space Grotesk", sans-serif;
	color: #a1a1a1;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 100%;
	width: 38px;
	top: 2px;
	background: #000;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-color: #fff transparent transparent transparent;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
	border-color: transparent transparent #fff transparent;
}

#payment {
	margin: 1em 0;
}

.woocommerce-form-coupon-toggle {
	display: none;
}

.checkout_coupon.woocommerce-form-coupon {
	display: block !important;
}

.checkout_coupon.woocommerce-form-coupon p:not(.form-row) {
	display: none;
	text-align: left;
}

.checkout_coupon.woocommerce-form-coupon .form-row-first {
	width: 74%;
	float: left;
	padding-right: 5px;
}

.checkout_coupon.woocommerce-form-coupon .form-row-last {
	width: 26%;
	float: left;
	padding-left: 5px;
}

.gray-block {
	background: #f5f5f5;
	height: 100%;
	padding: 2em;
}

.gray-block .shop_table.woocommerce-checkout-review-order-table {
	background: #f5f5f5;
	opacity: 1;
	width: 100%;
}

.gray-block .shop_table.woocommerce-checkout-review-order-table tr > :last-child {
	text-align: right;
}

.gray-block .shop_table.woocommerce-checkout-review-order-table thead {
	display: none;
}

.checkout_coupon.woocommerce-form-coupon .form-row-first input {
	font-family: "Space Grotesk", sans-serif;
    font-size: 0.93em;
    padding: 0.78em 0.4em;
    background: transparent;
    border: 1px solid #222222;
}

.checkout_coupon.woocommerce-form-coupon .form-row-last button {
	max-width: 5em;
    background: #000;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #fff;
}

.checkout_coupon.woocommerce-form-coupon .form-row-last button:hover {
	background: #ffdd00;
    color: #000;
    text-decoration: none;
}

.woocommerce-remove-coupon {
	color: #edc900;
}

.product-name,
.product-total {
	padding-bottom: 0.45em;
}

.order-total {
	border-top: 1px solid #DDDDDD;
}

.order-total > * {
	padding-top: 10px;
}

.cart-subtotal > * {
	padding-top: 5px;
}

.product-total {
	padding-left: 0.5em;
}

.coupon-form td {
	padding-top: 1em;
}

#order_review_heading {
	font-weight: 700;
    text-align: center;
    color: #000;
    font-family: "Space Grotesk", sans-serif;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.wc_payment_methods.payment_methods.methods li {
	background: #FFFFFF;
	-webkit-box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.08);
	        box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.08);
	margin-bottom: 1.5em !important;
	padding: 1.5em 1.5em 0.9em 2.5em !important;
}

.wc_payment_methods.payment_methods.methods li::before {
	content: none !important;
}

.wc_payment_method label {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	align-items: center;
	position: relative;
	font-weight: 600;
	font-size: 1.14em;
	color: #000;
}

/*.wc_payment_method label::before {
	content: "";
	display: block;
	height: 0.7em;
	width: 0.7em;
	background: white;
	position: absolute;
	left: -1.5em;
	top: 0.3em;
	outline: 2px solid #1C68AF;
}*/

.wc_payment_method input#payment_method_sagepaymentsusaapi, 
.wc_payment_method input#payment_method_paypal, 
.wc_payment_method input#payment_method_stripe {
	position: absolute;
    left: 1.3em;
    top: 1.9em;
}

.wc_payment_methods.payment_methods.methods li input:checked + label::before {
	border: 3px solid #fff;
	background: #edc900;
}

/*.wc_payment_method input {
	display: none !important;
}*/

#payment a {
	color: #edc900;
}

.woocommerce-privacy-policy-text {
	margin-bottom: 2em;
}

#place_order.button {
	max-width: 14em;
}

.payment-bottom {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	align-items: center;
}

.payment-bottom a.payment-bottom-link {
	font-family: "Space Grotesk", sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    color: #000 !important;
    text-decoration: none;
}
.payment-bottom a.payment-bottom-link:hover {
    color: #edc900 !important;
}

.payment-bottom-link svg {
	margin-right: 0.5em;
}

.checkout-content {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 66.66% 33.33%;
	grid-template-columns: 66.66% 33.33%;
	margin: 0 -15px;
	    grid-template-areas: 'billing details' 'payment details';
}

.billing-block {
	-ms-grid-row: 1;
	-ms-grid-column: 1;
	grid-area: billing;
}

.payment-block {
	-ms-grid-row: 2;
	-ms-grid-column: 1;
	grid-area: payment;
}

.details {
	-ms-grid-row: 1;
	-ms-grid-row-span: 2;
	-ms-grid-column: 2;
	grid-area: details;
}

.billing-block,
.payment-block,
.details {
    padding-left: 15px;
    padding-right: 15px;
}

#shipping_method li {
	padding-left: 5px;
}

#shipping_method input {
	margin-right: 0.5em;
}

#shipping_method label {
	display: inline;
}

#wc-sagepaymentsusaapi-cc-form .form-row.form-row-first.woocommerce-validated {
	padding: 0;
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}

.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
	margin-bottom: 3em;
	text-align: center;
	font-size: 1.1em;
	width: 100%;
}

.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received span {
	font-size: 1.8em;
	font-weight: 700;
	display: block;
	text-transform: uppercase;
	line-height: 1.3;
}

.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
	width: 80%;
	display: flex;
	flex-wrap: wrap;
	padding: 0;
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order-details {
	order: 1;
	width: 100%;
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order-details h2 {
	margin-bottom: 15px;
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-customer-details .col-1,
.woocommerce-checkout.woocommerce-order-received .woocommerce-customer-details .col-2 {
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	max-width: 100%;
	padding: 0;
}
.woocommerce-checkout.woocommerce-order-received .woocommerce-customer-details .col-1,
.woocommerce-checkout.woocommerce-order-received .woocommerce-customer-details .col-2 {
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	max-width: 100%;
	padding: 0;
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-customer-details h2 {
	margin-bottom: 15px;
}

.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li {
	padding-left: 0 !important;
	-ms-flex: 0 0 33.33%;
	flex: 0 0 33.33%;
	max-width: 33.33%;
	line-height: 1.7;
	font-family: "Space Grotesk", sans-serif;
	text-transform: uppercase;
	color: #000;
    font-size: 1.25em;
    font-weight: 700;
	margin-bottom: 0.8em !important;
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-customer-details {
	width: 20%;
}

.woocommerce-checkout.woocommerce-order-received .woocommerce-order .woocommerce-customer-details {
	width: 100%;
}
.woocommerce-checkout.woocommerce-order-received .woocommerce-order .woocommerce-customer-details .woocommerce-columns.addresses {
	display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2em;
}

.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li:before {
	content: none!important;
}

.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li strong {
	display: block;
	font-weight: 400;
	font-family: 'Open Sans';
	text-transform: none;
	font-size: 0.82em;
}

.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li.woocommerce-order-overview__date.date {
	order: 1;
}

.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li.woocommerce-order-overview__total.total {
	order: 1;
}

.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received::before {
	content: "";
	display: block;
	width: 3.2em;
	height: 3em;
	background: url(/wp-content/uploads/2021/10/checked-1.svg);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	margin: auto auto 1em;
}


/*Thank you table changes*/
.woocommerce-table.woocommerce-table--order-details.shop_table.order_details {
	width: 100%;
}

.woocommerce-table__line-item.order_item {
  background: #FFFFFF;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.08);
}

.sku_wrapper {
	font-family: "Space Grotesk", sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #919191;
}

.woocommerce-table__product-name.product-name a {
	font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
    display: block;
    margin-bottom: 0.2em;
    text-transform: uppercase;
    color: #000;
}

.woocommerce-table__product-total.product-total {
	font-weight: bold;
	font-size: 1.43em;
	color: #3D4144;
}

.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tr td:last-child,
.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tr th:last-child  {
	text-align: right;
}

.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr:not(:last-child) {
	border-bottom: 1px solid #EEEEEE;
}

.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr th {
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: 1.29em;
	line-height: 2.33;
	text-transform: uppercase;
	color: #000;
}

.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr:last-child th {
	font-weight: 700;
}

.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr:last-child {
	font-weight: 700;
}

.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr td {
	font-size: 1.14em;
	color: #000;
}

.woocommerce-table.woocommerce-table--order-details.shop_table.order_details .woocommerce-table__line-item.order_item td {
	padding: 10px;
}
.woocommerce-table.woocommerce-table--order-details.shop_table.order_details .woocommerce-table__line-item.order_item td.product-name {
	display: flex;
    align-items: center;
}

.ts-product-image {
	display: inline-block;
	max-width: 13.5em;
	vertical-align: middle;
	padding-right: 1.5em;
}

.woocommerce-table.woocommerce-table--order-details.shop_table.order_details .empty-row:not(:first-child) td {
	padding: 0.5em;
}

#customer_details .customer_details-shipping {
	margin-top: 30px;
}
#customer_details .customer_details-shipping h3#ship-to-different-address {
	font-size: 20px;
}

.customer_details-billing .enhanced_select select, 
.customer_details-shipping .enhanced_select select {
	font-family: "Space Grotesk", sans-serif;
    border-radius: 0;
    padding: 0.5em;
}
a.thmaf-add-new-address-link {
	color: #edc900;
    font-weight: bold;
}
.select2-container {
	width: 100% !important;
}

fieldset, fieldset legend, table.multi-shipping-table:not( .has-background ) tbody tr:nth-child(2n) td {
    background-color: transparent;
}

.customer_details-billing .enhanced_select select#thmaf_billing_alt, 
.customer_details-shipping .enhanced_select select#thmaf_shipping_alt, 
.customer_details-billing .enhanced_select select.thwma-cart-billing-options, 
.customer_details-shipping .enhanced_select select.thwma-cart-shipping-options {
	padding: 15px 18px;
    border: 2px solid #000;
    font-family: "Space Grotesk", sans-serif;
    font-size: 17px;
    line-height: 1.3;
	width: 100%;
}

table.multi-shipping-table {
    border: 1px solid #d3d3d3;
}
table.multi-shipping-table tbody {
    font-family: "Space Grotesk", sans-serif;
}
table.multi-shipping-table tbody > tr > th {
    padding: 10px 20px;
}
table.multi-shipping-table p.product-thumb-name {
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #000;
}
table.multi-shipping-table p.product-thumb-name a {
    color: #000;
	font-size: 18px;
    line-height: 22px;
}
table.multi-shipping-table p.product-thumb-name a:hover {
	text-decoration: underline;
}


@media (max-width: 1100px){
.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
    width: 100%;
}
}

@media (max-width: 991px){
	.checkout-content {
		-ms-grid-columns: 100%;
		grid-template-columns: 100%;
		    grid-template-areas: 'billing' 'details' 'payment';
	}

	#order_review {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
	}

	.form-30,
	.form-40 {
		width: 50%;
	}

	#billing_city_field {
		padding-right: 15px;
		padding-left: 0;
	}

	#billing_postcode_field {
	    padding-left: 15px;
	    padding-right: 0;
	}

	#billing_state_field {
		padding-right: 0;
	}

	#customer_details {
		margin-bottom: 1em;
	}

	#billing_state_field .woocommerce-input-wrapper {
		max-width: 100%;
	}
	.billing-block {
		-ms-grid-row: 1;
		-ms-grid-column: 1;
	}
	.payment-block {
		-ms-grid-row: 3;
		-ms-grid-column: 1;
	}
	.details {
		-ms-grid-row: 2;
		-ms-grid-row-span: 1;
		-ms-grid-column: 1;
	}

	.wc_payment_method input {
		left: 2.4em;
		top: 2.8em;
	}

	.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
		width: 100%;
	}

	.woocommerce-checkout.woocommerce-order-received .woocommerce-customer-details {
		width: 100%;
	}

	.woocommerce-checkout.woocommerce-order-received .woocommerce-columns.woocommerce-columns--2.woocommerce-columns--addresses.col2-set.addresses {
		display: flex;
	}

	.woocommerce-checkout.woocommerce-order-received .woocommerce-customer-details .col-1, 
	.woocommerce-checkout.woocommerce-order-received .woocommerce-customer-details .col-2 {
		padding: 0;
		-ms-flex: initial;
		flex: initial;
	}
}

@media (max-width: 767px) {
.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li {
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	max-width: 100%;
}
.woocommerce-table.woocommerce-table--order-details.shop_table.order_details .woocommerce-table__line-item.order_item td.product-name {
    flex-direction: column;
    gap: 10px;
}
.customer_details-billing .enhanced_select select#thmaf_billing_alt, .customer_details-shipping .enhanced_select select#thmaf_shipping_alt, .customer_details-billing .enhanced_select select.thwma-cart-billing-options, .customer_details-shipping .enhanced_select select.thwma-cart-shipping-options {
    max-width: 100%;
    width: 100%;
}
.form-row.half-row {
    width: 100%;
}
.form-row-first {
    padding-right: 0;
}
#billing_city_field {
    padding-right: 0;
}
#billing_postcode_field {
    padding-left: 0;
}
}

@media (max-width: 480px){

	.woocommerce-notices-wrapper {
		margin: 3em 0;
	}

	.wc_payment_method label img {
		margin-left: 0.3em;
	}

	.woocommerce-checkout.woocommerce-order-received .woocommerce-columns.woocommerce-columns--2.woocommerce-columns--addresses.col2-set.addresses {
		display: block;
	}

}