@font-face {
  font-family: "Labil";
  src: url("./LabilGrotesk-50Reg_Nordic.otf") format("opentype");
}

@font-face {
  font-family: "Labil";
  font-style: italic;
  src: url("./LabilGrotesk-55RegularItalic_Nordic.otf") format("opentype");
}

@font-face {
  font-family: "Labil";
  font-weight: bold;
  src: url("./LabilGrotesk-70Bold_Nordic.otf") format("opentype");
}

html,
body,
table {
  font-family: "Labil", Arial, sans-serif;
  font-size: 14px;
  color: #1a1919;
  background-color: #fff;
  transition: padding 0.2s ease-in-out;
  letter-spacing: 0.025rem;
}

p {
  line-height: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
}

@media screen and (min-width: 992px) {
  body {
    font-size: 13px;
  }
}

@media screen and (min-width: 1000px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  h4,
  h5,
  h6 {
    font-size: 1rem;
  }
  h1,
  h2,
  h3,
  h4,
  h5 {
    margin-bottom: 1.5rem;
  }
  #root {
    margin: 0 auto;
  }
  #toggle-menu {
    display: none;
  }
  #action-area {
    padding: 1rem;
  }
  #main {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.btn:not(.result-row-options):not(.dropdown-toggle):not(#main-menu-ul .btn):not(.menu-header-div-menu .btn):not(.input-group-btn .btn):not(.login-page .btn) {
  background: #ffffff;
  border: 1px solid #cad7e3;
  font-weight: 500;
  color: #1a1919;
  min-height: 30px;
  line-height: 30px;
  padding: 0 1rem;
  outline: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.12s ease-in-out;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin-right: 5px;
  white-space: nowrap !important;
}

.btn:not(.result-row-options):not(.dropdown-toggle):not(#main-menu-ul .btn):not(.menu-header-div-menu .btn):not(.input-group-btn .btn):not(.login-page .btn):hover {
  background: #242c30;
  color: #fff;
}

.btn:not(.result-row-options):not(.dropdown-toggle):not(#main-menu-ul .btn):not(.menu-header-div-menu .btn):not(.input-group-btn .btn):not(.login-page .btn):focus {
  outline: 0;
}
.check-box {
  transition: 0.12s ease-in-out;
  border: 1px solid #cad7e3;
}
.check-box.selected {
  background: #66aeee;
  border-color: #66aeee;
}

a:not(.nav a):not(.btn a):not(a.btn):not(.dropdown-menu a):not(.settings-nav a):not(a.page-link),
a:not(.nav a):not(.btn a):not(a.btn):not(.dropdown-menu a):not(.settings-nav a):not(a.page-link):visited {
  color: #66aeee;
  text-decoration: underline;
  outline: 0 !important;
  cursor: pointer;
  transition: 0.12s ease-in-out;
}
a:not(.nav a):not(.btn a):not(a.btn):not(.dropdown-menu a):not(.settings-nav a):not(a.page-link):hover,
a:not(.nav a):not(.btn a):not(a.btn):not(.dropdown-menu a):not(.settings-nav a):not(a.page-link):visited:hover {
  color: #599dda;
  text-decoration: none;
}

.breadcrumb-back,
.breadcrumb-back:visited {
  color: #66aeee;
  text-decoration: none;
  cursor: pointer;
}
.breadcrumb-back:hover,
.breadcrumb-back:visited:hover {
  color: #599dda;
  text-decoration: none;
}

.formError .message-warning {
  color: #fe6869;
  margin-top: 5px;
}

.has-error .form-control {
  border-color: #fe6869;
}

.has-error .form-control-feedback {
  color: #fe6869;
}

@media (max-width: 480px) {
  .meta {
    width: 100%;
  }
}
@media (min-width: 481px) and (max-width: 767px) {
  .meta {
    width: 50%;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .meta {
    width: 33%;
  }
}
@media (min-width: 1400px) {
  .meta {
    width: 25%;
  }
}

.field {
  font-size: 14px;
  color: #000000;
  opacity: 0.5;
  width: 40%;
}

.pills .glyphicon {
  color: #000000;
  opacity: 0.5;
  font-size: 14px;
}

/** Login page **/
.login-page {
  color: #fff;
  min-height: 100vh;
  align-items: stretch;
  align-content: center;
  background: url("./login-bg.png") center no-repeat;
  background-size: cover;
  background-color: #ffffff;
  flex-wrap: wrap;
  flex-direction: column;
}

.login-page main,
.login-page .login-page-left-section {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100vh;
}

.login-page .login-page-logo-div {
  width: 100%;
  box-sizing: border-box;
  padding: 3rem 9rem 3rem 0;
  max-width: 400px;
  height: 300px;
  text-align: center;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

@media screen and (max-width: 767px) {
  header {
    display: none !important;
  }
  .login-page .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 3rem;
    border-left: none;
    text-align: left;
    height: 100vh; /* Ensure the container takes full viewport height */
  }
  
  .login-page .form-signin {
    max-width: 400px;
    width: 100%; /* Ensure the form takes full width of its container */
  }
}


@media screen and (min-width: 768px) {
  .login-page .container {
    width: 100%;
    box-sizing: border-box;
    padding: 3rem 0 3rem 9rem;
    border-left: 1px solid #b9b9b9;
    text-align: left;
  }
  
  .login-page .form-signin {
    max-width: 400px;
  }
}

.login-page .actions {
  margin-top: 15px;
}

.login-page .error {
  margin-bottom: 20px;
  color: #fe6869;
}

.login-page .msg {
  margin-bottom: 20px;
  color: #66aeee;
}

.login-page header {
  position: relative;
  height: 100vh;
  width: 50%;
  float: left;
}

.login-page h1 {
  font-weight: bold;
}

.login-page a {
  color: #ffffff;
  display: block;
  padding: 0.5rem 0;
  text-decoration: none;
}

.login-page label {
  font-size: 0.85rem;
  margin-bottom: 15px;
  opacity: 0.5;
}

.login-page button.btn {
  color: #ffffff;
  background: #66aeee;
  border-color: #66aeee;
  border-radius: 0.8rem;
  text-align: center;
  padding: 15px 19px;
  line-height: normal;
  text-transform: none !important;
  height: auto;
  font-weight: 500;
  transition: 0.12s ease-in-out;
}

.login-page button.btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
  transition: 0.12s ease-in-out;
}

.login-page input[type="text"],
.login-page input[type="password"] {
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 0.8rem;
  padding: 15px 19px;
  height: auto;
  line-height: normal;
  font-size: medium;
  text-shadow: none;
}

.login-page *:focus {
  box-shadow: none !important;
  outline: none !important;
}

.page-head p, .modal-header p {
  color: #000000;
  opacity: 0.5;
}

.export-users {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.export-users > div:not(:last-child) {
  margin-bottom: 0.5rem;
}

.login-page-logo {
  transform: scale(1);
  width: 125px;
  height: 53px;
  background: url(./logo.svg) no-repeat;
}

.logo-img {
  display: block;
  position: absolute;
  left: 0px;
  top: 5px;
  transform: scale(0.75);
  width: 125px;
  height: 50px;
  background: url(./logo.svg) no-repeat;
}

.navbar {
  border: 0px;
}

.navbar-brand {
  padding: 0px;
}

.open>.dropdown-menu {
  max-height: 70vh;
  max-width: 400px;
  overflow-y: auto;
  overflow-x: auto;
  width: max-content;
}

div:has(> .result-table) {
    overflow-x: auto;
    overflow-y: auto;
}

.table.result-table > tbody > tr:first-child > td.firstcell {
    min-width: 10vw;
}