html, body {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}


@font-face {
  font-family: "Kanit";
  src: url("https://static.igem.wiki/teams/4245/wiki/fonts/kanit-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Kanit";
  src: url("https://static.igem.wiki/teams/4245/wiki/fonts/kanit-semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Nunito";
  src: url("https://static.igem.wiki/teams/4245/wiki/fonts/nunito-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Nunito";
  src: url("https://static.igem.wiki/teams/4245/wiki/fonts/nunito-light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Nunito";
  src: url("https://static.igem.wiki/teams/4245/wiki/fonts/nunito-lightitalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: "Nunito";
  src: url("https://static.igem.wiki/teams/4245/wiki/fonts/nunito-semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

body {
  padding-top: 56px;
  background-color: #0d0f12;
}
.left-aligned {
  margin-left: auto;
}
.footbg-dark {
  background-color: #1F2225 !important;
}
.bg-hero {
  background-color: #7952b3;
}

/* CALLOUT */
.bd-callout {
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e9ecef;
  border-left-width: 0.25rem;
  border-radius: 0.25rem;
}
.bd-callout h4 {
  margin-bottom: 0.25rem;
}
.bd-callout p:last-child {
  margin-bottom: 0;
}
.bd-callout code {
  border-radius: 0.25rem;
}
.bd-callout + .bd-callout {
  margin-top: -0.25rem;
}
.bd-callout-info {
  border-left-color: #5bc0de;
}
.bd-callout-warning {
  border-left-color: #f0ad4e;
}
.bd-callout-danger {
  border-left-color: #d9534f;
}

footer {
  z-index: 40;
  display: block;
  position: relative;
}

/* footer */
footer a {
  color: white;
  font-weight: 600;
  text-decoration: none;
}
footer a:hover {
  color: white;
  text-decoration: underline;
}

/*               LAMBERT_GA CSS STARTS HERE               */

:root {
  --base-header-font: "Kanit", sans-serif;
  --base-body-font: "Nunito", sans-serif;

  --blue-100: #9a85f7;
  --blue-200: #6a48ff;
  --blue-300: #2d00f7;
  --blue-400: #100caf;
  --blue-500: #0d005b;

  --red-100: #f66160;
  --red-200: #f85d5c;
  --red-300: #f85d5c;
  --red-400: #cd1307;
  --red-500: #a21f02;

  --accent-color: #5b6fff;

  --neutral-white: #fff;
  --neutral-100: #f8f9fa;
  --neutral-200: #e9ecef;
  --neutral-300: #ced4da;
  --neutral-400: #adb5bd;
  --neutral-500: #495057;
  --neutral-600: #343a40;
  --neutral-650: #1f2225;
  --neutral-700: #0d0f12;
  --neutral-800: #0b0c0d;
  --neutral-black: #000;
}

.page-content {
  padding-left: 7%;
  padding-right: 7%;
  max-width: 1300px;
  margin: 0 auto !important;
}

h1,
h2,
h3,
h4 {
  font-family: var(--base-header-font);
  font-weight: 600;
}

b {
  font-weight: 800;
}

h1 {
  font-size: 48px;
  color: white;
  margin-top: 25px;
}

h2 {
  font-size: 36px;
  color: white;
  margin-top: 20px;
}

h3 {
  font-size: 24px;
  color: var(--accent-color);
  margin-top: 5px;
}
h4 {
  color: white;
  font-size: 20px;
}

p,
span,
li,
td,
.apasource {
  font-family: var(--base-body-font);
  font-weight: 300;
  font-size: 18px;
  /*color: rgb(215, 215, 215);*/
  color: #d0cfcf;
}

.header {
  font-family: var(--base-header-font);
  font-size: 72px;
  color: white;
  letter-spacing: 10px;
  text-align: center;
  z-index: 1;
}

.subheader {
  font-family: var(--base-body-font);
  font-size: 24px;
  text-align: center;
  z-index: 1;
}

blockquote {
  position: relative;
  left: 16px;
}

/* single line border on the left */
blockquote::after {
  content: "";
  height: 100%;
  width: 6px;
  background-color: var(--accent-color);
  position: absolute;
  top: 0%;
  left: -16px;
  border-radius: 8px;
}

a {
  color: var(--accent-color);
  text-decoration: none;
}
a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

code {
  background-color: #1f2225;
  border-radius: 0px;
  padding: 3px 5px 3px;
}

hr {
  border: solid 1px var(--accent-color);
  border-radius: 3px;
  height: 5px;
  margin: 30px 0px;
  opacity: 1;
}

/* Below is component CSS */

.iconInfoC {
  display: flex;
  align-items: center;
  margin: 20px;
}

.iconInfoC > .icon {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.iconInfoC > .content {
  /* margin-top: 16px; */
  margin-left: 50px;
}

.iconInfoC > .content > .title {
  font-weight: 700;
  /* font-size: 24px; */
}

.iconInfoC > .content > p {
  font-weight: 300;
  margin: 0px;
}

.bg-dark {
  background-color: #0d0f12 !important;
}

.nav-item,
.navbar-brand {
  font-family: var(--base-header-font) !important;
  color: white !important;
  font-weight: 700;
  margin: 0px 10px 0px 10px;
}
.nav-link {
  color: white !important;
  padding: 16px 0px 16px 0px;
  font-weight: 600;
}

/* .nav-link:hover {
  text-decoration: underline var(--accent-color) 4px;
  text-underline-offset: 2px;
} */

.nav-link.team:hover {
  text-decoration: underline #5b6fff 4px !important;
  text-underline-offset: 2px;
}

.nav-link.project:hover {
  text-decoration: underline #5b6fff 4px !important;
  text-underline-offset: 2px;
}

.nav-link.wetlab:hover {
  text-decoration: underline #5b6fff 4px !important;
  text-underline-offset: 2px;
}

.nav-link.drylab:hover {
  text-decoration: underline #ee7638 4px !important;
  text-underline-offset: 2px;
}

.nav-link.hp:hover {
  text-decoration: underline #e13f28 4px !important;
  text-underline-offset: 2px;
}

.nav-link.judging:hover {
  text-decoration: underline #5b6fff 4px !important;
  text-underline-offset: 2px;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  background-color: #ffff00;
  color: #ffc0cb;
}

.dropdown-menu {
  border-radius: 0px 0px 16px 16px;
}

.dropdown-menu li {
  padding: 5px 0px 5px 0px;
}

.dropdown-toggle::after {
  display: none;
}

.dropdown-item {
  font-weight: 600;
}

.dropdown-item.wetlab:hover {
  color: #5b6fff !important;
  text-decoration: none;
}

.dropdown-item.drylab:hover {
  color: #ee7638 !important;
  text-decoration: none;
}

.dropdown-item.hp:hover {
  color: red !important;
  text-decoration: none;
}

.dropdown-item.project:hover {
  color: #5b6fff !important;
  text-decoration: none;
}

.dropdown-item.team:hover {
  color: #5b6fff !important;
  text-decoration: none;
}

.twoColumnParagraphComponent {
  display: flex;
}

.twoColumnParagraphComponent > #second {
  margin-left: 16px;
}

.twoColumnParagraphComponent > #first {
  margin-right: 16px;
}

th,
td {
  color: white;
  font-family: var(--base-body-font);
  border-collapse: collapse;
  border: 2px solid var(--neutral-800);
  padding: 10px;
  background-color: var(--neutral-700);
}

th {
  background-color: var(--neutral-650);
  font-weight: 600;
}

tr:first-child > th {
  border-bottom: 2px var(--accent-color) solid;
}


.caption {
  color: var(--neutral-400);
  font-family: var(--base-body-font);
  font-style: italic;
  text-align: center;
}

img {
  max-width: 50vw;
}

.image {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  margin-block: 50px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5px;
  margin-top: 5px;
}

.image img {
  overflow: hidden;
  width: 80%;
  max-width: 100%;
  border-radius: 16px;
}

.image .caption {
  text-align: center;
  padding: 8px;
}

.container-everything {
  display: flex;
  
  justify-content: space-between;
  align-items: flex-start;
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sidebar {
  margin: 30px;
  padding: 0;
  width: 20%;
  /* background-color: #161616; */
  position: sticky;
  height: 100vh;
  overflow: visible;
  top: 95px;
  border-radius: 0px 20px 20px 0px;
  align-self: flex-start; /* <-- this is the fix */
}

.sidebar a {
  display: block;
  color: white;
  padding: 16px;
  text-decoration: none;
  font-size: 18px !important;
  font-family: "Kanit", sans-serif;
  border-radius: 0px 20px 20px 0px;
}

.sidebarTab {
  border: 2px solid var(--accent-color);
  height: 30px;
  width: 30px;
  margin: 30px;
  border-radius: 30px;
  color: rgba(0, 0, 0, 0);
  text-align: center;
  font-family: "Kanit", sans-serif;
  font-size: min(1.5vw, 20px);
  transition: width 0.5s, color 0.5s;
  overflow: clip;
  cursor: pointer;
}

.sidebarTab:hover {
  background-color: var(--accent-color);
  width: 100%;
  color: rgb(214, 214, 214);
}

.sidebarTabActive {
  background-color: var(--accent-color);
  width: 100%;
  color: rgb(255, 255, 255) !important;
}

.sidebar a.active {
  background-color: #383838;
  color: white;
}

.sidebar a:hover:not(.active) {
  background-color: #383838;
  color: white;
}

body > div.container {
  margin-left: 20%;
  width: 75%;
}
/* 
@media screen and (min-width: 2000px) {
  body > div.container {
    margin-left: none;
    width: 100%;
  }
} */

@media screen and (max-width: 1000px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    display: none;
  }
  .sidebar a {
    float: none;
  }
  body > div.container {
    margin-left: 0px;
  }
  body > div.container {
    padding: 1px 20px;
    width: 100%;
    max-width: 100%;
  }
  .header {
    font-size: 36px;
  }
}

th,
td,
tr {
  border-collapse: collapse;
  font-family: "Nunito", sans-serif;
  padding: 10px;
  font-size: 15px;
  color: white;
  text-align: left !important;
}

table {
  border-collapse: collapse;
  text-align: center;
  /* uncomment for center */
  /* left: 50%;
  transform: translateX(-50%); */
  margin: auto;
  display: inline-block;
  position: relative;
}

@media (max-width: 700px) {
  /* horizontal scrollbar for tables if mobile screen */
  table {
    display: block;
    overflow-x: auto;
  }
}

.carousel {
  margin-block: 40px;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
}

.carousel .caption {
  margin-top: 10px;
}

.carousel-item {
  height: 50vh;
  max-height: 550px;
}

.carousel-item img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.carousel-indicators {
  bottom: 30px;
}

.carousel-indicators li {
  cursor: pointer;
}

.iconHeader1 h1 {
  margin: 0px;
}

.iconHeader1 {
  display: flex;
  align-items: center;
  margin-block: 20px;
}

/* icon header 1 and 2 */
.iconHeader1 .icon {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  color: white;
  margin-right: 15px;
  /* filter: */
}

.iconHeader2 {
  display: flex;
  align-items: center;
  margin-block: 20px;
  margin-top: 45px;
}

.iconHeader2 h2 {
  margin: 0px;
}

.iconHeader2 .icon {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  color: white;
  margin-right: 15px;
  padding: non;
}

.iconHeader2 img {
  width: 30px;
}

/*  */
.apasource {
  padding-left: 36px;
  text-indent: -36px;
  margin-block: 5px;
  overflow-wrap: anywhere;
}

/* fancy paragraph */

.fancyParagraph .title {
  color: var(--accent-color);
  font-weight: 600;
}

/* fancy ordered circular list */

ol {
  /* list-style: */
  /* counter-reset: item; */
}

ol li {
  /* counter-increment: item;
  margin-bottom: 5px; */
}

ol li::marker {
  margin-right: 10px;
  margin-block: 2px;
  padding-inline: 6px;
  /* content: counter(item); */
  /* TODO: circular if possible */
  width: 30px;
  height: 30px;
  background: white;
  border-style: solid;
  border-width: 2px;
  border-radius: 100%;
  color: var(--accent-color);
  font-weight: 600;
  /* font-size: 0.8rem; */

  text-align: center;
  display: inline-block;
}

.svgIcon .icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: white;
  margin-right: 15px;
}

mjx-container {
   color: white !important;
}

.icon img {
  width: inherit;
}

	.twoColumnImageComponent {
		display: flex;
		margin-top: 32px;
    border-radius: 16px;
	}

	.twoColumnImageComponent img {
		width: 50%;
    border-radius: 16px;
    margin: 10px;
	}

  .twoColumnImageComponent .caption {
    text-align: center;
  }


	.twoColumnImageComponent>#second {
		margin-left: 16px;
	}

	.twoColumnImageComponent>#first {
		margin-right: 16px;
	}

	.twoColumnImageComponent>.column {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

  .iconHeader1 h2 {
    margin-top: 0px;
  }
