@import './tabler.scss';

body {
  font-family: 'Roboto', sans-serif;
}

.editor {
  .header-container {
    max-width: 100%;
  }

  .query-manager {
    .btn {
      height: 31px;
    }

    .header { 
      --tblr-gutter-x: 0rem;
    }

    .nav-header {
      color: #3e525b;
      .nav-tabs {
        border-bottom: 0;
      }
    }
  }

  .left-sidebar {
    scrollbar-width: none;
  }

  .left-sidebar::-webkit-scrollbar {
    width: 0;
    background: transparent;
  }

  .left-sidebar {
    height: 100%;
    width: 12%;
    // position: fixed;
    z-index: 1;
    left: 0;
    overflow-x: hidden;

    flex: 1 1 auto;
    background-color: #fff;
    background-clip: border-box;
    border: solid rgba(0, 0, 0, 0.125);
    border-width: 0px 1px 3px 0px;

    .accordion-item {
      border: solid rgba(101, 109, 119, 0.16);
      border-width: 1px 0px 1px 0px;
    }

    .datasources-container {
      height: 50%;
      overflow-y: scroll;

      tr {
        border-color: #f1f1f1;
      }
    }

    .variables-container {
      height: 50%;
      overflow-y: scroll;
    }

    .variables-container::-webkit-scrollbar-thumb,
    .datasources-container::-webkit-scrollbar-thumb {
      background: transparent;
      height: 0;
      width: 0;
    }

    .variables-container::-webkit-scrollbar,
    .datasources-container::-webkit-scrollbar {
      width: 0;
      background: transparent;
      height: 0;
    }

    .variables-container,
    .datasources-container {
      scrollbar-width: none;
    }

    .datasources-container {
      bottom: 0;
      height: 500px;
      border: solid rgba(101, 109, 119, 0.16);
      border-width: 1px 0px 1px 0px;

      .datasources-header {
        border: solid rgba(0, 0, 0, 0.125);
        border-width: 0px 0px 1px 0px;
      }
    }
  }

  .editor-sidebar {
    height: 100%;
    width: 15%;
    position: fixed;
    z-index: 1;
    right: 0;
    overflow-x: hidden;

    flex: 1 1 auto;
    top: 56px;

    background-color: #fff;
    background-clip: border-box;
    border: solid rgba(0, 0, 0, 0.125);
    border-width: 0px 0px 0px 1px;

    .nav-tabs .nav-link {
       color:  #3e525b;
      border-top-left-radius: 0px;
      border-top-right-radius: 0px;
    }

    .inspector {
      .form-control-plaintext {
        padding: 0;
      }
      .header {
        border: solid rgba(0, 0, 0, 0.125);
        border-width: 0px 0px 2px 0px;
        height: 40px;

        .component-name {
          font-weight: 500;
        }

        .component-action-button {
          right: 10px;
          position: fixed;
        }
      }

      .properties-container {
        .field {
          .form-label {
            font-size: 12px;
          }

          .text-field {
            height: 30px;
            font-size: 12px;
          }

          .form-select {
            height: 30px;
            font-size: 12px;
          }

          .select-search__input {
            padding: 0.2375rem 0.75rem;
            font-size: 0.825rem;
          }
        }
      }
    }

    .components-container::-webkit-scrollbar {
      width: 0;
      height: 0;
      background: transparent;
    }

    .components-container::-webkit-scrollbar-thumb {
      background: transparent;
    }

    .components-container {
      scrollbar-width: none;
    }

    .components-container {
      height: 88%;
      overflow: scroll;

      .component-image-holder {
        background: #f6f7fb;
        border-radius: 8px;
        border: 1px solid #d0d0d0;
        height: 50px;

        img {
          margin: 0 auto;
          padding: 12px;
        }
      }

      .component-title {
        display: block;
        font-weight: 500;
        margin-top: 5px;
        font-size: 0.8rem;
        color: #3e525b;
      }

      .component-description {
        color: grey;
        font-size: 0.7rem;
      }
    }
  }

  .main {
    margin-left: 12%;
    width: 73%;
    top: 0;

    .canvas-container::-webkit-scrollbar {
        width: 0;
        background: transparent;
        height: 0;
    }

    .canvas-container {
      scrollbar-width: none;
    }

    .canvas-container::-webkit-scrollbar {
      width: 0;
      background: transparent;
    }

    .canvas-container {
      height: 100%;
      width: 73%;
      top: 56px;
      position: fixed;
      overflow-y: auto;
      overflow-x: scroll;
      -webkit-box-pack: center;
      justify-content: center;
      -webkit-box-align: center;
      align-items: center;

      .show-grid {
        background-size: 30px 30px;
        background-image: linear-gradient(to right, rgba(194, 191, 191, 0.2) 1px, transparent 1px),
          linear-gradient(to bottom, rgba(194, 191, 191, 0.2) 1px, transparent 1px);
      }

      .canvas-area {
        width: 1292px;
        min-height: 2400px;
        background: #edeff5;
        margin: 0px auto;

        .resizer {
          border: solid 1px transparent;
        }

        .resizer:hover {
          border: solid 1px rgb(70, 165, 253);

          .top-right,
          .top-left,
          .bottom-right,
          .bottom-left {
            background: white;
            border-radius: 10px;
            border: solid 1px rgb(70, 165, 253);
          }
        }
      }
    }

    .query-pane {
      scrollbar-width: none;
    }

    .query-pane::-webkit-scrollbar {
      width: 0;
      background: transparent;
    }

    .query-pane {
      height: 350px;
      width: 73%;
      position: fixed;
      z-index: 1;
      left: 12%;
      bottom: 0;
      overflow-x: hidden;
      flex: 1 1 auto;

      background-color: #fff;
      background-clip: border-box;
      border: solid rgba(0, 0, 0, 0.125);
      border-width: 1px 0px 0px 0px;

      .table-responsive {
        scrollbar-width: none;
      }

      .table-responsive::-webkit-scrollbar {
        width: 0;
        background: transparent;
      }

      .query-row {
        cursor: pointer;
        --tblr-gutter-x: 0rem;
        .query-copy-button {
          display: none;
        }
      }

      .query-row-selected {
        background: rgba(66,153,225,.1)!important;
      }

      .query-row:hover {
        .query-copy-button {
          display: inline-block;
        }
      }

      .main-row {
        height: 100%;
        --tblr-gutter-x: 0rem;
      }

      .query-definition-pane {
        .header {
          border: solid rgba(0, 0, 0, 0.125);
          border-width: 0px 0px 1px 0px;
        }
      }

      .data-pane {
        min-height: 350px;
        border: solid rgba(0, 0, 0, 0.125);
        border-width: 0px 1px 0px 0px;

        .queries-container {
          .queries-header {
            border: solid rgba(0, 0, 0, 0.125);
            border-width: 0px 0px 1px 0px;
            --tblr-gutter-x: 0rem;
          }

          tr {
            border-color: #f1f1f1;
          }
        }

        .header {
          height: 40px;
          text-align: center;
        }
      }
    }
  }

  @media screen and (max-height: 450px) {
    .sidebar {
      padding-top: 15px;
    }
    .sidebar a {
      font-size: 18px;
    }
  }
}

