﻿.modal { overflow: auto !important; }

#body-row {
  margin-left: 0;
  margin-right: 0;
}

#sidebar-container {
  /*min-height: 100vh;   
  background-color: #3989be;*/
  padding: 0;
  transition: transform 1s;
}

/* Sidebar sizes when expanded and expanded */
.sidebar-expanded {
  width: 230px;
}

.sidebar-collapsed {
  width: 60px;
}

/* Menu item*/
#sidebar-container .list-group a {
  height: 50px;
  color: white;
}

/* Submenu item*/
#sidebar-container .list-group .sidebar-submenu a {
  height: 45px;
  padding-left: 30px;
}

.sidebar-submenu {
  font-size: 0.9rem;
}

/* Separators */
.sidebar-separator-title {
  background-color: #3989be;
  height: 35px;
}

.sidebar-separator {
  background-color: #3989be;
  height: 25px;
}

.logo-separator {
  background-color: #3989be;
  height: 60px;
}

/* Closed submenu icon */
#sidebar-container .list-group .list-group-item[aria-expanded="false"] .submenu-icon::after {
  /*content: " \f0d7";
font-family: FontAwesome;*/
  content: " + ";
  display: inline;
  text-align: right;
  padding-left: 10px;
}

/* Opened submenu icon */
#sidebar-container .list-group .list-group-item[aria-expanded="true"] .submenu-icon::after {
  /*content: " \f0da";
font-family: FontAwesome;*/
  content: " - ";
  display: inline;
  text-align: right;
  padding-left: 10px;
}

body {
  font-family: Verdana, sans-serif;
  background: #fafafa;
}

p {
  font-family: Verdana, sans-serif;
  font-size: 1.1em;
  line-height: 1.7em;
  color: rgb(51, 51, 51);
}

a,
a:hover,
a:focus {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s;
}

.navbar {
  padding: 15px 0px;
  background: #AADDFF;
  color: #02468A;
  border: 2px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  height: 60px;
}

.navbar-btn {
  background: #2951a8;
  width: 90px;
  height: 30px;
  margin-top: 5px;
}

/* Pretty Sure this can be removed! */
.line {
  width: 100%;
  height: 1px;
  border-bottom: 1px dashed #ddd;
  margin: 40px 0;
}


.hide-input-text-border {
  border: 0;
  background-color: transparent;
}


/* ---------------------------------------------------
  SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
  display: flex;
  width: 100%;
  align-items: stretch;
  margin-top: 80px;
}

#sidebar {
  margin-top: 3px;
  margin-left: 3px;
  min-width: 250px;
  max-width: 250px;
  background: #DDEEFF;
  color: #02468A;
  transition: all 0.3s;

  /*background: #DDEEFF;*/
  border: 1px solid #ABCDEF;
  border-radius: 5px;
  box-shadow: 1px 1px 1px #888888;
  padding: 5px;
}

#sidebar.active {
  margin-left: -250px;
}

#sidebar .sidebar-header {
  padding: 20px;
  background: #AADDFF;
}

#sidebar ul p {
  color: #02468A;
  padding: 10px;
}

#sidebar ul li a {
  padding: 10px;
  font-size: 1.1em;
  display: block;
}

#sidebar ul li a:hover {
  color: #7386D5;
  background: #AADDFF;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
  color: #02468A;
  background: #DDEEFF;
}

a[data-toggle="collapse"] {
  position: relative;
}

/* ---------------------------------------------------
  CONTENT STYLE
----------------------------------------------------- */

#content {
  width: 100%;
  padding: 20px;
  min-height: 100vh;
  transition: all 0.3s;
}

/* ---------------------------------------------------
  MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
  #sidebar {
    margin-left: -252px;
  }

  #sidebar.active {
    margin-left: 0;
  }

  #sidebarCollapse span {
    display: none;
  }
}

.kmd-login-wrapper {
  margin-top: 60px;
  background: #DDEEFF;
  color: #02468A;
  transition: all 0.3s;
  /*background: #DDEEFF;*/
  border: 1px solid #ABCDEF;
  border-radius: 5px;
  box-shadow: 1px 1px 1px #888888;
  padding: 15px;
}

.kmd-search-wrapper {
  border-radius: 15px;
  background: #DDEEFF;
}

/*   OLD KATMANDOO STYLES   */
/* GENERIC TAG / TOP LEVEL STYLING - START */

a {
  color: #02468A;
  text-decoration: none;
}

a:hover {
  color: #579BDF;
}

#sitewrapper {
  display: table;
  height: 100%;
  width: 100%;
}

.fa {
  margin-right: 3px;
}

.fa.after {
  margin-left: 3px;
  margin-right: 0;
}

.required {
  color: #CC0000;
  font-size: 8px;
}

a.button,
button {
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 1px #FFFFFF, 0 0 0 2px #FFAA00;
  outline: none;
}

/* Fix for Firefox showing dotted focus ring on selects when they have focus */
select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 #000000;
}

/* Fix for IE showing blue background on selects when they have focus */
select::-ms-value {
  background: none;
  color: #000000;
}

/* GENERIC TAG / TOP LEVEL STYLING - END */



/* SITE HEADER STYLING - START */
.logo a {
  color: #0000FF;
  display: inline-block;
  font-family: Georgia;
  font-size: 16px;
  font-weight: bold;
  height: 40px;
  line-height: 50px;
  position: relative;
}

.logo a:hover {
  color: #0000FF;
}

.logo a:first-letter {
  color: transparent;
}

.logo a:after {
  background: url(../images/katmandoo_logo_small.png) no-repeat;
  bottom: 4px;
  content: '';
  height: 32px;
  left: -18px;
  position: absolute;
  width: 32px;
}


/* SITE HEADER STYLING - END */



/* GENERIC NAV STYLING - START */

nav li {
  line-height: 20px;
  position: relative;
}

nav label {
  font-style: italic;
}

.menuindicator {
  display: none;
}

.button.small.actionlink,
#topnav .button.small.actionlink {
  color: #FFFFFF;
  float: right;
  line-height: 15px;
  margin: 1px 2px;
  padding: 0 0 0 2px;
}

.actionlink .fa {
  margin-right: 2px;
}

/* GENERIC NAV STYLING - END */



/* ALERT STYLING - START */

div.alert,
span.alert {
  border-radius: 5px;
  padding: 5px 10px;
}

div.alert {
  box-shadow: 1px 1px 1px #888888;
  box-sizing: border-box;
  display: table;
  width: 100%;
}

form div.alert {
  margin: 5px auto 20px;
  width: auto;
}

form div.alert span {
  display: table-cell;
  padding: 5px;
  vertical-align: middle;
}

form div.alert span.fa {
  color: #CC0000;
  font-size: 18px;
}

span.alert {
  display: inline-block;
  margin-top: 5px;
}

#maincontent>*.alert {
  margin-bottom: 20px;
}

#maincontent>*.alert.closed {
  margin-bottom: 0;
  opacity: 0;
  padding-bottom: 0;
  padding-top: 0;
  transition: margin-bottom 0.3s, opacity 0.3s, padding-bottom 0.3s, padding-top 0.3s;
}

.alert.closed * {
  line-height: 0;
  transition: line-height 0.3s;
}

div.alert>div {
  display: table-cell;
  text-align: center;
  vertical-align: top;
}

div.alert>div:first-child {
  width: 25px;
}

div.alert>div.message {
  text-align: left;
}

div.alert>div:last-child {
  width: 35px;
}

.alert-success {
  background: #E9F9E0;
  border: 1px solid #99D999;
}

.alert-success:hover {
  background: #EFFFE8;
}

div.alert-success>div:first-child {
  color: #009900;
}

.alert-warning {
  background: #FFFFAA;
  border: 1px solid #DDDD88;
}

.alert-error {
  background: #FFDDEE;
  border: 1px solid #DCA7A7;
}

.alert-error:hover {
  background: #FFE6F6;
}

div.alert-error>div:first-child {
  color: #990000;
}

a.closealert,
a.viewdetails {
  color: #888888;
  cursor: pointer;
}

a.closealert:hover,
a.viewdetails:hover {
  color: #666666;
}

/* ALERT STYLING - END */



/* TOP LEVEL FORM STYLING - START */

fieldset {
  background: #DDEEFF;
  border: 1px solid #ABCDEF;
  border-radius: 5px;
  margin: 0;
  padding: 30px 9px 15px 9px;
  position: relative;
}

legend {
  font-weight: bold;
  left: 0;
  padding: 0 5px;
  position: absolute;
  top: 0;
}

.validation-summary-errors {
  display: none;
}

.validation-summary-errors.alert {
  display: block;
}

.fields {
  margin: 0 auto;
  padding-bottom: 10px;
}

.horizontalfields {
  display: table;
  width: 100%;
}

.searchfields {
  border: 1px solid #ABCDEF;
  border-radius: 5px;
  margin: 10px auto 15px;
  padding: 0;
  position: relative;
}

.exportoptions,
.exportfields,
.importoptions,
.importfields,
.importpreview {
  display: table;
  min-width: 70%;
}

.exportoptions:first-of-type,
.exportfields:first-of-type,
.importoptions:first-of-type,
.importfields:first-of-type,
.importpreview:first-of-type,
.searchoptions:first-of-type,
.searchfields:first-of-type {
  margin-top: 0;
}

/* TOP LEVEL FORM STYLING - END */



/* IMPORT STYLING - START */

.mappings,
.factors,
.traits {
  padding-top: 10px;
  position: relative;
}

.mappings:before,
.factors:before,
.traits:before,
.importoptions.verticalfields:before {
  display: block;
  font-weight: bold;
  left: 0;
  padding: 2px 5px;
  position: absolute;
  top: 0;
}

.mappings:before {
  content: 'Mappings';
}

.factors:before {
  content: 'Factors';
}

.traits:before {
  content: 'Traits';
}

.importoptions.verticalfields:before {
  content: 'Import options';
}

.factors .field button,
.traits .field button {
  display: inline-block;
  font-weight: normal;
  padding: 0 5px;
  width: 10%;
}

.factors .field button span,
.traits .field button span {
  margin-right: 0;
}

.factors .field select {
  width: 80%;
}

.traits .field select {
  width: 50%;
}

.traits .field input {
  width: 30%;
}

/* IMPORT STYLING - END */

/* FIELD STYLING - START */

.field {
  padding: 5px;
}

.horizontalfields .field {
  display: table-cell;
  vertical-align: top;
}

.verticalfields .field {
  display: table-row;
}

.exportoptions .field,
.searchoptions .field {
  box-sizing: border-box;
  display: inline-block;
  white-space: nowrap;
  width: 33%;
}

.exportoptions sup,
.importoptions sup,
.searchoptions sup {
  display: none;
}

.field.operator {
  border: 1px solid #ABCDEF;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
  left: 12px;
  padding-bottom: 2px;
  position: absolute;
  top: -30px;
}

.field.operator .leftcorner,
.field.operator .rightcorner {
  bottom: 0;
  height: 6px;
  position: absolute;
  width: 6px;
}

