:root {
    --light: #ffffff;
    --lightgray: #dfdfdf;
    --dark: #000000;
    --dark-blue: #12314a;
    --teal: #004750;
    --orange: #ff6b00;

    --card-shadow: 20px 20px 60px var(--lightgray);
    --border-radius: .6rem;
}

body {
    color: var(--dark);
    /* font-size: 20px; */
    font-family: 'LibreFranklin';
    font-weight: 400;
    transition: all 0.3s ease;
    background-color: var(--light);
}

.smaller {
    font-size: 0.7em;
}

h1,
.h1,
h2,
.h2,
h3,
.h3 {
    font-family: 'Archivo';
    font-weight: 900;
    color: var(--orange);
}

h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: 'Archivo';
    font-weight: 900;
    color: var(--teal);
}

a {
    text-decoration: none;
}

.dark {
    color: var(--dark);
}

.dark-bg {
    background-color: var(--dark);
    color: var(--light);
}

.dark-bg a {
    color: var(--light);
}

.dark-blue {
    color: var(--dark-blue);
}

.dar-blue-bg {
    background-color: var(--dark-blue);
    color: var(--light);
}

.dark-blue-bg a {
    color: var(--light);
}

.teal {
    color: var(--teal);
}

.teal-bg {
    background-color: var(--teal);
    color: var(--light);
}

.teal-bg a {
    color: var(--orange);
    text-decoration: none;
}

.teal-bg .btn-primary,
.teal-bg .btn-,
.teal-bg .ccm-block-feature-link-text .btn- {
    background-color: var(--orange);
    border-color: var(--orange);
    color: var(--light);
}

.teal-bg .btn-primary:hover,
.teal-bg .btn-primary:active,
.teal-bg .btn-primary:focus,
.teal-bg .btn-:hover,
.teal-bg .btn-:active,
.teal-bg .btn-:focus,
.teal-bg .ccm-block-feature-link-text .btn-:active,
.teal-bg .ccm-block-feature-link-text .btn-:focus,
.teal-bg .ccm-block-feature-link-text .btn-:hover {
    background-color: var(--orange);
    border-color: var(--orange);
    color: var(--light);
}

.teal-bg h1,
.teal-bg .h1,
.teal-bg h2,
.teal-bg .h2,
.teal-bg h3,
.teal-bg .h3,
.teal-bg h4,
.teal-bg .h4,
.teal-bg h5,
.teal-bg .h5,
.teal-bg h6,
.teal-bg .h6 {
    color: var(--light);
}

.orange {
    color: var(--orange);
}

.orange-bg {
    background-color: var(--orange);
    color: var(--light);
}

.orange-bg a {
    color: var(--light);
}

.lightgray {
    color: var(--lightgray);
}

.lightgray-bg {
    background-color: var(--lightgray);
    color: var(--light);
}

.lightgray a {
    color: var(--orange);
}

.light {
    color: var(--light);
}

.lightbg,
.lightbg:hover {
    background-color: var(--light);
    color: var(--dark);
}

.lightbg a {
    color: var(--dark);
}

