/*------------ Raadix 2021 STYLESHEET ---------------*/
/*------------ Gewijzigd: 4 juli 2021 ---------------*/
/*===================== TOP MENU ====================*/

#topmenu {
	position: fixed;
	z-index: 1000;
	display: grid;
	grid-template-columns: 15mm repeat(12, 1fr) 15mm;
	grid-template-rows: 7mm 7mm;
	gap: 1mm;
	left: 0;
	right: 0;
	top: 0;
	height: 15mm;
	background-color: var(--green-color);
	padding: 0 1mm;
	margin: 0;
}

.menu-text { display: inline-block; }

@media only screen and (max-width: 70cm) {
	#topmenu { grid-template-columns: 15mm repeat(10, 1fr) 15mm; }
	.menu-text { display: inline-block; }
}
@media only screen and (max-width: 60cm) {
	#topmenu { grid-template-columns: 15mm repeat(8, 1fr) 15mm; }
	.menu-text { display: inline-block; }
}
@media only screen and (max-width: 40cm) {
	#topmenu { grid-template-columns: 15mm repeat(7, 1fr) 15mm; }
	.menu-text { display: inline-block; }
}
@media only screen and (max-width: 15cm) {
	#topmenu { grid-template-columns: 15mm repeat(6, 1fr) 15mm; }
	.menu-text { display: none; }
}

#top-raadix-logo {
	grid-column: 1 / 2;
	grid-row: 1 / 3;
}

#top-user-icon {
	grid-column: -1 / -2;
	grid-row: 1 / 3;
}

/* remove later 16-3-2021 */
#top-install-tab {
	display: none;
}

.top-button {
	font-size: 8mm;
	line-height: 13mm;
	border-radius: 2mm;
	border: none;
	cursor: pointer;
	padding: 0;
	margin: 1mm 0;
	text-align: center;
	color: white;
}
.top-button:hover {
/*	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
	color: var(--green-color);
	background-color: white;
}

#top-filename {
	grid-column: 2 / -2;
	font-size: 4mm;
	line-height: 5mm;
	color: white;
	padding: 1mm 2mm;
	text-align: center;
	white-space: nowrap; 
	overflow: hidden;
	text-overflow: ellipsis;
	user-select: none;
}

.menu-tab {
	font-size: 4mm;
	line-height: 5mm;
	color: white;
	padding: 1mm 2mm;
	text-align: left;
	border-top-left-radius: 2mm;
	border-top-right-radius: 2mm;
	background-color: var(--grey-color);
	cursor: pointer;
	white-space: nowrap; 
	overflow: hidden;
	text-overflow: ellipsis;
	user-select: none;
}

.menu-tab:hover {
	color: var(--grey-text);
	background-color: white;
}

#topmenu > .tab-select {
	color: var(--grey-text);
	background-color: white;
}

/*=================== LOGIN DROPDOWN =====================*/

#logout-menuitem {
	display: block;
}

#settings-menuitem {
	display: none;
}

#install-menuitem {
	display: none;
}

.install-blink {
	animation-name: installblink;
	animation-duration: 1.0s;
	animation-iteration-count: 100;
}

@keyframes installblink {
  20% { background-color: var(--green-color); }
}

#topmenu #login-user:hover {
    cursor: pointer;
}

/* ===== dropdown menus ===== */

#topleft-dropdown {
	left: 1mm;
	top: 14mm;
}
#topright-dropdown {
	right: 1mm;
	top: 14mm;
}
.dropdown {
	display: none;
	position: absolute;
	grid-template-columns: 10mm auto;
	grid-auto-rows: max-content;
	grid-auto-flow: row;
	gap: 0.6mm;
	border: 0.6mm solid var(--grey-color); 
	background-color: var(--grey-color);
/*	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
	z-index: 1001;
	min-width: 50mm;
	border-radius: 2mm;
	overflow: hidden;
}

.topdrop-icon {
	padding: 1mm 2mm;
	font-size: 4mm;
	line-height: 8mm;
	text-align: center;
	color: white;
}
.topdrop-item {
	padding: 1mm 2mm;
	font-size: 4mm;
	line-height: 8mm;
	text-align: left;
	cursor: pointer;
	white-space: nowrap; 
	overflow: hidden;
	text-overflow: ellipsis;
	background-color: var(--grey-color);
	color: white;
	border: none;
}
.topdrop-item > option {
	padding: 1mm 2mm;
}
.topdrop-item:hover, .topdrop-select {
	background-color: var(--green-color);
	color: white;
}


