@import url("https://fonts.googleapis.com/css2?family=Fira+Code&display=swap");
code {
  font-family: "Fira Code", monospace;
  font-size: smaller;
}

/* html {
  height: 100%;
} */

#loading {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 500;
  width: 100vw;
  height: 100vh;
  background-color: rgba(192, 192, 192, 0.5);
  background-image: url("https://i.stack.imgur.com/MnyxU.gif");
  background-repeat: no-repeat;
  background-position: center;
  opacity: 20%;
  transition: opacity 0.2s linear;
}

body {
  /* display: flex;
  flex-direction: column;
  min-height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box; */
  margin: 0 !important;
  /* display: flex;
  height: 100vh; */
  /* animation-name: pulsing; */
  /* animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out; */
}

@keyframes pulsing {
  /* 0% { opacity: 5%; }
    50%  { opacity: 15%; }
    100%   { opacity: 5%; }     */
  0% {
    opacity: 0%;
  }
  60% {
    opacity: 0%;
  }
  80% {
    opacity: 10%;
  }
  100% {
    opacity: 0%;
  }
}

/* FAB */

.mdc-fab {
  position: fixed;
  /* bottom: 1vw;
  right: 1vw; */
  bottom: 50px;
  right: 50px;
  z-index: 100;
  background-color: var(--mdc-theme-surface);
  color: var(--mdc-theme-on-surface);
}

/* Home */

.home-page-message {
  padding: 100px;
  margin: auto;
  /* justify-self: center; */
}

/* Drawer */

.mdc-drawer-app-content {
  /* flex: auto; */
  overflow: auto;
  position: relative;
  /* min-height: 100%; */
}

.mdc-drawer {
  /* display: flex !important; */
  vertical-align: middle !important;
  /* margin-top: auto;
  margin-bottom: auto;
  padding-top: auto;
  padding-bottom: auto;
  display: flex;
align-items: middle;
vertical-align: middle; */
  /*display: block;*/
  /* align-items: center; */
  /* display: table-cell; */
  height: fit-content;
  justify-content: center !important;
  height: 100%;
  position: fixed;
}

.mdc-drawer-items {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.logo-in-drawer {
  /* width: 80%; */
  /* padding-left: 10%;
  padding-right: 10%;
  padding-top: 30%;
  padding-bottom: 30%;
  height: auto; */
  width: 50%;
}

.mdc-drawer__header {
  text-align: center;
}

.mdc-drawer__content,
.mdc-drawer__header {
  height: fit-content;
  /*width: 80%;*/
}

/* Body */

.main-content {
  margin: auto;
  padding: 0px;
  width: fit-content;
  width: -moz-fit-content;
  white-space: nowrap;
  max-width: 100%;
  overflow: visible;
  white-space: normal;
  /* padding: 5%; */
  /* width: 95%; */
  /* overflow: auto; */
  /* height: 100%; */
  /* width: max-content; */
  /* margin: 0px auto; */
  /* padding-left: 0px;
    padding-right: 0px;
    width: 90%; */
  /* width: 60%; */
  /* margin: 0 auto; */
  /* text-align: center; */
  /* margin-left: 10vw; */
}

/* App bar */

.app-bar {
  position: absolute;
}

.mdc-top-app-bar {
  z-index: 7;
}

.mdc-data-table {
  width: 100%;
}

.mdc-data-table__table-container {
  overflow-x: auto !important;
}

.mdc-typography--subtitle1 {
  margin-right: 2vw;
}

/* .mdc-data-table__header-cell {
    font-weight: 600;
} */

/* #createClusterBtn {
    float: right;
    margin-right: 10vw;
    margin-bottom: 10vh;
} */

.clusters-table-col-header,
.sessions-table-col-header,
.users-table-col-header,
.audit-table-col-header {
  font-weight: 600;
}

#noClustersMsg,
#noSessionsMsg,
#noUsersMsg,
#noAuditMsg,
#noCostsMsg {
  text-align: center;
}

.counter {
  margin-top: 0;
}

.help-icon-small {
  font-size: 16px;
  transform: translateY(2px);
}

.icon-supersmall {
  font-size: 12px;
  transform: translateY(2px);
}

#connectToAWSMsg,
#manageAPIKeyMsg,
#deleteAccountMsgOuter,
#manageUsersMsg {
  /* width: 40vw; */
  /* text-overflow:inherit; */
  /* width: 100%; */
  /* overflow-x:auto; */
}

#account {
  padding: 0px;
  margin: auto;
}

@media (min-width: 600px) {
  #account {
    width: 80%;
  }
}

#home, .home-inner {
  margin: 0;
  vertical-align: middle;
  align-content: center;
}

@media (max-width: 600px) {
  #home {
    margin: 5%;
  }
}

/*.drawer-items {
    width: 80%;
}*/

.bg-white {
  --bg-opacity: 1;
  background-color: #fff;
  background-color: rgba(255, 255, 255, var(--bg-opacity));
}

.bg-gray-200 {
  --bg-opacity: 1;
  background-color: #edf2f7;
  background-color: rgba(237, 242, 247, var(--bg-opacity));
}

.bg-pasha {
  --bg-opacity: 1;
  background-color: #87c979;
  background-color: rgba(237, 95, 116, var(--bg-opacity));
}

.hover\:bg-white:hover {
  --bg-opacity: 1;
  background-color: #fff;
  background-color: rgba(255, 255, 255, var(--bg-opacity));
}

.hover\:bg-red-200:hover {
  --bg-opacity: 1;
  background-color: #fed7d7;
  background-color: rgba(254, 215, 215, var(--bg-opacity));
}

.focus\:bg-white:focus {
  --bg-opacity: 1;
  background-color: #fff;
  background-color: rgba(255, 255, 255, var(--bg-opacity));
}

.border-gray-200 {
  --border-opacity: 1;
  border-color: #edf2f7;
  border-color: rgba(237, 242, 247, var(--border-opacity));
}

.hover\:border-black:hover {
  --border-opacity: 1;
  border-color: #000;
  border-color: rgba(0, 0, 0, var(--border-opacity));
}

.focus\:border-pasha:focus {
  --border-opacity: 1;
  border-color: #87c979;
  border-color: rgba(237, 95, 116, var(--border-opacity));
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.border-2 {
  border-width: 2px;
}

.border {
  border-width: 1px;
}

.cursor-pointer {
  cursor: pointer;
}

.block {
  display: block;
}

.width-100 {
  width: 100%;
  min-width: max-content;
  /* padding: auto; */
  /* margin: auto; */
}

.mdc-dialog {
  z-index: 200;
}

#home, #dashboard, #sessions, #account, #billing {
  display: none;
}

#session-logs-dialog-content, #viewSessionLogsDialogSurface, #viewSessionLogsDialogContainer {
  width: 100%;
  max-width: 100% !important;
}

#viewSessionLogsDialogSurface, #viewSessionLogsDialogContainer {
  height: 100%;
  max-height: 100% !important;
}

code {
  tab-size: 4;
  counter-reset: linecounter;
  padding: 0;
  /* color: #eee;
  background-color: #333;
  font-size: 16px;
  line-height: 16px; */
}

code span.line {
  counter-increment: linecounter;
  /* line-height: 16px; */
}

code span.line::before {
  content: counter(linecounter);
  /* color: red; */
  width: 30px;
  display: inline-block;
  border-right: 1px dotted #ccc;
  padding-right: 14px;
  margin-right: 15px;
  text-align: right;
  /* font-size: 16px;
  line-height: 16px; */
}