/* =========================================
============================================
ITw3 specific elements for MediaWiki
** Copyright ITw3 Limited - http://www.itw3.com/
** License: GPL (http://www.gnu.org/copyleft/gpl.html)
Modifies monobook for use in a corporate environment
============================================ */

/* =========================================
Global
============================================ */
body {
	background: #ffffff url(nothing.png) 0 0 no-repeat;
}
.portlet a {
	color: #003151;
}
div#p-cactions, #column-content {
	margin-top: 10px;
}
/* =========================================
Personal action tabs
============================================ */
#p-personal li {
	background-color: #dee0ec;
	border:1px solid #aaa;
	padding:0em .2em;
	margin:0;
}
#p-personal li#pt-userpage, #p-personal li#pt-login {
	padding-left:1.5em;
}
#p-personal li a {
	font-size:100%;
	color: #003151;
}
#p-personal li:hover, #p-personal li a:hover {
	background: #6b6a9d;
	text-decoration: none;
	color:white;
	padding-bottom:0;
	padding-top:0;
}
/* =========================================
Content action tabs
============================================ */
#p-cactions li a {
	background-color: #dee0ec;
	font-size:110%;
	border-top:1px solid #aaa;
	color: #003151;
}
#p-cactions li.selected a {
	border-top:1px solid fabd23;
}
#p-cactions li:hover, #p-cactions li a:hover {
	background: #6b6a9d;
	text-decoration: none;
	color:white;
	padding-bottom:0;
	padding-top:0;
}
/* =========================================
Left navigation menus
============================================ */
div.itw3LocalWarning {
	text-align:center;
	background-color:yellow;
	border:1px solid navy;
}
div.itw3LocalWarning span {
	font-weight:bold;
	color:navy;
}
div.itw3LeftNav h4 {
	color:#6b6a9d;
	font-weight:normal;
	margin-left: .1em;
	text-transform: lowercase;
}
div.itw3LeftNav li {
	list-style:none;
	display: inline;  /* only required up to IE6 */
}
div.itw3LeftNav .pBody {
	font-size: 110%;
	padding: 0em;
	margin-left:.1em;
	background-color: #dee0ec;
	border:1px solid #9392b7;
}
div.itw3LeftNav ul {
	margin-left: .5em;
}
div.itw3LeftNav li a  {
	display: block;
	text-decoration: none;
}
li#feedlinks a {  /* RSS and Atom links under 'tb' when viewing 'recent changes' */
	display:inline;
}
div.itw3LeftNav li a:hover  {
	background-color: #6b6a9d;
	text-decoration: none;
	color: #fffffe;
}
#searchInput {
	width: 10em;
	margin: 0;
	font-size: 95%;
	border:1px solid #9392b7;
}
div.itw3LeftNav.editModeWarningHeading h3 {
	color:#9b0502;
	font-weight:bold;
}
div.itw3LeftNav .editModeWarning {
	border:1px solid #9b0502;
	background-color:#dee0ec;
	color:#9b0502;
	font-size:138.5%;
	font-weight:normal;
	text-align:center;
}
div.itw3LeftNav .editModeWarning span {
	font-size:300%;
	line-height:100%;
}
div.editModeNewTab {
	margin-left:.2em;
	margin-top:1em;
}
/* =========================================
Footer
============================================ */
#footer {
	border:none;
	background: #ffffff url(none.png) 0 0 no-repeat;
}
#f-list {
	display:none;
	margin:0pt 8px;
	border-bottom:1px solid #b7b9b6;
	padding-bottom:3px;
}
#f-list li {
	zoom:1; /* makes li = hasLayout for opacity to work in IE */
	margin:0pt 0.25em;
	background-color: #ffffff;
	background-image: url(i-ucc-bg-menu.jpg);
	background-repeat: no-repeat;
	border:none;
	padding:0.5em 0.5em;
}
#lastmod, #viewcount, #numberofwatchingusers, #credits, #copyright, #tagline {
	padding:0px 10px;
}
#f-list a {
	padding:0px 10px;
	text-transform: lowercase;
}
#f-poweredbyico, #f-copyrightico {
	float:left;
	width:720px;
	margin-top: 0px;
	margin-right: 8px;
	margin-bottom: 20pt;
	margin-left: 9em;
	padding-top:0.5em;
	position: static;
	text-align:right;
	border-top:1px solid #b7b9b6;
}
#f-poweredbyico a img, #f-poweredbyico ul li {
	opacity: .6;
	filter: alpha(opacity=60);
}
#f-poweredbyico a:hover img, #about:hover, #privacy:hover, #disclaimer:hover, #f-poweredbyico ul li:hover {
	opacity: 1;
	filter: alpha(opacity=100);
}
#about:hover, #privacy:hover, #disclaimer:hover {
	background-color: #b7b9b6;
	border-color:#dee0ec;
}
#about a:hover, #privacy a:hover, #disclaimer a:hover {
	background-color: #b7b9b6;
	text-decoration:underline;
}
#itw3WeshLogo, #itw3MediaWikiLogo {
	display:none;
}
#itw3Logo {
	border:none;
	margin:0px 5px;
}
.footerBodge {
	float:right;
	width:125px;
}
/* =========================================
Content body
============================================ */
#wpTextbox1 {
	height:600px;
}
#content, acronym, abbr, p, address, li, td, h1, h2, h3, h4, h5, h6, h1.firstHeading, span.toctext, #togglelink, code, pre {
	color:#003150;
}
p {
	line-height:1.6em;
}
p span, p font, p font-size {
	line-height:normal;  /* accomodates user setting custom font size */
}
#content {
}
#bodyContent {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
hr { 
	color:#ddd; 
	margin:1em;
}
h1, h2, h3, h4, h5, h6 {
	background: none;
	font-weight: normal;
	margin: 0;
	border-bottom: 1px solid #aaa;
}
/* see 'mw_h_sizes.xls' for revised .editsection corrections */
h1 { font-size: 153.9%; margin-top: 0.6em; }
h1 .editsection { font-size: 64.98%; }
h2 { font-size: 138.5%; margin-top: 0.6em; }
h2 .editsection { font-size: 72.2%; }
h3, h4, h5, h6 { border-bottom: none; font-weight: normal; }
h3 { font-size: 123.1%; margin-top: 0.6em; }
h3 .editsection { font-size: 81.23%; font-weight: normal; }
h4 { font-size: 116%; margin-top:0.7em; }
h4 .editsection { font-size: 86.21%; font-weight: normal; }
h5 { font-size: 108%; margin-top:0.8em; }
h5 .editsection { font-size: 92.59%; font-weight: normal; }
h6 { font-size: 100%; margin-top:0.9em; }
h6 .editsection { font-size: 100%; font-weight: normal; }
h1.firstHeading {
	font-size:188%;
	margin-top:0.3em;
	padding-left:0.2em;
	border:1px solid #aaa;
	background-color: #dee0ec;
	background-image: url(i-ourwiki-bg-first-h1.png);
	background-repeat: repeat-y;
}
address {
	font-style:normal;
}
div#bodyContent ol, .mceContentBody ol {
	line-height: 1.8em;
	margin: .5em 0 0 2em;
	padding: 0;
}
div#bodyContent ol ol, .mceContentBody ol ol {
	margin: 0em 0 0 1.5em;
}
div#bodyContent ul, .mceContentBody ul {
	line-height: 1.8em;
	margin: .5em 0 0 1.5em;
	padding: 0;
	list-style-type: none;
	list-style-image: url(bullet.gif);
}
div#bodyContent ul ul, .mceContentBody ul ul {
	margin: 0em 0 0 1.5em;
	list-style-type: none;
	list-style-image: url(bullet2.gif);
}
div#bodyContent ul ul ul, .mceContentBody ul ul ul {
	margin: 0 0 0 2em;
	list-style-type: none;
	list-style-image: url(bullet3.gif);
}
li {
	margin-bottom: 0;
}
span.tocnumber {
	color:#666;
	padding-right:.4em;
}
span.toctext {
	font-size:120%;
}
table#toc ul li {
	list-style:none;
	list-style-type: none;
	list-style-image: none;
}
div#content.actionEdit {
	background-color:#faff6e;
	padding-bottom:0em;
}
#editpage-copywarn {
	display:none;
}
#wpSummary {
	margin-top:0.3em;
}
input#wpDiff {
	/* disable 'show changes' button due to problem displaying <> as &... when using TinyMCE */
	display:none;
}
input#wpPreview {
	margin-right: 1em;
}
.contentEditWarning {
	/* used within System Messages: Copyright Warnings */
	text-align:center;
	border:1px solid #9b0502;
	background-color:red;
	color:white;
	font-weight:bold;
}
div#wikiPreview {
	background-color:white;
}
div#wikiDiff {
	margin-bottom:.5em;
}
code, pre {
	display:block;
	padding:0.5em 1em;
	border:1px dashed #999;
	background-color: #eee;
	font-family:Courier New, Monospace;
	line-height:1.4em;
}
blockquote {
	display:block;
	padding:0.5em 1em;
	border:1px dotted #999;
	width:auto;
}
abbr, acronym, cite {
	border-bottom:1px dotted #a8070d;
}
#filetoc {
	display:none;
}
div.gallerybox .thumb {
	background-color:#dee0ec;
}
#bodyContent a.itw3File {
	background-image: url(document.png);
}
.allpagesredirect {          /* span on AllPages page if page is a redirect */
	background-color:#ccc;
	background-image: url(redirectltr.png);
	padding-right:45px;
	background-repeat: no-repeat;
	background-position: center right;
}
/* =========================================
Crackers customisation
============================================ */
#globalWrapper #content {
	margin-top:10px;
	margin-left:6em;
	border:none;
}
#globalWrapper #content.actionEdit {
	margin-left:20em;
}
#globalWrapper #content.contentGeneral {
	margin-top:50px;
	margin-left:12.2em;
	border:1px solid grey;
}
#bodyContent {
	width:780px;
}
#content .uccContentBg {
	float:left;
	background-image: url(i-ucc-glentable-nomenulabel.jpg);
	background-repeat: no-repeat;
	width: 470px;
}
#content .uccContent {
	margin-top: 320px;
	width: 450px;
}
#content .uccMenuLeft {
	float:right;
	width:15em;
	margin-left:1em;
}
#content .uccContentLogo {
	padding-top: 0px;
}
#content .uccContent p {
	font-size: 1.2em; 
	font-family: trebuchet ms,geneva; 
}
#content .uccContent li {
	margin-left:20px;
}
#content .uccTemplateContacts {
	float:right;
	border:2px solid #ad9b59;
	background-color:#c3c3a5;
	padding:0 15px;
	margin-top:10px;
	margin-right:2em;
}
#content .uccSspVright {
	clear:right;
	float:right;
}
/* =========================================
Content menus <menuleft>/<menuright>
============================================ */
.itw3ContentMenuLeft {
	float:left;
	clear:left;
	margin: 0.5em 1.2em 0.5em 0em;
}
.itw3ContentMenuRight {
	float:right;
	clear:right;
	margin: 0.5em 0em 0.5em 1.2em;
}
#content .uccContent .itw3ContentMenu p {
	font-size: small;
}
.itw3ContentMenu {
	color: #003151;
	padding: 0.5em 0.5em 0.5em 0.5em;
	margin-left:.1em;
	background-color: #ffffff;
	background-image: url(i-ucc-bg-menu.jpg);
	background-repeat: no-repeat;
	border:none;
}
table.itw3ContentMenuHeader {
	border:none;
	width:auto;
}
table.itw3ContentMenuHeader td {
	padding:0;
}
table.itw3ContentMenuHeader a, table.itw3ContentMenuHeader strong {
	display:block;
	padding:0 0.5em;
	margin-bottom:-20px;
}
table.itw3ContentMenuHeader td.itw3ContentMenuCaption {
	padding:0 0.5em;
	color: #c3c3a5;
	text-transform: lowercase;
}
table.itw3ContentMenuHeader td.itw3ContentMenuTab {
	color: #c3c3a5;
	background-color:transparent;
	opacity: .5;
	filter: alpha(opacity=50);
}
table.itw3ContentMenuHeader td.itw3ContentMenuTab:hover {
	background-color:#f6f8d9;
	border:1px solid #c3c3a5;
	border-bottom:none;
	opacity: 1;
	filter: alpha(opacity=100);
}
table.itw3ContentMenuHeader td.itw3ContentMenuTab a:hover {
	text-decoration:none;
}
.itw3ContentMenu a, #bodyContent .itw3ContentMenu a.external {
	display: block;
	text-decoration: none;
	color: #003151;
	padding-right:0.5em;
	padding-left:0.2em;
}
#bodyContent .itw3ContentMenu a.external {
	padding-right:13px;
}
.itw3ContentMenu p {
	padding-right:0.5em;
}
.itw3ContentMenu a:hover, #bodyContent .itw3ContentMenu a:hover.external  {
	background-color: #b7b9b6;
	text-decoration: underline;
}
.itw3ContentMenu a:hover, #bodyContent .itw3ContentMenu a:hover.external  {
	color: #003150;
}
/* =========================================
Dialogs (Rounded divs)
============================================ 
Note: Floats are styled within extension 
============================================ */
.dialog {
	margin:0px auto;
	background-color:white;
}
.dialog .hd .c,
.dialog .ft .c {
	font-size:1px; /* ensure minimum height */
 	height:15px;
}
.dialog .ft .c {
	height:20px;
}
.dialog .hd {
	background:transparent url(i-ucc-box-tl.gif) no-repeat 0px 0px;
}
.dialog .hd .c {
	background:transparent url(i-ucc-box-tr.gif) no-repeat right 0px;
}
.dialog .bd {
	background:transparent url(i-ucc-box-ml.gif) repeat-y 0px 0px;
}
.dialog .bd .c {  
	background:transparent url(i-ucc-box-mr.gif) repeat-y right 0px;
}
.dialog .bd .c .s { /* this is the content div */
	margin:0px 20px 0px 12px;
	background:transparent;
	padding:0px;
}
.dialog .bd .c .s * {  
	margin:0;
	background-color:white;
}
.dialog .bd .c .s a, .dialog .bd .c .s p strong {
	display:block;
	border-left:2px solid white;
	padding:0px 5px;
	margin:0px;
	color: #003151;
}
.dialog .bd .c .s p .selflink {
	border-left:2px solid #dbdbdb;
}
.dialog .bd .c .s a:hover {
	display:block;
	border-left:2px solid gray;
}
.dialog .ft {
	background:transparent url(i-ucc-box-bl.gif) no-repeat 0px 0px;
}
.dialog .ft .c {
	background:transparent url(i-ucc-box-br.gif) no-repeat right 0px;
}

