:root {
  --white-color: #fafafb;
  --background-color: #000;
  --grey-color: #b5b5be;
  --dark-grey-color: #292932;
  --button-color: #1e75ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  /* font-family: 'Poppins', sans-serif; */
  /* font-family: 'system-ui'; */
  font-family: 'Chakra Petch', sans-serif;
  font-size: 62.5%;
  font-weight: 500;
}

body {
  /* font-family: 'Poppins', sans-serif; */
  /* font-family: 'system-ui'; */
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1.4rem;
  color: var(--white-color);
  height: 100vh;
  /* background-color: var(--grey-color); */
  background-color: #50cdff;
}

.side-bar {
  /* width: 23.2rem; */
  width: 15%;
  /* min-width: 23rem; */
  height: 100%;
  padding: 2.1rem 1.2rem;
  /* background-color: #17171e; */
  background-color: var(--background-color);
  position: fixed;
  /* float: left; */
  transition: all 0.5s ease;
  z-index: 10;
}

.main {
  width: 85%;
  height: 100%;
  /* background-color: var(--grey-color); */
  transition: all 0.5s ease;
  float: right;
}

.logo-name-wrapper {
  position: relative;
  margin-bottom: 2.1rem;
  display: flex;
  font-size: 1.2rem;
}

.logo-name {
  display: flex;
  align-items: center;
}

.logo-name__name {
  margin-left: 0.9rem;
  white-space: nowrap;
  font-weight: bold;
  font-size: 1.5rem;
}
.logo-name__button {
  position: absolute;
  top: 50%;
  right: 0;
  font-size: 1.8rem;
  transform: translateY(-50%);
  /* background-color: #1e75ff; */
  background-color: var(--button-color);
  border: none;
  /* border-radius: 0.4em; */
  border-radius: 0.7rem;
  cursor: pointer;
}
.logo-name__icon {
  font-size: 1.8rem;
  /* color: var(--grey-color); */
  color: var(--white-color);
  /* padding-top: 0.2em; */
  /* padding-top: 0.3rem; */
  padding-top: 0.35rem;
}

img.logo {
  max-height: 50px;
  border-radius: 50%;
}

.message {
  background-color: var(--dark-grey-color);
  display: flex;
  align-items: center;
  /* padding: 1.55rem 0 1.55rem 1.2rem; */
  padding: 1.55rem 0 1.55rem 1.1rem;
  border-radius: 0.4rem;
  margin-bottom: 3.6rem;
  cursor: pointer;
  position: relative;
}

.message-icon {
  font-size: 2rem;
  transform: translateX(3rem);
  transition: all 0.5s ease;
}

.message-text {
  margin-left: 1.1rem;
  font-size: 1.4rem;
  white-space: nowrap;
  transform: translateX(3rem);
  transition: all 0.5s ease;
}

.features-list {
  padding-bottom: 1rem;
  border-bottom: 1px solid #292932;
  list-style: none;
}

.features-item {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0.5rem 0.9rem;
  margin-bottom: 1.1rem;
  color: var(--grey-color);
  cursor: pointer;
  transition: 0.5s ease;
}
.features-item::before {
  transition: 0.5s ease;
  content: '';
  position: absolute;
  left: -1.2rem;
  height: 100%;
  border-left: 3px solid var(--white-color);
  border-radius: 2px;
  opacity: 0;
  visibility: hidden;
}

.features-item:hover {
  color: var(--white-color);
  transition: 0.5s ease;
}

.features-item:hover::before {
  opacity: 1;
  visibility: unset;
}

.features-item-icon {
  font-size: 2rem;
}

.features-item-text {
  margin-left: 1.5rem;
  transition: opacity 0.6s ease;
  opacity: 1;
}

.inbox-number {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: #1e75ff;
  padding: 0.5rem 0.9rem;
  border-radius: 0.4rem;
  color: var(--white-color);
  opacity: 1;
  transition: 0.6s linear;
}

.inbox-icon {
  position: relative;
}

