
@import url('/Content/css/navbar.css');


@import '/Content/new/css/header.css';

@import '/Content/new/css/tools.css';
@import url('/Content/font/fontiran.css');


body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    opacity: 1;
    background: #e2e7eb;
    background-size: 18px 18px;
    background-position: 0 0,9px 9px;
    font-family: 'Vazir' !important;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

.Background-Header-Foter {
    background: #1b1d3e;
}

.textColor {
    color: #fdb807;
}

.nav-link {
    color: #fdb807;
}



a[id="fr-logo"] {
    display: none !important;
}

.bg-def {
    background-image: linear-gradient(135deg, rgba(159, 159, 159, 0.46) 0%, rgba(159, 159, 159, 0.46) 14.286%, rgba(165, 165, 165, 0.46) 14.286%, rgba(165, 165, 165, 0.46) 28.572%, rgba(171, 171, 171, 0.46) 28.572%, rgba(171, 171, 171, 0.46) 42.858%, rgba(178, 178, 178, 0.46) 42.858%, rgba(178, 178, 178, 0.46) 57.144%, rgba(184, 184, 184, 0.46) 57.144%, rgba(184, 184, 184, 0.46) 71.43%, rgba(190, 190, 190, 0.46) 71.43%, rgba(190, 190, 190, 0.46) 85.716%, rgba(196, 196, 196, 0.46) 85.716%, rgba(196, 196, 196, 0.46) 100.002%), linear-gradient(45deg, rgb(252, 252, 252) 0%, rgb(252, 252, 252) 14.286%, rgb(246, 246, 246) 14.286%, rgb(246, 246, 246) 28.572%, rgb(241, 241, 241) 28.572%, rgb(241, 241, 241) 42.858%, rgb(235, 235, 235) 42.858%, rgb(235, 235, 235) 57.144%, rgb(229, 229, 229) 57.144%, rgb(229, 229, 229) 71.43%, rgb(224, 224, 224) 71.43%, rgb(224, 224, 224) 85.716%, rgb(218, 218, 218) 85.716%, rgb(218, 218, 218) 100.002%) !important;
}

p[data-f-id="pbf"] {
    display: none !important;
}

a[href*="www.froala.com"] {
    display: none !important;
}

/*--------------------------------------------*/

.hover-worning:hover {
    color: rgba(var(--bs-warning-rgb), var(--bs-text-opacity)) !important;
}

.serch::placeholder {
    color: var(--text);
}


