* {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a.link-disabled {
  pointer-events: none;
  color: #cccccc;
}

form {
  display: inline;
}

.top-bar {
  padding: 9px;
  margin-left: 5px;
  margin-right: 5px;
  background-color: #003E57;
  width: available;
  min-height: 33px;
}

.hamburger {
  position: relative;
  display: inline-block;
  float: right;
}

.hamburger-button {
  padding: 5px;
  background-color: #003E57;
  cursor: pointer;
}

.hamburger-button:hover, .hamburger-button:focus {
  background-color: #2c5ea8;
  box-shadow: 0px 0px 5px 3px #2c5ea8;
}

.hamburger-content {
  display: none;
  position: absolute;
  right: -5px;
  background-color: #4684e1;
  min-width: 160px;
  box-shadow: 5px 5px 12px 5px rgba(0,0,0,0.5);
  z-index: 1;
}

.hamburger-content a {
  padding: 12px 16px;
  font-size: 16px;
  text-decoration: none;
  display: block;
}

.hamburger-content a:hover {
  background-color: #1e5ab7;
}

.show-hamburger-menu {
  display: block;
}

.top-bar a:link {
  color: #ffffff;
  text-decoration: none;
}

.top-bar a:active {
  color: #ffffff;
  text-decoration: none;
}

.top-bar a:visited {
  color: #ffffff;
  text-decoration: none;
}

.top-bar a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.error-message {
  color: #d20a00;
  font-size: 18px;
  font-weight: bold;
}

.flash {
  color: #008000;
  font-size: 18px;
  font-weight: bold;
}

#agent-status-indicator {
  display: flex;
  justify-content: space-between;
}

.agent-status-toggle-container {
  display: inline-flex;
  justify-content: left;
}

.disabled {
  opacity: 0.5;
}

.agent-status-text {
  padding: 8px;
  font-size: 18px;
}

.agent-status-inactive {
  background-color: #e36b15;
  color: white;
  padding: 10px;
}

.agent-status-active {
  background-color: #52ab52;
  color: white;
  padding: 10px;
}

#agent-status-toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
#agent-status-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-round {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

.toggle-round:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

#agent-status-toggle input:checked + .toggle-round {
  background-color: #326232;
}

#agent-status-toggle input:focus + .toggle-round {
  box-shadow: 0 0 1px #407e40;
}

#agent-status-toggle input:checked + .toggle-round:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.toggle-spinner {
  display: block;
  position: absolute;
  left: 4px;
  bottom: 4px;
  border: 4px solid #868686;
  border-left-color: #d3d3d3;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  animation: toggle-spin 1.2s linear infinite;
}

@keyframes toggle-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.service-block-container {
  display: flex;
  justify-content: space-evenly;
}

.service-block {
  border: 1px solid #0c204e;
  flex: max-content;
  margin: 5px;
  justify-content: space-between;
}

.service-block-inactive {
  opacity: 20%;
  background-color: #c0c0c0;
}

.service-block-incoming {
  background-color: #ffadad;
  border: 4px solid #d20500;
}

.service-block-inner {
  justify-content: space-evenly;
  display: flex;
  margin: 10px;
}

.service-block-header {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 5px;
  background: #0c204e;
  color: #ffffff;
}

.metrics-box {
  float: left;
  text-align: center;
  margin-top: 10px;
  padding: 20px;
  border-style: none;
}

.metrics-number {
  font-size: 24px;
  font-weight: bold;
  color: #003E57;
}

#incoming-call {
  display: inline-block;
}

.button-rounded {
  background-image: linear-gradient(-180deg, #afafaf, #6e6e6e);
  color: #ffffff;
  font-weight: bold;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.4) 0 2px 4px;
  cursor: pointer;
  display: inline-block;
  height: 30px;
  line-height: 30px;
  min-width: 50px;
  outline: 0;
  border: 0;
  overflow: hidden;
  padding: 0 20px;
  pointer-events: auto;
  position: relative;
  text-align: center;
  vertical-align: top;
  white-space: nowrap;
}

.button-call-control {
  float: left;
  margin-right: 10px;
  height: 55px;
  min-width: 85px;
}

#button-call {
  background-image: linear-gradient(-180deg, #50c5a2, #0d725f);
}

#button-call:hover {
  background-image: linear-gradient(-180deg, #8af5ac, #20ad77);
}

#button-hangup-outgoing {
  background-image: linear-gradient(-180deg, #f34118, #c42300);
}

#button-hangup-outgoing:hover {
  background-image: linear-gradient(-180deg, #f8532d, #f62e03);
}

#button-accept-incoming {
  background-image: linear-gradient(-180deg, #5ac453, #2f722f);
}

#button-accept-incoming:hover {
  background-image: linear-gradient(-180deg, #80f878, #42a142);
}

#button-reject-incoming {
  background-image: linear-gradient(-180deg, #f34118, #c42300);
}

