:root {
    --success: #42bc6a;
    --success-hover: #38a85d;
    --dark: #373a3c;
    --white: #fff;
    --body-bg: #fcfcfc;
    --body-color: #212529;
    --link-color: #d9230f;
    --link-hover: #ae1c0c;
    --font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-reduced-motion: no-preference) {
    :root { scroll-behavior: smooth; }
}

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

body {
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--body-color);
    background-color: var(--body-bg);
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: var(--link-color);
    text-decoration: underline;
}

a:hover {
    color: var(--link-hover);
}

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

h1, .h1, h3, .h3, h4, .h4, h5, .h5 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
}

h1, .h1 { font-size: calc(1.375rem + 1.5vw); }
h3, .h3 { font-size: calc(1.3rem + 0.6vw); }
h4, .h4 { font-size: calc(1.275rem + 0.3vw); }
h5, .h5 { font-size: 1.25rem; }

@media (min-width: 1200px) {
    h1, .h1 { font-size: 2.5rem; }
    h3, .h3 { font-size: 1.75rem; }
    h4, .h4 { font-size: 1.5rem; }
}

p { margin-top: 0; margin-bottom: 1rem; }
b { font-weight: bolder; }
small, .small { font-size: 0.875em; }

ul {
    padding-left: 2rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

hr {
    margin: 1rem 0;
    color: inherit;
    border: 0;
    border-top: 1px solid;
    opacity: 0.25;
}

button {
    border-radius: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    text-transform: none;
    margin: 0;
}

button,
[type="button"] {
    -webkit-appearance: button;
}

button:not(:disabled),
[type="button"]:not(:disabled) {
    cursor: pointer;
}

.container,
.container-fluid,
.container-xxl {
    width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    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; } }
@media (min-width: 1400px) { .container, .container-xxl { max-width: 1320px; } }

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
}

.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

.gx-5 > * { padding-right: 1.5rem; padding-left: 1.5rem; }
.g-5 > *  { padding-right: 1.5rem; padding-left: 1.5rem; margin-top: 1.5rem; }
.g-5 { margin-top: -1.5rem; }

.col-md-4,
.col-md-8,
.col-md-12,
.col-lg-4,
.col-lg-8,
.col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
}

@media (min-width: 768px) {
    .col-md-4  { width: 33.33333333%; }
    .col-md-8  { width: 66.66666667%; }
    .col-md-12 { width: 100%; }
}

@media (min-width: 992px) {
    .col-lg-4  { width: 33.33333333%; }
    .col-lg-8  { width: 66.66666667%; }
    .col-lg-12 { width: 100%; }
}

.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    transition: top 0.5s, box-shadow 0.5s;
}

.navbar.sticky-top {
    position: sticky;
    top: -100px;
    z-index: 1020;
}

.bg-success { background-color: var(--success) !important; }

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

.navbar-brand {
    padding-top: 0.7em;
    padding-bottom: 0.7em;
    margin-right: 1rem;
    font-size: 1.25rem;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.navbar-brand:hover { color: #fff; }

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

.nav-item { list-style: none; }

.nav-link {
    display: block;
    padding: 0.9rem 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.15s;
    font-weight: 500;
    outline: none;
}

.nav-link:hover { color: #fff; }

.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
}

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

.navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.75);
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    cursor: pointer;
}

.navbar-toggler:hover { text-decoration: none; }
.navbar-toggler:focus { outline: 0; }

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2c255%2c255%2c0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") center center no-repeat;
    background-size: 100%;
}

.nav-scrolled {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 8px 0;
    }
    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid rgba(256, 256, 256, 0.1);
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 20px 20px;
        margin-right: 30px;
    }
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
    .navbar-expand-lg .navbar-toggler {
        display: none;
    }
}

.btn {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--body-color);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}

.btn-success {
    color: var(--white);
    background-color: var(--success);
    border-color: var(--success);
}

.btn-success:hover {
    color: var(--white);
    background-color: var(--success-hover);
    border-color: var(--success-hover);
}

.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
}

.badge.bg-success { background-color: var(--success); }

.display-6 {
    font-size: calc(1.375rem + 1.5vw);
    font-weight: 300;
    line-height: 1.2;
}

@media (min-width: 1200px) {
    .display-6 { font-size: 2.5rem; }
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.card-body { padding: 1rem; }
.card-title { margin-bottom: 0.5rem; }
.card-text:last-child { margin-bottom: 0; }

.jumbotron { padding: 2rem 1rem; }

.page-header-1 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../../../assets/hero_bg.png) center center no-repeat;
    background-size: cover;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(116, 116, 116, 0.7);
}

.footer .copyright a { color: #F8F8F8; }
.footer .copyright a:hover { color: #2d2d2d; }

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

@media (min-width: 992px) {
    .py-lg-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
    .px-lg-5 { padding-right: 3rem !important; padding-left: 3rem !important; }
    .p-lg-0  { padding: 0 !important; }
}

.text-end     { text-align: right !important; }
.text-center  { text-align: center !important; }
.text-success { color: var(--success) !important; }
.text-dark    { color: var(--dark) !important; }
.text-white   { color: var(--white) !important; }
.text-body    { color: var(--body-color) !important; }

.font-weight-light { font-weight: 300 !important; }

@media (min-width: 768px) {
    .text-md-end { text-align: right !important; }
}

.d-none { display: none !important; }
.d-grid { display: grid !important; }
.gap-2  { gap: 0.5rem !important; }
.h-100  { height: 100% !important; }

@media (min-width: 768px)  { .d-md-block { display: block !important; } }
@media (min-width: 992px)  { .d-lg-block { display: block !important; } .d-lg-none { display: none !important; } }

.rounded { border-radius: 0.375rem !important; }

.palign {
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: justify;
}

.palignsmall { font-size: small; }

.wow { visibility: hidden; }

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translate3d(0, 20px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

.fadeIn   { animation-name: fadeIn; }
.fadeInUp { animation-name: fadeInUp; }

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}