:root {
    --border-dynamic: rgba(0, 188, 212, .625);
    --bg-glow-border: linear-gradient(45deg, #46b9b5, #0097A7);
    --link-color: #495057;
    --tg-element-bg: rgba(77, 208, 225, .25);

    --headercolor: #1b1d3e;
    --text: rgb(33, 37, 41);
    --button-bg-menu: rgb(248, 249, 250);
    --button-text-menu: rgb(11, 30, 46);
    --background-color-body: rgb(11, 30, 46);
    --background-image-body: rgb(11, 30, 46);
    --bg-box-bugreport: rgb(63, 70, 87);
    --Glassbox-Background: rgba(255, 255, 255, 0.05);
    --Glassbox-backdrop-filter: blur(5px);
    --Glassbox-border: 1px solid rgba(255, 255, 255, 0.3);
    --Glassbox-color: white;
    --Coopration-modal-Content-color: rgb(76, 87, 110);
    --Coopration-modalside-color: #1976d2;
    --hosting-plan-background: rgb(63, 70, 87);
    --weblog-single-background-image: linear-gradient(312deg, rgba(0,0,0,0.75) 0%, rgba(32,42,99,1) 100%);
    --bg-body-panel-background-image: rgb(11, 30, 46);
    --bg-body-panel-background: radial-gradient(at 8.199% 52.361%, rgba(79,139,109,0.23) 0%, transparent 46%), radial-gradient(at 86.952% 30.39%, rgba(53,139,44,0.26) 0%, transparent 29%);
    --bg-navbar-Panel: #03346E;
    --bg-navbar-Panel-item: #134B70;
    --bg-boxbody-panel: rgb(46, 46, 46);
    --bg-boxbody-panel-image: radial-gradient(at 82.333% 47.639%, rgba(53,51,81,0.69) 0%, transparent 50%), radial-gradient(at 58% 57%, rgba(94,101,81,0.58) 0%, transparent 100%), radial-gradient(at 49.654% 33.47%, rgba(25,42,44,0.2) 0%, transparent 50%), radial-gradient(at 32% 46%, rgba(229,255,238,0.34) 0%, transparent 50%), radial-gradient(at 7.275% 93.84%, rgba(108,78,72,0.17) 0%, transparent 50%), radial-gradient(at 17% 42%, rgba(67,69,70,1) 0%, transparent 50%), radial-gradient(at 22.748% 79.055%, rgba(220,204,221,0.41) 0%, transparent 100%);
    --bg-box-panel: rgb(76, 87, 110);
    --bg-dark: rgb(63, 70, 87);
    --bg-dark-separator: rgb(76, 87, 110);
    --border: rgba(217, 235, 249, 1);
    --background-color-bloger-info: rgb(190, 198, 160,0.50);
    --backdrop-filterbloger-info: blur(5px) saturate(180%);
    --borderbloger-info: 1px solid rgba(248,255,0,0.25);
    --border-radiusbloger-info: 12px;
    --bg-light: #2b2f328f;
    --dark-blue: #1b1d3e;

    --border-dynamic: rgba(0, 188, 212, .625);
    --blue: #004cd8;
    --red: #c70132;
    --green: #00cc33;
    --yellow: #fbff00;
    --orange: #fa6400;
    --gray: #b6b6b6;
    --dark: #141414;
    --dark-blue: #121225;
    --dark-red: #810020;
    --dark-green: #00471e;
    --dark-yellow: #c5c200;
    --dark-orange: #c54f00;
    --dark-gray: #3b3b3b;
    --light: #d6d6d6;
    --light-blue: #42c3ff;
    --light-red: #f84242;
    --light-green: #5df19b;
    --light-yellow: #ecee61;
    --light-orange: #e76a2f;
    --light-gray: #c0c0c0;
    --tr-blue: #0059ff55;
    --tr-red: #f3003d55;
    --tr-green: #00ff6a55;
    --tr-yellow: #fbff0055;
    --tr-orange: #fa640055;
    --tr-gray: #b6b6b655;
    --tr-dark: #14141455;
    --tr-dark-blue: #0e0e3b;
    --tr-dark-red: #81002055;
    --tr-dark-green: #00471e55;
    --tr-dark-yellow: #c5c20055;
    --tr-dark-orange: #c54f0055;
    --tr-dark-gray: #3b3b3b55;
    --tr-light: #d6d6d655;
    --tr-light-blue: #42c3ff88;
    --tr-light-red: #f8424255;
    --tr-light-green: #5df19b55;
    --tr-light-yellow: #ecee6155;
    --tr-light-orange: #e76a2f55;
    --tr-light-gray: #c0c0c055;
    --mrg: 5vw;
    --hdr: 12vh;
    --ftr: 45vh;
    --min: 42vh;
    --fnt: calc(1vw + 2.5vh); /*calc(1vw + 2.5vh);*/
}

.modalbody {
    margin-top: 4rem;
    border: 5px double #999;
    border-radius: 20px;
    padding: 0 1vw;
    box-shadow: 0 0 10px 7px var(--dark);
    background-image: linear-gradient(135deg, rgba(27, 29, 62, 0.46) 0%, rgba(27, 29, 62, 0.46) 14.286%, rgba(31, 33, 67, 0.46) 14.286%, rgba(31, 33, 67, 0.46) 28.572%, rgba(35, 37, 72, 0.46) 28.572%, rgba(35, 37, 72, 0.46) 42.858%, rgba(40, 42, 77, 0.46) 42.858%, rgba(40, 42, 77, 0.46) 57.144%, rgba(44, 46, 82, 0.46) 57.144%, rgba(44, 46, 82, 0.46) 71.43%, rgba(48, 50, 87, 0.46) 71.43%, rgba(48, 50, 87, 0.46) 85.716%, rgba(52, 54, 92, 0.46) 85.716%, rgba(52, 54, 92, 0.46) 100.002%), linear-gradient(45deg, rgb(27, 29, 62) 0%, rgb(27, 29, 62) 14.286%, rgb(31, 33, 67) 14.286%, rgb(31, 33, 67) 28.572%, rgb(35, 37, 72) 28.572%, rgb(35, 37, 72) 42.858%, rgb(40, 42, 77) 42.858%, rgb(40, 42, 77) 57.144%, rgb(44, 46, 82) 57.144%, rgb(44, 46, 82) 71.43%, rgb(48, 50, 87) 71.43%, rgb(48, 50, 87) 85.716%, rgb(52, 54, 92) 85.716%, rgb(52, 54, 92) 100.002%);
}




.bg-boxbody-panel {
    margin-top: 10% !important;
    margin: 10vh var(--mrg);
    margin-bottom: 2vh;
    min-height: var(--min);
    padding: 3vh 1vw;
    /*backdrop-filter: blur(5px);*/
    background-image: linear-gradient(135deg, rgba(27, 29, 62, 0.46) 0%, rgba(27, 29, 62, 0.46) 14.286%, rgba(31, 33, 67, 0.46) 14.286%, rgba(31, 33, 67, 0.46) 28.572%, rgba(35, 37, 72, 0.46) 28.572%, rgba(35, 37, 72, 0.46) 42.858%, rgba(40, 42, 77, 0.46) 42.858%, rgba(40, 42, 77, 0.46) 57.144%, rgba(44, 46, 82, 0.46) 57.144%, rgba(44, 46, 82, 0.46) 71.43%, rgba(48, 50, 87, 0.46) 71.43%, rgba(48, 50, 87, 0.46) 85.716%, rgba(52, 54, 92, 0.46) 85.716%, rgba(52, 54, 92, 0.46) 100.002%), linear-gradient(45deg, rgb(27, 29, 62) 0%, rgb(27, 29, 62) 14.286%, rgb(31, 33, 67) 14.286%, rgb(31, 33, 67) 28.572%, rgb(35, 37, 72) 28.572%, rgb(35, 37, 72) 42.858%, rgb(40, 42, 77) 42.858%, rgb(40, 42, 77) 57.144%, rgb(44, 46, 82) 57.144%, rgb(44, 46, 82) 71.43%, rgb(48, 50, 87) 71.43%, rgb(48, 50, 87) 85.716%, rgb(52, 54, 92) 85.716%, rgb(52, 54, 92) 100.002%);
    width: auto;
    height: auto;
    text-align: center;
    padding: 1vh 3vw;
    border-radius: 20px;
    position: relative;
    padding: 1.5rem !important;
    padding-top: 2.5rem !important;
    color: rgb(253,184,7);
}

    .bg-boxbody-panel hr {
        height: 1px;
        width: 98%;
        background: linear-gradient(to right, rgba(253, 184, 7, 0), rgba(253, 184, 7, 0.3), rgba(253, 184, 7, 0.5), rgba(253, 184, 7, 0.5), rgba(253, 184, 7, 0));
        border: none;
        margin: 0;
        transition: background 0.4s ease;
    }

    .bg-boxbody-panel .bg-dark {
        background-color: var(--bg-box-panel);
    }

.btn {
    margin: 0.3rem;
}

.fr-box.fr-basic .fr-element {
    direction: rtl !important;
    text-align: right !important;
    font-size: 16px;
}

.border-box {
   
    border: 5px double  rgba(253, 184, 7);
    border-radius: 20px;
    width: 100%;
}



.vertical-hr {
    border: none;
    border-left: 5px double rgb(253,184,7);
    height: 100px; /* طول خط */
    width: 0;
    transform: rotate(0deg); /* چرخاندن خط */
    margin: 0;
    padding: 0;
    margin-right: 10%;
}


.bg-boxbody-panel dd {
    margin-inline-start: 15px !important;
    word-wrap: break-word; /* For legacy support */
    overflow-wrap: break-word; /* Standard property */
    white-space: normal; /* Ensures that text wraps normally */
}

.serch::placeholder {
    opacity: 0.8 !important;
    color: var(--text) !important;
}

.border-light {
    border-color: var(--border) !important;
}

.bg-dark {
    background-color: var(--bg-dark) !important;
}



hr {
    border: 1px solid var(--text);
    opacity: 1;
}

/*.text-white{
    color: var(--text) !important;
}
.text-light {
    color: var(--text) !important;
}
*/
.bg-panel-item a {
    color: rgb(253,184,7) !important;
}

.weblog-single-background-image {
    background-image: var(--weblog-single-background-image);
}

.bg-navpanel {
    background-image: linear-gradient(135deg, rgba(27, 29, 62, 0.46) 0%, rgba(27, 29, 62, 0.46) 14.286%, rgba(31, 33, 67, 0.46) 14.286%, rgba(31, 33, 67, 0.46) 28.572%, rgba(35, 37, 72, 0.46) 28.572%, rgba(35, 37, 72, 0.46) 42.858%, rgba(40, 42, 77, 0.46) 42.858%, rgba(40, 42, 77, 0.46) 57.144%, rgba(44, 46, 82, 0.46) 57.144%, rgba(44, 46, 82, 0.46) 71.43%, rgba(48, 50, 87, 0.46) 71.43%, rgba(48, 50, 87, 0.46) 85.716%, rgba(52, 54, 92, 0.46) 85.716%, rgba(52, 54, 92, 0.46) 100.002%), linear-gradient(45deg, rgb(27, 29, 62) 0%, rgb(27, 29, 62) 14.286%, rgb(31, 33, 67) 14.286%, rgb(31, 33, 67) 28.572%, rgb(35, 37, 72) 28.572%, rgb(35, 37, 72) 42.858%, rgb(40, 42, 77) 42.858%, rgb(40, 42, 77) 57.144%, rgb(44, 46, 82) 57.144%, rgb(44, 46, 82) 71.43%, rgb(48, 50, 87) 71.43%, rgb(48, 50, 87) 85.716%, rgb(52, 54, 92) 85.716%, rgb(52, 54, 92) 100.002%);
}

.bg-panel-item::after {
    content: "";
    display: block;
    height: 1px;
    width: 98%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1));
    border: none;
    margin: 0 auto;
    margin-top:15px;
    transition: background 0.4s ease; /* تغییر رنگ تدریجی */
}

