/* 
==========================================================
	
	1.  =DEFAULTS
	2.  =CASE FILE
	3.  =CASE FILE THUMBNAILS
	4.  =LOGIN
	5.  =FORGOTTEN PASSWORD
	6.  =REGISTRATION
	7.  =MY SUBMISSIONS
	8.	=ONLINE FORMS STEPS

========================================================== 
*/


/* =1. DEFAULTS
---------------------------------------------------------- */

/* FORMS */

label {
float:left;
display:block;
width:150px;/*Default width*/
}

fieldset {
border:2px outset #63FFCE;
background-color:#D6FFF7;
padding:0.5em;
}

/* TABLES */

table {font-size:1em;}

th {
border:1px solid #179B6E;
background-color:#D6FFF7;
}

/*Buttons within table cells*/
td form {
margin:0;
padding:0;
}

/* Zebra table striping */
.row0, .row1 {border-bottom: 1px solid #179B6E;}

/*Data tables*/
table#casefilesummary, 
table#casefiledocs,
table#casefileshortcuts,
table#draftsubmissions,
table#submittedapps,
table#attachments {
width:100%;
border:0;
}

/*Data table cells styled*/
table#casefilesummary td, 
table#casefiledocs td,
table#casefileshortcuts td,
table#draftsubmissions td,
table#submittedapps td,
table#attachments td {
padding:0.2em;
text-align:left;
color:#000;
}

/* HEADINGS */

h2 {font-size:1.2em;}
h3 {font-size:1em;}

/* OTHER */

/*Footer branding*/
#branding {
margin-top:20px;
border-top:1px solid #179B6E;
}

#messagebox {
background-color:#FFF8E8;
border:1px solid #FFE9BF;
padding:0.5em;
}

/* =2. CASE FILE
---------------------------------------------------------- */

/* SUMMARY */

table#casefilesummary th
{
border:0;
background:#fff;
width:16%;
padding-right:1em;
text-align:left;
white-space:nowrap;
color:#000;
}

p#casefilelinks a
{
float:right;
text-decoration:none;
border:1px solid #E9E8EB;
padding:0px 2px 0px 15px;
margin-left:8px;
margin-right:8px;
background:url("../images/linkbullet.gif");
background-repeat:no-repeat;
margin-bottom:40px;
display:none;
}

p#casefilelinks a:hover
{

background:#F6FAFD;
background:url("../images/linkbullet.gif");
background-repeat:no-repeat;
}

p#casefilelinks em
{
display:none;
}

div#drawingstext
{
margin:1.5em 0em;
border:1px solid #FFE9BF;
background-color:#FFF8E8;
background-image:url("../images/warning.gif");
background-repeat:no-repeat;
background-position:7px 11px;
padding:0.5em 0.5em 0.5em 3em;
font-size:90%;
color:#666;
}

div#drawingstext p
{
padding:0;
margin:5px;
}

/* DOCUMENTS */

/*Table cell widths*/
#casefiledocs #datepublished {width:17%;}
#casefiledocs #doctype {width:13%;}
#casefiledocs #view {width:16%;}
#casefiledocs #description {width:40%;}
#casefiledocs #submitted {width:14%;}


/* =3. CASE FILE THUMBNAILS
---------------------------------------------------------- */

#thumbnails img
{
margin-right:5px;
margin-bottom:5px;
border:2px solid #5FBF9E;
}

#thumbnails a:hover img
{
margin-right:5px;
border:2px solid #179B6E;
}

/* =4. LOGIN
---------------------------------------------------------- */

/*Turn fieldset border off*/
#loginform fieldset {width:400px}

/*Hide legend*/
#loginform legend {display:none;}

#loginform fieldset p
{
margin:0;
padding:3px 0px 3px 0px;
}

/*Turn fieldset border off*/
#loginform input#button {margin:10px 0px 0px 150px;}

/* =5. FORGOTTEN PASSWORD
---------------------------------------------------------- */

/*Turn fieldset border off*/
#passwordform fieldset {
margin-left:0px;
width:55%;
}

#passwordform label {width:185px;}

