@import url('variables.css');

/* ==========================================================================
   Base Styles
   ========================================================================== */
body {
    padding-top: 0px;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    /* overflow-y: hidden; */
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 80vh;
    position: relative;
    background: #F5F7FD;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.title {
    font-size: 14px;
    font-weight: bold;
    
}

.bg-gold-100 {
    background-color: var(--gold-100);
}


.bg-primary-100 {
    background-color: var(--primary-100) !important;
}
.bg-primary-200 {
    background-color: var(--primary-200) !important;
}
.bg-primary-400 {
    background-color: var(--primary-400) !important;
}

.color-primary-100 {
    color: var(--primary-100);
}
.color-primary-200 {
    color: var(--primary-200);
}
.color-primary-250 {
    color: var(--primary-250);
}

.color-primary-400 {
    color: var(--primary-400);
}
.color-primary-500 {
    color: var(--primary-500);
}
.text-primary{
    color: var(--bs-primary-text) !important;
}

.color-secondary-300 {
    color: var(--secondary-300);
}

.color-primary-300 {
    color: var(--primary-300);
}


/* ==========================================================================
   Layout Components
   ========================================================================== */

   /* DEPRECATED */
.fixed-container {
    overflow-y: none;
    height: calc(100vh - 90px);
    padding-bottom: 1rem;

}

.container-scrollable {
    overflow-y: auto;
    height: calc(100vh - 80px);
    scrollbar-gutter: stable;
}

.container-fixed {
    overflow-y: none;
    height: calc(100vh - 90px);
    padding-bottom: 1rem;

}


.content-container {
    z-index: 10;
}

/* DEPRECATED */
.header-container {
    position: sticky;
    top: 0;
    z-index: 10;
    overflow-y: auto;
}

.container-header {
    position: sticky;
    top: 0;
    z-index: 10;
    overflow-y: auto;
}

.gutter-stable {
    scrollbar-gutter: stable;
}


/* DEPRECATED */
.stable-gutter {
    scrollbar-gutter: stable;
}


/* Main Content */
.main-content {
    flex: 1;
    box-sizing: border-box;
    /* height: 100%; */
    height: 100vh; 
    margin-top: 0px;
    margin-left: 240px;
    padding: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    transition: margin-left 0.3s;
    min-width: 768px;
    overflow-y: hidden; 
}

.main-content.collapsed {
    margin-left: 50px;
    margin-right: 0px;
    padding: 0px;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */
.sidebar {
    width: 240px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding: 10px;
    background-color: white;
    overflow-y: scroll;
    transition: width 0.3s, padding 0.3s;
    white-space: nowrap;
    z-index: 1050; /* Higher than other content */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.sidebar-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.sidebar-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1.3s ease, width 1.3s ease, visibility 1s;
    max-width: 100%;
    overflow: hidden;
}


.sidebar-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}


.sidebar.collapsed {
    width: 50px;
    padding-left: 0px !important;
    padding-right: 0px !important;
    overflow-y: hidden; 

}



.sidebar.collapsed .sidebar-button {
    display: flex;
    justify-content: center;
    margin-left: 5px !important;
    margin-right: auto !important;
    display: block !important;
}

.sidebar.collapsed .sidebar-header {
    display: flex;
    justify-content: center;
    padding-bottom: 5px;
    border-bottom: none;
    padding: 0px !important;
}

.sidebar.collapsed .sidebar-logo {
    width: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: width 1s ease;
}

.sidebar .nav-header,
.sidebar .nav-link,
.sidebar .collapse-item {
    display: flex;
    align-items: center;
    padding: 5px;
    transition: padding 0.3s;
}
.sidebar.collapsed .nav-header,
.sidebar.collapsed .nav-link,
.sidebar.collapsed .collapse-item {
    padding: 5px; 
}




.sidebar .nav-header {
    font-weight: bold;
    color: #6c757d;
    font-size: 0.8rem;
    text-transform: uppercase;
}
.sidebar .nav-link {
    color: #333;
    border-radius: 20px;
    font-size: 14px;
    padding: 5px;
    margin-bottom: 5px;
    margin-bottom: 0;
}


.nav-link.collapse-item {
    margin-bottom: 0;
}



