:root   { 
	--pi: 3.14159265358979;
	--gutter-x: 1.5rem;
	--gutter-y: 0;
	--container_max_width: 1400px;
	--sidebar_width: 15em;
	--nav_icon_size  : 1.50rem;

	@media (max-width: 768px) { --nav_item_height: 2.50rem; --nav_padding: 0.50rem; } /* mobile */ 
	@media (min-width: 768px) { --nav_item_height: 2.00rem; --nav_padding: 0.50rem; } /* desktop */ 

	@media (max-width: 768px) { --container_padding  : 0.50rem; --container_gap: 1.00rem; } /* mobile - portrait */ 
	@media (max-width:1000px) { --container_padding  : 0.50rem; --container_gap: 1.00rem; } /* mobile - landscape */ 
	@media (min-width:1000px) { --container_padding  : 2.00rem; --container_gap: 2.00rem; } /* desptop */
}


.hidden { display: none !important; filter:opacity(0);}

html, body {
	margin  : 0;
	padding : 0;
	height  : 100%;
	font-size: 13pt;
	scroll-behavior: smooth;
	scrollbar-gutter: stable;
	scroll-padding-top: calc(3rem + var(--container_gap));
}

html {box-sizing: border-box;}
*, *:before, *:after {box-sizing: inherit;}


page {
	min-height: 100vh;
	display: grid;
	grid-template-rows: auto 1fr auto;
	align-items: start;
}



top_bar, header, main, footer {
	display       : grid;
	align-items   : center; 
}

container { 
	width         : 100vw; 
	max-width     : var(--container_max_width); 
	display       : grid;
	align-items   : center;
	margin-left   :auto;
	margin-right  :auto;
	margin-top    : 0.00rem;
	margin-bottom : 0.00rem;
	padding-left  : var(--container_padding);
	padding-right : var(--container_padding);
	gap           : var(--container_gap);
}

main container {
	padding-top  : var(--container_padding);
	padding-bottom : var(--container_padding);
}


top_bar, header, footer { height     : 3rem  ; }
top_bar, footer         { text-align : center; }

header { top   :0rem; z-index:1001; border-bottom:0.025em solid transparent; position: sticky  ; }
footer { bottom:0rem; z-index: 998; border-top   :0.025em solid transparent; position: relative; }

main container {
	align-items   : start; 
	grid-template-columns: 1fr;
	grid-auto-rows: auto;
	transition: gap 0.5s ease-in-out, padding 0.5s ease-in-out;


	toc { grid-column:1; grid-row: 1; } /* force TOC to top */

	@media (min-width: 768px) { /* desptop */
		grid-template-columns: var(--sidebar_width) 1fr;
		toc       { grid-column: 1; grid-row: 1; position: sticky; top:calc(3.00rem + (1 * (0.25rem + var(--container_padding)))                    ); width: var(--sidebar_width); }
		sidebar   { grid-column: 1; grid-row: 2; position: sticky; top:calc(3.00rem + (2 * (0.25rem + var(--container_padding))) + var(--toc-height)); width: var(--sidebar_width); }
		sidebar.overflow { grid-column: 2; grid-row: 4; position: relative; top:unset; width: unset; }
		content   { grid-column: 2; grid-row: 1/4; }
		solo      { grid-column: 1/-1; grid-row: 1/-1; }
	}

}





footer img.logo { height:1.5rem; width: 1.5rem; margin-top: -0.125rem;}

.notice, .notice_alt {
	padding: 0.5rem 0.5rem 0.25rem 0.5rem; 
	margin-top: 0.5rem; 
	margin-bottom: 0.5rem;
}


@media all                       and (max-width:33rem) { main { th.maybe_hide,td.maybe_hide {display:none;} th.likely_hide,td.likely_hide {display:none;} } }
@media all and (min-width:33rem) and (max-width:45rem) { main { th.maybe_hide,td.maybe_hide {             } th.likely_hide,td.likely_hide {display:none;} } }
@media all and (min-width:45rem) and (max-width:60rem) { main { th.maybe_hide,td.maybe_hide {             } th.likely_hide,td.likely_hide {display:none;} } }
@media all and (min-width:60rem)                       { main { th.maybe_hide,td.maybe_hide {             } th.likely_hide,td.likely_hide {             } } }


