﻿:root {
    --background: #e9e7e5;
    --blue: #004b83;
    --red: #a72847;
    --orange: #f7971c;
    --text: #080808;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: "Poppins", Arial, sans-serif;
}

main {
    max-width: 1184px;
    margin: 0 auto;
    padding: 66px 0 80px;
}

h1 {
    margin: 0 0 22px;
    color: var(--blue);
    font-size: clamp(36px, 4.65vw, 68px);
    font-weight: 700;
    letter-spacing: -1.8px;
    line-height: 1.12;
}

    h1 .legacy {
        color: var(--red);
    }

.intro p {
    margin: 0 0 30px;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.37;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 29px;
    margin: 42px 0 40px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 252px;
    min-height: 63px;
    padding: 12px 24px;
    border-radius: 23px;
    background: var(--orange);
    color: var(--blue);
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

    /* Keep button text color unchanged on hover */
    /* #58B */
    .button:hover {
        background-color: var(--orange) !important;
        color: var(--blue) !important;
    }

/*
    .button:hover, .button:focus-visible {
        background: #ffad3d;
    }
    */

    .button:focus-visible {
        outline: 3px solid var(--blue);
        outline-offset: 3px;
    }

.client-note {
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
}

    .client-note strong {
        font-weight: 700;
    }

@media (max-width: 1260px) {
    main {
        margin: 0 7%;
    }
}

/* changed from 700 */
@media (max-width: 767px) {
    main {
        margin: 0 24px;
        padding-top: 42px;
    }

    h1 {
        letter-spacing: -0.8px;
    }

    .intro p {
        font-size: 17px;
        line-height: 1.55;
        margin-bottom: 22px;
    }

    .actions {
        gap: 14px;
        margin: 30px 0;
    }

    .button {
        min-width: 0;
        width: 100%;
        font-size: 18px;
    }

    .client-note {
        font-size: 16px;
    }
}


/* New Home layout adjustments */

.hp-learn-more {
    padding-top: 120px;
    position: relative;
    clear: both;
}

.hp-learn-more-inner {
    position: relative;
}


/* DMS Footer */

.dms-footer {
    background-color: #ffffff;
    /* border-top: 2px solid #2196f3;*/
    border-top: none;
    width: 100%;
    padding: 34px 0 32px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: #111111;
}

.dms-footer-inner {
    max-width: 1315px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.dms-footer-left,
.dms-footer-right {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dms-footer-left {
    text-align: left;
}

.dms-footer-right {
    text-align: right;
}

.dms-footer-contact {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 18px;
}

.dms-footer a {
    color: inherit;
    text-decoration: none;
}

.dms-footer-left a {
    text-decoration: underline;
}

.dms-footer-contact a {
    font-weight: 700;
}

.dms-footer-copyright {
    font-size: 11px;
}

/* Responsive layout */

@media (max-width: 900px) {
    .dms-footer-inner {
        flex-direction: column;
        gap: 20px;
    }

    .dms-footer-right {
        text-align: left;
    }

    .dms-footer-contact {
        justify-content: flex-start;
    }
}

.hp-learn-more h1 {
    text-transform: none;
}


/* ==========================================
   BALLOT PRINTING PAGE
   ========================================== */

.dms-ballot {
    --ballot-blue: #004b83;
    --ballot-orange: #f7971c;

    background: #e9e7e5;
    color: #080808;
    font-family: "Poppins", Arial, sans-serif;

    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Shared content container */

.dms-ballot .dms-ballot-wrap {
    width: calc(100% - 80px);
    max-width: 1308px;
    margin: 0 auto;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.dms-ballot-hero {
    background: #e9e7e5;
    padding: 65px 0 70px;
}

.dms-ballot-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 75px;
}

.dms-ballot-hero-copy {
    min-width: 0;
}

.dms-ballot .dms-ballot-hero h1 {
    color: var(--ballot-blue);
    font-size: clamp(40px, 4.6vw, 68px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1px;
    margin: 0 0 26px;
    text-transform: none;
    text-shadow: none;
}

.dms-ballot-hero-copy p {
    font-size: 20px;
    line-height: 1.45;
    margin: 0;
    padding-left: 0px;
}

.dms-ballot-hero-photo {
    width: 100%;
    aspect-ratio: 1.46;
    border-radius: 24px;

    background-color: #b7b9bb;
    background-image: url('/dmsimages/ballot-main.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ==========================================
   TRUST AND CAPABILITIES
   ========================================== */

.dms-ballot-trust {
    background: var(--ballot-blue);
    color: #ffffff;
    padding: 70px 0 60px;
}

.dms-ballot-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 80px;
    padding-left: 24px;
}

.dms-ballot .dms-ballot-trust h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 18px;
    text-transform: none;
    text-shadow: none;
}

.dms-ballot-trust ul {
    padding-left: 25px;
    margin: 0;
}

.dms-ballot-trust li {
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 9px;
}

/* ==========================================
   FACILITY INFORMATION
   ========================================== */

.dms-ballot-facility {
    background: #ffffff;
    color: #080808;
    border-radius: 24px;
    padding: 34px 25px;
    margin-top: 48px;
}

.dms-ballot .dms-ballot-facility h2 {
    color: #080808;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px;
    text-transform: none;
    text-shadow: none;
}

.dms-ballot-facility li {
    font-size: 16px;
    line-height: 1.45;
}


.dms-ballot-process {
    padding: 55px 0 62px;
}

.dms-ballot .dms-ballot-process > .dms-ballot-wrap > h2 {
    font-size: 31px;
    line-height: 1.2;
    color: var(--ballot-blue);
    margin: 0 0 14px;
    font-weight: 700;
}

.dms-ballot-process-intro {
    max-width: 1100px;
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 25px;
}

.dms-ballot-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.dms-ballot-process-card {
    border-radius: 21px;
    overflow: hidden;
    background: #fff;
    min-width: 0;
}

.dms-ballot-card-photo {
    height: 116px;
    background-color: #b5b9bb;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.dms-ballot-photo-validation {
    background-image: url('/dmsimages/ballot-data-validation.png');
    background-position: 75% center; /* #50 */
}

.dms-ballot-photo-audits {
    background-image: url('/dmsimages/ballot-quality-audits.jpg');
}

.dms-ballot-photo-printing {
    background-image: url('/dmsimages/ballot-precision-printing.jpg');
    background-position: center 85%; /* #51 */
}

.dms-ballot-photo-packaging {
    background-image: url('/dmsimages/ballot-secure-packaging.jpg');
}

.dms-ballot-card-body {
    padding: 19px 24px 24px;
}

.dms-ballot .dms-ballot-card-body h3 {
    font-size: 19px;
    line-height: 1.2;
    font-weight: 600;
    color: #111;
    margin: 0 0 14px;
}

.dms-ballot-card-body ul {
    padding-left: 18px;
}

.dms-ballot-card-body li {
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 9px;
}

.dms-ballot-partner {
    display: grid;
    grid-template-columns: 35% 65%;
    background: var(--ballot-blue);
    border-radius: 19px;
    overflow: hidden;
    margin-top: 32px;
    color: #fff;
    min-height: 188px;
}

/*.dms-ballot-partner-photo {
    background: #a2b4b8 url('/dmsimages/ballot-trusted-partner.jpg') center/cover no-repeat;
}*/

.dms-ballot-partner-photo {
    background-color: #a2b4b8;
    background-image: url('/dmsimages/ballot-trusted-partner.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.dms-ballot-partner-copy {
    padding: 30px 38px;
    align-self: center;
}

.dms-ballot .dms-ballot-partner h2 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 9px;
}

.dms-ballot-partner p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.dms-ballot-cta {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 53px 24px 0;
}

.dms-ballot .dms-ballot-cta h2 {
    color: var(--ballot-blue);
    font-weight: 700;
    font-size: 31px;
    line-height: 1.25;
    margin: 0 0 13px;
}

.dms-ballot-cta p {
    max-width: 400px;
    font-size: 16px;
    margin: 0;
}

.dms-ballot .dms-ballot-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    min-width: 240px;
    min-height: 58px;
    padding: 13px 27px;
    background: var(--ballot-orange);
    color: #004b83;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    text-transform: none;
}

/* no hover behavior per #58B
    .dms-ballot .dms-ballot-cta-button:hover {
        background: #ffad40;
    }
    */

    .dms-ballot .dms-ballot-cta-button:focus-visible {
        outline: 3px solid #004b83;
        outline-offset: 3px;
    }

@media (max-width: 1050px) {
    .dms-ballot-hero-grid {
        gap: 30px;
    }

    .dms-ballot-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dms-ballot-two-col {
        gap: 38px;
    }
}

/* changed from 700 */
@media (max-width: 767px) {
    /*
    .dms-ballot .dms-ballot-wrap {
        width: calc(100% - 36px);
    }
    */

    .dms-ballot-hero {
        padding: 35px 0 45px;
    }

    .dms-ballot-hero-grid, .dms-ballot-two-col, .dms-ballot-partner {
        grid-template-columns: 1fr;
    }

    .dms-ballot-desktop-break {
        display: none;
    }

    .dms-ballot .dms-ballot-hero h1 {
        font-size: clamp(32px, 8vw, 46px);
    }

    .dms-ballot-hero-photo {
        aspect-ratio: 4/3;
    }

    .dms-ballot-trust {
        padding: 42px 0;
    }

    .dms-ballot-facility {
        padding: 25px 20px;
    }

    .dms-ballot-process {
        padding: 38px 0 45px;
    }

    .dms-ballot-process-grid {
        grid-template-columns: 1fr;
    }

    .dms-ballot-card-photo {
        height: 160px;
    }

    .dms-ballot-partner-photo {
        min-height: 190px;
    }

    .dms-ballot-partner-copy {
        padding: 25px;
    }

    .dms-ballot-cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        padding: 39px 0 0;
    }

    .dms-ballot .dms-ballot-cta-button {
        width: 100%;
    }
}

/* Ballot Printing temporary layout correction */

.dms-ballot {
    padding-top: 120px;
}

    .dms-ballot h1 {
        text-transform: none;
        text-shadow: none;
    }

/* =========================================================
   Ballot Printing — responsive/mobile overrides
   Append to the END of DMSTransition.css.
   Desktop rules remain unchanged.
   ========================================================= */

/* changed from 700 */
@media (max-width: 767px) {
    /* Base.cshtml has an overlaid header. Preserve clearance. */
    main.dms-ballot {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 120px 0 0;
        overflow-x: clip;
    }

    .dms-ballot .dms-ballot-wrap {
        width: calc(100% - 32px);
        max-width: none;
        margin: 0 auto;
    }

    /* Hero: image first, then title and description */
    .dms-ballot .dms-ballot-hero {
        padding: 32px 0 42px;
    }

    .dms-ballot .dms-ballot-hero-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
    }

    .dms-ballot .dms-ballot-hero-photo {
        order: -1;
        width: 100%;
        aspect-ratio: 1.48;
        border-radius: 22px;
        background-position: center;
    }

    .dms-ballot .dms-ballot-hero-copy {
        width: 100%;
        min-width: 0;
    }

    .dms-ballot .dms-ballot-hero h1 {
        font-size: clamp(36px, 11vw, 44px);
        line-height: 1.12;
        letter-spacing: -0.7px;
        margin: 0 0 20px;
        text-transform: none;
        text-shadow: none;
    }

    .dms-ballot .dms-ballot-desktop-break {
        display: none;
    }

    .dms-ballot .dms-ballot-hero-copy p {
        font-size: 18px;
        line-height: 1.42;
        margin: 0;
    }

    /* Blue trust section: one column and compact bullet spacing */
    .dms-ballot .dms-ballot-trust {
        padding: 38px 0 38px;
    }

    .dms-ballot .dms-ballot-two-col {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .dms-ballot .dms-ballot-trust h2 {
        font-size: 21px;
        line-height: 1.25;
        margin: 0 0 11px;
        text-transform: none;
        text-shadow: none;
    }

    .dms-ballot .dms-ballot-trust ul {
        margin: 0;
        padding-left: 21px;
    }

    .dms-ballot .dms-ballot-trust li {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 7px;
    }


         /* Ballot Printing - Mobile layout */
         /* Hero: image above heading and text */
        .dms-ballot .dms-ballot-hero-grid {
            display: flex;
            flex-direction: column;
        }

        .dms-ballot .dms-ballot-hero-photo {
            order: 1;
            width: 100%;
        }

        .dms-ballot .dms-ballot-hero-copy {
            order: 2;
            width: 100%;
        }

        /* Capabilities and facility: one column */
        .dms-ballot .dms-ballot-two-col {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
        }

        /* Process cards: one per row */
        .dms-ballot .dms-ballot-process-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
        }

        /* Partner banner: image above text */
        .dms-ballot .dms-ballot-partner {
            display: flex;
            flex-direction: column;
        }

        .dms-ballot .dms-ballot-partner-photo {
            min-height: 190px;
        }
}

/* Keep Contact page content below fixed navigation */

#page-1205 .content {
    padding-top: 115px;
}

#page-1205 .header .header-menu {
    background-color: #00447c;
}