.inbox-icon .status {
  position: absolute;
  top: 0;
  right: -1px;
  background-color: #1e75ff;
  height: 9px;
  width: 9px;
  border-radius: 50%;
  border: 2px solid var(--white-color);
  opacity: 0;
  transition: 0.6s linear;
}

.category-list {
  padding-top: 2.1rem;
  padding-bottom: 0.9rem;
  color: var(--grey-color);
  list-style: none;
  font-size: 1.2rem;
  font-weight: 500;
  border-bottom: 1px solid #292932;
}

.category-header {
  font-size: 1.2rem;
  text-transform: uppercase;
  line-height: 1.8rem;
  color: var(--white-color);
  margin-bottom: 1.3rem;
  white-space: nowrap;
}

.category-item {
  position: relative;
  padding: 0.9rem 1.1rem;
  line-height: 1.8rem;
  cursor: pointer;
  white-space: nowrap;
}

.category-item-status {
  height: 0.8rem;
  width: 0.8rem;
  border-radius: 50%;
  border: none;
  background-color: white;
  display: inline-block;
}
.category-item-text {
  margin-left: 1rem;
  transition: opacity 0.6s ease;
  opacity: 1;
}

.category-item-number {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.chat-list {
  padding: 2.1rem 0;
  font-size: 1.2rem;
}

.chat-header {
  text-transform: uppercase;
  line-height: 1.8rem;
  color: var(--white-color);
  margin-bottom: 1.3rem;
  white-space: nowrap;
}

.chat-new-btn {
  color: #1e75ff;
  background-color: transparent;
  outline: none;
  border: none;
  line-height: 1.8rem;
  display: flex;
  align-items: center;
  padding-bottom: 2.1rem;
  padding-left: 0.1rem;
  cursor: pointer;
  position: relative;
  /* font-family: 'Poppins', sans-serif; */
  /* font-family: 'system-ui'; */
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 500;
}

.chat-new-btn-text {
  white-space: nowrap;
  transition: opacity 0.6s ease;
  opacity: 1;
}

.chat-icon {
  font-size: 2.1rem;
  margin-right: 1.2rem;
}

.chat-item {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 2.1rem;
  color: var(--grey-color);
  cursor: pointer;
}

.chat-item-avatar-wrapper {
  position: relative;
}
.chat-item-avatar-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  right: -3px;
  border-radius: 50%;
  height: 8px;
  width: 8px;
  background-color: #79d861;
  opacity: 0;
  transition: 0.6s linear;
}

.chat-item-avatar-wrapper.has-message::before {
  background-color: #1e75ff;
  border: 2px solid var(--white-color);
  height: 6px;
  width: 6px;
}

.chat-item-avatar {
  object-fit: cover;
  object-position: top;
  height: 2.1rem;
  width: 2.1rem;
  border-radius: 50%;
  border: 1px solid var(--white-color);
}

/* background color in inline style */
.chat-item-status {
  height: 0.8rem;
  width: 0.8rem;
  border-radius: 50%;
  border: none;
  background-color: white;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  margin-right: 5px;
  opacity: 1;
  transition: 0.6s linear;
}
.chat-item-number {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: #1e75ff;
  padding: 0.5rem 0.9rem;
  border-radius: 0.4rem;
  color: var(--white-color);
  opacity: 1;
  transition: 0.6s linear;
}

.chat-item-name {
  white-space: nowrap;
  transition: opacity 0.6s ease;
  opacity: 1;
  margin-left: 1.4rem;
}

