/* Language switcher — matches labware.com header dropdown */

/* Prevent header row from clipping the dropdown */
.container-fluid > .row[style*="overflow"] {
	overflow: visible !important;
}

/* need the server side language switcher component */
.btn-group {
	display: none;
}

/* override bootstrap background shading change on hover over button */
#view\:_id1\:button1:hover {
	background-color: rgb(255, 255, 255) !important;
	background-image: linear-gradient(to bottom, #fff 0, #e0e0e0 100%);
	background-position-x: 0%;
	background-position-y: 0%;
    background-repeat: repeat-x;
}

#langSwitcher.hhs-lang-switch {
	display: inline-flex;
	align-items: center;
	position: relative;
	z-index: 1000;
	margin-right: 8px;
	vertical-align: middle;
}

#langSwitcher .lang_switcher_class {
	position: relative;
	display: inline-block;
	padding: 7px 10px;
}

#langSwitcher .globe_class {
	display: inline-block;
	width: 20px;
	height: 20px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	line-height: 1;
}

#langSwitcher .globe_class svg {
	width: 18px;
	height: 18px;
	fill: rgb(3, 37, 57);
	vertical-align: middle;
}

#langSwitcher .globe_class:focus-visible {
	outline: 2px solid #005fcc;
	outline-offset: 2px;
	border-radius: 2px;
}

#langSwitcher .lang_list_class {
	display: none;
	position: absolute;
	top: 35px;
	left: -10px;
	margin: 0;
	padding: 0 !important;
	list-style: none;
	text-align: left;
	min-width: 100px;
	width: max-content;
	background: #fff;
	border: none;
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
	z-index: 1000;
}

/* Remove LabWareCSS pseudo-elements that leave a white band above the first item */
#langSwitcher .lang_list_class::before,
#langSwitcher .lang_list_class::after {
	display: none !important;
	content: none !important;
	width: 0 !important;
	height: 0 !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	background: none !important;
}

#langSwitcher .globe_class:hover .lang_list_class,
#langSwitcher .globe_class:focus-within .lang_list_class,
#langSwitcher .lang_list_class.is_open {
	display: block !important;
}

#langSwitcher .lang_list_class li,
#langSwitcher .lang_list_class li.menu-item,
#langSwitcher .lang_list_class li:first-child,
#langSwitcher .lang_list_class li:last-child {
	display: block;
	margin: 0 !important;
	padding: 0 !important;
	background: #fff !important;
	border: none !important;
}

#langSwitcher .lang_list_class .lang_switcher_link {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 32px;
	padding: 6px 10px !important;
	color: rgb(3, 37, 57);
	font-family: "Century Gothic", "Century Gothic Bold", Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	box-sizing: border-box;
}

#langSwitcher .lang_list_class li:first-child .lang_switcher_link {
	padding-top: 10px !important;
}

#langSwitcher .lang_list_class li:last-child .lang_switcher_link {
	padding-bottom: 10px !important;
}

#langSwitcher .lang_list_class li:hover {
	background-color: rgb(142, 199, 79) !important;
}

#langSwitcher .lang_list_class .lang_switcher_link:hover,
#langSwitcher .lang_list_class li:hover .lang_switcher_link {
	background-color: rgb(142, 199, 79) !important;
	color: #fff !important;
}