/* Remove unused burgundy banner on Contact page */
#page-1205 .content .banner2 {
    display: none;
}

/* Mobile navigation styling */
/* @media only screen and (max-width: 1000px) { */

    /* Main mobile menu panel */
    #mob-menu.mm-menu {
        background-color: #00447c;
        color: #ffffff;
    }

    /* Menu panels */
    #mob-menu .mm-panels,
    #mob-menu .mm-panel,
    #mob-menu .mm-listview {
        background-color: #00447c;
        color: #ffffff;
    }

        /* Individual menu items */
        #mob-menu .mm-listview > li > a {
            color: #ffffff;
            font-weight: 700;
            font-size: 13px;
            padding: 12px 10px;
        }

        /* Subtle dividers */
        #mob-menu .mm-listview > li {
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

            /* Remove mmenu's default item borders */
            #mob-menu .mm-listview > li::after {
                display: none;
            }
/* } */

/* Keep the mobile menu's logo header white */
@media only screen and (max-width: 1000px) {

    #mob-menu .mm-navbar-top-2 {
        background-color: #ffffff;
    }

        #mob-menu .mm-navbar-top-2 a {
            background-color: #ffffff;
        }

        #mob-menu .mm-navbar-top-2 img {
            background-color: #ffffff;
        }
}

