
.assignment-container {
    background: #f5f7fb;
    padding: 20px;
    border-radius: 10px;
    /*border: 1px solid;*/
    max-width: 1440px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.flex-gap-5 {
    gap: 5px
}

.flex-gap-10 {
    gap: 10px
}

.flex-gap-15 {
    gap: 15px
}

.flex-gap-20 {
    gap: 20px
}

.flex-center {
    justify-content: center;
    align-content: center;
    align-self: stretch;
    align-items: center;
}

.flex-start {
    justify-content: start;
}

.flex-align-start {
    align-content: start;
}

.flex-space-between {
    justify-content: space-between;
}

.flex-align-item-center {
    align-items: center;
}

.flex-row {
    flex-direction: row;
}

.flex-col {
    flex-direction: column;
}

.flex-direction-ltr {
    direction: ltr;
}

.flex-direction-rtl {
    direction: rtl;
}

.flex-with-10 {
    width: 10%
}

.flex-with-20 {
    width: 20%
}

.flex-with-25 {
    width: 25%
}

.flex-with-30 {
    width: 30%
}

.flex-with-40 {
    width: 40%
}

.flex-with-50 {
    width: 50%
}

.flex-with-60 {
    width: 60%
}

.flex-with-70 {
    width: 70%
}

.flex-with-80 {
    width: 80%
}

.flex-with-90 {
    width: 90%
}

.flex-with-100 {
    width: 100%;
}

.flex-col-4 {
    max-width: 23%;
}

.flex-col-3 {
    max-width: 30%;
}

.flex-col-2 {
    max-width: 45%;
}

.flex-col-1 {
    max-width: 100%;
}

.flex-full-width {
    min-width: 100%;
}

.flex-height-100 {
    height: 100px;
}

.flex-height-200 {
    height: 200px;
}

.flex-full-height {
    height: 100%;
}

.flex-bg-white {
    background: #ffffff;
}

.flex-bg-title {
    background: #ffffff1a;
}

.flex-bg-grey {
    background: #f5f7fb;
}

.flex-bg-blue {
    background: #0043ba;
}

.flex-bg-grey2 {
    background: #eeeeee;
}

.flex-bg-error {
    background: #ffcaca;
}

.flex-text-white {
    color: #ffffff;
}

.flex-text-error {
    color: #fb385c;
}

.flex-bg-success {
    background: #d8ffd6;
}

.flex-bg-progress {
    background: #ececec;
}

.flex-bg-progress-complated {
    background: #715cff;
}

.flex-text-success {
    color: #00a25d;
}

.flex-text-default-color {
    color: #313131;
}

.flex-text-orange {
    color: #ff753f;
}

.flex-bg-orange {
    background: #fff0de;
}

.flex-bg-shadow {
    box-shadow: 0px 0px 34px -28px #757575;
}

.flex-border-1-white {
    border: 1px solid #fff;
}

.flex-border-2-white {
    border: 2px solid #fff;
}

.flex-border-2-green {
    border: 2px dashed #2ecc71;
}

.flex-border-1-orange {
    border: 1px solid #ff753f;
}

.flex-border-1-karboni {
    border: 1px solid #2e44ff;
}

.flex-border-radius {
    border-radius: 6px;
}

.flex-border-radius-10 {
    border-radius: 10px;
}

.flex-border-t-3-red {
    border-top: 3px solid #ff9e9e;
}

.flex-border-t-3-orange {
    border-top: 3px solid #ffde9e;
}

.flex-border-t-3-green {
    border-top: 3px solid #9effbb;
}

.flex-border-t-3-blue {
    border-top: 3px solid #9edfff;
}

.flex-hover:hover {
    box-shadow: 0px 0px 34px -28px #000000;
    border: 2px solid #f6a400;
}

.pagination-active {
    box-shadow: 0px 0px 34px -28px #000000;
    border: 2px solid #f6a400 !important;
}

.flex-m-0 {
    margin: 0 !important;
}

.flex-m-5 {
    margin: 5px;
}

.flex-m-10 {
    margin: 10px;
}

.flex-m-20 {
    margin: 20px;
}

.flex-m-t-0 {
    margin-top: 0px;
}

.flex-m-t-10 {
    margin-top: 10px;
}

.flex-m-t-20 {
    margin-top: 20px;
}

.flex-m-b-0 {
    margin-bottom: 0px;
}

.flex-m-b-5 {
    margin-bottom: 5px;
}

.flex-m-b-10 {
    margin-bottom: 10px;
}

.flex-m-b-20 {
    margin-bottom: 20px;
}

.flex-m-r-10 {
    margin-right: 10px;
}

/*padding*/
.flex-p-0 {
    padding: 0 !important;
}

.flex-p-3 {
    padding: 3px !important;
}

.flex-p-4 {
    padding: 4px !important;
}

.flex-p-5 {
    padding: 5px !important;
}

.flex-p-10 {
    padding: 10px;
}

.flex-p-15 {
    padding: 15px;
}

.flex-p-20 {
    padding: 20px;
}

.flex-p-t-0 {
    padding-top: 0px;
}
.flex-p-t-5 {
    padding-top: 5px;
}
.flex-p-t-10 {
    padding-top: 10px;
}

.flex-p-t-20 {
    padding-top: 20px !important;
}

.flex-p-b-0 {
    padding-bottom: 0px;
}
.flex-p-b-5 {
    padding-bottom: 5px;
}

.flex-p-b-10 {
    padding-bottom: 10px;
}

.flex-p-b-20 {
    padding-bottom: 20px;
}

.flex-p-r-0 {
    padding-right: 0px;
}

.flex-p-r-10 {
    padding-right: 10px;
}

.flex-p-r-20 {
    padding-right: 20px;
}
.flex-p-l-0 {
    padding-left: 0px;
}

.flex-p-l-10 {
    padding-left: 10px;
}

.flex-p-l-20 {
    padding-left: 20px;
}
/*End padding*/
.flex-text-center {
    text-align: center;
}

.flex-text-justify {
    text-align: justify;
}

.flex-p {
    color: #373737;
    font-size: 18px;
}

.flex-h4 {
    font-size: 40px;
}

.flex-font-size-40 {
    font-size: 40px;
    font-weight: bold;
}

.flex-font-size-32 {
    font-size: 32px;
    font-weight: bold;
}

.flex-font-size-16 {
    font-size: 16px;
    /*font-weight: normal !important;*/
}

.flex-font-size-14 {
    font-size: 14px;
}

.flex-font-size-12 {
    font-size: 12px;
}

.green {
    color: #00c139 !important;
}

.orange {
    color: #d7ac02 !important;
}

.red {
    color: #ff4835 !important;
}

.karboni {
    color: #2e44ff !important;
}

.black {
    color: #000000 !important;
}

.grey {
    color: #cccccc;
}

.blue {
    color: #2e44ff;
}

.flex-icon-40 {
    font-size: 40px;
    vertical-align: middle;
    color: #313131;
}

.flex-audio {
    border-radius: 6px;
    /*filter: sepia(20%) saturate(70%) grayscale(100%) contrast(99%) invert(100%);*/
    margin-bottom: 20px;
}

.ld-table-list.ld-assignment-list {
    display: none;
}

.flex-transition {
    transition: ease-in-out 200ms;
}

.flex-image {
    width: 70px !important;
    height: 60px !important;
    border-radius: 6px !important;
    object-fit: cover;
}

.flex-unlocked-lesson {
    background: #fff;
    padding: 5px 20px;
    font-size: 12px;
    border-radius: 10px;
}

.flex-icon-vertical-align {
    vertical-align: middle;
}


/*tablet view*/
@media only screen and (min-width: 641px) and (max-width: 1281px) {
    .flex-col-4-tab {
        max-width: 22%;
    }

    .flex-col-3-tab {
        max-width: 30%;
    }

    .flex-col-2-tab {
        max-width: 43%;
    }

    .flex-col-1-tab {
        max-width: 100%;
    }
}

/*mobile view*/
@media screen and (max-width: 640px) {
    .flex-mobile-wrap {
        flex-wrap: wrap;
    }

    .flex-mobile-full-width {
        width: 100%;
    }

    .flex-mobile-font-size-12 {
        font-size: 12px;
    }

    .flex-mobile-audio-width {
        width: 200px;
    }

    .flex-mobile-padding-20 {
        padding: 20px !important;
    }

    .flex-mobile-image {
        width: 250px !important;
        height: 160px !important;
    }

    .flex-col-4-mob {
        max-width: 22%;
    }

    .flex-col-3-mob {
        max-width: 30%;
    }

    .flex-col-2-mob {
        max-width: 45%;
    }

    .flex-col-1-mob {
        max-width: 100%;
    }
}


/*upload-form*/
.drop-zone {
    width: 450px;
    max-width: 450px;
    height: 200px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Quicksand", sans-serif;
    font-weight: 500;
    font-size: 20px;
    cursor: pointer;
    color: #cccccc;
    /*border: 2px dashed #2e44ff;*/
    border-radius: 5px;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%23ccc' stroke-width='3' stroke-dasharray='6%2c 14' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
}

.drop-zone--over {
    /*border-style: solid;*/
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%232e44ff' stroke-width='3'  stroke-linecap='square'/%3e%3c/svg%3e");

}

.drop-zone:hover {
    /*border-style: solid;*/
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='%232e44ff' stroke-width='3' stroke-dasharray='6%2c 14' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
}

.drop-zone__input {
    display: none !important;
}

.drop-zone__thumb {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f4f4f4;
    background-size: cover;
    position: relative;
}

.drop-zone__thumb::after {
    content: attr(data-label);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px 0;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.75);
    font-size: 14px;
    text-align: center;
}

