﻿/*

    Colors:

    Dark Green: #144F37
    Medium Gray: #666666
    Dark Gray: #404040

*/

:root {
    /*
        *
        Auto Scaling Font Sizes
        Generated using https://clamp.font-size.app/
        *
        Note: 1rem = 16px (based on the font size at the "html" tag level).
        *
        Header: Fixed at 16px
        Body: Scales from 16px - 18px
        Body (Small): Scales from 14px - 16px
        Footer: Fixed at 16px
        H6: Scales from 14px - 16px
        H5: Scales from 16px - 18px
        H4: Scales from 18px - 22px
        H3: Scales from 22px - 26px
        H2: Scales from 26px - 30px
        H1: Scales from 30px - 34px
        *
    */
    --font-header-sz: 1rem;
    --font-body-sz: clamp(1rem, 0.7778rem + 0.463vw, 1.125rem);
    --font-small-sz: clamp(0.875rem, 0.6528rem + 0.463vw, 1rem);
    --font-footer-sz: 1rem;
    --font-h6-sz: clamp(0.875rem, 0.653rem + 0.463vw, 1rem);
    --font-h5-sz: clamp(1rem, 0.7778rem + 0.463vw, 1.125rem);
    --font-h4-sz: clamp(1.125rem, 0.6806rem + 0.9259vw, 1.375rem);
    --font-h3-sz: clamp(1.375rem, 0.9306rem + 0.9259vw, 1.625rem);
    --font-h2-sz: clamp(1.625rem, 1.1806rem + 0.9259vw, 1.875rem);
    --font-h1-sz: clamp(1.875rem, 1.4306rem + 0.9259vw, 2.125rem);
}

html {
    height: 100%;
    min-height: 100%;
    min-height: 100vh;
    font-size: 16px;
    line-height: 1.6;
}

body {
    height: 100%;
    min-height: 100%;
    min-height: 100vh;
    margin: 0 0;
    padding: 0 0;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: var(--font-body-sz);
    font-weight: normal;
    line-height: 1.6;
    color: #FFFFFF;
    background-color: #000000;
}

#frmMaster {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    min-height: 100vh;
}

/* Some Bootstrap Fixes */

.container-xl {
    max-width: 1366px;
}

hr {
    opacity: 1;
}

.modal {
    z-index: 99990;
    background-color: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(10px) !important;
}

textarea {
    resize: none;
}

.card {
    border-radius: 15px;
    overflow: hidden;
}

.card .card-body {
    padding: 25px 25px;;
}

.btn.btn-lg {
    font-size: var(--font-body-sz);
    font-weight: normal;
    line-height: 1.6;
}

.btn-primary,
.btn-primary:visited {
    color: #FFFFFF;
    font-weight: bold;
    background-color: #144F37;
    border-color: #003720;
}

.btn-primary:hover {
    background-color: #003720;
    border-color: #003720;
}

.shadow {
    box-shadow: 0px 5px 15px -5px rgba(0,0,0,0.2) !important;
}

figure {
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 10px;
}

    figure figcaption {
        display: none;
    }

    figure img {
        position: relative;
        object-fit: cover;
        object-position: center center;
        width: 100%;
        height: 100%;
    }

/* ADA Skip Links */

.skip_links {
    text-align: left;
    position: fixed;
    z-index: 99999;
}

