/*
    Theme Name: Histudy Child
    Theme URI: https://rainbowthemes.net/themes/histudy
    Template: histudy
    Description: Histudy is created for Learning Management System. Online OR Offline The template is perfect for e-Learning, Course School, Online School, Kindergarten, Classic LMS, University Status, Instructor Portfolio, Language Academy, Gym Coaching, Online Course, Single Course, marketplace, University Classic, Home Elegant, Home technology, and other needed dashboard, inner and details pages availability. The template has included everything you need for a complete online education center and LMS.
    Author: Rainbow-Themes
    Author URI: https://themeforest.net/user/rainbow-themes/portfolio
    Version: 1.0.0
    License: Envato Marketplaces Split License
    License URI: https://themeforest.net/licenses/standard
    Text Domain: histudy-child
    Tags: one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, sticky-post
    This theme, like WordPress, is licensed under the Envato Split License.
*/

/* Define the fade-up animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply the animation to all direct children of .main-page-wrapper */
.main-page-wrapper > * {
  opacity: 0; /* Start with elements invisible */
  animation: fadeUp 0.6s ease-out forwards;
}

/* Add staggered delays for each element */
.main-page-wrapper > *:nth-child(1) {
  animation-delay: 0.1s;
}
.main-page-wrapper > *:nth-child(2) {
  animation-delay: 0.2s;
}
.main-page-wrapper > *:nth-child(3) {
  animation-delay: 0.3s;
}
.main-page-wrapper > *:nth-child(4) {
  animation-delay: 0.4s;
}
.main-page-wrapper > *:nth-child(5) {
  animation-delay: 0.5s;
}
.main-page-wrapper > *:nth-child(6) {
  animation-delay: 0.6s;
}
.main-page-wrapper > *:nth-child(7) {
  animation-delay: 0.7s;
}
.main-page-wrapper > *:nth-child(8) {
  animation-delay: 0.8s;
}
.main-page-wrapper > *:nth-child(9) {
  animation-delay: 0.9s;
}
.main-page-wrapper > *:nth-child(10) {
  animation-delay: 1s;
}
/* Add more nth-child rules if you have more than 10 elements */

/* Define the fade-up animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply the animation to all Elementor elements */
.elementor-element {
  opacity: 0; /* Start with elements invisible */
  animation: fadeUp 0.6s ease-out forwards;
}

/* Add staggered delays for each Elementor element */
.elementor-element:nth-child(1) {
  animation-delay: 0.1s;
}
.elementor-element:nth-child(2) {
  animation-delay: 0.2s;
}
.elementor-element:nth-child(3) {
  animation-delay: 0.3s;
}
.elementor-element:nth-child(4) {
  animation-delay: 0.4s;
}
.elementor-element:nth-child(5) {
  animation-delay: 0.5s;
}
.elementor-element:nth-child(6) {
  animation-delay: 0.6s;
}
.elementor-element:nth-child(7) {
  animation-delay: 0.7s;
}
.elementor-element:nth-child(8) {
  animation-delay: 0.8s;
}
.elementor-element:nth-child(9) {
  animation-delay: 0.9s;
}
.elementor-element:nth-child(10) {
  animation-delay: 1s;
}
/* Add more nth-child rules if you have more than 10 elements */


.social-share-wrapper {
	display:none;
}




@media (max-width: 767px) {
    .chaty-widget.left-position.has-single {
        bottom: 90px !important;
    }
}
.notice.notice-success {
	display:none!important;
}



#wpadminbar {
    display: none!important;
}
#dashboard-widgets-wrap{
    display: none!important;
}
.postbox-container{
    display: none!important;
}


#payment_method_bacs {
	display:none;
}

#payment_method_easykash {
	display:none;
}

/* Remove padding for course card image */
.rbt-featured-course .rbt-card.variation-01 .rbt-card-img {
    margin: -30px -30px 0 -30px !important;
}

@media (max-width: 1199px) {
    .rbt-featured-course .rbt-card.variation-01 .rbt-card-img {
        margin: -20px -20px 0 -20px !important;
    }
}

@media (max-width: 991px) {
    .rbt-featured-course .rbt-card.variation-01 .rbt-card-img {
        margin: -20px -20px 0 -20px !important;
    }
}

@media (max-width: 767px) {
    .rbt-featured-course .rbt-card.variation-01 .rbt-card-img {
        margin: -15px -15px 0 -15px !important;
    }
}