/* Prominent mobile menu close button */
#mob-menu .mm-navbar .dms-mobile-close {
    display: block;
    text-align: right;
    padding: 0 20px;
    font-family: Arial, sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 50px;
    color: #ffffff !important;
    text-decoration: none;
}

    #mob-menu .mm-navbar .dms-mobile-close:hover {
        color: #ffffff !important;
    }

/* Hide the automatically generated mobile menu title */
#mob-menu .mm-panels .mm-navbar .mm-title {
    display: none;
}

/* Remove unwanted border through mobile menu logo */
#mob-menu .mm-navbar-top-2,
#mob-menu .mm-navbar-top-2 a {
    border: none !important;
}

    /* Test: remove decorative lines from mobile logo area */
    #mob-menu .mm-navbar-top-2::before,
    #mob-menu .mm-navbar-top-2::after,
    #mob-menu .mm-navbar-top-2 a::before,
    #mob-menu .mm-navbar-top-2 a::after {
        content: none !important;
        display: none !important;
    }

/* Remove the border from the X button navbar */
#mob-menu .mm-navbar-top-1 {
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    pointer-events: none !important;
}

#mob-menu .mm-navbar .dms-mobile-close {
    height: 40px;
    line-height: 40px;
    padding-top: 0;
    padding-bottom: 0;
}

