﻿/* DEFAULTS
----------------------------------------------------------*/

body   
{
    background: #b6b7bc;
    font-size: .80em;
    font-family: "Helvetica Neue", "Lucida Grande", "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    margin: 0px;
    padding: 0px;
    color: #696969;
}

a:link, a:visited
{
    color: #034af3;
}

a:hover
{
    color: #1d60ff;
    text-decoration: none;
}

a:active
{
    color: #034af3;
}

p
{
    margin-bottom: 10px;
    line-height: 1.6em;
}


/* HEADINGS   
----------------------------------------------------------*/

h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;
    color: #666666;
    font-variant: small-caps;
    text-transform: none;
    font-weight: 200;
    margin-bottom: 0px;
}

h1
{
    font-size: 1.6em;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

h2
{
    font-size: 1.5em;
    font-weight: 600;
}

h3
{
    font-size: 1.2em;
}

h4
{
    font-size: 1.1em;
}

h5, h6
{
    font-size: 1em;
}

/* this rule styles <h1> and <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
    margin-top: 0px;
}


/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

.page
{
    width: 960px;
    background-color: #fff;
    margin: 20px auto 0px auto;
    border: 1px solid #496077;
}

.header
{
    position: relative;
    margin: 0px;
    padding: 0px;
    background: #4b6c9e;
    width: 100%;
}

.header h1
{
    font-weight: 700;
    margin: 0px;
    padding: 0px 0px 0px 20px;
    color: #f9f9f9;
    border: none;
    line-height: 2em;
    font-size: 2em;
}

.main
{
    padding: 0px 12px;
    margin: 12px 8px 8px 8px;
    min-height: 420px;
}

.leftCol
{
    padding: 6px 0px;
    margin: 12px 8px 8px 8px;
    width: 200px;
    min-height: 200px;
}

.footer
{
    color: #4e5766;
    padding: 8px 0px 0px 0px;
    margin: 0px auto;
    text-align: center;
    line-height: normal;
}


/* TAB MENU   
----------------------------------------------------------*/

div.hideSkiplink
{
    background-color:#3a4f63;
    width:100%;
}

div.menu
{
    padding: 4px 0px 4px 8px;
}

div.menu ul
{
    list-style: none;
    margin: 0px;
    padding: 0px;
    width: auto;
}

div.menu ul li a, div.menu ul li a:visited
{
    background-color: #465c71;
    border: 1px #4e667d solid;
    color: #dde4ec;
    display: block;
    line-height: 1.35em;
    padding: 4px 20px;
    text-decoration: none;
    white-space: nowrap;
}

div.menu ul li a:hover
{
    background-color: #bfcbd6;
    color: #465c71;
    text-decoration: none;
}

div.menu ul li a:active
{
    background-color: #465c71;
    color: #cfdbe6;
    text-decoration: none;
}

/* FORM ELEMENTS   
----------------------------------------------------------*/

fieldset
{
    margin: 1em 0px;
    padding: 1em;
    border: 1px solid #ccc;
}

fieldset p 
{
    margin: 2px 12px 10px 10px;
}

fieldset.login label, fieldset.register label, fieldset.changePassword label
{
    display: block;
}

fieldset label.inline 
{
    display: inline;
}

legend 
{
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

input.textEntry 
{
    width: 320px;
    border: 1px solid #ccc;
}

input.passwordEntry 
{
    width: 320px;
    border: 1px solid #ccc;
}

div.accountInfo
{
    width: 42%;
}

/* MISC  
----------------------------------------------------------*/

.clear
{
    clear: both;
}

.title
{
    display: block;
    float: left;
    text-align: left;
    width: auto;
}

.loginDisplay
{
    font-size: 1.1em;
    display: block;
    text-align: right;
    padding: 10px;
    color: White;
}

.loginDisplay a:link
{
    color: white;
}

.loginDisplay a:visited
{
    color: white;
}

.loginDisplay a:hover
{
    color: white;
}

.failureNotification
{
    font-size: 1.2em;
    color: Red;
}

.bold
{
    font-weight: bold;
}

.submitButton
{
    text-align: right;
    padding-right: 10px;
}

.citlaly-body
{
    background: linear-gradient(180deg, #e8f1f7 0%, #f6f9fc 100%);
    color: #16324a;
    font-family: "Segoe UI", Calibri, Arial, sans-serif;
}

.portal-shell
{
    width: min(1180px, 96%);
    margin: 24px auto;
}

.portal-login-shell
{
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-login-card,
.portal-card
{
    background: #ffffff;
    border: 1px solid #d6e3ef;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(13, 48, 78, 0.10);
    padding: 28px;
}

.portal-card-wide
{
    padding: 24px 28px 36px;
}

.portal-login-card
{
    width: min(940px, 100%);
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: center;
}

.portal-login-brand
{
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f3d5e 0%, #1c6b8d 100%);
    color: #ffffff;
}

.portal-login-brand h1
{
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    font-variant: normal;
}

.portal-login-brand p
{
    color: rgba(255,255,255,.88);
    font-size: 1rem;
    line-height: 1.7;
}

.portal-eyebrow
{
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: .82rem;
    font-weight: 700;
    color: #cbe7f5;
    margin-bottom: 14px;
}

.citlaly-login
{
    background: #f8fbfe;
    border: 1px solid #dbe7f0;
    border-radius: 18px;
    padding: 22px;
}

.citlaly-input
{
    width: 100%;
    border: 1px solid #bfd3e1;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 1rem;
    color: #17354b;
    box-sizing: border-box;
}

.citlaly-button,
input[type=submit],
input[type=button],
button
{
    background: #0f5b84;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(15, 91, 132, .18);
}

.citlaly-button:hover,
input[type=submit]:hover,
input[type=button]:hover,
button:hover
{
    background: #0a4767;
}

.citlaly-button-secondary
{
    background: #edf3fb;
    color: #234d78;
    border: 1px solid #ccd9ea;
    box-shadow: none;
}

.citlaly-button-secondary:hover
{
    background: #dfeaf7;
    color: #173b60;
}

.citlaly-error
{
    color: #b42318;
    font-weight: 700;
}

.portal-page .portal-topbar
{
    margin-bottom: 18px;
}

.portal-page input[type=text],
.portal-page input[type=password],
.portal-page select,
.portal-page textarea
{
    border: 1px solid #c4d7e5;
    border-radius: 10px;
    padding: 8px 10px;
    box-sizing: border-box;
    color: #18354a;
    background: #fff;
}

.portal-page .citlaly-grid
{
    width: 100%;
}

@media (max-width: 860px)
{
    .portal-login-card
    {
        grid-template-columns: 1fr;
    }

    .portal-card,
    .portal-login-card
    {
        padding: 18px;
    }
}

.citlaly-modern-header
{
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    padding-bottom: 18px;
    border-bottom: 1px solid #d6dfef;
}

.citlaly-modern-header h1
{
    margin: 6px 0 8px 0;
    font-size: 2rem;
    color: #133053;
}

.citlaly-modern-header p
{
    margin: 0;
    color: #5a6f86;
    max-width: 700px;
}

.citlaly-kicker
{
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    background: #dce9fb;
    color: #205b9f;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.citlaly-session-box
{
    min-width: 180px;
    padding: 14px 16px;
    border: 1px solid #d6dfef;
    border-radius: 16px;
    background: linear-gradient(180deg, #fbfdff 0%, #eef5ff 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.citlaly-session-label
{
    display: block;
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #6c8099;
}

.citlaly-session-value
{
    display: block;
    margin-top: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #16385f;
}

.citlaly-modern-section
{
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #d9e3f1;
    border-radius: 16px;
    background: #fcfdff;
}

.owner-filter-card
{
    margin: 0 0 14px 0;
    padding: 14px;
    border: 1px solid #d8e4f1;
    border-radius: 14px;
    background: #f5f9fd;
}

.owner-filter-grid
{
    display: grid;
    gap: 14px;
    align-items: end;
}

.owner-filter-grid-two
{
    grid-template-columns: 1.5fr .9fr;
}

.owner-filter-grid-three
{
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.owner-filter-grid-four
{
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.owner-tabs
{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 14px 0;
}

.owner-tab-button
{
    background: #edf4fb;
    color: #1c4d78;
    border: 1px solid #cddceb;
    box-shadow: none;
}

.owner-tab-button:hover
{
    background: #e2eef9;
}

.owner-tab-button-secondary
{
    background: #f6f9fc;
    color: #46627f;
}

.owner-tab-button-active
{
    background: #0f5b84;
    color: #ffffff;
    border-color: #0f5b84;
}

.citlaly-search-grid
{
    display: grid;
    grid-template-columns: 1.2fr .9fr 1.1fr;
    gap: 14px;
    align-items: end;
}

.citlaly-search-grid-compact
{
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.citlaly-field
{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.citlaly-field label
{
    font-size: .85rem;
    font-weight: 700;
    color: #27496e;
}

.citlaly-select
{
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #c8d8ea;
    border-radius: 12px;
    background: #fff;
    color: #17385f;
    font-size: 1rem;
    box-sizing: border-box;
}

.citlaly-users-list
{
    width: 100%;
    min-height: 220px;
    padding: 6px;
    border: 1px solid #c8d8ea;
    border-radius: 12px;
    background: #fff;
    color: #17385f;
    font-size: 1rem;
    box-sizing: border-box;
}

.citlaly-button-stack
{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.citlaly-mode-note
{
    display: block;
    margin-top: 10px;
    color: #446381;
    font-size: .86rem;
    font-weight: 700;
}

.citlaly-button-row
{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.citlaly-btn
{
    min-height: 46px;
    padding: 10px 18px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

.citlaly-btn-primary
{
    background: linear-gradient(180deg, #1f70c8 0%, #13579f 100%);
    color: #fff;
}

.citlaly-btn-secondary
{
    background: #edf3fb;
    color: #234d78;
    border: 1px solid #ccd9ea;
}

.citlaly-alert
{
    display: block;
    margin-top: 18px;
    padding: 13px 16px;
    border-radius: 14px;
    font-weight: 700;
}

.citlaly-alert-success
{
    background: #e8f7ef;
    border: 1px solid #a7dbbe;
    color: #1b6e42;
}

.citlaly-alert-error
{
    background: #fff0f0;
    border: 1px solid #ebb2b2;
    color: #9a2d2d;
}

.citlaly-modern-grid
{
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 18px;
}

.citlaly-modern-summary
{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.citlaly-summary-item
{
    padding: 14px 16px;
    border: 1px solid #d8e2f0;
    border-radius: 15px;
    background: #f9fbfe;
}

.citlaly-summary-label
{
    display: block;
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #6f8298;
}

.citlaly-summary-value
{
    display: block;
    margin-top: 4px;
    font-size: 1rem;
    font-weight: 700;
    color: #17395f;
}

.citlaly-modern-payment
{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.citlaly-ticket-mini
{
    padding: 16px 18px;
    border: 1px dashed #9eb8d8;
    border-radius: 16px;
    background: linear-gradient(180deg, #fffdf8 0%, #f7f2e8 100%);
}

.citlaly-ticket-row
{
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0;
    border-bottom: 1px dotted #cfbc9f;
    color: #533d24;
}

.citlaly-ticket-row:last-child
{
    border-bottom: none;
}

.citlaly-ticket-value
{
    font-weight: 700;
    text-align: right;
}

.citlaly-ticket-text
{
    max-width: 230px;
}

.citlaly-grid-modern th
{
    background: #1d5a96;
    color: #fff;
    padding: 7px 8px;
    font-size: .76rem;
    line-height: 1.15;
    letter-spacing: .02em;
    white-space: normal;
}

.citlaly-grid-modern td
{
    vertical-align: top;
    padding: 7px 8px;
    font-size: .84rem;
    line-height: 1.2;
}

.citlaly-grid-modern tr:nth-child(even) td
{
    background: #f7fbff;
}

.citlaly-grid-modern tr:nth-child(odd) td
{
    background: #ffffff;
}

.citlaly-grid-modern tr:hover td
{
    background: #eaf4ff;
}

.owner-subtotal-row td
{
    background: #dfeffc !important;
    color: #17395f;
    border-top: 2px solid #a9c8e6;
}

.owner-kpi-grid
{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.owner-kpi-card
{
    padding: 16px;
    border: 1px solid #d9e3ef;
    border-radius: 16px;
    background: linear-gradient(180deg, #fefefe 0%, #f4f8fd 100%);
}

.owner-kpi-label
{
    display: block;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #6f8298;
}

.owner-kpi-value
{
    display: block;
    margin-top: 8px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #16385f;
}

.owner-chart-grid
{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.owner-bar-row
{
    display: grid;
    grid-template-columns: 90px 1fr 90px;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dotted #d5dfeb;
}

.owner-bar-label
{
    font-weight: 700;
    color: #1c456c;
    font-size: .88rem;
}

.owner-bar-track
{
    position: relative;
    height: 14px;
    border-radius: 999px;
    background: #e8eef6;
    overflow: hidden;
}

.owner-bar-fill
{
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #1f70c8 0%, #13579f 100%);
}

.owner-bar-fill-secondary
{
    background: linear-gradient(90deg, #1f9f91 0%, #127367 100%);
}

.owner-bar-value
{
    text-align: right;
    font-weight: 700;
    color: #17395f;
    font-size: .88rem;
}

.citlaly-section-title-row
{
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: baseline;
    margin-bottom: 12px;
}

.citlaly-section-title-row h2
{
    margin: 0;
    font-size: 1.2rem;
    color: #17385f;
}

.citlaly-section-title-row span
{
    color: #6f8298;
    font-size: .9rem;
}

@media (max-width: 980px)
{
    .citlaly-modern-grid,
    .citlaly-search-grid,
    .citlaly-search-grid-compact,
    .citlaly-modern-summary,
    .owner-filter-grid-two,
    .owner-filter-grid-three,
    .owner-filter-grid-four,
    .owner-kpi-grid,
    .owner-chart-grid
    {
        grid-template-columns: 1fr;
    }

    .citlaly-modern-header
    {
        flex-direction: column;
    }
}

.citlaly-print-body
{
    background: #eef4fa;
}

.citlaly-print-card
{
    max-width: 420px;
    margin: 0 auto;
    padding: 14px 12px 18px;
}

.citlaly-print-actions
{
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.citlaly-receipt
{
    max-width: 300px;
    margin: 0 auto;
    padding: 12px 10px 14px;
    border: 1px dashed #b5c5d8;
    border-radius: 10px;
    background: #fffefb;
    color: #2c2c2c;
}

.citlaly-receipt-header
{
    text-align: center;
    padding-bottom: 8px;
    border-bottom: 1px dashed #c9bca6;
}

.citlaly-receipt-header h1
{
    margin: 8px 0 2px;
    font-size: 1.2rem;
    font-variant: normal;
    color: #111;
}

.citlaly-receipt-subtitle
{
    display: block;
    color: #555;
    font-weight: 700;
    font-size: .8rem;
}

.citlaly-receipt-summary,
.citlaly-receipt-totals
{
    margin-top: 10px;
}

.citlaly-receipt-line
{
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px dotted #cdbca4;
    font-size: .86rem;
}

.citlaly-receipt-line span
{
    font-weight: 700;
    color: #333;
    max-width: 42%;
}

.citlaly-receipt-line label
{
    text-align: right;
    flex: 1;
    word-break: break-word;
}

.citlaly-receipt-section
{
    margin-top: 10px;
}

.citlaly-receipt-section h2
{
    margin: 0 0 8px;
    font-size: .95rem;
    color: #111;
    font-variant: normal;
}

.citlaly-receipt-grid th
{
    font-size: .74rem;
    padding: 6px 4px;
}

.citlaly-receipt-grid td
{
    font-size: .8rem;
    padding: 6px 4px;
}

.citlaly-receipt-thermal .citlaly-kicker
{
    padding: 0;
    background: transparent;
    color: #333;
    font-size: .72rem;
    letter-spacing: .14em;
}

.citlaly-receipt-thermal .citlaly-grid-modern th
{
    background: #f1f1f1;
    color: #111;
}

.citlaly-receipt-thermal .citlaly-grid-modern td,
.citlaly-receipt-thermal .citlaly-grid-modern th
{
    border-bottom: 1px dotted #d1c2a7;
}

.citlaly-receipt-thermal .citlaly-receipt-totals .citlaly-receipt-line:last-child
{
    font-size: .82rem;
}

@media print
{
    .citlaly-print-actions
    {
        display: none;
    }

    .portal-shell
    {
        width: 100%;
        margin: 0;
    }

    .citlaly-print-card
    {
        max-width: 320px;
        padding: 0;
    }

    .portal-card,
    .citlaly-receipt
    {
        box-shadow: none;
        border: none;
        background: #fff;
    }

    .citlaly-body
    {
        background: #fff;
    }
}
