@import url('font/font.css');

.toolbar{
    width: 100%;
    height: 54px;
    position: relative;
    text-align: right;
    line-height: 54px;
    box-shadow: 0px 0px 10px -4px rgba(0, 0, 0,0.5);
    font-size: 2rem;
    padding-right: 12px;
    background-color: #fff;
    z-index: 5;
}

.toolbar-title{
    position: absolute;
    right: 60px;
    top: 2px;
    font-family: shabnam;
    display: inline;
}

.toolbar-menu{
    width: 54px;
    height: 54px;
    background-image: url("/asset/img/menu.svg");
    background-repeat: no-repeat;
    background-size:80% 80%;
    -o-background-size: 80% 80%;
    -webkit-background-size: 80% 80%;
    position: absolute;
    top: 6px;
    right: 0; 
    transition: 0.2s;
    cursor: pointer;
}


.drawer {
    height: 100%;
    width: 320px;
    position: fixed;
    z-index: 4;
    top: 54px;
    right: -320px;
    background-color: #FFF;
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 24px;
    box-shadow: 0px 0px 10px -4px rgba(0, 0, 0,0.5);
  }

  .drawer-title{
      width: 100%;
      text-align: center;
      font-family: shabnam;
      font-size: 2.5rem;
      font-weight: bold;
      padding: 24px 0 0;
  }

  #username-title{
    font-family: iranSansPerNum;
  }

  .drawer ul{
      text-align: right;
      padding-right: 40px;
      font-family: iranSans;
      font-size: 1.7rem;
      padding: 12px 0 0 0;
      text-align: center;
  }

  .drawer li{
    text-align: right;
    padding-right: 40px;
    font-family: iranSans;
    font-size: 1.7rem;
    padding: 12px 48px 0 0;
    list-style: none;
    margin-bottom: 10px;
}

.category-wrapper {
    overflow: auto;
    height: 100%;
}

.nonelink{
    color: #333 !important;
}

.round-profile {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 18px auto;
}

.center-block {
    display: block;
    margin-right: auto;
    margin-left: auto;
}



.loop-footer {
    width: 100%;
    height: 64px;
    position: fixed;
    bottom: 0;
    background-color : #FFFFFF;
    box-shadow: 0px -2px 10px -5px rgb(0 0 0 / 50%);
    z-index: 1;
}



.footer-logo {
    width: 25%;
    height: 28px;
    position: absolute;
    top: 9px;
    height: 42px;
    margin: 0 auto;
    text-align: center;
    color: #8c8c8c !important;
}



.footer-title {
    display: inline-block;
    font-size: 13px;
    top: 21px;
    position: relative;
    height: 21px;
    font-family: 'iranSans';
    text-align: center;
    width: 100%;
}


.footer-item{
    width: 25%;
    float: right;
    text-align: center;
    line-height: 42px;
    vertical-align: middle;
    font-size:1.65em;
    color: rgba(0, 0, 0);
}

.footer-item a{
    color: rgba(0, 0, 0);
}

#main-back{
    float: left;
    margin: 10px 16px;
}

.products-wrapper{
    display: block;
    position:absolute;
    height:auto;
    bottom:64px;
    top:56px;
    left:0;
    right:0;
    overflow: overlay;
}

*::-webkit-scrollbar {
    width: 0px;
}

.product-container{
    width:33.33%;
    outline: 2px solid #FFF;
    float: right;
}

.payment-alert{
    display: block;
    position:absolute;
    height:auto;
    bottom:64px;
    top:56px;
    left:0;
    right:0;
    overflow: scroll;
}


.search-modal{
    width: 100%;
    height: 100%;
    display: none;
    background-color: rgba(255, 255, 255, 0.97);
}


.about-modal{
    width: 100%;
    height: 100%;
    display: none;
    background-color: rgba(255, 255, 255, 0.97);
}

#modal-about-body{
    padding: 24px !important;
    text-align: center;
}

.setting-modal{
    width: 100%;
    height: 100%;
    display: none;
    background-color: rgba(255, 255, 255, 0.97);
}


.basket-modal{
    width: 100%;
    height: 100%;
    display: none;
    background-color: rgba(255, 255, 255, 0.97);
}

.orders-modal{
    width: 100%;
    height: 100%;
    display: none;
    background-color: rgba(255, 255, 255, 0.97);
}

.order-modal{
    width: 100%;
    height: 100%;
    display: none;
    background-color: rgba(255, 255, 255, 0.97);
}

.order-info-modal{
    width: 100%;
    height: 100%;
    display: none;
    background-color: #fafaf8;
}

