/*styles for genome browser as well as common elements */
h1 {
  font-size:21px;
  font-weight:normal;
  padding:0px;
  margin:10px 0 20px 0;
}
h2 {
  font-size:1.2em;
  text-align:center;
}

.sequence {
  font-family: Consolas, monospace;
  font-size:12.5px;
  margin:0;
  white-space: -moz-pre-wrap; /* Mozilla, post millennium */
  white-space: -pre-wrap; /* Opera 4-6 */
  white-space: -o-pre-wrap; /* Opera 7 */
  white-space: pre-wrap; /* CSS3 */
  word-wrap: break-word; /* Internet Explorer 5.5+ */
  *overflow-y: scroll;
}

#sequences pre::-moz-selection {
  background-color: #85C797;
}

#sequences pre::selection {
  background-color: #85C797;
}

/* Bruno will take care of pattern deisgn */
#sequences pre span::-moz-selection {
  background-color: #85C797;
}

#sequences pre span::selection {
  background-color: #85C797;
}

#sequences pre.selected::-moz-selection {
  background-color: transparent;
}

#sequences pre.selected::selection {
  background-color: transparent;
}

#search {
  float:right;
  width:250px;
  margin-bottom:10px;
}

/* Browser Wrapper Styles */

#browser-wrapper {
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
  background-color: #f6f8f7;
  padding: 37px 5px 5px 5px;
  border: solid 1px #dadada;
  margin-bottom: 15px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  border-radius: 2px;
  position: relative;
}

/* End of Browser Wrapper Styles */

/* Control Styles */
#controls {
  height: 32px;
  text-align: center;
  font-size:12px;
  line-height: 30px;
  padding: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  border-bottom: 1px solid #dadada;
  background-color:#f1f0f0;
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
}
#controls a {
  color:black;
  cursor:pointer;
  text-decoration:none;
  position: relative;
}
#zoom-word {
  padding-right: 5px;
  display: inline-block;
}
#zoom-controls {
  -webkit-transition: width 0.3s;
  -moz-transition: width 0.3s;
  -ms-transition: width 0.3s;
  -o-transition: width 0.3s;
  transition: width 0.3s;
  overflow: hidden;
  height: 100%;
  width: 40px;
  display: inline-block;
  margin-left: 10px;
  float: left;
  text-align: left;
}
#zoom-controls.hover {
  width: 280px;
}
#zoom-controls a {
  display: inline-block;
  padding: 0 5px;
  height: 100%;
}
#zoom-controls a:hover {
  background-color: #E6E6E6;
}
#current-zoom-level {
  display: inline-block;
  height: 100%;
  width: auto;
  float: left;
}
#gene-position {
  display: inline-block;
  height: 100%;
  position: absolute;
  left: 40%;
}
#gene-position input {
  height: 70%;
  border: 1px solid #ccc;
  font-size: 13px;
}
#start {
  /*text-align: right;*/
}
#end {
  /*text-align: left;*/
}
#gene-position span {
  /*padding: 0 5px;*/
}
.seq-coords {
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
  border:1px solid lightgray;
  padding:0px;
  margin:0px;
  text-align:center;
  width:130px;
  height: 100%;
}
.seq-coords:focus{
  outline-width: 0;
  /*box-shadow: inset 0 0 3px 0px rgb(109, 192, 88);*/
  /*background-color: white;*/
}
#rotate {
  background-size: auto 30px;
  cursor: pointer;
  display:inline-block;
  height:100%;
  width: 31px;
  float: right;
  margin-right: 5px;
  position: relative;
}
#rotate.positive {
  background: url("../img/rotate-spinner.png") no-repeat;
  background-position: top left;
}
#rotate.negative {
  background: url("../img/rotate-spinner.png") no-repeat;
  background-position: top right;
}

