/*Style.css linewrap*/
#toolbar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 50px;
  padding-bottom: 5px;
  background-color: #12121d;
  margin-bottom: 10px;
  z-index: 106;
}

#main {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  overflow-x: hidden;
  background-color: #1e1e2f;
}

#editor {
  position: relative;
  height: calc(100vh - 100px);
  width: 100vw;
  margin-top: 65px;
  padding-left: 0;
  background-color: #1e1e2f;
  /*
    position: relative;
    top: 10px;
    width: 100px;
    min-width: 10px;
    overflow: scroll;*/
}

#editor.out {
  width: 100vw;
  transition: ease;
  transition-duration: 1s;
}

#editor.in {
  width: 50vw;
  transition: ease;
  transition-duration: 1s;
}

#divider {
  position: absolute;
  top: 50px;
  right: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  margin-left: 50vw;
  background-color: rgb(130, 130, 130);
}

#divider:hover {
  cursor: pointer;
}

#divider.out {
  animation: slideOut 1s ease;
  transform: translateX(100vw);
}

#divider.in {
  animation: slideIn 1s ease;
  transform: translateX(0vw);
}

#horiz-bar {
  position: absolute;
  top: 55px;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  margin-left: 0;
  height: 3px;
  z-index: 9;
  background-color: rgb(112, 222, 112);
}

#horiz-bar-2 {
  position: absolute;
  top: calc(50vh + 30px);
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  margin-left: calc(50vw);
  height: 3px;
  background-color: rgb(130, 130, 130);
}

#graph {
  position: absolute;
  top: 8vh;
  left: calc(54vw);
  height: 40vh;
  width: 36.5vw;
  border-radius: 8px;
  padding-right: 0px;
  overflow: scroll;
  overflow-x: hidden;
  padding-left: 0px;
  padding-top: 5px;
  background-color: rgb(53, 53, 53);
  background-attachment: local;
  z-index: 101;
}

#graph p {
  padding-left: 10px;
}

#console {
  position: absolute;
  top: 50vh;
  left: calc(54vw);
  height: 40vh;
  width: 36.5vw;
  border-radius: 8px;
  padding-right: 0px;
  overflow: scroll;
  overflow-x: hidden;
  padding-left: 0px;
  padding-top: 5px;
  background-color: rgb(53, 53, 53);
  background-attachment: local;
  z-index: 101;
  /**
    position: absolute;
    top: 55vh;
    left: calc(61vw);
    height: 40vh;
    width: 36.5vw;
    border-radius: 8px;
    padding-right: 0px;
    overflow: scroll;
    overflow-x: hidden;
    padding-left: 0px;
    padding-top: 5px;
    background-color: rgb(53, 53, 53);
    background-attachment: local;
    z-index: 102;*/
}

#console p {
  padding-left: 10px;
  font-family: monospace !important;
}

#console-turtle {
  position: absolute;
  top: 9vh;
  left: calc(54vw);
  height: 79vh;
  width: 45vw;
  border-radius: 8px;
  background-color: rgb(25, 26, 22);
  padding-right: 0px;
  overflow: hidden;
  overflow-x: hidden;
  padding-top: 5px;
  background-color: black /*rgb(53, 53, 53);*/;
  background-attachment: local;
  z-index: 103;
}

#blanket {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  z-index: 106;
  visibility: hidden;
  transition: 0.3s;
}

#blanket.dim {
  opacity: 0.7;
  visibility: visible;
  transition: 0.3s;
}

#examples {
  position: absolute;
  top: 20vh;
  right: 30vw;
  bottom: 40vh;
  left: 30vw;
  border-radius: 11px;
  background-color: rgb(25, 26, 22);
  padding-right: 0px;
  overflow: scroll;
  padding-left: 0px;
  padding-top: 5px;
  background-color: rgb(53, 53, 53);
  background-attachment: local;
  display: none;
  visibility: hidden;
}

.button_close {
  position: absolute;
  background-color: transparent;
  top: -5px;
  right: 25px;
  font-size: 30px !important;
  padding: 5px 5px !important;
}

.button_close:hover {
  color: grey;
}

#horiz-bar-2.in {
  animation: slideIn 1s ease;
  transform: translateX(0vw);
}

#horiz-bar-2.out {
  animation: slideOut 1s ease;
  transform: translateX(100vw);
}

#console.in {
  animation: slideIn 0.5s ease;
  opacity: 100%;
  visibility: visible;
}

#console.out {
  animation: slideOut 0.5s ease;
  visibility: hidden;
  opacity: 0%;
}

#console-turtle.in {
  animation: slideIn 0.5s ease;
  opacity: 100%;
  visibility: visible;
}

#console-turtle.out {
  animation: slideOut 0.5s ease;
  visibility: hidden;
  opacity: 0%;
}

