.isDeleted1 {color:darkred;}
.isActive0 {color:darkred;}

/* legacy */
.state1 { color: #FF5555;}
.state2 { color: #D4D479;}
.state3 { color: #cc8c00;}
.state4 { color: grey;}
.state5 { color: pink;}
.state6 { color: #55FF55;}
.state7 { color: red;}

/* MemberRoleStatus */
.statenew         { color: #66ccff; } /* světle modrá – nový */
.statepaid        { color: #33dd55; } /* zelená – zaplaceno */
.stateinterviewed { color: #ff9900; } /* oranžová – vyslechnuto */
.stateactive      { color: #00ff44; } /* neon zelená – aktivní */
.stateexpired     { color: #888888; } /* šedá – expirováno */
.statecancelled   { color: #ff2222; } /* červená – storno */

/* MemberRoleType */
.statemember      { color: #FF5555; } /* tmavší modrá */
.statesupporter   { color: #D4D479; } /* sytá fialová */
.stateceo         { color: #cc8c00; } /* výrazná červená */
.stateround_table { color: grey; } /* tmavá oranžová */
.stateaudit       { color: pink; } /* zeleno-tyrkysová */
.statearbitration { color: red; } /* ocelově modrá */
.statevolunteer   { color: #ffee00; } /* jasná žlutá */
.statementor      { color: #00ddcc; } /* tyrkysová */
.statefan         { color: #ff4488; } /* sytá růžová */
.statenone        { color: #666666; } /* tmavá šedá */

/* DonationStatus */
.stateasked       { color: #ffdd00; } /* žlutá – vyzváno */
.statereturned    { color: #aa55ff; } /* fialová – vráceno */
.statesponsored   { color: #ff7733; } /* červeno-oranžová – rozpočtováno */

/* DonationFrequency */
.stateonce        { color: #66ccff; } /* světle modrá – jednorázově */
.statemonthly     { color: #33dd55; } /* zelená – měsíčně */

/* PaymentChannel */
.statebank        { color: #aaccee; } /* světle modrá – banka */
.statestripe      { color: #8877ff; } /* stripe fialová */
.stateconfirmo    { color: #ffaa00; } /* bitcoin oranžová */

/* Currency */
.stateczk         { color: #2277ff; }
.stateeur         { color: #33dd55; }
.stateusd         { color: #dd44ff; }

/* Event handler job status */
.statepending     { color: #ffcc00; } /* žlutá – čeká */
.stateprocessing  { color: #44aaff; } /* modrá – zpracovává se */
.statesucceeded   { color: #00ff44; } /* neon zelená – úspěch */
.statefailed      { color: #ff2222; } /* červená – selhalo */

.amount {text-align: right !important}

.googleLogin img {width:20%;}
.googleLogin img:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.flash {padding:1.5em; font-weight: bold; border-radius: 6px; margin: 0.5em;}
.flash.notice {background-color: rgba(0, 255, 68, 0.1); border: 1px solid rgba(0, 255, 68, 0.3); color: var(--success);}
.flash.error {background-color: rgba(255, 68, 102, 0.1); border: 1px solid rgba(255, 68, 102, 0.3); color: var(--danger);}

span.pcts {font-size: 50%;vertical-align: top;min-width:2.6em;display: inline-block;}
span.red {color:red}
span.green {color:green}

table.insert td{ padding: 0.3em;}

h1 { padding: 0.5em; color: #e4e4e8; }
h2 { padding: 0.4em 0; color: var(--text-muted); }

input[type="text"], input[type="email"], input[type="date"], input[type="number"], input[type="password"],
textarea, select {
    background-color: var(--surface);
    color: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.4em 0.6em;
    font-family: inherit;
    font-size: inherit;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="date"]:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-dim);
}

input[type="submit"], button {
    background-color: var(--grey);
    color: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.4em 1em;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    transition: background-color 0.15s;
}
input[type="submit"]:hover, button:hover {
    background-color: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

a:link, a:visited {
    color: var(--accent);
    transition: color 0.15s;
}
a:hover {
    color: #a0aaff;
}

table.dataTable.hover > tbody > tr:hover > *, table.dataTable.display > tbody > tr:hover > * {
    box-shadow: inset 0 0 0 9999px var(--accent-dim) !important;
}

table.dataTable.hover > tbody > tr.odd {
    background-color: rgba(255, 255, 255, 0.02);
}

table.dataTable.hover > tbody > tr.even {
    background-color: var(--surface);
}

.dataTables_filter label { color:var(--white) !important;}
.dataTables_length label { color:var(--white) !important;}

table {
    border: 1px solid var(--border);
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}

table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
}

table tr {
    border: 1px solid var(--border);
    padding: .35em;
}

table th,
table td {
    padding: .625em;
    text-align: center;
}

table th {
    font-size: .85em;
    letter-spacing: .1em;
    color: var(--text-muted);
}

:root{
    --white: #d4d4d8;
    --black: #1e1e2e;
    --grey: #45475a;
    --surface: #282a36;
    --border: #3a3d4d;
    --accent: #7c8aff;
    --accent-dim: rgba(124, 138, 255, 0.1);
    --text-muted: #888ea8;
    --success: #00ff44;
    --danger: #ff4466;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: "Poppins", sans-serif;
    color: var(--white);
    background-color: var(--black);
}

/* Header */
.header{
    background-color: var(--surface);
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1;
}

.side-menu {
    display: none;
}

.header ul{
    list-style: none;
}

.header a{
    text-decoration: none;
}

/* Logo */
.logo{
    display: inline-block;
    color: var(--white);
    font-size: 60px;
    margin-left: 10px;

}

/* Nav menu */
.nav{
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: var(--surface);
    overflow: hidden;
}

.menu a{
    display: block;
    padding: 15px;
    color: var(--white);
    transition: background-color 0.15s;
}

.menu-sep{
    color: var(--border);
    padding: 15px 2px;
    display: block;
    user-select: none;
}

.menu a:hover{
    background-color: var(--accent-dim);
    color: var(--accent);
}

.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
}

/* link colors defined above with accent */

.calendarAjax {border-spacing: 0}
td.calendar-day	{ position:relative;text-align: left;min-height:80px; font-size:0.65em; vertical-align:top;overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
td.calendar-day { padding:5px; border-bottom:1px solid #999; border-right:1px solid #999; }
td.calendar-day:hover	{ background: var(--accent-dim); }
td.another {opacity: 50%}
td.calendar-day-head { font-weight:bold; text-align:center; padding:5px; border-bottom:1px solid #999; border-top:1px solid #999; border-right:1px solid #999; }
td.calendar-day span {
    z-index:1;background:#999; padding:3px; color:#fff; font-weight:bold; float:right; margin:-3px -3px 0 0; width:15px; text-align:center;
    position:absolute;top:3px;right:4px;
}
td.calendar-day a {padding:1px;margin-top: 1px;color:black;text-decoration: none;display: inline-block;z-index:-1}
td.calendar-day a:hover {text-decoration: underline;}
td.today {background-color:#86841d;}

.calendarAjax a.shrine1 { background-color: #FFFF55;}
.calendarAjax a.shrine2 { background-color: #5555FF;}
.calendarAjax a.shrine3 { background-color: #55FF55;}
.calendarAjax a.shrine4 { background-color: #555555;}
.calendarAjax a.shrine5 { background-color: #F5F5F5;}
.calendarAjax a.shrine6 { background-color: #FF5555;}

.calendarAjax a.state5 {background-color: #ffdddd;color:blue;}
.calendarAjax a.state4 {background-color: silver;color:blue;}
.calendarAjax a.selected {font-weight: bold}

#short {border: 1px solid var(--border);width: 40%;padding:5px 5px 10px 5px; border-radius: 4px;}
#showTable {float:right;border:1px solid var(--border);padding:2px 5px 2px 5px;cursor:pointer;margin-right: 1em;background-color: var(--grey); border-radius: 4px;}
#showTable:hover {background-color: var(--accent);}
#hideTable {float:right;border:1px solid var(--border);padding:2px 5px 2px 5px;cursor:pointer;margin-right: 1em;background-color: var(--grey); border-radius: 4px;}
#hideTable:hover {background-color: var(--accent);}

table.dataTable {border-bottom: 1px solid var(--border) !important;}

tr.activeTerm {background-color: rgba(0, 255, 68, 0.08) !important;}
tr.otherTerm {display:none;}