@charset "UTF-8";

/*
Theme Name: RASAM
Theme URI: https://www.rasamplus.com
Author: Amin haghighati
Author URI: https://www.rasamplus.com
Description: a professional theme with wordpress website
Version: 1.0.0
Text Domain: rasam 
*/
:root {
    --main-font-size: 14px;
    --main-color: #FCDA00;
    --second-color: #979CA5;
    --main-text-color: #707070;
    --main-font-family: 'dana';
}

@font-face {
    font-family: 'IRANSans';
    src: url(fonts/IRANSansWeb%28FaNum%29.eot);
    src: url(fonts/IRANSansWeb%28FaNum%29.eot?#iefix) format('embedded-opentype'),
        url(fonts/IRANSansWeb%28FaNum%29.otf) format('otf'),
        url(fonts/IRANSansWeb%28FaNum%29.svg#IRANSansWeb%28FaNum%29) format('svg'),
        url(fonts/IRANSansWeb%28FaNum%29.ttf) format('truetype'),
        url(fonts/IRANSansWeb%28FaNum%29.woff) format('woff'),
        url(fonts/IRANSansWeb%28FaNum%29.woff2) format('woff2');
}

@font-face {
    font-family: 'dana';
    src: url(fonts/dana-regular.eot);
    src: url(fonts/dana-regular.eot?#iefix) format('embedded-opentype'),
        url(fonts/dana-regular.woff2) format('woff2'),
        url(fonts/dana-regular.woff) format('woff'),
        url(fonts/dana-regular.ttf) format('truetype'),
        url(fonts/dana-regular.svg#dana-regular) format('svg'),
        url(fonts/dana-regular.otf) format('otf');
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--main-font-family);
    color: var(--main-text-color);
    overflow-x: hidden;
    direction: rtl;
    font-size: var(--main-font-size);
    line-height: 27px;
    text-align: right;
}

.container-fluid {
    width: 98%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
}

h1 {
    font-size: 24px;
    margin-bottom: 24px;
    margin-top: 30px;
    line-height: 40px;
}

h2 {
    font-size: 23px;
    margin-bottom: 23px;
    margin-top: 30px;
    line-height: 35px;
}

h3 {
    font-size: 21px;
    margin-bottom: 21px;
    margin-top: 30px;
    line-height: 35px;
}

h4 {
    font-size: 19px;
    margin-bottom: 19px;
    margin-top: 30px;
    line-height: 30px;
}

h5 {
    font-size: 17px;
    margin-bottom: 17px;
    margin-top: 25px;
    line-height: 30px;
}

h6 {
    font-size: 15px;
    margin-bottom: 15px;
    margin-top: 25px;
    line-height: 30px;
}

p {
    line-height: 27px;
}

img {
    max-width: 100%;
}

input:focus,
select:focus,
button:focus,
textarea:focus {
    outline: none;
}

a:hover,
a:focus {
    text-decoration: none;
    outline: none;
}

ul,
ol {
    padding: 0;
    margin: 0;
    list-style-position: inside;
}

.site-title {
    position: relative;
}

.site-title::before {
    content: "";
    background-image: url(img/title-before.svg);
    background-size: 100% 100%;
    display: inline-block;
    width: 40.77px;
    height: 12.67px;
    margin-left: 7px;
}

.site-btn {
    display: inline-block;
    background: var(--main-color);
    padding: 5px 25px;
    color: #000;
    border-radius: 2px;
}

.site-btn:hover {
    background: #efcf00;
    color: #000;
}

.site-btn:hover::after {
    transform: none;
    transform-origin: -1% 0;
    transition: transform .4s ease;
    -webkit-transition: transform .4s ease;
    -moz-transition: transform .4s ease;
    -ms-transition: transform .4s ease;
    -o-transition: transform .4s ease;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
}

.site-logo img {
    height: 50px;
}

.navbar {
    padding: 0;
    z-index: 9999;
}

::-webkit-scrollbar {
    width: 13px;
}

::-webkit-scrollbar-track {
    width: 13px;
}

::-webkit-scrollbar-thumb {
    background: #333;
}

/*------------------------
    Header Section
------------------------*/
.header-section .container {
    border-bottom: 1px solid #E0E1E4;
}

.header-section::before {
    content: "";
    width: 100%;
    height: 3px;
    left: 0;
    top: 0;
    position: absolute;
    z-index: 9;
    background: linear-gradient(to right, black 50%, var(--main-color) 50%);
}

#mega-menu-main>li>a::after {
    content: "";
    background: var(--main-color);
    display: inline-block !important;
    position: absolute;
    width: 8px;
    height: 10px;
    right: 0;
    left: 0;
    bottom: -10px;
    margin: auto;
    transform: rotate(315deg);
    border-radius: 2px;
    opacity: 0;
    visibility: hidden;
}

#mega-menu-main>li>a:hover,
#mega-menu-main>li.mega-current-menu-item>a {
    color: #000 !important;
    font-weight: 800 !important;
}

#mega-menu-main>li>a:hover::after,
#mega-menu-main>li.mega-current-menu-item>a::after {
    opacity: 1;
    visibility: visible;
}

