﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
    font-family: IranSans;
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('Fonts/IRANSansWeb.eot');
    src: url('Fonts/IRANSansWeb.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('Fonts/IRANSansWeb.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('Fonts/IRANSansWeb.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('Fonts/IRANSansWeb.ttf') format('truetype');
}


/*#region فونت های variable ایران سنس*/
@font-face {
    font-family: 'iransansxv';
    src: url('fonts/iransansvariable/IRANSansXV.woff') format('woff-variations'),
    /* will be the standard and works in Safari now */
    url('fonts/iransansvariable/IRANSansXV.woff') format('woff');
    /* for the other supporting browsers */
    font-weight: 100 900;
    font-display: fallback;
}

@font-face {
    font-family: iransansx;
    src: url('fonts/iransansvariable/staticfonts/iransansx-regular.woff') format('woff');
}

@font-face {
    font-family: iransansx;
    src: url('fonts/iransansvariablestaticfonts/iransansx-bold.woff') format('woff');
    font-weight: 700;
}


body {
    font-family: iransansx, tahoma;
}

@supports (font-variation-settings: normal) {
    body {
        font-family: 'iransansxv', tahoma;
    }
}

.ss02 {
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
}

.ss03 {
    -moz-font-feature-settings: "ss03";
    -webkit-font-feature-settings: "ss03";
    font-feature-settings: "ss03";
}

/*#endregion*/




.notemessage {
    text-align: right;
}

.faradid {
    text-align: left;
    font-size: 10px;
}

@media (max-width: 768px) {
    .notemessage {
        text-align: center;
    }

    .faradid {
        text-align: center;
    }
}

.progressbar {
    text-align: center;
}

.boxhead {
    border-top: 1px solid #3f85ca;
    padding-top: 10px;
    margin-top: 10px;
}
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.calendar-today {
    color: blue;
    font-weight: bold;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
    /*float: right;
    width: 160px;
    overflow: hidden;
    clear: left;
    text-align: right;
    text-overflow: ellipsis;*/
    white-space: nowrap;
}

.dl-horizontal dd {
    min-height: 20px;
}
/* Set width on the form input elements since they're 100% wide by default */
input,
select {
    max-width: 280px;
}

.field-validation-error {
    color: #f00;
}

.validation-summary-errors {
    color: #f00;
    font-weight: bold;
}

.input-validation-error {
    border: 2px solid #f00;
    background-color: #fee;
}

.toplist {
    margin-bottom: 10px;
}

th {
    text-align: center;
}

div.lesson {
}

.progressbar {
    margin: 20px;
    width: 200px;
    height: 200px;
    position: relative;
}

.lesstime {
    color: #ff0000;
}

.moretime {
    color: blue;
}

.myHighChart {
    direction: ltr;
}

div.load {
    color: red;
    margin: 10px 0;
    font-weight: bold;
}

#multiProgress {
    margin: 0 auto;
    max-width: 400px;
    min-width: 380px;
}

a:hover {
    color: hotpink;
    text-decoration: none;
}

a:focus {
    text-decoration: none;
}

tr td {
    text-align: center !important;
}

.fa {
    font-weight: 200 !important;
    font-size: 15px
}

/*برای حاشیه جداول*/
table {
    padding: 20px;
    border-radius: 10px;
    margin: 10px;
    border-spacing: 0;
    border-collapse: separate;
}

    table tr:last-child td:first-child {
        border-bottom-right-radius: 20px;
    }

    table tr:last-child td:last-child {
        border-bottom-left-radius: 20px;
    }

    table tr:first-child th:first-child {
        border-top-right-radius: 20px
    }

    table tr:first-child th:last-child {
        border-top-left-radius: 20px;
    }





/*برای بکگراند هایی که به صورت حباب از پایین به بالا میروند*/

.area {
    background-color: ghostwhite;
    background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8);
    width: 100%;
    height: 100vh;
}