#graph.in {
  animation: slideIn 0.5s ease;
  opacity: 100%;
  visibility: visible;
}

#graph.out {
  animation: slideOut 0.5s ease;
  visibility: hidden;
  opacity: 0%;
}

#examples.in {
  animation: slideIn 0.15s ease;
  opacity: 100%;
  visibility: visible;
  display: block;
}

#examples.out {
  animation: slideOut 0.15s ease;
  visibility: hidden;
  opacity: 0%;
  display: block;
}

@keyframes slideOut {
  0% {
    visibility: visible;
    opacity: 100%;
  }
  100% {
    visibility: hidden;
    opacity: 0%;
  }
}

@keyframes slideIn {
  0% {
    visibility: hidden;
    opacity: 0%;
  }
  100% {
    visibility: visible;
    opacity: 100%;
  }
}

.button {
  padding: 5px 10px;
  padding-top: 7px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  /*background-color:rgb(39, 40, 34);*/
  background-color: transparent;
  color: white;
  transition-timing-function: ease;
  transition-duration: 0.3s;
  border-radius: 18px;
  border: none;
  font-family: "Avenir Next" !important;
}

@font-face {
  font-family: "Avenir Next";
  src: url("Metropolis-Regular.otf"); /* File to be stored at your site */
}

.button:focus {
  outline: 0;
}

.button_play {
  /*border: 3px solid rgb(112, 222, 112); /* Green */
  padding: 2px 10px;

  margin-top: 9.5px;
  margin-bottom: 4px;
  margin-left: 40px;
  margin-right: 10px;

  color: #aaffaa;
  font-size: 1.5em;
}

.button_help {
  /*border: 3px solid #eabc62; /* Green */
  margin-top: 9.5px;
  margin-bottom: 4px;
  margin-right: 10px;
  float: right;
  border-radius: 5px;
  /* border: rgb(112, 222, 112) 2px solid; */
  background-color: #39476c;
}

.button_help:hover {
  /*background-color: #494949a6; /* Green */
  /* add shadow */
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
  background-color: #1e1e2f;
}

.help_left {
  float: none !important;
}

.button_stop {
  padding: 2px 10px;
  /*border: 3px solid rgb(255, 0, 0);*/
  margin-top: 6px;
  margin-bottom: 4px;
  margin-right: 10px;

  color: #ffaaaa;
  font-size: 1.5em;
}

.button_download {
  padding: 2px 10px;
  /*border: 3px solid rgb(255, 255, 255);*/
  margin-top: 6px;
  margin-bottom: 4px;
  margin-right: 10px;

  color: #dddddd;
  font-size: 1.5em;
}

.button_play:hover {
  /*background-color: rgba(112, 222, 112, 0.618);*/
  color: #32a432;
  transition-timing-function: ease;
  transition-duration: 0.3s;
}

.button_stop:hover {
  /*background-color: rgba(255, 0, 0, 0.495);*/
  color: #bf4848;
  transition-timing-function: ease;
  transition-duration: 0.3s;
}

.button_download:hover {
  /*background-color: rgb(90, 90, 90);*/
  color: #aaaaaa;
  transition-timing-function: ease;
  transition-duration: 0.3s;
}

.inputform {
  margin-top: 16px;
  margin-bottom: 8px;
  margin-right: 25px;
  width: 60px;
  float: right;
}

.inputform input {
  font-family: "Avenir Next" !important;
  margin: auto;
  width: 100%;
  border: none;
  background-color: transparent;
  border-bottom: 2px solid #e6e6e6a6;
  outline: none;
  color: #dcdcdc;
  font-size: 16px;
  transition: 300ms;
}

.inputform input:focus {
  transition: 300ms;
  border-bottom: 2px solid #e1e1e1;
}

.inputform input::placeholder {
  color: #c7c7c7a6;
  transition: all 300ms;
}

.button_submit {
  position: absolute;
  top: -5px;
  right: 95px;
}

.button_submit p {
  color: #ffffffd4;
  transition: 300ms;
}

.button_submit p:hover {
  color: #bdbdbd;
  transition: 300ms;
}

.ace-monokai .ace_gutter {
  background: #1e1e2f;
}

.lds-ripple {
  display: inline-block;
  position: relative;
  margin-top: 6.5px;
  width: 34px;
  height: 34px;
  margin-right: 8px;
  float: right;
}