.field.operator .leftcorner {
  left: -6px;
}

.field.operator .rightcorner {
  right: -6px;
}

.field.operator .leftcorner:after,
.field.operator .rightcorner:after {
  background: #DDEEFF;
  border-bottom: 1px solid #ABCDEF;
  content: '';
  display: block;
  height: 5px;
  left: 0;
  position: absolute;
  top: 0;
  width: 5px;
}

.field.operator .leftcorner:after {
  border-right: 1px solid #ABCDEF;
  border-bottom-right-radius: 5px;
}

.field.operator .rightcorner:after {
  border-left: 1px solid #ABCDEF;
  border-bottom-left-radius: 5px;
}

.searchfields .field.operator {
  display: none;
}

.searchfields+.searchfields .field.operator {
  display: block;
}

.verticalfields.exportfields,
.importfields,
.searchoptions:nth-of-type(2n+1),
.searchfields:nth-of-type(2n+1),
.searchfields:nth-of-type(2n+1) .field.operator,
.searchfields:nth-of-type(2n+1) .field.operator .leftcorner,
.searchfields:nth-of-type(2n+1) .field.operator .rightcorner {
  background: #DDF3EF;
}

.exportoptions,
.importoptions,
.importpreview,
.factors,
.searchoptions:nth-of-type(2n+2),
.searchfields:nth-of-type(2n+2),
.searchfields:nth-of-type(2n+2) .field.operator,
.searchfields:nth-of-type(2n+2) .field.operator .leftcorner,
.searchfields:nth-of-type(2n+2) .field.operator .rightcorner {
  background: #E0E0FF;
}

.searchfields .field.value {
  width: 40%;
}

.ruleactions {
  padding: 32px 5px !important;
  text-align: right;
}

.ruleactions button {
  display: block;
  margin-top: 5px;
  min-width: 100%;
  white-space: nowrap;
}

.searchfields .ruleactions button.remove {
  visibility: hidden;
}

.searchfields+.searchfields .ruleactions button.remove {
  visibility: visible;
}

/* FIELD STYLING - END */



/* LABEL STYLING - START */

.ui-tooltip {
  border: 1px solid #ABCDEF;
  border-radius: 5px;
  padding: 5px;
}

.field label {
  box-sizing: border-box;
  line-height: 20px;
  vertical-align: top;
}

.field>label:after {
  content: ':';
}

.searchoptions label:after {
  padding-right: 5px;
}

.horizontalfields .field>label {
  display: block;
  white-space: nowrap;
}

.verticalfields .field>label {
  display: table-cell;
  text-align: right;
}

.field .fieldcontent label {
  background: #E0E0FF;
  border: 1px solid #D0D0FF;
  display: inline-block;
  min-height: 20px;
  padding: 1px;
  width: 100%;
}

.field .fieldcontent label a {
  color: #0000EE;
}

.field .fieldcontent label a:hover {
  text-decoration: underline;
}

.field input+label:before {
  content: '';
  padding-left: 5px;
}

.field input+label:after {
  content: '';
}

.exportoptions .field .fieldcontent label,
.importoptions .field .fieldcontent label {
  width: auto;
}

/* LABEL STYLING - END */



/* INPUT STYLING - START */

.fieldcontent {
  display: inline;
}

.verticalfields .fieldcontent {
  display: table-cell;
  vertical-align: middle;
  width: 70%;
}

.fieldcontent.trait {
  border: 1px solid blue;
}

.field input,
.field select,
.field textarea {
  border: 1px solid #ABCDEF;
  box-sizing: border-box;
  display: inline-block;
  padding: 1px;
  vertical-align: top;
  width: 100%;
}

.field input,
.field select {
  height: 20px;
}

.newSearchSectionContainer input,
.newSearchSectionContainer select {
  height: 32px;
  padding-top: 0px !important;
}


.field textarea {
  height: 60px;
}

.field input[type='checkbox'],
.field.operator select {
  width: auto;
}

.field input[type='file'] {
  height: auto;
}

.searchoptions input {
  width: 20%;
}

.field input.datetimepicker {
  width: 60%;
}

.field .datetimepickerbutton {
  width: 30%;
}

.field .fieldhiderbutton {
  display: none;
}

.fsoptreatment input {
  width: 70%;
}

.fsoptreatment .fieldhiderbutton {
  display: inline-block;
  width: 20%;
}

.ui-datepicker select {
  border: 1px solid #AED0EA;
}

.oldfilefield {
  border-left: 1px solid #ABCDEF;
  border-right: 1px solid #ABCDEF;
  border-top: 1px solid #ABCDEF;
  line-height: 22px;
  padding: 2px 5px 3px 5px;
  position: relative;
  text-align: right;
}

.oldfilefield:before,
.oldfilefield:after {
  font-style: italic;
  left: 0;
  line-height: 26px;
  padding-left: 5px;
  position: absolute;
  text-align: left;
}

.oldfilefield:before {
  content: "Existing: ";
  top: 0;
}

.oldfilefield:after {
  content: "New: ";
  top: 28px;
  z-index: 1;
}

.field .deleteoldfilebutton.smallinline {
  font-weight: bold;
  line-height: 20px;
  width: auto;
}

.field .fieldcontent label.newfilelabel {
  box-sizing: content-box;
  cursor: pointer;
  left: -1px;
  padding: 2px 0;
  position: absolute;
  text-align: left;
  top: 27px;
  width: 100%;
  z-index: 1;
}

.field .fieldcontent label.newfilelabel div {
  margin-left: 55px;
}

.field .fieldcontent label.newfilelabel>span {
  padding-right: 80px;
}

.field .cancelnewfilebutton.smallinline {
  display: none;
  font-weight: bold;
  line-height: 20px;
  position: absolute;
  right: 5px;
  top: 30px;
  width: auto;
  z-index: 1;
}

.field .cancelnewfilebutton.smallinline:active {
  left: auto;
}

.field input.newfilefield {
  height: 22px;
}

.field span.field-validation-valid {
  display: none;
}

.field span.field-validation-error {
  background: #FFDDEE;
  border: 1px solid #DCA7A7;
  border-radius: 5px;
  display: inline-block;
  font-style: italic;
  margin-top: 2px;
  padding: 2px 5px;
}

.field select.numerousmultiselect {
  height: 120px;
}

/* INPUT STYLING - END */



/* BUTTON STYLING - START */

.buttons {
  margin-top: -3px;
  text-align: center;
}

.buttons.rtl {
  direction: rtl;
  margin: 0 auto;
  text-align: right;
  width: 70%;
}

.searchbox .buttons.rtl {
  width: 100%;
}

.buttons.rtl .button {
  direction: ltr;
}

.button {
  background: #456789;
  border: 1px solid #345678;
  border-radius: 5px;
  box-shadow: 1px 1px 1px #888888;
  color: #FFFFFF;
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  margin: 5px;
  padding: 5px 10px;
  position: relative;
  text-align: center;
}

.button:hover {
  background: #56789A;
  border: 1px solid #456789;
  color: #FFFFFF;
}

.button:focus {
  box-shadow: 1px 1px 1px #888888, 0 0 0 1px #FFFFFF, 0 0 0 2px #FFAA00;
}

.button:active {
  background: #345678;
  border: 1px solid #234567;
  box-shadow: 0 0 1px #888888, 0 0 0 1px #FFFFFF, 0 0 0 2px #FFAA00;
  left: 1px;
  top: 1px;
}

.small span,
.smallinline span {
  font-size: 14px;
}

.button.add {
  background: #AADDFF;
  border: 1px solid #44AAFF;
  color: #333333;
}

.button.add:hover {
  background: #BBEEFF;
  border: 1px solid #55BBFF;
}

.button.add:active {
  background: #88CCFF;
  border: 1px solid #3399FF;
}

.button.delete {
  background: #FFD0E0;
  border: 1px solid #DCA0A0;
  color: #990000;
}

.button.delete:hover {
  background: #FFDDEE;
  border: 1px solid #DCA7A7;
}

.button.delete:active {
  background: #FFC0D0;
  border: 1px solid #DC9090;
}

.button.nav {
  background: #FCFC90;
  border: 1px solid #DADA47;
  color: #505000;
}

.button.nav:hover {
  background: #FFFFC0;
  border: 1px solid #EEDD00;
}

.button.nav:active {
  background: #F0F060;
  border: 1px solid #D0D000;
}

.button.separate {
  float: left;
}

.button.small,
.button.smallinline {
  box-shadow: none;
  font-weight: normal;
  margin: 0;
}

.button.small {
  padding: 2px 5px;
}

.button.smallinline {
  margin-left: 5px;
  padding: 0 5px;
}

.button.small:focus,
.button.smallinline:focus {
  box-shadow: 0 0 0 1px #FFFFFF, 0 0 0 2px #FFAA00;
}

.button[disabled="disabled"],
.button[disabled="disabled"]:hover {
  background: #EEEEEE;
  border-color: #CCCCCC;
  color: #AAAAAA;
  left: 0;
  top: 0;
}

.homebutton {
  display: inline-block;
  min-width: 30%;
  text-align: center;
}

.homebutton a {
  width: 250px;
}

/* BUTTON STYLING - END */



/* PAGINATION STYLING - START */

.resultsPagination {
  background: #E0E0FF;
  border: 1px solid #ABCDEF;
  border-top: none;
  border-radius: 0 0 5px 5px;
  margin: 0 10px;
  padding: 3px 6px;
}

.resultsPagination>div {
  box-sizing: border-box;
  display: table;
  padding: 3px 0;
  width: 100%;
}

.resultsPagination>div.resultsNavControls {
  border-top: 1px solid #D0C0EF;
  direction: rtl;
}

.resultsPagination>div>div,
.resultsPagination>div.resultsNavControls>div+div {
  direction: ltr;
  display: table-cell;
  text-align: left;
  vertical-align: middle;
}

.resultsPagination>div>div+div,
.resultsPagination>div.resultsNavControls>div {
  text-align: right;
}

.resultsPagination>div>div>div {
  display: inline-block;
  margin: 3px 0;
  white-space: nowrap;
}

.resultsPagination span {
  white-space: nowrap;
}

.resultsPagination label {
  display: inline-block;
  margin: 3px;
  vertical-align: middle;
}

.resultsPagination input,
.resultsPagination select {
  border: 1px solid #ABCDEF;
  box-sizing: border-box;
  height: 24px;
  line-height: 24px;
  margin: 0 3px;
  min-width: 50px;
  padding: 0;
  text-align: center;
  vertical-align: middle;
}

.resultsPagination .resultsSortSelector select {
  text-align: left;
}

.resultsPagination .button {
  margin: 0 3px;
  vertical-align: middle;
}

.resultsPageNav2 {
  direction: rtl;
  display: inline-block;
}

.resultsPageNav2>* {
  direction: ltr;
}

.resultsPageSelector {
  display: inline-block;
  height: 24px;
  line-height: 24px;
  margin: 0 3px;
  position: relative;
  vertical-align: middle;
  width: 70px;
}

