@import "fonts.css";

* {
    margin: 0;
    padding: 0;
    text-decoration: none !important;
    direction: rtl;
    color: black;
}

html {
    scroll-behavior: smooth;
}

body {
    direction: rtl;
    text-align: right !important;
    font-family: scirsnsyekan !important;
    background-color: #ffffff;
    cursor: default;
}

.banner-bg {
    height: 100vh;
    background-image: url("../img/04-1.jpg");
}


.text-dark-blue {
    color: #273044;
}

h5 {
    font-weight: 700;
}

.text-justify {
    text-align: justify;
}

.nav-tabs .nav-item .nav-link.active {
    background-color: white;
}

.nav-tabs .nav-item a {
    color: #273044;
    font-weight: 600;
}

/*.tab-content div {*/
/*    padding: 2rem;*/
/*}*/

.fit-image {
    max-width: 100%
}

#course-description ul, ol {
    padding-right: 2rem;
}

#register-btn {
    background-color: #195ec8;
}

.dropdown-toggle::after {
    color: #6C757D;
}

.btn-primary, .btn-primary.btn-block {
    background-color: #195ec8 !important;
}

.light_blue, .fa-layer-group, .fa-money-bill-wave, .fa-bullhorn, .fa-clock, .fa-check, .fa-dumbbell{
    color: #8ab6c8;
}

.avatar {
    border-radius: 50%;
    max-width: 60px;
    max-height: 60px;
    object-fit: cover;
    vertical-align: middle;
    box-sizing: border-box;
    width: 215px;
}

.dropdown-toggle {
    border: 1px solid rgba(255, 255, 255, .2);
    background-color: #F0F4FA !important;
}

.ltr-direction {
    direction: ltr !important;
    unicode-bidi: embed;
    text-align: left !important;
}


.carousel-item img {
    width: 100%;
}

.carousel-control-prev {
    right: auto;
}

.bg-dark-blue {
    background-color: #195ec8;
}

.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}

.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.33;
    border-radius: 25px;
}

.sections-index-header:hover {
    background-color: #cfc8c7;
}

.selected-lesson-bg {
    background-color: #e6dfde !important;
}

.selected-item-bg {
    background-color: #e6dfde !important;
}

.lesson-check {
    box-shadow: inset 0 4px 5px rgb(0 0 0 / 18%);
}


.r1_iframe_embed {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    padding-top: 56.25%;
}

.r1_iframe_embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.current_lesson {
    box-shadow: 0 5px 10px rgb(0 0 0 / 18%);
    z-index: 90;
}

.current_item {
    box-shadow: 0 5px 10px rgb(0 0 0 / 18%);
    z-index: 90;
}

.bg-alice-blue {
    background-color: #f0f4fa
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-scroll {
    overflow: scroll;
}

.modal-header {
    border-bottom: 0px solid #e9ecef !important;
}

p {
    line-height: 1.8rem;
}


.loader {
    border: 10px solid #f3f3f3; /* Light grey */
    border-top: 10px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.player-caption {
    margin: 0 auto;
    margin-top: -70px;
    text-align:center;
    position: relative;
    width:40%;
}

.comment-header-bg-color {
    background-color: #808080 !important;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.date-font-size {
    font-size: small;
}

.width-fit-content {
    width: fit-content;
}

.popover {
    font-family: inherit !important;
    text-align: justify !important;
}

.valid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #00a550;
}

.was-validated .form-control:valid, .form-control.is-valid {
    border-color: #00a550;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:valid:focus, .form-control.is-valid:focus {
    border-color: #00a550;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.was-validated .custom-select:valid, .custom-select.is-valid {
    border-color: #00a550;
    padding-right: calc(0.75em + 2.3125rem);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px, url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") #fff no-repeat center right 1.75rem/calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .custom-select:valid:focus, .custom-select.is-valid:focus {
    border-color: #00a550;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label {
    color: #00a550;
}

.was-validated .custom-control-input:valid ~ .custom-control-label, .custom-control-input.is-valid ~ .custom-control-label {
    color: #00a550;
}

.was-validated .custom-control-input:valid ~ .custom-control-label::before, .custom-control-input.is-valid ~ .custom-control-label::before {
    border-color: #00a550;
}

.was-validated .custom-control-input:valid:focus:not(:checked) ~ .custom-control-label::before, .custom-control-input.is-valid:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #00a550;
}

.was-validated .custom-file-input:valid ~ .custom-file-label, .custom-file-input.is-valid ~ .custom-file-label {
    border-color: #00a550;
}

.was-validated .custom-file-input:valid:focus ~ .custom-file-label, .custom-file-input.is-valid:focus ~ .custom-file-label {
    border-color: #00a550;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.btn-success {
    color: #fff;
    background-color: #00a550;
    border-color: #00a550;
}

.btn-success.disabled, .btn-success:disabled {
    color: #fff;
    background-color: #00a550;
    border-color: #00a550;
}

.btn-outline-success {
    color: #00a550;
    border-color: #00a550;
}

.btn-outline-success:hover {
    color: #fff;
    background-color: #00a550;
    border-color: #00a550;
}

.btn-outline-success.disabled, .btn-outline-success:disabled {
    color: #00a550;
    background-color: transparent;
}

.btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active,
.show > .btn-outline-success.dropdown-toggle {
    color: #fff;
    background-color: #00a550;
    border-color: #00a550;
}

.badge-success {
    color: #fff;
    background-color: #00a550;
}

.bg-success {
    background-color: #00a550 !important;
}

.border-success {
    border-color: #00a550 !important;
}

.text-success {
    color: #00a550 !important;
}

.popover-border-color {
    border-color: #00a550;
}

swiper-container {
    width: 100%;
    height: 100%;
}

swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

[dir="ltr"] {
    direction: ltr !important;
    unicode-bidi: embed;    /* make sure the ltr embedding takes effect */
    text-align: left !important;
}
