/* reset styling (prevent conflicts with bootstrap, materialize.css, etc.) */

div.JSONEditorAdvanced .JSONEditorAdvanced-search input {
  height: auto;
  border: inherit;
}

div.JSONEditorAdvanced .JSONEditorAdvanced-search input:focus {
  border: none !important;
  box-shadow: none !important;
}

div.JSONEditorAdvanced table {
  border-collapse: collapse;
  width: auto;
}

div.JSONEditorAdvanced td,
div.JSONEditorAdvanced th {
  padding: 0;
  display: table-cell;
  text-align: left;
  vertical-align: inherit;
  border-radius: inherit;
}


div.JSONEditorAdvanced-field,
div.JSONEditorAdvanced-value,
div.JSONEditorAdvanced-readonly,
div.JSONEditorAdvanced-default {
  border: 1px solid transparent;
  min-height: 16px;
  min-width: 32px;
  padding: 2px;
  margin: 1px;
  word-wrap: break-word;
  float: left;
}

/* adjust margin of p elements inside editable divs, needed for Opera, IE */

div.JSONEditorAdvanced-field p,
div.JSONEditorAdvanced-value p {
  margin: 0;
}

div.JSONEditorAdvanced-value {
  word-break: break-word;
}

div.JSONEditorAdvanced-readonly {
  min-width: 16px;
  color: #808080;
}

div.JSONEditorAdvanced-empty {
  border-color: #d3d3d3;
  border-style: dashed;
  border-radius: 2px;
}

div.JSONEditorAdvanced-field.JSONEditorAdvanced-empty::after,
div.JSONEditorAdvanced-value.JSONEditorAdvanced-empty::after {
  pointer-events: none;
  color: #d3d3d3;
  font-size: 8pt;
}

div.JSONEditorAdvanced-field.JSONEditorAdvanced-empty::after {
  content: "field";
}

div.JSONEditorAdvanced-value.JSONEditorAdvanced-empty::after {
  content: "value";
}

div.JSONEditorAdvanced-value.JSONEditorAdvanced-url,
a.JSONEditorAdvanced-value.JSONEditorAdvanced-url {
  color: green;
  text-decoration: underline;
}

a.JSONEditorAdvanced-value.JSONEditorAdvanced-url {
  display: inline-block;
  padding: 2px;
  margin: 2px;
}

a.JSONEditorAdvanced-value.JSONEditorAdvanced-url:hover,
a.JSONEditorAdvanced-value.JSONEditorAdvanced-url:focus {
  color: #ee422e;
}

div.JSONEditorAdvanced td.JSONEditorAdvanced-separator {
  padding: 3px 0;
  vertical-align: top;
  color: #808080;
}

div.JSONEditorAdvanced-field[contenteditable=true]:focus,
div.JSONEditorAdvanced-field[contenteditable=true]:hover,
div.JSONEditorAdvanced-value[contenteditable=true]:focus,
div.JSONEditorAdvanced-value[contenteditable=true]:hover,
div.JSONEditorAdvanced-field.JSONEditorAdvanced-highlight,
div.JSONEditorAdvanced-value.JSONEditorAdvanced-highlight {
  background-color: #FFFFAB;
  border: 1px solid yellow;
  border-radius: 2px;
}

div.JSONEditorAdvanced-field.JSONEditorAdvanced-highlight-active,
div.JSONEditorAdvanced-field.JSONEditorAdvanced-highlight-active:focus,
div.JSONEditorAdvanced-field.JSONEditorAdvanced-highlight-active:hover,
div.JSONEditorAdvanced-value.JSONEditorAdvanced-highlight-active,
div.JSONEditorAdvanced-value.JSONEditorAdvanced-highlight-active:focus,
div.JSONEditorAdvanced-value.JSONEditorAdvanced-highlight-active:hover {
  background-color: #ffee00;
  border: 1px solid #ffc700;
  border-radius: 2px;
}

div.JSONEditorAdvanced-value.JSONEditorAdvanced-string {
  color: #006000;
}

div.JSONEditorAdvanced-value.JSONEditorAdvanced-object,
div.JSONEditorAdvanced-value.JSONEditorAdvanced-array {
  min-width: 16px;
}

div.JSONEditorAdvanced-value.JSONEditorAdvanced-number {
  color: #ee422e;
}

div.JSONEditorAdvanced-value.JSONEditorAdvanced-boolean {
  color: #ff8c00;
}

div.JSONEditorAdvanced-value.JSONEditorAdvanced-null {
  color: #004ED0;
}

div.JSONEditorAdvanced-value.JSONEditorAdvanced-invalid {
  color: #000000;
}

div.JSONEditorAdvanced-default {
  color: #808080;
  padding-left: 10px;
}

div.JSONEditorAdvanced-tree button.JSONEditorAdvanced-button {
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0;
  border: none;
  cursor: pointer;
  background: transparent url("img/jsoneditor-icons.svg");
}

div.JSONEditorAdvanced-mode-view tr.JSONEditorAdvanced-expandable td.JSONEditorAdvanced-tree,
div.JSONEditorAdvanced-mode-form tr.JSONEditorAdvanced-expandable td.JSONEditorAdvanced-tree {
  cursor: pointer;
}

div.JSONEditorAdvanced-tree button.JSONEditorAdvanced-collapsed {
  background-position: 0 -48px;
}

div.JSONEditorAdvanced-tree button.JSONEditorAdvanced-expanded {
  background-position: 0 -72px;
}

div.JSONEditorAdvanced-tree button.JSONEditorAdvanced-contextmenu {
  background-position: -48px -72px;
}

div.JSONEditorAdvanced-tree button.JSONEditorAdvanced-contextmenu:hover,
div.JSONEditorAdvanced-tree button.JSONEditorAdvanced-contextmenu:focus,
div.JSONEditorAdvanced-tree button.JSONEditorAdvanced-contextmenu.JSONEditorAdvanced-selected,
tr.JSONEditorAdvanced-selected.JSONEditorAdvanced-first button.JSONEditorAdvanced-contextmenu {
  background-position: -48px -48px;
}

div.JSONEditorAdvanced-tree *:focus {
  outline: none;
}

div.JSONEditorAdvanced-tree button.JSONEditorAdvanced-button:focus {
  /* TODO: nice outline for buttons with focus
  outline: #97B0F8 solid 2px;
  box-shadow: 0 0 8px #97B0F8;
  */
  background-color: #f5f5f5;
  outline: #e5e5e5 solid 1px;
}

