/* ============================================================================
   Paradise Palms - Doubleknot Design Center stylesheet (complete)
   Part 1: existing header / menu / footer styles (colors aligned to the
           website design where noted)
   Part 2: Paradise Palms widget theme - Doubleknot-generated output
           (title bars, buttons, forms, calendars, checkout, CMS pages)
   ============================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ========================================
   BASE STYLES
   ======================================== */
BODY {
    FONT-SIZE: 14px;
    COLOR: #141414;
    FONT-FAMILY: "Red Hat Display", sans-serif;
    text-align: left;
    margin: 0;
}

/* ========================================
   HEADER STYLES
   ======================================== */
.header-top {
    background-color: #04333D;
    height: 112px;
}

.header-logo {
    background-color: #04333D;
    justify-content: center;
    max-width: 1440px;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .header-logo {
        padding-bottom: 5px;
        padding-left: 30px;
    }
}

.header-red {
    float: left;
    width: auto;
    padding: 15px;
}

#dk_header_standard {
    max-width: 1440px;
    margin: auto;
    height: 112px;
}

tr.dkheaderblock {
    vertical-align: top;
    margin: 0px;
    height: 112px;
    background: #04333D;
}

@media screen and (max-width: 768px) {
    .header-top,
    #dk_header_standard,
    tr.dkheaderblock {
        height: 64px;
    }
}

td.dkheaderblock {
    vertical-align: top;
    margin: 0px;
}

.dkheaderblock {
    background: transparent;
}

/* ========================================
   NAVIGATION / MENU STYLES
   ======================================== */
.orgmenu {
    float: right;
    padding-right: 200px;
    padding-top: 125px;
    color: #131416;
}

.sm-dk {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.sm-dk a {
    font-family: "Red Hat Display", sans-serif;
    padding: 0 !important;
    font-size: 1.1rem !important;
    color: #131416;
    font-weight: 600 !important;
    text-decoration: none;
    list-style-type: none;
    text-shadow: none !important;
}

.sm-dk li {
    border-left: none !important;
    margin: 10px !important;
}

ul.sm a {
    color: #fff !important;
    font-family: "Red Hat Display", sans-serif !important;
    text-transform: uppercase !important;
    padding: 10px !important;
}

#dk-main-menu {
    padding-left: 0px !important;
}

#dk-main-menu > li {
    list-style-type: none;
}

#dk-main-menu-mobile > li {
    list-style-type: none;
}

/* ========================================
   LAYOUT / TABLE STRUCTURE
   ======================================== */
