﻿/*----------------------------------------------------------
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.
----------------------------------------------------------*/
body
{
    background-color: #5c87b2;
    font-size: 75%;
    font-family: Verdana, Tahoma, Arial, "Helvetica Neue", Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    1color: #696969;
    color: #3c3e45;
}

a:link
{
    1color: #034af3;
    color: #3c3e45;
    text-decoration: underline;
}
a:visited
{
    color: #3c3e45;
    1color: #505abc;
}
a:hover
{
    color: #1d60ff;
}
a:active
{
    color: #12eb87;
}

p, ul
{
    margin-bottom: 20px;
    line-height: 1.6em;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;
    1color: #000;
    color: #3c3e45;
}

h1
{
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}
h2
{
    padding: 0 0 10px 0;
}
h3
{
    font-size: 1.2em;
}
h4
{
    font-size: 1.1em;
}
h5, h6
{
    font-size: 1em;
}

/* 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
{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

#header
{
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

#header h1
{
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-size: 32px !important;
}

#main
{
    padding: 5px 10px 15px 10px;
    background-color: #fff;
    1margin-bottom: 30px;
    min-height: 500px;
    _height: 1px; /* only IE6 applies CSS properties starting with an underscore */
}



#reminders, #manage
{
    padding: 5px 10px 15px 10px;
    background-color: #fff;
    1margin-bottom: 30px;
    _height: 1px; /* only IE6 applies CSS properties starting with an underscore */
}

#footer
{
    color: #999;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0;
    font-size: .9em;
}

/*Main menu*/

#main-menu .ui-tabs .ui-tabs-nav li {float: right;}