.lds-ripple div {
  position: absolute;
  border: 2px solid rgb(255, 0, 0);
  opacity: 1;
  border-radius: 50%;
  transition: ease 1s;
  animation: lds-ripple-new 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple.new div {
  position: absolute;
  border: 2px solid #4caf50;
  background-color: #4caf50;
  opacity: 1;
  border-radius: 50%;
  transition: ease 1s;
  -webkit-transition: ease 1s;
  -moz-transition: ease 1s;
  animation: lds-ripple-new 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  -webkit-animation: lds-ripple-new 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  -moz-animation: lds-ripple-new 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}

@keyframes lds-ripple-new {
  0% {
    top: 19px;
    left: 19px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 38px;
    height: 38px;
    opacity: 0;
  }
}

@-webkit-keyframes lds-ripple-new {
  0% {
    top: 19px;
    left: 19px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 38px;
    height: 38px;
    opacity: 0;
  }
}

@-moz-keyframes lds-ripple-new {
  0% {
    top: 19px;
    left: 19px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 38px;
    height: 38px;
    opacity: 0;
  }
}

h1 {
  margin-top: 4px;
  color: white;
  font-family: "Avenir Next" !important;
  font-weight: normal;
  font-size: 25px;
}

p {
  color: white;
  font-family: "Avenir Next" !important;
  margin-top: 16px;
  margin-bottom: 16px;
}

#toolbar h1 {
  position: absolute;
  left: 0;
  right: 0;
  top: 2px;
  padding: 8px 20px;
  text-align: center;
  text-decoration: none;
  font-size: 26px;
  /*background-color:rgb(39, 40, 34);*/
  background-color: transparent;
  color: white;
  transition-timing-function: ease;
  transition-duration: 0.3s;
  font-family: "Avenir Next" !important;
  z-index: -1;
}

.mini-toolbar {
  position: sticky;
  top: -5px;
  right: 0;
  left: 0;
  padding-left: 10px;
  padding-top: 5px;
  margin-top: -5px;
  margin-left: -20px;
  margin-right: -20px;
  margin-bottom: -10px;
  background-color: rgb(29, 29, 29);
  z-index: 10;
  cursor: move;
}

.mini-toolbar h1 {
  margin-bottom: 0;
}

.table {
  height: 100%;
  width: 100%;
  margin-top: 10px;
}

.table a {
  text-decoration: none;
}

.row {
  position: relative;
  padding-left: 10px;
  padding-top: 2px;
  padding-bottom: 2px;
  margin-left: 0px;
  margin-right: -10px;
  transition: 300ms;
}

.row p {
  margin-top: 8px;
  margin-bottom: 8px;
}

.row:hover {
  background-color: black;
  transition: 300ms;
  cursor: pointer;
}

.corner-drag {
  position: absolute;
  background-color: rgb(29, 29, 29);
  border-radius: 0px;
  margin-bottom: 0px;
  bottom: -14px;
  right: -12px;
  height: 40px;
  width: 20px;
  cursor: nwse-resize;
  z-index: 105;
  transform: rotate(45deg);
}

.corner-drag2 {
  position: absolute;
  background-color: rgb(29, 29, 29);
  border-radius: 0px;
  margin-bottom: 0px;
  bottom: -14px;
  right: -12px;
  height: 40px;
  width: 20px;
  cursor: nwse-resize;
  z-index: 105;
  transform: rotate(45deg);
}

#turtle-div {
  width: 50px;
  height: 50px;
  text-align: center;
}

#turtle-div p {
  text-align: center;
  display: inline-block;
  width: 100%;
  height: 100%;
}

.rotate {
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

#running-spinner {
  opacity: 0;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: -0.2rem;
  margin-left: -0.55em;
  border-width: 0.12em;
}

#code-load-spinner {
  opacity: 100;
}

.out {
  visibility: hidden;
  opacity: 0%;
  animation: slideOut 300ms ease;
}

.in {
  visibility: visible;
  opacity: 100%;
  animation: slideIn 300ms ease;
}

#container {
  width: 100%;
  height: 100%;
}

#speedometer {
  color: #ffffff;
  background-color: #990000;
  position: absolute;
  bottom: 0px;
  padding: 5px;
}
#info {
  position: absolute;
  top: 0px;
  width: 100%;
  padding: 5px;
}

a {
  color: #a06851;
}

/* The switch - the box around the slider */
.switch {
  position: absolute;
  display: inline-block;
  width: 30px;
  height: 17px;
  margin-top: 13px;
}

/* Hide default HTML checkbox */
.switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input[type="checkbox"]:checked + .slider {
  background-color: #2196f3;
}

input[type="checkbox"]:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input[type="checkbox"]:checked + .slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 17px;
}

.slider.round:before {
  border-radius: 50%;
}

.dropdown {
  position: absolute;
  background-color: transparent;
  top: -5px;
  right: 25px;
  font-size: 30px !important;
  padding: 5px 5px !important;
}

.bootn {
  padding-left: 4px;
  padding-right: 4px;
  padding-top: 0px;
  padding-bottom: 0px;
  border: 0px;
}

.btn:focus {
  border: 0px;
  outline: none;
}

.dropdown-item {
  cursor: pointer;
}

.dropdown-menu {
  max-height: max-content;
  max-width: max-content;
  min-width: 0px;
}

