@import url(https://fonts.googleapis.com/css?family=Federo);
@import url(https://fonts.googleapis.com/css?family=Poller+One);
@import url(https://fonts.googleapis.com/css?family=Lato);

:root {
    --bs-primary: #1E71C3;
    --bs-primary-rgb: 12, 113, 195;
    --bs-link-color: #1E71C3;
    --bs-link-color-rgb: 12, 113, 195;
    --bs-btn-primary: #1E71C3;
    --bs-btn-primary-rgb: 12, 113, 195;
    --bs-table-primary: #1E71C3;
    --bs-table-primary-rgb: 12, 113, 195;
    --bs-border-color: #979797;
}

.form-control,
.form-select {
    border-color: #979797;
}

body {
    background-color: white;
    min-height: 100svh;
}

a {
    text-decoration: none;
}

.navbar-brand {
    --bs-navbar-brand-font-size: 2rem;
    --bs-navbar-brand-color: white;
    --bs-navbar-brand-hover-color: white;
    --bs-navbar-brand-padding-y: 1px;
    margin-top: 1px;
    text-transform: uppercase;
    line-height: normal;
    display: inline-flex;
    align-items: center;
}
.navbar-brand-arrow {
    height: 2rem;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
}
.navbar-brand-text {
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    font-size: 2rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    vertical-align: middle;
}
.navbar-toggler {
    --bs-navbar-toggler-padding-x: 0.5rem;
    --bs-navbar-color: white;
    --bs-navbar-toggler-border-color: white;
    --bs-navbar-toggler-focus-width: 0.1rem;
}
.navbar-nav .nav-link {
    --bs-nav-link-hover-color: white;
    --bs-nav-link-color: white;
    --bs-nav-link-padding-x: 0.75rem;
    --bs-navbar-active-color: white;
    margin: 0 -0.75rem;
}
@media (min-width: 768px) {
    .navbar-nav .nav-link {
        border-radius: 0.25rem;
        margin: 0;
    }
}
.navbar-nav .nav-link:focus, .navbar-nav .nav-link.show, .navbar-nav .nav-link:hover {
    background: rgba(0, 0, 0, 0.2);
}
.nav-link-logout {
    display: flex;
    align-items: center;
    height: 100%;
}
.nav-link-logout > svg {
    height: 1.25rem;
    width: 1.25rem;
}

.navbar-toggler-icon {
    background: none;
    height: 1.5rem;
    width: 1.5rem;
    color: white;
}
#banner-byline {
    background: var(--bs-primary);
    border-top: 2px solid white;
    font-style: italic;
    font-family: 'Times New Roman', Times, serif;
    color: white;
    padding-top: 5px;
    padding-bottom: 5px;
    position: relative;
    z-index: 999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bi {
    display: inline-block;
    vertical-align: -.125em;
    fill: currentColor;
}

.dropdown-menu-filters {
    --bs-dropdown-min-width: 22rem;
    max-width: 22rem;
}
.dropdown-toggle-without-caret::after {
    display: none;
}

.choices {
    margin-bottom: unset;
}
.choices__list--dropdown, .choices__list[aria-expanded] {
    z-index: 3;
}

.choices[data-type*=select-one] > .choices__list > .choices__list > .choices__item--selectable
{
  padding-right: 10px;
}
.choices[data-type*=select-one] > .choices__list > .choices__list > .choices__item--selectable::after
{
  display: none;
}
.choices__list--multiple {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.choices__list--multiple .choices__item {
    margin-right: 0;
    margin-bottom: 0;
}
.choices.is-open .choices__inner,
.choices__inner {
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    min-height: 38px;
    padding: .375rem .75rem;
}
.choices__input {
    background-color: var(--bs-body-bg);
    margin-bottom: 0;
    font-size: 1rem;
}
.choices[data-type="select-multiple"] .choices__list .choices__item {
    padding-right: 10px;
}

.btn-primary {
background-color: var(--bs-btn-primary)
}

.table-sticky-header {
position: sticky;
top: 58px;
z-index: 2;
}
.table-sticky-header .spacer {
height: 2px;
background: white;
left: 0;
right: 0;
top: -2px;
position: absolute;
}

.table-primary {
--bs-table-bg: var(--bs-gray-700);
--bs-table-color: white;
}
.table-body-spacer::after {
content: '';
display: table-row;
height: 2.5rem;
}

.custom-popover {
--bs-popover-max-width: 200px;
--bs-popover-border-color: var(--bd-violet-bg);
--bs-popover-header-bg: var(--bd-violet-bg);
--bs-popover-header-color: var(--bs-white);
--bs-popover-body-padding-x: 1rem;
--bs-popover-body-padding-y: .5rem;
}

.bd-callout {
--bs-link-color-rgb: var(--bd-callout-link);
--bs-code-color: var(--bd-callout-code-color);
padding: 1.25rem;
margin-top: 1.25rem;
margin-bottom: 1.25rem;
color: var(--bd-callout-color, inherit);
background-color: var(--bd-callout-bg, var(--bs-gray-100));
border-left: 0.25rem solid var(--bd-callout-border, var(--bs-gray-300))
}

.bd-callout h4 {
margin-bottom: .25rem;
}

.bd-callout>:last-child {
margin-bottom: 0;
}

.bd-callout+.bd-callout {
margin-top: -.25rem;
}

.bd-callout .highlight {
background-color: rgba(0,0,0,0.05);
}

.bd-callout-info {
--bd-callout-color: var(--bs-info-text-emphasis);
--bd-callout-bg: var(--bs-info-bg-subtle);
--bd-callout-border: var(--bs-info-border-subtle);
}

.bd-callout-warning {
--bd-callout-color: var(--bs-warning-text-emphasis);
--bd-callout-bg: var(--bs-warning-bg-subtle);
--bd-callout-border: var(--bs-warning-border-subtle);
}

.bd-callout-danger {
--bd-callout-color: var(--bs-danger-text-emphasis);
--bd-callout-bg: var(--bs-danger-bg-subtle);
--bd-callout-border: var(--bs-danger-border-subtle);
}

.my-dropdown-toggle::after {
content: none;
}

.info-sticky{
position: sticky;
top: 140px;
}

@media (min-width: 768px) {
.breadcrumb-main {
    height: 4rem;
}
}
.breadcrumb {
--bs-breadcrumb-margin-bottom: 0;
--bs-breadcrumb-divider-color: #dddddd;
}
.breadcrumb-item+.breadcrumb-item::before {
margin-bottom: -0.125rem;
}

/**
* RESPONSIVE BORDERS (Missing from Bootstrap)
*/
@media (max-width: 575px) {
    .border-top {
        border-top: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    }
    .border-left {
        border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    }
    .border-bottom {
        border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    }
    .border-right {
        border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    }
    .border-top-0 {
        border-top: none!important;
    }
    .border-left-0 {
        border-left: none!important;
    }
    .border-bottom-0 {
        border-bottom: none!important;
    }
    .border-right-0 {
        border-right: none!important;
    }
}

@media (min-width: 576px) {
    .border-sm-top {
        border-top: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    }
    .border-sm-left {
        border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    }
    .border-sm-bottom {
        border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    }
    .border-sm-right {
        border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    }
    .border-sm-top-0 {
        border-top: none!important;
    }
    .border-sm-left-0 {
        border-left: none!important;
    }
    .border-sm-bottom-0 {
        border-bottom: none!important;
    }
    .border-sm-right-0 {
        border-right: none!important;
    }
}

@media (min-width: 768px) {
    .border-md-top {
        border-top: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    }
    .border-md-left {
        border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    }
    .border-md-bottom {
        border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    }
    .border-md-right {
        border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    }
    .border-md-top-0 {
        border-top: none!important;
    }
    .border-md-left-0 {
        border-left: none!important;
    }
    .border-md-bottom-0 {
        border-bottom: none!important;
    }
    .border-md-right-0 {
        border-right: none!important;
    }
}

@media (min-width: 992px) {
    .border-lg-top {
        border-top: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    }
    .border-lg-left {
        border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    }
    .border-lg-bottom {
        border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    }
    .border-lg-right {
        border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    }
    .border-lg-top-0 {
        border-top: none!important;
    }
    .border-lg-left-0 {
        border-left: none!important;
    }
    .border-lg-bottom-0 {
        border-bottom: none!important;
    }
    .border-lg-right-0 {
        border-right: none!important;
    }
}

@media (min-width: 1200px) {
    .border-xl-top {
        border-top: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    }
    .border-xl-left {
        border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    }
    .border-xl-bottom {
        border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    }
    .border-xl-right {
        border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
    }
    .border-xl-top-0 {
        border-top: none!important;
    }
    .border-xl-left-0 {
        border-left: none!important;
    }
    .border-xl-bottom-0 {
        border-bottom: none!important;
    }
    .border-xl-right-0 {
        border-right: none!important;
    }
}

.tox-tinymce {
    border-radius: var(--bs-border-radius) !important;
    border: var(--bs-border-width) solid var(--bs-border-color) !important;
}

.search-filter-badge .search-filter-remove {
    z-index: 1;
    display: none;
}
.search-filter-badge:hover .search-filter-remove {
    display: block;
}


.stars:not(:checked) > input {
    position:absolute;
    top:-9999px;
}
.stars:not(:checked) > label {
    float:right;
    overflow:hidden;
    cursor:pointer;
    font-size:20px;
    color:#ccc;
}

.stars > input:checked ~ label {
    color: #1E71C3;    
}
.stars:not(:checked) > label:hover,
.stars:not(:checked) > label:hover ~ label {
    color: #1E71C3;  
}
.stars > input:checked + label:hover,
.stars > input:checked + label:hover ~ label,
.stars > input:checked ~ label:hover,
.stars > input:checked ~ label:hover ~ label,
.stars > label:hover ~ input:checked ~ label {
    color: #1E71C3;
}

#videoLinks {
    position: absolute;
    bottom: 0;
}

#videoTitle {
    background: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0) 50%);
}

