@font-face {
    font-family:'BYekan';/*تعریف یک نام برای فونت*/
    src:url('/profiles/include/font/BYekan.eot');/*اکسپلورر 9 به بعد*/
    src:local('bYekan'),/*بررسی نصب بودن فونت در سیستم کاربر*/
    local('b Yekan'),/*برای برخی از مرورگرها مانند سافاری*/
    url('/profiles/include/font/BYekan.eot?#iefix') format('embedded-opentype'),/*هک برای اکسپلورر 8 و ماقبل*/
    url('/profiles/include/font/BYekan.woff') format('woff'),/*مرورگر های جدید*/
    url('/profiles/include/font/BYekan.ttf') format('truetype'),/*تمام مرورگرها به جزء اکسپلورر*/
    url('/profiles/include/font/BYekan.svg#BYekan') format('svg');/*نسخه های قدیمی سیستم عامل iOS*/
    font-style:normal;
    font-weight:normal;
}
* {
    box-sizing: border-box;
}
body {
    font-family: "BYekan", Arial, Helvetica, sans-serif;
}
.b_yekan {
    font-family: "BYekan", Arial, Helvetica, sans-serif;
}
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10; /* Sit on top */
    padding-top: 60px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    text-align: center;
}
/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    /*width: 80%;*/
    max-width: 550px;
    border-radius: 18px;
    text-align: center;
}

