@font-face {
    font-family: "RTNassim";
    src: url("../fonts/nassim-bold.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Parastoo";
    src: url("../fonts/Parastoo.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Vazir";
    src: url("../fonts/Vazir.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "num";
    src: url("../fonts/Num_Medium.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "fontawesome";
    src: url("../fonts/fontawesome-webfont.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}

.scrollable::-webkit-scrollbar {
    width: 4px; /* مثلا یکم پهن شه */
    height: 4px;
}

.scrollable::-webkit-scrollbar-thumb {
    background: rgba(100, 100, 100, 0); /* مخفی */
    border-radius: 8px;
    transition: background 0.3s ease;
}

.scrollable:hover::-webkit-scrollbar-thumb {
    background: #012b80; /* نیمه نمایان */
}

/* ::-webkit-scrollbar-track {
  background: #f1f1f1;
} */

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

li {
    list-style: none;
}
a {
    transition: color 0.3s ease;
}
a:hover {
    color: #08255e !important;
}

img {
    transition: all 0.3s ease;
}

a:hover img {
    filter: brightness(80%);
}

body {
    background-color: #f5f5f5;
    color: #333;
    overflow-x: hidden;
}

body.no-scroll,
html.no-scroll {
    overflow: hidden;
}

img {
    width: 100%;
}

.top-m {
    height: 28px;
    background-color: #08255e !important;
}

.top-nav-l {
    margin-top: 5px;
    color: #f5f5f5cc;
    float: left;
    font-size: 11px;
    font-family: "Parastoo", Helvetica, sans-serif;
    text-align: right;
    width: 350px;
    height: 32px;
    background: #08255e;
    line-height: 30px;
    padding: 0 10px;
    overflow: hidden;
    margin-left: 10px;
    padding-top: 1px;
}

.top-nav-l::before {
    content: "";
    border-left: 0px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #08255e;
    position: absolute;
    float: right;
    margin-top: 20px;
    margin-right: -21px;
}

.top-nav-l::after {
    content: "";
    border-right: 0px solid transparent;
    border-left: 12px solid transparent;
    border-top: 12px solid #08255e;
    position: absolute;
    float: left;
    margin-top: 19px;
    margin-right: 336px;
}
.searchform {
    float: left;
}

.searchform input[type="text"] {
    background: rgba(138, 135, 135, 0.2);
    border: none;
    float: right;
    width: 78px;
    display: block;
    height: 25px;
    padding: 10px 5px 10px 0px;
    color: #fff !important;
    font-family: "Vazir";
    font-size: 11px;
    transition: all 0.4s ease-in-out;
    font-size: 11px;
    outline: none;
}

.searchform button {
    width: 32px;
    float: left;
    height: 25px;
    line-height: 20px;
    color: #fff;
    background: rgba(138, 135, 135, 0.2);
    font-size: 15px;
    margin: 0;
    font: inherit;
    font-family: "Vazir";
}

.top-nav-l.focus .searchform input {
    width: 298px;
    margin-bottom: 20px;
    transition: width 0.2s ease-in-out;
    background: rgba(0, 0, 0, 0.27);
}

.top-nav-l .social {
    display: block;
}

.top-nav-l.focus .social {
    display: none;
}

.fa-search {
    font-size: 14px;
}

ul.social {
    float: left;
    width: 220px;
}

ul.social i {
    float: right;
    list-style: none outside none;
    border: none;
    color: #eee;
    padding: 4.5px;
    margin: 2px 1px;
    width: 25px;
    text-align: center;
    border-radius: 2px;
    background: #ffffff14;
    font-size: 14px;
    transition: all 0.6s ease 0s;
}

#header {
    background: #012b81;
}

#header > div {
    background: url("../img/header-bg.png") no-repeat 10px center;
}

.flex-title {
    margin-bottom: 10px;
    margin-top: 10px;
}

.flex-title .rotitle {
    font-size: 12px;
    color: #666;
    font-family: "Vazir";
    margin-bottom: 10px;
}

.fa.fa-stop {
    font-size: 7px;
    margin-left: 4px;
    color: #012b81 !important;
}

.flex-title a {
    color: #3b3b3b;
    font: 20px RTNassim;
    font-size: 22px;
    line-height: 2rem;
    font-weight: bold;
}

.flex-excerpt p {
    color: #888;
    font-size: 13px;
    font-family: "Vazir";
    line-height: 1.5em;
}

p {
    font-weight: normal;
}

.slider-img {
    position: relative;
}
.right-date {
    width: auto;
    height: 20px;
    position: absolute;
    right: 8px;
    top: 8px;
    background: #545050b3;
    text-align: center;
    color: #fff;
    font: 9px / 20px Vazir;
    padding: 0px 5px 0px 5px;
    border-radius: 2px;
}

.box-1 {
    margin-bottom: 20px;
}

.box-header h3 {
    background: transparent;
    height: 29px;
    line-height: 26px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    text-align: right;
}

.box-header b {
    font-size: 1.1rem;
    font-weight: bold;
    padding: 0 0 0 0;
    padding-left: 0px;
    padding-left: 0px;
    line-height: 1.6;
    margin: 0;
    color: #012b81;
    background: #fff;
    position: relative;
    z-index: 1;
    display: inline-block;
    padding-left: 10px;
    line-height: 26px;
    font-size: 18px;
    font-family: "RTNassim";
}

.box-header h3::after {
    display: block;
    content: "";
    position: absolute;
    height: 1px;
    background: #012b81;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

.text-muted {
    width: 100%;
    color: #777;
    font-family: Vazir;
    font-size: 10px;
    line-height: 15px;
    display: block;
    margin-top: 10px;
}

.post-title2 a {
    color: #3b3b3b;
    text-decoration: none;
    font-family: RTNassim;
    transition: all 0.6s ease 0s;
}

.mv,
.post-item-excerpt {
    position: relative;
}
.boxe-1-left-date {
    position: absolute;
    height: 20px;
    top: 0;
    right: 8px;
    background: #545050b3;
    text-align: center;
    color: #fff;
    font: 9px / 20px Vazir;
    padding: 0px 5px 0px 5px;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mv:hover .boxe-1-left-date,
.post-item-excerpt:hover .boxe-1-left-date {
    opacity: 1;
}

.separator {
    border-bottom: 1px solid #e8e8e8;
    margin: 20px 0 20px 0;
    overflow: hidden;
    display: block;
    width: 100%;
    position: relative;
}

.cat-tabs-header {
    background: #012b81 !important;
    height: 1.5px;
    position: relative;
    margin-top: 23px;
    margin-bottom: 25px;
}

.cat-tabs-header li {
    float: right;
    line-height: 30px;
    padding: 0px 12px 0;
    font-size: 15px;
    margin-top: -15px;
    font-family: "RTNassim";
    text-align: center;
    border-left: 4px solid #fff;
    background: #fbfbfb;
    color: #012b81 !important;
    transition: all 0.3s ease;
}

.cat-tabs-header li {
    font: 16px / 30px "RTNassim";
    cursor: pointer;
}

.cat-tabs-header li.active {
    background: #012b81 !important;
    color: #fff !important;
}

.post-item-excerpt {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.post-excerpt-summary p {
    margin: 0;
    color: #666;
    letter-spacing: -0.3px;
    font-size: 13px;
    font-family: Vazir;
    line-height: 1.5em;
    float: right;
}

.scrollable-news {
    margin-top: 15px;
    background: #f5f5f5;
}
.scrollable-news h3 {
    width: 100%;
    margin-bottom: 10px;
}

.scrollable-news h3 a {
    background-color: #012b81;
    color: #fff;
    font-size: 18px;
    font-family: "RTNassim";
    padding: 3px 10px;
    width: fit-content;
}

.scrollable-news h3:hover a {
    color: #fff !important;
}
.scrollable-news ul {
    max-height: 400px;
    overflow-y: scroll;
}
.scrollable-news ul li a {
    font-size: 13px;
    font-family: "Vazir";
    padding: 0 0 7px 5px;
    margin-bottom: 2px;
    display: block;
}

.first-news li {
    padding: 5px 0;
    border-bottom: 1px solid #e8e8e8;
}

.first-news li .fa-stop {
    font-size: 10px;
    color: #37474f !important;
}
.first-news a {
    font-family: "Vazir";
    font-size: 13px;
    padding: 0 0 5px 5px;
    color: #37474f;
}

.component-7 {
    font-size: 13px;
    color: #37474f;
    font-family: Vazir;
}

.component-7 p,
.component-8 p {
    font-family: RTNassim;
    color: #1c1c1c;
}
.component-7 li {
    border-bottom: 1px solid #e8e8e8;
}

.image-slider li a {
    position: relative;
}

.image-slider li a .title-box {
    top: 0;
    left: 0;
    height: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
}

.image-slider li a .title-box p {
    font-weight: bold;
}

#media-section a {
    font-family: RTNassim;
    font-size: 22px;
    color: #fff !important;
    transition: all 0.3s ease;
}
#media-section a:hover {
    color: #fff !important;
}

#media-section .videos {
    overflow-y: scroll;
}

#media-section .videos li {
    border-bottom: 2px solid #2b2832;
    box-shadow: 0 1px 0 #1b1924;
    transition: all 0.3s ease 0s;
}

#media-section .videos li:hover {
    background-color: #1f1f26;
    transition: all 0.3s ease;
}

#media-section .videos li a p {
    transition: all 0.3s ease;
}

#media-section .videos li:hover a p {
    color: #fff !important;
}

