:root {
    --bs-primary-rgb: 166,133,72;
    
    --gbi-color-lgold: 234,227,210;
    --gbi-color-gold: 166,133,72;
    --gbi-color-dblue: 29,53,90;
    --gbi-color-lblue: 33,62,96;
    --gbi-color-lgrey: 231,234,238;
    --bs-body-font-family: sffont;
}

@font-face {
    font-family: sffont;
    src: url("/static/assets/fonts/GillSans.ttf") format("truetype");
    font-weight: 700;
} 

@font-face {
    font-family: sffont;
    src: url("/static/assets/fonts/GillSans-Light.ttf") format("truetype");
    font-weight: 400;
}  
body {
    font-family: sffont, "GillSans", sans-serif;
    letter-spacing: 0.035em;
    font-size: 18px;
    word-spacing: 0.1em;
    text-rendering: optimizeLegibility;
    font-kerning: none; /* optional, if kerning is too tight */
}
h1,h2,h3,h4,h5,h6 {
    letter-spacing: 0.1em !important;
    color: rgb(var(--gbi-color-dblue));
    font-weight: bold;
}
h1 {
    font-size: 25px !important;
}
h2 {
    font-size: 23px !important;
}
h3 {
    font-size: 20px !important;
}
h4 {
    font-size: 18px;
}
h5 {
    font-size: 16px;
}
.banner-video {
    position:absolute;
    top:0;
    left:0;
    right:0;
    z-index:-1;
    width:100%;
    height:100%;
    object-fit: cover;
}
footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 18px;
    text-transform: uppercase;
}
footer ul ul {
    /* margin-top: 5px;
    margin-bottom: 5px; */
}

.btn-outline {
    border:1px solid #fff!important;
}

.form-select {
    border:0;
    border-radius: 0;
    width: auto;
    min-width: 200px;
    color: white; /* text color */
    background-color: #333; /* background (optional) */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
}
.form-select option {
  text-align: center;
}
.form-select {
  text-align-last: center; /* Safari & some others */
  -moz-text-align-last: center; /* Firefox */
}
a {
    text-decoration: none;
    color:#000;
}
.bg-gold {
    background-color: rgb(var(--gbi-color-gold));
    color: #fff;
}
.bg-lgold {
    background-color: rgb(var(--gbi-color-lgold));
}
.bg-dblue {
    background-color: rgb(var(--gbi-color-dblue));
    color: #fff;
}
.bg-lblue {
    background-color: rgb(var(--gbi-color-lblue));
}
.bg-lgrey {
    background-color: rgb(var(--gbi-color-lgrey));
}
.text-gold {
    color: rgb(var(--gbi-color-gold));
}
.text-blue {
    color: rgb(var(--gbi-color-dblue));
}

table thead>tr>th {
    text-transform: uppercase;
    background-color: rgb(var(--gbi-color-lgrey)) !important;
}
table p {
    margin-bottom:0!important;
    padding-bottom:0!important;
}
.table-funds {
    background-color: transparent;
}
.table-funds thead th {
    background-color: rgb(var(--gbi-color-gold))!important;
    color:#fff!important;
}
.table-funds td {
    background-color: transparent;
    border-bottom: 1px solid #000;
}
.table-funds tr:last-child td {
    border-bottom: 0;;
}

.btn {
    border:0;
    border-radius: 0;
    align-content: center;
}
.btn-primary {
    --bs-btn-bg: rgb(var(--gbi-color-gold));
    --bs-btn-active-bg: rgb(var(--gbi-color-gold));
    --bs-btn-disabled-bg: rgba(var(--gbi-color-gold), 0.4);
    --bs-btn-hover-bg: rgba(var(--gbi-color-gold), 0.8);
    color: #fff !important;
}

.btn-secondary {
    --bs-btn-bg: rgb(var(--gbi-color-lblue));
    --bs-btn-active-bg: rgb(var(--gbi-color-lblue));
    --bs-btn-disabled-bg: rgba(var(--gbi-color-lblue), 0.4);
    --bs-btn-hover-bg: rgba(var(--gbi-color-lblue), 0.8);
    color: #fff !important;
}
.px-xtra {
    padding-top: 5vw;
    padding-bottom: 5vw;
}

.arrow-after {
    position: relative;
}

.row>div:not(:last-child) .arrow-after::after {
    display: none;
    content: "";
    position:absolute;
    right: -2.7em;
    top: 3rem;
    width: 32px;
    height:32px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="%23000000"><path d="M361.891 242.03 187.347 9.31c-7.714-10.283-22.298-12.365-32.582-4.655-10.283 7.713-12.367 22.3-4.655 32.582l164.072 218.758-164.071 218.767c-7.713 10.282-5.627 24.871 4.655 32.582A23.17 23.17 0 0 0 168.711 512c7.076 0 14.064-3.215 18.637-9.311l174.544-232.732a23.274 23.274 0 0 0-.001-27.927"/></svg>');
}