/* Viewer styles */
#viewer {
  border: solid 1px #dadada;
  min-height: 160px;
  clear:both;
  overflow: hidden;
  background-color: white;
  margin-bottom: 7px;
}
#viewer-wrap {
  background-image:url("../img/viewer-bg.png");
  background-repeat:repeat-x;
  clear:both;
  height:160px;
  overflow:hidden;
  position:relative;
  white-space:nowrap;
  border: none;
}
#viewer-wrap:hover {
  box-shadow: inset 0 0 4px -1px #999;
}
#viewer-canvas {
  margin-top:10px;
  -webkit-user-select:none;
}
.central-dogma {
  display:none;
}
#dna-sequence {
  height:auto;
  overflow:auto;
  padding: 5px 5px 5px 5px;
  height: 150px;
  resize:vertical;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  white-space: pre;
}
@-moz-document url-prefix() {
  #dna-sequence {
    white-space: pre-wrap;
}
}
#dna-sequence .startend {
  background-color: #447387;
  color:#fff;
}
#dna-sequence .endend {
  background-color: #777777;
  color:#fff;
}
#dna-sequence .nongene {
  color:#bbb;
}
#dna-sequence .exonspan {
  color:#6ab457;
  font-weight: bold;
}
#dna-sequence::selection, #dna-sequence .startend::selection,
#dna-sequence .endend::selection, #dna-sequence .nongene::selection,
#dna-sequence .exonspan::selection {
  background: #6ab457; /* Safari */
  color: #fff;
}
#dna-sequence::-moz-selection, #dna-sequence .startend::-moz-selection,
#dna-sequence .endend::-moz-selection, #dna-sequence .nongene::-moz-selection,
#dna-sequence .exonspan::-moz-selection {
  background: #6ab457; /* Firefox */
  color: #fff;
}

/* Browser styles */
#browser {
  position:relative;
  overflow:hidden;
}
#browser-wrap {
  border: solid 1px #dadada;
  background-image:url("../img/browser-bg.png");
  background-repeat:repeat-x;
  height:180px;
  overflow:hidden;
  position:relative;
  white-space:nowrap; /* for canvas elements */
  -webkit-user-select:none;
  background-color: white;
}
#browser-wrap:hover {
  box-shadow: inset 0 0 4px -1px #999;
}
#browser-wrap canvas, #viewer-wrap canvas {
  border:0;
  padding:0;
  position: relative;
  z-index: 0;
}

/* Panner */
#panner {
  height:160px;
  position:absolute;
  top:0;
  z-index:2;
  border-right: solid 1px #ababab;
  border-left: solid 1px #ababab;
}
#panner-handle {
  background-color:#0076a0;
  background-image: url("../img/panner-handle.png");
  background-size: 12px auto;
  background-position: center;
  background-repeat: no-repeat;
  bottom:0;
  cursor: move;
  height:20px;
  left:0;
  position:absolute;
  right:0;
  z-index: 3;
}
#panner-handle:hover {
  background-color: #006589;
}
#panner-handle:active {
  box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.3) inset;
  -moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.3) inset;
  -webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.3) inset;
}
.panner-resize {
  bottom:20px;
  cursor:col-resize;
  position:absolute;
  top:0;
  width:10px;
}
#resize-left {
  left:0;
  background-image: url("../img/resize-handle.png");
  background-size: 7px auto;
  background-position: center;
  background-repeat: no-repeat;
  padding-left: 12px;
  margin-left: -12px;
  z-index: 4;
}
#resize-right {
  right:0;
  background-image: url("../img/resize-handle.png");
  background-size: 7px auto;
  background-position: center;
  background-repeat: no-repeat;
  padding-right: 10px;
  margin-right: -10px;
  z-index: 4;
}
.panner-window {
  position: relative;
  height: 69px;
  width: 100%;
  cursor:pointer;
  background-color: rgba(0, 0, 0, 0.01);
}
#top-panner-window {
  margin-bottom: 1px;
  z-index: 3;
  background-color:  rgba(0, 0, 0, 0.05);
}
#top-panner-window.positive {
  background-image: url("../img/top-strand-pos.png");
  background-size: 23px;
  background-position: 0% 0%;
  background-repeat: no-repeat;
}
#top-panner-window.negative {
  background-image: url("../img/top-strand-neg.png");
  background-size: 23px;
  background-position: 0% 0%;
  background-repeat: no-repeat;
}
#bottom-panner-window {
  z-index: 3;
}
#bottom-panner-window.positive {
  background-image: url("../img/bottom-strand-pos.png");
  background-size: 23px;
  background-position: 100% 100%;
  background-repeat: no-repeat;
}
#bottom-panner-window.negative {
  background-image: url("../img/bottom-strand-neg.png");
  background-size: 23px;
  background-position: 100% 100%;
  background-repeat: no-repeat;
}
.panner-window:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

