/**
* Admin style
*/

/* Toolbar Tweak */

#skip-link {
  left: 50%;
  margin-left: -5.25em;
  margin-top: 0;
  position: absolute;
  width: auto;
  z-index: 50;
}

#overlay-disable-message {
  display: none;
}
html.overlay-open #overlay-disable-message {
  display: block;
}

#wrapper {
	position: absolute;
	top: 0;
	left: 0;	
	z-index: 100;
}

.region-page-top {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1000;
}

#toolbar div.toolbar-menu {
	height: 22px;
	line-height: 22px;
}

#toolbar div.toolbar-drawer {
	height: 35px;
	line-height: 25px;
}

#toolbar div.toolbar-shortcuts {
	margin-left: 30px;
}


/**
 * Hide elements visually, but keep them available for screen-readers.
 *
 * Used for information required for screen-reader users to understand and use
 * the site where visual display is undesirable. Information provided in this
 * manner should be kept concise, to avoid unnecessary burden on the user.
 * "!important" is used to prevent unintentional overrides.
 */
.element-invisible {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

/**
 * The .element-focusable class extends the .element-invisible class to allow
 * the element to be focusable when navigated to via the keyboard.
 */
.element-invisible.element-focusable:active,
.element-invisible.element-focusable:focus {
  position: static !important;
  clip: auto;
}

/**
 * Contextual links regions.
 */
.contextual-links-region {
	outline: none;
	position: relative;
}
.contextual-links-region-active {
	outline: #777 dashed 1px;
} 

div.contextual-links-wrapper {
	display: none;
	float: left;
	font-size: 90%;
	position: absolute;
	/*
	left: 5px;
	top: 0;
	*/
	z-index: 999;
}

#block-infoarticle-infoarticle-block .contextual-links-wrapper {
	top: 70px;
}

.contextual-links-region:hover .contextual-links-wrapper, .block:hover .contextual-links-wrapper {
	display: block;
}

.contextual-links-wrapper a.contextual-links-trigger {
	background: #fff url('../images/gear-select.png') no-repeat 2px 0;
	border: 1px solid #777;
	border-right: none;
	display: block;
	height: 22px !important;
	line-height: 22px !important;
	margin: 0;
	padding: 0 2px !important;
	outline: none;
	text-indent: 40px; /* LTR */
	width: 30px !important;
	overflow: hidden;
	-khtml-border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px; 
}

a.contextual-links-trigger:hover,
div.contextual-links-active a.contextual-links-trigger {
  background-position: 2px -24px;
} 

div.contextual-links-wrapper ul.contextual-links {
	width: auto !important;
	height: auto !important;
	background-color: #ccc;
	border: 1px solid #777;
	border-left: none;
	/*display: none; */
	margin: 0 !important;
	padding: 0 !important;
	position: absolute;
	left: 30px;
	text-align: left !important;
	top: 0px;
	white-space: nowrap;
	-moz-border-radius:  0 4px 4px 0; /* LTR */
	-webkit-border-bottom-left-radius: 0;
	-webkit-border-bottom-right-radius: 4px;
	-webkit-border-top-right-radius: 4px; /* LTR */
	-webkit-border-top-left-radius: 0; /* LTR */
	border-radius: 0 4px 4px 0; /* LTR */
}

div.contextual-links-wrapper ul.contextual-links li { 
	height: auto !important;
	line-height: 12px !important;
	border: none !important;
	margin: 0 !important;
	width: auto !important;
	float: left !important;
	padding: 0 !important;
	display: inline-block !important;
}

div.contextual-links-wrapper ul.contextual-links li a {
	display: block !important;
	text-transform: none !important;
	background: none;
	color: #333 !important;
	font-weight: bold !important;
	font-size: 12px !important;
	margin: 0 !important;
	padding: 5px !important;
	line-height: 12px !important;
	height: auto !important;
}

div.contextual-links-wrapper ul.contextual-links li a:hover {
	background: #333 !important;
	color: #fff !important;
	text-decoration: none !important;
	height: auto !important;
}

/* Tabs */

div.tabs {
	display: none;
	float: left;
	width: auto;
	font-size: 90%;
	position: absolute;
	left: auto;
	z-index: 1000;
}

.page-content:hover div.tabs {
	display: block;
}

div.tabs ul.tabs {
	width: auto;
	background-color: #ccc;
	border: 1px solid #777;
	padding: 0 !important;
	text-align: left !important;
	white-space: nowrap;
	-moz-border-radius:  4px 4px 4px 4px; /* LTR */
	-webkit-border-bottom-left-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	-webkit-border-top-right-radius: 4px; /* LTR */
	-webkit-border-top-left-radius: 4px; /* LTR */
	border-radius: 4px 4px 4px 4px; /* LTR */
}

div.tabs ul.tabs li {
	display: inline-block;
}

div.tabs ul.tabs li a {
	display: block;
	background: none;
	color: #333;
	font-weight: bold;
	font-size: 12px;
	margin: 0;
	padding: 5px 10px;
	line-height: 12px;
}

div.tabs ul.tabs li a:hover {
	background: #333;
	color: #fff;
	text-decoration: none;
}