/* Headings */
h1, h2, h3 { padding: 0.25rem 0 0 0; border:0; display: block; transition: all 0.333s ease-in-out; mdi svg {transition: all 0.333s ease-in-out; } }
h1, h2, h3 { mdi { margin-top:-0.50rem; } }

h4, h5, h6 { padding: 0.25rem 0 0 0; border:0; display: block; transition: all 0.333s ease-in-out; mdi svg {transition: all 0.333s ease-in-out; } }
h4, h5, h6 { mdi { margin-top:-0.50rem; } }


main {
	h1, h2, h3         { width:100%; }
	h4, h5, h6         { width:100%; }
	h1                 { border-bottom:0.200rem solid transparent; }
	h2                 { border-bottom:0.125rem solid transparent; }
	h3                 { border-bottom:0.075rem solid transparent; }
	h1                 { margin:3.00rem 0 0.25rem 0; }
	h4                 { margin:0.00rem 0 0.25rem 0; }
	h2, h5             { margin:0.00rem 0 0.25rem 0; }
	h3, h6             { margin:0.00rem 0 0.25rem 0; }
	h1:first-of-type   { margin-top: 0.00rem; }
	cta + h1,cta + h2  { margin-top: 2.00rem; }

	toc h1, sidebar h1 {
		margin        : -0.125rem 0 0.25rem 0 !important;
		padding-top   : calc(0.125rem - 1px)  !important;
		border-bottom : 0.200rem solid transparent;
		line-height   : 2rem !important;
	}

	toc h2, sidebar h2 {
		margin        : -0.125rem 0 0.25rem 0 !important;
		padding-top   : calc(0.125rem - 1px)  !important;
		border-bottom : 0.125rem solid transparent;
		line-height   : 1.5rem !important;
	}

}




sidebar img { 
	width: 100%;
	object-fit: contain;
}

table   { margin-top:0.50rem; border:0.125rem solid transparent; max-width: calc(100%); }
table * { transition: background-color 0.125s ease; }

table > thead { border-bottom:0.100rem solid transparent; }
table > tbody { }
table > tfoot { border-top   :0.100rem solid transparent; }

table > thead { th,td { border:0.010rem solid transparent; text-align:left; vertical-align: middle; line-height  :1.50;    }}
table > tbody { th,td { border:0.010rem solid transparent; text-align:left; vertical-align: top   ; line-height  :1.50;    }}
table > tfoot { th,td { border:0.010rem solid transparent; text-align:left; vertical-align: middle; line-height  :1.50;    }}

table > thead { th,td {padding:0.25rem; margin-bottom:0.25rem; } }
table > tbody { th,td {padding:0.25rem;                       } }
table > tfoot { th,td {padding:0.25rem; margin-top   :0.25rem; } }

table, table#indexlist {
	th.indexcolicon   ,td.indexcolicon    { text-align: center  ; } /* Icon column          */
	th.indexcolname   ,td.indexcolname    { text-align: left    ; } /* File name column     */
	th.indexcollastmod,td.indexcollastmod { text-align: center  ; } /* Last modified column */
	th.indexcolsize   ,td.indexcolsize    { text-align: right   ; } /* File size column     */
	th.indexcoldesc   ,td.indexcoldesc    { text-align: justify ; } /* Description column   */
}


/* paragraphs */
main {
	p, li  { display:block; margin: 0 0 0.5rem 0; line-height: 1.50; text-align:justify; }
	author { display:block; margin: 0 0 0.5rem 0; line-height: 1.00; text-align:justify; }
	/*article  p:first-of-type:first-letter { font-size: 150%; }*/
}

.pad_SS { padding:0      0      0.1rem 0     ; }
.pad_SW { padding:0      0      0.1rem 0.1rem; }
.pad_WW { padding:0      0      0      0.1rem; }
.pad_NW { padding:0.1rem 0      0      0.1rem; }
.pad_NN { padding:0.1rem 0      0      0     ; }
.pad_NE { padding:0.1rem 0.1rem 0      0     ; }
.pad_RE { padding:0      0.1rem 0      0     ; }
.pad_SE { padding:0      0.1rem 0.1rem 0     ; }

