/* Mobile */
@media only screen and (max-width: 600px) {

    .row {
        display: block;
    }
    .third {
        width: 100%;
    }
    body .app-container {
        padding: 20px 0 !important;
    }
    .lwr_acc, .rewards_acc {
        flex: 0 0 calc(50% - 10px) !important;
    }
    .modal {
        padding-top: 30px; /* Location of the box */
        padding-bottom: 30px; /* Location of the box */
        top: -10px !important;
    }
    .modal-body{
        max-height: calc( 100vh - 210px );
    }
    .delivery_date_modal p {
        font-size: 12px !important;
        letter-spacing: -0.01em !important;
        line-height: 14px !important;
    }
    .delivery_date_modal hr {
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }
    
.app-container {max-width: 400px !important;}  
    
}



/* Desktop */
@media only screen and (min-width: 600px) {

    .row {
        display: flex;
    }
    .third {
        width: 33.33%;
    }
    body .app-container {
        padding: 20px 20px 150px !important;
    }
    .lwr_acc, .rewards_acc {
        flex: 0 0 calc(25% - 15px) !important;
    }
    .modal {
        padding-top: 0; /* Location of the box */
        padding-bottom: 0; /* Location of the box */
        
    }
    .modal-body{
        max-height: calc( 100vh - 75px );
    }

}

/* Grid */
body {
    background-color: #e9e9ea !important;
    padding: 0;
    margin: 0;
}

body * {
    box-sizing: border-box;
}

.app-container {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
	margin-top: 140px;
}



.hide {
    display: none;
}

p {
margin: 0;
}


/* calendar bits */

.ui-icon {	display: block; overflow: hidden;background-repeat: no-repeat;}
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span {margin-left: -8px;margin-top: -15px;}

.ui-datepicker-next {background-image: url("../images/chev-right.png") !important;background-repeat: no-repeat;background-size: contain;max-width: 15px; cursor: pointer; margin-top: 10px;
margin-right: 5px;}
.ui-datepicker-prev {background-image: url("../images/chev-left.png") !important;background-repeat: no-repeat;background-size: contain;max-width: 15px; cursor: pointer; margin-top: 10px;
margin-left: 5px;}

/* The Modal (background) */

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%; /* Full width */
    height: auto; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */

}

.admin-bar .modal {
    top: 32px;
}

/* Modal Content */
.modal-window  {
    position: relative;
    background-color: #E9E9EA;
    margin: auto;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}


/* Important part */
.modal-dialog{
    overflow-y: initial !important;
    margin: 0;
    max-width: 600px;
}
.modal-dialog {
pointer-events: auto;
}
.modal-body{
    height: auto;
    padding: 15px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
    border: 1px solid #ccc;
    background: #e9e9ea;
}

.modal-title {
    background: #BBBBBB;
    padding: 18px;
}

.modal-title * {
    margin: 0;
    padding: 0;
}

.modal-title h3 {
    width: calc(100% - 30px);
    display: inline-block;
}

.close-button {
    width: 25px;
    display: inline-block;
    font-weight: 100;
    font-size: 30px;
    text-align: right;
}

.close-button:hover {
    cursor: pointer;
}