.gradient-bg {
    background-image: url('../img/gradient_tausta.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.gradient-siili-bg {
    background-image: url('../img/gradient_tausta_siili.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

hr {
    border-top: var(--lightgray) solid .03em;
}

.btn {
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.btn-primary,
.btn-,
.ccm-block-feature-link-text .btn- {
    background-color: var(--teal);
    border-color: var(--teal);
    color: var(--light);
}

.btn-primary:hover,
.btn-primary:active,
.ccm-block-feature-link-text .btn-:hover,
.ccm-block-feature-link-text .btn-:active,
:not(.btn-check) + .btn:active {
    background-color: var(--teal);
    border-color: var(--teal);
    color: var(--light);
    /*opacity: 0.8;*/
}

.btn-primary:focus,
.ccm-block-feature-link-text .btn-:focus {
    background-color: var(--teal);
    border-color: var(--teal);
    color: var(--light);
}

.btn-primary:disabled,
.ccm-block-feature-link-text .btn-:disabled {
    background-color: var(--teal);
    border-color: var(--teal);
    color: var(--light);
    opacity: 0.6;
}

.btn.btn-orange,
a.btn.btn-orange,
#advancedTechSection .btn.btn- {
    background-color: var(--orange);
    border-color: var(--orange);
    color: var(--light);
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
    /* background-color: var(--parikkala-blue);
	border-color: var(--parikkala-blue); */
}

.btn-secondary.active {
    /* background-color: var(--parikkala-lightblue);
	border-color: var(--parikkala-lightblue); */
}

.btn-link,
a.btn-link {
    color: var(--teal);
    text-decoration: none;
}

.btn-outline-secondary,
.btn-outline-secondary:hover {
    border-color: var(--dark);
    color: var(--dark);
    background-color: transparent;
    font-weight: 700;
}

.btn-outline-secondary:hover {
    box-shadow: var(--card-shadow);
}

.form-label {
    font-family: 'Archivo';
    font-weight: 900;
    text-transform: uppercase;
    color: var(--teal);
    font-size: 1.2em;
    margin-bottom: 0;
}

.quick-product-search .form-label {
    font-size: 1.5em;
}

i.bi-asterisk {
    color: var(--orange);
}

.form-floating .floating-label {
    font-family: 'Archivo';
    font-weight: 900;
    color: var(--teal) !important;
    font-size: .8em;
}

.input-group input {
    background-color: var(--light);
    border-color: var(--light);
}

.input-group .btn-outline-secondary {
    background-color: var(--light);
    border-color: var(--light);
    color: var(--teal);
}

#products_wrapper.dataTables_wrapper .dataTables_filter {
    display: none;
}

.modal-footer {
    justify-content: space-between;
    border-top: none;
}

#sizeSelector {
    margin: 0px;
    padding: 0px;
    position: relative;
    display: flex;
}

#sizeSelector li {
    float: left;
    list-style: none;
    margin-left: 2px;
    margin-right: 2px;
    margin-top: auto;
}

#sizeSelector button {
    background-color: transparent;
    border: none;
    padding: 0px;
    margin: 0px;
    cursor: pointer;
}

#sizeSelector li#medium {
    font-size: 125%;
    margin-bottom: -3px;
}

#sizeSelector li#large {
    font-size: 150%;
    margin-bottom: -4px;
}

#sizeSelector li.selected-letter button {
    text-decoration: underline;
}

.container.wide {
    width: 90vw;
    max-width: 1600px;
}

#responsibilityBar .orange-image-container {
    background-color: var(--orange);
    aspect-ratio: 1;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 0.75rem;
    background-position: center;
    border-radius: 50%;
    background-origin: content-box;
}

#responsibilityBar h1,
#responsibilityBar h2,
#responsibilityBar h3,
#responsibilityBar h4,
#responsibilityBar h5,
#responsibilityBar h6,
#responsibilityBar .h1,
#responsibilityBar .h2,
#responsibilityBar .h3,
#responsibilityBar .h4,
#responsibilityBar .h5,
#responsibilityBar .h6 {
    color: var(--teal);
}

#responsibilityBar .ccm-block-feature-link-text .btn- {
    background-color: transparent;
    color: var(--dark);
    padding: 0px;
    border: none;
}

#responsibilityBar .btn-::after {
    font-family: bootstrap-icons !important;
    content: "\f285";
    top: 2px;
    position: relative;
    font-size: 0.85rem;
    left: 2px;
}

/* Navbar */

#mainNav {
    padding: 5px 0 5px 0px;
}

#orangeStrip,
#orangeStrip .container {
    height: 15px;
    padding: 0px;
}

#orangeStrip .container img.img-fluid {
    height: 10px;
    width: auto;
    vertical-align: text-top;
}

#orangeStrip img nav.navbar {
    z-index: 3;
    /* Giving little z-index so it shows from behind a hero video */
}

