:root {
   --footer-height: 75px;
   --left-sidebar-width: 250px;
   --right-sidebar-width: 400px;
   --iconography-semibold: 600;
   --iconography-extrabold: 800;
   --iconography-bold: 700;
}

html {
  height: 100%;
}

body {
  font-family: 'Manrope', sans-serif;
  height: 100%;
}

.htmx-request .htmx-hide {
  opacity: 0 !important;
  z-index: 0;
}

button[type="submit"] {
  z-index: 1;
}

.htmx-indicator {
  position: fixed;
  top: 50%;
  left: 50%;
}

/* Sidebar styles */

.left-sidebar {
  width: var(--left-sidebar-width);
}

.right-sidebar {
  width: var(--right-sidebar-width);
  border-left: 1px solid var(--light-grey);
  transition: width 0.5s ease;
  background-color: var(--bs-white);
}

.right-sidebar.closed {
  width: 40px;
}

.sidebar {
  z-index: 1000;
  border-right: 1px solid var(--light-grey);
  width: 100%;
  height: 100%;
}

.sidebar-menu-item {
  display: flex;
  height: 54px;
  width: 100%;
  padding: 20px 32px 20px 32px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  border-top: 1px solid var(--light-grey);
  cursor: pointer;

  a {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

}

#submissionMenuItems,#adminMenuItems{
 .sidebar-menu-item{
   margin-left: 6px;

   span{
     font-size: 13px;
     text-overflow: ellipsis;
     overflow: hidden;
     word-break: break-word;
     display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
   }

 }
}

.sidebar-menu-item span {
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  color: var(--primary-text-base);
}

.sidebar-menu li:last-child {
  border-bottom: 1px solid var(--light-grey);
}

.sidebar-menu-item:hover {
  background-color: var(--primary-bg-base);
}

.sidebar-menu-item:hover i {
  color: var(--bs-white) !important;
}

.sidebar-menu-item[aria-expanded=true] .bi-chevron-down {
  display: none;
}

.sidebar-menu-item[aria-expanded=false] .bi-chevron-up {
  display: none;
}

.right-sidebar-content {
  height: calc(100vh - 139px);
  overflow-y: scroll;
  padding: 0 32px 0 16px;
}

/* End of Sidebar styles */

.home-content {
  height: 100%;
  background: url('/static/images/background.png') no-repeat;
  background-size: cover;
}

.home-content-column-1 {
  padding: 105px 64px 64px 64px;
  background: url('/static/images/grelha-doseador.png') no-repeat;
  background-position: bottom right 64px;
}

.home-content-column-2 {
  padding: 105px 92px 92px 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content {
  height: calc(100vh - var(--footer-height));
  background: url('/static/images/background.png') no-repeat;
  background-size: cover;
  overflow-y: auto;
}

.text-big-title {
  font-family: 'Source Code Pro';
  font-size: 55px;
  font-weight: 400;
  line-height: 65px;
  letter-spacing: -5.5px;
}

.text-regular {
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}

.text-lead {
  font-family: 'Source Code Pro';
  font-size: 20px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: -2px;
}

.logo-box {
  height: 66px;
  width: 150px;
  background-color: var(--bs-white);
  padding: 16px;
  border: 1px solid var(--light-grey);

  img{
    width: 118px;
    height: auto;
  }

}

.circle-button {
  height: 216px;
  width: 216px;
}

.auth-column-1 {
  padding: 0px 128px;
  display: flex;
}

.auth-column-2 {
  padding: 0px 60px;
  background: url('/static/images/background.png') no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.responsive-auth-img {
    width: auto;
    height: 60vh;
}

.primary-link {
  text-decoration: none;
  color: var(--primary-bg-base);
}

.primary-link:hover {
  color: var(--primary-bg-hover);
}

.text-label {
  font-family: 'Source Code Pro';
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
}

.secondary-link {
  text-decoration: none;
  color: var(--bs-black);
}

.secondary-link:hover {
  color: var(--mid-grey);
}

.cursor-pointer {
  cursor: pointer;
}

/* Onboarding styles */

.onboarding-content {
  width: 662px;
}

.onboarding-title {
  font-family: 'Source Code Pro';
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 45px; /* 112.5% */
  letter-spacing: -4px;
}

.onboarding-subtitle {
  font-family: 'Source Code Pro';
  font-size: 32px;
  font-weight: 400;
  line-height: 45px;
  letter-spacing: -4px;
}

.onboarding-card {
  border-radius: 16px;
}

.onboarding-card-image {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.onboarding-card-image-caption {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
}

/* End of Onboarding styles */

.main-content-footer {
  width: 100%;
  height: var(--footer-height);
  border-top: 1px solid var(--light-grey);
  background-color: var(--bs-white);
}

.footer-logos {
  width: var(--right-sidebar-width);
  max-width: var(--right-sidebar-width);
  height: var(--footer-height);
  display: flex;
  justify-content: space-evenly;
  border-left: 1px solid var(--light-grey);

  img{
     width: 96px;
     height: auto;
  }
}

.p4s-card-title {
  font-family: 'Source Code Pro';
  font-size: 32px;
  font-weight: 400;
  line-height: 45px;
  letter-spacing: -4px;
  color: var(--primary-bg-base);
}

.pdf-title {
  font-family: 'Source Code Pro';
  font-size: 32px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: -4px;
  color: var(--primary-bg-base);
}

.page-title {
  font-family: 'Source Code Pro';
  font-size: 32px;
  font-weight: 400;
  line-height: 45px;
  letter-spacing: -4px;
}

.dosis-iconography {
  font-family: "Dosis", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 14px;

  &.extrabold{
    font-weight: var(--iconography-extrabold);
  }

   &.semibold{
    font-weight: var(--iconography-semibold);
  }

   &.bold{
    font-weight: var(--iconography-bold);
  }
}

.dosis-iconography-material-type-name {
  font-size: 12px;
}

.auth-back-button {
  position: absolute;
  top: 40px;
  left: 40px;
  cursor: pointer;
}

.user-circle {
  display: inline-block;
    background-color: var(--primary-bg-base);
    margin-top: 8px;
    border-radius: 50%;
}

.user-circle-inner {
  color: var(--bs-black);
  display: table-cell;
  vertical-align: middle; 
  text-align: center;
  text-decoration: none;
  height: 40px;
  width: 40px;
  font-weight: 500;
}

.dot {
  height: 10px;
  width: 10px;
  background-color: var(--mid-grey);
  border-radius: 50%;
  display: inline-block;
}