/* The Close Button */
.close {
    color: red;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.small-button{
    font-family: "BYekan", Arial, Helvetica, sans-serif;
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 4px;
}
.mini-button{
    font-family: "BYekan", Arial, Helvetica, sans-serif;
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 4px 8px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 4px;
}
.button {
    font-family: "BYekan", Arial, Helvetica, sans-serif;
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 8px 18px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 4px;
}
.button_green {
    background-color: #90EE90;
    color: black;
    border: 2px solid #556B2F;
}
.button_green:hover {
    background-color: #556B2F;
    color: white;
}
.button_blue {
    background-color: #4169E1;
    color: white;
    border: 2px solid #008CBA;
}

.button_blue:hover {
    background-color: #6495ED;
    color: black;
}
.button_red {
    background-color: #FF6347;
    color: black;
    border: 2px solid #f44336;
}

.button_red:hover {
    background-color: #FF0000;
    color: white;
}
.btn_blue {
    background-color: white;
    color: black;
    border: 2px solid #008CBA;
}
.btn_blue:hover {
    background-color: #008CBA;
    color: white;
}
.btn_lightblue {
    background-color: white;
    color: black;
    border: 2px solid black;
}
.btn_lightblue:hover {
    background-color: #87CEFA;
    color: black;
}
.btn_lightpink {
    background-color: white;
    color: black;
    border: 2px solid black;
}
.btn_lightpink:hover {
    background-color: #FFB6C1;
    color: black;
}
.btn_green {
    background-color: white;
    color: black;
    border: 2px solid black;
}
.btn_green:hover {
    background-color: #90EE90;
    color: black;
}
.btn_gray {
    background-color: white;
    color: black;
    border: 2px solid #e7e7e7;
}

.btn_gray:hover {background-color: #e7e7e7;}
.btn_yes{
    color: white;
    background-color: green;
    opacity: 0.8;
}
.btn_yes:hover{
    background-color: green;
    opacity: 1;
}
.btn_no{
    color: white;
    background-color: red;
    opacity: 0.8;
}
.btn_no:hover{
    background-color: red;
    opacity: 1;
}
.tac {
    text-align: center;
}

.w100 {
    width: 100%;
}

.w200px {
    width: 200px;
}
.w300px {
    width: 300px;
}

.marg_lf_auto{
    margin: 0 auto;
}
.m8 {
    margin: 8px;
}
.m16 {
    margin: 16px;
}
.m4 {
    margin: 4px;
}
.m32 {
    margin: 32px;
}
.card {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    width: 100%;
    max-width: 700px;
    border-radius: 5px;
    padding: 12px;
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
.marg_auto {
    margin-left: auto;
    margin-right: auto;
}
.no_cursor{
    cursor: default;
}
.pointer_cursor{
    cursor: pointer;
}
.center-object {
    margin-left: auto;
    margin-right: auto;
}
#loader {
    display: none;
    position: relative;
    right: 50%;
    top: 50%;
    z-index: 1;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid blue;
    border-right: 16px solid green;
    border-bottom: 16px solid red;
    border-left: 16px solid pink;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.lvl1 {
    box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
    color: #ffffff;
    margin: 6px;
    cursor:pointer;
    font-size: 1.6em;
    position: relative;
    height: 155px;
    width: 155px;
    display: inline-block;
    background: #ffffff;
    border-radius: 50%;
    overflow: hidden;
    transition: background ease-in 300ms;
    transition-property: background;
    transition-duration: 300ms;
    transition-timing-function: ease-in;
    transition-delay: 0s;
    -webkit-user-select: none; /* Safari 3.1+ */
    -moz-user-select: none; /* Firefox 2+ */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* Standard syntax */
}
.lvl1.passed {
    background: #4CAF50;
}
.lvl1.active {
    background: #36abcb;
}
.lvl1.disable {
    cursor:default;
    background: #BDBDBD;
}
.lvl1.passed:hover {
    background: #2E7D32;
    box-shadow: 0 0 6px -1px rgba(0,0,0,0.6);
}
.lvl1.active:hover {
    background: #0277BD;
    box-shadow: 0 0 8px -1px rgba(0,0,0,0.6);
}
.lvl1.passed:active , .lvl1.active:active {
    box-shadow: 0 0 12px -1px rgba(0,0,0,0.6);
}
.l1-text {
    position: absolute;
    top: 50px;
    height: 20%;
    width: 100%;
    margin: auto;
    display: flex;
}
.l1-text span {
    margin: auto; /* Important */
    text-align: center;
}
.l1-status {
    position: absolute;
    top: 95px;
    right: 57px;
    background-image: url(https://www.sololearn.com/Images/appSprite.png);
    margin: auto;
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.l1-status.active {
    background-position: -40px 0;
}
.l1-status.disable {
    background-position: -80px 0;
}
#nav_icons {
    max-width: 800px;
    text-align: center;
    margin: 10px auto;
}

#nav_icons i{
    font-size: 4em;
    margin: 12px 48px;
}
#nav_icons a {
    color: #4B0082;
    text-decoration: none;
    cursor: pointer;
}
#nav_icons a:hover {
    color: red;
}
.nav_icon {
    width: 50%;
    float: left;
}
#nav_icons::after {
    content: "";
    clear: both;
    display: table;
}
#student_name_top_perpage{
    background-color: #00FFFF;
    max-width: 700px;
    text-align: center;
    margin: 10px auto;
    border-radius: 6px;
    border-style: solid;
    border-width: 2px;
    font-size: 1.2em;
    padding: 4px;
}
.bold {
    font-weight: bold;
}
.green_alert{
    background-color: #FFF8DC;
    max-width: 700px;
    text-align: center;
    margin: 10px auto;
    border-radius: 6px;
    border-style: dashed;
    border-width: 2px;
    font-size: 1.1em;
    padding: 4px;
}
.khaki_alert{
    background-color: khaki;
    max-width: 700px;
    text-align: center;
    margin: 10px auto;
    border-radius: 6px;
    border-style: dashed;
    border-width: 2px;
    font-size: 1.1em;
    padding: 6px 4px;
}
.blue_alert{
    color: black;
    background-color: #00FFFF;
    max-width: 700px;
    text-align: center;
    margin: 10px auto;
    border-radius: 6px;
    border-style: dashed;
    border-width: 2px;
    font-size: 1.1em;
    padding: 4px;
}
.red_alert{
    background-color: #CD5C5C;
    color: white;
    max-width: 700px;
    text-align: center;
    margin: 10px auto;
    border-radius: 6px;
    border-style: dashed;
    border-width: 2px;
    border-color: black;
    font-size: 1.1em;
    padding: 4px;
}
.nav_cross_media {
    text-align: center;
    max-width: 750px;
    margin: 8px auto;
    padding: 12px;
    background-color: #EFF7C9;
    border-radius: 8px;
    border-width:2px;
    border-style:dashed;
}
.dir {
    color: white;
    display: inline-block;
    width: 100%;
    max-width: 250px;
    text-align: center;
    padding: 30px 12px;
    border-radius: 8px;
    border-width:3px;
    border-style:dashed;
    cursor: pointer;
    transition: 0.5s;
    margin: 12px;
}
.dir.passed_dir {
    background: #4CAF50;
}
.dir.active_dir {
    background: #36abcb;
}
.dir.disable_dir {
    cursor:default;
    background: #BDBDBD;
}
.dir.passed_dir:hover {
    background: #2E7D32;
    box-shadow: 0 0 6px -1px rgba(0,0,0,0.6);
}
.dir.active_dir:hover {
    background: #0277BD;
    box-shadow: 0 0 8px -1px rgba(0,0,0,0.6);
}
.dir.passed_dir:active , .lvl1.active:active {
    box-shadow: 0 0 12px -1px rgba(0,0,0,0.6);
}
.disable {
    cursor:default;
    background: #BDBDBD;
}
.f-small {
    font-size: small;
}
.f-medium {
    font-size: medium;
}
.f-large {
    font-size: large;
}
.vertical-center {
    margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline {
    direction: ltr;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
#ruler {
    display: inline;
    content: '';
    position: absolute;
    width: 6px;
    background-color: gray;
    top: 100px;
    bottom: 10px;
    left: 50%;
    margin-left: 0px;
    z-index: 1;
}

/* The circles on the timeline */
.tl-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -15px;
    background-color: white;
    border: 4px solid #FF9F55;
    top: 100px;
    border-radius: 50%;
    z-index: 2;
}

