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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    -webkit-text-size-adjust: 100%;
}

img,
svg,
iframe {
    max-width: 100%;
    vertical-align: middle;
}

button,
input,
textarea,
select {
    margin: 0;
    font: inherit;
}

button {
    cursor: pointer;
}

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

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}

.row > * {
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
}

.g-2 { --bs-gutter-x: .5rem; --bs-gutter-y: .5rem; }
.g-3 { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; }
.g-4 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; }
.g-5 { --bs-gutter-x: 3rem; --bs-gutter-y: 3rem; }

.col-12 { flex: 0 0 auto; width: 100%; }

.d-none { display: none !important; }
.d-flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.flex-wrap { flex-wrap: wrap !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-center { align-items: center !important; }
.align-items-end { align-items: flex-end !important; }
.align-middle { vertical-align: middle !important; }
.gap-2 { gap: .5rem !important; }
.gap-3 { gap: 1rem !important; }
.vstack { display: flex; flex: 1 1 auto; flex-direction: column; }

.ms-auto { margin-left: auto !important; }
.me-2 { margin-right: .5rem !important; }
.mx-auto { margin-right: auto !important; margin-left: auto !important; }
.mt-2 { margin-top: .5rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.p-4 { padding: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.pt-4 { padding-top: 1.5rem !important; }

.h-100 { height: 100% !important; }
.fw-bold { font-weight: 700 !important; }
.lead { font-size: 1.25rem; font-weight: 300; }
.small { font-size: .875em; }
.text-center { text-align: center !important; }
.text-secondary { color: #6c757d !important; }
.text-primary { color: #0d6efd !important; }
.bg-white { background-color: #fff !important; }
.border-0 { border: 0 !important; }
.border-top { border-top: 1px solid #dee2e6 !important; }
.shadow-sm { box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important; }
.rounded-3 { border-radius: .5rem !important; }
.img-fluid { max-width: 100%; height: auto; }
.list-unstyled { padding-left: 0; list-style: none; }
.display-5 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.2; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 42px;
    padding: .5rem 1rem;
    border: 1px solid transparent;
    border-radius: .375rem;
    color: #212529;
    background: transparent;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition: color .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.btn-lg {
    min-height: 48px;
    padding: .75rem 1.25rem;
    font-size: 1.05rem;
}

.btn-sm {
    min-height: 34px;
    padding: .25rem .75rem;
    font-size: .875rem;
}

.btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.navbar > .container {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: .3125rem 0;
    color: inherit;
    font-size: 1.25rem;
    white-space: nowrap;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.nav-link {
    display: block;
    color: inherit;
}

.navbar-toggler {
    padding: .25rem .75rem;
    color: inherit;
    background: transparent;
    border: 1px solid currentColor;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
    background-position: center 28%, center, center 72%;
    background-repeat: no-repeat;
    background-size: 1.25em 2px, 1.25em 2px, 1.25em 2px;
}

.collapse:not(.show) {
    display: none;
}

.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: .35em;
    vertical-align: .12em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-left: .3em solid transparent;
}

.dropdown-menu {
    position: absolute;
    z-index: 1000;
    display: none;
    min-width: 12rem;
    padding: .5rem 0;
    margin: 0;
    list-style: none;
    background: #fff;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    width: 100%;
    clear: both;
    padding: .25rem 1rem;
    color: #212529;
    text-decoration: none;
    white-space: nowrap;
}

.card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    color: #212529;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
}

.card-body {
    flex: 1 1 auto;
    padding: 1rem;
}

.card-img-top {
    width: 100%;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.table > :not(caption) > * > * {
    padding: .5rem;
    border-bottom: 1px solid #dee2e6;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 0;
    margin: 0 0 1rem;
    list-style: none;
}

.breadcrumb-item + .breadcrumb-item::before {
    padding-right: .5rem;
    color: #6c757d;
    content: "/";
}

.breadcrumb-item.active {
    color: #6c757d;
}

.accordion-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border: 0;
    color: #212529;
    background: #fff;
    text-align: left;
}

.accordion-button::after {
    content: "+";
    margin-left: 1rem;
    font-weight: 700;
}

.accordion-button:not(.collapsed)::after {
    content: "-";
}

.accordion-body {
    padding: 1rem 1.25rem;
}

.form-label {
    display: inline-block;
    margin-bottom: .5rem;
    font-weight: 600;
}

.form-control,
.form-select {
    display: block;
    width: 100%;
    padding: .5rem .75rem;
    border: 1px solid #ced4da;
    border-radius: .375rem;
    color: #212529;
    background: #fff;
}

.form-control:focus,
.form-select:focus {
    outline: 0;
    border-color: #86b7fe;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .18);
}

.is-invalid {
    border-color: #dc3545 !important;
}

.invalid-feedback {
    display: block;
    margin-top: .25rem;
    color: #dc3545;
    font-size: .875rem;
}

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

.alert-success { color: #0f5132; background: #d1e7dd; border-color: #badbcc; }
.alert-danger { color: #842029; background: #f8d7da; border-color: #f5c2c7; }
.alert-info { color: #055160; background: #cff4fc; border-color: #b6effb; }

.ratio {
    position: relative;
    width: 100%;
}

.ratio::before {
    display: block;
    padding-top: 56.25%;
    content: "";
}

.ratio > * {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.pagination {
    display: flex;
    gap: .35rem;
    padding-left: 0;
    list-style: none;
}

.page-link {
    display: block;
    padding: .35rem .7rem;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
    color: #0d6efd;
    background: #fff;
}

.page-item.active .page-link {
    color: #fff;
    background: #0d6efd;
    border-color: #0d6efd;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (min-width: 768px) {
    .col-md-4 { flex: 0 0 auto; width: 33.333333%; }
    .col-md-6 { flex: 0 0 auto; width: 50%; }
}

@media (min-width: 992px) {
    .d-lg-block { display: block !important; }
    .align-items-lg-center { align-items: center !important; }
    .text-lg-end { text-align: right !important; }
    .mb-lg-0 { margin-bottom: 0 !important; }
    .ms-lg-3 { margin-left: 1rem !important; }
    .col-lg-3 { flex: 0 0 auto; width: 25%; }
    .col-lg-4 { flex: 0 0 auto; width: 33.333333%; }
    .col-lg-5 { flex: 0 0 auto; width: 41.666667%; }
    .col-lg-6 { flex: 0 0 auto; width: 50%; }
    .col-lg-7 { flex: 0 0 auto; width: 58.333333%; }
    .col-lg-8 { flex: 0 0 auto; width: 66.666667%; }

    .navbar-expand-lg {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }

    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-expand-lg .navbar-toggler {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        flex-basis: 100%;
        flex-grow: 1;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
    }
}
