﻿.scollBtns {
    position: relative;
    text-align: center;
    display: none;
}

    .scollBtns button {
        background: white;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        font-size: 18px;
        color: #288fd8;
        border: 1px solid;
        margin: 0 2px;
        padding: 0;
        text-align: center;
      
        -webkit-touch-callout: none;
    }

        .scollBtns button[disabled] {
            opacity: 0.3;
        }
.text-center {
    text-align: center;
}

.mg-top-5 {
    margin-top: 5px;
}

.mg-0 {
    margin: 0 !important;
}

.class-data-inner h4 {
    margin-bottom: 0;
}

.mg-btm-5 {
    margin-bottom: 5px !important;
}

.mg-btm-10 {
    margin-bottom: 10px !important;
}

.mg-rt-5 {
    margin-right: 5px;
}

.flx-algn-center {
    display: flex;
    align-items: center;
}

.widget-icons i {
    color: #9a9b9b;
    font-size: 19px;
}

.class-data-inner {
    display: flex;
    align-items: center;
    margin: 13px 9px 0 9px;
    /* border-bottom: 1px solid #ececec; */
    /* padding-bottom: 8px; */
    border-left: 3px solid #a27af1;
}

.class-widget-item-inner {
    padding: 6px;
    width: 265px;
    height: 100%;
}

.class-label {
    margin-left: 10px;
}

    .class-label p, .time-label p {
        color: #6d6d6d;
        font-size: 13px;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        overflow: hidden;
    }

    .class-label h4, .time-label h4 {
        color: black;
        font-size: 13.5px;
    }

.widget-items-inner {
    background: white;
    margin: 2px;
    padding: 11px;
    position: relative;
    /*border-radius: 25px;*/
    padding-bottom: 100px;
    height: 100%;
    position: relative;
    border-radius: 15px;
}

