@import url("nebula/nebula.css");
@import url("nebula/nebula-sizing.css");

@font-face {
  font-family: "Inter";
  src: url("nebula/fonts/inter-light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("nebula/fonts/inter-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("nebula/fonts/inter-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("nebula/fonts/inter-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

/* -------------------------------------------------------------------------- */
/* DEFAULTS */
/* -------------------------------------------------------------------------- */
html,
body {
  height: 100%;
  width: 100%;
  position: relative;
  margin: 0;
}

body {
  display: flex;
  flex-direction: row;
  background-color: #e7ebee;
  overflow: hidden;
}

img {
  width: 100%;
}

a {
  transition: all .4s;
}

h1,
h2,
h3,
h4,
h5,
p,
label {
  margin: 0;
}

input[type='text'] {
  background-color: transparent;
  border: 0;
  border-bottom: solid 1px #fff;
  margin: 0px 0px 5px;
  color: #fff;
}

input[type='text']:disabled {
  color: #9FB8E0;
}

input[type='checkbox'] {
  cursor: pointer;
}

input[type='submit'] {
  width: fit-content;
  border: 0;
  cursor: pointer;
  transition: all .4s;
}

input:focus {
  outline: none;
}

button {
  transition: all .4s;
  outline: none;
  border: 0;
  cursor: pointer;
}

button:hover {
  text-decoration: none;
}

button:focus {
  outline: none !important;
}

.green_back {
  background-color: #34D621 !important;
}

.red_back {
  background-color: #E9583F !important;
}

.hidden {
  display: none !important;
}

.modal {
  overflow: hidden !important;
}

.modal-dialog {
  width: fit-content;
  align-items: flex-start;
}

.modal-content {
  height: 500px;
  width: 500px;
  color: darkslategray;
  background-color: #e7ebee;
  border: solid 1px transparent;
}

.modal-header {
  border-bottom: solid 1px lightgray;
  align-items: center;
}

.modal-title {
  font-weight: 400;
  font-size: 21px;
}

.modal-body {
  font-size: 14px;
}

.close-modal {
  color: darkslategray;
  background-color: transparent;
}

.no_data_header {
  text-align: center;
  margin-top: 40px;
  color: darkslategray;
}

.no_js {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: #303030;
  color: #fff;
}

.no_js_img {
  width: 200px;
  margin-bottom: 20px;
}

.unclickable_element {
  pointer-events: none;
}

.dj_hyperlink {
  color: #9FB8E0;
}

.dj_hyperlink:hover {
  color: #9FB8E0;
}

.input_locked {
  position: relative;
  text-decoration: none !important;
  cursor: default !important;
  user-select: none !important;
  -moz-user-select: none !important;
  -khtml-user-select: none !important;
  -webkit-user-select: none !important;
  -o-user-select: none !important;
  background-color: lightgray !important;
  color: gray !important;
  border: transparent !important;
}

.input_locked:hover {
  text-decoration: none !important;
  cursor: default !important;
}

/* No instances available */
.null_instances {
  height: 508px;
  width: 659px;
  text-align: center;
  /* color: darkslategray; */
  font-size: 25px;
  margin: auto;
  background-color: #fff;
  padding: 120px 124px;
  /* margin-top: 10%; */
  border-radius: 8px;
}

.null_instances_icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.null_instances_img {
  /* width: 40%; */
  width: 200px !important;
  height: 200px !important;
}

.null_instances_header {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  text-align: center;
  margin-bottom: 15px;
}

.null_instances_text {
  text-align: center;
  color: #000;
  font-size: 14px;
}


/* Dropdown */
.jamf_dropdown_container {
  cursor: pointer;
  position: relative;
  width: 100%;
  min-width: 100px;
  height: 36px;
  color: var(--font-base, rgba(0, 0, 0, 0.87));
  font-size: 13px;
  background-color: #fff;
}
.jamf_dropdown_title {
  border-radius: 5px;
  padding: 10px 25px 10px 10px;
  height: 100%;
  background: #FFFFFF;
  display: flex;
  flex-direction: row;
  align-items: center;
  white-space: nowrap;
  border: 1px solid var(--border-neutral-base, #66666B) !important;
}
.jamf_dropdown_indicator {
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 25px;
  padding: 3px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: gray;
  background: #fff;
  border-right: 1px solid var(--border-neutral-base, #66666B) !important;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-top: 1px solid var(--border-neutral-base, #66666B) !important;
  border-bottom: 1px solid var(--border-neutral-base, #66666B) !important;
}
.jamf_dropdown_options {
  position: absolute;
  width: 100%;
  height: fit-content;
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: #fff;
  border-radius: 5px;
  z-index: 1;
  margin: 5px 0 0 0;
  border: 1px solid var(--border-neutral-base, #66666B) !important;
}
.jamf_dropdown_option {
  width: 100%;
  height: 35px;
  text-align: left;
  font-size: 14px;
  background-color: #fff;
  padding: 6px 16px;
  color: #000;
  white-space: nowrap;
  line-height: 23px;
}
.jamf_dropdown_option:hover {
  background-color: #EEF4FE;
}
.jamf_dropdown_option_selected {
  background: var(--action-highlight-active, rgba(18, 104, 236, 0.07)) !important;
}

/* -------------------------------------------------------------------------- */
/* SCREEN DISPLAYS */
/* -------------------------------------------------------------------------- */
/* Width less than 600px */
@media only screen and (max-width: 599px) {
  nav {
    display: none !important;
    background-color: var(--color-structure-base);
    padding: var(--spacings-null, 0px) 12px;
  }

  .top-nav {
    display: none !important;
  }

  #base_container {
    display: none !important;
  }

  .dj_mobile_view {
    color: #fff;
    height: 100%;
    width: 100%;
    background-color: #4f5165;
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .dj_mobile_img {
    width: 40%;
  }

  .dj_mobile_title {
    text-align: center;
    width: 80%;
    font-size: 26px;
    margin: 20px 0px;
  }

  .dj_mobile_text {
    padding: 0px 20px;
    width: 80%;
    font-size: 14px;
  }

  .dj_mobile_download_app_btn {
    width: 120px;
    margin-top: 50px;
  }

  .dj_mobile_poster_img {
    width: 100%;
  }
}


/* Width greater than 600px */
@media only screen and (min-width: 600px) {

  /* Mobile view */
  .dj_mobile_view {
    display: none;
  }

  /* Navbar */
  nav {
    display: flex;
    flex-direction: column;
    width: 256px;
    height: 100%;
    background-color: var(--color-structure-base);
    position: relative;
    transition: all .4s;
    padding: var(--spacings-null, 0px) 14px var(--spacings-null, 0px) 12px;
    border-right: solid 1px var(--border-base, rgba(20, 25, 32, 0.12));
  }

  .navbar_section {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    position: relative;
    z-index: 2;
  }

  .navbar_section::-webkit-scrollbar {
    display: none;
  }

  .navbar_section_scroll {
    margin-bottom: 2em;
    flex-grow: 1;
  }

  .mobi_logo {
    width: 45%;
    margin: auto;
    margin: 20px auto;
    display: block;
  }

  .navbar_intro {
    margin: 10px 0px 30px;
    color: #9a9899;
    font-size: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .navbar_version {
    opacity: 0.8;
    color: gray;
    padding-left: 10px;
    font-size: 10px;
    position: absolute;
    bottom: 5px;
  }

  .datajar_logo {
    width: 50px;
    margin-left: 5px;
  }

  .nav_sub_heading {
    font-size: 11px !important;
    font-weight: 700 !important;;
    font-style: normal;
    color: var(--color-font-base, rgba(0, 0, 0, 0.87)) !important;;
    margin: 10px 0px 5px 10px !important;
    height: fit-content;
    position: relative;
    z-index: 1;
    letter-spacing: 0.44px !important;
    line-height: 16px !important; /* 145.455% */
  }

  .nav_link {
    cursor: pointer;
    padding: 10px 5px 10px 10px;
    color: #fff !important;
    border-top: solid 1px transparent;
    border-bottom: solid 1px transparent;
    display: flex;
    align-items: center;
  }

  .nav_link:hover {
    border-radius: 8px;
    background: var(--navigation-item-active, rgba(20, 25, 32, 0.05));
    text-decoration: none !important;
  }

  .nav_link svg {
    color: var(--font-secondary, rgba(0, 0, 0, 0.74));
  }


  .nav_link_text {
    color: var(--font-secondary, rgba(0, 0, 0, 0.74));
    margin-left: 10px;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
  }

  .fa-user-shield {
    color: lightgray;
  }

  .sidebar_icon {
    /* width: 25px; */
    /* margin: 0px; */
  }

  .nav_size_btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    width: 24px;
    height: 24px;
    z-index: 10;
    background: var(--structure-base, #FFFFFF);
    border-radius: 100%;
    border: 1px solid var(--border-base, rgba(20, 25, 32, 0.12));
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .nav_size_btn:hover, .nav_size_btn:focus-visible {
    background: var(--structure-secondary, #F5F7F8);
  }

  .nav_size_btn:focus-visible {
    outline: 1px solid var(--color-focus-base) !important;
  }

  .nav_size_btn svg {
    color: var(--font-secondary, rgba(0, 0, 0, 0.74));
  }

  .nav_icon {
    width: 24px;
    color: #fff;
  }

  .fa-compress-alt {
    transition: all .4s;
  }

  .nav_link.active_page .nav_link_text {
    font-weight: 700;
    color: var(--font-base, rgba(0, 0, 0, 0.87));
  }

  .nav_link.active_page svg {
    color: var(--font-base, rgba(0, 0, 0, 0.87));
  }

  .active_page {
    border-radius: 8px;
    background: var(--navigation-item-active, rgba(20, 25, 32, 0.05));
  }

  /* User settings and extended content container */
  #base_container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--structure-secondary, #F5F7F8);
    position: relative;
    transition: all .4s;
  }

  #title_row {
    position: absolute;
    width: 100%;
    right: 0px;
    top: 0px;
    height: 54px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding-top: 12px;
    padding-right: 10px;
    z-index: 1;
  }

  #title_row .user_setting_options {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: fit-content;
    height: 100%;
    padding-top: 2px;
  }

  #title_row .user_setting_btn {
    position: relative;
    cursor: pointer;
  }

  #dj_notification_count {
    width: 20px;
    height: 20px;
    position: absolute;
    z-index: 1;
    background: var(--structure-danger, #DE232A);
    border-radius: 50%;
    top: 5px;
    right: 45px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
  }

  #title_row .title_row_buttons {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
  }

  #title_row .user_icon {
    color: #807e7e;
    margin-left: 10px;
    padding-right: 10px;
    width: 35px;
  }

  #title_row .title_row_divider {
    width: 1px;
    height: 125%;
    margin: 0px 5px;
    background-color: #9a9899;
  }

  #title_row .title_row_divider_small {
    height: 30%;
    margin: 0px 2px;
  }

  #title_row .date_time_row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top: 5px;
    margin: auto;
  }

  #title_row .date_time {
    color: #807e7e;
    margin: 5px 0px;
    font-size: 10px;
  }

  #title_row #small_time {
    padding: 0px 7px 0px 2px;
  }

  #title_row #datajar_date {
    padding: 0px 2px 0px 7px;
  }

  #title_row .logout_btn {
    cursor: pointer;
  }

  #title_row .profile_img {
    border-radius: 50%;
    border: solid 2px #9FB8E0;
    width: 58px;
    height: 58px;
    margin: 5px;
    margin-left: 15px;
    padding: 5px;
    overflow: hidden;
    background-color: #9FB8E0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #extended_content {
    height: 100%;
    width: 100%;
    overflow: hidden;
    padding: 78px 24px 24px 24px;
    position: relative;
  }

  #extended_content:has(#insights-web-components) {
    padding: var(--size-navigation-top) 0px 0px 24px
  }

  #extended_content::-webkit-scrollbar {
    display: none !important;
  }

  .nav-segment {
    padding: var(--number-2, 16px) var(--spacings-null, 0px) 8px var(--spacings-null, 0px);
    display: flex;
    flex-direction: column;
  }

  /* Minimised menu */
  .dj_nav_bar_closed {
    width: 55px;
  }

  .dj_nav_bar_closed .navbar_section {
    width: 100%;
    margin-bottom: 10px;
  }

  .dj_nav_bar_closed .navbar_intro {
    display: none;
  }

  .dj_nav_bar_closed .nav_sub_heading {
    display: none;
  }

  .dj_nav_bar_closed .nav_link {
    text-align: center;
    width: 100%;
    padding: 10px 5px;
    flex-direction: column;
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: stretch;
  }

  .dj_nav_bar_closed .nav_link_text {
    display: none;
  }

  .dj_nav_bar_closed .mobi_logo {
    margin-bottom: 10px;
  }

  .dj_nav_bar_closed .navbar_version {
    display: none;
  }

  /* Notification modal */
  .notification_modal {
    overflow: hidden !important;
  }

  .notification_modal.fade.notification_modal-right .modal-dialog {
    transform: translate(125%, 0px);
  }

  .notification_modal.show.notification_modal-right .modal-dialog {
    transform: none;
  }

  .notification_modal_dialog {
    margin-left: auto;
    margin-right: 10px;
    margin-top: 70px;
    width: fit-content;
    align-items: flex-start;
  }

  .notification_modal_content {
    height: 508px;
    width: 480px;
    color: darkslategray;
    background-color: var(--structure-overlay, #FFF);;
    border: solid 1px transparent;
    border-radius: var(--number-one-half, 12px) !important;
  }

  .notification_modal_header {
    border-top: 1px solid var(--border-base, rgba(20, 25, 32, 0.12));
  }

  .notification_modal_title {
    color: var(--font-base, rgba(0, 0, 0, 0.87));
    line-height: 24px; /* 120% */
    font-weight: 700;
    font-size: 20px;
  }

  .notification_modal_close_btn {
    color: darkslategray;
  }

  #notification_modal_body {
    overflow-x: auto;
    padding: 0;
  }

  #notification_modal_body::-webkit-scrollbar {
    display: none !important;
  }

  .notification_modal_item {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 10px;
    /* padding-bottom: 15px; */
    border-bottom: solid 1px lightgray;
    /* margin-bottom: 20px; */
  }

  .notification_modal_image {
    width: 50px;
  }

  .notification_modal_details {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    padding-left: 15px;
  }

  .notification_modal_sub_title {
    margin-bottom: 5px;
    font-size: 12px;
    color: darkslategray;
  }

  .notification_modal_text {
    font-size: 10px;
    color: darkslategray;
    width: 90%;
    overflow: auto;
  }

  .notification_modal_deletion {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    color: #9a9899;
    transition: 0.4s;
    width: 15px;
  }

  .notification_modal_deletion:hover {
    color: gray;
  }

  .notification_modal_remove_all_btn {
    background-color: #FFF !important;
    /* width: 80px;
    height: 20px;
    border: none;
    border-radius: 10px;
    padding: 3px 7px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #9FB8E0;
    margin: 0px 0px 0px auto;
    color: #f4f4f4 !important; */
  }

  .no_notifications_img {
    height: 120px;
    height: 120px;
  }

  .top-nav {
    height: 54px;
    width: 100%;
    position: absolute;
    display: flex;
    background-color: var(--color-structure-base);
    z-index: 10;
    padding: var(--spacings-null, 0px) var(--number-2, 16px);
    border-bottom: 1px solid var(--border-base, rgba(20, 25, 32, 0.12));
    justify-content: space-between;
    align-items: center;
  }

  .top-nav .logo-container {
    height: 100%;
    display: flex;
    gap: 8px;
  }

  .instance-switcher-container {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .instance-multiselect {
    /* width: 300px; */
    cursor: pointer;
    height: 35px;
    font-size: 0.9em;
    color: #000;
    /* color: gray; */
    /* background-color: #f9f9f9; */
    /* border: 1px solid lightgray; */
    border-radius: 4px;
    left: 10px;
    top: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  /* Dropdown Button */
.dropbtn {
  background-color: #04AA6D;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  border-radius: 4px;
  display: none;
  position: absolute;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: var(--navigation-item-active, rgba(20, 25, 32, 0.05));}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #3e8e41;}

  /* Feedback modal */
  .beta_link:hover {
    background-color: #F5BA42;
    border-top: solid 1px transparent;
    border-bottom: solid 1px transparent;
  }

  .feedback_modal_content {
    height: fit-content !important;
  }

  .feedback_modal_intro {
    color: darkslategray;
    font-size: 14px;
    margin: 5px 0px 20px;
  }

  .feedback_modal_form {
    display: flex;
    flex-direction: column;
  }

  .feedback_modal_label {
    font-size: 12px;
  }

  .feedback_modal_input {
    border-bottom: solid 1px darkslategray !important;
    margin-bottom: 15px !important;
    margin-top: 4px !important;
    color: darkslategray !important;
  }

  .feedback_modal_select,
  .feedback_modal_textarea {
    margin-bottom: 15px;
    margin-top: 4px;
    color: darkslategray !important;
  }

  .feedback_modal_submit_btn {
    width: fit-content;
    margin: 20px auto;
    padding: 2px 10px;
    border-radius: 5px;
    background-color: #9FB8E0;
    color: #fff;
  }

  #feedback_form_container {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  /* Session timeout modal */
  .session_modal_content {
    height: 225px;
  }

  .session_modal_dialog {
    top: 30%;
  }

  #session_modal_btn {
    width: 80px;
    height: 20px;
    border: none;
    border-radius: 10px;
    padding: 3px 7px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F5BA42;
    margin: 0px 0px 0px auto;
    color: #f4f4f4 !important;
  }
}