.product-modal{
    width: 100%;
    height: 100%;
    display: none;
    overflow: auto;
    background-color:#FFF;
}

.modal-body{
    position: relative;
    top: 64px;
    padding: 0 !important;
}

.input54{
    height: 54px;
    font-family: shabnam;
    direction: rtl;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
}

.input45{
    height: 45px;
    font-family: shabnam;
    direction: rtl;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
}


.select-attrib{
    font-family: shabnam;
    direction: rtl;
    height: 46px;
    width: 100%;
    margin-bottom: 16px;
}



.modal-toolbar{
    width: 100%;
    height: 54px;
    line-height: 54px;
    vertical-align: middle;
    box-shadow: 0px -4px 14px 0px rgba(0, 0, 0,0.5);
    padding: 0 12px 0;
    background-color: #fff;
    position: fixed;
    z-index: 4;
}

.modal-title{
    float: right;
    line-height: 54px;
    vertical-align: middle;
    margin-right: 8px;
    font-family: shabnam;
    font-size: 2rem;
    max-width: calc(100% - 64px);
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    direction: rtl;
}

.close-icon{
    height: 100%;
    float: right;
}


.loader-container{
    width: 100%;
    height: 64px;
    padding: 16px;
}

.loader{
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 32px;
    height: 32px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}

.ltr{
    float: left;
    direction: rtl;
}

.modal-loading{
    width: 100%;
    height: 64px;
    padding: 16px;
    position: absolute;
    top: 50%;
}

.basket-loading{
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #000000b0;
    z-index: 5;
}


.first-loading{
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #000000b0;
    z-index: 5;
    top: 0;
}

.loading-indicator{
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 64px;
    height: 64px;
    animation: spin 0.5s linear infinite;
    margin: 0 auto;
}

.loader{
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 32px;
    height: 32px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .clearfix {
    overflow: auto;
  }

  .clearfix::after {
    content: "";
    clear: both;
    display: table;
  }

.row {
    width: auto;
}

.flex-container {
    height: 100%;
    padding: 0;
    margin: 0;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-item {
    padding: 5px;
    width: auto;
    height: auto;
    margin: 10px;
    line-height: 20px;
    color: #444444;
    font-weight: bold;
    font-size: 2em;
    text-align: center;
    font-family: iranSans;
    direction: rtl;
}

.shadow-box{
    width: 96%;
    background-color: #fff;
    box-shadow: 0 2px 4px 0 rgb(0 0 0 / 9%);
    padding: 12px;
    margin: 0 auto;
    border-radius: 6px;
}

#info{
    font-family : iranSans;
    text-align: center;
}


.modal-product-text{
    direction: rtl;
    font-size: 2rem;
    color: #000;
}

.modal-product-price{
    font-size: 1.8rem;
    color:green;
    direction: rtl;
}

.shabnam{
    font-family: shabnam;
}

.w100{
    width: 100%; 
}



.w50{
    width: 50%;
}

.martop12{
    margin-top: 12px !important;
}

.martop24{
    margin-top: 24px  !important;
}

.martop32{
    margin-top: 32px  !important;
}


.martop64{
    margin-top: 64px  !important;
}


.margin12{
    margin: 12px !important;;
}

.margin24{
    margin: 24px !important;;
}


.basketButton{
    width: 100%;
    font-size: 2rem;
    font-family: shabnam;
}

.nav{
    font-family: shabnam;
    text-align: center;
}

.nav.li.a{
    color: #333;
}

.nav.li.a :active{
    color: #000;
}

a{
    color : #333 !important;
}

.tab-pane{
    padding: 24px;
    text-align: center;
    font-family: iranSans;
}

.shadow-off{
    box-shadow: none !important; 
    outline: none !important; 
    border: 1px solid #ccc !important;
}

#explanation{
    font-size: 1.5rem;
    line-height: 4rem;
    font-family: iranSansPerNum;
    font-weight: 500;
    text-align: right;
    direction: rtl;
    white-space: pre-line;
}

#specification{
    font-size: 1.5rem;
    font-family: iranSansPerNum;
    text-align: center;
    padding-top: 24px;
    position: relative;
    margin-bottom: 12px;
}

td{
    direction: rtl;
    text-align: center;
}


#modal-login{
    width: 80%;
    height: auto;
    background-color: #fff;
    position: absolute;
    z-index: 999999999999;
    display: none;
}

#modal-password{
    width: 90%;
    height: auto;
    background-color: #fff;
    position: absolute;
    z-index: 999999999999;
    display: none;
}

