/*
	Basics
*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	font-family: Arial;
	background-color: #2f3238;
	color: #fff;
	-webkit-user-select: none; /* Safari */
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; 
}
h1 {
    font-size: 50px;
    cursor: pointer;
}
h2 {
    font-size: 20px;
}
h3 {
    font-size: 16px;
}


small, .small {
	font-size: 85%;
    line-height: 1.2;
    display: inline-block;
}

ul {         
	padding: 0;
	margin: 0;
}
ul li {     
	list-style: none;
	margin-bottom: 25px;           
}
ul.list {         
	padding: 0px;
	margin: 5px 0px 15px 25px;
}
ul.list li {     
	list-style: disc;
	margin-bottom: 0px;           
}

a {
	color: #fff;
	text-decoration: underline;
	cursor: pointer;
}
a:focus, a:hover, a.active {
    color: #fff999;
    text-decoration: none;
	outline: none;
}
a.sec {
	color: #2f3238;
}
a.sec:focus, a.sec:hover {
    color: #444;
}

form .description {
    display: block;
}
form .info-upload {
    font-weight: 800;
}
form .info-upload span {
    display: block;
    width: 100%;
	font-weight: 400;
    /* background: black; */
}
form .info-upload span:after {
    content: '';
    display: block;
    height: 5px;
    margin-top: -4px;
    width: 100%;
    background: #4f4f4f;
}

button, input[type=button], input[type=reset], input[type=submit] {
	padding: 5px 10px;
	color: #fff;
	background: #4f4f4f;
    border: 2px ridge #767676;
}
button:hover, input[type=button]:hover, input[type=reset]:hover, input[type=submit]:hover {
    color: #fff999;
}
input[type=date], input[type=text], input[type=number], textarea, select {
    width: 100%;
    padding: 5px 10px;
    color: #fff;
    background: #4f4f4f;
    /* box-shadow: inset 0px 0px 0px 20px #4f4f4f; */
    border: 2px ridge #767676;
    height: 32px;
}
input[type=date], input[type=radio], input[type=checkox], select {
	cursor: pointer;
}
button[disabled], html input[disabled], textarea[disabled], select[disabled] {
	color: #aaa;
    cursor: not-allowed;
}
button:focus, input:focus, textarea:focus, select:focus,
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
	outline: none;
	border-style: groove;
}

/* 
	Container
*/
.container {
    margin-top: 50px;
    padding: 20px 50px;
}
.container.sec {
    background: #444;
}
.container.sec.info {
	-webkit-user-select: text; /* Safari */
	-moz-user-select: text; /* Firefox */
	-ms-user-select: text; /* Internet Explorer/Edge */
	user-select: text; 
}

.container.tabs {
	display: flex;
	justify-content: space-between;
}
.container.tabs > span {
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
}
.container.tabs > span.active,
.container.tabs > span:hover {
    color: #fff999;
}
.tab {
	display: none;
	margin-top: 5px;
}
.tab.active {
	display: block;
}
@media (max-width: 480px) { 
	.tabs {
		flex-direction: column;
	}
}

.row {
	overflow-x: auto;
}

.head {
	display: flex;
	justify-content: space-between;
}
.head h2 {
	margin: 0;
}
.head a {
	margin-left: 20px;
	font-size: 18px;
	text-decoration: none;
}

.navContainer li.disabled {
	opacity: 0.5;
	pointer-events: none;
}
.navContainer li a {
	text-decoration: none;
}
.navContainer li h3 {
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
}
.navContainer li h3 div {
    display: block;
    height: 0;
    font-size: 0.7em;
}
.navContainer li.current h3 {
	color: #fff999;
}
.navContainer li.current .thumb,
.navContainer li:hover .thumb {
	/* border: 3px solid #fff999; */
}
.navContainer li .thumb.big {
	max-height: 75px;
	margin: 2px;
}
.navContainer li .icon-responsive {
	width: 100%;
	padding-bottom: 50%; 
	background-size: contain;
	background-position: center;
    background-repeat: no-repeat;
	opacity: 0.6;
	transition: opacity 0.5s;
	filter: grayscale(1);
}
.navContainer li.current .icon-responsive,
.navContainer li:hover .icon-responsive {
	opacity: 1;
	filter: grayscale(0);
}
.navContainer .unseen {
    position: absolute;
    left: 60%;
    background: #448848;
    border-radius: 100px;
    padding: 5px 10px;
    margin-top: 0px;
}
@media (max-width: 768px) {
	.navContainer li {
		/* width: 50%; */
	}
	.navContainer li .icon-responsive {
		/* padding-bottom: 25%; */
	}
}
@media (max-width: 480px) { 
	.navContainer li {
		width: 100%;
	}
	.navContainer li h3 {
		text-align: left;
		margin: 8px 0px 8px 45px;
	}
	.navContainer li .icon-responsive {
		padding-bottom: 35px;
		width: 35px;
		margin-top: -35px;
	}
	.navContainer .unseen {
		left: 125px;
		padding: 0px 5px;
		margin-top: -30px;
	}
}

