@charset "utf-8";

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(../Fonts/2fcrYFNaTjcS6g4U3t-Y5ZjZjT5FdEJ140U2DJYC3mY.woff2) format('woff2');
}

html {
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 18px;
  color: #3c3c3c;
  position: relative;
  max-width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  scrollbar-width: none;
}

body {
  margin: 8px;
  background-color: #f1f1f1;
  height: 100vh;
}

@media only screen and (max-width: 597px) {
  html {
    max-width: 97.9vw !important;
  }
}

.absolute {
  position: absolute;
}

.hidden {
  visibility: hidden;
  display: none;
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 1.35rem;
  line-height: 1.2rem;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -moz-font-feature-settings: 'liga';
  -moz-osx-font-smoothing: grayscale;
}

.custom-tooltip {
  margin-top: 0.2rem !important;
  background-color: #f1f1f1 !important;
  border: 0.04rem solid #c1c1c1 !important;
  border-radius: 0.6rem;
  color: #626363 !important;
  font-size: 0.7rem !important;
  line-height: 1rem !important;
  -webkit-box-shadow: 0 0.35rem 1rem 0.16rem rgba(0, 0, 0, 0.1) !important;
  -moz-box-shadow: 0 0.35rem 1rem 0.16rem rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 0.35rem 1rem 0.16rem rgba(0, 0, 0, 0.1) !important;
}

.custom-tooltip .qtip-titlebar {
  background-color: #f1f1f1 !important;
  border-top-left-radius: 0.6rem;
  border-top-right-radius: 0.6rem;
  color: #3c3c3c;
  font-size: 0.8rem;
  padding: 5px 0 0 0 !important;
  text-align: center;
}

.custom-tooltip .qtip-content {
  height: fit-content !important;
}

.qtip-close {
  color: #656565 !important;
  width: 0.9rem !important;
  height: 0.9rem !important;
  right: 0.3rem !important;
  top: 0.78rem !important;
  border: none !important;
}

.qtip-close:hover {
  background-color: #afafaf !important;
  border-radius: 0.2rem !important;
}

.qtip-close span {
  display: block;
  margin-left: -1px !important;
  margin-top: -2px !important;
  height: 1.5rem !important;
  visibility: hidden;
  font-size: 1rem !important;
  font-family: 'Material Icons' !important;
  font-weight: normal;
  font-style: normal;
  line-height: 1.2rem;
  letter-spacing: normal;
  text-transform: none;
}

.qtip-close span:after {
  margin-top: -0.5rem !important;
  display: block;
  visibility: visible;
  content: 'close';
}

.custom-tooltip.molotool-info {
  left: 0.2rem !important;
  margin-top: 0.16rem !important;
}

.custom-tooltip.error-info {
  margin-top: 0.4rem !important;
  right: 0.2rem !important;
}

.link-button, .link-button:hover, .link-button:visited, .link-button:active {
  color: inherit;
  text-decoration: none;
}

.interface-button {
  display: inline-block;
  position: relative;
  line-height: normal;
  cursor: pointer;
  color: #3c3c3c !important;
  vertical-align: middle;
  text-align: center;
  padding: 0 0.7rem 0 0.7rem;
  border: none !important;
  border-radius: 0.25rem !important;
  -webkit-box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, rgba(9, 30, 66, 0.13) 0 0 1px 1px;
  -moz-box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, rgba(9, 30, 66, 0.13) 0 0 1px 1px;
  box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, rgba(9, 30, 66, 0.13) 0 0 1px 1px;
  user-select: none;
  -ms-user-select:none;
  -moz-user-select:none;
  -webkit-user-select:none;
  -webkit-touch-callout: none;
}

.interface-button .material-icons {
  vertical-align: middle;
}

.material-icons.md-dark.md-inactive {
  color: rgba(0, 0, 0, 0.26);
}

.material-icons.md-dark {
  color: rgba(101, 101, 101, 1);
}

.interface-button:active {
  background: none !important;
}

.interface-button:hover {
  -webkit-box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, #9d9d9d 0 0 0 1px;
  -moz-box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, #9d9d9d 0 0 0 1px;
  box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, #9d9d9d 0 0 0 1px;
}

.ui-selectmenu-button {
  display: inline-block;
  position: relative;
  line-height: normal;
  height: 0.5rem;
  cursor: pointer;
  color: #3c3c3c !important;
  padding: 0.1rem 0 0.6rem 0.5rem  !important;
  border: none !important;
  border-radius: 0.25rem;
  -webkit-box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, rgba(9, 30, 66, 0.13) 0 0 1px 1px;
  -moz-box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, rgba(9, 30, 66, 0.13) 0 0 1px 1px;
  box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, rgba(9, 30, 66, 0.13) 0 0 1px 1px;
  outline: none;
}

