
/*!
 * Copyright (c) 2025 FreesearchR
 *
 * FreesearchR, CSS styles
 * https://github.com/agdamsbo/FreesearchR
 *
 * @version 0.0.1
 */

.container-fluid > .nav > li >
                        a[data-value='FreesearchR'] {font-size: 28px}


/* from datamods */
.show-block {
  display: block !important;
}
.show-inline {
  display: inline !important;
}
.hidden {
  display: none !important;
}
.invisible {
  visibility: hidden;
}

.container-rule {
  position: relative;
  text-align: center;
  height: 25px;
  margin-bottom: 5px;
}

.horizontal-rule {
  position: absolute;
  top: 11px;
  right: 0;
  left: 0;
  background-color: #d0cfcf;
  height: 1px;
  z-index: 100;
  margin: 0;
  border: none;
}

.label-rule {
  background: #FFF;
  opacity: 1;
  z-index: 101;
  background-color: #FFF;
  position: relative;
  padding: 0 10px 0 10px;
}

.datamods-table-container {
  overflow: auto;
  word-break: keep-all;
  white-space: nowrap;
}

.datamods-table-container > .table {
  margin-bottom: 0 !important;
}

.datamods-file-import {
  display: grid;
  grid-template-columns: auto 50px;
  grid-column-gap: 10px;
}

.datamods-dt-nowrap {
  word-break: keep-all;
  white-space: nowrap;
}



/* validation */
.datamods-validation-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  height: 50px;
  line-height: 50px;
  font-size: large;
}

.datamods-validation-summary {
  font-weight: bold;
  text-align: center;
}

.datamods-validation-item {
  font-size: larger;
}



/* modified from esquisse for data types */
.btn-column-categorical {
  background-color: #00C896;
  color: #FFFFFF;
}
.btn-column-continuous {
  background-color: #FFB100;
  color: #FFFFFF;
}
.btn-column-dichotomous {
  background-color: #8A4FFF;
  color: #FFFFFF;
}
.btn-column-datetime {
  background-color: #11A0EC;
  color: #FFFFFF;
}
.btn-column-id {
  background-color: #848484;
  color: #FFFFFF;
}
.btn-column-text {
  background-color: #2E2E2E;
  color: #FFFFFF;
}

/* Flip-down flip-up */

.smart-dropdown .selectize-dropdown {
  position: absolute;
}

    /* When near bottom of viewport, flip up */
.flip-up .selectize-dropdown {
  top: auto !important;
  bottom: 100% !important;
  margin-bottom: 5px;
  margin-top: 0;
}


/* Text-like select input */
.text-select .control-label {
  display: none !important;
}

.text-select .form-group.shiny-input-container {
  height: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
  margin: 2px !important;
  padding: 2px !important;
  display: inline-block;
  vertical-align: top;
  overflow: visible;
}

.text-select {
  display: inline-block;
  vertical-align: top;
  position: relative;
  top: 0;
}

.text-select .selectize-control {
  margin: 0;
  width: 140px !important;
  padding: 0;
  display: inline-block;
  vertical-align: top;
}

.text-select .selectize-input {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  width: 100% !important;
  min-width: auto !important;
  padding: 0 18px 0 2px !important;
  margin: 0 !important;
  height: 1em !important;
  line-height: 1em !important;
  font-size: inherit !important;
  font-family: inherit !important;
  color: inherit !important;
  min-height: 1em !important;
  max-height: 1em !important;
  display: inline-block !important;
  vertical-align: top !important;
  position: relative;
  top: 0;
}

.text-select .selectize-input > div {
  line-height: 1em !important;
  height: 1em !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: top !important;
}

.text-select .selectize-input::after {
  content: '▼';
  position: absolute;
  right: 3px;
  top: 0;
  font-size: 0.8em;
  color: #666;
  pointer-events: none;
  line-height: 1em;
}

.text-select .form-group {
  margin: 0 !important;
  display: inline-block;
  vertical-align: top;
}