/* Mobile menu: move logo left and put X inside white logo area */
/* @media only screen and (max-width: 1000px) { */

    /* White logo band */
#mob-menu .mm-navbar-top-2 {
    background-color: #ffffff;
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    height: 63px !important;
    min-height: 63px !important;
    padding: 0 !important;
    z-index: 3;
}

        /* Move logo farther left */
        #mob-menu .mm-navbar-top-2 a.logo {
            padding-left: 12px !important;
            text-align: left;
        }

            #mob-menu .mm-navbar-top-2 a.logo img {
                display: block;
                margin-left: 0 !important;
            }

    /* Put the close-X in the white area instead of the blue strip */
#mob-menu .mm-navbar-top-1 {
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    height: 63px !important;
    padding: 0 !important;
    background: transparent !important;
    z-index: 4;
    border: none !important;
    box-shadow: none !important;
}

    /* Style the X to match the hamburger blue */
    /*
    #mob-menu .mm-navbar .dms-mobile-close {
        color: #00447c !important;
        height: 86px;
        line-height: 86px;
        padding: 0 14px 0 0;
        text-align: right;
        font-size: 42px;
        font-weight: 700;
        background: transparent !important;
    }
*/
/* Mobile menu - Restrict X clickable area */
#mob-menu .mm-navbar .dms-mobile-close {
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    width: 50px !important;
    height: 63px;
    line-height: 63px;
    padding: 0 14px 0 0;
    box-sizing: border-box;
    text-align: right;
    color: #00447c !important;
    background: transparent !important;
    pointer-events: auto !important;
}

/* }  */

.dms-contact-heading {
    color: #004b83 !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 46px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    text-shadow: none !important;
    margin-bottom: 30px;
}


.dms-contact-facility-heading {
    color: #008cba !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 22px !important; /* #28 */
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    text-shadow: none !important;
    margin: 20px 0 8px;
}

/* get rid of the orange line that jq.css adds to heading*/
    .dms-contact-facility-heading::after {
        content: none !important;
        display: none !important;
    }

/* Contact page Send Message button */
#page-1205 .header-sub-contact-send a {
    background-color: #004b83 !important;
    color: #ffffff !important;
    border-color: #004b83 !important;
}

/* Contact page Send Message button */
#page-1205 .main-block form.download .submit-btn {
    background-color: #004b83 !important;
    border-color: #004b83 !important;
    color: #ffffff !important;
}

/* Remove outer container styling around Contact form */
#page-1205 .pp-expertise-bottom-desc {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