/*------------------------
    Top Section
------------------------*/
.top-sec-img img {
    max-height: 500px;
    width: auto;
    float: left;
}

/*------------------------
   Product Section
------------------------*/
.products-cat-item {
    border: 1px solid #979CA5;
    border-radius: 5px;
    padding: 30px 15px;
    margin-bottom: 20px;
    min-height: 255px;
}

.products-cat-item:hover {
    border-color: var(--main-color);
}

.products-cat-item h3 {
    color: #000;
    font-size: 14px;
    margin-bottom: 0;
}

.products-cat-item h3::before {
    content: "";
    background-image: url(img/products-after.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    height: 19px;
    width: 100%;
}

.products-cat-item:hover h3::before {
    content: "";
    background-image: url(img/products-after-hover.svg);
}

.products-item h3 {
    border: 3px solid #979CA5;
    height: 290px;
    padding-top: 220px;
    color: #707070;
    font-size: 17px;
    position: relative;
    margin-top: -190px;
    border-radius: 6px;
    z-index: 1;
}

.products-item h3::after {
    content: "";
    display: table;
    background-image: url(img/product-item-title-after.png);
    background-size: 100% 100%;
    width: 35px;
    height: 35px;
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    bottom: -50px;
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
}

.products-item img {
    max-width: 100%;
    width: 90%;
    position: relative;
    z-index: 10;
    height: 270px;
    object-fit: cover;
}

.products-item:hover h3 {
    border-color: var(--main-color);
}

.products-item:hover h3::after {
    filter: grayscale(0);
    -webkit-filter: grayscale(0);
}

.products-item {
    margin-bottom: 70px;
}

/*------------------------
   About Us Section
------------------------*/
.about-us-section .site-title::after {
    content: "";
    border-bottom: 1px solid #70707050;
    display: block;
    margin: 30px 0 20px;
}

.about-us-btn {
    color: var(--main-color);
    display: table;
    float: left;
    margin-top: 20px;
}

.about-us-btn:hover {
    color: #efcf00;
}

/*------------------------
   Blog Section
------------------------*/
.blog-item {
    background: #F3F3F3;
    padding: 10px;
    border-radius: 5px;
}

.blog-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.blog-item h3 {
    color: #707070;
    font-size: 14px;
}

.blog-img-sec-overlay {
    background-color: rgba(255, 255, 255, 0.5);
    background-image: url(img/product-item-title-after.png);
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center 120px;
    opacity: 0;
    visibility: hidden;
}

.blog-img-sec-overlay span {
    color: #111;
    font-weight: 700;
    display: table;
    text-align: center;
    width: 100%;
    position: absolute;
    bottom: 15px;
}

.blog-item:hover .blog-img-sec-overlay {
    opacity: 1;
    visibility: visible;
}

/*------------------------
   Advantages Section
------------------------*/

.advantages-sec {
    padding: 100px 0;
}

.advantages-sec .site-title {
    margin: 10px 0 30px 0;
}

.advantages-sec .warpper {
    align-items: start;
    display: flex;
}

.advantages-sec .tabs {
    width: 49%;
    display: inline-block;
}

.advantages-sec .tab {
    cursor: pointer;
    width: 48%;
    padding: 7px 20px;
    margin: 5px 0.8%;
    display: inline-block;
    position: relative;
}

.advantages-sec .tab::before {
    content: "";
    background: #000;
    display: inline-block !important;
    position: absolute;
    width: 7px;
    height: 9px;
    transform: rotate(315deg);
    border-radius: 2px;
    right: 3px;
    top: 18px;
}

.advantages-sec .panels {
    width: 50%;
    background: var(--main-color);
    padding: 20px;
    display: inline-block;
    overflow: auto;
    height: 220px;
}

.advantages-sec .panel {
    display: none;
    animation: fadein .8s;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.advantages-sec .panel-title {
    font-size: 1.5em;
    font-weight: bold
}

.advantages-sec .radio {
    display: none;
}

.advantages-sec #one:checked~.panels #one-panel,
.advantages-sec #two:checked~.panels #two-panel,
.advantages-sec #three:checked~.panels #three-panel,
.advantages-sec #four:checked~.panels #four-panel,
.advantages-sec #five:checked~.panels #five-panel,
.advantages-sec #six:checked~.panels #six-panel,
.advantages-sec #seven:checked~.panels #seven-panel,
.advantages-sec #eight:checked~.panels #eight-panel {
    display: block
}

.advantages-sec #one:checked~.tabs #one-tab,
.advantages-sec #two:checked~.tabs #two-tab,
.advantages-sec #three:checked~.tabs #three-tab,
.advantages-sec #four:checked~.tabs #four-tab,
.advantages-sec #five:checked~.tabs #five-tab,
.advantages-sec #six:checked~.tabs #six-tab,
.advantages-sec #seven:checked~.tabs #seven-tab,
.advantages-sec #eight:checked~.tabs #eight-tab {
    color: var(--main-color);
}

