/**
 * Theme Name:     Sky Pilot Hageland Child
 * Author:         LifterLMS
 * Template:       sky-pilot
 * Text Domain:	   sky-pilot-hageland-child
 * Description:    The best WordPress LMS theme built for speed using modern technology and optimized for beautiful eLearning experiences. Deliver the best learner experience with a theme built exclusively for courses &amp; membership sites.
 */


/*Dev-Vignesh 07-01-2026 Start*/

.hg-myaccount-nav select{
    display: none;
}
/*Dev-Vignesh 07-01-2026 End*/


/*Dev-Vignesh 12-01-2026 Start*/


/*For butikk banner design change start*/


/* Make banner area behave like a hero */
.single-llms_group .llms-group-profile-header{
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ensure banner image covers */
.single-llms_group #llms-banner-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay logo + title */
.single-llms_group .llms-group-logo{
  position: absolute;
  z-index: 5;
}

.llms-group-profile-header .llms-group-name{
    margin-left: 0;
    margin-top: 0;
}

.single-llms_group .llms-group-name{
  position: relative;
  top: 90px;           /* adjust */
  z-index: 5;
  color: #fff;
  font-size: 64px;     /* adjust */
  line-height: 1;
  width: 100%;
  text-align: right;
}

/* Nav bar look like the green strip */
.single-llms_group .llms-group-profile-nav{
  background: #69A63F;
  border-radius: 0 0 18px 18px;
  padding-bottom: 0;
  display: flex;
  justify-content: center;
}

.single-llms_group .llms-group-menu{
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 0;
  padding: 0;
}

/*.llms-logo-img{
    width: auto !important;
    height: auto !important;
}*/
.llms-group-profile-header .llms-group-logo{
    background: transparent;
    border: 0;
    box-shadow: none;/**/
    margin-top: 0px;
}

/*For butikk banner design change end*/

/*Dev-Vignesh 12-01-2026 End*/

/*Dev-Vignesh 13-01-2026 Start*/

.llms-group-profile-nav ul.llms-group-menu{
    margin: 0;
}

.llms-group-profile-nav ul.llms-group-menu li.llms-group-menu-item a.llms-group-menu-link{
    color: #ffffff;
    text-decoration: none;
}

.llms-group-profile-nav ul.llms-group-menu li.llms-group-menu-item.current a.llms-group-menu-link{
    background: transparent;
    border: 0;
}


/*Dev-Vignesh 13-01-2026 End*/

/*Dev-Vignesh 14-01-2026 Start*/
.llms-group-profile-nav ul.llms-group-menu li.llms-group-menu-item.current a.llms-group-menu-link:hover{
    background: #ffffff !important;
    color: #69A63F !important;
}
.llms-group-profile-nav ul.llms-group-menu li.llms-group-menu-item a.llms-group-menu-link:hover{
    background: #ffffff !important;
    color: #69A63F !important;
}
/*Dev-Vignesh 14-01-2026 End*/

/*Dev-Vignesh 20-01-2026 Start*/

/* Hide course tags under title on single course page */
.taxonomy-course_tag.wp-block-post-terms {
    display: none !important;
}
.wp-block-post-terms__prefix {
    display: none !important;
}






/*Dev-Vignesh 20-01-2026 End*/

/*Dev-Vignesh 21-01-2026 Start*/

.hg-logo-menu-hor{
    justify-content: flex-start;
}

.d-hg-menu-ul{}

/*Dev-Vignesh 21-01-2026 End*/


/*Dev-Vignesh 23-01-2026 Start*/

.wp-block-navigation-item.is-active > a {
  text-decoration: underline;
}

.entry-content{
    margin-block-start: 0;
}


/*Dev-Vignesh 23-01-2026 End*/


/*Dev-Vignesh 27-01-2026 Start*/
#hageland-store-course-progress{
    border-radius:7px;
    background: #fcfcfc;
    border: 1px solid rgb(238, 238, 238);
    padding-bottom: 30px;
}
#hageland-store-course-progress h3{
    padding: 16px 16px;
    margin: 0;
    background: rgb(250, 250, 250);
    font-size: var(--wp--preset--font-size--18);
    font-family: var(--font-diglu-heading);
    border-bottom: 1px solid rgb(238, 238, 238);
    border-radius: 7px 7px 0 0;
}
#hageland-store-course-progress select{
    margin: 10px  16px 0;
}
.hg-store-course-progress-table table{
    margin: 0;
    border: 0;
}

.hg-store-course-progress-table table th{
    
}