/* Width reater than 1024px */
@media only screen and (min-width: 1024px) {
  .nav_sub_heading:first-of-type {
    margin: 20px 0px 5px 10px;
  }

  .nav_sub_heading {
    margin: 40px 0px 5px 10px;
  }
}

/* Width greater than 2000px */
@media only screen and (min-width: 2000px) {

  /* Navbar  */
  nav {
    width: 256px;
    background-color: var(--color-structure-base);
    padding: var(--spacings-null, 0px) 12px;
  }

  .datajar_logo {
    width: 80px;
  }

  .sidebar_icon {
    /* width: 35px; */
  }

  .dj_nav_bar_closed {
    width: 70px;
  }

  .dj_nav_bar_closed .mobi_logo {
    width: 45px;
  }


  #title_row .user_setting_options {
    width: fit-content;
  }

  #title_row .user_icon {
    width: 45px;
  }


  #title_row .profile_img {
    width: 80px;
    height: 80px;
    margin: 5px;
    margin-left: 20px;
    padding: 10px;
  }

  /* Notifications */
  .notification_modal_content {
    height: 508px;
    width: 500px;
  }

  .notification_modal_remove_all_btn {
    background-color: #FFF !important;
    /* width: fit-content;
    height: fit-content;
    padding: 3px 7px;
    font-size: 16px;
    padding: 5px 15px; */
  }
}