.skip_links a {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip_links a:focus, .skip_links a:active {
    position: static;
    left: 5px;
    top: 5px;
    width: auto;
    height: auto;
    padding: 1rem 1rem;
    overflow: visible;
    text-decoration: none;
    color: #000000;
    border: 1px solid #FFFFFF;
    background-color: #FCFCFC;
} 

/* Header */

header {
    padding-top: 20px;
    padding-bottom: 20px;
    z-index: 9999;
    font-size: var(--font-header-sz);
    line-height: 1.4;
    color: #666666;
    background-color: #FFFFFF;
}

header a:not(.btn),
header a:not(.btn):visited {
    color: #666666;
    text-decoration: none;
}

header a:not(.btn):hover {
    color: #666666;
}

header i {
    color: #144F37;
}

header a:not(.btn):hover .show-hover {
    color: #FF0000;
}

@media (max-width: 1199px) {

    /* Add a little extra padding to the header on mobile / tablet sizes */

    header {
        padding-top: 25px;
        padding-bottom: 25px;
    }

}

/* Navbar */

nav {
    z-index: 9999;
    color: #FFFFFF;
    background-color: #144F37;
    box-shadow: 0px 10px 5px -5px rgba(0,0,0,0.1);
}

/* Main */

main {
    color: #000000;
    background-color: #FFFFFF;
}

/* Footer */

footer {
    padding: 45px 15px;
    font-size: var(--font-footer-sz);
    color: #FFFFFF;
    background-color: #000000;
}

footer a:not(.btn),
footer a:visited:not(.btn) {
    color: #FFFFFF;
    text-decoration: none;
}

footer a:hover:not(.btn) {
    color: #FFFF00;
    text-decoration: underline;
}

footer hr {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

footer ul.fa-ul {
    margin-left: 2rem;
}

footer ul.fa-ul li {
    padding-left: 0.25rem;
}

footer ul.fa-ul span.fa-li {
    width: 2rem;
}

footer h2 {
    border-bottom: 2px solid #FFFFFF;
}

/* Back to Top Button */

.back-to-top {
    z-index: 9999;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    -webkit-box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.33);
    -moz-box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.33);
    box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.33);
}

/* Main Content */

main section {
    padding: 45px 15px;
}

main section.hero {
    padding: 0 0;
}

main a:not(.btn),
main a:not(.btn):visited {
    text-decoration: none;
}

main p, ul, ol {
    margin-bottom: 1.5rem;
}

main ul, ol {
    padding-left: 1.5rem;
}

/* Headings */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    margin-bottom: 1.5rem;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-wrap: balance;
}

h1, .h1 {
    font-size: var(--font-h1-sz);
    line-height: 1.2;
}

h1 .subtitle {
    display: block;
    font-size: var(--font-h3-sz);
    line-height: 1.4;
}

h2, .h2 {
    font-size: var(--font-h2-sz);
    line-height: 1.3;
}

h2 .subtitle {
    display: block;
    font-size: var(--font-h4-sz);
    line-height: 1.4;
}

h3, .h3 {
    font-size: var(--font-h3-sz);
    line-height: 1.4;
}

h3 .subtitle {
    display: block;
    font-size: var(--font-h4-sz);
    line-height: 1.4;
}

h4, .h4 {
    font-size: var(--font-h4-sz);
    line-height: 1.5;
}

h5, .h5 {
    font-size: var(--font-h5-sz);
    line-height: 1.6;
}

h6, .h6 {
    font-size: var(--font-h6-sz);
    line-height: 1.7;
}

main small, main .small {
    font-size: var(--font-small);
    line-height: 1.6;
}

main .big {
    font-size: var(--font-big);
    line-height: 1.6;
}

