/* 
WOO CUSTOM STYLESHEET
---------------------

Instructions:

Add your custom styles here instead of style.css so it 
is easier to update the theme. Simply copy an existing 
style from style.css to this file, and modify it to 
your liking.

*/

#header img {display:none;}
.logo {display:none;}





media="all"
#adminmenu .wp-menu-image img {
  padding: 0px 0 0;
  opacity: 0;
  visibilty: hidden;
  filter: alpha(opacity=60);
}

media="all"
#adminmenu li.menu-top:hover .wp-menu-image img, #adminmenu li.wp-has-current-submenu .wp-menu-image img {
  opacity: 0;
  filter: alpha(opacity=100);
}


var downloadLink = document.getElementById('button');
addListener(downloadLink, 'click', function() {
  ga('send', 'event', 'button', 'click', 'nav-buttons');
});


/**
 * Utility to wrap the different behaviors between W3C-compliant browsers
 * and IE when adding event handlers.
 *
 * @param {Object} element Object on which to attach the event listener.
 * @param {string} type A string representing the event type to listen for
 *     (e.g. load, click, etc.).
 * @param {function()} callback The function that receives the notification.
 */
function addListener(element, type, callback) {
 if (element.addEventListener) element.addEventListener(type, callback);
 else if (element.attachEvent) element.attachEvent('on' + type, callback);
}

.post a {
  color: #000000;
  font-weight: bold;
}

#adminmenu 
div.wp-menu-image {
  float: left;
  width: 36px;
  height: 34px;
  margin: 0;
  text-align: center;
  visibility: hidden;
}

#adminmenu .wp-menu-image img {
    padding: 9px 0 0;
    opacity: .6;
    filter: alpha(opacity=60);
    display: none;
}


/*-----------------------------------------------------------------------------------*/
/* Remove Unwanted Admin Menu Items */
/*-----------------------------------------------------------------------------------*/

function remove_admin_menu_items() {
	$remove_menu_items = array(__('http://www.hillhousechurch.com/wp-content/uploads/2010/12/banner2.jpg'));
	global $menu;
	end ($menu);
	while (prev($menu)){
		$item = explode(' ',$menu[key($menu)][0]);
		if(in_array($item[0] != NULL?$item[0]:"" , $remove_menu_items)){
		unset($menu[key($menu)]);}
	}
}

add_action('admin_menu', 'remove_admin_menu_items');




