﻿html, body > form {
	height: 100%;
}

body
{
	background:white url('../Images/main-bg.jpg');
	background-repeat:no-repeat;
	background-position:bottom;
	background-attachment:fixed;
	padding:0;
	margin:0;
    font-family:"Helvetica Neue",Arial,sans-serif;
    font-size:10pt;
    color:#555555;
    height: 100%;
}


h5 {
	margin: 0 !important;
}

a
{
    text-decoration:none;
    color:#6699FF;
}

a:hover
{    
    color:#4D81B3;
}

input.styled, input.styled-disabled
{
    height:30px;
    background: url("../Images/buttons_sprite.gif") no-repeat scroll -140px -3px transparent;
    border-width:0;
    cursor:pointer;
    font-size:13px;
    height:30px;
    line-height:31px;
    padding-bottom:1px;
    text-align:center;
    width:100px;
}

input.styled-disabled
{
    cursor:default;
}

input.styled:Hover
{
    background: url("../Images/buttons_sprite.gif") no-repeat scroll -13px -3px transparent;
    color:black;
}

/* Base Layout */
.surround {
	max-width: 1000px;
	margin: 0 auto 0 auto;
	height: 100%;
    display: flex;
    flex-direction: column;
}

/* Banner Area */
.surround .banner-area
{
    min-height:185px;
    border:solid 1px black;
    border-top:none;
    border-bottom:none;
    background:white;
}

/* Top Menu Area */
.surround .top-menu-area
{
    border:solid 1px black;
    border-top:none;
    padding:0 10px 0 10px;
    overflow:hidden;
    background:white;
}

.surround .top-menu-area a {
    margin-right: 20px;
    text-decoration: none;
    display: block;
    float: left;
    margin-top: 5px;
    margin-bottom: 5px;
}

.surround .top-menu-area a:Hover
{
    text-decoration:underline;
}

.surround .top-menu-area .date
{
    float:right;
}

/* Main Area */
.surround .main-area {
	background: none repeat scroll 0 0 white;
	border: 1px solid black;
	margin-top: 5px;
	padding: 5px;
	flex: 1;
	display: flex;
    flex-direction: column;
}

/* Status Message */
.surround .status-message
{
    background:#ECF6FF;
    border:solid 1px #CCCCCC;
    margin-top:5px;
    margin-left:205px;
    color:#6699FF;
    font-size:14pt;
    padding:10px;
    text-align:center;
}

.surround .footer-area .bottom-menu-area
{
    float:right;
    margin-top:5px;
}

.surround .footer-area .bottom-menu-area a
{
    text-decoration:none;
    display: block;
    float: right;
    margin-left: 5px !important;
}

.surround .footer-area .bottom-menu-area a:Hover
{
    text-decoration:underline;
}

/* Page Title */
h5
{
    color: #3D5566;
    font-weight: bold;
    font-size: 30px;
    padding:0;
    margin:2px 0 20px 5px;
    display:block;
}

.required-notice
{
	float:right;
	font-size:8pt;
	color:Red;
	padding:0 5px 0 0;
}

.header-text
{
	clear:both;
	font-size:10pt;
	padding:5px 0 5px 5px;
}

.fieldset
{
	border:solid 1px silver;
}

.capitalize
{
	text-transform:capitalize;
}

.fieldset legend
{
	margin:0 0 0 10px;
	font-size:9pt;
	font-weight:bold;
}

.list-grid-container
{
	margin:20px 5px 5px 5px;
}

/*.div-grid-footer
{
	text-align:right;
	padding:10px 0 0 0;
	font-size:8pt;
}

.div-grid-footer .div-results-found
{
	float:left;
}

.div-controls
{
	float:right;
}*/

.div-controls .image-button
{
	margin:0 0 0 20px;
	display:inline;
	background-repeat:no-repeat;
	padding:2px 0 2px 12px;
}

.div-controls .add-button
{
	background-image:url(../Images/addIcon.gif);
}

.div-controls .edit-button
{
	background-image:url(../Images/editIcon.gif);
}

.div-controls .delete-button
{
	background-image:url(../Images/deleteIcon.gif);
}

.div-controls .cancel-button
{
	background-image:url(../Images/deleteIcon.gif);
}

.div-controls .save-button
{
	background-image:url(../Images/saveIcon.gif);
}

.div-controls .image-button input
{
	border:none;
	cursor:pointer;
	background:transparent;
}

.div-controls .delete-button-disabled input, .div-controls .edit-button-disabled input
{
	cursor:default !important;
}

.div-controls .edit-button-disabled
{
	background-image:url(../Images/editIcon-disabled.gif);
}

.div-controls .delete-button-disabled
{
	background-image:url(../Images/deleteIcon-disabled.gif);
}

.list-grid
{
	width:100%;
	border-bottom:solid 1px black;
}

.list-grid .grid-row
{
	background:#F7F6F3;
	color:#333333;
}

.list-grid .grid-alternate-row
{
	background:White;
	color:#284775;
}

.list-grid .grid-selcted-row
{
	background:#5D7B9D;
	color:white;
}

.list-grid .grid-row, .list-grid .grid-alternate-row, .list-grid .grid-selcted-row
{
	border-left:solid 1px black;
	border-right:solid 1px black;
}

.list-grid .grid-header
{
	background:#284775;
	color:white;
	border:solid 1px black;
}

.list-grid .grid-header th
{
	text-align:left;
	font-weight:bold;
}

.list-grid .grid-pager
{
	background:#284775;
	color:white;
	border:solid 1px black;
	border-top:none;
	border-bottom:none;
}

.list-grid .grid-pager a, .list-grid .grid-header a
{
	color:white !important;
}

.list-grid .grid-header a
{
	text-decoration:none;
}

.list-grid .grid-header a:Hover
{
	text-decoration:underline;
}

.two-column-table
{
	margin:0;
	width:100%;
}

.two-column-table .label-column
{
	width:140px;
	text-align:left;
	color:Black;
}

.two-column-table .input-column
{
	text-align:left;
}

.two-column-table .input-column input
{
	width:160px;
}

.two-column-table .input-column input.half
{
	width:60px !important;
}

.two-column-table .input-column textarea.text-area 
{
	width:450px;
	height:100px;
}

.two-column-table .input-column select
{
	width:165px;
}

.two-column-table .input-column .checkbox input, .two-column-table .input-column .radio input
{
	width:auto !important;
}

.two-column-table .divider
{
	border-bottom:dashed 1px silver;
	margin:10px 0 10px 0;
}

/* Sub Table */
.sub-table
{
	width:auto !important;
}

.sub-table td
{
	padding:2px 20px 2px 0 !important;
	color:Gray;
}

.sub-table tr.header td
{
	padding:2px !important;
	color:Black !important;
}

.sub-table input
{
	width:110px !important;
	padding:0 5px 0 0 !important;
}

/* controls */
.controls
{
	width:100%;
	padding:5px 0 0 5px;
}

/* Square Button */
.controls input.square-button
{
	border:solid 1px black;
	height:25px;
	padding:auto 10px auto 10px;
	width:auto !important;
}