/* course card course duration */
/* .rate-and-module.course-duration{
    justify-content: center;
}
.rate-and-module.course-duration .course-duration-children{
    margin-right: auto;
} */

/* profile  */
.profile.dropdown-menu{
    background-color: #FFF !important;
    padding-bottom: 20px;
}

.dropdown-menu-title{
    font-size: 16px !important;
    font-weight: 700;
    color: #002C76;
    padding-top: 10px;
    padding-left:12px;
    padding-right:12px;
    white-space: normal;
    word-break: break-all
}

/* second avatar */
.dropdown-content{
    margin: auto 10px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0px 1px 6px 0px rgba(51, 51, 51, 0.10);
    margin-bottom: 8px;
}

.userinitials.size-60{
    width: 60px;
    height: 60px;
    border-radius: 60px;
} 
.user-content .userpicture{
    width: 60px !important;
    height: 60px !important;
}

@media (min-width: 480px) {
    .dropdown-menu-right.show{
        max-width: 350px;
    }
}
@media (max-width: 480px) {
    .dropdown .dropdown-menu-right.show{
        transform: translate3d(-80%, 44px, 0px) !important;
    }
}
@media (max-width: 367px){
    .dropdown .dropdown-menu-right.show{
        transform: translate3d(-74%, 44px, 0px) !important;
    }
}
/* my profile page  */
.profile_tree .node_category.privacyandpolicies,.profile_tree .node_category.miscellaneous{
    display: none !important;
}
/* #page-header div .profileusername1{
    display: none !important;
} */

/* notification */
#page-message-output-popup-notifications #page{
    background-color: #FFF !important;
}
.content-item-container.unread {
    background-color: #f0f5ff !important;
}
.popover-region-header-text, 
.content-item-container.unread .context-link, 
.content-item-container.unread .context-link .notification-message, 
.content-item-container.unread .content-item-body .notification-message, 
.content-item-container.unread .content-item-footer .timestamp, 
.content-item-container.unread .view-more {
    color: #333 !important;
}

.custom-control-area{
    display: flex;
    flex-direction: column;
}
.custom-control-header{
    position: sticky;
    top: 0; 
    z-index: 1000;
    background-color: #FFF;
}

.custom-control-header ul.nav-tabs {
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin:0;
    width: 100%;
}
.custom-control-header ul.nav-tabs li.nav-item{
    flex:1;
    text-align: center; 
    width: 100%;
}

.custom-control-header ul.nav-tabs li.nav-item .nav-link{
    display: block;
    width: 100%;
    border-bottom: 2px solid #ddd;
    border-radius: 0;
    /* padding: 10px ; */
}

.custom-control-header ul.nav-tabs li.nav-item .nav-link.active {
    background-color: #fff;
    border-bottom: 2px solid #333;
    font-weight: bold;
    border-radius: 0;
    color: #333;
}

.custom-content .tab-content .tab-pane {
    display: none;
    background-color: #ffffff;
}

.custom-content .tab-content .tab-pane.active {
    display: block;
}

#custom-content-area .content{
    width: inherit;
}

@media (max-width: 999.98px)  {
    #custom-control-area.hide{
        height: 0 ;
    }
    #custom-content-area.hide{
        display: none;
    }
    #custom-content-area .header {
        margin-top: 10px;
    }
    #custom-content-area .toggle-mode{
        display: block;
        margin-bottom: 30px;
        margin-left: -15px;
    }
    #custom-content-area button span {
        /* margin-top: 10px; */
        font-size: medium;
        color: #333;
        padding-left: 10px;
    }
    #custom-content-area .empty-text{
        display: none;
    }
}