#active-window {
  /*width: 100%;
  height: 139px;
  background-color:  rgba(0, 0, 0, 0.05);
  position: absolute;
  top: 0;
  z-index: 2;*/
}
@-webkit-keyframes window-up {
  0% { height: 69px; top: 70px;}
  50% { height: 130px; top: 10px; }
  60% { top: 0; }
  100% { height: 69px; top: 0; }
}
@-moz-keyframes window-up {
  0% { height: 69px; top: 70px;}
  50% { height: 130px; top: 10px; }
  60% { top: 0; }
  100% { height: 69px; top: 0; }
}
@-o-keyframes window-up {
  0% { height: 69px; top: 70px;}
  50% { height: 130px; top: 10px; }
  60% { top: 0; }
  100% { height: 69px; top: 0; }
}
@keyframes window-up {
  0% { height: 69px; top: 70px;}
  50% { height: 130px; top: 10px; }
  60% { top: 0; }
  100% { height: 69px; top: 0; }
}
#active-window.top{
  display: block;
  height: 69px;
  top: 0;

  -webkit-animation-name: window-up;
  -moz-animation-name: window-up;
  -o-animation-name: window-up;
  animation-name: window-up;

  -webkit-animation-duration: 0.3s;
  -moz-animation-duration: 0.3s;
  -o-animation-duration: 0.3s;
  animation-duration: 0.3s;

  -webkit-animation-timing-function: easeInOut;
  -moz-animation-timing-function: easeInOut;
  -o-animation-timing-function: easeInOut;
  animation-timing-function: easeInOut;

  -webkit-animation-fill-mode: none;
  -moz-animation-fill-mode: none;
  -o-animation-fill-mode: none;
  animation-fill-mode: none;
}
@-webkit-keyframes window-down {
  0% { height: 69px; top: 0; }
  40% { top: 0; }
  50% { height: 130px; top: 10px; }
  100% { height: 69px; top: 70px;}
}
@-moz-keyframes window-down {
  0% { height: 69px; top: 0; }
  40% { top: 0; }
  50% { height: 130px; top: 10px; }
  100% { height: 69px; top: 70px;}
}
@-o-keyframes window-down {
  0% { height: 69px; top: 0; }
  40% { top: 0; }
  50% { height: 130px; top: 10px; }
  100% { height: 69px; top: 70px;}
}
@keyframes window-down {
  0% { height: 69px; top: 0; }
  40% { top: 0; }
  50% { height: 130px; top: 10px; }
  100% { height: 69px; top: 70px;}
}
#active-window.bottom{
  display: block;
  height: 69px;
  top: 70px;

  -webkit-animation-name: window-down;
  -moz-animation-name: window-down;
  -o-animation-name: window-down;
  animation-name: window-down;

  -webkit-animation-duration: 0.3s;
  -moz-animation-duration: 0.3s;
  -o-animation-duration: 0.3s;
  animation-duration: 0.3s;

  -webkit-animation-timing-function: easeInOut;
  -moz-animation-timing-function: easeInOut;
  -o-animation-timing-function: easeInOut;
  animation-timing-function: easeInOut;

  -webkit-animation-fill-mode: none;
  -moz-animation-fill-mode: none;
  -o-animation-fill-mode: none;
  animation-fill-mode: none;
}
#active-window.standby{
  display: none;
}