.sidebar .has-chevron {
    justify-content: left;

}
.sidebar .nav-link i:first-child {
    width: 20px;
    text-align: center;
}
.sidebar .nav-link span {
    margin-left: 10px;
}
.sidebar .nav-link:not(.nav-group):hover {
    background-color: var(--primary-100) !important;
    color: var(--primary-600) !important;
    font-weight: bold;
}
.sidebar .nav-link:not(.nav-group).active {
    background-color: var(--primary-200) !important;
    color: var(--primary-600) !important;
    font-weight: bold;
}
.sidebar .nav-link:not(.nav-group):active {
    background-color: var(--primary-200) !important;
    font-weight: bold;
}
.sidebar .submenu {
    margin-left: 10px; 
}
.sidebar .collapse-item {
    padding-left: 20px;
}
.sidebar.collapsed .collapse-item {
    padding-left: 20px;
}
.sidebar .rotatable {
    transform: rotate(0deg); /* Default rotation */
    transition: transform 0.3s; /* Smooth transition for rotation */
}

.sidebar .rotatable.rotate-down {
    transform: rotate(90deg); /* Rotated state */
}



/* ==========================================================================
   Utility bar
   ========================================================================== */

.ubar {
    background-color: transparent;
    padding: 5px;
    font-size: 14px;
    align-items: center;
    display: flex;
    z-index: 1000;

}



/* 
==========================================================================
   ACCORDION
========================================================================== 
*/

.accordion-item {
    border: 1px solid var(--primary-300);

}


.accordion-body {
    overflow-x: auto;

}

.accordion-button {
    font-size: 13px;
    height: 40px;
    background-color: white;
    color: var(--primary-500) !important;
}

.accordion-button:focus {
    outline: none;
    box-shadow: none;
}

/* Use primary-light pattern for hover */
.accordion-button:hover {
    background-color: var(--primary-100);
    color: var(--primary-500);
}

/* Use primary-light pattern for hover */
.accordion-button:active {
    background-color: var(--primary-200);
    color: var(--primary-600);
}

/* Use primary colors for active and focus states */
.accordion-button:not(.collapsed) {
    background-color: var(--primary-100);
    color: var(--primary-600) !important;
}

.accordion-button:not(.collapsed):focus {
    background-color: var(--primary-100);
    color: var(--primary-600) !important;
}

.accordion-button:not(.collapsed):hover {
    background-color: var(--primary-100);
    color: var(--primary-500) !important;
}

.accordion-button:not(.collapsed):active {
    background-color: var(--primary-200);
    color: var(--primary-600) !important;
}

/* Fix for accordion arrow color */
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234d8b92'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    width: var(--accordion-icon-width, 1.25rem);
    height: var(--accordion-icon-width, 1.25rem);
    transition: transform var(--accordion-icon-transition, 0.2s ease-in-out);
}

/* Style for when accordion is expanded */
.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23396b6e'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    transform: var(--accordion-icon-transform, rotate(-180deg));
}

/* Create custom properties that mirror Bootstrap's variables */
:root {
    --accordion-icon-width: 1.25rem;
    --accordion-icon-transform: rotate(-180deg);
}



/* ==========================================================================
   Button Links
   ========================================================================== */
.u-link  {
    border-radius: 5px;
    font-size: 14px;
    padding: 10px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    color: var(--bs-primary-text) !important;
    
}

.u-link:hover {
    background-color: var(--primary-100);
    border-color: var(--primary-100);
    color: var(--bs-primary-text) !important;
}

.u-link:active, 
.u-link.active, 
.u-link:focus,
.u-link.show {
    background-color: var(--primary-200) !important;
    border-color: var(--primary-200) !important;
    color: var(--primary-700) !important;
}