.navbar {
    letter-spacing: 0.1em;
    --bs-navbar-active-color: rgba(255,255,255,1.0);
    --bs-navbar-color: rgba(255,255,255,0.7);
    --bs-navbar-hover-color: rgba(255,255,255, 1.0);
}
.navbar.smaller a {
    font-size:13px !important;
}
.cursor-pointer  {
    cursor:pointer;
}
.navbar .nav-link {
    text-transform: uppercase;
    font-weight: bold;;
}
header {
    position: relative;
    z-index:2;
}
 
footer, footer a {
    color:#ffffff !important;
}
.navbar-toggler {
    border:0;
    background-color: rgb(var(--gbi-color-gold));
}

#banner {
    position: relative;
    z-index: 1;
    padding-top: 100px;
    padding-bottom: 100px;
}
.first-lead p:first-child {
    font-size: 22px;
    line-height: 120%;
}

.text-column-2 {
    columns: 1;
}

.text-column-2 p:first-child {
    font-size: 19px;
}
.text-column-2 img {
    max-width: 100% !important;
    break-after: column;    /* modern, standard */
  -webkit-column-break-after: always; /* Safari/WebKit */
  -moz-column-break-after: always;    /* Firefox (older) */
}

.text-hero {
    font-size: clamp(2rem, 5vw, 2.5rem);
    line-height: 100%;
    letter-spacing: 0.05em;
}

.extra-lead {
    font-size: 150%;
    line-height: 100%;
}
.text-small {
    font-size:12px;
}
.text-sm {
    font-size:14px;
}

.card {
    border:0;
    height:100%;
    display: flex;
}

.card-image {
    display: flex;
    color: #fff;
    height: 200px;
    width: 100%;
    position: relative;

}
.card-image img {
    display:block;
    object-fit: cover;
    width: 100%;
    position: relative;
    z-index: 0;
}
.black-overlay {
    content: " ";
    position: absolute;
    top:0;
    left: 0;
    right: 0; 
    bottom:0;
    z-index: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.4), rgba(0,0,0,0));
}
.card-content {
    background: rgb(var(--gbi-color-lgrey));
    flex-grow: 1;
    display:flex;
    flex-direction: column;
}
.mw-64 {
    max-width: 64px;
}
.mw-32 {
    max-width: 32px;
}
.mw-24 {
    max-width: 24px;
}
.mw-96 {
    max-width: 96px;
}
.mw-128 {
    max-width: 128px;
}

.blue-arrow-right {
    display:none;
    z-index:9;
    width:32px;
    height:64px; 
    position: absolute;
    top: 32px;
    right: -16px;
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20100%20200'%20fill%3D'none'%20stroke%3D'currentColor'%20stroke-width%3D'16'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M30%2030%20L70%20100%20L30%20170'/%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: center;
    color: rgb(var(--gbi-color-dblue));
}

.card-content span {
    flex:1;
}
.card-content a {
    width: auto;
    align-self: flex-start;
}
.ico-box {
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    color: rgb(var(--gbi-color-dblue));
    line-height: 100%;
    margin-bottom:10px;
}
.ico-box img {
    margin:0 auto;
    display: block;
    max-width: 128px;
    margin-bottom: 15px;
    
}
.desat-logo {
    filter: saturate(0);
    mix-blend-mode: multiply;
    transition: .3s all ease-in-out;
}
.desat-logo:hover {
    filter: saturate(1);
}

.multiply {
    mix-blend-mode: multiply;
}

.carousel-quote {
    text-align: center;
    padding: 10vw 10vw;
    margin: 0 auto;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.9);
}

.covered-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.border-end {
    border-color: rgba(255,255,255, 0.4) !important;
}
.profile-pic {
    max-width: 150px;
    overflow: hidden;
    border-radius: 50%;
    background-color: #fff;
}
.profile-pic img {
    width: 100%;
    object-fit: cover;
}

