html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    nav ul li ul li .toggle, nav ul ul a {
        background-color: #fedc19 !important;
    }

    .pricefa {
        font-family: BYekan;
        direction: rtl;
        text-align: right;
        font-size: 1.3rem;
        color: red;
    }


    #pricefa {
        color: #51aa1b;
        font-weight: bold;
        font-size: 15px !important;
        font-family: BYekan;
        font-size: 18px !important;
    }


}


select {
    max-height: 100px; /* ارتفاع حداکثر */
    overflow-y: auto !important; /* فعال کردن اسکرول عمودی */
  }


div#col1-89-fa {
    position: fixed;
    left: 25;
    bottom: 0;
    z-index: 1000;
}


#cols {
    background-color: #ffffff;
    color: black;
    direction: rtl;
    text-align:right;
}

.h1, h1 {
    font-size: 1rem !important;
}

img#xzoom-magnific {
    height: 320px;
    width: 346px;
    object-fit: contain;
}

input#quantityfa {
    width: 100px !important;
    text-align: center;
}

body {
    font-size: 0.8rem !important;
}

img#myImg {
    height: 180px;
    width: 100%;
    object-fit: contain;
    padding-top: 10px;
}

div#dropdowncartshow {
    z-index: 100000;
}

#textfa {
    direction: rtl;
    text-align: right;
}

.cke_rtl .cke_combo_text {
    float: right;
    text-align: right;
    padding-left: 0;
    padding-right: 10px;
    font-family: 'Yekan' !important;
}

table.cke_dialog_contents label {
    font-family: Yekan;
}

.cke_dialog_body a {
    font-family: 'Yekan';
}

select#cke_283_select {
    font-family: 'Yekan';
}

#pricefa {
    color: #51aa1b;
    font-weight: bold;
    font-size: 15px !important;
    font-family: BYekan;
}

#bodyfa {
    font-family: Yekan;
    font-size: 0.7rem !important;

}

#col1-1-fa {
    text-align: justify;
    direction: rtl;
}

#col2-2-fa {
    text-align: justify;
    direction: rtl;
}

.form-select {
    direction: ltr !important;
}

#body-blockcreate-fa {
    text-align: right;
    direction: rtl;
    font-family: Yekan;
    padding-top: 10px;
}

.titleslidefa {
    display: inherit !important;
}

@keyframes animate {
    0%, 100% {
        clip-path: polygon(0% 45%, 15% 44%, 32% 50%, 54% 60%, 70% 61%, 84% 59%, 100% 52%, 100% 100%, 0% 100%)
    }

    50% {
        clip-path: polygon(0 60%, 16% 65%, 34% 66%, 51% 62%, 67% 50%, 84% 45%, 100% 40%, 100% 100%, 0% 100%)
    }
}

.showli {

    display: none;

}

#titlebarfa h1 {
    font-family: Yekan !important;
    text-align: right;
    direction: rtl;
}

#navbarNavDropdownfa {
    direction: rtl;
}

#menulistfa {
    text-align: right;
    direction: rtl;
    font-family: Yekan !important;
}

#submenufa::before {
    right: 0 !important;
    color: #cc0a0a;
}

#submenufa li::before {
    right: 0;
    color: #cc0a0a;
}

#dropdown-itemfa {
    text-align: right;
}

#submenulevel2fa {
    position: absolute;
    right: 100%;
    text-align: right;
}

#addnewmenufa {
    font-family: Yekan;
    direction: rtl;
    text-align: right;
}

#dropdown-menulevel1fa {
    right: 0 !important;
}

#trashfa {
    float: left;
    color: #cc0a0a;
}

#permenufa:hover {
    background-color: #b3aeae0f;
}

#editfa {
    position: absolute;
    left: 20%;
}

#bodysecondfa {
    font-family: Yekan;
}

#galleryfa {
    padding-top: 20px;
}

#updategalleryfa {
    font-size: 1.5rem;
    padding-top: 20px;
    padding-bottom: 20px;
}

.navbarNavDropdownfa {
    direction: rtl;
}

#navbarDropdownMenuLinkfa {
    text-align: right;
    direction: ltr;
}

#myNavbaradminfa a {
    float: right;
}

#linkmenufa {
    display: inline;
}

#dropdownsimplefa {
    text-align: center;
    position: relative;
    z-index: 2;
    padding-top: 15px;
    height: auto;
}

#simplemenufa {
    display: flex;
    direction: rtl;
}

#menusubsimple1fa {
    position: absolute;
    left: 0;
    top: 35px;
}

#productfa {
    padding-top: 30px;
    font-family: Yekan;

}

#cartfa {
    font-family: Yekan;
    direction: rtl;
    text-align: center;
}

#cart-detailfa {
    text-align: right;
}

#hambergermenumobile {
    display: none;
}

#dropdownsimplefa {
    display: inherit;
}

#dropdownsimplefa {
    font-family: Yekan;
}

#myNavbaradminfa a {
    font-size: 13px;
}

#titlearticles {
    font-size: 14px;
    background-color: #8080801a;
    padding: 10px;
    border-radius: 5px;
}

#nameofcart {
    display: none !important;
}

#numbercartfa {
    margin: 10px;
    font-size: 12px;
}