#galleryMenu .navContainer {
	display: flex;
	flex-wrap: wrap;
}
#galleryMenu .navContainer li {
	width: calc(100% / 6);
}
@media (max-width: 768px) {
	#galleryMenu .navContainer li {
		width: calc(100% / 3);
	}
}
@media (max-width: 480px) { 
	#galleryMenu .navContainer {
		flex-direction: column;
	}
	#galleryMenu .navContainer li {
		width: 100%;
	}
	#galleryMenu .navContainer li h3 {
		text-align: center;
		margin: 8px 0px;
	}
}

.modal .modal-content {
    background: #444;
    border-radius: 0px;
}
.modal .modal-header {
	border: none;
}
.modal .modal-header .close {
    color: inherit;
    text-shadow: none;
    opacity: 1;
    margin-top: -20px;
}

/* 
	gallery
*/
.gallery:before, .gallery:after {
	display: none;
}
.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    /* grid-auto-rows: minmax(200px, auto); */
    grid-auto-rows: 120px;
    grid-auto-flow: dense;
	grid-gap: 4px;
	justify-content: center;
	margin-bottom: 20px;
}
.gallery.videos {
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	grid-auto-rows: auto;
	grid-gap: 16px;
}
.gallery > * {
	display: flex;
	/* flex-direction: column; */
	align-items: center;
	justify-content: center;
	margin: 0;
	overflow: hidden;
}
.gallery > *:hover {
    outline: 1px solid rgba(255,255,255,0.1);
    outline-offset: -1px;
}
.gallery.videos > * {
	flex-direction: column;
	align-items: initial;
	justify-content: flex-end;
}
.gallery > .loading {
	cursor: wait;
	animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: placeHolderShimmer;
    animation-timing-function: linear;
    /* background: #f6f7f8; */
    background: linear-gradient(40deg, transparent 30%, #222 40%, #222 60%, transparent 70%);
    background-size: 1000px;
}
@keyframes placeHolderShimmer{
    0% { background-position-x: -500px; }
    100% { background-position-x: 500px; }
}
.gallery > .loading img {
	width: 40px;
}

.gallery > .span-2-cols {
    grid-column-end: span 2;
}
.gallery > .span-3-cols {
    grid-column-end: span 3;
}
.gallery > .span-2-rows {
    grid-row-end: span 2;
}
.gallery > .span-3-rows {
    grid-row-end: span 3;
}
@media (max-width: 768px) {
	.gallery > .span-3-cols {
		grid-column-end: span 2;
	}
	.gallery > .span-3-rows {
		grid-row-end: span 2;
	}
}
@media (max-width: 480px) { 
	.gallery > .span-2-cols {
		grid-column-end: span 1;
	}
	.gallery > .span-3-cols {
		grid-column-end: span 1;
	}
}

/* items  */
ul li.thumb {
	/* padding-right: 5px; */
	/* padding-left: 5px; */
	padding-right: 2px;
	padding-left: 2px;
	margin-bottom: 2px;
	margin-top: 2px;
}
ul li .thumb {
	display: flex;
	align-items: center;
	height: auto;
	max-height: 100px;
	padding: 0px;
	margin: 0px;
	overflow: hidden;
	/* border: 3px solid #ececec; */
	/* border-radius: 4px; */
}
ul li .thumb:hover {
	/* box-shadow: 0px 0px 0px 2px #fff999; */
	/* border: 3px solid #fff999; */
}
ul li img {
	width: 100%;
	transition: transform 0.5s;
	cursor: pointer;
}
ul li .fileThumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: start;
	text-align: center;
	padding-top: 5px;
}
ul li img.file {
    /* height: 64px; */
    width: auto;
    cursor: default;
}
ul li:hover img {
	transform: scale(1.05);
}
ul li .imgHover {
    display: none;
    position: absolute;
    align-self: flex-end;
    background: rgba(255,255,255,0.25);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 5px 15px 0px;
    width: 100px;
    justify-content: space-between;
}
ul li:hover .imgHover,
ul li .imgHover.checked {
    display: flex;
}

