@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700');

/* Customer styling */
.page-my-account main {
	padding-bottom: 30px;
}

section#login, 
section#customer,
section#customer-details,
section#customer-notifications,
section#customer-loyalty {
	padding: 30px 15px 20px;
	max-width: 500px;
	margin: 0rem auto 0;
	text-align: left;
}

section#customer,
section#customer-details,
section#customer-notifications {
	padding: 0px;
	padding-bottom: 20px;
}

.customer-auth {
	margin: 0 0 10px 0;
	padding: 10px;
	border: 1px solid;
}

.customer-auth p {
	margin-top:2px;
	margin-bottom:2px;
}

.customer-auth-error {
	background-color: #AA3838;
	color: var(--secondary-color);
	font-weight: 400;
	position: relative;
}

div.header-container {
	height: 140px;
	padding: 60px 0 0 20px;
}

div.header-container-text {
	font-size: 22px;
	font-weight: 500;
	color: #FFFFFF;
}

div.customer-greeting {
	text-align: center;
}

div.customer-greeting-hi {
	font-size: 15px;
    padding: 25px 0 2px 0;
}

div.customer-greeting-name {
	font-size: 20px;
    padding: 2px 0 10px 0;
}

/* Login */
#login .forgot-password-container {
	display: flex;
	justify-content: space-around;
	padding: 20px 0;
}

#login .forgot-password-link {
	text-decoration: none;
}

#login p.no-account {
	text-align: center;
	font-size: 18px;
	margin: 0;
}

/*#login p.no-account {
    display: inline-block;
    position: relative;
}

#login p.no-account::after,
#login p.no-account::before {
    content: "";
    position: absolute;
    height: 1px;
    width: 50%;
    top: 50%;
    right: 100%;
    background: black;
}
#login p.no-account::after { left: 100%; }*/

/* My Account */
div.customer-menu ul li {
	float: none;
    margin-left: unset;
    box-shadow: inset 0px 1px 0px #E8E8E8;
    border: none;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0px 10px 0px 15px;
    height: 50px;
	background-color: #FEFEFE;
	border-left: 1px solid #E8E8E8;
	border-right: 1px solid #E8E8E8;
}

div.customer-menu li.spacer {
	margin-bottom: 25px;
	box-shadow: inset 0px -1px 0px #E8E8E8, inset 0px 1px 0px #E8E8E8;
}

a#delete_account, #delete_account i {
	color: #D20000;
}

div.customer-menu a {
	font-size: 16px;
    font-weight: normal;
    color: #000000;
    width: inherit;
	height: 100%;
    display: inherit;
    justify-content: inherit;
	text-decoration: none;
}

div.customer-menu-text {
	width: inherit;
	display: inherit;
	justify-content: inherit;
	margin-top: 3px;
	padding-left: 10px;
}

div.customer-menu-chevron {
	width: 13px;
	margin-top: 2px;
	margin-right: 10px;
	padding: 12px 0 0 0;
}

div.customer-menu li {
	width: 100%;
}

div.customer-menu li a.disabled {
	opacity: 40%;
	pointer-events: none;
  	cursor: default;
}

div.customer-menu-text-container {
	display: flex;
	flex-direction: row;
	padding: 12px 0 0 0;
}

div.customer-menu-icon {
	width: 18px;
	margin-top: 3px;
}

.customer-information-cards {
	width: 100%;
	margin: 0 auto;
	font-family: Roboto, 'sans-serif';
}