main .page-titles {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Image Tricks */

.img-fit {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Multi Column Lists */

.list-four-col {
    columns: 4;
    column-gap: 60px;
}

.list-three-col {
    columns: 3;
    column-gap: 60px;
}

.list-two-col {
    columns: 2;
    column-gap: 60px;
}

@media (max-width : 991px) {

    .list-four-col,
    .list-three-col,
    .list-two-col {
        columns: 2;
    }

}

@media (max-width : 767px) {

    .list-four-col,
    .list-three-col,
    .list-two-col {
        columns: 1;
    }

}

/* Colors Sections */

section h1, section .h1,
section h2, section .h2,
section h3, section .h3,
section h4, section .h4,
section h5, section .h5,
section h6, section .h6 {
    color: #144F37;
}

section.green-bg {
    color: #FFFFFF;
    background-color: #144F37;
}

section.green-bg h1, section.green-bg .h1,
section.green-bg h2, section.green-bg .h2,
section.green-bg h3, section.green-bg .h3,
section.green-bg h4, section.green-bg .h4,
section.green-bg h5, section.green-bg .h5,
section.green-bg h6, section.green-bg .h6 {
    color: #FFFFFF;
}

section.green-bg .card {
    color: #FFFFFF;
    background-color: rgba(0,0,0,0.33);
}

section.green-bg a:not(.btn),
section.green-bg a:not(.btn):visited {
    color: #FFFF00;
}

section.green-bg a:not(.btn):hover {
    color: #FFFFCC;
}

section.green-bg .card a,
section.green-bg .card a:visited {
    color: #FFFFFF;
    text-decoration: none;
}

section.green-bg .card a:hover {
    color: #FFFF00;
    text-decoration: none;
}

section.green-bg .cycle-slideshow img.img-thumbnail{
    padding: .25rem !important;
}

section.gray-bg {
    background-color: #F0F0F0;
}

/* Modals */

.modal .modal-body {
    padding: 30px 30px;
}

.modal h1, .modal .h1,
.modal h2, .modal .h2,
.modal h3, .modal .h3,
.modal h4, .modal .h4,
.modal h5, .modal .h5,
.modal h6, .modal .h6 {
    color: #144F37;
}

/* Home Page */

section.hero {

}

section.hero .video-wrapper {
    aspect-ratio: 24/9;
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #000000;
    background-image: url('/Images/Layout/carbon-bg.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

section.hero .video-wrapper .video-thumbnail {
    position: absolute;
    z-index: 100;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/Images/Home/video-thumbnail.webp');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

section.hero .video-wrapper iframe {
    position: absolute;
    z-index: 105;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*

    Customizations for the home page contact form.

*/
    section.home-contact label {
        font-size: var(--font-small-sz);
        line-height: 1.6;
        font-weight: bold;
    }

section.home-contact input:not(.btn),
section.home-contact select {
    font-size: var(--font-body-sz);
    color: #FFFFFF;
    background-color: rgba(255,255,255,0.125);
    border: none;
    border-radius: 0 0;
    border-bottom: 2px solid rgba(255,255,255,0.33);
}

section.home-contact input:not(.btn):focus,
section.home-contact select:focus {
    color: #FFFFFF;
    background-color: rgba(255,255,255,0.125);
    outline: none;
    border-bottom: 2px solid #FFFFFF;
    box-shadow: none;
}

section.home-contact select option {
    color: #000000;
    background-color: #FFFFFF;
}

/* Product Info Pages */

section.product-info .card {
    box-shadow: 0px 5px 15px -5px rgba(0,0,0,0.2);
}

section.product-info .card hr {
    width: 66%;
    margin: 0.5rem auto 1.5rem auto;
    border-width: 2px;
    border-color: #144F37;
}

section.product-info .product-info-col {
    padding: 0 30px;
    border-left: 2px solid #CCCCCC;
    border-right: 2px solid #CCCCCC;
    border-image-source: linear-gradient(to bottom, #EEEEEE 0%, #CCCCCC 50%, #EEEEEE 100%);
    border-image-slice: 5;
}

section.product-info .product-info-col:first-child {
    padding-left: 15px;
    border-left: 0 none;
}

section.product-info .product-info-col:last-child {
    padding-right: 15px;
    border-right: 0 none;
}

section.product-info .product-info-col hr {
    width: 66%;
    margin: 0 auto 1.5rem auto;
    border-width: 2px;
    border-color: #144F37;
}

section.product-info ul li {
    break-inside: avoid;
    text-wrap: pretty;
}

section.product-info hr.green-hr {
    width: 66%;
    margin: 0.5rem auto 1.5rem auto;
    border-width: 2px;
    border-color: #144F37;
}

@media (max-width: 991px) {

    section.product-info .product-info-col {
        padding: 0 0 !important;
        border-left: 0px none;
        border-right: 0px none;
    }

}

/* Spec Sheets */

table.table-specs {
    text-align: center;
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
}

table.table-specs th,
table.table-specs td {
    white-space: nowrap;
}

table.table-specs th {
    color: #FFFFFF;
    font-weight: bold;
    background-color: #404040;
}

table.table-specs tr:nth-child(2n) td {
    background-color: rgba(0,0,0,0.0625);
}

/* Other Stuff */

.text-yellow {
    color: #FFFF88 !important;
}