* {
  margin: 0;
  padding: 0;
}

body{
	font-family:"Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
	font-size:12px;
	background-color: grey;
}

p, h1, form, button{
	border:0; margin:0; padding:0;
}

.spacer{
	clear:both; height:1px;
}

div#header{
	background-color: #002D73;
	width: 960px;
	height: 60px;
	margin-right: auto;
	margin-left: auto;
}

div#main{
	width: 960px;
	margin-right: auto;
	margin-left: auto;
	background-color: white;
}

div#footer{
	background-color: #002D73;
	color: white;
	text-align: center;
	width: 940px;
	padding: 10px;
	margin-right: auto;
	margin-left: auto;
}

div#content{
	padding: 10px;
	min-width: 940px;
	overflow:scroll;
}

h1{
	color: #002D73;
	margin: 0;
	padding: 0;
}

div#nav{
	background-color: #C0C0C0;
	padding: 5px;
	width: 950;
}

div#nav a{
	color: #002D73;
	text-decoration: none;
}

div#nav ul{
	list-style-type:none;
	margin:0;
	padding:0;
}

div#nav ul li{
	display:inline;
}

div#sub-nav{
	background-color: #900000;
	padding: 5px;
	color: white;
}

div#sub-nav a{
	color: white;
	text-decoration: none;
}

div#sub-nav ul{
	list-style-type:none;
	margin:0;
	padding:0;
}

div#sub-nav ul li{
	display:inline;
}

a{
	text-decoration: none;
	color: #002D73;
}

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

table{
	border-collapse:collapse;
}

table, th, td{
	border: 1px solid #002D73;
	padding: 5px;
}

th, th a{
	background-color: #002D73;
	color:white;
}

tr.even{
	background-color: #EEEEEE;
}

fieldset {
	padding: 5px;
}

label{
	float: left;
	width: 175px;
	margin-right: 5px;
	text-align:right;
}

div#insured-col1{
	width: 48%;
	float: left;
	margin-right: 5px;
}

div#insured-col2{
	width: 48%;
	float: left;
	margin-right: 5px;
}

div#insured-form{
	width: 100%;
}

div#insured-inputfields div#col-1{
    float: left;
    width: 48%;
    padding: 5px;
}

div#insured-inputfields div#col-2{
    float: left;
    width: 48%;
    padding: 5px;
}

div#case-inputfields{

}

div#case-inputfields{
	width: 100%;
	overflow: hidden;
	margin-bottom: 10px;
}

div#case-inputfields div#col-1{
	float: left;
	width: 48%;
	padding: 5px;
}

div#case-inputfields div#col-2{
	float: left;
	width: 48%;
	padding: 5px;
}

div#case-textfields{
	min-width: 450px;
	float: left;
	text-align: left;
	padding-left: 15px;
}

div#case-plaintiff-inputfield{
    padding-bottom: 15px;
}

label.case-widget{
    padding-top: 3px;
}

#case-totals{
    width:100%;
}

.case-total{
    text-align: center;
}

.button
{        
	display: inline-block;
	white-space: nowrap;
	background-color: #ccc;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#ccc));
	background-image: -webkit-linear-gradient(top, #eee, #ccc);
	background-image: -moz-linear-gradient(top, #eee, #ccc);
	background-image: -ms-linear-gradient(top, #eee, #ccc);
	background-image: -o-linear-gradient(top, #eee, #ccc);
	background-image: linear-gradient(top, #eee, #ccc);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#eeeeee', EndColorStr='#cccccc');
	border: 1px solid #777;
	padding: 0 1.5em;
	margin: 0.5em;
	font: bold 1em/2em Arial, Helvetica;
	text-decoration: none;
	color: #333;
	text-shadow: 0 1px 0 rgba(255,255,255,.8);
	-moz-border-radius: .2em;
	-webkit-border-radius: .2em;
	border-radius: .2em;
	-moz-box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 1px 0 rgba(0,0,0,.3);
	-webkit-box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 1px 0 rgba(0,0,0,.3);
	box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 1px 0 rgba(0,0,0,.3);
}

.button:hover
{
	background-color: #ddd;        
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#ddd));
	background-image: -webkit-linear-gradient(top, #fafafa, #ddd);
	background-image: -moz-linear-gradient(top, #fafafa, #ddd);
	background-image: -ms-linear-gradient(top, #fafafa, #ddd);
	background-image: -o-linear-gradient(top, #fafafa, #ddd);
	background-image: linear-gradient(top, #fafafa, #ddd);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#fafafa', EndColorStr='#dddddd');        
}

.button:active
{
	-moz-box-shadow: 0 0 4px 2px rgba(0,0,0,.3) inset;
	-webkit-box-shadow: 0 0 4px 2px rgba(0,0,0,.3) inset;
	box-shadow: 0 0 4px 2px rgba(0,0,0,.3) inset;
	position: relative;
	top: 1px;
}

.button:focus
{
	outline: 0;
	background: #fafafa;
}    

.button:before
{
	background: #ccc;
	background: rgba(0,0,0,.1);
	float: left;        
	width: 1em;
	text-align: center;
	font-size: 1.5em;
	margin: 0 1em 0 -1em;
	padding: 0 .2em;
	-moz-box-shadow: 1px 0 0 rgba(0,0,0,.5), 2px 0 0 rgba(255,255,255,.5);
	-webkit-box-shadow: 1px 0 0 rgba(0,0,0,.5), 2px 0 0 rgba(255,255,255,.5);
	box-shadow: 1px 0 0 rgba(0,0,0,.5), 2px 0 0 rgba(255,255,255,.5);
	-moz-border-radius: .15em 0 0 .15em;
	-webkit-border-radius: .15em 0 0 .15em;
	border-radius: .15em 0 0 .15em;
        pointer-events: none;        
}

form#login fieldset input[value="Login"]{
	margin-left: 180px;
}

div#error-message{
	background-color: #FF6666;
	border: solid 1px #CC0000;
	color: white;
	width: 193px;
	margin-left: 180px;
	margin-top: 5px;
	margin-bottom: 5px;
	margin-right: 5px;
	padding: 5px;
	text-align: center;
}

table#ground-up-incurred{
	font-size: 10px;
}

table#participants{
    font-size: 10px;
}

div#case-inputfields input#loss_ref.error{
	background-color: pink; 
	border: 1px dashed red; 
}

div#case-inputfields div#invalidLossRef{
	color: red;
	font-weight: bold;
	margin-left: 178px;
}

form#addedit_incur_record input#indemnity.error{
	background-color: pink; 
	border: 1px dashed red; 
}

form#addedit_incur_record div#invalidindemnity{
	color: red;
	font-weight: bold;
	margin-left: 178px;
}

form#addedit_incur_record input#expense.error{
	background-color: pink; 
	border: 1px dashed red; 
}

form#addedit_incur_record div#invalidexpense{
	color: red;
	font-weight: bold;
	margin-left: 178px;
}

