/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.12,
* Autoprefixer: v10.4.4
* Browsers: last 4 version
*/

.site-main a:not(.button) {
    color: #000;
}
.admin-panel a {
    color: #fff;
}
.single-product .site-main a,
.page-numbers {
    color: #000 !important;
}

.single-product .site-footer a,
.storefront-sticky-add-to-cart a {
    color: #fff !important;
}

.page-template-template-deliveryregistration,
.page-template-template-deliveryregistration h1,
.page-template-template-deliveryregistration h2,
.page-template-template-deliveryregistration h3,
.page-template-template-deliveryregistration h4,
.page-template-template-deliveryregistration p,
.page-template-template-deliveryregistration .alpha,
.page-template-template-retailerregistration,
.page-template-template-retailerregistration h1,
.page-template-template-retailerregistration h2,
.page-template-template-retailerregistration h3,
.page-template-template-retailerregistration h4,
.page-template-template-retailerregistration p,
.page-template-template-retailerregistration .alpha {
    color: #fff;
}

a:hover, a:focus, a:active {
    opacity: 0.8;
    text-decoration: none !important;
}

a:visited {
    opacity: 0.6;
}
a:focus, input:focus, textarea:focus, button:focus {
    outline: 0 !important;
}

.page-template-template-deliveryregistration a,
.page-template-template-retailerregistration a,
.site-header a {
    color: #fff;
    font-weight: bold;
}

.page-template-template-deliveryregistration a:hover,
.page-template-template-retailerregistration a:hover,
.site-header a:hover {
    color: #fff;
    opacity: 0.8;
}

ul {
    list-style-type: none;
    margin: 0;
}
h2 + h3, .beta + h3 {
    border: 0;
    padding-top: 0;
}

ul.products {
    display: flex;
    flex-wrap: wrap;

}
.single-product .product,
ul.products li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    /*    padding: 10px;*/
    color: #111;
    /*background-color: var(--color-primary-0);*/
}

.post .entry-header span,
.post .entry-taxonomy {
    display: none;
}

@media screen and (max-width: 767px) {
    .wia-search {
        display: none;
    }
}
.site-branding .site-title a,
.site-branding .site-description {
    display: block;
    color: #fff;
}
.home .page>.entry-header>.entry-title {
    display: none;
}


.entry-content::before, .entry-content::after {
    content: none;
}
.hentry {
    margin: 0;
}

/**********      media queries        *******************/
@media (min-width: 768px) {
    .woocommerce-active .site-header .main-navigation {
        width: 100%;
    }
    /*navigation*/
    /**************************************/
    .storefront-primary-navigation {
        background: rgba(255, 255, 255, 0.9);
        border-top: 3px solid rgba(0, 128, 128, 0.4);
    }
    #page .main-navigation ul {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        width: 100%;
    }
    #page .main-navigation ul li a {
        padding: 10px 20px !important;
    }
    #page .main-navigation ul li ul {
        padding: 10px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        width: auto;
        background: rgba(0, 128, 128, 0.98);
    }

    #page .main-navigation ul li ul li {
        display: block;
    }

    #page .main-navigation ul li ul li a {
        color: #fff;
    }

    .woocommerce-pagination {
        float: none;
    }
    #page .main-navigation ul {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        width: 100%;
    }
}
@media (max-width: 991px) {

    #page .main-navigation ul li a {
        padding: 8px 15px !important;
        color: #006c6c;
    }
}

.hentry .entry-content .wp-block-button .wp-block-button__link, .editor-styles-wrapper .wp-block-button .wp-block-button__link {
    font-size: 16px;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
    margin: 0 auto;
}

/*********************************************************/

.site-content {
    z-index: 100;
}
.site-content .site-main>article,
.site-content .site-main>.product {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;

}

.page-template-template-deliveryregistration .site-content,
.page-template-template-retailerregistration .site-content {
    background: #ec002c;
    color: #eee;
    position: relative;
}
.site-main > article > .entry-content {
    margin: 0 auto;
    width: 100%;
    max-width: 1140px;

}
.hentry .entry-content .wp-block-gallery, .editor-styles-wrapper .wp-block-gallery {
    margin: 0 auto;
}

