/*
 * Clipkick's own changes to Bootstrap's CSS, loaded right after it (owner, 5 Nov 2026, SI-15: "Lets upgrade and pin
 * all those through CDN for now and compare looks"). Until 5 Nov the pages loaded the site's copy of Bootstrap
 * 4.0.0-alpha.6 (css/new/bootstrap.css, kept), edited in three places; since then Bootstrap 4.6.2 from jsdelivr, pinned
 * with its integrity hash, unchanged, and this file after it:
 *   1. the three edits of the old copy;
 *   2. the looks the pages were made with where 4.6 draws them otherwise (the values are 4.0.0-alpha.6's), found by
 *      comparing every page before and after at 1280 and 390 px: the text colour, the form fields' font, headings'
 *      line height, buttons, form fields, check boxes, windows, tabs, lists, tables and the grid;
 *   3. classes the pages use that alpha 6 didn't have (Bootstrap 4.1 and later), so did nothing on them, kept doing
 *      nothing: .card-body, .modal-dialog-scrollable and Bootstrap's .toast (which toastr's messages carry too). Not
 *      .btn-outline-light: the link pages' "Sign up" and "Decline, just view" (web_profile/link_card.php) were dark on
 *      their dark card without it, and are the outlined buttons that page was written for now.
 * Bootstrap's JavaScript is 4.6.2 since 28 Oct (vendor/bootstrap-4.6.2/), so its tooltips, dropdowns and windows now
 * have the CSS they are made for.
 */

/* 1. The old copy's three edits: Roboto for the page, 14px text, and a window's footer buttons from the start of the
   line (Bootstrap puts them at its end). */
html {
  font-family: 'Roboto';
}

body {
  font-family: 'Roboto';
  font-size: 14px;
}

.modal-footer {
  justify-content: normal;
}

/* 2. As alpha 6 drew them. */

/* Page and text */
html {
  box-sizing: border-box;
}

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

body {
  color: #292b2c;
}

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif;
  font-size: 100%;
}

th {
  text-align: left;
}

a {
  color: #0275d8;
}

a:focus,
a:hover {
  color: #014c8c;
}

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

a:not([href]):not([tabindex]):focus {
  outline: 0;
}

input[type="radio"]:disabled,
input[type="checkbox"]:disabled {
  cursor: not-allowed;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  line-height: 1.1;
}

small,
.small {
  font-size: 80%;
  font-weight: normal;
}

.text-muted {
  color: #636c72 !important;
}

.text-success {
  color: #5cb85c !important;
}

.text-warning {
  color: #f0ad4e !important;
}

a.text-warning:focus,
a.text-warning:hover {
  color: #ec971f !important;
}

.text-danger {
  color: #d9534f !important;
}

a.text-danger:focus,
a.text-danger:hover {
  color: #c9302c !important;
}

/* Grid */
.container,
.container-fluid {
  position: relative;
}

