@font-face {
  font-family: "IRANSans";
  font-style: normal;
  font-weight: normal;
  src: url("../font/IRANSans/eot/IRANSansWeb.eot");
  src: url("../font/IRANSans/eot/IRANSansWeb.eot?#iefix") format("embedded-opentype"),
    /* IE6-8 */
    url("../font/IRANSans/woff2/IRANSansWeb.woff2") format("woff2"),
    /* FF39+,Chrome36+, Opera24+*/
    url("../font/IRANSans/woff/IRANSansWeb.woff") format("woff"),
    /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url("../font/IRANSans/ttf/IRANSansWeb.ttf") format("truetype");
}

::-webkit-scrollbar {
  width: 0px !important;
  height: 0px !important;
  display: none !important;
}

body {
  font-family: "IRANSans", sans-serif;
  overflow: hidden;
  background: url("/assets/img/other/bg-4.webp") repeat;
}

body::before {
  position: absolute;
  content: " ";
  background: rgba(255, 255, 255, 90%);
  height: 100vh;
  width: 100%;
  z-index: -1;
}

.splash .loader-cube-wrap .loader-cube:before {
  background-color: #000;
}

.dark-mode body::before {
  position: absolute;
  content: " ";
  background: rgb(0 0 0 / 90%);
  height: 100vh;
  width: 100%;
  z-index: -1;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "IRANSans", sans-serif;
}

h5, .h5 {
  font-size: 1.1rem;
}

.dark-mode .header {
  background-color: rgb(0 0 0 / 30%);
}

.form-floating>.form-control:focus, .form-floating>.form-control:not(:placeholder-shown) {
  padding-top: 2rem;
}

textarea.form-control {
  height: 120px !important;
}

main {
  overflow: auto;
  height: 100vh;
}

.card {
  color: #5B5B5B;
}

.rtl .form-floating>label {
  right: -10px;
}

.row.food {
  align-content: flex-start;
}

/*
====================================================================
            Loader
====================================================================
*/

.container.loader {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  max-width: 100% !important;
}

.container.loader:before {
  content: " ";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  opacity: 1;
  background-color: rgb(255 255 255 / 95%);
}

.loader-cube-wrap .loader-cube:before {
  background-color: #000;
}

.container.loader.loader-hide {
  display: none;
}

.container.loader.loader-show {
  display: block;
}

.loader-cube-wrap.loader {
  width: 16px;
  height: 16px;
  margin-top: 70px;
}

.splash footer {
  background: none !important;
  background-color: none !important;
  backdrop-filter: unset !important;
  box-shadow: none !important;
  padding: 20px;
  text-align: center;
}

.splash .logo {
  max-width: 230px;
  margin-top: 50px;
}

.side.filter i.bi-clock {
  padding-left: 5px;
  top: 1px;
  position: relative;
}

.side.filter .btn-select {
  border-radius: 0px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  color: #000;
  height: 34px;
  font-size: 14px;
}

.account .req-list .avatar-st i {
  font-size: 30px;
  position: relative;
  top: 4px;
}

.account .req-list .show {
  padding-left: 20px;
}


.side.filter small {
  line-height: 18px;
}

.side.filter small.Dev {
  z-index: 1;
  text-align: center;
  padding: 13px 7px 7px 7px;
  font-size: 12px;
  line-height: 20px;
  background-color: #EEEEEE;
}

.card .card-footer:last-child {
  background-color: #EEEEEE;
}

.dark-mode .side.filter small.Dev {
  background-color: #212121;
}

.dark-mode .card .card-footer:last-child {
  background-color: #212121;
}

.side.filter small.Dev a {
  color: #000;
  text-decoration: none;
}

.dark-mode .side.filter small.Dev a {
  color: #fff;
}