/* Remove gray background and padding from Contact form */
#page-1205 .content .main-block form.download {
    background-color: transparent !important;
    padding: 0 !important;
    width: 75% !important;
}

/* Contact form: consistent field and button widths */
#page-1205 #headerContactPage input:not([type="hidden"]):not([type="submit"]),
#page-1205 #headerContactPage textarea,
#page-1205 #headerContactPage .submit-btn {
    box-sizing: border-box;
    width: 100% !important;
}

/* New Home background */
body {
    background-color: #e9e7e5;
}

/* New Home page background */
#page-2275 .content {
    background-color: #e9e7e5 !important;
}

/* Keep footer at bottom on short pages */
#page-2275 .main {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}

    #page-2275 .main > .content {
        flex: 1 0 auto !important;
    }

    #page-2275 .main > .dms-footer {
        margin-top: auto !important;
    }

     /* New Home: gray background throughout expanded content area */
    #page-2275 .main > .content {
        background-color: #e9e7e5 !important;
    }

/* Contact page address text */
#page-1205 .dms-contact-facility-heading + table td {
    color: #000000 !important;
}

/* Contact page address - Outfit 22px */
#page-1205 .dms-contact-facility-heading + table td,
#page-1205 .dms-contact-facility-heading + table td a {
    font-family: "Outfit", sans-serif !important;
    font-size: 22px !important;
}

/* Contact phone, fax and email typography */
/* #27 */
#page-1205 .dms-contact-details td
 {
    font-family: "Outfit", sans-serif !important;
    font-size: 22px !important;
    color: #000000 !important;
}

#page-1205 .dms-contact-details strong {
    font-weight: 700 !important;
}

/* 26 */
#page-1205 .dms-contact-heading {
    font-family: "Outfit", sans-serif !important;
    font-size: 70px !important;
    font-weight: 600 !important;
    line-height: 75px !important;
    color: #004b83 !important;
    text-transform: none !important;
    text-shadow: none !important;
}

/* Align contact information with form fields */
#page-1205 .main-block .col.span_1_of_3 {
    padding-top: 25px;
}

/* New Home main body text */
/* # 24 */
#page-2275 .hp-learn-more-inner p {
    font-family: "Outfit", sans-serif !important;
    font-size: 24px !important;
    font-weight: 400 !important; /* Regular */
}

/* New Home - existing Johnson & Quin clients */
/* # 25 */
#page-2275 .hp-learn-more-inner .client-note {
    font-family: "Outfit", sans-serif !important;
    font-size: 22px !important;
    font-weight: 400 !important;
}

/* Top navigation bar - solid blue */
/* #23 */
.header .header-menu {
    background-color: #00457C !important;
}

/* New Home - H1 headlines */
#page-2275 .hp-learn-more-inner h1 {
    font-family: "Outfit", sans-serif !important;
    font-size: 70px !important;
    font-weight: 600 !important; /* SemiBold */
    line-height: 75px !important;
    text-shadow: none !important;
    text-transform: none !important;
}

/* Ballot Printing - facility tour text */
/* #21 */
.dms-ballot-tour-text {
    font-family: "Outfit", sans-serif !important;
    font-size: 22px !important;
    font-weight: 400 !important;
}

/* Ballot Printing - Ready to put us to work heading */
/* #20 */
.dms-ballot-ready-heading {
    font-family: "Outfit", sans-serif !important;
    font-size: 40px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    text-shadow: none !important;
}

/* Ballot Printing - We are committed text */
/* #19 */
.dms-ballot-committed {
    font-family: "Outfit", sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
}

/* Ballot Printing - A trusted partner */
/* #18 */
.dms-ballot-trusted-partner {
    font-family: "Outfit", sans-serif !important;
    font-size: 24px !important;
    font-weight: 500 !important;
}

/* Ballot Printing - process card headings */
/* #16 #17 and #16B*/
.dms-ballot-process-card .dms-ballot-card-body h3 {
    font-family: "Outfit", sans-serif !important;
    font-size: 24px !important;
    font-weight: 500 !important; /* Medium */
}

/* Ballot Printing - process card descriptions */
/* #16 #17 */
.dms-ballot-process-card .dms-ballot-card-body li {
    font-family: "Outfit", sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important; /* Regular */
}

/* Ballot Printing - Process introduction */
/* 15 */
.dms-ballot-process-intro {
    font-family: "Outfit", sans-serif !important;
    font-size: 22px !important;
}

/* Ballot Printing - Our Process & Commitment */
/* #14 */
#ballot-process-title {
    font-family: "Outfit", sans-serif !important;
    font-size: 40px !important;
    font-weight: 700 !important; /* Bold */
    text-transform: none !important;
    text-shadow: none !important;
}

