/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
strong {
  font-weight: bold;
}
em {
  font-style: italic;
}

/* OPTIMIZATION FOR BROWSER QUIRKS */

html { overflow-y: hidden; }
img { -ms-interpolation-mode: bicubic; } /* Makes IE scale images smoothly */
a:active, a:focus { outline: none; } /* Disables the dotted outline FireFox puts on active links */
* {
  -moz-user-select: -moz-none;
  -webkit-user-select: none;
  cursor: default;
}
input[type="text"], textarea {
  -moz-user-select: text;
  -webkit-user-select: text;
  user-select: text;
  cursor: text !important;
}

/* CURSORS */
body.sketch_Default canvas { cursor: url("/static/images/cursors/default-8bb41606.cur"), default; }
body.sketch_AddComponent canvas { cursor: url("/static/images/cursors/addcomponent-34ae52b6.cur"), default; }
body.sketch_AddNet canvas { cursor: url("/static/images/cursors/net-ab8c30d2.cur"), default; }
body.sketch_AddFlag canvas { cursor: url("/static/images/cursors/addcomponent-34ae52b6.cur"), default; }
body.sketch_AddAnnotation canvas { cursor: url("/static/images/cursors/annotation-9c27c8b5.cur"), default; }
body.sketch_AddComment canvas { cursor: url("/static/images/cursors/comment-0bddc807.cur"), default; }
body.sketch_Pan canvas { cursor: url("/static/images/cursors/pan-43c136ed.cur"), default; }
body.sketch_Pan:active canvas { cursor: url("/static/images/cursors/pan-down-08fc2d8e.cur"), default; }

/* TYPOGGRAPHY */
html, body {
  font-family: Helvetica, "Helvetica Neue", Arial, Tahoma, sans-serif;
  font-size: 12px;
  color: #262626;
  line-height: 18px;
  height: 100%;
}
a {
  text-decoration: none;
  color: #0773c7;
  cursor: pointer;
}
  a:hover {
    color: #034a81;
  }
  a * {
    cursor: pointer;
  }
small {
  font-size: 10px;
}


/* BUTTONS */
.btn {
  display: inline-block;
  height: 2.2em;
  line-height: 2.2em;
  font-size: 13px;
  vertical-align: middle;
  padding: 0 15px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;

  text-align: center;
  white-space: nowrap;
  cursor: pointer;

  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
  outline: 0;

  -webkit-transform: translate3d(0,0,0); /* Fix some wiggliness in Chrome on hover. */

  text-shadow: none;
  background-image: none;
  transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
}

.btn-tight {
  font-size: 13px;
  height: 1.1em;
  line-height: 1.1em;
  padding: 3px;
}

/* Button colours. No default btn because opacity is not global here. */
.btn-blue {
  background-color: #35b4e5;
  color: #ffffff;
}
  .btn-blue:hover {
    background-color: #03a1de;
  }
.btn-lightblue {
  background: #e6f4fd;
  color: #333333;
  border: 1px solid #98c5e0;
}
.btn-gray {
  background: #eaeaea;
  color: #555555;
  border: 1px solid #c0c0c0;
}
.btn-orange {
  background: #e4801d;
}
.btn-yellow {
  background: #ffd204;
  color: #474747;
  border: 1px solid #ca9b21;
}
.btn-lightyellow {
  border: 1px solid #d0c49c;
  color: #5e5e5e;
  background: #FFF5D9;
  opacity: 0.8;
}
  .btn-lightyellow {
    opacity: 1;
  }
.btn-red {
  background: #ed5d5d;
}
.btn-pink {
  background: #f7e8e8;
  color: #333333;
  border: 1px solid #e6b5b5;
  border-bottom: 1px solid #bb7777;
}
.btn-white {
  background: #fafafa;
  color: #5e5e5e;
  border: 1px solid #d2d2d2;
  border-bottom: 1px solid #c2c2c2;
}


/* LOADING */
.spinner {
  background-image: url("/static/images/snippets/loader-02fc3c6e.gif") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}


