/*
	Most of this CSS is copied from _old-header.scss, in order to backport
	the new header's dropdown style to the old header.
*/

.login-dropdown-content {
	padding-top: 4px;
	width: 288px;
	z-index: 100;
	top: 100%;
	right: 0;
	position: absolute;
}

.login-dropdown-content-inner {
	background-color: #f5f7fa;
	padding: 24px;
	box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.16), 0px 2px 6px rgba(0, 0, 0, 0.16);
	border-radius: 8px;
	font-size: 1rem;
	font-weight: normal;
}

.login-dropdown-divider {
	position: absolute;
	top: 6px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #1b365d;
}

.login-dropdown-content .menu-item {
	display: block;
	padding: 12px;
	color: #262626;
	white-space: nowrap;
}

.login-dropdown-content .menu-item:hover {
	background-color: #edeff2;
	border-radius: 8px;
}

#header .login-dropdown-content a.menu-item.icon-item {
	display: flex;
	align-items: center;
	flex-direction: row;
}

#header .login-dropdown-content a.menu-item.icon-item .icon {
	color: black;
	font-size: 1.25rem;
	margin-right: 12px;
}

/* Undo changes from navheader.css */

.menu-login-item .login-dropdown-content {
	text-transform: none;
	font-size: 16px;
	background-color: transparent;
	padding: 0px;
	font-family: "Roboto", Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI",
		Oxygen-Sans, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", Helvetica,
		Arial, "Lucida Grande", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
		"Segoe UI Symbol";
}

/* Port over styles from Bootstrap or other SCSS files */

.login-dropdown-content-name {
	margin-bottom: 16px;
	margin-left: 4px;
	color: black;
	font-weight: 500;
}

.py-2 {
	padding-top: 8px !important;
	padding-bottom: 8px !important;
}

.button.login-dropdown-button {
	/* From virtual.css */
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	background: #61ad00;
	box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
	border-radius: 4px;
	color: white;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	/* From bootstrap and SCSS */
	transition: background 200ms ease-out;
	width: 100%;
	margin-top: 16px;
	font-size: 16px;
	font-weight: 500;
	padding: 12px 24px;
	line-height: 1.5;
}

.button.login-dropdown-button:hover {
	background: #447a00;
}

.dropdown-menu-divider {
	border-color: #adc0db;
}

.login-dropdown-content .icon-item:first-of-type {
	padding: 8px 12px 12px;
}

.login-dropdown-content .menu-item:hover {
	color: initial;
}