.video-image {
    position: relative;
}

.video-image i {
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: 3.5rem;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
}

#media-section .videos li:hover i {
    color: #fff;
}

#footer {
    font-family: RTNassim;
}
#footer .item a p {
    color: #929292 !important;
    transition: all 0.3s ease;
    font-size: 15px;
}

#footer .item:hover a p {
    color: #fff !important;
}

#footer .tag a {
    height: 24px;
    float: right;
    line-height: 24px;
    position: relative;
    margin-left: 20px;
    padding: 0 10px 0 12px;
    background: #2c2b38;
    color: #a5a4a4;
    text-decoration: none;
    border-bottom-right-radius: 2px;
    border-top-right-radius: 2px;
    font-size: 11px !important;
    margin-top: 5px;
    transition: all 0.6s ease;
    font-family: Vazir;
    font-weight: 500;
}

#footer .tag a:hover {
    background: #012b81 !important;
    color: #fff !important;
}
#footer .tag a::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    float: left;
    width: 4px;
    height: 4px;
    border-radius: 2px;
    background: #fff;
    box-shadow: -1px -1px 2px #004977;
}

#footer .tag a::before {
    content: "";
    float: left;
    position: absolute;
    top: 0;
    left: -12px;
    width: 0;
    height: 0;
    border-color: transparent #2c2b38 transparent transparent;
    border-style: solid;
    border-width: 12px 12px 12px 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.6s ease;
}

