/*header*/
.loaded_select {
  position: absolute;
  /* background-color: rgba(0,0,0,.3); */
  background-color: rgba(235, 234, 224, .8);
  background-image: url('../../images/gif.gif');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 100%;
  z-index: 3;
}

#header_wrapper {
  background-color: var(--headerColor);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  font-family: var(--fontSecond);
}
#header_wrapper .nav {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 10px 200px 10px 1fr;
  grid-template-columns: 1fr 200px 1fr;
  -ms-grid-rows: minmax(60px, auto);
  grid-template-rows: minmax(60px, auto);
  grid-gap: 10px;
  padding: 20px 5%;
  font-size: 0.8rem;
}
/* #header_wrapper .nav.checkout{
  box-shadow: 3px 0 5px 0px rgba(0,0,0,.5);
} */

#header_wrapper .nav>*:nth-child(1) {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
}

#header_wrapper .nav>*:nth-child(2) {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
}

#header_wrapper .nav>*:nth-child(3) {
  -ms-grid-row: 1;
  -ms-grid-column: 5;
}

#header_wrapper .nav .direction {
  flex-direction: column;
  justify-content: center;
  color: var(--topText);
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto 20px 1fr;
  grid-template-columns: auto 1fr;
  grid-column-gap: 20px;
}
#header_wrapper .nav.checkout .direction{
  grid-template-columns: 1fr;
  justify-content: flex-start;
}

#header_wrapper .nav .direction .hours {
 color: var(--topText);
}

#header_wrapper .nav .direction .top-nav-address:first-child {
  display: flex !important;
  align-items: flex-end;
  justify-content: center;
  grid-gap: 5px;
}
#header_wrapper .nav.checkout .direction .top-nav-address:first-child {
  justify-content: flex-start;
}
#header_wrapper .nav .direction .top-nav-address {
  padding-bottom: 5px;
}

#header_wrapper .nav .direction .top-nav-address span {
  /* color: var(--topText); */
}

#header_wrapper .nav .direction .top-nav-address span>span:first-child {
  color: var(--topText);
  font-weight: bold;
  font-family: var(--fontHeaderleft);
}

#header_wrapper .nav .direction .top-nav-address span.sep {
  width: 1px;
  display: inline-block;
  background: #E6E6E6;
  color: transparent;
  margin: 0 5px;
}

#header_wrapper .nav .direction .top-nav-address #status_store.open {
  color: #849434;
  font-weight: normal;
}

#header_wrapper .nav .direction .top-nav-address #status_store.closed {
  color: red;
  font-weight: normal;
}

#header_wrapper .nav .direction .top-nav-address #hours_inner {
  display: inline;
  font-weight: normal;
}

@media screen and (max-width: 850px) {
  #header_wrapper .nav .direction .top-nav-address {
    font-size: 0.6rem;
  }
}

@media screen and (max-width: 330px) {
  #header_wrapper .nav .direction .top-nav-address {
    font-size: 0.55rem;
  }
}

#header_wrapper .nav .direction .custom-select {
  -ms-grid-row: 1;
  grid-row-start: 1;
  -ms-grid-column: 2;
  grid-column-start: 2;
  -ms-grid-row-span: 2;
  grid-row-end: span 2;
  -ms-grid-row-align: center;
  align-self: center;
  justify-self: flex-start;
}

#header_wrapper .nav .logo {
  display: flex;
  align-items: center;
  justify-content: center;
}


#header_wrapper .nav .logo a,
#header_wrapper .nav .logo img {
  height: 105px;
}

#header_wrapper .nav .logo a {
  text-decoration: none;
}

#header_wrapper .nav .logo img {
  -o-object-fit: contain;
  object-fit: contain;
}

#header_wrapper .nav .cart-image {
  display: inline-block;
  background-image: url("../../images/cart.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  margin-right: 5px;
  position: relative;
  top: 0;
}

#header_wrapper .nav .account-image {
  display: inline-block;
  background-image: url("../../images/account.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
  margin-right: 5px;
  position: relative;
  top: -2.5px;
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari 3.1+ */
  -moz-user-select: none;
  /* Firefox 2+ */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none;
  /* Standard syntax */
}

#header_wrapper .nav .account {
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari 3.1+ */
  -moz-user-select: none;
  /* Firefox 2+ */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none;
  /* Standard syntax */
  display: inline-block;
  background-image: url("../../images/account.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 35px;
  height: 35px;
}

#header_wrapper .nav .cart {
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari 3.1+ */
  -moz-user-select: none;
  /* Firefox 2+ */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none;
  /* Standard syntax */
  display: inline-block;
  background-image: url("../../images/cart.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 35px;
  height: 35px;
  position: relative;
}

