﻿.bg-primary {
    background-color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-font-primary {
    font-family: var(--primary-font);
}

.text-font-secondary {
    font-family: var(--secondary-font);
}

.h-100 {
        height: 100%;
}




.grid-row.border-bottom {
    border-bottom: solid 20px var(--primary-color)
}

.grid-row.border-top {
    border-top: solid 20px var(--primary-color)
}

.caption-wrapper {
    padding: 20px;
    background-color: rgba(0,39,83,.8)
}

@supports not (-ms-ime-align:auto) {
    .caption-wrapper {
        background: linear-gradient(to bottom,rgba(12,85,165,.8)0%,rgba(1,28,107,.8)100%);
    }
}

@media screen and (min-width: 768px) {
    .caption-wrapper {
        padding: 25px 60px
    }
}

@media screen and (max-width: 767px) {
    .caption-wrapper {
        height: 100%
    }
}

@media screen and (min-width: 1200px) {
    .caption-wrapper {
        max-width: 55%;
    }
}

.caption-wrapper .first-slide-heading {
    letter-spacing: 2px;
    margin-bottom: 8px
}

.caption-wrapper .second-slide-heading p {
    margin-bottom: 20px
}

@media screen and (min-width: 768px) {
    .caption-wrapper .second-slide-heading .Button {
        display: inline-block;
        margin-right: 20px
    }

        .caption-wrapper .second-slide-heading .Button:last-child {
            margin-right: 0
        }
}

.caption-wrapper .second-slide-heading .Button .button-wrapper .button {
    padding: 0;
    font-size: 22px
}

.caption-wrapper .banner-link {
    position: relative;
    margin-top: 15px;
    font-size: 20px;
    letter-spacing: 2px
}

    .caption-wrapper .banner-link:after {
        content: '';
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 10px;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 10px solid #fff
    }

.caption-wrapper .banner-button {
    padding: 0
}

.caption-wrapper.topLeft, .caption-wrapper.midLeft, .caption-wrapper.bottomLeft {
    left: 0;
    right: 5%
}

@media screen and (min-width: 768px) {
    .caption-wrapper.topLeft, .caption-wrapper.midLeft, .caption-wrapper.bottomLeft {
        clip-path: polygon(0 0,0 100%,100% 100%,100% 32%,95% 20%,100% 8%,100% 0);
        padding-right: 60px
    }
}

@media screen and (min-width: 992px) {
    .caption-wrapper.topLeft, .caption-wrapper.midLeft, .caption-wrapper.bottomLeft {
        right: auto
    }
}

@media screen and (min-width: 768px) {
    .caption-wrapper.topLeft, .caption-wrapper.midLeft, .caption-wrapper.bottomLeft {
        padding: 25px 60px
    }
}

@media screen and (max-width: 767px) {
    .caption-wrapper.topLeft {
        right: 0;
        top: auto
    }
}

@media screen and (max-width: 767px) {
    .caption-wrapper.midLeft {
        right: 0;
        top: auto;
        bottom: auto;
        transform: none;
        -webkit-transform: none
    }
}

@media screen and (max-width: 767px) {
    .caption-wrapper.bottomLeft {
        right: 0;
        bottom: auto
    }
}

.caption-wrapper.topRight, .caption-wrapper.midRight, .caption-wrapper.bottomRight {
    right: 0;
    left: 5%;
    text-align: left
}

@media screen and (min-width: 768px) {
    .caption-wrapper.topRight, .caption-wrapper.midRight, .caption-wrapper.bottomRight {
        clip-path: polygon(0 0,0 8%,5% 20%,0 32%,0 100%,100% 100%,100% 0);
        padding-left: 60px
    }
}

@media screen and (min-width: 992px) {
    .caption-wrapper.topRight, .caption-wrapper.midRight, .caption-wrapper.bottomRight {
        left: auto
    }
}

@media screen and (max-width: 767px) {
    .caption-wrapper.topRight {
        left: 0;
        top: auto
    }
}

@media screen and (max-width: 767px) {
    .caption-wrapper.midRight {
        left: 0;
        top: auto;
        bottom: auto;
        transform: none;
        -webkit-transform: none
    }
}

@media screen and (max-width: 767px) {
    .caption-wrapper.bottomRight {
        left: 0;
        bottom: auto
    }
}

@media screen and (max-width: 767px) {
    .caption-wrapper.topCenter {
        left: 0;
        transform: none;
        -webkit-transform: none;
        top: auto
    }
}

@media screen and (max-width: 767px) {
    .caption-wrapper.midAlign {
        left: 0;
        top: auto;
        transform: none;
        -webkit-transform: none;
        bottom: auto
    }
}

@media screen and (max-width: 767px) {
    .caption-wrapper.bottomCenter {
        left: 0;
        transform: none;
        -webkit-transform: none;
        bottom: auto
    }
}

.image-overlay {
    background-size: cover;
    background-position: center;
}

    .image-overlay .content-image-macro .content.top {
            align-self: start;
            top: 10%;
        }
    .image-overlay .content-image-macro .content.bottom {
        align-self: end;
        bottom: 10%;
    }

    .image-overlay .content-image-macro .content {
/*        height: 100%;*/
        padding: 20px;
        background-color: rgba(0,39,83,.8);
        margin-top: 0;
        
        p, a {
            color: #fff;
        }
    }

@supports not (-ms-ime-align:auto) {
    .image-overlay .content-image-macro .content {
        background: linear-gradient(to bottom,rgba(12,85,165,.8)0%,rgba(1,28,107,.8)100%);
    }
}

@media screen and (max-width: 991px) {
    .image-overlay .content-image-macro .content {
        order: 1 !important
    }

        .image-overlay .content-image-macro .content > * {
            text-align: left !important
        }
}

/*.image-overlay .content-image-macro .content p a {
    font-family: 'Knockout'
}*/

@supports not (-ms-ime-align:auto) {
    .image-overlay .content-image-macro .content:before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-size: cover;
        background-image: url('/images/pattern.png');
    }
}

