/**
 * Algo Forms — branded admin sidebar (light pastel blue).
 */

#adminmenu #toplevel_page_algo-forms .wp-menu-image {
	background: transparent !important;
}

#adminmenu #toplevel_page_algo-forms .wp-menu-image img {
	display: none !important;
}

#adminmenu #toplevel_page_algo-forms .wp-menu-image::before {
	content: "" !important;
	display: block !important;
	width: 20px;
	height: 20px;
	margin: 7px 0 0;
	background: url("../images/algo-forms-mark.svg") center / contain no-repeat !important;
	font: 0/0 a !important;
	speak: never;
}

#adminmenu #toplevel_page_algo-forms:hover .wp-menu-image::before,
#adminmenu #toplevel_page_algo-forms.wp-has-current-submenu .wp-menu-image::before,
#adminmenu #toplevel_page_algo-forms.current .wp-menu-image::before {
	opacity: 1;
}

#adminmenu #toplevel_page_algo-forms > a {
	border-left: 3px solid transparent;
}

#adminmenu #toplevel_page_algo-forms:hover > a,
#adminmenu #toplevel_page_algo-forms.opensub > a {
	border-left-color: #a8c8e4;
	background: #1d2327;
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(168, 200, 228, 0.3);
}

#adminmenu #toplevel_page_algo-forms.wp-has-current-submenu > a.wp-has-current-submenu,
#adminmenu #toplevel_page_algo-forms.current > a.current {
	border-left-color: #a8c8e4;
	background: #4a6f8a !important;
	color: #fff;
}

#adminmenu #toplevel_page_algo-forms .wp-menu-name {
	font-weight: 600;
	letter-spacing: -0.01em;
}

#adminmenu #toplevel_page_algo-forms .wp-submenu {
	background: #3a5a72 !important;
	border-left: 3px solid #a8c8e4;
}

#adminmenu #toplevel_page_algo-forms .wp-submenu a {
	color: rgba(255, 255, 255, 0.78);
}

#adminmenu #toplevel_page_algo-forms .wp-submenu a:hover,
#adminmenu #toplevel_page_algo-forms .wp-submenu a:focus {
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
	box-shadow: inset 3px 0 0 #b8d4ec;
}

#adminmenu #toplevel_page_algo-forms .wp-submenu li.current a,
#adminmenu #toplevel_page_algo-forms .wp-submenu li.current a:hover {
	color: #fff;
	font-weight: 600;
	background: rgba(255, 255, 255, 0.08);
	box-shadow: inset 3px 0 0 #b8d4ec;
}

.folded #adminmenu #toplevel_page_algo-forms .wp-menu-image::before {
	margin: 7px auto 0;
}