#modal-login .modal-toolbar{
    position: relative;
}

#modal-password .modal-toolbar{
    position: relative;
}


.input46{
    height: 46px;
    font-family: shabnam;
    direction: rtl;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
}

.modal-auth-title{
    font-size: 2rem;
    border-bottom: 1px #e9e9e9 solid;
}

.modal-submit-btn{
    font-size: 2rem;
}

.recovery{
    top: 12px;
    position: relative;
    font-size: 1.5rem;
    text-align: right !important;
}


.snack-bar{
    text-align: center;
    font-weight: 500 !important;
    font-size: medium !important;
    position: absolute;
    z-index: 999999999;
    height: 64px !important;
}

.snack-bar > p{
    width: 100%;
    font-family: iranSansPerNum !important;
    text-align: center;
    font-weight: 500 !important;
    font-size: medium !important;
   
}

.closeModalContainer{
    width: 36px;
    height: 36px;
    background-color: #fff;
    position: absolute;
    z-index: 9;
    right: 0;
}


#closeLoadingToggle{
    width: 100%;
    height: 100%;
    background: url('/asset/img/close.png');
    background-size: 24px 24px;
    background-repeat: no-repeat;
    margin-top: 12px;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover{
    border: none;
}


.btn-loading{
    border: 4px solid #f3f3f3;
    border-top: 4px solid #dcdcdc;
    border-radius: 50%;
    width: 24px;
    position: relative;
    height: 24px;
    top: 6px;
    display: inline-block;
    animation: spin 0.5s linear infinite;
    visibility: hidden;
}

.btn{
    height: 52px;
    vertical-align: middle;
}


.product-card{
    position: relative;
    width: 100%;
    height: auto;
    background-color: #FFF;
    border-radius: 4px;
    text-align: right;
    font-family: shabnam;
    font-size: 1.5rem;
    box-shadow: 0px 0px 10px -4px rgba(0, 0, 0,0.5);
    margin-bottom: 12px;
    padding: 12px;
}

.product-card2{
    position: relative;
    width: 100%;
    height: auto;
    background-color: #FFF;
    border-radius: 4px;
    text-align: right;
    font-family: shabnam;
    font-size: 1.5rem;
    box-shadow: 0px 0px 9px -4px rgba(0, 0, 0,0.5);
    margin-bottom: 4px;
    padding: 12px;
}

.product-card3{
    position: relative;
    width: 50%;
    float: right;
    height: auto;
    background-color: #FFF;
    text-align: right;
    font-family: shabnam;
    font-size: 1.5rem;
    margin-bottom: 2px;
    outline: 2px solid #dfdfdf;
}


.product-card2 .product-image{
    display: inline-block;
}

.product-image img{
    width: 96px;
    height: 96px;
}

.product-card2 .product-image img{
    width: 72px;
    height: 72px;
    border-radius: 8px;
}

.product-card3 .product-image img{
    width: 100%;
    height: 100%;
}

.product-card3 .product-info{
    width: 100%;
    padding: 12px;
}

.product-card3 .product-text{
    width: 100%;
}


.product-info{
    float: left;
    text-align: right;
    width: calc(100% - 96px );
    position: relative;
    top: 8px;
    padding-right: 8px;
    white-space: nowrap;
    direction: rtl;
}

.product-card2 .product-info{
    top: 8px;
}

#plusButton{
    border: 1px solid #7e7e7e;
    padding: 4px;
}

#minusButton{
    border: 1px solid #7e7e7e;
    padding: 4px;
}

#removeFromBasket{
    background-image: url('/asset/img/close.png');
    position: relative;
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    background-size: cover;
    position: absolute;
    z-index: 99999;
}

.btn-submit{
    height: 36px !important;
    font-family: iranSans;
}

.product-text{
    width: calc(100% - 42px);
    overflow: hidden;
}

.product-price{
    width: 100%;
    padding-left: 12px;
    overflow: hidden;
}

.product-wrapper{
    position: fixed;
    height: 100%;
    width: 100%;
    top: 54px;
    overflow: scroll;
    padding-bottom: 42px;
    z-index: -1;
}

.basket-wrapper{
    position: fixed;
    padding-top: 80px;
    padding: 12px;
    height: 100%;
    width: 100%;
    overflow: scroll;
    margin-top: 76px;
    padding-bottom: 80px;
}

.order-wrapper{
    position: fixed;
    padding-top: 80px;
    padding: 24px;
    height: 100%;
    width: 100%;
    overflow: scroll;
    margin-top: 56px;
    padding-bottom: 56px;
    text-align: right;
    font-family: shabnam;
}


