/*!
Theme Name: Nubi Child
Theme URI: https://uicore.co
Description: Digital Marketing & SEO WordPress Theme
Author: UiCore
Author URI: https://uicore.co
Template: nubi
Version: 1.0.0
Text Domain: nubi
*/

 /* Add your custom style here */

/* ==========================================================================
   Global / Base
========================================================================== */

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: #E8E8FF;
}

::-webkit-scrollbar-thumb {
    background: #5148D7;
}

html {
    scroll-behavior: smooth;
}

button.elementor-button.elementor-size-md,
button.elementor-button.elementor-size-sm {
    cursor: pointer;
}


/* ==========================================================================
   Pagination
========================================================================== */

.uicore-pagination {
    margin: 10px 0 !important;
}

.uicore-pagination ul li a.next:before,
.uicore-pagination ul li a.prev:before {
    content: "\E901";
    display: block;
    font-family: uicore-icons !important;
    transform: rotate(90deg) !important;
}


/* ==========================================================================
   Elementor / General UI
========================================================================== */

.elementor-message.elementor-message-success.elementor-message-svg {
    justify-self: center;
    padding-top: 10px;
}

.dev-form-num-footer .elementor-message.elementor-message-success.elementor-message-svg {
    margin: 0;
}

.bdt-modal-6b5d507.bdt-modal .bdt-modal-body,
.bdt-modal-6b5d507.bdt-modal .bdt-modal-dialog {
    overflow: unset;
}

.elementor-icon.eicon-plus {
    font-family: 'eicons' !important;
    color: #4c4c4c;
}

.work-process-style:hover .bdt-ep-advanced-icon-box-title,
.work-process-style:hover .bdt-ep-advanced-icon-box-description {
    color: #FFFFFF !important;
}

.content-box {
    height: 300px;
}


/* ==========================================================================
   Blog / Posts
========================================================================== */

.uicore-post-wrapper {
    background-color: #F3F3FF;
    border-radius: 5px;
    border: 3px solid #E8E8FF;
    padding: 15px;
}

.uicore-blog-img-container.uicore-zoom-wrapper {
    border-radius: 5px !important;
}

.uicore-post-info-wrapper {
    display: flex;
    flex-direction: column-reverse;
    gap: 0;
    align-content: space-around;
}

.uicore-post-info-wrapper > a {
    order: 1;
}

h4.uicore-post-title span {
    font-size: 14px;
}

.uicore-post-content ul {
    padding-left: 0 !important;
}

.uicore-cover-img {
    padding-bottom: 60% !important;
}

.uicore-horizontal .uicore-post-wrapper .uicore-post-info {
    padding: 0 !important;
}

ul.ui-category-list li {
    margin-left: 15px;
    margin-right: 15px;
}

a.ui-category-link.ui-active {
    color: #5148D7;
}

select#ui-category-filter {
    background-position-x: 0% !important;
}

.uicore-blog-grid .uicore-post-info {
    padding: 0px !important;
}


.uicore-post-info a h4{
    height: 50px;
}

.uicore-post-info-wrapper p {
    height: 100px;
}

.uicore-blog-grid:not(.uicore-horizontal) .uicore-post-info {
    margin-top: 0.5em !important;
}


/* ==========================================================================
   Blog Slide Elementor
========================================================================== */

.blog-slide-elementor .bdt-ep-carousel-meta.bdt-subnav.bdt-flex-middle.bdt-margin-small-top,
.blog-slide-elementor a.bdt-ep-carousel-button.elementor-button.elementor-size-sm {
    order: 4;
}

.blog-slide-elementor .nblog-slide-elementor .bdt-ep-carousel-button {
    margin-top: 0 !important;
    display: inline-block;
}

.blog-slide-elementor .bdt-ep-carousel-desc {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    align-content: space-between;
}

.blog-slide-elementor .swiper-carousel.swiper-container.swiper-container-initialized.swiper-container-horizontal.swiper-container-rtl {
    padding-top: 50px;
}