/* overlay */
.overlay {
	height: 100%;
	width: 100%;
	position: fixed; 
	z-index: 99; 
	left: 0;
	top: 0;
	background-color: rgba(0,0,0, 0.9);
	display: none;
}
.overlay .content {
	top: 10px;
	position: relative;
	margin: auto;
	width: 95%;
	/* max-width: 1200px; */
	max-height: calc(100% - 20px);
}
.overlay .prev,
.overlay .next {
	outline: none;
	text-decoration: none;
	cursor: pointer;
	position: absolute;
	display: flex;
	align-items: center;
	z-index: 3;
	top: 35px;
	width: auto;
	height: calc(100% - 35px);
	padding: 25px;
	margin-top: 0px;
	font-size: 35px;
	transition: 0.6s ease;
	user-select: none;
	-webkit-user-select: none;
}
.overlay .next {
	right: 0;
}
.overlay .prev:hover,
.overlay .next:hover {
	background-color: rgba(0, 0, 0, 0.5);
}
.overlay .closebtn {
	position: absolute;
	z-index: 3;
	top: 0px;
	right: 0px;
	padding: 0 20px;
	line-height: 35px;
	font-size: 40px;
	text-decoration: none;
}
.overlay .bigImage {
	position: relative;
	margin: auto;
	max-height: calc(100vh - 60px);
	/* border:  3px solid #ececec; */
	border-radius: 4px;
	cursor: zoom-in;
}
.overlay .imageTitle {
	text-align: center;
	padding: 2px;
	height: 35px;
	position: relative;
	color: #fff;
	font-size: 15px;
}

/* basic table */
table {
	width: 100%;
	margin-bottom: 20px;
}
table.overflow {
	display: block;
	overflow: auto;
}
thead tr {
	background-color: #4f4f4f;
	vertical-align: baseline;
}
th {
	padding: 10px 2px;
	text-align: center;
}
th small {
	font-size: 11px;
	font-weight: 400;
}
td {
	padding: 2px 10px;
	text-align: center;
	white-space: nowrap;
}
td:first-child {
	width: 75px;
	text-align: left;
}
tr:nth-child(even) {
	background-color: #4a4a4a;
}
tr:hover {
	background-color: #4f4f4f;
}
td.hover, th.hover {
	background-color: rgba(255, 255, 255, 0.03);
}
tfoot tr {
    background: transparent !important;
}
tfoot td {
    padding: 15px 0px 0px;
}
tfoot td .icon {
    margin-left: 8px;
}
.text-danger {
    color: var(--red);
}
.text-success {
    color: var(--green);
}

/* advanced table */
th.toggle, .toggleall, .toggleDoc {
	line-height: 1;
	cursor: pointer;
	text-decoration: underline;
}
.toggleall, .toggleDoc {
	margin-bottom: 20px;
}
.toggleYear {
	cursor: pointer;
}

td.txt {
	font-size: 11px;
	text-align: left;
	white-space: normal;
	word-break: break-word;
}
td.nodata {
	padding: 5px 20px;
	font-weight: 700;
}

td .icon,
.imgHover .icon {
	font-size: 18px;
	cursor: pointer;
	margin: 0px;
}
.imgHover .icon {
	font-size: inherit;
}
td .icon.hover,
.imgHover .icon.hover {
    filter: grayscale(1);
}
td .icon.hover:hover,
.imgHover .icon.hover:hover {
	color: #fff999;
    filter: grayscale(0);
}

