.or-text {
  border-right: 1px solid #ddd;
}

.deploy-plug {
  padding: 0 10px;
  background-color: #176729;
  border-color: #176729;
}

#attackbox-machine-instance {
  height: 100%;
}

#attackbox-machine-options {
  display: flex;
  padding: 0 15px;
  background: #2b2e37;
  color: white;
  align-items: center;
  justify-content: space-between;
}

#room-attackbox-tabs > div {
  cursor: pointer;
  max-width: 125px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 5px;
  background-color: #1b1c21;
  opacity: 0.6;
}

#room-attackbox-tabs > div:hover {
  opacity: 1;
}

#room-attackbox-tabs .tab-active {
  opacity: 1;
  color: #fff;
  background-color: #5e6475;
}

#room-attackbox-tabs > div:first-child {
  margin-left: 20px;
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
}

#room-attackbox-tabs > div:last-child {
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
}

#room-attackbox {
  display: none;
  width: 100%;
}

#machine-loading-attackbox {
  /* height: 430px; */
  height: 100%;
  width: 100%;
  background: #232323;
  position: relative;
  /* margin-bottom: 1em; */
}

#room-attackbox-loading,
#machine-loading-attackbox > .progress-info {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center; /*Aligns vertically center */
  justify-content: center; /*Aligns horizontally center */
}

.room-header {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-gap: 15px;
}

#copy-machine-ip {
  display: none;
}

#writeups-simple {
  display: none;
}

#writeup-form {
  margin-top: 1.5em;
}

/* Sticky deployment instance */
.instance-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  box-shadow: 0 1px 3px 0 #585858 !important;
  border-top-right-radius: 0 !important;
  border-top-left-radius: 0 !important;
  z-index: 999;

  animation: slide-down 0.7s;
}
@keyframes slide-down {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  100% {
    opacity: 0.9;
    transform: translateY(0);
  }
}
.instance-sticky > .card-header {
  /* Added when instance div top of screen*/
  display: none;
}

.instance-sticky > .card-body {
  padding: 10px;
}

/* End of sticky instance css*/

#room-simple-video {
  display: none;
  margin-bottom: 15px;
}

.badge-hacker-green {
  background-color: var(--hacker-green);
  color: white;
}

.extra-points:hover {
  /* cursor: pointer; */
}

/* from room directly */
#title,
#description {
  text-align: left;
}
#room-basic-data {
  text-align: left;
  width: 100%;
}

#vote-up {
  font-size: 1.2em;
  position: relative;
  top: -3px;
  color: #b9b9b9;
}

#vote-down {
  font-size: 1.2em;
  position: relative;
  top: 6px;
  color: #b9b9b9;
}

#vote-down:hover,
#vote-up:hover {
  opacity: 0.5;
  cursor: pointer;
}

/* end of room directly */

.card-room-title {
  margin-bottom: 4px;
}

.remove-room-icon {
  color: #6c757d;
  left: 8px;
  position: relative;
}

.card-room-desc {
  display: block;
  display: -webkit-box;
  /* max-width: 400px; */
  /* height: 45px; */
  margin: 0 auto;
  /* font-size: 26px; */
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

#top-panel {
  margin-bottom: 15px;
  display: none;
}

.room-locked > img {
  width: 300px;
  margin-bottom: 16px;
}

#browser-machine-options .btn,
#browser-machine-split-view,
#cloud-details {
  font-size: 16px;
  align-items: center;
  justify-content: center;
  background: #326ce6;
  border-color: #326ce6;
  color: white;
  padding: 0 5px;
  height: 32px;
  vertical-align: top;
}

#browser-machine-options,
#browser-machine-split-view,
#cloud-details {
  display: none;
  margin-left: 4px;
  position: relative;
}

#cloud-details {
  background: #cb7800;
  border-color: transparent;
}

#browser-machine-options .dropdown-menu {
  position: absolute;
  top: 100%; /* Bottom of button */
  right: 0;
  margin-left: auto; /* More to the left */
  padding: 1px;
}

#browser-machine-options .dropdown-menu .dropdown-item {
  padding: 10px;
}

.browser-machine-start #browser-machine-start {
  border-radius: 5px;
}

.browser-machine-start #browser-machines {
  display: none;
}

#room-options > .badge,
#share-room,
#awards-model-btn,
#how-to,
#room-faq-slideout,
#room-cert {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  height: 32px;
}

.badge-bookmark {
  font-size: 18px;
  display: inline-block;
  font-weight: 500;
  height: 32px;
  top: -1px;
  width: 32.4px;
  position: relative;
  margin-left: 4px;
  background-color: #628eb5;
}

.bookmarked > img.bookmark {
  content: url('/img/svgs/bookmarked.svg');
}

.bookmark {
  position: relative;
}

.bookmark-popover {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 32px;
  width: 32.4px;
}

