/*
 * Created on 6 Feb 2007
 *         by Sandferne Solutions
 *
 * Author : Mark Fernandes
 * Project: QuestionnaireBuilder
 * Filename : global.css
 * Purpose: Look and feel of admin site
 *
 */

/*****************************************************

	GLOBALS

*****************************************************/

/* Set all margins, paddings and borders to 0, helps uniformly apply lists cross-browser */

* {
	margin: 0;
	padding: 0;
	border: 0;
}

/* Clear floating elements - Not really needed any more except for when you can't apply a width and overflow */

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* Clearfix IE hack - A width must be applied in IE */

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */

/*****************************************************

	COLOUR & TYPOGRAPHY

*****************************************************/

body {
	text-align: center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 72.5%; /* reset 1em to equal 10px */
	color: #4B4B4B;
	background: #eeeefb ;
	behavior: url("htc/csshover.htc");
}

h1, h2, h3 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #041774;
	padding-left: 10px;
}

h2 {
	font-size: 1.65em;
}

h3 {
	font-size: 1.35em;
}

a {
	color: #041774;
	text-decoration: none;
	font-weight: bold;
}

a:hover {
	color: #041774;
	text-decoration: underline;
	font-weight: bold;
}

hr {
	height: 1px;
	color: #CCC;
	background: #CCC;
	margin: 10px 0 10px 0;
}

p {
	padding: 10px;
}

table {
	width: 95%;
	margin: 10px;
}

tr:hover {
	background: #CFE9FF;
}

th {
	padding: 5px;
}

td {
	padding: 5px;
}

.border {
	border: 1px solid #CCC;
}

/* Input */

label {
	display: block;
	float: left;
	width: 140px;
	margin: 5px 0 0 0;
	text-align: right;
	padding: 0 20px 0 0;
}

.longlabel {
	display: block;
	float: left;
	width: 330px;
	margin: 5px 0 0 0;
	text-align: left;
	padding: 0 20px 0 0;
}

.midlabel {
	display: block;
	float: left;
	width: 260px;
	margin: 5px 0 0 0;
	text-align: left;
	padding: 0 20px 0 0;
}

input {
	width: 200px;
	padding: 2px;
	font-family: Arial, Helvetica, sans-serif;
	border: 1px solid #CCC;
	font-size: 10px;
}

input:focus {
	border: 1px solid #3C98E5;
}

radio {
    border: 0px;
}

select {
	width: 205px;
	padding: 2px;
	font-family: Arial, Helvetica, sans-serif;
	border: 1px solid #CCC;
	font-size: 10px;
}

select:focus {
	border: 1px solid #3C98E5;
}

optgroup {
	font-style: normal;
}

.mainOption {
	background: #F1F1F1;
	border-top: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	font-weight: bold;
}

textarea {
	width: 550px;
	height: 150px;
	padding: 2px;
	font-family: Arial, Helvetica, sans-serif;
	border: 1px solid #CCC;
	font-size: 10px;
}

.small {
    width: 350px;
    height: 60px;
	padding: 2px;
	font-family: Arial, Helvetica, sans-serif;
	border: 1px solid #CCC;
	font-size: 10px;
}

textarea:focus {
	border: 1px solid #3C98E5;
}

.submit {
	width: auto;
}

.checkbox {
	margin: 5px 0 0 0;
	width: auto;
}

.radio {
	width: auto;
	padding: 2px;
	margin: 5px;
}
/* Icons */

.arrow {
	padding: 4px 0 4px 45px;
	background: transparent url("../images/icon_arrow.gif") no-repeat center left;
}


/* Coloured Fields */

.searchbox {
	background: #F4F8FC;
	border-bottom: 1px solid #CCC;
	overflow: auto;
}

.searchbox:hover {
	background: #E8F1F9;
}

.addbox {
	background: #F1FDDD;
	border-top: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	width: 100%;
	overflow: auto;
}

.addbox:hover {
	background: #E2F4C3;
}

.addbox input {
	margin: 10px;
}

.deletebox {
	background: #FCCFD2;
	border-bottom: 1px solid #CCC;
	width: 100%;
	overflow: auto;
}

.deletebox:hover {
	background: #F4BCC0;
}

.deletebox input {
	margin: 10px;
}

.bottom {
	border-bottom: 0;
	border-top: 1px solid #CCC;
}

.top {
	border-top: 0;
	border-bottom: 1px solid #CCC;
}

/* Alternating iTunes Style Tables */

.odd {
	background: #F1F1F1;
}

.even {
	background: #FFF;
}

/* Special for adding a h2 within the div #tableContent */

.h2Inner {
	margin: 20px;
}

/*****************************************************

	STRUCTURE

*****************************************************/

#wrapper {
	margin: 0 auto;
	width: 750px;
	text-align: left;
	background: #FFF;
}

/* Header */

#header {
	font-weight: bold;
    font-family: "Arial Black";
    color: #000000;
    font-size: 2em;
}

#header #logo {
	padding: 5px 5px 2px 5px;
}

#header p {
	padding: 10px;
}

#header a {
	color: #FFF;
}

#header #titlelogo {
	padding-left: 5px;
    font-style: italic;
    font-size: 160%;
    font-weight: normal;
}

#header #banner {
    padding-bottom: 3px;
}

/* Main Body */

#body {
	width: 100%;
	overflow: auto;
	padding: 0 0 10px 0;
}

#body ul{
    list-style-type: disc;
    padding-left: 40px;
}


/* Content */

#content {
	margin: 0 0 0 180px;
}

#contentHead {
	padding: 25px;
	height: 30px;
	border-bottom: 1px solid #CCC;
}

#tableContent {
	padding: 10px;
	/*min-height: 475px; Removed to find a better menu height solution */
}

/* Footer */

#footer {
	border-top: 1px solid #CCC;
	text-align: center;
	padding: 5px;
	clear: both;
	background: #004799;
	color: #FFF;
}

#footer a {
    color: #FFF;
}

/*******************************************************
			NAVIGATION
*******************************************************/

#menu {
    font-family: verdana;
    font-size: 0.5em;
    text-align: right;
    color: #005CEB;
    padding: 2px 5px 3px 0px;
}

#menu a {
    color: #041774;
    font-weight: bold;
    padding-right: 6px;
    padding-left: 6px;
}

/*****************************************************

	USEFUL CLASSES

*****************************************************/

.left {
	float: left;
}

.right {
	float: right;
}

.center {
	text-align: center;
}

.hidden {
	display: none;
}

/*******************************************************

    CLIENT PAGE SPECIFIC

********************************************************/

.clientbox {
    border: 1px solid #A7A7A7;
    padding: 10px;
    margin: 0 15px 0 15px;
}