.viewer {
  .header-container {
    max-width: 100%;
  }

  .main {
    padding: 0px 10px;

    .canvas-container {
      scrollbar-width: none;
    }

    .canvas-container::-webkit-scrollbar {
      width: 0;
      background: transparent;
    }

    .canvas-container {
      height: 100%;
      width: 100%;
      position: fixed;
      overflow-y: auto;
      overflow-x: auto;
      -webkit-box-pack: center;
      justify-content: center;
      -webkit-box-align: center;
      align-items: center;

      .canvas-area {
        width: 1280px;
        min-height: 1200px;
        background: #edeff5;
        margin: 0px auto;
        background-size: 80px 80px;
        // background-image: url(/public/images/tile.png);
        background-repeat: repeat;
      }
    }
  }
}

.modal-header {
  padding: 0 1.5rem 0 1.5rem;
}

.homepage-body {
  a {
    color: inherit;
  }

  a:hover {
    color: inherit;
    text-decoration: none;
  }

  .app-action-buttons {
    display: none;
  }

  .app-name {
    line-height: 20px;
    font-size: 0.9rem;
  }

  .app-card {
    height: 155px;
    max-height: 155px;
  }

  .create-app {
    background: #eefcfe7a;
    border: 1px dashed #9d9d9d;
  }

  .create-app:hover {
    background: #4ac4d600;
  }

  .app-card:hover {
    background: #4ac4d600;

    .app-action-buttons {
      display: inline-flex;
    }

    .app-name {
      display: none;
    }
  }
}