table.dkouterblock {
    table-layout: auto;
    background-color: #E5E6D2; /* was #FFFFFF - stone canvas to match the website */
    height: 100%;
    vertical-align: top;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

tr.dkouterblock {
    vertical-align: top;
}

td.dkouterblock {
    vertical-align: top;
}

table.dkcenterblock {
    table-layout: auto;
    background-color: #E5E6D2; /* was #FFFFFF - stone canvas to match the website */
    vertical-align: top;
    width: 100%;
    height: 100%;
    margin: 0px;
}

td.dkcenterblock {
    vertical-align: top;
}

.dkdivcenterblock {
    max-width: 1140px;
    margin: auto;
}

table.dkleftblock {
    table-layout: auto;
    width: 0px;
    height: 100%;
    margin: 0px;
    vertical-align: top;
}

td.dkleftblock {
    table-layout: auto;
    vertical-align: top;
    width: 0px;
}

table.dkrightblock {
    table-layout: auto;
    width: 0px;
    height: 100%;
    margin: 0px;
    vertical-align: top;
}

td.dkrightblock {
    table-layout: auto;
    width: 0px;
    vertical-align: top;
}

body > div.dkdivouterblock > table > tbody > tr:nth-child(2) > td:nth-child(2) > div > table {
    margin-top: 50px;
    margin-bottom: 50px;
}

/* ========================================
   FEATURE LIST / CENTER CONTENT
   ======================================== */
.dkdivfeaturelist a {
    color: #064A58;
    font-size: 14px;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 600;
    text-decoration: none;
}

.dkdivfeaturelist a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

td.dkouterblock .dkdivcenterblock a {
    color: #064A58;
    font-size: 14px;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 600;
    text-decoration: none;
}

td.dkouterblock .dkdivcenterblock a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

/* ========================================
   FOOTER STYLES
   ======================================== */
footer {
    background-color: #04333D;
    color: #E5E6D2;
    box-sizing: border-box;
    padding: 50px;
    text-decoration: none !important;
    font-family: "Red Hat Display", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.1em;
}

footer .footer-container {
    display: flex !important;
    flex-direction: column;

    position: relative;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    max-width: 1440px;
}

.footer-container .row {
    display: flex;
    flex-direction: row;
}

.footer-container .row .column {
    width: 280px;
}

.footer-container .row.links .column {
    text-align: center;
}

footer .row,
footer .column {
    overflow: hidden;
    margin: 0 auto;
    width: auto;
}

footer .member {
    overflow: hidden;
    font-size: 16px !important;
}

footer a,
footer a:hover {
    font-family: "Red Hat Display", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.1em;
    color: #E5E6D2;
    text-decoration: none !important;
}

footer li a {
    text-decoration: none;
}

footer h2 {
    font-family: "Red Hat Display", sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0.1em;
    color: #E5E6D2;
    text-transform: uppercase;
    margin-bottom: 30px;
    /* Upgraded Underline */
    text-decoration: underline;
    text-decoration-color: #6D7F89; /* ADDED: Change to your desired underline color */
    text-decoration-thickness: 2px; /* ADDED: Controls how heavy the line is */
    text-underline-offset: 10px;     /* ADDED: Pushes the underline down so it doesn't clip the letters */
}

footer p {
    font-family: "Red Hat Display", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.1em;
    color: #E5E6D2;
    margin-bottom: 10px;
}

footer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

footer ul li {
    font-family: "Red Hat Display", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0.1em;
    color: #E5E6D2;
    margin-bottom: 5px;
}

footer .footer-logo {
    width: auto;
    margin-bottom: 30px;
}

footer .alliance-logo {
    padding-left: 30px;
}

.subfooter a {
    color: #E5E6D2;
    text-decoration: none;
}

.subfooter .footer-about {
    display: flex;
    flex-direction: row;
    font-size: 16px;
    border-top: 1px solid #E5E6D2;
    border-bottom: 1px solid #E5E6D2;
}

.subfooter .footer-about div {
    display: flex;
    flex-direction: row;
    width: 50%;
    padding: 30px;
    border-right: 1px solid #E5E6D2;
}

.subfooter .footer-about div span,
.subfooter .footer-about div a {
    width: 50%;
}

@media screen and (max-width: 768px) {
    footer,
    .subfooter {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .footer-logo img {
        width: 262px !important;;
        height: auto !important;;
        margin-bottom: 30px;
    }

    .footer-about {
        flex-direction: column !important;
        border-left: none !important;
        border-right: none !important;
    }

    .footer-about div {
        border: none;
        flex-direction: column !important;;
        min-width: 100% !important;
    }

    .footer-about div span,
    .footer-about div a {
        width: auto !important;
    }

    .subfooter .footer-about div:first-child {
        border-bottom: 1px solid #E5E6D2;
    }

    .subfooter .footer-about div span:first-of-type,
    .subfooter .footer-about div a:first-of-type {
        margin-bottom: 50px !important;
    }

}


.head {
    font-family: "Red Hat Display", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.1em;
    color: #E5E6D2;
    text-align: left;
    padding: 5px 8px;
    margin-bottom: 1px;
}

.head-bold {
    font-weight: 800;
}

.sub-image p{
    font-family: Red Hat Display;
    font-weight: 400;
    font-size: 10px;
    line-height: 1rem;
    letter-spacing: 10%;
    margin-top: 50px;
}

.social {
    display: flex;
}

.social-link {
    font-family: "Red Hat Display", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.1em;
    color: #E5E6D2;
    text-align: left;
    padding: 8px;
    margin-bottom: 1px;
    list-style: none;
}

.social-link a {
    color: #E5E6D2;
    transition: color 0.3s ease;
}

.social-link a:hover {
    color: #064A58;
}

.contact-link {
    font-family: "Red Hat Display", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.1em;
    color: #E5E6D2;
}

.contact-link:hover {
    color: #E5E6D2;
    text-decoration: underline !important;
}

.subfooter-inner {
    max-width: 1455px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    text-align: center;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.flex {
    display: flex;
    justify-content: center;
}

.subfooter {
    background-color: #04333D;
    font-size: 13px;
    color: #E5E6D2;
}

.subfooter .social {
    display: flex;
    margin: 0;
    padding: 0;
}

.subfooter-content {
    padding: 30px;
    text-align: center;
    margin: 0 auto;
}

.subfooter-content p {
    margin: 0;
    font-size: 13px;
    display: inline;
}

.subfooter-content a {
    color: #E5E6D2;
    text-decoration: none;
    margin-left: 15px;
    display: inline;
    font-weight: 800;
}

/* ========================================
   MEDIA QUERIES
   ======================================== */
@media screen and (min-width: 768px) {
    .sm-dk a {
        display: inline-block;
        position: relative;
        color: #fff;
    }
    .sm-dk a::after {
        content: '';
        position: absolute;
        width: 100%;
        transform: scaleX(0);
        height: 1px;
        bottom: -10px;
        left: 0;
        background-color: #6D7F89;
        transform-origin: bottom right;
        transition: transform 0.35s ease-out;
    }
    .sm-dk a:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }
    footer .footer-container {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        position: relative;
        margin: 0 auto;
        clear: both;
        grid-gap: 18px;
        box-sizing: bo rder-box;
    }
    div#sub-footer {
        padding: 15px 50px;
    }
}

@media screen and (max-width: 768px) {
    footer .column {
        border-right: none;
    }
    footer .footer-container {
        text-align: center;
    }
    .head {
        text-align: center !important;
    }
    .social {
        justify-content: center;
    }
    .subfooter {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .subfooter-content {
        text-align: center;
        margin-top: 15px;
    }
    .subfooter-content a {
        margin: 0 10px;
    }
    .subfooter-inner{
        display: block;
    }
}

@media screen and (max-width: 640px) {
    #dk-main-menu-mobile > li {
        list-style-type: none;
        margin: 0 !important;
        text-align: center;
    }
}

/* 1. Establish the positioning context on the parent wrapper */
.dkdivallfooter {
    position: relative;
}

/* Optional: Ensure your container text/links are positioned so they don't get buried */
.footer-container,
.subfooter-inner {
    position: relative;
    z-index: 100;
}

@media screen and (min-width: 641px) {
    .sm-dk > li:first-child > a {
        -moz-border-radius: 8px 0 0 8px;
        -webkit-border-radius: 8px 0 0 8px;
        border-radius: 9px !important;
        background: #E5E6D2 !important;
        padding: 10px !important;
    }
    ul.sm a {
        padding: 10px !important;
    }
}

/* ============================================================================
   PART 2 - PARADISE PALMS WIDGET THEME
   Tokens: teal #064A58 | stone #E5E6D2 | zen rgba(193,208,167,.4)
           slate rgba(109,127,137,.4) | rules rgba(6,74,88,.5)
           headings "Playfair Display" | body "Red Hat Display" | radius 3px
   ============================================================================ */

/* ============================================================================
   1. CONTENT CANVAS ? stone background + teal type, matching the site body
   ============================================================================ */
table.dkouterblock,
table.dkcenterblock,
td.dkcenterblock {
    background-color: #e5e6d2 !important;
}

.dkdivcenterblock {
    color: #064a58;
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    padding: 24px 16px 48px;
}

.dkdivcenterblock p,
.dkdivcenterblock td,
.dkdivcenterblock li,
.dkdivcenterblock label {
    font-family: "Red Hat Display", sans-serif;
    color: #064a58;
}

/* Spans get the color only ? never the font. Doubleknot renders menu and
   status icons via icon fonts on <span> elements (admin console included);
   forcing Red Hat Display onto them replaces the icon glyphs with fallback
   symbols that overlap the labels. */
.dkdivcenterblock span {
    color: #064a58;
}

/* Headings inside Doubleknot content ? serif, teal (site type scale) */
.dkdivcenterblock h1,
.dkdivcenterblock h2,
.dkdivcenterblock h3,
.dkdivcenterblock h4 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 400;
    color: #064a58;
    line-height: normal;
}
.dkdivcenterblock h1 { font-size: 40px; }
.dkdivcenterblock h2 { font-size: 32px; }
.dkdivcenterblock h3 { font-size: 24px; }