@media screen and (min-width: 1200px) {
    .image-overlay .content-image-macro .content {
        clip-path: polygon(0 0,0 100%,100% 100%,100% 32%,95% 20%,100% 8%,100% 0);
        padding: 60px
    }
        .image-overlay .content-image-macro .content.h-100 {
            clip-path: polygon(0 0,0 100%,100% 100%,100% 32%,92% 25%,100% 18%,100% 0);
        }
}

.image-overlay .content-image-macro .content > * {
    position: relative;
    color: #fff
}

.image-overlay .content-image-macro .content > :first-child {
    margin-bottom: 15px;
    letter-spacing: 2px
}


@media screen and (max-width: 767px) {
    .image-overlay .content-image-macro .content.pull-right > * {
        text-align: left
    }
}

@media screen and (min-width: 1200px) {
    .image-overlay .content-image-macro .content.pull-right {
        clip-path: polygon(0 0,0 8%,5% 20%,0 32%,0 100%,100% 100%,100% 0);
        padding: 60px;
    }

        .image-overlay .content-image-macro .content.pull-right.h-100 {
            clip-path: polygon(0 0,0 18%,8% 25%,0 32%,0 100%,100% 100%,100% 0);
        }
}

@media screen and (min-width: 767px) {
    .content-image-macro .content.pull-right {
        order: 1;
    }
}

.content-image-macro{
    flex-grow: 1;
}

    .content-image-macro h2 {
        color: var(--primary-color);
        margin-bottom: 1em;
    }


a.caret-button {
    position: relative;
    display: inline-block;
    font-size: 22px;
    letter-spacing: 2px;
    color: #fff;
    margin-top: 15px;
    line-height: 22px;
    padding-right: 20px;
    font-family: 'Knockout';
    color: var(--primary-color);
}

    a.caret-button:after {
        content: '';
        display: inline-block;
        margin-left: 10px;
        font-family: 'fontawesome';
        font-size: 28px;
        position: absolute
    }


.grid-row .column .tout-hover-block{
    height: 100%;
}

.gallery-item,
.gallery-item .row,
.gallery-item .row .slide-container {
/*.gallery-item .row .slide-container img {*/
    width: 100%;
    height: 100% !important;
}

/* Styles for styles table using class and RTE editor */
.styled-table {
    width: 100%;
    padding: 0 15px;
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
    overflow-x: scroll
}

