.main.container {
	margin: 25px;
}

.main.container .ui.cart {
	flex-shrink: 0;
	flex-grow: 0;
}

#store-main {
	min-height: 100px;
}

/**
 * Force the loading spinner to stay near the top of the segments
 * so the user can actually see them and know something is happening.
 */
.ui.loading.segment:after {
	top: 40px !important;
}

.ui.form .fields {
	flex-wrap: wrap;
}

.ui.form .fields .field {
	margin-bottom: 15px !important;
}

.hidden-on-big-screen {
	display: none !important;
}

.cart-search.swiftbox {
	max-width: 250px;
	height: 35px;
}

.payment-form .form .fields {
	padding-top: 15px;
}

.faded {
	opacity: 0.5;
	pointer-events: none;
}

.ui.more-details {
	margin-top: 10px;
}

.ui.segment.cart-segment {
	min-width: 150px !important;
}

.ui.segment.checkout-segment {
	margin: 0;
	display: flex;
	flex-direction: column;
}

.ui.segment.checkout-segment .header {
	font-size: 1.5em;
	font-weight: bold;
	margin-bottom: 10px;
}

.ui.segment.checkout-segment > .totals-container,
.ui.segment.checkout-segment > .actions {
	text-align: right;
	margin: 3px;
}

.ui.segment.checkout-segment > .actions {
	margin-top: 10px;
}

.ui.segment.checkout-segment > .actions > .left {
	width: 50%;
	float: left;
	text-align: left;
}

.ui.segment.checkout-segment > .actions > .right {
	width: 50%;
	float: right;
}

.ui.segment.checkout-segment > .totals-container {
	font-size: 1.25em;
	margin: 5px 0;
}

.ui.segment.checkout-segment > .totals-container > .partial-payment-container > .partial-payment-total {
	width: 100px;
}

.totals-container {
	border-top     : 1px solid rgba(34,36,38,.15);
	border-bottom  : 1px solid rgba(34,36,38,.15);
	padding-top    : 1rem;
	padding-bottom : 1rem;
}

.fadeable {
	opacity: 0;
	transition: transform 500ms ease, opacity 500ms ease !important;
}

.fadeable.active {
	opacity: 1.0;
	transform: scale(1.0) translate3d(0,0,0);
}

.fadeable.inactive {
	opacity: 0.0;
	transform: scale(1) translate3d(0,0,0);
}

#outstanding-invoices-container .button {
	margin-left: 20px;
}

.overdue {
	font-weight: bold;
	color: red;
}

#pending-item-container .button {
	margin-left: 20px;
}

input ~ .hint {
	color: grey;
	margin-top: 5px;
}

.cart-item-addons {
	margin-top: 15px;
}

.addon.item {
	flex-direction: row !important;
}

.addon.item .controls {
	margin-right: 25px;
}

.addon.item .controls .button {
	padding: 5px !important;
}

.addon.item i.icon {
	font-size: 1.1em;
}

.shipping-form div.suggestion-button,
.shipping-form div.suggestion-button.loading {
	position: absolute !important;
	right: 0px;
	top: 1rem;
}

.messages {
	color: red;
}

.wallet-form-container .card-container {
	transform:scale(0.75);
}

.wallet-form-container .card-container .card {
    float: left;
    margin-top:15px;
	cursor:pointer;
}

.wallet-form-container .card-container .card.selected{
	border: solid #00ff45 5px;
    border-radius: 15px;
	margin-top:10px;
}


@media only screen and (max-width: 770px) {
	.hidden-on-small-screen {
		display: none !important;
	}

	.hidden-on-big-screen {
		display: initial !important;
	}

	.ui.form .fields .field {
		width: 100%;
		padding: 0 !important;
	}

	.cart-search.swiftbox {
		min-width: 100%;
	}

	.ui.large.message {
		font-size: 1em;
		padding: 10px;
	}

	.ui.horizontal.segments {
		border:none;
		padding:0;
		margin:0;
		border:none !important;
		box-shadow:none !important;
	}

	.ui.horizontal.segments > .segment {
		border-left: none;
	}

	.ui.segment.results-segment {
		padding:0;
	}

	.ui.segment.filters-segment {
		padding: 0;
		border: none;
		box-shadow: none;
	}

	.ui.segment.checkout-segment {
		padding: 0;
		border: none;
		box-shadow: none;
	}

	#outstanding-invoices-container .button {
		margin-left: 10px;
		padding: .5em 1em;
	}

	.ui.button.cart-remove-button {
		font-size: inherit;
	}

	.ui.container.checkout .ui.button {
		font-size: .9rem;
	}
}