/* Other controls */
.strand-label {
  cursor:pointer;
  font-size:12px;
  margin-left:10px;
  opacity:0.4;
  position:absolute;
  -webkit-user-select:none;
  z-index:1;
}
.selected-strand {
  font-style:italic;
}
#plus-strand {
  top:50px;
}
#minus-strand {
  top:110px;
}
.name-hover {
  background:white;
  display:none;
  position:absolute;
  color: #527f93;
  font-weight: 600;
  z-index: 1;
}

/* Gene info */
#gene-info {
  opacity: 0;
  height: 30px;
  width: 100%;
  padding: 3px 0;
  overflow: hidden;
  font-weight: 600;
}
#gene-info > span {
  font-size: 16px;
  line-height: 30px;
  margin: 0;
  border-radius: 2px;
}
#gene-info > span > span {
  padding-right: 8px;
}
#gene-info span:focus {
  outline-width: 0;
  box-shadow: inset 0 0 3px 0px rgb(109, 192, 88);
  background-color: white;
}
#gene-info > * {
  border: none;
  box-shadow: none;
}
#gene-info .gene-name-parent {
  opacity: 0;
}
#gene-info .chevron {
}

#gene-info #genome-version {
  float:right;
}

.feature-title {
  height: 30px;
  line-height: 30px;
  cursor: pointer;
  border-bottom: 1px solid #e4e4e4;
  background-color: #f0f1f1;
}
.feature-title:hover {
  background-image: none;
  background-color: #EEEEEE;
}
.feature-title h3 {
    font-size:1.1em;
    color: rgb(66, 115, 136);
    display:inline;
    text-align:left;
    padding:0 0.5em;
    text-transform:uppercase;
    font-weight:300;
    cursor:default;
}

/* Domains */
#domaincontainer {
  overflow: hidden;
  border-radius: 2px;
  color: #333333;
  position: relative;
  z-index: 0;
  border: solid 1px #dadada;
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
  margin-bottom: 15px;
}
#domains {
  display:block;
  background: url('../img/domain-bg.png') repeat-x center;
  height:45px;
  position:relative;
  overflow: hidden;
  border-top: none;
  -webkit-transition: height 0.4s;
  -moz-transition: height 0.4s;
  -o-transition: height 0.4s;
  -ms-transition: height 0.4s;
  transition: height 0.4s;
}
.domain {
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
  background:#02779E;
  border:1px solid rgba(0, 0, 0, 0.4);
  border-radius:15px 5px;
  color:#E0E3F7;
  cursor:pointer;
  display:inline-block;
  font-size:0.7em;
  height:25px;
  line-height:24px;
  overflow:hidden;
  position:absolute;
  top: 10px;
  text-align:center;
  z-index:1;
  box-shadow: inset 0 -2px 3px -2px rgba(0,0,0,0.5),
  inset 0 2px 3px -2px rgba(255,255,255,0.5);
  /* Make domains ubselectable */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: moz-none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: top 0.4s;
  -moz-transition: top 0.4s;
  -o-transition: top 0.4s;
  -ms-transition: top 0.4s;
  transition: top 0.4s;
}
.domain:hover {
  box-shadow: none;
  z-index:2;
}
.domain.active {
  box-shadow: inset 0 3px 3px -2px rgba(0,0,0,0.5),
  inset 0 -3px 3px -2px rgba(255,255,255,0.5);
  z-index:2;
  border: solid 1px rgba(0, 0, 0, 0.2);
  background-color: #589A47;
}
#domains.no-domains {
  background-image: none;
  font-style:italic;
  font-size:0.8em;
  line-height:47px;
  text-align:center;
}
.undoDomains {
  float: right;
  display: inline;
  padding-right: 8px;
  color: rgb(66, 115, 136);
  font-size: 19px;
  cursor: pointer;
  font-weight: 500;
  display: none;
}

