:root {
    --bg-color:                 #57AF00;
    --xbg-color:                #478f00;
    --bg-color-top:             #57AF00;
    --color-top:                white;
    --btn-primary:              #6CB721;
    --btn-primary-hover:        #79CC26;
    --btn-primary-border:       #538A1C;
    --link-color:               black;
    --link-color-hover:         #538A1C;
    --nav-color-active:         rgba(255, 255, 255, .15);
    --nav-color-hover:          rgba(255, 255, 255, .1);
    --color-lastedited-border:  #0cce00a0;
    --color-calendar-text:      white;
    --color-calendar-text-othermonth: white;
    --color-calendar-textshadow:black;
    --color-calendar-dayname:   #00000066;
    --color-calendar-date:      #00000044; /* 38a7ff */
    --color-calendar-date-othermonth: #ffffff55;
    --color-calendar-day-othermonth:  #ffffff55;
    --color-calendar-day-empty:       #ffffffaa;
    --color-calendar-today:     #ffff0044;
    --color-calendar-border:    #000000aa;
    --color-calendar-cell-border:     #00000088;
    --color-calendar-holiday:   #c00;
    --color-post-subjectborder: #00000020;
    --color-age-0: #2CCC00;
    --color-age-1: #26B200;
    --color-age-2: #219900;
    --color-age-3: #1B7F00;
    --color-age-4: #166600;
    --color-age-5: #104C00;
    --color-age-6: #0B3300;
    --sidebar-width:            250px;
    --content-padding-left:     1.5rem;
    --content-padding-right:    1.5rem;
    --sidebar-width:            250px;
    --icon-trash:               url("images/trash.svg");
    --icon-trash-white:         url("images/trash_white.svg");
    --icon-trash-restore-white: url("images/restore_white.svg");
    --icon-edit-white:          url("images/pencil_white.svg");
    --icon-save-white:          url("images/check-lg_white.svg");
    --icon-cancel:              url("images/x-lg.svg");
    --icon-cancel-white:        url("images/x-lg_white.svg");
    --icon-copy:                url("images/copy.svg");
    --icon-copy-white:          url("images/copy_white.svg");
    --icon-add-white:           url("images/plus_white.svg");
    --icon-check-white:         url("images/check-lg_white.svg");
    --icon-check-circle:        url("images/check-circle.svg");
    --icon-list-white:          url("images/list-ul_white.svg");
    --icon-back-white:          url("images/arrow-left_white.svg");
    --icon-calendar-white:      url("images/calendar-week-white.svg");
    --icon-up-white:            url("images/chevron-compact-up_white.svg");
    --icon-info-white:          url("images/info-circle_white.svg");
    --icon-info:                url("images/info-circle.svg");
    --icon-next-white:          url("images/skip-forward_white.svg");
    --icon-prev-white:          url("images/skip-backward_white.svg");
    --icon-star-white:          url("images/star_white.svg");
    --image-pin-left:           url("images/pin-left.svg");
    --image-pin-right:          url("images/pin-right.svg");
}


html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body                {background-color: var(--bg-color);}