@media screen and (max-width: 568px) {
    .site-main > article > .entry-content {
        padding: 0;
    }
}
.hentry .wp-post-image {
    margin-bottom: 0;
}
a.button {
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    margin: 5px auto;
    line-height: 0.95em;
}
.home.page:not(.page-template-template-homepage) .site-header, .home.post-type-archive-product .site-header {
    margin-bottom: 0;
}

.archive ul.products li.product img {
    width: 100%;
    height: auto;
}
section.related.products ul li.product, section.up-sells.upsells.products ul li.product,
.cart-collaterals .cross-sells ul li.product,
section.related.products ul li.product, section.up-sells.upsells.products ul li.product {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    max-width: 100%;
}

/*********  basket page  ************/
.woocommerce-cart .cart-collaterals .cross-sells ul.products .price,
.woocommerce-cart .cart-collaterals .cross-sells ul.products a.button {
    display: none;
}

.wp-block-image figcaption {
    color: #000;
}

.page .post h2 {
    margin-top: 10px;
}

.storefront-breadcrumb {
    margin: 0 !important;
    padding: 0 !important;
    background-color: #222;
    color: #eee;
}
.woocommerce-breadcrumb {
  background-color: transparent !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}
.storefront-breadcrumb a,
.woocommerce-breadcrumb a {
color: #eee !important;
}
.page-template-template-deliveryregistration .storefront-breadcrumb,
.page-template-template-retailerregistration .storefront-breadcrumb,
.single-delivery .storefront-breadcrumb {
    display: none;
}
/***************************************/
.wc-block-grid__products {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    padding: 0;
}
.wc-block-grid__product img {
    width: 100%;
    height: auto;
}
@media (max-width: 600px) and (min-width: 481px) {
    .wc-block-grid.has-4-columns .wc-block-grid__product {
        -webkit-box-flex: 1;
            -ms-flex: 1 0 25%;
                flex: 1 0 25%;
        max-width: 25%;
        padding: 0;
        margin: 0 0 24px;
        float: left;
        height: 100%;
        min-height: 100%;
    }
}

@media (max-width: 480px) {
    .wc-block-grid.has-4-columns .wc-block-grid__product {
        margin-left: 0;
        margin-right: 0;
        -webkit-box-flex: 1;
            -ms-flex: 1 0 50%;
                flex: 1 0 50%;
        padding: 0;
        float: left;
        height: 100%;
        min-height: 100%;
    }
}
@media (max-width: 480px) and (min-width: 361px) {
    .wc-block-grid.has-4-columns .wc-block-grid__product:nth-of-type(2n):after {
        clear: both;
    }
}
@media (max-width: 360px) {
    .wc-block-grid.has-4-columns .wc-block-grid__product {
        margin-left: auto;
        margin-right: auto;
        -webkit-box-flex: 1;
            -ms-flex: 1 0 100%;
                flex: 1 0 100%;
        max-width: 100%;
        padding: 0;
        height: 100%;
        min-height: 100%;
        float: none;
    }
}
.home .site-main > article > .entry-content {
    padding: 0;
}

/************ sorts weird images not displaying archives *******************/
.archive ul.products li.product div {
    display: block !important;
}
@media (min-width: 768px) {
    .page-template-template-fullwidth-php .site-main ul.products.columns-5 li.product, .page-template-template-fullwidth-php .header-widget-region ul.products.columns-5 li.product, .page-template-template-homepage-php .site-main ul.products.columns-5 li.product, .page-template-template-homepage-php .header-widget-region ul.products.columns-5 li.product, .storefront-full-width-content .site-main ul.products.columns-5 li.product, .storefront-full-width-content .header-widget-region ul.products.columns-5 li.product {
        margin-right: 0;
    }
}
ul.products::before, ul.products::after {
    content: none !important;
}

ul.posts {
    list-style-type: none;
}
.home .site-header {
    margin-bottom: 0 !important;
}
.home ul.posts {
    margin: 0 !important;
}

