﻿* {
    box-sizing: border-box
}
.location0-tag{
    direction:rtl;
    /* text-align:right; */
    align-items:start;
    /* margin-top:-40; */
    /* font-size:0.75rem; */
}
.location-filter {
}
hr{
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #E91E63, transparent);
    opacity: 1;
    margin: 20px 0px;
    transition: opacity 2s;
}
sup{
   color: #ffffff;
    font-weight: 500;
    background-color: #E91E63;
    padding: 5px;
  
    font-size:unset
  
}
code{
   color: #d7d7d7;
    font-weight: 500;
    padding: 5px;
    border-left: 1px dashed #009688;
    font-family:danamedium;
    font-style:italic;
    
}

em{
    color: #d7d7d7;
    font-weight: 500;
    padding: 5px;
    font-family:danamedium;
    background-color: #607D8B;
    border:1px dashed #696969;
}

.accordion-item{
    border:dashed 1px #151515 !important;
    font-family:danamedium;
    background-color:#212130;
    max-width:300px;
    font-size:0.75rem;
    font-kerning:auto;
}
.name-in-head {/* white-space: nowrap; */       /* prevent wrapping *//* overflow: hidden; */          /* hide overflowed text *//* text-overflow: ellipsis; */   /* show ... *//* display: inline-block; */     /* needed for width to take effect *//* vertical-align: middle; */    /* optional: align nicely with text/icons */}

.location-search:valid {
    border: 2px solid green!important;
    outline: none;
    background-image: linear-gradient(45deg,transparent,transparent 50%,#fff 50%,#efefef 100%);
    background-position: top right;
    background-size: .5em .5em;
    background-repeat: no-repeat;
    border: 1px solid #fff!important;
    font-family: danamedium;
    font-size: 11
}


.location-option {
    border: 2px solid green!important;
    outline: none;
    background-image: linear-gradient(45deg,transparent,transparent 50%,#fff 50%,#efefef 100%);
    background-position: top right;
    background-size: .5em .5em;
    background-repeat: no-repeat;
    border: 1px solid #fff!important;
    font-family: danamedium;
    font-size: 11;
    color: #2196f3;
    margin-top: 5
}

.calendar-day {
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 5px;
    padding: 10px;
    height: 120px;
    overflow-y: auto
}

.event-time {
}

.control-button {
    margin-left: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(45deg, #2196F3, #0e2e5f);
    border:none;
    border-radius: 5px;
    cursor: pointer;
    transition: all .3s ease-in-out;
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
    outline: none;
        border-left: 2px solid #FFC107;
    border-right: 2px solid #FFC107;
    margin-top:1rem;
}

.control-button svg {
    margin-right: 8px;
    width: 20px;
    height: 20px;
    fill: white
}

.control-button:hover {
    /* transform: scale(1.05); */
    box-shadow: 0 12px 30px rgba(0,0,0,.3);
    background: linear-gradient(45deg, #673AB7, #3F51B5);
}

.control-button:active {
    transform: scale(.98);
    box-shadow: 0 6px 15px rgba(0,0,0,.3)
}

.control-button[disabled] {
    background: #b0b0b0;
    cursor: not-allowed;
    box-shadow: none
}

.event-box {
    border-bottom: 1px solid #2196f3
}

.calendar-day:hover {
    background-color: #f8f9fa
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    gap: 10px
}

.event-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    margin: 5px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,.1)
}

.event-card h5 {
    margin-bottom: 10px
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px
}

.text-center {
    text-align: center
}

.cgrid {
    background-color: #01b9ff;
    width: 50%;
    font-size: .7rem;
    padding: 4px;
    border-radius: 4px;
    color: #fff
}

#liveEventsContainer {
    padding: 5px
}

#vodContainer {
    direction: rtl;
    padding: 5px
}

.see-more-link {
    background-color: #0da0ce;
    color: #fff;
    line-height: 32px;
    border-radius: 8px;
    text-decoration: none;
    max-height: 32px
}

.see-more-link:visited {
    background-color: #15aaea;
    color: #fff;
    line-height: 32px;
    border-radius: 8px;
    text-decoration: none
}

.see-more-link:hover {
    background-color: #0d709b;
    color: #fff;
    line-height: 32px;
    border-radius: 8px;
    text-decoration: none
}

.gen {
    background-color: #22253c;
    padding: 4px;
    display: inline-block;
    margin: 2px;
    color: #fff;
    border-radius: 8px;
    font-size: .8rem;
    max-height: 30px;
    line-height: 25px;
    /* min-width: 60px; */
}

.ribbonwarp {
    background-color: #E91E63;
    position: absolute;
    padding: .3rem;
    color: #fff;
    border-bottom-left-radius: 15px;
    /* border-top-left-radius: 15px; */
    top: 2;
    font-size: .75rem;
}