@media screen and (min-width: 1200px) {
    .styled-table {
        padding: 0 100px
    }
}

.styled-table table {
    box-sizing: border-box;
    border-collapse: collapse;
    border-spacing: 0px;
    background-color: #ffffff;
    margin: 30px auto 0px;
    padding: 0px;
    border: 0px; 
    font-family: Baskerville, Georgia, serif; 
    font-weight: 400;
    font-size: medium; 
    line-height: inherit;
    vertical-align: baseline;
    table-layout: auto; 
    color: #333333;
    text-align: start;
    min-width: 404px;
    /* Resetting various font properties that were explicitly normal/inherit in the example */
    font-style: normal;
    font-variant-ligatures: normal;
    font-variant-caps: normal;
    font-variant-numeric: inherit;
    font-variant-east-asian: inherit;
    font-variant-alternates: inherit;
    font-variant-position: inherit;
    font-stretch: inherit;
    font-optical-sizing: inherit;
    font-size-adjust: inherit;
    font-kerning: inherit;
    letter-spacing: normal;
    orphans: 2;
    text-transform: none;
    widows: 2;
    word-spacing: 0px;
    -webkit-text-stroke-width: 0px;
    white-space: normal;
    text-decoration-thickness: initial;
    text-decoration-style: initial;
    text-decoration-color: initial;
}

    /*.styled-table table col:nth-child(1) {
        min-width: 25px;*/ /* For the first column (row headers or empty cell) */
    /*}

    .styled-table table col:nth-child(2) {
        width: 159px;
    }

    .styled-table table col:nth-child(3) {
        min-width: 25px;
        width: 170px;
    }

    .styled-table table col:nth-child(4) {
        width: 170px;
    }

    .styled-table table col:nth-child(5) {
        min-width: 25px;
    }*/


/* General cell styling (for both th and td) */
.styled-table th,
.styled-table td {
    box-sizing: border-box;
    margin: 0px;
    border: 1px solid #ffffff;
    font-family: inherit;
    font-weight: 400; 
    display: table-cell;
    background-color: transparent;
}

    /* General paragraph styling within cells */
    .styled-table th p,
    .styled-table td p {
        box-sizing: border-box;
        margin: 0px;
        padding: 0px;
        border: 0px;
        font-style: inherit;
        font-variant: inherit;
        font-weight: inherit;
        font-stretch: inherit;
        font-optical-sizing: inherit;
        font-size-adjust: inherit;
        font-kerning: inherit;
        vertical-align: baseline;
        overflow-wrap: break-word;
    }

/* ===== FIRST ROW (Product Headers) ===== */
/* Target <th> elements in the first row of tbody */
.styled-table tbody tr:first-child th {
    padding: 4px;
    vertical-align: bottom;
    text-align: center;
    background-color: transparent; /* As per example's td.active */
}

    /* Paragraphs within the first row's <th> */
    .styled-table tbody tr:first-child th p {
        font-size: 28px;
        line-height: 28px;
        font-family: Knockout;
        color: var(--primary-color);
        text-align: center;
    }
    /* First th in the first row is empty */
    .styled-table tbody tr:first-child th:first-child p {
        /* Keep empty or apply minimal styles if needed */
    }


/* ===== DATA ROWS (not first, not last) ===== */
.styled-table tbody tr:not(:first-child):not(:last-child) {
    vertical-align: baseline; /* From tr style */
}

    /* Row Headers (First <th> in each data row) */
    .styled-table tbody tr:not(:first-child):not(:last-child) th:first-child {
        padding: 10px;
        vertical-align: middle;
        background-color: #D1D2D4;
    }

        .styled-table tbody tr:not(:first-child):not(:last-child) th:first-child p {
            font-size: 28px;
            line-height: 28px;
            font-family: Knockout;
            color: var(--primary-color);
            text-align: left;
        }

    /* Data Cells (<td> elements in data rows) */
    .styled-table tbody tr:not(:first-child):not(:last-child) td {
        padding: 10px;
        vertical-align: middle;
    }

        .styled-table tbody tr:not(:first-child):not(:last-child) td p {
            font-size: 16px;
            line-height: 1.6;
            font-family: Baskerville, Georgia, serif;
            color: #333333;
            text-align: center;
        }

        /* Alternating background colors for data cells (td) by column */
        .styled-table tbody tr:not(:first-child):not(:last-child) td:nth-child(odd) {
            background-color: #D1D2D4; /* Light blue for odd-numbered columns */
        }

        .styled-table tbody tr:not(:first-child):not(:last-child) td:nth-child(even) {
            background-color: #9fbddb; /* Light gray for even-numbered columns */
        }