.ui-selectmenu-button:hover {
  -webkit-box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, #9d9d9d 0 0 0 1px;
  -moz-box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, #9d9d9d 0 0 0 1px;
  box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, #9d9d9d 0 0 0 1px;
}

.ui-selectmenu-button:active {
  background: none !important;
}

.ui-selectmenu-button.ui-selectmenu-button-open {
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}

.ui-menu-item:last-child .ui-state-active {
  border-bottom: none !important;
}

.ui-menu, .ui-selectmenu-menu {
  margin-top: -1.3rem !important;
  border-radius: 0.4rem !important;
  -webkit-box-shadow: 0 0.35rem 1rem 0.16rem rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0.35rem 1rem 0.16rem rgba(0, 0, 0, 0.1);
  box-shadow: 0 0.35rem 1rem 0.16rem rgba(0, 0, 0, 0.1);
  background-color: #e2e2e2 !important;
}

.ui-selectmenu-text {
  font-size: 0.8rem;
  text-align: center;
}

.ui-menu-item {
  font-size: 0.8rem;
  background-color: #e2e2e2;
}

.ui-state-active {
  background-color: #cdcdcd !important;
}

.ui-widget-content {
  background-color: #cdcdcd !important;
}

.sp-container {
  border: 0.04rem solid #9d9d9d !important;
  border-radius: 0.4rem !important;
  -webkit-box-shadow: 0 0.50rem 1.5rem 0.3rem rgba(0, 0, 0, 0.2) !important;
  -moz-box-shadow: 0 0.50rem 1.5rem 0.3rem rgba(0, 0, 0, 0.2) !important;
  box-shadow: 0 0.50rem 1.5rem 0.3rem rgba(0, 0, 0, 0.2) !important;
}

.sp-container .sp-input {
  border: 0.04rem solid #9d9d9d !important;
  border-radius: 0.3rem !important;
}

.sp-color, .sp-sat, .sp-val {
  border-radius: 0.3rem !important;
}

.sp-val {
  border: 0.04rem solid #9d9d9d !important;
}

.sp-palette-row {
  width: 10rem !important;
}

.sp-input-container {
  width: 50% !important;
  height: 1.38rem !important;
  margin: 0 !important;
  float: right;
}

.sp-palette-row-initial span {
  height: 1.3rem !important;
  width: 41px !important;
}

.sp-palette-row-initial .sp-thumb-el {
  border-radius: 0.3rem;
}

.sp-palette-row-initial .sp-thumb-inner {
  border-top: 0.04rem solid #9d9d9d;
  border-bottom: 0.04rem solid #9d9d9d;
}

.sp-palette-row-initial .sp-thumb-el:first-of-type span {
  border-radius: 0.3rem 0 0 0.3rem;
  border-left: 0.04rem solid #9d9d9d;
}

.sp-palette-row-initial .sp-thumb-el:last-of-type span {
  border-radius: 0 0.3rem 0.3rem 0;
  border-right: 0.04rem solid #9d9d9d;
}

#first-level {
  width: 100vw;
  max-width: 100vw;
  height: fit-content;
  margin-left: -8px;
  margin-top: -8px;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  margin-bottom: 1rem;
  background-color: #e2e2e2;
}

.nav {
  list-style-type: none;
  display: inline;
  padding: 0;
}

.nav li {
  display: inline-block;
}

@media only screen and (max-width: 878px) {
  .nav li {
    display: block;
    width: calc(100% - 1rem) !important;
    padding-left: 0.5rem !important;
    padding-bottom: 0.2rem;
  }

  .header-buttons {
    position: absolute;
    top: 0.65rem;
    right: 0.3rem;
  }

  #second-level {
    margin: 0 !important;
  }

  #manual-text-input {
    margin-left: -0.7rem;
  }

  #output_textarea.sequence-window__textarea {
    width: calc(100vw - 9.3rem - 16px) !important;
  }

  .tab-result {
    max-width: 9.5rem !important;
    margin-left: 0.5rem !important;
  }

  .tab__row__sequence-title {
    min-width: 8rem !important;
  }

  .tab__row--title p {
    max-width: 8rem !important;
  }

  .mode-tab {
    margin-right: -1rem !important;
  }
}

@media only screen and (max-width: 645px) {
  .nav__left {
    text-align: center;
  }

  .header-buttons {
    position: static;
  }
}

@media only screen and (max-width: 492px) {
  #molotool-container {
    width: 2rem !important;
  }

  #molotool-container span {
    display: none;
    visibility: hidden;
  }

  #molotool-container img {
    position: relative;
    margin-top: -1.4rem !important;
  }

  .nav__left {
    text-align: left;
  }

  .nav__left label {
    display: none;
    visibility: hidden;
  }

  .header-buttons {
    position: absolute;
    top: 0.55rem;
    right: 0;
  }
}