/* Ballot Printing - Experience and Why Choose Us bullets */
/* #11 #13 */
.dms-ballot-two-col ul li {
    font-family: "Outfit", sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important; /* Regular */
}

/* Ballot Printing - Our Facility heading */
/* #12 */
.dms-ballot-facility-heading {
    font-family: "Outfit", sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    text-shadow: none !important;
    margin-bottom: 20px; /* # 68B */
}

/* Ballot Printing - Experience and Why Choose Us headings */
/*  #10 */
.dms-ballot-two-col h3 {
    font-family: "Outfit", sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: normal !important;
    text-transform: none !important;
    text-shadow: none !important;
    margin-bottom: 20px !important;
}
/* Ballot Printing - For nearly 150 years */
/* #09 */
.dms-ballot-history-text {
    font-family: "Outfit", sans-serif !important;
    font-size: 22px !important;
    font-weight: 500 !important; /* Medium */
    line-height: normal !important;
}

/* Top navigation - Outfit 18px Bold */
/* #05 */
.header .header-menu ul.header-nav li a {
    font-family: "Outfit", sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* Ballot Printing - H1 headline */
/* #07 */
.dms-ballot h1 {
    font-family: "Outfit", sans-serif !important;
    font-size: 70px !important;
    font-weight: 600 !important; /* SemiBold */
    line-height: 75px !important;
    text-shadow: none !important;
    text-transform: none !important;
}

/* Contact page - Form field fonts */
/* #52 */
#page-1205 .main-block form.download input,
#page-1205 .main-block form.download textarea,
#page-1205 .main-block form.download select {
    font-family: "Outfit", sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
}

/* Privacy Policy - use Outfit throughout */
/* #06 */
#page-2189,
#page-2189 * {
    font-family: 'Outfit', sans-serif !important;
}

/* Mobile - Outfit font throughout */
@media (max-width: 767px) {
    body,
    body * {
        font-family: "Outfit", sans-serif !important;
    }
}

/* Mobile hamburger drawer navigation */
/* #31 */
@media (max-width: 767px) {
    #mob-menu .mm-listview > li > a {
        font-family: "Outfit", sans-serif !important;
        font-size: 22px !important;
        font-weight: 700 !important;
    }
}

/* BEGIN #32 */
/* Mobile heading typography */
@media (max-width: 767px) {

    h1 {
        font-family: "Outfit", sans-serif !important;
        font-size: 50px !important;
        line-height: 55px !important;
        font-weight: 600 !important;
        text-shadow: none !important;
    }

    h2 {
        font-family: "Outfit", sans-serif !important;
        font-size: 36px !important;
        line-height: 41px !important;
        font-weight: 600 !important;
        text-shadow: none !important;
    }

    h3 {
        font-family: "Outfit", sans-serif !important;
        font-size: 24px !important;
        line-height: normal !important;
        font-weight: 700 !important;
        text-shadow: none !important;
    }
}
/* END #32 */

/* Mobile - New Home introductory text */
/* #33 */
@media (max-width: 767px) {
    #page-2275 .hp-learn-more-inner p {
        font-family: "Outfit", sans-serif !important;
        font-size: 22px !important;
        font-weight: 400 !important;
        line-height: normal !important;
    }
}

/* Mobile - Contact page production facility and address */
/* #35 */
@media (max-width: 767px) {

    #page-1205 .dms-contact-facility-heading,
    #page-1205 .dms-contact-facility-heading + table td,
    #page-1205 .dms-contact-facility-heading + table td a {
        font-family: "Outfit", sans-serif !important;
        font-size: 18px !important;
        line-height: 1.0 !important; /* #35B */
    }
}

/* Mobile - Contact page production facility and address */
/* #35B */
@media (max-width: 767px) {

    #page-1205 .dms-contact-facility-heading + table {
        height: auto !important;
    }

        #page-1205 .dms-contact-facility-heading + table tr,
        #page-1205 .dms-contact-facility-heading + table td {
            height: auto !important;
        }
}

/* Mobile - Ballot Printing bullets */
/* #40 #41 */
@media (max-width: 767px) {
    .dms-ballot-two-col ul li,
    .dms-ballot-process-card .dms-ballot-card-body li {
        font-family: "Outfit", sans-serif !important;
        font-size: 16px !important;
        font-weight: 400 !important;
    }
}

/* Mobile - Start-to-finish Ballot production */
/* #43 */
@media (max-width: 767px) {
    .dms-ballot-process-intro,
    .dms-ballot-process-intro strong {
        font-family: "Outfit", sans-serif !important;
        font-size: 18px !important;
    }
}