.border-light-subtle {
    border-color: rgba(255,255,255,0.5) !important;
}
.modal-overlay {
    background-color: rgba(255,255,255,0.8);
    position: fixed;
    left:0;
    right:0;
    top: 0;
    bottom:0;
    z-index:2;
    height: 100vh;
}
.model-ontop {
    position: fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index:3;
    overflow-y: auto;
} 
/*
    Custom checkbox
*/
.checkbox {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

/* Hide the native checkbox */
.checkbox input[type="checkbox"] {
  display: none;
}

/* Custom box */
.checkbox .checkmark {
  width: 20px;
  height: 20px;
  background-color: white;
  display: inline-block;
  position: relative;
  margin-right: 8px;
}
.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 25px 0;
    border-radius: 4px; 
}
.pagination li {
    display: inline;
}
.pagination p,
.pagination a {
    position: relative;
    float: left;
    padding: 6px 12px;
    line-height: 1.42857143;
    text-decoration: none;
    color: #116238;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px;
        
}
.pagination p:hover,
.pagination a:hover {
    z-index: 3;
    color: #04140a;
    background-color: #eee;
    border-color: #ddd;
    cursor: pointer;
}

.pagination > .active > p,
.pagination > .active > a {
    z-index: 2;
    color: #fff !important;
    background-color: rgb(var(--gbi-color-gold));
    border-color: rgb(var(--gbi-color-gold));
    cursor: default;
}

.pagination > li:first-child > p,
.pagination > li:first-child > a,
.pagination > li:first-child > span {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}
.pagination > li:last-child > p,
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}

/* X mark when checked */
.checkbox input[type="checkbox"]:checked + .checkmark::before {
  content: '✕';
  color: black;
  font-size: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
}

/* accordion */
/* Remove default background and border */
.accordion-button,
.accordion-item,
.accordion-body {
  background-color: transparent !important;
  border: none;
}

/* Prevent Bootstrap hover/focus/active background on the button */
.accordion-button:focus,
.accordion-button:not(.collapsed) {
  box-shadow: none;
  background-color: transparent !important;
}

/* Custom plus/minus icon using ::before */
.custom-accordion-btn {
  position: relative;
  padding-left: 2rem; /* make space for icon */
  font-size: 18px;
  font-weight:bold;
}

.custom-accordion-btn::before {
  content: "+";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  transition: transform 0.2s;
}

/* When expanded, change the icon to minus */
.custom-accordion-btn:not(.collapsed)::before {
  content: "−"; /* Unicode minus sign */
}


/* Extra small (default): no max-width */
.container {
  width: 100%;
  padding-right: var(--bs-gutter-x, 0.25rem);
  padding-left: var(--bs-gutter-x, 0.25rem);
  margin-right: auto;
  margin-left: auto;
}

/* Small (≥576px) */
@media (min-width: 576px) {

  .container {
    max-width: 540px;
  }
}

/* Medium (≥768px) */
@media (min-width: 768px) {
    .text-column-2 {
        columns: 2;
    }
  .arrow-after::after, .blue-arrow-right {
    display: block!important;
  }
  .model-ontop {
    bottom: unset;
  }
  .container {
    max-width: 720px;
  }
}

/* Large (≥992px) */
@media (min-width: 992px) {
  .container {
    max-width: 90vw;
    margin-left: auto;
    margin-right: auto;
    
  }
  .navbar-expand-lg .navbar-nav .nav-link {
    --bs-navbar-nav-link-padding-x: 5px;
    font-size: 0.7rem;
    letter-spacing:0.01em;
  }
}

/* X-Large (≥1200px) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  .navbar-expand-lg .navbar-nav .nav-link {
    font-size: 0.9rem;
  }
}

/* XX-Large (≥1400px) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
    .navbar-expand-lg .navbar-nav .nav-link {
    --bs-navbar-nav-link-padding-x: 10px;
    font-size: 1.0rem;
  }
}

.custom-carousel {}
.custom-item-prev, 
.custom-item-next {
    cursor: pointer;
    position:absolute;
    top:50%;
    width: 24px;
    height: 48px;
    left: -48px;
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%20100%20200'%20fill%3D'none'%20stroke%3D'currentColor'%20stroke-width%3D'16'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'M30%2030%20L70%20100%20L30%20170'/%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: center;
    color: rgb(var(--gbi-color-dblue));
}
.custom-item-prev {
    transform:rotatez(180deg);
}
.custom-item-next {
    left:unset;
    right: -48px;
}

.custom-item {
    position: relative;
    text-align: center;
    padding:20px;
    width:100%;
    height:100%;
    border-radius: 5px;
    background-color: rgb(var(--gbi-color-gold));
    z-index:1;
    transition: all .35s ease-in-out;
    opacity: 0.5;
}

.custom-item:not(.active)::after {
    content: "";
    position: absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
}

.custom-item.active {
    transform: scale(1.1);
    z-index: 5;
    opacity: 1.0;
} 
.custom-item:not(.active) * {
    /* display: none; */
    opacity: 0.5;
}  

.custom-item li {
    margin-top:1rem;
    margin-bottom:1rem;
    line-height:110%;
}

.ticker-row h6 {
    font-size:16px !important;
}
.ticker-row h4 {
    font-size:24px !important;
}