/* certificates */
.certificates-container{
    margin:20px auto;
}
.certificate {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    padding:0 10px;
    margin: 10px 0;
    box-shadow: 0px 1px 6px 0px rgba(51, 51, 51, 0.10);
    border-radius: 8px;
}
.certificate .certificate-body{
    line-height: 14px;
}
.certificate .certificate-img-container img{
    height: 100px;
    width: 100px;
    border-radius: 7px;
}
.certificate .certificate-body a .certificate-name,
.certificate-body table tr td.certificate-name{
    color: #002C76;
    font-size:15px;
    font-weight: 700;
}
.certificate .certificate-body .certificate-course-name{
    font-size: 14px;
    font-weight: 500;
}
.certificate .certificate-body .certificate-created-date,
.certificate-body table tr td.certificate-created-date {
    font-size:14px;
    color: #002C76;
    font-weight: 400;
}

.certificate-container{
    margin:20px auto;
}

.certificate-detail .certificate-body{
    line-height: 14px;
}

.certificate-detail .certificate-img-container{
    display: flex;
    justify-content: center;
    align-items: center;
}

.certificate-detail .certificate-img-container img{
    width: 100%;
}

.certificate-detail .certificate-body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.certificate-detail .certificate-body table tr{
    border: none;
}
.certificate-detail .certificate-body table tr:hover{
    background-color: white;
}
.certificate-detail .certificate-body table tr td.course-name{
    width: 20%;
}
.certificate-detail .certificate-body a{
    width: 70%;
}
@media (max-width: 999.98px)  {
    .certificate-detail .certificate-body a{
        width: 100%;
    }
    /* .certificate-detail .certificate-body table tr td.course-name{
        width: 100px;
    } */
}

/* programs(learning path) */
.custom-programs-container{
    margin:20px auto;
}
.custom-programs-container .row{
    margin:auto;
}
@media (min-width: 1400px) {
    .row .custom-col{
      width: 20%;
      /* padding-right: 24px; */
      padding-bottom: 24px;
    }
  }
  @media (max-width: 1399px) {
    .row .custom-col{
      width: 25%;
      /* padding-right: 24px; */
      padding-bottom: 24px;
    }
  }
  @media (max-width: 1200px) {
    .row .custom-col{
      width: 33.333333%;
      /* padding-right: 24px; */
      padding-bottom: 24px;
    }
  }
  @media (max-width: 1024px) {
    .row .custom-col{
      width: 50%;
      /* padding-right: 24px; */
      padding-bottom: 24px;
    }
  }
  @media (max-width: 917px) {
    .row .custom-col{
      /* padding-right: 16px; */
      padding-bottom: 16px;
    }
  }

.custom-program {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    gap: 10px;
    height: 100%;
    /* padding:0 10px; */
    margin: 10px 0;
    box-shadow: 0px 1px 6px 0px rgba(51, 51, 51, 0.10);
    border-radius: 8px;
}
.custom-program .custom-program-body{
    /* line-height: 14px; */
    padding: 0 15px 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    word-break: break-all;
}
.custom-program .custom-program-body .custom-tags{
    margin-top: 10px;
    margin-bottom: 10px;
}
.custom-program .custom-program-img-container{
    display: flex;
    justify-content: center;
    align-items: center;
}
.custom-program .custom-program-img-container img{
    width: 100%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.custom-program-body .custom-program-name{
    color: #002C76;
    font-size:16px;
    font-weight: 700;
    word-break: break-word;
    
}
.custom-program-body .custom-program-name a{
    color: inherit;
}
.custom-program-footer{
    display: flex;
    flex-wrap: wrap;
}
.custom-program-footer .view-learning-path{
    flex: 1;
    text-align: end;
}
.custom-program-footer .view-learning-path span{
    font-size: 12px;
}
.custom-tags .tag_list ul li {
    margin-bottom: 3px;
}
.custom-program-footer .course-count{
    color: #002C76;
    font-size:12px;
    font-weight: 500;
    align-content: center;
}
.custom-program-footer a span{
    color: #002C76;
    font-size:14px;
    font-weight: 400;

}
.custom-program-footer a .view-learning-path-btn
{
    display: flex;
    justify-content: right;
    align-items: center;
    
}
.ml-auto:has(#add-learning-path) {
    flex:1;
    justify-content: end;
}

/* learning path  */
#region-main-box #region-main .main-content .program-category-selector{
    display: flex;
}