/* Reset focus style when user moves mouse away */
.u-link:focus:not(:hover):not(.active) {
    background-color: transparent !important;
    border-color: transparent !important;
    color: var(--bs-primary-text) !important;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* ==========================================================================
   Badge
   ========================================================================== */
.badge {
    font-weight: normal;
    font-size: inherit;
    color: inherit;
    background-color: var(--secondary-200);
}

.badge.badge-small {
    font-size: 11px;
}


.badge-primary-200 {
    background-color: var(--primary-200);
    color: var(--primary-500);
    border: white 2px solid;
}

.badge-primary-100 {
    background-color: var(--primary-100);
    color: var(--primary-500);
    border: var(--primary-300) 1px solid;
}



.badge-gold-200 {
    color: var(--gold-600);
    background-color: var(--gold-200);
}

.badge-purple-100 {
    color: var(--purple-600);
    background-color: var(--purple-100);
}

.badge-primary-outline-100 {
    border: 1px solid var(--primary-150);
    background-color: transparent;
}
.badge-primary-outline {
    background-color: transparent;
    color: var(--primary-500);
    border: var(--primary-300) 1px solid;
}




/* ==========================================================================
   Nav Pills
   ========================================================================== */
.nav-pills .nav-link {
    color: var(--primary-600);
    background-color: var(--primary-200);
    border-radius: 20px;
    padding: 5px 15px;
    margin-right: 5px;
}

/* Hover state */
.nav-pills .nav-link:hover {
    background-color: var(--primary-300);
    color: white;
    font-weight: bold;
}

/* Selected state */
.nav-pills .nav-link.active {
    background-color: var(--primary-400);
    color: white;
    font-weight: bold;
}

/* Pressed state */
.nav-pills .nav-link:active {
    background-color: var(--primary-600);
    color: white;
    font-weight: bold;
}



/* ==========================================================================
   Icons
   ========================================================================== */
.icon-svg {
    width: 1em; /* Same as Font Awesome's default size */
    height: 1em; /* Maintain aspect ratio */
    vertical-align: middle; /* Align with text */
    margin-left: 0.25rem;
    margin-right: 0.15rem;
    fill: currentColor; /* Use the current text color for the SVG */
}


.logo-svg {
    width: 8em; /* Same as Font Awesome's default size */
    height: 8em;
    vertical-align: middle; /* Align with text */
    margin-left: 0.25rem;
    margin-right: 0.15rem;
    fill: currentColor; /* Use the current text color for the SVG */
}


/* ==========================================================================
   Utilities
   ========================================================================== */
/* Scrollbar Styling */

body {  
    scrollbar-width: thin; /* For Safari and Chrome */
    scrollbar-color: rgba(67, 125, 132, 0.5) transparent;/* For Chrome */
} 



/* Text Utilities */
.text-footnote {
    font-size: 12px;
}



/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-round {
    width: 40px; /* Set width */
    height: 40px; /* Set height */
    border-radius: 50%;
    display: inline-flex; /* Align the icon properly */
    align-items: center; /* Center the icon vertically */
    justify-content: center; /* Center the icon horizontally */
    cursor: pointer; /* Pointer cursor on hover */
    padding: 0; /* Remove default padding */
}


.btn-transparent {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: var(--bs-secondary) !important;
}

.btn-transparent-danger {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: var(--bs-danger) !important;
}


.btn-primary-transparent {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: var(--bs-primary-text) !important;
}
.btn-primary-transparent:hover,
.btn-primary-transparent:active, 
.btn-primary-transparent.active,
.btn-primary-transparent:focus
{
    color: var(--bs-primary-text-hover) !important;
}

/* Primary Button States */
.btn-primary {
    background-color: var(--bs-primary-bg) !important;
    border-color: var(--bs-primary-bg) !important;
}
.btn-primary:hover {
    background-color: var(--bs-primary-hover-bg) !important;
    border-color: var(--bs-primary-hover-bg) !important;
}

.btn-primary:active, .btn-primary:focus,
.btn-primary.active {
    background-color: var(--bs-primary-active-bg) !important;
    border-color: var(--bs-primary-active-bg) !important;
}

/* Secondary Button States */
.btn-secondary {
    background-color: var(--bs-secondary-bg) !important;
    border-color: var(--bs-secondary-bg) !important;
    color: var(--bs-secondary) !important;
}

.btn-secondary:hover {
    background-color: var(--bs-secondary-hover-bg) !important;
    border-color: var(--bs-secondary-hover-bg) !important;
}

.btn-secondary:disabled, 
.btn-secondary[disabled], 
.btn-secondary.disabled {
    background-color: var(--bs-secondary-disabled-bg) !important;
    border-color: var(--bs-secondary-disabled-bg) !important;
    color: var(--bs-secondary-disabled-color) !important;
}

.btn-secondary:active, .btn-secondary:focus,
.btn-secondary.active{
    background-color: var(--bs-secondary-active-bg) !important;
    border-color: var(--bs-secondary-active-bg) !important;
}

.btn-clear{
    background-color: transparent !important;
    border-color: transparent !important;
    color: var(--bs-secondary) !important;
}






/* Info Button States */
.btn-primary-light {
    background-color: white !important;
    border-color: white !important;
    color: var(--primary-500) !important;
}
.btn-primary-light:hover {
    background-color: var(--primary-100) !important;
    border-color: var(--primary-100) !important;
    color: var(--primary-500) !important;
}

.btn-primary-light:active, 
.btn-primary-light:focus,
.btn-primary-light.active {
    background-color: var(--primary-200) !important;
    border-color: var(--primary-200) !important;
    color: var(--primary-600) !important;
}

/* Reset focus style when user moves mouse away */
.btn-primary-light:focus:not(:hover):not(.active) {
    background-color: transparent !important;
    border-color: transparent !important;
    color: var(--bs-primary-text) !important;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}



/* Light Button - Transparent variant of Secondary */

.btn-nofocus {
    background-color: transparent !important;
    border-color: transparent !important;
    color: var(--primary-500) !important;
    position: relative;
    overflow: hidden;
}

.btn-nofocus::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    pointer-events: none;
    z-index: -1;
}

