
/* Background that covers entire page when right clicking, invisible by default 
   NO se usa*/
#ctx-menu-background {
	background-color: rgba(5, 5, 0, 0.5); 
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 998;
}

/* - - - - - - -
Context Menu 
- - - - - - - - */

.ctx-menu-wrapper {
	background-color: #464646;
	box-shadow: 4px 4px 3px -2px rgba(0, 0, 0, .1);
	color: #fefefe;

	padding: 3px 0 3px 0;
	border: 1px solid #b1b1b1;
	border-radius: 1px;

	/* Make all the elements un-selectable */
	-moz-user-select: -moz-none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;

	/* Do not edit these properties */
	position: absolute;
	z-index: 999;
	white-space: nowrap;

}

/* - - - - - - -
Context Menu Items 
- - - - - - - - */

.ctx-menu-item {
	padding: 6px;
	border-radius: 1px;
	cursor: pointer;
	transition: background-color 0.1s;
}

.ctx-menu-item:first-child {
	background-color: #D3D3D3;
	font-size: 14px;
	color: #616161;
}

.ctx-menu-item:hover {
	background-color: #fefefe;
	color: #464646;
}

.ctx-menu-item:active {
	transition: background-color 0s;
	background-color: rgba(138, 132, 132, 0.13);
}

.ctx-menu-separator {
	height: 1px;
	margin: 3px 0 3px 0;
	background-color: rgba(255, 255, 255, 0.89);
}

/* - - - - - - -
	Icons
- - - - - - - - */

.ctx-menu-hasIcon img {
	min-width: 16px;
	max-width: 16px;
	max-height: 16px;
	position: relative;
	margin-right: 8px;
	pointer-events: none;
	user-select: none;
}

.ctx-menu-hasIcon i {
	min-width: 16px;
	max-width: 16px;
	max-height: 16px;
	position: relative;
	margin-right: 8px;
	pointer-events: none;
	user-select: none;
}

.ctx-menu-item img[src] {
	float: left;
}

.ctx-menu-hasIcon .ctx-menu-item {
	vertical-align: middle;
	max-height: 30px;
}


/* - - - - - - -
	Dark Mode
- - - - - - - - */

@media (prefers-color-scheme: dark){
	.ctx-menu-wrapper {
		background-color: rgb(36, 39, 40);
		color:white;
		border-color: #464646;
	}
	.ctx-menu-item{
		transition: background-color 0s;
	}
	.ctx-menu-item:hover{
		background-color: rgb(211, 216, 219);
		color: black;
	}
	.ctx-menu-separator {
		background-color: rgba(255, 255, 255, 0.2);
	}
	.ctx-menu-item .ctx-menu-darkInvert{
		filter: invert(1);
	}
	.ctx-menu-item:hover .ctx-menu-darkInvert{
		filter: invert(0);
	}
}