.datasource-picker {
  .select-search {
    width: 300px;
  }
}

.select-search {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

.select-search *,
.select-search *::after,
.select-search *::before {
  box-sizing: inherit;
}

/**
 * Value wrapper
 */
.select-search__value {
  position: relative;
  z-index: 1;
}

.select-search__value::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: calc(50% - 9px);
  right: 19px;
  width: 11px;
  height: 11px;
}

/**
 * Input
 */
.select-search__input {
  display: block;
  width: 100%;
  padding: 0.4375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4285714;
  color: #232e3c;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #dadcde;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 4px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.select-search__input::-webkit-search-decoration,
.select-search__input::-webkit-search-cancel-button,
.select-search__input::-webkit-search-results-button,
.select-search__input::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

.select-search__input:not([readonly]):focus {
  cursor: initial;
}

/**
 * Options wrapper
 */
.select-search__select {
  background: #fff;
  box-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.15);
}

/**
 * Options
 */
.select-search__options {
  list-style: none;
}

/**
 * Option row
 */
.select-search__row:not(:first-child) {
  border-top: 1px solid #eee;
}

/**
 * Option
 */
.select-search__option,
.select-search__not-found {
  display: block;
  height: 36px;
  width: 100%;
  padding: 0 16px;
  background: #fff;
  border: none;
  outline: none;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.select-search--multiple .select-search__option {
  height: 48px;
}


.select-search__option.is-highlighted,
.select-search__option:not(.is-selected):hover {
  background: rgba(47, 204, 139, 0.1);
}

.select-search__option.is-highlighted.is-selected,
.select-search__option.is-selected:hover {
  background: #2eb378;
  color: #fff;
}

/**
 * Group
 */
.select-search__group-header {
  font-size: 10px;
  text-transform: uppercase;
  background: #eee;
  padding: 8px 16px;
}

/**
 * States
 */
.select-search.is-disabled {
  opacity: 0.5;
}

.select-search.is-loading .select-search__value::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'%3E%3Cpath fill='%232F2D37' d='M25,5A20.14,20.14,0,0,1,45,22.88a2.51,2.51,0,0,0,2.49,2.26h0A2.52,2.52,0,0,0,50,22.33a25.14,25.14,0,0,0-50,0,2.52,2.52,0,0,0,2.5,2.81h0A2.51,2.51,0,0,0,5,22.88,20.14,20.14,0,0,1,25,5Z'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='0.6s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E");
  background-size: 11px;
}

.select-search:not(.is-disabled) .select-search__input {
  cursor: pointer;
}

/**
 * Modifiers
 */
.select-search--multiple {
  border-radius: 3px;
  overflow: hidden;
}

.select-search:not(.is-loading):not(.select-search--multiple) .select-search__value::after {
  transform: rotate(45deg);
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  pointer-events: none;
}

.select-search--multiple .select-search__input {
  cursor: initial;
}

.select-search--multiple .select-search__input {
  border-radius: 3px 3px 0 0;
}

.select-search--multiple:not(.select-search--search) .select-search__input {
  cursor: default;
}

