/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/

/*----------------------------------------------------------
    COLOUR SCHEME
    Greens : 0c8558, 93e88f    
    Pink   : #F5C4B8
----------------------------------------------------------*/

body
{
    background-color: #E4E4D7;
    font-size: .75em;
    font-family: Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #696969;
}

a:link
{
    color: #034af3;
    text-decoration: underline;
}
a:visited
{
    color: #505abc;
}
a:hover
{
    color: #1d60ff;
    text-decoration: none;
}
a:active
{
    color: #12eb87;
}
a img
{
    border-width: 0;
}

p, ul
{
    margin-bottom: 20px;
    line-height: 1.6em;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
}

h1
{
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}
h2
{
    padding: 0 0 10px 0;
    margin: 0;
}
h3
{
    font-size: 1.2em;
}
h4
{
    font-size: 1.1em;
}
h5, h6
{
    font-size: 1em;
}

pre { margin: 0; padding: 0; text-indent: 0; text-align: left; white-space: pre-line; font-family:Verdana; font-size:11px;}

/* Clear Float Fix */
/* Add class clearfix to parent container for dealing with child floats */

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/* this rule styles <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
    margin-top: 0;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page
{
    background-color: #fff;    
    margin-left: auto;
    margin-right: auto;
    width: 98%;
}

#content
{
    background-color: #f4f4f4;
    background-color: #fff;
    _height: 1px;  /* only IE6 applies CSS properties starting with an underscore */    
    clear: both;
    width: 100%;
    margin-top: 15px;
}

.content-container
{
    padding: 15px 30px 10px 30px;    
    min-height: 400px;
}

#left
{            
    float : left;                          
    min-height: 100px;    
    
    width: 220px; 
    margin-left: 0; 
}

#right
{   
    border-left: 1px solid #0077CC; 
    margin-left: 220px;
    margin-top: -15px;        
}