/* files table */
#files > a {
    float: right;
    margin-left: 10px;
    text-decoration: none;
}
table.ftable {
	display: flex;
    flex-direction: column;
}
table.ftable thead tr {
	padding-right: 16px;
}
table.ftable tbody {
    display: flex;
    overflow-x: hidden;
    flex-direction: column;
	max-height: calc(100vh - 100px);
}
table.ftable tr {
    display: flex;
    align-items: stretch;
}
table.ftable tr.title {
    font-size: 15px;
	cursor: pointer;
}
table.ftable tr a {
    white-space: normal;
	word-break: break-word;
}
table.ftable th , 
table.ftable td {
	display: flex;
    align-items: center;
    min-width: 100px;
    width: 100px;
}
table.ftable th:first-child , 
table.ftable td:first-child {
    width: 100%;
}
table.ftable th:last-child , 
table.ftable td:last-child {
    justify-content: space-evenly;
}
table.ftable tfoot tr {
	background-color: #4f4f4f !important;
}
table.ftable tfoot td {
	padding: 10px 2px;
	justify-content: flex-start !important;
}

@media screen and (max-width: 992px) {
	table.ftable td {
		min-width: 80px;
		width: 80px;
	}
}
@media screen and (max-width: 768px) {
	table.ftable td.type {
		display: none;
	}
}
@media all and (max-width: 480px) { 
	table.ftable td.size {
		display: none;
	}
}

/* finance table */
table.finance td:nth-last-child(2),
table.finance td:last-child {
	width: 60px;
	font-weight: 600;
	text-align: right;
}
table.finance tr:last-child td:last-child {
	text-decoration: underline;
}
table.finance tr.initial,
table.finance tr.sum {
	font-size: 12px;
	font-style: italic;
    background-color: #4f4f4f;
}
table.finance tr.sum.sub {
    color: gray;
	text-decoration: underline;
}
table.finance tr.total {
    font-size: 16px;
	font-weight: 600;
    background-color: #4f4f4f;
}
table.finance tr.total .txt {
    font-size: 16px;
}

table.finance td.txt a {
    font-weight: 600;
    font-size: 90%;
}

/* marker */
.markerList {
	margin-bottom: 20px;
}
.marker span::before {
	content: '➖';
	margin-left: 5px;
}
.marker span.income,
table.finance.account tr.income {
    color: #77bb7a;
    color: #bbddbc;
}
.marker span.cash,
table.finance.account tr.cash {
    color: #c56d6d;
    color: #e2b6b6;
}
.marker span.petrol,
table.finance.account tr.petrol,
table.finance.account tr.car {
    color: #c1a471;
    color: #e0d1b8;
}
.marker span.food,
table.finance.account tr.food {
    color: #ba71c1;
    color: #ddb8e0;
}
.marker span.stuff,
table.finance.account tr.stuff,
table.finance.account tr.vet {
    color: #7177c1;
    color: #b8bbe0;
}
.marker span.land,
table.finance.account tr.land {
    color: #71b2c1;
    color: #b8d9e0;
}
.marker span.account,
table.finance.account tr.account {
    opacity: 0.3;
}
.marker span.open::after,
table.finance.account tr:not(.sum):not(.total):not(.initial) .txt::after {
	content: '❓';
	margin-left: 5px;
}
.marker span.check::after,
table.finance.account tr.check .txt::after,
table.finance.account tr.account .txt::after {
	content: '✔️' !important;
	margin-left: 5px;
}

.account-pie,
.account-chart {
    display: none;
}
.account-chart.show {
    display: block;
}

.progress.bg-due {
	background-color: #4f4f4f;
}
.progress-bar.bg-in {
	background-color: #3c763d;
	text-align: right;
}

.copytable {
	font-weight: 400 !important;
	text-decoration: none;
	text-shadow: 0px 0px 0px white;
	cursor: pointer;
}
.copytable.flash {
	font-weight: 800 !important;
	text-shadow: 0px 0px 10px white;
	transition: text-shadow 0.3s ease-in;
}

