/*
Theme Name: shahrebours child
Theme URI: http://shahrebours/
Author: ali asghar noruzzadeh
Author URI: 
Description: unlimited theme special for shahrebours
Version: 1.0
Requires PHP: 8.0
Tested up to: 6.7
Template:  shahrebours
Text Domain: shahrebours
Tags: امکانات اختصاصی از جمله گزارشگیری و هماهنگی با amp و تبلیغات هوشمند
*/
@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 100;
	src: url('fonts/woff/IRANSansXFaNum-ThinD4.woff') format('woff'),   
	url('fonts/woff2/IRANSansXFaNum-ThinD4.woff2') format('woff2');		
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 200;
	src: url('fonts/woff/IRANSansXFaNum-UltraLightD4.woff') format('woff'),   
	url('fonts/woff2/IRANSansXFaNum-UltraLightD4.woff2') format('woff2');	
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 300;
	src: url('fonts/woff/IRANSansXFaNum-LightD4.woff') format('woff'),   
	url('fonts/woff2/IRANSansXFaNum-LightD4.woff2') format('woff2');		 
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 500;
	src: url('fonts/woff/IRANSansXFaNum-MediumD4.woff') format('woff'),   
	url('fonts/woff2/IRANSansXFaNum-MediumD4.woff2') format('woff2');		 
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 600;
	src: url('fonts/woff/IRANSansXFaNum-DemiBoldD4.woff') format('woff'),   
	url('fonts/woff2/IRANSansXFaNum-DemiBoldD4.woff2') format('woff2');	 
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 800;
	src: url('fonts/woff/IRANSansXFaNum-ExtraBoldD4.woff') format('woff'),   
	url('fonts/woff2/IRANSansXFaNum-ExtraBoldD4.woff2') format('woff2');		 
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 900;
	src: url('fonts/woff/IRANSansXFaNum-BlackD4.woff') format('woff'),   
	url('fonts/woff2/IRANSansXFaNum-BlackD4.woff2') format('woff2');		 
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 950;
	src: url('fonts/woff/IRANSansXFaNum-ExtraBlackD4.woff') format('woff'),   
	url('fonts/woff2/IRANSansXFaNum-ExtraBlackD4.woff2') format('woff2');		 
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: 1000;
	src: url('fonts/woff/IRANSansXFaNum-HeavyD4.woff') format('woff'),   
	url('fonts/woff2/IRANSansXFaNum-HeavyD4.woff2') format('woff2');		 
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: bold;
	src: url('fonts/woff/IRANSansXFaNum-BoldD4.woff') format('woff'),   
	url('fonts/woff2/IRANSansXFaNum-BoldD4.woff2') format('woff2');	 
}

@font-face {
	font-family: IRANSansX;
	font-style: normal;
	font-weight: normal;
	src: url('fonts/woff/IRANSansXFaNum-RegularD4.woff') format('woff'),   
	url('fonts/woff2/IRANSansXFaNum-RegularD4.woff2') format('woff2');	
}

body {
	font-family: IRANSansX  !important;
}
h1, h2, h3, h4, h5, h6,input, textarea {
	font-family: IRANSansX !important;
}
h1 {
	font-weight: bold;
}
/* News Ticker
-------------------------------------------------------------- */

.rivax-news-ticker-wrapper {
    --ticker-wrapper-bg : #fff;
    display: flex;
    align-items: stretch;
    background-color: var(--ticker-wrapper-bg);
}

.rivax-news-ticker-title-wrapper {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    overflow: hidden;
    position: relative;
    padding: 10px;
}

.rivax-news-ticker-title-text {
    white-space: nowrap;
}

.rivax-news-ticker-title-icon {
    display: flex;
}

.rivax-news-ticker-title-icon svg{
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.rivax-news-ticker-title-pulse {
    display: block;
    position: relative;
    border-radius: 50%;
    height: 10px;
    width: 10px;
    color: var(--accent-color);
    background-color: currentColor;
}

.rivax-news-ticker-title-pulse::after, .rivax-news-ticker-title-pulse::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid currentColor;
    animation: rivax-news-ticker-title-pulse-func 2s ease-in-out infinite;
}

.rivax-news-ticker-title-pulse::after {
    animation-delay: 1s;
}

@keyframes rivax-news-ticker-title-pulse-func {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.rivax-news-ticker-content-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.rivax-news-ticker-content {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
}

.rivax-news-ticker-item {
    display: flex;
    align-items: center;
}

.rivax-news-ticker-item .item-icon i {
    vertical-align: center;
    display: block;
}

.rivax-news-ticker-item .item-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    display: block;
}