#molotool-container {
  display: inline-block;
  height: 2rem;
  width: 7rem;
  margin-right: 0.3rem;
  background-color: #f1f1f1;
  border: 0.08rem solid #9d9d9d;
  border-radius: 0.4rem;
  -webkit-box-sizing: border-box; /* ≤ iOS4, ≤ Android  2.3 */
  -moz-box-sizing: border-box; /* FF1+ */
  box-sizing: border-box; /* Chrome, IE8, Opera, Safari 5.1*/
  user-select: none;
  -ms-user-select:none;
  -moz-user-select:none;
  -webkit-user-select:none;
  -webkit-touch-callout: none;
  cursor: pointer;
}

/* #molotool-container:hover {
  border: 0.08rem solid black;
}

#molotool-container:active {
  background-color: inherit;
} */

#molotool-container span {
  display: block;
  color: #6f13c1;
  margin-top: 0.4rem;
  margin-left: 0.5rem;
  float: left;
}

#molotool-container img {
  height: 1.5rem;
  width: 1.5rem;
  margin-top: 0.2rem;
  margin-right: 0.2rem;
  float: right;
}

.nav__left {
  width: 28.4rem;
  padding-left: 8px;
}

.nav__right {
  width: calc(100% - 29.9rem);
  padding-left: 0.4rem;
  padding-right: 0.3rem;
}

.nav__right * {
  display: inline-block;
}

.nav__left *, .nav__right * {
  vertical-align: middle;
}

.header-buttons {
  height: 1.4rem;
  vertical-align: center;
  float: right;
}

#collection-select-button {
  background: #f1f1f1;
  width: 6.3rem !important;
}

#demo-button {
  margin-left: 0.2rem;
}

.header-buttons button {
  font-size: 0.8rem;
  height: 1.4rem;
  vertical-align: center;
  background: #f1f1f1;
}

#motif-search {
  width: 12rem;
  font-size: 0.8rem;
  color: #3c3c3c;
  margin-left: 0.2rem;
  padding-left: 0.2rem;
  border: 0.08rem solid #9d9d9d;
  border-radius: 0.3rem;
  background-color: #e2e2e2;
}

#motif-search::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: inherit;
  opacity: 1; /* Firefox */
}

#motif-search:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: inherit;
}

#motif-search::-ms-input-placeholder { /* Microsoft Edge */
  color: inherit;
}

#chosen-legend-container {
  height: 1.6rem;
  border-top: 0.04rem solid #9d9d9d;
  border-bottom: 0.04rem solid #9d9d9d;
  background-color: #e2e2e2;
  align-items: center;
}

#chosen-motif-list {
  width: 36rem;
  max-height: 9rem;
  overflow-y: scroll;
  white-space: normal;
}

#chosen-motif-list.subfamily-shown {
  width: 54rem !important;
}

.reset-chosen-motifs {
  display: inline-block;
  cursor: pointer;
  position: absolute;
  padding-bottom: 0.3rem;
  margin-left: 0.5rem;
  height: 0.8rem !important;
  background-color: #f1f1f1;
}

.chosen-legend-heading {
  text-align: center;
  width: 100%;
}

.motif-title span {
  white-space: pre;
}

.chosen-in-control {
  -webkit-box-sizing: border-box; /* ≤ iOS4, ≤ Android  2.3 */
  -moz-box-sizing: border-box; /* FF1+ */
  box-sizing: border-box; /* Chrome, IE8, Opera, Safari 5.1*/
  height: 3rem;
  max-width: 13rem;
  margin-bottom: 0.8rem;
  margin-right: 0.8rem;
  background-color: #e2e2e2;
  border-radius: 0.4rem;
}

.chosen-in-control .close {
  margin-top: 0.3rem;
  margin-left: 0.3rem;
  font-size: 1.18rem;
  border-radius: 0.25rem;
}

.chosen-in-control .close:hover {
  background-color: #afafaf;
}

.sp-replacer {
  background-color: white;
  width: 1.75rem !important;
  margin-top: -0.65rem;
  margin-left: 0.4rem;
  height: 1.05rem !important;
}

.sp-dd {
  height: 1.05rem;
  width: 0.4rem;
}

.description {
  position: absolute;
  margin-top: 0.26rem;
  margin-left: 0.5rem;
  font-size: 1rem;
}

.chosen-in-control .motif-title {
  display: block;
  font-size: 0.9rem;
  color: #180ea4;
}

.chosen-in-search {
  display: inline-block;
  -webkit-box-sizing: border-box; /* ≤ iOS4, ≤ Android  2.3 */
  -moz-box-sizing: border-box; /* FF1+ */
  box-sizing: border-box; /* Chrome, IE8, Opera, Safari 5.1*/
  width: 48.75%;
  margin: 0 0 0.3rem 1.25%;
  padding-left: 0.3rem;
  background-color: #e2e2e2;
  border-radius: 0.4rem;
  border: 0.04rem solid #9d9d9d;
}