main                {background-color: white; min-height: calc(100vh - 4rem); padding-bottom: 1rem; outline: .15rem solid #00000080;}
/*.navandcontent      {flex-direction: row-reverse !important;}
*//*.navandcontent      {background-color: white; flex-direction: row-reverse !important;}
*/
h1                  {margin-bottom: 3rem}
h3                  {margin-bottom: 2rem}

dialog              {border: none; background: transparent; overflow: visible; }
dialog::backdrop    {background-color: #00000080}


a, .nav-link, .btn-link                     {color: var(--link-color);}
a:hover, .nav-link:hover, .btn-link:hover   {color: var(--link-color-hover);}
.nav-link:hover                             {box-shadow: 0px 0px 0px 1px var(--link-color-hover); border-radius: .25rem;}

.top-row, .sidebar                          {text-shadow: .03rem .04rem .05rem #0008;}

.top-row a                                  {font-size: 2.2rem}
.top-row a, .top-row .nav-link, .top-row .btn-link                     {color: var(--color-top);}
.top-row a:hover, .top-row .nav-link:hover, .top-row .btn-link:hover   {color: var(--color-top);}
.top-row h1                                 {color: var(--color-top)}
.top-row .name                              {font-size: 1rem}

.navbar {background-color: var(--bg-color)}
.footer {background-color: var(--bg-color); line-height: 1.5em !important; font-size: 0.9rem}
.top-row {background-color: var(--bg-color-top); color: white}

.logo               {background-image: url(images/logo.svg); background-position: center center; background-repeat: no-repeat; background-size: contain}
.top-row .logo      {height: 3.5rem; width: 4rem}
.sidebar .logo      {height: 10rem; width: var(--sidebar-width)}

.btn-sm                     {padding: 1px 0.1rem}
.small                      {font-size: 0.75rem}
.zoom-50                    {zoom: .50}
.zoom-75                    {zoom: .75}

.keeplinebreaks             {white-space: pre-line}
.lastedited                 {outline: 3px solid var(--color-lastedited-border); animation: outlineFlash_3 2s}

.add                        {background-image: var(--icon-add-white);           background-repeat: no-repeat; background-position: center center; min-width: 30px}
.back                       {background-image: var(--icon-back-white);          background-repeat: no-repeat; background-position: center center; min-width: 30px}
.list                       {background-image: var(--icon-list-white);          background-repeat: no-repeat; background-position: center center; min-width: 30px}
.edit                       {background-image: var(--icon-edit-white);          background-repeat: no-repeat; background-position: center center; min-width: 30px}
.bi-edit-nav-menu           {background-image: var(--icon-edit-white)}
.save                       {background-image: var(--icon-save-white);          background-repeat: no-repeat; background-position: center center; min-width: 30px}
.cancel                     {background-image: var(--icon-cancel-white);        background-repeat: no-repeat; background-position: center center; min-width: 30px}
.cancel-dark                {background-image: var(--icon-cancel);              background-repeat: no-repeat; background-position: center center; min-width: 30px}
.trash                      {background-image: var(--icon-trash-white);         background-repeat: no-repeat; background-position: center center; min-width: 30px}
.trash-restore              {background-image: var(--icon-trash-restore-white); background-repeat: no-repeat; background-position: center center; min-width: 30px}
.up                         {background-image: var(--icon-up-white);            background-repeat: no-repeat; background-position: center center; min-width: 30px}
.confirm                    {background-image: var(--icon-save-white);          background-repeat: no-repeat; background-position: center center; min-width: 30px}
.next                       {background-image: var(--icon-next-white);          background-repeat: no-repeat; background-position: center center; min-width: 30px}
.prev                       {background-image: var(--icon-prev-white);          background-repeat: no-repeat; background-position: center center; min-width: 30px}
.star                       {background-image: var(--icon-star-white);          background-repeat: no-repeat; background-position: center center; min-width: 30px}
.copy                       {background-image: var(--icon-copy-white);          background-repeat: no-repeat; background-position: center center; min-width: 30px}

td:has(button.edit)             {width: 2rem}
td:has(button.save)             {width: 2rem}
td:has(button.cancel)           {width: 2rem}
td:has(button.trash)            {width: 2rem}
td:has(button.trash-restore)    {width: 2rem}
td:has(button.list)             {width: 2rem}

div.icon                    {background-repeat: no-repeat; background-position: 8px center; min-width: 32px; padding-left: 40px; background-size: 24px; min-height: 25px;}
div.smallicon               {background-repeat: no-repeat; background-position: 3px center; min-width: 20px; padding-left: 25px; background-size: 16px; min-height: 20px;}
div.icon:empty              {width: 30px; padding: 0; background-position: center}
div.smallicon:empty         {width: 20px; padding: 0; background-position: center}
svg.smallicon               {width: 20px; height: 20px}

div.check                   {background-image: var(--icon-check-circle)}
div.warning                 {background-image: var(--icon-warning)}
div.stop                    {background-image: var(--icon-stop)}
div.added                   {background-image: var(--icon-add)}
div.removed                 {background-image: var(--icon-trash)}
div.changed                 {background-image: var(--icon-edit)}
div.info                    {background-image: var(--icon-info)}
div.edit                    {background-image: var(--icon-edit)}
div.hidden                  {background-image: var(--icon-eye-slash)}
div.trash                   {background-image: var(--icon-trash)}
div.help                    {background-image: var(--icon-help)}

.app-date.age-0d           {color: var(--color-age-0)}
.app-date.age-1d           {color: var(--color-age-1)}
.app-date.age-2d           {color: var(--color-age-2)}
.app-date.age-3d           {color: var(--color-age-3)}
.app-date.age-4d           {color: var(--color-age-4)}
.app-date.age-5d           {color: var(--color-age-5)}
.app-date.age-6d           {color: var(--color-age-6)}

.last-login.age-0w         {color: var(--color-age-0)}
.last-login.age-1w         {color: var(--color-age-1)}
.last-login.age-2w         {color: var(--color-age-2)}
.last-login.age-3w         {color: var(--color-age-3)}
.last-login.age-4w         {color: var(--color-age-4)}
.last-login.age-5w         {color: var(--color-age-5)}
.last-login.age-6w         {color: var(--color-age-6)}


main:has(.board)            {background-image: url(images/kork_kachel.jpg); background-repeat: repeat; background-size: 1000px auto}

.boardsticker                   {width: fit-content; min-width: min(100%, 300px); max-width: 100%; box-shadow: .1rem .2rem .3rem rgba(0,0,0,.5) !important}

.boardpost                      {min-width: min(500px, 88vw); box-shadow: .1rem .2rem .3rem rgba(0,0,0,.5) !important}
.boardpost:not(:last-child)     {margin-bottom: 2rem}
.boardpost .cancel              {position: absolute; right: 0; top: 0; zoom: .9}
.boardpost .symbol              {font-size: 200%; text-align: end}
.boardpost td                   {vertical-align: top}
.boardpost td:first-of-type     {padding-right: .5rem}
.boardpost td.editor            {font-size: 80%; opacity: .5}
.boardpost hr                   {opacity: .15}
.boardpost h5:not(:last-child)  {border-bottom: 1px solid var(--color-post-subjectborder); padding-bottom: .2rem}

.board .pin-left            {width: 20px; height: 30px; background-image: var(--image-pin-left); background-size: contain; background-repeat: no-repeat; position: absolute; left: -5px; top: -15px}
.board .pin-right           {width: 20px; height: 30px; background-image: var(--image-pin-right); background-size: contain; background-repeat: no-repeat; position: absolute; right: -7px; top: -15px}


.monthview                  {border: .125rem solid var(--color-calendar-border); border-collapse: collapse; width: 100%; max-width: 100vw;
                             background-image: url(images/kork_kachel.jpg); background-repeat: repeat; background-size: 1000px auto}
.monthview th               {border: .1rem solid var(--color-calendar-cell-border); text-align: center; width: 14.28%; color: var(--color-calendar-text); text-shadow: .03rem .03rem .1rem var(--color-calendar-textshadow)}
.monthview td               {border: .1rem solid var(--color-calendar-cell-border); vertical-align: top}
.monthview th.dayname       {background-color: var(--color-calendar-dayname)}
.monthview th.date          {background-color: var(--color-calendar-date)}
.monthview th.othermonth    {background-color: var(--color-calendar-date-othermonth); color: var(--color-calendar-text-othermonth)}
.monthview td.othermonth    {background-color: var(--color-calendar-day-othermonth) }
.monthview td.day           {height: 4rem; padding-bottom: .5rem; }
.monthview th.today         {background-color: var(--color-calendar-today)}
.monthview td.today         {background-color: var(--color-calendar-today)}
.monthview tr.dates         {break-after: avoid-page}

.yearview                   {border: .125rem solid var(--color-calendar-border); border-collapse: collapse; table-layout: fixed; width: 100%;
                             background-image: url(images/kork_kachel.jpg); background-repeat: repeat; background-size: 1000px auto}
.yearview th                {border: .1rem solid var(--color-calendar-cell-border); text-align: center; color: var(--color-calendar-text); background-color: var(--color-calendar-dayname);
                             overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: .03rem .03rem .1rem var(--color-calendar-textshadow)}
.yearview td                {border: .1rem solid var(--color-calendar-cell-border); vertical-align: top; padding: 0}
.yearview td.empty          {background-color: var(--color-calendar-day-empty)}
.yearview td.today          {background-color: var(--color-calendar-today)}
.yearview td.today .date    {background-color: var(--color-calendar-today)}
.yearview .posts            {min-height: 1em}
.yearview .calendarpost     {max-width: 100%; margin: .1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap}

.yearview .date             {background-color: var(--color-calendar-date); color: var(--color-calendar-text); font-size: 80%; text-shadow: .03rem .03rem .1rem var(--color-calendar-textshadow);
                             display: flex; flex-direction: row; justify-content: space-between; padding: 0 .5rem}

.yearview .date,            .monthview div.date         {display: flex; flex-direction: row; justify-content: space-between; padding: 0 .5rem}

.yearview .date .daynumber, .monthview .date .daynumber {font-weight: bold; margin: 0 auto}
.yearview .date .dayname,   .monthview .date .dayname   {font-weight: normal; opacity: .7}
.yearview .date .monthname, .monthview .date .monthname {font-weight: normal; opacity: .7}


.calendarpost               {border: 1px solid var(--color-calendar-cell-border); border-radius: .1rem; margin: .2rem .2rem .4rem .2rem;
                             padding: .05rem; box-shadow: .1rem .1rem .3rem rgba(0,0,0,.4) !important; cursor: pointer}
.calendarpost.restricted    {opacity: .8}
.calendarpost div           {margin: .1rem .1rem}
.calendarpost .symbol       {margin: .1rem .1rem 0 0}
.calendarpost .organization {overflow-x: hidden; text-overflow: ellipsis; font-size: 90%; font-weight: bold; }
.calendarpost .subject      {overflow-x: hidden; text-overflow: ellipsis; font-size: 90%}
.calendarpost .time         {font-size: 80%; opacity: .8}
.calendarpost .place        {overflow-x: hidden; text-overflow: ellipsis; font-size: 80%; opacity: .8}

.holiday                    {background-color: white; color: var(--color-calendar-holiday); font-size: 80%; font-style: italic; text-align: center; cursor: default;
                             overflow: clip; text-overflow: ellipsis;}

.postoverlay                {position: fixed; z-index: 10; width: 100vw; height: 100vh; left: 0; top: 0; overflow: auto; background-color: #00000066 }
.postoverlay .box           {padding: 1rem; max-width: min(550px, 90vw);}
.postoverlay .boardpost     {box-shadow: .2rem .2rem 1rem rgba(0,0,0,1) !important; max-width: min(600px, 90vw);
                             max-height: 95vh; overflow: auto; position: fixed; top: 50vh; left: 50vw; transform: translate(-50%, -50%);}


.device-card-name               {min-width: 0; overflow-wrap: anywhere}

label:has(.tristate)            {display: block; position: relative; padding-left: 3rem}
label.notext:has(.tristate)     {display: block; position: relative; padding-left: 2.4rem}
label:has(.tristate):before     {content: ""; position: absolute; left: 0; top: .15em; z-index: 1; width: 2.5rem; height: 1.2rem; border: .08rem solid silver; border-radius: .6rem; cursor: pointer; background-size:contain; background-repeat: no-repeat; transition: background .1s linear}
label:has(.tristate):after      {content: ""; position: absolute; left: 0; top: .15em;  z-index: 1; width: 1.2rem; height: 1.2rem; border: .1rem solid #666; border-radius: .6rem; cursor: pointer; background-color: white; box-shadow:.05rem .05rem .1rem #00000033; transition: left .1s linear}
label:has(.tristate.indeterminate):before   {background-color: whitesmoke; border-color: #888}
label:has(.tristate.yes):before             {background-color: limegreen; border-color: green; background-image: var(--icon-check-white);  background-position: 0.2rem center}
label:has(.tristate.no):before              {background-color: red; border-color: #b00;        background-image: var(--icon-cancel-white); background-position: 1.1rem center}
label:has(.tristate.indeterminate):after    {left: 0.65rem}
label:has(.tristate.yes):after              {left: 1.30rem}
label:has(.tristate.no):after               {left: 0.00rem}
label:has(.tristate.off):after              {left: 0.00rem}
label .tristate                 {display: none}
label:has(.tristate[disabled]):before       {filter: grayscale(.6)}
label:has(.tristate[disabled]):after        {filter: grayscale(.6)}

.form-floating textarea.scrolled + label    {display: none}

.delayedfadein                              {animation: delayedFadeIn .5s;}

table.padx tr th:not(:last-of-type)         {padding-right: 1em}
table.padx tr td:not(:last-of-type)         {padding-right: 1em}
.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}


@media (max-width: 499.99px) {
    .vp-min-500             {display: none}
}
@media (max-width: 599.99px) {
    .vp-min-600             {display: none}
    .date .dayname          {display: none}
}
@media (max-width: 699.99px) {
    .vp-min-700                 {display: none}
    .monthview .date .monthname {display: none}
}
@media (max-width: 799.99px) {
    .vp-min-800             {display: none}
}
@media (max-width: 899.99px) {
    .vp-min-900             {display: none}
    .content                {padding-left: .4rem !important; padding-right: .4rem !important}
    .calendarpost           {max-width: 11.5vw}

    table.padx tr th:not(:last-of-type)  {padding-right: .2em}
    table.padx tr td:not(:last-of-type)  {padding-right: .2em}

}
@media (max-width: 999.99px) {
    .vp-min-1000            {display: none}
}
@media (max-width: 1099.99px) {
    .vp-min-1100            {display: none}
}
@media (max-width: 1199.99px) {
    .vp-min-1200            {display: none}
    .yearview .date .monthname {display: none}
}
@media (max-width: 1299.99px) {
    .vp-min-1300                         {display: none}
    .yearview .date, .monthview div.date {padding: 0 .25rem}
}

@media (min-width: 500px) {
    .vp-max-500             {display: none}
}
@media (min-width: 600px) {
    .vp-max-600             {display: none}
}
@media (min-width: 700px) {
    .vp-max-700             {display: none}
}
@media (min-width: 800px) {
    .vp-max-800             {display: none}
}
@media (min-width: 900px) {
    .vp-max-900                 {display: none}
}
@media (min-width: 1000px) {
    .vp-max-1000            {display: none}
}
@media (min-width: 1100px) {
    .vp-max-1100            {display: none}
}
@media (min-width: 1200px) {
    .vp-max-1200            {display: none}
}
@media (min-width: 1300px) {
    .vp-max-1300            {display: none}
}

@media (max-width: 600px) {
    .top-row                {height: 5rem}
    .top-row .text          {flex-direction: column; gap: 0 !important; line-height: normal; justify-content: start}
    .top-row a              {font-size: 1.3rem; }
    .top-row .name          {font-size: 1rem}
    
    .nav-scrollable         {top: 5rem; max-height: calc(100vh - 5rem); max-height: calc(100dvh - 5rem)}

    .postoverlay            {padding: 1rem}
    .postoverlay .boardpost {max-width: 90vw}
}

@media (max-width: 1099px) {
    .sidebar .logo          {display: none}
    .nav-scrollable         {position: fixed; top: 4rem; right: 0; z-index: 3; background-color: var(--bg-color);
                             max-width: 100vw; max-height: calc(100vh - 4rem); max-height: calc(100dvh - 4rem); overflow-y: auto}
    .top-row                {position: sticky; top: 0; z-index: 2; padding-right: 4rem}
    .calendarpost           {max-width: 12vw}
}

@media (min-width: 1100px) {

    .navandcontent          {flex-direction: row !important; flex-wrap: nowrap}

    .sidebar                {width: var(--sidebar-width); min-width: var(--sidebar-width); min-height: calc(100vh - 4rem); padding-top: 8rem;}
    .sidebar .logo          {position: absolute; z-index: 10}
    .top-row .logo          {display: none}
    .top-row                {padding-left: var(--sidebar-width)}
    .logo                   {top: 0.5rem; height: 200px; width: var(--sidebar-width);}

    .calendarpost           {max-width: calc((100vw - var(--sidebar-width) - var(--content-padding-left) - var(--content-padding-right)) / 8)}

    .top-row.auth ::deep a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row, article {
        padding-right: 1.5rem !important;
    }

    .board {
        margin: 0px;

    }
}

@media print {
    body                {background: white !important}
    main                {outline: none !important}
    .monthview          {background: none !important}
    .monthview td.day   {background: white !important}
    .yearview           {background: none !important; font-size: 70%}
    .yearview-heading   {break-before: page}

    .monthview th.today:not(.othermonth) {background-color: var(--color-calendar-date)}
    .monthview th.today.othermonth       {background-color: var(--color-calendar-date-othermonth)}

    body:has(.monthview) { font-size: 80%}
}


@keyframes delayedFadeIn {
  0% { opacity: 0; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes outlineFlash_3 {
  0% { outline-width: 0px; }
  20% { outline-width: 4px; }
  40% { outline-width: 0px; }
  60% { outline-width: 4px; }
  80% { outline-width: 0px; }
  100% { outline-width: 4px; }
}

@keyframes outlineFadeOut {
  0% { outline-color: var(--color-lastedited-border); }
  100% { outline-color: transparent; }
}
