/*
 Easy2 Training Portal Admin css for styling the WordPress back end dashboard
 DIFFERENTIATE between front end and admin back end only styles with "body.wp-admin" prefix
*/

/* SET MASTER COLOUR VARIABLE - NOTE THIS also overrides style.css as admin.css is brought in after the child theme style.css */
:root {--body-color:#191919;--main-color:#202020;--header-color:rgba(0,0,0,1);--header-gradient:linear-gradient(to right,var(--header-color),var(--dark-color));--menu-item-color:#999;--logo-area-color:rgba(255,255,255,0);--hover-color:rgba(0,0,0,0.05);--accent-color:#0099cc;--light-color:#fff;--dark-color:#00aca1;--really-dark-color:#000;--heading-color:#febc1f;--positive-green:#009933;--footer-color:#000;--ld-color:#999;--ld-bar-color:rgba(0,0,0,0.1);--ld-in-progress-color:#ef9933;--decorationcolor:rgb(255 255 255 / 10%);--decorationimage:url(../_resources/ve-hall-bg.jpg);--decorationsize:cover;--decorationrepeat:no-repeat;overflow-y:scroll;}

/* --- START WordPress admin bar style overrides --- */
#wpadminbar {background:var(--header-color);position:fixed;box-shadow: 0 2px 3px rgba(255,255,255,0.15);}
body.wp-admin #wpadminbar {background:var(--main-color);position:fixed;box-shadow: 0 2px 5px rgba(0,0,0,0.33);}

#wpadminbar:before {content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;background-color:rgba(0,0,0,0.12);}
/* turn off for mobile as it covers the links */
@media screen and (max-width: 782px) {
#wpadminbar:before {display:none;}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a {color:#fff;background:var(--main-color);}
.wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle .ab-icon:before {color:#fff;}
}
	#wpadminbar .quicklinks .menupop ul {padding:0;}
	#wpadminbar .quicklinks .menupop ul li {padding:6px 0;}
	#wpadminbar .quicklinks .menupop ul li a {color:#fff !important;}
	#wpadminbar .quicklinks .menupop ul li:hover {background:var(--hover-color);}
	#wpadminbar.mobile .quicklinks .hover .ab-item:before, #wpadminbar.mobile .quicklinks .ab-icon:before, #wpadminbar.mobile .quicklinks .ab-item:before {color:#fff;}

	/* stops WordPress logo and About WordPress menu showing on left side of admin bar */
	#wpadminbar ul#wp-admin-bar-root-default li#wp-admin-bar-wp-logo {display:none;}
	/* change style of admin bar rollover states */
	/* hover state of main admin bar menus background */
	#wpadminbar .ab-top-menu>li.hover>.ab-item, #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus, #wpadminbar:not(.mobile) .ab-top-menu>li:hover>.ab-item, #wpadminbar:not(.mobile) .ab-top-menu>li>.ab-item:focus {background:var(--hover-color);color:#fff;}
	/* hover state of main admin bar menus text and icon colours */
	#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a, #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:focus strong, #wpadminbar .quicklinks .menupop ul li a:hover, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar .quicklinks .menupop.hover ul li div[tabindex]:focus, #wpadminbar .quicklinks .menupop.hover ul li div[tabindex]:hover, #wpadminbar li #adminbarsearch.adminbar-focused:before, #wpadminbar li .ab-item:focus .ab-icon:before, #wpadminbar li .ab-item:focus:before, #wpadminbar li a:focus .ab-icon:before, #wpadminbar li.hover .ab-icon:before, #wpadminbar li.hover .ab-item:before, #wpadminbar li:hover #adminbarsearch:before, #wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover {background:var(none);color:#fff;}
	#wpadminbar #wp-admin-bar-site-name>.ab-item:hover:before{background:none;}
	#wpadminbar #wp-admin-bar-updates .ab-icon:hover:before, #wpadminbar .ab-icon:hover:before, #wpadminbar .ab-item:hover:before {background:none;}
	#adminmenu a, #adminmenu .wp-submenu a {color:rgba(255,255,255,0.85);}
	/* hover state of main admin bar comments and content (ie "+ New") menu text colour */
	#wpadminbar:not(.mobile)>#wp-toolbar a:focus span.ab-label, #wpadminbar:not(.mobile)>#wp-toolbar li:hover span.ab-label, #wpadminbar>#wp-toolbar li.hover span.ab-label {color:#fff;}
	/* sub menu dropdown style */
	#wpadminbar .ab-submenu {background:var(--main-color);}
	/* styles arrow on current menu items to override side shadow of adminmenuback to create unbroken continuity with main page background */
	ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu>li.current>a.current:after {box-shadow:9px 0px 0px #f1f1f1;}
	
	/* styles username in drop down box */
	#wpadminbar #wp-admin-bar-user-info .username {color:#efefef;}
	
/* Profile page settings */

	/* Removes the Confirm weak password option box from User Profile - forces medium password as a minimum */
	.pw-weak {display:none !important;}
	/* Adds notice to user to increase password strength */
	.short#pass-strength-result:after, .bad#pass-strength-result:after {content:' - Please note, you will only be able to update your profile once your password is strong enough';}
	
/* side menu in back end (dashboard) */
#adminmenu, #adminmenu .wp-submenu {background:var(--main-color);}
#adminmenuback {background:var(--main-color);box-shadow: 0 2px 5px rgba(0,0,0,0.33);}
#adminmenuwrap {background:var(--main-color);}
#adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head, #adminmenu .wp-menu-arrow, #adminmenu .wp-menu-arrow div, #adminmenu li.current a.menu-top, #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, .folded #adminmenu li.current.menu-top, .folded #adminmenu li.wp-has-current-submenu {background:var(--main-color);}
#adminmenu .wp-has-current-submenu .wp-submenu, #adminmenu .wp-has-current-submenu .wp-submenu.sub-open, #adminmenu .wp-has-current-submenu.opensub .wp-submenu, #adminmenu a.wp-has-current-submenu:focus+.wp-submenu, .no-js li.wp-has-current-submenu:hover .wp-submenu {background:var(--main-color);}
#adminmenu .wp-submenu a:focus, #adminmenu .wp-submenu a:hover, #adminmenu a:hover, #adminmenu li.menu-top>a:focus {color:#fff;background:var(--hover-color);}
#adminmenu li.menu-top:hover, #adminmenu li>a.menu-top:focus {color:#fff;background:none;}
#adminmenu li.opensub>a.menu-top {color:#fff;background:var(--hover-color);}
#adminmenu li.wp-has-submenu.wp-not-current-submenu:hover:after {border-right-color:#f1f1f1 !important;}
#adminmenu div.wp-menu-image:before {color:#fff !important;}

/* Controls applied to menu items that override our colour */
	#adminmenu div.wp-menu-image {filter:grayscale(100%);}
	/* LearnDash menu item control */
	#adminmenu li.toplevel_page_learndash-lms a.wp-has-submenu {padding-left:36px;background:url(../_resources/wp-admin-menu-item-icon-bmh.png) no-repeat 8px center;}
	/*#adminmenu li.toplevel_page_learndash-lms a.wp-has-submenu:hover {background:var(--hover-color) url(../_resources/wp-admin-menu-item-icon-bmh.png) no-repeat 8px center;}*/
	@media screen and (max-width: 782px) {
	#adminmenu li.toplevel_page_learndash-lms a.wp-has-submenu {padding-left:5px;}
	}
	#adminmenu a.toplevel_page_learndash-lms div.wp-menu-image {color:#fff !important;display:none;}
	
	/* All-in-One menu item control */
	#adminmenu .toplevel_page_ai1wm_export > div.wp-menu-image:before {background:url(../_resources/wp-admin-menu-item-icon-bmh.png) no-repeat 0px center;}
	.wp-menu-open.toplevel_page_ai1wm_export, .wp-menu-open.toplevel_page_ai1wm_export > a, #adminmenu li.menu-top, #adminmenu li.menu-top:hover, #adminmenu li > a.menu-top, #adminmenu li > a.menu-top:focus {background-color:var(--main-color) !important;}

	
	/* FV Player admin page control - hide advert */
	#fv_flowplayer_ad {display:none !important;}
	
	/* Collapse menu elements */
	#adminmenu li#collapse-menu:hover {background:var(--hover-color);}
	#collapse-button {color:#fff !important;}
	
	#adminmenu .awaiting-mod, #adminmenu .update-plugins {background-color:var(--hover-color);}