.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

    .circles li {
        position: absolute;
        display: block;
        list-style: none;
        width: 20px;
        height: 20px;
        animation: animate 25s ease-out infinite;
        bottom: -150px;
    }

        .circles li:nth-child(1) {
            left: 25%;
            width: 80px;
            height: 80px;
            animation-delay: 0s;
            background: #FFD2F0;
        }


        .circles li:nth-child(2) {
            left: 10%;
            width: 100px;
            height: 100px;
            animation-delay: 2s;
            animation-duration: 12s;
            background: #E6EE9C;
        }

        .circles li:nth-child(3) {
            left: 70%;
            width: 40px;
            height: 40px;
            animation-delay: 4s;
            background: #FDAC92;
        }

        .circles li:nth-child(4) {
            left: 40%;
            width: 60px;
            height: 60px;
            animation-delay: 3s;
            animation-duration: 18s;
            background: #B3EAF1;
        }

        .circles li:nth-child(5) {
            left: 65%;
            width: 45px;
            height: 45px;
            animation-delay: 8s;
            background: #F1BACD;
        }

        .circles li:nth-child(6) {
            left: 75%;
            width: 20px;
            height: 20px;
            animation-delay: 3s;
            background: #FEE9A6;
        }

        .circles li:nth-child(7) {
            left: 35%;
            width: 90px;
            height: 90px;
            animation-delay: 7s;
            background: #FBECBB;
        }

        .circles li:nth-child(8) {
            left: 57%;
            width: 25px;
            height: 25px;
            animation-delay: 15s;
            animation-duration: 45s;
            background: #FDAC92;
        }

        .circles li:nth-child(9) {
            left: 50%;
            width: 15px;
            height: 15px;
            animation-delay: 15s;
            animation-duration: 35s;
            background: #D6EBD7;
        }

        .circles li:nth-child(10) {
            left: 85%;
            width: 100px;
            height: 100px;
            animation-delay: 0s;
            animation-duration: 17s;
            background: #D19CDA;
        }

        .circles li:nth-child(11) {
            left: 35%;
            width: 75px;
            height: 75px;
            animation-delay: 5s;
            animation-duration: 20s;
            background: #51FF39;
        }

        .circles li:nth-child(12) {
            left: 39%;
            width: 40px;
            height: 40px;
            animation-delay: 1s;
            animation-duration: 25s;
            background: #88D5F7;
        }

        .circles li:nth-child(13) {
            left: 46%;
            width: 80px;
            height: 80px;
            animation-delay: 7s;
            animation-duration: 14s;
            background: #51FF39;
        }

        .circles li:nth-child(14) {
            left: 73%;
            width: 100px;
            height: 100px;
            animation-delay: 4s;
            animation-duration: 17s;
            background: #9CD19F;
        }

        .circles li:nth-child(15) {
            left: 15%;
            width: 100px;
            height: 100px;
            animation-delay: 3s;
            animation-duration: 26s;
            background: #FD8D69;
        }

        .circles li:nth-child(16) {
            left: 4%;
            width: 110px;
            height: 110px;
            animation-delay: 9s;
            animation-duration: 20s;
            background: #FBDDE7;
        }


@keyframes animate {

    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}



/*برای دکمه های ورود و خروج و ریست رمز عبور  که به صورت شیک در می آیند*/
button.shake {
    position: relative;
    margin: 02em 0;
    padding: 0.8em 1em;
    outline: none;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    border-radius: 10px;
    color: #fff;
    font-weight: 300;
    font-size: 18px;
    font-family: inherit;
    z-index: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.02, 0.01, 0.47, 1);
}

    button.shake:hover {
        animation: sh0 0.5s ease-in-out both;
    }

@keyframes sh0 {
    0% {
        transform: rotate(0deg) translate3d(0, 0, 0);
    }

    25% {
        transform: rotate(7deg) translate3d(0, 0, 0);
    }

    50% {
        transform: rotate(-7deg) translate3d(0, 0, 0);
    }

    75% {
        transform: rotate(1deg) translate3d(0, 0, 0);
    }

    100% {
        transform: rotate(0deg) translate3d(0, 0, 0);
    }
}

button.shake:hover span {
    animation: storm 0.7s ease-in-out both;
    animation-delay: 0.06s;
}

/*برای دکمه های ورود و خروج و ریست گذروازه*/

