footer .site-info a:not(.button):not(.components-button) {
    display:none;
}

th, .woocommerce-Price-amount.amount {
    white-space: nowrap;
}

.wc-block-featured-category {
    min-height: 240px !important;
    height: 240px !important;
}


@media (min-width: 768px) {
    header .header-widget-region {
        display: block;
        position: absolute;
        right: 1em;
        top: 1em;
    }
}
@media (max-width: 768px) {
    header .header-widget-region .widget {
        padding: 1em 0 0 0 !important;
    }

    header .header-widget-region p {
        margin: 0 !important;
    }
}

/*Set background colour of mobile footer menu*/
.storefront-handheld-footer-bar .columns-3 a,
.storefront-handheld-footer-bar ul li.cart .count {
    background-color: red  !important;
    color: white !important;
}

/* Remove the mobile footer menu so Dan can use a floating one */
.storefront-handheld-footer-bar {
    display: none;
}


/*product images centre in mobile*/
img.attachment-woocommerce_thumbnail {
    margin: 0 auto;
}

/*Product thumbnails align with rest of row */
table.cart td.product-thumbnail img {
    margin-top: 6px;
}

@media (min-width: 768px) {
/*Header desktop navigation white on black*/

    .storefront-primary-navigation {
        background-color:black;
    }

    .storefront-primary-navigation nav a,
    .storefront-primary-navigation #site-header-cart a.cart-contents {
        color: white !important;
    }

    .site-header-cart .widget_shopping_cart,
    .site-header .product_list_widget li .quantity {
        color: black !important;
    }

}

/*Disabled options are red*/
option[disabled] {
    color: #ffa8a8;
}


/*Disable place order button on load, so that the JS has to run correctly to turn it on*/
div.place-order {
    display: none;
}

body#error-page {
    max-width: initial;
}


/*Unchecked payment option is grey, not black*/
#payment .payment_methods li input[type="radio"]:first-child:not(:checked) + label::before {
    color: #c6c6c6;
}


/* CUSTOMISATIONS FROM DAN */


/* remove search box */
.site-header .widget_product_search , .site-search{
display: none;
}

/* remove copyright */
.site-info {
    display: none;
}

.storefront-primary-navigation .site-header-cart .cart-contents:after {
    content: "\f07a";
}


/* Entire Site */
.site-header .widget_product_search , .site-search{
display: none;
}

/* mobile footer basket */
.site-header-cart .cart-contents:after,
.storefront-handheld-footer-bar ul li.cart > a:before {
content: "\f07a";
}

/* Remove margin bottom from footer widgets */
.footer-widgets .widget_block {
    margin-bottom: 0;
}

/* Pull footer widgets images up */
.footer-widgets img {
    margin-top: -1em;
}


/* Remove arrow */
.woocommerce #content input.button.alt:after, .woocommerce #content input.button:after, .woocommerce #respond input#submit.alt:after, .woocommerce #respond input#submit:after, .woocommerce a.button.alt:after, .woocommerce a.button:after, .woocommerce button.button.alt:after, .woocommerce button.button:after, .woocommerce input.button.alt:after, .woocommerce input.button:after, .woocommerce-page #content input.button.alt:after, .woocommerce-page #content input.button:after, .woocommerce-page #respond input#submit.alt:after, .woocommerce-page #respond input#submit:after, .woocommerce-page a.button.alt:after, .woocommerce-page a.button:after, .woocommerce-page button.button.alt:after, .woocommerce-page button.button:after, .woocommerce-page input.button.alt:after, .woocommerce-page input.button:after {
	content: none !important;
}

/* Remove Breadcrumb */
.woocommerce-breadcrumb {
	display:none;
}

.woocommerce span.onsale {
    background-color: #e0c04b;
    color: #000;
}

/* Top Bar Font Size */
.woa-top-bar-1 p {
	font-size: 15px;
}

/* Top Bar Position Adjustment */
.woa-top-bar-1 p {
	padding-bottom: 0px;
	padding-top: 10px;
}

/* To control secondary menu size */
.site-header .secondary-navigation { width: 110% !important;
}

/* Remove Cart Icon on the menu */
.site-header-cart .cart-contents {
	display: none;
}