@media (min-width: 576px) {
  .container {
    width: 540px;
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .container {
    width: 720px;
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .container {
    width: 960px;
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1140px;
    max-width: 100%;
  }
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
.col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl {
  min-height: 1px;
}

.col-auto, .col-sm-auto, .col-md-auto, .col-lg-auto, .col-xl-auto {
  position: static;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

/* Tables */
.table {
  max-width: 100%;
  color: inherit;
}

.table th,
.table td {
  border-top-color: #eceeef;
}

.table thead th {
  border-bottom-color: #eceeef;
}

.table .table {
  background-color: #fff;
}

.table tbody + tbody {
  border-top-color: #eceeef;
}

.table-bordered,
.table-bordered th,
.table-bordered td {
  border-color: #eceeef;
}

/* Buttons */
.btn {
  font-weight: normal;
  line-height: 1.25;
  white-space: nowrap;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease-in-out;
}

.btn:focus,
.btn.focus {
  box-shadow: 0 0 0 2px rgba(2, 117, 216, 0.25);
}

.btn.disabled,
.btn:disabled {
  cursor: not-allowed;
}

.btn-default {
  color: ButtonText;
  background-color: ButtonFace;
}

.btn-primary {
  color: #fff;
  background-color: #0275d8;
  border-color: #0275d8;
}

.btn-primary:hover {
  color: #fff;
  background-color: #025aa5;
  border-color: #01549b;
}

.btn-primary:focus,
.btn-primary.focus {
  color: #fff;
  background-color: #0275d8;
  border-color: #0275d8;
  box-shadow: 0 0 0 2px rgba(2, 117, 216, 0.5);
}

.btn-primary.disabled,
.btn-primary:disabled {
  background-color: #0275d8;
  border-color: #0275d8;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #025aa5;
  background-image: none;
  border-color: #01549b;
}

.btn-secondary {
  color: #292b2c;
  background-color: #fff;
  border-color: #ccc;
}

.btn-secondary:hover {
  color: #292b2c;
  background-color: #e6e6e6;
  border-color: #adadad;
}

.btn-secondary:focus,
.btn-secondary.focus {
  color: #292b2c;
  background-color: #fff;
  border-color: #ccc;
  box-shadow: 0 0 0 2px rgba(204, 204, 204, 0.5);
}

.btn-secondary.disabled,
.btn-secondary:disabled {
  color: #292b2c;
  background-color: #fff;
  border-color: #ccc;
}

.btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:not(:disabled):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
  color: #292b2c;
  background-color: #e6e6e6;
  background-image: none;
  border-color: #adadad;
}

.btn-secondary:not(:disabled):not(.disabled):active:focus,
.btn-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
  box-shadow: 0 0 0 2px rgba(204, 204, 204, 0.5);
}

.btn-success {
  color: #fff;
  background-color: #5cb85c;
  border-color: #5cb85c;
}

.btn-success:hover {
  color: #fff;
  background-color: #449d44;
  border-color: #419641;
}

.btn-success:focus,
.btn-success.focus {
  color: #fff;
  background-color: #5cb85c;
  border-color: #5cb85c;
  box-shadow: 0 0 0 2px rgba(92, 184, 92, 0.5);
}

.btn-success.disabled,
.btn-success:disabled {
  background-color: #5cb85c;
  border-color: #5cb85c;
}

.btn-success:not(:disabled):not(.disabled):active,
.btn-success:not(:disabled):not(.disabled).active,
.show > .btn-success.dropdown-toggle {
  color: #fff;
  background-color: #449d44;
  background-image: none;
  border-color: #419641;
}

.btn-danger {
  color: #fff;
  background-color: #d9534f;
  border-color: #d9534f;
}

.btn-danger:hover {
  color: #fff;
  background-color: #c9302c;
  border-color: #c12e2a;
}

.btn-danger:focus,
.btn-danger.focus {
  color: #fff;
  background-color: #d9534f;
  border-color: #d9534f;
  box-shadow: 0 0 0 2px rgba(217, 83, 79, 0.5);
}

.btn-danger.disabled,
.btn-danger:disabled {
  background-color: #d9534f;
  border-color: #d9534f;
}

.btn-danger:not(:disabled):not(.disabled):active,
.btn-danger:not(:disabled):not(.disabled).active,
.show > .btn-danger.dropdown-toggle {
  color: #fff;
  background-color: #c9302c;
  background-image: none;
  border-color: #c12e2a;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  line-height: 1.25;
}

.btn-sm {
  line-height: 1.25;
}

/* Form fields and check boxes */
.form-control {
  height: auto;
  padding: 0.5rem 0.75rem;
  line-height: 1.25;
  color: #464a4c;
  border-color: rgba(0, 0, 0, 0.15);
}

.form-control:focus {
  color: #464a4c;
  border-color: #5cb3fd;
  outline: none;
  box-shadow: none;
}

.form-control::placeholder {
  color: #636c72;
}

.form-control:disabled,
.form-control[readonly] {
  background-color: #eceeef;
}

.form-control:disabled {
  cursor: not-allowed;
}

select.form-control:not([size]):not([multiple]) {
  height: calc(2.25rem + 2px);
}

.form-check {
  margin-bottom: 0.5rem;
  padding-left: 0;
}

.form-check-label {
  padding-left: 1.25rem;
  cursor: pointer;
}

.form-check-input {
  margin-top: 0.25rem;
}

.form-check-input:only-child {
  position: static;
}

.form-check-inline {
  display: inline-block;
  align-items: normal;
  margin-right: 0;
}

.form-check-inline .form-check-label {
  vertical-align: middle;
}

.form-check-inline + .form-check-inline {
  margin-left: 0.75rem;
}

.form-check-inline .form-check-input {
  position: absolute;
  margin-top: 0.25rem;
  margin-right: 0;
  margin-left: -1.25rem;
}

/* An input group's addon (alpha 6's; Bootstrap 4.0 replaced it with .input-group-prepend/-append) */
.input-group {
  flex-wrap: nowrap;
  align-items: normal;
}

.input-group .form-control {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  width: 1%;
  min-width: auto;
  margin-bottom: 0;
}

.input-group-addon,
.input-group .form-control {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.input-group-addon {
  padding: 0.5rem 0.75rem;
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.25;
  color: #464a4c;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  background-color: #eceeef;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
}

.input-group-addon:not(:first-child):not(:last-child),
.input-group .form-control:not(:first-child):not(:last-child) {
  border-radius: 0;
}

.input-group .form-control:not(:last-child),
.input-group-addon:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group-addon:not(:last-child) {
  border-right: 0;
}

.input-group .form-control:not(:first-child),
.input-group-addon:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.form-control + .input-group-addon:not(:first-child) {
  border-left: 0;
}

/* Windows (a window's own CSS that places it, as .custom_modal does, sizes it from its edges as before) */
.modal {
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
}

.modal-dialog {
  margin: 10px;
  /* (4.6 lets clicks through the window's box beside its content, to the backdrop, which closes it; alpha 6 didn't) */
  pointer-events: auto;
}

@media (min-width: 576px) {
  .modal-dialog {
    margin: 30px auto;
  }
}

.modal-content {
  width: auto;
}

.modal-header {
  align-items: center;
  padding: 15px;
  border-bottom-color: #eceeef;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.modal-header .close {
  padding: 0;
  margin: 0;
}

/* (style.css's button.close padding, which 4.6's .modal-header .close outranks) */
.modal-header button.close {
  padding-right: 10px;
}

.modal-body {
  padding: 15px;
}

.modal-footer {
  flex-wrap: nowrap;
  padding: 15px;
  border-top-color: #eceeef;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.modal-footer > * {
  margin: 0;
}

.modal-footer > :not(:first-child) {
  margin-left: 0.25rem;
}

.modal-footer > :not(:last-child) {
  margin-right: 0.25rem;
}

.modal-dialog-centered::before {
  content: none;
}

.close {
  font-weight: bold;
}

/* A close button that fades (alpha 6's .close came after its .fade, so it stayed half seen) */
.close.fade:not(.show) {
  opacity: 0.5;
}

/* Menus, tabs, the navigation bar and lists */
.dropdown-toggle {
  white-space: normal;
}

.dropdown-toggle::after {
  width: 0;
  height: 0;
  margin-left: 0.3em;
  vertical-align: middle;
}

.dropdown-menu {
  color: #292b2c;
}

.dropdown-item {
  padding: 3px 1.5rem;
  font-weight: normal;
  color: #292b2c;
}

.dropdown-item:focus,
.dropdown-item:hover {
  color: #1d1e1f;
  background-color: #f7f7f9;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: #0275d8;
}

.nav {
  flex-wrap: nowrap;
}

.nav.row {
  flex-wrap: wrap;
}

.nav-link {
  padding: 0.5em 1em;
}

.nav-link.disabled {
  color: #636c72;
}

.nav-tabs {
  border-bottom-color: #ddd;
}

.nav-tabs .nav-item {
  margin-bottom: -1px;
}

.nav-tabs .nav-link {
  margin-bottom: 0;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  border-color: #eceeef #eceeef #ddd;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: #464a4c;
  border-color: #ddd #ddd #fff;
}

.navbar-brand {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.list-group {
  border-radius: 0;
}

.list-group-item {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  margin-bottom: -1px;
}

.list-group-item:first-child {
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.list-group-item:last-child {
  margin-bottom: 0;
  border-bottom-right-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.list-group-item + .list-group-item {
  border-top-width: 1px;
}

/* Cards, badges and alerts */
.card {
  min-width: auto;
  word-wrap: normal;
}

.card-header,
.card-footer {
  background-color: #f7f7f9;
}

.badge {
  font-weight: bold;
  color: #fff;
  transition: none;
}

.alert {
  position: static;
}

.alert-success {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d0e9c6;
}

.alert-success hr {
  border-top-color: #c1e2b3;
}

.alert-success .alert-link {
  color: #2b542c;
}

.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebcccc;
}

.alert-danger hr {
  border-top-color: #e4b9b9;
}

.alert-danger .alert-link {
  color: #843534;
}

/* 3. Classes alpha 6 didn't have: nothing, as before. */
.card-body {
  flex: 0 1 auto;
  min-height: auto;
  padding: 0;
}

.modal-dialog-scrollable {
  display: block;
  max-height: none;
}

.modal-dialog-centered.modal-dialog-scrollable {
  flex-direction: row;
  justify-content: normal;
  height: auto;
}

.modal-dialog-scrollable .modal-content {
  max-height: none;
  overflow: visible;
}

.modal-dialog-scrollable .modal-header,
.modal-dialog-scrollable .modal-footer {
  flex-shrink: 1;
}

.modal-dialog-scrollable .modal-body {
  overflow-y: visible;
}

.toast {
  flex-basis: auto;
  max-width: none;
  font-size: inherit;
  background-color: transparent;
  background-clip: border-box;
  border: 0;
  box-shadow: none;
  opacity: 1;
  border-radius: 0;
}

.toast:not(:last-child) {
  margin-bottom: 0;
}