.advantages-sec input[type="radio"]:checked .tab::before {
    color: var(--main-color) !important;
}

.bottom-panels {
    background-image: url(img/product-item-title-after.png);
    background-repeat: no-repeat;
    background-position: right center;
    height: 40px;
    line-height: 40px;
    padding-right: 43px;
    filter: grayscale(1);
    width: 50%;
    float: left;
    margin-top: -47px;
}

/*------------------------
   Footer Section
------------------------*/
.footer-section {
    color: #fff;
    font-size: 13px;
    display: none;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #fff;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}

.footer-section li a:hover {
    transform: translateX(-5px);
    -webkit-transform: translateX(-5px);
    -moz-transform: translateX(-5px);
    -ms-transform: translateX(-5px);
    -o-transform: translateX(-5px);
}

.footer-copyright {
    font-size: 12px;
    padding: 10px 0;
    margin-top: 30px;
}

#footer-two-sec img {
    width: 60px;
    margin-bottom: 20px !important;
}

.widget-footer-title {
    position: relative;
    font-size: 15px;
    display: block;
    margin-bottom: 10px;
}

.widget-footer-title::before {
    content: "";
    background: var(--main-color);
    display: inline-block;
    width: 6px;
    height: 8px;
    transform: rotate(315deg);
    border-radius: 2px;
    margin-left: 7px;
}

#footer-contact>div {
    display: flex;
    margin-bottom: 9px;
    font-size: 14px;
}

#footer-contact i {
    margin-left: 7px;
    position: relative;
    top: 6px;
}