/* =========================================
Tables: 
- add new styles to \skins\tinymce\itw3tinymcescript.php against tinyMCE 'table_styles' to enable dropdown
============================================ */
table {
	border-collapse:collapse;
	border:1px solid #bbb;
}
table td {
	padding:0.5em;
	vertical-align:top;
}
table caption {
	text-align:left;
	font-weight:bold;
	padding:0.5em;
}
table.skyguardTableDefault {
	border:1px solid #bbb;
}
table.skyguardTableDefault td {
	border:1px solid #bbb;
	padding:.2em .6em .2em .4em;
}
table.skyguardTableDefault caption {
	padding:.2em .6em .2em .4em;
	border:1px solid #1d457c;
	border-bottom:none;
	background-color:#6b6a9d;
	color:white;
	font-weight:bold;
	text-align:left;
}
table.skyguardTableDefault td.skyguardCellHeadingBlue {
	border:1px solid #1d457c;
	background-color:#6b6a9d;
	color:white;
}
/* =========================================
Form Handler
============================================ */
table.formHandler {
	width:auto;
	border:none;
}
td.formHandlerPrompt {
	width:auto;
	text-align:right;
}
td.formHandlerField {
	width:30em;
}
td.formHandlerField textarea {
	height:20em;
}
td.formHandlerField textarea, td.formHandlerField input {
	border-top:1px solid #bbb;
	border-right:1px solid #ddd;
	border-bottom:1px solid #ddd;
	border-left:1px solid #bbb;
}

/* =========================================
ITw3 specific elements for TinyMCE (leave at end)
============================================ */
body#tinymce, body#tinymce td {
	font-family:Verdana, Arial, Helvetica, sans-serif; 
	font-size:77%; 
	line-height:1.6em;
}