.chosen-in-search .hocomoco-info {
  color: #180ea4;
  text-decoration: none;
}

.chosen-in-search:nth-of-type(1), .chosen-in-search:nth-of-type(2) {
  margin-top: 0.3rem !important;
}

.subfamily-shown .chosen-in-search {
  width: 32.5% !important;
  margin: 0 0 0.3rem 0.8%;
}

.subfamily-shown .chosen-in-search:nth-of-type(3) {
  margin-top: 0.3rem !important;
}

.chosen-in-search .close {
  display: inline;
  font-size: 0.9rem;
  margin-right: 0.3em;
  vertical-align: middle;
  cursor: pointer;
}

.chosen-in-search .motif-title {
  font-size: 0.9rem;
  display: inline-block;
  margin-top: -0.2rem;
}

.chosen-in-search :is(.hocomoco-info, span) {
  font-size: 0.8rem;
}

.close.mouseover {
  background-color: #afafaf !important;
  border-radius: 0.2rem !important;
}

.hocomoco-info {
  color: #180ea4;
  text-decoration: none;
}

#legend-container {
  border-bottom: 0.04rem solid #9d9d9d;
  border-radius: 0.58rem 0.58rem 0 0;
  height: 1.6rem;
  background-color: #e2e2e2;
}

.legend {
  font-size: 0.9rem;
  display: inline-block;
  margin-top: 0.3rem;
  vertical-align: top;
  height: 1.3rem;
}

.empty {
  visibility: hidden;
  display: none;
}

.suggestions {
  z-index: 11;
  width: 37.3rem; /*36.5*/
  margin-left: -0.2rem;
  margin-top: 0.5rem;
  background-color: #f1f1f1;
  border: 0.04rem solid #9d9d9d;
  border-radius: 0.6rem;
  -webkit-box-shadow: 0 0.7rem 2rem 0.32rem rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0.7rem 2rem 0.32rem rgba(0, 0, 0, 0.3);
  box-shadow: 0 0.7rem 2rem 0.32rem rgba(0, 0, 0, 0.3);
}

.suggestions.subfamily-shown {
  width: 54.5rem !important;
}

#motif-list {
  max-height: 24.42rem;
  overflow-y: scroll;
  /*-ms-overflow-style: none;
  scrollbar-width: none;
  overflow: -moz-scrollbars-none;*/
}

/*#motif-list::-webkit-scrollbar {
  width: 0;
  background: transparent;
}*/

.suggestion {
  height: 3.5rem;
}

.hover-behavior:focus {
  background-color: #b7b8b4;
  outline: none;
}

.chosen-in-list {
  background-color: #cdcdcd;
  cursor: pointer;
}

.hover-behavior:focus .chosen-in-list {
  -webkit-box-shadow: inset 0 0 0 0.3rem #b7b8b4;
  -moz-box-shadow: inset 0 0 0 0.3rem #b7b8b4;
  box-shadow: inset 0 0 0 0.3rem #b7b8b4;
  background-color: #cdcdcd;
}

.feature {
  display: inline-block;
  padding-top: 0.55rem;
}

.motif-title {
  width: 14.5rem;
  margin-left: 0.5rem;
}

.motif-title.subfamily-shown {
  width: 16.5rem !important;
}

.motif-family, .motif-subfamily {
  width: 14rem;
  max-width: 14rem;
  padding-right: 0.5rem;
}

.motif-family p, .motif-subfamily p {
  width: 14rem;
  margin: 0;
  white-space: normal;
}

.motif-subfamily.hidden {
  position: absolute;
}

.motif-gene {
  width: 6rem; /* 7rem*/
}

.motif-gene span {
  display: block;
}

.motif-gene.subfamily-shown {
  width: 8.5rem;
}

#support-info {
  height: 2rem;
  border-top: 0.04rem solid #9d9d9d;
  background-color: #e2e2e2;
  border-radius: 0 0 0.6rem 0.6rem;
  text-align: center;
}

.info {
  display: inline-block;
  margin-top: 0.35rem;
  margin-left: 0.5rem;
}

#subfamily-button {
  position: relative;
  float: left;
  width: 7.5rem;
  margin-top: 0.35rem;
  margin-left: 0.5rem;
  margin-right: 2.8rem;
  background-color: #f1f1f1;
}

.motif-count {
  display: inline-block;
  position: relative;
  float: left;
}

.model-collection {
  float: right;
  margin-right: 0.9rem;
}