button.shake::before,
button.shake::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    transition: transform 0.15s cubic-bezier(0.02, 0.01, 0.47, 1), opacity 0.15s cubic-bezier(0.02, 0.01, 0.47, 1);
    z-index: -1;
    transform: translate(100%, -25%) translate3d(0, 0, 0);
}

button.shake:hover::before,
button.shake:hover::after {
    opacity: 0.15;
    transition: transform 0.2s cubic-bezier(0.02, 0.01, 0.47, 1), opacity 0.2s cubic-bezier(0.02, 0.01, 0.47, 1);
}

button.shake:hover::before {
    transform: translate3d(50%, 0, 0) scale(0.9);
}

button.shake:hover::after {
    transform: translate(50%, 0) scale(1.1);
}




.fw-hover:hover {
    font-weight: bold
}



/*برای کارت ها*/
.card3 {
    --main-color: #000;
    --bg-color: white;
    width: 300px;
    padding: 25px;
    background: var(--bg-color);
    border-radius: 20px;
    transition: transform .3s ease;
    height: 400px; /* ارتفاع ثابت برای کارت */
}

    .card3:hover {
        cursor: pointer;
        transform: scale(1.03)
    }

.card3__wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.card3___wrapper-acounts {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 1;
    cursor: pointer;
}

    .card3___wrapper-acounts > div:nth-child(2) {
        position: absolute;
        left: 25px;
        z-index: -1;
    }

    .card3___wrapper-acounts > div:nth-child(3) {
        position: absolute;
        left: 50px;
        z-index: -2;
    }

.card3__score {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background: var(--main-color);
}

.card3__acounts {
    width: 42px;
    height: 42px;
}

    .card3__acounts svg {
        width: 100%;
        height: 100%;
    }