.remove-file {

    margin-top: 20px;
    background: #fff;
    border: 2px solid #ff2e55;
    border-radius: 5px;
    padding: 8px 16px;
    line-height: 24px;
    font-size: 18px;
    color: #ff2e55;
    font-family: "Quicksand", sans-serif;
    cursor: pointer;
    transition: 200ms ease-in-out;
}

.remove-file:hover {
    background: #ff2e55;
    color: #fff;
}

.submit-form-btn {
    margin-top: 20px;
    background: #2e44ff;
    border: 2px solid #2e44ff;
    border-radius: 5px;
    padding: 8px 16px;
    line-height: 24px;
    font-size: 18px;
    color: #fff;
    font-family: "Quicksand", sans-serif;
    cursor: pointer;
}

.submit-form-btn-deactive {
    cursor: default;
    background: #ccc;
    border-color: #ccc;
}

.hide {
    display: none !important;
}

.drop-zone-hide {
    display: none !important;
}

.btn-recorder-red {
    background: #ff3737;
    padding: 15px;
    border: none;
    border-radius: 50px;
    color: #fff;
    transition: ease-in-out 200ms;
    cursor: pointer;
}

.btn-recorder-red i {
    color: #fff;
    font-size: 20px;
}

.btn-recorder-orange i {
    color: #000;
    font-size: 25px;
}

