/* $Id: admin.css 20631 2012-01-20 21:12:56Z duplessise $ */

/**
 * @file
 * Administration Styling
 */


/* -- BLOCK EDITING -- */
body.admin-menu {
	padding-top: 20px !important;
	margin-top: 0!important;
}

div.block.with-block-editing {
	position: relative;
	}
	div.block.with-block-editing div.edit {
		display: none;
		position: absolute;
		top: 0;
		right: 0;
		z-index: 40;
		padding: 0 2px;
		font-size: 0.75em;
		border: 1px solid #eeeeee;
		background-color: #ffffff;
		}
	div.block.with-block-editing:hover div.edit {
		display: block;
		}
		

/* -- TABS (node editing) -- */

div.tabs {
	margin: 0 0 5px 0;
	clear: both;
	}
	
/* Primary tabs */
ul.primary {
	margin: 0;
	padding: 0 0 0 10px;
	border-width: 0;
	list-style: none;
	white-space: nowrap;
	line-height: normal;
	background: url(../images/tab-bar.png) repeat-x left bottom;
	}
	ul.primary li {
		float: left;
		margin: 0;
		padding: 0;
		}
		ul.primary li a {
			display: block;
			height: 24px;
			margin: 0;
			padding: 0 0 0 5px;
			border-width: 0;
			font-weight: bold;
			text-decoration: none;
			color: #777777;
			background-color: transparent;
			background: url(../images/tab-left.png) no-repeat left -38px;
			}
			ul.primary li a .tab {
				display: block;
				height: 20px; /* 24px (parent) - 4px (padding) */
				margin: 0;
				padding: 4px 13px 0 6px;
				border-width: 0;
				line-height: 20px;
				background: url(../images/tab-right.png) no-repeat right -38px;
				}
		ul.primary li a:hover {
			border-width: 0;
			background-color: transparent;
			background: url(../images/tab-left.png) no-repeat left -76px;
			}
			ul.primary li a:hover .tab {
				background: url(../images/tab-right.png) no-repeat right -76px;
				}
		ul.primary li.active a, ul.primary li.active a:hover {
			border-width: 0;
			color: #000;
			background-color: transparent;
			background: url(../images/tab-left.png) no-repeat left 0;
			}
			ul.primary li.active a .tab, ul.primary li.active a:hover .tab {
				background: url(../images/tab-right.png) no-repeat right 0;
				}

/* Secondary tabs */
ul.secondary {
	margin: 0;
	padding: 0 0 0 5px;
	border-bottom: 1px solid #c0c0c0;
	list-style: none;
	white-space: nowrap;
	background: url(../images/tab-secondary-bg.png) repeat-x left bottom;
	}
	ul.secondary li {
		float: left;
		margin: 0 5px 0 0;
		padding: 5px 0;
		border-right: none;
		}
		ul.secondary a {
			display: block;
			height: 24px;
			margin: 0;
			padding: 0;
			border: 1px solid #c0c0c0;
			text-decoration: none;
			color: #777777;
			background: url(../images/tab-secondary.png) repeat-x left -56px;
			}
			ul.secondary a .tab {
				display: block;
				height: 18px; /* 24px (parent) - 6px (padding) */
				margin: 0;
				padding: 3px 8px;
				line-height: 18px;
				}
		ul.secondary a:hover {
			background: url(../images/tab-secondary.png) repeat-x left bottom;
			}
			ul.secondary a.active, ul.secondary a.active:hover {
				color: #000000;
				border: 1px solid #c0c0c0;
				background: url(../images/tab-secondary.png) repeat-x left top;
				}
	
			
/* -- MESSAGES (error/warning/status for the user) -- */

div.messages, div.status, div.warning, div.error {
	min-height: 21px;
	margin: 0 1em 5px 1em;
	border: 2px solid #ff7;
	padding: 5px 5px 5px 35px;
	color: #000;
	background-color: #ffc;
	background-image: url(../images/messages-status.png);
	background-repeat: no-repeat;
	background-position: 5px 5px;
	}
	div.status /* Normal priority messages */ {
		}
	div.warning /* Medium priority messages */ {
		border-color: #ffcc00;
		background-image: url(../images/messages-warning.png);
		}
		div.warning, tr.warning {
			color: #000000; /* Drupal core uses #222200 */
			background-color: #ffffcc;
			}
	div.error /* High priority messages. See also the .error declaration in pages.css. */ {
		border-color: #cc0000;
		background-image: url(../images/messages-error.png);
		}
		div.error, tr.error {
			color: #990000; /* Drupal core uses #220000 */
			background-color: #ffeeee;
			}
	div.messages ul {
		margin-top: 0;
		margin-bottom: 0;
		}