/* Diseases */
#diseases {
  /*    bottom:0;
  left:0;
  right:0;
  position:absolute;
  top:0;*/
/*background:red;*/

}

.disease, .disease.non-disease {
  cursor:pointer;
  height:10px;
  min-height:10px;
  min-width:10px;
  opacity:0.5;
  position:absolute;
  width:10px;
  z-index:10;
}
.disease {
  background:#f3961c;
}
.disease.non-disease {
  background:#0174df;
}
.disease:hover, .disease.non-disease:hover {
  z-index:11;
  cursor:pointer;
  height:10px;
  min-height:10px;
  min-width:10px;
  opacity:1;
  position:absolute;
  width:10px;
}

.disease:hover {
  background:#f3961c;
}

.non-disease:hover {
  background:#0174df;
}

.disease:after, .disease.non-disease:after {
  border-style:solid;
  border-width:0 5px 5px;
  content:"";
  display:block;
  left:0;
  position:absolute;
  top:-5px;
  width:0;
}

.disease:after, .disease:hover:after {
  border-color:#f3961c transparent;
}
.disease.non-disease:after, .disease.non-disease:hover:after {
  border-color:#0174df transparent;
}

.disease:hover:after, .disease.non-disease:hover:after {
  border-style:solid;
  border-width:0 5px 5px;
  content:"";
  display:block;
  left:0;
  position:absolute;
  top:-5px;
  width:0;

}

.disease .description, .disease.non-disease .description {
  display:none;
  font-size:0.8em;
  margin-top:10px;
  padding: 5px;
}

.disease .description {
  background:#f3961c;
}

.disease.non-disease .description {
  background:#0174df;
}

.disease .description p, .disease.non-disease .description p {
  display:inline;
  font-weight:bold;
  margin:0;
  padding:0;

}

/* Sequences */
#sequences {
  height: auto;
  overflow: hidden;
  -webkit-transition: height 1s;
  -moz-transition: height 1s;
  -o-transition: height 1s;
  -ms-transition: height 1s;
  transition: height 1s;
}
#sequences h3 {
  margin:0;
  padding:0;
}
#sequences .sequence {
  padding:5px;
  white-space:pre-wrap;
}
/* Firefox does not like white-space: pre; */
@-moz-document url-prefix() {
  #sequences .sequence {
    padding:5px;
    white-space:pre-wrap;
}
}
#sequences > div {
  float:left;
}
#protein-sequence, #mrna-sequence {
  overflow: hidden;
  border-radius: 2px;
  color: #333333;
  position: relative;
  z-index: 0;
  border: solid 1px #dadada;
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
}
#mrna-sequence {
  width: 74.5%;
  overflow: hidden;
  white-space: nowrap;
}
#protein-sequence {
  width: 24%;
  float: right!important;
  overflow: hidden;
  white-space: nowrap;
}
#mrna-sequence h3, #protein-sequence h3, #domaincontainer h3 {
  padding-left: 10px;
  display: inline;
}
.resizeSequence {
  display: inline;
  padding-right: 8px;
  color: rgb(66, 115, 136);
  font-size: 19px;
  cursor: pointer;
  position: absolute;
  top: -1px;
  right: 0;
}
.resizeSequence img {
  vertical-align: middle;
}
#sequences > div:nth-of-type(1) {
  *margin-right:2%; /*Don't need this*/
}
.faded {
  opacity:0.5;
}
.faded:hover {
  opacity:1.0;
}

.no-select {
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.open-cursor {
  /*cursor: url("../img/openhand.cur"),default;*/
}
.closed-cursor {
  /*cursor: url("../img/closedhand.cur"),default!important;*/
}
#linktoview {
  background:url("../img/hyperlink.png") no-repeat;
  display: inline-block;
  height: 16px;
  margin-right: 6px;
  vertical-align: sub;
  width: 16px;
  cursor:pointer;
}
#showlinktoview {
  position: absolute;
  border: #666 1px solid;
  top: 30px;
  width: 375px;
  cursor: none;
  display: none;
}

