/*----------------------------------------------------------
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. Try: 003366 => 003333
----------------------------------------------------------*/
body {
    background-color: #003333;
    font-size: .85em;
    font-family: "Trebuchet MS", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #333333; /* was 696969*/
}

a:link {
    color: #034af3;
    text-decoration: underline;
}

a:visited {
    color: #505abc;
}

a:hover {
    color: #1d60ff;
    text-decoration: none;
}

a:active {
    color: #12eb87;
}

p, ul {
    margin-bottom: 5px; /* was 20px */
    line-height: 1.6em;
    margin-top: 4px;
}

p.arabic 
{
    direction: rtl;
}
ul.adminlist li {
    margin-bottom: 10px; 
    line-height: 1.4em;
    margin-top: 4px;
}

div.relations p 
{
    margin-left: 5px;
}

header,
footer,
nav,
section {
    display: block;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #000;
}

h1 {
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2 {
    padding: 0 0 4px 0;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

header, #header {
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

header h1, #header h1 {
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-size: 32px !important;
    text-shadow: 1px 1px 2px #111;
}

#main {
    padding: 30px 30px 15px 30px;
    background-color: #fff;
    border-radius: 4px 0 0 0;
    -webkit-border-radius: 4px 0 0 0;
    -moz-border-radius: 4px 0 0 0;
}

footer, 
#footer {
    background-color: #fff;
    color: #999;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0 0 30px 0;
    font-size: .9em;
    border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
}

/* TAB MENU   
----------------------------------------------------------*/
ul#menu {
    border-bottom: 0px #003333 solid; /* was 1px */
    padding: 0 0 1px; /* was 2px */
    position: relative;
    margin: 0;
    text-align: right;
}

ul#menu li {
    display: inline;
    margin-left: -2px; /* new to compensate rounding, -ve ok: http://www.w3.org/TR/CSS2/box.html#margin-properties */
    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 {
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    background-color: #e8eef4;
    color: #008080; /* was 034af3 */
    border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
}

ul#menu li a:hover 
{
    background-color:  #009966; /* was fff */
    color: #fff;
    text-decoration: none;
}

ul#menu li a:active {
    background-color: #a6e2a6; 
    text-decoration: none;
}

ul#menu li.selected a {
    background-color: #fff;
    color: #000;
}

/* FORM LAYOUT ELEMENTS , added shortField  
----------------------------------------------------------*/

fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend {
    font-size: 1.3em; /* was 1.2 */
    font-weight: bold;
    color: #003333; /* added */
}

textarea {
    min-height: 75px;
    width: 95%; /* added for better UI */
        border: 1px solid #003333; /* added for better UI */
}

input[type="text"], input[type="password"] {
    border: 1px solid #003333; /* color was ccc*/
    padding: 2px;
    font-size: 1.2em;
    color: #444;
    width: 95%;
}
/* added for pwd and other text shortfFields */
input[type="text"].shortField, input[type="password"].shortField 
 {
        width: 200px;
 } 

/* added for day, month and year */
input[type="text"].shorterField
{
    width: 5ex;
} 
 
select {
    border: 1px solid #003333;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
}

input[type="submit"] {
    font-size: 1.2em;
    padding: 5px;
}

/* TABLE
----------------------------------------------------------*/

table {
    border: 1px solid #e8eef4;
    border-collapse: collapse;
}

table.incomplete
{
    border: 2px dashed red; /* was 2px */
    border-collapse: collapse;
}


table td {
    padding: 5px;
    border: solid 1px #e8eef4;
}


table th {
    padding: 6px 5px;
    text-align: left;
    background-color: #003333 ; /* was e8eef4, tried009966 is active tab 66CC99  669999*/
    color: #fff; /* added */
    border: solid 1px #e8eef4;
}

table.grid th a { /* links inside webgrid */
    background-color: #003333 ; /* was e8eef4, tried009966 is active tab 66CC99  669999*/
    color: #fff; /* added */
}

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}

nav, 
#menucontainer {
    margin-top: 50px;
}

div#title {
    display: block;
    float: left;
    text-align: left;
}

#title h1 /* added to style title and logo */
{
  	font-size: 18px;
	float: left;
	background: url(/easyattendance/content/images/logo.png) no-repeat;
	padding: 55px 0px 5px 0px;  
}

#logindisplay {
    font-size: 1.1em;
    display: block;
    text-align: right;
    margin: 10px;
    color: White;
}

#logindisplay a:link {
    color: white;
    text-decoration: underline;
}