.rivax-news-ticker-item .item-thumbnail {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.rivax-news-ticker-item .item-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

.rivax-news-ticker-item .item-date {
    flex-shrink: 0;
}

.rivax-news-ticker-item .item-title {
    flex-grow: 1;
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    position: relative;
}

.rivax-news-ticker-item .item-title a {
    color: inherit;
}

.rivax-news-ticker-side-fading::before, .rivax-news-ticker-side-fading::after {
    width: 40px;
    height: 100%;
    top: 0;
    position: absolute;
    z-index: 10;
}

.rivax-news-ticker-side-fading::before {
    left: 0;
    background: linear-gradient(90deg, var(--ticker-wrapper-bg), transparent);
}

.rivax-news-ticker-side-fading::after {
    right: 0;
    background: linear-gradient(-90deg, var(--ticker-wrapper-bg), transparent);
}

.rivax-news-ticker-side-fading.side-left::before {
    content: '';
}

.rivax-news-ticker-side-fading.side-right::after {
    content: '';
}

.rivax-news-ticker-side-fading.side-both::before, .rivax-news-ticker-side-fading.side-both::after {
    content: '';
}


.rivax-news-ticker-items {
    display: flex;
}

.rivax-news-ticker-items .js-marquee-wrapper, .rivax-news-ticker-items .js-marquee {
    display: flex;
    flex-shrink: 0;
}

.rivax-news-ticker-content-wrapper.animation-marquee .rivax-news-ticker-item {
    flex-shrink: 0;
    opacity: 0;
}

.rivax-news-ticker-content-wrapper.animation-marquee .js-marquee .rivax-news-ticker-item {
    opacity: 1;
}


.rivax-news-ticker-arrows {
    display: flex;
}

.rivax-news-ticker-arrows .carousel-nav-prev, .rivax-news-ticker-arrows .carousel-nav-next {
    position: relative;
    transform: none;
}


.rivax-news-ticker-content-wrapper.animation-type .rivax-news-ticker-item .item-title::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background: var(--ticker-wrapper-bg);
    top: 0;
    right: 0;
    transition: all var(--typing-speed, 1000ms) linear;
}

.rivax-news-ticker-content-wrapper.animation-type .rivax-news-ticker-item.swiper-slide-active .item-title::before {
    width: 0;
}

/* digibe-meta.css */
.daat {
    width: 100%;
    height: auto;
    float: right;
}
.daat li {
    width: auto;
    color: #001b5a73;
    height: auto;
    float: right;
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 5px;
    margin-left: 15px;
}
.digibe-meta i {
    font-family: 'RivaxIcons' !important;
    font-size: 16px; /* اندازه پیش‌فرض آیکون‌ها */
    color: #6a6a6a;  /* رنگ پیش‌فرض آیکون‌ها */
}

.digibe-meta .fa-hashtag:before {
    content: "\e900";  /* کد یونیک آیکون برای کد نوشته */
}

.digibe-meta .fa-user:before {
    content: "\e901";  /* کد یونیک آیکون برای نویسنده */
}

.digibe-meta .fa-clock:before {
    content: "\e902";  /* کد یونیک آیکون برای تاریخ */
}

.digibe-meta .fa-signal:before {
    content: "\e903";  /* کد یونیک آیکون برای بازدید */
}

.digibe-meta .fa-comments:before {
    content: "\e904";  /* کد یونیک آیکون برای دیدگاه‌ها */
}
.daat .meta-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.daat .meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.daat .meta-item i {
    font-size: 18px;
    margin-right: 10px;
    color: #6a6a6a;
}

.daat .meta-item .meta-text {
    font-size: 14px;
    color: #001b5a73;
}

.daat .meta-item a {
    color: #001b5a73;
    text-decoration: none;
}

.daat .meta-item a:hover {
    text-decoration: underline;
}
html[scheme="dark"] .elementor-194522 .elementor-element.elementor-element-c901c36 {
    color: #ffffff !important;
}

html[scheme="dark"] .elementor-194522 .elementor-element.elementor-element-c901c36 a {
    color: #ffb300 !important; 
}
html[scheme="dark"] .shahr-breadcrumb,
html[scheme="dark"] .daat .meta-item .meta-text,
html[scheme="dark"] .elementor-heading-title,
html[scheme="dark"] .elementor-194522 .elementor-element.elementor-element-c901c36 h1, 
html[scheme="dark"] .elementor-194522 .elementor-element.elementor-element-c901c36 h2,
html[scheme="dark"] .elementor-194522 .elementor-element.elementor-element-c901c36 h3 {
    color: #ffffff !important;
}
html[scheme="dark"] .rivax-news-ticker-wrapper {
    --ticker-wrapper-bg: #272c31 !important;
    border-color: #3434349c !important;
}
.banner-item {
    background: #f9f9f9;
    border-radius: 5px;
}
.banner-item label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}
.banner-item input {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
}
html[scheme="dark"] .mobile-sticky-ad {
    background-color: #272c31 !important;
}
html[scheme="dark"] .elementor-widget-container {
    color: #f7f8f9 !important;
}
.shahr-inline-ad {
    align-items: center;
    padding: 10px;
    margin: 10px 0 10px 0;
}
