li.INACTIVE { display: none; }
.IMPORTANT + span::after
{
    content: "*";
    color: red;
    font-weight: bold;
    vertical-align: super;
    font-size: 0.75em;
    line-height: 0;
}
.UNAVAILABLE > span { text-decoration: line-through wavy red; }

div.counter { display: flex; white-space: nowrap; }

.text-button  {cursor: pointer; }
.text-button:hover { color: teal; font-weight: bold; }
div.site-page {}
div.print-columns { display: flex; }
div.print-columns > fieldset { width: fit-content; }
div.print-options, div.print-confirm{ display: flex; flex-wrap: wrap; }
div.print-confirm { min-width: 150px; }
#uncheck-all { margin-left: 20px; }
div.print-option { padding-left: 10px; border-left: 2px groove #e8e8e8; margin-left: 10px; }
main.main-content, div.home-content {
  padding: 0;
  border-radius: 5px;
  background: linear-gradient(135deg, white, lightgrey, lightgrey, white, lightgrey, grey);
}
div.system-page, div.site-page, div.page { padding: 5px; }
div.input-selection > div { display: flex; }
legend > div
{
    cursor: default;
    height: 18px;
    width: fit-content;
    background: whitesmoke;
    border: solid 1px #555555;
    font-size: small;
    padding: 0 3px;
    border-radius: 2px;
}

label:has(input[type=checkbox]),
label:has(input[type=radio]){ white-space: nowrap; }

#elist { width: 260px; }

div.use-council { text-align: right; }
#custom-address { display: flex; flex-wrap: wrap; }
#custom-address > div { width: 18rem; }
#custom-address fieldset input[type=text] { width: calc(100% - 10px); }
@media (min-width: 604px) {
    #custom-address > div:last-of-type fieldset {
        padding-top: 25px;  /* Hide sidebar on mobile phones */
    }
}

div.membership-cards
{
    padding: 5px 2px;
    border-radius: 5px;
}
#cards { margin-left: 20px; }
div.input-selection { display: flex; }
div.input-selection > div { width: 50%; }
div.print-options > div { width: fit-content; }
div.start-pos span { display: block; }
div.start-pos { display: flex; justify-content: space-between; width: 100%;}
div.start-pos > div { display: flex; gap: 5px;}
div.start-pos > div > div:first-of-type { margin-right: 5px; }
div.counter
{
    display: block !important;
    padding-bottom: 10px;
    border-bottom: 2px #e8e8e8 groove;
}