/* تغییر رنگ هنگام هاور */
.bg-panel-item:hover::after {
    background: linear-gradient(to right, rgba(253, 184, 7, 0), rgba(253, 184, 7, 0.5), rgba(253, 184, 7, 0));
   
}

/* استایل کلی اسکرول‌بار */
.bg-navpanel::-webkit-scrollbar {
    width: 8px; /* عرض اسکرول‌بار */
}

/* رنگ زمینه اسکرول‌بار */
.bg-navpanel::-webkit-scrollbar-track {
    background: #1b1d3e; /* رنگ زمینه اسکرول‌بار */
    border-radius: 4px;
}

/* رنگ اسکرول‌بار */
.bg-navpanel::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #313343, #1b1d3e);
    border-radius: 4px;
}

    /* رنگ هنگام هاور اسکرول‌بار */
    .bg-navpanel::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(to bottom, #51536b, #313343);
    }





.bg-bloger-info {
    backdrop-filter: var(--backdrop-filterbloger-info);
    background-color: var(--background-color-bloger-info);
    border: var(--borderbloger-info);
    border-radius: var(--border-radiusbloger-info);
}

.form-group {
    margin-top: 1.75rem !important;
    margin-bottom: 1.75rem !important;
}

.text-siz-10 {
    font-size: 10px !important;
}

.text-siz-12 {
    font-size: 12px !important;
}

.text-siz-14 {
    font-size: 14px !important;
}

.control-label {
    margin-bottom: 0.75rem !important;
}
/* width  scrollbar*/
:-webkit-scrollbar {
    width: 6px;
    opacity: 0 !important;
}


/* Track  scrollbar*/
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.swiper-rtl .swiper-button-next:after {
    content: unset !important;
}



.swiper-rtl .swiper-button-prev:after {
    content: unset !important;
}





.animation {
    background-image: linear-gradient(90deg, rgb(253,184,7) 50%, transparent 50%), linear-gradient(90deg,rgb(253,184,7) 50%, transparent 50%), linear-gradient(0deg, rgb(253,184,7) 50%, transparent 50%), linear-gradient(0deg, rgb(253,184,7) 50%, transparent 50%);
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    background-size: 18px 2px, 18px 2px, 2px 18px, 2px 18px;
    background-position: left top, right bottom, left bottom, right top;
    animation: border-dance 1.25s infinite linear;
}

@keyframes border-dance {
    0% {
        background-position: left top, right bottom, left bottom, right top;
    }

    100% {
        background-position: left 18px top, right 18px bottom, left bottom 18px, right top 18px;
    }
}