.resultsPageSelector input,
.resultsPageSelector select {
  left: 0;
  margin: 0;
  position: absolute;
  top: 0;
}

.resultsPageSelector select {
  width: 70px;
}

.resultsPageSelector input {
  border-right: none;
  width: 50px;
}

/* PAGINATION STYLING - END */



/* RESULTS TABLE STYLING - START */

div.dt-buttons {
  display: table;
  float: none;
  margin: -5px auto 0 auto;
}

div.dt-buttons a {
  margin: 5px 5px 0 5px;
}

.resultsbox table {
  min-width: 100%;
}

.resultsbox th,
.resultsbox td {
  white-space: nowrap;
}

table.dataTable thead th.rowactionsColumn,
table.dataTable tbody td.rowactionsColumn {
  max-width: 75px;
  padding: 5px;
  text-align: center;
}

.rowaction {
  color: #000000;
  font-weight: bold;
  margin: 0 5px;
}

.rowaction.view {
  color: #003366;
}

.rowaction.view:hover {
  color: #0066FF;
}

.rowaction.edit {
  color: #006600;
}

.rowaction.edit:hover {
  color: #00AA00;
}

.rowaction.delete {
  color: #773333;
}

.rowaction.delete:hover {
  color: #FF6666;
}

.rowaction .fa {
  margin-right: 0;
}

.rowaction span+span {
  margin-left: 3px;
}

.rowactionsColumn .rowaction span+span {
  display: none;
}

table.dataTable td.dataTables_empty {
  text-align: left;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
  border-bottom: none;
}

.DTFC_LeftHeadWrapper,
.DTFC_LeftBodyWrapper {
  border-right: 1px solid #DDDDDD;
}

.DTFC_RightHeadWrapper,
.DTFC_RightBodyWrapper {
  border-left: 1px solid #DDDDDD;
}

/* RESULTS TABLE STYLING - END */



/* MAP STYLING - START */

.ol-dragbox {
  background: rgba(0, 0, 255, 0.25);
  border-color: rgba(0, 0, 255, 1);
}

.box-select {
  left: 0.5em;
  top: 70px;
}

.box-select .fa {
  margin-right: 0;
}

.box-select.selected button,
.colour-select button.selected {
  background: rgba(0, 60, 136, 0.9);
}

.colour-select {
  right: 0.5em;
  top: 35px;
}

.colour-select span {
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 5px;
  display: block;
  height: 70%;
  margin: auto;
  width: 70%;
}

.colour-select .marker-red span {
  background-color: #FF0000;
}

.colour-select .marker-green span {
  background-color: #009200;
}

.colour-select .marker-blue span {
  background-color: #004DFF;
}

#maincontent .mapbox {
  display: none;
  margin-bottom: 20px;
  margin-top: 30px;
  overflow: visible;
  padding-bottom: 55%;
  position: relative;
}

.mapcaption {
  font-size: 11px;
  font-style: italic;
  left: 3px;
  position: absolute;
  top: -15px;
  width: 100%;
}

.mapcaption code {
  font-style: normal;
  margin: 0 3px;
}

#resultsmap {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

#resultsmappopup {
  background: #FFFFFF;
  border-radius: 5px;
  box-shadow: 1px 1px 2px #000000;
  cursor: auto;
  padding: 10px;
  position: relative;
}

#resultsmappopup.input {
  text-align: center;
}

#resultsmappopup:before,
#resultsmappopup:after {
  background: #FFFFFF;
  bottom: -5px;
  content: '';
  display: block;
  height: 10px;
  left: 50%;
  margin-left: -5px;
  position: absolute;
  transform-origin: 50% 50%;
  transform: rotate(45deg);
  width: 10px;
}

#resultsmappopup:before {
  box-shadow: 1px 1px 2px #000000;
}

#resultsmappopup:after {
  height: 12px;
  margin-left: -6px;
  width: 12px;
}

#resultsmappopup .popupdatascroller {
  border-bottom: 1px solid #DDDDDD;
  border-top: 1px solid #DDDDDD;
  max-width: inherit;
  overflow-y: auto;
}

#resultsmappopup .popupdata {
  max-width: inherit;
  overflow-x: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#resultsmappopup label {
  font-weight: bold;
}

#resultsmappopup table {
  margin: 10px auto;
  text-align: left;
}

#resultsmappopup td {
  padding: 2px;
  vertical-align: top;
}

#resultsmappopup button {
  display: inline-block;
  margin: 0 5px;
  width: auto;
}

/* MAP STYLING - END */

/* SIDEBAR STYLING - START */

#sidebar {
  direction: ltr;
  display: table-cell;
  padding: 25px 25px 0 0;
  vertical-align: top;
  width: 225px;
}

#sidebarnav {
  background: #DDEEFF;
  border: 1px solid #ABCDEF;
  border-radius: 5px;
  box-shadow: 1px 1px 1px #888888;
  padding: 5px;
}

#sidebarnav ul {
  list-style: none;
  margin: 5px;
  padding: 0 0 5px 5px;
}

/* SIDEBAR STYLING - END */

/* RESPONSIVE STYLING - START */

@media screen and (max-width: 1000px) {

  .sitecontent {
    max-width: 100%;
  }

  #mobilenavtabspacer {
    display: table-cell;
    width: 60px;
  }

  #toplogo {
    width: auto;
  }

  #topnav {
    display: none;
  }

  div#siteheadercontent .headerusercredentials {
    display: table-cell;
  }

  #maincontent {
    padding-left: 10px;
    padding-right: 10px;
  }

  .logonbox,
  .subsystembox,
  .LogOnPage div.alert,
  .SelectSubSystemPage div.alert {
    margin: 0 auto;
  }

  #maincontent .mapbox {
    padding-bottom: 65%;
  }

  #sidebar {
    display: none;
  }

  #mobilenavoverlay,
  #mobilenavmenu {
    display: block;
  }

}

@media screen and (max-width: 640px) {

  .logonbox,
  .subsystembox,
  .logonfields,
  .subsystemfields,
  .LogOnPage div.alert,
  .SelectSubSystemPage div.alert {
    width: 100%;
  }

  .horizontalfields .field {
    display: block;
  }

  .exportoptions,
  .exportfields,
  .importoptions,
  .importfields,
  .importpreview {
    width: 100%;
  }

  .searchoptions .field {
    width: 49%;
  }

  .searchoptions label:first-child {
    display: inline-block;
    width: 80%;
  }

  .searchfields .field.value {
    width: auto;
  }

  .ruleactions {
    margin-top: -5px;
    padding: 0 5px 5px 5px;
  }

  .ruleactions button {
    display: inline-block;
    min-width: 50%;
  }

  .searchfields .ruleactions button.remove {
    display: none;
  }

  .searchfields+.searchfields .ruleactions button.remove {
    display: inline-block;
  }

  .buttons.rtl {
    width: 100%;
  }

  .resultsPagination>div>div {
    height: 40px;
  }

  .resultsPagination input,
  .resultsPagination select,
  .resultsPageSelector {
    /*height: 37px;
    line-height: 37px;*/
  }

  .resultsPagination .button span {
    display: block;
  }

  .DTFC_LeftWrapper {
    display: none;
  }

}

@media screen and (max-width: 480px) {

  form div.alert {
    margin: 0 auto 10px;
  }

  .verticalfields,
  .verticalfields .field,
  .verticalfields .field>label,
  .verticalfields .fieldcontent {
    box-sizing: border-box;
    display: block;
    width: 100%;
  }

  .field {
    padding: 5px 0;
  }

  .exportoptions .field,
  .exportfields .field,
  .importoptions .field,
  .importfields .field,
  .importpreview .field,
  .searchoptions .field,
  .searchfields .field {
    padding: 5px;
  }

  .searchoptions .field {
    text-align: center;
    width: 100%;
  }

  .field.operator {
    padding-bottom: 2px;
  }

  .ruleactions {
    margin-top: -5px;
    padding: 0 5px 5px 5px;
  }

  .verticalfields .field>label {
    text-align: left;
  }

  .searchoptions input+label,
  .searchoptions label:first-child {
    display: inline-block;
  }

  .searchoptions input+label {
    text-align: left;
    width: 150px;
  }

  .searchoptions label:first-child {
    text-align: right;
    width: 145px;
  }

  .buttons {
    margin-top: 0;
  }

  .button:not(.small):not(.smallinline) {
    display: block;
    margin: 15px 0 5px 0;
  }

  .button:first-child {
    margin-top: 0;
  }

  /*button.button {
    width: 100%;
  }

  .button.separate {
    float: none;
  }

  button.small {
    width: 50%;
  }*/

  .resultsPagination {
    margin: 0 5px;
    padding: 4px;
  }

  .resultsPagination>div>div,
  .resultsPagination>div>div+div,
  .resultsPagination>div.resultsNavControls>div,
  .resultsPagination>div.resultsNavControls>div+div {
    /*display: block;
    height: auto;
    padding: 5px 0;
    text-align: center;*/
  }

  .resultsPagination .button {
    display: inline-block;
    width: auto;
  }

  .resultsPageNav label {
    display: block;
    padding-bottom: 5px;
  }

  table.dataTable thead th.rowactionsColumn,
  table.dataTable tbody td.rowactionsColumn {
    padding-left: 0;
  }

  #resultsmappopup {
    font-size: 11px;
  }

}

/* RESPONSIVE STYLING - END */

/* THIS IS CODE FOR THE DOUBLE SCROLL BAR ON THE RESULTS PAGE */

#dsbFirstWrapper,
#dsbSecondWrapper {
  width: 100%;
  overflow-x: scroll;
  overflow-y: hidden;
}

#dsbFirstWrapper {
  height: 20px;
}

#results_table {
  width: 120%;
  overflow: auto;
  background-color: white;
}

.text-warning {
  color: #CC0000 !important;
}

.kmd-mapping-icon {
  width: 36px;
  padding-top: 10px;
}

.kmd-text-traits {
  color: blue !important;
}

.container {
  /*margin-left: 2% !important;
    margin-right: 2% !important;
    /*max-width: 1330px;*/
  max-width: 2400px !important;
}

#export-loader {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
}


/* Select 2 Stuff here TODO - Needs a little more cleaning up */


/* This adjusts the height of the Select2 Live Search box */
.select2-container--default .select2-results>.select2-results__options {
  max-height: 400px !important;
  min-height: 200px !important;
  overflow-y: auto !important;
}

/* MAKE BELOW MUCH MORE ELEGANT, LESS BRUTE FORCED */

.selection {
  width: 100%;
}

.select2-selection {
  box-sizing: none !important;
  border: 0px solid #ced4da !important;
}

.kmd-import-mapping+.select2-container {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  padding-top: 5px !important;
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;

  height: calc(2.25rem + 2px) !important;
  padding: 0.375rem 0.75rem;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da !important;
  border-radius: 0.25rem;
}