.blog-slide-elementorg .bdt-ep-carousel-item,
.blog-slide-elementor .bdt-ep-carousel-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-slide-elementor .bdt-ep-carousel-item {
    box-shadow: none !important;
}

.blog-slide-elementor .bdt-ep-carousel-thumbnail {
    overflow: visible !important;
    text-align: -webkit-center !important;
}

.blog-slide-elementor .swiper-slide {
    overflow: visible;
}


.blog-slide-elementor span.pc-date.bdt-first-column span {
    color: var(--gray, #8D99AE);
    text-align: right;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
}

.blog-slide-elementor img.attachment-medium_large.size-medium_large {
    width: 360px !important;
    height: 220px !important;
}


/* ==========================================================================
   Buttons / Map / Video
========================================================================== */

.button-map .elementor-button-content-wrapper {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
}

.button-map .elementor-button-content-wrapper > span > svg {
    font-size: 30px;
}

.dev-play-video-cta.elementor-widget.elementor-widget-video svg {
    width: 54px !important;
    fill: none !important;
    filter: none !important;
    color: #FFF !important;
}


/* ==========================================================================
   Header / Menu
========================================================================== */

.uicore-mobile-menu-wrapper:before,
.uicore-wrapper.uicore-search.elementor-section,
.uicore-navbar .uicore-header-wrapper:before {
    background: rgb(239 239 239 / 74%);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, .1);
}

.uicore-navbar:not(.uicore-left-menu) .uicore-branding {
    padding-right: 0 !important;
}


/* ==========================================================================
   Voice Player RTL
========================================================================== */

.rt-voice {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f5fbf6;
    border: 1px solid #d9f2e0;
    border-radius: 5px;
    padding: 10px 12px;
    width: 100%;
    max-width: 520px;
    flex-direction: row-reverse;
}

.rtv-play {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    background: #34d399;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 14px rgba(52, 211, 153, .3);
}

.rtv-icon {
    width: 20px;
    height: 20px;
    display: none;
}

.rt-voice.paused .rtv-icon-play {
    display: block;
}

.rt-voice.playing .rtv-icon-pause {
    display: block;
}

.rtv-wave {
    flex: 1 1 auto;
    height: auto;
    min-width: 180px;
}

.rtv-speed {
    border: 1px solid #c7ebd7;
    background: #e9f8f0;
    color: #16a34a;
    border-radius: 5px;
    font-size: 12px;
    padding: 4px 8px;
    cursor: pointer;
    white-space: nowrap;
}


/* ==========================================================================
   Scroll Demo
========================================================================== */

.scroll-demo {
    height: 360px;
    overflow: hidden;
    border-radius: 5px;
}

.scroll-demo img {
    width: 100%;
    height: auto;
    display: block;
    transform: translateY(0);
    transition: transform 1.5s linear;
}

.scroll-demo:hover img {
    transform: translateY(calc(-100% + 360px));
}


/* ==========================================================================
   Desktop / Large Screens
========================================================================== */

@media only screen and (min-width: 1025px) {
    .uicore-navbar .uicore-extra {
        margin-left: 0 !important;
    }
}

@media only screen and (min-width: 1440px) {
    .uicore-navbar nav.uicore ul.sub-menu,
    .uicore-navbar nav.uicore ul.sub-menu:not(.uicore-megamenu) {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 415px;
    }

    li.menu-item.menu-item-type-post_type.menu-item-object-page {
        width: 50%;
    }
}


/* ==========================================================================
   Tablet
========================================================================== */

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .uicore-blog-grid.uicore-horizontal .uicore-post .uicore-post-wrapper > a {
        align-self: stretch;
        display: block !important;
    }

    .uicore-cover-img {
        height: 412px !important;
    }

    .blog-slide-elementor img.attachment-medium_large.size-medium_large {
        width: 318px !important;
        height: 194px !important;
    }
}


/* ==========================================================================
   Mobile
========================================================================== */