form#addedit_incur_record input#obyrne_indemnity.error{
	background-color: pink; 
	border: 1px dashed red; 
}

form#addedit_incur_record div#invalidobyrne_indemnity{
	color: red;
	font-weight: bold;
	margin-left: 178px;
}

form#addedit_incur_record input#obyrne_expense.error{
	background-color: pink; 
	border: 1px dashed red; 
}

form#addedit_incur_record div#invalidobyrne_expense{
	color: red;
	font-weight: bold;
	margin-left: 178px;
}

form#add_edit_insured_form input#paid_indemnity.error{
	background-color: pink; 
	border: 1px dashed red; 
}

form#add_edit_insured_form div#invalidpaid_indemnity{
	color: red;
	font-weight: bold;
	margin-left: 178px;
}

form#add_edit_insured_form input#paid_expense.error{
	background-color: pink; 
	border: 1px dashed red; 
}

form#add_edit_insured_form div#invalidpaid_expense{
	color: red;
	font-weight: bold;
	margin-left: 178px;
}
form#add_edit_insured_form input#occurrence_limit.error{
	background-color: pink; 
	border: 1px dashed red; 
}
form#add_edit_insured_form input#aggregate_limit.error{
	background-color: pink; 
	border: 1px dashed red; 
}

form#add_edit_insured_form div#invalidaggregate_limit{
	color: red;
	font-weight: bold;
	margin-left: 178px;
}

form#add_edit_insured_form div#invalidoccurrence_limit{
	color: red;
	font-weight: bold;
	margin-left: 178px;
}

form#add_edit_case_form input#recommended_expense.error{
	background-color: pink; 
	border: 1px dashed red; 
}

form#add_edit_case_form div#invalidrecommended_expense{
	color: red;
	font-weight: bold;
	margin-left: 178px;
}

form#add_edit_case_form input#recommended_indemnity.error{
	background-color: pink; 
	border: 1px dashed red; 
}

form#add_edit_case_form div#invalidrecommended_indemnity{
	color: red;
	font-weight: bold;
	margin-left: 178px;
}

form#add_edit_case_form div#invalidceded_paid{
	color: red;
	font-weight: bold;
	margin-left: 178px;
}

form#add_edit_case_form input#current_expense.error{
	background-color: pink; 
	border: 1px dashed red; 
}

form#add_edit_case_form div#invalidcurrent_expense{
	color: red;
	font-weight: bold;
	margin-left: 178px;
}
form#add_edit_case_form input#current_indemnity.error{
	background-color: pink; 
	border: 1px dashed red; 
}

form#add_edit_case_form div#invalidcurrent_indemnity{
	color: red;
	font-weight: bold;
	margin-left: 178px;
}

#logout-link-footer {
	color: white;
	text-align: center;
}

#logout-link-footer a{
	text-decoration: none;
	color: white;
}

#logout-link-header {
	color: white;
	float: right;
	margin-right: 5px;
	margin-top: 5px;
}

#logout-link-header a{
	color: white;
	text-decoration: none;
}

form#addedit_incur_record div#invalidpostdate.error{
	background-color: pink; 
	border: 1px dashed red;
	width: 200px;
	margin-left: 180px;
	margin-bottom: 5px;
}

form#add_edit_insured_form div#invalidloss_date.error{
	background-color: pink; 
	border: 1px dashed red;
	width: 200px;
	margin-left: 180px;
	margin-bottom: 5px;
}

form#add_edit_insured_form div#invalidreported_date.error{
	background-color: pink; 
	border: 1px dashed red;
	width: 200px;
	margin-left: 180px;
	margin-bottom: 5px;
}

form#add_edit_insured_form div#invalidretroactive_date.error{
	background-color: pink; 
	border: 1px dashed red;
	width: 200px;
	margin-left: 180px;
	margin-bottom: 5px;
}

form#add_edit_insured_form div#invalidpolicy_period_start.error{
	background-color: pink; 
	border: 1px dashed red;
	width: 200px;
	margin-left: 180px;
	margin-bottom: 5px;
}


.case-loss-filter{
    margin-left: 30px;
}
a.active{
    color:#666666;
    text-decoration: underline;
}