:root {
    --primary:#385e9d;
    --yellow:#ffb91d;
    --textColor:rgb(82, 100, 112);
    --textColorDark: rgb(82, 100, 112);
    --detailColor: #9cadb9;
    --textColorWhite: #fff;
    --hoverColor:rgba(213,220,225,.6);
    --borderColor:#d5dce1;
    --blue:#00B4FF;
    --green:#29ca4a;
    --newGreen: #00C178;
    --red:#DC2626;
    --inputTextColor:#526470;
    --inputBorderColor:#b9c5cd;
	--bg-color: #fff;
	--icon-color: rgb(82, 100, 112);
	--inputBorderColor: #b9c5cd;
}
@font-face {
    font-family: Vazir;
    src: url('../font/vazir/Vazir.eot');
    src: url('../font/vazir/Vazir.eot?#iefix') format('embedded-opentype'),
    url('../font/vazir/Vazir.woff2') format('woff2'),
    url('../font/vazir/Vazir.woff') format('woff'),
    url('../font/vazir/Vazir.ttf') format('truetype');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazir;
    src: url('../font/vazir/Vazir-Bold.eot');
    src: url('../font/vazir/Vazir-Bold.eot?#iefix') format('embedded-opentype'),
    url('../font/vazir/Vazir-Bold.woff2') format('woff2'),
    url('../font/vazir/Vazir-Bold.woff') format('woff'),
    url('../font/vazir/Vazir-Bold.ttf') format('truetype');
    font-weight: bold;
    font-display: swap;
}