.tooltip {
  position: absolute;
  top: -2.1rem;
  left: 6.4rem;
  background-color: white;
  color: var(--background-color);
  border-radius: 0.4rem;
  padding: 0.5rem 0.9rem;
  font-size: 1.4rem;
  transition: 0s;
  opacity: 0;
  display: none;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.side-bar.collapse .message:hover .tooltip,
.features-item:hover .tooltip,
.category-item:hover .tooltip,
.chat-new-btn:hover .tooltip {
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.5s ease;
  opacity: 1;
}

.side-bar.collapse {
  /* min-width: 6.4rem; */
  width: 3.35%;
}

.main.collapse {
  width: 96%;
  /* max-width: 1000rem; */
  /* padding-right: 0.8em; */
  padding-right: 0.8rem;
}

.side-bar.collapse .tooltip {
  display: block;
}

.side-bar.collapse .logo-name,
.side-bar.collapse .category-header,
.side-bar.collapse .chat-header,
.side-bar.collapse .chat-new-btn-text,
.side-bar.collapse .features-item-text,
.side-bar.collapse .inbox-number,
.side-bar.collapse .category-item-text,
.side-bar.collapse .category-item-number,
.side-bar.collapse .message-text,
.side-bar.collapse .chat-item-name,
.side-bar.collapse .chat-item-number,
.side-bar.collapse .chat-item-status {
  opacity: 0;
  pointer-events: none;
}

.side-bar.collapse .message-text {
  opacity: 0;
  pointer-events: none;
  transform: translateX(0);
}
.side-bar.collapse .message-icon {
  transform: translateX(0);
}
.side-bar.collapse .logo-name__button {
  right: 0.5rem;
}

.side-bar.collapse .inbox-icon .status,
.side-bar.collapse .chat-item-avatar-wrapper::before {
  opacity: 1;
}

.body-header {
  /* height: 5em; */
  height: 10%;
  /* background-color: #79d861; */
  color: var(--dark-grey-color);
  /* padding: 1rem; */
  padding: 2rem;
}

.body-info {
  /* height: 100em; */
  /* height: 70%; */
  height: 90%;
  /* background-color: #1e75ff; */
  color: var(--dark-grey-color);
}

.active {
  background-color: #292932;
  /* padding: 7px 11px 7px 11px; */
  border-radius: 5px;
}

.active-item {
  background-color: white !important;border: solid 3px orange;
  box-shadow: 0px 10px 4px #888;
}

.info-column {
  float: left;
  /* width: 50%; */
  padding: 10px;
  /* height: 600px; */
  height: 98%;
}

.column-left {
  width: 70%;
  /* background-color: aqua; */
  /* testing */
  position: relative;
}

.column-right {
  width: 30%;
  /* background-color: aquamarine; */
  position: relative;
}

h1 {
  font-size: 2rem;
  font-weight: bold;
  padding-bottom: 1rem;
}

.icon-img {
  /* width: 250px; */
  width: 75%;
  /* max-width: 250px; */
}

.img-div {
  display: flex;
  justify-content: center;
}

.grid-container {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto auto;
  grid-gap: 5px;
  /* background-color: black; */
  padding: 10px;
  /* testing */
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  /* height: 28%; */
  height: 30%;
}

.grid-container > div {
  background-color: rgba(255, 255, 255, 0.8);
  /* background-color: #ffffffcc; */
  text-align: center;
  /* padding: 20px 0; */
  padding: 10px 0;
  /* font-size: 30px; */
  /* font-size: 1.3em; */
  font-size: 1.9rem;
  /* border-radius: 10px; */
  border-radius: 1rem;
  /* height: 200px; */
  height: 100%;
  max-width: 100%;
  line-height: 1.2;
  
}

.column-right-header {
  display: flex;
  /* font-weight: bold; */
  /* font-size: 2rem; */
  justify-content: center;
  /* padding-top: 1rem; */
}

table {
  border-spacing: 0.5rem;
  width: 100%;
  height: 220px;
  /* font-size: 1.22em; */
  font-size: 1.7rem;
}
td {
  padding: 0.8rem;
}

/* td:nth-child(1) { background: hsl(150, 50%, 50%); }
td:nth-child(2) { background: hsl(160, 60%, 50%); }
td:nth-child(3) { background: hsl(170, 70%, 50%); }
td:nth-child(4) { background: hsl(180, 80%, 50%); }
td:nth-child(5) { background: hsl(190, 90%, 50%); }
td:nth-child(6) { background: hsl(200, 99%, 50%); } */

.table-div {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  padding: 0rem 1rem;    
}

.td1 {
  /* width: 70%; */
  width: 30%;
  background-color: rgba(255, 255, 255, 1);
}

.td2 {
  /* width: 30%; */
  width: 70%;
  background-color: rgba(255, 255, 255, 0.8);
}

.hour-div {
  width: 100px;
  max-width: 100%;
  word-break: break-word;
  margin: auto;
  text-align: center;
}

.time-div {
  padding-bottom: 10px;
}

.icon-desc {
  padding-top: 1rem;
}

.info-row {
  height: 100%;
}

.myMap {
  width: 100%;
  height: 70%;
}


[aria-labell] {
  position: relative;
}

[aria-labell]:after {
  content: attr(aria-label);
  display: none;
  position: absolute;
  /* top: -285px;
  left: -260px; */
  bottom: .5rem;
  right: .5rem;
  z-index: 5000;
  pointer-events: none;
  padding: 8px 10px;
  line-height: 15px;
  /* white-space: nowrap; */
  /* white-space: normal; */
  white-space: pre;
  /* text-decoration: none; */
  /* max-width: 300px; */
  max-width: auto;
  text-indent: 0;
  overflow: visible;
  /* font-size: .9em; */
  font-size: 1.5rem;
  font-weight: normal;
  color: #fff;
  /* text-shadow: 1px 0 1px #888; */
  background-color: #fa3434;
  /* border-left: 1em solid #ff0000 ; */
  /* border-left: 1em solid #b70303 ; */
  border-left: 1rem solid #b70303 ;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  -webkit-box-shadow: 1px 2px 6px rgba(0,0,0,0.3);
  box-shadow: 10px 20px 6px rgba(0,0,0,0.3);
}

[aria-labell]:hover:after, [aria-label]:focus:after {
  display: block;
}



.h1-column-right {
  /* margin-bottom: -1.5em; */
  margin-bottom: -3rem;
}

.table-head {
  /* font-size: 1.22em; */
  font-size: 2.1rem;
  /* padding-bottom: .5em; */
  padding-bottom: 1rem;
}

#missingCredential > div {
  visibility: hidden;
}