@media (max-width: 768px) {
    #region-main-box #region-main .main-content .program-category-selector{
        justify-content: center !important;
    }

    #add-learning-path
    {
        margin-top: 20px;
        width: 100%;

    }
    .custom-programs-container
    {
        margin: 0 auto;
    } 

}
@media (max-width: 999.98px)  {
    #region-main-box #region-main .main-content .program-category-selector{
        justify-content: right;
    }
    .program-general{
        flex-direction: column-reverse;
    }
    .program-general-content-area{
        margin-top: 20px;
    }
    #region-main-box #region-main .main-content .program-category-selector{
        margin-bottom: 10px;
    }
}
@media (min-width: 999.99px)  {
    #region-main-box #region-main .main-content .program-category-selector{
        justify-content: right;
    }
}

.program-general .program-general-image-area{
    display: flex;
    justify-content: center;
    align-items: center;
}
.program-general .program-general-content-area dl.row{
    margin-top: 0 !important;
}
.program-general div .program-general-image{
    display: flex;
    /* justify-content: center; */
}
.program-general div .program-general-image img{
    width: 80%;
}

.program-content .learning-path-progress {
    display: flex;
    gap: 10px;
    align-items: center;
}
@media (max-width: 999.98px)  {
    .program-content .learning-path-progress {
        /* flex-direction: column-reverse; */
    }
    .program-content .learning-path-courses{
        margin-bottom: 60px;
        margin-top: 0;
    }
}
@media (min-width: 999.99px)  {
    .program-content .learning-path-courses{
        margin-top: 20px;
    }
}
.program-content .learning-path-progress .add-courses {
    flex: 1;

}
.program-content .learning-path-progress .progress-area{
    box-sizing: border-box;
    padding: 15px 20px 20px 25px;
    border-radius: 5px;
    box-shadow: 0px 1px 6px 0px rgba(51, 51, 51, 0.10);
}
.program-content .learning-path-progress .progress-area .custom-progress{
    flex: 1;
}

.justify-content-space-between{
    justify-content: space-between;
}
.custom-program-courses .custom-progress{
    flex: 1;
}
.custom-program-courses .buttons{
    margin-left: 10px;
    padding-bottom: 5px;
}
.custom-program-courses .buttons a img{
    margin: 1px;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background-color: #EEE;
    font-size: .75rem;
    color: #434343;
    transition: all 0.2s ease-in-out;
}

div:has(> .select-program-courses){
    margin-bottom: 40px;
}
.custom-program .custom-program-img-container .course-image{
    width: 100%;
    height: 207px;
    object-fit: cover;
}

/* my badges */
@media (min-width: 999.99px)  {
    #mybadges-heading{
        margin-top: -40px;
    }
}
#badge-link:hover{
    color: #212121;
}
#badge-image{
    height: 110px;
    width: 110px;
}
#badge-name{
    color:#002C76
}

#badge-description{
    font-size: small;
}
.badge-downloadall form button {
    background-color: #002db3;
    border: transparent;
    color: #e6eaf7;
}
.badge-downloadall form button:hover {
    background-color: #001b6b;
    border: transparent;
    color: #e6eaf7;
}

/* calender */
#page-calendar-view .calendarwrapper{
    padding-bottom: 300px;
}
#fgroup_id_publicgroup .sup,
#fitem_id_meetinglink .sup,
#fitem_id_location .sup,
#fitem_id_description .sup,
#fitem_id_notificationtime .sup,
#fgroup_id_notificationgroup .sup,
#fgroup_id_repeatgroup .sup{
    display: none;
}

.modal-sm .calendar_event_other:before{
 top: 10px !important;
}

@media (max-width:480px) {
    .form-inline .form-control {
        width: 100% !important;
    }
    .form-autocomplete-suggestions {
        min-width: 100% !important;
    }
}

/* assignment */
.gradingtable .no-overflow {
    min-height: auto !important;
    margin-bottom: 10px;
  }

.rui-progress-100{
    background-color: white !important;
    background: white !important;
}

/* swiper */

#course-swiper-container.hidden{
    display: none;
}
