@import url("https://fonts.googleapis.com/css?family=Roboto&display=swap");
@import url("https://fonts.googleapis.com/css?family=Open+Sans:300");

* {
  font-weight: inherit;
}

body {
  font-family: "Roboto", sans-serif !important;
  background-color: #efefef !important;
  padding-bottom: 25px;
}

nav {
  height: 50px;
}

.container {
  margin-top: 75px !important;
  max-width: 1440px;
}

.container-fluid {
  margin-top: 50px !important;
}

.series-input > label {
  display: block;
}

.series-input > div {
  width: 95% !important;;
}

#refresh-series {
  display: inline-block;
  border: none;
  outline: none;
  width: 4%;
  font-size: 20px;
  text-align: center;
  cursor: pointer;
}

#lab-list-table {
  width: 100% !important;
}

#image-history-table {
  word-break: break-word;
}

#labContentTabs {
  height: calc(100vh - 50px);
}

#labContentTabs ul {
  background-color: #50565d;
  border-color: #ffffff;
  margin-left: 0;
  position: fixed;
  left: 0;
  top: 50px;
  height: calc(100vh - 50px);
  width: 8.3333333333%;
}

#labControls {
  left: 8.3%;
  background-color: #ffffff;
  margin-left: 0;
  height: 53px;
  padding: 8px 0;
}

.ckeditor-container {
  display: flex;
  position: relative;
}

.ckeditor-container .sidebar {
  min-width: 65px;
  padding: 0 10px;
  border: 1px solid #c4c4c4;
  margin-left: -1px;
  background: #fafafa;
  overflow: hidden;
}

.ck.ck-editor {
  width: 100% !important;
}

.has-footer {
  margin-bottom: 69px;
}

/* Toast positioning */
.toast {
  width: 350px;
  position: fixed;
  top: 80px;
  left: calc(50vw - 175px);
  z-index: 1000;
}

.toast .close {
  color: #000000;
}

.dashboard {
  padding-left: 100px;
  padding-right: 100px;
}

.dashboard_col {
  background: #ffffff;
}

/* Notifications */
.notification-dropdown {
  max-height: 50vh;
  overflow-y: auto;
}

.notification-item:hover {
  background-color: #eef1f3;
  color: #7b8a8b;
}

.notification-item p {
  margin-bottom: 0;
}

#dismiss-notifications {
  padding-top: 0;
}

.ck-content code {
  color: rgb(53, 53, 53) !important;
}

.bootstrap-select .dropdown-item {
  white-space: normal;
}

.bootstrap-select .dropdown-menu {
  max-height: 50vh !important;
}

/* Panel/question removal cursor */
.remove-panel,
.remove-question,
.remove-instance,
.remove-task,
.remove-credential,
.reorder-panel-move-down,
.reorder-panel-move-up,
.reorder-question-move-down,
.reorder-question-move-up,
.reorder-instance-move-up,
.reorder-instance-move-down,
.reorder-task-move-up,
.reorder-move-up,
.reorder-move-down {
  cursor: pointer;
}

.reorder-panel-move-down:hover,
.reorder-panel-move-up:hover,
.reorder-question-move-down:hover,
.reorder-question-move-up:hover,
.reorder-instance-move-up:hover,
.reorder-instance-move-down:hover,
.reorder-move-up:hover,
.reorder-move-down:hover {
  color: #808080 !important;
}

.reorder-move-up, .reorder-move-down {
    text-decoration: none;
}

.reorder-move-up.disabled, .reorder-move-down.disabled {
  color: #808080;
  cursor: not-allowed;
  pointer-events: none;
}

/* Fix datatables width */
.dataTables_wrapper {
  width: 100%;
}

td.wrap-ok {
  white-space: normal !important;
}

/* Allow panel cards to grow with CKEditor comments/suggestions */
.ck-sidebar_item {
  position: relative !important;
  top: 0 !important;
  margin-top: 10px;
}

.bg-primary {
  background-color: #0f222b !important;
}

/* Limit image panel image sizes */
.image-panel-image {
  max-height: 100%;
  max-width: 100%;
}

/* Vertical tabs */
.nav-tabs-vertical {
  border-bottom: none;
  border-right: 1px solid #ddd;
  display: flex;
  flex-flow: column nowrap;
}