/* TESTING */
.tooltip-test {
  position: relative;
}


.tooltip-test {
  /* display: none; */
  position: absolute;
  bottom: .5rem;
  right: .5rem;
  z-index: 5000;
  pointer-events: none;
  padding: 1.5rem;
  line-height: 1.8rem;
  /* max-width: auto; */
  width: 140%;
  text-indent: 0;
  overflow: visible;
  font-size: 1.8rem;
  font-weight: normal;
  color: #fff;
  background-color: #fa3434;
  border-left: 1rem solid #b70303 ;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  -webkit-box-shadow: 1px 2px 6px rgba(0,0,0,0.3);
  box-shadow: 10px 20px 6px rgba(0,0,0,0.3);
  transition: opacity .5s ease-in-out;
  opacity: 0;
}


tr:hover .tooltip-test {
  /* display: block; */
  opacity: 1;
}





tr .spnTooltip {
  z-index:10;
  display:none; 
  padding:14px 20px;
  margin-top:-30px; 
  margin-left:28px;
  width:300px; 
  margin: 1.5rem;
  bottom: 0;
  right: 0;
  line-height:16px;
}
tr:hover .spnTooltip{
  display:inline; 
  position:absolute; 
  color:#111;
  border:1px solid #DCA; 
  background:#fffAF0;
}
/* .callout {
  z-index:20;
  position:absolute;
  top:30px;
  border:0;
  left:-12px;
} */


/* .myMap > div > div */

#myMap > div > div:nth-child(2) {
  border-radius: 1rem;
}



.alert {
  padding: 20px;
  background-color: #34eb98;
  color: black;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  line-height: 1.5;
}

.closebtn {
  margin-left: 15px;
  color: black;
  font-weight: bold;
  float: right;
  font-size: 4rem;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: red;
}