#header_wrapper .nav .cart span {
  display: grid;
  align-items: center;
  width: 1.3rem;
  height: 1rem;
  font-size: .6rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  transition: all 1s;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  top: 7px;
  left: 10px;
  text-align: center;
  color: white;
}

@media screen and (max-width: 890px) {

  #header_wrapper .nav .account-image,
  #header_wrapper .nav .cart-image {
    top: -6px;
  }
}

#header_wrapper .nav .button {
  display: -ms-grid;
  display: grid;
  grid-auto-flow: column;
  align-items: center;
  justify-content: flex-end;
  color: var(--topText);
  grid-gap: 10px;
}

#header_wrapper .nav .button>div {
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari 3.1+ */
  -moz-user-select: none;
  /* Firefox 2+ */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none;
  /* Standard syntax */
  display: flex;
  align-items: center;
  position: relative;
}

/* #header_wrapper .nav .button > div:last-of-type {
  margin-left: 20px;
} */
#header_wrapper .nav .button .cart-counter {
  display: grid;
  align-items: center;
  width: 1.3rem !important;
  height: 1rem;
  font-size: .6rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  transition: all 1s;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  top: 5.6px;
  left: 7px;
  text-align: center;
  color: white;
}

#header_wrapper .nav .button .cart-counter:hover {
  width: auto;
  white-space: initial;
  overflow: visible;
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari 3.1+ */
  -moz-user-select: none;
  /* Firefox 2+ */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none;
  /* Standard syntax */
}

@media screen and (max-width: 1010px) {
  #header_wrapper .nav .button {
    font-size: 0.7rem;
  }
}

@media screen and (max-width: 890px) {
  #header_wrapper .nav .button {
    font-size: 0.7rem;
  }

  #header_wrapper .nav .button .cart-counter {
    position: relative;
  }
}

#header_wrapper .nav .visible-mobile {
  display: none !important;
}

#header_wrapper .nav .hidden-mobile {
  display: inline-block !important;
}

@media screen and (max-width: 1165px) {
  #header_wrapper .nav .logo img {
    height: 75px;
  }
}

@media screen and (max-width: 767px) {
  #header_wrapper .nav .direction {
    grid-template-columns: auto auto;
  }
  #header_wrapper .nav.checkout .direction{
    grid-template-columns: 1fr;
    justify-content: center;
  }
  #header_wrapper .nav.checkout .direction .top-nav-address:first-child {
    justify-content: center;
  }
  #header_wrapper .nav {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  #header_wrapper .nav .visible-mobile {
    display: inline-block !important;
  }

  #header_wrapper .nav .top-nav-address {
    text-align: center;
  }

  #header_wrapper .nav .hidden-mobile {
    display: none !important;
  }

  #header_wrapper .nav .button {
    display: none;
  }

  #header_wrapper .nav .direction {
    text-align: right;
  }

  #header_wrapper .nav .logo {
    text-align: center;
    -ms-grid-row: 1;
    grid-row-start: 1;
    -ms-grid-row-align: center;
    align-self: center;
    display: inline-block;
    -ms-grid-column-align: center;
    justify-self: center;
  }
  #header_wrapper .nav .logo {
    display: grid;
    grid-auto-flow: column;
    grid-gap: 10px;
  }
  #header_wrapper .nav:not(.checkout) .logo.in {
    grid-template-columns: repeat(3,1fr);
    justify-items: center;
    grid-auto-flow: row;
  }
  #header_wrapper .nav:not(.checkout) .logo.in a{
    grid-row-start: 1;
    grid-column-end: span 3;
  }
  #header_wrapper .nav .logo a,
  #header_wrapper .nav .logo img {
    height: 65px;
  }
  .select-items div, .select-selected{
    padding-right: 40px;
  }
  #header_wrapper .nav .direction .custom-select{
    font-size: .7rem;
  }
}

/*the container must be positioned relative:*/
/*the container must be positioned relative:*/
.custom-select {
  font-weight: bold;
  position: relative;
  font-family: var(--fontSecond);
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari 3.1+ */
  -moz-user-select: none;
  /* Firefox 2+ */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none;
  /* Standard syntax */
}

.custom-select select {
  display: none;
  /*hide original SELECT element:*/
}

.select-selected {
  background-color: var(--mealperiodColor);
/* .select-selected.loaded {
  background-color: #f59331;
  cursor: pointer;-webkit-user-select: none; /* Safari 3.1+ */
-moz-user-select: none;
/* Firefox 2+ */
-ms-user-select: none;
/* IE 10+ */
user-select: none;
/* Standard syntax */
color: #808285;
}

