﻿body 
{
	padding:5px;
	margin: 5px;
	background-color: #badcff;
}

/* Base font definition */
body, .Section, .SubSection, .EditRow input, .EditRow, .Note,
	.EditTextArea, .ItemTextArea, .DropDownControl,
	.cmdbutton, .staffbutton, .staffbuttonselected, .warnbutton, .delbutton, .cmdButtonGrid, .InRowbutton
{
    font-style: normal;
    font-weight: normal;
    font-size: 10pt;
    font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular, sans-serif;
    color: black;
}

.CBFont
{
    font-family: Verdana, Arial, Helvetica, Geneva, Swiss, SunSans-Regular, sans-serif;
}

.Section
{
	padding-bottom:3px;
	font-size:15pt;
	font-weight:bold;
	border-bottom:solid black 1px;
}

.SubSection
{
	padding-bottom:3px;
	font-size:12pt;
	font-weight:bold;
	font-style:italic;
	border-bottom:solid black 1px;
}

.SectionLine
{
	width:95%; 
	border-top:solid black 1px;
}

a:link {color: black; font-weight:bold}
a:visited {color: black}
a:hover {color: #005596}
a:active {color: #005596}

.MainPanel
{
    margin: 18px auto 24px auto;
}

.DetailsViewStyle
{
    margin-top: 7px;
    width: 100%;
    border:solid 1px black;
}

.GridDiv
{
    margin-top: 25px;
    width: 100%;
}
.GridViewStyle
{
    padding: 4px;
    width: 100%;
    border:solid 1px black
}

.RowStyle td, .EditRow td, .AlternateRowStyle td,
	.GridRowStyle td, .GridEditRow td, .AlternateGridRowStyle td,
	.FieldHeader,
	.GridFieldHeader, .GridFieldHeader th, .GridCommandRowStyle
{
    margin: 0px; 
    padding: 1px 0px 0px 5px;
    height: 20px
}
.RowStyle
{
    background-color:#EFF3FB
}

.RowStyle a:link, .AlternateRowStyle a:link {color: black; font-weight: normal;}
.RowStyle a:visited, .AlternateRowStyle a:visited {color: black; font-weight: normal;}
.RowStyle a:hover, .AlternateRowStyle a:hover {color: #ee0066; font-weight: normal;}
.RowStyle a:active, .AlternateRowStyle a:active {color: #ee0066; font-weight: normal;}

.GridRowStyle
{
    background-color:#EFF3FB;
    font-size: 8pt;
}
.AlternateRowStyle
{
    background-color:#FCFFFF
}
.AlternateGridRowStyle
{
    background-color:#FCFFFF;
    font-size: 8pt;
}

.CommandRowStyle
{
    background-color:#D1DDF1;
}
.GridCommandRowStyle
{
    background-color:#D1DDF1;
    font-size: 8pt;	
}

.GridCommandDivStyle
{
    background-color:#D1DDF1;
    padding: 1px 1px 1px 1px;
    border:solid 1px black;
    border-top: 0px;
}
.CCAdj
{
    margin-left: -1px;
}

.NoShow
{
    display: none;
}

.FieldHeader, .GridFieldHeader, .GridCommandCell
{
    padding: 1px 5px 0px 5px !important;
    background-color: #507CD1;
    color: white;
    width: 130px !important;
    vertical-align: top;
	font-family: Verdana;
}
.GridCommandCell
{
    width: 93px !important;
/*    padding-left: -3px !important; */
}

.GridFieldHeader th a:link, .PagerStyle a:link {color: white; font-weight: normal}
.GridFieldHeader th a:visited {color: white}
.GridFieldHeader th a:hover, .PagerStyle a:hover {color: #ffdddd}
.GridFieldHeader th a:active, .PagerStyle a:active {color: #ffdddd}

.GridFieldHeader th
{
    font-weight: normal !important;
    padding: 1px 0px 0px 5px !important;
}

.PagerStyle
{
	font-size:small;
    background-color: #507CD1;
    color: white;
    height: 18px;
}
.PagerStyle table
{
	margin: 0px 0px 0px auto;
}

.PagerStyle table
{
    height: 15px
}

.EditRow, .GridEditRow
{
    background-color: #ffffe0; 
}
.EditRow input, .ItemCB, .EditTextArea, .ItemTextArea
{
    background-color: transparent;
    margin: 0px 0px 0px 0px; 
    padding: 0px 0px 0px 0px; 
    border-style: solid; 
    border-width: 0px 0px 0px 0px; 
    border-color: black; 
    width: 100%;
    height: 18px
}

.EditTextArea, .ItemTextArea
{
    background-color: transparent;
    width: 100%;
    height: 164px;
    overflow:auto;
}
.DivLabelTextArea
{
	overflow:auto;
	max-height: 164px;
}

/* Base button class, based on Base font */
.cmdbutton, .staffbutton, .staffbuttonselected, .warnbutton, .delbutton, .cmdButtonGrid, .InRowbutton
{
    font-weight: bold;
    font-size: 10pt;
    color: white;
    margin: 0px;
    padding: 0px 6px;
    background-color: #333399;
    border: solid 2px #333399;
    height: 25px;
    cursor: pointer;
}

.delbutton, .warnbutton
{
    font-size: 10pt;
    Height: 20px;
    Width: 35px
}
.warnbutton
{
    background-color: #f00;
    border-color: #f00;
}
.warnbutton:link   { background-color: #f00 }
.warnbutton:visited { background-color: #f00 }
.warnbutton:hover { background-color: #f00 }
.warnbutton:active { border-style: inset; padding-left:7px; padding-right:5px}

.cmdbutton, .InRowbutton
{
    height: 21px;
    font-weight: normal;
}
.cmdbutton:link, .delbutton:link, .InRowbutton:link   { background-color: #333399; }
.cmdbutton:visited, .delbutton:visited, .InRowbutton:visited   { background-color: #333399; }
.cmdbutton:hover, .delbutton:hover, .InRowbutton:hover { border-color: #333399 }
.cmdbutton:active, .delbutton:active, .InRowbutton:active { border-style: inset; padding-left:7px; padding-right:5px}

.cmdButtonGrid
{
    height: 19px;
    font-weight: normal;
    padding: 0px 1px;
    margin: 1px 0px;
}
.cmdButtonGrid:link   { background-color: #333399; }
.cmdButtonGrid:visited   { background-color: #333399; }
.cmdButtonGrid:hover { border-color: #333399 }
.cmdButtonGrid:active { border-style: inset; padding-left:2px; padding-right:0px}

.staffbutton, .staffbuttonselected
{
    padding: 1px 2px;
    margin: 0px 1px;
    height: 23px;
}
.staffbutton { margin-top: 13px; }
.staffbutton:link   { background-color: #333399; }
.staffbutton:visited   { background-color: #333399; }
.staffbutton:hover   { background-color: #0000f0; border-color: #0000f0 }
.staffbutton:active   { border-style: inset; padding-left:3px; padding-right:1px}

.staffbuttonselected
{
    color: blue;
    background-color: #D8E3F0;
    border-color: #D8E3F0;
}
.staffbuttonselected:hover   { background-color: #00f; color: white; border-color:#00f }
.staffbuttonselected:active  { border-style: inset; padding-left:3px; padding-right:1px}

/* Special handleing */
.contbtn
{
	margin-left:-1px;
}

/* End of buttons */

/*#sasection  { margin: auto; width: 650px; height: 38px; padding-bottom:0px; }*/
#sasection  { margin: auto; width: 578px; height: 36px; padding-bottom:0px; }
#satext   { margin: 10px 0px 0px 0px; padding: 0px 0px 0px 0px; width:105px; float:left }
/*.sacanvas { margin: 18px auto 24px auto; width: 670px; border: solid 1px red } */
.sacanvas 
{
	margin: 18px 24px 24px 24px; 
	width: 550px; /* 598(area size) - 48(margins) */
}

.lblMsg
{
    margin: 14px 0px;
    text-align: center;
}

/* This styles a div around the checkbox */
.CBControl input
{
	margin: 1px 0px 0px 0px;
	width: 20px;
	height: 14px
}

.DropDownControl
{
	margin: 0px 0px 0px 0px;
	border: none 1px black;
	background-color:#ffffe0; /* This can't be transparent */
	height: 16px;
}

/* Remove the padding that is present for other controls */
.DropDownTD
{
	padding-left: 1px !important;
	padding-top: 0px !important;
}

.MsgTextGood
{
    font-weight: bold;
    color: green;
}

.MsgTextWarning
{
    font-weight: bold;
    color: red;
}
.DialogPanels
{
	margin: 14px auto;
	padding: 10px;
	width: 300px;
	border: solid 1px blue;
	text-align: center;
}

.LogoSampleDiv
{
	border: black 1px solid;
	padding: 10px;
}
.LogoSampleRow
{
	margin: 0px !important;
	padding: 0px !important;
}
.LogoSampleRow img
{
	max-width:400px;
}

/* The caption for subordinate pages */
.SubHeaderDiv
{
	font-size: 12pt;
	font-weight: bold;
	text-align: center;
}
.AlignTop td
{
    vertical-align:top;
}
.Note
{
    font-size: 8pt;
}
.CellNote
{
	font-size: 8pt;
	padding: 0px 0px 0px 15px;
	margin: 0px 15px 3px 10px;
	border: solid 1px silver;
	background-color:#E3EBF7;
	width: 380px;
}
.GridClickRow:hover
{
    background-color:#D8E3F0;
    cursor: pointer;
}
.FileUPTD
{
	padding-left: 3px !important;
}
.FileUpload
{
	background-color:#00f;
}

.InRowbutton
{
    background-color: #333399 !important;
    color: white  !important;
    margin: 1px 0px 0px 0px !important; 
    padding: 0px 0px 0px 0px; 
    border-style: solid; 
    border-width: 0px 0px 0px 0px; 
    border-color: black; 
    width: 170px !important;
    height: 19px !important;
}
.PasswordRow
{
	padding-top: 0px !important;
}
