/*
Theme Name: TehranPS
Theme URI: https://www.novinvision.com
Author: نوین ویژن
Author URI: https://www.novinvision.com/
Version: 1.6.1.3
Description: خرسندیم که افتخار طراحی و برنامه نویسی وب سایت شما بر پایه وردپرس توسط نوین ویژن انجام شده است. از اعتماد شما سپاسگذاریم و امیدواریم در راه استفاده از این پروژه کسب و کار شما همیشه پر رونق و موفق باشد.
Text Domain: tehranps
*/

body {
    position: relative;
    background-image: url("img/background.png");
    background-color: var(--bs-gray-100);
}

.search-form {
    position: relative;
}

.search-form .search-form-btn {
    position: absolute;
    left: 1px;
    top: 0;
    bottom: 0;
    padding-top: 8px;
    z-index: 1;
}

.search-form:not(.loading) .search-form-btn .spinner-border {
    display: none;
}

.search-form.loading .search-form-btn .search-form-btn--icon {
    display: none;
}

.header-top {
    position: relative;
    height: 100px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #8cd8ca;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.07), transparent);
}

.header-top-blog {
    border-bottom-color: #898989;
    --bs-link-color: #ffffff;
}

.header-top .dropdown-menu {
    --bs-dropdown-item-padding-y: .5rem;
    width: 250px;
    z-index: 1040;
}

.header-primary {
    position: sticky;
    top: -1px;
    right: 0;
    left: 0;
    margin-top: -40px;
    z-index: 1030;
}

.header-primary .container {
    transition: max-width ease 0.3s;
}

.header-primary.is-pinned .container {
    max-width: 100% !important;
    padding: 0;
}

.header-primary.is-pinned .header-inner,
.header-primary.is-pinned .header-end-btn {
    transition-delay: .3s;
    transition: border-radius ease 0.3s;
}

.header-primary.is-pinned .header-inner {
    border-radius: 0 !important;
}

.header-primary.is-pinned .header-end-btn {
    border-radius: 0 !important;
}

.header-primary .custom-logo-link {
    display: block;
    padding: 15px;
}

.header-primary .custom-logo-link img {
    width: auto;
    height: 50px;
}

.header-primary .nav-icon {
    display: inline-block;
    text-align: center;
    font-size: 1.4rem;
    margin-left: 5px;
}

.header-primary .nav-icon svg {
    height: 30px;
    width: 30px;
    fill: #ffffff;
}

.header-primary .nav-icon i {
    vertical-align: middle;
}

.header-primary .dropdown-menu {
    padding: 0;
    border: 0;
    overflow: hidden;
    width: 250px;
    --bs-dropdown-item-padding-y: .6rem;
    --bs-dropdown-item-padding-x: 1.5rem;
    box-shadow: -2px 2px 0 4px rgba(var(--bs-primary-rgb), 0.6);
}

