/* CUSTOM CSS */
/*
https://www.colorhexa.com/593da8
*/

/* [x-cloak] { display: none !important; } */

#mobile-nav-bar {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

#mobile-nav-bar #items-col .col {
    border-right: 1px solid #e0e0e0;
}

#mobile-nav-bar #items-col .col a {
    background-color: white;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 10px;
}

.text-overflow-dots {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#login-cover {
    background-image: url("images/login-popup.png");
}

.text-brand-secondary {
    color: #8f3da8;
}

.text-brand-light {
    color: #e2229f;
}

.text-brand {
    color: #803199;
}

#searchModal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    /* background-image: radial-gradient(transparent, black); */
    background-color: rgba(0, 0, 0, 0.5);
}

.course-sidebar.active {
    display: block;
}

.course-player-nav {
    background-color: transparent !important;
    background-image: linear-gradient(-20deg, #202942, #0b2750) !important;
}

.course-lectures-sidebar-card .play-circle {
    width: 30px;
    height: 30px;
    background-color: #2eca8b;
    border-radius: 50%;
    display: inline-block !important;
    border: 1px solid #2eca8b;
}

.course-lectures-sidebar-card a {
    overflow: hidden;
    text-overflow: ellipsis;
}

.course-lectures-sidebar-card {
    background-color: rgba(255, 255, 255, 0.1);
}

.lecture-nav-tabs .nav-item button.active {
    font-weight: bold !important;
    color: #000;
}

.lecture-nav-tabs .nav-item button:not(.active) {
    font-weight: normal !important;
    color: #555;
}

#coursePlayerSidebarMenu {
    background-color: #0f1c31;
}

.section-bg {
    padding: 110px 0 30px;
    background-size: cover;
    align-self: center;
    position: relative;
    background-position: center center;
}

/* 
.btn-primary {
  border: 3px solid #593da8 !important;
  border-color: #a83d8c !important;
  background-color: #593da8 !important;
}
*/

.btn-sm {
    font-size: 14px !important;
}

html[dir="rtl"] * {
    font-family: "Tajawal", sans-serif !important;
}

.skip-10-secs i,
.back-10-secs i {
    font-size: 70px;
    line-height: 70px;
    text-align: center;
}

.skip-10-secs,
.back-10-secs {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 555;
    opacity: 0;
    transition: 0.2s all ease-in-out;
}

.skip-10-secs {
    right: 20%;
}

.back-10-secs {
    left: 20%;
}

#playerCard:hover .skip-10-secs,
#playerCard:hover .back-10-secs {
    opacity: 1;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background: #727a85;
    border-radius: 13px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3d57a8;
}

::-webkit-scrollbar-track {
    background: #ffffff;
    border: 1.8px solid #ffffff;
    border-radius: 13px;
    box-shadow: inset 3px 3px 21px 0px #bdbdbd;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    background-color: #fff !important;
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.notify {
    z-index: 999 !important;
}

.parsley-error,
.parsley-error:focus {
    border-color: red !important;
}

.parsley-success {
    border-color: #38bc84;
}

.parsley-errors-list:not(:empty):before {
    content: "\e9b1";
    position: absolute;
    font-family: "unicons-line";
    margin-left: -20px;
    margin-right: 15px;
}

.parsley-errors-list:not(:empty) {
    margin-top: 5px !important;
    background-color: #f75676;
    border: 1px solid #f75676;
    border-radius: 5px;
    color: #fff;
    padding: 5px 7px;
    padding-left: 25px;
    list-style: none;
}

#profile-particles-js,
#particles-js {
    max-height: 300px;
    overflow: hidden;
}

.particles-js {
    position: relative;
    /* padding-bottom: 50px!important; */
    /* padding-top: 0px */
}

#profile-particles-js,
#particles-js {
    position: absolute;
    width: 100%;
    top: 0;
}

#profile-particles-js::before,
#particles-js::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background-image: linear-gradient(
        to top,
        transparent,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 1) 100%
    );
}

.popover .arrow::before {
    border-bottom-color: white;
    /* might need to add !important */
}

.popover-body {
    /* padding: 0; */
}

.popover-header {
    font-size: 1em !important;
}

[data-readmore] {
    overflow: hidden;
    /* max-height: 70px !important;
      height: auto !important; */
}

.list-group-item.active {
    background: #dee2e6;
}

.underline-dashed {
    border-bottom: 2px dashed #e0e0e0;
}

.card.blog img {
    max-height: 260px;
    /* min-height: 260px; */
    object-fit: cover;
    object-position: center;
}

.card-img-top {
    min-height: 260px;
}

.object-fit {
    object-fit: cover !important;
    object-position: center !important;
}

.object-contain {
    object-fit: contain !important;
    object-position: center !important;
}

.post-recent-thumb img {
    /* max-height: 60px; */
    max-width: 75px;
    max-height: 60px;
    object-fit: cover;
    object-position: center;
}

.text-link {
    color: #0d6efd;
}

a.mention {
    display: inline-block;
    background: #f3f3f3 !important;
    border-radius: 5px;
    padding: 2px;
    color: #0d6efd;
    font-weight: normal;
}

.note-popover.bottom.note-hint-popover {
    width: 100%;
}

.swal-footer {
    text-align: center;
}

#comments li {
    border-radius: 50px !important;
}