.btn-nofocus:hover {
    background-color: var(--primary-100) !important;
    border-color: var(--primary-100) !important;
    color: var(--primary-500) !important;
}

.btn-nofocus:active, 
.btn-nofocus:focus {
    background-color: var(--primary-200) !important;
    border-color: var(--primary-200) !important;
    color: var(--primary-600) !important;
}

/* Reset focus styles on blur to ensure hover works after click */
.btn-nofocus:focus:not(:hover) {
    background-color: transparent !important;
    border-color: transparent !important;
    transition: background-color 0.8s ease, border-color 0.8s ease;
}

.btn-nofocus.focus-visible:focus {
    background-color: transparent !important;
    border-color: transparent !important;
    transition: background-color 0.8s ease, border-color 0.8s ease;

}

.no-click{
    pointer-events: none !important; /* Disable all pointer events */
    cursor: default !important; /* Change cursor to default */
    opacity: 0.8; /* Optional: make it look disabled */
}



/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 960px) {
    .main-content {
        margin-left: 50px;
    }
}


/* ==========================================================================
   DROPDOWNS
   ========================================================================== */

.dropdown-menu, .dropdown-item {
    font-family: inherit;
    font-size: inherit;
    z-index: 1060 !important;
}

.dropdown-menu {
    border: 0px;
    border-radius: 3px;
    box-shadow: 0 1px 11px rgba(0, 0, 0, 0.15) !important;
    padding-bottom: 5px;
    margin-top: 3px; 
    position: absolute;
}

/* ==========================================================================
   FORMS
   ========================================================================== */

/* Apply body font styles to dropdown items */
input, select {
    font-family: 13px !important;
    font-size: 13px !important;
}


/* Apply body font styles to dropdown items */
.optgroup, .option, .item {
    font-size: 13px !important
}

.restricted {
    display: none !important; /* Hidden by default */
}

.restricted.show-restricted {
    display: block !important; /* Visible when the class is toggled */
    pointer-events: none; 
}


.form-label {
    font-family: 12px !important;
    font-size: 12px !important;
    color: var(--bs-secondary-color);
    margin-bottom: 0.25rem;
}

.form-floating > label {
    font-size: 0.95rem; /* Adjust label font size */
    color: var(--primary-600) !important;
}

/* Form Floating Label Styles */
.form-floating > label {
    font-size: 0.95rem;
    color: var(--primary-600) !important;
    opacity: 0.85 !important; /* Increased opacity from default 0.65 */
}

/* Ensure opacity stays consistent when focused/filled */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    opacity: 1.0 !important;
}

/* Maintain opacity for disabled state */
.form-floating > .form-control:disabled ~ label,
.form-floating > .form-control:disabled::placeholder {
    opacity: 1.0 !important;
}


.form-helptext {
    font-family: 13px !important;
    font-size: 13px !important;
    color: var(--bs-secondary-color);
    margin-bottom: 0.25rem;
    font-style: normal;
}


/* ==========================================================================
   Form Check 
   ========================================================================== */
.form-check-input {
    /* Basic appearance */
    border: 1px solid var(--primary-300);
    background-color: var(--secondary-000);
}

/* Checked state */
.form-check-input:checked {
    background-color: var(--primary-400);
    border-color: var(--primary-400);
}

/* Hover state */
.form-check-input:hover {
    border-color: var(--primary-400);
}

/* Focus state */
.form-check-input:focus {
    border-color: var(--primary-400);
    box-shadow: none;
}

/* Active/pressed state */
.form-check-input:active {
    background-color: var(--primary-200);
    border-color: var(--primary-400);
}

/* Disabled state */
.form-check-input:disabled {
    opacity: 0.5;
    background-color: var(--secondary-200);
    border-color: var(--secondary-300);
}

/* Large checkbox size */
.check-input-lg {
    height: 1.25rem !important;
    width: 1.25rem !important;
    border-radius: 0.25em;
    position: relative; 
    cursor: pointer;
}