/* Links in content ? teal, heavier underline on hover (site behavior) */
td.dkouterblock .dkdivcenterblock a,
#dk_cms_page a {
    color: #064a58;
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
td.dkouterblock .dkdivcenterblock a:hover,
#dk_cms_page a:hover {
    text-decoration-thickness: 2px;
}

/* ============================================================================
   2. TITLE BAR ? replaces the gray banner
   (needs the `table th?` prefix: Doubleknot sets this with !important at
   th.dk-title-bar specificity)
   ============================================================================ */
table th.dk-title-bar,
table td.dk-title-bar,
.dk-title-bar {
    background: #064a58 !important;
    color: #e5e6d2 !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 24px !important;
    font-weight: 400;
    letter-spacing: 0.5px;
    padding: 14px 20px !important;
    border: 0 !important;
    border-radius: 0;
}
table th.dk-title-bar a, table th.dk-title-bar span,
.dk-title-bar a, .dk-title-bar span { color: #e5e6d2 !important; }

/* ============================================================================
   3. BUTTONS ? site button language (3px radius, 2px border)
   Continue/primary = solid teal like the site's Checkout button.
   Back/middle/secondary = outline: 2px teal border + translucent slate fill.
   ============================================================================ */
button.dk-btn-continue,
input.dk-btn-continue,
.dk-btn-continue,
.dkdivcenterblock input[type="submit"],
.dkdivcenterblock button[type="submit"] {
    background: #064a58 !important;
    color: #e5e6d2 !important;
    border: 2px solid #064a58 !important;
    border-radius: 3px !important;
    font-family: "Red Hat Display", sans-serif !important;
    font-size: 15px !important;
    font-weight: 500;
    padding: 10px 22px !important;
    cursor: pointer;
    text-shadow: none !important;
    box-shadow: none !important;
    background-image: none !important;
}

button.dk-btn-back, input.dk-btn-back,
button.dk-btn-middle, input.dk-btn-middle,
.dk-btn-back,
.dk-btn-middle,
.dkdivcenterblock input[type="submit"].dk-btn-back,
.dkdivcenterblock input[type="submit"].dk-btn-middle,
.dkdivcenterblock input[type="button"] {
    background: rgba(109, 127, 137, 0.4) !important;
    color: #064a58 !important;
    border: 2px solid #064a58 !important;
    border-radius: 3px !important;
    font-family: "Red Hat Display", sans-serif !important;
    font-size: 15px !important;
    font-weight: 500;
    padding: 10px 22px !important;
    cursor: pointer;
    text-shadow: none !important;
    box-shadow: none !important;
    background-image: none !important;
}

.dk-btn-continue:hover,
.dk-btn-back:hover,
.dk-btn-middle:hover,
.dkdivcenterblock input[type="submit"]:hover,
.dkdivcenterblock input[type="button"]:hover {
    filter: brightness(1.12);
}

/* Session-timeout / modal dialog buttons inherit the same look */
.dk-session-timeout .dk-btn-continue,
.dk-session-timeout .dk-btn-middle { font-family: "Red Hat Display", sans-serif !important; }

/* Doubleknot's hardcoded red image buttons (e.g. dk_red_continue.png used by
   input[type=image]) can't be restyled directly ? shift their hue to the teal
   palette instead */
.dkdivcenterblock input[type="image"] {
    /* no CSS filter here: filters repaint the whole element, turning the white
       chip gray and shifting the border color */
    background: #ffffff !important;
    border: 1px solid #064a58 !important;
    border-radius: 6px;
    padding: 5px;
    box-sizing: content-box;
}
/* small inline action icons in admin rows keep their tighter look */
.dkdivcenterblock input[type="image"].dk_sba_image {
    background: transparent !important;
    border: 0 !important;
    padding: 4px;
}

/* ============================================================================
   4. CATALOG / REGISTRATION WIDGETS (.dk-cd-*)
   ============================================================================ */
.dk-cd-frame {
    background: transparent;
    font-family: "Red Hat Display", sans-serif;
    color: #064a58;
}

/* Item titles ? kill the century-gothic gray, use serif teal */
div.dk-cd-title, td.dk-cd-title,
.dk-cd-title,
.dk-cd-title a,
.dk_cd_itemname,
.dk_cd_itemname a {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 26px !important;
    font-weight: 400 !important;
    color: #064a58 !important;
    text-decoration: none;
}

.dk_cd_itemdetail,
.dk-cd-dk_cd_itemdesc,
.dk_cd_itemdesc,
.dk-cd-message {
    font-family: "Red Hat Display", sans-serif !important;
    font-size: 16px !important;
    color: #064a58 !important;
    line-height: 1.45;
}

/* Descriptions authored in Doubleknot's CMS editor carry inline styles
   (font-family: congenial light, color: black, pt sizes) ? force them
   onto the design system */
.dk_cd_itemdetail span[style],
.dk_cd_itemdetail p[style],
#dk_cms_page span[style],
#dk_cms_page p[style] {
    font-family: "Red Hat Display", sans-serif !important;
    font-size: 16px !important;
    color: #064a58 !important;
}

/* Price/date accents ? serif like the site's price lines */
.dk_cd_itemprice, .dk-cd-price {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 20px !important;
    color: #064a58 !important;
}

/* True horizontal rules ? thin teal lines like the site's dividers */
.dkdivcenterblock hr {
    border: 0 !important;
    border-top: 1px solid rgba(6, 74, 88, 0.5) !important;
    background: transparent !important;
    height: 1px !important;
    margin: 20px 0;
}

/* .dk_cd_itemseparator is a CONTENT SECTION wrapper in Doubleknot's markup
   (its own stylesheet defines it as an empty ruleset) ? NEVER constrain its
   height. Give sections breathing room and a soft separating hairline. */
