:root {
  --main-accent-color: cadetblue;
  --primary-color: #3d65a1;
  --main-background-color: #ffffff;
  --menu-background-color: #818181;
  --light-text-color: #ffffff;
}

body {
  padding-top: 70px;
  font-size: 0.8em;
}

.bi::before {
  display: inline-block;
  content: "";
  vertical-align: -.125em;
  background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23333' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z' clip-rule='evenodd'/></svg>");
  background-repeat: no-repeat;
  background-size: 1rem 1rem;
}
i {
  font-size: 1.8em;
  width: 1.5em;;
  display: block;
  margin: 0;
  float: left;
  padding: 0;
  text-align: center;
}
.sidenav {
  z-index: 1;
  top: 0;
  left: 0;
  overflow-x: hidden;
  padding-top: 0;
  display: block;
  float: left;
}
.sidenav div {
  padding: 0.4em 0;
  color: var(--light-text-color);
  display: block;
  background-color: var(--menu-background-color);
  color: var(--light-text-color);
  border-radius: 0.3em;
  margin: 1px;
  height: 2.5em;
}
.sidenav a {
  text-decoration: none;
  font-size: 0.8em;
  color: var(--light-text-color);
  line-height:2.5em;
  vertical-align: middle;
}

.sidenav div:hover {
  background-color: var(--primary-color);
}

li.dropdown-item-text:hover, button.dropdown-item:hover {
  background-color: var(--main-accent-color);
}

.form-control {
  width: 100%;
}

th, td {
  padding: 10px;
  border: 1px solid #ccc;
  white-space: nowrap; /* prevent line breaks */
  overflow: hidden; /* hide overflowing content */
  text-overflow: ellipsis; /* add ellipsis */
}

.pretty pre {outline: 1px solid #ccc; padding: 5px; margin: 5px; }
.pretty .string { color: green; }
.pretty .number { color: darkorange; }
.pretty .boolean { color: blue; }
.pretty .null { color: magenta; }
.pretty .key { color: red; }

/* Remove underline from links on cards */
a {
  text-decoration: none !important;
}
/* Fix card body on front page to ensure uniform display */
main section .card-body.h150 {
  height: 150px;
}

@media screen and (max-height: 450px) {

}
@media only screen and (max-width: 575px) {
  .mb-xs-3 {
    margin-bottom: 1rem!important;
  }
}
@media only screen and (max-width: 767px) {
  .navbar {
    padding: 0.5em;
  }
  .dropdown-menu {
    border-radius: 0;
  }
  .btn-link {
    width:100%;
    border-radius: 0;
  }
  .table td, .table th {
    padding: 0.25rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
  }
  .container {
    max-width: 100%;
    overflow-x: auto;
  }
}

/* Mimecast Infographics */
.infogfx.chart-container {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  margin: 0 auto;
  color:rgba(0, 75, 160, 1);
}

canvas.infogfx {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 300px;
  height: 300px;
}

.infogfx.labels-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.infogfx.label {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 5px;
  position: absolute;
  transform: translateX(-50%);
  width: max-content;
}

.infogfx.subtitle {
  font-size: 0.8em;
  margin-top: 5px;
  position: absolute;
  transform: translateX(-50%);
  width: max-content;
}

.fa-shield-alt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 7em;
  color: #000000;
}

.infogfx.card {
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 5em;
}

.infogfx.card-body {
  padding: 20px;
}

.outer-circle,
.inner-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.outer-circle {
  background-color: rgb(220, 220, 220); /* adjust the color as needed */
  width: 70%;
  height: 70%;
}

.inner-circle {
  background-color: white; /* adjust the color of the inner circle */
  width: 50%; /* adjust the width of the inner circle */
  height: 50%; /* adjust the height of the inner circle */
}