/* -------------------- */
/* Some brighter colors */
/* etc                  */
/* -------------------- */

:root {
  --bs-light: #eeeff0;
  --bs-light-rgb: 238, 239, 240;
  --bs-success: #32cd32;
  --bs-success-rgb: 50, 205, 50;
  --bs-warning: #ffbf00;
  --bs-warning-rgb: 255, 191, 0;
  --bs-danger: #ff0000;
  --bs-danger-rgb: 255, 0, 0;
  --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
  --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.25);
  --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.3);
  --bs-border-color: #c5c9cd;
  --bs-body-line-height: initial;
}

.border-warning {
  border-color: #ffbf00 !important;
}

.border-danger {
  border-color: #ff0000 !important;
}


/* ---------------- */
/* Breadcrumb stuff */
/* ---------------- */

.breadcrumb {
	margin-bottom: 0;
}

.breadcrumb-start {
	margin-right: 6px;
}

.breadcrumb-next {
	margin-left: 6px;
	margin-right: 6px;
}


/* ---------------- */
/* Navbar stuff     */
/* ---------------- */

.navbar-nav li:hover>a {
  background-color: var(--bs-primary-bg-subtle);
}


/* ---------------- */
/* Dropdown stuff   */
/* ---------------- */

.dropdown-menu li:hover>a {
  background-color: var(--bs-primary-bg-subtle);
}


/* ---------------- */
/* Card stuff       */
/* ---------------- */

.card-img {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.card-img-whole {
  border-top-left-radius: var(--bs-card-inner-border-radius);
  border-top-right-radius: var(--bs-card-inner-border-radius);
  border-bottom-right-radius: var(--bs-card-inner-border-radius);
  border-bottom-left-radius: var(--bs-card-inner-border-radius);
}

a:hover .card-header,
a:hover .card-body,
a:hover .card-footer {
  background-color: var(--bs-primary-bg-subtle);
}


/* ---------------- */
/* Thumbnail stuff  */
/* ---------------- */

.thumbnail {
  position: relative !important;
  aspect-ratio: 1 / 1;
  width: 100%;
}

.thumbnail-image {
  aspect-ratio: 1 / 1;
  border-radius: var(--bs-border-radius) !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  vertical-align: middle;
}

.thumbnail-caption {
  top: auto;
  height: 3em;
  text-align: center !important;
  width: 100% !important;
  left: 0 !important;
  bottom: 0 !important;
  position: absolute !important;
  color: white;
  border-radius: 0 0 var(--bs-border-radius) var(--bs-border-radius) !important;
}

.thumbnail:hover .thumbnail-caption {
  background-color: rgba(var(--bs-primary-rgb), 0.7) !important;
}

.thumbnail-caption>* {
  margin-bottom: 0 !important;
}


/* ---------------- */
/* Carousel stuff   */
/* ---------------- */

.carousel-title {
	position: absolute;
	right: 0;
	top: 0;
	left: 0;
	padding: 0.5rem 1.5rem 0.5rem 1.5rem;
	color: #fff;
	text-align: left;
	text-shadow: none;
	background: linear-gradient(to right, #00000080, #00000000, #00000000);
}

.carousel-caption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 0.5rem 1.5rem 0.5rem 1.5rem;
	color: #fff;
	text-align: right;
	text-shadow: none;
	background: linear-gradient(to right, #00000000, #00000000, #00000080);
}

.carousel-title h1 {
	font-size: 1.6em;
	font-weight: normal;
	margin: 0;
}

.carousel-title h2 {
	font-size: 1.2em;
	font-weight: normal;
	margin: 0;
}

.carousel-caption h5 {
	font-weight: normal;
	margin: 0;
}

.carousel-caption p {
	margin: 0;
}


/* ---------------- */
/* Tabs fix stuff   */
/* ---------------- */

.nav-tabs {
	border-bottom: 0 !important;
}

.nav-tabs .nav-link {
	font-size: 1.1em;
	border-bottom: var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color) !important;
}

.nav-tabs .nav-link.active {
	border-bottom: 0 !important;
}


/* ---------------- */
/* Modal+ stuff     */
/* ---------------- */

@media (min-width: 992px) {
  .modal-lg {
    --bs-modal-width: 602px;
  }
  .modal-xl {
    --bs-modal-width: 902px;
  }
}
@media (min-width: 1200px) {
  .modal-xl {
    --bs-modal-width: 902px;
  }
}
@media (min-width: 1262px) {
  .modal-xl {
    --bs-modal-width: 902px;
  }
  .modal-xxl {
    --bs-modal-width: 1202px;
  }
}
