﻿div.page {
  padding-bottom: 0 !important;
}
.scripting {
  vertical-align: top;
  position: relative;
  width: 100%;
  height: calc(100vh - 30px);
}
.scripting > .leftColumn {
  width: 17%;
  display: inline-block;
  position: relative;
  height: 100%;
}
.scripting > .leftColumn > .script-count-info {
  margin-top: 10px;
}
.scripting > .leftColumn > .new-script-button {
  display: block;
  height: 35px;
  margin-bottom: 10px;
  margin-top: 10px;
}
.scripting > .leftColumn > .scripts {
  height: calc(100% - 55px);
  overflow-y: auto;
}
.scripting > .leftColumn > .scripts > .script {
  padding: 5px 15px;
  background: #EEEEEE;
  border: 1px solid silver;
}
.scripting > .leftColumn > .scripts > .script > .code {
  display: inline-block;
  max-width: 300px;
  overflow: hidden;
  -ms-text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 20px;
}
.scripting > .leftColumn > .scripts > .script > .buttons {
  display: inline-block;
}
.scripting > .leftColumn > .scripts > .script.selected {
  background: white;
  border-color: black;
}
.scripting > .current-script {
  vertical-align: top;
  width: calc(100% - 17% - 5px);
  height: 100%;
  display: inline-block;
}
.scripting > .current-script > .tabs {
  display: block;
  height: 30px;
}
.scripting > .current-script > .tabs > div {
  display: inline-block;
  background: #DDD;
  font-weight: bold;
  cursor: pointer;
  margin: 0;
  padding: 5px;
  height: 30px;
}
.scripting > .current-script > .tabs > div:hover {
  text-shadow: 1px 1px 2px gray;
}
.scripting > .current-script > .tabs > div.selected {
  background: #F0F0F0;
}
.scripting > .current-script > .content {
  display: block;
  width: 100%;
  height: calc(100% - 30px);
}
.scripting > .current-script > .content > div {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.scripting > .current-script > .content > .errors > .error {
  margin: 5px 0;
  background: #ffbac1;
  color: #780000;
  cursor: pointer;
}
.scripting > .current-script > .content > .errors > .error > .text {
  display: inline-block;
  overflow: hidden;
  -ms-text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 20px;
  font-family: 'Courier New';
}
.scripting > .current-script > .content > .errors > .error.expanded {
  overflow-x: scroll;
}
.scripting > .current-script > .content > .errors > .error.expanded > .text {
  white-space: pre;
}
.scripting > .current-script > .content > .errors > .error button {
  cursor: default;
}
.scripting > .current-script > .content > .trace {
  padding: 10px 20px;
  font-family: 'Courier New';
  overflow-y: scroll;
  display: inline-block;
}
.scripting > .current-script > .content > .trace > .line {
  white-space: nowrap;
}
.scripting > .current-script > .content > .trace > .line > .time {
  background: #DDD;
  font-weight: bold;
  display: inline-block;
  padding: 0 5px;
}
.scripting > .current-script > .content > .trace > .line > .text {
  display: inline-block;
}
.scripting > .current-script > .content > .forks > .fork > .header {
  padding: 5px 5px;
  background: #DDDDDD;
  white-space: nowrap;
}
.scripting > .current-script > .content > .forks > .fork > .header > .wait-object {
  border: 1px solid gray;
  background: #EEEEEE;
}
.scripting > .current-script > .content > .forks > .fork > .header > .wait-object.collapsed {
  max-width: 40px;
}
.scripting > .current-script > .content > .forks > .fork > .header > .wait-object.collapsed:before {
  content: '+';
  font-size: 20px;
  cursor: pointer;
}
.scripting > .current-script > .content > .forks > .fork > .header > .buttons {
  display: inline-block;
  margin-left: 20px;
}
.scripting > .current-script > .content > .options {
  padding: 10px 20px;
}
.scripting > .current-script > .content > .options textarea.emails {
  width: 400px;
  height: 60px;
}
.scripting > .new-script {
  position: absolute;
  top: 50px;
  left: 50px;
  right: 50px;
  bottom: 50px;
  z-index: 10;
}
.scripting > .new-script > .editor {
  position: absolute;
  top: 0;
  bottom: 100px;
  width: 100%;
  border: 2px solid black;
}
.scripting > .new-script > .buttons {
  position: absolute;
  bottom: 10px;
  right: 10px;
}