.hidden {
    display: none;
}


/* Utility Links block */

.store-cart-empty .store-cart-link {
    display: none;
}


/* Loading/Modal */

.store-whiteout {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}


/* Cart Modal container */

.store-product-modal,
.store-cart-modal {
    background: #fff;
    position: relative;
    top: 15%;
    width: 100%;
    max-width: 800px;
    max-height: 75%;
    overflow: auto !important;
    margin: 0 auto !important;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    padding: 3em !important;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.store-cart-modal table#cart {
	width: 100% !important;
}

.store-cart-modal table#cart td.store-cart-list-item-price,
.store-cart-modal table#cart td.checkout-cart-product-name {
	padding: 1em !important;
}

.store-cart-modal table#cart td.store-cart-list-item-price {
	text-align: right !important;
}
.store-cart-modal table#cart td.store-cart-list-product-qty {
	text-align: center !important;
}

.store-cart-modal table#cart td.store-cart-list-product-qty input {
	font-size: 1em !important;
	width: 5em !important;
}

.store-cart-modal table#cart td.store-cart-list-product-qty a.store-btn-cart-list-remove {
	padding: 0.5em !important;
	vertical-align: middle !important;
}

.store-btn-cart-modal-checkout,
.store-btn-cart-modal-continue {
	font-size: 1.1em !important;
}

.store-modal-exit {
    position: absolute;
    font-size: 20px;
    line-height: 20px;
    right: 5px;
    top: 2px;
    color: #ccc;
    cursor: pointer;
}

.store-modal-exit:hover {
    color: #888;
    text-decoration: none;
}


/* Spinner */

.store-spinner-container {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -33px;
    margin-left: -33px;
    background: transparent;
    padding: 20px;
}

.store-spinner {
    min-width: 26px;
    min-height: 26px;
}

.store-spinner:before {
    content: '...';
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -14px;
    margin-left: -14px;
    font-size: 36px;
    line-height: 16px;
    font-family: arial, sans-serif;
    /* Non animation fallback */
}

.store-spinner:not(:required):before {
    content: '';
    border-radius: 50%;
    border: 4px solid rgba(0, 0, 0, .2);
    border-top-color: rgba(0, 0, 0, .6);
    animation: cs-spinner .6s linear infinite;
    -webkit-animation: cs-spinner .6s linear infinite;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

@keyframes cs-spinner {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes cs-spinner {
    to {
        -webkit-transform: rotate(360deg);
    }
}


/* Checkout Page Component Visibility */

.store-checkout-form-group-body {
    display: none !important;
}

.store-checkout-form-group-summary {
    display: none !important;
}

.store-checkout-form-group-complete .store-checkout-form-group-summary {
    display: block !important;
}

#store-checkout-form-group-signin .store-checkout-form-group-body {
    display: block !important;
}

.store-active-form-group .store-checkout-form-group-body {
    display: block !important;
}

.store-checkout-code-form {
    display: none;
}

.store-cart-page .store-cart-product-qty input {
    display: inline-block;
}

.store-qty-container {
    min-width: 110px;
}

.store-qty-container input {
    max-width: 120px;
}

.store-checkout-page {
	overflow: hidden;
}

.store-checkout-cart-view {
	width: 40%;
	float: left;
}

.store-checkout-form-shell {
	width: 55%;
	float: right;
}

.store-checkout-form-shell label,
.store-checkout-form-shell p,
.store-checkout-form-shell input[type="radio"] {
	padding: 0 !important;
	margin: 0 0 0.5em 0 !important;
}

.store-shipping-details {
	display: inline-block !important;
}

.store-shipping-details-label {
	font-size: 1em !important;
}

.store-checkout-form-group-summary {
	border: 1px solid #888;
	border-radius: 1em;
}

.store-checkout-form-group-summary .card-header {
	background-color: #ccc;
	border-radius: 0.8em;
	font-size: 1.5em;
	padding: 0.2em 0.6em !important;
	cursor: pointer;
}

.store-checkout-form-group-summary .card-body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-in-out;
}

.store-checkout-form-group-summary .card-body.expanded {
	max-height: 50em;
}

.store-checkout-form-group-summary .card-body label {
	font-weight: bold;
	padding-left: 1em !important;
}

.store-checkout-form-group-summary .card-body p {
	padding-left: 2em !important;
}

@media screen and (max-width: 768px) {
    .store-cart-page .store-cart-page-cart tbody td .form-control {
        width: 20%;
        display: inline !important;
    }
}

.store-cart-modal-slide {
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    top: 0 !important;
    max-height: none !important;
    height: 100%;
    margin-right: -800px !important;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.store-cart-modal-slide.store-cart-modal-active {
    margin-right: 0 !important;
}

.store-cart-list-thumb img {
    max-width: 100%;
}