.not-chosen {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.not-found {
  border-top: 0 !important;
  border-top-left-radius: 0.548rem !important;
  border-top-right-radius: 0.548rem !important;
}

#error-report {
  display: none;
  vertical-align: middle;
  font-size: 1.2rem;
  color: #bb433f;
  padding: 0.05rem 0.05rem 0.01rem;
  cursor: pointer;
  text-align: center;

}

#second-level {
  display: flex;
  flex-flow: row wrap;
  min-height: 4rem;
  margin-left: 0.8rem;
}

.p-inputs {
  display: inline-block;
  float: left;
  height: 3rem;
  margin-right: 1.2rem;
}

.p-inputs label {
  font-size: 0.9rem;
}

.pvalue-input {
  font-size: 0.7rem;
  margin-bottom: 0.5rem;
  width: 3.3rem;
  padding: 0 0.2rem 0 0.2rem;
  border: 0.08rem solid #9d9d9d;
  border-radius: 0.3rem;
  background-color: #f1f1f1;
}

#pvalue_log {
  width: 1.7rem;
  margin-right: 0.6rem;
}

.slider label {
  font-family: "Lucida Console", "Monospaced", monospace;
  font-size: 0.65rem;
  display: block;
  width: 92.9%;
  margin-left: 6.2%;
  text-align: justify;
  height: 0.65rem;
}

.slider label:after {
  content: "";
  display: inline-block;
  width: 100%;
}

#pvalue_slider {
  width: 100%;
  height: 0.8rem;
}

@media only screen and (max-width: 594px) {
  .p-inputs {
    margin-bottom: 0.8rem !important;
  }
}

@media only screen and (max-width: 597px) {
  .sequence-window {
    margin-left: -0.5rem !important;
  }

  .mode-tab {
    margin-right: -0.5rem !important;
  }

  #tab-bar, .tab-result {
    width: 9rem !important;
    float: right;
  }

  #input_button {
    width: 7.5rem !important;
    margin-left: 1.3rem !important;
  }

  .wrapper {
    width: 100vw;
  }

  .wrapper #output_textarea {
    width: calc(100vw - 8.8rem - 16px) !important;
  }

  #input_textarea {
    width: 98% !important;
  }

  #upload-container {
    width: 7.5rem !important;
    margin-right: 0.73rem !important;
  }
}

.sequence-window {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
}

.sequence-window td {
  padding: 0;
}

#sequence-window__heading {
  text-align: left;
}

.right-tools-panel {
  padding-right: 0.4rem;
  float: right;
  z-index: 2;
}

.right-tool {
  display: inline;
}

#mode-select-button {
  background: #fff;
}

.zoom-button {
  margin-right: 0 !important;
  white-space: nowrap;
}

.zoom-button .material-icons {
  padding: 0.05rem 0.05rem 0.01rem;
  height: 1.25rem;
  width: 1.25rem;
  background-color: #fff;
}

.zoom-group {
  display: inline;
  margin-left: 0.5rem;
}

.zoom-button {
  margin-right: 0.6rem;
}

@media only screen and (max-width: 550px) {
  .zoom-button .icon {
    display: none;
    visibility: hidden;
  }
}

#sequence-window__button-cell {
  text-align: center;
}

#input_button {
  height: 1.5rem !important;
  padding: 0 !important;
  font-size: 1rem;
  width: 8.5rem;
  margin: 0.25rem;
  background-color: #fff;
}

@media only screen and (max-width: 810px) {
  .sequence-window__label {
    display: none;
    visibility: hidden;
  }

  .right-tools-panel {
    width: 100%;
  }

  .mode-select-container {
    padding-left: 0.5rem;
  }
}

@media only screen and (max-width: 415px) {
  .mode-select-container label {
    display: none;
    visibility: hidden;
  }

  .header-buttons {
    position: static;
  }
}

@media only screen and (max-width: 380px) {
  .zoom-button, .header-collection label {
    display: none;
    visibility: hidden;
  }
}

@media only screen and (max-width: 344px) {
  .p-inputs label:nth-of-type(2) {
    display: none;
    visibility: hidden;
  }

  .header-buttons {
    margin-top: 0;
  }

  .nav__left {
    text-align: center;
  }
}

#sequence-window__tab-bar {
  width: 10rem;
  vertical-align: top;
  text-align: center;
}

#upload-container {
  text-align: center;
  margin: 0 auto;
  width: 8.5rem;
  height: 7rem;
  border: 0.12rem dashed #9d9d9d;
  border-radius: 0.6rem;
  background-color: #fff;
  font-size: 0.8rem;
  color: #555;
  -webkit-box-sizing: border-box; /* ≤ iOS4, ≤ Android  2.3 */
  -moz-box-sizing: border-box; /* FF1+ */
  box-sizing: border-box; /* Chrome, IE8, Opera, Safari 5.1*/
}

#upload-container div {
  position: relative;
  z-index: 1;
}

