﻿/*Shopping Cart ------------------------------------------------------------------------------------*/
form a {
	cursor: pointer;
}

.ridepass {
	height: auto;
	padding: 20px 30px;
	margin-bottom: 30px;
	/*height: 400px;*/
	min-height: 400px;
	display: flex;
	flex-direction: column;
}

@media (min-width: 768px) {
	.ridepass {
		border: 1px solid lightgrey;
		background-color: #f5f5f5;
		border-radius: 5px;
		height: auto;
	}
}

@media (max-width: 767px) {
	.ridepass {
		border-bottom: 1px solid grey;
	}
}

.ridepass .btn-primary {
	margin-top: 5%;
	margin-bottom: 0px;
}

.ridepass h3, .ridepass h4 {
	color: #454545;
}

.ridepass h4 {
	position: absolute;
	margin-bottom: 0px;
	margin-top: 5%;
	left: 8%;
	font-size: 2.5rem;
}

.ridepass > .description{
	display: block;
	height: 165px;
	overflow: hidden;
}

.ridepass > div {
	display: block;
	height: 100px;
}

.ridepass a.collapsed:after {
	content: 'see more...';
}

.ridepass a:not(.collapsed):after {
	content: 'see less...';
}

.ridepass a.btn:not(.collapsed):after {
	content: none;
}

.row {
	height: auto;
	margin: 0;
}


span .btn-group-sm {
	border: none;
	background-color: white;
}

span button[disabled] {
	color: lightgray;
}

.cart input {
	width: 15%;
	text-align: center;
	border: none;
}

	.cart input::-webkit-outer-spin-button,
	.cart input::-webkit-inner-spin-button {
		display: none;
		-webkit-appearance: none;
		margin: 0;
	}

	.cart input[type=number] {
		-moz-appearance: textfield;
	}

.btn:focus {
	box-shadow: none;
}

select.form-control {
	border-color: #888C8C;
	box-shadow: 0 1px 2px rgb(15 17 17 / 15%) inset;
}

.checkoutSummary {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-content: stretch;
	align-items: flex-start;
	color: black;
	padding: 2em;
}

@media (max-width: 767px) {
	.checkoutSummary {
		padding: 15px;
	}
	select + select {
		margin-top: 4px;
	}
	.modal-content {
		min-width: initial;
	}
}

@media (min-width: 768px) {
	.checkoutSummary {
		background-color: #F5F5F5;
		box-shadow: 1px 1px 3px gray;
		border-radius: 5px;
		margin-bottom: 20px;
	}
	
	.expiration-controls {
		width: 100%;
	}
	.expiration-controls div {
		display: flex;
		gap: 4px;
	}
	.expiration-controls select:first-of-type {
		flex: 1;
	}
}

@media (min-width: 992px) {
	.checkoutSummary {
		min-height: 80vh;
	}
}

.buttonContainer {
	-ms-flex: 0 1 auto;
	-ms-flex-order: 0;
	-ms-flex-item-align: center;
	order: 0;
	flex: 0 1 auto;
	align-self: center;
	z-index: 0;
	text-align: center;
}

.checkoutSummary .itemDetails {
	color: black;
	font-weight: lighter;
}

.disclaimer {
	margin:30px 0 30px 0;
	padding: 2em;
    background-color: #cce7ff;
    color: #005fb3;
}

#itemTableHeader {
	background-color: #757575;
	color: white;
	font-size: larger;
	display: flex;
	flex-flow: row nowrap;
	margin-bottom: 20px;
	padding: 1% 0 1% 1%;
}

#shoppingCartSummary, #totalSummary {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-content: stretch;
	align-items: stretch;
	width: 100%;
	z-index: 0;
}

.scitemRow, .scSummaryRow {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-content: stretch;
	align-items: flex-start;
	width: 100%;
	font-size: 14px;
}

.scItemName, .scSummaryLabel {
	order: 0;
	flex: 1 1 auto;
	align-self: auto;
}

.scItemValue, .scSummaryValue {
	order: 0;
	flex: 0 1 auto;
	align-self: auto;
}

.scTotalRow {
	font-size: 24px;
	margin-top: 10px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-content: stretch;
	align-items: center;
	width: 100%;
}

.xs-checkout-summary {
	width: 100%;
}

@media (max-width: 767px) {
	.xs-checkout-summary {
		background-color: #e8f1fa;
		border-radius: 5px;
		padding: 2.5%;
		margin-bottom: 20px;
	}
}

.itemize {
	display: flex;
	-webkit-align-items: stretch;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: start;
	align-content: stretch;
	align-items: stretch;
}

@media (min-width: 992px) {
	.itemize {
		min-height: 80vh;
	}
}

.table-detail {
	order: 0;
	flex: 0 1 auto;
	align-self: stretch;
}

.disclaimer-div {
	order: 0;
	flex: 0 1 auto;
	align-self: stretch;
}

.deleteItem {
	border: none;
	background-color: white;
	font-size: 1.5em;
}

.subtotal {
	color: white;
}

	.subtotal .grandTotal {
		font-size: 1.5em;
	}

.ridepass sup {
	top: -0.25em;
}

#creditCartForm input {
	max-width: initial;
}

#errorWell p {
	color: red;
}