#room-cert {
  background-color: #0086ba;
}

#awards-model-btn {
  display: none;
}

.badge-bookmark:hover,
#room-options > .badge:hover,
#share-room:hover,
#awards-model-btn:hover,
#room-faq-slideout:hover,
#how-to:hover,
#room-cert:hover,
#browser-machine-start:hover,
#room-cert:hover,
#cloud-details:hover {
  /* box-shadow: 0 2px 5px 0 #dce1eb; */
  -webkit-transition: ease-out 0.4s;
  -moz-transition: ease-out 0.4s;
  transition: ease-out 0.4s;
  background-color: #39558f; /* D80286 */
  cursor: pointer;
}

#awards-model-btn {
  cursor: pointer;
  color: #ffffff;
  background-color: #d88201;
}

#room-tabs {
  display: none;
  width: 100%;
}

.card-raised-70 {
  position: relative;
  top: -75px;
}

#room-banner {
  position: relative;
}

#room-details {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 9px;
  /* background: rgb(0,0,0, 0.6); */
  background: rgb(21 27 39 / 85%);
  color: white;
}

.badge-outline.success {
  color: var(--hacker-green);
  border: 2px solid var(--hacker-green);
}

.badge-outline.warning {
  color: #daa759;
  border: 2px solid #daa759;
}

.badge-outline.primary {
  color: #59a0da;
  border: 2px solid #59a0da;
}

.badge-outline.info {
  color: #19a4da;
  border: 2px solid #19a4da;
}

.badge-outline.light {
  color: #cbcbcb;
  border: 2px solid #cbcbcb;
}

.badge-outline {
  padding: 2px;
  padding-right: 0.6em;
  padding-left: 0.6em;
  border-radius: 10rem;
  font-weight: bold;
}

#room-image-large {
  /* display: none; */
  width: 100%;
  height: 230px;
  object-fit: cover;
  filter: brightness(80%);
}

#room-banner-stats {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 15px;
  z-index: 999;
}

#remote-box {
  height: 600px;
  width: 100%;
  background: #232323;
  position: relative;
  margin-bottom: 1em;
}

#remote-box > .progress-info {
  width: 100%;
  background: #232323;
  color: white;
}

#loading-msg {
  z-index: 1;
  margin-bottom: 10px;
  color: white;
  text-align: center;
}

.progress-info > .progress {
  margin: auto;
  width: 70%;
}

.task-questions img {
  border-radius: 5px;
}

#room-banner-stats .creators {
  text-shadow: 0px 0px 2px #000;
  color: white;
  margin-bottom: 5px;
  opacity: 0.85;
}

/* Start of connection css */

.dot-small {
  /* position: relative; */
  /* top: 1px; */
  height: 12px;
  width: 12px;
  min-width: 12px;
  border-radius: 50%;
  display: inline-block;
}

#thm-connection-status {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  cursor: pointer;
  border-radius: 22px;
  margin-right: 15px;
}

#thm-connection-status:hover {
  opacity: 0.8;
}

.thm-connected {
  background: #4e611a;
}

.thm-connected #thm-connection-status-dot {
  background-color: #9acc14;
}

.thm-disconnected {
  background: #633232;
}

.thm-disconnected #thm-connection-status-dot {
  background-color: #da4139;
}

.thm-unconnected {
  background-color: #3a3a3a;
}

.thm-unconnected #thm-connection-status-dot {
  background-color: #807f7f;
}

.rem-attackbox-machine-options #room-attackbox-expire-text,
.rem-attackbox-machine-options #room-attackbox-extend,
.rem-attackbox-machine-options #room-attackbox-terminate,
.rem-attackbox-machine-options #room-attackbox-url,
.rem-attackbox-machine-options #room-attackbox-info {
  display: none;
}

.shorten-room-details .room-header {
  grid-template-columns: auto;
}

.shorten-room-details #room-voting,
.shorten-room-details #room-logo {
  display: none;
}

/* End of connection css */

.glossary-term {
  cursor: pointer;
}

#roomCompleted-share a button {
  margin: 4px;
}

.room-questions-split {
  margin-top: 1rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

.room-questions-split div {
  padding-right: 18px;
  font-weight: 800;
  font-style: italic;
  font-size: 18px;
  color: var(--cool-red);
}

.room-questions-split.hacker-green div {
  color: var(--hacker-green);
}

.room-questions-split:after {
  content: '';
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  height: 50%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

#room-view-navigation {
  margin-top: 26px;
  margin-bottom: 36px;
}

#room-view-navigation .nav {
  border-bottom: 1px solid #dee2e6;
}

#room-view-navigation .nav-link {
  padding: 0 1rem;
  margin-bottom: -3px;
}

#room-view-navigation .nav-icon {
  margin-right: 5px;
}

#room-view-navigation .active {
  border-bottom: 3px solid var(--main-color);
}