#upload-container a {
  font-size: 2.5rem;
  margin-top: 1.6rem;
  text-decoration: none;
}

#upload-container label {
  font-weight: bold;
}

#upload-container label:hover {
  cursor: pointer;
  text-decoration: underline;
}

#upload-container input[type=file] {
  width: 0;
  height: 0;
  opacity: 0;
  position: absolute;
  z-index: -2;
}

#upload-container.dragover {
  background-color: #e2e2e2;
}

.tab-result {
  display: none;
  max-width: 10rem;
  width: 100%;
  table-layout: fixed;
  height: 4rem;
  border-left: 0.04rem solid #9d9d9d;
  border-top: 0.04rem solid #9d9d9d;
  -webkit-box-sizing: border-box; /* ≤ iOS4, ≤ Android  2.3 */
  -moz-box-sizing: border-box; /* FF1+ */
  box-sizing: border-box; /* Chrome, IE8, Opera, Safari 5.1*/
  background-color: #e2e2e2;
}

.tab-result:first-of-type {
  border-radius: 0.6rem 0 0 0;
}

.tab-result:last-of-type {
  border-bottom: 0.04rem solid #9d9d9d;
  border-radius: 0 0 0 0.6rem;
}

.tab-result:only-of-type {
  border-radius: 0.6rem 0 0 0.6rem;
}

.current-tab {
  background-color: #cdcdcd;
  z-index: 1;
}

.tab__row {
  display: table-row;
  font-size: 1rem;
  white-space: nowrap;
}

.tab__row--title {
  overflow: hidden;
}

.tab__row--icons a {
  margin-top: 0.2rem !important;
}

.tab__row--title p {
  max-width: 9.5rem;
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
  margin-left: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tab-result .material-icons {
  display: inline-block;
  float: left;
  margin: 0.08rem 0.08rem 0.08rem;
  height: 1.15rem;
  width: 1.1rem;
  border-radius: 0.25rem;
  text-align: center;
}

.tab-result .material-icons:hover {
  background-color: #afafaf;
}

.current-tab .material-icons:hover {
  background-color: #e5e5e5;
}

.tab-result .close {
  margin-left: 0.2rem;
  font-size: 1.1rem;
}

.tab-result .copy {
  font-size: 0.9rem;
}

.tab-result .lock {
  font-size: 1rem;
}

.mode-tab {
  float: right;
  margin-right: 0;
  margin-top: 0.1rem;
  padding-left: 0.1rem;
  padding-right: 0.1rem;
  background-color: #f1f1f1;
}

.current-tab .mode-tab {
  background-color: #e7e7e7;
}

.tab__row__sequence-title {
  margin: 0.6rem 0 0;
  display: block;
  min-width: 9.5rem;
}

.sequence-window__textarea {
  font-family: "Courier New", "Monospaced", monospace;
  font-size: 1rem;
  width: 100%;
  resize: none;
}

#input_textarea {
  width: 100%;
  height: 7rem;
  margin: 0;
  border: 0.04rem solid #9d9d9d;
  border-radius: 0.6rem;
  -webkit-box-sizing: border-box; /* ≤ iOS4, ≤ Android  2.3 */
  -moz-box-sizing: border-box; /* FF1+ */
  box-sizing: border-box; /* Chrome, IE8, Opera, Safari 5.1*/
}

#output_textarea {
  position: relative;
  width: calc(100vw - 10rem - 16px) !important;
  white-space: pre;
  overflow-x: scroll;
  overflow-y: hidden;
  min-height: 2rem;
  border-radius: 0 0.6rem 0.6rem 0;
  -webkit-box-shadow: inset 0 0.5px 0 0 #9d9d9d, inset 0 -0.5px 0 0 #9d9d9d;
  -moz-box-shadow: inset 0 0.5px 0 0 #9d9d9d, inset 0 -0.5px 0 0 #9d9d9d;
  box-shadow: inset 0 0.5px 0 0 #9d9d9d, inset 0 -0.5px 0 0 #9d9d9d,
  0.5px 0 0 0 #9d9d9d, -0.5px 0 0 0 #9d9d9d;
  -webkit-box-sizing: border-box; /* ≤ iOS4, ≤ Android  2.3 */
  -moz-box-sizing: border-box; /* FF1+ */
  box-sizing: border-box; /* Chrome, IE8, Opera, Safari 5.1*/
  background-color: #fff;
}

/* Chrome */
@media screen and (-webkit-min-device-pixel-ratio:0)
and (min-resolution:.001dpcm) {
  #output_textarea {
    box-shadow: inset 0 1px 0 0 #9d9d9d, inset 0 -1px 0 0 #9d9d9d,
    1px 0 0 0 #9d9d9d, -1px 0 0 0 #9d9d9d;
  }
}

