.homepage-container {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.homepage-sidemenu {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 240px;
  width: 240px;
  align-content: space-between;
  border-right: 1px solid var(--border-color);
}

.homepage-sidemenu-account {
  width: 100%;
}

.homepage-sidemenu-account-icon {
  display: flex;
  width: 128px;
  height: 128px;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  margin: 48px auto 24px;
}

.homepage-sidemenu-account img {
  width: 128px;
}

.homepage-sidemenu-account h5 {
  padding: 0 24px;
  color: #003a7f;
  font-size: 14pt;
  font-weight: bold;
  text-align: center;
  margin-bottom: 8px;
  width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  height: 16pt;
  overflow: hidden;
  line-height: 16pt;
}

.homepage-sidemenu-account p {
  width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  height: 16px;
  overflow: hidden;
  line-height: 16px;
  word-break: break-all;
  text-align: center;
  padding: 0 24px;
}

.homepage-sidemenu-logo {
  width: 100%;
  padding: 28px;
}

.homepage-sidemenu-logo img {
  display: block;
  height: 56px;
}

.homepage-sidemenu-footer {
  width: 100%;
  padding: 24px;
}

.homepage-sidemenu-footer a {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  color: var(--text-color);
}

.homepage-sidemenu-footer .icon {
  display: block;
  height: 16px;
  margin-right: 8px;
}

.homepage-sidemenu-footer .blue {
  display: none;
}

.homepage-sidemenu-footer a:hover {
  color: var(--theme-color);
}

.homepage-sidemenu-footer a:hover .grey {
  display: none;
}

.homepage-sidemenu-footer a:hover .blue {
  display: block;
}

.homepage-sidemenu-items {
  width: 100%;
  margin-top: 80px;
}

.homepage-sidemenu-items img {
  width: 20px;
  height: auto;
}

.homepage-sidemenu-item {
  display: flex;
  align-items: center;
  width: 100%;
  cursor: pointer;
  text-decoration: none;
  font-weight: 400;
  padding: 8px 24px;
}

a.homepage-sidemenu-item:hover {
  text-decoration: none;
}

.homepage-sidemenu-item img {
  height: 24px;
}

.homepage-sidemenu-item img:first-child {
  display: block;
}

.homepage-sidemenu-item img:nth-child(2) {
  display: none;
}

.homepage-sidemenu-item.active img:first-child {
  display: none;
}

.homepage-sidemenu-item.active img:nth-child(2) {
  display: block;
}

.homepage-sidemenu-item:hover img:first-child {
  display: none;
}

.homepage-sidemenu-item:hover img:nth-child(2) {
  display: block;
}

.homepage-sidemenu-item span {
  display: block;
  margin-left: 15px;
}

.homepage-sidemenu-item.active,
.homepage-sidemenu-item:hover {
  background-color: var(--hover-background);
}

.homepage-sidemenu-item.active span,
.homepage-sidemenu-item:hover span {
  color: var(--theme-color);
}

.homepage-content-main-title {
  position: relative;
  width: fit-content;
  margin-bottom: 48px;
  font-size: 20pt;
  font-weight: 500;
  line-height: 30px;
  color: #133B84;
}

.homepage-contents {
  flex: 0 0 calc(100vw - 240px);
  width: calc(100vw - 240px);
  min-height: 100vh;
  background-color: var(--background-grey);
  height: 100vh;
  overflow-y: auto;
}

.homepage-content {
  width: 100%;
  display: none;
  position: relative;
}

.homepage-content-banner {
  width: 100%;
  height: auto;
  margin-bottom: 16px;
  position: relative;
}

.homepage-content-banner .banner-image {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  cursor: pointer;
  border-radius: 8px;
}

.homepage-content-banner .banner-image.fade-in {
  animation: fade-in 5s;
  z-index: 2;
}

.homepage-content-banner .banner-image.fade-out {
  animation: fade-out 5s;
  z-index: 1;
}

@keyframes fade-in {
  from {
      opacity: 0;
  }

  to {
      opacity: 1;
  }
}

@keyframes fade-out {
  0% {
      opacity: 1;
  }

  20% {
      opacity: 0.2;
  }

  100% {
      opacity: 0;
  }
}

.homepage-content-banner .banner-select-index {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.banner-select-index .select-indicator {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 100%;
  background-color: var(--theme-color);
  background-clip: content-box;
  padding: 2px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.banner-select-index .select-indicator.active {
  border: 1px solid var(--theme-color);
}

.homepage-content-wrapper {
  width: 100%;
  padding: 48px 96px;
}

.homepage-content.active {
  display: block;
}

a:link {
  color: var(--text-color);
}

a:visited {
  color: var(--text-color);
}

.tutorial-videos {
  display: flex;
  flex-wrap: wrap;
}

.tutorial-video-wrapper {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 48px;
}

.tutorial-video-wrapper .tutorial-empty-video {
  margin: 0 auto;
}

.tutorial-video {
  width: calc((100% - 48px) / 3);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 24px;
  margin-right: 24px;
}

.tutorial-video:nth-child(3n) {
  margin-right: 0;
}

.tutorial-video .tutorial-video-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.tutorial-video .tutorial-video-img img {
  width: 100%;
}

.tutorial-video .tutorial-video-title {
  width: 100%;
  height: 96px;
  display: flex;
  align-content: space-between;
  padding: 16px;
  flex-wrap: wrap;
  background-color: #ffffff;
  border-radius: 0 0 8px 8px;
}

a.tutorial-video:link,
a.tutorial-video:visited {
  color: unset;
  text-decoration: none;
}

.tutorial-video .tutorial-video-title h3 {
  font-weight: 700;
  font-size: 9pt;
  width: 100%;
  line-height: 1.2;
}

.tutorial-video:hover .tutorial-video-title h3 {
  color: var(--theme-color);
  text-decoration: none;
}

.tutorial-video-subtitle {
  color: #888888;
  font-size: 9pt;
  width: 100%;
}

.btr-divider {
  background-color: #E0E0E0;
  display: block;
  height: 1px;
  margin: 0 16px 16px;
  width: calc(100% - 32px);
}

.homepage-publication {
  border-bottom: 1px solid #E0E0E0;
  padding-bottom: 32px;
  margin-bottom: 32px;
}

.homepage-publication-title {
  font-size: 14pt;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}

.homepage-publication-authors {
  margin-bottom: 24px;
}

.homepage-publication-abstract {
  line-height: 1.5;
  margin-bottom: 24px;
  text-align: justify;
}

a.homepage-publication-link:link,
a.homepage-publication-link:visited {
  color: #2C58A6;
  text-decoration: none;
}

.homepage-publication-link:hover {
  color: #2C58A6
}

.custom-scroll::-webkit-scrollbar {
  width: 6px;
}

.custom-scroll::-webkit-scrollbar-track {
  background: #f2f2f2;
}

.custom-scroll::-webkit-scrollbar-thumb {
  background: #9d9d9d;
  border-radius: 2px;
  cursor: pointer;
}

.homepage-content-panel-header {
  font-weight: bold;
  font-size: 14pt;
  width: 100%;
  height: 100%;
  min-height: 15px;
}

.homepage-apps {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 20px;
  margin-bottom: 32px;
  padding-top: 16px;
}

.homepage-app {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: #ffffff;
}

.homepage-app-new {
  position: absolute;
  top: 5px;
  right: -13px;
  display: flex;
  width: 55px;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background-color: #008080;
  color: #fff;
  font-size: 7pt;
  line-height: 9px;
  text-transform: uppercase;
  transform: rotate(45deg);
}

.homepage-app-logo {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 100px;
  padding: 16px;
  border-radius: 8px 8px 0 0;
}

.homepage-app-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.homepage-app-logo-title {
  width: calc(100% - 56px);
}

.homepage-app-logo-title h5 {
  font-size: 12pt;
  font-weight: bold;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
}

.homepage-app-logo-title p {
  font-size: 10pt;
  line-height: 1.5;
}

.homepage-app-explore {
  display: flex;
  width: 100%;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius:  0 0 8px 8px;
  border-top: 1px solid var(--border-color);
  transition: all 0.15s ease-in-out;
}

.homepage-app.bbrowserx .homepage-app-explore:hover {
  text-decoration: none;
  font-weight: 400;
  background-color: rgba(0, 180, 219);
  color: #ffffff;
}

.homepage-app.bbrowserxpro .homepage-app-explore:hover {
  text-decoration: none;
  font-weight: 400;
  background-color: rgba(0, 180, 219);
  color: #ffffff;
}

.homepage-app.talk2data .homepage-app-explore:hover  {
  text-decoration: none;
  font-weight: 400;
  background-color: rgba(22, 193, 168);
  color: #ffffff;
}

.homepage-app.lens-bulk .homepage-app-explore:hover  {
  text-decoration: none;
  font-weight: 400;
  background-color: rgba(4, 147, 191);
  color: #ffffff;
}

.homepage-app.lens-sc .homepage-app-explore:hover  {
  text-decoration: none;
  font-weight: 400;
  background-color: rgba(4, 147, 191);
  color: #ffffff;
}

.homepage-app.vinci .homepage-app-explore:hover  {
  text-decoration: none;
  font-weight: 400;
  background-color: rgba(24, 64, 126);
  color: #ffffff;
}

.homepage-app.colab .homepage-app-explore:hover  {
  text-decoration: none;
  font-weight: 400;
  background-color: rgba(6, 120, 163);
  color: #ffffff;
}

.homepage-app.study-search .homepage-app-explore:hover  {
  text-decoration: none;
  font-weight: 400;
  background-color: #F6BB43;
  color: #ffffff;
}

.homepage-app.smart-bulk .homepage-app-explore:hover,
.homepage-app.pixel .homepage-app-explore:hover  {
  text-decoration: none;
  font-weight: 400;
  background-color: rgba(24, 64, 126);
  color: #ffffff;
}


.homepage-app.biomind .homepage-app-explore:hover,
.homepage-app.spatialx .homepage-app-explore:hover  {
  text-decoration: none;
  font-weight: 400;
  background-color: #008080;
  color: #ffffff;
}

.homepage-license-wrap {
  display: flex;
  margin-top: 16px;
  align-items: flex-start;
  justify-content: space-between;
}


.homepage-license-header {
  width: 100%;
  height: 32px;
  border-bottom: 1px solid var(--border-color);
  font-size: 12pt;
  margin-bottom: 16px;
}

.homepage-license-panel-left {
  display: flex;
  flex-wrap: wrap;
  width: calc(50% - 8px);
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
}

.homepage-license-row {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.homepage-license-col-left {
  display: flex;
  width: calc(50% - 8px);
  height: 32px;
  justify-content: flex-end;
  align-items: center;
  font-weight: bold;
}

.homepage-license-col-right {
  display: flex;
  width: calc(50% - 8px);
  height: 32px;
  justify-content: flex-start;
  align-items: center;
}

.homepage-license-panel-right {
  display: flex;
  flex-wrap: wrap;
  width: calc(50% - 8px);
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
}

.homepage-license-panel-right .homepage-license-col-left {
  width: 32px;
}

.homepage-license-panel-right .homepage-license-col-right {
  width: calc(100% - 48px);
  font-weight: bold;
}

@media only screen and (min-width: 992px) {
  .homepage-apps {
      grid-template-columns: 1fr 1fr;
  }
}

@media only screen and (min-width: 1024px) {
  .homepage-content-wrapper {
      padding: 48px 120px;
  }
}

@media only screen and (min-width: 1300px) {
  .homepage-apps {
      grid-template-columns: 1fr 1fr 1fr;
  }
}

@media only screen and (min-width: 1660px) {
  .homepage-apps {
      grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

@media screen and (max-width: 480px) {
  body {
    .homepage-content-wrapper {
      padding: 32px;
    }

    .tutorial-video {
      width: 100%;
      margin-right: 0px;
    }
  }
}