/* To change secondary menu font size */
.secondary-navigation ul.menu > li > a, .secondary-navigation ul.nav-menu > li > a {
	font-size:16px;
}


.site-branding {
	/* To align secondary menu with logo */
   margin-bottom: -50px;
	
	/*To allow users to click on logo even though it is behind secondary menu*/
	 z-index: 1000;
   position: relative;
}

/* To remove line below header */
.site-header  {
  border: none;
}

/* To remove the page title */
.page-id-6390 .entry-title {
display: none;
}


/* To remove gap between cover image and header on homepage */ /*
#page .site-header {
   margin-bottom: -1em;
 }
*/

/* To fit the cover image on mobile view */

@media screen and (max-width: 500px) {
  body.home .site-main .entry-content div.alignfull {
    margin-left: -1.41575em;
    margin-right: -1.41575em;
    width: auto;
  }
}


/* Show sushi rolls as backgorund */
body.home #primary .site-main .entry-content {
	
	    min-height: 100vh;
    background: url(/wp-content/uploads/2021/10/Copy-of-Copy-of-Copy-of-Sushiday-8-1-e1633998749861.png);
    background-size: 85%;
    background-position: top;
    background-repeat: no-repeat;
}

body.home .site-main .entry-content div {
	background:none !important;
}

body.home .site-main .entry-content  .wp-block-cover img.wp-block-cover__image-background {
	display: none;
} 

/*Text inside sushi rolls*/
/* body.home #primary .site-main .has-text-align-center.has-black-color.has-text-color {
    background-color: white;
} */

/*Order Now | Register button align */
body.home #primary .site-main .wp-block-buttons.is-content-justification-center {
    align-items: baseline;
}

@media (max-width:551px) {
.navUser-item-cartLabel {
        display: inline
    }
}

/*Hide black menu on larger devices but do not hide on mobile so we can still see the menu button*/
@media (min-width:768px) {
	.storefront-primary-navigation {
		display: none;
	}
}

/* Change block sizes on mobile view */
@media(max-width: 768px) {
    .wp-block-cover {
        min-height: -0px !important;
    }
}

/*Remove weird arrow from the top of payment options box on checkout*/
.woocommerce-checkout #payment div.payment_box::after {
  display: none !important;
}


/*Harmonise Background Colour of everything in payment options box*/
.woocommerce-checkout #payment, .woocommerce-checkout #payment div, .woocommerce-checkout #payment li {
    background: none !important;
    border: none !important;
    border-bottom: none !important;
}

/*Border around each payment option section*/
.woocommerce-checkout #payment {
  border: 1px solid #767676;
  border-radius: 4px;
  overflow: hidden; /* So that the border-radius actually works */
}

/*Bold headings on checkout*/
.woocommerce .checkout h3 {
    font-weight: bold;
}

/*Remove toggle coupon area in checkout. There is already an enter coupon box above*/
.woocommerce-form-coupon-toggle {
  display: none;
}

/*Remove the coupon input box, we aren't using coupons*/
.woocommerce div.coupon {
    display: none !important;
}

/*Remove School Delivery Date (optional) from checkout. It is not optional*/
label[for="e_deliverydate"] span.optional {
    display: none;
}



/*A bit more height to accomodate AF balance*/
li.wc_payment_method.payment_method_accountfunds {
    height: 3.8em;
}

/*Payment options bigger/bold*/
li.wc_payment_method > label {
    font-weight: bold;
    font-size: 14pt;
}

/*Hide radio inputs as we always pick a single shipping option for the user*/
.woocommerce-shipping-methods input[type=radio] {
    display: none;
}

/* Hide shipping address fields (e.g. Deliver to a different address) */
.woocommerce-shipping-fields {
    display: none;
}

/*More modern CSS feel for checkout*/
body.woocommerce-checkout #payment button#place_order {
	/* background-color: #557b97 !important; */
	font-size: 23pt !important;
	border: 1px solid transparent;
	border-radius: 4px;
    overflow: hidden; /* So that the border-radius actually works */
	height: 51px;
    width: 100%;
	padding: 0;
    background-color: #004AAD !important;
    color: white !important;
    text-transform: uppercase;
}

body.woocommerce-checkout #payment button#place_order:hover {
    background-color: #004AAD !important; /* So that the button doesn't change colour */
    color: white !important;
}

