:root {
    --white: #FFF;
    --light: #FFF;
    --lightPurple: #A39FC2;
    --lightgray: #dfdfdf;
    --subtlecolor: #f5f8f3;
    --highlight: #E8B225;
    --dark: #191E15;
    --color-primary: #012A17;
    --color-secondary: #E8B225;

    --membership-highlight: rgba(232, 178, 37, 0.3  );

    --card-shadow: 20px 20px 60px var(--lightgray);
    --border-radius: 0;
    --offset-amount: 10rem;
    --offset-amount-mobile: 7rem;

    --side-nav-width: 350px;
    --side-nav-mobile-width: 100%;

    --main-top-nav-height: 50px;
    --bottom-nav-height: 80px;
}

body {
    color: var(--dark);
    font-family: "D-DIN";
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.65;
    background-color: var(--white);
}

#appContentArea {
    margin-bottom: calc(var(--bottom-nav-height));
    height: calc(100vh - var(--bottom-nav-height));
    overflow-y: auto;
    overflow-x: hidden;
}

#bottomNav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f8f9fa;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: var(--bottom-nav-height);
}

#bottomNav .btn {
    width: 25%;
    border: none;
    background: none;
    font-size: 0.9rem;
    font-family: "D-DIN";
    border-radius: 0px;
    height: 100%;
    transition: all 0.2s linear;
}

#bottomNav button.active {
    border-top: 5px solid var(--highlight);
}

#bottomNav .btn .bi {
    font-size: 1.5rem;
    /* Icon size */
}

#qrcode img {
    max-width: 100%;
    height: auto;
    margin: auto;
}

#loadingOverlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--color-primary);
    color: var(--light);
    z-index: 10;
}

#pageTitleArea {
    height: var(--main-top-nav-height);
    margin-bottom: .5rem;
}

#pageTitleArea h1 {
    margin-bottom: 0px;
}

#liveClock {
    font-size: 2rem;
}

h1,
.h1,
h2,
.h2,
h3,
.h3 {
    font-family: "D-DIN";
    font-weight: 700;
}

h3,
.h3 {
    font-size: 1.2rem;
}

#siteContent {
    transition: margin-left .5s;
}

#viewHeaderImage {
    height: 10rem;
    min-height: 150px;
}

body.side-nav-open #siteContent {
    margin-left: var(--side-nav-width);
    transition: margin-left .5s;
}

.smaller {
    font-size: 0.7em;
}

.offset-section-next {
    padding-bottom: calc(var(--offset-amount) + 2rem);
}

.offset-section-next+section {
    margin-top: calc(var(--offset-amount)* -1);
    position: relative;
    z-index: 10;
}

.page-height {
    min-height: 100vh;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--color-second);
}

.loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    display: flex;
    color: var(--light);
    font-size: 2rem
}

/* Listing cards */

button.listed-card {
    background: transparent;
    border: none;
    white-space: normal;
    text-align: left;
    padding: 0px;
    width: 100%;
}

button.listed-card.membership-special {
    background-color: var(--membership-highlight);
}

button.listed-card.signed-up {
    opacity: 0.7;
}

.listed-card-image {
    overflow: hidden;
}

.listed-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--border-radius);
}

.listed-card-image img.has-logo {
    object-fit: contain;
}

.listed-card h2 {
    font-size: 1.25rem;
    margin-bottom: 0;
    word-wrap: break-word;
}

.link-text {
    text-transform: uppercase;
    font-size: 0.7rem;
}

/* Messages */

.accordion-body p:last-of-type {
    margin-bottom: 0px;
}

/* Colors */

.text-primary {
    color: var(--color-primary) !important;
}

.text-dark {
    color: var(--dark) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
    color: var(--white);
}

.bg-dark {
    background-color: var(--dark) !important;
    color: var(--dark);
}

/* Button general shape */
.btn {
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
}

.btn-primary,
.btn.btn- {
    background-color: var(--color-primary);
    color: var(--light);
    border-color: var(--highlight);
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover,
.btn.btn-:active,
.btn.btn-:focus,
.btn.btn-:hover {
    background-color: var(--highlight);
    color: var(--light);
    border-color: var(--highlight);
}

.bg-primary .btn-primary,
.bg-primary .btn.btn- {
    background-color: var(--dark);
    color: var(--light);
    border-color: var(--dark);
}

.form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

i.bi-asterisk {
    color: var(--color-primary);
}

.form-control,
.form-select {
    border-radius: 0px;
}


/* Navbar */

#sideNav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: var(--top-navbar-height);
    left: 0;
    overflow-x: hidden;
    transition: width 0.5s ease;
    padding-top: 60px;
}