/* Organisations modal */
.beta_link:hover {
  background-color: #F5BA42;
  border-top: solid 1px transparent;
  border-bottom: solid 1px transparent;
}

.organisations_modal_content {
  height: fit-content !important;
}

.organisations_modal_intro {
  color: darkslategray;
  font-size: 14px;
  margin: 5px 0px 20px;
}

.organisations_modal_form {
  display: flex;
  flex-direction: column;
}

.organisations_modal_label {
  font-size: 12px;
}

.organisations_modal_input {
  border-bottom: solid 1px darkslategray !important;
  margin-bottom: 15px !important;
  margin-top: 4px !important;
  color: darkslategray !important;
}

.organisations_modal_select,
.organisations_modal_textarea {
  margin-bottom: 15px;
  margin-top: 4px;
  color: darkslategray !important;
}

.organisations_modal_submit_btn {
  width: fit-content;
  margin: 20px auto;
  padding: 2px 10px;
  border-radius: 5px;
  background-color: #9FB8E0;
  color: #fff;
}

#organisations_form_container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.organisations-modal-content {
  height: fit-content;
  max-height: 800px;
  min-height: 800px;
  width: 1000px !important;
  color: darkslategray;
  background-color: #e7ebee;
  border: solid 1px transparent;
}

.modal-dialog {
  max-width: none;
}
