/**************************************/
/* Default styles for SCT extension   */
/**************************************/
:root {
    --primary-color: rgb(30,63,114);
    --secondary-color: rgb(228,152,69);
    --tertiary-color: #35A9E7FF;
    --link-color: #005DAA;
    --light-grey-color: #f9f9f9;
    --light-blue-color: #d9edf6;
    --border-color: #B2DAECFF;
    --border-color-grey: #C7C9CBFF;
    --font-color: #424B51;
    --font-weight-bold: 700;
    --font-weight-semibold: 600;
    --font-weight-normal: 400;
}

.primary-color {
    color: var(--primary-color);
}
.secondary-color {
    color: var(--secondary-color);
}
.tertiary-color {
    color: var(--tertiary-color);
}

/* font sizes */
.fs-7 {
    font-size: 0.92rem;
}

.fs-8 {
    font-size: .750rem;
}

/* link */
a, a:hover {
    color: var(--link-color);
    text-decoration: none;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto
}
a:hover {
    text-decoration: underline;
}
a:visited {
}
.btn-outline-secondary {
    --bs-btn-border-color: var(--border-color-grey);
}
.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    border-color: var(--border-color-grey);
}
.btn-group-wrap {
    flex-wrap: wrap;
    gap: 0.0rem;
}
.btn-group-wrap .btn {
    flex: 0 0 auto;
    margin-bottom: 0.0rem;
}
.btn-row {
    --bs-gutter-x: 0.5rem; /* Reduce horizontal gap */
}
.btn-col {
    padding: 0 0.25rem; /* Further reduce padding */
}

.btn svg {
    fill: var(--tertiary-color);
}
/* pagination */
.pagination {
    border: var(--primary-color)
}
.current.active > a.page-link {
    background-color: var(--primary-color);
}

.gx-6 {
    --bs-gutter-x: 5rem;
}
.gx-6 > * {
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
}

form label {
    font-weight: 500;
    color: var(--tertiary-color)
}

form label.text-color {
    color: var(--font-color);
    font-weight: 400;
}

/* nav menu */
/* navigation top menu */
.logo {
    height: 60px;
    object-fit: contain;
    vertical-align: top;
}
.navbar-brand {
    float: left;
    margin: 0.2em 0;
}

.nav-item {
    /* padding-right: 1.0rem; */
    padding-left: 1.0rem;
}

.navbar-content {
    font-size: 1.0rem;
    /* border: medium none; */
    border-bottom: 1px solid #ededed;
    box-shadow: none;
    padding-bottom: 16px;
}
.navbar-expand .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

.navbar-light .navbar-nav .nav-link {
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
    padding: 8px 12px;
}
.navbar-bg-light {
    background-color: var(--hero-color);
}
a.nav-link {
    padding: 6px 6px;
    color: var(--link-color);
}
a.nav-link:hover {
    background-color: #d9edf7;
    border-radius: 6px;
}
.navbar-light .navbar-nav a.nav-link.active {
    background-color: var(--tertiary-color);
    color: #fff;
    border-radius: 6px;
}

.navbar-nav .nav-item {
    /*color: #ffffff;*/
}

.border-default {
    border: 1px solid var(--border-color);
}
.border-grey {
    border-color: var(--border-color-grey);
}
.less-important {
    background-color: var(--light-grey-color);
}
.no-border {
    border: none;
}
/* links */
.link-arrow-left {
    display: inline-block;
    position: relative;
    padding: 0;
    color: var(--link-color);
    text-decoration: underline;
    font-weight: 400
}

a.link-arrow-left:hover {
    background-color: #cfe4f4;
    padding-right: 4px;
    color: #414141
}

.link-arrow-left:before {
    position: relative;
    content: "";
    display: inline-block;
    width: .5rem;
    height: .5rem;
    border-right: .15em solid #35A9E7FF;
    border-top: .15em solid #35A9E7FF;
    transform: rotate(45deg);
    margin-left: 0;
    margin-right: 1rem;
    margin-bottom: .1rem
}

.arrow-right {
    display: inline-block;
    position: relative
}

.arrow-right:after {
    position: relative;
    content: "";
    display: inline-block;
    width: .6rem;
    height: .6rem;
    border-right: .15em solid #fff;
    border-top: .15em solid #fff;
    transform: rotate(45deg);
    margin-left: 1rem;
    margin-right: 0;
    margin-bottom: .1rem
}
/* input */
.form-control::placeholder {
    color: rgb(149,149,149);
    opacity: 1;
}

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

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: #eeeeee;
    left: 50%;
    margin-left: -1.5px;
}

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

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li > .timeline-panel {
    width: 46%;
    float: left;
    border: 1px solid #d4d4d4;
    border-radius: 2px;
    padding: 20px 20px 12px 20px;
    position: relative;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    background-color: #fff;
}
.timeline > li > .timeline-panel:before, .timeline > li > .timeline-panel:after {
    position: absolute;
    display: inline-block;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    top: 26px;
    right: -15px;
    content: " ";
}

.timeline > li > .timeline-panel:before {
    border-left: 15px solid #ccc;
    border-right: 0 solid #ccc;
}

.timeline > li > .timeline-panel:after {
    top: 27px;
    right: -14px;
    border-top: 14px solid transparent;
    border-left: 14px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
}