int    ,.int     { text-align: right; }
float  ,.float   { text-align: right; }
percent,.percent { text-align: right; }
bool   ,.bool    { text-align: center; }

badge, click, input {
	display: inline-block;
	vertical-align : middle;
}

mdi { width:1rem; }

keypad {
	display        : inline-block;
	text-align     : center;
	height         : 1.5rem;
	min-width      : 1.5rem;
	padding        : 0 0.25rem 0 0.25rem !important;
	margin         : 0.0625rem 0.125rem 0.25rem 0.125rem !important;
	border         : 0.0625rem solid transparent;
	border-radius  : 0.125rem;
	}

lcd_mdi,lcd_dot,lcd_seg {
	display        : inline-block;
	text-align     : center;
	height         : 1.5rem;
	min-width      : 1.5rem;
	padding        : 0 0.25rem 0 0.25rem !important;
	margin         : 0.0625rem 0.125rem 0.25rem 0.125rem !important;
	border         : 0.0625rem solid transparent;
	border-radius  : 0rem;
	}

badge {
	text-align     : center;
	padding        : 0.25rem !important;
	margin         : -0.0625rem 0.125rem 0.25rem 0.125rem !important;
	border         : 0.0625rem solid transparent;
	border-radius  : 0.25rem;
	}

click {
	text-align     : center;
	padding        : 0.25rem !important;
	margin         : 0 0.25rem 0 0.25rem !important;
	border         : 0.0625rem solid transparent;
	border-radius  : 0.25rem;
	cursor         : pointer;
	}

input {
	padding        : 0.25rem !important;
	margin         : 0 0.25rem 0 0.25rem !important;
	border-radius  : 0.25rem;
	border-width   : 0.0625rem !important;
	border-style   : solid;
	border-color   : transparent;
	cursor         : pointer;
	line-height: 1.25rem;
	width          : 10rem;
	}

select {
	padding        : 0.25rem !important;
	margin         : 0 0.25rem 0 0.25rem !important;
	border-radius  : 0.25rem;
	border-width   : 0.0625rem !important;
	border-style   : solid;
	border-color   : transparent;
	line-height: 1.25rem;
	cursor         : pointer;
	}


button, .valign-with-button {
	position       : relative;
	display        : inline-block;
	margin         : 0.125rem;
	padding        : 0.25rem !important;
	margin-inline  : 0.25rem;
	vertical-align : middle;
	text-align     : center;
	line-height    : 1.375rem;
	min-width      : 2.0rem;
	min-height     : 2.0rem;
	border-radius  : 0.25rem;
	border-width   : 0.0625rem !important;
	border-style   : solid;
	border-color   : transparent;
	}

button.w-25  { width: calc( 25% - 0.5rem) !important; }
button.w-50  { width: calc( 50% - 0.5rem) !important; }
button.w-75  { width: calc( 75% - 0.5rem) !important; }
button.w-100 { width: calc(100% - 0.5rem) !important; }

blockquote {
	display        : block;
	margin         : 0 0 1.0rem 0;
	padding        : 0.25rem 0.5rem !important;
	vertical-align : middle;
	line-height    : 1.375rem;
	width          : 100%;
	min-height     : 2.0rem;
	border-radius  : 0.25rem;
	border-width   : 0.0625rem !important;
	border-style   : solid;
	border-color   : transparent;
	}

.valign-with-button { 
	margin        : unset !important;
	margin-inline : unset !important;
	padding-left  : unset !important;
	padding-right : unset !important;
	}

button {
	cursor         : pointer;
}

button + p { margin-top: 0.5rem; }

button.disabled, button.noclick { cursor : default; }
button.forbidden { cursor : not-allowed; }