.header-primary .dropdown-menu .dropdown-item:before {
    content: "\f100";
    font-size: 85%;
    margin-left: 5px;
    color: var(--bs-primary);
    font-family: "Font Awesome 6 Pro";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.header-primary .navbar-nav .menu-item > .dropdown-menu,
.header-primary .navbar-nav .menu-item > .dropdown-menu.show {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    z-index: -1;
    transition: opacity ease 0.3s, transform ease 0.6s, visibility ease 0.1s;
}

.header-primary .navbar-nav .menu-item:hover > .dropdown-menu {
    visibility: visible;
    opacity: 1;
    z-index: var(--bs-dropdown-zindex);
    transform: translateY(0);
}

.header-primary .navbar-nav .menu-item  .dropdown-menu-submenu{
    background-color: var(--bs-light);
    padding-top: 8px;
    padding-bottom: 8px;
}

.header-primary .navbar-nav .menu-item  .dropdown-menu-submenu {
    position: relative;
    padding-right: 2rem;
    --bs-dropdown-item-padding-y: .4rem;
    --bs-dropdown-item-padding-x: 1rem;
}

/*.header-primary .navbar-nav .menu-item  .dropdown-menu-submenu:before{*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 0;*/
/*    bottom: 0;*/
/*    right: 2rem;*/
/*    border-right: 1px solid #cccccc;*/
/*}*/

.header-primary .navbar-nav .menu-item  .dropdown-menu-submenu .dropdown-item{
    font-size: .9rem;
    border-top-right-radius: var(--bs-border-radius);
    border-bottom-right-radius: var(--bs-border-radius);
}

.header-primary .navbar-nav .menu-item  .dropdown-menu-submenu .dropdown-item:before{
    color: var(--bs-secondary-color);
}

.header-primary .navbar-nav .menu-item  .dropdown-menu-submenu .dropdown-item:hover{
    background-color: rgba(0, 0, 0, 0.05);
}

.header-primary .navbar-nav .menu-item  .dropdown-menu-submenu .dropdown-item:active{
    background-color: rgba(var(--bs-primary-rgb), 0.5);
}

.header-end-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 80px;
}

.header-end-btn--badge {
    font-style: normal;
    font-style: .8rem;
    position: absolute;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 10px;
    left: 10px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background-color: #ffffff;
    color: var(--bs-secondary-color);
}

.header-call {
    direction: ltr;
    display: flex;
    align-items: center;
}

.header-call .header-call--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--bs-primary-rgb), 0.3);
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

.header-call .header-call--subject {
    display: block;
}

.header-call .header-call--number {
    display: block;
    direction: ltr;
}

@media (max-width: 768px) {
    .header-primary .custom-logo-link {
        padding: 8px;
    }

    .header-primary .custom-logo-link img {
    }

    .header-end-btn {
        height: 66px;
        width: 66px;
    }
}

ins {
    text-decoration: none !important;
}

.elementor-widget-image .elementor-widget-container img {
    border-radius: var(--bs-border-radius);
}

.footer {
    color: #eeeeee;
}

.footer,
.footer a {
    --bs-link-hover-color-rgb: 238, 238, 238;
    --bs-link-color-rgb: 255, 255, 255;
}

.footer .footer-top {
    position: relative;
    border-top: 6px solid #8cd8ca;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), transparent);
}

@media (max-width: 480px) {
    .footer .footer-top {
        border-top-width: 3px;
    }
}

.footer .footer-logo {
    position: relative;
    display: inline-block;
    background-image: url("img/footer-wave.svg");
    background-repeat: no-repeat;
    background-size: 100%;
    background-position-y: -1px;
    width: 435px;
    height: 80px;
    margin: -6px auto 0 auto;
    z-index: 1;
}

.footer .footer-logo img {
    display: block;
    width: 170px;
    max-width: 100%;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .footer .footer-logo {
        width: 260px;
        height: 50px;
        margin-top: -4px;
    }

    .footer .footer-logo img {
        width: 120px;
    }
}

.footer .footer-contact {
    color: var(--bs-primary-rgb);
    --bs-link-color-rgb: var(--bs-primary-rgb);
}

.footer .footer-contact a {
    --bs-link-color-rgb: var(--bs-primary-rgb);
}

.footer-secondary-contact {
    overflow: hidden;
}

.footer-secondary-contact .row > div:not(:last-child) {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item {
    display: block;
    position: relative;
    text-align: center;
}

.contact-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.contact-item:active {
    background-color: rgba(255, 255, 255, 0.3);
}

.list-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-menu > li {
    flex: 0 0 auto;
    width: 50%;
    margin-bottom: 5px;
}

.list-menu > li > a {
    display: block;
    padding: 5px 5px;
    border-radius: var(--bs-border-radius-sm);
}

.list-menu > li > a:before {
    content: "\f100";
    font-family: "Font Awesome 6 Pro";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-weight: 300;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    margin-left: 5px;
    vertical-align: middle;
    font-size: 80%;
}

.footer .list-menu > li > a:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.footer .list-menu > li > a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.autoplay-progress {
    background-color: var(--bs-body-bg);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--bs-primary);
}

.autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    stroke: var(--bs-primary);
    fill: none;
    stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
}


.autoplay-progress span {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    height: 25px;
    margin: auto;
    text-align: center;
}

.vertical-subject {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-align: center;
}

.slider .slider-pagination {
    position: absolute;
    left: 30px !important;
    bottom: 15px !important;
    z-index: 1;
    width: auto;
    right: auto;
    background-color: rgba(var(--bs-body-color-rgb), 0.2);
    border-radius: var(--bs-border-radius);
    height: 25px;
    padding: 0 5px;
}

.slider .slider-pagination .swiper-pagination-bullet {
    background-color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.section-title-box {
    position: relative;
}

.login-page .digits_fields_wrapper {
    padding: 1rem;
    background-color: var(--bs-gray-100);
    border-radius: var(--bs-border-radius);
    margin: 30px 0 0 0;
}

.minput .minput_inner {
    margin: 0;
}

.digits_register_fields .minput:not(:last-child) {
    margin-bottom: 10px;
}

.login-page .login-page--image {
    width: 100%;
    object-fit: cover;
}

.page-header {
    position: relative;
}

.under-menu {
    position: relative;
    margin-top: -56px;
    padding-top: 40px;
}

.post-item {
    display: block;
    position: relative;
}

.sticky-posts .swiper-button-next {
    right: 15px;
}

.sticky-posts .swiper-button-prev {
    left: 15px;
}


.sticky-posts-swiper .swiper-slide {
    width: 600px;
}

@media (max-width: 400px) {
    .sticky-posts-swiper .swiper-slide {
        width: 350px;
    }
}

@media (max-width: 500px) {
    .sticky-posts-swiper .swiper-slide {
        width: 400px;
    }
}

.sticky-posts .swiper-button-disabled {
    visibility: hidden !important;
}


.page-header {
    position: relative;
    margin-top: -40px;
    background-color: var(--bs-secondary-bg);
    text-align: center;
    padding-top: 60px;
    min-height: 200px;
}

.page-header .page-header--image {
    width: 100%;
    object-fit: cover;
    height: 400px;
}

.page-header .page-header--overly {
    background-image: none;
    background-color: rgba(0, 85, 69, .7);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.page-header .rank-math-breadcrumb {
    text-align: center;
}

.archive-header .rank-math-breadcrumb,
.archive-header a,
.page-header .page-header--meta,
.page-header .page-header--meta a {
    color: #999999;
}

.archive-header a:hover,
.page-header .page-header--meta a:hover {
    color: #cccccc;
}

.archive-header a:active,
.page-header .page-header--meta a:active {
    color: #ffffff;
}

.social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    color: #ffffff;
    font-size: 1.5rem;
    border-radius: .5rem;
}

.social-share a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


.post-navigations a {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #cccccc;
    border-radius: .5rem;
}

.post-navigations a i {
    vertical-align: middle;
}

.post-navigations a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.post-navigations a:active {
    background-color: rgba(0, 0, 0, 0.1);
}


#comments .g-recaptcha-wrap {
    order: 5 !important;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: calc(var(--bs-gutter-x) * .5) !important;
    padding-right: calc(var(--bs-gutter-x) * .5) !important;
    margin-top: var(--bs-gutter-y);
}


.comment-item {
    position: relative;
}

.comment-item .comment-body {
    position: relative;
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1rem;
    min-height: 80px;
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.8;
}

.comment-item .comment-body:before {
    content: "";
    display: inline-block;
    background-image: url("img/quotation.svg");
    background-repeat: no-repeat;
    background-size: contain;
    height: 60px;
    width: 60px;
    float: right;
    margin: 0 0 0 15px;
    opacity: 0.1;
}