/*
.timeline>li>.timeline-panel:before {
    position: absolute;
    top: 26px;
    right: -15px;
    display: inline-block;
    border-top: 15px solid transparent;
    border-left: 15px solid #ccc;
    border-right: 0 solid #ccc;
    border-bottom: 15px solid transparent;
    content: " ";
}
.timeline>li>.timeline-panel:after {
    position: absolute;
    top: 27px;
    right: -14px;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
    content: " ";
}
*/
/*
.timeline > li.less-important > .timeline-panel:before, .timeline > li.less-important > .timeline-panel:before {
    border-top: 15px solid transparent;
    border-left: 15px solid var(--light-grey-color);
    border-right: 0 solid var(--light-grey-color);
}
*/

.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: 15px;
    left: -15px;
    right: auto;
}

.timeline > li > .timeline-badge {
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.4em;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -25px;
    background-color: #999999;
    z-index: 100;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
}

.timeline > li > .timeline-badge .fa {
    margin-top: 14px;
}
/* Event list compressed */
.card {

}
.card-heading {
    background-color: var(--light-blue-color);
    color: var(--tertiary-color);
}
.card h3 img {
    margin-left: 0.8rem;
    margin-right: 4.0rem;
    z-index: 100;
}
.card h3 {
    vertical-align: middle;
    font-size: 1.2rem;
    font-weight: var(--font-weight-normal);
}

.card > ul.list-group {
    display: table;
    table-layout: fixed;
    width: 100%;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.4rem;
}
.card > li.list-group-item {
    color: #777;
}
.itemicon {
    display: table-cell;
    width: 1.6rem;
    margin-right: 1.4rem;
}

.itemdate {
    display: table-cell;
    float: left;
    width: 4.0rem;
    min-height: 1px;
    color: #777;
    margin-right: 0.2rem;
}

.itembody {
    display: table-cell;
    min-height: 1px;
    width: 100%;
}

/* Users */
.user-item {
    display: flex;
    align-items: center;
}
.user-image {
    width: 50px; /* Adjust size as needed */
    height: 50px; /* Adjust size as needed */
    object-fit: cover; /* Ensures the image covers the area */
}

.table-badge, .table-badge td
{
    color: #fff;
    width: 20px;
    height: 20px;
    line-height: 20px;
}

.timeline-badge.primary {
    background-color: #2e6da4 !important;
}

.timeline-badge.success {
    background-color: #3f903f !important;
}

.timeline-badge.warning {
    background-color: #f0ad4e !important;
}

.timeline-badge.danger {
    background-color: #d9534f !important;
}

.timeline-badge.info {
    background-color: #5bc0de !important;
}

.timeline-title {
    margin-top: 0;
    color: inherit;
}

.timeline-body img {
    margin-bottom: 24px;
}
.timeline-body > p,
.timeline-body > ul {
    margin-bottom: 0;
}

.timeline-body > p + p {
    margin-top: 5px;
}

.timeline-footer {
    margin-top: 8px;
}

.timeline-heading {
    display: block;
    clear: both;
    width: 100%;
}

.timeline-panel p.small {
    line-height: 1.3em;
}
 /* media */

.person.media:first-child {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
}
/* Lists */
.custom-list-group .list-group-item {
    border: none;
    border-bottom: 1px solid rgba(0,0,0,.125);
}
.custom-list-group .list-group-item:last-child {
    border-bottom: none;
}

/* Activities */
.subline {
    color: #888;
    font-size: 0.85rem;
}
.origin {
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    border-color: var(--bs-success-border-subtle) !important;
    border-radius: var(--bs-border-radius) !important;
    background-color: var(--bs-success-bg-subtle) !important;
    color: #3c763d;
    padding: .25rem !important;
}
.table-container {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.table-container > .d-flex {
    display: table-row;
}

.table-cell {
    display: table-cell;
    padding: 0.5rem;
    text-align: center;
    vertical-align: middle;
}
/* pagination */
ul.f3-widget-paginator {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    list-style: none;
}
.f3-widget-paginator li {
    position: relative;
    float: left;
    padding: 6px 0;
    margin-left: -1px;
    line-height: 1.42857;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
}

.f3-widget-paginator .current {
    background-color: #337ab7;
    border-color: rgba(0, 0, 0, .1) rgba(0, 0, 0, .1) rgba(0, 0, 0, .25);
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
    padding: 4px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
}
/* grid */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    grid-gap: 15px;
    grid-auto-rows: 0;
}

.masonry-item {
    break-inside: avoid;
}
/* News */
.newslist .g-4, .newslist .gx-4 {
    --bs-gutter-x: 2.2rem;
}
.newslist .border-0 .card-body {
    padding: 0;
}

.newslist h5.card-title {
    text-transform: initial;
}

.newslist h5.card-title a {
    text-decoration: none;
}
.newslist h5.card-title a:hover {
    text-decoration: underline;
}
.newslist .card-footer {
    /* padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x); */
    padding: 0 1.3rem 0 1.3rem;
    background-color: transparent;
    color: var(--bs-card-cap-color);
    border-top: none;
    border-bottom: var(--bs-card-border-width) solid var(--bs-card-border-color);
}

.news-list-category {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.84615;
    clear: both;
}

@media (max-width: 767.98px) {
    .btn-row {
        --bs-gutter-x: 0; /* Remove horizontal gap on small screens */
    }
    .btn-col {
        padding: 0; /* Remove padding on small screens */
    }
}