/* 
	Map
*/
#toggleFull {
    text-decoration: none;
}
#toggleFull::before {
	content: '◣';
	font-size: 10px;
	margin-right: -7px;
    vertical-align: bottom;
}
#toggleFull::after {
	content: '◥';
	margin-left: -15px;
}
#toggleFull.full::before {
	font-size: inherit;
	margin-right: -14px;
    vertical-align: middle;
}
#toggleFull.full::after {
	font-size: 10px;
    vertical-align: super;
	margin-left: -8px;
}
.is_full {
	position: fixed;
    width: 100%;
    margin: 0px !important;
}
#mapContainerBlocker,
#mapContainer {
    width:100%; 
	height: 600px; 
	margin: 10px 0px;
}
#mapContainerBlocker {
	position: relative;
	margin-top: -610px;
	padding-top: 300px;
	font-size: 23px;
	text-align: center;
	cursor: pointer;
	transition: background 1.5s ease;
	z-index: 9999;
}
#mapContainerBlocker:hover {
	background: rgba(0, 0, 0, 0.5);
}
#mapContainer.is_full {
    height: 100% !important;
    top: 0;
    left: 0;
    z-index: 990;
}
#mapToggles.is_full {
    top: 0;
    left: 0;
    z-index: 999;
    padding: 5px 50px;
    background: #444;
}
#mapInfos {
    background: #2f3238;
    padding: 15px;
}
#mapStats {
    padding-top: 5px;
    border-top: 1px solid #fff;
    margin-top: 5px;
}
#mapEdit.is_full {
    bottom: 0;
    left: 0;
    width: 280px;
    z-index: 999;
    padding: 5px 40px;
	background: #444;
}
#mapEdit a {
    text-decoration: none;
	padding: 0px 5px;
}
#mapEdit span a {
	font-size: 15px;
    /* display: inline-block;
    line-height: 22px;
    width: 22px;
    height: 22px;
    border-radius: 100%;
    border: 1px solid #fff; */
}
#mapCoordArray {
	font-size: 0.75em;
    max-height: 50px;
	margin: 10px 0px;
    overflow: auto;
}
span.copy {
    display: inline-block;
    transform: translate(-10px, -3px);
    width: 2px;
}
span.new {
    display: inline-block;
    transform: translate(-3px, -6px) scale(1.5);
    width: 4px;
}

#mapControls > div {
	display: flex;
}
#mapControls > div > span {
	min-width: 55px;
}

.H_imprint {
    display: none;
}
.H_ib {
    margin-top: -18px;
}
.H_ib_body {
	border-radius: 4px;
    background: #444;
    color: #fff;
    box-shadow: 0 0 4px 0 #000;
}
.H_ib.H_ib_top .H_ib_tail::after {
    border-top-color: #444;
    border-bottom-color: #444;
}
.H_ib_content {
	margin: 16px 36px 20px 16px;
    color: #fff;
}
.H_ib_content_txt {
	line-height: 1;
    margin-bottom: 10px;
}
.H_ib_content a {
	white-space: nowrap;
}

.H_map_label {
	/* color: red; */
	margin-top: -35px;
	cursor: pointer;
	user-select: none;
}
.H_map_label:hover {
    color: #fff999;
}
.H_map_label_txt {
	max-width: 76px;
    line-height: 1;
    text-align: center;
	text-shadow: 1px 1px 1px black;
	transform: translate(-50%, -100%);
	/* background: blue; */
}

.H_ctl.H_grp {
    background: none;
    box-shadow: none;
}
.H_btn {
    /* box-shadow: 0 0 4px 0 #000; */
    border-radius: 4px;
    background: #444;
}
.H_btn.H_active {
    background: #444;
}
.H_ctl > .H_btn {
    box-shadow: 0 0 4px 0 #000;
}
svg.H_icon {
    fill: #fff;
}
.H_btn:hover > svg.H_icon {
    fill: #fff999;
}
.H_active > svg.H_icon, .H_active:hover > svg.H_icon {
    fill: #fff999 !important;
}

.H_overlay {
    color: #fff;
    box-shadow: 0 0 4px 0 #000;
    border-radius: 4px;
    background: #444;
}
.H_overlay.H_bottom::after {
    border-left-color: #444;
}
.H_overlay .H_separator {
    background: #2f3238;
}
.H_overlay .H_btn:hover, 
.H_overlay .H_rdo li:hover,
.H_overlay .H_btn.H_active, 
.H_overlay .H_rdo.H_active li, 
.H_overlay .H_btn.H_active:hover, 
.H_overlay .H_rdo.H_active li:hover {
    color: #fff999;
}