/* Make all course card images the same size */
.rbt-featured-course .rbt-card.variation-01 .rbt-card-img a img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: var(--radius) var(--radius) 0 0 !important;
}

@media (max-width: 1199px) {
    .rbt-featured-course .rbt-card.variation-01 .rbt-card-img a img {
        height: 220px !important;
    }
}

@media (max-width: 767px) {
    .rbt-featured-course .rbt-card.variation-01 .rbt-card-img a img {
        height: 200px !important;
    }
}

/* Course Title Styling */
.rbt-featured-course .rbt-card.variation-01 .rbt-card-title {
    font-size: 18px !important;
    font-weight: 500 !important;
}

.rbt-featured-course .rbt-card.variation-01 .rbt-card-title a {
    font-size: 18px !important;
    font-weight: 500 !important;
}



.rbt-featured-course .rbt-card.variation-01 .rbt-price .woocommerce-Price-amount {
    font-size: 18px !important;
}


/* Price display - make sale and regular price on same line */
.rbt-card.variation-01 .rbt-price .current-price .price {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-wrap: wrap !important;
}

.rbt-card.variation-01 .rbt-price .current-price .price del,
.rbt-card.variation-01 .rbt-price .current-price .price ins {
    display: inline !important;
}

/* Sale price styling - bigger and primary color */
.rbt-card.variation-01 .rbt-price .current-price .price ins {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: var(--color-primary) !important;
}

.rbt-card.variation-01 .rbt-price .current-price .price ins .woocommerce-Price-amount {
    font-size: 20px !important;
    font-weight: 600 !important;
    color: var(--color-primary) !important;
}



.rbt-course-area{
  padding-bottom: 40px;

}

.rbt-card {
  padding: 12px!important; 
  border: 1px solid rgb(235, 235, 235);

}

/* Remove shadows from course cards in Featured Courses widget with gradient background */
.rbt-course-area.bg-gradient-7 .rbt-card {
    box-shadow: none !important;
}

.total-join-students{
  color: white;
}

.rbt-card.variation-02 .rbt-card-body {
  padding: 5px!important;
  margin-top: 5px; 
}
 
.btn-border{
  color: white!important;
}

.btn-white{
  box-shadow: 0px!important;; 
}

/* Beautified Course Meta Section */
.rbt-breadcrumb-default.bg-gradient-7 .rbt-course-meta-layout-1 {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 20px !important;
    margin: 0 0 25px 0 !important;
    padding: 20px 0 20px 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.rbt-breadcrumb-default.bg-gradient-7 .rbt-course-meta-layout-1 .meta-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: rgba(0, 0, 0, 0.6) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    padding: 0 !important;
    background: none !important;
    border-radius: 0 !important;
}