/* ===== LAST ROW (Links) ===== */
.styled-table tbody tr:last-child {
    background-color: transparent;
    vertical-align: baseline;
}

    .styled-table tbody tr:last-child th,
    .styled-table tbody tr:last-child td {
        padding: 10px;
        vertical-align: top;
        background-color: transparent;
    }
        .styled-table tbody tr:last-child th:first-child p {
            /* Keep empty */
        }


        .styled-table tbody tr:last-child td a {
            box-sizing: border-box;
            background-color: transparent;
            color: var(--primary-color);
            margin: 0px;
            padding: 0px;
            border: 0px;
            font-family: Knockout;
            font-size: 20px;
            line-height: 20px;
            font-weight: inherit;
            vertical-align: baseline;
            text-align: center;
            letter-spacing: 2px;
            text-transform: uppercase;
            display: block;
            text-decoration: none !important; /* Ensure no underline */
        }

            .styled-table tbody tr:last-child td a:after {
                content: '';
                font-family: fontawesome;
                font-size: 24px;
                position: relative;
                top: 2px;
                line-height: 16px
            }




/* Product Filter ([ng-controller="LinkSelectorDropdowns"]) */


.c-product-filter {
    text-align: center
}

    .c-product-filter .col-md-12 > * + * {
        margin-top: 15px
    }

@media screen and (min-width: 768px) {
    .c-product-filter .col-md-12 > * + * {
        margin-top: 0
    }
}

.c-product-filter .filter {
    padding: 20px 0;
    background-color: var(--primary-color);
}

    .c-product-filter .filter span {
        font-family: 'Knockout';
        color: #fff;
        font-size: 28px;
        display: block
    }

@media screen and (min-width: 1200px) {
    .c-product-filter .filter span {
        margin-right: 50px;
        display: inline-block;
        vertical-align: middle
    }
}

.c-product-filter .filter .select-wrapper {
    min-width: 150px;
    display: block;
    width: auto
}

@media screen and (min-width: 1200px) {
    .c-product-filter .filter .select-wrapper {
        vertical-align: middle;
        display: inline-block;
        margin-bottom: 0
    }

        .c-product-filter .filter .select-wrapper + .select-wrapper {
            margin-left: 50px
        }
}

.c-product-filter .filter .button {
    background-color: #fff;
    height: 40px;
    line-height: 28px;
    padding: 6px 18px !important;
    border: 1px solid transparent !important
}

@media screen and (min-width: 1200px) {
    .c-product-filter .filter .button {
        margin: 0 0 0 50px;
        display: inline-block;
        vertical-align: middle
    }
}

.c-product-filter .filter .button.disabled {
    opacity: .5;
    pointer-events: none
}

.c-product-filter .filter .button:hover {
    border-color: #fff !important
}

    .c-product-filter .filter .button:hover a {
        color: #fff
    }

.c-product-filter .filter .button a {
    font-size: 28px
}


.c-product-filter .link-preview-container .col-md-12 {
    display: flex;
    flex-wrap: wrap
}

.c-product-filter .link-preview-container .preview-item {
    padding-bottom: 40px;
    width: 100%
}

@media screen and (min-width: 768px) {
    .c-product-filter .link-preview-container .preview-item {
        width: 33.33%;
        padding-left: 20px;
        padding-right: 20px
    }
}

@media screen and (min-width: 992px) {
    .c-product-filter .link-preview-container .preview-item {
        padding: 0 50px 40px
    }
}

.c-product-filter .link-preview-container .option-image {
    height: 250px;
    position: relative;
    width: auto
}

@media screen and (min-width: 992px) {
    .c-product-filter .link-preview-container .option-image {
        height: 400px
    }
}