div.JSONEditorAdvanced-tree button.JSONEditorAdvanced-invisible {
  visibility: hidden;
  background: none;
}

div.JSONEditorAdvanced-tree div.JSONEditorAdvanced-show-more {
  display: inline-block;
  padding: 3px 4px;
  margin: 2px 0;
  background-color: #e5e5e5;
  border-radius: 3px;
  color: #808080;
  font-family: arial, sans-serif;
  font-size: 10pt;
}

div.JSONEditorAdvanced-tree div.JSONEditorAdvanced-show-more a {
  display: inline-block;
  color: #808080;
}

div.JSONEditorAdvanced-tree div.JSONEditorAdvanced-show-more a:hover,
div.JSONEditorAdvanced-tree div.JSONEditorAdvanced-show-more a:focus {
  color: #ee422e;
}

div.JSONEditorAdvanced-tree div.JSONEditorAdvanced-color {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 4px;
  border: 1px solid #808080;
  cursor: pointer;
}

div.JSONEditorAdvanced div.JSONEditorAdvanced-anchor .picker_wrapper.popup.popup_bottom {
  top: 28px;
  left: -10px;
}

div.JSONEditorAdvanced-tree div.JSONEditorAdvanced-date {
  background: #a1a1a1;
  color: white;
  font-family: arial, sans-serif;
  border-radius: 3px;
  display: inline-block;
  padding: 3px;
  margin: 0 3px;
}

div.JSONEditorAdvanced {
  color: #1A1A1A;
  border: thin solid #3883fa;
  /* we use thin and not 1px to work around an issue in Chrome/IE, see #637 */
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  position: relative;
  padding: 0;
  line-height: 100%;
}