.footer-scils a,
.footer-scils i {
    margin: 0 7px;
    font-size: 19px;
    width: 35px;
    text-align: center;
    height: 35px;
}

#footer-copyright-right {
    direction: ltr;
}

#footer-two-sec {
    padding: 0 35px;
}

.footer-copyright .container {
    border-top: 1px solid #BBBDBF23;
    padding-top: 10px;
}

/*------------------------
   Single 
------------------------*/
.single-content {
    border: 1px solid #979CA530;
}

.post-thumb img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.single-header-sec {
    margin-bottom: 30px;
}

/*------------------------
   Aside Section
------------------------*/

aside {
    position: -webkit-sticky;
    position: sticky;
    top: 10px;
}

aside .widget-area {
    margin-bottom: 10px;
    border: 1px solid #777;
    padding: 10px;
}

.ez-toc-title-toggle {
    display: table;
    float: left;
}

.ez-toc-title-toggle a {
    background: none;
}

.ez-toc-title {
    text-align: revert;
    color: #111;
    font-weight: 700;
}

.ez-toc-widget-container li>a {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    color: #333;
    padding: 5px 0;
}

.ez-toc-widget-container li.active>a {
    font-weight: 800;
    color: var(--main-color);
}

.ez-toc-title-container {
    border-bottom: 1px solid #999;
    padding-bottom: 10px;
}