.H_scalebar {
    text-shadow: 0 0 3px #000;
}
.H_scalebar svg polyline:first-child {
    stroke: #444 !important;
    stroke-width: 3px !important;
}
.H_scalebar svg polyline:last-child {
    stroke: #fff !important;
    stroke-width: 2px !important;
}

.row.foot > div { text-align: center; }
@media (min-width: 768px) {
	.row.foot > div:nth-child(1) { text-align: left; }
	.row.foot > div:nth-child(2) { text-align: center; }
	.row.foot > div:nth-child(3) { text-align: right; }
}


/* 
	calendar 
*/
:root {
	--pink: rgb(237, 133, 237);
	--red: rgb(233, 86, 86);
	--blue: rgb(156, 202, 235);
	--orange: rgb(247, 167, 0);
	--green: rgb(116, 162, 70);
	--yellow: rgb(249, 233, 0);
	--black: #000;
	--white: #fff;

	--col-hover: #fff999;
	--gray: #4f4f4f;
	--gray-hover: #4a4a4a;
}
.pink:before { content: "●"; color: var(--pink); }
.red:before { content: "●"; color: var(--red); }
.blue:before { content: "●"; color: var(--blue); }
.orange:before { content: "●"; color: var(--orange); }
.green:before { content: "●"; color: var(--green); }
.yellow:before { content: "●"; color: var(--yellow); }
.black:before { content: "●"; color: var(--black); }
.white:before { content: "●"; color: var(--white); }

.header {
	display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5px;
}
.header h2 {
	margin: 0;
	cursor: pointer;
}
.header .left .m:before {
	content: "◀";
}
.header .left .y:before {
	content: "◀◀";
}
.header .right .m:before {
	content: "▶";
}
.header .right .y:before {
	content: "▶▶";
}
.header .m:hover, .header .y:hover {
	color: var(--col-hover);
	cursor: pointer;
}
.header .m:before, .header .y:before {
	margin: 0px 10px;
}
.header .y:before {
	letter-spacing: -5px;
}

.legend {
	display: flex;
	flex-wrap: wrap;
    column-gap: 10px;
    padding: 5px 15px;
	background: var(--gray);
}
.legend .entry {
	display: flex;
    gap: 3px;
}

.month {
	padding: 0px 15px;
	opacity: 0;
}
.week {
	display: flex;
    flex-wrap: wrap;
}
.day {
	position: relative;
	display: flex;
    flex-direction: column;
    align-items: center;
	width: calc(100% / 7);
	/* padding: 10px; */
	cursor: pointer;
}
.day:hover {
	background: var(--gray-hover);
}

.day.other {
	opacity: 0.25;
}
.day.today {
	color: var(--col-hover);
}
.day.current {
	background: var(--gray);
}
.day:first-child,
.day:nth-child(7),
.day[data-calendar*="Holiday"] {
	box-shadow: 0px 0px 1px 0px var(--white) inset;
}

.day:before, .day:after {
	position: absolute;
	top: 18px;
	z-index: 1;
}
.day:before {
	left: 5px;
}
.day:after {
	right: 5px;
}

.day[data-calendar*="Birthday"]:after { content: '🎉' }

.day[data-moon]:before { filter: saturate(0); }
.day[data-moon="New"]:before { content: '🌑' }
/* .day[data-moon="Waxing Crescent"]:before { content: '🌒' } */
.day[data-moon="First Quarter"]:before { content: '🌓' }
/* .day[data-moon="Waxing Gibbous"]:before { content: '🌔' } */
.day[data-moon="Full"]:before { content: '🌕' }
/* .day[data-moon="Waning Gibbous"]:before { content: '🌖' } */
.day[data-moon="Last Quarter"]:before { content: '🌗' }
/* .day[data-moon="Waning Crescent"]:before { content: '🌘' } */

.day > div {
	width: 100%;
	text-align: center;
}
.day .day-name {
	padding-top: 18px;
	font-size: 0.7em;
	text-transform: uppercase;
	opacity: 0.5;
}
.day:hover .day-name,
.day.current .day-name {
	opacity: 1;
}
.day .day-number {
	font-size: 1.4em;
}
.day .day-events {
	display: flex;
	justify-content: center;
	height: 15px;
    align-items: end;
}

