/* CUSTOM STYLES */
@font-face {
    font-family: "Switzer";
    src: url("../../fonts/Switzer_Complete/Fonts/WEB/fonts/Switzer-Variable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Boska-Italic";
    src: url("../../fonts/Boska_Complete/Fonts/WEB/fonts/Boska-VariableItalic.woff2") format("woff2");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}


:root {
    font-family: "Switzer", sans-serif !important;
}

body {
    font-family: "Switzer", sans-serif !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.cursor-pointer {
    cursor: pointer;
}

h1 {
    color: #151961 !important;
}

a {
    color: #151961 !important;
}

.vh-pad-3 {
    padding-top: 3vh;
    padding-bottom: 3vh;
}

.dark-a {
    color: #151961 !important;
}

.light-a {
    color: #EBECFE !important;
}

.prime-white {
    color: #EBECFE;
}

.pulsar-purple {
    color: #A2A7F9;
}

.cosmic-green {
    color: #94F2D0;
}

.nova-blue {
    color: #151961;
}

.product-row {
    padding-top: 35px;
}

.pill-button {
    border: 2px solid #151961;
    border-radius: 30px;
    background-color: #EBECFE;
    color: #151961;
    cursor: pointer;
    display: block;
    font-size: 16px;
    font-weight: 700;
    outline: 0;
    padding: .5rem 1.5rem;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    width: max-content;
}

    .pill-button:hover {
        border: 2px solid #94F2D0;
        background-color: #94F2D0;
        transition: color 333ms ease-out;
    }

    /* For outline/secondary style */
    .pill-button.outline {
        background-color: transparent;
        color: #151961;
    }

        .pill-button.outline:hover {
            background-color: #94F2D0;
        }

    /* For danger style */
    .pill-button.danger {
        border-color: #FF6B6B;
        background-color: transparent;
        color: #151961;
    }

        .pill-button.danger:hover {
            background-color: #FF6B6B;
        }

.pill-button-secondary {
    border: 2px solid #151961;
    border-radius: 20px;
    background-color: #151961;
    color: #94F2D0 !important;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    outline: 0;
    padding: .125rem .5rem;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    width: max-content;
}

    .pill-button-secondary:hover {
        border: 2px solid #94F2D0;
        background-color: #94F2D0;
        color: #151961 !important;
        text-decoration: none;
    }

    .pill-button-secondary:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.progress-container {
    width: 100%;
    background-color: #e9ecef;
    border-radius: 0.25rem;
    height: 50px;
    position: relative;
}

.progress-bar {
    width: 0%;
    height: 100%;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.progress-text {
    color: #212529;
    position: absolute;
    left: 8px;
}

.progress-color-red {
    background-color: #dc3545;
}

.progress-color-yellow {
    background-color: #ffc700;
}

.progress-color-green {
    background-color: #198754;
}

.progress-text-dark {
    color: #212529;
}

.progress-text-light {
    color: white;
}

.product-image {
    margin: 10px auto !important;
    display: block !important;
}

/* Width property only for laptop and larger screens */
@media screen and (min-width: 1024px) {
    .product-image {
        width: auto !important;
    }
}

#compliance-rate {
    font-weight: 600;
}

#progress-text {
    padding-left: 25px;
    font-weight: bold;
}

/* CART STYLES */
.cart-nav-link a {
    text-decoration: none;
    color: #EBECFE !important;
}

.cart-card {
    border: none !important;
}

#shopping-cart-grid,
#sub-acct-grid,
#offices-grid {
    border: 0 none;
    color: #707070;
}

    #shopping-cart-grid a {
        text-decoration: none;
        color: #151961;
    }

#product-price {
    color: #151961 !important;
}

/* BOOTSTRAP OVERRIDES */
.lead {
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    margin-bottom: inherit !important;
}

.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand img {
    height: 50px;
}

.navbar-toggler-icon {
    filter: invert(88%) sepia(21%) saturate(458%) hue-rotate(101deg) brightness(103%) contrast(98%);
}

.nav-link {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 1.1rem;
}

.main {
    flex: 1 0 auto;
    /* padding-left: 215px; */
}

.footer {
    flex-shrink: 0;
    background-image: url("../../images/gke/GKE-Presentation-backgrounds-5.png");
    background-size: cover;
}

.navbar {
    background-color: #151961;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
}

    .navbar-nav .nav-link.active {
        color: #94F2D0 !important;
        font-weight: 700;
    }

    .navbar-nav .nav-link:hover {
        color: #f8f9fa !important;
        text-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
    }

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.7);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-item:hover {
    background-color: #A2A7F9 !important;
    color: #151961 !important;
}

.dropdown-item:active,
.dropdown-item.active {
    background-color: #A2A7F9 !important;
    color: #151961 !important;
}

.dropdown-item:focus {
    background-color: #A2A7F9 !important;
    color: #151961 !important;
}