.customer-card {
	width: 90%;
	display: flex;
	flex-wrap: wrap;
	margin: 20px auto;
	box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.customer-card.redemption-card,
.customer-card.address-card {
	background-color: #FFFFFF;
}

.customer-card.account-info-credit-card {
	flex-direction: column;
	border-radius: 5px;
	background-color: var(--accent-color);
	color: #FFFFFF;
	padding: 20px;
}

.customer-card .customer-info.header p {
	margin: 0;
	padding: 0;
}

.customer-info {
	display: flex;
}

.customer-info.header {
	flex-direction: column;
	text-align: center;
}

.customer-info.footer {
	flex-direction: row;
	justify-content: space-between;
	padding: 20px 0 0 0;
    font-size: 12px;
}

.customer-info .name {
	font-size: 20px;
	margin-bottom: 5px;
}

.customer-info .group {
	font-size: 15px;
}

.customer-balances {
	display:  flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 20px;
}

.customer-balance {
	display: flex;
	flex-direction: column;
}

.customer-balance.balance {
	text-align: left;
}

.customer-balance.points {
	text-align: right;
}

.customer-balance .text {
	font-size: 15px;
}

.customer-balance .amount {
	font-size: 25px;
	font-weight: bold;
}

.customer-balance .info {
	font-size: 12px;
}

.customer-card .information {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	font-size: 1.1rem;
	padding: 15px 10px 15px 10px;
}

.customer-card .balance-information {
	width: 100%;
    font-size: 16px;
    padding: 15px 15px 12px 15px;
}

.account-number {
	font-size: 0.75rem;
}

.customer-card-controls {
	width: 100%;
	border-top: 1px solid var(--accent-color); 
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 0;
	margin: 0 5px;
}

.btn-customer-action,
.btn-customer-action:focus,
.btn-customer-action:hover {
	width: 100%;
	height: 2.5rem;
	background-color: #FFFFFF;
	font-size: 15px;
	color: var(--accent-color);
	border-right: none;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	cursor: pointer;
}

.btn-customer-action:disabled {
    opacity: 40%;
    pointer-events: none;
    cursor: default;
}

.btn-customer-action > div {
	width: 100%;
	display: flex;
	flex-direction: row;
	margin: 0 auto;
	justify-content: center;
}


.btn-customer-action .button-text {
	width: auto;
}

.btn-customer-action .svg-icon {
    width: 12px;
	padding: 2px 0 0 0;
	margin: 0 5px 0 0;
}

.btn-spacer {
	width: 0;
	padding: 0;
	margin: 5px 1px 5px 1px;
	border-left: 1px solid var(--accent-color);
}

.details-container {
	width: 90%;
	margin: 30px auto 0 auto;
	font-family: Roboto, 'sans-serif';
}

.details-container input {
	margin: 0 0 20px 0;
}

.details-container .btn {
	margin: 0;
}

.customer-details-form-error {
	display: none;
}
/* END */

/* My Orders */
.page-my-orders .topheader .left-wrap #back {
	display: block;
	opacity: 1;
}

div.customer_orders_container h2, div.customer_tickets_container h2 {
	font-weight: normal;
	font-size: 20px;
	margin: 30px 0 -10px 25px;
}
div.customer_orders_container .loading, div.customer_tickets_container .loading {
	margin: 26px 20px 30px 20px;
}
div.customer-order-card, div.customer-ticket-card {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;

	background-color: #FFF;
	box-shadow: 0px 2px 4px #0000001A;

	width: 90%;
	margin: auto;
	margin-top: 20px;
	margin-bottom: 20px;
}
div.customer-order-card p, div.customer-ticket-card p {
	margin: 2px;
}
div.customer-order-card div.left-side p, div.customer-order-card div.right-side p, div.customer-ticket-card div.left-side p, div.customer-ticket-card div.right-side p {
	display: inline-block;
	vertical-align: middle;
}
div.customer-order-card div.left-side, div.customer-ticket-card div.left-side {
	padding: 15px 0 15px 15px;
}
div.customer-order-card div.right-side, div.customer-ticket-card div.right-side {
	padding: 15px 15px 15px 0;
	width: 125px;
}
div.customer-ticket-card div.right-side {
	width: 140px;
}
div.customer-order-card svg, div.customer-ticket-card svg {
	width: 15px;
	height: 15px;
	display: inline-block;
	vertical-align: middle;
	margin-right: 5px;
}

#load_more_orders, #load_more_tickets {
	display: none;
	width: 90%;
	margin: auto;
}
#place_an_order, #buy_a_ticket, #try_again {
	margin-top: 30px;
}
.no_orders, .no_tickets {
	text-align: center;
	margin: 30px 20px 30px 20px;
}
.btn-customer-action:disabled {
	opacity: 40%;
	pointer-events: none;
	cursor: default;
}