.dropdownsimple li a {
    color: black !important;
    text-align: center;
    text-decoration: none;
    display: block;
    padding: 10px;
}

.dropdownsimple {
    margin: 0;
    padding: 0;
    padding-top: 0px;
    list-style: none;
    width: 110px;
    background-color: transparent !important;
}

#dropdownsimplefa a:hover {
    background-color: transparent;
    color: #e81212 !important;
}

.dropdownsimple li ul {
    position: absolute;
    top: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    display: none;
    line-height: normal;
    background-color: white !important;
}

.dropdown-menu.show {
    font-size: 16px !important;
}

#viewall {
    font-size: 14px;
    width: 100%;
    margin: auto;
    padding-top: 15px;
}

#editlogofa {
    position: relative;
    bottom: 0px;
    top: 40px;
    font-size: 10px;
}

#hpnel {
    background-color: #80808017;
    font-size: 14px;
    padding: 10px;
    border-radius: 2px;
}

.canvamenu {
    direction: rtl !important;
}

#submenucanva {
    right: 0px !important;
    top: 50px !important;
    font-size: 14px !important;
    text-align: right;
}

#closebtncanva {
    display: none;
}

#logocanvamenu-headoffcanvamobilewithlogo {

    display: none;
}

#cartbtnproductfa {
    font-size: 14px;
}

#quantityfa {
    font-size: 14px;
}

#sendorderfa {
    font-size: 14px;
}

#emptyfactor {
    text-align: center;

}

#tablistfa {
    direction: rtl;
    font-size: 14px;
}

#intro2-33-fa {
    font-size: 14px;
}

#cols {
    padding-top: 10px;
    font-size: 14px;
}

#head {
    padding-top: 15px;
    font-size: 12px !important;
}

#head1edit {
    position: absolute;
    top: 0;
}

#headhr {
    margin-top: 0;
    margin-bottom: 0;
    border-top: 0px !important;
    opacity: 0.8;
}

#navbarcanvafontsize {
    font-size: 14px;
    width: 100%;
}

/* [1] The container */
.img-hover-zoom {
    height: 217px !important;
    /* [1.1] Set it as per your need */
    overflow: hidden;
    /* [1.2] Hide the overflowing of child elements */
}

/* [2] Transition property for smooth transformation of images */
.img-hover-zoom img {
    transition: transform .5s ease;
}

/* [3] Finally, transforming the image when container gets hovered */
.img-hover-zoom:hover img {
    transform: scale(1.1);
}

/* [1] The container */
.img-hover-zoomteam {
    height: auto;
    /* [1.1] Set it as per your need */
    overflow: hidden;
    /* [1.2] Hide the overflowing of child elements */
}

/* [2] Transition property for smooth transformation of images */
.img-hover-zoomteam img {
    transition: transform .5s ease;
}

/* [3] Finally, transforming the image when container gets hovered */
.img-hover-zoomteam:hover img {
    transform: scale(1.1);
}

#ourteams {
    padding-bottom: 50px;
}

#titlenewsfa {
    text-align: right;
    font-size: 18px;
    color: white;
    padding: 10px;
}

#boxnewsfa {
    background-color: transparent;
    margin-bottom: 50px;
    padding: 0;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    font-size: 14px !important;
}

#titleprointabfa {
    padding-right: 20px;
    color: black;
    text-decoration: none !important;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
  }

.newstextfa {
    font-size: 14px;
    text-align: justify;
    padding-top: 2%;
}

.bi.bi-pencil {
    font-size: 20px !important;
}

.addtocart {
    background-color: white;
    border-color: transparent;
}

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

    #myNavbaradminfa {
        display: none !important;
    }

    .canvamenu {
        background-color: black !important;
    }

    #logocanvamenu-headoffcanvamobilewithlogo {
        text-align: right !important;
        width: 100% !important;
        display: inline !important;

    }

    #closebtncanva {
        display: inherit;
    }

    .canvamenu {
        font-size: 16px;
        text-align: right;
        position: absolute !important;
        direction: rtl;
        width: 90% !important;
    }

    #headoffcanvamenu {
        display: inline-flex;
        direction: ltr;
    }

    #headoffcanvamobilewithlogo {
        display: flex;
    }

    #headsubmenuoffcanva {
        padding-right: 0px !important;
    }

    #submenucanva {

        width: 100% !important;
    }

    #submenucanva::before {
        display: none;
    }

    #hambergermenumobile {
        display: inherit;
    }

    #dropdownsimplefa {
        display: none;
    }

    #myNavbaradminfa a {
        float: none;
    }

    .navbaradminfa {
        overflow: hidden;
        background-color: #333;
        position: fixed;
        bottom: 0;
        width: 100%;
        z-index: 1000 !important;
    }

    .navbaradminfa.responsiveadminfa .iconadminfa {
        position: absolute;
        left: 0 !important;
        bottom: 0;
    }

    .navbaradminfa.responsiveadminfa a {
        float: none;
        display: block;
        text-align: right !important;
    }

    #menuiconadminlinkfa {
        text-align: left !important;
    }

    .navbaradminfa.responsiveadminfa .iconadminfa {
        position: relative !important;
        right: 0;
        bottom: 0;
    }

    #bodyfa {
        font-family: Yekan;
        font-size: 0.4rem !important;
    }

}