.kmd-genotype-lookup+.select2-container,
.kmd-trial-lookup+.select2-container,
.kmd-item-lookup+.select2-container,
.kmd-storage-lookup+.select2-container,
.kmd-trialUnitBarcode-lookup+.select2-container {
  padding-top: 5px !important;
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;

  height: calc(2.25rem + 2px) !important;
  padding: 0.375rem 0.75rem;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da !important;
  border-radius: 0.25rem;
}

.select2-selection__arrow {
  margin-top: 5px;
}

.select2-selection__rendered {
  padding-left: 4px !important;
}

.kmd-import-mapping+.select2-results__options:nth-child(1) {
  color: #CC0000;
}

[aria-label=Columns] {
  color: rgb(41, 81, 168);
}

[aria-label=Traits] {
  color: blue;
}


/* Fix for sidebar */

#sidebar-container {
  /*max-width: 275px;
  min-width: 172px !important;*/
}

/* Map */
.map {
  height: 500px;
  width: 100%;
  margin-bottom: 90px;
}


/* SIDE BAR TESTING STUFF */

.fa-angle-double-right {

  margin-left: auto;
  margin-right: 0;
}

/* Could be better? */

.ol-slider {
  z-index: 1002;
  font-size: 12px;
  position: relative;
  float: right;
  top: 2.2em;
  width: 100%;
  line-height: 1em;
}

.ol-custom1 {
  z-index: 1001;
  font-size: 9.5px;
  background: rgba(255, 255, 255, .85);
  position: relative;
  float: right;
  top: 2.8em;
  right: 0;
  margin-right: 10px;
  line-height: 1em;
}

.ol-custom1 strong {
  float: right;
  margin-left: 10px;
}

.ol-custom2 {
  z-index: 1001;
  font-size: 9.5px;
  background: rgba(255, 255, 255, 0);
  position: relative;

  top: calc(100% + 1.5em);
  margin-right: 10px;
  line-height: 1em;
  width: 200px;
  height: 0em;
}

#kmd-live-lon,
#kmd-live-lat {
  display: inline-block;
  background: rgba(255, 255, 255, .85);
  width: 100%;
  vertical-align: top;
}

/* Empty div to fix formatting here. Probably should be done in another way */

.emptyDiv {
  color: rgba(255, 255, 255, 0);
}

.ol-custom3 {
  z-index: 1001;
  font-size: 9.5px;
  position: absolute;
  top: calc(10% + 4.5em);
  left: 15%;
  margin-right: 10px;
  line-height: 1em;
  width: 50% !important;
  height: 4em;
}

.mapHide {
  display: none !important;
}

#mapDistance {
  width: 100%;
}

.fakeButton {
  background: none;
  border: none;
  cursor: pointer;
}

#map-page-loader-container {
  position: absolute;
  top: 20%;
  left: 30%;
  text-align: center;

  padding-left: 15%;
  padding-right: 15%;
  padding-top: 15%;
  padding-bottom: 15%;
  z-index: 9001;

  border: 2px solid darkblue;
  border-radius: 15px;

  background-color: lightblue;
}

.map-page-blur {
  filter: blur(8px);
  -webkit-filter: blur(8px);
}

.kmdGeomParentStyle {
  width: 50px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kmdGeomParentStyle:hover {
  overflow: visible;
  white-space: initial;
}


.side-bar-btn {
  height: 30px !important;
  border: 1px solid #003366;
  padding-left: 3px !important;
  margin-right: 5px;
  margin-bottom: 4px;
  padding: 3px;
  float: right;
  border-radius: 10px;
  width: 23px !important;
  text-align: center;
}


.side-bar-style2 {
  padding-top: 3px;
  display: block !important;
}


.side-bar-outer-stlye2 {
  height: 45px;
  padding-left: 30px !important;
  cursor: pointer;
}

.side-bar-btn2 {
  height: 30px !important;
  border: 1px solid #003366;
  padding-left: 3px !important;
  margin-right: 5px;
  margin-bottom: 8px;
  margin-top: -3px;
  padding: 3px;
  float: right;
  border-radius: 10px;
  width: 23px !important;
  text-align: center;
}

.side-bar-btn:hover,
.side-bar-btn2:hover,
.side-bar-btn3:hover,
.side-bar-style3:hover {
  background-color: #0066FF !important;
  box-shadow: 2px 2px black;
}

.list-group-item,
.sidebar-separator-title {
  clear: both;
  padding-right: 5px !important;
}

.side-bar-style3 {
  height: 46px;
  text-align: center;
  border: 1px solid #003366;
  display: block !important;
  padding: 1px;
  padding-top: 1px;
  padding-left: 1px;
  margin: 3px;
  margin-top: 3px;
  margin-bottom: 3px;
  padding-top: 3px;
  margin-top: 23px;
  padding-right: 0px !important;
}

.hub-page-links {
  text-align: left;
}

i.hub-page-links {
  float: right;
}

li.hub-page-links {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

.kmd-overflow-div {
  max-height: 260px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.card-img-top {
  max-height: 120px;
  max-width: 50%;
}


.hub-page-card .card-body {
  padding: 0px;
}

.hub-page-card .card-header {
  padding: 2px;
  padding-bottom: 0px;
}


.hub-page-card {
  height: 255px;
  text-size-adjust: 50%;
  margin-bottom: 10px;
}

.kmd-export-template-buttons .align-items-center {
  margin-top: 130px;
}

.kmd-manageExport-template-buttons {
  margin-top: 130px;
}

#exportTemplateConfirmButton {
  margin-left: 45%;
}

#exportTemplateConfirmText {

  width: 100% !important;
  display: block !important;
}

#kmdAvailableColumnsSearch,
#kmdExportColumnsSearch {
  width: 100%;
}

#kmd-modal-export .align-items-center {
  margin-top: 32px;
}

.delete-page-style {
  justify-content: space-between;
  margin-left: 0em;
  margin-right: 0em;
}


.resize-sidebar {
  margin-left: -5px;

}

@media (max-width: 1500px) {
  .list-group-item {
    /*height: 35px !important;*/
    font-size: 1.25vw !important;
  }

  .searchPageLabels {
    margin-top: -15px;
  }

  .side-bar-outer-stlye2 {
    height: 50px !important;
    padding-left: 3px !important;
    padding-right: 1px !important;
    cursor: pointer;
    box-sizing: border-box;
    padding-right: 5px !important;
    padding-top: 5px !important;
  }

  .side-bar-outer-stlye2 .menu-collapsed {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    padding-bottom: 5px;
  }

  .side-bar-btn2 {
    height: 20px !important;
    border: 1px solid #003366;
    padding-left: 1px !important;
    margin-right: 1px;
    margin-bottom: 1px;
    margin-top: -3px;
    padding: 1px;
    float: left;
    border-radius: 1px;
    width: 2.99vw !important;
    text-align: center;
  }

  .side-bar-btn {
    height: 30px !important;
    border: 1px solid #003366;
    padding-left: 3px !important;
    margin-right: 5px;
    margin-bottom: 4px;
    padding: 3px;
    float: right;
    border-radius: 10px;
    width: 23px !important;
    text-align: center;
  }


}

@media (max-width: 1300px) {

  /* .resize-sidebar {
    /*font-size: 0.70em !important;
  }
*/
  .side-bar-style3 {
    margin-left: 0px;
    height: 22px;
    margin-top: 52px;
    padding: 0 !important;
    padding-top: 1px;
  }

  .sectionText {
    visibility: hidden;
  }


  .searchPageLabels>span {
    font-size: 1vw;
  }

}


@media (max-width: 1900px) {
  .side-bar-style3 {

    padding-top: 9px;
  }

  .sectionButtons {
    width: 8.5% !important;
  }

  .sectionText {
    visibility: hidden;
  }



}


@media (max-width: 950px) {
  .side-bar-style2 small {
    display: block;
    padding-bottom: 2px;
  }
}

.mainStyle3 {
  max-width: 100% !important;
  padding-right: 2%;
  margin-top: 2px;
}

.mainStyle2 {
  max-width: 100% !important;
  padding-right: none;
  margin-top: 2px;
}

.mainStyle1 {
  max-width: 100% !important;
  padding-right: none;
  margin-top: 2px;
}

.inventory-side-bar {
  font-size: 0.80em;
  padding-top: 5px;
  padding-bottom: 0px;
  height: 35px !important;
}

.inventory-side-bar-separator {
  height: 5px !important;
  padding: 0px;
}


/* Data tables button */

.dataTablesButton,
.dataTablesButton2 {

  margin-top: 5px;
  margin-bottom: 5px;
  min-width: 130px;
  height: 30px !important;
  margin-left: 2vw;
  overflow: hidden;
  padding-top: 3px !important
}

.dataTablesButton2 {
  border-color: #1D6F42 !important;
  Background-color: #1D6F42 !important;
  float: left;

}

.dt-buttons {
  margin: 0px !important;
  width: 100%;
}

div.dt-button-collection {
  position: absolute;

  width: 200px;
  margin-top: 3px;
  padding: 8px 8px 4px 8px;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.4);
  background-color: white;
  border-radius: 5px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
  z-index: 2002;
}

.dt-button-collection .dt-button {
  display: inline-block;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 1px;
  line-height: 1.5;
  border-radius: 0.25rem;
  width: 100%;
  color: #fff;
  background-color: #1d90dd;
}

.dataTables_length {
  margin-bottom: -40px !important;
}

.dt-button-collection .dt-button:hover {
  background-color: #55aee9;
  box-shadow: 2px 2px black;
}

.sorting_disabled:hover {
  background-color: #f1f1f1;
  box-shadow: 1px 1px rgb(211, 211, 211);
}

.paginate_button {
  margin: 10px;
}

.paginate_button:hover {
  margin: 10px;
  cursor: pointer;
}

/*  MH removed to fix trial navigator.
  .paging_simple_numbers{
    margin-top: -20px !important;
  }
  */


.data-tables-button-grey {
  background-color: gray !important;
}

#kmd-mapping-count {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 8px;
}

#kmd-mapping-required {
  text-align: center;
  border: solid #000000;
  border-width: 2px;
  margin-top: 16px;
  margin-bottom: 8px;
  max-height: 275px;
  overflow-y: auto;
}

#kmd-mapping-required:empty {
  border: none;
  margin: 0;
}


.treant-title {
  margin-left: 50%;
  font-size: 18px;
  font-weight: bold;
}


.mouse-over {
  cursor: pointer;
}

/* FIREFOX FIX FOR WEIRD SELECTS */
/* TO CHECK WITH MH */
@supports (-moz-appearance:none) {

  SELECT {
    -moz-appearance: none !important;
    background: white url('data:image/gif;base64,R0lGODlhBgAGAKEDAFVVVX9/f9TU1CgmNyH5BAEKAAMALAAAAAAGAAYAAAIODA4hCDKWxlhNvmCnGwUAOw==') right center no-repeat !important;
    background-position: calc(100% - 5px) center !important;
  }

}

.modal-label {
  margin-top: 25px;
  margin-bottom: -25px;
  margin-left: -295px;

}