.comment-item .comment-body:after {
    content: "";
    position: absolute;
    display: block;
    width: 35px;
    height: 30px;
    background: #ffffff;
    top: calc(100%);
    right: 20px;
    box-sizing: border-box;
    clip-path: polygon(0 0, 0% 100%, 100% 0%, calc(100% - 2px) 0, 1px calc(100% - 2px), 35px 0);
}

@media (max-width: 480px) {
    .comment-item .comment-body:after {
        right: 10px;
    }
}

.comment-item .comment-body p:last-child {
    margin-bottom: 0 !important;
}

.comment-item .comment-star .star-rate-item {
    height: 15px;
    width: 15px;
}

.comment-item .comment-data {
    margin-right: 60px;
    line-height: 1.7;
}

.comment-item .comment-data .avatar {
    padding: 5px;
    background-color: #eeeeee;
    border-radius: 50%;
    height: 45px;
    width: 45px;
}

.social-links-blog li a {
    display: block;
    background-color: #eeeeee;
    color: #333333;
    padding: 8px 15px;
    border-radius: var(--bs-border-radius);
}

.social-links-blog li a:hover {
    opacity: 0.8;
}

.social-links-blog li a:active {
    opacity: 0.7;
}

.social-links-blog li {
    margin-bottom: 5px;
}

.social-links-blog li a i {
    font-size: 1.1rem;
    vertical-align: middle;
    margin-left: 10px;
}

.social-links-blog li.telegram a {
    background-color: rgba(26, 183, 234, 0.5);
}

.social-links-blog li.whatsapp a {
    background-color: rgba(37, 211, 102, 0.5);
}

.social-links-blog li.instagram a {
    background-color: rgba(228, 64, 95, 0.5);
}

.widget .wp-block-latest-comments {
    list-style: none;
}

.widget .wp-block-latest-comments li {
    display: block;
}

.widget .wp-block-latest-comments li {

}

.widget .wp-block-latest-comments .wp-block-latest-comments__comment-author {
    color: var(--bs-secondary-color);
}

.sidebar figure {
    margin: 0;
}

.sidebar .wp-block-image img {
    margin: 0;
    border: 0;
    padding: 0;
    max-width: 100%;
}

.sidebar .widget_search {
    padding: 10px;
}

@media (min-width: 992px) {
    .header-logo-column {
        border-left: 1px solid var(--bs-light);
    }
}

.elementor-widget-image a img {
    min-height: 150px;
    object-fit: cover;
}

.commentlist .comment_container .comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    padding: 2px;
}

.commentlist .depth-1 > .comment_container .comment-avatar{
    width: 60px;
    height: 60px;
}

.woocommerce #reviews #comments ol.commentlist li img.avatar{
    width: 100%;
    height: 100%;
    object-fit: cover;
    float: none;
    padding: 0;
    position: relative;
    border: 0;
}

.woocommerce #reviews #comments ol.commentlist li img.avatar,
.commentlist .comment_container .comment-avatar img {
    border-radius: 50%;
}

.commentlist > .review .comment-text {
    margin-right: 0 !important;
}

img.aligncenter {
    display: block;
    margin: 0 auto;
}

.page-template-page-login .digits-form_container {
    width: 100%;
    max-width: 100%;
}

/*.page-template-page-login .digits-form_container .digits-form_heading {*/
/*    display: none;*/
/*}*/

.woocommerce-store-notice, p.demo_store{
    font-family: iranyekanFanum, iranyekan, Tahoma, serif !important;
    top: auto !important;
    top: auto !important;
    bottom: 0;
    position: fixed !important;
    padding: 15px 30px;
    text-align: center !important;
    background-color: #de0021 !important;
}

.woocommerce-store-notice a, p.demo_store a {
    color: #000000;
    text-decoration: underline;
    display: inline-block;
    padding: 3px 10px;
    background-color: #ffffff;
    border-radius: 1rem;
    text-decoration: none;
    margin-right: 10px;
}