.dk_cd_itemseparator {
    height: auto !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(6, 74, 88, 0.25);
    background: transparent !important;
    padding-bottom: 14px;
    margin-bottom: 14px;
}
.dk_cd_itemseparator:last-child { border-bottom: 0; }
/* nested wrappers (e.g. the mobile title block) must not double the line */
.dk_cd_itemseparator .dk_cd_itemseparator {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.dk-cd-left-panel, .dk-cd-right-panel { background: transparent !important; }

/* ============================================================================
   5. FORMS ? boxed inputs from the site's checkout design
   (1px teal border, transparent fill, 3px radius, teal placeholder)
   ============================================================================ */
.dkdivcenterblock input[type="text"],
.dkdivcenterblock input[type="email"],
.dkdivcenterblock input[type="tel"],
.dkdivcenterblock input[type="password"],
.dkdivcenterblock input[type="number"],
.dkdivcenterblock input[type="date"],
.dkdivcenterblock select,
.dkdivcenterblock textarea {
    background: transparent !important;
    border: 1px solid #064a58 !important;
    border-radius: 3px !important;
    color: #064a58 !important;
    font-family: "Red Hat Display", sans-serif !important;
    font-size: 14px !important;
    padding: 9px 12px !important;
    box-shadow: none !important;
    outline: none;
}
.dkdivcenterblock input::placeholder,
.dkdivcenterblock textarea::placeholder {
    color: #064a58;
    opacity: 0.7;
}
.dkdivcenterblock input:focus,
.dkdivcenterblock select:focus,
.dkdivcenterblock textarea:focus {
    border-width: 2px !important;
}

.dkdivcenterblock label {
    font-weight: 700;
    font-size: 15px;
}

/* Checkboxes / radios keep the teal accent */
.dkdivcenterblock input[type="checkbox"],
.dkdivcenterblock input[type="radio"] {
    accent-color: #064a58;
    width: 16px; height: 16px;
}

/* Form/checkout tables ? transparent with thin teal row rules */
.dkdivcenterblock table {
    background: transparent;
}
.dkdivcenterblock table th {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 400;
    font-size: 18px;
    color: #064a58;
    border-bottom: 1px solid #064a58;
    background: transparent !important;
    text-align: left;
    padding: 8px 10px;
}
.dkdivcenterblock table td {
    /* recolor rules/borders only ? never force padding here: Doubleknot menu
       cells (incl. the admin console) rely on their own left padding to clear
       absolutely-positioned icons */
    border-color: rgba(6, 74, 88, 0.5) !important;
}
/* Order totals ? serif, like the site's "Total: $51.00" */
.dkdivcenterblock .dk_total,
.dkdivcenterblock td.total,
.dkdivcenterblock .grandtotal {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 26px !important;
    color: #064a58 !important;
}

/* ============================================================================
   6. CALENDAR WIDGETS ? teal day cells with stone text
   (mirrors the site's reservation calendar)
   ============================================================================ */
.dkdivcenterblock table.calendar th,
.dk_calendarheader,
.dk_calendar_month {
    font-family: "Playfair Display", Georgia, serif !important;
    font-weight: 700;
    color: #064a58 !important;
    background: transparent !important;
}
.dkdivcenterblock table.calendar td,
.dk_calendarday,
td.dk_calendar_day {
    background: #064a58 !important;
    color: #e5e6d2 !important;
    font-family: "Red Hat Display", sans-serif !important;
    border: 3px solid #e5e6d2 !important;
}
.dkdivcenterblock table.calendar td a,
.dk_calendarday a,
td.dk_calendar_day a {
    color: #e5e6d2 !important;
    text-decoration: none;
}
.dk_calendarday_inactive,
td.dk_calendar_day_othermonth {
    background: transparent !important;
    color: rgba(6, 74, 88, 0.5) !important;
}

/* Event-calendar list rows */
.dk_eventrow, .dk_eventrow_alt {
    background: transparent !important;
    border-bottom: 1px solid rgba(6, 74, 88, 0.5);
}

/* ============================================================================
   7. CMS PAGES (#dk_cms_page) ? e.g. the Join Now membership tiers
   ============================================================================ */
#dk_cms_page {
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    color: #064a58;
    line-height: 1.5;
    max-width: 1041px;   /* site's long-form content width */
    margin: 0 auto;
    padding: 24px 0;
}
#dk_cms_page p { margin-bottom: 18px; }

/* Membership-level links (Areca, Sabal, Palmetto, Royal, Bismack) styled
   like the tier titles on the site's membership page */
#dk_cms_page > p > a:first-child {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    text-decoration: none;
    display: inline-block;
    margin-right: 4px;
}
#dk_cms_page > p > a:first-child:hover { text-decoration: underline; }

/* ============================================================================
   8. ALERTS / MESSAGES ? recolor Bootstrap & jQuery-UI chrome to the palette
   ============================================================================ */
.dkdivcenterblock .alert,
.dk-cd-message {
    background: rgba(193, 208, 167, 0.4) !important;
    border: 1px solid #064a58 !important;
    border-radius: 3px !important;
    color: #064a58 !important;
}
.ui-dialog {
    font-family: "Red Hat Display", sans-serif !important;
    border-radius: 3px !important;
    border: 2px solid #064a58 !important;
}
.ui-dialog .ui-dialog-titlebar {
    background: #064a58 !important;
    color: #e5e6d2 !important;
    font-family: "Playfair Display", Georgia, serif !important;
    border-radius: 0 !important;
}

/* ============================================================================
   9. OPTIONAL HEADER HARMONIZATION (commented out)
   The existing header/footer use #04333D; the Figma design uses #064A58.
   The difference is barely visible. To align them exactly, uncomment:
   ----------------------------------------------------------------------------
.header-top, .header-logo, tr.dkheaderblock, footer, .subfooter {
  background-color: #064a58 !important;
}
   ============================================================================ */

/* ============================================================================
   RESPONSIVE SAFEGUARDS ? mobile & tablet
   Doubleknot's own stylesheets handle panel stacking (.dk-cd-mobile /
   .dk-cd-desktop) and the existing header/footer media queries remain in
   charge of chrome. These rules keep the themed WIDGET content well-behaved
   on small screens: nothing escapes the viewport, forms stay tappable, and
   type scales down gracefully.
   ============================================================================ */

/* Never let media or form controls escape their column (all screen sizes) */
.dkdivcenterblock img,
#dk_cms_page img {
    max-width: 100%;
    height: auto;
}
.dkdivcenterblock input,
.dkdivcenterblock select,
.dkdivcenterblock textarea {
    max-width: 100%;
    box-sizing: border-box;
}
.dkdivcenterblock,
#dk_cms_page {
    overflow-wrap: break-word;
}