.class-widgets-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.addtoClass-inner-item {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.help-icon {
    color: #c4c4c4 !important;
    font-size: 12px !important;
    margin-left: 4px;
}

.flx-column {
    display: flex;
    margin: 11px 12px 0;
    align-items: normal;
    justify-content: space-between;
}

.time-widget-item-inner {
    padding: 0 10px;
}

.days-widget {
    box-shadow: 1px 1px 10px 0px #e6e6e6;
    border-radius: 13px;
}

.timeCarousel .carousel-inner > .item {
    padding: 10px 0;
}

.week-days {
    width: 100%;
    text-align: center;
    margin: auto;
}

    .week-days span {
        font-size: 12px;
        padding: 0px;
        color: dimgrey;
        font-weight: 700;
        align-items: center;
        background: white;
        margin: 4px;
        height: 29px;
        justify-content: center;
        width: 28px;
        display: inline-flex;
        border-radius: 5px;
        box-shadow: 2px 2px 5px 1px #efefef;
    }

        .week-days span.active {
            color: #fff;
        }

        .week-days span:not(.active):hover {
            background: #2660e2;
            color: white;
            transition: 0.5s ease all;
            cursor: pointer;
        }

.amount-label, .price-label, .class {
    font-weight: 600;
    display: inline-block;
}

.timeAmount-widgets {
    margin-top: 15px;
}

.price-label {
    color: black;
    font-size: 17px;
}

.class {
    width: 234px;
}

.amount-label {
    max-width: 155px;
}

.amount-label, .class {
    color: #a27af1;
    font-size: 17px;
    margin-left: 3px;
    text-transform: capitalize;
    word-break: break-word;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

.btn-widget {
    color: white;
    padding: 8px 18px;
    display: flex;
    justify-content: center;
    position: absolute;
    align-items: center;
    width: 85%;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 27px;
    font-size: 13px;
    border-radius: 9px;
    border: 0 !important;
    opacity: 1 !important;
}

    .btn-widget:hover, .btn-widget:active, .btn-widget:focus {
        color: white !important;
    }

    .btn-widget i {
        font-size: 13px;
    }

.class-widget-items:nth-child(5n+1) .week-days span.active, .class-widget-items:nth-child(5n+1) .btn-widget, .class-widget-items:nth-child(5n+1) .week-days label input.days-checkbox:checked ~ span,
.class-widget-items:nth-child(5n+1) .week-days span:not(.active):hover, .class-widget-items:nth-child(5n+1) .anyTime--class,
.class-widget-items:nth-child(5n+1) .amount-tags span, .class-widget-items:nth-child(5n+1) .AmountLabel-tags .time-span {
    background: var(--first-color);
}

.class-widget-items:nth-child(5n+2) .week-days span.active, .class-widget-items:nth-child(5n+2) .btn-widget, .class-widget-items:nth-child(5n+2) .week-days label input.days-checkbox:checked ~ span,
.class-widget-items:nth-child(5n+2) .week-days span:not(.active):hover, .class-widget-items:nth-child(5n+2) .anyTime--class,
.class-widget-items:nth-child(5n+2) .amount-tags span, .class-widget-items:nth-child(5n+2) .AmountLabel-tags .time-span {
    background: var(--second-color);
}

.class-widget-items:nth-child(5n+3) .week-days span.active, .class-widget-items:nth-child(5n+3) .btn-widget, .class-widget-items:nth-child(5n+3) .week-days label input.days-checkbox:checked ~ span,
.class-widget-items:nth-child(5n+3) .week-days span:not(.active):hover, .class-widget-items:nth-child(5n+3) .anyTime--class,
.class-widget-items:nth-child(5n+3) .amount-tags span, .class-widget-items:nth-child(5n+3) .AmountLabel-tags .time-span {
    background: var(--third-color);
}

.class-widget-items:nth-child(5n+4) .week-days span.active, .class-widget-items:nth-child(5n+4) .btn-widget, .class-widget-items:nth-child(5n+4) .week-days label input.days-checkbox:checked ~ span,
.class-widget-items:nth-child(5n+4) .week-days span:not(.active):hover, .class-widget-items:nth-child(5n+4) .anyTime--class,
.class-widget-items:nth-child(5n+4) .amount-tags span, .class-widget-items:nth-child(5n+4) .AmountLabel-tags .time-span {
    background: var(--fourth-color);
}

.class-widget-items:nth-child(5n+5) .week-days span.active, .class-widget-items:nth-child(5n+5) .btn-widget, .class-widget-items:nth-child(5n+5) .week-days label input.days-checkbox:checked ~ span,
.class-widget-items:nth-child(5n+5) .week-days span:not(.active):hover, .class-widget-items:nth-child(5n+5) .anyTime--class,
.class-widget-items:nth-child(5n+5) .amount-tags span, .class-widget-items:nth-child(5n+5) .AmountLabel-tags .time-span {
    background: var(--fifth-color);
}


.class-widget-items:nth-child(5n+1) .AmountLabel-tags .price .auto-detuct {
    background: var(--first-color);
}
.class-widget-items:nth-child(5n+2) .AmountLabel-tags .price .auto-detuct {
    background: var(--second-color);
}
.class-widget-items:nth-child(5n+3) .AmountLabel-tags .price .auto-detuct {
    background: var(--third-color);
}
.class-widget-items:nth-child(5n+4) .AmountLabel-tags .price .auto-detuct {
    background: var(--fourth-color);
}
.class-widget-items:nth-child(5n+5) .AmountLabel-tags .price .auto-detuct {
    background: var(--fifth-color);
}


.class-widget-items:nth-child(5n+1) .class-data-inner {
    border-left: 3px solid var(--first-color);
}

.class-widget-items:nth-child(5n+2) .class-data-inner {
    border-left: 3px solid var(--second-color);
}

.class-widget-items:nth-child(5n+3) .class-data-inner {
    border-left: 3px solid var(--third-color);
}

.class-widget-items:nth-child(5n+4) .class-data-inner {
    border-left: 3px solid var(--fourth-color);
}

.class-widget-items:nth-child(5n+5) .class-data-inner {
    border-left: 3px solid var(--fifth-color);
}

.class-widget-items:nth-child(5n+1) .amount-label, .class-widget-items:nth-child(5n+1) .class {
    color: var(--first-color);
}

.class-widget-items:nth-child(5n+2) .amount-label, .class-widget-items:nth-child(5n+2) .class {
    color: var(--second-color);
}

.class-widget-items:nth-child(5n+3) .amount-label, .class-widget-items:nth-child(5n+3) .class {
    color: var(--third-color);
}

.class-widget-items:nth-child(5n+4) .amount-label, .class-widget-items:nth-child(5n+4) .class {
    color: var(--fourth-color);
}

.class-widget-items:nth-child(5n+5) .amount-label, .class-widget-items:nth-child(5n+5) .class {
    color: var(--fifth-color);
}

.class-widget-items:nth-child(5n+1) .widget-items-inner:after {
    background: linear-gradient(130deg, var(--first-color), rgb(255 255 255 / 13%) 91.07%, var(--first-color) 91.07%);
}

.class-widget-items:nth-child(5n+2) .widget-items-inner:after {
    background: linear-gradient(130deg, var(--second-color), rgb(255 255 255 / 13%) 91.07%, var(--second-color) 91.07%);
}

.class-widget-items:nth-child(5n+3) .widget-items-inner:after {
    background: linear-gradient(130deg, var(--third-color), rgb(255 255 255 / 13%) 91.07%, var(--third-color) 91.07%);
}

.class-widget-items:nth-child(5n+4) .widget-items-inner:after {
    background: linear-gradient(130deg, var(--fourth-color), rgb(255 255 255 / 13%) 91.07%, var(--fourth-color) 91.07%);
}

.class-widget-items:nth-child(5n+5) .widget-items-inner:after {
    background: linear-gradient(130deg, var(--fifth-color), rgb(255 255 255 / 13%) 91.07%, var(--fifth-color) 91.07%);
}

.classlist-cancel-btn, .classlist-cancel-btn:hover {
    background: #1271c4;
    color: white;
    padding: 8px 35px;
    border-radius: 7px;
    font-size: 16px;
}

.addtocart-btn {
    background: #1271c4;
    color: white !important;
    padding: 8px 35px;
    border-radius: 7px;
    font-size: 16px;
}

.modal-close-btn {
    position: absolute;
    right: 0;
}

#CoursesListModal .modal-header:before, #CoursesListModal .modal-header:after {
    display: none;
}

#CoursesListModal .modal-header, #ClassDetailsModal .modal-header {
    background: transparent !important;
    border: 0;
    position: relative;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 18px 39px 10px;
    flex-wrap:wrap;
}

    #CoursesListModal .modal-header .modal-header-text, #ClassDetailsModal .modal-header .modal-header-text span:first-child {
        color: black !important;
        justify-content: center !important;
        font-size: 22px !important;
        padding-left: 10px;
        border-left: 3px solid;
        font-weight: 700;
        /*width: 100%;*/
    }

    #ClassDetailsModal .modal-header .modal-header-text span:last-child {
        color: #288fd8 !important;
        justify-content: center !important;
        font-size: 17px !important;
        font-weight: 600;
        margin-top: 3px;
    }