.limit {
    background-color: #87191c;
    padding: 5px;
    display: inline-block;
    color: #fff;
    position: relative;
    border-radius: 8px;
    font-size: .8rem;
    max-height: 30px;
    line-height: 21px;
}

.limit::after {
    content: "+";
    margin-right: 4px;
    color: #fff
}

@keyframes shake {
    0% {
        opacity: 0.6
    }

    25% {
        opacity: 0.6
    }

    50% {
        opacity: 0.6
    }

    75% {
        opacity: 0.6
    }

    100% {
        opacity: 0.6
    }
}

ol {
    counter-reset: list-counter;
    background-color: #1a1a2e;
}

ol li {
    counter-increment: list-counter
}

ol li::marker {
    color: #b1b1b1;
}

.shake {
    animation: shake .5s
}

.content-main-slider {
    width: 70%;
    margin: 0 auto
}

.content-ItemsContiner {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 10px;
    padding: 10px;
    width: 70%;
    margin: 0 auto;
    background-color
}

.content-ItemsContiner-vod {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 10px;
    padding: 10px;
    width: 70%;
    margin: 0 auto;
    direction: rtl
}

.content-ItemsContiner-ser {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 10px;
    padding: 10px;
    width: 70%;
    margin: 0 auto;
    direction: rtl
}

.content-ItemsContiner-Cover {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    direction: rtl;
    text-align:center;
}

.content-ItemsContiner-Cover-vod {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.1)
}

.content-ItemsContiner-Cover-ser {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.1)
}

.content-ItemsContiner-item img {
    width: 100%;
    height: auto;
    border-radius: 8px
}

.header-rate {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255,255,255,.8);
    padding: 5px 10px;
    border-radius: 5px
}

.header-left {
      white-space: nowrap;
      position: absolute;
      bottom: 5px;
      left: 0;
      color: #c9c9c9;
      text-decoration: none;
      background-color: rgb(13 61 83);
      padding: 5px 10px;
      /* border-radius: 5px; */
      /* max-height: 50px; */
      overflow: hidden;
      /* text-overflow: ellipsis; */
      /* width: 100%; */
}

#boxw {
    direction: rtl;
    width: 70%;
    margin: 24px auto
}

@media (max-width: 768px) {
    .content-ItemsContiner {
        grid-template-columns:repeat(6,1fr);
        width: 70%;
        margin: 0 auto
    }

    .content-ItemsContiner-vod {
        grid-template-columns: repeat(6,1fr);
        width: 70%;
        margin: 0 auto
    }

    .content-ItemsContiner-ses {
        grid-template-columns: repeat(6,1fr);
        width: 70%;
        margin: 0 auto
    }

    .content-main-slider {
        width: 70%;
        margin: 0 auto
    }
}

@media (max-width: 480px) {
    .content-ItemsContiner {
        grid-template-columns:repeat(3,1fr);
        width: 95%;
        margin: 0 auto;
        text-align: center
    }
    .location0-tag{
    margin-top:10;
}

    #boxw {
        direction: rtl;
        width: 90%;
        margin: 10px auto;
        text-align: right
    }

    .content-ItemsContiner-vod {
        grid-template-columns: repeat(3,1fr);
        width: 95%;
        margin: 0 auto
    }

    .content-itemscontiner-ser {
        grid-template-columns: repeat(3,1fr);
        width: 95%;
        margin: 0 auto
    }

    .content-main-slider {
        width: 100%;
        margin: 0 auto
    }

    .outbuy {
        display: none
    }

    body {
        font-size: .9em
    }

    .header-left {
        font-size: .8em
    }

    .stati {
        font-size: 1.2em
    }
}

.stati {
    font-size: 1.2em;
    margin-bottom: 15px;
    display:none;
}

.rgul {
    justify-content: space-between;
    margin-bottom: 3px;
    /* background-color: #35353c; */
    padding: 4px;
    transition: box-shadow .3s ease , transform .3s ease;
    color: #aeaeae;
    font-size: .9rem;
    font-weight: 100
}

.rgul:hover,.rgul:active {
    transform: scale(1)
}

.numberx,.number2,.nmnew {
    font-weight: bold
}

.contributors {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 61px;
    background-color: #22253c;
    margin-top: 20px
}

.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px
}

.logos-container img {
    max-width: 91px;
    height: auto;
    transition: transform .3s ease
}

.logos-container img:hover {
    transform: scale(1.1)
}

.outbuy {
    background-color: red;
    position: absolute;
    left: 10px;
    bottom: 10px;
    width: 100px;
    color: #fff;
    border-radius: 8px
}