/* ---- Tablet (up to 1023px) ---------------------------------------------- */
@media screen and (max-width: 1023px) {
    .dkdivcenterblock { padding: 20px 14px 40px; }
    .dkdivcenterblock h1 { font-size: 32px; }
    .dkdivcenterblock h2 { font-size: 26px; }
    .dkdivcenterblock h3 { font-size: 22px; }
    table th.dk-title-bar,
    table td.dk-title-bar,
    .dk-title-bar { font-size: 22px !important; padding: 12px 16px !important; }
    div.dk-cd-title, td.dk-cd-title, .dk-cd-title { font-size: 22px !important; }
}

/* ---- Phone (up to 767px) ------------------------------------------------- */
@media screen and (max-width: 767px) {
    .dkdivcenterblock { padding: 16px 12px 32px; font-size: 15px; }
    .dkdivcenterblock h1 { font-size: 28px; }
    .dkdivcenterblock h2 { font-size: 23px; }
    .dkdivcenterblock h3 { font-size: 20px; }
    table th.dk-title-bar,
    table td.dk-title-bar,
    .dk-title-bar { font-size: 20px !important; padding: 10px 12px !important; }
    div.dk-cd-title, td.dk-cd-title, .dk-cd-title { font-size: 20px !important; }

    /* Buttons: full-width tap targets, stacked with breathing room */
    button.dk-btn-continue, input.dk-btn-continue, .dk-btn-continue,
    button.dk-btn-back, input.dk-btn-back, .dk-btn-back, .dk-btn-middle,
    .dkdivcenterblock input[type="submit"],
    .dkdivcenterblock input[type="button"] {
        display: block !important;
        width: 100% !important;
        margin: 6px 0 !important;
        padding: 12px 16px !important;
        font-size: 16px !important;   /* 16px+ also prevents iOS zoom-on-focus */
    }

    /* Form fields: full width, 16px text (prevents iOS auto-zoom) */
    .dkdivcenterblock input[type="text"],
    .dkdivcenterblock input[type="email"],
    .dkdivcenterblock input[type="tel"],
    .dkdivcenterblock input[type="password"],
    .dkdivcenterblock input[type="number"],
    .dkdivcenterblock input[type="date"],
    .dkdivcenterblock select,
    .dkdivcenterblock textarea {
        width: 100% !important;
        font-size: 16px !important;
        padding: 11px 12px !important;
    }

    /* Wide data tables (checkout summaries, rosters, calendar grids) scroll
       sideways inside their own container instead of stretching the page.
       Structural layout tables are excluded ? this targets data tables only. */
    .dkdivcenterblock table.calendar,
    .dkdivcenterblock table[border="1"],
    #dk_cms_page table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }

    /* Calendar cells: keep tappable but compact */
    .dkdivcenterblock table.calendar td,
    .dk_calendarday,
    td.dk_calendar_day { font-size: 12px !important; }

    /* Totals scale down but stay prominent */
    .dkdivcenterblock .dk_total,
    .dkdivcenterblock td.total,
    .dkdivcenterblock .grandtotal { font-size: 22px !important; }

    /* Membership tier links on CMS pages */
    #dk_cms_page > p > a:first-child { font-size: 20px; }
}

/* ---- Tablet footer fix (768?1023px) --------------------------------------
   The existing footer grid (2fr 1fr 1fr 1fr + 50px padding) overflows the
   viewport by ~20px just above the 768px breakpoint because the CONTACT
   column's email address cannot shrink. Tighter padding + shrinkable columns
   keep it inside the viewport. (Also compensates for the "bo rder-box" typo
   in the original footer rules.) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    footer { padding: 40px 24px; }
    footer .footer-container { grid-gap: 14px; box-sizing: border-box; }
    footer .column { min-width: 0; }
    footer a, footer li { overflow-wrap: anywhere; }
}

/* ============================================================================
   10. ADMIN FEATURE LIST - modern restyle (rosters/default.aspx dashboard)
   Doubleknot renders this menu as <a class="dk-df-feature-row"> rows, each
   with a PNG icon in .dk-df-bullet-div. The legacy PNGs are hidden (their
   shrink-to-fit cell is what caused the icon/text overlap) and each row gets
   a modern thin-line SVG icon (inline data URI, no external files) in the
   site teal, keyed to the row's stable element ID.
   ============================================================================ */
.dk-df-feature-list {
    background: #ffffff;
    border: 1px solid rgba(6, 74, 88, 0.18);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(6, 74, 88, 0.08);
    padding: 6px 0 8px;
    max-width: 360px;
    overflow: hidden;
}

/* Group headers: serif, teal, on a soft zen tint */
.dk-df-feature-header {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 19px !important;
    font-weight: 400;
    color: #064a58 !important;
    background: rgba(193, 208, 167, 0.25) !important;
    text-align: left !important;
    padding: 12px 18px 10px !important;
    margin-top: 6px;
    letter-spacing: 0.3px;
}
.dk-df-feature-header:first-child { margin-top: 0; }

/* The first group is wrapped in a div with inline display:table/width:166px
   - neutralize so both groups lay out identically and full width */
.dk-df-feature-list > div[style*="display:table"] {
    display: block !important;
    width: auto !important;
}
/* The hidden jQuery dialog (#dialog-confirm, style="display:none") also sits
   inside the feature list ? never force it visible */
.dk-df-feature-list > div[style*="display:none"] {
    display: none !important;
}

/* Rows: flex layout, roomy tap targets, hover tint */
a.dk-df-feature-row {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 11px 18px !important;
    color: #064a58 !important;
    font-family: "Red Hat Display", sans-serif !important;
    font-size: 15px !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color 0.15s ease;
}
a.dk-df-feature-row:hover,
a.dk-df-feature-row:focus-visible {
    background-color: rgba(193, 208, 167, 0.3);
    outline: none;
}
.dk-df-bottom-border { border-bottom: 1px solid rgba(6, 74, 88, 0.12) !important; }

/* Hide the legacy PNG bullets; the bullet div becomes the icon canvas */
img.dk-df-bullet-img { display: none !important; }
.dk-df-feature-row .dk-df-bullet-div {
    flex: none;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}
.dk-df-feature-row .dk-df-text-div { display: block; }

#CalendarURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E"); }
#CommunicationsCenterURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E"); }
#LibraryURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E"); }
#EListSignupURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.92 7.94'/%3E%3C/svg%3E"); }
#ForumsURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'/%3E%3C/svg%3E"); }
#MemberDirectoryURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E"); }
#MyOrganizationsURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E"); }
#NewslettersURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E"); }
#PhotoAlbumsURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E"); }
#ConstituentURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
#LibraryDocumentsURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E"); }
#EventManagementURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E"); }
#FinancialAccountsURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='1' x2='12' y2='23'/%3E%3Cpath d='M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6'/%3E%3C/svg%3E"); }
#ForumManagementURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'/%3E%3C/svg%3E"); }
#MembershipManagementURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
#NewsroomURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11a9 9 0 0 1 9 9'/%3E%3Cpath d='M4 4a16 16 0 0 1 16 16'/%3E%3Ccircle cx='5' cy='19' r='1'/%3E%3C/svg%3E"); }
#OrganizationProfileURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Crect x='8' y='2' width='8' height='4' rx='1'/%3E%3C/svg%3E"); }
#OrganizationURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E"); }
#PhotoAlbumsAdminURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E"); }
#ReportsURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='20' x2='12' y2='10'/%3E%3Cline x1='18' y1='20' x2='18' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='16'/%3E%3C/svg%3E"); }
#SaleStations .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='14' rx='2'/%3E%3Cline x1='8' y1='21' x2='16' y2='21'/%3E%3Cline x1='12' y1='17' x2='12' y2='21'/%3E%3C/svg%3E"); }
#SiteBranderURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19l7-7 3 3-7 7-3-3z'/%3E%3Cpath d='M18 13l-1.5-7.5L2 2l3.5 14.5L13 18l5-5z'/%3E%3Ccircle cx='11' cy='11' r='2'/%3E%3C/svg%3E"); }
#StoreManagementURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E"); }
#FormAndSurveysURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 11 12 14 22 4'/%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E"); }
#TemplateManagementURL .dk-df-bullet-div { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E"); }

/* ============================================================================
   11. ADMIN POLISH - legacy UI icons across admin screens
   Doubleknot's admin toolbars and row-action links (Site Brander, Event
   Management, etc.) pair small legacy PNG icons directly against their text.
   Give them breathing room and tint them into the teal palette so they read
   as one icon set. Scoped to Doubleknot-served UI images only; org-uploaded
   content images and social share icons are untouched.
   ============================================================================ */
.dkdivcenterblock img[src*="dknot"]:not([src*="share-"]),
.dkdivcenterblock img[src^="/images/"]:not([src*="share-"]) {
    vertical-align: middle;
    margin: 0 5px 2px 10px;
    filter: grayscale(1) sepia(0.9) hue-rotate(140deg) saturate(1.6) brightness(0.75);
}
/* first icon in a cell needs no leading gap */
.dkdivcenterblock td > img:first-child,
.dkdivcenterblock a:first-child > img { margin-left: 0; }

/* Admin action links (Edit, Create Draft, Delete...) - consistent size and
   spacing; slightly quieter than content links */
.dkdivcenterblock td > a {
    line-height: 1.9;
}

/* ============================================================================
   12. SITE BRANDER TOOLBAR - modern ghost buttons (sitebrander/sitebranderadm)
   The toolbar renders legacy input[type=image] icons beside .functionline
   links (both fire the same action). Hide the legacy icons, style the links
   as ghost buttons with inline-SVG icons, theme the "New Page" hover menu,
   and replace the yellow row hover with the sage tint. Scoped to
   #dk_sba_outerdiv so the top Feature List nav and other pages are untouched.
   ============================================================================ */
#dk_sba_outerdiv input[type="image"].dk-sba-functionimg { display: none !important; }
#dk_sba_outerdiv a.functionline img { display: none !important; }

#dk_sba_outerdiv a.functionline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(6, 74, 88, 0.35);
    border-radius: 6px;
    background: #ffffff;
    color: #064a58 !important;
    font-family: "Red Hat Display", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}
#dk_sba_outerdiv a.functionline:hover {
    background: rgba(193, 208, 167, 0.3);
    border-color: #064a58;
}
#dk_sba_outerdiv a.functionline::before {
    content: "";
    width: 16px;
    height: 16px;
    flex: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
}

/* "New Page" hover dropdown - themed to match */
#dk_sba_outerdiv #NewPagePanel > div,
#dk_sba_outerdiv [id$="ChangeContentPanel"] > div {
    border: 1px solid rgba(6, 74, 88, 0.35) !important;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(6, 74, 88, 0.15);
}
#dk_sba_outerdiv a.linkitem,
#dk_sba_outerdiv a.linkitem:link,
#dk_sba_outerdiv a.linkitem:visited {
    color: #064a58 !important;
    font-family: "Red Hat Display", sans-serif;
    font-size: 14px;
    background: #ffffff !important;
}
#dk_sba_outerdiv a.linkitem:hover {
    background: rgba(193, 208, 167, 0.35) !important;
    color: #064a58 !important;
}

/* Row action links (Edit, Create Draft, Delete...) - teal instead of gray */
#dk_sba_outerdiv a.dk_sba_text,
#dk_sba_outerdiv a.dk_sba_text:link,
#dk_sba_outerdiv a.dk_sba_text:visited {
    color: #064a58 !important;
    font-family: "Red Hat Display", sans-serif;
}
#dk_sba_outerdiv a.dk_sba_text:hover { text-decoration: underline !important; }
#dk_sba_outerdiv a.dk_sba_text[disabled] { color: rgba(6, 74, 88, 0.45) !important; }

/* Grid row hover: sage tint instead of the inline-JS yellow */
#gv_WebPageList tr { background-color: #ffffff !important; }
#gv_WebPageList tr:first-child { background-color: #f8f8f8 !important; }
#gv_WebPageList tr:hover { background-color: rgba(193, 208, 167, 0.25) !important; }
#gv_WebPageList tr:first-child:hover { background-color: #f8f8f8 !important; }