.select-search:not(.select-search--multiple) .select-search__input:hover {
  border-color: #2fcc8b;
}

.select-search:not(.select-search--multiple) .select-search__select {
  position: absolute;
  z-index: 2;
  top: 44px;
  right: 0;
  left: 0;
  border-radius: 3px;
  overflow: auto;
  max-height: 360px;
}

.select-search--multiple .select-search__select {
  position: relative;
  overflow: auto;
  max-height: 260px;
  border-top: 1px solid #eee;
  border-radius: 0 0 3px 3px;
}

.select-search__not-found {
  height: auto;
  padding: 16px;
  text-align: center;
  color: #888;
}

.jet-table-footer {
  .table-footer {
    width: 100%;
  }
}

.jet-data-table-header {
  max-height: 50px;
}

.jet-data-table {

  .markdown>table>:not(caption)>*>*, .table>:not(caption)>*>* {
    padding-bottom: 0.1rem;
  }

  .table-row:hover,
  .table-row:focus-within {
    background: rgba(lightBlue, 0.25);
  }

  td { 
    .text-container {
      padding: 0px;
      margin-bottom: 3px;
    }
  }

  td {
    .text-container:focus-visible, .text-container:focus, .text-container:focus-within, .text-container:hover   {
      outline: none;
      height: 100%;
    }
  }

  td { 
    .text-container:focus {
      position: sticky;
      height: 120px;
      overflow-y: scroll;
      margin-top: -10px;
      padding: 10px;
      margin-left: -9px;
      background: white;
      box-shadow: rgba(15,15,15,0/05) 0px 0px 0px 1px, rgba(15,15,15,0.1 ) 0px 3px 6px, rgba(15,15,15, 0.2) 0px 9px 24px;
      white-space: initial;
    }

    .text-container:focus-visible, .text-container:focus, .text-container:focus-within, .text-container:hover   {
      outline: none;
    }
  }

  td { 
    .text-container::-webkit-scrollbar {
      background: transparent;
      height: 0;
      width: 0;
    }
  }

  td::-webkit-scrollbar {
    background: transparent;
    height: 0;
    width: 0;
  }

  th:after {
    content: ' ';
    position: relative;
    height: 0;
    width: 0;
  }

  .sort-desc:after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333;
    border-bottom: 5px solid transparent;
    left: 6px;
    top: 8px;
  }

  .sort-asc:after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 0px solid transparent;
    border-bottom: 5px solid #333;
    left: 6px;
    bottom: 8px;
  }
  
}

.jet-data-table::-webkit-scrollbar {
      background: transparent;
      height: 0;
    }

.jet-data-table:hover {
    overflow-x: scroll;
    overflow-y: scroll;
}

.jet-data-table {
    overflow: hidden;
    .table-row {
        cursor: pointer;
    }

    thead {
        position: sticky;
        top: 0px;
        display: inline-block;

        tr { 
            border-top: none;
        }
    }
    tbody {
        display: inline-block;
    }
}

.btn-primary {
  --tblr-btn-color: 60, 146, 220;
  --tblr-btn-color-darker: 60, 133, 200;
  border-color: none;
}

.form-check-input:checked {
  background-color: #3c92dc;
  border-color: rgba(101, 109, 119, 0.24);
}

.btn:focus,
.btn:active,
.form-check-input:focus,
.form-check-input:active,
.form-control:focus,
th:focus,
tr:focus {
  outline: none !important;
  box-shadow: none;
}

.jet-container {
  border-radius: 8px;
}

.select-search__option {
  color: rgb(90, 89, 89);
}

.select-search__option.is-selected {
  background: rgba(176,176,176, 0.07);
  color: #4d4d4d;
}

.select-search__option.is-highlighted.is-selected,
.select-search__option.is-selected:hover {
  background: rgba(66,153,225,.1);
  color: rgb(44, 43, 43);
}

.select-search__option.is-highlighted,
.select-search__option:hover {
  background: rgba(66,153,225,.1);
}