div.JSONEditorAdvanced-tree table.JSONEditorAdvanced-tree {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

div.JSONEditorAdvanced-outer {
  position: static;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

div.JSONEditorAdvanced-outer.has-nav-bar {
  margin-top: -26px;
  padding-top: 26px;
}

div.JSONEditorAdvanced-outer.has-status-bar {
  margin-bottom: -26px;
  padding-bottom: 26px;
}

div.JSONEditorAdvanced-outer.has-main-menu-bar {
  margin-top: -35px;
  padding-top: 35px;
}

div.JSONEditorAdvanced-outer.has-nav-bar.has-main-menu-bar {
  margin-top: -61px;
  padding-top: 61px;
}

textarea.JSONEditorAdvanced-text,
.ace-JSONEditorAdvanced {
  min-height: 150px;
}

div.JSONEditorAdvanced-tree {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: auto;
}

textarea.JSONEditorAdvanced-text {
  width: 100%;
  height: 100%;
  margin: 0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline-width: 0;
  border: none;
  background-color: white;
  resize: none;
}

tr.JSONEditorAdvanced-highlight,
tr.JSONEditorAdvanced-selected {
  background-color: #d3d3d3;
}

tr.JSONEditorAdvanced-selected button.JSONEditorAdvanced-dragarea,
tr.JSONEditorAdvanced-selected button.JSONEditorAdvanced-contextmenu {
  visibility: hidden;
}

tr.JSONEditorAdvanced-selected.JSONEditorAdvanced-first button.JSONEditorAdvanced-dragarea,
tr.JSONEditorAdvanced-selected.JSONEditorAdvanced-first button.JSONEditorAdvanced-contextmenu {
  visibility: visible;
}

div.JSONEditorAdvanced-tree button.JSONEditorAdvanced-dragarea {
  background: url("img/jsoneditor-icons.svg") -72px -72px;
  cursor: move;
}

div.JSONEditorAdvanced-tree button.JSONEditorAdvanced-dragarea:hover,
div.JSONEditorAdvanced-tree button.JSONEditorAdvanced-dragarea:focus,
tr.JSONEditorAdvanced-selected.JSONEditorAdvanced-first button.JSONEditorAdvanced-dragarea {
  background-position: -72px -48px;
}

div.JSONEditorAdvanced tr,
div.JSONEditorAdvanced th,
div.JSONEditorAdvanced td {
  padding: 0;
  margin: 0;
}

div.JSONEditorAdvanced td {
  vertical-align: top;
}

div.JSONEditorAdvanced td.JSONEditorAdvanced-tree {
  vertical-align: top;
}

div.JSONEditorAdvanced-field,
div.JSONEditorAdvanced-value,
div.JSONEditorAdvanced td,
div.JSONEditorAdvanced th,
div.JSONEditorAdvanced textarea,
.JSONEditorAdvanced-schema-error {
  font-family: "dejavu sans mono", "droid sans mono", consolas, monaco, "lucida console", "courier new", courier, monospace, sans-serif;
  font-size: 10pt;
  color: #1A1A1A;
}

/* popover */

.JSONEditorAdvanced-schema-error {
  cursor: default;
  display: inline-block;
  /*font-family: arial, sans-serif;*/
  height: 24px;
  line-height: 24px;
  position: relative;
  text-align: center;
  width: 24px;
}

div.JSONEditorAdvanced-tree .JSONEditorAdvanced-button.JSONEditorAdvanced-schema-error {
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0 4px 0 0;
  background: url("img/jsoneditor-icons.svg")  -168px -48px;
}

.JSONEditorAdvanced-text-errors tr.jump-to-line:hover {
  text-decoration: underline;
  cursor: pointer;
}

.JSONEditorAdvanced-schema-error .JSONEditorAdvanced-popover {
  background-color: #4c4c4c;
  border-radius: 3px;
  box-shadow: 0 0 5px rgba(0,0,0,0.4);
  color: #fff;
  display: none;
  padding: 7px 10px;
  position: absolute;
  width: 200px;
  z-index: 4;
}

.JSONEditorAdvanced-schema-error .JSONEditorAdvanced-popover.JSONEditorAdvanced-above {
  bottom: 32px;
  left: -98px;
}

.JSONEditorAdvanced-schema-error .JSONEditorAdvanced-popover.JSONEditorAdvanced-below {
  top: 32px;
  left: -98px;
}

.JSONEditorAdvanced-schema-error .JSONEditorAdvanced-popover.JSONEditorAdvanced-left {
  top: -7px;
  right: 32px;
}

.JSONEditorAdvanced-schema-error .JSONEditorAdvanced-popover.JSONEditorAdvanced-right {
  top: -7px;
  left: 32px;
}

.JSONEditorAdvanced-schema-error .JSONEditorAdvanced-popover:before {
  border-right: 7px solid transparent;
  border-left: 7px solid transparent;
  content: '';
  display: block;
  left: 50%;
  margin-left: -7px;
  position: absolute;
}

.JSONEditorAdvanced-schema-error .JSONEditorAdvanced-popover.JSONEditorAdvanced-above:before {
  border-top: 7px solid #4c4c4c;
  bottom: -7px;
}

.JSONEditorAdvanced-schema-error .JSONEditorAdvanced-popover.JSONEditorAdvanced-below:before {
  border-bottom: 7px solid #4c4c4c;
  top: -7px;
}

.JSONEditorAdvanced-schema-error .JSONEditorAdvanced-popover.JSONEditorAdvanced-left:before {
  border-left: 7px solid #4c4c4c;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  content: '';
  top: 19px;
  right: -14px;
  left: inherit;
  margin-left: inherit;
  margin-top: -7px;
  position: absolute;
}

.JSONEditorAdvanced-schema-error .JSONEditorAdvanced-popover.JSONEditorAdvanced-right:before {
  border-right: 7px solid #4c4c4c;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  content: '';
  top: 19px;
  left: -14px;
  margin-left: inherit;
  margin-top: -7px;
  position: absolute;
}

.JSONEditorAdvanced-schema-error:hover .JSONEditorAdvanced-popover,
.JSONEditorAdvanced-schema-error:focus .JSONEditorAdvanced-popover {
  display: block;
  -webkit-animation: fade-in .3s linear 1, move-up .3s linear 1;
  -moz-animation: fade-in .3s linear 1, move-up .3s linear 1;
  -ms-animation: fade-in .3s linear 1, move-up .3s linear 1;
}

@-webkit-keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-moz-keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-ms-keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/*@-webkit-keyframes move-up {*/

/*from   { bottom: 24px; }*/

/*to { bottom: 32px; }*/

/*}*/

/*@-moz-keyframes move-up {*/

/*from   { bottom: 24px; }*/

/*to { bottom: 32px; }*/

/*}*/

/*@-ms-keyframes move-up {*/

/*from   { bottom: 24px; }*/

/*to { bottom: 32px; }*/

/*}*/

/* JSON schema errors displayed at the bottom of the editor in mode text and code */

.JSONEditorAdvanced .JSONEditorAdvanced-validation-errors-container {
  max-height: 130px;
  overflow-y: auto;
}

.JSONEditorAdvanced .JSONEditorAdvanced-additional-errors {
  position: absolute;
  margin: auto;
  bottom: 31px;
  left: calc(50% - 92px);
  color: #808080;
  background-color: #ebebeb;
  padding: 7px 15px;
  border-radius: 8px;
}

.JSONEditorAdvanced .JSONEditorAdvanced-additional-errors.visible {
  visibility: visible;
  opacity: 1;
  transition: opacity 2s linear;
}

.JSONEditorAdvanced .JSONEditorAdvanced-additional-errors.hidden {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 2s, opacity 2s linear;
}

.JSONEditorAdvanced .JSONEditorAdvanced-text-errors {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #ffd700;
}

.JSONEditorAdvanced .JSONEditorAdvanced-text-errors td {
  padding: 3px 6px;
  vertical-align: middle;
}

.JSONEditorAdvanced .JSONEditorAdvanced-text-errors tr {
  background-color: #ffef8b;
}

.JSONEditorAdvanced .JSONEditorAdvanced-text-errors tr.parse-error {
  background-color: #ee2e2e70;
}

.JSONEditorAdvanced-text-errors .JSONEditorAdvanced-schema-error {
  border: none;
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0 4px 0 0;
  cursor: pointer;
}

.JSONEditorAdvanced-text-errors tr .JSONEditorAdvanced-schema-error {
  background: url("img/jsoneditor-icons.svg")  -168px -48px;
}

.JSONEditorAdvanced-text-errors tr.parse-error .JSONEditorAdvanced-schema-error {
  background: url("img/jsoneditor-icons.svg")   -25px 0px;
}

.fadein {
  -webkit-animation: fadein .3s;
  animation: fadein .3s;
  -moz-animation: fadein .3s;
  -o-animation: fadein .3s;
}

@-webkit-keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-moz-keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-o-keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
/* ContextMenu - main menu */

div.JSONEditorAdvanced-contextmenu-root {
  position: relative;
  width: 0;
  height: 0;
}

div.JSONEditorAdvanced-contextmenu {
  position: absolute;
  box-sizing: content-box;
  z-index: 99999;
}

div.JSONEditorAdvanced-contextmenu ul,
div.JSONEditorAdvanced-contextmenu li {
  box-sizing: content-box;
  position: relative;
}

div.JSONEditorAdvanced-contextmenu ul {
  position: relative;
  left: 0;
  top: 0;
  width: 128px;
  background: white;
  border: 1px solid #d3d3d3;
  box-shadow: 2px 2px 12px rgba(128, 128, 128, 0.3);
  list-style: none;
  margin: 0;
  padding: 0;
}

div.JSONEditorAdvanced-contextmenu ul li button {
  position: relative;
  padding: 0 4px 0 0;
  margin: 0;
  width: 128px;
  height: auto;
  border: none;
  cursor: pointer;
  color: #4d4d4d;
  background: transparent;
  font-size: 10pt;
  font-family: arial, sans-serif;
  box-sizing: border-box;
  text-align: left;
}

/* Fix button padding in firefox */

div.JSONEditorAdvanced-contextmenu ul li button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

div.JSONEditorAdvanced-contextmenu ul li button:hover,
div.JSONEditorAdvanced-contextmenu ul li button:focus {
  color: #1a1a1a;
  background-color: #f5f5f5;
  outline: none;
}

div.JSONEditorAdvanced-contextmenu ul li button.JSONEditorAdvanced-default {
  width: 96px;
  /* 128px - 32px */
}

div.JSONEditorAdvanced-contextmenu ul li button.JSONEditorAdvanced-expand {
  float: right;
  width: 32px;
  height: 24px;
  border-left: 1px solid #e5e5e5;
}

div.JSONEditorAdvanced-contextmenu div.JSONEditorAdvanced-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border: none;
  padding: 0;
  margin: 0;
  background-image: url("img/jsoneditor-icons.svg");
}

div.JSONEditorAdvanced-contextmenu ul li ul div.JSONEditorAdvanced-icon {
  margin-left: 24px;
}

div.JSONEditorAdvanced-contextmenu div.JSONEditorAdvanced-text {
  padding: 4px 0 4px 24px;
  word-wrap: break-word;
}

div.JSONEditorAdvanced-contextmenu div.JSONEditorAdvanced-text.JSONEditorAdvanced-right-margin {
  padding-right: 24px;
}

div.JSONEditorAdvanced-contextmenu ul li button div.JSONEditorAdvanced-expand {
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0 4px 0 0;
  background: url("img/jsoneditor-icons.svg") 0 -72px;
}

div.JSONEditorAdvanced-contextmenu div.JSONEditorAdvanced-separator {
  height: 0;
  border-top: 1px solid #e5e5e5;
  padding-top: 5px;
  margin-top: 5px;
}

div.JSONEditorAdvanced-contextmenu button.JSONEditorAdvanced-remove > div.JSONEditorAdvanced-icon {
  background-position: -24px 0;
}

div.JSONEditorAdvanced-contextmenu button.JSONEditorAdvanced-append > div.JSONEditorAdvanced-icon {
  background-position: 0 0;
}

div.JSONEditorAdvanced-contextmenu button.JSONEditorAdvanced-insert > div.JSONEditorAdvanced-icon {
  background-position: 0 0;
}

div.JSONEditorAdvanced-contextmenu button.JSONEditorAdvanced-duplicate > div.JSONEditorAdvanced-icon {
  background-position: -48px 0;
}

div.JSONEditorAdvanced-contextmenu button.JSONEditorAdvanced-sort-asc > div.JSONEditorAdvanced-icon {
  background-position: -168px 0;
}

div.JSONEditorAdvanced-contextmenu button.JSONEditorAdvanced-sort-desc > div.JSONEditorAdvanced-icon {
  background-position: -192px 0;
}

div.JSONEditorAdvanced-contextmenu button.JSONEditorAdvanced-transform > div.JSONEditorAdvanced-icon {
  background-position: -216px 0;
}

/* ContextMenu - sub menu */

div.JSONEditorAdvanced-contextmenu ul li button.JSONEditorAdvanced-selected,
div.JSONEditorAdvanced-contextmenu ul li button.JSONEditorAdvanced-selected:hover,
div.JSONEditorAdvanced-contextmenu ul li button.JSONEditorAdvanced-selected:focus {
  color: white;
  background-color: #ee422e;
}

div.JSONEditorAdvanced-contextmenu ul li {
  overflow: hidden;
}

div.JSONEditorAdvanced-contextmenu ul li ul {
  display: none;
  position: relative;
  left: -10px;
  top: 0;
  border: none;
  box-shadow: inset 0 0 10px rgba(128, 128, 128, 0.5);
  padding: 0 10px;
  /* TODO: transition is not supported on IE8-9 */
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}



div.JSONEditorAdvanced-contextmenu ul li ul li button {
  padding-left: 24px;
  animation: all ease-in-out 1s;
}

div.JSONEditorAdvanced-contextmenu ul li ul li button:hover,
div.JSONEditorAdvanced-contextmenu ul li ul li button:focus {
  background-color: #f5f5f5;
}

div.JSONEditorAdvanced-contextmenu button.JSONEditorAdvanced-type-string > div.JSONEditorAdvanced-icon {
  background-position: -144px 0;
}

div.JSONEditorAdvanced-contextmenu button.JSONEditorAdvanced-type-auto > div.JSONEditorAdvanced-icon {
  background-position: -120px 0;
}

div.JSONEditorAdvanced-contextmenu button.JSONEditorAdvanced-type-object > div.JSONEditorAdvanced-icon {
  background-position: -72px 0;
}

div.JSONEditorAdvanced-contextmenu button.JSONEditorAdvanced-type-array > div.JSONEditorAdvanced-icon {
  background-position: -96px 0;
}

div.JSONEditorAdvanced-contextmenu button.JSONEditorAdvanced-type-modes > div.JSONEditorAdvanced-icon {
  background-image: none;
  width: 6px;
}

/* pico modal styling */

.JSONEditorAdvanced-modal-overlay {
  position: absolute !important;
  background: rgb(1,1,1) !important;
  opacity: 0.3 !important;
}

.JSONEditorAdvanced-modal {
  position: absolute !important;
  max-width: 95% !important;
  width: auto !important;
  border-radius: 2px !important;
  padding: 45px 15px 15px 15px !important;
  box-shadow: 2px 2px 12px rgba(128, 128, 128, 0.3) !important;
  color: #4d4d4d;
  line-height: 1.3em;
}

.JSONEditorAdvanced-modal.JSONEditorAdvanced-modal-transform {
  width: 600px !important;
}

.JSONEditorAdvanced-modal .pico-modal-header {
  position: absolute;
  box-sizing: border-box;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 10px;
  height: 30px;
  line-height: 30px;
  font-family: arial, sans-serif;
  font-size: 11pt;
  background: #3883fa;
  color: white;
}

.JSONEditorAdvanced-modal table {
  width: 100%;
}

.JSONEditorAdvanced-modal table th,
.JSONEditorAdvanced-modal table td {
  text-align: left;
  vertical-align: top;
  font-weight: normal;
  color: #4d4d4d;
  border-spacing: 0;
  border-collapse: collapse;
}

.JSONEditorAdvanced-modal table td {
  padding: 3px 0;
}

.JSONEditorAdvanced-modal p:first-child {
  margin-top: 0;
}

.JSONEditorAdvanced-modal a {
  color: #3883fa;
}



.JSONEditorAdvanced-modal .JSONEditorAdvanced-jmespath-block {
  margin-bottom: 10px;
}

.JSONEditorAdvanced-modal table td.JSONEditorAdvanced-modal-input {
  text-align: right;
  padding-right: 0;
  white-space: nowrap;
}

.JSONEditorAdvanced-modal table td.JSONEditorAdvanced-modal-actions {
  padding-top: 15px;
}

.JSONEditorAdvanced-modal .pico-close {
  background: none !important;
  font-size: 24px !important;
  top: 7px !important;
  right: 7px !important;
  color: white;
}

.JSONEditorAdvanced-modal select,
.JSONEditorAdvanced-modal textarea,
.JSONEditorAdvanced-modal input,
.JSONEditorAdvanced-modal #query {
  background: #ffffff;
  border: 1px solid #d3d3d3;
  color: #4d4d4d;
  border-radius: 3px;
  padding: 4px;
}