/* HEADER
----------------------------------------------------------*/
#header
{
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

#header h1
{
    font-weight: bold;
    padding: 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px !important;
}

/* SIDEBAR   
----------------------------------------------------------*/

.side-bar
{
    background-color: #DBE7EF; 
    border-bottom: 1px solid #0077CC;
}

.side-bar.alt
{
    background-color: #FFFFFF; 
}

.side-bar-content
{
    margin: 0 20px;
}

.side-bar h2, .side-bar h2 a
{    
    font-size: 14px;
    text-indent: 5px;
    line-height: 1.5em;
    margin: 0;
    padding: 10px 0;
}

.side-bar h2 a
{
    text-decoration: none;
    color: #000;
}

.side-bar h2 a:hover
{
    text-decoration: underline;
}

.side-bar ul
{
    margin: 0;
    padding: 0 0 10px 20px;
    line-height: 1.5em;
}


/* FOOTER   
----------------------------------------------------------*/

#footer
{
    background-color: #2C2C2C;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0;
    font-size: .9em;
}

/* TAB MENU   
----------------------------------------------------------*/
ul#menu
{
    border-bottom: 0px #5C87B2 solid;
    padding: 0 0 2px;
    position: relative;
    margin: 0;
    text-align: right;
}

ul#menu li
{
    display: inline;
    list-style: none;
}

ul#menu li#greeting
{
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#menu li a
{
    background-color:inherit;
    border: 1px solid #383838;                            
    color: #fff;
    font-family: Arial;
    font-size: 16px;    
    font-weight: bold;
    line-height: 2.8em;    
    padding: 10px 20px 0 35px;
    text-decoration: none;
}

ul#menu li a:hover
{
    background-color: #D1D1D1;
    border: 1px solid #000;
    text-decoration: none;
}

ul#menu li a:active
{
    background-color:inherit;
    text-decoration: none;
}

ul#menu li.selected a
{
    background-color:inherit;
    color: #000;
}

.lnkHome a, .lnkMatesPromo a, .lnkLogging a
{
    background-repeat: no-repeat;
    background-position: left;            
}

.lnkHome a
{
    background-image: url(/content/images/home_32.png);                        
}
        
.lnkMatesPromo a
{
    background-image: url(/content/images/SmileyHappy.png);
}
        
.lnkLogging a
{
    background-image: url(/content/images/chart.png);
} 

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset 
{
    margin: 1em 0;
    padding: 1em;
    border: 1px solid #CCC;
}

fieldset p 
{
    margin: 2px 12px 10px 10px;
}

legend 
{
    color: #000;
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}

input[type="text"] 
{
    width: 200px;
    border: 1px solid #CCC; /* CCC */
}

input[type="password"] 
{
    width: 200px;
    border: 1px solid #CCC;
}

input[type="text"].small
{
    width: 30px;
}

/* TABLE
----------------------------------------------------------*/

table 
{
  border: solid 1px #aaa; /* e8eef4 */
  border-collapse: collapse;
}

table td 
{
  padding: 5px;   
  border: solid 1px #aaa; /* e8eef4 */
  vertical-align: top;
}

table th
{
  padding: 6px 5px;
  text-align: left;
  background-color: #aaa; /* e8eef4 */
  border: solid 1px #aaa;  /* e8eef4 */ 
}

/* MISC  
----------------------------------------------------------*/
.clear
{
    clear: both;    
}

.error
{
    color:Red;
}

#menucontainer
{
    margin: 0;
}

div#title
{
    display:block;
    float:left;
    text-align:left;
}

#logindisplay
{
    background-color: #2C2C2C; /* 2C2C2C */
    color: #fff;
    display:block;
    font-size:1.1em;    
    height: 22px;
    text-align:right;
    margin: 0;  
    padding: 5px 20px;
}

#logindisplay a:link
{
    color: white;
    text-decoration: underline;
}

#logindisplay a:visited
{
    color: white;
    text-decoration: underline;
}

#logindisplay a:hover
{
    color: white;
    text-decoration: none;
}

#application-bar
{
    background-color: #383838;
    background-color: #3D3D3D;
    height: 40px;
    padding: 10px;
}

#bread-crumbs
{
    background-color: #2C2C2C;
    color: #fff;
    height: 19px;
    padding: 8px 20px;
    display: none;
}      

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
    color: #ff0000;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid
{
    display: none;
}

.editor-container
{
    clear: both;
}

.admin .display-label, .admin .editor-label
{
    display: block;    
    float: left;
    width: 200px;
}

.admin .display-field, .admin .editor-field
{
    float: left;
    width: 400px;
}


/* Styles for editor and display helpers
----------------------------------------------------------*/

.display-label,
.editor-label,
.display-field,
.editor-field
{
    margin: 0.5em 0;
}

.display-label
{
    font-weight: bold;
}

.display-field
{
    border: solid 1px #aaa;
    padding: 5px 3px;
    background-color: #f1f1f1;
}

.text-box
{
    width: 30em;
}

.text-box.multi-line
{
    height: 6.5em;
}

.tri-state
{
    width: 6em;
}

/* Styles for lists/grids
----------------------------------------------------------*/

.grid-container
{
    width: 100%;
    overflow: auto;    
}

.grid
{
    font-size: 11px;
    font-family: Verdana;
    border-collapse: collapse;
    border: none;
    width: 100%;    
}

.grid tr
{
    background-color: #fff;
}

.grid tr.alt
{
    background-color: #E9E9E9;
}

.grid th
{
    border: 1px solid silver;
    background-color:#0A6CCE;
    color: #fff;
}

.grid td
{
    border: 1px solid silver;      
}

.grid-filter
{
    margin: 5px 0;
    border: 1px solid #aeaeae;
    background-color: #f1f1f1;
}

.inner
{
    padding: 3px 10px;
}

/* Pager */

.grid-header 
{    	
	margin: 0;
	padding: 0;
}

.grid-options
{
    text-align: right;
}

.grid-results
{
    margin: 5px 0;
    border: 1px solid #aeaeae;
    background-color: #f1f1f1;	    
}

.grid-results .inner { height: 24px; }

.paging
{    
	margin:8px 3px;	
	padding:3px;        
}

.pager .disabled 
{
	border:1px solid #ddd;
	color:#999;
	margin-top:4px;
	padding:3px;
	text-align:center;
}

.pager .current 
{
	background-color:#06c;
	border:1px solid #009;
	color:#fff;
	font-weight:bold;
	margin-top:4px;
	padding:3px 5px;
	text-align:center;
}

.pager span, .pager a
{
	margin: 4px 3px;
}

.pager a 
{
	border:1px solid #c0c0c0;
	padding:3px 5px;
	text-align:center;
	text-decoration:none;
}

.scroll-view  
{
    overflow:scroll;
    width:100%;
}

.table-caption  
{
    background-color:navy;
    color:white;
    font-weight:bold;
    margin:0;
    padding:0.4em;
}

.key-col
{
    font-weight: bold;
}

.odd-row
{
    background-color: #e9e9e9;
}

.type-col
{
    font-weight: bold;
}

.code-col, .date-col, .time-col
{
    text-align: right;
}

.exception
{
    font-size: 11px;
}

.exception th 
{
    background-color:#0A6CCE;
    border:1px solid silver;
    color:White;
    padding:0.4em;
    text-align:left;
    vertical-align:top;
}

.exception td  
{
    border:1px solid silver;
    padding:0.4em;
    vertical-align:top;    
}

fieldset
{
    background-color: #d2d2d2;
    -moz-border-radius: 8px;    
    position:relative;
    margin: 30px 0 20px 0;
}

legend span {display:block;position:absolute;top:-40px;left:0px}