input[type=checkbox] {
	width          : 0.67rem;
	height         : 0.67rem;
	border         : 0.03125rem solid transparent;
	border-radius  : 0.25rem;
	margin         : 0.3125rem 0.67rem 0.3125rem 0.67rem !important;
	/* Double-sized Checkboxes */
	-ms-transform     : scale(2); /* IE */
	-moz-transform    : scale(2); /* FF */
	-webkit-transform : scale(2); /* Safari and Chrome */
	-o-transform      : scale(2); /* Opera */
	transform         : scale(2);
}

.pie_chart { svg { .outer   {stroke-width: 0.0625rem;} } }


.faux_transparent { background:url('assets/img/faux_transparent.gif'); }

nowrap,.nowrap { white-space: nowrap; }
.nomargin      { margin-top :0;margin-right :0;margin-bottom :0;margin-left :0; /*expanded to override scope */ }
.nopadding     { padding-top:0;padding-right:0;padding-bottom:0;padding-left:0; /*expanded to override scope */ }
.noborder      { border-top :0;border-right :0;border-bottom :0;border-left :0; /*expanded to override scope */ }
.noborders     { border: none !important; tr, th, td {border: none !important; } }
.fullwidth     { width : 100%; }
.fullheight    { height: 100%; }
.valign_middle { vertical-align: middle; dominant-baseline: central; }
.valign_top    { vertical-align: top; dominant-baseline: hanging; }

.herein_nowrap    *{ white-space: nowrap; }
.herein_nomargin  *{ margin-top :0;margin-right :0;margin-bottom :0;margin-left :0; /*expanded to override scope */ }
.herein_nopadding *{ padding-top:0;padding-right:0;padding-bottom:0;padding-left:0; /*expanded to override scope */ }
.herein_noborder  *{ border-width:0; /*expanded to override scope */ }
.herein_fullwidth *{ width      :   100%; }
.herein_valign_middle *{ vertical-align: middle; dominant-baseline: central; }

img.logo, mdi { vertical-align:middle; /*transform:scaleX(1);*/ }
.debug { border: 2px dashed transparent; }

.text_left      { text-align: left   ; }
.text_center    { text-align: center ; }
.text_right     { text-align: right  ; }
.text_justify   { text-align: justify; }
.center         { margin-left: auto; margin-right: auto; }
.center_on_page { display: grid; place-items: center; height: 100%; div { display:inline-block; } }

.herein_text_left    *{ text-align: left   ; }
.herein_text_center  *{ text-align: center ; }
.herein_text_right   *{ text-align: right  ; }
.herein_text_justify *{ text-align: justify; }
.herein_center       *{ margin-left: auto; margin-right: auto; }



main ul, main ol {
	counter-reset : item;
	list-style    : none;
	margin-left   : 0rem;

	li {
		counter-increment: item;
		position    : relative;
		padding-left: 2.0rem   ;
		text-align  : justify ;
		p { margin:0; text-indent:0; font-weight:normal; }
	}

}

main ul li::before {
	content   : "\2731"      ;
	position  : absolute     ;
	left      : 0            ;
	top       : 0            ;
	font-size : 1rem          ;
	width     : 1.5rem        ;
	display   : inline-block ;
	text-align: left         ;
}

main ol li::before {
	content   : counter(item) '.';
	position  : absolute     ;
	left      : 0            ;
	top       : -0.25rem      ;
	font-size : 1.5rem        ;
	width     : 2.0rem        ;
	display   : inline-block ;
	text-align: left         ;
		font-weight : bold    ;
}



div.response { 
		vertical-align : middle;
		padding        : 0.25rem;
		border: 1px solid transparent;
		border-radius  : 0.25rem;
}


/*=======================================
*  overlay
*======================================*/
blur_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	backdrop-filter: blur(5px);
	background: rgba(0, 0, 0, 0.4); /* shade */
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 1000;

}

blur_overlay.active {
	opacity: 1;
	pointer-events: all;
}



sidebar {
	padding       : 0.00rem 0.50rem 0.50rem 0.50rem; 
	border        : 1px solid transparent;
	border-radius : 0.25rem;
	permalink { margin-top: 0.25rem; }
}