#passwordform fieldset p {
margin:0;
padding:3px 0px 3px 0px;
}

/*Hide legend*/
#passwordform legend {
display:none;
}

#passwordform p#row4 {
margin-left:185px;
margin-top:10px;
}


/* =6. REGISTRATION
---------------------------------------------------------- */


#registrationform fieldset {
background:#fff;
border-top: 1px solid #179B6E;
border-right: 1px solid #fff;
border-bottom: 1px solid #fff;
border-left: 1px solid #fff;
margin: 7px 0px 14px 0px;
}

#registrationform fieldset legend {
margin-bottom: 20px;
margin-top: 5px;
color:#179B6E;
}

#registrationform fieldset#usertype {margin-top: 25px;}

#registrationform fieldset#usertype label {
margin-right:15px;
}



#registrationform fieldset p {
margin:0;
padding:3px 0px 3px 0px;
}

#registrationform label {width:190px;}

#registrationform input {margin-left:30px;}

/*Override label style for messagebox*/

#registrationform p#messagebox input {
margin-left:0px;
}

#registrationform p#messagebox label {
display:inline;
float:none;
width:30px;
}

#registrationform fieldset#usertype p#usertyperow1 input, 
#registrationform fieldset#usertype p#usertyperow2 input {
float:left;
margin-left:0;
}

#registrationform em {
font-size: 80%; 
font-style: normal;
color:#666;	
}

/*Override label style for messagebox at foot of page*/

#registrationform p#messagebox input {
margin-left:0px;
}

#registrationform p#messagebox label {
display:inline;
float:none;
margin-left:5px;
}

/*Override submit/reset button margin*/
#registrationform p#submit input {
margin-left:0px;
}

/* =7. MY SUBMISSIONS
---------------------------------------------------------- */

/* CASE FILE SHORTCUTS */

/*Table column widths*/
table#casefileshortcuts th#appType {width:20%;}
table#casefileshortcuts th#appref {width:20%;}
table#casefileshortcuts th#address {width:51%;}
table#casefileshortcuts th#delete {width:9%;}

/* SUBMITTED APPLICATIONS */

/*Table column widths*/
table#submittedapps th#date {width:16%;}
table#submittedapps th#councilref {width:13%;}
table#submittedapps th#myref {width:10%;}
table#submittedapps th#onlineref {width:12%;}
table#submittedapps th#otherinfo {width:38%;}
table#submittedapps th#delete {width:11%;}

/* DRAFT SUBMISSIONS */

/*Table column widths*/
table#draftsubmissions th#date {width:16%;}
table#draftsubmissions th#myref {width:53%;}
table#draftsubmissions th#onlineref {width:22%;}
table#draftsubmissions th#delete {width:9%;}

/* USER DETAILS */

table#userdetails {
padding-bottom:15px;
margin-bottom:10px;
}

table#userdetails th {
border:0;
background:#fff;
padding-right:1em;
text-align:left;
color:#000;
}

/* =8. ONLINE FORMS STEPS
---------------------------------------------------------- */

#stepsform div.stepsitem {
border:1px solid #5A718C;
display:block;
width:99%;
margin-bottom:5px;
padding:15px 5px 15px 5px;
}

.stepsitembody h2 {font-size:125%;}

.stepsitembody h2 span {
color:#fff;
background:#E8D09C;
padding:0px 5px 1px 5px;
margin-right:4px;
font-size:130%;
}

#stepsform div.stepsitembody {
float:left;
width:85%;
padding:5px 5px 5px 20px;
}

/*Force height on DIVs with less height*/
#stepsform div#payment .stepsitembody, 
#stepsform div#submit .stepsitembody {height:85px;}
#stepsform div#payment .stepsitembody {height:110px;}

/* ATTTACHMENTS */

#IG3FormBundle {margin-top:0;}

fieldset#attachmentcontrols {width:55%;}

fieldset#attachmentcontrols #docType {width:183px;}

fieldset#attachmentcontrols div
{
margin-top:10px;
margin-bottom:10px;
}

/* CHEQUE PAYMENT */

table#chequepayment td label, table#chequepayment td strong
{
padding-right:20px;
}

