/*
 * COLOURS
 * -------
 * 
 * Dark blue: #000066
 * Bright blue: #0066ff
 * Orange: #ff6600
 * Light grey: #e6e6e6
 * 
 */

/* Revert Builder nav theming */

body .atb-menu,
body .atb-sidebar,
body .atb-navigation {
	background-color: transparent;
	border: none;
	padding: 0;
}

/* Generics */

div.clear {
	clear: both;
	height: 0;
	margin: 0;
	padding: 0;
}

p.t-warning {
	background-color: #f60 !important;
	color: #fff !important;
	padding: 5px !important;
	margin: 5px !important;
}

p.t-warning-minor {
	background-color: #fff !important;
	border: 1px solid #f60 !important;
	color: #f60 !important;
	padding: 5px !important;
	margin: 5px !important;
}

/* Begin styles */

body.atb-body {
	background-color: #fff !important;
}

/* Normalise fonts */

body.atb-body, 
body.atb-body p, 
body.atb-body td, 
body.atb-body th, 
body.atb-body div, 
body.atb-body span, 
body.atb-body div.dynarch-horiz-menu, 
body.atb-body div.dynarch-horiz-menu table, 
body.atb-body div.dynarch-horiz-menu table, 
body.atb-body input, 
body.atb-body ul li, 
body.atb-body ol li, 
body.atb-body select {
	color: #000066;
	font-family: Verdana, sans-serif;
}

#logo {
	height: 31px;
	position: absolute;
	top: 20px;
	left: 20px;
	width: 130px;
}

#logo a {
	background: transparent url( ../images/header-logo.gif ) no-repeat top left;
	display: block;
	height: 100%;
	text-indent: -9999px;
	width: 100%;
}

#atb-headerdiv {
	height: 90px;
	position: relative;
}

/* Search */

#search {
	background: transparent url( ../images/search-drop-bg.gif ) repeat-x bottom left;
	left: 50%;
	margin: 20px 0 0 -180px;
	position: absolute;
	text-align: center;
	top: 0;
	width: 360px;
}

#search div.t-inner-1 {
	background: transparent url( ../images/search-drop-bg-left.gif ) no-repeat bottom left;
}

#search div.t-inner-2 {
	background: transparent url( ../images/search-drop-bg-right.gif ) no-repeat bottom right;
	padding-bottom: 10px;
}

#search input.search-query {
	border: 1px solid #666;
	width: 260px;
}

#search input.search-button {
	margin-left: 5px;
	margin-bottom: -5px;
}

/* User Ctrls */

#t-user-ctrls {
	position: absolute;
	right: 0;
	top: 10px;
	width: 255px;
}

#t-user-ctrls ul {
	list-style: none;
	margin: 0;
	min-height: 62px;
	padding: 0 68px 0 0;
	text-align: right;
}

#t-user-ctrls li {
	margin: 0;
	padding: 0 15px 0 0;
}

body.context-page #t-user-ctrls li,
body.context-space-blogposts #t-user-ctrls li,
body.context-blogpost #t-user-ctrls li {
	padding-right: 75px;
}

#t-user-ctrls #t-profile-pic {
	background: transparent url( ../images/profile-pic-bg.gif ) no-repeat 0 0;
	height: 62px;
	padding-right: 0;
	position: absolute;
	right: 7px;
	top: 14px;
	width: 62px;
}

#t-user-ctrls #t-profile-pic img {
	left: 5px;
	position: absolute;
	top: 5px;
}


/* Tabs */

#t-tabs {
	background: transparent url( ../images/tabs-bar-bg.gif ) repeat-x top left;
	height: 34px;
	position: relative;
	width: 100%;
}

#t-tabs ul {
	bottom: 0;
	height: 29px;
	left: 50%;
	list-style: none;
	margin: 0 0 0 -150px;
	padding: 0;
	position: absolute;
	width: 290px;
}

#t-tabs li {
	height: 29px;
	left: 0;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 0;
	width: 146px;
}

li#t-tab-blog {
	left: 146px;
}

#t-tabs a {
	background: none;
	color: #fff;
	display: block;
	font-weight: bold;
	font-size: 1.2em;
	height: 100%;
	line-height: 34px;
	margin: 0 0 -1px 0;
	padding: 0 0 4px;
	text-align: center;
	text-decoration: none;
	width: 100%;
}