.JSONEditorAdvanced-modal,
.JSONEditorAdvanced-modal table td,
.JSONEditorAdvanced-modal table th,
.JSONEditorAdvanced-modal select,
.JSONEditorAdvanced-modal option,
.JSONEditorAdvanced-modal textarea,
.JSONEditorAdvanced-modal input,
.JSONEditorAdvanced-modal #query {
  font-size: 10.5pt;
  font-family: arial, sans-serif;
}

.JSONEditorAdvanced-modal table th {
  vertical-align: middle;
}

.JSONEditorAdvanced-modal #query,
.JSONEditorAdvanced-modal .JSONEditorAdvanced-transform-preview {
  font-family: "dejavu sans mono", "droid sans mono", consolas, monaco, "lucida console", "courier new", courier, monospace, sans-serif;
  font-size: 10pt;
}

.JSONEditorAdvanced-modal input[type="button"],
.JSONEditorAdvanced-modal input[type="submit"] {
  background: #f5f5f5;
  padding: 4px 20px;
}

.JSONEditorAdvanced-modal select,
.JSONEditorAdvanced-modal input {
  cursor: pointer;
}

.JSONEditorAdvanced-modal input {
  padding: 4px;
}

.JSONEditorAdvanced-modal input[type="text"] {
  cursor: inherit;
}

