/**
 * The handful of things the colour scheme cannot carry: the toolbar mark,
 * and a little shape where WordPress leaves things square.
 *
 * Loaded on every admin screen, and on the front end too, because the
 * toolbar follows a logged-in person around the site.
 */

/* The pulsur mark where the WordPress logo was. */
#wpadminbar #wp-admin-bar-pulsur-mark > .ab-item {
	padding: 0 9px 0 7px;
}

#wpadminbar .pulsur-mark {
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-top: 6px;
	background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%2363c6ea%27%20stroke-width%3D%272.2%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M3%2012h4l2.5-6%205%2012L17%2012h4%27%2F%3E%3C%2Fsvg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px 20px;
	opacity: .95;
	transition: opacity .15s ease;
}

#wpadminbar #wp-admin-bar-pulsur-mark:hover .pulsur-mark,
#wpadminbar #wp-admin-bar-pulsur-mark a:focus .pulsur-mark {
	opacity: 1;
}

/* Admin-side only from here down. */
.wp-admin #adminmenu .wp-submenu a {
	padding-top: 6px;
	padding-bottom: 6px;
}

/* ---------------------------------------------------------------
   Headings inside the pulsur submenu
   --------------------------------------------------------------- */

/* A heading shares its slug with the first page in its group, so WordPress
   marks it current alongside that page. Every state is pinned here, so it
   reads as a label whatever the menu thinks it is. */
#adminmenu .wp-submenu li.pulsur-sub-head a,
#adminmenu .wp-submenu li.pulsur-sub-head.current a,
#adminmenu .wp-submenu li.pulsur-sub-head a:hover,
#adminmenu .wp-submenu li.pulsur-sub-head a:focus,
#adminmenu .wp-has-current-submenu .wp-submenu li.pulsur-sub-head a,
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.pulsur-sub-head a {
	color: #6f8699;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	padding-top: 4px;
	padding-bottom: 3px;
	background: transparent;
	cursor: default;
}

#adminmenu .wp-submenu li.pulsur-sub-head {
	margin-top: 11px;
	padding-top: 7px;
	border-top: 1px solid rgba(255, 255, 255, .08);
}

#adminmenu .wp-submenu li.pulsur-sub-head-first {
	margin-top: 2px;
	padding-top: 0;
	border-top: 0;
}

/* The heading is decoration; the pages under it are the real links. */
#adminmenu .wp-submenu li.pulsur-sub-head a:focus {
	outline: 1px dotted rgba(255, 255, 255, .35);
	outline-offset: -2px;
}

/* Give panels and tables a little softness, matching our own screens. */
.wp-admin .postbox,
.wp-admin .wp-list-table,
.wp-admin .widefat {
	border-radius: 8px;
}

.wp-admin .wp-list-table thead th,
.wp-admin .widefat thead th {
	border-bottom: 1px solid #dde4e9;
}

.wp-admin .postbox {
	box-shadow: 0 1px 2px rgba(12, 26, 39, .05);
}

.wp-admin .wrap > h1,
.wp-admin .wrap > h1.wp-heading-inline {
	font-weight: 600;
	letter-spacing: -.01em;
}

/* Keyboard focus should be obvious, in our blue, everywhere. */
.wp-admin a:focus-visible,
.wp-admin button:focus-visible,
.wp-admin [tabindex]:focus-visible {
	outline: 2px solid #2ba0ce;
	outline-offset: 1px;
	border-radius: 2px;
	box-shadow: none;
}

/* The update counter in the menu reads as information, not alarm. */
.wp-admin #adminmenu .update-plugins {
	border-radius: 9px;
}

/* WordPress's own "welcome" and news panels have no place on a product
   dashboard; dashboard.css removes ours, this catches the rest. */
.wp-admin #welcome-panel,
.wp-admin #dashboard_primary {
	display: none !important;
}

/* Two personal options that describe features this site does not have:
   shortcuts for moderating comments, which are switched off, and syntax
   highlighting for the file editors, which are closed. */
.wp-admin .user-comment-shortcuts-wrap,
.wp-admin .user-syntax-highlighting-wrap {
	display: none;
}

@media screen and (max-width: 782px) {
	#wpadminbar .pulsur-mark {
		margin-top: 9px;
	}
}