/* Mobile - We are committed */
/* #47 */
@media (max-width: 767px) {
    .dms-ballot-committed {
        font-family: "Outfit", sans-serif !important;
        font-size: 16px !important;
        font-weight: 400 !important;
    }
}

/* Mobile - To schedule a facility tour */
/* #49 */
@media (max-width: 767px) {
    .dms-ballot-tour-text {
        font-family: "Outfit", sans-serif !important;
        font-size: 18px !important;
        font-weight: 400 !important;
    }
}
/* xxxxxxxxxxxxxxxxxx */
/* Mobile - Contact page form column margin */
@media (max-width: 767px) {
    #page-1205 .content .main-block .frame .span_2_of_3 {
        margin-right: 0 !important;
    }
}

/* Mobile Contact page - Form spacing */
@media (max-width: 767px) {
    #page-1205 .content .main-block form.download {
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0 !important; /* 66B */
        padding-right: 0 !important;
    }
}

/* Mobile Contact page - Align fieldsets with Google Map */
@media (max-width: 767px) {
    #page-1205 #headerContactPage fieldset {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        min-width: 0 !important;
        margin-left: 12px !important;
        box-sizing: border-box !important;
    }
}

/* Mobile Contact page - Make form fields fill their fieldsets */
@media (max-width: 767px) {
    #page-1205 .content .main-block form.download fieldset input,
    #page-1205 .content .main-block form.download fieldset textarea,
    #page-1205 .content .main-block form.download fieldset select {
        width: 100% !important; /* #66C */
        max-width: 100% !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Prevent embedded Google Map from overflowing on mobile */
/* #36 */
@media only screen and (max-width: 767px) {
    .scroll-over-content iframe[src*="google.com/maps"] {
        max-width: 100%;
    }
}
/* xxxxxxxxxxxxxxxxxx */
/* Mobile - Ballot Printing - Our Process & Commitment */
/* #42B */
@media (max-width: 767px) {
    #ballot-process-title {
        font-size: 36px !important;
        line-height: 41px !important;
        font-weight: 600 !important; /* SemiBold */
    }
}

/* Mobile - Ballot Printing - Our Process & Commitment */
/* #48B */
@media (max-width: 767px) {
    .dms-ballot-ready-heading {
        font-size: 36px !important;
        line-height: 41px !important;
        font-weight: 600 !important; /* SemiBold */
    }
}

/* Mobile - Ballot Printing - Our Facility list spacing */
/* #55B */
/* Ballot Printing - Our Facility bullet lists */

/* Desktop */
.dms-ballot-facility-bullets-mobile {
    display: none !important;
}

/* Mobile */
@media (max-width: 767px) {

    .dms-ballot-facility-bullets-desktop {
        display: none !important;
    }

    .dms-ballot-facility-bullets-mobile {
        display: block !important;
    }
}

/* Mobile - New Home - Additional spacing before footer */
/*  #57 */
@media (max-width: 1000px) {
    #page-2275 .content {
        padding-bottom: 40px !important;
    }
}

/* #59 - Mobile Contact Us - Telephone, Fax and Email */
@media (max-width: 767px) {

    #page-1205 .dms-contact-details {
        width: 290px !important;
        max-width: 100% !important;
        height: auto !important;
    }

        #page-1205 .dms-contact-details td {
            white-space: nowrap;
        }
}

/* Mobile menu - Replacement close icon */
/* #60B */
#mob-menu .mm-navbar .dms-mobile-close img {
    width: 28px !important;
    height: 28px !important;
    display: inline-block;
    vertical-align: middle;
    transform: translate(-8px, -4px) !important;
}

/* Contact page - Maintain horizontal spacing above 1500px */
/* #64B */
@media (min-width: 1501px) {
    #page-1205 .content .frame {
        box-sizing: border-box;
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* Mobile Contact Us - Match form controls to map width */
/* #66B */
/*@media (max-width: 767px) {

    #page-1205 form.download {
        padding-right: 0 !important;
    }

    #page-1205 .main-block form.download input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
    #page-1205 .main-block form.download textarea,
    #page-1205 .main-block form.download .submit-btn {
        width: 100% !important;
        box-sizing: border-box;
    }
} */

/* Mobile menu - Full-screen drawer */
/* #70B */
@media (max-width: 767px) {

    #mob-menu.mm-menu.mm-offcanvas {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
}
/* Mobile menu - Prevent underlying page from sliding */
/*@media (max-width: 767px) {
    html.mm-opening .mm-slideout {
        transform: translate3d(0, 0, 0) !important;
    }
}*/
/* Mobile menu - Slide page completely offscreen */
@media (max-width: 767px) {
    html.mm-right.mm-opening .mm-slideout {
        transform: translate3d(-100vw, 0, 0) !important;
    }
}

/* Mobile menu - Match open-menu logo to hamburger logo */
@media (max-width: 767px) {
    #mob-menu .mm-navbar-top-2 a.logo img {
        width: 200px !important;
        height: auto !important;
        transform: scale(0.90) !important;
        transform-origin: left center !important;
    }
}