.btn-recorder-red:hover {
    background: #8c8c8c;
}

.btn-recorder-orange {
    background: #ff9e37;
    padding: 20px;
    border: none;
    border-radius: 50px;
    color: #000;
    transition: ease-in-out 200ms;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(88, 120, 243, 0.4);
    -moz-animation: pulse 2s infinite;
    -webkit-animation: pulse 2s infinite;
    animation: pulse 2s infinite;
}

.btn-recorder-orange:hover {
    background: #8c8c8c;
}

.btn-recorder-start {
    background: #ff3737;
    padding: 15px;
    border: none;
    border-radius: 50px;
    color: #000;
    transition: ease-in-out 200ms;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
    -moz-animation: pulse 2s infinite;
    -webkit-animation: pulse 2s infinite;
    animation: pulse 2s infinite;
}

.btn-recorder-start i {
    color: #000;
    font-size: 20px;
}

.btn-recorder-orange:hover {
    background: #8c8c8c;
}


/*Pulsing Button Block */
.flex-image-my-course {
    height: 80px !important;
    max-width: 80px !important;
    border: 2px solid #d4ceff !important;
    border-radius: 100px !important;
    padding: 5px !important;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 1);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 50px rgba(255, 0, 0, 0);
    }
}

.li-file {
    list-style: none;
}

.flex-a {
    text-decoration: none;
}

.flex-disabled {
    pointer-events: none;
    cursor: pointer;
    background: #ececec;
    border-color: #ececec;
    color: #c2c2c2;
}

.flex-pagination {
    background: #ffeed8;
    border: 2px solid #ffe2bc;
    color: orange;
}

.lms-header-title, .sfwd-mark-complete {
    display: none !important;
}


.tab input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.tab__content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s;
    padding-bottom: 10px;
}

.tab input:checked ~ .tab__content {
    max-height: 100rem;
}

/* Visual styles */
.accordion {
    color: #000;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fff;
}

.tab__label,
.tab__close {
    display: flex;
    color: #000;
    background: #eeeeee;
    cursor: pointer;
}

.tab__label {
    justify-content: space-between;
    padding: 1rem;
}

.tab__label::after {
    content: "\276F";
    width: 1em;
    height: 1em;
    text-align: center;
    transform: rotate(90deg);
    transition: all 0.35s;
}

.tab input:checked + .tab__label::after {
    transform: rotate(270deg);
}

.tab__content p {
    margin: 0;
    padding: 10px;
}

.tab__close {
    justify-content: flex-end;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

/* Arrow animation */
.tab input:not(:checked) + .tab__label:hover::after {
    animation: bounce .5s infinite;
}

@keyframes bounce {
    25% {
        transform: rotate(90deg) translate(.25rem);
    }
    75% {
        transform: rotate(90deg) translate(-.25rem);
    }
}

.course-img {
    position: relative;
    width: 100%;
    max-width: 624px; /* همان اندازه عکس */
}

.course-txt-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-img:hover .course-txt-img {
    opacity: 1;
}