#dk_sba_outerdiv a#lbOrderMenus::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E"); }
#dk_sba_outerdiv a#lbBuildMenus::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
#dk_sba_outerdiv a#lbAdvanceFunctions::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='21' x2='4' y2='14'/%3E%3Cline x1='4' y1='10' x2='4' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12' y2='3'/%3E%3Cline x1='20' y1='21' x2='20' y2='16'/%3E%3Cline x1='20' y1='12' x2='20' y2='3'/%3E%3Cline x1='1' y1='14' x2='7' y2='14'/%3E%3Cline x1='9' y1='8' x2='15' y2='8'/%3E%3Cline x1='17' y1='16' x2='23' y2='16'/%3E%3C/svg%3E"); }
#dk_sba_outerdiv a#lbReviewDrafts::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
#dk_sba_outerdiv a#NewPage::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cline x1='12' y1='8' x2='12' y2='16'/%3E%3Cline x1='8' y1='12' x2='16' y2='12'/%3E%3C/svg%3E"); }
#dk_sba_outerdiv a#lbEditHeaderFooterBanner::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064a58' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z'/%3E%3C/svg%3E"); }

/* ============================================================================
   13. ORGANIZATION URLS + STANDARD ADMIN CONTROLS
   Themes rosters/showdknoturls.asp and the shared dk-standard-* controls
   used across admin screens. The page ships its own inline <style> block, so
   selectors are prefixed with .dkdivcenterblock to outrank it.
   ============================================================================ */
/* Row label column - serif teal instead of century-gothic gray */
.dkdivcenterblock .dk-url-title {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    color: #064a58 !important;
    background: transparent !important;
    padding-top: 18px !important;
}

/* URL list rows - teal hairlines + sage hover */
.dkdivcenterblock .dk-url-list tr {
    border-bottom: 1px solid rgba(6, 74, 88, 0.18) !important;
}
.dkdivcenterblock .dk-url-list tr:hover {
    background-color: rgba(193, 208, 167, 0.15);
}
.dkdivcenterblock .dk-url-list td { padding: 18px 12px !important; }

/* Readonly URL boxes - boxed style on white for copy-paste clarity */
.dkdivcenterblock input.dk-standard-textbox {
    background: #ffffff !important;
    border: 1px solid rgba(6, 74, 88, 0.4) !important;
    border-radius: 6px !important;
    color: #064a58 !important;
    font-size: 13px !important;
    padding: 9px 12px !important;
}

/* "Copy to Clipboard" / "Go to URL" - ghost buttons like the toolbar */
.dkdivcenterblock .dk-standard-button,
.dkdivcenterblock a.dk-standard-button,
.dkdivcenterblock a.dk-standard-button:link,
.dkdivcenterblock a.dk-standard-button:visited {
    display: inline-block;
    margin-top: 8px;
    padding: 7px 14px;
    border: 1px solid rgba(6, 74, 88, 0.35);
    border-radius: 6px;
    background: #ffffff;
    color: #064a58 !important;
    font-family: "Red Hat Display", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}
.dkdivcenterblock .dk-standard-button:hover {
    background: rgba(193, 208, 167, 0.3);
    border-color: #064a58;
}

/* Helper notes - sage tint instead of gray-on-gray */
.dkdivcenterblock .dk-url-note {
    background: rgba(193, 208, 167, 0.22) !important;
    border: 1px solid rgba(6, 74, 88, 0.18);
    border-radius: 6px;
    color: #064a58 !important;
    font-family: "Red Hat Display", sans-serif;
    font-size: 13.5px;
    padding: 10px 14px !important;
}

/* Intro banner + "Raw URL:" captions carry inline styles - override them */
.dkdivcenterblock div[style*="fbfbfb"] {
    background-color: rgba(193, 208, 167, 0.22) !important;
    border: 1px solid rgba(6, 74, 88, 0.18);
    border-radius: 8px;
    color: #064a58 !important;
    font-family: "Red Hat Display", sans-serif;
}
.dkdivcenterblock div[style*="lightgray"] {
    color: rgba(6, 74, 88, 0.55) !important;
    font-size: 12.5px;
    font-family: "Red Hat Display", sans-serif;
}

/* ============================================================================
   14. REGISTRATION WIZARD & SHARED PANELS
   Doubleknot's registration flow (gift step, forms, checkout) is built from a
   shared panel system: .dk-panel-standard / .dk-standard-panel /
   .dk-basic-panel / .dk-full-panel with gray [header] bars, custom
   appearance:none radios, .dk-standard-grid tables and .dk-standard-tabs.
   Theming the family once covers every wizard step.
   ============================================================================ */

/* Panel containers - card treatment */
.dk-panel-standard,
.dk-panel-minimum,
.dk-standard-panel,
.dk-basic-panel,
.dk-full-panel {
    border: 1px solid rgba(6, 74, 88, 0.18) !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(6, 74, 88, 0.06);
    background: #ffffff;
}

/* Panel headers - sage tint bar with serif teal text (matches dashboard) */
.dk-panel-standard .header,
.dk-panel-minimum .header,
.dk-standard-panel [header],
.dk-panel-minimum [header],
.dk-basic-panel > div[header],
.dk-full-panel > [title],
.dk-rm-ui-header,
.dk-rm-ui-field-forms[id$="pnlHeader"] > div:first-child,
.dk-form-item-panel[id$="_pnlHeader"] div:first-child {
    background-color: rgba(193, 208, 167, 0.28) !important;
    color: #064a58 !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    text-transform: none !important;
    border-color: rgba(6, 74, 88, 0.18) !important;
    padding: 13px 16px !important;
}
.dk-panel-standard .footer,
.dk-panel-minimum .footer,
.dk-standard-panel [footer] {
    background-color: rgba(229, 230, 210, 0.5) !important;
    color: #064a58 !important;
    font-family: "Red Hat Display", sans-serif;
    border-color: rgba(6, 74, 88, 0.15) !important;
}