.select-search__options {
  margin-left: -33px;
}

.select-search__option.is-highlighted,
.select-search__option:not(.is-selected):hover {
  background: rgba(66,153,225,.1);
}

.select-search:not(.select-search--multiple) .select-search__input:hover {
  border-color: rgba(66,153,225,.1);
}

.DateInput_input {
  font-weight: 300;
  font-size: 14px;
  padding: 4px 7px 2px;
  padding: 4px 7px 2px;
  width: 100px!important;
  margin-left: 10px;
}

.jet-data-table {
  display: inline-block;
  height: 100%;

  thead {
    width: 100%;
  }

  .select-search:not(.is-loading):not(.select-search--multiple) .select-search__value::after {
    display: none;
  }

  .custom-select { 
    .select-search:not(.select-search--multiple) .select-search__select {
      top: 0px;
      border: solid #9fa0a1 1px;
    }
  }

  .tags { 
    width: 100%;
    min-height: 20px;

    .add-tag-button {
      display: none;
    }

    .tag { 

      font-weight: 400;
      font-size: 0.85rem;
      letter-spacing: .04em;
      text-transform: none;

      .remove-tag-button {
        margin-left: 5px;
        margin-right: -7px;
        display: none;
      }
    }

    .form-control-plaintext {
      font-size: 12px;
    }

    .form-control-plaintext:hover, .form-control-plaintext:focus-visible {
      outline: none;
      
    }
  }

  .tags:hover { 
    .add-tag-button {
      display: inline-flex;
    }
  }

  .tag:hover {
    .remove-tag-button {
      display: inline-flex;
    }
  }

  .th,
  .td {
    .resizer {
      display: inline-block;
      width: 5px;
      height: 100%;
      position: absolute;
      right: 0;
      top: 0;
      transform: translateX(50%);
      z-index: 1;
      touch-action: none;

      &.isResizing {
        background: rgb(179, 173, 173);
      }
    }
  }
}

.no-components-box {
  border: 1px dashed #3e525b;
}

.form-control-plaintext:focus-visible {
  outline: none;
  outline-width: thin;
  outline-style: solid;
  outline-color: #3c92dc;
}

.form-control-plaintext:hover {
  outline: none;
  outline-width: thin;
  outline-style: solid;
  outline-color: rgba(66,153,225,.8);
}

.select-search__input:focus-visible {
  outline: none;
  outline-color: #4ac4d6;
}

.form-control-plaintext {
  padding: 5px;
}

.table-filters {
  position: absolute;
  bottom: 0;
  width: 80%;
  max-width: 700px;
  margin-right: 10%;
  right: 0;
  height: 300px;
  z-index: 100;
}

.code-builder {
  border: solid 1px #dadcde;
  border-radius: 2px;
  padding-top: 4px;

  .variables-dropdown {
    position: fixed;
    right: 0;
    width: 400px;
    z-index: 200;
    border: solid 1px #dadcde;

    .group-header {
      background: #f4f6fa;
    }
  }
}

.__react_component_tooltip {
  z-index: 10000;
}

.select-search__value::after {
  top: calc(50% - 2px);
  right: 15px;
  width: 5px;
  height: 5px;
}

.progress-bar {
  background-color: rgba(66,153,225,.7);
}

.popover-header {
  background-color: #f4f6fa;
}

.popover-body {
  .form-label {
    font-size: 12px;
  }
}

.input-icon {
    .input-icon-addon {
        display: none;
      }
}

.input-icon:hover  {
    .input-icon-addon {
        display: flex;
      }
}

.input-icon:focus  {
    .input-icon-addon {
        display: flex;
      }
}

.sub-section {
    width: 100%;
    display: block;
}

.text-muted { 
    color: #3e525b!important;
}

body {
    color: #3e525b
}

.navbar-brand-image {
    height: 1.6rem;
}