.archive h2.alpha {
    font-size: 18px;
    text-align: center;
}
.archive img {
    width: 100%;
    height: auto;
    margin: 0 auto;
}
.float-left {
    float: left;
}
.archive ul.products li.product img {
    width: 100%;
    height: auto;
}

a.button {
    width: auto;
}
@media (max-width: 575px) {
    a.button {
        width: 100%;
        font-size: 12px;
    }
}
.storefront-product-sharing {
    margin-top: 10px;
    margin-bottom: 10px;
}
.storefront-product-sharing,
.storefront-product-sharing ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
}
@media (max-width: 575px) {
    .storefront-product-sharing,
    .storefront-product-sharing ul {
        -webkit-box-pack: space-evenly;
            -ms-flex-pack: space-evenly;
                justify-content: space-evenly;
    }
}
@media (max-width: 399px) {
    .storefront-product-sharing,
    .storefront-product-sharing ul {
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
    }
}
.storefront-product-sharing ul li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.qr-code {
    margin-left: 10px;
}

.qr-code > div {
    position: relative;
}

#qr_code_logo {
    position: absolute;
    width: 50px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}
@media (max-width: 575px) {
    .storefront-product-sharing ul {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .storefront-product-sharing ul li {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }

    .qr-code > div {
        margin-right: 1em;
    }
}
.single-delivery .qr-code-image > div {
    position: relative;
}

.single-delivery  #qr_code_logo {
    position: absolute;
    width: 50px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}

.single-delivery h2 {
    margin-top: 0 !important;
}
.single-delivery p {
    margin: 0 !important;
}
section.full-width h2,
section.full-width p
{
    color: #333;
}
section.full-width .wp-block-columns .wp-block-column:nth-of-type(2) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
@media (max-width: 781px) {
    .wp-block-column:not(:only-child) {
        -ms-flex-preferred-size: 100% !important;
            flex-basis: 100% !important;
    }
}
.circular {
    position: relative;
    display: inline-block;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    background: #ffff00;
    color: #000;
    top: 7px;
    margin-right: 5px;
}
.circular span {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-54%, -52%);
        -ms-transform: translate(-54%, -52%);
            transform: translate(-54%, -52%);
}

.publisher-ad {
    margin: 20px auto;
}

.wp-block-image {
    margin-bottom: 0;
}
ul.list-display:not(.tight) li {
    background-color: rgba(255, 0, 0, 0.4);
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
}
ul.list-display.tight {
    margin-bottom: 10px !important;
}

.wp-block-table td {
    color: #fff;
    padding: .5em;
    line-height: 14px;
}
@media (max-width: 479px) {
    .wp-block-table th,
    .wp-block-table td {
        padding: .1em;
    }
}
@media (max-width: 399px) {
    .wp-block-table th,
    .wp-block-table td {
        padding: .1em;
        font-size: 12px;
    }
}
.acf-fields {
    display: -ms-grid;
    display: grid;
    gap: 10px;
    -ms-grid-columns: minmax(auto, 1fr) 10px minmax(auto, 1fr) 10px minmax(auto, 1fr);
    grid-template-columns: repeat(3, minmax(auto, 1fr));
}
@media screen and (max-width:767px) {
  .acf-fields {
      display: -ms-grid;
      display: grid;
      -ms-grid-columns: 1fr;
      grid-template-columns: 1fr;
      gap: 10px;
  }
}
.page-template-template-deliveryregistration .acf-field {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    padding: 0 !important;
    border-top: 0 !important;
    max-width: 240px;
  }
  .page-template-template-deliveryregistration .acf-field input[type=file] {
color: #eee;
}
.acf-field[data-name="delivery_status"] {
  width: 100%;
}
.acf-field[data-name="delivery_status"] .acf-button-group {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
          -ms-flex-direction: column;
              flex-direction: column;
  }