@-moz-document url-prefix() {
  #output_textarea {
    -moz-box-shadow: inset 0 0.5px 0 0 #9d9d9d, inset 0 -0.5px 0 0 #9d9d9d;
    box-shadow: inset 0 0.5px 0 0 #9d9d9d, inset 0 -0.5px 0 0 #9d9d9d,
    0.5px 0 0 0 #9d9d9d, -0.5px 0 0 0 #9d9d9d;
  }
}

.tab-result-sequence {
  min-width: fit-content;
  height: 4rem;
  margin: 0;
  padding: 0;
}

.locked {
  border-top-right-radius: 0.6rem;
  border-bottom-right-radius: 0.6rem;
  position: sticky;
  overflow: hidden;
  left: 0;
}

.locked .digits {
  position: absolute;
}

.locked .sequence {
  position: absolute;
}

@media not all and (min-resolution:.001dpcm) {
  @media {
    .locked.prevent-bug-in-safari .sequence {
      margin-top: -1px;
    } /* The bug occurs in Safari when font size is 5n-2 or 5n-1 */
  }
}

.flattened > .digits {
  line-height: 1.7rem;
}

.full-screen > .digits {
  position: absolute;
  word-break: break-all;
  z-index: 1;
  pointer-events: none;
}

.full-screen > .sequence {
  position: absolute;
  margin-top: 0;
  word-break: break-all;
  z-index: 0;
}

.motif-result-hover {
  -webkit-box-shadow: 0 0 0 0.16rem #86a4e7;
  -moz-box-shadow: 0 0 0 0.16rem #86a4e7;
  box-shadow: 0 0 0 0.16rem #86a4e7;
}

.highlighted-row td {
  background-color: #d4dff7 !important;
}

.segment:hover {
  -webkit-box-shadow: 0 0 0 0.16rem #86a4e7;
  -moz-box-shadow: 0 0 0 0.16rem #86a4e7;
  box-shadow: inset 0 0 0 0.16rem #86a4e7;
  border-top: solid #86a4e7 0.08rem;
  border-bottom: solid #86a4e7 0.08rem;
}

.segment.highlighted {
  -webkit-box-shadow: 0 0 0 0.16rem #86a4e7;
  -moz-box-shadow: 0 0 0 0.16rem #86a4e7;
  box-shadow: inset 0 0 0 0.16rem #86a4e7;
  border-top: solid #86a4e7 0.08rem;
  border-bottom: solid #86a4e7 0.08rem;
}

.empty-segment:hover {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border-top: none;
  border-bottom: none;
}

.segment.highlighted {
  -webkit-box-shadow: 0 0 0 0.16rem #86a4e7;
  -moz-box-shadow: 0 0 0 0.16rem #86a4e7;
  box-shadow: inset 0 0 0 0.16rem #86a4e7;
  border-top: solid #86a4e7 0.08rem;
  border-bottom: solid #86a4e7 0.08rem;
}

#motif-table {
  font-family: sans-serif;
  font-size: 0.9rem;
  word-break: break-all;
  white-space: nowrap;
  border-spacing: 0;
  max-width: 100% !important;
  min-height: 2.25rem;
  max-height: 5rem !important;
  overflow-y: scroll !important;
}

.dataTable th {
  white-space: nowrap !important;
}

#motif-table_wrapper {
  margin-top: 1rem;
}

#motif-table_filter {
  float: left;
  margin-bottom: 0.5rem;
}

#motif-table_filter input {
  margin-top: 0 !important;
}

.dt-buttons {
  float: right !important;
  margin-bottom: 0.5rem;
}

@media screen and (max-width: 640px) {
  .dt-buttons {
    width: fit-content;
    float: unset !important;
    margin-bottom: 0;
  }
}

.dt-button {
  padding: 0.1rem 0.3rem 0 0.3rem !important;
  font-size: 0.8rem !important;
  height: 1.2rem;
  background: #fff !important;
}

.dt-button:active {
  background: none !important;
  -webkit-box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, #9d9d9d 0 0 0 1px !important;
  -moz-box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, #9d9d9d 0 0 0 1px !important;
  box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, #9d9d9d 0 0 0 1px !important;
  filter: none !important;
}

.dt-button-collection {
  height: 6.8rem !important;
  background-color: #f1f1f1 !important;
  padding-top: 0.4rem !important;
  border: 0.04rem solid #9d9d9d !important;
  border-radius: 0.6rem !important;
  -webkit-box-shadow: 0 0.7rem 2rem 0.32rem rgba(0, 0, 0, 0.3) !important;
  -moz-box-shadow: 0 0.7rem 2rem 0.32rem rgba(0, 0, 0, 0.3) !important;
  box-shadow: 0 0.7rem 2rem 0.32rem rgba(0, 0, 0, 0.3) !important;
}

.dt-button-background {
  background: none !important;
}