#scrollingCards {
    white-space: nowrap;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
}

.topic-tree {

}
.topic-tree--branch {
    margin-left: var(--tree-sortable-branch-left-shift);
    margin-bottom: 0;
    position: relative;
    user-select: none;
}

.topic-tree--branch-wrapper {
    position: relative;
    margin: 10px 0 0;
}

.topic-tree--branch-content {
    display: flex;
    align-items: center;
    width: 100%;
    background: #fff;
    /*border: 1px solid #fff;*/
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.25);
    border-radius: 0.5rem;
    min-height: 20px;
    /*max-width: 450px;*/
    position: relative;
    padding: 10px 10px 10px 15px;
    height: auto;
    gap: 12px;
    overflow: hidden;
    word-wrap: break-word;
}

.topic-tree--branch-title {
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.25rem;
    font-size: 0.875rem;
}

.topic-tree--branch-path {
    position: absolute;
    width: var(--tree-sortable-depth);
    min-height: 72px;
    bottom: 50%;
    left: -8px;
    border: 2px solid #c5c5c5;
    border-top: 0;
    border-right: 0;
    padding: 4px 0 0;
    padding-top: 3px;
    border-bottom-left-radius: 6px;
    z-index: -1;
}

.topic-tree--branch-actions {
    display: flex;
    gap: 0.25rem;
}

