/*
============
SMALL DATE FORMATS
============
*/

article .datebox {
	box-shadow: 0 0 2px 0 rgba(0,0,0,.5);
}
article a .datebox {
	text-decoration:none;
}

.sdf1 .datelink {
	display:block;
}

.sdf1 .datebox {
	display:block;
	font-weight:bold;
}

.sdf2 .datebox {
	display:inline-block;
	margin:0 1rem 4px 0;
	padding:6px 18px;
	background:#444;
	color:#fff;
	width:100px;
	background:var(--theme_background_1);
	color:var(--theme_foreground_1);
	border-radius: 3px;
	webkit-border-radius: 3px;
	text-transform:uppercase;
	text-decoration:none;
}
	.sdf2 .upcoming-events .datebox {
		background:var(--theme_background_2);
		color:var(--theme_foreground_2);	
	}

.sdf3 .datebox {
	display: grid;
	float: left;
	font-size: .8rem;
	margin-right: 1em;
	min-width: 50px;
	background:#444;
	color:#fff;
	background:var(--theme_background_1);
	color:var(--theme_foreground_1);
	font-weight:bold;
	line-height: 1.2em;
	text-align: center;
	border-radius: 3px;
	webkit-border-radius: 3px;
	text-decoration:none;
}
	.sdf3 .upcoming-events .datebox {
		background:var(--theme_background_2);
		color:var(--theme_foreground_2);
	}
	.sdf3 .datebox span:nth-child(1) {
		font-size:1.2rem;
		padding:3px 9px 0 9px;
	}
	.sdf3 .datebox span:nth-child(2) {
		text-transform:uppercase;
		padding:2px 9px 0 9px;
	}
	.sdf3 .datebox span:nth-child(3) {
		padding:0 9px 3px 9px;
	}

.sdf4 .datebox {
	display: grid;
	grid-template-columns:3fr 2fr;
	gap:8px 3px;
	
	float: left;
	margin-right:1em;
	min-width: 60px;
	background:var(--theme_background_1);
	color:var(--theme_foreground_1);
	border:6px solid var(--theme_background_1);
	font-weight:bold;
	border-radius: 9px;
	webkit-border-radius: 9px;
	text-decoration:none;
}
	.sdf4 .upcoming-events .datebox {
		background:var(--theme_background_2);
		color:var(--theme_foreground_2);
		border:6px solid var(--theme_background_2);	
	}
	.sdf4 .datebox span {
		font-style:normal !important;
		margin:0 !important;
		line-height:1;
	}
	.sdf4 .datebox span:nth-child(1) {
		grid-row: 1;
		grid-column: 1 / 3;
		font-size:1.5rem;
		justify-self:center;
		align-self:center;
	}
	.sdf4 .datebox span:nth-child(2) {
		grid-row:2,
		grid-column:1;
		text-transform:uppercase;
		font-size:0.7rem;
		justify-self:end;
		align-self:center;
	}
	.sdf4 .datebox span:nth-child(3) {
		grid-row:2,
		grid-column:2;
		font-size:0.7rem;
		justify-self:start;
		align-self:center;
	}




/*
============
LEAFLET MINI MAP
============
*/

.leaflet-control-minimap {
    border:solid rgba(255, 255, 255, 1.0) 3px;
    box-shadow: 0 1px 7px #999;
    background: #f8f8f9;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    transition: all .2s;
}

.leaflet-control-minimap a {
    background-color: rgba(255, 255, 255, 1.0);
    background-position: 1px 2px;
    background-repeat: no-repeat;
    display: block;
    outline: none;
    z-index: 99999;
    transition: all .2s;
}

.leaflet-control-minimap a.minimized {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.leaflet-control-minimap-toggle-display {
    background-image: url('https://web-cdn.org/js/leaflet/icons/toggle.png');
    border-radius: 2px 0px 2px 0px;
    height: 19px;
    width: 19px;
    position: absolute;
    bottom: 0;
    right: 0; 
}