.single-social-share,
.single-header h1 {
    background: var(--second-color);
    font-size: 17px;
    padding: 11px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.single-header h1 {
    padding: 7px 20px !important;
}

.single-social-share span {
    font-weight: 800;
    top: 4px;
    position: relative;
    margin-bottom: 5px;
}

.single-social-share ul li a {
    color: #111;
    font-size: 19px;
    position: relative;
    top: 5px;
    margin-right: 10px;
    transition: all 0.2s;
}

.single-cats-sec {
    border: 1px solid #777;
    height: 270px;
    overflow: auto;
    margin: 8px 0;
    padding: 0 33px;
}

.single-cats-sec span {
    display: block;
    border-bottom: 1px solid #999;
    margin-bottom: 15px;
    padding-bottom: 10px;
    font-size: 15px;
    margin-top: 10px;
    text-align: center;
}

.single-cats-sec a {
    color: #999;
}

.single-header img {
    width: 100%;
    height: 330px;
    object-fit: cover;
}

.breadcrumb {
    background-color: var(--main-color);
    color: var(--second-color);
}

.breadcrumb a {
    color: #fff;
}

.breadcrumb i {
    position: relative;
    top: 7px;
    font-weight: 100;
}

.breadcrumb i.fa-home {
    top: 0;
}

.page-header-sec {
    margin-bottom: 30px;
}

.page-header-sec h1,
.page-header-sec .site-beradcamb {
    font-size: 19px;
    font-weight: 100;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-header-sec .site-beradcamb {
    font-size: 12px;
    text-align: left;
}

.page-header-sec .site-beradcamb a {
    color: #777;
}

.contact-page-sec>div:nth-child(1)>div {
    display: flex;
}

.contact-page-sec a {
    color: var(--main-text-color);
}

.contact-page-sec i {
    font-size: 21px;
    margin-left: 10px;
    margin-bottom: 25px;
}

/*------------------------
   RESPONSIVE
------------------------*/

@media only screen and (max-width: 850px) {
    .container {
        max-width: 98%;
    }

    .menu-toggle-icon {
        display: block;
        color: #000;
        font-size: 24px;
        position: fixed;
        left: 15px;
        top: 15px;
        background: var(--second-color);
        padding: 4px 6px;
    }

    .main-menu-sec>nav>div {
        position: fixed;
        background: var(--main-color);
        top: 0;
        right: 0;
        height: 100%;
        width: 75%;
        display: block;
        padding: 20px 15px;
    }

    #main_navigation_menu>li>a {
        border: none;
        display: block;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        -ms-border-radius: 0;
        -o-border-radius: 0;
    }

    #main_navigation_menu>li>a:hover,
    #main_navigation_menu>li.current-menu-item>a {
        background: var(--second-color);
        color: #000;
    }

    #main_navigation_menu>li>ul {
        position: relative;
    }

    #main_navigation_menu>li>ul {
        display: none;
    }

    .sub-menu-show {
        display: block !important;
    }

    .site-logo {
        padding: 7px 0;
    }

    .site-logo img {
        height: 40px;
    }

    .top-sec-img img {
        box-shadow: none;
    }

    h1 {
        font-size: 21px;
        margin-bottom: 20px;
        margin-top: 23px;
    }

    h2 {
        font-size: 19px;
        margin-bottom: 19px;
        margin-top: 21px;
    }

    h3 {
        font-size: 17px;
        margin-bottom: 17px;
        margin-top: 19px;
    }

    h4 {
        font-size: 16px;
        margin-bottom: 15px;
        margin-top: 17px;
    }

    h5 {
        font-size: 16px;
        margin-bottom: 15px;
        margin-top: 17px;
    }

    h6 {
        font-size: 16px;
        margin-bottom: 15px;
        margin-top: 17px;
    }

    p {
        font-size: 13px;
        line-height: 25px;
    }

    .site-btn {
        font-size: 13px;
        padding: 7px 27px;
    }

    #about-us-text-sec {
        background: #ffe4844f;
    }

    .left-sidebar,
    aside {
        display: none;
    }

    .single-cats-sec {
        height: auto;
    }

    .single-header img {
        height: auto;
    }

    .page-header-sec .site-beradcamb {
        text-align: center;
        margin-bottom: 7px;
        margin-top: 5px;
    }

    #mega-menu-wrap-main .mega-menu-toggle {
        position: fixed;
        left: 15px;
        top: 15px;
    }

    .mega-toggle-blocks-left {
        display: none !important;
    }

    #mega-menu-main {
        position: fixed !important;
        right: 0 !important;
        top: 0 !important;
        height: 100% !important;
        width: 70% !important;
    }

    #mega-menu-wrap-main #mega-menu-main>li.mega-menu-item>a.mega-menu-link {
        text-align: right;
    }

    .site-logo img {
        height: 60px;
        width: auto;
    }

    .products-cat-item {
        min-height: auto;
    }

    #about-us-text-sec {
        padding: 20px;
    }

    .advantages-sec .tab {
        width: 100%;
    }

    .advantages-sec .panels {
        height: 425px;
    }

    .advantages-sec {
        padding: 20px 0;
    }

    .top-sec-img img {
        float: none;
        height: auto;
    }

    #mega-menu-main>li>a::after {
        display: none;
    }
}

@media only screen and (max-width: 500px) {
    .products-item img {
        box-shadow: none;
        width: 100%;
    }

    .single-social-share span {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .page-header-sec .site-beradcamb {
        font-size: 12px;
    }

    .top-sec-img {
        order: 1;
    }

    .top-text-sec {
        order: 2;
    }

    .page-header-sec h1 {
        font-size: 17px;
        line-height: 30px;
        white-space: unset;
        margin-bottom: 0 !important;
    }

    .advantages-sec .warpper {
        display: block;
    }

    .advantages-sec .tabs,
    .advantages-sec .panels {
        width: 100%;
        display: block;
    }

    h1 {
        font-size: 19px;
    }

    h2 {
        font-size: 17px;
    }

    h3 {
        font-size: 16px;
    }

    h4 {
        font-size: 15px;
    }

    .advantages-sec .panels {
        height: auto;
    }

    .bottom-panels {
        display: none;
    }

    .post-thumb img {
        height: auto;
    }
}

@media only screen and (max-width: 370px) {
    .blog-item h3 {
        font-size: 15px;
    }

    .breadcrumb {
        font-size: 11px;
    }
}