.select-selected.loaded>div {
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari 3.1+ */
  -moz-user-select: none;
  /* Firefox 2+ */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none;
  /* Standard syntax */
}

*/ .select-selected {
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari 3.1+ */
  -moz-user-select: none;
  /* Firefox 2+ */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none;
  /* Standard syntax */
}

.select-selected>div {
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari 3.1+ */
  -moz-user-select: none;
  /* Firefox 2+ */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none;
  /* Standard syntax */
}

/*style the arrow inside the select element:*/
.select-selected:after {
  content: "";
  position: absolute;
  right: 10.5px;
  top: calc(50% - 7px);
  width: 7px;
  height: 7px;
  background-color: transparent;
  border-left: 2px solid #808285;
  border-bottom: 2px solid #808285;
  z-index: 2;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.select-selected:before {
  content: "";
  position: absolute;
  right: 30px;
  top: 0;
  width: 1px;
  height: 100%;
  background-color: #808285;
  z-index: 2;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  top: calc(50% - 2.5px);
}

/*style the items (options), including the selected item:*/
.select-items div,
.select-selected {
  color: #808285;
  padding: 8px 10px;
  border-bottom: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  padding-right: 80px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.select-items div {
  text-align: left;
  color: #666666;
  padding: 8px 0px;
  border-bottom: 1px solid transparent;
  border-color: transparent transparent #ccc transparent;
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari 3.1+ */
  -moz-user-select: none;
  /* Firefox 2+ */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none;
  /* Standard syntax */
  padding-right: 40px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.select-items div:last-child {
  border: none;
}

/*style items (options):*/
.select-items {
  position: absolute;
  background-color: #fff;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  font-weight: normal;
  padding: 10px;
}

/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}

.select-items div:hover,
.select-items .same-as-selected {

  color: var(--mainColor);
}

.select {
  position: relative;
  display: inline-block;
}

.select * {
  outline: none;
}

.select::after {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 30px;
  height: calc(100%);
  background-color: var(--mainColor);
  box-sizing: border-box;
  border-left: 1px solid white;
  box-shadow: 1px 0px 0 0 rgba(255, 255, 255, 0.3) inset;
  content: "";
}

.select::before {
  content: "";
  position: absolute;
  right: 9.5px;
  top: calc(50% - 7px);
  width: 7px;
  height: 7px;
  background-color: transparent;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  z-index: 2;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.select #type_categories {
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari 3.1+ */
  -moz-user-select: none;
  /* Firefox 2+ */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none;
  /* Standard syntax */
  color: white;
  position: relative;
  z-index: 3;
  background: linear-gradient(to right, var(--mainColor), var(--mainColor) calc(100% - 29.5px), transparent 30px);
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  appearance: none;
  padding: 5px 35px 5px 5px;
}

.select #type_categories:placeholder {
  opacity: 1;
}

/**/
#header_wrapper .nav .cen-out {
  display: flex;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari 3.1+ */
  -moz-user-select: none;
  /* Firefox 2+ */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none;
  /* Standard syntax */
  /* background-color: #525F6F; */
  padding: 2px 5px;
}

@media screen and (max-width: 767px) {
  #header_wrapper .nav .cen-out {
    display: inline-block;
    padding: 0;
    background-color: transparent;
    cursor: pointer;
    -webkit-user-select: none;
    /* Safari 3.1+ */
    -moz-user-select: none;
    /* Firefox 2+ */
    -ms-user-select: none;
    /* IE 10+ */
    user-select: none;
    /* Standard syntax */
  }

  #header_wrapper .nav .cen-out span {
    width: 35px;
    height: 35px;
  }
}

#header_wrapper .nav .logout-image {
  display: inline-block;
  background-image: url("../../images/log-out.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  width: 25px;
  height: 25px;
  margin-right: 5px;
  position: relative;
  top: 0px;
}

#header_wrapper .top-nav-acc-cart>div.int {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 950px) {

  #header_wrapper .nav .cen-out,
  #header_wrapper .nav .button>div {
    display: -ms-grid;
    display: grid;
    grid-gap: 5px;
    justify-items: center;
  }

  #header_wrapper .nav .cen-out span,
  #header_wrapper .top-nav-acc-cart span,
  #header_wrapper .nav .account-image,
  #header_wrapper .nav .cart-image {
    margin: 0px;
    top: 0;

  }
}

.buttons_responsive {
  display: grid;
  grid-auto-flow: column;
  justify-content: space-evenly;
  grid-gap: 20px;
}
@media screen and (max-width:767px){
  .select-items div, .select-selected{
    padding-right: 40px;
  }
  #header_wrapper .nav .direction .custom-select{
    font-size: .7rem;
  }
}
/*end header*/