#footer .tag a:hover::before {
    border-color: transparent #012b81 transparent transparent;
}

#end-footer a {
    font-family: RTNassim;
    color: #a3a2a2 !important;
    transition: all 0.3s ease;
}

#end-footer a:hover {
    color: #fff !important;
}

.pagination ul li a {
    display: inline-block;
    height: 35px;
    line-height: 37px;
    width: auto;
    padding: 0px 13px 0px 13px;
    margin: 0 2px;
    border-radius: 10%;
    color: #999;
    font-family: Parastoo;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
    background: #eee;
    transition: all 0.6s ease;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.pagination a:hover {
    background: #ddd;
    transition: all 0.3s ease;
    color: #999 !important;
}

.pagination .current {
    color: #fff;
    background: #004adf;
    transition: all 0.6s ease;
}

.vazir {
    font-family: Vazir;
}

.nassim {
    font-family: RTNassim;
}

.parastoo {
    font-family: parastoo;
}

.num {
    font-family: num;
}
.ninfo small {
    font-family: num;
    font-size: 12px !important;
    margin: 0 8px;
}

.copy-right {
    font-family: Vazir;
}

#top {
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #fff;
    position: fixed;
    bottom: 8px;
    right: 8px;
    background-color: #012b81 !important;
    width: 38px;
    height: 38px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: 3px;
}

#top.show {
    opacity: 1;
}

.ticker-box {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.16), 0 1px 2px 0 rgba(0, 0, 0, 0.12);
    margin-bottom: 8px;
}

.desktop-menu a {
    display: block;
    color: #fff;
    padding: 3px 4px 4px 8px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    transition: all 0.3s ease;
}
.desktop-menu li:hover a,
.desktop-menu li.active a {
    background-color: #fff;
    color: #333;
}

.desktop-menu ul {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}
.desktop-menu ul::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.desktop-menu ul::-webkit-scrollbar-thumb {
    /* background: rgba(100, 100, 100, 0); */
    /* مخفی */
    border-radius: 8px;
    transition: background 0.3s ease;
}

.desktop-menu ul:hover::-webkit-scrollbar-thumb {
    background: #012b80;
    /* نیمه نمایان */
}
.desktop-menu .time {
    white-space: nowrap;
}

.mobile-menu-wrapper {
    position: fixed;
    width: 100%;
    top: 0;
    right: -100%;
    height: 100dvh;
    z-index: 999;
    transition: right 0.5s ease-in;
}
.mobile-menu {
    background-color: #012b81;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
}

.mobile-menu-wrapper.active {
    right: 0;
}

.mobile-menu .logo-box,
.mobile-menu ul li {
    border-bottom: 1px solid #012b81;
    box-shadow: 0 1px 0 #212132;
}

#mobile-category-content-9 {
    height: 0;
    overflow: hidden;
}

#show-password-btn {
    color: #555;
}
#show-password-btn.active {
    color: #004adf;
}

#login-message {
    animation: shake 0.2s cubic-bezier(0.19, 0.49, 0.38, 0.79) both;
    animation-iteration-count: 3;
}

@keyframes shake {
    25% {
        transform: translateX(20px);
    }
    75% {
        transform: translateX(-20px);
    }
    100% {
        transform: translateX(0);
    }
}

.khat-khabar {
    height: 24px;
    overflow: hidden;
    width: 100%;
    position: relative;
    align-items: center;
}

.ticker-box-mobile {
    overflow: hidden;
    height: 24px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.ticker-box-mobile ul {
    width: max-content;
    right: 0;
    top: -2px;
    position: absolute;
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.ticker-box-mobile ul li {
    padding: 0 1.5rem;
}
