/**
 * Color classes and default styling are in /assets/main.css, focus your efforts there
 * @import external fonts at top of this page before default.css
 * remove comment for dark-mode.css if you want to enable that -- will not be 100%, you will need to fix minor things
 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url("./assets/default-settings.css");
/** @import url("assets/dark-mode.css"); */

html, body { overflow-x: hidden; }
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 { margin-bottom: 2rem; }
strong, b, .font-weight-bold { font-weight: 700; }
a { text-decoration: none; }
a:hover, a:focus, a:active { text-decoration: underline; }
.btn { font-weight: 600; text-transform: uppercase; border-radius: 0; }
li:not(.nav-item) { padding-bottom: .6rem; }
li:not(.nav-item) > ul { padding-top: .6rem; }
::marker { color: rgb( var(--bs-primary-rgb) ); }
.restrict-image .card > img.w-100 { max-width: 90px; padding: 1rem; }
.text-justify { text-align: justify; }

/** header */
#search-container { display: inline-block; }

/** navbar */
.brand-logo { height: auto; }
#mainMenuNav form { max-width: 375px; }
.navbar-nav .nav-item { margin: 0 .5rem; font-weight: 400; font-size: 1.095rem; }
.navbar-nav .nav-item.nav-btn { padding: .25rem 0; width: 140px; white-space: nowrap; }
.navbar-nav .nav-item.nav-btn a.nav-link { background: rgb(var(--bs-primary-rgb)); color: var(--jwbs-text-on-primary-bg-color); padding: .25rem 1.5rem; font-size: .9rem; text-transform: uppercase; }

/** carousel */
.jwbs-banner.breakout { margin-bottom: 3rem; }
.carousel-caption { left: 5%; right: 5%; }
.carousel-caption .container { width: fit-content; float: left; padding: 2rem 3rem 1rem 2rem; background: rgb(15, 86, 64, 1); }
.single-portfolio_company .carousel-caption, .single-team .carousel-caption, .single-post .carousel-caption { bottom: 0; }

.single-portfolio_company .carousel-caption, .single-team .carousel-caption,
.blog .carousel-caption, .single-post .carousel-caption { bottom: 0; top: 0; display: flex !important; align-items: center; }
.single-portfolio_company .carousel-caption .container, .single-team .carousel-caption .container,
.blog .carousel-caption .container, .single-post .carousel-caption .container { padding: 0; background-color: transparent; width: 100%; }
.single-portfolio_company .carousel-caption .container p, .single-team .carousel-caption .container p,
.blog .carousel-caption .container p, .single-post .carousel-caption .container p { margin: 0; }

/** about */
#about-grid .justify-content-center { justify-content: start !important; }
.accordion-button:not(.collapsed) { box-shadow: none; }

/** investment criteria */
#investment-grid .card { border-color: transparent; }
#investment-grid .card > img { margin: auto; }

/** portfolio companies */
#portfolio-company-stats { padding-inline-start: 20px; line-height: 2.5; }

/** team */
.team .card { background: var(--bs-primary-bg-subtle); padding-bottom: 1.5rem; }
.team .card .team-position-separator { display: none; }
.team .card .team-position { display: block; font-weight: 300; }

/** newsfeed */
.blog #jwbs-newsfeed-archive { max-width: 600px; }
.blog #jwbs-newsfeed-archive .card-footer a.btn { padding-left: 0; }

/** accordions */
.accordion-header button { font-size: 1.3rem; padding-bottom: 0.25rem; padding-top: 0.25rem; font-weight: 500; }
.accordion-header button:not(.collapsed) { color: rgb( var(--bs-primary-rgb) ) !important; }

/** blog */
time { font-weight: 500; color: #0f5640; margin: 1.5rem 0; display: block; }
.jwbs-newsfeed .card-title { font-size: calc(1.375rem + 1.5vw); }

/** sidebar */
#sidebar-default .alert-dark { display: none; }

/** footer */
#inner-footer { font-weight: 400; font-size: 75%; margin-top: 3rem; }
#inner-footer a { color: var(--jwbs-text-on-primary-bg-color); }
#inner-footer ul.menu { list-style: none; padding-inline-start: 0; padding: .5rem 0; }
#inner-footer .menu-main-nav-container ul.menu { text-transform: uppercase; font-size: 110%; }
#inner-footer ul.menu li { margin: .5rem 0; }

/** media queries */
/** Small devices (landscape phones, 576px and up) [-sm] */
@media only screen and (min-width : 576px) {
  .carousel-caption .container { margin-left: calc((100% - 510px) / 2); }
}

/** Medium devices (tablets, 768px and up) [-md] */
@media only screen and (min-width : 768px) {
  .restrict-image .card > img.w-100 { max-width: fit-content; }
  .carousel-caption .container { margin-left: calc((100% - 690px) / 2); max-width: 360px; }
  .carousel-item { max-height: 630px; }
}

/** Large devices (desktops, 992px and up) [-lg] */
@media only screen and (min-width : 992px) {
  .navbar-nav .nav-item.nav-btn { margin-top: 0.25rem; }
  .large-lead { font-size: 2rem; }
  #mainMenuNav form { display: none; }
  .carousel-caption .container { margin-left: calc((100% - 930px) / 2); max-width: 480px; }
  .carousel-item { max-height: 530px; }
  #inner-footer ul.menu li { display: inline-block; padding: 0 2rem 0 0; }
}

/** X-Large devices (large desktops, 1200px and up) [-xl] */
@media only screen and (min-width : 1200px) {
  .carousel-caption .container { margin-left: calc((100% - 1110px) / 2); max-width: 570px; }
  .carousel-item { max-height: 530px; }
  .jwbs-newsfeed .card-title { font-size: 2rem; }
}

/** larger desktops, 1400px and up [-xxl] */
@media only screen and (min-width : 1400px) {
  .carousel-caption .container { margin-left: calc((100% - 1290px) / 2); max-width: 660px; }
  .carousel-item { max-height: 630px; }
}

/** larger desktops, 1600px and up */
@media only screen and (min-width : 1600px) {
  .carousel-item { max-height: calc(100vh - 191px); }
}