/* Generic Tabs */
.tabs ul {
  list-style: none;
  padding: 5px 0 4px 0;
  margin: 0 0 0 10px;
  position: relative;
  z-index: 3;
}
.tabs li {
  background-color:#eeeeee;
  border:1px solid #ccc;
  border-bottom:none;
  color:#0D406E;
  cursor:pointer;
  display:inline;
  padding:4px 6px;
  border-radius: 4px 4px 0 0;
  -webkit-box-shadow: 0 -1px 2px -1px #C0C0C0;
  -moz-box-shadow: 0 -1px 2px -1px #C0C0C0;
  box-shadow: 0 -1px 2px -1px #C0C0C0;
}
.tabs li:hover {
  background-color:#E8E8E8;
  padding:4px 6px;
}
.tabs li.active {
  background-color:#fff;
  border-bottom:none;
  padding:4px 6px 5px 6px;
  -webkit-box-shadow: 0 -1px 4px -1px #C0C0C0;
  -moz-box-shadow: 0 -1px 4px -1px #C0C0C0;
  box-shadow: 0 -1px 4px -1px #C0C0C0;
}
.tabs-content {
  background-color: #fff;
  border-top:1px solid #ccc;
  height:95px;
}

/* Global Sidebar */
#global-sidebar {
  position: fixed;
  bottom:0;
  height:85px;
  width:100%;
  z-index: 20;

  -webkit-transition: height 0.3s;
  -moz-transition: height 0.3s;
  -ms-transition: height 0.3s;
  -o-transition: height 0.3s;
  transition: height 0.3s;

  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: moz-none;
  -ms-user-select: none;
  user-select: none;
}
#global-sidebar.hidden {
  height:40px;
}
#global-sidebar .tabs-content {
  -webkit-box-shadow: 0 -1px 3px 0px #C0C0C0;
  -moz-box-shadow: 0 -1px 3px 0px #C0C0C0;
  box-shadow: 0 -1px 3px 0px #C0C0C0;
  position: relative;
  z-index: 2;
}
.global-sidebar-tab {
  position: relative;
  top: 20px;
  left: 10px;
  display: block;
}

#global-sidebar .tabs-content span {
  background-color: #D3D3D3;
  color: #666666;
  text-shadow: none;
  cursor: pointer;
  padding: 6px;
  margin-right: 10px;

}
#global-sidebar .tabs-content span.selected {
  background-color: #02779E;
  border-color: #00678a;
  color: #FFFFFF;
}

#notification {
  position: fixed;
  bottom:50px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 100000;
}

#notification > div.text {
  display: inline-block;
  text-align: left;
  background-color: #333333;
  font-size: 14px;
  color: #ffffff;
  padding: 10px;  
  -webkit-border-radius: 6px; /* Safari 3-4, iOS 1-3.2, Android 1.6- */
  -moz-border-radius: 6px; /* Firefox 1-3.6 */
  border-radius: 6px; /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
}

/* Sequence Position Popup */

#seqPosition, .sticker{
  display: inline-block;
  padding: 0 4px;
  background-color: #A1F0B4;
  border-radius: 2px;
  position: absolute;
  border: solid 1px #005614;
}
#seqPosition:after, #seqPosition:before {
  top: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

#seqPosition:after {
  border-color: rgba(250, 250, 250, 0);
  border-top-color: #A1F0B4;
  border-width: 6px;
  left: 50%;
  margin-left: -6px;
}
#seqPosition:before {
  border-color: rgba(218, 218, 218, 0);
  border-top-color: #005614;
  border-width: 7px;
  left: 50%;
  margin-left: -7px;
}

#seqPosition p{
  width: 100%;
  text-align: center;
  margin: 0;
  font-family: "Open Sans";
  font-size: 14px;
  color: #19662A;
  text-shadow: 0 1px rgb(255, 255, 255);
  text-shadow: 0 1px rgba(255, 255, 255, 0.6);
}