.c-product-filter .link-preview-container .option-image img {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    max-height: 100%;
    max-width: 100%
}

.c-product-filter .link-preview-container .option-name {
    font-family: 'Knockout';
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 32px;
    letter-spacing: 1px;
    margin: 0;
    padding-top: 20px
}

.c-product-filter .link-preview-container .button {
    text-transform: uppercase
}

    .c-product-filter .link-preview-container .button:after {
        content: '';
        font-family: 'fontawesome';
        font-size: 32px;
        margin-left: 6px;
        position: relative;
        top: 2px
    }

    .c-product-filter .link-preview-container .button a {
        font-size: 28px;
        letter-spacing: 1px
    }


.c-image-storytelling-row .content-image-macro a.button {
    font-size: 22px !important;
    margin-right: 20px;
}

    .c-image-storytelling-row .content-image-macro a.button .fa-caret-right {
        font-size: 28px !important;
    }


#productCategoryPageGrid .c-product-filter .link-preview-container {
    display: none
}

.rte a {
    text-decoration: underline !important;
}

.mrs-container .mrs img {
    object-fit: cover;
    height: 100%;
}

/* Umbraco Forms Styles */

.umbraco-forms-form label.umbraco-forms-label,
.umbraco-forms-form .umbraco-forms-legend
 {
    color: var(--primary-color);
    font-size: 16px;
    line-height: 1.3;
}

.umbraco-forms-form .checkboxlist,
.umbraco-forms-form .radiobuttonlist {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    padding: 0 !important;
}

    .umbraco-forms-form .checkboxlist div {
        display: flex;
        align-items: center;
        align-content: center;
    }

        .umbraco-forms-form .checkboxlist div *,
        .umbraco-forms-form .checkbox div *,
        .umbraco-forms-form .radiobuttonlist div * {
            clear: none !important;
            float: none !important;
            display: inline-block;
            vertical-align: middle;
            font-family: var(--primary-font);
            color: #0c55a5;
            font-size: 26px;
            -webkit-appearance: auto;
            padding: 0;
            margin: 0 10px 0 0;
            accent-color: var(--primary-color);
        }

.umbraco-forms-form .checkbox div label{
    margin-left: 30px !important;
}

.umbraco-forms-form select,
.umbraco-forms-form input:not([type="checkbox"]):not([type="submit"]):not([type="radio"]),
.umbraco-forms-form .umbraco-forms-fieldset textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 10px 0 10px;
    border: 1px solid var(--primary-color) !important;
}


.umbraco-forms-form .umbraco-forms-fieldset textarea {
    padding: 10px;
}

.umbraco-forms-form input[type="submit"] {
    background-color: var(--secondary-color);
    color: #fff;
    font-family: var(--primary-font);
    font-size: 28px;
    text-align: center;
    text-transform: uppercase;
    padding: 8px 30px !important;
    transition: all 0.5s ease-in-out;
}

    .umbraco-forms-form input[type="submit"]:hover {
        background-color: var(--primary-color);
        color: #fff;
    }

.umbraco-forms-form input[type="radio"]::before {
    display: none;
}

.umbraco-forms-form .field-validation-error {
    padding-left: 0;
    margin-bottom: 10px !important;
    display: block;
}


.c-recent-articles-row .featured-box > .row {
    flex-direction: column;
}

    .c-recent-articles-row .featured-box .image {
        padding: 0 5px;
        aspect-ratio: 16/9;
        overflow: hidden;
    }

        .c-recent-articles-row .featured-box:first-child .image {
            padding-left: 0;
        }

        .c-recent-articles-row .featured-box:last-child .image {
            padding-right: 0;
        }


        .c-recent-articles-row .featured-box .image img {
            width: 100%;
            height: 100%;
        }

    .c-recent-articles-row .featured-box .text-box {
        padding: 15px;
    }

.c-rich-text-item {
    padding: 20px 10px
}

@media screen and (min-width: 768px) {
    .c-rich-text-item {
        padding: 50px 30px
    }
}

.macception-row .col-md-7 .c-rich-text-item,
.macception-row .col-md-5 .c-rich-text-item {
    padding: 0;
}