/*
 * Copyright (c) Avato Systems Inc. 2025.
 * All rights reserved.
 */

/****************************************************
		Left navigation CSS
 ****************************************************/
aside
{
	position: absolute;
	left: 0;
	top: 0;
	min-width: 135px;
	height: calc(100%);
	padding: 0 10px 0 10px;
	z-index: 200;
}

aside.aside-right
{
	left: unset;
	right: 0;
}

aside
{
	/*padding:0;*/
	/*padding-left:8px;*/
}

aside nav.scrollable
{
	overflow-x: auto;
	overflow-y: scroll;
	height: calc(100% - 10px);
	margin-top: -16px;
}

aside p
{
	/*font-size: small;*/
}

aside summary::-webkit-details-marker
{
	display: none
}

aside summary:after
{
	content: none;
	width: 0;
}

aside details[open] summary:after {
	content: none;
}

aside details summary, aside ul.inner-list li
{
	border-left: 7px solid transparent;
	padding-left:5px;
	cursor: pointer;
}

aside details summary
{
	padding: 10px 12px 10px 5px;
}

/*details[open] summary,*/
aside details .active
	/*,details summary:hover, aside ul.inner-list li:hover*/
{
	border-color: var(--secondary-color);
}

aside details .nav-title
{
	font-weight: bold;
}

aside input.interface\-filter
{
	/*margin-left: 33px;*/
	/*margin-right: 20px;*/
	/*width: calc(100% - 66px);*/

	margin-left: 36px;
	/*margin-right: 44px;*/
	width: calc(100% - 96px);
	background-color: var(--avato-white);
}

aside button.new-interface-button
{
	padding: 4px;
	/*display: inline;*/
	position: relative;
	/*margin-top: 0px;*/
	top: 2px;
}

aside nav a.reset\-view
{
	padding: 5px 10px 5px 39px;
	display: inline-block;
	font-size: smaller;
}

aside input.all-interface-selector
{
	margin-left: 33px;
	margin-right: 20px;
	width: calc(100% - 66px);

	/*margin-left: 57px;*/
	/*margin-right: 44px;*/
	/*width: calc(100% - 122px);*/
}

aside ul.inner-list {
	margin-left: 0;
	margin-right: 0;
}

aside ul.inner-list li
{
	padding-left:13px;
}

aside #document-list li:first-child
{
	margin-bottom: 20px;
}

aside nav div.NavLogo
{
	display: none;
}

aside ul.inner-list
{
	font-size: smaller;
	margin-left: 20px;
	margin-right: 20px;
}

aside nav input[type='checkbox']
{
	width: 14px;
	margin: 3px 12px 4px -27px;
}

aside nav label.small
{
	font-size: smaller;
}

aside .book
{
	max-width: 84px;
	margin-bottom: 12px;
	border: 1px solid var(--button-border-color);
	padding: 16px 6px;
	/*box-shadow: 3px 3px 1px #000000;*/
	border-radius: 4px;
	background-color: rgba(135, 169, 189, 0.17);

	background-image: url(../../img/avato-book.png);
	background-repeat: no-repeat;
	background-size: cover;
	padding-top: 28px;
	height: 73px;
	text-align: right;
	position: relative;
	font-size: xx-small;
}

aside .book a, aside .book a:hover
{
	color: grey;
}


aside .book img
{
	width: 32px;
}

aside .book .bookmode
{
	margin-top: 8px;
}

aside .vignette
{
	max-width: 84px;
	margin-bottom: 12px;
	border: 1px solid grey;
	padding: 16px 6px;
	/*box-shadow: 3px 3px 1px #000000;*/
	height: auto;
}

/* iPhone and mobile browsers */
@media only handheld and (max-width: 480px), screen and (max-device-width: 480px), screen and (max-width: 480px), (min-resolution: 200dpi)
{
	aside.hidden
	{
		/*position: static;*/
		position: absolute;
		width: auto;
		height: auto;
		display: none;
		font-size: 28px;
	}

	aside
	{
		display: block;
		background-color: var(--main-background-color);
		/*opacity: .8;*/
		top: auto;
		bottom: 0;
		height: calc(100%);
		z-index: 1000;
	}

	aside nav div.NavLogo
	{
		display: block;
	}

	aside.nav-invisible
	{
		display: none;
	}

	aside p:first-child
	{
		padding-top: 20px;
	}

	aside p:last-child
	{
		padding-bottom: 20px;
	}

}