.rbt-breadcrumb-default.bg-gradient-7 .rbt-course-meta-layout-1 .meta-item i {
    color: rgba(0, 0, 0, 0.6) !important;
    font-size: 18px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

.rbt-breadcrumb-default.bg-gradient-7 .rbt-course-meta-layout-1 .meta-item .meta-label {
    color: rgba(0, 0, 0, 0.6) !important;
    font-weight: 400 !important;
}

.rbt-breadcrumb-default.bg-gradient-7 .rbt-course-meta-layout-1 .meta-item .meta-value {
    color: rgba(0, 0, 0, 0.6) !important;
    font-weight: 400 !important;
}

/* Beautified Author and Update Section */
.rbt-breadcrumb-default.bg-gradient-7 .rbt-author-update-wrapper {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 25px !important;
    margin: 25px 0 !important;
    padding: 0 !important;
    border-top: none !important;
    border-bottom: none !important;
}

.rbt-breadcrumb-default.bg-gradient-7 .rbt-author-update-wrapper .rbt-author-meta {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border-radius: 0 !important;
}

.rbt-breadcrumb-default.bg-gradient-7 .rbt-author-update-wrapper .rbt-author-meta .rbt-avater {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 2px solid rgba(0, 0, 0, 0.2) !important;
}

.rbt-breadcrumb-default.bg-gradient-7 .rbt-author-update-wrapper .rbt-author-meta .rbt-avater img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.rbt-breadcrumb-default.bg-gradient-7 .rbt-author-update-wrapper .rbt-author-info {
    color: rgba(0, 0, 0, 0.6) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

.rbt-breadcrumb-default.bg-gradient-7 .rbt-author-update-wrapper .rbt-author-info a {
    color: rgba(0, 0, 0, 0.6) !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

.rbt-breadcrumb-default.bg-gradient-7 .rbt-author-update-wrapper .rbt-meta {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background: none !important;
    border-radius: 0 !important;
}

.rbt-breadcrumb-default.bg-gradient-7 .rbt-author-update-wrapper .rbt-meta li {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: rgba(0, 0, 0, 0.6) !important;
}

.rbt-breadcrumb-default.bg-gradient-7 .rbt-author-update-wrapper .rbt-meta li i {
    color: rgba(0, 0, 0, 0.6) !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

/* Divider between sections */
.rbt-breadcrumb-default.bg-gradient-7 .content .description {
    margin: 25px 0 !important;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Add border after title (before meta) */
.rbt-breadcrumb-default.bg-gradient-7 .content .title {
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* Responsive Design */
@media (max-width: 991px) {
    .rbt-breadcrumb-default.bg-gradient-7 .rbt-course-meta-layout-1 {
        gap: 15px !important;
    }
    
    .rbt-breadcrumb-default.bg-gradient-7 .rbt-course-meta-layout-1 .meta-item {
        font-size: 15px !important;
        gap: 7px !important;
    }
    
    .rbt-breadcrumb-default.bg-gradient-7 .rbt-course-meta-layout-1 .meta-item i {
        font-size: 17px !important;
    }
    
    .rbt-breadcrumb-default.bg-gradient-7 .rbt-author-update-wrapper .rbt-author-meta {
        gap: 7px !important;
    }
}

@media (max-width: 768px) {
    .rbt-breadcrumb-default.bg-gradient-7 .rbt-course-meta-layout-1 {
        gap: 12px !important;
        padding: 15px 0 !important;
    }
    
    .rbt-breadcrumb-default.bg-gradient-7 .rbt-course-meta-layout-1 .meta-item {
        font-size: 14px !important;
        gap: 6px !important;
    }
    
    .rbt-breadcrumb-default.bg-gradient-7 .rbt-course-meta-layout-1 .meta-item i {
        font-size: 16px !important;
    }
    
    .rbt-breadcrumb-default.bg-gradient-7 .rbt-author-update-wrapper {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
        padding: 0 !important;
    }
    
    .rbt-breadcrumb-default.bg-gradient-7 .rbt-author-update-wrapper .rbt-author-meta {
        gap: 6px !important;
    }
    
    .rbt-breadcrumb-default.bg-gradient-7 .rbt-author-update-wrapper .rbt-author-meta,
    .rbt-breadcrumb-default.bg-gradient-7 .rbt-author-update-wrapper .rbt-meta {
        width: 100% !important;
        justify-content: flex-start !important;
    }
}

@media (max-width: 576px) {
    .rbt-breadcrumb-default.bg-gradient-7 .rbt-course-meta-layout-1 {
        gap: 10px !important;
    }
    
    .rbt-breadcrumb-default.bg-gradient-7 .rbt-course-meta-layout-1 .meta-item {
        font-size: 13px !important;
        gap: 5px !important;
        flex: 1 1 calc(50% - 5px) !important;
        justify-content: flex-start !important;
    }
    
    .rbt-breadcrumb-default.bg-gradient-7 .rbt-course-meta-layout-1 .meta-item i {
        font-size: 15px !important;
    }
    
    .rbt-breadcrumb-default.bg-gradient-7 .rbt-author-update-wrapper .rbt-author-meta {
        gap: 6px !important;
    }
    
    .rbt-breadcrumb-default.bg-gradient-7 .rbt-author-update-wrapper .rbt-author-info {
        font-size: 13px !important;
    }
    
    .rbt-breadcrumb-default.bg-gradient-7 .rbt-author-update-wrapper .rbt-meta li {
        font-size: 13px !important;
    }
}

/* Course Sidebar Title */
.course-sidebar .course-sidebar-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-heading);
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Course Sidebar Price - Make it display in one line */
.course-sidebar .rbt-price {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
}

.course-sidebar .rbt-price .current-price {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

.course-sidebar .rbt-price .current-price .price {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
}

.course-sidebar .rbt-price .current-price .price del,
.course-sidebar .rbt-price .current-price .price ins {
    display: inline !important;
    white-space: nowrap !important;
}

/* Hide resources tab completely */
#tutor-course-details-tab-resources {
    display: none !important;
}

/* Course Sidebar - Add icons and remove background from counters */
.course-sidebar .course-includes-list .course-include-item .include-label i {
    margin-right: 8px;
    font-size: 16px;
    vertical-align: middle;
}

.course-sidebar .course-includes-list .course-include-item .include-value {
    background: transparent !important;
    padding: 0 !important;
    height: auto !important;
    border-radius: 0 !important;
}

/* Also apply to parent theme structure */
.course-sidebar .rbt-course-details-list-wrapper li span i {
    margin-right: 8px;
    font-size: 16px;
    vertical-align: middle;
}

.course-sidebar .rbt-course-details-list-wrapper .rbt-feature-value.rbt-badge-5 {
    background: transparent !important;
    padding: 0 !important;
    height: auto !important;
    border-radius: 0 !important;
}



/* Fix white space around site */
body, html {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

#main-wrapper, .main-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Fix sidebar sticky positioning - ensure parent containers allow sticky */
.rbt-course-sidebar-left-pos {
    align-self: flex-start !important;
    height: fit-content !important;
}

.rbt-course-details-area .row .col-lg-4 {
    align-self: flex-start !important;
}

/* Override theme's margin-top reset for sidebar */
.rbt-course-details-area .rbt-course-sidebar-left-pos .sticky-top.course-sidebar-top {
    margin-top: -400px !important;
}

.course-sidebar.sticky-top.rbt-shadow-box.course-sidebar-top.rbt-gradient-border {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 30px !important;
    z-index: 9 !important;
    align-self: flex-start !important;
    margin-top: -400px !important;
    will-change: position !important;
}

/* Fix matching question draggable items visibility */
.matching-quiz-question-desc.tutor-draggable .tutor-dragging-text-conent {
    display: inline-block !important;
    visibility: visible !important;
}

.matching-quiz-question-desc.tutor-draggable .tutor-quiz-border-box {
    display: block !important;
    visibility: visible !important;
}

.matching-quiz-question-desc.tutor-draggable .tutor-matching-item {
    display: block !important;
    visibility: visible !important;
}

/* Only hide question description spans, not draggable item text */
.matching-quiz-question-desc:not(.tutor-draggable) span {
    display: none !important;
}

.matching-quiz-question-desc:not(.tutor-draggable).show-description span {
    display: block !important;
}

/* Matching Question Correct Answers Display */
.tutor-matching-correct-answers {
    margin-top: 30px;
    padding: 20px;
    background-color: #ffffff;
    border: 2px solid #28a745;
    border-radius: 8px;
}

.tutor-matching-correct-answers-header h4 {
    color: #28a745;
    margin-bottom: 15px;
    font-weight: 600;
}

.tutor-matching-correct-answers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tutor-matching-correct-answer-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 16px;
    background-color: #ffffff;
    border: 2px solid #28a745;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.tutor-matching-correct-answer-item:hover {
    border-color: #1e7e34;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.15);
}

.tutor-matching-correct-left {
    font-weight: 500;
    color: #212529;
    flex: 1;
    text-align: right;
}

.tutor-matching-correct-arrow {
    color: #28a745;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.tutor-matching-correct-right {
    font-weight: 500;
    color: #212529;
    flex: 1;
    text-align: left;
}

/* Matching Question Attempt Details Styles */
.matching-answers-section {
    margin-bottom: 25px;
}

.matching-answers-section .section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1d2327;
}

.matching-answers-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.matching-answer-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 14px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.matching-answer-item.correct-match {
    border: 2px solid #28a745;
    background-color: #f0f9f4;
}

.matching-answer-item.incorrect-match {
    border: 2px solid #dc3545;
    background-color: #fff5f5;
}

.match-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.matching-answer-item.correct-match .match-status-icon {
    background-color: #28a745;
    color: #ffffff;
}

.matching-answer-item.incorrect-match .match-status-icon {
    background-color: #dc3545;
    color: #ffffff;
}

.matching-left {
    font-weight: 500;
    color: #212529;
    flex: 1;
    text-align: right;
}

.matching-arrow {
    color: #28a745;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

.matching-right {
    font-weight: 500;
    color: #212529;
    flex: 1;
    text-align: left;
}

.elementor-widget-rb-top-popular-course{
padding-bottom: 30px!important;
}
.rbt-course-area{
    padding-bottom: 30px!important;
}