.RichEditor-root {
    background: #fff;
    border: 1px solid #ddd;
    font-family: 'Georgia', serif;
    font-size: 14px;
    padding: 15px;
    height: 100%;
  }
  
  .RichEditor-editor {
    border-top: 1px solid #ddd;
    cursor: text;
    font-size: 16px;
    margin-top: 10px;
  }
  
  .RichEditor-editor .public-DraftEditorPlaceholder-root,
  .RichEditor-editor .public-DraftEditor-content {
    margin: 0 -15px -15px;
    padding: 15px;
  }
  
  .RichEditor-editor .public-DraftEditor-content {
    min-height: 100px;
  }
  
  .RichEditor-hidePlaceholder .public-DraftEditorPlaceholder-root {
    display: none;
  }
  
  .RichEditor-editor .RichEditor-blockquote {
    border-left: 5px solid #eee;
    color: #666;
    font-family: 'Hoefler Text', 'Georgia', serif;
    font-style: italic;
    margin: 16px 0;
    padding: 10px 20px;
  }
  
  .RichEditor-editor .public-DraftStyleDefault-pre {
    background-color: rgba(0, 0, 0, 0.05);
    font-family: 'Inconsolata', 'Menlo', 'Consolas', monospace;
    font-size: 16px;
    padding: 20px;
  }
  
  .RichEditor-controls {
    font-family: 'Helvetica', sans-serif;
    font-size: 14px;
    margin-bottom: 5px;
    user-select: none;
  }
  
  .RichEditor-styleButton {
    color: #999;
    cursor: pointer;
    margin-right: 16px;
    padding: 2px 0;
    display: inline-block;
  }
  
  .RichEditor-activeButton {
    color: #5890ff;
  }
  
.transformation-editor {
    .CodeMirror {
        min-height: 70px;
    }
}

.chart-data-input { 
  .CodeMirror {
    min-height: 370px;
    font-size: 0.8rem;
  }
  .code-hinter {
    min-height: 370px;
  }
}

.map-location-input {
  .CodeMirror {
    min-height: 120px;
    font-size: 0.8rem;
  }
  .code-hinter {
    min-height: 120px;
  }
}

.rdt {
    .form-control {
        height: 100%;
    }
}

.DateInput_input__focused {
    border-bottom: 2px solid #3c92dc;
}

.CalendarDay__selected, .CalendarDay__selected:active, .CalendarDay__selected:hover {
    background: #3c92dc;
    border: 1px double #3c92dc;
}

.CalendarDay__selected_span {
    background: #3c92dcc2;
    border: #3c92dcc2;
}

.CalendarDay__selected_span:active, .CalendarDay__selected_span:hover {
    background: #3c92dc;
    border: 1px double #3c92dc;
    color: #fff;
}

.CalendarDay__hovered_span:active, .CalendarDay__hovered_span:hover {
    background: #3c92dc;
    border: 1px double #3c92dc;
    color: #fff;
}

.CalendarDay__hovered_span {
    background: #83b8e7;
    border: 1px double #83b8e7;
    color: #fff;
}

.table-responsive {
    margin-bottom: 0rem;
}

.codehinter-query-editor-input {
  .CodeMirror {
    font-family: 'Roboto', sans-serif;
    color: #263136;
    overflow: hidden;
    height: 50px!important;
  }

  .CodeMirror-vscrollbar {
    overflow: hidden;
  }

  .CodeMirror-focused {
    padding-top: 0;
    height: 50px;
  }

  .CodeMirror-scroll { 
    position: absolute;
    top: 0;
  }
}

.field { 
  .CodeMirror-scroll { 
    position: static;
    top: 0;
  }
}

.code-hinter {

    height: 36px;

    .form-control {
      .CodeMirror {
          font-family: 'Roboto', sans-serif;
          height: 50px!important;
      }
    }

    .CodeMirror-focused {
        padding-top: 3px;
    }

    .CodeMirror-vscrollbar, .CodeMirror-hscrollbar {
      background: transparent;
      height: 0;
      width: 0;
    }

    .CodeMirror-scroll {
        overflow:hidden !important;
        margin-bottom: 0px;
    }
}