#trialGridTable {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

#trialGridTable td,
#trialGridTable th {
  border: 1px solid #ddd;
  padding: 8px;
}

#trialGridTable tr:nth-child(even) {
  background-color: #f2f2f2;
}

#trialGridTable td:hover {
  background-color: #ddd;
}


.hub-page-card div ul ul a {
  font-size: 0.9em !important;
  padding-left: 15px !important;
  background: none;
}

.gridId,
.gridRep,
.gridGen,
#gridIdPrev,
#gridRepPrev,
#gridGenPrev {
  display: block;
}

#gridSepSelect {
  width: 100%;
}

.card-body2 {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 0rem;
}

.card-header2 {
  padding-left: 0.25rem;
  border: none;
}

.search-page-no-margin {
  margin: 0 !important;
}

.search-page-pagination-style {
  margin-bottom: 0 !important;
  height: 78px;
  padding-top: 0;
}

.search-page-button-row {
  margin-bottom: 3px;
}

.search-page-button-row a,
.search-page-button-row button {
  width: 75%;
}

.search-page-button-row div {
  width: 0px;
}

.search-page-pagination-drawer {
  width: 150px;
  height: 25px;
  border-bottom-left-radius: 110px;
  border-bottom-right-radius: 110px;
  border: 1px solid gray;
  border-top: 0;
  padding: 0%;
  position: absolute;
  margin-left: 34%;
}

.search-page-clear-button {
  color: #212529 !important;
  background-color: #FFB3BA !important;
  border-color: #FFB3BA !important;
  margin-top: -72px !important;
  position: absolute;
  margin-left: 12px !important;
  background: #456789;
  border: 1px solid #345678;
  border-radius: 5px;
  box-shadow: 1px 1px 1px #888888;
  color: #FFFFFF;
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  margin: 5px;
  padding: 5px 10px;
  position: relative;
  text-align: center;
}

.main-nav-bar-title-container {
  margin-top: -36px;
}

.main-nav-bar-title {
  margin-top: 11px;
  color: #fff;
  font-family: Verdana, sans-serif;
  margin-bottom: -26px;
  padding: 0px;
  padding-left: 0px;
  padding-left: 0px;
  border-radius: 10px;
}

.main-nav-bar-title-subtitle {
  margin-top: 18px;
  font-family: Verdana, sans-serif;
  margin-bottom: -25px;
}

.katmandoo-logo {
  border-style: solid;
  border-width: 1px;
  border-color: black;
  border-radius: 14px;
  width: 5% !important;
  text-align: center;
  margin-bottom: -1px;
  margin-left: -6px;
  margin-right: -10px;
  z-index: 1;
}

#userdropdown::after {
  display: inline-block;
  margin-left: 1.9em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  margin-right: -15px;
  margin-top: -15px;
  margin-bottom: 19px;
}

#userdropdown {
  padding-top: 26px;
  margin-left: -4px;
}

.search-page-button-row-buttons {
  min-width: 60px;
  height: 25px !important;
  overflow: hidden;
  padding-top: 3px !important;
}

#notification-number {
  position: absolute;
  bottom: -2px;
  right: 28px;
  font-size: 11px;
  font-style: normal !important;

  font-weight: bold;
  border-radius: 113%;
  width: 16px;
}

#searchClearButton {
  margin-bottom: 10px;
  margin-top: -36px;
}

.search-page-hidden-searchexport-buttons {
  position: relative;
  float: right;
  margin-top: 3px !important;
  margin-bottom: -32px !important;
  z-index: 100;
  padding-right: 6px;
}

.wiggle-alert {
  animation: wiggle-alert 1s forwards ease-out;
}

.start-now,
.start-now:after {
  animation-delay: 0;
}

@keyframes wiggle-alert {
  0% {
    transform: none;
  }

  50% {
    transform: rotateZ(-20deg) scale(1.2);
  }

  60% {
    transform: rotateZ(25deg) scale(1.2);
  }

  67.5% {
    transform: rotateZ(-15deg) scale(1.2);
  }

  75% {
    transform: rotateZ(15deg) scale(1.2);
  }

  82.5% {
    transform: rotateZ(-12deg) scale(1.2);
  }

  85% {
    transform: rotateZ(0) scale(1.2);
  }

  100% {
    transform: rotateZ(0) scale(1);
  }
}

.mb-3.search-page-pagination-style {
  height: 10px;
}

#KMDLogo {
  height: 45px;
}

.error-download-button {
  position: absolute;
  z-index: 100;
  top: 0%;
  right: 0;
  margin-right: 9%;

  height: 75px;
  margin-top: 6px;
  padding: 15px;
  border: 4px solid #182b32;
  border-radius: 31px;
}

#downloadErrorBox {
  min-height: 90px;
}

.second-next-button {
  height: 10px;
  margin-top: -50px;
  margin-bottom: 25px;
  margin-left: 70%;
}

.second-next-button-preview {
  height: 10px;
  margin-top: 25px;
  margin-bottom: -25px;
  margin-left: 70%;
}

.second-next-button .btn {
  height: 25px;
  padding-top: 0;
  margin: 5px;
}

.new-alias-button-on-mapping {
  margin-top: 40px;
  margin-bottom: -35px;
  position: absolute;
  height: 25px;
  font-weight: normal;
  border-radius: 6px;
}

.border-blink {
  border: 1px #fff solid;
  animation: borderblink 0.8s;
  animation-iteration-count: 3;
}

@keyframes borderblink {
  50% {
    border-color: #0011a8;
  }
}


/* NOT TOO SURE WHERE THE OTHER CODE RELATING TO THIS WAS */
@media (max-width: 767px) {
  #menu-top-right {
    display: none;
  }

  .katmandoo-logo {
    margin-top: -12px;
  }

  .main-nav-bar-title-container {
    margin-top: -65px;
  }

  #searchPagePaginationButtons {
    margin-top: 6px;
  }

  .search-page-pagination-drawer {
    margin-top: 0px;
    left: 180px;
    display: none;
  }

  #pageNumberTextContainer {
    margin-top: -24px;
    margin-bottom: 34px;
  }

}

@media (max-width: 634px) {
  .search-page-pagination-style {
    height: 84px;
  }

  /* #searchPageResultsPerPage {
    margin-top: -3px;
  }*/

  #searchPagePaginationButtons {
    margin-top: 6px;
    margin-bottom: 30px !important;
  }

  #pageNumberTextContainer {
    margin-top: -24px;
    margin-bottom: 50px;
  }
}

@media (max-width: 988px) {
  .search-page-pagination-drawer {
    display: none;
  }
}

.input-group-sub-image {
  margin-left: -22px;
  margin-top: 18px;
  margin-right: 6px;
  color: #1d90dd;
  font-size: 13px;
  background-color: #e9ecef;
  height: 16px;
  border-color: #e9ecef;
  border-top-left-radius: 19px;
}

.lockWrapper {
  width: 35px;
  padding-left: 9px;
  padding-top: 9px;
}

.col-md-0 {
  margin: 0px !important;
}

.showBookKeepingButton {
  position: absolute;
  right: 25px;
  top: 10px;
  height: 27px !important;
  width: 27px !important;
  padding: 0;
}

.tg td {
  text-align: center;
}

#radioContainer {
  margin-bottom: 0px;
  margin-top: -46px;
  position: relative;
  margin-left: 184px;
  width: 180px;
}


#caseText {
  margin-top: -30px;
  margin-bottom: 12px;
  font-size: 12px;
  margin-left: 40px;
}


.caseButton {
  height: 25px;
  width: 25px;
  padding: 0;
  margin-bottom: 10px;
  margin-top: 11px;
  margin-left: 170px;
}

.caseButtonPressed {
  background-color: #1d90dd !important;
  color: white !important;
}

.please-select {
  border: 3px solid tomato;

}

/*#results_table_box{*/
/* width: 101% !important; */
/* Something like this being applied after the data table is drawn could help with the search bars always having a mm */
/*}*/

.exportToAllSubsystems {
  display: none;
}

.exportToAllSubsystemsVisual {
  background-color: rgb(221, 241, 181);
}

.exportToAllSubsystemsVisualBorder {
  border-width: 3px;
  border-style: solid;
  border-color: rgb(221, 241, 181);
}

#IncludeSubSystemNameInExport {
  margin-right: 20%;
  width: 175px;

  border-width: 3px;
  border-style: solid;
  border-color: rgb(221, 241, 181);

  visibility: hidden;
}

.sampleMeasTable {
  border: 1px solid black;
  width: 100%;
}

.sampleMeasTable td {
  border: 1px solid black;
  text-align: center;

}

.sampleMeasTable th {
  border: 1px solid black;
  text-align: center;
}

.unitPosInTable {
  background-color: rgb(196, 225, 255);
}

.sampleTypInTable {
  background-color: rgb(251, 255, 196);
}

.measurePageEditButton {
  width: 29px;
  padding: 2px;
  float: right;
}

.editInputBox {
  width: 100px;
}

#refreshWarning {
  background-color: rgb(255, 215, 215);
}

.fieldLayoutMeasurement {
  border: #000000 1px;
}

.VVV,
#fieldLayoutSampleTypePrev {
  background-color: rgb(236, 236, 255);

}

#fieldLayoutMeasurementPrev {
  background-color: #eaffea;
}

.fieldLayoutGen {
  background-color: #ffeaea;
}

.fieldLayoutRep {
  background-color: #feeaff;
}

#traitsVisibleToUsers,
#instanceNumbersVisibleToUses,
#lettersVisibleToUsers {
  width: 100%;
}

#fieldLayoutIdPrev,
#fieldLayoutGenPrev,
#fieldLayoutRepPrev {
  display: block;
}

#field_layout_generated_table td {
  text-align: center;
  border: 1px solid black;
}

#field_layout_generated_table,
#field_layout_generated_table th {
  border: 1px solid black;
}

.requiredField {
  border: 1px solid #3989be;
}

.new-item-group-added {
  margin-top: 56px;
  margin-bottom: -35px;
  position: absolute;
  height: 25px;
  font-weight: normal;
  border-radius: 6px;
  margin-left: 245px;
}

/*for item group as well*/
.genotypeGroupGenotypeButton {
  height: 25px;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 2px;
  padding-right: 2px;
  margin-left: 10px;
  margin-right: 15px;
  margin-bottom: 5px;
}

#previewInnerContainerKeys>* {
  display: block;
}

.invisibleHrElem {
  display: none;
}

.remover {
  background-color: rgb(255, 255, 255);
}

.duplicateError {
  border: 3px solid #c92323;
  background-color: rgb(250, 249, 218);
}

.MMOO tr:nth-child(even) {
  background: rgb(219, 235, 255);
}

.MMOO tr:nth-child(odd) {
  background: #FFF;
}

.MMOO {
  border: 1px solid black;
  margin-left: -3%;
}

.MMOO td,
.MMOO th {
  border: 1px solid black;
}

