.main-logo {
  display: inline-block;
  margin-right: 10px;
  height: 40px;
}

.main-header-top-fix {
  max-height: 100px !important;
}

.main-header-top-fix > .navbar {
  max-height: 100px !important;
}

.custom-checkbox {
  float: left;
  margin-right: 10px;
  margin-top: 4px;
}

.custom-checkbox-crispy {
  margin-left: auto;
}

.table-warning-custom,
.table-warning-custom > th,
.table-warning-custom > td {
  background-color: #fad7a0;
}

.table-hover .table-warning-custom:hover {
  background-color: #f8c471;
}

.table-hover .table-warning-custom:hover > td,
.table-hover .table-warning-custom:hover > th {
  background-color: #f8c471;
}

/* Залипуха для меню, чтобы кликалось в любом месте, а не только над текстом */
.settings-menu > li {
  margin: 0;
  padding: 0;
}

.settings-menu > li > a {
  padding: 7px 20px 7px 20px;
  display: block;
}

.table-borderless td, .table-borderless th {
  border: none;
}

/* Залипухи для календарей, чтобы они не перекрывались navbar-ом */
.datepicker {
  z-index: 1050 !important;
}

.daterangepicker {
  z-index: 1050 !important;
}

.bootbox-select-height-lg .bootbox-input-select {
  min-height: 300px;
}

.rn-select-height-lg {
  min-height: 300px;
}

.rn-select-height-xl {
  min-height: 600px;
}

.select2 {
  font-size: 14px;
}

.select2-dropdown {
  font-size: 14px;
}

.select2-container--bootstrap4 .select2-dropdown .select2-results__option[aria-selected="true"]:is(:not(.select2-results__option--highlighted)) {
  background-color: #d5d8dc;
}

.rn-select2-increased-height .select2-results > .select2-results__options {
  max-height: 450px;
}

.rn-select2-increased-height .select2-results__option {
  padding-top: 2px;
  padding-bottom: 2px;
}

.rn-select2-increased-height .select2-results__group {
  padding-top: 2px;
  padding-bottom: 2px;
}

.rn-select2-increased-height .select2-search__field {
  padding-top: 2px;
  padding-bottom: 2px;
}

.rn-color-select2-dropdown li {
  display: inline !important;
  padding: 0;
}

.rn-color-select2-dropdown {
  width: 240px !important;
}

.rn-panel-block-title {
  font-weight: bold !important;
  text-transform: uppercase !important;
}

.rn-panel-block {
  padding: 1rem 1rem !important;
}

.invalid-feedback {
  color: #ff5252;
}

.rn-search-input {
  max-width: 400px;
  width: 83%; /* При 80% текст подсказки обрезается, а при 85% не влезает кнопка поиска. Такая вот петрушка... */
  height: 28px;
  display: inline-block !important;
}

.rn-dimmed {
  position: relative;
}

.rn-dimmed:after {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 99;
}

.dropdown-no-arrow > .dropdown-toggle:after {
  content: initial;
}

.dropdown-no-arrow > .dropdown-toggle i {
  margin-left: 5px;
  margin-right: 5px;
}

.rn-form-row {
  margin-left: -5px;
  margin-right: -5px;
  margin-bottom: 0 !important;
}

.rn-form-group {
  padding-left: 5px;
  padding-right: 5px;
  margin-bottom: 0 !important;
}

.txt-test-status-manual-stop {
  color: #7B68EE !important;
}