.ccm-toolbar-visible #sideNav {
    top: calc(var(--top-navbar-height) + 48px);
}

body.side-nav-open #sideNav {
    width: var(--side-nav-width);
    padding-left: .75rem;
    padding-right: .75rem;
}

#mainNav {
    padding: 5px 0 5px 0px;
}

nav.navbar .navbar-nav .btn {
    padding: .3rem 2rem;
}

#languageMobile {
    flex-direction: row;
}

.nav-link-lang {
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    padding: 1rem .25rem;
}

.nav-link-lang.active {
    color: var(--dark);
}

.navbar-nav .dropdown-menu {
    border-radius: 0px;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--highlight);
    color: var(--light);
}

#siteLogo {
    width: auto;
    height: 50px;
}

#someWrapper {
    position: fixed;
    padding: 1.3rem;
    background-color: var(--color-main);
    border-radius: 0 2.3rem 2.3rem 0;
    bottom: 20px;
    transition: all 0.3s ease;
    z-index: 100;
}

#someWrapper a {
    color: var(--light);
    margin-bottom: 5px;
    display: inline-block;
    font-size: 1.3rem;
}

#socialIcons a,
#socialIconsMobile a,
#socialIconsFooter a {
    color: var(--light);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

#socialIcons a:hover,
#socialIconsFooter a:hover {
    color: var(--highlight);
}

#socialIconsMobile {
    display: none;
    padding: .5rem .75rem;
}

#socialIconsMobile a {
    font-size: 1rem;
    padding: 2px 4px;
    border: 2px solid;
}

.bg-img {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

#toastLand {
    max-width: calc(100vw - 4rem);
    position: fixed;
    bottom: 2rem;
    right: 2rem;
}

/* Hero area */

#pageHero {
    text-align: center;
    height: 60vh;
    min-height: 20rem;
    position: relative;
    overflow: hidden;
    display: flex;
    color: var(--light);
    z-index: 2;
}

#pageHero h1,
#pageHero h2,
#pageHero h3 {
    color: var(--light);
}

#heroOverlay {
    position: absolute;
    z-index: 1;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background-image: linear-gradient(rgba(59 49 49 / 0), rgba(59 49 49 / 90));
    opacity: .25;
}

#pageHero.large-hero {
    height: 70vh;
}

#pageHero h1 {
    font-size: 4.6em;
    font-weight: 900;
}

#pageHero h2 {
    font-size: 3em;
    font-weight: 900;
}

#pageHero .ccm-block-feature-link-text p {
    font-size: 1.5em;
}

#pageHero .ccm-block-feature-link-text p:first-of-type {
    margin-top: 4rem;
}

#pageHero .container,
#pageHero .container-fluid {
    z-index: 2;
}

#pageHero img {
    max-height: 150px;
    width: auto;
}

.bg-video-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
}

.bg-video-wrapper .bg-video {
    opacity: 1;
    position: absolute;
    object-fit: cover;
    left: 0;
    top: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    max-width: unset;
    transition: all 1.5s ease-out;
}

.page-item:not(.next) .page-link {
    border-radius: 50%;
    padding: 10px 18px;
    background-color: transparent;
    border-color: transparent;
    color: var(--color-main);
    font-weight: bolder;
    margin-right: 20px;
}

.page-item.active .page-link {
    background-color: var(--secondary);
    color: var(--light);
}

.page-item.prev .page-link,
.page-item.next .page-link {
    border-radius: 25px;
    border: none;
    color: var(--secondary);
    font-weight: 900;
}

.page-item .page-link:hover {
    color: var(--highlight);
}

.pagination-wrapper .page-item.prev.disabled,
.pagination-wrapper .page-item.next.disabled,
.ccm-pagination-wrapper .page-item.prev.disabled,
.ccm-pagination-wrapper .page-item.next.disabled {
    display: none;
}

/* General items */

.kt-pair img {
    object-fit: fill;
    object-position: 50% 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
}

#mainNavigation .accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
    font-size: 1rem;
    text-align: left;
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: var(--bs-accordion-transition);
}

#mainNavigation .accordion-button:not(.collapsed) {
    box-shadow: inset 0 calc(-1* var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

#mainNavigation .accordion-button:not(.collapsed)::after {
    background-image: var(--bs-accordion-btn-active-icon);
    transform: var(--bs-accordion-btn-icon-transform);
}

#mainNavigation .accordion-item,
#mainNavigation .list-group-item {
    border: none;
    border-radius: 0;
}

#mainNavigation .accordion-body {
    padding: 0px 0px 0px 20px;
}

.justified-footer-bootbox-modal .modal-footer {
    justify-content: space-between !important;
}


/* Footer */