/* TAB MENU   
----------------------------------------------------------*/
ul#menu
{
    border-bottom: 1px #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
{
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    background-color: #e8eef4;
    color: #034af3;
}

ul#menu li a:hover
{
    background-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   
----------------------------------------------------------*/

fieldset 
{
    border:1px solid #ddd;
    padding:0 1.4em 1.4em 1.4em;
    margin:0 0 1.5em 0;
}

legend 
{
    font-size:1.2em;
    font-weight: bold;
}

textarea 
{
    min-height: 75px;
    padding: 4px;
    width: 100%;
    color: #3c3e45;
}

select 
{
    width: 200px;
    color: #3c3e45;
}

input
{
        color: #3c3e45;
}

input[type="text"] 
{
    width: 200px;
    border: 1px solid #CCC;
    color: #3c3e45;
}

input[type="password"] 
{
    width: 200px;
    border: 1px solid #CCC;
    color: #3c3e45;
}

/* TABLE
----------------------------------------------------------*/

table 
{
  border: none; /*solid 1px #e8eef4;*/
  border-collapse: collapse;
}

table td 
{
  padding: 5px;   
  border: none; /*solid 1px #e8eef4;*/
}

table th
{
  padding: 6px 5px;
  text-align: left;
  background-color: #e8eef4; 
  border: none; /*solid 1px #e8eef4;  */ 
  vertical-align: bottom;
}


/* grid table
----------------------------------------------------------*/
.grid-name {width: 130px;}
.grid-description {width: 300px;}
.grid-price {width: 60px; text-align: right;}

.webgrid
    {
        width: 100%;
        border: 0px;
        border-collapse: collapse;
    }
     
    .webgrid a
    {
       color: #000;
   }
    
   .webgrid-header
   {
       padding: 6px 5px;
       text-align: center;
       background-color: #e8eef4;
       border-bottom: 2px solid #3966A2;
       height: 40px;
    
       border-top: 2px solid #D6E8FF;
       border-left: 2px solid #D6E8FF;
       border-right: 2px solid #D6E8FF;
   }
    
   .webgrid-footer
   {
       padding: 6px 5px;
       text-align: center;
       background-color: #e8eef4;
       border-top: 2px solid #3966A2;
       height: 40px;
    
       border-bottom: 2px solid #D6E8FF;
       border-left: 2px solid #D6E8FF;
       border-right: 2px solid #D6E8FF;
   }

   .webgrid-footer a {margin: 4px; padding: 3px; border: 1px Solid LightGray;}

   .webgrid-footer a.selected {font-weight: bold; border-color: Gray;}
   
   .paging-count {margin-left: 30px;}
   
   .webgrid-row .ui-button-text-only .ui-button-text {padding: 0.1em 1em;}
    
   .webgrid-alternating-row
   {
       height: 30px;
       background-color: #f2f2f2;
       border-bottom: 1px solid #d2d2d2;
       border-left: 2px solid #D6E8FF;
       border-right: 2px solid #D6E8FF;
   }
    
   .webgrid-row-style
   {
       height: 30px;
       border-bottom: 1px solid #d2d2d2;
    
       border-left: 2px solid #D6E8FF;
       border-right: 2px solid #D6E8FF;
   }
    
  .webgrid-selected-row
   {
       font-weight: bold;
   }
   
   .webgrid-link {text-align:center;}

/* order-container 
----------------------------------------------------------*/

#order-container input, #order-container select {padding: 3px; }

#order-container #supplier {width: 250px; padding: 5px;}

#order-container fieldset { padding: 3px 1.4em 0.6em; margin-bottom: 1.0em;}

#order-container fieldset label { display: inline-block; width: 7em;}

#order-container fieldset legend label { width: auto;}

#order-container legend { font-size: inherit; color: #435c7e;}

#order-controls, #order, #order-stats, #line-controls, #line-items, #line-items-header {
    background-color: #E8EEF4; 
    border-width: 1px 1px;
    border-style: solid;
    border-color: LightSkyBlue; 
    padding: 4px;
    }   

#order {width: 100%; border-bottom: none;}

#line-controls, #order-controls .ui-button-text {font-size: 1.0em;}

#order-container #line-items {background-color: White; border-bottom: None; padding: 0;}

#purchase-order-id {font-weight: bold; font-size: 1.2em;}

#order-container tr.detail-line-item-container {display: none; }

#order-container #line-items-header {border-bottom: None;}

#order-stats {border-bottom: None; padding: 10px; position:relative; height: 20px;}

#order-container #line-items-header label {display: inline-block; padding: 3px;}

img.delete-line {height: 12px; width: 12px; cursor: pointer; padding: 6px 0 5px 2px;}

#order-container .line-item, #order-container .detail-line-item tbody tr {background-color: White; border-bottom: 1px Solid LightGray; padding: 4px; vertical-align: top;}
 
#order-container div.detail-line-item {border: 2px solid Black; padding: 10px 10px 20px 40px; background-color: White;}

#order-container div.detail-line-item table {background-color: White;}

.detail-line-item tfoot {font-weight: bold; border-top: 1px solid Gray; border-bottom: 3px double Gray;}

.detail-line-item tfoot td.item_Quantity {padding-right: 11px;}

.detail-line-item-container .ui-button-text {font-size: 0.8em;}

#order-container .line-item label, #order-container .detail-line-item label {display: inline-block; padding: 3px; text-align: right;}

#order-container #line-items label.item_Description {text-align: left;}

#order-container .item_Delete {width: 20px; }

#order-container .item_Quantity {width: 30px; text-align: right;}

#order-container .item_Description {width: 230px; text-align: left;}

#order-container .item_UnitPrice {width: 50px; text-align: right;}

#order-container .item_NetPrice {width: 65px; text-align: right;}

#order-container .item_UnitPriceIncludesTax {width: 65px; text-align: center;}

#order-container .item_TaxCode {width: 75px; text-align: center;}

#order-container .item_ChargeCode {width: 100px; text-align: left;}

#order-container div#charge-codes .item_ChargeCode {width: 270px; text-align: left;}

#order-container .item_TaxPrice {width: 55px; text-align: right;}

#order-container .item_TotalPrice {width: 75px; text-align: right;}

#charge-codes select {margin-right: 10px;}

#delivery-instruction-select {width: 30em;}

#delivery-instructions {height: 40px; min-height: 40px; }

#school-notes, #order-history {margin-left: 20px; font-size: 0.9em;}

#grandTotal {font-weight: bold; font-size: 1.1em; position: absolute; right: 120px;}

#grandTotal span {font-size: 1.2em; }

#creator-request {float: right;}

#order-history-view {padding: 0 20px; font-size: 0.8em; color: Gray;}

.toggleText {color: #2E6E9E; font-size: 0.8em; cursor: pointer; text-decoration: underline;}

.toggleDetail {text-align: center; font-size: 1.0em;}

.toggleDetailWithLines {font-weight: bold; text-transform: uppercase;}

td.toggleDetail {padding: 8px 0 0 2px;}

#supplier-details-view {display: none; padding: 0 0 20px 98px; color: DimGray;}

#supplier-details-view td label {width: auto;}

li.new-supplier a {border: 1px Solid Green; text-decoration: italic; }

div.order-link {margin-bottom: 0.5em;}

.order-link a {width: 20em;}

.fg-button { 
   outline: 0; 
   margin:0 4px 0 0; 
   padding: .4em 1em; 
   text-decoration:none !important; 
   cursor:pointer; 
   position: relative; 
   text-align: center; 
   zoom: 1; 
   }



/* Users  
----------------------------------------------------------*/
#role-definitions {display: none; list-style-type: disc; margin-left: 20px;}



/* MISC  
----------------------------------------------------------*/
.clear
{
    clear: both;
}

.error
{
    color:Red;
}

p.success-info {color: Green; font-weight: bold;}
p.error-info {color: Red; font-weight: bold;}

#menucontainer
{
    margin-top:40px;
}

div#title
{
    display:block;
    float:left;
    text-align:left;
}

#logindisplay
{
    font-size:1.0em;
    display:block;
    text-align:right;
    margin:10px;
    color: Black;
    position: relative;
    top: 0px;
    left: 0px;
}

#logindisplay a:link
{
    color: Black;
    text-decoration: underline;
}

#logindisplay a:visited
{
    color: Black;
    text-decoration: underline;
}

#logindisplay a:hover
{
    color: Black;
    text-decoration: none;
}

#creator-link {width: 150px; margin: 40px 35px;}

.deleted-order {color: Red;}

/* 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;
}



/* Styles for editor and display helpers
----------------------------------------------------------*/
label.display-label,
label.editor-label
{
    margin: 1em 0 0 0.25em;
    color: DarkOrange;
    display: inline-block;
    width: 8em;
    }

.display-field,
.editor-field
{
    margin:0.5em 0 0 0;
}

.display-field input,
.editor-field input
{
    padding : 0.2em;
}

.text-box
{
    width: 30em;
}

.text-box.multi-line
{
    height: 6.5em;
}

.tri-state
{
    width: 6em;
}


/* Styles for message area */

#message-create input {padding: 5px;}

#message-create div.editor-label {font-weight: bold;}

#message-text {width: 55%; float: left;}
#message-options {width: 40%; float: left; padding-top: 40px;}

.ui-autocomplete {
		max-height: 300px;
		overflow-y: auto;
		/* prevent horizontal scrollbar */
		overflow-x: hidden;
		/* add padding to account for vertical scrollbar */
		padding-right: 20px;
	}
	
/* IE 6 doesn't support max-height
	* we use height instead, but this forces the menu to always be this tall
	*/
* html .ui-autocomplete {
	height: 100px;
}
	
span.autocomplete-name {padding: 0 0.4em; margin-right: 0.5em; display:inline-block; 1width: 12em;}

span.autocomplete-name, span.autocomplete-description {font-size: 0.9em;}

#character-count {font-size: .9em; color: Gray;}   

.ui-menu-item {border-bottom: 1px Solid lightgray;}

li.new-customer span.autocomplete-name,
li.new-school span.autocomplete-name {color: Green;}
    

    
.autocomplete-label {
	display: block;
	font-weight: bold;
	margin-bottom: 0.5em;
}
.autocomplete-icon {
	float: left;
	height: 32px;
	width: 32px;
}
.autocomplete-description {
	margin:  0 0 0 4px;
	padding: 0;
}

#order-filter-container {padding: 10px;}
#order-filter-container input[type=text] {width: 8em; padding: 4px;}

#order-filter-container tr.header td {color: DarkOrange; padding: 4px 5px 2px 5px;}

.comments {color: Gray; font-size: 0.9em;}

#register label.editor-label {width: 12em;}

#order-filter-container select { width: 150px; }