.buttons-columnVisibility {
  width: 90%;
  margin-left: 5%;
  margin-top: 0.2rem !important;
  color: #3c3c3c !important;
  vertical-align: middle;
  text-align: center;
  padding: 0 0.7rem 0 0.7rem;
  border: none !important;
  border-radius: 0.25rem !important;
  -webkit-box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, rgba(9, 30, 66, 0.13) 0 0 1px 1px;
  -moz-box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, rgba(9, 30, 66, 0.13) 0 0 1px 1px;
  box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, rgba(9, 30, 66, 0.13) 0 0 1px 1px;
}

.buttons-columnVisibility:nth-of-type(n) {
  top: 0.3rem !important;
}

.buttons-columnVisibility:nth-of-type(n + 5) {
  top: 0.5rem !important;
}

.buttons-columnVisibility:nth-of-type(n + 9) {
  top: 0.5rem !important;
}

/* It was the only way in CSS. Don't use this library */

.buttons-columnVisibility:active {
  background: none !important;
}

.buttons-columnVisibility:hover {
  -webkit-box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, #9d9d9d 0 0 0 1px !important;
  -moz-box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, #9d9d9d 0 0 0 1px !important;
  box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, #9d9d9d 0 0 0 1px !important;
}

.buttons-columnVisibility.active {
  background-color: #e2e2e2 !important;
  -webkit-box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, rgba(9, 30, 66, 0.13) 0 0 1px 1px !important;
  -moz-box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, rgba(9, 30, 66, 0.13) 0 0 1px 1px !important;
  box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, rgba(9, 30, 66, 0.13) 0 0 1px 1px !important;
}

.buttons-columnVisibility.active:hover {
  -webkit-box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, #9d9d9d 0 0 0 1px !important;
  -moz-box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, #9d9d9d 0 0 0 1px !important;
  box-shadow: rgba(9, 30, 66, 0.25) 0 1px 0, #9d9d9d 0 0 0 1px !important;
}

.buttons-columnVisibility.active:active {
  background: none !important;
}

.dt-button-info {
  background-color: #f1f1f1 !important;
  padding-top: 0.7rem !important;
  border: 0.04rem solid #9d9d9d !important;
  border-radius: 0.6rem !important;
  -webkit-box-shadow: 0 0.7rem 2rem 0.32rem rgba(0, 0, 0, 0.3) !important;
  -moz-box-shadow: 0 0.7rem 2rem 0.32rem rgba(0, 0, 0, 0.3) !important;
  box-shadow: 0 0.7rem 2rem 0.32rem rgba(0, 0, 0, 0.3) !important;
}

.dt-button-info h2 {
  border: none !important;
}

#motif-table_filter input {
  width: 12rem;
  height: 1.1rem;
  font-size: 0.8rem;
  color: #3c3c3c;
  margin-left: 0.5rem;
  margin-top: 2rem;
  padding-left: 0.2rem;
  border: 0.08rem solid #9d9d9d;
  border-radius: 0.3rem;
  background-color: #f1f1f1;
}

td > img {
  height: 1.67rem;
  width: 11.67rem;
  user-select: none;
  -ms-user-select:none;
  -moz-user-select:none;
  -webkit-user-select:none;
  -webkit-touch-callout: none;
}

#motif-table a.logo-button {
  position: absolute;
  font-size: 1rem;
  width: 1rem;
  margin: 0;
  padding: 0;
  background-color: #e2e2e2;
  user-select: none;
  -ms-user-select:none;
  -moz-user-select:none;
  -webkit-user-select:none;
  -webkit-touch-callout: none;
  z-index: 10;
}

#motif-table a.logo-button:active {
  background-color: inherit;
}

#motif-table a.logo-button::selection, #motif-table img {
  background: none;
}

#motif-table a.logo-button::-moz-selection, #motif-table img {
  background: none;
}

.dataTable th {
  font-size: 0.8rem;
}

td.details-control {
  background: url('https://datatables.net/examples/resources/details_open.png') no-repeat center center;
  cursor: pointer;
}

tr.shown td.details-control {
  background: url('https://datatables.net/examples/resources/details_close.png') no-repeat center center;
}

#download-app {
  display: block;
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  height: 2.5rem;
  width: 2.5rem;
  border: 0.04rem solid #9d9d9d;
  border-radius: 0.4rem;
  background-color: #fff;
  -webkit-box-shadow: 0 0.35rem 1rem 0.16rem rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 0.35rem 1rem 0.16rem rgba(0, 0, 0, 0.15);
  box-shadow: 0 0.35rem 1rem 0.16rem rgba(0, 0, 0, 0.15);
}

#download-app a {
  margin-top: 0.7rem;
  font-size: 2.5rem;
}

#download-app a:hover {
  color: #3c3c3c !important;
}