.acf-field[data-name="delivery_status"] .acf-button-group label:not(.selected) {
color: #ec002c;
}
.acf-form-submit {
  margin-top: 10px;
  margin-bottom: 10px;
}
.hentry .entry-header h1 {
    margin-top: 10px;
}
p + h2, p + header h2, p + h3, p + h4, ul + h2, ul + header h2, ul + h3, ul + h4, ol + h2, ol + header h2, ol + h3, ol + h4, table + h2, table + header h2, table + h3, table + h4, blockquote + h2, blockquote + header h2, blockquote + h3, blockquote + h4, form + h2, form + header h2, form + h3, form + h4 {
    margin-top: 0;
}

.acf-form-submit .button {
    background: #fff;
    color: #ec002c;
}
button.menu-toggle:after, button.menu-toggle:before, button.menu-toggle span:before {
    background-color: #fff;
}

#product-list tbody tr.bundle:hover {
    cursor: pointer;
}
#product-list .fas {
  font-size: 1.8rem;
}
#product-list img {
  max-height: 50px;
}

#search_input,
 #search_postcode {
    width: 100%;
}

table th {
    font-size: 16px !important;
    font-weight: bold;
}

.main-navigation ul li a, .site-title a, ul.menu li a, .site-branding h1 a, button.menu-toggle, button.menu-toggle:hover, .handheld-navigation .dropdown-toggle {
    color: #fff;
}

.form-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.site-header .secondary-navigation a {
    color: #ec002c !important;
    max-width: 100px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding: 5px !important;
}

body.archive.tax-product_cat .site-content,
body.single-product .site-content,
body.woocommerce-cart .site-content,
body.woocommerce-checkout .site-content {
  background-image: url(https://www.papersdirect.co.uk/wp-content/uploads/2021/11/newspaper-background-1-scaled.jpg)!important;
   background-color: transparent !important;
}

.form-row label {
    width: 100%;
}
#add_payment_method #payment ul.payment_methods .stripe-card-group, .woocommerce-checkout #payment ul.payment_methods .stripe-card-group {
    width: 100%;
}
.wc-stripe-elements-field, .wc-stripe-iban-element-field {
    width: 100%;
}
.page-template-template-deliveryregistration .acf-required,
.page-template-template-layouts-v2 .acf-required {
    color: #fff;
}
.site-footer {
 background-color: #555;
 color: #ccc;
}
.btn.focus, .btn:focus {
	outline: 0;
	-webkit-box-shadow: none !important;
	        box-shadow: none !important;
}
.btn {
white-space: normal !important;
}
.hs-error-msgs label {
    color: #eee !important;
}
img {
    width: 100%;
    min-width: 100%;
    height: auto;
}
.storefront-product-pagination img,
.storefront-sticky-add-to-cart__content img,
#wpadminbar img {
  width: auto;
  min-width: unset;
}
.page-template-template-layouts-v2 th,
.page-template-template-layouts-v2 td {
  background: transparent !important;
  color: #fff !important;
}
.order_details,
fieldset,
fieldset legend {
  background-color: transparent !important;
}
body.archive .site-main {
  margin-top: 1em;
}
body.archive.post-type-archive-job .site-main {
	margin-top: 0;
}

.form-row-first,
.form-row-last {
  width: 100% !important;
}

#billing_is_business_field,
#billing_quote_request_field {
  border: 0 !important;
  padding: 0 !important;
}
#billing_is_business_field .woocommerce-input-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
#billing_postcode_search {
  width: auto !important;
}
.woocommerce-cart .cross-sells .products {
  display: block !important;
}

h1 {
font-size: 2.4rem !important;
}
h2 {
font-size: 1.4rem !important;
}

@media screen and (min-width: 768px) {

 h1 {
font-size: 3.6rem !important;
}
h2 {
font-size: 2.4rem !important;
}

}
td h2 {
    font-size: 1rem !important;
}
.layout-four-col-posts h2,
li.product h2 {
    font-size: 1rem !important;
}

body {
    opacity: 0;
    -webkit-transition: opacity 0.4s ease-in-out;
    -o-transition: opacity 0.4s ease-in-out;
    transition: opacity 0.4s ease-in-out;
    -webkit-transition-delay: 0.4s;
         -o-transition-delay: 0.4s;
            transition-delay: 0.4s;
}

