@font-face {
  font-family: 'IRANSans';
  src: url('../fonts/IRANSansWeb68b3.ttf?ver=1')  format('truetype'),
  url("../fonts/IRANSansWeb.eot") format("embedded-opentype"),
  url("../fonts/IRANSansWeb.woff2") format("woff2"),
  url("../fonts/IRANSansWeb.woff") format("woff");
}

body,
html {
  color: #fff;
  text-align: right;
  background: #131b28;
  font-family: IRANSans,Helvetica, sans-serif;
  margin: 0;
  direction:rtl;
}
body{
    overflow-x: hidden;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.items::-webkit-scrollbar {
  display: none;
}
.main::-webkit-scrollbar {
  display: none;
}
.tax {
    font-size: 0.5rem;
    display: inline-block;
    margin-top: 0.5rem;
    color: #ccc;
    margin-right: 0.5rem;
}
.text-muted2{
    color: #9ba3a1!important;
}
/* Hide scrollbar for IE, Edge and Firefox */
.items,.main {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.items .active{
    transition: all 0.5s;
    transform: scale(1.12);
    background-color: rgba(240,248,255,.70)!important;
}
.menus{
    margin-top:130px;
    overflow-x:hidden;
    transition: all 0.5s;
}
.tomans{
    font-size: 8px;
    margin-top: 2px;
    font-family: IRANSans, sans-serif;
    touch-action: pan-y;
}
.tomans2{
    font-size: 9.5px;
     margin-top: 2px;
    font-family: IRANSans, sans-serif;
    touch-action: pan-y;
}
.bg-modal {
    background-color: #a1e39!important;
}
.card-img-right{
    width: 180px!important;
    height: 180px!important;
    padding: 0.75rem;
    border-radius: 1.6rem;
    object-fit: cover;
    margin: auto 0;
    min-width: 180px;
    min-height: 180px;
}
.card{
  background: #1a1e39;
  border-radius: .5rem;
  cursor: pointer;
}
.card-body{
  direction:rtl;
}
.card-text{
    direction: ltr;
    text-align: right;
}
.grid-container {
  background: #efefef;
  font-family: "Rubik", sans-serif;
}
.logo-top{
    margin-top: -26px;
    border-radius: 30px;
    background: #141328;
    width: 150px;
    padding: 0.3rem 0.65rem;
}
.img-top{
    display: inline-block;
    width: 100%!important;
    height: 160px;
    object-fit: cover;
}
.main{
    top: 210px;
}

  
  @media screen and (max-width: 500px) {
      .card-body {
    padding-right: 0.6rem;
    padding-bottom: 0rem;
    max-width: calc(100% - 120px);
}
.menu-title{
    font-size: 12px!important;
    bottom:0;
    
}
.tax{
    margin-right:0!important;
    margin-top:0.1rem!important;
    width:100%;
}
.firstitem {
    margin-right: calc(50% - 57px)!important;
}
      .card-img-right {
    width: 120px!important;
    height: 120px!important;
    padding: 0.65rem;
    border-radius: 20px;
    object-fit: cover;
    margin: auto 0;
    min-width: 120px;
    min-height: 120px;
      }
      .text-muted {
          margin-left:0!important;
          font-size:12px;
          margin-bottom:10px!important;
      }
    .menus{
        margin-top: 130px!important;
    }
    .items .active{
    transition: all 0.5s;
    transform: scale(1.1);
}
  .header img {
    width: 300px;
}
.main {
    top: 120px;
}
.item {
   min-height: 90px!important;
    min-width: 110px!important;
    margin: 1rem;
}
.menu-icon img {
    width: 50px;
     max-width: 50px;
}


}
  
  .menu-category-title span {
    background-color: #141328;
    padding: 0 1em;
    position: relative;
    margin: auto;
    display: table;
}
  .menu-category-title {
    color: #caa240;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    direction: rtl;
    margin: 0;
    padding: 0;
}
.menu-category-title-container {
    color: #fff;
    text-align: center;
    font-size: 30px;
    position: relative;
    padding: 0.75rem 0;
    margin-bottom: 1rem;
}
.menu-category-title-container:before {
    content: "";
    display: block;
    position: absolute;
    top: calc(50% - 2px);
    width: 100%;
    border-bottom: 3px solid hsla(0,0%,100%,.58039);
}
.menu-category-title span:before {
    content: "«";
    background-color: rgba(0,0,0,0);
    background-color: initial;
    position: absolute;
    top: 0;
    bottom: 0;
    height: 22px;
    right: 0;
    margin: auto 7px auto 0;
}
.menu-category-title span:after {
    content: "»";
    background-color: rgba(0,0,0,0);
    background-color: initial;
    position: absolute;
    top: 0;
    bottom: 0;
    height: 22px;
    left: 0;
    margin: auto 0 auto 7px;
}
  .grid-item {
    color: #fff;
    background: skyblue;
    padding: 3.5em 1em;
    font-size: 1em;
    font-weight: 700;
  }

  .header {
    background-color: #131428;
    grid-area: header;
    padding: 0.25em;
    text-align: center;
  }

  .title {
    color: #555;
    background-color: #f4fbfd;
    grid-area: title;
  }
  
.modal-header .close{
    margin: -1rem auto -1rem -1rem!important;
    color:#fff!important;
}
  .main {
    color: #959595;
    background-color: #d1aa4b !important;
    grid-area: main;
    padding: 0;
    overflow-x: scroll;
    overflow-y: hidden;
    position: fixed;
    z-index: 9;
    top:205px;
    transition: .6s;
    width: 100%;
  }
.text-muted{
    text-align: right;
    margin-left: 20%;
}
  .footer {
    background-color: #5bbce4;
    grid-area: footer;
    padding: 0.6em;
  }
.price{
    margin-top: auto;
    touch-action: pan-y;
    font-family: sans-serif;
}
  .items {
    position: relative;
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    transition: all 0.2s;
    transform: scale(0.98);
    will-change: transform;
    user-select: none;
    cursor: pointer;
    direction: rtl;
  }

  .items.active {
    background: rgba(0, 0, 0, 0.1);
    cursor: grabbing;
    cursor: -webkit-grabbing;
    transform: scale(1);
  }
.menu-title{
    font-family: IRANSans;
  position: absolute;
    color: #000;
    font-size: 11px;
    text-align: center;
    max-width: 100%;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    bottom: 3px;
    padding: 0 5px;
}
  .item {
    display: inline-block;
    min-height: 90px;
    min-width: 130px;
    margin: 0.6rem;
    
    background-color: rgba(240,248,255,.39)!important;
    text-align: center;
    border-radius: 12px;
    position:relative;
  }
  

a {
  display: block;
  color: #c9e9f6;
  text-decoration: underline;
  margin: 1em auto;
}
a:hover {
  cursor: pointer;
}

p {
  text-align: right;
  text-indent: 20px;
  font-weight: 100;
}

i {
  color: #fff;
}
.firstitem{
    margin-right: calc(50% - 67px);
}
.menu-icon{
  max-width: 100%;
    width: 100%;
    position: absolute;
    top: 1px;
}
.menu-icon img {
    width:58px;
    max-width:58px;
}
.header img{
  width:130px;
}
.logo-holder{
    background:#131428;
}
.logo-top{background:#131428;}