/* Back to Top */
#backToTop {
    position: fixed;
    right: 10px;
    bottom: 110px;
    font-size: 4rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 100;
}

#backToTop i {
    color: var(--color-main);
    position: relative;
    z-index: 2;
}

#backToTop .background-filler {
    background-color: var(--light);
    position: absolute;
    width: 3rem;
    height: 3rem;
    top: 1.85rem;
    border-radius: 50%;
    left: 1.25rem;
    z-index: 1;
}

#backToTop.hiding {
    right: -80px;
}

/* Accessability settings */

body.medium {
    font-size: 1.5em;
}

body.large {
    font-size: 2em;
}

/* Scrollbar */

::-webkit-scrollbar {
    width: 5px;
    transition: all 0.3s ease;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--lightgray);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    /* border-radius: 5px; */
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Mobile and other different size screen things */

@media (max-width: 1450px) {}

@media (max-width: 1350px) {}

@media (max-width: 1200px) {}

@media (max-width: 991px) {

    #sideNav.open {
        width: var(--side-nav-mobile-width);
    }

    #siteContent.move-aside {
        width: 0;
        margin: 0;
    }

    #pageHero h1 {
        font-size: 2em;
    }

    #socialIconsMobile {
        display: flex;
    }

    nav.navbar .nav-link {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    nav.navbar#mainNav .nav-link.active {
        background-color: var(--color-primary);
        color: var(--light);
        padding-top: 0.9rem;
        padding-bottom: 1rem;
        padding-right: 1rem;
        padding-left: 1rem;
        margin: 0;
        border-bottom: none;
    }

    nav.navbar .navbar-nav .btn {
        padding: .5rem 2rem;
        width: 100%;
    }

    #pageHero h2 {
        font-size: 3em;
    }

    #pageHero .ccm-block-feature-link-text p {
        font-size: 1.2em;
    }

    #pageHero {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    #pageHero.large-hero {
        height: 60vh;
        min-height: 500px;
    }

    #footerNav .nav-link,
    #footerNav .nav-link.active {
        font-size: 0.8rem;
    }

    nav.navbar #mainNavigation .nav-item::before,
    #footerNav .nav-item::before {
        content: none;
    }

    .page-item:not(.next) .page-link {
        font-size: 1rem;
        padding: .25rem 0.7rem;
        margin-right: .25rem;
    }

    .page-item.prev,
    .page-item.next {
        display: none;
    }

}

@media (max-width: 767px) {}

@media (max-width: 576px) {}

/* Users */

/* Fontit / Fonts */

/* @font-face {
    font-family: 'Raleway';
    src: url('../fonts/Raleway-VariableFont_wght.ttf') format("truetype-variations");
    font-weight: 1 999;
}

@font-face {
    font-family: 'Raleway';
    src: url('../fonts/Raleway-Italic-VariableFont_wght.ttf') format("truetype-variations");
    font-weight: 1 999;
    font-style: italic;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('../fonts/SourceSansPro-ExtraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('../fonts/SourceSansPro-ExtraLightIt.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('../fonts/SourceSansPro-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('../fonts/SourceSansPro-LightIt.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('../fonts/SourceSansPro-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('../fonts/SourceSansPro-It.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('../fonts/SourceSansPro-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('../fonts/SourceSansPro-SemiboldIt.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('../fonts/SourceSansPro-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('../fonts/SourceSansPro-BoldIt.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('../fonts/SourceSansPro-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'SourceSansPro';
    src: url('../fonts/SourceSansPro-BlackIt.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
} */

/* Geneesi fontit */
@font-face {
    font-family: 'D-DIN';
    src: url('../fonts/D-DIN.otf');
    font-weight: 400;
}

@font-face {
    font-family: 'D-DIN';
    src: url('../fonts/D-DIN-Bold.otf');
    font-weight: 700;
}

@font-face {
    font-family: 'D-DIN';
    src: url('../fonts/D-DIN-Italic.otf');
    font-weight: 400;
    font-style: italic;
}

/* @font-face {
    font-family: 'Animosa';
    src: url('../fonts/Animosa-ExtraLight.otf');
    font-weight: 200;
}

@font-face {
    font-family: 'Animosa';
    src: url('../fonts/Animosa-Light.otf');
    font-weight: 300;
}

@font-face {
    font-family: 'Animosa';
    src: url('../fonts/Animosa-Regular.otf');
    font-weight: 400;
}

@font-face {
    font-family: 'Animosa';
    src: url('../fonts/Animosa-Bold.otf');
    font-weight: 700;
}

@font-face {
    font-family: 'Animosa';
    src: url('../fonts/Animosa-ExtraBold.otf');
    font-weight: 800;
} */