nav.navbar .navbar-nav .btn {
    padding: .3rem 2rem;
}

nav.navbar #mainNavigation .nav-item,
#footerNav .nav-item {
    position: relative;
}

nav.navbar #mainNavigation .nav-item::before,
#footerNav .nav-item::before {
    content: "";
    position: absolute;
    top: 15%;
    left: 0;
    width: 2px;
    height: 70%;
    background-color: var(--light);
    transform: translateX(-50%);
}

nav.navbar #mainNavigation .nav-item:first-of-type::before,
#footerNav .nav-item:first-of-type::before {
    background-color: transparent;
}

nav.navbar#mainNav .nav-link,
#footerNav .nav-link {
    font-family: 'LibreFranklin';
    font-weight: 700;
    color: var(--light);
    text-transform: uppercase;
    padding: 1rem 1rem;
}

#footerNav .nav-item:first-of-type .nav-link {
    padding-left: 0px;
}

nav.navbar#mainNav .nav-link.active,
#footerNav .nav-link.active {
    color: var(--orange);
    font-family: 'Archivo';
    font-weight: 800;
    font-size: 1.1rem;
    padding-top: 0.9rem;
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
    border-radius: 0px;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--orange);
    color: var(--light);
}

#siteLogo {
    width: 220px;
    height: auto;
}

#socialIcons a,
#socialIconsMobile a,
#socialIconsFooter a {
    color: var(--light);
    font-size: 1.5rem;
    padding: 4px 7px;
    transition: all 0.3s ease;
    border: 2px solid var(--light);
    border-radius: 50%;
}

#socialIcons a:hover,
#socialIconsFooter a:hover {
    color: var(--orange);
    border-color: var(--orange);
}

#socialIconsMobile {
    display: none;
    padding: .5rem .75rem;
}

#socialIconsMobile a {
    font-size: 1rem;
    padding: 2px 4px;
    border: 2px solid;
}

.navbar-toggler {
    color: var(--light);
    padding: 0px;
    border: none;
    font-size: 3rem;
    border-radius: 0px;
}

.bg-img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#toastLand {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
}

/* Hero area */

#pageHero.lazy video.bg-video {
    opacity: 0;
}

#pageHero {
    text-align: center;
    height: 60vh;
    min-height: 20rem;
    position: relative;
    overflow: hidden;
    display: flex;
    color: var(--light);
}

#pageHero h1,
#pageHero h2,
#pageHero h3 {
    color: var(--light);
}

#heroOverlay {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background-color: var(--teal);
    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 {
    z-index: 2;
}

.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;
}

.left-hr::before {
    content: ' ';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -.5rem;
    border-left: 1px solid var(--lightgray);
}

/* Products */

.product-main-img {
    object-fit: fill;
    /* object-position: 50% 50%;
    aspect-ratio: 1 / 1; */
    object-fit: cover;
    width: 100%;
    height: 50vh;
}

.hype-logos-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-around;
}

.hype-logos-wrapper img {
    width: calc(85% / 3);
    margin-top: 20px;
}

.quick-category,
.quick-category-separator {
    font-family: 'Archivo';
    text-transform: uppercase;
    color: var(--teal);
    font-size: 1.5em;
    transition: all ease-in;
}

.quick-category-separator {
    color: var(--orange);
}

.quick-category.active {
    font-weight: 900;
}

.quick-category:hover {
    cursor: pointer;
    color: var(--orange);
}

.product-card {}

.product-name {
    font-size: 2.1em;
}

.product-card-img {
    height: 350px;
    margin: 20px;
}

/* Resellers */