/*=======================================
*  toc
*======================================*/
toc {
	padding       : 0.00rem 0.50rem 0.50rem 0.50rem; 
	border        : 1px solid transparent;
	border-radius : 0.25rem;
	permalink { margin-top: 0.25rem; }


	.clearfix::after {
		content: "";
		display: table;
		clear: both;
	}

	ul.toc {
		counter-reset : item;
		list-style    : none;
		margin-left   : 0rem;
		li {
			line-height      : 2rem   ;
			white-space      : wrap   ; /* we'll use avoidwrap, which requires this CSS here */
			transition       : all 0.125s ease-out;
			padding          : 0rem calc(0.5rem - ((5/24)*1rem)); /* 0.5rem minus the standard padding of mdi icons (in rems) */
			margin           : 0 ;
			border           : 1px solid transparent;
			border-radius    : 0.25rem  ;
			width            : 100%     ;
			cursor           : pointer  ;
			user-select      : none     ;
			counter-increment: item     ;
			position         : relative ;
			text-align       : left     ;
			cursor           : pointer  ;
			mdi, img {
				vertical-align: baseline;
				transform: translateY(0.125rem);
				width :1.00rem;
				height:1.00rem;
			}

		}
	}

	toc_tree {
		vertical-align: middle;
		white-space: pre;
		display    : inline-block;
		font-family: _monospace;
		font-size: 1.666rem;
	}
	
	ul.toc li::before {
		content   : ""           ;
		position  : absolute     ;
		left      :  0           ;
		top       :  0           ;
		font-size :  1.00rem     ;
		width     :  1.50rem     ;
		display   : inline-block ;
		text-align: left         ;
	}
	
	ol.toc li::before {
		content   : counter(item) '.';
		position  : absolute     ;
		left      :  0           ;
		top       : -0.25rem     ;
		font-size :  1.50rem     ;
		width     :  2.00rem     ;
		display   : inline-block ;
		text-align: left         ;
	}

}


/*=======================================
*  nav
*======================================*/
nav_icon {
	position : sticky;
	top      : calc(var(--nav_icon_size) / 2);
	width    : var(--nav_icon_size);
	height   : var(--nav_icon_size);
	mdi, img {
		width  : var(--nav_icon_size);
		height : var(--nav_icon_size);
	}

}

nav_icon[data-state="opened"] { left: calc(0.25rem + 5*var(--nav_padding)); display: none; }
nav_icon[data-state="closed"] { left: calc(0.25rem + 5*var(--nav_padding)); display: none; }
@media(max-width:767px) {
	nav_icon[data-state="opened"] { display: unset; }
	nav_icon[data-state="closed"] { display: unset; }
}