.side .card .card-body {
  border-top: 1px solid #E0E0E0;
  border-right: 1px solid #E0E0E0;
  border-left: 1px solid #E0E0E0;

  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.side .card-body.overflow-auto {
  border: none;
}

.res-group .col.main h6 small.green {
  float: left;
  font-size: 11px;
  padding-top: 2px;
  color: green;
}

.res-group.swiper-container {
  height: auto !important;
}

button:disabled {
  background-color: #BDBDBD;
}

.btn-warning {
  color: #ffffff;
}

.mt-25p {
  margin-top: 25% !important;
}

.box-title {
  color: #424242;
}

.res-group .col.main h6 small.red {
  float: left;
  font-size: 11px;
  padding-top: 2px;
  color: red;
}

.res-group h6 {
  font-size: 13px;
  margin: 0px;
}

/*
====================================================================
           End Loader
====================================================================
*/

.dark-mode .sidemenu.filter .card .card-body {
  /* background-color: rgb(255 255 255 / 50%); */
  border-radius: 10px;
}

.res-group {
  position: fixed;
  left: 10px;
  right: 10px;
  top: 76px;
  height: auto;
  padding-bottom: 0px !important;
  margin-bottom: 5px !important;
}

.res-group .filter-btn {
  width: 90px;
  padding: 0px;
  height: 62px;
}

.dark-mode .res-group .filter-btn {
  background-color: rgb(255 193 7 / 73%);
}

.res-group .filter-btn i {
  position: relative;
  top: 10px;
  font-size: 21px;
}

.res-group .col.main {
  padding-right: 0px;
  padding-left: 14px;
}

.res-group .col.main .card {
  height: 62px;
}

.res-group .col.main h6 {
  line-height: 18px;
}

.res-group .card-body {
  padding-top: 11px;
  padding-bottom: 10px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.res-group .swiper-wrapper {
  height: auto;
}

.sidemenu.filter .card-body.active {
  border: 2px solid #ffc107;
  border-radius: 10px;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 10%) !important;
}

.form-control {
  box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 20%) !important;
  color: #5B5B5B;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
  direction: ltr;
}

/* * {
  scroll-behavior: smooth;
  scroll-padding-top: 150px; 
} */

.sidemenu.filter {
  position: fixed;
  z-index: 10;
  width: 110px;
  right: 0px;
  top: 130px;
  height: calc(100% - 198px);
  overflow-y: hidden;
  padding: 10px;
}

.sidemenu.filter .card.shadow {
  padding: 10px 7px;
  overflow: hidden;
}

.sidemenu.filter .card-body {
  padding: 0.5rem;
  /* height: 70px; */
  text-align: center;
}

/* .sidemenu.filter .categoriesswiper .swiper-wrapper .swiper-slide img {
  max-height: 55px;
  position: relative;
  top: -2px;
} */

.sidemenu.filter .categoriesswiper {
  overflow-y: scroll;
}

.sidemenu.filter .categoriesswiper img {
  /* max-height: 55px; */
  position: relative;
  /* top: -2px; */
}

.swiper-slide {
  height: auto;
}

/* .sidemenu.filter .categoriesswiper .swiper-wrapper .swiper-slide {
  width: 75px;
} */

.sidemenu.filter .categoriesswiper .swiper-slide {
  width: 75px;
}

.sidemenu.filter .categoriesswiper .col {
  margin-bottom: 2px;
}

.categoriesswiper .categoryname {
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  margin-bottom: 5px;
  margin-top: 5px;
}

main.has-header {
  padding-top: 75px;
}

.main-container.home {
  /* width: calc(100% - 100px);
  margin: 0px auto 0px 0px; */
}

.resgroup .card-body {
  padding: 10px 15px 10px 15px;
}

.resgroup .swiper-wrapper .swiper-slide {
  padding-left: 0px;
}

.dark-mode .footer {
  background-color: rgba(90, 90, 90, 1);
}

.food {
  overflow: auto;
  height: calc(100vh - 185px);
  padding-bottom: 155px;
  position: fixed;
  left: 12px;
  right: 10px;
  top: 140px;
  right: 112px;
}

.food .card-body figure {
  height: 200px;
  background-color: #ffffff00;
}

.food .card-body figure img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  padding: 5px;
}

.food small del {
  color: red;
  position: relative;
  bottom: -14px;
  font-size: 14px;
}

.food .card-body {
  padding: 0.7rem 0.7rem;
}

.swiper-container {
  height: 100%;
}

.food .card-body small {
  color: #000;
  font-size: 11px;
  line-height: 19px;
}

.food .card-body h6 {
  font-size: 16px;
}

.dark-mode .food .card-body small {
  color: #fff;
}

.food .card-body .price {
  float: left;
  font-size: 16px;
}

.mode-change i {
  font-size: 18px;
}

.header .logo-small img {
  width: 48px;
  padding-top: 0px;
}

