html,
body {
  height: 100%;
  font-size: 0.95rem;
}

a:not([href]) {
  color: inherit;
  text-decoration: none;
}

.b-tooltip:not([style*='transform']),
.tooltip {
  top: 0;
}

.v-center {
  vertical-align: middle !important;
}

.wrap {
  min-height: calc(100vh - 60px);
  height: auto;
  padding: 0 0 60px;
}

.wrap > .container {
  padding: 20px 15px;
}

.footer {
  height: 60px;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.not-set {
  color: #c55;
  font-style: italic;
}

.grid-view table.table td {
  white-space: nowrap;
  padding: 0.35rem;
}

.grid-view table.table tbody a,
table.table.detail-view tbody a {
  color: rgb(0, 123, 255);
  text-decoration: underline;
}

.grid-view table.table th {
  padding: 0.35rem 0.5rem;
}

.popover-footer .btn {
  margin-bottom: 0;
}

.navbar .dropdown-menu a.dropdown-item {
  padding: 0.25rem 1.5rem;
}

.detail-view th {
  width: 30%;
}

.detail-view td {
  width: 70%;
}

table.table.detail-view td,
table.table.detail-view th {
  padding: 0.35rem;
}

.grid-view .filters input,
.grid-view .filters select {
  min-width: 50px;
}

.select2-selection__rendered {
  margin-right: 17px;
}

.hint-block {
  display: block;
  margin-top: 5px;
  color: #999;
}

.error-summary {
  color: #a94442;
  background: #fdf7f7;
  border-left: 3px solid #eed3d7;
  padding: 10px 20px;
  margin: 0 0 15px 0;
}

.level-button, .car-button, .contest-checkbox, .user-button {
  margin-top: 23px;
}

.user-banned {
  margin-top: 23px;
  padding-left: 23px;
}

.grid-view td img {
  max-width: 100px;
}

.detail-view td img {
  max-height: 200px;
}

.collapse-grid {
  max-height: 500px;
  overflow: auto;
}

.checkbox-label {
  margin-right: 50px;
}

.popover-content,
.popover-title {
  padding: 4px;
}

.custom-file {
  height: auto;
}

.custom-file-label::after {
  content: 'Выбрать';
}

.form-control.is-valid,
.form-control.is-invalid {
  background-position: right calc(0.7em + 0.1875rem) center;
}

.required-label::after {
  content: '*';
  margin-left: 3px;
  font-weight: 400;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: tomato;
}

.mail-preview * {
  box-sizing: content-box
}

.image-outlined {
  background-color: lightgray;
  border: 1px solid lightgray;
}

img.preview-image {
  max-height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

img.preview-image:after {
  content: "\f03e" " " attr(alt);
  font-size: 16px;
  font-family: 'Font Awesome 5 Free', serif;
  display: block;
  position: absolute;
  z-index: 2;
  top: -3px;
  left: 0;
  width: 200%;
  height: 200%;
  background-color: white;
}

.has-error ~ .invalid-feedback,
.has-error .invalid-feedback {
  display: block;
}

.color-preview {
  height: 20px;
  width: 60px;
  border-style: solid;
  border-width: 1px;
  border-color: black;
  border-radius: 0.25rem;
}
/* divider-vertical return */
.navbar .divider-vertical {
  height: 35px;
  margin: 0;
  border-right: 1px solid #cfd8dc;
  border-left: 1px solid #eceff1;
}

.navbar-inverse .divider-vertical {
  border-right-color: #222;
  border-left-color: #111;
}

@media (max-width: 992px) {
  .navbar-collapse .nav > .divider-vertical {
    display: none;
  }
}