@charset "utf-8";
@font-face {
    font-family: IRANYekan;
    src: url("./../fonts/IRANYekanX-Medium.woff");
    font-weight: normal;
    font-style: normal;
}
:root{
    --main-color: #e07f51;
    --second-color: #f7a365;
}

.btn-danger {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--main-color);
    --bs-btn-border-color: var(--main-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #bd5c03;
    --bs-btn-hover-border-color: #bd5c03;
    --bs-btn-focus-shadow-rgb: 225, 83, 97;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #bd5c03;
    --bs-btn-active-border-color: #bd5c03;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #bd5c03;
    --bs-btn-disabled-border-color: #bd5c03;
}
.text-danger {
    color:var(--main-color) !important;
}
.table-danger {
    --bs-table-bg: #ffd8a5;
}
.nav {
    --bs-nav-link-color: #e8dac2;
    --bs-nav-link-hover-color: var(--main-color);
}
.nav-tabs {
    --bs-nav-tabs-border-color: var(--main-color);
    --bs-nav-tabs-link-hover-border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color);
    --bs-nav-tabs-link-active-color: black;
    /*--bs-nav-tabs-link-active-color: var(--bs-emphasis-color);*/
    --bs-nav-tabs-link-active-bg: var(--main-color);
    /*--bs-nav-tabs-link-active-bg: var(--bs-body-bg);*/
    --bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg);
    border-bottom: var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color);
}
.pagination {
    --bs-pagination-color: #ffd8a5;
    --bs-pagination-active-color: #80410a;
    --bs-pagination-active-bg: #ffd8a5;
    --bs-pagination-active-border-color: #c1a189;
}
.bg-danger {
    background-color: var(--main-color) !important;
}
.lighter_bg{
    background-color: #454d55;
}
.text-danger{
    --bs-danger-rgb: 240,120,10;
}
.dropdown-menu{
    --bs-dropdown-bg: #565e64;
}
.logo img{
    max-height: 100%;
}
.dropdown-toggle::after {
    left: 15px;
    content: "";
    border-top: .5em solid;
    border-left: .5em solid #e3131300;
    border-bottom: 0;
    border-right: .5em solid #e30b0b00;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.right_menu {
    height: 100%;
    background: #686767;
    line-height: 45px;
    min-height: 400px;
}

* {
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-style: normal;
    direction: rtl;
    font-family: "IRANYekan", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s
}

img {
    max-width: 100%;
    object-fit: cover;
}

* {
    color: white;
}

.bordered_btn {
    padding: 10px 30px;
    border: 2px solid;
    color: white;
    border-radius: 30px;
}

header .bordered_btn {
    float: left;
}

.main-content {
    padding-top: 79px;
}

#home_top_banner {
    position: relative;
    background-position: center;
    height: calc(100vh - 100px);
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    background-repeat: no-repeat;
    background-size: contain;
    padding-bottom: 15px;
}

#home_top_banner .text_contents {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 50px;
    position: relative;
    font-size: 25px;
    width: 80%;
    margin: 0 auto;
}

#home_top_banner .text_contents img {
    width: 75%;
}

.resana_btn.red_btn {
    background-color: var(--swiper-pagination-color);
    border-color: var(--swiper-pagination-color);
    line-height: 40px;
    padding: 0 30px;
}

.cat_banner {
    height: 85vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: end;
    padding-left: 25%;
}

.cat_banner > div {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 50px;
}

.cat_banner-title {
    font-size: 28px;
}

.cat_slides {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: -20vh auto 5px auto;
    max-height: 50vh;
}

.home-cat-slider {
    display: block;
}

.game_slides {
    display: flex;
    justify-content: space-between;
    width: 95%;
    margin: 0 auto;
    /*height: 50vh;*/
}

.cat_slides > div {
    padding: 5px;
}

.home_cat_banner_box {
    /*height: 85vh;*/
    margin-bottom: 21vh;
}
.archive_page {
    position: relative;
}

