body {
    background-color: #fafafa;
    direction: rtl;
    text-align: right;
}

@font-face {
    font-family: iransans;
    src: url(../../fonts/iransans.ttf);
}

* :not(.fa, .fas, .far) {
    font-family: "iransans" !important;
}

#main-menu .sub-menu.mega-menu {
    text-align: right;
}

header {
    width: 100%;
    background-color: #ededf1;
}

.detail-box .card-body {
    text-align: right;
}

input.email-input[type="text"]:-moz-placeholder {
    text-align: right;
    padding-right: 5px;
}
input.email-input[type="text"]:-ms-input-placeholder {
    text-align: right;
    padding-right: 5px;
}
input.email-input[type="text"]::-webkit-input-placeholder {
    text-align: right;
    padding-right: 5px;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primarycolor);
    border-radius: 6px;
}

.card-services {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
    max-width: 133px;
    height: 133px;
    box-shadow: 0 3px 10px 0 rgb(0 0 0 / 16%);
    padding: 10px 5px;
    margin: 5px;
    font-size: 14px;
    color: var(--grey-text);
    border-radius: 15px;
    text-align: right;
}

.card-services:hover,
.card-order-services:hover {
    /* box-shadow: 0 0 0 2px white, 0 0 0 3px ; */
    border: solid 2px var(--secondcolor);
    transition: all 0.2s ease-in-out;
    transform: scale(1.1);
}

.card-order-services {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60%;
    height: 70px;
    max-width: 200px;
    box-shadow: 0 3px 10px 0 rgb(0 0 0 / 16%);
    padding: 15px 5px;
    margin: 5px;
    font-size: 14px;
    color: var(--grey-text);
    border-radius: 15px;
}

.hero-line {
    height: 1px;
    background-color: black;
    position: absolute;
    top: auto;
    bottom: 62%;
    width: 60%;
    z-index: -99;
}

.home-header {
    padding-right: 40px;
    margin: 25px 0 15px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primarycolor);
    max-width: 100%;
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
}

/* .home-header::before {
    right: 0;
    position: absolute;
    content: "";
    background-color: var(--primarycolor);
    width: 21px;
    height: 50%;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
    top: 18px;
} */

.slick-arrow::before {
    color: var(--primarycolor);
    font-size: 60px;
}

.slick-arrow {
    z-index: 99;
}

.rate-row {
    margin: 15px 5px 0;
    color: #ff960a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: ltr;
}

.zmdi-star:before {
    content: "*";
    font-size: 40px;
}

.ulink:not(:last-child) {
    border-left: solid 1px;
}

.main-servic-page aside {
    width: 250px;
}

.main-servic-page .main-content {
    background: var(--secondcolor);
    /* margin-right: 250px; */
    color: white;
    width: calc(100% - 250px);
}

.main-servic-page section {
    padding: 20px;
}

.main-servic-page #accordion .card {
    background-color: unset;
    border-top: unset;
    border-left: unset;
    border-right: unset;
}

.main-servic-page #accordion .card-header {
    background-color: unset;
}

.main-servic-page #accordion button {
    color: #616161;
    font-weight: 600;
    text-decoration: none;
    display: block;
    text-align: right;
    width: 100%;
}

.main-servic-page .collapse .card-body {
    color: #616161;
}

.dropdown-toggle::after {
    margin-right: 0.255em;
    margin-left: initial;
    border-top: solid 5px;
    border-right: solid 4px transparent;
    border-left: solid 4px transparent;
    vertical-align: initial;
}

.company-item img {
    display: block;
    max-width: 135px;
    max-height: 135px;
    width: auto;
    height: auto;
}

.testimonial-item {
    border-radius: 0 0 40px 0;
    box-shadow: 0px 8px 16px rgb(0 0 0 / 12%);
    border: unset;
    height: 300px;
    position: relative;
}

.slick-track {
    display: flex;
    align-items: center;
}

.slick-prev {
    left: -65px;
}

.partner-box {
    position: relative;
}

.icon {
    width: auto;
    height: auto;
    max-width: 100px;
    max-height: 60px;
    display: block;
    margin: auto;
}