.nav-tabs-left {
  margin: 0 15px;
}

.nav-tabs-left .nav-item + .nav-item {
  margin-top: 0.25rem;
}

.nav-tabs-left .nav-link {
  transition: border-color 0.125s ease-in;
  white-space: nowrap;
  border-bottom-left-radius: 0.25rem;
  border-top-right-radius: 0;
}

.nav-tabs-left .nav-link:hover {
  background-color: #f7f7f7;
  border-color: transparent;
}

.nav-tabs-left .nav-link.active {
  border-bottom-color: #ddd;
  border-right-color: #fff;
  border-bottom-left-radius: 0.25rem;
  border-top-right-radius: 0;
}

/* Error page */
#traceback {
  white-space: pre-wrap;
}

/* Set appropriate disabled button cursor */
button:disabled {
  cursor: not-allowed;
}

/* Dashboard chart */
#line-chart-container {
  height: 15vh;
}

/* Loading spinner */
#lab-list-loading .spinner-border {
  width: 3rem;
  height: 3rem;
}

/* Text styling */
.wrap-text {
  word-break: break-word;
}

/* Lab publish full-screen loader */
#full-page-loader {
  background-color: #00b4e5;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  z-index: 10000;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
}

#full-page-loader h1 {
  position: absolute;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  left: 50%;
  top: 58%;
  margin-left: -20px;
}

#full-page-loader .body {
  position: absolute;
  top: 50%;
  margin-left: -50px;
  left: 50%;
  animation: speeder 0.4s linear infinite;
}

#full-page-loader .body > span {
  height: 5px;
  width: 35px;
  background: #e72477;
  position: absolute;
  top: -19px;
  left: 60px;
  border-radius: 2px 10px 1px 0;
}

#full-page-loader .base span {
  position: absolute;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-right: 100px solid #e72477;
  border-bottom: 6px solid transparent;
}

#full-page-loader .base span:before {
  content: "";
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: #e72477;
  position: absolute;
  right: -110px;
  top: -16px;
}

#full-page-loader .base span:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 0 solid transparent;
  border-right: 55px solid #e72477;
  border-bottom: 16px solid transparent;
  top: -16px;
  right: -98px;
}

#full-page-loader .face {
  position: absolute;
  height: 12px;
  width: 20px;
  background: #e72477;
  border-radius: 20px 20px 0 0;
  transform: rotate(-40deg);
  right: -125px;
  top: -15px;
}

#full-page-loader .face:after {
  content: "";
  height: 12px;
  width: 12px;
  background: #e72477;
  right: 4px;
  top: 7px;
  position: absolute;
  transform: rotate(40deg);
  transform-origin: 50% 50%;
  border-radius: 0 0 0 2px;
}

#full-page-loader .body > span > span:nth-child(1),
#full-page-loader .body > span > span:nth-child(2),
#full-page-loader .body > span > span:nth-child(3),
#full-page-loader .body > span > span:nth-child(4) {
  width: 30px;
  height: 1px;
  background: #e72477;
  position: absolute;
  animation: fazer1 0.2s linear infinite;
}

#full-page-loader .body > span > span:nth-child(2) {
  top: 3px;
  animation: fazer2 0.4s linear infinite;
}

#full-page-loader .body > span > span:nth-child(3) {
  top: 1px;
  animation: fazer3 0.4s linear infinite;
  animation-delay: -1s;
}

#full-page-loader .body > span > span:nth-child(4) {
  top: 4px;
  animation: fazer4 1s linear infinite;
  animation-delay: -1s;
}

@keyframes fazer1 {
  0% {
    left: 0;
  }
  100% {
    left: -80px;
    opacity: 0;
  }
}

@keyframes fazer2 {
  0% {
    left: 0;
  }
  100% {
    left: -100px;
    opacity: 0;
  }
}

@keyframes fazer3 {
  0% {
    left: 0;
  }
  100% {
    left: -50px;
    opacity: 0;
  }
}

@keyframes fazer4 {
  0% {
    left: 0;
  }
  100% {
    left: -150px;
    opacity: 0;
  }
}

