﻿:root {
  --bs-primary: #0d6efd;
  --bs-success: #198754;
  --bs-warning: #ffc107;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-border-color: #dee2e6;
  --bs-body-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { line-height: 1.15; }
body {
  margin: 0;
  color: #212529;
  font-family: var(--bs-body-font);
  font-size: 1rem;
  line-height: 1.5;
  background: #fff;
}
img { max-width: 100%; height: auto; }
a { color: var(--bs-primary); text-decoration: underline; }
a:hover { color: #0a58ca; }

.container,
.container-fluid {
  width: 100%;
  padding-right: 12px;
  padding-left: 12px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.mt-2 { margin-top: .5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: .25rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.me-2 { margin-right: .5rem !important; }
.ms-2 { margin-left: .5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.ms-auto { margin-left: auto !important; }
.text-center { text-align: center !important; }
.text-primary { color: var(--bs-primary) !important; }
.text-success { color: var(--bs-success) !important; }
.text-warning { color: #997404 !important; }
.text-dark { color: var(--bs-dark) !important; }
.text-decoration-none { text-decoration: none !important; }
.text-decoration-underline { text-decoration: underline !important; }
.bg-light { background: var(--bs-light) !important; }
.bg-white { background: #fff !important; }
.border-top { border-top: 1px solid var(--bs-border-color) !important; }
.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }
.h-100 { height: 100% !important; }

.display-5 { font-size: clamp(1.65rem, 4vw, 3rem); font-weight: 300; line-height: 1.2; }
.lead { font-size: 1.25rem; font-weight: 300; }
.h5, h3.h5 { margin: 0 0 .5rem; font-size: 1.25rem; }

.row {
  --gutter-x: 1.5rem;
  --gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--gutter-y));
  margin-right: calc(-.5 * var(--gutter-x));
  margin-left: calc(-.5 * var(--gutter-x));
}
.row > * {
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--gutter-x) * .5);
  padding-left: calc(var(--gutter-x) * .5);
  margin-top: var(--gutter-y);
}
.g-4 { --gutter-x: 1.5rem; --gutter-y: 1.5rem; }
@media (min-width: 768px) { .col-md-4 { flex: 0 0 auto; width: 33.333333%; } }

.card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.125);
  border-radius: .375rem;
}
.card-body { padding: 1rem; }
.shadow-sm { box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important; }

.alert {
  position: relative;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: .375rem;
}

.btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  border-radius: .375rem;
}
.btn-primary { color: #fff; background: var(--bs-primary); border-color: var(--bs-primary); }
.btn-success { color: #fff; background: var(--bs-success); border-color: var(--bs-success); }
.btn-outline-primary { color: var(--bs-primary); border-color: var(--bs-primary); background: transparent; }
.btn-outline-primary:hover { color: #fff; background: var(--bs-primary); }
.btn-sm { padding: .25rem .5rem; font-size: .875rem; border-radius: .25rem; }
.btn-lg { padding: .5rem 1rem; font-size: 1.25rem; border-radius: .5rem; }

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}
.navbar-expand-lg .navbar-collapse { display: none; width: 100%; }
.navbar-expand-lg .navbar-collapse.show { display: block; }
.navbar-expand-lg .navbar-nav { flex-direction: column; }
.navbar-nav {
  display: flex;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.nav-item { margin: 0; }
.nav-link {
  display: block;
  padding: .5rem 0;
  color: rgba(0,0,0,.75);
  text-decoration: none;
}
.nav-link:hover { color: rgba(0,0,0,.9); }

.navbar-toggler {
  padding: .25rem .75rem;
  font-size: 1.25rem;
  line-height: 1;
  background: transparent;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: .25rem;
}
.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833,37,41,0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-toggler { display: none; }
  .navbar-expand-lg .navbar-collapse { display: flex !important; flex-basis: auto; }
  .navbar-expand-lg .navbar-nav { flex-direction: row; align-items: center; }
  .nav-link { padding: .5rem .8rem; }
  .ms-lg-3 { margin-left: 1rem !important; }
  .align-items-lg-center { align-items: center !important; }
}
