/* FileMaker PHP Site Assistant - agentis CSS template
































*/

html {
	height: 100%;
	width: 100%;
	padding-bottom: 0px;
	padding-top: 0px;
	margin: 0px auto;
}

body {
	height: 100%;
	width: 100%;
	margin:0px auto;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	text-align: left;
	font-family: Helvetica, sans-serif;
	color: #000000;
	background-image: url(images/bodybg.png);
	background-repeat: no-repeat;
	background-position: bottom left;
}

.center {
	text-align: center;
}

.left {
	text-align: left;
}

.right {
	text-align: right;
}

/***
 * 3 major sections of page: Header, Container(body), and Footer
 */

/* Header */

#header {
	text-align: left;
	background-image: url(images/header_bg.png);
	height: 46px;
	width: 100%;
	margin: 0px auto;
	padding: 0px;
	top: 0px;
}

#headerlogo {
	width: 300px;
	padding-left: 90px;
	padding-top: 5px;
	font-size: 25px;
	color: #ffffff;
	float: left;
	text-align: left;
	font-family: Helvetica, sans-serif;
}

#headercaption {
	width: 300px;
	padding-top: 8px;
	float: left;
	font-size: 12px;
	text-align: left;
	color: #000000;
	font-family: Helvetica, sans-serif;
}

#header h1 {
	width: 70%;
	height: 111px;
	color: #FFFFFF;
	font-weight: normal;
	font-size: 17pt;
	padding-top: 0px;
	padding-left: 350px;
	margin: 0px;
}

#container {
	background-color: #ffffff;
	margin: 0px;
	padding: 0px;
}

/* Navigation */

#page_nav {
	padding-right: 0px;
	padding-left: 34px;
	background: url(images/menur_bg.gif) repeat-x;
	padding-bottom: 0px;
	margin-top: -10px;
	padding-top: 0px;
	list-style-type: none;
	position: relative;
	height: 37px;
}

#page_nav li {
	float: left;
	list-style-type: none;
}

#page_nav li a {
	padding-right: 0px;
	display: block;
	padding-left: 16px;
	font-weight: bold;
	font-size: 13px;
	float: left;
	padding-bottom: 0px;
	cursor: pointer;
	color: #000;
	line-height: 37px;
	padding-top: 0px;
	font-family: sans-serif;
	height: 37px;
	text-align: center;
	text-decoration: none;
	list-style-type: none;
}

#page_nav li a b {
	padding-right: 24px;
	display: block;
	padding-left: 8px;
	float: left;
	padding-top: 5px;
	list-style-type: none;
}

#page_nav li.activelink a {
	background: url(images/menur_hover_left.gif) no-repeat left 50%;
	color: #fff
}

#page_nav li a:hover {
	background: url(images/menur_hover_left.gif) no-repeat left 50%;
	color: #fff;
	list-style-type: none;
}

#page_nav li.activelink a b {
	background: url(images/menur_hover_right.gif) no-repeat right top;
	color: #fff;
	list-style-type: none;
}

#page_nav li a:hover b {
	background: url(images/menur_hover_right.gif) no-repeat right top;
	color: #fff;
	list-style-type: none;
}


/* Content */

#content {
	margin: 0px auto;
	background-position: center;
}

.contentbg {
	width: 95%;
	height: auto;
	background-position: center;
	text-align: center;
	margin: 0px 50px 0px 0px;
}

.contentbgleft {
	background: transparent url(images/contentbgleft.png);
	width: 36px;
	margin: 0px auto;
}

.contentbgright {
	background: transparent url(images/contentbgright.png);
	width: 36px;
	margin: 0px auto;
}

.contentmid {
	background: #ffffff url(images/homebannerbg.jpg) repeat-x;
	height: 300px;
	background-position: 0px -10px;
	padding-top: 0px;
}

.contentmidrecords {
	background: #ffffff;
	padding-top: 0px;
}

.contentbgfooterleft {
	background: transparent url(images/contentbgfooterleft.png) no-repeat;
	width: 36px;
	height: 38px;
	margin: 0px auto;
}

.contentbgfotterright {
	background: transparent url(images/contentbgfooterright.png) no-repeat;
	width: 36px;
	height: 38px;
	margin: 0px auto;
}