.JSONEditorAdvanced-modal input[disabled] {
  background: #d3d3d3;
  color: #808080;
}

.JSONEditorAdvanced-modal .JSONEditorAdvanced-select-wrapper {
  position: relative;
  display: inline-block;
}

.JSONEditorAdvanced-modal .JSONEditorAdvanced-select-wrapper:after {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #666;
  position: absolute;
  right: 8px;
  top: 14px;
  pointer-events: none;
}

.JSONEditorAdvanced-modal select {
  padding: 3px 24px 3px 10px;
  min-width: 180px;
  max-width: 350px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-indent: 0;
  text-overflow: "";
  font-size: 10pt;
  line-height: 1.5em;
}

.JSONEditorAdvanced-modal select::-ms-expand {
  display: none;
}

.JSONEditorAdvanced-modal .JSONEditorAdvanced-button-group input {
  padding: 4px 10px;
  margin: 0;
  border-radius: 0;
  border-left-style: none;
}

.JSONEditorAdvanced-modal .JSONEditorAdvanced-button-group input.JSONEditorAdvanced-button-first {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  border-left-style: solid;
}

.JSONEditorAdvanced-modal .JSONEditorAdvanced-button-group input.JSONEditorAdvanced-button-last {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

.JSONEditorAdvanced-modal .JSONEditorAdvanced-button-group.JSONEditorAdvanced-button-group-value-asc input.JSONEditorAdvanced-button-asc,
.JSONEditorAdvanced-modal .JSONEditorAdvanced-button-group.JSONEditorAdvanced-button-group-value-desc input.JSONEditorAdvanced-button-desc {
  background: #3883fa;
  border-color: #3883fa;
  color: white;
}

.JSONEditorAdvanced-modal #query,
.JSONEditorAdvanced-modal .JSONEditorAdvanced-transform-preview {
  width: 100%;
  box-sizing: border-box;
}

.JSONEditorAdvanced-modal .JSONEditorAdvanced-transform-preview {
  background: #f5f5f5;
  height: 200px;
}

.JSONEditorAdvanced-modal .JSONEditorAdvanced-transform-preview.JSONEditorAdvanced-error {
  color: #ee422e;
}

.JSONEditorAdvanced-modal .JSONEditorAdvanced-jmespath-wizard {
  line-height: 1.2em;
  width: 100%;
  padding: 0;
  border-radius: 3px;
}

.JSONEditorAdvanced-modal .JSONEditorAdvanced-jmespath-label {
  font-weight: bold;
  color: dodgerblue;
  margin-top: 20px;
  margin-bottom: 5px;
}

.JSONEditorAdvanced-modal .JSONEditorAdvanced-jmespath-wizard-table {
  width: 100%;
}

.JSONEditorAdvanced-modal .JSONEditorAdvanced-jmespath-wizard-label {
  font-style: italic;
  margin: 4px 0 2px 0;
}

.JSONEditorAdvanced-modal .JSONEditorAdvanced-inline {
  position: relative;
  display: inline-block;
  width: 100%;
  padding-top: 2px;
  padding-bottom: 2px;
}

.JSONEditorAdvanced-modal .JSONEditorAdvanced-inline:not(:last-child) {
  padding-right: 2px;
}

.JSONEditorAdvanced-modal .JSONEditorAdvanced-jmespath-filter {
  display: flex;
  flex-wrap: wrap;
}

.JSONEditorAdvanced-modal .JSONEditorAdvanced-jmespath-filter-field {
  width: 180px;
}

.JSONEditorAdvanced-modal .JSONEditorAdvanced-jmespath-filter-relation {
  width: 100px;
}

.JSONEditorAdvanced-modal .JSONEditorAdvanced-jmespath-filter-value {
  min-width: 180px;
  flex: 1;
}

.JSONEditorAdvanced-modal .JSONEditorAdvanced-jmespath-sort-field {
  width: 170px;
}

.JSONEditorAdvanced-modal .JSONEditorAdvanced-jmespath-sort-order {
  width: 150px;
}

.JSONEditorAdvanced-modal .JSONEditorAdvanced-jmespath-select-fields {
  width: 100%;
}

.JSONEditorAdvanced-modal .selectr-selected {
  border-color: #d3d3d3;
  padding: 4px 28px 4px 8px;
}

.JSONEditorAdvanced-modal .selectr-selected .selectr-tag {
  background-color: #3883fa;
  border-radius: 5px;
}
div.JSONEditorAdvanced-menu {
  width: 100%;
  height: 35px;
  padding: 2px;
  margin: 0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: white;
  background-color: #3883fa;
  border-bottom: 1px solid #3883fa;
}

div.JSONEditorAdvanced-menu > button,
div.JSONEditorAdvanced-menu > div.JSONEditorAdvanced-modes > button {
  width: 26px;
  height: 26px;
  margin: 2px;
  padding: 0;
  border-radius: 2px;
  border: 1px solid transparent;
  background: transparent url("img/jsoneditor-icons.svg");
  color: white;
  opacity: 0.8;
  font-family: arial, sans-serif;
  font-size: 10pt;
  float: left;
}

div.JSONEditorAdvanced-menu > button:hover,
div.JSONEditorAdvanced-menu > div.JSONEditorAdvanced-modes > button:hover {
  background-color: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
}

div.JSONEditorAdvanced-menu > button:focus,
div.JSONEditorAdvanced-menu > button:active,
div.JSONEditorAdvanced-menu > div.JSONEditorAdvanced-modes > button:focus,
div.JSONEditorAdvanced-menu > div.JSONEditorAdvanced-modes > button:active {
  background-color: rgba(255,255,255,0.3);
}

div.JSONEditorAdvanced-menu > button:disabled,
div.JSONEditorAdvanced-menu > div.JSONEditorAdvanced-modes > button:disabled {
  opacity: 0.5;
}

div.JSONEditorAdvanced-menu > button.JSONEditorAdvanced-collapse-all {
  background-position: 0 -96px;
}

div.JSONEditorAdvanced-menu > button.JSONEditorAdvanced-expand-all {
  background-position: 0 -120px;
}

div.JSONEditorAdvanced-menu > button.JSONEditorAdvanced-sort {
  background-position: -120px -96px;
}

div.JSONEditorAdvanced-menu > button.JSONEditorAdvanced-transform {
  background-position: -144px -96px;
}

div.JSONEditorAdvanced.JSONEditorAdvanced-mode-view > div.JSONEditorAdvanced-menu > button.JSONEditorAdvanced-sort,
div.JSONEditorAdvanced.JSONEditorAdvanced-mode-form > div.JSONEditorAdvanced-menu > button.JSONEditorAdvanced-sort,
div.JSONEditorAdvanced.JSONEditorAdvanced-mode-view > div.JSONEditorAdvanced-menu > button.JSONEditorAdvanced-transform,
div.JSONEditorAdvanced.JSONEditorAdvanced-mode-form > div.JSONEditorAdvanced-menu > button.JSONEditorAdvanced-transform {
  display: none;
}

div.JSONEditorAdvanced-menu > button.JSONEditorAdvanced-undo {
  background-position: -24px -96px;
}

div.JSONEditorAdvanced-menu > button.JSONEditorAdvanced-undo:disabled {
  background-position: -24px -120px;
}

div.JSONEditorAdvanced-menu > button.JSONEditorAdvanced-redo {
  background-position: -48px -96px;
}

div.JSONEditorAdvanced-menu > button.JSONEditorAdvanced-redo:disabled {
  background-position: -48px -120px;
}

div.JSONEditorAdvanced-menu > button.JSONEditorAdvanced-compact {
  background-position: -72px -96px;
}

div.JSONEditorAdvanced-menu > button.JSONEditorAdvanced-format {
  background-position: -72px -120px;
}

div.JSONEditorAdvanced-menu > button.JSONEditorAdvanced-repair {
  background-position: -96px -96px;
}

div.JSONEditorAdvanced-menu > div.JSONEditorAdvanced-modes {
  display: inline-block;
  float: left;
}

div.JSONEditorAdvanced-menu > div.JSONEditorAdvanced-modes > button {
  background-image: none;
  width: auto;
  padding-left: 6px;
  padding-right: 6px;
}

div.JSONEditorAdvanced-menu > button.JSONEditorAdvanced-separator,
div.JSONEditorAdvanced-menu > div.JSONEditorAdvanced-modes > button.JSONEditorAdvanced-separator {
  margin-left: 10px;
}

div.JSONEditorAdvanced-menu a {
  font-family: arial, sans-serif;
  font-size: 10pt;
  color: white;
  opacity: 0.8;
  vertical-align: middle;
}

div.JSONEditorAdvanced-menu a:hover {
  opacity: 1;
}

div.JSONEditorAdvanced-menu a.JSONEditorAdvanced-poweredBy {
  font-size: 8pt;
  position: absolute;
  right: 0;
  top: 0;
  padding: 10px;
}
table.JSONEditorAdvanced-search input,
table.JSONEditorAdvanced-search div.JSONEditorAdvanced-results {
  font-family: arial, sans-serif;
  font-size: 10pt;
  color: #1A1A1A;
  background: transparent;
  /* For Firefox */
}

table.JSONEditorAdvanced-search div.JSONEditorAdvanced-results {
  color: white;
  padding-right: 5px;
  line-height: 24px;
  padding-top: 2px;
}

table.JSONEditorAdvanced-search {
  position: absolute;
  right: 4px;
  top: 4px;
  border-collapse: collapse;
  border-spacing: 0;
}

table.JSONEditorAdvanced-search div.JSONEditorAdvanced-frame {
  border: 1px solid transparent;
  background-color: white;
  padding: 0 2px;
  margin: 0;
}

table.JSONEditorAdvanced-search div.JSONEditorAdvanced-frame table {
  border-collapse: collapse;
}

table.JSONEditorAdvanced-search input {
  width: 120px;
  border: none;
  outline: none;
  margin: 1px;
  line-height: 20px;
}

table.JSONEditorAdvanced-search button {
  width: 16px;
  height: 24px;
  padding: 0;
  margin: 0;
  border: none;
  background: url("img/jsoneditor-icons.svg");
  vertical-align: top;
}

table.JSONEditorAdvanced-search button:hover {
  background-color: transparent;
}

table.JSONEditorAdvanced-search button.JSONEditorAdvanced-refresh {
  width: 18px;
  background-position: -99px -73px;
}

table.JSONEditorAdvanced-search button.JSONEditorAdvanced-next {
  cursor: pointer;
  background-position: -124px -73px;
}

table.JSONEditorAdvanced-search button.JSONEditorAdvanced-next:hover {
  background-position: -124px -49px;
}

table.JSONEditorAdvanced-search button.JSONEditorAdvanced-previous {
  cursor: pointer;
  background-position: -148px -73px;
  margin-right: 2px;
}

table.JSONEditorAdvanced-search button.JSONEditorAdvanced-previous:hover {
  background-position: -148px -49px;
}
div.JSONEditorAdvanced div.autocomplete.dropdown {
  position: absolute;
  background: white;
  box-shadow: 2px 2px 12px rgba(128, 128, 128, 0.3);
  border: 1px solid #d3d3d3;
  z-index: 100;
  overflow-x: hidden;
  overflow-y: auto;
  cursor: default;
  margin: 0;
  padding-left: 2pt;
  padding-right: 5pt;
  text-align: left;
  outline: 0;
  font-family: "dejavu sans mono", "droid sans mono", consolas, monaco, "lucida console", "courier new", courier, monospace, sans-serif;
  font-size: 10pt;
}

div.JSONEditorAdvanced div.autocomplete.dropdown .item {
  color: #333;
}

div.JSONEditorAdvanced div.autocomplete.dropdown .item.hover {
  background-color: #ddd;
}

div.JSONEditorAdvanced div.autocomplete.hint {
  color: #aaa;
  top: 4px;
  left: 4px;
}
div.JSONEditorAdvanced-treepath {
  padding: 0 5px;
  overflow: hidden;
  white-space: nowrap;
  outline: none;
}

div.JSONEditorAdvanced-treepath.show-all {
  word-wrap: break-word;
  white-space: normal;
  position: absolute;
  background-color: #ebebeb;
  z-index: 999;
  box-shadow: 2px 2px 12px rgba(128, 128, 128, 0.3);
}

div.JSONEditorAdvanced-treepath div.JSONEditorAdvanced-contextmenu-root {
  position: absolute;
  left: 0;
}

div.JSONEditorAdvanced-treepath span.JSONEditorAdvanced-treepath-show-all-btn {
  position: absolute;
  background-color: #ebebeb;
  left: 0;
  height: 20px;
  padding: 0 3px;
  cursor: pointer;
}

div.JSONEditorAdvanced-treepath.show-all span.JSONEditorAdvanced-treepath-show-all-btn {
  display: none;
}

div.JSONEditorAdvanced-treepath span.JSONEditorAdvanced-treepath-element {
  margin: 1px;
  font-family: arial, sans-serif;
  font-size: 10pt;
}

div.JSONEditorAdvanced-treepath span.JSONEditorAdvanced-treepath-seperator {
  margin: 2px;
  font-size: 9pt;
  font-family: arial, sans-serif;
}

div.JSONEditorAdvanced-treepath span.JSONEditorAdvanced-treepath-element:hover,
div.JSONEditorAdvanced-treepath span.JSONEditorAdvanced-treepath-seperator:hover {
  cursor: pointer;
  text-decoration: underline;
}
div.JSONEditorAdvanced-statusbar {
  line-height: 26px;
  height: 26px;
  margin-top: -1px;
  color: #808080;
  background-color: #ebebeb;
  border-top: 1px solid #d3d3d3;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 10pt;
}

div.JSONEditorAdvanced-statusbar > .JSONEditorAdvanced-curserinfo-label {
  margin: 0 2px 0 4px;
}

div.JSONEditorAdvanced-statusbar > .JSONEditorAdvanced-curserinfo-val {
  margin-right: 12px;
}

div.JSONEditorAdvanced-statusbar > .JSONEditorAdvanced-curserinfo-count {
  margin-left: 4px;
}

div.JSONEditorAdvanced-statusbar > .JSONEditorAdvanced-validation-error-icon {
  float: right;
  width: 24px;
  height: 24px;
  padding: 0;
  margin-top: 1px;
  background: url("img/jsoneditor-icons.svg") -168px -48px;
  cursor: pointer;
}

div.JSONEditorAdvanced-statusbar > .JSONEditorAdvanced-validation-error-count {
  float: right;
  margin: 0 4px 0 0;
  cursor: pointer;
}

div.JSONEditorAdvanced-statusbar > .JSONEditorAdvanced-parse-error-icon {
  float: right;
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 1px;
  background: url("img/jsoneditor-icons.svg") -25px 0px;
}
div.JSONEditorAdvanced-navigation-bar {
  width: 100%;
  height: 26px;
  line-height: 26px;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #d3d3d3;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #808080;
  background-color: #ebebeb;
  overflow: hidden;
  font-family: arial, sans-serif;
  font-size: 10pt;
}
/*!
 * Selectr 2.4.0
 * https://github.com/Mobius1/Selectr
 *
 * Released under the MIT license
 */

.selectr-container {
  position: relative;
}

.selectr-container li {
  list-style: none;
}

.selectr-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0px, 0px, 0px, 0px);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0 none;
}