#main {
  overflow: hidden;
}

body {
  margin-top: 20px;
  color: #bcd0f7;
  background: #1a233a;
}
.account-settings .user-profile {
  margin: 0 0 1rem 0;
  padding-bottom: 1rem;
  text-align: center;
}
.account-settings .user-profile .user-avatar {
  margin: 0 0 1rem 0;
}
.account-settings .user-profile .user-avatar img {
  width: 90px;
  height: 90px;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  border-radius: 100px;
}
.account-settings .user-profile h5.user-name {
  margin: 0 0 0.5rem 0;
}
.account-settings .user-profile h6.user-email {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 400;
}
.account-settings .about {
  margin: 1rem 0 0 0;
  font-size: 0.8rem;
  text-align: center;
}
.card {
  background: #272e48;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border: 0;
  margin-bottom: 1rem;
}
.form-control {
  border: 1px solid #596280;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  font-size: 0.825rem;
  background: #1a233a;
  color: #bcd0f7;
}

.button_feedback {
  position: absolute;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  padding: 10px;
  width: 50px;
  height: 50px;
  background-color: rgb(64, 223, 64);
  color: white;
  transition-timing-function: ease;
  transition-duration: 0.3s;
  border-radius: 80px;
  border: none;
  font-family: "Avenir Next" !important;
}

.button_settings {
  position: absolute;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  padding: 10px;
  width: 50px;
  height: 50px;
  background-color: #2196f3;
  color: white;
  transition-timing-function: ease;
  transition-duration: 0.3s;
  border-radius: 80px;
  border: none;
  font-family: "Avenir Next" !important;
}

.button_settings:hover {
  background-color: #007ee4;
}

.button_feedback:hover {
  background-color: rgb(0, 147, 24);
}

.button_resetWindows {
  border: none;
  color: white;
  padding: 0px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 8px -3px;
  cursor: pointer;
  border-radius: 20px;
  color: black;
  margin: 4px 0px;
  background-color: #e7e7e7;
  transition-duration: 0.5s;
}
.button_resetWindows:hover {
  background-color: #4696ec;
}

.button_margin {
  border: none;
  color: white;
  padding: 0px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 8px -3px;
  cursor: pointer;
  transition-duration: 0.5s;
}

.button_margin_minus {
  border-radius: 20px 0px 0px 20px;
  background-color: #e7e7e7;
  color: black;
  margin: 4px 0px;
} /* Gray */
.button_margin_plus {
  border-radius: 0px 20px 20px 0px;
  background-color: #555555;
} /* Black */
.button_margin:hover {
  background-color: #4696ec;
}

/* The switch - the box around the slider */
.switch-settings {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch-settings input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider-settings {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider-settings:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 3px;
  bottom: 4px;

  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input[type="checkbox"]:checked + .slider-settings {
  background-color: #2196f3;
}

input[type="checkbox"]:focus + .slider-settings {
  box-shadow: 0 0 1px #2196f3;
}

input[type="checkbox"]:checked + .slider-settings:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider-settings.round {
  border-radius: 17px;
}

.slider-settings.round:before {
  border-radius: 50%;
}

#sensors {
  background-color: rgba(0, 0, 0, 0.5);
  height: 190px;
  width: 10.5em;
  color: white;
  position: absolute;
  padding-top: 0.5em;
  bottom: -0.5em;
  left: -0.5em;
  font-family: monospace;
  padding-left: 1em;
  padding-right: 0.5em;
  border-radius: 1em;
}

#sensors .out {
  visibility: hidden;
}

#sensors .in {
  visibility: visible;
}

.textfield-container {
  margin-top: 10px;
  margin-bottom: 8px;
  margin-right: 20px;
  float: right;
}

.material-textfield {
  position: relative;
}

.carousel-indicators {
  margin-bottom: -20px;
  float: left;
  margin-left: 16%;
}

label[type="kitid"] {
  position: absolute;
  font-size: 1rem;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgb(39, 40, 34);
  color: white;
  padding: 0 0.3rem;
  margin: 0 0.5rem;
  transition: 0.1s ease-out;
  transform-origin: left top;
  pointer-events: none;
}

input[type="kitid"] {
  font-size: 1rem;
  outline: none;
  border: 2px solid white;
  border-radius: 5px;
  padding: 1rem 0.7rem;
  color: white;
  transition: 0.1s ease-out;
  height: 2em;
  width: 5em;
  background-color: rgb(39, 40, 34);
}

input[type="kitid"]:focus {
  /*border-color: grey;*/
}

input[type="kitid"]:focus + label[type="kitid"] {
  top: 0;
  transform: translateY(-50%) scale(0.9);
}

input[type="kitid"]:not(:placeholder-shown) + label[type="kitid"] {
  top: 0;
  transform: translateY(-50%) scale(0.9);
}