.truncate-text {
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.truncate-line {
    min-width: 250px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.livewire-loader .loader {
    position: relative;
    margin: 0px auto;
    width: 200px;
    height: 200px;
}

.livewire-loader .loader:before {
    content: "";
    display: block;
    padding-top: 100%;
}

.circular-loader {
    -webkit-animation: rotate 2s linear infinite;
    animation: rotate 2s linear infinite;
    height: 100%;
    -webkit-transform-origin: center center;
    -ms-transform-origin: center center;
    transform-origin: center center;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: auto;
}

.loader-path {
    stroke-dasharray: 150, 200;
    stroke-dashoffset: -10;
    -webkit-animation: dash 1.5s ease-in-out infinite,
        color 6s ease-in-out infinite;
    animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
    stroke-linecap: round;
}

@-webkit-keyframes rotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124;
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124;
    }
}

@-webkit-keyframes color {
    0% {
        stroke: #0f2981;
    }

    40% {
        stroke: #0f2981;
    }

    66% {
        stroke: #0f2981;
    }

    80%,
    90% {
        stroke: #0f2981;
    }
}

@keyframes color {
    0% {
        stroke: #0f2981;
    }

    40% {
        stroke: #0f2981;
    }

    66% {
        stroke: #0f2981;
    }

    80%,
    90% {
        stroke: #0f2981;
    }
}

#explore-section {
    background: url("../images/clouds.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 80px;
    padding-bottom: 120px;
}

#explore-section img.rocket {
    animation: rocket 0.8s infinite;
    width: 350px;
}

@keyframes rocket {
    0% {
        transform: translate3d(0px, 0px, 0);
    }

    50% {
        transform: translate3d(0px, -4px, 0);
    }

    100% {
        transform: translate3d(0px, 0px, 0);
    }
}

.bg-primary-darker {
    background-color: #171d2f;
}

.splide__slide img {
    vertical-align: middle !important;
    margin: auto;
}

.course-price {
    position: absolute;
    right: 15px;
    top: 15px;
}

.courses-slider .slick-list {
    padding-bottom: 10px;
}

.subcribe-form .btn {
    z-index: 555;
}

/*
.vjs-c180-skin.video-js {
  color: #00ff00;
}

.vjs-c180-skin .vjs-big-play-button {
  border-color: #00ff00;
}

.vjs-c180-skin .vjs-volume-level,
.vjs-c180-skin .vjs-play-progress,
.vjs-c180-skin .vjs-slider-bar {
  background: #00ff00;
}

.video-js.vjs-hls-quality-selector{display:block}
*/

.bg-half {
    padding: 130px 0 100px !important;
}

.rocket-holder {
    width: auto;
}

html[dir="rtl"] .rocket-holder {
    transform: scaleX(-1);
}

.lh1 {
    line-height: 1 !important;
}

.pagination .page-item:last-child .page-link {
    border-top-right-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
}

.pagination .page-item:first-child .page-link {
    border-top-left-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
}

.wire-root.disabled {
    position: relative;
}

.wire-root.disabled::after {
    display: block;
    z-index: 0 !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

fieldset {
    position: relative;
    padding-top: 30px !important;
}

fieldset legend {
    position: absolute;
    top: -10px;
    left: 10px;
    background-color: #fff;
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    padding: 0 10px;
    width: auto !important;
}

.user-notices {
    /* width: 80%; */
    /* max-width: 80%; */
    z-index: 5;
}

.user-notices .alert {
    background-color: #ffeeb1 !important;
    color: rgba(0, 0, 0, 0.5);
}

.swal-confirm {
    border-radius: 0px;
}

.swal-confirm .swal-title {
    font-size: 20px;
    text-align: start;
    padding-left: 70px;
    background-image: url(../images/warning.png);
    background-size: 40px;
    background-position: center left 20px;
    background-repeat: no-repeat;
}

.swal-confirm .swal-footer {
    text-align: end;
    border-top: 1px solid #e0e0e0;
    margin-top: 15px !important;
}

.swal-confirm .swal-text {
    display: none;
}

#program-accordion .accordion-item {
    box-shadow: none;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    margin-top: -1px;
}

.accordion .accordion-item .accordion-button:not(.collapsed) {
    color: #3f3f3f;
}

.accordion .accordion-item .accordion-button {
    background-color: #f2f2f2;
}

.bootbox-close-button {
    border: 1px solid #e3e3e3;
    background: none;
    border-radius: 5px;
}

.border-secondary {
    border-color: #e0e0e0 !important;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #e0e0e0;
}

.step-circle.step-completed {
    background-color: #2eca8b;
    border: 2px solid #2eca8b;
    color: #fff;
}

.select2-container {
    width: 100% !important;
}

span.select2-selection {
    border: 1px solid #e9ecef !important;
    height: 39px !important;
    line-height: 26px !important;
}

.select2-container.select2-container--default.select2-container--open {
    z-index: 99999 !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 39px !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow
    b {
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.5rem center !important;
    background-size: 16px 12px !important;
    border: none !important;
    height: 20px !important;
    width: 25px !important;
    left: -5px !important;
}

.start-rating {
    font-size: 24px;
}

.star-wrapper {
    direction: rtl;
}

.star-wrapper a {
    font-size: 1.5em;
    color: #999;
    text-decoration: none;
    transition: all 0.5s;
}

.star-wrapper a:hover {
    color: gold;
    transform: scale(1.2);
}

.s1:hover ~ a {
    color: gold;
}

.s2:hover ~ a {
    color: gold;
}

.s3:hover ~ a {
    color: gold;
}

.s4:hover ~ a {
    color: gold;
}

.s5:hover ~ a {
    color: gold;
}

a.checked {
    color: gold;
}