.img-Team {
    box-shadow: 0 0 10px rgb(253,184,7,0.7), 0 0 20px rgba(253,184,7 ,0.5);
    transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animation:hover .img-Team {
    box-shadow: 0 0 30px rgba(253,184,7, 0.7), 0 0 60px rgba(253,184,7, 0.5);
}


.Festival {
    background-color: transparent !important;
    background: transparent !important;
}

.swiper {
    background-color: transparent !important;
    background: transparent !important;
}

.Festival .swiper-button-next,
.Festival .swiper-button-prev {
    left: unset !important;
    right: unset !important;
    margin-right: 5px;
}

.Festival .swiper-button-next {
    margin-right: 35px;
}

.Festival .swiper-pagination {
    top: unset !important;
    bottom: 1px !important;
    opacity: 0.5;
}

.Festival .swiper-button-next,
.Festival .swiper-button-prev {
    position: absolute;
    top: unset;
    bottom: 5%;
}


/* ---------------- bootstrap ------------------ */
.end-45 {
    right: 45% !important;
}
.w-95 {
    width: 95% !important;
}

.w-10 {
    width: 10% !important;
}

.h-10 {
    height: 10% !important;
}

.-ml-10 {
    margin-left: -10px !important;
}

.-mb-10 {
    margin-bottom: -10px !important;
}

.w-15 {
    width: 15% !important;
}

.mb-50 {
    margin-bottom: 50vh !important;
}


.h-45 {
    height: 50vh !important;
    transition: all 2s;
}


.tab-pane {
    overflow-y: auto; /* استفاده از اسکرول زمانی که محتوا بیشتر از ارتفاع تعیین شده است */
}

.transition {
    transition: all 2s;
}

.pr-0 {
    padding-right: 0 !important;
}

.mt-4-5 {
    margin-top: 2.5rem;
}

.nav-tabs .nav-link.active {
    background: transparent linear-gradient(135deg, #FCB404, #FFD54F) 0 0 no-repeat padding-box !important;
}

.accordion-button::after {
    position: absolute;
    left: 0 !important;
    margin-left: 15px;
}

.line {
    width: 8%;
    height: 5px;
    background-color: #3498db;
    margin: 10px auto;
    /* ترتیب: بالا/پایین، راست/چپ */
}


.medum-boxShadow {
    box-shadow: 0 0.6rem 1rem #e3c578;
}



/* --------------------------- scrolbar ---------------- */

/* تنظیمات اسکرول‌بار به صورت پیش‌فرض (پنهان) */
body::-webkit-scrollbar {
    width: 10px;
    opacity: 0 !important;

    transition: opacity 0.3s ease; /* برای نمایش و مخفی کردن تدریجی */
}

body.show-scrollbar::-webkit-scrollbar {
    opacity: 1; /* زمانی که کلاس فعال است، اسکرول‌بار دیده شود */
}

body::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.562);
    border-radius: 5px;
}

body::-webkit-scrollbar-track {
    background-color: rgba(214, 215, 216, 0.356);
    
}


/* --------------------------- end scrolbar ---------------- */


/* -----------------------login -------------------------- */

#password:focus {
    border: yellow 1px solid !important;
}


/* -------------------------------- swiper -------------------------- */

.swiper {
    width: 100%;
    height: 100%;
}


.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}







/*------------------- panel user ----------------------------*/

.mr25 {
    margin-right: -25% !important;
}


.transition {
    transition: all 1s;
}

.navadmin {
    position: fixed !important;
    width: 25% !important;
    height: 100% !important;
    top: 0 !important;
    right: 0 !important;
    padding: 0 !important;
}

@media (max-width: 920px) {
    .navadmin {
        position: absolute !important;
        background-color: var(--bg-navbar-Panel);
        width: 30% !important;
        height: 100% !important;
        top: 0 !important;
        right: 0 !important;
        padding: 0 !important;
    }

    .mr-25 {
        margin-right: -30% !important;
    }

    .mr-50 {
        margin-right: 30%;
        position: unset !important
    }

    .content {
        width: 100% !important;
    }
}

@media (max-width: 720px) {
    .navadmin {
        position: absolute !important;
        background-color: var(--bg-navbar-Panel);
        width: 50% !important;
        height: 100% !important;
        top: 0 !important;
        right: 0 !important;
        padding: 0 !important;
        z-index: 100;
    }

    .mr-25 {
        margin-right: -50% !important;
    }

    .mr-50 {
        margin-right: 50%;
        position: unset !important
    }

    .content {
        width: 100% !important;
    }
}


@media (max-width: 400px) {
    .navadmin {
        position: absolute !important;
        background-color: var(--bg-navbar-Panel);
        width: 70% !important;
        height: 100% !important;
        top: 0 !important;
        right: 0 !important;
        padding: 0 !important;
        z-index: 100;
    }

    .mr-25 {
        margin-right: -70% !important;
    }

    .mr-50 {
        margin-right: 70%;
        position: unset !important
    }

    .content {
        width: 100% !important;
    }
}



.getway input[type="radio"]:checked + label img {
    border: 2px solid #007bff;
}



.Consultant input[type="radio"]:checked + label {
    border: 2px solid #007bff !important;
}

.datepiker .q-date {
    width: 100% !important;
}


.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0px;
}




/* بخش‌های جدید اضافه شده */
.progress-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.elapsed-time,
.total-time {
    font-size: 12px;
    color: #666;
}


.elapsed-time,
.total-time {
    font-size: 12px;
    color: #666;
}

.rotate180 {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}




.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0px;
}



.progress-bar {
    background-color: #ccc;
    height: 10px;
    border-radius: 5px;
    position: relative;
}

.progress {
    height: 100%;
    background-color: #007bff;
    border-radius: 5px;
    width: 0;
}



/* بخش‌های جدید اضافه شده */
.progress-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.elapsed-time,
.total-time {
    font-size: 12px;
    color: #666;
}

/* تغییراتی در دستورالعمل‌های موجود */
.progress-bar {
    background-color: #ccc;
    height: 10px;
    border-radius: 5px;
    flex-grow: 1;
    margin: 0 10px;
    position: relative;
}

.progress {
    height: 100%;
    background-color: #007bff;
    border-radius: 5px;
    width: 0;
}

.elapsed-time,
.total-time {
    font-size: 12px;
    color: #666;
}




.table-container {
    overflow-x: auto;
}

.table-bordered {
    width: 100%;
    border-collapse: collapse;
}

    .table-bordered th, .table-bordered td {
        border: 1px solid #dee2e6;
        vertical-align: top;
    }