@media (min-width: 992px) {
    .topic-tree--branch-actions {
        opacity: 0;
    }

    .topic-tree--branch-content:hover .topic-tree--branch-actions {
        opacity: 1;
    }

    .topic-tree--branch-title {
        font-size: 1rem;
    }
}

.tree {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-left: 10px;
}

.tree li {
    margin: 0;
    padding: 0 0 0 1rem;
    line-height: 2rem;
    
    font-weight: 700;
    position: relative;
}

#advanced {
    text-decoration: underline;
    cursor: pointer;
}

.tree, .tree ul {
    margin:0;
    padding:0;
    list-style:none;
}
.tree ul {
    margin-left:1em;
    position:relative
}
.tree ul ul {
    margin-left:.5em
}
.tree ul:before {
    content:"";
    display:block;
    width:0;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    border-left:1px solid
}
.tree li {
    margin:0;
    padding:0 0 0 1em;
    line-height:2em;
    color:#369;
    font-weight:700;
    position:relative
}
.tree ul li:before {
    content:"";
    display:block;
    width:10px;
    height:0;
    border-top:1px solid;
    margin-top:-1px;
    position:absolute;
    top:1em;
    left:0
}
.tree ul li:last-child:before {
    background:#fff;
    height:auto;
    top:1em;
    bottom:0
}