.contentfooter {
	background-image: url(images/contentbgfooter.png);
	background-repeat: repeat-x;
	background-position: top;
	height: 38px;
	margin: 0px auto;
}

#contentleft {
	background-image: url(images/midpic.jpg);
	background-repeat: no-repeat;
	background-position: top;
	width: 739px;
	height: 255px;
	float: left;
}

#contentmid {
	height: 290px;
	background-position: top left;
	top: 0px;
}

#contenttitlebg {
	background-image: url(images/titlebg.png);
	background-repeat: repeat-x;
	width: 100%;
	height: 34px;
	float: right;
	margin: 0px auto;
	text-align: right;
	color: #ffffff;
	font-family: Helvetica, sans-serif;
	font-size: 27px;
	font-style: normal;
	font-weight: bold;
}

#content h1 {
	text-align: right;
	float: right;
	margin-top: 0px;
	padding-right: 50px;
	color: #ffffff;
	font-family: "Times New Roman", Times, serif;
	font-size: 27px;
	font-style: normal;
	font-weight: bold;
}

#content h2 {
	color: #000000;
	font-size: 14px;
	font-style: normal;
	font-weight: normal;
	word-wrap: break-word;
	text-align: justify;
	margin: 0px 0px 0px 60px;
	top: 0px;
}

.messagedisplay {
	float: right;
	color: #000000;
	font-size: 13px;
	font-weight: bold;
	font-family: Georgia, "Times New Roman", Times, serif;
	margin: 40px 10px 0px 20px;
	top: 0px;
}

.message {
	width: 95%;
	text-align: center;
	margin-right: 40px;
	margin-top: 10px;
	color: #57a0c8;
	font-size: 13px;
	font-weight: bold;
	font-family: Georgia, "Times New Roman", Times, serif;
}

#error {
	float: right;
	padding-right: 50px;
	color: #FF0000;
	font-size: 18px;
	font-style: normal;
	font-weight: normal;
}

/* Login part */

.login {
	width: 320px;
}

.loginalign {
	width: 320px;
}

.loginheight {
	height: 40px;
}

.login_title {
	color: #d4340c;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	padding-top: 30px;
}

#form {
	text-align: center;
	background: transparent url(images/loginbg.jpg) no-repeat;
	width: 373px;
	height: 245px;
	font-size: 14px;
}

.fields {
	text-align: right;
	color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
}

.login_button {
	background: url(images/button.png) repeat-x;
	border: 1px solid #90908d;
	margin-left: 30px;
	height: 23px;
	padding-top: 0px;
	padding-left: 12px;
	padding-right: 8px;
	text-align: center;
	color: #000000;
}

.buttons {
	background: url(images/button.png) repeat-x;
	border: 1px solid #90908d;
	height: 23px;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 8px;
	padding-right: 8px;
	text-align: center;
	color: #000000;
}

/* other pages */

.recwidth {
	width: 100%;
}

.findimg {
	background: url(images/find_icon.png) no-repeat;
	width: 45px;
	height: 43px;
	padding-left: 20px;
}

.scrolladd {
	width: 95%;
	overflow: hidden;
	margin: 0px 40px 10px 40px;
}

.curvedbg {
	margin: 40px 40px 0px 40px;
	background: transparent url(images/tableheader_curved.png) repeat-x;
	width: 95%;
	height: 52px;
}

.recordlist_nav_range {
	color: #ffffff;
}

.recordlist_nav {
	font-size: 12px;
	color: #ffffff;
	font-variant: normal;
	text-align: right;
	padding-left: 20px;
	padding-top: 20px;
	width: 100%;
}

.recordlist_nav_next {
	font-size: 12px;
	color: #ffffff;
	font-variant: normal;
	text-align: right;
	padding-left: 20px;
	padding-top: 20px;
	width: 100%;
}

table.record {
	border: 1px solid #cccccc;
	background-color: #fcece8;
	color: #000000;
	font-size: 14px;
	width: 100%;
	margin: 0px auto;
	padding: 0px;
	float: left;
}

td.field_name {
	color: #000000;
	text-align: right;
	font-weight: normal;
	padding-top: 7px;
	padding-bottom: 7px;
	padding-right: 10px;
	vertical-align: top;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	width: 100px;
}