.btn-round {
    border-width: 1px;
    border-radius: 30px;
    padding: 8px 23px;
    color: white !important;
    background-color: var(--primarycolor);
    font-size: 14px;
}

#accordion h5 {
    cursor: pointer;
}

section,
footer {
    text-align: center;
}

.inner-page {
    padding-top: 20px;
}

.inner-page h4 {
    font-size: 16px;
    margin-top: 5px;
    font-weight: bold;
}

.blog-summary {
    font-size: 14px;
}

.inner-page.blogs img {
    display: block;
    margin: auto;
    width: auto;
    height: auto;
    max-width: 250px;
    max-height: 160px;
}

.service-down::after {
    content: "\25BC";
    float: left;
    padding-top: 3px;
    color: var(--primarycolor);
}

.service-up::after {
    content: "\25B2";
    float: left;
    padding-top: 3px;
    color: var(--primarycolor);
}

.inner-page .side-bar ul {
    border: solid 1px #ccc;
    padding-right: 0;
}

.inner-page .side-bar li {
    list-style-type: none;
    line-height: 26px;
    text-align: center;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    border-bottom: solid 1px #ccc;
    font-weight: 600;
    color: #495057;
}

.side-bar li:hover {
    color: var(--secondcolor);
}

#blogs-box > div:hover #blogs-box img {
    transform: scale(1.1);
}

textarea {
    width: 100%;
}

.comment-box {
    margin-top: 10px;
}

.breadcrumb-item + .breadcrumb-item::before {
    padding-right: 0;
    padding-left: 0.5rem;
}

.breadcrumb-item {
    padding-left: 0.5rem;
}

.card-body {
    text-align: justify;
}

.inner-page .side-bar h1 {
    font-weight: bold;
}

nav.navbar.navbar-expand-lg.navbar-light {
    padding: 0;
}

.fit-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: auto;
}

#WAButton .floating-wpp-button {
    width: 50px !important;
    height: 50px !important;
}

#testimonial .card-body {
    text-align: right;
}

.blog-details-body .column_visual.column.mcb-column {
    width: 100% !important;
}

.side-menu-active {
    color: var(--secondcolor) !important;
}

[data-notify="dismiss"] {
    left: 0px !important;
    top: 0px !important;
}

/*************************** responsive styles ************************************/

@media only screen and (max-width: 576px) {
    section#ads img {
        aspect-ratio: 6/2 !important;
    }

    section#info a.btn {
        width: 90%;
    }

    footer {
        padding: 10px 10px;
        font-size: 1em !important;
        margin-top: 2px;
    }

    .social {
        margin-top: 10px;
    }

    footer .ulink {
        font-size: 0.9em;
    }

    footer h5 {
        font-size: 14px;
    }

    header > div > div img {
        margin-left: 0 !important;
    }

    header > div > .left {
        width: 30% !important;
        margin-top: 15px !important;
    }

    header > div > .right {
        width: 70% !important;
        direction: ltr;
        margin-right: 15px !important;
    }

    .inner-page.blogs img {
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
    }

    footer .resane img {
        width: 50px !important;
        height: 50px !important;
    }

    .company-item img {
        display: unset;
        max-width: 130px;
        max-height: unset;
        width: unset;
        height: unset;
    }

    .servic-detail h1 {
        font-size: 26px;
        font-weight: bold;
        margin-top: 10px;
    }

    .servic-detail h5 {
        font-size: 18px;
    }

    .testimonial-item {
        height: auto;
    }

    .inner-page .side-bar {
        margin-top: 0;
    }

    .inner-page .servic-detail section span > h1 {
        padding-top: 0 !important;
        font-size: 24px !important;
    }

    .detail-box {
        padding-top: 0;
    }

    .detail-box .main-content {
        text-align: initial;
    }

    .inner-page.blogs .side-bar > ul {
        margin-bottom: 10px;
    }

    #phone-box-mobile {
        display: block !important;
    }

    #phone-box-desktop {
        display: none !important;
    }

    .main-container {
        margin-top: 0;
    }

    .intro-box h1 {
        font-size: 26px !important;
    }

    .intro-box p {
        padding: 10px 6px !important;
        font-size: 13px;
    }
}