.dealer-list-img {
    background-color: var(--teal);
    background-image: url('../img/ST_web_piikisika_logo_valk.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    border-radius: 20px;
    aspect-ratio: 1 / 1;
    font-family: 'Archivo';
    font-weight: 900;
    font-size: 3em;
    color: var(--light);
    display: flex;
    justify-content: center;
    align-items: center;
}

.deadler-info {
    color: var(--dark-blue);
    font-weight: 600;
}

.page-item:not(.next) .page-link {
    border-radius: 50%;
    padding: 10px 18px;
    background-color: transparent;
    border-color: transparent;
    color: var(--dark-blue);
    font-weight: bolder;
    margin-right: 20px;
}

.page-item.active .page-link {
    background-color: var(--teal);
    color: var(--light);
}

.page-item.prev .page-link,
.page-item.next .page-link {
    border-radius: 25px;
    border: none;
    color: var(--teal);
    font-family: 'Archivo';
    font-weight: 900;
}

.page-item .page-link:hover {
    color: var(--orange);
}



.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 */

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

h2.section-header {
    font-size: 5rem;
    font-weight: 900;
}

.kt-pair img {
    object-fit: fill;
    object-position: 50% 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
}

/* Highlight content */

.highlight-content h2 {
    font-size: 5rem;
    font-weight: 900;
}

.highlight-content a {
    text-decoration: none;
}

.highlight-content .ccm-block-feature-link-text .btn {
    margin-bottom: 3rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Footer */



/* Inputs*/

.label-top-margin {
    /* if we need to line button with inputs with labels */
    margin-top: 32px;
}

input,
input.form-control,
select,
select.form-control,
select.form-select-sm {
    border-radius: var(--border-radius);
}

.user-card.user-deactivated {
    opacity: 0.5;
}

.user-card .btn-group .btn {
    border-radius: 0px;
}

.user-card .progress {
    border-radius: 0px;
}

/* 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(--orange);
    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: 13px;
    transition: all 0.3s ease;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--lightgray);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--teal);
    /* border-radius: 5px; */
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--orange);
}

/* Mobile and other different size screen things */

@media (max-width: 1450px) {
    .container.wide {
        width: 100%;
    }
}

@media (max-width: 1350px) {}

@media (max-width: 1200px) {
    nav.navbar .navbar-brand {
        padding: .5rem;
    }
}

@media (max-width: 991px) {
    #pageHero h1 {
        font-size: 2em;
    }

    #socialIcons {
        display: none;
    }

    #socialIconsMobile {
        display: flex;
    }

    nav.navbar .container.wide {
        padding-left: 0px;
        padding-right: 0px;
    }

    nav.navbar .nav-link {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    nav.navbar .nav-item:first-of-type {
        margin-top: 1rem;
    }

    .navbar-nav .nav-link.active,
    .navbar-nav .show > .nav-link {
        background-color: var(--dark);
        color: var(--light);
    }

    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;
    }

    .quick-category,
    .quick-product-search .form-label {
        font-size: 1em;
    }

    #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;
    }

    #responsibilityBar .col-lg-4 {
        margin-bottom: 1rem;
    }

    .deadler-info p {
        word-break: break-word;
    }

    #footerNav .nav-item:first-of-type .nav-link {
        padding-left: 1rem;
    }
}

@media (max-width: 800px) {}

@media (max-width: 500px) {}

/* Users */

/* Fontit / Fonts */

@font-face {
    font-family: 'Archivo';
    src: url('../fonts/Archivo-VariableFont_wdth,wght.ttf') format("truetype-variations");
    font-weight: 1 999;
}

@font-face {
    font-family: 'LibreFranklin';
    src: url('../fonts/LibreFranklin-Regular.ttf');
    font-weight: 400;
}

@font-face {
    font-family: 'LibreFranklin';
    src: url('../fonts/LibreFranklin-Bold.ttf');
    font-weight: 700;
}

@font-face {
    font-family: 'MavenPro';
    src: url('../fonts/MavenPro-Medium.ttf');
    font-weight: 500;
}

@font-face {
    font-family: 'MavenPro';
    src: url('../fonts/MavenPro-Bold.ttf');
    font-weight: 700;
}

@font-face {
    font-family: 'MavenPro';
    src: url('../fonts/MavenPro-Black.ttf');
    font-weight: 900;
}