#purchaseButton .processing {
	display: none;
}
#purchaseButton[disabled] .processing {
	display: inline;
}

/* TODO: This input is a sizing MESS. There's gotta be a better way to do it. */
.itemQuantityInput {
	min-width: 40px;
	max-width: 60px;
}

#flexHeaderBox {
	height: 100px;
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-evenly;
}

#flexHeaderTitle {
	order: 1;
	margin: 0px;
}

#flexHeaderBack {
	order: 2;
	font-style: italic;
}

@media (max-width: 767px) {

	.quantity-controls .cart-interaction {
		background-color: #e8e8e8;
		border-radius: 0px;
	}

	.quantity-controls .itemQuantityInput {
		padding: 0px;
		border: 1px solid #f3f3f3;
		margin-inline: -4px -4px;
	}

	#flexHeaderBox {
		height: 70px;
		/* background-color: #0055a4; */
	}

	#flexHeaderTitle {
		order: 2;
		color: white;
		font-size: 20px;
	}

	#flexHeaderBack {
		order: 1;
		color: white;
	}
}

.checkout-label {
	display: inline-block;
	padding-left: 2px;
	font-weight: 700;
	margin-bottom: 0;
}

.checkout-input {
	background-color: #fff;
	height: 31px;
	padding: 3px 7px;
	line-height: normal;
	border: 1px solid #888C8C;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgb(15 17 17 / 15%) inset;
	outline: 0;
}

.checkout-section {
	padding-left: 20px;
}

.checkout-subsection {
	padding-left: 10px;
	margin-bottom: 5px;
}

	.checkout-subsection label {
		margin-bottom: 0;
	}

.checkout-column {
	float: left;
	width: 50%;
	padding: 10px;
}

.checkout-row:after {
	content: "";
	display: table;
	clear: both;
}

.checkout-section h4 {
	font-weight: bolder;
}

.checkout-column:last-child {
	padding: 10px 30px 10px 10px;
}

@media (max-width: 560px) {
	.checkout-column {
		float: none;
		width: 100%;
		padding: 0 10px 0 0;
	}
	.checkout-column:first-child {
		padding-right: 30px;
	}
	.checkout-column:last-child {
		padding-left: 0;
	}
}

.quantity-controls {
	height: min-content;
}

@media (min-width: 768px) {
	.sc-display-row {
		display: flex;
		flex-flow: row nowrap;
		align-content: normal;
		align-items: center;
	}

	.delete-cell {
		order: 5;
		flex: 0 1 auto;
		width: min-content;
	}

	.name-cell {
		order: 1;
		flex: 0 1 auto;
		width: 45%;
		font-weight: bolder;
	}

	.unitprice-cell {
		order: 2;
		width: 15%;
	}

	.quantitycontrols-cell {
		order: 3;
		flex: 0 1 auto;
		min-width: 100px;
		width: 15%;
	}

	.totalprice-cell {
		order: 4;
		width: 15%;
	}

	.column-breaker {
		order: 99;
		display: none !important;
	}
}

@media (max-width: 767px) {
	.sc-display-row {
		display: flex;
		flex-flow: column wrap;
		align-content: normal;
		justify-content: space-between;
		align-items: baseline;
		height: 120px;
	}

	.name-cell {
		order: 1;
		flex: 0 1 auto;
		width: 65%;
		max-width: 65%;
		font-size: larger;
		font-weight: bolder;
	}

	.unitprice-cell {
		order: 2;
		flex: 0 1 auto;
		width: fit-content;
	}

	.spacer-cell {
		order: 3;
		width: 0px;
		flex: 1 1 auto;
		max-height: 25%;
	}

	.totalprice-cell {
		order: 4;
		flex: 0 1 auto;
		width: fit-content;
		font-size: larger;
		font-weight: bolder;
	}

	.column-breaker {
		order: 5;
		flex-basis: 100%;
		width: 0;
	}

	.delete-cell {
		order: 6;
		align-self: flex-end;
		flex: 0 1 auto;
		width: min-content;
	}

	.quantitycontrols-cell {
		order: 7;
		align-self: flex-end;
		flex: 0 1 auto;
		margin-bottom: 10px;
		min-width: 80px;
		display: inline-flex;
		flex-flow: row nowrap;
	}

	.customhidden-xs {
		display: none !important;
	}
}

.pass-title {
	font-size: 150%;
}

.pass-description {
	opacity: .8;
	margin: 0;
}
div.description p{
	margin: 0;
}

.pass-section-title {
	font-weight: bold;
	color: #666;
	font-size: 200%;
}

.shopping-trash {
	color: #757575;
	margin-left: 20px;
}

.continue-shop {
	margin-top: 10px;
	margin-bottom: 10px;
}

.continue-btn-section {
	margin: 20px 0 20px 0; 
}

.empty-cart{
	font-size: x-large;
	opacity: .5;
	padding-bottom: 30px;
}

.empty-cart-section{
	padding: 100px;
	text-align: center;
}

.modal-content {
	width: 100%;
	margin: 0;
	padding: 0;
}

.modal-header {
	margin-bottom: 0;
	border-radius: 5px 5px 0 0;
}

.modal-sm {
	width: 600px;
}

@media (max-width: 767px) {
	.content-display {
		display: contents;
	}
}