.archive_page .archive_header {
    height: min(80vh,600px);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.main_section {
    margin-top: 77px;
    position: relative;
}

#tarot_page .archive_header {
    background-image: url("../img/tarot_banner_flipped.jpg");
}

#birth_month_page .archive_header {
    background-image: url("../img/zodiac_banner_flipped.jpg");
}

#card_game_page .archive_header {
    background-image: url("../img/banner_poker_flipped.jpg");
}

.archive_page .archive_title {
    display: flex;
    flex-direction: column;
    padding: 0 50px;
    justify-content: center;
    position: relative;
    height: 100%;
    background-image: linear-gradient(to left, #462201e0, #fff0 55%);
}

.archive_content {
    padding: 0 25px;
}
#archive-page .cat_title{
    /*background-image: linear-gradient(to right, black, var(--main-color) , black);*/
    top: 50%;
    transform: translateY(-50%);
    color: var(--main-color);
}
.all_movies_content {
    display: flex;
    width: 80%;
    margin: 0 auto;
}

.all_movies_content .movie_item {
    position: relative;
    overflow: hidden;
    width: 250px;
}

#simple_home_slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

input[type="tel"], input[type="text"], input[type="password"], input[type="email"] {
    color: black;
}

.btn-rounded {
    border-radius: 20px;
}

a {
    color: white;
}

footer .container {
    position: relative;
    z-index: 2;
}

footer a {
    color: #c1c1c1;
}

.btn.btn-block {
    display: block;
    width: 100%;
}

#plan_box, #custom_banner {
    line-height: 50px;
}

#FAQ {
    line-height: 40px;
}

#plan_box, #custom_banner, #link_box, #FAQ {
    position: relative;
    margin-top: 80px;
    /*padding-top: 70px;*/
    text-align: justify;
}

.movie-poster, .cat-poster {
    position: relative;
    display: block;
}
.movie-poster img{
    border-radius: 10px 10px 0 0;
}

.cat-info-poster, .movie-info-poster, .cat-poster-hover {
    position: absolute;
    bottom: 0;
    height: 100%;
    background: #68020230;
    text-align: center;
    opacity: 0;
    width: 100%;
}

.movie-info-poster {
    font-size: 14px;
    align-content: center;
    background: rgba(247, 163, 101, 0.86);
    border-radius: 5px;
}
#user-dashboard .movie-info-poster{
    align-content: center;
}

.cat-info-poster {
    align-content: center;
    font-size: 16px;
}

.cat-poster-hover {
    font-size: 34px;
}

.movie-poster:hover .movie-info-poster, .cat-poster:hover .cat-info-poster, .game-poster:hover .cat-poster-hover {
    opacity: 1;
}
.post_card_title{
    background-color: var(--second-color);
    border-radius: 0 0 10px 10px;
    height: 45px;
}
.movie-poster:hover .post_card_title{
    color: var(--second-color);
}

.sub-cat-row {
    height: 300px;
}

* {
    transition: all 0.5s;
}
select{
    cursor: pointer;
}

.single-header {
    height: calc(100vh - 100px);
}

#single-header-bg-lg {
    height: 100%;
    position: absolute;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.imdb-box {
    background: #6b0606;
}

.age-box {
    background: #b15d03;
}

.cat-poster-hover {
    top: 0;
    background: #68020230;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-content: center;
    display: grid;
    font-size: 34px;
}