body.nojs {
    opacity: 1;
    -webkit-transition: opacity 0.4s ease-in-out;
    -o-transition: opacity 0.4s ease-in-out;
    transition: opacity 0.4s ease-in-out;
    -webkit-transition-delay: 0.4s;
         -o-transition-delay: 0.4s;
            transition-delay: 0.4s;
}
/*fix forum image sizes*/
.forum-archive img,
.forum img,
.topic img {
    width: auto !important;
    min-width: unset !important;
}
/*remove forum avatar images*/
.bbpress img.avatar {
    display: none !important;
}

.site-branding {
    max-width: 160px;
}


.storefront-sticky-add-to-cart {
    color: #000 !important;
    background-color: #ededed;
}
.page-template-template-layouts-v2.right-sidebar .content-area {
    width: 100% !important;
    float: none;
    margin-right: 0 !important;
}
#secondary {
    padding-top: 15px;
}
#secondary a {
    color: #222 !important;
    font-weight: bold;
}
.storefront-full-width-content .content-area {
    width: 100%;
    float: left;
    margin-left: 0;
    margin-right: 0;
}
@media (min-width: 768px) {
.archive.tax-wcpv_product_vendors.right-sidebar .content-area,
.archive.tax-product_cat.right-sidebar .content-area,
.single-product.right-sidebar .content-area {
                    width: 73.9130434783% !important;
                    float: left;
                    margin-right: 4.347826087%;
                }
}
@media (max-width: 767px) {
    .product_list_widget li img,
     #secondary img {
        max-width: 12em !important;
        min-width: unset !important;
        float: right;
    }
}

mark {
  background: #ddd !important;
  color: #000!important;
   }

table {
    background: transparent !important;
}

div#page {
    background-color: transparent;
    overflow-y: hidden;
}

.woocommerce-additional-fields .woocommerce-input-wrapper {
    width: 100%;
}
.woocommerce-additional-fields h2 {
    display: none;
}


@media (max-width: 359px) {
    .wp-block-buttons {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    .wp-block-buttons>.wp-block-button {
        width: 100%;
        height: 72px;
    }
}

@media (min-width: 360px) and (max-width: 479px) {
    .wp-block-buttons>.wp-block-button {
        width: 48%;
        height: 95px;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .wp-block-buttons>.wp-block-button {
        width: 49%;
        height: 72px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .wp-block-buttons>.wp-block-button {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin: 0;
        width: 24%;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        height: 95px;
    }
}
@media (min-width: 992px) {
    .wp-block-buttons>.wp-block-button {
        height: 72px;
        width: 24%;
    }
}

.hentry .entry-content .wp-block-button, .editor-styles-wrapper .wp-block-button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 1.41575em;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.wp-block-button__link:not(.has-background) {
    background-color: transparent !important;
}

input {
    height: 40px !important;
}
#woocommerce-product-search-field-0 {
    height: 48px !important;
    margin-bottom: 0;
}
body {
    padding-left: 0px!important;
    padding-right: 0px!important;
}
.label-wrap {
    z-index: 9!important;
}
button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .button:hover, .widget a.button:hover {
    border-color: #fff !important;
 }
 :focus-visible {
     outline: 0 !important;
 }

 /*   tweak for home page icon alignment  */
 .home .layout-four-col-posts .block img {
     position: relative;
     top: -10%;
 }

.home .layout-four-col-posts .col-6:nth-of-type(1) .block:nth-of-type(2) img {
    position: relative;
    top: -3.5%;
    left: 3px;
}

 @media (max-width: 359px) {
     .layout-four-col-posts h2 {
          font-size: 0.8rem !important;
      }
  }

  .layout-four-col-posts .block-full img {
      width: 100%;
      margin-bottom: -10% !important;
  }
  @media (min-width: 360px) {
        .layout-four-col-posts {
            padding-top: 60px !important;
        }
    }

/* for bootstrap compatibility */
.container:before, .container:after {
    display: table;
    content: "";
}
.container:after {
    clear: both;
}
.layout-headline-text {
    height: auto !important;
}