/* Large checkbox size */
.check-input-sm {
    height: 0.9rem !important;
    width: 0.9rem !important;
    border-radius: 0.25em;
    position: relative; 
    cursor: pointer;
}


/* Circular aura on hover using ::before pseudo-element */
.check-input-lg:hover::before,
.check-input-sm:hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary-200); /* Use the variable directly */
    opacity: 0.3; 
    border-radius: 50%;
    z-index: 0;
}

/* Radio variant */
.form-check-input[type="radio"] {
    border-radius: 50%;
}



/* ==========================================================================
   Form Control 
   ========================================================================== */

/* Form Control Styling */
.form-control, .form-select, .selectize-input {
    border-color: var(--primary-100);
}

.form-control:focus, .form-select:focus, .selectize-input.focus {
    border-color: var(--primary-400);
    box-shadow: none;
}


/* Style disabled states */
.form-control:disabled,
.form-control[readonly],
.form-select:disabled,
.selectize-input:disabled {
    border-color: var(--secondary-300);
    opacity: 0.75;
}



/*
==========================================================================
   CARDS
========================================================================== 
*/

.card {
    border-radius: 10px;
    background-color: #ffffff;
    -webkit-box-shadow: 2px 6px 15px 0px rgba(69, 65, 78, 0.15);
    -moz-box-shadow: 2px 6px 15px 0px rgba(69, 65, 78, 0.15);
    box-shadow: 2px 6px 15px 0px rgba(69, 65, 78, 0.15);
    border: 0px;
    border-color: var(--primary-300);
    /* overflow-x: auto;  */
    overflow-y: auto;
    position: relative;
}
.card .card-header, .card-header, .card-footer {
    padding: 0.5rem 0.5rem;
    overflow: visible;
    z-index: 10 !important;
    background-color: transparent;
    border-color: var(--primary-300);
    /* border-bottom: 1px solid #236161 !important;  */
}
.card-body.scrollable {
    flex: 1 1 auto;
    overflow-y: auto;
}

.card .card-header:first-child, .card-light .card-header:first-child {
    border-radius: 10px 10px 0 0; 
}

.card-title {
        border-radius: 3px;
}

.card-transparent {
    background: transparent !important;
    box-shadow: none;
    border-color: transparent !important; 
}

.card-bordered {
    box-shadow: none;
    background-color: white;
    border: 1px solid var(--primary-300) !important;

}

.invisible {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0ms;
}

.visible {
    visibility: visible;
    opacity: 1;
    transition: opacity 500ms ease-in-out;
}

/*
==========================================================================
   Tables
========================================================================== 
*/
.table-padded td, .table-padded th {
    padding-left: 1.0rem !important; /* Increase left padding */
    padding-right: 1.0rem !important; /* Increase right padding */
}
.border-end, .border-top, .border-bottom  {
    border-color: var(--primary-300) !important;
}

/* Override Bootstrap's table hover styles with higher specificity */
.table-hover > tbody > tr:hover > *,
table.table-hover > tbody > tr:hover,
.table-hover tbody tr:hover {
    background-color: var(--primary-50) !important;
    --bs-table-accent-bg: var(--primary-50) !important;
    color: var(--bs-table-hover-color, inherit) !important;
}


.table-borderless td {
    border-bottom: none !important;
}



  
/*
==========================================================================
   MOMENT GRADEBOOK TABLE
========================================================================== 
*/


table.gradebook tbody tr:not(.dtrg-group) {
    cursor: pointer;
}

/* Disable pointer events on fixed-start cells */
table.gradebook td.noedit {
    pointer-events: none;
}

table.gradebook td.wrap {
    white-space: normal !important; 
    word-wrap: break-word;  
}

/* Individual column header style */
table.gradebook .group-header {
    border-left: 12px solid white;
    border-right: 12px solid white;
}

table.gradebook .no-border {
    border-top: 2px solid white;
}



  
/*
==========================================================================
   SVGS
========================================================================== 
*/

.svg-wrapper {
    width: 100%;
    height: auto;
    display: inline-block;
}
.svg-wrapper svg {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    display: block;
}

/*
==========================================================================
   Linked List
========================================================================== 
*/

