/*************************************************
*                                                *
* CSS for the TOC-Progress plugin for Reveal.js  *
*                                                *
* Author: Igor Leturia                           *
*                                                *
* License: GPL v3                                *
* http://www.gnu.org/copyleft/gpl.html           *
*                                                *
*************************************************/

/* Style for the TOC-Progress footer */

#toc-progress-footer
{
	position: fixed;
	bottom: 3px;
	height: 3%;
	z-index: 20;
	width: 100%;
	font-size: clamp(16px, 2vh, 22px);
	text-align: center;
	white-space: nowrap;
	padding-top: 0.5vh;
	padding-bottom: 0.5vh;
}

#toc-progress-footer
{
	visibility: visible;
	opacity: 1;
	transition: visibility 0s, opacity 800ms ease-in-out;
}

/* Bottom position for the TOC-Progress footer when progress bar is visible */

div.progress[style="display: block;"] ~ #toc-progress-footer
{
	bottom: 3px;
}

/* Bottom position for the TOC-Progress footer when progress bar is not visible */

#toc-progress-footer
{
	bottom: 0px;
}

/* Make TOC-Progress invisible if explicitly indicated */

.no-toc-progress #toc-progress-footer
{
	visibility: hidden;
	opacity: 0;
	transition: visibility 800ms, opacity 800ms ease-in-out;
}

/* Make TOC-Progress invisible in overview mode */

.overview #toc-progress-footer
{
	visibility: hidden;
	opacity: 0;
	transition: visibility 800ms, opacity 800ms ease-in-out;
}

/* Position and styles for the left part (main sections) of the TOC-Progress */

#toc-progress-footer-main
{
	width: 30%;
	height: 100%;
	float: left;
	overflow: hidden;
	letter-spacing: 0em;
}

#toc-progress-footer-main-inside
{
	float: left;
	/*margin-right: 2em;
	*/
	text-align: center;
	margin-left: 60%
}

/* Position and styles for the right part (subsections) of the TOC-Progress */

#toc-progress-footer-secondary
{
	width: 70%;
	height: 100%;
	float: left;
	overflow: hidden;
	letter-spacing: 0em;
}

#toc-progress-footer-secondary-inside
{
	float: left;
	margin-left: 0%;
}

#toc-progress-footer-third
{
	width: 33%;
	height: 100%;
	float: right;
	overflow: hidden;
	letter-spacing: 0em;
}

#toc-progress-footer {
	border-style: solid;
	border-top-width: 1px;
}

#toc-progress-footer li{
	list-style: none;
	color:darkgray;
	width: 250px;
	float: left;
	
}

#toc-progress-footer li a{
	color:darkgray;
}


/* Keep footer navigation on one line despite reveal.js list typography. */
#toc-progress-footer-main-inside,
#toc-progress-footer-secondary-inside {
	width: 100%;
	margin-left: 0;
}

#toc-progress-footer-main-inside > ul,
#toc-progress-footer-secondary-inside > ul {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

#toc-progress-footer-secondary-inside > ul > ul {
	display: none;
}

#toc-progress-footer li {
	flex: 1 1 0;
	min-width: 0;
	width: auto;
	float: none;
	margin: 0;
	padding: 0 0.5em;
	font-size: inherit;
	font-weight: normal;
	line-height: 1.2;
}

#toc-progress-footer-main li {
	flex: 0 1 auto;
}