.link {
  color: #0000FF;
  text-decoration: underline;
}



.cssHighlightFlash {
  animation: blink .4s step-end infinite alternate;
}

@keyframes blink {
  50% {
    border: 2px solid #ecfa27;
  }
}

.newSearchBtnLocation {
  padding: 2px 5px;
  margin-right: 33px;
  margin-left: -1px;
  margin-top: -77px !important;
}

.searchfields+.searchfields .ruleactions button.newSearchBtnLocation {
  visibility: hidden;
}

.tab,
.tab2 {
  width: 28%;
  text-align: left;
  font-weight: bolder;
  display: inline-block;

}

.tab2 {
  font-weight: normal !important;
  width: 70% !important;
}

.alternatingSelect2 {

  background-Color: #e1e1e1e1;
  background-color: rgba(225, 225, 225, 0.882);
  margin: -6px;
  color: #000;
  padding: 6px;
}

.Select2CustomClass {
  margin-top: -8px;
  margin-bottom: -4px;
}

.newFeatureMM {
  background-color: ivory;
}

.newFeatureMMText {
  color: #0066FF;
  font-weight: bolder;
}

.newFeatureMMSideBar {
  background-color: #4db1f4 !important;
  height: 48px !important;
  padding-top: 3px;
}

.simpleExportButton {
  margin-left: -1px;
  margin-top: 22px !important;
  background: #AADDFF;
  border: 1px solid #44AAFF;
  color: #333333;
  height: 35px;
  padding-top: 4px;
  padding-bottom: 5px;
  padding-left: 3.75rem;
}

.newNextButtonDiv {
  width: 42% !important;
}

.newNextButtonBtn {
  background-color: #fefefe;
  border-style: solid;
  border-width: 2px;
  border-color: black;
}

.exportHelpButton {
  min-width: 24% !important;
  display: flex !important;
  float: right !important;
  margin-top: -31px !important;
  padding-left: 8.8% !important;
  height: 26px !important;
  border-style: solid;
  border-color: #df5959;
  border-width: 3px;
  padding: 0;
}

.deriveParents {
  cursor: pointer;
}

.messageBelow {
  margin-top: -34px;
  margin-left: 34.5%;
  margin-bottom: 10px;
  width: 65%;
}

#search-page-loader-container {
  display: none;

  position: absolute;
  top: 20%;
  left: 30%;
  text-align: center;

  padding-left: 15%;
  padding-right: 15%;
  padding-top: 15%;
  padding-bottom: 15%;
  z-index: 9001;

  border: 2px solid darkblue;
  border-radius: 15px;

  background-color: lightblue;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 20px;
  margin-bottom: -1px;
}


.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: #2196F3;
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

#removedInstanceColumnMessage {
  margin-left: 15px;
  margin-top: 5px;
}

#instanceHelpBtn {
  width: 33px;
  margin-left: -7px;
  margin-right: -34px;
  height: 29px;
  margin-top: -3px;
  background: #AADDFF;
  border: 1px solid #44AAFF;
  border-radius: 5px;
  padding-bottom: 2px;
  margin-bottom: -1px;
}

.editPageNonEditable {
  display: inline-block;
  margin-top: 7px;
}

@supports (-webkit-appearance:none) {
  .addPageGroup {
    outline-offset: 8px;
    outline: 1px dashed blue;
  }
}

@-moz-document url-prefix() {
  .addPageGroup {
    margin-top: -15px;
    outline-offset: -7px;
    outline: 1px dashed #0000ff9e;
    padding-top: 15px;
    padding-bottom: 1px;

    padding-left: 46px;
    margin-left: -45px;
    width: calc(102.2% + 1.69vh);

  }


}

.factorInfoButton {
  width: 26px;
  padding-right: 0px;
  padding-left: 0px;
  height: 30px;
  border: 1px solid rgb(49, 49, 49);

  margin-right: 8px;
  margin-left: -32px;
}

.factorInfoButton:hover {
  border: 1px solid rgb(0, 0, 0);

}

#factorInfoPopup {
  width: 230px;
  font-size: 0.6rem;
  background-color: white;
  color: black;
  text-align: left;
  margin-right: -230px;
  border: 1px solid black;
  z-index: 20;
  position: absolute;
  margin-left: -38px;
  margin-top: -80px;
}

.factorInfoPopupStyle {
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-top: 50px solid #cfcfcf;
  border-top-width: 50px;
  margin-top: 1px;
  margin-bottom: -26px;
  margin-right: 19px;
  position: absolute;
  margin-left: 24px;
  border-top-width: 10px;
}

.factorInfoPopupStyleTSS {
  width: 0;
  height: 0;
  border-top: 19px solid transparent;
  border-top-width: 19px;
  border-bottom: 15px solid transparent;
  border-left: 50px solid #cfcfcf;
  border-top-width: 50px;
  margin-top: -161px;
  margin-bottom: 26px;
  margin-right: 19px;
  position: absolute;
  margin-left: 227px;
  border-top-width: 10px;
}

.previewTableFL th,
.previewTableFL td,
.previewTableFL {
  border: 1px solid black;
}

.templateSave {
  border: 3px solid orange;
  margin-top: -2px;
}

.templateConfirm {
  border: 3px solid rgb(1, 177, 16);
  margin-top: -2px;
}


.tooltipZ {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltipZ .tooltiptextZ {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -60px;
}

.tooltipZ .tooltiptextZ::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

.tooltipZ:hover .tooltiptextZ {
  visibility: visible;
}


.traitSeparator {
  display: none;
}

#addToFieldLayoutList ul {
  padding-left: 0px;
}

#measurementAndSampleType ul i {
  margin-right: 5px;
}

#fieldLayoutTitle {
  display: inline-block;
  margin-right: 25px;
}

.thinHR {
  margin-top: 0px;
  margin-bottom: 6px;
}

.screenFiller {
  background-color: white;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0%;
  z-index: 1000;
  margin-left: -4%;
  padding-left: 16px;
}

.ValidationInnerCloseBtn_1 {
  margin-left: 35%;
  margin-top: 5px;
  margin-bottom: 5px;
  height: 26px;
  padding-top: 1px;
  padding-bottom: 1px;
}

.ValidationInnerCloseBtn_2 {
  margin-right: 0px;
  margin-left: 201px;
  border: 0;
  width: 27px;
  background-color: white;
}

.fullScreenElem {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  margin-left: 0px;
  background-color: white;
  z-index: 900;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fullScreenButton {
  position: absolute;
  top: 10px;
  left: 10px;
}

#tssDisplayTable td,
#fssDisplayTable td {
  width: 300px;
  padding-top: 12px;
  padding-bottom: 12px;
  border: 1px solid black;
}

#tssDisplayTable,
#fssDisplayTable {
  margin-left: -70px;
  /* Firefox */
  width: -moz-calc(100% + 70px);
  /* WebKit */
  width: -webkit-calc(100% + 70px);
  /* Opera */
  width: -o-calc(100% + 70px);
  /* Standard */
  width: calc(100% + 70px);
}

.tssButton,
.fssButton {
  width: 40px;
  margin-left: 2px;
}

.tssHR,
.fssHR {
  margin-top: 3px;
  margin-bottom: 3px;
  margin-right: 5px;
}

.tooManyColumnsWarning {
  border: solid #ff0a0a;
  border-top-width: medium;
  border-right-width: medium;
  border-bottom-width: medium;
  border-left-width: medium;
  border-width: 4px;
}

.kmd-genotypeGroup-lookup+span,
.kmd-itemGroup-lookup+span,
.kmd-trialGroup-lookup+span,
.kmd-genus-lookup+span,
.kmd-contact-lookup+span,
.kmd-operationType-lookup+span,
.kmd-itemType-lookup+span,
.kmd-containerType-lookup+span,
.kmd-breedingMethod-lookup+span {
  padding-left: 12px;
  border: 1px solid #ced4da;
}

.popupPrepend {
  width: 230px;
  margin-bottom: 4px;
}

@media (max-width: 1300px) {
  .homeSectionIcon {
    display: none;
  }

  .homeSectionText {
    float: none !important;
    margin-right: 5px !important;
  }
}

#trialImportQuickButtons {
  margin-top: 35px;
}

#printLabelLayoutTable tr td {
  padding: 5px;
  padding-bottom: 0px;
  padding-top: 10px;
  border: 1px solid black;
  width: 33%;
}

#printLabelLayoutTable {
  width: 90%;
  margin-left: 4%;
  margin-right: 6%;
}

#marginSelectTable,
#marginSelectTable tr,
#marginSelectTable tr td {
  padding: 5px;
}

#marginSelectTable {
  width: 90%;
  margin-left: 4%;
  margin-right: 6%;
}


@font-face {
  font-family: "DAFQ-39";
  src: url("/fonts/DAFQ-Code39-2x2.ttf") format("truetype");

}

.customfont,
.barcodeFont {
  font-family: "DAFQ-39";
}

@font-face {
  font-family: "DAFQ-128";
  src: url("/fonts/DAFQ-Code128-2x2.ttf") format("truetype");

}

.customfont128,
.barcodeFont128 {
  font-family: "DAFQ-128";
}

.barcodeFont,
.barcodeFont128,
.CONVERT_AFTER {
  text-align: center;
  display: block;
}

.CONVERT_AFTER img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 15%;
}


#qrcode {
  width: 160px;
  height: 160px;
  margin-top: 15px;
}

#barcodeRow {
  text-align: center;
}

.labelMarginHelper {
  border: solid 1px black;
  width: 100%;
  height: 52.5px;
  margin: 5px;
  max-width: 25%;
}

.printLabelSlider,
.printLabelSliderInput {
  width: 100px;
}

.topMarginInputZ {
  width: 110px;
  margin-left: 45%;
}

.leftMarginInputZ {
  width: 110px;

}

.rightMarginInputZ {
  width: 110px;
  float: right;
  margin-top: -82.3px;
}

.bottomMarginInputZ {
  width: 110px;
  margin-left: 45%;
}

.outerDivPadding {
  padding: 5px;
}

.previewBoxFill {
  width: 100%;
  height: 100%;
  border: dashed 1px black;
}

#printLabelPreviewBoxCont {
  border: solid 1px black;
  padding: 5px;
  height: 445.5px;
  width: 315px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.noCellBorder {
  border: none !important;
  width: 25px !important;
}

.AddNewPrintRowUp {
  border-radius: 50px 50px 0px 0px;
  border: 1px solid black !important;
  margin-right: 45%;
  margin-left: 45%;
  margin-top: 0px;
  margin-bottom: -1px;
}

.AddNewPrintRowDown {
  border-radius: 0px 0px 50px 50px;
  border: 1px solid black !important;
  margin-right: 45%;
  margin-left: 45%;
  margin-top: -10px;
}

#factorInfoPopupAlternate {
  width: 435px;
  font-size: 0.6rem;
  background-color: white;
  color: black;
  text-align: left;
  margin-right: -230px;
  border: 1px solid black;
  z-index: 20;
  position: absolute;
  margin-left: -13px;
  margin-top: -111px;
  padding: 10px;
}