.nested-table-container {
    width: 100%;
    overflow-x: auto;
}

.nested-table {
    width: 100%;
    margin-bottom: 0;
}

    .nested-table th, .nested-table td {
        white-space: nowrap;
        text-align: center;
    }



/*انتخاب وبسرویس ------------------------------------------*/


.d-none {
    display: none;
}

.cursor-pointer {
    cursor: pointer;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}




.rounded-3 {
    border-radius: .75rem;
}

.p-2 {
    padding: .5rem;
}

.plan-content {
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

    .plan-content.selected {
        border-color: #007bff; /* رنگ آبی */
    }

.plan-radio:checked + .cursor-pointer .plan-content {
    border-color: #007bff; /* رنگ آبی */
}




/*------------------- استایل های عکس  ----------------------------*/

.image-container {
    opacity: 0;
    transition: all 1s ease-out;
}

.from-top {
    transform: translateY(-50px);
}

.from-bottom {
    transform: translateY(50px);
}

.from-left {
    transform: translateX(-50px);
}

.from-right {
    transform: translateX(50px);
}

/*.show {
    opacity: 1;
    transform: translateX(0) translateY(0);
}
*/


.modal-backdrop {
    z-index: 100 !important;
}

.modal {
    z-index: 1050 !important;
}


/*حذف لگو ادیتور */
.fr-logo {
    display: none !important;
}

#fr-logo {
    display: none !important;
}



#navbarbug .nav-link {
    background-color: transparent !important;
}

#navbarbug .active {
    color: #1976d2 !important;
    background-color: transparent !important;
}






/*---------------------------------------------------------------*/

fieldset {
    margin-bottom: 10vh;
    text-align: right;
    border: 5px double rgb(253,184,7);
    border-radius: 20px;
    width: auto;
    margin-top: 1rem;
    padding-right: 1rem;
    padding-left: 1rem;
}

legend {
    font-size: calc(var(--fnt)/1.7);
    background: #ffffff22;
    border: 5px double rgb(253,184,7);
    border-radius: 20px;
    padding: 0 1vw;
    top: -22px;
    margin-right: 0px;
    width: auto;
    padding: 5px;
    padding-right: 10px;
    padding-left: 10px;
    background-image: linear-gradient(135deg, rgba(27, 29, 62, 0.46) 0%, rgba(27, 29, 62, 0.46) 14.286%, rgba(31, 33, 67, 0.46) 14.286%, rgba(31, 33, 67, 0.46) 28.572%, rgba(35, 37, 72, 0.46) 28.572%, rgba(35, 37, 72, 0.46) 42.858%, rgba(40, 42, 77, 0.46) 42.858%, rgba(40, 42, 77, 0.46) 57.144%, rgba(44, 46, 82, 0.46) 57.144%, rgba(44, 46, 82, 0.46) 71.43%, rgba(48, 50, 87, 0.46) 71.43%, rgba(48, 50, 87, 0.46) 85.716%, rgba(52, 54, 92, 0.46) 85.716%, rgba(52, 54, 92, 0.46) 100.002%), linear-gradient(45deg, rgb(27, 29, 62) 0%, rgb(27, 29, 62) 14.286%, rgb(31, 33, 67) 14.286%, rgb(31, 33, 67) 28.572%, rgb(35, 37, 72) 28.572%, rgb(35, 37, 72) 42.858%, rgb(40, 42, 77) 42.858%, rgb(40, 42, 77) 57.144%, rgb(44, 46, 82) 57.144%, rgb(44, 46, 82) 71.43%, rgb(48, 50, 87) 71.43%, rgb(48, 50, 87) 85.716%, rgb(52, 54, 92) 85.716%, rgb(52, 54, 92) 100.002%);
}

form {
    position: relative;
    margin: 3vh auto;
    width: 85%;
    text-align: right;
}

.inp {
    display: inline-block;
    position: relative;
    width: fit-content;
    text-align: right;
    margin: 3vh 3vh;
    height: auto;
    box-shadow: 0 0 5px 2px #888;
    border-radius: 10px;
}

    .inp * {
        font-size: calc(var(--fnt)/1.8);
        padding: 0.5vh 0.5vw;
    }

.inp-i {
    outline: none;
    background: #fff;
    border: none;
    border-radius: 10px;
}

.inp-l {
    position: absolute;
    right: 0%;
    background: #00000000;
    word-wrap: none;
}

.inp-i:focus {
    animation: in_inp 1s 0s infinite;
}

@keyframes in_inp {
    0% {
        box-shadow: inset 0 0 25px 1px #4effb500;
    }

    50% {
        box-shadow: inset 0 0 25px 1px #4effb573;
    }

    100% {
        box-shadow: inset 0 0 25px 1px #4effb500;
    }
}

.inp-i:focus + .inp-l,
input:valid + .inp-l {
    transform: translateY(-90%);
    font-size: calc(var(--fnt)/1.9);
}

.inp-t {
    position: absolute;
    transform: translateY(-90%);
}

.fa_prc {
    position: absolute;
    background: #252525;
    color: #fff;
    border-radius: 10px;
    font-size: calc(var(--fnt)/2.4);
    width: 94%;
    margin-top: 1vh;
    display: none;
    opacity: 0;
    z-index: 10;
}

input[name='price']:hover ~ .fa_prc {
    opacity: 0.8;
}

.now {
    background: #3fa;
}

.day {
    border-radius: 0 10px 10px 0;
}

.year {
    border-radius: 10px 0 0 10px;
}

select {
    border: none;
    outline: none;
    font-size: calc(var(--fnt)/4);
    padding: 0.5vh 0.5vh;
    transition: 0.5s;
}

    select:hover {
        background: #ddd;
    }

.btn-bar {
    background: red;
    position: relative;
    width: 85%;
    margin: 0 auto;
    margin-top: 2vh;
    margin-bottom: 10vh;
}