#t-tabs .t-tab-current a,
#t-tabs li a:hover {
	background: transparent url( ../images/tab-on-bg.gif ) no-repeat top left;
	color: #006;
}

/* Breadcrumbs */

#atb-navigationdiv {
	margin-top: 0;
}

#t-breadcrumbs {
	margin: 0 10px 10px 10px;
}

/* Labels */

#labels-section .section-header h2 {
	margin: 0;
}

#labels-section #labelsList .confluence-label {
	margin-left: 0.5em;
	margin-right: 0;
}

/* De-emphasise software ads */

#poweredby,
#poweredby a, 
#poweredby div,
div.license-free {
	color: #eee !important;
}

/* Panels */

div.t-panel {
	background: transparent url( ../images/panel-bg-left.gif ) no-repeat top left;
	margin: 0 5px;
}

div.t-panel ul {
	list-style: none;
	margin: 10px;
	padding: 0;
}

div.t-panel .t-inner-1 {
	background: transparent url( ../images/panel-bg-right.gif ) no-repeat top right;
	margin: 0;
	padding: 10px;
	width: 176px;
}

#t-pagetree {
	background: transparent url( ../images/panel-long-bg-left.gif ) no-repeat top left;
}

#t-pagetree .t-inner-1 {
	background: transparent url( ../images/panel-long-bg-right.gif ) no-repeat top right;
	_height: 450px;
	min-height: 450px;
}

div.t-panel h2 {
	background: transparent url( ../images/panel-title-dotted-underline.gif ) repeat-x bottom left;
	color: #0076cd;
	font-size: 1.3em;
	font-weight: normal;
	padding: 0 0 5px 0;
	margin: 0 10px;
}

div.t-panel div.t-intro {
	margin: 0 10px;
}

#t-pages-linking p {
	margin: 5px 10px;
}

/* Page Tree */

div.pagetree {
	margin: 10px 5px;
}

div.pagetree a.selnode {
	background-color: #ffd9bf;
	border-color: #ff6600;
}

div.pagetree a.prnnode:hover {
	background-color:#ffd9bf;
}

div.pagetree a.node:hover {
	background-color:#ffd9bf;
}

div.pagetree a.selprnnode {
	background-color:#ffd9bf;
	border-color: #ff6600;
}

div.pagetree div.row {
	color: #0066cc;
}

div.pagetree div.selrow {
	background-color: #99CCFF;
}

div.pagetree input.nodeedit {
	color: #666666;
	border-color: #cfcfcf;
}

/* Buttons! */

#t-main-ctrls {
	height: 30px;
	margin-bottom: 10px;
	position: relative;
}

#t-main-ctrls ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#t-main-ctrls li.t-ctrl {
	height: 30px;
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 0;
	width: 121px;
}

#t-main-ctrls li.t-ctrl a {
	display: block;
	height: 100%;
	outline: none;
	width: 100%;
	text-indent: -9999px;
}

#t-main-ctrls li.t-ctrl a:hover {
	background-position: 0 -30px;
}

#t-main-ctrls li#t-edit {
	left: 0;
}

#t-edit a {
	background: transparent url( ../images/button-edit.gif ) no-repeat top left;
}

#t-attachments {
	left: 131px;
}

#t-attachments a {
	background: transparent url( ../images/button-attachments.gif ) no-repeat top left;
}

#t-main-ctrls li#t-discuss {
	left: 262px;
}

#t-discuss a {
	background: transparent url( ../images/button-discuss.gif ) no-repeat top left;
}

#t-new-page,
#t-new-post {
	right: 0;
}

#t-new-page a {
	background: transparent url( ../images/button-new-page.gif ) no-repeat top left;
}

#t-new-post a {
	background: transparent url( ../images/button-new-post.gif ) no-repeat top left;
}

/* Sidebars */

body.action-editpage .atb-leftSidebar {
	overflow: hidden;
	width: 1px !important;
}

body.action-editpage #atb-leftSidebardiv {
	display: none !important;
}

/* Content */

.wiki-content h1 {
	font-size: 18px;
}

.wiki-content h2 {
	font-size: 16px;
}

.wiki-content h3 {
	font-size: 14px;
}

.wiki-content h4 {
	font-size: 12px;
}

.wiki-content h5 {
	font-size: 12px;
	font-style: italic;
}