#button-reject-incoming:hover {
  background-image: linear-gradient(-180deg, #f8532d, #f62e03);
}

.button-hold {
  background-image: linear-gradient(-180deg, #309ee3, #0670b2);
}

.button-hold:hover {
  background-image: linear-gradient(-180deg, #44adef, #0a8ee0);
}

.button-resume {
  background-image: linear-gradient(-180deg, #407c40, #326232);
  height: 55px;
}

.button-resume:hover {
  background-image: linear-gradient(-180deg, #4e984e, #408040);
}

#button-hangup-incoming {
  background-image: linear-gradient(-180deg, #f34118, #c42300);
  height: 55px;
}

#button-hangup-incoming:hover {
  background-image: linear-gradient(-180deg, #f8532d, #f62e03);
}

.hold-banner {
  text-align: center;
  background-image: linear-gradient(-180deg, #ff5977, #cc0303);
  color: #ffffff;
  padding: 10px;
  font-size: 18px;
  font-weight: bold;
}

.hide {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}

#call-log {
  background-color: #bbbbbb;
  border: 1px;
  border-style: solid;
  min-height: 200px;
  max-height: 600px;
  overflow: scroll;
  padding: 0px;
}

.call-log-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

#call-log-refresh {
  color: #1b5ea8;
  text-decoration: underline;
}

#call-log-refresh:hover {
  color: #2383f1;
  cursor: pointer;
}

.call-log-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0px 0px 5px 0px;
  min-width: 400px;
  padding: 9px;
}
.call-log-table thead tr {
  background-color: #003E57;
  color: #ffffff;
  text-align: left;
}

.call-log-table th,
.call-log-table td {
  padding: 12px 20px;
}

.call-log-table tbody tr {
  border-bottom: 1px solid #5d759b;
  background-color: #f3f3f3;
}

.admin-panel-inner {
  border-color: black;
  border-style: dotted;
  border-width: 2px;
  margin: 10px 0px 10px 0px;
  padding-left: 5px;
}

.layout-list {
  list-style: none;
  padding-left: 0;
}

.layout-list-element {
  padding-left: 0;
  margin: 5px;
}

.user-list-inner {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.user-list-heading {
  background-color: #4684e1;
  color: #fff;
  padding: 5px;
  font-size: 18px;
  font-weight: bold;
}

.user-list-element {
  padding: 5px;
  background-color: #d9eaff;
}

.user-create-header {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.uneditable-text {
  background-color: #cccccc;
  padding: 1px 4px 1px 4px;
  border: 1px solid #444444;
}

.user-queue-table {
  border: 1px solid;
  border-collapse: collapse;
  padding: 4px;
}

.user-queue-table-labels {
  font-weight: bold;
}

.sid-input {
  width: 40ch;
}

.drop-arrow {
  cursor: pointer;
  color: #0c204e;
}

.drop-arrow:hover {
  color: #265ee0;
}

.spaced-flex {
  display: flex;
  justify-content: space-between;
}

.rec-table-nav {
  float: right;
  margin: 5px 0px 5px 0px;
}

.rec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 5px 0px 5px 0px;
  min-width: 400px;
  padding: 9px;
}

.rec-table thead tr {
  background-color: #003E57;
  color: #ffffff;
  text-align: left;
}

.rec-table th,
.rec-table td {
  padding: 12px 20px;
}

.rec-table tbody tr {
  border-bottom: 1px solid #5d759b;
  background-color: #f3f3f3;
}

.rec-table tbody tr:hover {
  background-color: #e5e5e5;
}

.rec-table tbody tr:last-of-type {
  border-bottom: 2px solid #003E57;
}

.rec-details {
  background-color: #e7f3f5;
  padding-left: 25px;
  padding-top: 8px;
}

.audio-player {
  height: 24px;
}

.dl-icon {
  padding: 5px;
  height: 18px;
}

.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #606060;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.list-table {
  border-collapse: collapse;
  margin: 0px 0px 5px 0px;
  padding: 9px;
  min-width: 800px;
}
.list-table thead tr {
  background-color: #003E57;
  color: #ffffff;
  text-align: left;
}

.list-table th,
.list-table td {
  padding: 12px 20px;
}

.list-table tbody tr {
  border-bottom: 1px solid #5d759b;
  background-color: #f3f3f3;
}

.status-block-container {
  display: flex;
}

.status-block {
  float: left;
  border: 1px solid #0c204e;
  min-width: 200px;
  padding: 0;
  margin-right: 10px;
  justify-content: space-between;
}

.status-block-inner {
  justify-content: space-evenly;
  display: flex;
  text-align: left;
  margin: 10px;
  padding: 10px;
}

.status-block-header {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  background: #0c204e;
  color: #ffffff;
}

.status-red {
  color: #b20500;
}

.status-orange {
  color: #e05d00;
}

.status-green {
  color: #0d725f;
}