.rgs {
    position: absolute;
    left: 0;
}

table {
    border-collapse: collapse !important;
    margin: 5vh auto !important;
    width: 100% !important;
    text-align: center !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    font-size: calc(var(--fnt)/2) !important;
}

td,
th {
    text-align: center !important;
    padding: 0.8vh 0.5vw !important;
}

th {
    background: var(--dark-blue) !important;
    color: #ccc !important;
    text-align: center !important;
}

.headerbox {
    background: var(--dark-blue) !important;
    color: #ccc !important;
    text-align: center !important;
}

tr {
    background: #eee !important;
    transition: 0 !important;
}

    tr:nth-child(even) {
        background: #fff !important;
    }

    tr:hover {
        background: #aaa !important;
    }




/*        برداشتن سایه از دکمه های ادیتور  */

.fr-toolbar button {
    font-size: unset;
    color: var(--dark);
    box-shadow: unset;
}

    .fr-toolbar button:hover {
        box-shadow: unset;
        opacity: 1;
    }





.danger-allert {
    z-index: 1000;
    padding-top: 1.6rem !important;
    text-align: center;
    color: #d6d6d6;
    top: 20%;
    right: 1%;
    transition: all 1s;
    position: fixed;
    opacity: 0.97;
    max-width: 35%;
    background-image: linear-gradient(135deg, rgba(139, 0, 0, 0.46) 0%, rgba(139, 0, 0, 0.46) 14.286%, rgba(142, 5, 5, 0.46) 14.286%, rgba(142, 5, 5, 0.46) 28.572%, rgba(145, 10, 10, 0.46) 28.572%, rgba(145, 10, 10, 0.46) 42.858%, rgba(148, 15, 15, 0.46) 42.858%, rgba(148, 15, 15, 0.46) 57.144%, rgba(151, 20, 20, 0.46) 57.144%, rgba(151, 20, 20, 0.46) 71.43%, rgba(154, 25, 25, 0.46) 71.43%, rgba(154, 25, 25, 0.46) 85.716%, rgba(157, 30, 30, 0.46) 85.716%, rgba(157, 30, 30, 0.46) 100.002%), linear-gradient(45deg, rgb(139, 0, 0) 0%, rgb(139, 0, 0) 14.286%, rgb(142, 5, 5) 14.286%, rgb(142, 5, 5) 28.572%, rgb(145, 10, 10) 28.572%, rgb(145, 10, 10) 42.858%, rgb(148, 15, 15) 42.858%, rgb(148, 15, 15) 57.144%, rgb(151, 20, 20) 57.144%, rgb(151, 20, 20) 71.43%, rgb(154, 25, 25) 71.43%, rgb(154, 25, 25) 85.716%, rgb(157, 30, 30) 85.716%, rgb(157, 30, 30) 100.002%);
}

.success-allert {
    z-index: 1000;
    padding-top: 1.6rem !important;
    text-align: center;
    color: #d6d6d6;
    top: 20%;
    right: 1%;
    transition: all 1s;
    position: fixed;
    opacity: 0.97;
    max-width: 35%;
    background-image: linear-gradient(135deg, rgba(34, 139, 34, 0.46) 0%, rgba(34, 139, 34, 0.46) 14.286%, rgba(36, 145, 36, 0.46) 14.286%, rgba(36, 145, 36, 0.46) 28.572%, rgba(38, 151, 38, 0.46) 28.572%, rgba(38, 151, 38, 0.46) 42.858%, rgba(40, 157, 40, 0.46) 42.858%, rgba(40, 157, 40, 0.46) 57.144%, rgba(42, 163, 42, 0.46) 57.144%, rgba(42, 163, 42, 0.46) 71.43%, rgba(44, 169, 44, 0.46) 71.43%, rgba(44, 169, 44, 0.46) 85.716%, rgba(46, 175, 46, 0.46) 85.716%, rgba(46, 175, 46, 0.46) 100.002%), linear-gradient(45deg, rgb(34, 139, 34) 0%, rgb(34, 139, 34) 14.286%, rgb(36, 145, 36) 14.286%, rgb(36, 145, 36) 28.572%, rgb(38, 151, 38) 28.572%, rgb(38, 151, 38) 42.858%, rgb(40, 157, 40) 42.858%, rgb(40, 157, 40) 57.144%, rgb(42, 163, 42) 57.144%, rgb(42, 163, 42) 71.43%, rgb(44, 169, 44) 71.43%, rgb(44, 169, 44) 85.716%, rgb(46, 175, 46) 85.716%, rgb(46, 175, 46) 100.002%);
}


.warning-allert {
    padding-top: 1.6rem !important;
    text-align: center;
    color: #d6d6d6;
    top: 20%;
    right: 1%;
    transition: all 1s;
    position: fixed;
    opacity: 0.97;
    max-width: 35%;
    background-image: linear-gradient(135deg, rgba(255, 165, 0, 0.46) 0%, rgba(255, 165, 0, 0.46) 14.286%, rgba(255, 140, 0, 0.46) 14.286%, rgba(255, 140, 0, 0.46) 28.572%, rgba(255, 120, 0, 0.46) 28.572%, rgba(255, 120, 0, 0.46) 42.858%, rgba(255, 100, 0, 0.46) 42.858%, rgba(255, 100, 0, 0.46) 57.144%, rgba(255, 80, 0, 0.46) 57.144%, rgba(255, 80, 0, 0.46) 71.43%, rgba(255, 60, 0, 0.46) 71.43%, rgba(255, 60, 0, 0.46) 85.716%, rgba(255, 40, 0, 0.46) 85.716%, rgba(255, 40, 0, 0.46) 100.002%), linear-gradient(45deg, rgb(255, 165, 0) 0%, rgb(255, 165, 0) 14.286%, rgb(255, 140, 0) 14.286%, rgb(255, 140, 0) 28.572%, rgb(255, 120, 0) 28.572%, rgb(255, 120, 0) 42.858%, rgb(255, 100, 0) 42.858%, rgb(255, 100, 0) 57.144%, rgb(255, 80, 0) 57.144%, rgb(255, 80, 0) 71.43%, rgb(255, 60, 0) 71.43%, rgb(255, 60, 0) 85.716%, rgb(255, 40, 0) 85.716%, rgb(255, 40, 0) 100.002%);
}