.card {
    border: none;
    height: 100%;
}

.card-img-top {
    height: 300px;
    object-fit: cover;
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.breadcrumb {
    --bs-breadcrumb-divider: '>';
    text-decoration: none;
}

@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

.form-control {
    border: 2px solid #151961 !important;
    border-radius: 30px !important;
    background-color: #EBECFE;
    color: #151961;
    font-size: 16px;
    padding: .5rem 1.5rem;
}

.input-group .btn {
    border: 2px solid #151961 !important;
    border-radius: 30px !important;
    background-color: #EBECFE;
    color: #151961;
    font-size: 16px;
    font-weight: 700;
    padding: .5rem 1.5rem;
    text-transform: uppercase;
}

    .input-group .btn:hover:not(:disabled) {
        border: 2px solid #94F2D0 !important;
        background-color: #94F2D0;
        transition: color 333ms ease-out;
        color: #151961;
        border-color: #94F2D0;
    }

    .input-group .btn:disabled {
        opacity: 0.65;
        cursor: not-allowed;
    }

.input-group {
    gap: 0.5rem;
}

    .input-group > * {
        margin: 0 !important;
    }

    .input-group-text,
    .input-group > .form-control,
    .input-group > .btn {
        border-radius: 30px !important;
    }

    .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
        margin-left: 0;
        border-left-width: 2px;
    }

.accordion-button:not(.collapsed) {
    background-color: #EBECFE !important;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--bs-modal-color);
    pointer-events: auto;
    background-color: var(--bs-modal-bg);
    background-clip: padding-box;
    border: none !important;
    border-radius: var(--bs-modal-border-radius);
    outline: 0;
}

.form-select.form-select {
    border: 2px solid #151961 !important;
    border-radius: 30px !important;
    color: #151961 !important;
    display: block !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    outline: 0 !important;
    padding: .5rem 1.5rem !important;
    position: relative !important;
    text-align: left !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    /* width: max-content; */
    background-position: right 1.5rem center !important;
}

/* KENDO OVERRIDES */
#shopping-cart-grid.k-grid tbody td > .k-grid-delete {
    border: 2px solid #94F2D0;
    border-radius: 30px;
    background-color: #EBECFE;
    color: #151961;
    cursor: pointer;
    display: block;
    font-size: 16px;
    font-weight: 700;
    outline: 0;
    padding: .5rem 1.5rem;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    width: max-content;
}

    #shopping-cart-grid.k-grid tbody td > .k-grid-delete .k-icon {
        display: none;
    }

.k-drag-clue,
.k-grid-header,
.k-grouping-header,
.k-header,
.k-menu,
.k-panelbar > .k-panelbar-header > .k-link,
.k-progressbar,
.k-state-highlight,
.k-tabstrip,
.k-tabstrip-items .k-item,
.k-toolbar {
    background-color: #EBECFE !important;
}

div.k-grid-footer,
div.k-grid-header {
    font-weight: bold;
    padding-right: 17px;
    border-bottom-width: 0px !important;
    zoom: 1;
}

.k-grid-header th.k-header {
    vertical-align: bottom;
    cursor: default;
    font-weight: bold !important;
}

.k-grid tr:hover {
    background-color: #EBECFE !important;
    background-position: 50% 50%;
}

/* Base styles - matching Kendo's specificity */
.k-button.k-button-md.k-rounded-md.k-button-solid.k-button-solid-base {
    border: 2px solid #151961 !important;
    border-radius: 30px !important;
    background-color: #EBECFE !important;
    color: #151961 !important;
    cursor: pointer;
    font-size: 16px !important;
    font-weight: 700 !important;
    outline: 0;
    padding: .5rem 1.5rem !important;
    text-transform: uppercase !important;
    width: max-content;
}

    /* Hover state */
    .k-button.k-button-md.k-rounded-md.k-button-solid.k-button-solid-base:hover {
        border: 2px solid #94F2D0 !important;
        background-color: #94F2D0 !important;
        transition: color 333ms ease-out;
    }

    /* For outline/secondary style */
    .k-button.k-button-md.k-rounded-md.k-button-solid.k-button-solid-base.outline {
        background-color: transparent !important;
        color: #151961 !important;
    }

        .k-button.k-button-md.k-rounded-md.k-button-solid.k-button-solid-base.outline:hover {
            border: 2px solid #94F2D0 !important;
            background-color: #94F2D0 !important;
        }

.k-pager-wrap .k-link.k-state-selected {
    color: #fff !important;
    background-color: #151961 !important;
    border-color: #151961 !important;
}

/* Regulations map */
h1.map-label {
    margin-bottom: 0.1em;
}

#main #center {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: auto;
    height: auto;
    margin-bottom: 80px;
}

#center #map-container {
    flex-shrink: 0;
    width: 480px;
    max-width: 100%;
    height: auto;
    float: none;
    padding: 30px 0 0 0;
    margin-right: 8%;
}