#customer-order {
	max-width: 500px;
	margin: 0rem auto 0;
}
#customer-order .order-table {
	margin-bottom: 20px;
}
#customer-order #order_unsuccessful_message {
	padding-bottom: 20px;
}
#customer-order section.order-confirmation {
	padding: 30px 20px 20px;
}
/* END */

/* Customer Tickets */
.page-my-tickets .topheader .left-wrap #back {
	display: block;
	opacity: 1;
}
.customer-ticket {
	width: 95%;
	max-width: 400px;
	margin: 10px auto;
	border-radius: 20px;
	box-shadow: 0 3px 6px 0 #0000001a;
}
.customer-ticket .qrcode-container {
	background-color: var(--accent-color);
	border-bottom-right-radius: 140px;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 25px;
	color: #fff;
}
.customer-ticket .qrcode-container img {
	height: 200px;
	border-radius: 10px;
}
.customer-ticket .qrcode-container h2, .customer-ticket .qrcode-container h3 {
	flex-basis: 100%;
	text-align: center;
	font-weight: normal;
}
.customer-ticket .qrcode-container h2 {
	font-size: 20px;
	margin: 5px;
}
.customer-ticket .qrcode-container h3 {
	font-size: 16px
}
.customer-ticket .qrcode-container span {
	font-size: 10px;
	margin: 5px;
}
.customer-ticket .details {
	padding: 20px 45px;
}
.customer-ticket .details span {
	display: flex;
	justify-content: space-between;
	
}
.customer-ticket .details span p {
	margin: 9px 0;
}
div.customer_tickets_container p.event_dates {
	margin: 15px 0 10px 25px;
	font-size: 14px;
}

.tabs {
	display: flex;
	color: var(--accent-color);
	background-color: #FFF;
	box-shadow: 0px 3px 6px #00000005;
}
.tabs div {
	padding: 16px;
	flex-grow: 1;
	text-align: center;
	cursor: pointer;
}
.tabs div.selected {
	color: #333333;
	border-bottom: 2px solid #333333;
}
/* END */

/* order_table_view */
.customer-points-accrued-row th {
	padding: 20px 0;
	border-top: 1px solid #C7C7C7;
}

.customer-points-accrued-container {
	display: flex;
	flex-direction: row;
}

.customer-points-accrued-text {
	margin-left: 6px;
}

/* END */

/* CART */
.btn-loyalty-redemption {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	background-color: #EFEFEF;
	padding: 15px 14px 15px 14px;
	margin-bottom: 20px;
	width: 100%;
	font-size: 16px;
    cursor: pointer;
}

.loyalty-balances .customer-card {
	width: 100%;
}

.balance-information .balances {
	margin-top:10px;
}

.balances .balance {
	display: flex;
	flex-direction: row;
    font-size: 14px;
    margin-bottom: 3px;
}

#input-points-entry {
	padding: 16px 15px 12px 15px;
}

.loyalty-balances p {
	margin: 0;
}

.loyalty-balances p.new-subtotal {
	text-align: right;
}

.balance-information .icon-16px {
	padding-top: 1px;
}

.select-address-card.unselected .fa-check {
	color: white;
}

.select-address-card .fa-check {
	font-size: 26px;
	padding: 12px;
	color: var(--accent-color);
	border-radius: 5px;
	background-color: #EFEFEF;
}

.select-address-card.disabled .information {
	opacity: 0.4;
}

a.select_address {
	float: right;
	text-decoration: none;
	padding-top: 3px;
}

#saved_address>h1 {
	display: inline;
}

.select-address-card .disabled-message {
	display: none;
	width: 100%;
	text-align: center;
	margin: -15px 0 16px 0;
	color: red;
	padding: 0 10px 0 10px;
}

.select-address-card.disabled .disabled-message {
	display: unset;
}
/* END */

/* Customer notifications */
#customer-notifications div.setting {
	padding: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #FFF;
	border: 1px solid #EEE;
	border-top: none;
}
#customer-notifications div.setting:nth-child(2) {
	margin-top: 20px;
	border-top: 1px solid #EEE;
}
#customer-notifications div.setting:last-child {
	margin-bottom: 20px;
}
#customer-notifications label {
	font-size: 18px;
	padding: 0;
}
#customer-notifications p.desc {
	margin: 0;
	margin-top: 10px;
}
/* END */