.r-0 {
    right: -60% !important;
}


legend:has(a) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.2rem !important; /* ایجاد فضای داخلی */
    border-radius: 50% !important; /* گرد کردن لبه‌ها */
    background-color: #f8f9fa !important; /* رنگ پس‌زمینه */
    text-decoration: none !important; /* حذف خط زیر لینک */
    width: 3rem !important; /* تنظیم عرض */
    height: 3rem !important; /* تنظیم ارتفاع */
    box-sizing: border-box; /* باکس سایزینگ */
}

legend a {
    margin-top: 7px;
}


.lh-2 {
    line-height: 2rem !important;
}



.modal-header .btn-close {
    margin: unset !important;
}


.search-box {
    width: 100%;
    margin-bottom: 5px;
    display: none; /* پیش‌فرض مخفی است */
}

.w-35 {
    width: 35%;
}

th {
    white-space: nowrap; /* جلوگیری از شکستن خطوط */
}



/*          ادیتور          */



.editor {
    border: 1px solid #ccc;
    min-height: 200px;
    direction: rtl;
    text-indent: 10px;
    white-space: pre-wrap;
    box-sizing: border-box !important;
    position: relative;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

    .editor:focus {
        border: solid 2px rgba(0, 153, 255, 0.5);
        border-color: rgba(0, 153, 255, 0.5); /* رنگ آبی کم رنگ با پخش شدگی رنگ */
        outline: none; /* حذف outline پیش‌فرض مرورگر */
    }

.editor-toolbar {
    position: relative;
}


.editor-toolbar {
    background: var(--dark-blue) !important;
    padding: 0.2rem;
    border-radius: 0.4rem;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

    .editor-toolbar button {
        margin-right: 5px;
        background: none;
        border: none;
        font-size: 18px;
        box-shadow: unset !important;
        color: rgb(241, 241, 241);
    }

.icon-picker-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    max-width: 500px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
}

.icon-picker-item {
    display: inline-block;
    margin: 5px;
    cursor: pointer;
    font-size: 24px;
    position: relative;
}

    .icon-picker-item:hover::after {
        content: "";
        position: absolute;
        bottom: -10px;
        right: -10px;
        width: 20px;
        height: 20px;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 50%;
        cursor: nwse-resize;
    }

.icon-picker-dropdown .search-box {
    margin-bottom: 10px;
    display: block !important;
}

.source-view {
    background-color: #f1f1f1;
    color: #333;
    font-family: monospace;
    white-space: pre-wrap;
    word-break: break-all;
}



.editor img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px;
}

#image-menu {
    display: none;
    position: absolute;
    background: #f1f1f1;
    padding: 10px;
    border: 1px solid #ccc;
    max-width: 400px;
    z-index: 1000;
}


.editor pre {
    background-color: #f1f1f1;
}

/*----------------------------------------------*/


.worksampelbox {
    position: relative;
    border: solid 3px rgb(253,184,7);
}

.worksampeltype {
    position: absolute;
    top: 0;
    right: 0;
    border: solid 3px rgb(253,184,7);
    transform: rotate(135deg);
    display: flex;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    margin-top: 20px;
    margin-right: -22px;
    background-color: #1b1d3e;
}
    .worksampeltype i {
        transform: rotate(-135deg);
        color: rgb(253,184,7)
    }

.worksampelimg{
    height:150px;
    width:150px;
}
.worksampelcontent{
    max-height:150px;
    overflow:hidden;
}


.image-containere {
    position: relative;
    height:182px;
}

    .image-containere:after {
        content: "";
        position: absolute;
        bottom: -12px;
        inset: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, #ffffff00, #ffffff00 54.19%, #ffffff);
    }

    .image-container img {
        border-radius: 0.5rem 0.5rem 0 0;
        object-fit:cover;
        display:block;
    }

.custom-hr {
    height: 1px;
    width: 98%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1));
    border: none;
    margin: 0;
    transition: background 0.4s ease; /* تغییر رنگ تدریجی */
}

.custom-link:hover .custom-hr {
    background: linear-gradient(to right, rgba(253, 184, 7, 0), rgba(253, 184, 7, 0.5), rgba(253, 184, 7, 0));
}


/* استایل دکمه فعال با خطوط بالا و پایین */
.active-button {
    position: relative;
    color: #007bff;
    font-weight: bold;
}

    /* خط بالا و پایین برای دکمه با کلاس active-button */
    .active-button::before,
    .active-button::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        height: 2px;
        background-color: #007bff;
    }

    /* خط بالا */
    .active-button::before {
        top: -5px; /* فاصله از دکمه */
    }

    /* خط پایین */
    .active-button::after {
        bottom: -5px; /* فاصله از دکمه */
    }

/* استایل برچسب‌های فعال با خطوط بالا و پایین */
.selected-option {
    position: relative;
    color: #007bff;
    font-weight: bold;
}

    /* خط بالا و پایین برای گزینه انتخاب‌شده */
    .selected-option::before,
    .selected-option::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        height: 2px;
        background-color: #007bff;
    }

    /* خط بالا */
    .selected-option::before {
        top: -5px;
    }

    /* خط پایین */
    .selected-option::after {
        bottom: -5px;
    }


.radio-buttons-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.radio-label.selected-option {
    position: relative;
    color: #007bff;
    font-weight: bold;
}

    .radio-label.selected-option::before,
    .radio-label.selected-option::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        height: 2px;
        background-color: #007bff;
    }

    .radio-label.selected-option::before {
        top: -5px;
    }

    .radio-label.selected-option::after {
        bottom: -5px;
    }