#map-container #map,
#map-container #ca-map {
    padding-left: 0;
}

    #map-container #map,
    #map-container #map svg {
        height: 299px;
    }

    #map-container #ca-map,
    #map-container #ca-map svg {
        height: 468px;
    }

#map-container #legend {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

#legend .legend-item {
    display: flex;
    align-items: center;
    padding: 0 15px;
}

#legend .legend-block {
    margin: 0 7px 0 0;
    float: none;
}

#map-container #legend label {
    display: block;
    float: none;
    padding-top: 0;
    padding-left: 0;
    font-size: 14px;
    font-weight: 400;
}

#map-container #map-footer {
    padding-top: 25px;
    font-size: inherit;
    color: inherit;
}

#map-footer .map-footer-label {
    font-size: 20px;
    font-weight: 700;
    color: #464646;
}

#map-container #national-orgs {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 30px;
}

#national-orgs .org-link {
    padding: 0 15px;
}

#map-container #disclaimer {
    padding-left: 0;
    width: auto;
    font-size: 12px;
    color: #707070;
}

#center #hidden {
    display: block;
    height: auto;
    padding-left: 0;
    border-left: 0 none;
    color: inherit;
    overflow: visible !important;
}

    #center #hidden a {
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
    }

.k-panelbar > .k-item > .k-link.k-state-selected, .k-panelbar > .k-panelbar-header > .k-link.k-state-selected {
    color: #151961 !important;
}

.k-panelbar > .k-item > .k-link, .k-panelbar > .k-panelbar-header > .k-link {
    color: #151961 !important;
}

@media screen and (max-width:960px) {
    #main #center {
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
        height: auto;
        margin-bottom: 80px;
    }

    #center #map-container {
        width: 578px;
        margin: 0 auto;
        padding-top: 0;
    }

    #map-container #map,
    #map-container #map svg {
        height: 360px;
    }

    #map-container #ca-map,
    #map-container #ca-map svg {
        height: 563px;
    }

    #center #hidden {
        width: 100%;
        padding-top: 20px;
        border-top: 2px dotted rgba(149, 149, 149, 0.55);
        margin-top: 30px;
    }
}

@media screen and (max-width:760px) {
    #center #map-container {
        width: 335px;
    }

    #map-container #map,
    #map-container #map svg {
        height: 209px;
    }

    #map-container #ca-map,
    #map-container #ca-map svg {
        width: 335px;
        height: 326px;
    }
}

/* Certificate of Participation Style */

.certificate-template {
    border: 2px double black;
    background-image: url("../images/gke/GKE-Presentation-backgrounds-5.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    max-width: 279.4mm; /* or 11.69in */
    height: 215.9mm; /* or 8.27in */
    box-sizing: border-box;
    overflow: hidden;
}

    .certificate-template .certificate-header {  
       background-color: white;  
       text-align: center;  
       font-size: 36pt;  
       font-weight: bold;  
       margin: 10pt 10pt 0pt 10pt;  
       padding: 5pt 20pt 5pt 20pt;  
       border-top-left-radius: 15px;  
       border-top-right-radius: 15px;  
    }

    .certificate-template .certificate-content {
        background-color: white;
        text-align: center;
        font-size: 12pt;
        padding: 16pt;
        margin: 0px 10pt 0px 10pt;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }

        .certificate-template .certificate-content h2 {  
                   font-size: 28pt;  
                   font-family: "Boska-Italic", serif;  
                   font-weight: bold;  
                   font-style: italic;  
                   margin: 0;  
               }
        
        .certificate-template .certificate-content h3 {  
                   font-size: 20pt;  
               }

        .certificate-template .certificate-content .certificate-container {
            display: flex;
            gap: 5pt;
        }

            .certificate-template .certificate-content .certificate-container hr {
                margin: 0;
            }

            .certificate-template .certificate-content .certificate-container span {
                -webkit-text-decoration: none;
                text-decoration: none;
                font-weight: bold;
            }

            .certificate-template .certificate-content .certificate-container .certificate-expiration {
                text-align: left;
                padding: 5pt;
                font-size: 12pt;
                width: 30%;
            }

            .certificate-template .certificate-content .certificate-container .certificate-sterilizer {
                text-align: left;
                padding: 5pt;
                font-size: 12pt;
                width: 70%;
            }

    .certificate-template .certificate-footer {
        background-color: transparent;
        text-align: center;
        font-size: 14pt;
        padding: 10pt;
        margin: 0px 10pt 0pt 10pt;
    }

        .certificate-template .certificate-footer p {
            color: white;
            margin-top: 10pt;
            text-align: center;
            font-size: 8pt;
        }

        #gke-logo {
            width: 170pt;
        }

.generate-cert {
    background-image: url("../images/common/icon-save.svg");
    background-repeat: no-repeat;
    background-position: left;
}