/* FORMS */
input[type="text"],
textarea {
  border: solid 1px #d1d1d1;
  -moz-box-shadow:
    1px 1px 0px #ffffff,
    inset 1px 1px 2px rgba(0,0,0,0.15);
  -webkit-box-shadow:
    1px 1px 0px #ffffff,
    inset 1px 1px 2px rgba(0,0,0,0.15);
  box-shadow:
    1px 1px 0px #ffffff,
    inset 1px 1px 2px rgba(0,0,0,0.15);
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  padding: 5px;
  height: 16px;
  outline: none;
  color: #5e5e5e;
  vertical-align: middle;
  resize: none;
  font-family: Helvetica, "Helvetica Neue", Arial, Tahoma, sans-serif;

  background: -moz-linear-gradient(top, #f5f5f5 0%, #ffffff 18px, #ffffff 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#efefef), color-stop(18px,#ffffff), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #f5f5f5 0%,#ffffff 18px,#ffffff 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #f5f5f5 0%,#ffffff 18px,#ffffff 100%); /* Opera11.10+ */
  background: -ms-linear-gradient(top, #f5f5f5 0%,#ffffff 18px,#ffffff 100%); /* IE10+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
  background: linear-gradient(top, #f5f5f5 0%,#ffffff 18px,#ffffff 100%); /* W3C */
}
  /* placeholder */
  input::-webkit-input-placeholder,
  textarea::-webkit-input-placeholder,
  input.placeholder {
    font-style: italic;
    color: #919191;
  }
  input:-moz-placeholder,
  textarea:-moz-placeholder {
    font-style: italic;
    color: #919191;
  }

  /*focus */
  input[type="text"]:focus,
  input[type="email"]:focus,
  input[type="password"]:focus,
  textarea:focus {
    -moz-box-shadow:
      0px 0px 4px #0090ff,
      inset 1px 1px 4px rgba(0,0,0,0.25);
    -webkit-box-shadow:
      0px 0px 4px #0090ff,
      inset 1px 1px 4px rgba(0,0,0,0.25);
    box-shadow:
      0px 0px 4px #0090ff,
      inset 1px 1px 4px rgba(0,0,0,0.25);
    border: solid 1px #66bbfc;
  }
  input:-moz-placeholder,
  textarea:-moz-placeholder {
    font-style: italic;
  }
  input[type="text"].large,
  input[type="email"].large,
  input[type="password"].large {
    font-size: 16px;
    padding: 8px 5px;
    height: 19px;
  }
  /*disabled */
  input[type="text"]:disabled,
  input[type="email"]:disabled,
  input[type="password"]:disabled,
  textarea:disabled {
    background: #f5f5f5;
    color: #919191;
  }


/* TEMP - LOADING PROGRESS */
.progress-bar-horizontal {
  display: none;
}

/* CONTAINER */
.embed .container {
  border: solid 1px #d4d4d4;
}
    .embed .container .wrapper .canvasbox {
      padding: 1px;
    }
      .embed .container .wrapper .canvasbox .wrapper {
        height: 62px;
        padding: 0;
        background: none;
        position: relative;
        overflow: hidden;
      }
  .embed .container .wrapper .meta,
  .projectpage .container .wrapper .meta {
    height: 22px;
    display: none;
    font-size: 11px;
    line-height: 26px;
    color: #919191;
    text-shadow: 1px 1px 0px #ffffff;
  }
    .embed .container .wrapper .meta .project {
      color: #474747;
      font-size: 12px;
      display: inline-block;
      max-width: 65%;
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;

    }
      .embed .container .wrapper .meta a:hover {
        text-decoration: underline;
      }
    .embed .container .wrapper .meta .author {
      color: #5e5e5e;
    }


/* EMBED CONTROL */
.embed-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 55px;
  height: 75%;
  z-index: 100001;
}
  .embed .embed-controls {
    top: 40px;
  }
  .embed-controls .pan {
    display: block;
    height: 50px;
    width: 50px;
    border: solid 1px #d4d4d4;
    box-shadow:
      inset 1px 1px 0px #ffffff,
      1px 1px 1px rgba(0,0,0,0.2);
    -moz-border-radius: 50px;
    border-radius: 50px;
    position: relative;
    background: rgb(241,241,241); /* Old browsers */
    background: -moz-linear-gradient(top,
      rgba(241,241,241,1) 0%,
      rgba(252,252,252,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom,
      color-stop(0%,rgba(241,241,241,1)),
      color-stop(100%,rgba(252,252,252,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,
      rgba(241,241,241,1) 0%,
      rgba(252,252,252,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,
      rgba(241,241,241,1) 0%,
      rgba(252,252,252,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,
      rgba(241,241,241,1) 0%,
      rgba(252,252,252,1) 100%); /* IE10+ */
    background: linear-gradient(top,
      rgba(241,241,241,1) 0%,
      rgba(252,252,252,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f1f1f1', endColorstr='#fcfcfc',GradientType=0 ); /* IE6-9 */
  }
    .embed-controls .pan li {
      position: absolute;
      width: 18px;
      height: 18px;
      font-size: 1.5em;
      text-align: center;
      cursor: pointer;
      opacity: 0.5;
    }
      .embed-controls .pan li:hover {
        opacity: 0.8;
      }
      .embed-controls .pan li i {
        pointer-events: none;
      }
    .embed-controls .pan .up {
      top: -1px;
      left: 16px;
    }
    .embed-controls .pan .down {
      bottom: -1px;
      left: 16px;
    }
    .embed-controls .pan .right {
      top: 16px;
      right: -1px;
    }
    .embed-controls .pan .left {
      top: 16px;
      left: -1px;
    }

  .embed-controls .zoom {
    display: block;
    position: absolute;
    top: 70px;
    left: 24px;
    height: 30%;
    max-height: 120px;
  }
    .embed-controls .zoom .in,
    .embed-controls .zoom .out {
      display: block;
      width: 16px;
      height: 16px;
      border: solid 1px #bdbdbd;
      box-shadow:
        1px 1px 0px rgba(0,0,0,0.15),
        inset 0px 1px 0px #ffffff;
      -moz-border-radius: 3px;
      border-radius: 3px;
      margin-left: -7px;
      text-align: center;
      font-size: 1.25em;
      cursor: pointer;
      background: rgb(233,233,233); /* Old browsers */
      background: -moz-linear-gradient(top, rgba(233,233,233,1) 0%, rgba(255,255,255,1) 100%, rgba(252,252,252,1) 100%); /* FF3.6+ */
      background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(233,233,233,1)), color-stop(100%,rgba(255,255,255,1)), color-stop(100%,rgba(252,252,252,1))); /* Chrome,Safari4+ */
      background: -webkit-linear-gradient(top, rgba(233,233,233,1) 0%,rgba(255,255,255,1) 100%,rgba(252,252,252,1) 100%); /* Chrome10+,Safari5.1+ */
      background: -o-linear-gradient(top, rgba(233,233,233,1) 0%,rgba(255,255,255,1) 100%,rgba(252,252,252,1) 100%); /* Opera 11.10+ */
      background: -ms-linear-gradient(top, rgba(233,233,233,1) 0%,rgba(255,255,255,1) 100%,rgba(252,252,252,1) 100%); /* IE10+ */
      background: linear-gradient(top, rgba(233,233,233,1) 0%,rgba(255,255,255,1) 100%,rgba(252,252,252,1) 100%); /* W3C */
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9e9e9', endColorstr='#fcfcfc',GradientType=0 ); /* IE6-9 */
    }
    .embed-controls .zoom i {
      opacity: 0.5;
      pointer-events: none;
    }
      .embed-controls .zoom .in:hover i,
      .embed-controls .zoom .out:hover i {
        opacity: 0.8;
      }


    .embed-controls .zoom .track {
      border-left: solid 1px #dfdfdf;
      border-right: solid 1px #cfcfcf;
      background: #f9f9f9;
      width: 2px;
      height: 100%;
      position: relative;
    }
      .embed-controls .zoom li {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        width: 16px;
        height: 12.5%;
        margin-left: -8px;
        border: solid 1px #afafaf;
        box-shadow: 1px 1px 0px rgba(0,0,0,0.2);
        -moz-border-radius: 3px;
        border-radius: 3px;
        background: rgb(255,255,255); /* Old browsers */
        background: -moz-linear-gradient(top,
          rgba(255,255,255,1) 0%,
          rgba(219,219,219,1) 25%,
          rgba(255,255,255,1) 100%,
          rgba(252,252,252,1) 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom,
          color-stop(0%,rgba(255,255,255,1)),
          color-stop(25%,rgba(219,219,219,1)),
          color-stop(100%,rgba(255,255,255,1)),
          color-stop(100%,rgba(252,252,252,1))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top,
          rgba(255,255,255,1) 0%,
          rgba(219,219,219,1) 25%,
          rgba(255,255,255,1) 100%,
          rgba(252,252,252,1) 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top,
          rgba(255,255,255,1) 0%,
          rgba(219,219,219,1) 25%,
          rgba(255,255,255,1) 100%,
          rgba(252,252,252,1) 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top,
          rgba(255,255,255,1) 0%,
          rgba(219,219,219,1) 25%,
          rgba(255,255,255,1) 100%,
          rgba(252,252,252,1) 100%); /* IE10+ */
        background: linear-gradient(top,
          rgba(255,255,255,1) 0%,
          rgba(219,219,219,1) 25%,
          rgba(255,255,255,1) 100%,
          rgba(252,252,252,1) 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fcfcfc',GradientType=0 ); /* IE6-9 */
      }
        .embed-controls .zoom li.current {
          opacity: 1;
          cursor: url("/static/images/cursors/pan-43c136ed.cur"), default;
        }
        .embed-controls .zoom li.zoom-025 { top: 87.5%; }
        .embed-controls .zoom li.zoom-050 { top: 75%; }
        .embed-controls .zoom li.zoom-075 { top: 62.5%; }
        .embed-controls .zoom li.zoom-100 { top: 50%; }
        .embed-controls .zoom li.zoom-125 { top: 37.5px; }
        .embed-controls .zoom li.zoom-150 { top: 25%; }
        .embed-controls .zoom li.zoom-175 { top: 12.5%; }
        .embed-controls .zoom li.zoom-200 { top: 0; }


/* TOOLBAR */
.toolbar {
  display: inline-block;
  pointer-events: auto;
  height: 42px;
  -moz-box-shadow: 0px 2px 3px rgba(0,0,0,0.10);
  -webkit-box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.10);
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.10);
  padding: 1px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background: #D4D4D4;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(212, 212, 212, 1)), color-stop(100%,rgba(196, 196, 196, 1)));
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d4d4d4', endColorstr='#c4c4c4',GradientType=0 );
}
  .toolbar .toolbar-wrapper {
    height: 32px;
    padding: 4px;
    -webkit-border-radius: 5px;
    -moz-border-: 5px;
    border-radius: 5px;
    border: solid 1px white;
    background: #f9f9f9; /* Old browsers */
    background: -moz-linear-gradient(top, #f9f9f9 0%, #e5e5e5 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #f9f9f9 0%,#e5e5e5 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #f9f9f9 0%,#e5e5e5 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #f9f9f9 0%,#e5e5e5 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #f9f9f9 0%,#e5e5e5 100%); /* W3C */
  }
.toolbar.vertical {
  height: auto;
  width: 42px;
}
  .toolbar.vertical .toolbar-wrapper {
    height: auto;
    width: 32px;
  }


/* TOOLBAR CONTROLS */
.controls {
  outline: none;
  background: none;
  -webkit-user-select: none;
}
  .controls > li {
    display: inline-block;
    width: 31px;
    height: 31px;
    border: solid 1px transparent;
    -webkit-user-select: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 3px;
    margin-bottom: 5px;
    position: relative;
    cursor: pointer;
  }
  /* disabled */
  .controls > li.disabled {
    opacity: 0.3;
  }
    .controls > li.disabled:hover,
    .controls > li.disabled:active {
      border: solid 1px transparent;
      background-color: transparent;
      box-shadow: none;
    }
  .controls > li:hover {
    border: solid 1px #c6c6c6;
    background-color: #f3f3f3;
    box-shadow:
      1px 1px 2px #e2e2e2;
  }
  .controls > li.active,
  .controls > li:active {
    border: solid 1px #bbbbbb;
    background-color: #e2e2e2;
    box-shadow:
      inset 1px 1px 2px #c6c6c6,
      1px 1px 0 #f6f6f6;
    cursor: default;
  }
  .vertical .controls > li:last-child {
    margin-bottom: 0px;
  }
  .controls .control {
    background-image: url("/static/images/interface-embed-ce6794fd.png");
    background-repeat: no-repeat;
  }
  .controls .control.schematic {
    background-position: -1px -28px;
  }
  .controls .control.pcb {
    background-position: -30px -28px;
  }
  .controls .control.step-forward {
    background-position: -57px -28px;
  }
  .controls .control.step-backward {
    background-position: -85px -28px;
  }
  .controls .control.fast-rewind {
    background-position: -114px -28px;
  }
  .controls .control.play-backward {
    background-position: -141px -28px;
  }
  .controls .control.pause {
    background-position: -169px -28px;
  }
  .controls .control.play-forward {
    background-position: -197px -28px;
  }
  .controls .control.fast-forward {
    background-position: -225px -28px;
  }
  .controls .control.layers-select {
    background-position: -253px -28px;
  }
  .controls .control.pages-select {
    background-position: -281px -28px;
  }


/* TIMELINE */
.embed-timeline {
  position: absolute;
  bottom: 50px;
  width: 98%;
  margin: 0 1%;
  height: 42px;
  text-align: center;
  z-index: 100002;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.timeline-bar {
  border: 1px solid #D4D4D4;
  background-color: #FFFFFF;
  height: 20px;
  width: 100%;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.10);
}
  .timeline-bar .playhead,
  .timeline-bar .version-marker,
  .timeline-bar .user-icon {
    background-color: #888888;
    border: 1px solid transparent;
    height: 18px;
    width: 18px;
    position: absolute;
    right: -1px;
    /*cursor: pointer;*/
    z-index: 1000;
  }
    .timeline-bar .version-marker {
      opacity: 0.5;
    }
      .timeline-bar .version-marker:hover {
        opacity: 0.8;
      }
  .timeline-bar .playhead {
    width: 5px;
    z-index: 1010;
    opacity: 1.0;
  }
    .timeline-bar .playhead:hover {
      opacity: 1.0;
    }
  .timeline-bar .version {
    position: absolute;
    width: 200px;
    bottom: -20px;
    padding-bottom: 10px;
    visibility: hidden;
  }
    .timeline-bar .version.show {
      visibility: visible;
    }
    .timeline-bar .version .btn {
      -webkit-transition: none;
      -moz-transition: none;
      transition: none;
    }
  .timeline-bar .version .review-list {
    border: 1px #C1B183 solid;
    background-color: #FFF4D6;
    padding: 5px;
    text-align: left;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
  }
  .timeline-bar .version .review {
    position: relative;
    border-top: 1px #C1B183 solid;
    padding: 5px 0px;
    word-wrap: break-word;
  }
    .timeline-bar .version .review:first-child {
      border-top: none;
      padding-top: 0px;
    }
    .timeline-bar .version .review:last-child {
      padding-bottom: 0px;
    }
    .timeline-bar .version .delete {
      background: url("/static/images/interface-44b39de4.png") no-repeat -410px -80px;
      float: right;
      width: 16px;
      height: 16px;
      cursor: pointer;
    }
      .version .delete:hover {
        background-position: -426px -80px;
      }
    .timeline-bar .version .review-name {
      width: 90%;
      display: block;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      font-weight: bold;
    }
    .embed-timeline .timeline-bar .tag .delete {
      position: absolute;
      right: -1px;
      top: 5px;
      width: 18px;
      height: 18px;
      background: url("/static/images/interface-44b39de4.png") no-repeat -343px -12px;
      display: none;
    }
      .embed-timeline .timeline-bar .tag .delete:hover { background: url("/static/images/interface-44b39de4.png")  no-repeat -365px -12px; }
      .embed-timeline .timeline-bar .tag .delete:active { background: url("/static/images/interface-44b39de4.png")  no-repeat -387px -12px; }
      .embed-timeline .timeline-bar .tag .tag-item:first-child .delete { top: 0px; }
  .timeline-bar .version .username {
    line-height: 20px;
  }


/* SCHEMATIC/PCB SWITCH */
.embed-switch {
  position: absolute;
  top: 10px;
  left: 19px;
  width: 42px;
  z-index: 100002;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#layers-menu, #pages-menu {
  position: absolute;
  top: 200px;
  left: 19px;
  width: 15em;
  bottom: 50px;
  z-index: 100002;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  overflow-y: scroll;
  background: #f9f9f9;
}

/* Hide some of the layer manager UI bits that we don't want in the embed. */
#layers-menu label,
#layers-menu li.set-header {
  display: none;
}

#layers-menu div.toggle {
  display: inline;
}

#layers-menu div.title {
  display: inline;
  position: relative;
  top: -3px;
}

#layers-menu li.selected div.title {
  font-weight: bold;
}

.hidden {
  display: none;
}

/* CANVAS */
.bg-canvas {
  overflow: hidden;
  z-index: 1;
}

.canvas {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  min-width: 0;
  z-index: 2;
}


/* MESSAGES */
.messages {
  position: absolute;
  top: 60px;
  text-align: center;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin-left: -43px;
  padding-left: 43px;
  pointer-events: none;
}
  .messages div {
    pointer-events: all;
    display: inline-block;
    padding: 4px 30px 4px 10px;
    line-height: 18px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.25);
    position: relative;
    margin: 0 5px;
  }
    .messages div.yellow {
      background: #fff4d6;
      color: #71633e;
      text-shadow: 1px 1px 0px #ffffff;
    }
      .messages div.yellow .dismiss {
        background: url("/static/images/interface-44b39de4.png") no-repeat -344px -12px;
      }
      .messages div.yellow .dismiss:hover {
        background: url("/static/images/interface-44b39de4.png") no-repeat -365px -12px;
      }
      .messages div.yellow .dismiss:active {
        background: url("/static/images/interface-44b39de4.png") no-repeat -387px -12px;
      }
    .messages div.red {
      background: #ffc8c8;
      color: #7a3737;
      text-shadow: 1px 1px 0px #ffdede;
    }
      .messages div.red .dismiss {
        background: url("/static/images/interface-44b39de4.png") no-repeat -343px -143px;
      }
      .messages div.red .dismiss:hover {
        background: url("/static/images/interface-44b39de4.png") no-repeat -365px -143px;
      }
      .messages div.red .dismiss:active {
        background: url("/static/images/interface-44b39de4.png") no-repeat -387px -143px;
      }
    .messages .dismiss {
      width: 18px;
      height: 18px;
      position: absolute;
      right: 5px;
      top: 4px;
    }


/* WATERMARK */
.watermark {
  display: none;
  position: absolute;
  right: 5px;
  top: 5px;
  width: 141px;
  height: 64px;
  background: url("/static/images/common/logo-c88eee25.png") no-repeat;
  z-index: 100000;
}
  .embed .watermark {
    display: block;
  }


/* EDA BUTTON */
.eda-link > div {
  margin: 0 0 10px -10px;
  padding: 2px;
  font-size: 12px;
  text-align: center;
  height: 55px;
  width: 65px;
}