/* Custom radios (appearance:none circles) - teal ring, teal fill when checked */
.dk-standard-radio input[type="radio"],
.dk-standard-controls input[type="radio"] {
    border: 1px solid #064a58 !important;
    background-color: #ffffff;
}
.dk-standard-radio input[type="radio"]:hover,
.dk-standard-controls input[type="radio"]:hover {
    border: 2px solid #064a58 !important;
}
.dk-standard-radio input[type="radio"]:checked,
.dk-standard-controls input[type="radio"]:checked {
    background: radial-gradient(circle, #e5e6d2 0 4px, #064a58 5px) !important;
    border: 1px solid #064a58 !important;
}
.dk-standard-radio label,
.dk-standard-controls input[type="radio"] + label {
    color: #064a58 !important;
    font-family: "Red Hat Display", sans-serif !important;
    font-size: 15px !important;
    margin-right: 22px;
}
.dk-standard-radio { color: #064a58 !important; }

/* Custom checkboxes get the same teal treatment */
.dk-standard-checkbox input[type="checkbox"],
.dk-standard-controls input[type="checkbox"] {
    border: 1px solid #064a58 !important;
}

/* Primary buttons (another gray #ADADAD family) - solid teal */
.dk-standard-button-primary,
a.dk-standard-button-primary:link,
a.dk-standard-button-primary:visited {
    background-color: #064a58 !important;
    border: 1px solid #064a58 !important;
    color: #e5e6d2 !important;
    border-radius: 6px !important;
    font-family: "Red Hat Display", sans-serif !important;
}
/* Cart call-to-action (red by default) - align with the palette */
.dk-standard-button.dk-button-cart {
    background-color: #064a58 !important;
    border: 1px solid #064a58 !important;
    color: #e5e6d2 !important;
}
.dk-standard-button.dk-button-cart:hover { background-color: #0a6274 !important; }

/* Cart / welcome blocks in the top bar - white chips with teal border,
   normalized text sizes (Doubleknot renders "1 item"/"cart" oversized) */
.CartAndLoginInHeader { height: auto !important; }
.CartAndLoginInText {
    background: #ffffff;
    border: 1px solid #064a58;
    border-radius: 6px;
    padding: 6px 12px !important;
    line-height: 1.55;
    text-align: left;
}
.CartAndLoginInText,
.CartAndLoginInText * {
    font-family: "Red Hat Display", sans-serif !important;
    font-size: 13px !important;
    color: #064a58 !important;
}
.CartAndLoginInText a,
.CartAndLoginInText a:link,
.CartAndLoginInText a:visited {
    font-weight: 700 !important;
    text-decoration: none !important;
}
.CartAndLoginInText a:hover { text-decoration: underline !important; }

/* Standard data grids */
.dk-standard-grid-head > th {
    background-color: rgba(193, 208, 167, 0.28) !important;
    color: #064a58 !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 15px !important;
    border-color: rgba(6, 74, 88, 0.18) !important;
}
.dk-standard-grid .alt { background-color: rgba(229, 230, 210, 0.45) !important; }

/* Tabs */
.dk-standard-tabs > a:link,
.dk-standard-tabs > a:visited,
.dk-standard-tabs > span {
    background-color: rgba(229, 230, 210, 0.6) !important;
    border-color: rgba(6, 74, 88, 0.25) !important;
    color: #064a58 !important;
    font-family: "Red Hat Display", sans-serif !important;
    border-radius: 6px 6px 0 0;
}
.dk-standard-tabs > span,
.dk-standard-tabs > a.active {
    background-color: #064a58 !important;
    color: #e5e6d2 !important;
}

/* Modal dialogs */
.dk-modal-popup .header {
    background-color: #064a58 !important;
    color: #e5e6d2 !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-weight: 400 !important;
}

/* ============================================================================
   15. PAYMENT PAGE (billing/paymentinfo.aspx - the dk-ps-* family)
   ============================================================================ */

/* COMPLETE ORDER: a red PNG inside input[type=image]. Text cannot be placed
   on an image input, so shift the artwork into the teal palette and remove
   the white chip frame (a filter would repaint it). */
.dkdivcenterblock input[type="image"][src*="omplete"],
.dkdivcenterblock input[type="image"][name*="omplete"],
.dkdivcenterblock input[type="image"][src*="rder"] {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    border-radius: 0;
    filter: hue-rotate(155deg) saturate(0.8) brightness(0.85);
    transition: filter 0.15s ease;
}
.dkdivcenterblock input[type="image"][src*="omplete"]:hover,
.dkdivcenterblock input[type="image"][name*="omplete"]:hover {
    filter: hue-rotate(155deg) saturate(0.9) brightness(1);
}

/* Payment-method chooser: breathing room between options, aligned art */
#dkpsdivpaymentmethods { padding: 12px 0 18px !important; }
.dk-ps-payment-option { padding: 6px 26px 6px 0 !important; }
.dk-ps-payment-option img {
    vertical-align: middle;
    margin: 0 3px;
    border-radius: 4px;
}
#dkpsdivpaymentmethods input[type="radio"] { margin-right: 10px !important; }

/* Billing form labels: teal instead of gray */
.dk-ps-payment-label,
.dk-payment-profile-input-panel > div[label] {
    color: #064a58 !important;
    font-family: "Red Hat Display", sans-serif !important;
    font-weight: 600;
}
.dk-payment-profile-input-panel > div[data] > input,
.dk-payment-profile-input-panel > div[data] > select,
.dk-payment-profile-input-panel > div[data] > span > input,
.dk-payment-profile-input-panel > div[data] > span > select {
    border: 1px solid #064a58 !important;
    border-radius: 3px !important;
    color: #064a58 !important;
    font-family: "Red Hat Display", sans-serif !important;
}

/* Custom checkboxes (appearance:none): teal ring; filled teal square with a
   cream inset frame when checked - mirrors the radio treatment */
.dk-standard-checkbox input[type="checkbox"],
.dk-standard-controls input[type="checkbox"] {
    border: 1px solid #064a58 !important;
    border-radius: 4px;
    background-color: #ffffff;
}
.dk-standard-checkbox input[type="checkbox"]:hover,
.dk-standard-controls input[type="checkbox"]:hover {
    border: 2px solid #064a58 !important;
}
.dk-standard-checkbox input[type="checkbox"]:checked,
.dk-standard-controls input[type="checkbox"]:checked {
    background: #064a58 !important;
    box-shadow: inset 0 0 0 4px #ffffff !important;
    border: 1px solid #064a58 !important;
}
.dk-standard-checkbox label,
.dk-standard-controls input[type="checkbox"] + label {
    color: #064a58 !important;
    font-family: "Red Hat Display", sans-serif !important;
    font-size: 14px !important;
}

/* Grouped checkbox/radio list boxes (gray cells) - sage tint */
.InputControl > [id$="cblCheckBoxList"] td,
.InputControl > [id$="rblButtonList"] td {
    background-color: rgba(193, 208, 167, 0.2) !important;
    border: 1px solid rgba(6, 74, 88, 0.25) !important;
    color: #064a58;
}
.InputControl input[type="radio"] + label,
.InputControl input[type="checkbox"] + label {
    color: #064a58 !important;
    font-family: "Red Hat Display", sans-serif !important;
}