.card3__menu {
    width: 40px;
    height: 40px;
    background: var(--bg-color);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.card3__title {
    margin-top: 50px;
    font-weight: 900;
    font-size: 25px;
    color: var(--main-color);
}

.card3__subtitle {
    margin-top: 15px;
    font-weight: 400;
    font-size: 15px;
    color: var(--main-color);
}

.card3__indicator {
    /* margin-top: 50px;*/
    font-weight: 500;
    font-size: 14px;
    color: var(--main-color);
}

.card3__progress progress {
    width: 100%;
    height: 4px;
    border-radius: 100px;
}

    .card3__progress progress::-webkit-progress-bar {
        background-color: #00000030;
        border-radius: 100px;
    }

    .card3__progress progress::-webkit-progress-value {
        background-color: lightgreen;
        border-radius: 100px;
    }


.top-section, .bottom-section {
    flex: 0 0 auto; /* قسمت‌های بالا و پایین با محتوای خودشان تغییر نمی‌کنند */
}

.middle-section {
    flex: 1 0 auto; /* قسمت وسط فضای باقی‌مانده را پر می‌کند */
    overflow: auto; /* اگر محتوا زیاد باشد، اسکرول فعال می‌شود */
    padding: 15px; /* فاصله داخلی */
}

.Line1 {
    -webkit-box-orient: vertical;
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.Line2 {
    -webkit-box-orient: vertical;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.Line3 {
    -webkit-box-orient: vertical;
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    overflow: hidden;
}














.realistic-clock {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 50px auto;
}

.clock-face {
    position: relative;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #333, #111);
    border-radius: 50%;
    border: 10px solid #cec5c5;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.glass-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.center-circle {
    position: absolute;
    width: 13%;
    height: 13%;
    background: radial-gradient(circle, #666, #333);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.hand {
    position: absolute;
    background: #222;
    border-radius: 2px;
    left: 50%;
    transform-origin: bottom;
    transform: translateX(-50%);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
}

.hour {
    width: 8%;
    height: 28%;
    top: 20%;
    background: linear-gradient(to bottom, #1d6981, #444);
    animation: rotate-hour 43200s linear infinite;
    left: 49%;
}

.minute {
    width: 6%;
    height: 44%;
    top: 6%;
    background: linear-gradient(to bottom, #bbb, #666);
    background-color: rgba(0, 0, 0, 0);
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-attachment: scroll;
    background-image: linear-gradient(rgb(187, 187, 187), rgb(102, 102, 102));
    background-size: auto;
    background-origin: padding-box;
    background-clip: border-box;
    animation: rotate-minute 3600s linear infinite;
}

.second {
    width: 4%;
    height: 40%;
    top: 10%;
    background: red;
    animation: rotate-second 60s linear infinite;
}

.number {
    position: absolute;
    font-size: 103%;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

@keyframes rotate-hour {
    from {
        transform: translateX(-50%) rotate(0deg);
    }

    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

@keyframes rotate-minute {
    from {
        transform: translateX(-50%) rotate(0deg);
    }

    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

@keyframes rotate-second {
    from {
        transform: translateX(-50%) rotate(0deg);
    }

    to {
        transform: translateX(-50%) rotate(360deg);
    }
}









.container3 {
    position: relative;
    max-width: 500px;
    width: 100%;
    background: #ececec;
    margin: 0 15px;
    padding: 10px 20px;
    border-radius: 7px;
}

    .container3 .skill-box3 {
        width: 100%;
        margin: 25px 0;
    }

.skill-box3 .title3 {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.skill-box3 .skill-bar3 {
    height: 8px;
    width: 100%;
    border-radius: 6px;
    margin-top: 6px;
    background: rgba(0,0,0,0.1);
}

.skill-bar3 .skill-per3 {
    position: relative;
    display: block;
    height: 100%;
    width: 90%;
    border-radius: 6px;
    background: #4070f4;
    animation: progress 0.4s ease-in-out forwards;
    opacity: 0;
}

.skill-per3.html3 {
    /*progreso de las diferentes lenguajes*/
    /*width: 50%;*/
    animation-delay: 0.1s;
}

.skill-per3.css3 {
    /*progreso de las diferentes lenguajes*/
    width: 70%;
    animation-delay: 0.1s;
}

.skill-per3.javascript3 {
    /*progreso de las diferentes lenguajes*/
    width: 50%;
    animation-delay: 0.2s;
}

.skill-per3.nodejs3 {
    /*progreso de las diferentes lenguajes*/
    width: 30%;
    animation-delay: 0.3s;
}

@keyframes progress {
    0% {
        width: 0;
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

.skill-per3 .tooltip3 {
    position: absolute;
    left: -14px;
    top: -28px;
    font-size: 9px;
    font-weight: 500;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    background: #4070f4;
    z-index: 1;
}

.tooltip3::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    height: 10px;
    width: 10px;
    z-index: -1;
    background-color: #4070f4;
    transform: translateX(-50%) rotate(45deg);
}









/* استایل پایه برای لینک‌ها */
a {
    text-decoration: none; /* حذف خط زیر لینک */
    color: #007bff; /* رنگ اصلی لینک */
    font-weight: bold; /* ضخیم کردن متن لینک */
    padding: 5px 10px; /* فاصله داخلی */
    border-radius: 5px; /* گوشه‌های گرد */
    transition: background-color 0.3s ease, color 0.3s ease; /* انیمیشن نرم برای تغییر رنگ و پس‌زمینه */
}

    /* حالت هاور (hover) */
    a:hover {
        background-color: rgba(0, 123, 255, 0.1); /* رنگ پس‌زمینه در حالت هاور */
        color: #0056b3; /* رنگ جدید در حالت هاور */
    }

    /* حالت فعال (active) */
    a:active {
        color: #004085; /* رنگ جدید در حالت فعال */
        transform: scale(0.98); /* کمی کوچک کردن لینک در حالت فعال */
    }

    /* حالت فوكوس (focus) برای دسترسی‌پذیری */
    a:focus {
        outline: none; /* حذف حاشیه پیش‌فرض مرورگر */
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* سایه مشخص در حالت فوكوس */
    }

.aHover:hover {
    background-color: rgba(0, 123, 255, 0.1);
    color: #0056b3;
}

.form-select {
    padding: 8px;
    margin-top: 8px;
}
.mds-bs-dtp-container table {
    padding: 0px 10px 0px 10px !important;
    margin:0px !important;
}