.footer {
    background-color: #1a1a2e;
    color: #fff;
    padding: 20px 0;
    position: relative;
    overflow: hidden
}

.contain {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
}

.col {
    flex: 1;
    min-width: 200px;
    margin: 10px
}

.col h1 {
    font-size: 1.5em;
    margin-bottom: 15px
}

.col ul {
    list-style: none;
    padding: 0
}

.col ul li {
    margin: 10px 0
}

.col ul li a {
    color: #fff;
    text-decoration: none;
    transition: color .3s ease , transform .3s ease
}

.col ul li a:hover {
    color: #fc0;
    transform: translateY(-3px)
}

.clearfix::after {
    content: "";
    clear: both;
    display: table
}

body {
    font-family: 'DanaMedium',sans-serif
}

.filter-menu {
    margin: 0 auto;
    width: 70%;
    justify-content: flex-start;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f8f8f8;
    border-radius: 8px;
    text-align: right;
    direction: rtl
}

/* Container */
.filter-menu {
    display: flex;
    flex-wrap: nowrap; /* Keep all children in one line */
    overflow-x: auto;  /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
    scrollbar-width: none; /* Firefox: hide scrollbar */
    -ms-overflow-style: none;  /* IE 10+ hide scrollbar */
    background-color: #1a1a2e;
    padding: 8px 12px; /* User-friendly horizontal padding */
    width: 70%;
    margin: 0 auto;
    max-height: 48px;
    border-radius: 8px;
    box-sizing: border-box;
    /* border-left: 2px solid #FFC107; */
    /* border-right: 2px solid #FFC107; */
    max-width:1080px;
}

/* Hide scrollbar for Webkit browsers */
.filter-menu::-webkit-scrollbar {
    display: none;
}

/* Filter items */
.filter-menu .filter-item {
    flex: 0 0 auto; /* Do not shrink, do not wrap */
    margin-right: 3px; /* spacing between items */
    padding: 6px 12px;
    background-color: #202238;
    color: #c7c7c7;
    border-radius: 6px;
    white-space: nowrap; /* Prevent text from wrapping */
    cursor: pointer;
    font-family: danamedium;
    font-size: .75rem;
    border: 1px dashed #0d3d53;
    transition: background 0.3s, transform 0.2s;
}

/* Hover effect */
.filter-menu .filter-item:hover {
    background-color: #E91E63;
    transform: translateY(px);
}

/* Location filter input */
.filter-menu .location-filter {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.filter-menu .location-search {
    padding: 5px 10px;
    border-radius: 6px;
    border: none;
    outline: none;
    font-family: iranyekan, IRANSans, sans-serif;
}

/* Dropdown */
.filter-menu .location-dropdown {
    position: absolute;
    background-color: #fff;
    color: #333;
    margin-top: 4px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
}

.filter-menu .location-option {
    padding: 6px 12px;
    cursor: pointer;
    white-space: nowrap;
}

.filter-menu .location-option:hover {
    background-color: #f0f0f0;
}

display: inline-flex; margin: 5px; padding: 1px 7px; background-color: #294665; color: #fff; border-radius: 4px; cursor: pointer; transition: background-color .3s .filter-item:hover {
    background-color: #0056b3
}
/* Container */
.contain {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    font-family: iranyekan, IRANSans, sans-serif;
    direction: rtl; /* Persian RTL */
}

/* Column */
.contain .col {
    flex: 1 1 100%; /* Full width on small screens, adjust as needed */
    margin-bottom: 20px;
}

/* Column heading */
.contain .col h1 {
    font-size: 1.6rem;
    color: #073d83;
    margin-bottom: 12px;
}

/* Inline menu list */
.contain .col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* inline items */
    flex-wrap: wrap;
    gap: 12px; /* spacing between items */
}

/* List items */
.contain .col ul li {
    display: inline-block;
}

/* Links */
.contain .col ul li a {
    text-decoration: none;
    color: #fff;
    background-color: #455A64; /* modern dark button style */
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Hover effect */
.contain .col ul li a:hover {
    background-color: #1c313a;
    transform: translateY(-2px);
    color: #ffd700; /* highlight color on hover */
}

/* Icon styling inside links */
.contain .col ul li a i {
    color: #ffd700; /* icon color */
}


@media (max-width: 768px) {
    .filter-menu {
        flex-direction:row
    }

    .filter-menu {
        margin: 0 auto;
        width: 90%;
        /* background-color: #252525; */
        max-height: 48px;
        border-left: 2px solid #21243b;
        border-right: 2px solid #21233a;
    }

    .calendar {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 10px
    }
}

@media (min-width: 769px) {
    .filter-item {
        flex:1
    }
}
span.filter-item[data-gne="جشنواره"] {
  display: none;
}