@media (max-width: 576px) {
    .radio-buttons-group {
        gap: 5px;
    }
}



.rodemap ul {
    --col-gap: 2rem;
    --row-gap: 2rem;
    --line-w: 0.25rem;
    display: grid;
    grid-template-columns: var(--line-w) 1fr;
    grid-auto-columns: max-content;
    column-gap: var(--col-gap);
    list-style: none;
    width: min(60rem, 90%);
    margin-inline: auto;
}

    /* خط وسط */
    .rodemap ul::before {
        content: "";
        grid-column: 1;
        grid-row: 1 / span 20;
        background: rgb(225, 225, 225);
        border-radius: calc(var(--line-w) / 2);
    }

    /* فاصله‌های بین ردیف‌ها */
    .rodemap ul li:not(:last-child) {
        margin-bottom: var(--row-gap);
    }

    /* کارت‌ها */
    .rodemap ul li {
        grid-column: 2;
        --inlineP: 1.5rem;
        margin-inline: var(--inlineP);
        grid-row: span 2;
        display: grid;
        grid-template-rows: min-content min-content min-content;
    }

        /* تاریخ */
        .rodemap ul li .date {
            --dateH: 3rem;
            height: var(--dateH);
            margin-inline: calc(var(--inlineP) * -1);
            text-align: center;
            background-color: var(--accent-color);
            color: white;
            font-size: 1.25rem;
            font-weight: 700;
            display: grid;
            place-content: center;
            position: relative;
            border-radius: calc(var(--dateH) / 2) 0 0 calc(var(--dateH) / 2);
        }

            /* فلپ تاریخ */
            .rodemap ul li .date::before {
                content: "";
                width: var(--inlineP);
                aspect-ratio: 1;
                background: var(--accent-color);
                background-image: linear-gradient(rgba(0, 0, 0, 0.2) 100%, transparent);
                position: absolute;
                top: 100%;
                clip-path: polygon(0 0, 100% 0, 0 100%);
            }

            /* دایره */
            .rodemap ul li .date::after {
                content: "";
                position: absolute;
                width: 2rem;
                aspect-ratio: 1;
                background: var(--bgColor);
                border: 0.3rem solid var(--accent-color);
                border-radius: 50%;
                top: 50%;
                transform: translateX(-50%) translateY(-50%);
              
                right: -16%;
            }

        /* عنوان و توضیحات */
        .rodemap ul li .title,
        .rodemap ul li .descr {
            background: var(--bgColor);
            position: relative;
            padding-inline: 1.5rem;
        }

        .rodemap ul li .title {
            overflow: hidden;
            padding-block-start: 1.5rem;
            padding-block-end: 1rem;
            font-weight: 500;
            background: rgb(241, 241, 241);
        }

        .rodemap ul li .descr {
            padding-block-end: 1.5rem;
            font-weight: 300;
            background: rgb(241, 241, 241);
        }

            /* سایه‌ها */
            .rodemap ul li .title::before,
            .rodemap ul li .descr::before {
                content: "";
                position: absolute;
                width: 90%;
                height: 0.5rem;
                background: rgba(0, 0, 0, 0.5);
                left: 50%;
                border-radius: 50%;
                filter: blur(4px);
                transform: translate(-50%, 50%);
            }

        .rodemap ul li .title::before {
            bottom: calc(100% + 0.125rem);
        }

        .rodemap ul li .descr::before {
            z-index: -1;
            bottom: 0.25rem;
        }

/* تنظیمات برای دستگاه‌های بزرگتر */
@media (min-width: 50rem) {


    .rodemap ul li .date::after {
        content: "";
        position: absolute;
        width: 2rem;
        aspect-ratio: 1;
        background: var(--bgColor);
        border: 0.3rem solid var(--accent-color);
        border-radius: 50%;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
        left: 50%;
        right:unset ;
    }
    .rodemap ul {
        grid-template-columns: 1fr var(--line-w) 1fr;
    }

        .rodemap ul::before {
            grid-column: 2;
        }

        /* تغییر ترتیب نمایش برای آیتم‌های فرد و زوج */
        .rodemap ul li:nth-child(odd) {
            grid-column: 3;
            margin-top: var(--row-gap); /* آیتم‌های فرد کمی بالاتر از آیتم‌های زوج قرار می‌گیرند */
        }

        .rodemap ul li:nth-child(even) {
            grid-column: 1;
        }

        /* موقعیت دایره برای آیتم‌های فرد */
        .rodemap ul li:nth-child(odd) .date::after {
            left: auto;
            right: -8%;
            transform: translateX(50%) translateY(-50%);
        }

        /* موقعیت دایره برای آیتم‌های زوج */
        .rodemap ul li:nth-child(even) .date::after {
            left: -8%;
            transform: translateX(-50%) translateY(-50%);
        }

        /* تغییر شکل فلپ تاریخ برای آیتم‌های فرد */
        .rodemap ul li:nth-child(odd) .date::before {
            clip-path: polygon(0 0, 100% 0, 100% 100%);
            left: 0;
        }

        .rodemap ul li:nth-child(odd) .date {
            border-radius: 0 calc(var(--dateH) / 2) calc(var(--dateH) / 2) 0;
        }
}

/* استایل بخش credits */
.rodemap .credits {
    margin-top: 1rem;
    text-align: right;
}

    .rodemap .credits a {
        color: var(--color);
    }




.text-justify {
    text-align: justify;
    word-spacing: normal; /* استفاده از فاصله‌های طبیعی بین کلمات */
    word-break: auto-phrase; /* شکستن کلمات در صورت نیاز */
    white-space: normal; /* اجازه دادن به شکستن خطوط */
    text-align-last: right; /* جلوگیری از کشیدن فاصله‌ها در آخرین خط */
}
.index .animated {
    animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.index img, svg {
    vertical-align: middle;
}


@keyframes up-down {
    0% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
}