@keyframes speeder {
  0% {
    transform: translate(2px, 1px) rotate(0deg);
  }
  10% {
    transform: translate(-1px, -3px) rotate(-1deg);
  }
  20% {
    transform: translate(-2px, 0px) rotate(1deg);
  }
  30% {
    transform: translate(1px, 2px) rotate(0deg);
  }
  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }
  50% {
    transform: translate(-1px, 3px) rotate(-1deg);
  }
  60% {
    transform: translate(-1px, 1px) rotate(0deg);
  }
  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }
  80% {
    transform: translate(-2px, -1px) rotate(1deg);
  }
  90% {
    transform: translate(2px, 1px) rotate(0deg);
  }
  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}

#full-page-loader .longfazers {
  position: absolute;
  width: 100%;
  height: 100%;
}

#full-page-loader .longfazers span {
  position: absolute;
  height: 2px;
  width: 20%;
  background: #e72477;
}

#full-page-loader .longfazers span:nth-child(1) {
  top: 20%;
  animation: lf 0.6s linear infinite;
  animation-delay: -5s;
}

#full-page-loader .longfazers span:nth-child(2) {
  top: 40%;
  animation: lf2 0.8s linear infinite;
  animation-delay: -1s;
}

#full-page-loader .longfazers span:nth-child(3) {
  top: 60%;
  animation: lf3 0.6s linear infinite;
}

#full-page-loader .longfazers span:nth-child(4) {
  top: 80%;
  animation: lf4 0.5s linear infinite;
  animation-delay: -3s;
}

@keyframes lf {
  0% {
    left: 200%;
  }
  100% {
    left: -200%;
    opacity: 0;
  }
}

@keyframes lf2 {
  0% {
    left: 200%;
  }
  100% {
    left: -200%;
    opacity: 0;
  }
}

@keyframes lf3 {
  0% {
    left: 200%;
  }
  100% {
    left: -100%;
    opacity: 0;
  }
}

@keyframes lf4 {
  0% {
    left: 200%;
  }
  100% {
    left: -100%;
    opacity: 0;
  }
}

.briefing {
  width: 100%;
}

#lab-page-container {
    max-height: 50vh;
    overflow: hidden;
}

#lab-page-loader {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100vw;
    min-height: 100vh;
    z-index: 10000;
    background-color: #00B4E5;
}

#lab-page-loader-spinner-container {
    text-align: center;
    margin-top: calc(50vh - 50px);
}

#lab-page-loader-spinner-container .spinner-border {
    width: 100px;
    height: 100px;
}

.publish-row .table-container {
  max-height: 80vh;
  overflow-y: auto;
}

.publish-row > div {
  border: 1px solid grey;
}

.publish-row > div:nth-child(even) {
  border-right: 0;
  border-left: 0;
}

.publish-row > div:last-child {
  border-right: 1px solid grey;
}

#users-table tr td:first-child {
    width: 75px;
}

.text-green {
    color: #00A000 !important;
}

.text-red {
    color: #A00000 !important;
}

.text-cyan {
  color: #388ea1 !important;
}

.text-glow-green {
    font-size: .7rem;
    color: #00A000 !important;
    text-shadow: 0 0 .3rem #00A000;
}

.text-glow-red {
    font-size: .7rem;
    color: #A00000 !important;
    text-shadow: 0 0 .3rem #A00000;
}

.auto-break {
  word-break: break-all;
}

.walkthrough-guide-editor-container {
  display: none;
}

#walkthrough-preview iframe {
  border-width: 0;
  border-style: inherit;
  border-color: inherit;
  border-image: inherit;
  height: 75vh;
}

.panel-card .card-header .custom-control {
  display: inline-block;
}

.btn-sm-round {
  padding: .05rem .4rem;
  border-radius: 50%;
}

.podspec-container:only-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.125) !important;
  border-radius: .25rem !important;
}

/* PodSpec diff table */
#podspec-diff-container td, th {
  border-style: hidden;
  white-space: normal !important;
}

.diff_next {
  display: none;
}

.diff_header {
  border: 0;
  color: gray;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.diff_sub {
  background: #fdb8c0;
}

.diff_add {
  background-color: #acf2bd;
}

.select2-selection li {
  text-transform: lowercase;
}

/* The tag section's selected chip is the published code, with its original case. */
.catalog-tags + .select2 .select2-selection li {
  text-transform: none;
}