nav {
	overflow-x: hidden;
	max-height: calc(100vh - 3rem - (2*var(--nav_padding)));
	overflow-y: auto;          /* ← this is the key line */
	overscroll-behavior: contain; /* ← prevents scroll chaining to background */

	border          : 0px solid transparent;
	border-radius   : 0.25rem;
	cursor          : default;
	user-select     : none;
	height          : var(--nav_item_height);
	display         : flex;
	flex-flow       : row nowrap;
	justify-content : flex-start;
	margin          : 0 calc(var(--nav_padding) * -1); /* offset for the padding of menu and item */
	gap             : 0;

	mdi, img, i {
		flex-shrink: 0;
	}


	menu_icon, menu, item {
		padding         : var(--nav_padding);
		display         : flex;
		align-items     : center;
		justify-content : flex-start;
		border          : 1px solid transparent; 

		white-space     : nowrap;
		border-radius   : 0.25rem;
		column-gap      : 0.50rem;
		mdi, img {
			height : var(--nav_icon_size);
			width  : var(--nav_icon_size);
		}
	}

		menu>item {
			top     : 0;
			padding : 0 calc(var(--nav_padding) / 2);
			height  : var(--nav_item_height);
			position: relative;
		}

	menu>items {
		margin-left: calc(var(--nav_padding) * -1);

		padding       : calc(var(--nav_padding) / 2);
		border        : 1px solid transparent;
		border-radius : 0.25rem;
		top           : calc(var(--nav_padding) / 2 + 3rem);
		position      : absolute;
		display       : grid;
		min-width     : 15rem;
	}

	menu>items>item {
		height: var(--nav_item_height);
	}

	menu>item, menu>items>item {
		transition: color 0.125s ease-in-out, background 0.125s ease-in-out, filter 0.125s ease-in-out;
	}


	/* Dropdown chevron */
	i.dropdown {
		vertical-align  : middle;
		content: "";
		display: inline-block;
		width : 1em; /* use em, should be relative to the ul, not root element */
		height: 1em; /* use em, should be relative to the ul, not root element */
		margin-left :calc(5 / 24 * -1rem); /* svg is 24px square with a 5px margin baked-in */
		margin-right:calc(5 / 24 * -1rem); /* svg is 24px square with a 5px margin baked-in */
		mask: none; /* url("data:image/svg+xml,<svg ... */
		transition: transform 0.25s ease-in-out;
		mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M19,10.61L17.59,9.2L12,14.79L6.41,9.2L5,10.61L12,17.61L19,10.61Z'></path></svg>") center / contain no-repeat;
	}
	i.dropdown.active { transform: translateY(0.25rem); }


	@media(max-width:767px) {

		nav_icon[data-state="opened"] { display: unset; }
		nav_icon[data-state="closed"] { display: unset; }

		padding: var(--nav_padding);
		border-width    : 1px;
		margin          : 0;
		position        : absolute;
		top             : 3.50rem;
		left            : 0.50rem;
		flex-flow       : column nowrap;

		background-color: var(--bg_def_1);
		width : calc(100vw - 1.00rem);
		height: max-content;
		/*height: calc(100vh - 4.00rem);*/
		
		menu, menu>items {
			transition: color 0.125s ease-in-out, background 0.125s ease-in-out, filter 0.50s ease-in-out, height 0.50s ease-in-out;
		}
		
		menu {
			height  : var(--nav_item_height);
			flex-flow : row wrap;
			justify-content: flex-start;
			align-content: flex-start;
			align-items: flex-start;
			width: 100%;
			row-gap: 0;
			padding: 0;
		}

		menu>item {padding:0 calc(3*var(--nav_padding) + 1px);}

		menu>items {
			margin: var(--nav_padding);
			overflow   : hidden;
			transition : all 0.50s ease-in-out;
			top        : 0;
			height     : 0;
			padding    : var(--nav_padding);
			flex-basis : 100%;
			display    : block;
			position   : relative;
		}

		menu>item, menu>items>item {
			width:100%;
			justify-content: flex-start;
			min-height: var(--nav_item_height);
		}

	i.dropdown.active { transform: rotate(-180deg); }

		/*
		menu.active { left: 50%; transform : translateX(-50%); }
		menu        { left: calc( -1 * ( 100% + 1rem) ); }
		menu {
			top            : calc(var(--container_padding) + 1.5rem);
			margin-top     : 1.50rem;

			width          : 100%;
			padding-left   : 0.00rem;
			padding-right  : 0.00rem;
			margin-right   : auto;
			margin-left    : auto;

			border         : 1px solid transparent;
			position       : fixed;
			gap            : 0;
			flex-direction : column;
			transition     : 0.7s ease-in-out;
		}
		*/
	}
}






permalink {
	position   : relative;
	cursor     : pointer;
	display    : inline-block;
	float      : right;
	transition : 0.125s ease-in-out;
}
permalink .hint {
	position   : absolute;
	width      : 8rem;
	text-align :right;
	right      : 24px;
	bottom     :  4px;
}
permalink       .default { opacity:  50%; transition : 0.125s ease-in-out; }
permalink:hover .default { opacity: 100%; }


img.logo, mdi { display: inline-block; }



address { display: inline-block; text-align: left; }




.preview {
	position: relative;
	height: 7.5rem;
	overflow: hidden;
}

.preview img {
	width: 100%;
	object-fit: contain;
	display: block;
}

.preview::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 5rem;
	pointer-events: none;
}

star::before { content: "\2731"; }