#mousewindow{
  position: absolute;
  font-size: 0;
  border: 1px dashed #FF6600;
  display: none;
  background: #FFFFCC;
  opacity: 0.50;
  filter: alpha(opacity=50);
  z-index: 99;
}
#nofocus{
  border: 0;
  width: 0;
  height: 0;
  font-size: 0;
  background: none;
  overflow: hidden;
}

.onoffswitch {
  display: inline-block;
  padding-top : 3.5px;
  right: 40px;
  position: absolute; width: 77px;
  -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}

.onoffswitch-checkbox {
  display: none;
}

.onoffswitch-label {
  display: block; overflow: hidden; cursor: pointer;
  border: 2px solid #999999; border-radius: 20px;
}

.onoffswitch-inner {
  width: 200%; margin-left: -100%;
  -moz-transition: margin 0.3s ease-in 0s; -webkit-transition: margin 0.3s ease-in 0s;
  -o-transition: margin 0.3s ease-in 0s; transition: margin 0.3s ease-in 0s;
}

.onoffswitch-inner:before, .onoffswitch-inner:after {
  float: left; width: 50%; height: 19px; padding: 0; line-height: 19px;
  font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

.onoffswitch-inner:before {
  content: "GENE";
  padding-right: 15px;
  padding-top: 0.3px;
  background-color: #16D90F; color: #FFFFFF;
}

.onoffswitch-inner:after {
  content: "SEQU";
  padding-right: 10px;
  background-color: #EEEEEE; color: #999999;
  text-align: right;
}

.onoffswitch-switch {
  width: 18px; height: 18px; margin: 0px;
  background: #FFFFFF;
  border: 2px solid #999999; border-radius: 20px;
  position: absolute; top: 3.7px; bottom: 3.7px; right: 54px;
  -moz-transition: all 0.3s ease-in 0s; -webkit-transition: all 0.3s ease-in 0s;
  -o-transition: all 0.3s ease-in 0s; transition: all 0.3s ease-in 0s; 
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
  margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
  right: 0px; 
}

#loading {
    left: 0;
    top: 25%;
    z-index:100;
    position: absolute;
    width: 100%;
    display: none;
    background-image: url('../img/DNA-loading.png');
    background-repeat:repeat-x;
    background-size: 7%;
    background-clip: content-box;
    background-position: 0 0;
    -webkit-animation: moveDNA 10s linear infinite;
    -moz-animation: moveDNA 10s linear infinite;
    -o-animation: moveDNA 10s linear infinite;
    animation: moveDNA 10s linear infinite;
}
@-webkit-keyframes moveDNA {
    0% {background-position: 0;}
    100% {background-position: 200%;}
}

@-moz-keyframes moveDNA {
    0% {background-position: 0;}
    100% {background-position: 200%;}
}

@-o-keyframes moveDNA {
    0% {background-position: 0;}
    100% {background-position: 200%;}
}

@keyframes moveDNA {
    0% {background-position: 0;}
    100% {background-position: 200%;}
}
#loading p {
  color: #ffffff;
  padding-top: 10%;
  text-align: center;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 6px;
}
/* End of Sequence Position Popup

/* CSS for loading high-res images on high DPI displays only */
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {

  #panner-handle {
    background-image: url("../img/panner-handle@2x.png");
}
#resize-right, #resize-left {
  background-image: url("../img/resize-handle@2x.png");
}
#rotate.positive {
  background: url("../img/rotate-spinner@2x.png") no-repeat;
  background-size: auto 30px;
  background-position: top left;
}
#rotate.negative {
  background: url("../img/rotate-spinner@2x.png") no-repeat;
  background-size: auto 30px;
  background-position: top right;
}
}
#Lscreen {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  opacity: 0.8;
  background-color: #000;
  position: absolute;
}