#CoursesListModal .modal-dialog .modal-content, #ClassDetailsModal .modal-dialog .modal-content {
    border-radius: 0 !important;
    border: 0 !important;
    background: #f5f7fdfa;
    height: auto;
    min-height: 100%;
}

.modal.left.fade .modal-dialog {
    left: -320px;
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
    -o-transition: opacity 0.3s linear, left 0.3s ease-out;
    transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.left.fade.in .modal-dialog {
    left: 0;
}

#CoursesListModal .modal-footer {
    border: 0 !important;
    padding-right: 30px;
}

.fee-week {
    margin: 0;
    font-size: 11px;
    text-align: end;
    color: #6d6d6d;
}

#CoursesListModal .modal-header button i, #ClassDetailsModal .modal-header button i {
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    z-index: 1100;
    position: absolute;
    font-size: 16px;
    right: -18px;
    justify-content: center;
    opacity: 1;
    color: #288fd8;
}

#CoursesListModal .modal-header button, #ClassDetailsModal .modal-header button {
    opacity: 1;
}

.class-widget-items:hover .widget-items-inner:after {
    -webkit-animation: slide 1s normal;
    animation: slide 1s normal;
}

.class-widget-items:hover .widget-items-inner:before {
    -webkit-animation: slide1 0.6s normal;
    animation: slide1 0.6s normal;
}

.widget-items-inner:after {
    content: '';
    top: 23px;
    transform: translateY(-5%);
    width: 103%;
    height: 100%;
    position: absolute;
    z-index: -1;
    opacity: 0;
    /* border-radius: 28px; */
    left: -3px;
}