.orders-wrapper{
    position: fixed;
    padding: 24px;
    height: 100%;
    width: 100%;
    overflow: scroll;
    margin-top: 76px;
    margin-bottom: 33px;
    padding-bottom: 120px;
    text-align: right;
    font-family: shabnam;
}

.btn-submit-order{
    width: 100%;
    font-size: 2rem;
}

.padding-top-24{
    padding-top: 24px;
}

.farsi{
    font-family: iranSansPerNum !important;
}




.list-group {
    width: 90%;
    border: none;
    line-height: 3rem;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: 0 0 4px rgba(0,0,0,.1); 
    margin: 0 auto; 
    position: relative;
    font-family: iranSans;
    text-align: right;
}



.list-group-item {
    border: none;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(0,0,0,.125);
    padding: .05rem 0;
    position: relative;
}

.list-group-item:first-child {
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}


.list-group-item {
    position: relative;
    display: block;
    padding: .75rem 1.25rem;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125);
    margin-bottom: -1px;
}



.list-group-item a {
    display: block;
    padding: .75rem 1.25rem;
    color: #3e3e3e;
    direction: rtl;
}


.list-group-item i , .list-group-item span {
    font-size: 1.8rem;
    margin-left: 10px;
    color: #7e7e7e;
}



*, ::after, ::before {
    box-sizing: border-box;
}

.list-group-item:not(.exit):after {
    position: absolute;
    left: 15px;
    top: 15px;
    content: '\f104';
    font-family: "FontAwesome";
    font-size: 3rem;
    color: #b9b9b9;
}

.orders-wrapper .list-group-item:after{
    top: 24px;
}


.order-info-container{
    text-align: center !important;
    font-family: iranSansPerNum;
    background-color:#fafaf8;
}

#infoTable{
    direction: rtl;
    background-color: #FFF;
}

#basketCounter{
    position: absolute;
    width: auto;
    height: auto;
    padding: 4px 8px;
    color: #FFF;
    background-color: red;
    border-radius: 50%;
    font-size: 1.8rem;
    top: -6px;
    margin-left: -12px;
}


.iranSans{
    font-family: iranSans !important;
}


.nav{
    font-size:1.8rem;
}




.btn{
    outline: none !important;
}

.suggest-box{
    font-family: shabnam;
    padding-right: 12px;
    padding-top: 12px;
}

.suggest-box > h4{
    direction: rtl;
}

#productSlider{
    margin-bottom: 24px;
}

#productSlider .product-card3{
    width: 96% !important;
    margin: 12px;
}


.rightShadow{
    width: calc(50% - 230px);
    background-color: #7e7e7e;
    height: 100%;
    position: fixed;
    z-index: 5;
    right: 0;
}

.leftShadow{
    width: calc(50% - 230px);
    background-color: #7e7e7e;
    height: 100%;
    position: fixed;
}


@media only screen and (min-width: 600px) {
    .toolbar , .product-wrapper , .modal-toolbar 
    ,.basket-modal ,.modal-body ,.prodcut-wrapper ,.products-wrapper ,.setting-modal
    ,.search-modal,.about-modal ,.orders-modal ,.orders-wrapper ,.product-modal
    ,.basket-wrapper ,.order-modal ,.orders-modal ,.order-wrapper ,.order-info-container
    ,.order-info-modal{
        max-width: 460px;
        margin: 0 auto;
    }

    .modal-body{
        z-index: -1;
        top: 0;
    }

    .modal-toolbar{
        position: unset;
        top: 0;
    }

    .product-card{
        max-width: 436px;
    }

    #modal-login ,#modal-password{
        max-width: 300px !important;
    }

    .loop-footer{
        position: fixed;
        left: 50%;
        bottom: -32px;
        transform: translate(-50%, -50%);
        margin: 0 auto;
        max-width: 460px;
        z-index: 4;
        background-color: #FFF;
    }


    img#profile {
        margin-top: 24px;
    }


    h2#aboutTitle {
        margin-top: 64px;
    }

    .drawer{
        right: calc(50% - 550px);
    }

}

.buttonBox{
    margin: 24px 0 12px 0;
}


.btn-about{
    font-family: shabnam;
    text-align: right;
    position: relative;
    margin-bottom: 8px;
}

.btn-about span{
    line-height: 26px;
}


.aboutFontSize{
    font-size: 1.5rem;
    direction: rtl;
}


.pointer{
    cursor: pointer;
}