.icos {max-width: 50px !important; height: auto;}
.product_s {background: #eef8d7; min-height: 500px;}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

.close {
    position: absolute;
    top: 0;
    right: 0;
    color: rgba(0,0,0,0.3);
    height: 30px;
    width: 30px;
    font-size: 30px;
    line-height: 30px;
    text-align: center;
}

.close:hover,
.close:focus {
    color: #000000;
    cursor: pointer;
}

.open {
    display: block;
}


.tiles-wrap {
  margin-bottom: 10px;
  margin-top: 0px;
}

.tiles-container {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.tile-25 > .tile-content-wrap {
  background: #bbbbbb;
  height: 100%;
}

.lwr_acc > .tile-content-wrap {
  background:#bbbbbb;
  height: 100%;
}

.rewards_acc > .tile-content-wrap {
  background:#4100E6; color: #fff;
}

.tile-25-full-h > .tile-content-wrap {
  background: blue;
}

.tile-25-full-v > .tile-content-wrap {
  background: blue;
}

.tile-full > .tile-content-wrap {
  background: #ffffff;
  height: 100%;
}

/* tile general */

.tiles-container {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row;
  justify-content: space-between;
  flex-wrap: wrap;
}

.tile {
  flex: 1 0 auto;
  border: none;
  height: auto;
  align-items: stretch;
  margin-top: 0px;
}

.tile:before {
  content: '';
  float: left;
  display: table;
  padding-top: 100%;
}

.tile-content-wrap {
  flex-grow: 1;
  display: flex;
  ;
}

/*.tile-content-wrap:before {
  content: '';
  float: left;
  display: table;
  padding-top: 100%;
}*/

h2 {
margin-block-start: 0.83em;
margin-block-end: 0.83em;
}

h5 {
    margin-block-start: 1.67em;
    margin-block-end: 1.67em;
}

.tile-full {
  flex: 0 0 100%;
  aspect-ratio: 1 / 1;
}

.tile-25 {
  flex: 0 0 calc(50% - 10px);
  aspect-ratio: 1 / 1;
}

.v_link {cursor: pointer;}

.tile-25-full-h {
  flex: 0 0 calc(100% - 0px);
}

.tile-25-full-h:before,
.tile-25-full-h > .tile-content-wrap:before {
  content: '';
  float: left;
  display: table;
  padding-top: calc(50% - 16px);
}

.tile-25-full-v:before,
.tile-25-full-v > .tile-content-wrap:before {
  content: '';
  float: left;
  display: table;
  padding-top: calc(200% + 32px);
}

.tile-content-wrap {
  align-items: center;
  justify-content: center
}

.tile-content {
    width: 100%;
    padding: 15px; font-size: 18px; font-weight: bold;
}


.modal-body {
    border: transparent;
    background: transparent;
}

.sub-summary {
    padding: 20px;
}

.sub-image {
text-align: center;
margin-bottom: 20px;
}

.account-tiles {
    margin-bottom: 50px;
}

.disabled > * {
    opacity: 0.5;
}

.disabled:hover, .disabled:hover * {
    cursor: default !important;
}

*::disabled {
 opacity: 0.5;
}


.disabled.selected > h3, .disabled.selected > img {
opacity: 1;
}

.disabled.selected > h4 {
opacity: 0.25;
}

#mmContentDashboard, .mmWrapping {
    background-color: #E9E9EA;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
padding-right: 10px !important;
padding-left: 10px !important;
}

.my-discount.regular-price::after {
top: 50% !important;
}

.regular-price {
display: inline-block;
position: relative;
color: #898a8d;
font-weight: 100 !important;
}

.regular-price::after {
content: "";
width: 100%;
right: 0;
left: 0;
height: 2px;
background: #898a8d;
display: block;
top: 50%;
position: absolute;
}

.next-order-date label {
    font-weight: 100 !important;
    font-size: 18px !important;
    line-height: 18px !important;
    padding: 0 0 0 20px !important;
    margin: 0 0 10px 0 !important;
    position: relative;
}

.next-order-date input {
    appearance: none;
    height: 0 !important;
    width: 0 !important;
}

.account-radios fieldset {
    border: none !important;
    padding: 0 !important;
}

.next-order-date label::before {
    content: "";
    width: 17px;
    height: 17px;
    border: 2px solid #bbb;
    display: inline-block;
    border-radius: 50px;
    margin-right: 10px;
    position: absolute;
    left: 0;
    top: 2px;
    background: #e6e8e7;
}

.next-order-date input[type="radio"]:checked+label::before {
background: black;
}

.account-radios {margin-top: -20px;}

#one {display:flex !important; padding-top: 10px;}
#two {display:flex !important; padding-top: 10px;}
#three {display:flex !important; padding-top: 10px;}
#four {display:flex !important; padding-top: 10px;}
#five {display:flex !important; padding-top: 10px;}
#six {display:flex !important; padding-top: 10px;}

.product-tab-buttons {
    display: flex;
    width: 100%;
    background: #e1e1e1;
}

.product-tab-buttons > * {
    padding: 15px !important;
    text-align: center;
    margin: 0 !important;
}

.product-tab-buttons > .active {
    background: white;
}

.customise-options > *{
    border-width: 0 !important;
}

.pool-components form {
    background: #e9e9ea;
    margin-top: 0;
}

.customise-meta h4 {
    margin-top: 0;
}

.pool-components h5 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.subpanel.products .pool-components form .btn.button.save {
    margin-top: 18px !important;
    margin-bottom: 18px !important;
}

.plan-price > .plan-error, .plan-error > .plan-price {
    display: none;
}

.component-image {
    background-repeat: repeat;
    background-size: 100px;
    background-position: top;
    background-repeat: no-repeat;
}

.interval-options {
    padding-left: 0;
    display: grid;
    gap: 10px;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    width: 100%;
}

.interval-options li {
    list-style-type: none;
    text-align: center;
    background: #ffffff;
    border: 1px solid #BBBBBB; 
    padding: 10px !important;
}

.interval-options li.active {
    background: #F0FAD7;
    border: 1px solid #4100E6;
}

.interval-options h4 {
    margin-top: 0;
}

.customise-options.new {
   margin-left: -7px;
   margin-right: -7px;
   margin-bottom: -18px;
}

.customise-options.new .customise-option {
   width: 100%;
   background-image: unset !important;
   background: #FFFFFF;
   border-width: 0 !important;
   padding-bottom: 10px;
}

.customise-options.new .customise-option h4 {
   margin-bottom: 0;
}

.customise-options.new > div {
    background: unset;
    margin-bottom: 15px;
    padding: 0 7px;
}

.component-toggle {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    width: 100%;
    background-color: #BBBBBB;
}

.component-toggle > * {
    padding: 15px !important;
    text-align: center;
    margin: 0 !important;
}

.component-toggle > *.active {
    background: #FFFFFF;
}

.disabled.last-component > * {
    opacity: 1;
}

.last-order-message, .message {
    background: #4100E6;
    color: white !important;
    padding: 10px !important;
    background-color: #4100E6;
    display: inline-block;
    clear: both;
}

.interval-options li:not(.active):hover {
    cursor: pointer;
}

/* Datepicker */
.ui-datepicker {
    background: #ffffff;
    color: #24272A;
    width: 280px;
    height: auto;
    margin: 5px auto 0;
}

.ui-datepicker table {
    width: 100%;
}

.ui-datepicker-header {
    background: #24272A;
    color: #eef8d7;
}

.ui-datepicker-header a {
    color: #eef8d7;
}

.ui-datepicker-title {
    text-align: center;
}

.ui-datepicker-prev {
    float: left;
    cursor: pointer;
}

.ui-datepicker-next {
    float: right;
    cursor: pointer;
    background-position: center 0px;
}

.ui-datepicker thead {
    background-color: #f7f7f7;
}

.ui-datepicker th {
    background-color: #D6E4BE;
    color: #24272A;
}

.ui-datepicker tbody td {
    padding: 0;
}

.ui-datepicker tbody td:last-child {
    border-right: 0px;
}

.ui-datepicker tbody tr:last-child {
    border-bottom: 0px;
}

.ui-datepicker a {
    text-decoration: none;
}

.ui-datepicker td span, .ui-datepicker td a {
    display: inline-block;
    text-align: center;
    width: 25px;
    height: 35px;
    line-height: 35px;
    color: #ffffff;
}

.ui-datepicker-calendar .ui-state-default {
      color: #24272A;
      height:35;
      line-height:35px;
      width:100%;
}

.ui-datepicker-calendar .ui-state-hover {
    background: #4100E6;
    color: #FFFFFF;
}

.ui-datepicker-calendar .ui-state-active {
    background: #4100E6;
    color: #e0e0e0;
    position: relative;
}

.ui-datepicker-unselectable {
    background: #bbb;
}

.ui-datepicker-unselectable .ui-state-default {
    color: #ccc;
}

.ui-datepicker-calendar th span {
    display: inline-block;
    text-align: center;
    width: 35px;
    height: 25px;
    line-height: 25px;
}

.ui-datepicker-prev {
    padding-left: 10px;
    line-height: 20px;
    transition: all 0.5s ease-in-out;
}

.ui-datepicker-prev:hover {
    padding-left: 5px;
    padding-right: 5px;
    transition: all 0.5s ease-in-out;
}


.ui-datepicker-next {
    padding-right: 10px;
    line-height: 20px;
    transition: all 0.5s ease-in-out;
}

.ui-datepicker-next:hover {
    padding-left: 5px;
    padding-right: 5px;
    transition: all 0.5s ease-in-out;
}

.ui-datepicker a:hover {
color: #fff;
}

.delivery_date_modal .button {
margin-top: 20px;
}


.cancel-subscription .tooltip {
    height: 17px;
    width: 17px;
}

.panel h4 {
    margin-bottom: 10px !important;
}

.panel hr {
    margin-top: 15px !important;
}

.panel h2:first-child {
    margin-top: 0;
}

.subpanel.edit .info {
    display: none;
}

.subpanel.info .edit {
    display: none;
}

.order-date, .order-price {
    float: right;
}

.history h2 {
    margin-top: 5px;
    margin-bottom: 0;
}

.subpanel .button {
    max-width: 100%;
    margin-top: 10px;
}

label {
    display: block;
    font-family: 'Aeroport' !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    letter-spacing: -0.01em !important;
    line-height: 14 px !important;
    margin-top: 10px;
    padding: 0 !important;
}

input[type="date"], input[type="email"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], textarea {
    color: #bbb !important;
    width: 100%;
    margin-bottom: 20px;
}



select {
    color: #24272A !important
}

.account-select select {
    padding-right: 30px !important;
    background-image: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
}

.account-select .down-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.down-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid;
}

.account-select {
    position: relative;
}

.subscriptions h2 {
    margin-bottom: 5px;
}

.edit-toggle {
    float: right;
    color: #4100E6;
}

.edit-link {
float: right;
}

.tile-content-wrap > a {
    color: #212529;
}

.app-container.account {
padding: 50px 20px !important;
}

.lwr_acc, .rewards_acc {
        aspect-ratio: 1 / 1;
    }

    .delivery-time {
display: block;
line-height: 100%;
font-size: 80%;
}