.CodeMirror-hints {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    padding: 0px;

    li.CodeMirror-hint-active {
        background: #3c92dc;
    }

    .CodeMirror-hint {
        padding: 4px;
        padding-left: 10px;
        padding-right: 10px;
    }
}

.cm-matchhighlight {
    color: #4299e1!important;
    background: rgba(66,153,225,.1)!important;
}

.nav-tabs .nav-link {
    color:  #3e525b;
   border-top-left-radius: 0px;
   border-top-right-radius: 0px;
 }

 .transformation-editor {
     .CodeMirror {
         min-height: 220px;
     }
 }
 
 hr { 
  margin: 1rem 0;
 }
 
 .query-hinter {
   min-height: 150px;
 }

 .codehinter-default-input {
  font-family: 'Roboto', sans-serif;
  padding: 0.0475rem .75rem;
  display: block;
  width: 100%;
  font-size: .875rem;
  font-weight: 400;
  color: #232e3c;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #dadcde;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 4px;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  height: 30px;
 }

 .codehinter-query-editor-input {
  font-family: 'Roboto', sans-serif;
  padding: 0.1775rem .75rem;
  display: block;
  width: 100%;
  font-size: .875rem;
  font-weight: 400;
  color: #232e3c;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #dadcde;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 4px;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  height: 36px;
 }

 .modal-component { 
   margin-top: 150px;
  .modal-body {
    padding: 0;
  }
 }

 .draggable-box {
  .config-handle {
    top: -20px;
    position: fixed;

    display: none;
    .badge {
      font-size: 9px;
    }
  }
}

.modal-content {
  .config-handle {
    position: absolute;

    .badge {
      font-size: 9px;
    }
  }
}


.draggable-box:hover {
  .config-handle {
    display: block;
  }
}

.apps-table { 
  .app-title {
    font-size: 1rem;
  }

  .row {
    --tblr-gutter-x: 0rem;
  }
}

.home-page, .org-users-page {
  .navbar .navbar-nav .active>.nav-link, .navbar .navbar-nav .nav-link.active, .navbar .navbar-nav .nav-link.show, .navbar .navbar-nav .show>.nav-link {
    color: #2c6ba2;
  }

  .nav-item { 
    font-size: 0.9rem;
  }

}

.CodeMirror-placeholder {
  color: #9e9e9e!important;
  font-size: 0.7rem!important;
}

.btn-primary {
  border-color: transparent;
}

.text-widget { 
  overflow: scroll;
}

.text-widget::-webkit-scrollbar {
  width: 0;
  height: 0;
  background: transparent;
}

.input-group-flat:focus-within {
  box-shadow: none;
}

.map-widget { 
  .place-search-input { 
    box-sizing: border-box;
    border: 1px solid transparent;
    width: 240px;
    height: 32px;
    padding: 0 12px;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    font-size: 14px;
    outline: none;
    text-overflow: ellipses;
    position: absolute;
    left: 50%;
    margin-left: -120px;
  }
}

.events-toggle-active { 
  .toggle-icon { 
    transform: rotate(180deg);
  }
}

.events-toggle { 
  .toggle-icon { 
    display: inline-block;
    margin-left: auto;
    transition: .3s transform;
  }

  .toggle-icon:after {
    content: "";
    display: inline-block;
    vertical-align: .306em;
    width: .46em;
    height: .46em;
    border-bottom: 1px solid;
    border-left: 1px solid;
    margin-right: .1em;
    margin-left: .4em;
    transform: rotate(-45deg);
  }
}

.nav-link-title {
  font-weight: 500;
  font-size: 0.9rem;
}

.navbar-nav {
  .dropdown:hover {
    .dropdown-menu { 
      display: block;
    }
  }
}

.query-manager-header { 
  .nav-item { 
    border-right: solid 1px #dadcde;
  }

  .nav-link { 
    height: 39px;
  }
}
