@charset "UTF-8";
/** COLORS **/
/** GLOBAL **/
* {
  box-sizing: border-box;
}

a {
  cursor: pointer;
}

body, html {
  width: 100%;
  height: 100%;
}

body {
  margin-top: 80px;
  font-size: 14px;
  font-family: Courier;
}

/** BOOTSTRAP **/
.navbar {
  text-align: center;
}

.navbar-nav {
  margin: 0;
}

.navbar-center {
  float: none !important;
  display: inline-block;
}

.tooltip.bottom {
  top: 100%;
  margin-top: 10px;
  margin-left: 50%;
  transform: translate(-50%, 0);
}

.popover.bottom {
  min-width: 250px;
  top: 100%;
  margin-left: 50%;
  transform: translate(-50%, 0);
}
.popover .popover-content.list-group {
  margin: -1px;
  padding: 0;
  border: 0;
}
.popover .popover-content.list-group .list-group-item {
  border-left: 0;
  border-right: 0;
}
.popover .popover-content.list-group .list-group-item:first-child {
  border-top: 0;
}
.popover .popover-content.list-group .list-group-item:last-child {
  border-bottom: 0;
}

.help .comment {
  display: inline-block !important;
}

.uppercase {
  text-transform: uppercase;
}

.dropdown-menu {
  overflow: auto;
}

.popover textarea {
  min-height: 4em;
}

/** NAV **/
.slidetip:before {
  display: inline-block;
  overflow: hidden;
  max-width: 0;
  line-height: 14px;
  transition: all ease 0.2s;
  content: attr(title);
}
.slidetip:hover:before {
  max-width: 120px;
  margin-right: 10px;
}

/** SCRIPT **/
.script {
  list-style: none;
  padding-left: 0;
  padding-bottom: 100px;
}
.script > li {
  margin: 20px 0 20px -20px;
  padding: 0 0 0 20px;
  display: block;
  position: relative;
  /** COMMENTS **/
}
.script > li:hover .comment-add {
  opacity: 0.7;
}
.script .comment-add {
  transition: all ease 0.2s;
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  opacity: 0;
  z-index: 8;
  color: yellow;
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  margin: -10px -10px;
  padding: 10px;
  font-size: 120%;
  text-shadow: 0 1px 1px #000;
}
.script .comment-add:hover {
  opacity: 1 !important;
}
.script .line-text:focus ~ .comment-add {
  opacity: 0.3;
}
.script .comment-box:focus ~ .comment-add {
  opacity: 1;
}
.script .commented .comment-add {
  opacity: 0.5;
  color: orange;
}
.script .comment-box {
  position: absolute;
  right: 0;
  top: 0;
  background: yellow;
  z-index: 3;
  min-width: 100px;
  max-width: 300px;
  min-height: 40px;
  padding: 0px 4px;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.4);
  border-radius: 3px;
}
.script {
  /** LINES **/
}
.script .line-text {
  font-size: 14px;
  font-family: Courier;
  background: #eee;
  position: relative;
}
.script .line-text:hover {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.script .line-text:focus {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  z-index: 5;
  outline: none;
}
.script .scene .line-text {
  text-transform: uppercase;
  background: rgba(238, 238, 238, 0.1);
}
.script .scene .line-text:empty:focus:before {
  content: "SCENE";
  color: #bbb;
}
.script .scene .line-text:focus:after {
  position: absolute;
  content: attr(data-suggest);
  color: #bbb;
}
.script .character {
  margin-bottom: 0;
}
.script .character .line-text {
  text-align: center;
  text-transform: uppercase;
  background: #EDF6FF;
}
.script .character .line-text:empty:focus:before {
  content: "CHARACTER";
  color: #cfcfcf;
}
.script .character .line-text:focus:after {
  position: absolute;
  content: attr(data-suggest);
  color: #cfcfcf;
}
.script .transition .line-text {
  text-align: right;
  text-transform: uppercase;
  width: auto;
}
.script .transition .line-text:after {
  content: ":";
}
.script .transition .line-text:empty:focus:before {
  content: "TRANSITION";
  color: #ddd;
}
.script .parenthetical {
  margin: 0 30%;
}
.script .parenthetical .line-text {
  text-align: center;
}
.script .parenthetical .line-text:before {
  content: "(";
}
.script .parenthetical .line-text:after {
  content: ")";
}
.script .dialogue {
  margin: 0 15% 20px;
}
.script .dialogue .line-text:empty:focus:before {
  content: "Dialogue";
  color: #ddd;
}
.script .action .line-text:empty:focus:before {
  content: "Action";
  color: #ddd;
}
.script .shot .line-text:empty:focus:before {
  content: "Shot";
  color: #ddd;
}

.highlight .line-text:before {
  content: "➤";
  display: inline-block;
  margin-right: 20px;
  margin-left: -25px;
}
.highlight .line-text:after {
  content: "➤";
  transform: rotate(180deg);
  display: inline-block;
  margin-left: 20px;
  margin-right: -25px;
}

@media (max-width: 767px) {
  .script > li {
    margin: 20px 0 20px -15px;
    padding: 0 0 0 15px;
  }
  .script .parenthetical {
    margin: 0 13%;
  }
  .script .dialogue {
    margin: 0 10%;
  }
}