/*Less space above place order*/
div.place-order {
    margin-top: 0 !important;
}

/* Change the colour of the radio button */


#payment .payment_methods li input[type="radio"]:first-child + label::before {
    font-size: 26px;
}

#payment .payment_methods li input[type="radio"]:first-child:checked + label::before {
    color: black;
}

/*Remove default Clic description*/
/* div.payment_box.payment_method_wooline_gateway_click {
    display: none !important;
} */

/*Always show the descriptions for account funds */
div.payment_box.payment_method_accountfunds {
    display: block !important;
}

/*Add better logo*/
label[for=payment_method_wooline_gateway_click] {
    display: flex;
    align-items: center;
    line-height: 1em;
}

label[for=payment_method_wooline_gateway_click]:after {
    content: '';
    background: url("/wp-content/plugins/sushiday-plugin/public/images/wooline.jpg");
    height: 1em;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 1.5em;
    width: 100%;
    margin-top: 7px;
}

label[for=payment_method_windcave] > img {
    display: none;
}
label[for=payment_method_windcave]:after {
    content: '';
    background: url("/wp-content/plugins/sushiday-plugin/public/images/windcave.jpg");
    height: 1em;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 1.5em;
    width: 100%;
    margin-top: 7px;
}

label[for=payment_method_wooline_gateway_click2]:after {
    content: '';
    background: url("/wp-content/plugins/sushiday-plugin/public/images/online_eftpos.jpg");
    height: 1em;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 1.5em;
    width: 100%;
}

label[for=payment_method_windcave2]:after {
    content: '';
    background: url("/wp-content/plugins/sushiday-plugin/public/images/online_eftpos.jpg");
    height: 1em;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 1.5em;
    width: 100%;
}

/*Online EFTPOS description*/
li.wc_payment_method.payment_method_wooline_gateway_click > div.payment_method_online_eftpos {
    /* padding: 0 !important; */
    pointer-events: none;
    margin-left: 66px;
    margin-top: -2em;
  }


/* Override windcave's very loose CSS rule >:( */
#payment .payment_methods > li .payment_box.payment_method_accountfunds,
#payment .payment_methods > li .payment_box.payment_method_windcave,
#payment .payment_methods > li .payment_box.payment_method_bacs,
#payment .payment_methods > li .payment_box.payment_method_wooline_gateway_click,
#payment .payment_methods > li .payment_box.payment_method_online_eftpos,
#payment .payment_methods > li .payment_box.payment_method_account2account {
    padding-top: 0 !important;
}

/*Remove my account default nav */
.woocommerce-MyAccount-navigation {
    display: none;
}

/*Remove billing country field (it is fixed anyway)*/
p#billing_country_field {
    display: none;
}


li.wc_payment_method > label {
    padding-top: 0.5em !important;
    padding-bottom: 0.5em !important;
}

li.wc_payment_method > div {
    padding: 0 !important;
    margin: 0 !important;
    padding-left: 3em !important;
    display: block !important; /* Always show payment method descriptions */
    height: initial !important; /* Stop trying to slide up or down the height when changing payment method */
}


/*Account funds balance*/
li.wc_payment_method.payment_method_accountfunds > div.payment_method_accountfunds {
    position: absolute;
    bottom: -3px;
    padding: 0 !important;
    left: 81px;
    pointer-events: none;
    height: 1em !important;
    color: blue !important;
    font-size: 18px;
    font-weight: bold;
}


a.button-link {
    background-color: #004AAD !important;
    color: white !important;
    border-radius: 30px;
    font-size: 14pt;
    text-align: center;
    text-align: center;
    padding: 0.7em 3em;
    text-decoration: none !important;
}

/*right align af transactions table*/
div.user-recent-af-transactions table th.order-total,
div.user-recent-af-transactions table th.balance,
div.user-recent-af-transactions table td.order-total,
div.user-recent-af-transactions table td.balance {
    text-align: right;
}


div.error-button a {
    cursor: pointer;
}

/*Remove line between payment methods and pay now button*/
.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: none !important;
    padding-bottom: 1em !important; /* Force gap between the topup button */
}

/* Fix the "Our schools" grid from expanding on the last item */
figure.wp-block-gallery > figure.wp-block-image {
    flex-grow: 0 !important;
}