#logindisplay a:visited {
    color: white;
    text-decoration: underline;
}

#logindisplay a:hover {
    color: white;
    text-decoration: 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;
}

.greenOK {
    color: #006600;
}
.redError {
    color: #FF0000;
}
/* Styles for editor and display helpers
----------------------------------------------------------*/
div.wrapper 
{
    float: left;
    padding: 1px;
    margin: 0.2em 0 0 0;
    clear: both;
 }
 
div.relations 
{
    padding: 1px;
    margin: 0.2em 0 0 0;
    clear: both;
    border: 1px dotted #008080;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
 }
 
div.display-label /* added for better UI */
{
    float: left;
    clear: right;
    padding: 2px;   
}

div.display-label-relation /* added for better UI */
{
    padding: 2px; 
    font-weight: bold;
    color: #003333;  
}

div.display-field /* added for better UI */
{
    float: left;
    clear: right;
    padding: 2px; 
}

div.display-label2 /* added for better UI */
{
    float: left;
    clear: right;
    padding: 12px;   
}
div.display-field2 /* added for better UI */
{
    float: left;
    clear: right;
    padding: 2px; 
}
.display-label2
{
    font-weight: bold;
    color: #003333;
     margin:  0.3em 0 0.3em 0;
}
.display-field2 {
   margin:  0.3em 0 0.3em 0;  /* was 0.5em top */
}

div.editor-label /* added for better UI */
{
    clear: right;
    padding: 2px;
    margin-right: 2px;
    margin-bottom: 0em;   
}
div.editor-field /* added for better UI */
{
    clear: right;
    padding: 2px;
    margin-right: 15px; 
    margin-bottom: 0em;
}
 div.subwrapper 
{
    display: inline;
    float: left;
    padding: 1px;
    margin: 0.2em 0 0 0;
    clear: right;
 }
 

.display-label
{
    font-weight: bold;
    color: #003333;
}


.display-label, 
.editor-label 
{
  /*  margin: 1em 0 0 0; removed to account for side by side, margin applied to wrapper */
}

.display-field, 
.editor-field {
   margin: 0 0 0.5em 0;  /* was 0.5em top */
}

.text-box {
    width: 30em;
}

.text-box.multi-line {
    height: 6.5em;
}

.tri-state {
    width: 6em;
}

/* for jquery autocomplete and ajax animation
----------------------------------------------*/
.ui-autocomplete-loading  
{
    background: white url('/easytraining/content/images/ui-anim_basic_16x16.gif') right center no-repeat; 
    }
    
/* for Active Tab
----------------------------------------------*/    
  ul#menu li a.ActiveTab
   {
      color: #fff;
      background-color:  #009966; /* 339966 006633, background 003333*/
   }
/* for buttons and link into button
----------------------------------------------*/ 
 div.linkrow
  {
      display: inline;
     margin-bottom: 2px;
     clear: both;
  } 
 .simplesearch
  {
      display: inline;
      margin-left: 10px;
  }  
  
 tr.altRow /* for webgrid alternating rows */
 {
     background-color: #FAFAD2;
 } 
   
  .linkbutton4jq  /* for jquery ui styling - text color */
  {
      color: #008080 !important; /* bkgnd  003333 */
  }
  
    a.speciallink  /* like view/download - text color */
  {
      color: #008080; 
      font-weight: bold;
      text-decoration: none;
  }  
 
     a.speciallink:hover  /* like view/download - text color */
  {
      color: #66CDAA;
      text-decoration: underline;
  }   
  
   .button, input[type=submit]
{
	clear: both;
	display: inline-block;
	padding: 5px;
	margin-top: 15px; 
	border: 1px;
	background: #003333;
	color: #fff;
	font-weight: bold;
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
input[type=file]
{
   /* border: 1px dotted #003333;*/
    background-color: #CCCCCC;
    width: 350px;     
}

tr#grandTotal
{
    background-color: #BDB76B; /*F0E68C*/
    font-weight:bold; 
}

#nofilenote /* file-less records heading */
{
    border-bottom: 2px dotted red;
    font-size: 1.6em;
    color: #003333;
}

div.helpdiv 
{
    clear: both;
    min-height: 500px;
}
.helpimage
{
    float: right;
    clear: right;
    /*border: 1px dotted #003333;*/
    margin-left: 5px;
    margin-bottom: 5px;
}

dt 
{
    color: #008080; 
    font-weight: bold;
    margin: 6px 0px 6px 0px;
}
.separator 
{
    clear:both;
}