@font-face {
    font-family: Vazir;
    src: url('../font/vazir/Vazir-Thin.eot');
    src: url('../font/vazir/Vazir-Thin.eot?#iefix') format('embedded-opentype'),
    url('../font/vazir/Vazir-Thin.woff2') format('woff2'),
    url('../font/vazir/Vazir-Thin.woff') format('woff'),
    url('../font/vazir/Vazir-Thin.ttf') format('truetype');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: Vazir;
    src: url('../font/vazir/Vazir-Light.eot');
    src: url('../font/vazir/Vazir-Light.eot?#iefix') format('embedded-opentype'),
    url('../font/vazir/Vazir-Light.woff2') format('woff2'),
    url('../font/vazir/Vazir-Light.woff') format('woff'),
    url('../font/vazir/Vazir-Light.ttf') format('truetype');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: Vazir;
    src: url('../font/vazir/Vazir-Medium.eot');
    src: url('../font/vazir/Vazir-Medium.eot?#iefix') format('embedded-opentype'),
    url('../font/vazir/Vazir-Medium.woff2') format('woff2'),
    url('../font/vazir/Vazir-Medium.woff') format('woff'),
    url('../font/vazir/Vazir-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: Vazir;
    src: url('../font/vazir/Vazir-Black.eot');
    src: url('../font/vazir/Vazir-Black.eot?#iefix') format('embedded-opentype'),
    url('../font/vazir/Vazir-Black.woff2') format('woff2'),
    url('../font/vazir/Vazir-Black.woff') format('woff'),
    url('../font/vazir/Vazir-Black.ttf') format('truetype');
    font-weight: 900;
    font-display: swap;
}
@font-face {
    font-family: 'Nunito';
    src: url('../font/nunito/Nunito-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}
@font-face {
    font-family: 'BalooBhaijaan2';
    src: url('../font/baloo-bhaijaan-2/BalooBhaijaan2-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'NotoSansHebrew';
    src: url('../font/noto-sans-hebrew/NotoSansHebrew-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}
  
@font-face {
    font-family: 'NotoSansHebrew';
    src: url('../font/noto-sans-hebrew/NotoSansHebrew-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSansHebrew';
    src: url('../font/noto-sans-hebrew/NotoSansHebrew-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSansHebrew';
    src: url('../font/noto-sans-hebrew/NotoSansHebrew-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSansHebrew';
    src: url('../font/noto-sans-hebrew/NotoSansHebrew-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSansHebrew';
    src: url('../font/noto-sans-hebrew/NotoSansHebrew-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSansHebrew';
    src: url('../font/noto-sans-hebrew/NotoSansHebrew-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSansHebrew';
    src: url('../font/noto-sans-hebrew/NotoSansHebrew-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSansHebrew';
    src: url('../font/noto-sans-hebrew/NotoSansHebrew-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}
  
html[lang="fa-IR"], html[lang="fa-IR"] body{
    font-family: 'Vazir', sans-serif;
}

html[lang="en-US"], html[lang="en-US"] body {
    font-family: 'Nunito', 'Vazir';
}

html[lang="ar"], html[lang="ar"] body {
    font-family: 'BalooBhaijaan2', 'Vazir';
}
html[lang="he"], html[lang="he"] body {
    font-family: 'NotoSansHebrew', 'Vazir';
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold !important;
}
a {
    text-decoration: none;
    color: var(--textColor);
}
body {
    direction: rtl;
    background: var(--bg-color);
    color: var(--textColor);
}
.container {
    display: grid;
    grid-template-columns: 300px auto;
    max-width: 1408px;
    margin: 0 auto;
}
.main-content-wrapper {
    position:relative;
    border: 1px solid var(--borderColor);
    border-top: 0;
}
.content {
    display: grid;
    grid-template-columns: auto 400px;
    gap: 30px;
}
.navigation-button a {
    cursor:pointer;
}
.not-found-post {
    background: var(--bg-color);
    font-weight: bold;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 18px;
    text-align: center;
}
.profile-tabs {
    position: relative;
}
.loader {
    display: none;
    position: absolute;
    top: 100px;
    right: 0;
    padding: 5px;
    border-radius: 50%;
    background: var(--bg-color);
    width: fit-content;
    margin: 0 auto;
    left: 0;
    box-shadow: 0 0 20px #ccccccb5;
}
.pagination-loader {
    top:unset;
    bottom: 20px;
}
.icon-fill, .icon-fill path {
    fill: var(--icon-color);
}
.icon-stroke, .icon-stroke path {
    stroke: var(--icon-color);
}
.icon-fill-stroke, .icon-fill-stroke path {
    fill: var(--icon-color);
    stroke: var(--icon-color);
}
/** header style **/
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid var(--borderColor);
    position: sticky;
    top: 0;
    margin-bottom: 20px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    box-shadow: 0px 2px 30px #f4f6f8;
}
.header-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
}
.page-header h1 {
    margin: 0;
    font-size: 25px;
    font-weight: bold;
}
.page-header .default-avatar, .page-header .logo-wrapper {
    display: none;
}
.logo-wrapper img {
    width: 60px;
}
.page-header .default-avatar {
    width: 40px;
    justify-self: end;
}
.header .logo-wrapper .logo:first-child {
    width: 35px;
}
/** 404 and search message style **/
.result-message {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    align-items: center;
}
.result-message img {
    max-width: 200px;
    border-radius: 20px;
}
.result-message span {
    font-weight: bold;
    font-size: 20px;
    background: var(--hoverColor);
    border-radius: 15px;
    padding: 10px;
    width: 100%;
    text-align: center;
}
/** header style **/
/*.header {*/
/*    width:calc(100% - 1px);*/
/*}*/
.header-title svg {
    cursor: pointer;
}
/** footer style **/
.footer {
    padding: 15px;
    border-top: 1px solid var(--borderColor);
    position: sticky;
    bottom: 0;
    z-index: 1;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    box-shadow: 0px 2px 30px #f4f6f8;
    width:calc(100% - 1px);
}
.social-media-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
}
.social-media-wrapper a {
    display: flex;
}
.social-media-wrapper a svg {
    width: 30px;
    height: 30px;
}
.ads-wrapper {
    padding: 15px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.sidebar .ads-wrapper {
    padding:0;
}
.ads-wrapper .ads-box {
    display:flex;
}
.ads-box img {
    margin:0;
    border-radius:20px;
}
.post-actions svg {
    width: 20px;
    height: 20px;
}
/** video placeholder **/
.video-placeholder {
    border-radius:10px;
    height: 230px;
    background: #263238;
    display: flex;
    align-items: center;
    justify-content: center;
}
.post-thumbnail .video-placeholder {
    margin-top: 15px;
}
.multi-item .video-placeholder {
    margin-top: 15px;
}
.loader-container {
    position: absolute;
    width: 80px;
    height: 80px;
}
#playBtn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 30%);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: absolute;
    top: 10px;
    left: 10px;
    cursor: pointer;
}
#playBtn svg {
    width: 24px;
    height: 24px;
}
.loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    animation: spin 2s linear infinite;
    z-index: 1;
}
.loading svg {
    width: 80px;
    height: 80px;
}

.loading circle {
    fill: none;
    stroke-width: 4;
}

.underlay {
    stroke: #ccc;
}
.loading-overlay {
    stroke: var(--textColorWhite);
    stroke-linecap: round;
    stroke-dasharray: 251.2;
    stroke-dashoffset: 251.2;
    transition: stroke-dashoffset 0.3s ease;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.proccessing {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}
.button.load-more {
	background: var(--primary) !important;
	color: #fff !important;
	border: none;
	outline: none;
	border-radius: 10px;
	padding: 10px 20px;
}
/******* responsive css start *********/
@media screen and (max-width:1300px) {
    .panel-menu {
        gap: 10px;
    }
    .panel-item {
        padding: 15px;
        width:unset;
    }
    .container .panel {
        margin: 0;
        padding: 0 15px;
    }
    .panel-item .item-text , .panel-item .logo-text , .user-name {
        display: none;
    }
    .container {
        grid-template-columns: 90px auto;
        gap:0;
    }
    .panel-item , .user-detail {
        justify-content: center;
    }
    .container {
        max-width: 1190px;
    }
    .user-detail {
        padding: 0;
        border: none;
    }
}
@media screen and (max-width:1100px) {
    .content {
        grid-template-columns: auto 330px;
    }
}
@media screen and (max-width:1000px) {
    .viewport-height {
        height:unset;
    }
    .content {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    .container {
        max-width: 765px;
        margin: 0 auto;
    }
    .sidebar {
        align-items: center;
        padding-right:15px;
    }
    .sidebar > div {
        max-width: 500px;
        width:100%;
    }
    .footer {
        border-radius:0 0 10px 10px;
    }
    .main-content-wrapper {
        border-radius: 0 0 10px 10px;
    }
}
@media screen and (max-width:768px) {
    .news-options {
        opacity:1;
        visibility:visible;
    }
    .channel-news .news-item {
        max-width: 400px;
    }
}
@media screen and (max-width:600px) {
    .sidebar {
        padding-bottom: 85px;
    }
    .container {
        grid-template-columns: 1fr;
    }
    .site-logo , .user-detail {
        display: none;
    }
    .panel-menu {
        gap: 0;
        flex-direction: row;
        justify-content: space-evenly;
    }
    .footer {
        z-index:unset;
        position:unset;
        top:unset;
    }
    .container .panel {
        height: unset;
        overflow: unset;
        position: fixed;
        width: 100%;
        right: 0;
        left: 0;
        bottom: 0;
        top: unset;
        padding: 10px;
        z-index: 2;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(15px);
        box-shadow: 0px 2px 30px #f4f6f8;
    }
    
    .icon svg {
        width: 20px;
        height: 20px;
    }
    .result-message img {
        max-width: 150px;
    }
}
@media screen and (max-width:500px) {
    .header-actions {
        flex-direction:row-reverse;
    }
    .profile-media .profile-image, .avatar-wrapper::before {
        width: 60px;
        height:60px;
    }
    .banner-wrapper .banner-image {
        width: 100%;
        max-width: 250px;
    }
    .news-item-media img, .news-item-media video {
        min-height: 250px;
    }
    .last-news .post-title h2 {
        font-size: 20px;
    }
    .channel-news .news-item {
        max-width: unset !important;
        width: calc(100% - 50px);
    }
    .form-actions {
        flex-direction: column;
    }
    .single-article .post-title {
        font-size: 18px;
    }
    .navigation-menu {
        max-width: unset;
        top: 0;
        height: 100%;
        border-radius: 0;
    }
    .panel-item {
        padding: 10px;
    }
    .header-title {
        flex-direction: row-reverse;
        justify-content: start;
    }
    .news-header .default-avatar, .news-header .logo-wrapper , .header .user-profile, .channel-header .default-avatar, .channel-header .logo-wrapper , .header .user-profile {
        display: flex;
    }
    .news-header h1, .channel-header h1 {
        display: none;
    }
    .news-header, .channel-header {
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        justify-items: center;
        padding:10px 15px;
    }
    .meta-boxes {
        gap: 15px;
    }
    .modal-box-wrapper.active .navigation-menu.show {
        transform: translate(-50%, 0%) scale(1);
    }
    .navigation-menu {
        transform: translate(-50%, 0%) scale(1.2);
    }
    .navigation-wrapper {
        max-height: unset;
    }
    .news-item {
        grid-template-columns: 130px auto;
    }
    .image-wrapper {
        width: 130px;
        height: 90px;
    }
    .search-header {
        padding: 10px;
        gap: 10px;
    }
    .category-filter {
        gap: 10px;
    }
    .modal-box {
        max-width: unset !important;
        width: calc(100% - 30px) !important;
    }
    .search-filter {
        gap: 10px;
    }

}
@media screen and (max-width:400px) {
    .news-item-media img, .news-item-media video {
        min-height: 200px;
    }
    .social-media-wrapper {
        gap: 15px;
    }
    .social-media-wrapper a svg {
        width: 30px;
        height: 30px;
    }
    .post-thumbnail.cover-post {
        height: 250px;
    }
    .video-placeholder {
        height:200px;
    }
}
/******* responsive css end *********/