.widget-items-inner:before {
    content: '';
    top: 0px;
    opacity: 0;
    transform: translateY(-1%);
    width: 100%;
    height: 102%;
    position: absolute;
    z-index: -1;
    background: linear-gradient(130deg, rgb(190 234 136) 41.07%, rgb(65 236 126) 76.05%);
    /* border-radius: 28px; */
    left: 0px;
    /* bottom: -5px; */
}

.class-widget-items {
    position: relative;
    z-index: 0;
    margin: 9px;
    overflow: hidden;
    padding-bottom: 4px;
    border-radius: 18px;
    display: flex;
}

.left-arrow, .right-arrow {
    background-image: unset !important;
    background-repeat: unset !important;
    top: 0;
    bottom: 0;
    margin: auto;
    background: white;
    width: 22px;
    height: 22px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    border-radius: 50%;
    background: white;
    box-shadow: 1px 1px 5px 0px #e7e7e7;
}

.right-arrow {
    right: -7px !important;
}

.left-arrow {
    left: -7px !important;
}

.fa-chevron-left, .fa-chevron-right {
    color: dimgrey;
}

.carousel-inner > .item {
    transition: transform 0.6s ease-in-out !important;
}

@keyframes slide {
    0% {
        opacity: 1;
        transform: translateY(-100%);
    }

    25% {
        opacity: 0.5;
        transform: translateY(-25%);
    }

    75% {
        opacity: 0.7;
        transform: translateY(75%);
    }

    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes slide1 {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.modal-header:before, .modal-header:after {
    display: none;
}

#CoursesListModal, #ClassDetailsModal {
    padding: 0 !important;
}

.owl-stage .owl-item.active {
    width: 100%;
}

.auto-detuct, .time-span {
    background: #a27af1;
    color: white;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 11px;
}

.instructor-info {
    line-height: 1.1;
}

.AmountLabel-tags {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.instructor-info h4 {
    font-size: 13.5px;
}
.course-has-class-addons {
    position: absolute;
    bottom: 21px;
    left: 0;
    right: 0;
    margin: 0;
}
    .course-has-class-addons .enroll-unenroll-btn {
        padding: 0;
        margin-bottom: 6px;
    }
        .course-has-class-addons .enroll-unenroll-btn .btn-widget {
            position: unset;
            visibility: visible !important;
        }
    .course-has-class-addons .add-on-btn {
        padding: 0;
        margin-bottom: 6px;
    }
        .course-has-class-addons .add-on-btn .btn-widget {
            position: unset;
        }
@media screen and (max-width:768px) {
    .classlist-cancel-btn, .classlist-cancel-btn:hover {
        padding: 8px 16px;
    }  
}
@media screen and (max-width:425px) {
    #CoursesListModal .modal-header button i, #ClassDetailsModal .modal-header button i {
        bottom: -15px;
        right: 15px !important;
        top: -58px;
    }

    #CoursesListModal .modal-header, #ClassDetailsModal .modal-header {
        padding: 25px 6px 10px !important;
    }

    #ClassDetailsModal .modal-header-text {
        flex-direction: column;
        align-items: center;
    }

    #ClassDetailsModal .modal-header .modal-header-text span:first-child {
        font-size: 20px !important;
    }
}



@media screen and (max-width:320px) {

    .class-widget-item-inner {
        width: 100%;
    }

    .time-widget-item-inner {
        padding: 0;
    }
}

@media screen and (min-width: 992px) {
    #CoursesListModal .modal-lg, #ClassDetailsModal .modal-lg {
        width: 95% !important;
        height: 100%;
    }
}