.selectr-visible {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 11;
}

.selectr-desktop.multiple .selectr-visible {
  display: none;
}

.selectr-desktop.multiple.native-open .selectr-visible {
  top: 100%;
  min-height: 200px !important;
  height: auto;
  opacity: 1;
  display: block;
}

.selectr-container.multiple.selectr-mobile .selectr-selected {
  z-index: 0;
}

.selectr-selected {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  padding: 7px 28px 7px 14px;
  cursor: pointer;
  border: 1px solid #999;
  border-radius: 3px;
  background-color: #fff;
}

.selectr-selected::before {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 0;
  height: 0;
  content: '';
  -o-transform: rotate(0deg) translate3d(0px, -50%, 0px);
  -ms-transform: rotate(0deg) translate3d(0px, -50%, 0px);
  -moz-transform: rotate(0deg) translate3d(0px, -50%, 0px);
  -webkit-transform: rotate(0deg) translate3d(0px, -50%, 0px);
  transform: rotate(0deg) translate3d(0px, -50%, 0px);
  border-width: 4px 4px 0 4px;
  border-style: solid;
  border-color: #6c7a86 transparent transparent;
}

.selectr-container.open .selectr-selected::before,
.selectr-container.native-open .selectr-selected::before {
  border-width: 0 4px 4px 4px;
  border-style: solid;
  border-color: transparent transparent #6c7a86;
}