li.current a{
    background: #ffffff !important;
    color: #69A63F !important;
}

/*Dev-Vignesh 27-01-2026 End*/

/*Dev-Vignesh 30-01-2026 Start*/

.invite-members{
    background: #69A63F !important;
    font-size: var(--wp--preset--font-size--14);
}

.invite-members:hover{
    background: #004321 !important;
}

.invite-members .llms-group-text{
    opacity: 1 !important;
}

.invite-members .fa{
    color: #ffffff !important;
    transform: scale(1) !important;
}



/* Invite members modal – Tagify email field */
.llms-modal--invite-members tags.tagify {
    width: 100%;
    max-width: 100%;
    display: block;
    box-sizing: border-box;
}

.llms-modal--invite-members .tagify__input {
    min-width: 100%;
}


tags.tagify {
    width: 100%;
}

#llms-group-send-invite{
    background-color: #69A63F !important;
}

#llms-group-send-invite:hover{
    background-color: #004321 !important;
}


/*Dev-Vignesh 30-01-2026 End*/

/*Dev-Vignesh 09-02-2026 Start*/

.hg-report-course-select{
    width:100%;max-width:520px;border-radius:5px;border:1px solid #dddddd;
}

.llms-loop .llms-lessons-count{
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.llms-loop .llms-meta{
    margin-bottom: 0 !important;
}

.llms-loop-item-footer{
    flex-direction: column !important;
    gap: 10px;
}

.llms-choice{
    display: flex;
    align-items: baseline;
    gap: 10px;
}

input[type="radio" i] {
    margin-top: 0px;
}



/*Dev-Vignesh 09-02-2026 End*/

/*Dev-Vignesh 10-02-2026 Start*/

.llms-button-action, .llms-course-continue-button, .hg-view-course, .hg-cancel, .hg-ok{
    background-color: #69A63F !important;
    color: #ffffff !important;
}
.llms-button-action:hover, .llms-course-continue-button:hover, .hg-view-course:hover, .hg-cancel:hover, .hg-ok:hover{
    background-color: #004321 !important;
}
.llms-field-input{
    background-color: #ffffff !important;
}
/*.add-seats{
    background-color: #69A63F !important;
    color: #ffffff !important;
}*/
.add-seats:hover{
    background-color: #004321 !important;
}

/*.add-seats > span.llms-group-text{
    opacity: 1 !important;
}*/

/*.add-seats > .fa{
    transform: none !important;
    color: #ffffff !important;
}*/

/*Dev-Vignesh 10-02-2026 End*/

/*Dev-Vignesh 11-02-2026 Start*/

/* === Change WP Navigation block breakpoint: mobile until 967px, desktop from 968px === */

/* 600–967px: force hamburger button + overlay behavior */
@media (min-width: 600px) and (max-width: 967px) {

  /* show hamburger open button */
  .hg-header-base .wp-block-navigation__responsive-container-open{
    display: flex !important;
  }

  /* keep overlay container hidden unless menu is opened */
  .hg-header-base .wp-block-navigation__responsive-container{
    display: none !important;
  }
  .hg-header-base .wp-block-navigation__responsive-container.is-menu-open{
    display: block !important;
  }
}

/* 968px+: FORCE desktop menu fully visible */
@media (min-width: 968px) {

  /* hide hamburger */
  .hg-header-base .wp-block-navigation__responsive-container-open{
    display: none !important;
  }

  /* make container act like desktop */
  .hg-header-base .wp-block-navigation__responsive-container{
    display: contents !important;           /* key */
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    background: transparent !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* IMPORTANT: show the inner content wrapper too */
  .hg-header-base .wp-block-navigation__responsive-container-content{
    display: contents !important;           /* key */
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* ensure the <ul> shows horizontally */
  .hg-header-base .wp-block-navigation__container{
    display: flex !important;
    flex-wrap: wrap;
    /*gap: 18px;*/
    align-items: center;
  }

  /* remove overlay close UI */
  /*.hg-header-base .wp-block-navigation__responsive-close,
  .hg-header-base .wp-block-navigation__responsive-container-close{
    display: none !important;
  }*/
}

@media screen and (min-width: 968px) and (max-width: 1137px) {
    .hg-header-base .wp-block-navigation__container{
        gap: 18px;
    }
}

/* Mobile horizontal scroll for LLMS group reports table */
@media (max-width: 768px) {

    .llms-group-card-main {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .llms-group-card-main .llms-table {
        min-width: 600px; /* ensures table keeps structure */
        width: 100%;
    }

}


/*Dev-Vignesh 11-02-2026 End*/

/*Dev-Vignesh 12-02-2026 Start*/

.llms-parent-course-link a.llms-lesson-link{
  padding: 10px 10px !important;
  background-color: #69A63F !important;
  color: #ffffff !important;
}

.llms-parent-course-link a.llms-lesson-link:hover{
  background-color: #004321 !important;
}

.llms-note-button, #llms_mark_complete, .llms-notes-table--notesDelete, .small{
  background-color: #69A63F !important;
  color: #ffffff !important;  
}

.llms-note-button:hover, #llms_mark_complete:hover, .llms-notes-table--notesDelete:hover, .small:hover{
  background-color: #004321 !important;  
}

.llms-group-button.ghost:focus, .llms-group-button.ghost:hover{
    background-color: #004321 !important;
}

.llms-notes-table--noteDownload{
    color: #000000 !important;
}

.llms-notes-table--noteDownload:hover{
    color: #004321 !important;
    background-color: transparent !important;
}

.llms-notes-table--noteEdit:hover{
    color: #004321 !important;
}

/*Dev-Vignesh 12-02-2026 End*/


/*Dev-Vignesh 26-02-2026 Start*/

/* Full height layout */
html, body {
    height: 100%;
}

/* Only target the outer wrapper */
.wp-site-blocks {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Only grow main area */
.wp-site-blocks > main {
    flex: 1;
}

/*Dev-Vignesh 26-02-2026 End*/

.llms-featured-image{
    width: 100%;
}


/* Ninja Forms Submit Button */
.nf-field-element input[type="submit"].nf-element {
    background-color: #69A63F;
    color: #FFFFFF;
    border: none;
    padding: 16px 24px;
    font-size: var(--wp--preset--font-size--18);
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--wp--preset--font-family--diglu-medium) !important;
}

/* Hover State */
.nf-field-element input[type="submit"].nf-element:hover {
    background-color: #004321;
    color: #FFFFFF;
}




.components-popover__content{
    width: inherit !important;
}

.components-dropdown__content .components-popover__content {
    padding: 8px;
    width: auto !IMPORTANT;
}



/*Dev-Vignesh Responsive Start*/

@media screen and (min-width: 320px) and (max-width: 992px) {
.llms-sd-nav {
display: none;
}
.hg-logo-menu-hor{
    justify-content: space-between;
}
.hg-logo-menu-hor img{
 width: 80px !important;
}

.hg-header-base{
    padding: 0;
}
.single-llms_group .llms-group-menu{
    gap: 0px;
}
}

@media screen and (min-width: 480px) and (max-width: 620px) {
    .hg-report-course-select{
        width: 320px;
    }
}

@media screen and (min-width: 320px) and (max-width: 480px) {
    .llms-group-profile-header .llms-group-logo .edit-logo, .llms-group-profile-header .llms-group-banner .edit-banner{
    display: none;
    }
    .llms-group-profile-header{
        height: 150px !important;
    }
    .single-llms_group .llms-group-name{
        text-align: center;
        top: 50px;
    }
    .hg-report-course-select{
        width: auto;
    }
    .llms-group-profile-nav ul.llms-group-menu li.llms-group-menu-item a.llms-group-menu-link{
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .llms-parent-course-link{
        display: flex !important;
        flex-direction: column !important;
    }
    .llms-quiz-nav
    {
        flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    }
    .llms-quiz-ui .llms-quiz-nav .llms-quiz-counter{
        margin-left: inherit !important;
    }
}
/*Dev-Vignesh Responsive End*/

/*Dev-Vignesh Start 11-06-2026 */

/*For the Mark as incomplete button color fixing start*/

.llms-lesson-button-wrapper .llms-incomplete-lesson-form .llms-button-secondary {
    background-color: var(--wp--preset--color--success-lightest) !important;
    color: #004321 !important;
    border: 1px solid var(--wp--preset--color--success) !important;
}

/*.llms-lesson-button-wrapper .llms-incomplete-lesson-form .llms-button-secondary:hover,
.llms-lesson-button-wrapper .llms-incomplete-lesson-form .llms-button-secondary:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}*/

.llms-notice.llms-success{
    color: #004321 !important;
}

.llms-lesson-button-wrapper button#llms_mark_complete {
    background-color: var(--wp--preset--color--success-lightest) !important;
    color: #004321 !important;
    border: 1px solid var(--wp--preset--color--success) !important;
}
/*For the Mark as incomplete button color fixing end*/
/*Dev-Vignesh end 11-06-2026 */