@media screen and (max-width:991px) {
    #CoursesListModal .modal-dialog, #ClassDetailsModal .modal-dialog {
        width: 100%;
    }

    .class-widgets-wrapper {
        justify-content: space-evenly !important;
    }

    #CoursesListModal .modal-header, #ClassDetailsModal .modal-header {
        padding: 25px 62px 10px;
    }
     #CoursesListModal .modal-header, #ClassDetailsModal .modal-header {
        padding: 25px 62px 10px;
    }

        #CoursesListModal .modal-header button i, #ClassDetailsModal .modal-header button i {
            right: 9px !important;
            box-shadow: 1px 1px 9px 3px #e6e4e4 !important;
            top: -18px;
        }

    .class-widget-items {
        margin-bottom: 40px !important;
    }
}
.slide_from_left:not(.in) .modal-dialog{
    transform:translate(-100%,0)
}
@media screen and (max-width:767px){
    #CoursesListModal .modal-header, #ClassDetailsModal .modal-header {
        padding: 25px 8px 10px;
    }
    #ClassDetailsModal .modal-dialog, #ClassDetailsModal .modal-dialog .modal-content {
        height: 100%;
        overflow: hidden;
    }
    .class-widgets-wrapper {
        margin-bottom: 80px;
    }
    .age-field-main {
        grid-gap: 5px
    }
    .addtocart-btn{
        padding: 5px 8px;
    }
    #CoursesListModal .modal-header button i, #ClassDetailsModal .modal-header button i{
        width: 30px;
        height: 30px;
    }
    .scollBtns {
        display: inline-block;
    }
}
/*image fieldset UI*/
.age-field-main {
    display: flex;
    grid-gap: 10px
}

    .age-field-main .btn-primary {
        margin-bottom: 10px;
    }

.age-input {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
}

    .age-input input {
        z-index: 1;
        border: none;
        outline: none;
        background: #ffffff;
        padding: 11px 6px 11px 98px;
        border-radius: 3px;
        font-weight: 200;
        width: 100%;
        height: 44px;
    }

        .age-input input:focus ~ .text {
            background: #288fd8;
            color: #ffffff;
            font-size: 11px;
        }

        .age-input input:focus {
            padding: 20px 20px 20px 84px;
        }
.age-to-input input:focus {
    padding: 20px 20px 20px 70px;
}
.age-input .text {
    border-radius: 3px 0 0 3px;
    display: block;
    position: absolute;
    top: 0px;
    left: 0;
    z-index: 2;
    padding: 14px 7px;
    transition: 0.25s ease-in-out;
    background: rgb(218 222 232 / 62%);
    text-transform:capitalize

}
/* make class widgets days selectable change*/

.class-widget-items .anyTime--class {
    position: absolute;
    right: -24px;
    top: 14px;
    transform: rotate(44deg);
    width: 100px;
    text-align: center;
    padding: 3px 0;
    color: #fff;
}
.class-widget-items .anyTime--class p {
    font-size: 10px;
    font-weight:700;
    margin: 0;
    white-space: nowrap;
}


.class-widget-items .week-days label input.days-checkbox {
    display: none;
}
.class-widget-items .week-days label input.days-checkbox:checked ~ span {
    color: #fff;
}


.class-widget-items .week-days label span:hover {
    color: dimgrey;
}

.class-widget-items:nth-child(5n+1) .week-days label input.days-checkbox:not(:checked) ~ span:hover {
    background: transparent;
    border: 1px solid var(--first-color);
}

.class-widget-items:nth-child(5n+2) .week-days label input.days-checkbox:not(:checked) ~ span:hover {
    background: transparent;
    border: 1px solid var(--second-color);
}

.class-widget-items:nth-child(5n+3) .week-days label input.days-checkbox:not(:checked) ~ span:hover {
    background: transparent;
    border: 1px solid var(--third-color);
}

.class-widget-items:nth-child(5n+4) .week-days label input.days-checkbox:not(:checked) ~ span:hover {
    background: transparent;
    border: 1px solid var(--fourth-color);
}

.class-widget-items:nth-child(5n+5) .week-days label input.days-checkbox:not(:checked) ~ span:hover {
    background: transparent;
    border: 1px solid var(--fifth-color);
}

.oldPrice {
    text-decoration: line-through;
}

.has-start-date {
    padding-bottom: 62px;
}

.class-item-start-date {
    position: absolute;
    bottom: 74px;
    left: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    z-index: 1;
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 10px;
}
    .class-item-start-date label {
        margin: 0;
        flex: 1 1 auto;
        color: black;
        font-size: 13.5px;
        text-transform: none;
        letter-spacing: normal;
        font-weight: 600;
    }
    .class-item-start-date input {
        max-width: 150px;
        border-radius: 9px !IMPORTANT;
        box-shadow: 1px 1px 7px 0px #e6e6e6;
    }