/* Mobile Ballot Printing - Trusted partner heading spacing */
/* #46B */
@media (max-width: 767px) {
    .dms-ballot .dms-ballot-trusted-partner {
        margin-bottom: 16px !important;
    }
}

/* #69 - Ballot Printing desktop text alignment */
@media (min-width: 1060px) {
    .dms-ballot-hero-copy {
        padding-left: 24px;
    }

    .dms-ballot-two-col {
        padding-left: 24px;
    }

    .dms-ballot-card-body {
        padding-left: 24px;
    }
}

/* #61 - New Home mobile body text margins */
@media (max-width: 767px) {
    #page-2275 .hp-learn-more-inner {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        padding-left: 32px;
        padding-right: 32px;
    }

    /* #61 - New Home mobile header logo margin */
    /*#page-2275 .header-logo {
        margin-left: 20px;
    }*/

    /* #61 - New Home mobile hamburger right margin */
    /*#page-2275 .resp-menu-icon {
        transform: translateX(-10px);
    }*/

    /* Consistent open-menu header */
    #mob-menu .mm-navbar-top-1,
    #mob-menu .mm-navbar-top-2 {
        height: 63px !important;
        min-height: 63px !important;
    }

    /* Keep the X aligned with the hamburger */
    #mob-menu .mm-navbar .dms-mobile-close img {
        transform: translate(-8px, -4px) !important;
    }
}

/* #65 - Contact Us mobile margins */
@media (max-width: 767px) {

    #page-1205 .content .main-block .frame {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 20px;
        padding-right: 20px;
    }

    #page-1205 .content .main-block p {
        margin-left: 12px;
        margin-right: 12px;
    }

    /*#page-1205 .header-logo {
        margin-left: 20px;
    }

    #page-1205 .resp-menu-icon {
        transform: translateX(-10px);
    }*/

    /* Contact Us - Match form field widths to Google map */
    /* #66C */

    /*
    #page-1205 form.download input,
    #page-1205 form.download textarea {
        width: calc(100% - 24px) !important;
        margin-left: 12px;
        box-sizing: border-box;
    }
        */
}

/* Ballot Printing - Our Facility desktop bullet alignment */
/* #68C */
@media (min-width: 768px) {
    .dms-ballot-facility-bullets-desktop ul {
        padding-left: 4px;
    }
}

/* #72C - Ballot Printing desktop process text alignment */
@media (min-width: 1060px) {
    .dms-ballot-process .dms-ballot-wrap > h2,
    .dms-ballot-process .dms-ballot-wrap > h2 + p {
        transform: translateX(24px);
    }
}

/* Mobile - Align closed logo vertically with open menu logo */
@media (max-width: 767px) {
    .header-logo img {
        transform: translateY(-3px) !important;
    }
}

/* Desktop - Consistent margins across all three pages */
@media (min-width: 1060px) {

    .dms-ballot .dms-ballot-wrap,
    #page-2275 .hp-learn-more-inner,
    #page-1205 .content .frame {
        width: calc(100% - 80px) !important;
        max-width: 1308px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box;
    }
}

/* Desktop - Prevent navigation from shrinking on scroll */
@media (min-width: 1060px) {

    .header.header-sticky {
        height: 115px !important;
    }

        .header.header-sticky .header-menu,
        .header.header-sticky .header-menu-inner,
        .header.header-sticky .header-logo {
            height: 115px !important;
        }

            .header.header-sticky .header-logo img {
                padding-top: 28px !important;
                padding-bottom: 0 !important;
            }

        .header.header-sticky ul.header-nav {
            height: 115px !important;
        }
}

@media (min-width: 1060px) {
    .header.header-sticky ul.header-nav,
    .header.header-sticky ul.header-nav > li,
    .header.header-sticky ul.header-nav > li > a {
        line-height: 115px !important;
        height: 115px !important;
    }
}

/* Desktop - Keep logo stationary when scrolling */
@media (min-width: 1060px) {

    .header .header-logo img,
    .header.header-sticky .header-logo img {
        padding-top: 23px !important;
        padding-bottom: 0 !important;
    }
}