.indicator {
    margin-right:5px;
    cursor: pointer;
}
.tree li a {
    text-decoration: none;
    color:#369;
}
.tree li button, .tree li button:active, .tree li button:focus {
    text-decoration: none;
    color:#369;
    border:none;
    background:transparent;
    margin:0px 0px 0px 0px;
    padding:0px 0px 0px 0px;
    outline: 0;
}
.tree .block {
    display: block;
}

.slick-prev:before, .slick-next:before {
    color: grey;
}

/* Navbar z-index elevation - ensures sidebar scrolls BEHIND navbar */
.navbar.sticky-top {
    z-index: 1030;
}

/* Sidebar content - JavaScript applies .is-fixed or .is-anchored */
.sidebar-sticky-bottom {
    z-index: 10;
    background: white;
}

.sidebar-sticky-bottom.is-fixed {
    position: fixed;
    bottom: 20px;
}

.sidebar-sticky-bottom.is-anchored {
    position: absolute;
    bottom: 0;
}

/* Registration Page Styles */
.review-pay-btn {
    transition: all 0.3s ease;
}
.review-pay-btn.btn-primary .btn-progress-bar {
    display: none;
}

/* Sidebar member link styling */
.sidebar-member-link:hover {
    background-color: rgba(0,0,0,0.05);
    border-radius: 4px;
}

/* Member accordion header styling - darker background to stand out */
.member-accordion-header {
    background-color: var(--bs-secondary-bg-subtle);
    font-weight: 600;
}
.member-accordion-header:not(.collapsed) {
    background-color: var(--bs-primary-bg-subtle);
    color: var(--bs-primary-text-emphasis);
}

/* jQuery UI Datepicker - fix Bootstrap conflicts */
#ui-datepicker-div {
    background: #fff;
    border: 1px solid #c5c5c5;
    border-radius: .375rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    padding: .5rem;
    width: auto !important;
    min-width: 17em;
}
.ui-datepicker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .25rem 0;
    margin-bottom: .25rem;
    background: none;
    border: none;
}
.ui-datepicker-prev,
.ui-datepicker-next {
    cursor: pointer;
    padding: .25rem .5rem;
    border-radius: .25rem;
    font-size: .85rem;
}
.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
    background: #e9ecef;
}
.ui-datepicker-title {
    font-weight: 600;
    font-size: .95rem;
}
.ui-datepicker table {
    width: 100%;
    border-collapse: collapse;
}
.ui-datepicker th {
    text-align: center;
    font-weight: 600;
    font-size: .8rem;
    padding: .35rem;
    color: #6c757d;
}
.ui-datepicker td {
    text-align: center;
    padding: 2px;
}
.ui-datepicker td a,
.ui-datepicker td span {
    display: block;
    padding: .35rem;
    border-radius: .25rem;
    text-decoration: none;
    color: #212529;
}
.ui-datepicker td a:hover {
    background: #e9ecef;
}
.ui-datepicker td .ui-state-active {
    background: var(--bs-primary, #1E71C3);
    color: #fff;
}
.ui-datepicker td .ui-state-highlight {
    background: #fff3cd;
    color: #212529;
}
.ui-datepicker .ui-state-disabled span {
    color: #adb5bd;
}

/* Review page sidebar sticky positioning */
.sidebar-sticky-card {
    top: 80px;
}