@media only screen and (max-width: 768px) {
    .elementor-section.elementor-section-boxed:not(.elementor-inner-section) > .elementor-container {
        width: 95% !important;
    }

    .uicore-blog-grid.uicore-horizontal .uicore-post .uicore-post-wrapper > a {
        align-self: stretch;
        display: block !important;
    }

    .uicore-cover-img {
        height: 157px !important;
    }

    .blog-slide-elementor img.attachment-medium_large.size-medium_large {
        width: 290px !important;
        height: 185px !important;
    }
}

@media only screen and (max-width: 480px) {
    .rtv-wave {
        height: 36px;
    }

    .rtv-play {
        width: 36px;
        height: 36px;
    }

    .uicore-blog-grid .uicore-post-info {
        margin-top: 0.8em !important;
    }

    .uicore-header-wrapper {
        padding: 10px 5px !important;
    }
}

.commnet-blog-elementor h3#reply-title {
    display: none;
}


.commnet-blog-elementor .comments-area textarea {
    background-color: #ebebeb !important;
    border-radius: 10px !important;
    margin: 0.625rem 0;
    
        outline: none;
}

.commnet-blog-elementor .comments-area {
    width: 100%;
    margin-top: 0px;
}

.commnet-blog-elementor label {
      font-size: 14px;
}

.commnet-blog-elementor .logged-in-as {
    font-size: 14px !important;
    margin-top: -0.625rem !important;
    display: inline-block !important;
}


@media screen and (max-width:578px){
  
    .commnet-blog-elementor .logged-in-as{
        font-size:12px !important;

    }
    
}


@media only screen and (min-width: 1025px) {
  .content-blog-elementor h2{
    font-size: 1.3rem;
    line-height: 2.2rem;
    color: #101828;
}
.content-blog-elementor h3{
    font-size: 1.1rem;
    line-height: 1.0rem;
    color: #101828;
}

.content-blog-elementor ul{
    font-size: 14px;
    line-height: 1.6rem;
    color: #101828;
    font-weight: 500;
}

.content-blog-elementor a{
    font-weight: 600;
}

.content-blog-elementor img{
    width: 100%;
    border-radius: 6px; 
    
}
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    /* استایل‌های مخصوص تبلت */
}

@media only screen and (max-width: 768px) {
    /* استایل‌های مخصوص موبایل */
      .content-blog-elementor h2{
    font-size: 1.0rem;
    line-height: 1.8rem;
    color: #101828;
}
.content-blog-elementor h3{
    font-size: 0.9rem;
    line-height: 1.0rem;
    color: #101828;
}

.content-blog-elementor ul{
    font-size: 14px;
    line-height: 1.6rem;
    color: #101828;
    font-weight: 400;
}

.content-blog-elementor a{
    font-weight: 500;
}

.content-blog-elementor img{
    width: 100%;
    border-radius: 5px; 
    
}
    
}


/* جلوگیری از عریض شدن کارت‌های اسلایدر هنگام لود */
.dev-slide-experience .e-n-carousel {
    overflow: hidden;
}

/* فقط قبل از فعال شدن Swiper */
.dev-slide-experience
.e-n-carousel:not(.swiper-initialized)
.swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}

/* دسکتاپ: 3 کارت */
.dev-slide-experience
.e-n-carousel:not(.swiper-initialized)
.swiper-slide {
    flex: 0 0 33.333333% !important;
    width: 33.333333% !important;
    max-width: 33.333333% !important;
    min-width: 0 !important;
}

/* تبلت: 2 کارت */
@media (max-width: 1024px) {
    .dev-slide-experience
    .e-n-carousel:not(.swiper-initialized)
    .swiper-slide {
        flex-basis: 50% !important;
        width: 50% !important;
        max-width: 50% !important;
    }
}

/* موبایل: 1 کارت */
@media (max-width: 767px) {
    .dev-slide-experience
    .e-n-carousel:not(.swiper-initialized)
    .swiper-slide {
        flex-basis: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

.dev-slide-experience .swiper-slide,
.dev-slide-experience .swiper-slide > *,
.dev-slide-experience .e-con-inner,
.dev-slide-experience .elementor-icon-box-wrapper,
.dev-slide-experience .elementor-icon-box-content {
    min-width: 0;
    box-sizing: border-box;
}










    


