﻿/*----------------------------------------------------------
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: .85em;
    font-family: "Trebuchet MS", 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;
}

p, ul {
    margin-bottom: 20px;
    line-height: 1.6em;
}

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 0 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: 99%;
    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: 5px 5px 1px;
    background-color: #fff;
    border-radius: 4px 0 0 0;
    -webkit-border-radius: 4px 0 0 0;
    -moz-border-radius: 4px 0 0 0;
}
.MainTitle {
    display: none;
}
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: 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;*/
    line-height: 13px;
    background-color: #e8eef4;
    color: #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: #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: 1.4em;
    margin: 0 0 1.5em 0;
}

legend {
    font-size: 1.2em;
    font-weight: bold;
    padding: 0px 10px;
}

textarea {
    min-height: 75px;
}

input[type="text"], 
input[type="password"] {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
    width: 150px;
}

select {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1.2em;
    color: #444;
}

input[type="submit"], input[type="button"] {
    font-size: 1.2em;
    padding: 5px;
}

/* TABLE
----------------------------------------------------------*/

/* Start Generic Tables */
.GenericTable {
    border: solid 1px #e8eef4;
    border-collapse: collapse;
    text-align:right;
    width: 100%;
}

.GenericTable td {
    padding: 5px;
    border: solid 1px #e8eef4;
}

.GenericTable th {
    padding: 6px 5px;
    background-color: #e8eef4;
    border: solid 1px #e8eef4;
    text-align: right;
}
.GenericTable tr:nth-child(odd)
{
    background-color:#FBFBFB;
}
.GenericTable tr:hover
{
    background-color:#f3f3f3;
}
/* End Generic Tables */

/* MISC  
----------------------------------------------------------*/
.clear {
    clear: both;
}

.error {
    color: Red;
}

nav, 
#menucontainer {
    margin-top: 1px;
}

div#title {
    display: block;
    float: left;
    text-align: left;
}

#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;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, 
.editor-label {
    margin: 1em 0 0 0;
}

.display-field, 
.editor-field {
    margin: 0.5em 0 0 0;
}

.text-box {
    width: 30em;
}

.text-box.multi-line {
    height: 6.5em;
}

.tri-state {
    width: 6em;
}
/*************************************/
.ui-combobox {
	position: relative;
	display: inline-block;
}
.ui-button {
	position: absolute;
	top: 0;
	bottom: 0;
	margin-left: -1px;
	padding: 0;
	/* adjust styles for IE 6/7 */
	height: 1.7em;
	top: 0.5em;
}
.ui-autocomplete-input {
	margin: 0;
	padding: 0.3em;
}

.readonlyTextbox
{
    background-color:#FFC;
}
.Hidden
{
    display:none;
}
a.DeleteLink
{
    color:Red;
}
#OrderItemList
{
    margin: 10px 0px;
}
.TextboxFocus
{
    background-color:#f8f8f8;
}

.HasDatepicker
{
    direction: ltr;
    width: 100px !important;
}
.GenericAutocomplateTextBox
{
    width: 10em;
}
.ltr
{
    direction:ltr;
}
.center
{
    text-align:center;
}
.right
{
    text-align:right;
}
.left
{
    text-align:left;
}
/************************/

/* Start pagin + sort */
.TableFilterTools
{
    margin:5px 0;
    border:1px solid #c3c3c3;
    padding:5px;
    width:700px;
}
.FiltersMain
{
    float:right;
}
.FiltersMain div
{
    display:inline-block;
}
.pagedisplay
{
    width:30px !important;
    text-align:center;
    border:1px solid #c00;
}
.PagerNumberMain
{
    float:left;
}
.PagerNumberMain img
{
    vertical-align:middle;
}
/* End pagin + sort */
.HideColButton
{
    min-height:16px;
    min-width: 16px;
    float:right;
    margin:0 0 0 5px;
    background: url(../Content/images/HideColButtonBg.png) no-repeat center;
}
.HideColButton:hover
{
    background: url(../Content/images/HideColButtonBg.png) no-repeat 95%;
    cursor: pointer;
}
.NoWrap
{
    white-space:nowrap;
}

.fieldset
{
}
.legend
{
    padding: 0px 10px 0px 10px;
    margin: 2px 0 10px 0;
}
.legend a
{
    text-decoration:none;
    font-weight:normal;
    font-family:Tahoma;
    font-size: 8pt;
}



/* Strat jqgrid */
.ui-jqgrid .ui-jqgrid-bdiv {
  position: relative;
  margin: 0em;
  padding:0;
  overflow-x:hidden;
  overflow-y:auto;
}
input.ui-pg-input
{
    width:40px;
    text-align:center;
}
.jqGridDiv
{
    width:75%;
}
/* End jqgrid */
.map_canvas
{
    height:500px;
}
.Pointer
{
    cursor:pointer;
}

.InvoiceMain
{
    width: 950px;
    padding: 5px;
    border: 1px solid #c3c3c3;
}
.InvoiceMain span
{
    margin: 0 0 0 20px;
}
.InvoiceMain span label
{
    font-weight: bold;
}
.InvoiceMessage
{
    line-height: 35px;
    background-color: #E8FFE8;
    border: 1px dotted #3C3;
    margin:5px 0;
    padding: 0 5px 0 0;
    font-weight:bold;
    color: #000;
}
.InvoiceHeader, .InvoiceFooter
{
    margin: 15px 0;
    padding: 5px;
    border: 1px solid #CCC;
    background-color: #FFF9F2;
}
.InvoiceMain .Orginal
{
    background-color: #FFC !important;
}
.InvoiceMain .RemoveInvoiceItem
{
    cursor:pointer;
}
#InvoiceItemTable th, #InvoiceItemTable td input[type=text]
{
    text-align:center;
}
.InvoiceMain .Total
{
    background-color:#FFF0F0;
    font-weight: bold;
}
#AjaxLoading
{
   background:rgba( 255, 255, 255, .8 ) url(../Content/images/ajax-loader.gif) no-repeat center center;
   height: 100%;
   width: 100%;
   position: fixed;
   z-index: 1000;
   left: 0;
   top: 0;
   display: none;
}