.header .logo-small.text img {
  width: 100px;
  padding-top: 0px;
  margin-right: 10px;
}

.header .logo-box {
  display: flex;
  align-items: center;
}

.header .logo-small.text p {
  font-size: 10px;
  margin-right: 10px;
  color: #162640;
}

.p-404 {
  font-size: 150px;
}

.avatar>i {
  margin-top: -1px;
}

.footer .nav .nav-item .nav-link span .nav-icon {
  font-size: 20px;
}

.modal {
  z-index: 10000;
}

.modal-backdrop {
  z-index: 20;
}

.modal {
  padding: 0% 15px 15px 15px !important;
}

.btn-danger {
  color: #fff;
  background-color: #fb737c;
  border-color: #fb737c;
}

.no-service small {
  color: red;
}

.yes-service small {
  color: green;
}

del {
  color: red;
}

.product p.price {
  font-size: 12px;
}

.modal .modal-dialog .modal-content.product {
  max-width: 100%;
  width: 100%;
}

.modal-sm {
  max-width: 500px;
}

.modal-body .price-row {
  padding: 8px 0px;
  ;
}

.modal-body .price-row:nth-child(odd) {
  background-color: #f8f9fa;
}

.modal-body {
  padding: 13px;
}

.modal-body hr {
  margin-bottom: 0px;
}

.modal-body .counter-number {
  top: 5px;
  position: relative;
}

.sidemenu.filter .categoriesswiper img {
  height: 60px;
  width: 100%;
  object-fit: fill;
}

.modal-footer {
  margin: 0px 0px 5px 0px;
  padding: 0px;
}

.footer .nav .nav-item.center-item .nav-link>span .countercart {
  background-color: #e92328;
}

.footer {
  background-color: rgba(255, 255, 255, 1);
}

@media (min-width: 1400px) {

  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    max-width: 100%;
  }
}

#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {
  opacity: 0.7;
}

/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.6);
  /* Black w/ opacity */

  z-index: 100;
  padding: 15% 15px 15px 15px;
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  border-radius: 15px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.res-group .card-body.active {
  border: 2px solid #ffc107;
  border-radius: 10px;
}

.card .card-body {
  color: #343a40;
}

.cart-sum {
  background-color: #ffffff;
  width: 100%;
  left: 0px;
  right: 0px;
  padding-top: 5px;
  height: 230px;
  position: absolute;
  bottom: 0px;
  border-radius: 25px;
  box-shadow: 0px 0rem 1rem rgb(0 0 0 / 20%) !important;
}

.cart-sum .cart-sum-title {
  padding: 8px 5px 0px 5px;
}

.cart-sum p {
  font-size: 14px;
  color: #283593;
}

.cart-sum p span {
  font-weight: bold;
  color: #000;
}

.usercart .cartlist {
  height: calc(100vh - 315px);
  display: block;
}

.usercart .modal-content {
  width: 100%;
  max-width: 100%;
}

.account .wallet .card.card-theme .card-body {
  padding: 10px;
}

.account .wallet .row {
  align-content: center;
  align-items: center;
}

.account .wallet .logout {
  font-size: 32px;
  padding-left: 10px;
}

.account .wallet .card.card-theme .card-body .avatar img {
  background-color: #3f51b5;
  padding: 5px;
}

.account .wallet .card.card-theme .card-body .u-name {
  /* color: #212529; */
}

.account .wallet .card.card-theme::before {
  background-color: #3F51B5;
}

.account .wallet .card.card-theme .card-body .cart-price h2 {
  font-size: 16px;
  padding-bottom: 5px;
}

.account .wallet .card.card-theme .card-body .cart-price i.bi-wallet {
  padding-right: 5px;
  font-size: 27px;
}

.account .wallet .card.card-theme .card-body .cart-price .price {
  padding-right: 0px;
}

.account .wallet .card.card-theme .card-body .avatar.avatar-40 {
  line-height: 33px;
  height: 32px;
  width: 32px;
}

.account .wallet .static .avatar>i {
  font-size: 24px;
  position: relative;
  top: 2px;
}


/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 85%;
  }

  .modal {
    padding: 60% 15px 15px 15px;
  }
}

@media (min-width: 1200px) {
  .container, .container-sm, .container-md, .container-lg, .container-xl {
    max-width: 100%;
  }
}