.day > div:before, .day > div:after {
    position: absolute;
    top: 5px;
	font-size: 9px;
	filter: saturate(0);
	transition: filter 0.5s ease;
}
.day:hover > div:before, .day:hover > div:after,
.day.today > div:before, .day.today > div:after,
.day.current > div:before, .day.current > div:after {
	filter: saturate(1);
}
.day[data-season*="Spring"] .day-events::before { content: "🌼" }
.day[data-season*="Summer"] .day-events::before { content: "🌞" }
.day[data-season*="Autumn"] .day-events::before { content: "🍂" }
.day[data-season*="Winter"] .day-events::before { content: "❄️" }
.day[data-season*="Solstice"] .day-events:before,
.day[data-season*="Equinox"] .day-events:before { 
	content: '🌞';
	filter: saturate(1); 
	font-size: 0.8em;
}

.day[data-work*="Cleanup"] .day-number::after { 
	content: "👨‍🌾";
	left: 20px;
}
.day[data-work*="Fire"] .day-events::after { 
	content: "🔥";
	right: 20px;
}

.details {
	position: relative;
	width: 100%;
  	background: var(--gray);
}
.details .events {
	padding: 5px 25px 15px;
	opacity: 0;
}
.events .event,
.events .event > div {
	display: flex;
	gap: 3px;
}
.events .event.empty {
	color: #eee;
}
.events .event-category {
	height: 5px;
	width: 5px;
	border-radius: 5px;
	margin: 0 5px 0 0;
}

.events *[data-toggle] {
    cursor: pointer;
}
.events .event-series {
    margin-left: 5px;
	cursor: default;
}
.events .event-copy,
.events .event-edit,
.events .event-delete {
	filter: saturate(0);
	opacity: 0;
}
.events .event:hover .event-copy,
.events .event:hover .event-edit,
.events .event:hover .event-delete {
	opacity: 1;
}
.events .event .event-copy:hover,
.events .event .event-edit:hover,
.events .event .event-delete:hover {
	color: var(--col-hover);
    filter: saturate(1);
}
.events .event.add {
    position: absolute;
    right: 10px;
    bottom: 10px;
    cursor: pointer;
}
.events .event.add:hover {
	color: var(--col-hover);
}

.calendar-list {
	max-height: 500px;
	overflow: auto;
}
.calendar-list .list-item {
    padding-bottom: 15px;
}
.calendar-list .list-item:hover {
	background: var(--gray-hover);
}
.calendar-list .list-item .title {
    background: var(--gray);
    padding: 10px 15px;
	margin-bottom: 5px;
}
.calendar-list .list-item .title h3 {
    margin: 0;
}
.calendar-list .list-item .event {
    padding: 0px 25px;
}
.calendar-list .list-item.today {
    margin-bottom: 10px;
}
.calendar-list .list-item.today .title {
	color: var(--col-hover);
    padding: 15px 15px;
}
.calendar-list .more {
	line-height: 2;
    cursor: pointer;
}
.calendar-list .more:hover {
	color: var(--col-hover);
	background: var(--gray-hover);
}

.modal .modal-title > div {
	display: flex;
	gap: 3px;
}
.modal form > div,
.modal .modal-body > div {
	display: flex;
	flex-direction: column;
	padding: 10px 15px;
}
.modal form > div:hover {
	background: var(--gray-hover);
}
.modal .event-calendar-new,
.modal .event-series {
	margin-left: 15px;
	border-left: 15px solid var(--gray);
}
.modal .event-create {
    flex-direction: row !important;
    justify-content: end;
    gap: 10px;
}
.modal .event-create:hover {
	background: none;
}
.modal label {
	cursor: pointer;
}
.modal label.radio-label {
	font-weight: 400;
}
.modal select,
.modal input[type=date],
.modal input[type=number],
.modal input[type=submit] {
	width: max-content;
}
.modal .event-calendar-entry {
	position: relative;
	background: transparent;
}
.modal .event-calendar-entry:before {
	position: absolute;
    top: 5px;
    left: 10px;
}
.modal select[name="event-calendar"] {
	padding-left: 15px;
}