td.field_data {
	color: #000000;
	height: 20px;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}

td.field_data img {
	border-left: 1px solid #777777;
	border-top: 1px solid #999999;
	background: #FFFFFF;
	padding: 5px;
}

.fieldinput {
	width: 300px;
	resize: none;	
}

tr.submit_btn {
	color: #000000;
	text-align: left;
	margin-top: 15px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}

th.browse_header {
	background: url(images/browseheader_bg.png) repeat-x;
	background-color: #b32d0b;
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	height: 63px;
	border: 1px #ffffff solid;
	margin: 0px auto;
	padding: 0px 10px;
}

table.browse_records {
	background-color: #fddcd4;
	border: 1px solid #cccccc;
	border-collapse: collapse;
	margin: 0px auto;
	color: #000000;
	font-size: 14px;
	width: 100%;
}

table.reclistnavi {
	width: 100%;
	margin: 0px auto;
	text-align: right;
}

.recordlist_nav_next a {
	color: #FFFFFF;
	font-weight: bold;
}

.recordlist_nav_last a {
	color: #FFFFFF;
	font-weight: bold;
}

.recordlist_nav_first a {
	color: #FFFFFF;
	font-weight: bold;
}

.recordlist_nav_prev a {
	color: #FFFFFF;
	font-weight: bold;
}

a {
	color: #000000;
	font-weight: bold;
}

.portal {
	border: 1px solid #ffffff;
	border-collapse: collapse;
}

th.portal_header {
	background-color: #f17252;
	color: #000000;
	font-size: 12px;
	text-align: left;
	padding: 3px;
}

tr.table_row {
	background-color: #fddcd4;
}

tr.alt_row {
	background-color: #cbcbcb;
}

td.browse_cell {
	font-size: 12px;
	color: #000000;
	border: 1px #ffffff solid;
	padding: 5px 10px;
	font-weight: normal;
}

td.browse_cell img {
	width: 50px;
}

td.group_header {
	background-color: #dbd9d9;
	height: 35px;
	font-weight: bold;
	text-align: left;
	padding-left: 10px;
}

td.group_total_title {
	font-size: 12px;
	height: 25px;
	background: #fdc7ba;
	color: #000000;
	text-align: left;
	padding-left: 10px;
}

td.grand_total_title {
	background: url(images/tablefooterbg.png) repeat-x;
	font-size: 12px;
	font-weight: bold;
	height: 40px;
	color: #000000;
	text-align: left;
	padding-left: 10px;
}

td.group_total {
	height: 25px;
	background: #fdc7ba;
	color: #000000;
	font-weight: bold;
	text-align: right;
	padding-right: 10px;
}

td.grand_total {
	height: 46px;
	background: url(images/tablefooterbg.png) repeat-x;
	color: #ffffff;
	font-weight: bold;
	text-align: right;
	padding-right: 10px;
}

input {
	background-color: #f6f5f5;
	border: 1px #a8a8a8 solid;
	padding-top: 3px;
}

textarea {
	background-color: #f6f5f5;
	border: 1px #a8a8a8 solid;
	padding-top: 3px;
}

select {
	background-color: #f6f5f5;
	border: 1px #a8a8a8 solid;
	width: 212px;
	vertical-align:top;
}

.password_input {
	background-color: #cccccc;
	padding-top: 3px;
}

.sublinks a:link {
	color: #000000;
	text-decoration: none
}

.sublinks a:visited {
	color: #000000;
	text-decoration: none
}

.sublinks a:hover {
	color: #04f6dc;
}

/* Footer */

#footer {
	font-size: 11px;
	font-weight: normal;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background: url(images/footerbg.png);
	width: 100%;
	height: 35px;
}

#footertext {
	color: #d4340c;
	white-space: nowrap;
	text-align: center;
	font-weight: normal;
	margin-top: -10px;
}

.footerwidth {
	width: 100%;
	border: none;
	margin: 0px auto;
}

#footer ul.secondary_links li {
	position:relative;
	top: -10px;
	display: inline

}

#footer ul.secondary_links a:link, #footer ul.secondary_links a:visited {
	display: inline;
	font-weight: normal;
	color: #ffffff;
	text-decoration: none
}

#footer ul.secondary_links a:hover {
	color: #d4340c;
}