/* Customer loyalty card */
section#customer-loyalty {
	padding: 8px;
	padding-top: 18px;
	height: calc(var(--vh, 1vh) * 100 - 75px);
	min-width: 320px;
	min-height: 650px;
}

div.loyalty-card {
	position: relative;
	width: 99%;
	height: 100%;
	margin: auto;
	border-radius: 10px;
	padding: 30px;
	background-color: var(--accent-color);
	color: #FFF;
	text-align: center;
}

div.loyalty-card h1 {
	font-size: 25px;
}

div.loyalty-card img {
	min-height: 200px;
	min-width: 200px;
	height: 32%;
	width: auto;
	margin: 20px;
	border-radius: 10px;
}

div.loyalty-card div.customer-name {
	border-top: 1px solid #FFF;
	border-bottom: 1px solid #FFF;
	padding: 20px;
	margin: 20px 0;
}

div.loyalty-card div.customer-name h2 {
	font-size: 20px;
	font-weight: normal;
}

div.loyalty-card div.customer-points-and-balance {
	display: flex;
	justify-content: center;
}

div.loyalty-card div.customer-points-and-balance.both {
	justify-content: space-between;
}

div.loyalty-card p {
	margin: 0;
}

div.expiry {
	position: absolute;
	bottom: 30px;
	left: 30px;
	width: calc(100% - 60px);
}

div.expiry #countdown_text {
	opacity: 0;
}

.membership-details {
	display: flex;
	flex-direction: column;
}

.membership-expiry-container {
	background-color: #FFFFFF;
	text-align: center;
	border: 1px solid #EEEEEE;
}

.membership-days-remaining {
	font-size: 40px;
	font-weight: bold;
	color: #49C883;
	margin-right: 2px;
}

.membership-days-remaining.red {
	color: #FA7474;
}

.membership-days-remaining.red.expired {
	font-size: 30px;
}

.membership-expiry-date {
	font-size: 14px;
	color: #929090;
}

.customer-membership-container {
	padding: 20px 20px 60px 20px;
}

.customer-membership-container .membership-plu {
	display: flex;
	flex-wrap: wrap;
	background-color: #FFFFFF;
	box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
	margin: 0 auto 20px auto;
}

.membership-plu .btn {
	margin: 0px 10px 10px 10px;
}

.sweet-alert.account-delete-confirmation button.confirm {
	background-color: #D20000 !important;
    border: 1px solid #D20000;
}

.sweet-alert.account-delete-confirmation input {
	appearance: auto;
    -moz-appearance: auto;
	height: auto;
	width:auto;
	margin:0 10px 0 0;
}

.sweet-alert.account-delete-confirmation fieldset {
	margin: 0;
	padding: 0;
}

.sweet-alert.account-delete-confirmation label {
	display:flex;
	justify-content: center;
	align-items: center;
}

/* Customer Balance Topup Styles*/
.balance-topup-preset-groups {
	gap: 10px;
	display: flex;
}

.balance-topup-preset-groups .btn-secondary {
	background-color: transparent;
}

.balance-topup-preview {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
}

.balance-topup-preview .new-balance {
	text-align: end;
}

.balance-topup-preview .current-balance {
	display: flex;
	align-items: start;
	flex-direction: column;
}

.balance-topup-preview .balance-value {
	text-align: end;
}

.balance-topup-selector {
	margin-top: 20px;
	display: flex;
	justify-content: space-between;
}

.balance-topup-selector .btn {
	width: 52px;
}

.balance-topup-selector .current-value {
	margin: 0;
	padding: 0;
	width: 100px;
	text-align: center;
}

.balance-topup-btn h4 {
	font-size: 18px;
	cursor: pointer;
}

.balance-topup-selector h4 {

	color: var(--secondary-color);
	line-height: 22px;
	text-align: center;
	font-size: 30px;
	cursor: pointer;
}

div.balance-topup-selector input.current-value {
	background: none;
	border-bottom: 1px solid var(--accent-color);
	border-block-width: 2px;
	-webkit-appearance: none;
	margin: 0;
	-moz-appearance: textfield;
	font-size: 25px;
	font-weight: 600;
	width: 150px;
}


/* END */