.linked-list {
    padding: 0 0 0 10px;
    margin: 0;
    list-style: none;
  }
  
  .linked-list .linked-item {
    position: relative;
    padding: 0 0 20px 30px;
    border-left: 2px solid var(--primary-200);
  }
  
  .linked-list .linked-item:last-child {
    border-color: transparent;
  }
  
  .linked-list .linked-item-icon {
    position: absolute;
    top: -3px;
    left: -13px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    border: var(--primary-200) 1px solid;
;
  }


.linked-list.active .linked-item-icon {
    background: var(--primary-200);
}
  
  
  .linked-list .linked-item-icon-content {
    color: var(--primary-600);
    font-size: 12px;
    text-align: center;
  }
  
  .linked-list .linked-item-text {
    position: relative;
  }
  
  .linked-item-secondary .linked-item-icon {
    background: var(--primary-600);
  }




/*
==========================================================================
   Timeline
========================================================================== 
*/

.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative; 
}


.timeline:before {
    top: 20px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: var(--primary-300);
    left: 50%;
    margin-left: -1.5px; 
}

.timeline.timeline-single:before {
    background-color: transparent;
}
      

.timeline > li {
margin-bottom: 20px;
position: relative; }

/* Remove margin from last timeline item */
.timeline > li:last-child {
margin-bottom: -20px;
}
/* Add this new rule for the first child */
.timeline > li:first-child {
    margin-top: -20px;
}

.timeline > li:before {
content: " ";
display: table; }
.timeline > li:after {
content: " ";
display: table;
clear: both; }
.timeline > li:before {
content: " ";
display: table; }
.timeline > li:after {
content: " ";
display: table;
clear: both; }
.timeline > li > .timeline-panel {
width: 50%;
float: left;
border: 1px solid var(--primary-300);
background: #ffffff;
border-radius: 3px;
padding: 20px;
position: relative;
-webkit-box-shadow: 0px 1px 20px 2px rgba(69, 65, 78, 0.06);
-moz-box-shadow: 0px 1px 20px 2px rgba(69, 65, 78, 0.06);
box-shadow: 0px 1px 20px 2px rgba(69, 65, 78, 0.06); }
.timeline > li.timeline-inverted + li:not(.timeline-inverted) {
margin-top: -60px; }
.timeline > li:not(.timeline-inverted) {
padding-right: 90px; }
.timeline > li:not(.timeline-inverted) + li.timeline-inverted {
margin-top: -60px; }
.timeline > li.timeline-inverted {
padding-left: 90px; }
.timeline > li.timeline-inverted > .timeline-panel {
float: right; }
.timeline > li.timeline-inverted > .timeline-panel:before {
    
border-left-width: 0;
border-right-width: 15px;
left: -15px;
right: auto; }
.timeline > li.timeline-inverted > .timeline-panel:after {
border-left-width: 0;
border-right-width: 14px;
left: -13px;
right: auto; }
.timeline > li > .timeline-panel:before {
position: absolute;
top: 16px;
right: -15px;
display: inline-block;
border-top: 15px solid transparent;
border-left: 15px solid var(--primary-300);
border-right: 0 solid var(--primary-300);
border-bottom: 15px solid transparent;
content: " "; }
.timeline > li > .timeline-panel:after {
position: absolute;
top: 17px;
right: -14px;
display: inline-block;
border-top: 14px solid transparent;
border-left: 14px solid #ffffff;
border-right: 0 solid #ffffff;
border-bottom: 14px solid transparent;
content: " "; }

.timeline > li > .timeline-badge {
color: #ffffff;
width: 30px;
height: 30px;
line-height: 30px;
font-size: 1.0em;
text-align: center;
position: absolute;
top: 16px;
left: 50%;
margin-left: -15px;
background-color: transparent;
z-index: 100;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center; }
.timeline > li > .timeline-badge i {
color: #ffffff !important; }
.timeline > li > .timeline-badge i.fa, .timeline > li > .timeline-badge i.fab, .timeline > li > .timeline-badge i.fal, .timeline > li > .timeline-badge i.far, .timeline > li > .timeline-badge i.fas {
font-size: 0.8em; }

.timeline-badge.dark {
background-color: rgb(77, 139, 146)  !important; }
.timeline-badge.primary {
background-color: var(--primary-300)!important;}
.timeline-badge.secondary {
background-color: var(--secondary-400)!important;}


.timeline-title {
font-size: 17px;
margin-top: 0;
color: inherit; }

.timeline-heading i {
font-size: 22px;
display: inline-block;
vertical-align: middle;
margin-right: 5px; }

.timeline-body > p, .timeline-body > ul {
margin-bottom: 0; }
.timeline-body > p + p {
margin-top: 5px; }