/* Container around content */
.tl-item {
    padding: 10px 35px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* Place the container to the left */
.tl-item:nth-child(2n) {
    left: 0;
}

/* Place the container to the right */
.tl-item:nth-child(odd) {
    left: 50%;
}

/* Add arrows to the left container (pointing right) */
/*.tl-item:nth-child(even)::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}*/

/* Add arrows to the right container (pointing left) */
.tl-item:nth-child(odd)::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.tl-item:nth-child(odd)::after {
    left: -9px;
}


/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
    /* Place the timelime to the left */
    #ruler {
        left: 20px;
    }

    /* Full-width containers */
    .tl-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 25px;
    }

    /* Make sure that all arrows are pointing leftwards */
    .tl-item::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    /* Make sure all circles are at the same spot */
    .tl-item:nth-child(even)::after, .tl-item:nth-child(odd)::after {
        left: 10px;
    }

    /* Make all right containers behave like the left ones */
    .tl-item:nth-child(odd) {
        left: 0%;
    }
}
.button_hide{
    font-family: "BYekan", Tahoma, "Times New Roman", Times, serif;
    background-color: #d92121;
    border: none;
    padding: 15px 25px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    margin: 6px;
}

.button_hide{
    color: black;
    background: repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            #ccc 10px,
            #ccc 20px
    ),
    linear-gradient(
            to bottom,
            #eee,
            #999
    )
}
.button_hide:hover{
    color: black;
    background: repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            #999 10px,
            #999 20px
    ),
    linear-gradient(
            to bottom,
            #eee,
            #ccc
    )
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
}

.hover-effect-1:hover {
    border-color: #2E7D32;
    border-width: 1px;
    border-style: dashed;
    border-radius: 15%;
    background-color: #00FFFF;
    font-size: 35px;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* تصویر در پاپ‌آپ */
.popup-image {
    max-width: 90%;
    max-height: 90%;
    border: 2px solid white;
    box-shadow: 0 0 10px white;
}
.like-btn, .dislike-btn {
    padding: 10px 15px;
    margin: 5px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #f0f0f0;
    transition: background-color 0.3s ease;
}

.like-btn:hover {
    background-color: #d4edda;
}

.dislike-btn:hover {
    background-color: #f8d7da;
}

.like-btn:active, .dislike-btn:active {
    transform: scale(0.95);
}
.new-badge {
    position: absolute;
    bottom: 0px;
    left: 4px;
    display: flex;
    align-items: center;
    gap: 10px; /* فاصله بین عناصر */
    z-index: 10;
}

/* استایل برای متن NEW */
.new-badge span.blinking {
    background-color: #ffcc00; /* رنگ پس‌زمینه برای NEW */
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    animation: blink 1s infinite; /* انیمیشن چشمک زدن */
}

/* استایل برای لایک */
.new-badge {
    /*background-color: #4caf50; !* رنگ سبز برای لایک *!*/
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.like-icon {
    cursor: pointer;
    display: inline-block;
    width: 40px;
    height: 40px;
    transition: transform 0.2s ease;
}

.like-icon svg {
    transition: all 0.2s ease;
}

.heart-filled {
    fill: red; /* رنگ قرمز برای حالت لایک‌شده */
    display: none; /* به‌طور پیش‌فرض نمایش داده نمی‌شود */
}

.heart-outline {
    fill: none; /* توخالی برای حالت لایک‌نشده */
    stroke: gray; /* خطوط خاکستری */
    stroke-width: 2px; /* ضخامت خطوط */
}

.like-icon.liked .heart-filled {
    display: block; /* در حالت لایک‌شده نمایش داده شود */
}

.like-icon.liked .heart-outline {
    display: none; /* در حالت لایک‌شده مخفی شود */
}