#factorInfoPopupAlternate button {
  margin-right: 5px;
  border: 2px solid black;
}

.factorInfoPopupAlternateStyle {
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-top: 50px solid #cfcfcf;
  border-top-width: 50px;
  border-top-width: 50px;
  margin-top: 11px;
  margin-bottom: 15px;
  margin-right: -23px;
  position: absolute;
  margin-left: 205px;
  border-top-width: 10px;
}

.smallLabelButton {
  width: 9%;
  padding: 0;
  margin-top: -9px;
}

#innerPreviewBox {
  border: 3px dotted black;
  width: 100%;
  height: 100%;
}

#innerPreviewBox .row {
  margin: 0px;
}


@media print {
  body * {
    visibility: hidden;

  }

  body {
    min-width: none !important;
  }

  #printThis,
  #printThis * {
    visibility: visible;
  }

  #printThis {
    position: absolute;
    left: 0;
  }

  #printThis,
  #printTHisOld {
    text-align: center;
  }

  .navbar,
  #body-row {
    display: none;
  }

}

@page {
  size: portrait;
  /* auto is the initial value */
  margin: 0;
  /* this affects the margin in the printer settings */

}

@media print {
  * {
    -webkit-transition: none !important;
    transition: none !important;
    -moz-transition: none !important;
  }
}

.rowOverride {
  margin-right: 0px !important;
  margin-left: 0px !important;
}

#TrialId+.select2 {
  padding-bottom: 44px;
}

.labelOverFlowOptionText {
  font-size: 80%;
  font-weight: 400;
  position: absolute;
  margin-top: 3px;
  margin-left: 75px;
  display: none;
}

#navigatorView tr td,
#navigatorView tr th {
  border: 1px solid #dee2e6;
  padding-left: 6px;
  padding-right: 6px;
}

#buttonRow {
  margin-top: 5px;
  ;
}

#navigatorView th {
  text-align: center;
  border-bottom: 2px solid rgba(53, 53, 53, 0.795) !important;
  border-top: 2px solid #dee2e6 !important;
}

.navigatorInstanceCol {
  background-color: rgb(237, 248, 237);
}

.navigatorTraitCol {
  background-color: rgb(216, 233, 238);
}

.navigatorTraitMTCol {
  background-color: rgb(242, 248, 250);
}

@media print {
  .pagebreak {
    clear: both;
    break-before: always;
  }

  .actualPrintInnerDiv {
    border: none !important;
    position: static !important;
  }

  .printBorderHide div {
    border: none !important;
  }
}

.printBorderHide {
  border: none !important;
}

#hiddenExamplePL {
  display: none;
}

.itemGroupItemButton {
  margin-left: auto;
}


#mapHowToHelp1,
#mapHowToHelp2,
#mapHowToHelp3,
#mapHowToHelp4,
#mapHowToHelp5,
#mapHowToHelp6,
#mapHowToBackBtn {
  display: none;
}


#mapHowTo {
  width: 100%;
  text-align: center;
}

#mapHowTo th,
#mapHowTo td,
#mapHowTo {
  border: 1px solid black;
  padding: 55px;
}

.noBtnBackground {
  background-color: transparent;
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
  overflow: hidden;
  outline: none;

  width: 100%;
  text-align: center;
}

#myProgressVV {
  width: 100%;
  background-color: grey;
}

#myBarVV {
  width: 1%;
  height: 30px;
  background-color: green;
}

/*
.optionsThatAreMeasureTypes {
  background-color: #e7ebee;
}

.optionsThatAreFactors {
  background-color: #fcf3e6;
}

.optionsThatAreTraitsOrVariates {
  background-color: #e6e6e6;
}*/

.filterBubble {
  margin-right: 5px;
  margin-top: 2px;


  font-size: 0.775rem;
  line-height: 0.6;
  border-radius: 0.75rem;

  /*pointer-events: none;*/
}

/*
.filterBubble:hover {
  color: #212529;
  background-color: #94d0ff;
  border-color: #87cbff;
}*/

.newSearchSectionContainer {

  text-align: center;
}

.newSearchSectionContainer select {
  margin-top: 0px;
  margin-bottom: 0px;
}

.newSearchSectionContainer textarea {
  height: 68px;
}


.newSearchSectionSearchButton {
  font-size: 15px;
  margin-top: -2px;
}

.MM_NEW_SEARCH_RENAME_W {
  margin-top: 0px;
  padding: 2px 5px;
  margin-right: 33px;
  height: 40px;
  margin-bottom: -10px;

  padding-right: 25px;
  padding-left: 0px;
  margin-left: -11px;
}

.row .ruleactions {
  padding: 0px 5px;
}

.newSearchSectionContainer select,
.newSearchSectionContainer select,
.MM_NEW_SEARCH_RENAME_W .MM_NEW_SEARCH_RENAME_YY {
  text-align: center;
}

.newAddRuleSearchPageButtons {
  margin-right: 0px !important;
  margin-left: 107% !important;
  min-width: 6% !important;
  padding-left: 3px !important;
  padding-right: 0px !important;
  position: absolute;
  left: -20px;
}

.newAddRuleSearchPageButtons:active {
  left: -20px !important;
}

.newAddRuleSearchPageButtons.delete {
  top: 13px;
}


.newAddRuleSearchPageButtons.add {
  top: 61px;
}



.MM_NEW_SEARCH_RENAME_YY {
  display: inline-block;
}

.MM_NEW_SEARCH_RENAME_YY button {
  padding-top: 5px;
  height: 33px;
  margin-top: 8px;
}


.MM_NEW_SEARCH_RENAME_YZ {
  display: block;
  text-align: center;
}

.MM_NEW_SEARCH_RENAME_W select {}

.newSortByCustom {
  /*padding-left: 70px !important;*/
  padding-right: 20px !important;
  top: -16px;
}

.newResultsPerPage {
  margin-top: -27px;
  margin-right: -18px;
}

.newResultsPerPage span {
  /*font-size: 0.45vw;*/

}

.newSearchPageuttons {
  padding-left: 22px;
}

.newResultsPagination {
  height: 62px !important;
  margin-top: -12px;
}

.newResultsPagination * {
  font-size: small;
}

.newClearSearchButton {
  margin-top: 13px !important;
  position: absolute;
  right: -28px;
  z-index: 20;
}

.newClearSearchButton:active {
  left: 99.4% !important;
}

#resultsPerPageSelector {}

.finalColInNewSearchPage {
  margin-right: -30px !important;
  padding-right: 48px !important;
  padding-left: 48px !important;
  top: -5px;
}

.newButtonsOnSearchPage {
  top: -5px;
}

.newButtonsOnSearchPage2 {
  overflow: hidden;
  padding-left: 2px !important;
  padding-right: 2px !important;
  height: 35px !important;
  margin-top: -11px !important;
  padding-top: 4px !important;
  top: -8px;
}

.cloneZ .newSearchSectionSearchButton,
.cloneZ .simpleExportButton,
.cloneZ .newClearSearchButton,
.cloneZ .exportButtonContainer,
.cloneZ .btn-danger {
  visibility: hidden;
}

.remove {
  visibility: hidden;
}

.cloneZ .row .col-md-3 #searchSearchButtonZ .delete,
.cloneZ .row .col-md-4 button.remove {
  visibility: visible;
}

#searchSearchButtonZ .simpleExportButton,
#searchSearchButtonZ #searchSearchButton {
  width: 98%;
}

#searchSearchButtonZ .delete {
  visibility: hidden;
}

#navbarNavDropdown {
  position: absolute;
  right: 0px;
}

.logoInTopLeft {
  display: block;
  margin-left: 1%;
  height: 55px;
  position: absolute;
  min-width: 45px;
}

#navBarSubSystemName {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  width: fit-content;
}

.hideMeSidebar {
  /*display: none !important;
  width: 0%;*/
  position: absolute;
  z-index: 900;
  width: 100%;
  left: -17%;
}

.kmd-content-wrapper {
  padding-left: 4%;
  padding-right: 4%;
}

.kmd-content-wrapper2 {
  padding-left: 1%;
  padding-right: 1%;
}

#foldingSidebar {
  position: fixed;
  height: 80vh;
  width: 1.5%;
  top: 14%;
  left: 0px;
  border-radius: 0px 15px 15px 0px;
  padding-top: 19%;
  transition: width 0.5s, height 0.4s;
}

#foldingSidebar:hover {
  width: 16.66%;
}

.loaderZ {
  border: 16px solid #f3f3f3;
  /* Light grey */
  border-top: 16px solid #3498db;
  /* Blue */
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 0.2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.sidebarShow {
  position: absolute;
  z-index: 9000;
  opacity: 0.95;
  width: 16.666%;
}


#newHiddenThingZ {
  position: absolute;
  display: none;
  width: 20%;
  height: 20%;
  background-color: aqua;
  opacity: 0.1;
}

.wowZ {
  display: block !important;
}

.absoluteButton {
  position: relative;
  right: 0;
  left: 100%;
  margin-left: 7px;
  width: 1% !important;
  top: 10px;
}

.absoluteButton * {
  font-size: x-small;
}

#tableControls {
  display: none;
}

.gggg {
  position: absolute;
  right: -58%;
  top: 0px;
  z-index: 900000;
  height: 100vh;
  width: 37%;
  bottom: -217px;

}

.garrowsOnDrawer {
  transition: transform 1s;
}

.currentlySliding {
  -webkit-transform-origin: 100% 100%;
  transform: translateX(100%);
}

.currentlySpinning {}


.currentlySlidingBack {
  -webkit-transform-origin: 100% 0%;
  transform: translateX(0%);
}


.arrowsOnDrawer {
  margin-top: 20vh;
  margin-left: 23%;
}

#sectionSideBar {
  position: absolute;
  width: 33%;
  top: -17px;
  left: 7%;
}

.sectionButtons {
  display: inline-block;
  width: 10.5%;
  margin-left: -1%;
}

.sectionText {
  font-size: x-small;
  text-overflow: ellipsis;
  overflow: clip;
}

.hiddenZ {
  visibility: hidden;
}

#hiddenDataCheckSubmit {
  display: none;
}

#fakeSearchForMovingColumnsWithDataButton {
  width: 100%;
}


@media (max-width: 1630px) {
  .newButtonsOnSearchPage {
    /*font-size: 0px;*/
  }
}

@media (max-width: 1630px) {
  .newButtonsOnSearchPage2 {
    font-size: 0px;
  }
}

@media (max-width: 1375px) {
  #searchPageResultsPerPage {
    padding-left: 0px;
    padding-right: 0px;
  }
}


@media (max-width: 1228px) {
  #searchPageResultsPerPage span {
    font-size: 0px;
  }
}

@media (max-width: 950px) {
  /*#rpp{
    display: none;
  }*/
}

#resultsSortSelector {}

