/* CONTEXTUAL LINK STYLING OVERRIDE FIX */
div.contextual-links-wrapper {font-size: 10px!important; line-height: 1em!important; width: auto!important;}
div.contextual-links-wrapper ul.contextual-links,
div.contextual-links-wrapper ul.contextual-links li,
div.contextual-links-wrapper ul.contextual-links li a {background: none!important; background-color: none!important; border: 0!important; float:none!important;  font-size: 1em!important; font-weight: normal!important; line-height: 1em !important; text-decoration: none!important; margin: 0!important; padding: 0!important; text-align: left!important; text-transform: none!important;}
div.contextual-links-wrapper ul.contextual-links:before,
div.contextual-links-wrapper ul.contextual-links:after,
div.contextual-links-wrapper ul.contextual-links li:before,
div.contextual-links-wrapper ul.contextual-links li:after,
div.contextual-links-wrapper ul.contextual-links li a:before,
div.contextual-links-wrapper ul.contextual-links li a:after {display: none!important;}
div.contextual-links-wrapper ul.contextual-links {background-color: #fff!important; border: 1px solid #ccc!important; display: none; padding: 0.25em 0!important; position: absolute; right: 0; top: 18px; white-space: nowrap!important; -moz-border-radius: 4px 0 4px 4px; -webkit-border-bottom-left-radius: 4px; -webkit-border-bottom-right-radius: 4px; -webkit-border-top-right-radius: 0; -webkit-border-top-left-radius: 4px; border-radius: 4px 0 4px 4px;}
div.contextual-links-wrapper ul.contextual-links li {display: block!important; list-style: none!important; list-style-image: none!important; }
div.contextual-links-wrapper ul.contextual-links li a {display: block; margin: 0.25em 0!important; padding: 0.25em 1em 0.25em 0.5em!important;}

.tabs ul.primary {border-bottom: 1px solid #bbb; border-collapse: collapse; height: auto; line-height: normal; list-style: none; margin: 5px; padding: 0 0 0 1em; }
.tabs ul.primary li {bottom: -1px; display: inline; position: relative;}
.tabs ul.primary li a {background-color: #ddd; border-color: #bbb; border-style: solid solid none solid; border-width: 1px; height: auto; margin-right: 0.5em; padding: 0 1em; text-decoration: none;}
.tabs ul.primary li.active a {background-color: #fff; border: 1px solid #bbb; border-bottom: 1px solid #fff;}
.tabs ul.primary li a:hover {background-color: #eee; border-color: #ccc; border-bottom-color: #eee;}

.messages.status {text-align: left;}

body.toolbar {padding-top: 3em;}
body.toolbar-drawer {padding-top: 6.5em;}
.overlay-element.overlay-active{ top: 5.3em!important;}