.cat-poster image {
    height: 100%;
}
#user-dashboard nav{
    top:80px;
}
.chart-guide {
    font-size: 14px;
}
.card * {
    color: inherit;
}
.form-control {
    color: white !important;
}
.dynamic_bg{
    position: relative;
}
.dynamic_bg *:not(image), .dynamic_bg *:not(picture){
    z-index: 2;
}
.dynamic_bg picture,
.dynamic_bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;   /* مثل background-size: cover */
    z-index: 0;
}
.panel-content{
    /*box-shadow: 0 1px 10px #4d4b4b;
    background: #171717;*/
}
.game-poster {
    position: relative;
    display: block;
}
.offcanvas{
    min-height: 350px;
}
.fav-plus {
    cursor: pointer;
}
/********* User Panel style *************/
.info-box {
    box-shadow: 0 0 1px rgba(0,0,0,.125),0 1px 3px rgba(0,0,0,.2);
    border-radius: .25rem;
    background-color: #343a40;
    color: #fff;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 1rem;
    min-height: 80px;
    padding: .5rem;
    position: relative;
    width: 100%;
}
.info-box .info-box-icon {
    border-radius: .25rem;
    -ms-flex-align: center;
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    font-size: 1.875rem;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    width: 70px;
}
.info-box .info-box-content {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    line-height: 1.8;
    -ms-flex: 1;
    flex: 1;
    padding: 0 10px;
    overflow: hidden;
}
.info-box .info-box-text, .info-box .progress-description {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.info-box .info-box-number {
    display: block;
    margin-top: .25rem;
    font-weight: 700;
}
.info-box-icon.green{
    background-color: #b1d7c7;
}
.info-box-icon.green i{
    color: #64975d;
}
.info-box-icon.blue{
    background-color: #67b4f3;
}
.info-box-icon.blue i{
    color: #004281;
}
.info-box-icon.gold{
    background-color: #fae995;
}
.info-box-icon.gold i{
    color: #b59208;
}
.chart_info ul{
    padding: 0;
}
.chart_info li{
    border-bottom: 1px solid #5b5b5b;
}
.chart_info_color{
    width: 10px;
    height: 10px;
    display: inline-block;
    margin-left: 5px;
}
.nav-tabs .nav-link.active * {
    color: var(--bs-nav-tabs-link-active-color);
}
.nav-tabs .nav-link:not(.active):hover * {
    color: var(--bs-nav-link-hover-color);
}

#live-presentation-container{
    overflow: hidden;
    height: 100vh;
}
#live-presentation-container .live-title {
    height: 65px;
    text-align: center;
    margin: 0;
    line-height: 55px;
}
#live-presentation-container > .row{
    height: calc(100% - 65px);
}
#live-messages-box {
    flex: 1;               /* پر کردن ارتفاع والد */
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    position: relative;
}

/* ۶) بخش پیام‌ها */
#live-messages-box .messages {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
#live-messages-box .messages li{
    display: flex;
}
#live-messages-box .messages li *{
    color: black;
}
/* ۷) باکس ارسال پیام */
#live-messages-box .send-message-box {
    bottom: 30px;
    padding: 15px 0;
    border-top: 1px solid #ddd;
    z-index: 10;
}
/*************** End of User Panel style ***************/
.wheel_pin{
    z-index: 5;
    left: 50%;
    transform: translateX(-50%) rotateZ(135deg);
    top: -10px;
}


@media screen and (max-width: 900px) {
    #home_top_banner{
        background-size: cover;
        background-position: center;
    }
}
@media screen and (max-width: 1000px) {
    .archive_page .archive_header {
        background-size: contain;
        background-position: top;
        height: 400px;
    }
}
@media screen and (max-width: 900px) {
    .cat_banner {
        background-size: cover;
        height: 50vh;
        padding-left: 10%;
        padding-right: 30px;
    }

    .cat_slides {
        margin: -15vh auto 5px auto;
    }
    .home_cat_banner_box {
        margin-bottom: 5vh;
    }
}

@media screen and (max-width: 750px) {
    #home_top_banner{
        height: calc(100vh - 200px);
    }
    .sub-cat-row {
        height: auto;
    }

    .archive_page .archive_header {
        height: 450px;
    }
}

@media screen and (max-width: 500px) {
    .archive_page .archive_header {
        height: 215px;
    }
}

@media (min-width: 2000px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 80%;
    }
}