block {
	display        : block;
	padding-bottom : 1.00rem;
	> *:last-child { margin-bottom: 0 !important; }
	&:last-of-type { margin-bottom: 0; }
}



cta { padding-top: 1rem; }
cta block { margin-bottom  : 1.00rem; }


/*--------------------------------------------------------------
Call-To-Action block
--------------------------------------------------------------*/
cta {display: block;}
/*cta > *:first-child { padding-top   : 1.00rem; }*/
cta > *:last-child  { padding-bottom: 1.25rem; }
cta { position: relative; }
cta::after {
	content: "";
	position: absolute;
	top       :   50%;
	right     : min(0px - var(--container_padding), calc(0px - (var(--container_padding) + (100vw - var(--container_max_width)) / 2)));
	width     :  100vw;
	height    :  100%;
	transform: translate(0%,-50%);
	z-index   : -1;
}
cta:last-of-type       { margin-bottom: -1.0rem; }
cta:not(:last-of-type) { margin-bottom:  0.0rem; }


div.flex_container {
	img { width:100%; }
	display  : flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap:var(--container_gap);

	&>div.flex_item { flex: 1 0 0; min-width: var(--sidebar_width); }
	&>div.flex_fr9  { flex: 9 0 0 !important; }
	&>div.flex_fr8  { flex: 8 0 0 !important; }
	&>div.flex_fr7  { flex: 7 0 0 !important; }
	&>div.flex_fr6  { flex: 6 0 0 !important; }
	&>div.flex_fr5  { flex: 5 0 0 !important; }
	&>div.flex_fr4  { flex: 4 0 0 !important; }
	&>div.flex_fr3  { flex: 3 0 0 !important; }
	&>div.flex_fr2  { flex: 2 0 0 !important; }
	&>div.flex_fr1  { flex: 1 1 0 !important; }
	&>div.flex_fr0  { flex: 0 1 0 !important; }
	&>div.flex_sm   { min-width: calc(var(--sidebar_width) -  5rem) !important; }
	&>div.flex_md   { min-width: calc(var(--sidebar_width) +  5rem) !important; }
	&>div.flex_lg   { min-width: calc(var(--sidebar_width) + 10rem) !important; }

	&:not(:last-child) {margin-bottom:var(--container_gap);}
}

div.flex_container.row-reverse    { flex-direction: row-reverse   ; }
div.flex_container.column-reverse { flex-direction: column-reverse; }

div.caption_area {
	img { 
		border-radius: 0.25rem; 
		width: 100%;
	}

	border-radius  : 0.25rem;
	border-width   : 0.0625rem !important;
	border-style   : solid;
	border-color   : transparent;
	padding       : 0.25rem 0.25rem 0 0.25rem;
	.caption_text { 
		text-align : justify;
		line-height: 1.5rem;
	}
	&>*:last-child:not(p,img) { padding-bottom: 0.25rem; }
}

callsign { text-transform: uppercase; }




/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
#scroll-top {
	position     : fixed;
	width: 2.5rem;
	height: 2.5rem;
	right        : var(--container_padding);
	bottom       : var(--container_padding);
	z-index      : 999;
	transition   : all 0.25s ease-in-out;
	margin-inline: unset !important;
}

#scroll-top        { visibility: hidden ; opacity: 0; }
#scroll-top.active { visibility: visible; opacity: 1; }

.notification_dot {
	position      : absolute;
	right         : -0.125rem;
	top           : -0.125rem;
	width         : 0.5rem;
	height        : 0.5rem;
	border-radius : 50%;
	background-color: var(--YEL_6);
	box-shadow      :0 0 0.25em currentColor;
	animation     : blink 2.5s ease-in-out infinite;
}

@keyframes blink { 
	0%   { opacity: 1; }
	10%  { opacity: 1; }
	20%  { opacity: 0; }
	30%  { opacity: 0; }
	40%  { opacity: 0; }
	50%  { opacity: 0; }
	60%  { opacity: 0; }
	70%  { opacity: 0; }
	80%  { opacity: 0; }
	90%  { opacity: 0; }
	100% { opacity: 0; }
}