.selectr-label {
  display: none;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.selectr-placeholder {
  color: #6c7a86;
}

.selectr-tags {
  margin: 0;
  padding: 0;
  white-space: normal;
}

.has-selected .selectr-tags {
  margin: 0 0 -2px;
}

.selectr-tag {
  list-style: none;
  position: relative;
  float: left;
  padding: 2px 25px 2px 8px;
  margin: 0 2px 2px 0;
  cursor: default;
  color: #fff;
  border: medium none;
  border-radius: 10px;
  background: #acb7bf none repeat scroll 0 0;
}

.selectr-container.multiple.has-selected .selectr-selected {
  padding: 5px 28px 5px 5px;
}

.selectr-options-container {
  position: absolute;
  z-index: 10000;
  top: calc(100% - 1px);
  left: 0;
  display: none;
  box-sizing: border-box;
  width: 100%;
  border-width: 0 1px 1px;
  border-style: solid;
  border-color: transparent #999 #999;
  border-radius: 0 0 3px 3px;
  background-color: #fff;
}

.selectr-container.open .selectr-options-container {
  display: block;
}

.selectr-input-container {
  position: relative;
  display: none;
}

.selectr-clear,
.selectr-input-clear,
.selectr-tag-remove {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 20px;
  height: 20px;
  padding: 0;
  cursor: pointer;
  -o-transform: translate3d(0px, -50%, 0px);
  -ms-transform: translate3d(0px, -50%, 0px);
  -moz-transform: translate3d(0px, -50%, 0px);
  -webkit-transform: translate3d(0px, -50%, 0px);
  transform: translate3d(0px, -50%, 0px);
  border: medium none;
  background-color: transparent;
  z-index: 11;
}

.selectr-clear,
.selectr-input-clear {
  display: none;
}

.selectr-container.has-selected .selectr-clear,
.selectr-input-container.active .selectr-input-clear {
  display: block;
}

.selectr-selected .selectr-tag-remove {
  right: 2px;
}

.selectr-clear::before,
.selectr-clear::after,
.selectr-input-clear::before,
.selectr-input-clear::after,
.selectr-tag-remove::before,
.selectr-tag-remove::after {
  position: absolute;
  top: 5px;
  left: 9px;
  width: 2px;
  height: 10px;
  content: ' ';
  background-color: #6c7a86;
}

.selectr-tag-remove::before,
.selectr-tag-remove::after {
  top: 4px;
  width: 3px;
  height: 12px;
  background-color: #fff;
}

.selectr-clear:before,
.selectr-input-clear::before,
.selectr-tag-remove::before {
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.selectr-clear:after,
.selectr-input-clear::after,
.selectr-tag-remove::after {
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.selectr-input-container.active,
.selectr-input-container.active .selectr-clear {
  display: block;
}

.selectr-input {
  top: 5px;
  left: 5px;
  box-sizing: border-box;
  width: calc(100% - 30px);
  margin: 10px 15px;
  padding: 7px 30px 7px 9px;
  border: 1px solid #999;
  border-radius: 3px;
}

.selectr-notice {
  display: none;
  box-sizing: border-box;
  width: 100%;
  padding: 8px 16px;
  border-top: 1px solid #999;
  border-radius: 0 0 3px 3px;
  background-color: #fff;
}

.selectr-container.notice .selectr-notice {
  display: block;
}

.selectr-container.notice .selectr-selected {
  border-radius: 3px 3px 0 0;
}

.selectr-options {
  position: relative;
  top: calc(100% + 2px);
  display: none;
  overflow-x: auto;
  overflow-y: scroll;
  max-height: 200px;
  margin: 0;
  padding: 0;
}

.selectr-container.open .selectr-options,
.selectr-container.open .selectr-input-container,
.selectr-container.notice .selectr-options-container {
  display: block;
}

.selectr-option {
  position: relative;
  display: block;
  padding: 5px 20px;
  list-style: outside none none;
  cursor: pointer;
  font-weight: normal;
}

.selectr-options.optgroups > .selectr-option {
  padding-left: 25px;
}

.selectr-optgroup {
  font-weight: bold;
  padding: 0;
}

.selectr-optgroup--label {
  font-weight: bold;
  margin-top: 10px;
  padding: 5px 15px;
}

.selectr-match {
  text-decoration: underline;
}

.selectr-option.selected {
  background-color: #ddd;
}

.selectr-option.active {
  color: #fff;
  background-color: #5897fb;
}

.selectr-option.disabled {
  opacity: 0.4;
}

.selectr-option.excluded {
  display: none;
}

.selectr-container.open .selectr-selected {
  border-color: #999 #999 transparent #999;
  border-radius: 3px 3px 0 0;
}

.selectr-container.open .selectr-selected::after {
  -o-transform: rotate(180deg) translate3d(0px, 50%, 0px);
  -ms-transform: rotate(180deg) translate3d(0px, 50%, 0px);
  -moz-transform: rotate(180deg) translate3d(0px, 50%, 0px);
  -webkit-transform: rotate(180deg) translate3d(0px, 50%, 0px);
  transform: rotate(180deg) translate3d(0px, 50%, 0px);
}

.selectr-disabled {
  opacity: .6;
}

.selectr-empty,
.has-selected .selectr-placeholder {
  display: none;
}

.has-selected .selectr-label {
  display: block;
}

/* TAGGABLE */

.taggable .selectr-selected {
  padding: 4px 28px 4px 4px;
}

.taggable .selectr-selected::after {
  display: table;
  content: " ";
  clear: both;
}

.taggable .selectr-label {
  width: auto;
}

.taggable .selectr-tags {
  float: left;
  display: block;
}

.taggable .selectr-placeholder {
  display: none;
}

.input-tag {
  float: left;
  min-width: 90px;
  width: auto;
}

.selectr-tag-input {
  border: medium none;
  padding: 3px 10px;
  width: 100%;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
}

.selectr-input-container.loading::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 20px;
  height: 20px;
  content: '';
  -o-transform: translate3d(0px, -50%, 0px);
  -ms-transform: translate3d(0px, -50%, 0px);
  -moz-transform: translate3d(0px, -50%, 0px);
  -webkit-transform: translate3d(0px, -50%, 0px);
  transform: translate3d(0px, -50%, 0px);
  -o-transform-origin: 50% 0 0;
  -ms-transform-origin: 50% 0 0;
  -moz-transform-origin: 50% 0 0;
  -webkit-transform-origin: 50% 0 0;
  transform-origin: 50% 0 0;
  -moz-animation: 500ms linear 0s normal forwards infinite running spin;
  -webkit-animation: 500ms linear 0s normal forwards infinite running spin;
  animation: 500ms linear 0s normal forwards infinite running spin;
  border-width: 3px;
  border-style: solid;
  border-color: #aaa #ddd #ddd;
  border-radius: 50%;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg) translate3d(0px, -50%, 0px);
    transform: rotate(0deg) translate3d(0px, -50%, 0px);
  }

  100% {
    -webkit-transform: rotate(360deg) translate3d(0px, -50%, 0px);
    transform: rotate(360deg) translate3d(0px, -50%, 0px);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg) translate3d(0px, -50%, 0px);
    transform: rotate(0deg) translate3d(0px, -50%, 0px);
  }

  100% {
    -webkit-transform: rotate(360deg) translate3d(0px, -50%, 0px);
    transform: rotate(360deg) translate3d(0px, -50%, 0px);
  }
}

.selectr-container.open.inverted .selectr-selected {
  border-color: transparent #999 #999;
  border-radius: 0 0 3px 3px;
}

.selectr-container.inverted .selectr-options-container {
  border-width: 1px 1px 0;
  border-color: #999 #999 transparent;
  border-radius: 3px 3px 0 0;
  background-color: #fff;
}

.selectr-container.inverted .selectr-options-container {
  top: auto;
  bottom: calc(100% - 1px);
}

.selectr-container ::-webkit-input-placeholder {
  color: #6c7a86;
  opacity: 1;
}

.selectr-container ::-moz-placeholder {
  color: #6c7a86;
  opacity: 1;
}

.selectr-container :-ms-input-placeholder {
  color: #6c7a86;
  opacity: 1;
}

.selectr-container ::placeholder {
  color: #6c7a86;
  opacity: 1;
}