div.addr-sel { display: flex; gap: 10px; }
#pos-tbl { margin: 0 auto; }
tbody.sheet-type > tr > td { text-align: center; }
div.print-buttons { display: flex; justify-content: space-between; }
div.print-buttons img { width: 43px; }
label > span > sup { color: red; font-size: small; }
ul.member-list
{
    height: 220px;
    border-radius: 5px;
    column-width: 200px;
    padding: 10px 10px;
    overflow: auto;
    width: 100%;
}
ul.member-list li { list-style: none; }
ul.member-list li:hover { background: #00808030 !important; }
div.member-list { border-radius: 5px; }
div.billing-legend fieldset > div { display: inline-block; }
div.billing-legend fieldset > div:first-of-type { margin-right: 20px; }
div.center { text-align: center; }

div.print-confirm
{
    display: flex;
    justify-content: space-around;
    padding-top: 10px;
}
div.active-status
{
    margin-top: 5px;
    text-align: center;
}
div.billing-members { overflow: hidden; }
div.billing-legend fieldset
{
    background: linear-gradient(90deg, white, black, grey, lightgrey, lightgrey, grey);
    background: transparent;
}
div.billing-legend span,
div.MEMCARD span,
div.ENVELOPE span
{
    -webkit-text-stroke: 1px #555555;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    font-weight: bold !important;
    display: inline-block;       /* Allows the span to accept width and hide overflow */
    white-space: nowrap;         /* Forces the text to stay on a single line */
    text-overflow: ellipsis;
    font-size: medium;
}
div.billing-legend span { font-size: medium !important; }

div.MEMCARD :not(.HONORARY).PENDING span   { background: linear-gradient(to right, green, green, green, red); }
div.MEMCARD :not(.HONORARY).NOTICE-1,
div.MEMCARD :not(.HONORARY).NOTICE-1R span { background: linear-gradient(to right, green, green, red); }
div.MEMCARD :not(.HONORARY).NOTICE-2 span  { background: linear-gradient(to right, green, red); }
div.MEMCARD :not(.HONORARY).ALERT span     { background: linear-gradient(to right, green, red, red); }
div.MEMCARD :not(.HONORARY).SUSPEND span   { background: linear-gradient(to right, red, red); }
div.MEMCARD :not(.HONORARY).PAID span      { background: linear-gradient(to right, red, green, green); }
div.MEMCARD :not(.HONORARY).COMPLETE span  { background: linear-gradient(to right, green, green); }

div.MEMCARD .HONORARY:not(.LIFE).PENDING span   { background: linear-gradient(to right, silver, silver, silver, red); }
div.MEMCARD .HONORARY:not(.LIFE).NOTICE-1 span,
div.MEMCARD .HONORARY:not(.LIFE).NOTICE-1R span { background: linear-gradient(to right, silver, silver, red); }
div.MEMCARD .HONORARY:not(.LIFE).NOTICE-2 span  { background: linear-gradient(to right, silver, red); }
div.MEMCARD .HONORARY:not(.LIFE).ALERT span     { background: linear-gradient(to right, silver, red, red); }
div.MEMCARD .HONORARY:not(.LIFE).SUSPEND span   { background: linear-gradient(to right, silver, red, red, red); }
div.MEMCARD .HONORARY:not(.LIFE).PAID span      { background: linear-gradient(to right, red, silver, silver); }
div.MEMCARD .HONORARY:not(.LIFE).COMPLETE span  { background: linear-gradient(to right, silver, silver); }

div.MEMCARD .HONORARY.LIFE.PENDING span   { background: linear-gradient(to right, gold, gold, darkorange, red); }
div.MEMCARD .HONORARY.LIFE.NOTICE-1 span,
div.MEMCARD .HONORARY.LIFE.NOTICE-1R span { background: linear-gradient(to right, gold, darkorange, red); }
div.MEMCARD .HONORARY.LIFE.NOTICE-2 span  { background: linear-gradient(to right, darkorange, red); }
div.MEMCARD .HONORARY.LIFE.ALERT span     { background: linear-gradient(to right, darkorange, red, red); }
div.MEMCARD .HONORARY.LIFE.SUSPEND span   { background: linear-gradient(to right, darkorange, red, red, red); }
div.MEMCARD .HONORARY.LIFE.PAID span      { background: linear-gradient(to right, red, gold, darkorange); }
div.MEMCARD .HONORARY.LIFE.COMPLETE span  { background: linear-gradient(to right, gold, darkorange); }

div.ENVELOPE .PENDING span   { background: linear-gradient(to right, dodgerblue, dodgerblue, red); }
div.ENVELOPE .NOTICE-1 span,
div.ENVELOPE .NOTICE-1R span { background: linear-gradient(to right, blue, blue, red); }
div.ENVELOPE .NOTICE-2 span  { background: linear-gradient(to right, blue, darkblue, red); }
div.ENVELOPE .ALERT span     { background: linear-gradient(to right, darkblue, #9500ff, red); }
div.ENVELOPE .SUSPEND span   { background: linear-gradient(to right, #9500ff, #9500ff); }
div.ENVELOPE .PAID span      { background: linear-gradient(to right, red, forestgreen, forestgreen); }
div.ENVELOPE .COMPLETE span  { background: linear-gradient(to right, forestgreen, forestgreen); }

div.fg { display:flex; gap: 10px; }
div.billing-legend fieldset > div { display:flex; flex-wrap: wrap; gap: 10px; }
div.ENVELOPE div.MEMCARD,
div.MEMCARD div.ENVELOPE { display: none; }

@media (max-width: 600px)
{
    div.input-selection { display: block; }
    div.input-selection > div { width: 100%; }
    ul.member-list { column-count: 2; }
    div.print-options
    {
        padding-bottom: 4px;
        border-bottom: 2px solid slategrey;
    }
    div.custom-address
    {
        padding-top: 4px;
        border-top: 2px solid slategrey;
    }
    div.input-selection > div { border-radius: 5px; }
}

div.billing-issue { display: none; }