@media (max-width: 768px) {

  .logoInTopLeft {
    right: 35px;
  }

  #sectionSideBar {
    display: none;
  }

  #searchAddButton {
    display: none;


  }

  #searchpreLoadingButton {
    display: none;

  }

  .newButtonsOnSearchPage {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 16.66667%;
    flex: 0 0 16.66667%;
    max-width: 16.66667%;
  }

  #searchPageResultsPerPage {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }



  .navbar {
    z-index: 900;
  }



  .button:not(.small):not(.smallinline) {
    display: block;
    margin: 15px 0 5px 0;
  }

}

@media (max-width: 1800px) {
  .newAddRuleSearchPageButtons {
    left: -18px;
  }
}

.popOverValidation {
  background-color: beige;
  text-align: center;
  height: 6%;
  border: solid black 1px;
  border-radius: 20px;
  margin-bottom: 5px;
}

.EERR {
  margin-right: 25px;
}

.newSideBarTT {
  width: 35px;
  white-space: nowrap;
  overflow: hidden;
  margin-top: 0px;
  z-index: 99;
  position: absolute;

  -webkit-transition: width 1.2s ease-in-out;
  -moz-transition: width 1.2s ease-in-out;
  -o-transition: width 1.2s ease-in-out;
  transition: width 1.2s ease-in-out;
}

.newSideBarTT_Z {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  margin-top: 0px;
  z-index: 99;
  position: absolute;

  -webkit-transition: width 1.2s ease-in-out;
  -moz-transition: width 1.2s ease-in-out;
  -o-transition: width 1.2s ease-in-out;
  transition: width 1.2s ease-in-out;
}

#sidebar-container:hover .newSideBarTT {
  -webkit-transition: width 1.2s ease-in-out;
  -moz-transition: width 1.2s ease-in-out;
  -o-transition: width 1.2s ease-in-out;
  transition: width 1.2s ease-in-out;

  width: 100%;
}

.list-group-item {
  /*padding-left: 7px !important;*/
}

.list-group-item:first-child {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

.newSideBarTT_X {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  margin-top: 0px;
  z-index: 99;
  position: absolute;
}

.validationPageButtons {
  margin: 5px auto;
  display: block;
}

#colHeaderPop {
  font-weight: bold;
  margin: auto;
  width: 50%;
}


#userdropdown_Z {
  padding-left: 4px;
  padding-right: 8px;
}

.blob {
  border-radius: 50%;
  transform: scale(1);
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(243, 239, 0, 0.8);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(243, 239, 0, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(243, 239, 0, 0);
  }
}

#wrapper1,
#wrapper2 {
  width: 95vw;
  border: none 0px RED;
  overflow-x: scroll;
  overflow-y: hidden;
}


.div1 {
  width: 125rem;
  height: 20px;
}

.div2 {
  width: 125rem;
  overflow: auto;
}

#filterBubbleRow {
  margin-top: 4px;
}

#filterBubbleRowContainer {
  margin-top: -19px;
  margin-left: 4px;
  background-color: #f7f7f7;
  border-radius: 0px 0px 25px 25px;
  width: 99%;
  height: 33px;
}

.redundantAlias {
  background-color: #fde6fd;
}

.nameAndAliasConflict {
  background-color: #e0fde0;
}

.duplicateAliasName {
  background-color: #ffecca;
}

.duplicateAliasName2 {
  background-color: #ffd998;
}

.bigCheckBox {
  /* Double-sized Checkboxes */
  -ms-transform: scale(2.5);
  /* IE */
  -moz-transform: scale(2.5);
  /* FF */
  -webkit-transform: scale(2.5);
  /* Safari and Chrome */
  -o-transform: scale(2.5);
  /* Opera */
  transform: scale(2.5);
  margin-right: 10px;

  width: 5%;
  margin-left: 2px;
  margin-right: 7px;
}

.tableWithLines>* {
  border: 1px solid black;
}

.removeTopBorderForMergeEffect {
  border-top: 1px solid #dee2e6;
}

.duplicateAliasName2>* {
  border-top: none !important;
}

.duplicateAliasName>* {
  border-top: none !important;
}

.tableRightBorderLine {
  border-right: 2px solid black !important;
}

.manageAliasExampleBorder {
  border: solid 1px black;
  padding: 2px;
}

#exportSwitch1 {
  position: absolute;
  bottom: 0px;
}

#traitSwitch {

  position: absolute;
  bottom: 65px;
}

#robotButton {
  float: left;
  padding: 3px;
  font-size: small;
  margin-top: -1px;
  margin-right: -54px;
  margin-left: 0px;
}

@media (max-width: 576px) {
  .robotButton {
    display: none;
  }
}

.exportColSearchBars {
  border-radius: 12px 12px 0px 0px;
  padding-left: 13px;
  border: 1px solid #ced4da;
  border-bottom-width: 0px;
}

.bigIconButton {
  font-size: x-large;
  padding: 0px;
  padding-right: 10px;
  padding-left: 10px;
}

.hideExportBeforeTypeSelection {
  opacity: 0;
}

.testButton {
  width: 100%;
  height: 8rem;
  margin-top: 30px;
}

#buttonModalContainer {
  padding: 45px;
  padding-top: 15px;
  display: none;
}

.blobZZ {
  transform: scale(1);
  animation: pulseAA 1s infinite;
  text-align: center;
  color: white;
}

@keyframes pulseAA {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 252, 252, 0);
  }
}

#storageLocationDetails {
  margin-top: -30px;
  margin-bottom: 16px;
  display: none;
}

.input-group-append .simpleExportButton {
  padding-left: 20px;
  padding-right: 20px;
}

.newSearchSectionContainer span {
  font-size: 14px;
}

#searchPageColumnNameDiv {
  padding-left: 2rem !important;
  margin-top: -12px;
}

#searchPageConditionDiv {
  padding-right: 0.75rem !important;
  margin-top: -12px;
}

#searchPageConditionDiv select {
  text-overflow: ellipsis;
}

#searchPageExportButton {
  width: 100% !important;
}

#searchPageExportButtonAlt {
  /*width: 10% !important;
  padding-left: 10px !important;*/
}

.pastelLightBlue {
  background: #AADDFF;
  border: 1px solid #44AAFF;
  color: #333333;
}

.exportButtonContainer {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.searchButtonMarg {
  margin-left: auto;
  margin-right: auto;
}

.exportButtonContainer .col-md-10 button,
.exportButtonContainer .col-md-2 button {
  border-radius: 6px;
  font-size: 14px;
}

#exportFooter {
  /*display: none;*/
}

.select-line {
  font-size: 10px !important;
  background-color: #f0f0f0;
}

.previewStatus_U,
#updatedCounter {
  background-color: #fffed5;
}

.previewStatus_A,
#addedCounter {
  background-color: #eefce8;
}

.previewStatus_D,
#deletedCounter {
  background-color: #ffdddd;
}

.rowSame,
#unchangedCounter {
  background-color: #e1dfdf;
}

#hiddenRowCounterDisplay,
#updatedCounter,
#addedCounter,
#deletedCounter,
#unchangedCounter {
  cursor: pointer;
}

.betterHR {
  margin-top: -3px !important;
  margin-bottom: 6px !important;
}

.previewButton {
  box-shadow: 1px 1px 1px #888888;
  box-sizing: border-box;
  display: table;
  width: 100%;
  margin: 5px auto 20px;
  width: auto;
}

.validationTableErrorCellOuter {
  background-color: #ffdddd;
}

#validaionStaticRow {
  background-color: white;
  position: sticky;
  top: 0px;
  height: 51px;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  padding-top: 5px;
}

.searchPageDatePickerButton {
  position: absolute;
  width: 43px;
  height: 35px;
  top: 0px;
  right: 0px;
  margin-right: 4px;
  margin-top: 2px;
}


.searchPageDatePicker {
  position: relative;
  z-index: -1;
}

.treant-mum {
  background: #EA8F9E;
  border: 1px solid #000000;
}

.treant-dad {
  background: #88CCEE;
  border: 1px solid #000000;
}

.treant-base-mum {
  background: #ECDD91;
  border: 1px solid #DDDD88;
}

.treant-base-dad {
  background: #44AA99;
  border: 1px solid #DDDD88;
}

.treant-mum-and-dad {
  background: #FFFFAA;
  border: 1px solid #DDDD88;
  background: linear-gradient(to right, #EA8F9E 50%, #88CCEE 50%);
}

.treant-base-mum-and-dad {
  background: #FFFFAA;
  border: 1px solid #DDDD88;

}

#parentColourCoding {
  pointer-events: none;
  display: none;
}

#baseParentColourCoding {
  pointer-events: none;
  display: none;
}

.genotypeTabDisabled {
  pointer-events: none !important;
  cursor: default !important;
}


#baseGenotypeOnGenoTreeBox {
  border: 1px solid;

  border-radius: 10px;
}

#baseGenotypeOnGenoTreeHR {
  margin-top: 2px;
  margin-bottom: 2px;
}

/*.nav-bar-text-@ViewBag.Section*/
#jumpBelowError {
  padding: 0;
  margin-right: 13px;
  margin-top: 60px;
  height: 11px;
}

#genotypeHoverHidden {
  position: fixed;
  background: wheat;
  padding: 10px;
  border: solid 2px black;
  pointer-events: none;
  z-index: 999999999999;
}

.columnMappingNoData {
  background-color: #ff000017;
  border: 1px solid #ff1212;
}

.columnMappingNoDataText {
  text-align: center;
  font-weight: bolder;
  border-radius: 25px;
  margin-bottom: 3px !important;
  margin-top: 3px !important;
  padding-top: 10px;
}

pre {
  border: 1px solid #555;
  border-radius: 5px;
  padding: 10px;
  font-family: "Ubuntu Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background-color: #bcdff7;
  text-align: left;
}

#errHelperUserDetails {
  border: 1px solid black;
  border-radius: 20px;
  padding: 1%;
}

.errPagePermissionButtons {
  width: 95%;
  margin-top: 5px;
  padding: 2%;
}

#errorText {
  max-height: 200px;
  display: inline-block;
  overflow: scroll;
  overflow-x: hidden;
}

#consoleErrors {
  margin-top: 5px;
}

.copyToClipboardButton {

  padding: 8px 12px;
  background-color: #FFF0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  position: absolute;
  right: 10px;
  margin-top: -10px;

}

#emailContents .copyToClipboardButton{
  margin-top: -36px;
}

.hideRowsWithoutIssuesButton{
  position: fixed;
  right: 10%;
}

.lookupTypeDropDown{
  width: 100%;
  left: -56px !important;
}

.traitShiftVariateSelected{
  display: block !important;
}

.traitShiftVariates{
  display: none;
}

.trialUnitSelector{
  border: 1px dashed black;
  cursor: pointer;
  background-color: rgb(235, 235, 235);
  padding: 2px;
  text-align: center;
  margin: 5px;
}

.trialUnitSelector:hover{
  background-color: rgb(206, 206, 206);
}

.slectedPlot{
  background-color: rgb(206, 206, 206) !important;
  border: 2px solid black !important;
}