/*-----------------------------------------------------------------------------
MRSYS Screen Stylesheet

version:	1.0
date:		08/07/08
author:		Ryan J. Salva
email:		ryan at capitolmedia dot com
website:	http://www.mrsys.com
history:	[location of file]
-----------------------------------------------------------------------------*/


/* Default Font Styles
-----------------------------------------------------------------------------*/

* {
	margin: 0;
	padding: 0;
}

body {
	font-family: Arial, Verdana, Tahoma, Sans-Serif; 
	font-size: 12px;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	color: #000;
	background: #001d68;
}

p, ul, ol, blockquote, h1, h2, h3, h4, h5, h6 {
	line-height: 1.5em;
	margin-bottom: 14px; 
}

li {
	margin-bottom: 7px;
}

li ul, li ol {
	margin-top: 7px; /* keeps the line spacing even */
	margin-bottom: 7px;
}

dl {
	margin: 0 0 1em 0;
}

dt {
	font-weight: bold;
	display: block;
}

dd {
	display: block;
	margin-bottom: 1em;
}

h1, h2, h3, h4, h5 {
	font-weight: bold;
}

h1 {
	font-size: 1.8em;
	color: #334f96;
	font-family: Arial, Verdana, Tahoma, Sans-Serif; 
}

h2 {
	font-size: 1.4em;
	color: #334f96;
	font-family: Arial, Verdana, Tahoma, Sans-Serif;
}

h3 {
	font-size: 1.2em;
	color: #333;
}

h4 {
	font-size: 1.0em;    
}

h5 {
	font-size: 1.0em;    
}

h6 {
	font-size: 1.0em;
	font-weight: normal;
	font-style: italic;
}

hr {
	margin: 7px 0;
	padding: 0;
	border: none;
	border-bottom: 1px solid #666;
}

ul, ol, blockquote, code {
	padding-left: 30px;
}

img {
	border: none;
}

a:link {
	color: blue;
}

a:active {
	color: red;
}

a:visited {
	color: purple;
}

a:hover {
	color: red;
}



/* Tables
-----------------------------------------------------------------------------*/

table, td, th {
	border-collapse: collapse;
	border: 1px solid #000;
	font-family: Lucida Sans, Verdana, Arial, Arial, Verdana, Sans-Serif;
	font-size: 11px;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
}

th, thead td {
	font-weight: bold;
	border-bottom: 2px solid #000;
	padding: 3px;
}

td {
	padding: 3px;
}


/* Convenience Classes
-----------------------------------------------------------------------------*/

.Hidden {
	display: none;
	visibility: hidden;
}

.Visible {
	display: block;
	visibility: visible;
}

.Clear {
	clear: both; 
	float: none;
	padding-bottom: 1px; /* for Gecko based browsers */
	margin-bottom: -1px; /* for Gecko based browsers */
}

.Padding {
	padding: 2.5em;
}



/* Header
-----------------------------------------------------------------------------*/

fieldset#SiteSearch {
	width: 780px;
	margin: 0 auto;
	padding: 7px 0 0 0;
	border: none;
	text-align:right;
}

fieldset#SiteSearch legend {
	display: none;
}

fieldset#SiteSearch input[type='text'] {
	background: #fff;
	border: 1px solid #333;
	width: 250px;
}

fieldset#SiteSearch label {
	width: auto;
	float: none;
	display: inline;
	padding: 0 .5em 0 0;
	color: #fff;
}

div#Header {
	margin: 0 auto;
	width: 780px;
	background: #fff url(/site/bg_wrapper.gif) repeat-y 100% 0;
}

a#Logo { 
}

div#Photo {
	float: right;
}

* html div#Photo img {
	float: right;
	margin:0;
	padding:0;
	width:352px;
}

/* Primary Navigation
-----------------------------------------------------------------------------*/

div#Primary {
	width: 780px;
	height: 44px;
	margin: 0 auto;
	background: #fff;
	position: relative;
}

div#Primary ul {
	padding: 0;
	margin: 0;
	list-style: none;
	position: absolute;
	width: 780px;
	height: 44px;
	left: 0; 
	bottom: 0;
}

div#Primary ul li {
	/* first level list items are always visible */
	display: block;
	float: left;
	position: relative;
	margin: 0 0 0 20px;
	padding-top: 15px;
}

* html div#Primary ul li {
	margin: 0 0 0 15px;
}

div#Primary ul li a {
	height: 34px;
	line-height: 34px;
	color: #666;
	font-size: 15px;
	text-decoration: none;
	font-weight: bold;
	padding: 0 10px;
}

div#Primary ul li a:hover {
	color: #000;
}

div#Primary ul li ul {
	display: none;
}

div#Primary ul li a:active, div#Primary ul li a.Active {
	background-position: 0 -29px  !important;
}

div#Primary ul li a:hover {
	background-position: 0 -29px !important;
}

/* Secondary Navigation
-----------------------------------------------------------------------------*/

div#Secondary {
	width: 428px;
}

div#Secondary ul {
	list-style: none;
	padding: 10px;
	margin: 0;
}

div#Secondary ul li {
	text-align: right;
	margin: 0;
	padding: 0;
}

div#Secondary ul li a {
	line-height: 21px;
	height: 21px;
	display: block;
	text-decoration: none;
}

div#Secondary ul li.Active a {
	background-position: 0 -21px;
}


/* Canvas
-----------------------------------------------------------------------------*/

div#Wrapper {
	margin: 0 auto;
	width: 780px;
	position: relative;
	background: #fff url(/site/bg_wrapper.gif) repeat-y 100% 0;
}

div#Canvas {
}


/* Left Column
-----------------------------------------------------------------------------*/

div.Left {
	margin-left: 325px;
}

div#Left {
	position: absolute;
	top: 0;
	left: 0;
	width: 325px;
	font-size: 1.2em;
}


/* Right Column
-----------------------------------------------------------------------------*/

div.Right {
	margin-right: 352px;
}

div#Right {
	position: absolute;
	top: 0;
	right: 0;
	width: 352px;
}

* html div#Right div.Padding {
	padding: 2.5em 0;
}

* html div#Right div.Padding p {
	padding-left: 48px;
}


/* Footer
-----------------------------------------------------------------------------*/

div#Footer {
	margin: 2em auto;
	width: 780px;
	color: #334F96;
	font-size: 10px;
}

div#Footer a {
	color: #334F96;
}

div#Footer a:hover {
	color: #fff;
}

p#Copyright {
}

p#Credits {
}



/* Forms
-----------------------------------------------------------------------------*/

fieldset {
	padding: 1em;
	border: none;
	border-top: 1px solid #0000ff;
}

legend { 
	font-size: 1.4em;
	color: #0000FF;
}

div.LabelInput {
	margin-bottom: .5em;
}

input[type='text'], input[type='password'], select, textarea {
	width: 16em;
	font-size: 1em;
	font-family: Lucida Sans, Verdana, Arial, Tahoma, Sans-Serif;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	padding: 3px;
	border: 1px solid #666;	
}

div.CAPTCHA {
	padding: 0 0 1em 170px;
	background-position: 0 .3em;
	background-repeat: no-repeat;
}

div.CAPTCHA label {
	float: none;
	line-height: auto;
	width: auto;
}

div.CAPTCHA input[type='text'] {
	width: 6em;
}

select {
	width: 20.7em;
}

textarea {
	height: 20em;
}

label {
	line-height: 2em;
	width: 12em;
	float: left;
	display: block;
}

div.FormControls {
	display: block;
	padding: 1em 0 1em 12em; /* right padding for label width plus label padding */
}

div.FullWidth label {
	width: auto;
	float: none;
	display: block;
	text-align: left;
	padding: 0;
}

div.FullWidth input[type='text'], div.FullWidth input[type='password'], div.FullWidth select, div.FullWidth textarea {
	width: 28em;
}


/* Validation messages delivered by validate.js
-----------------------------------------------------------------------------*/

.error {
	background: #F3E5A1;
}

div.errorMessage {
	background: #F3E5A1;
	border: 1px solid #FFCC00;
	margin: 0 0 0 5px;
	padding: 5px;
	display: block;
	line-height: 1.6em;
	position: absolute;
	width: 12em;
	font-size: .8em; 
}


/* Info, Error & Success Messages
-----------------------------------------------------------------------------*/

.Info, .Error, .Success, .ErrorInline, .Help {
	margin-bottom: 14px;
	padding: 5px 5px 5px 35px;
	display: block;
	line-height: 1.6em;
	position: relative;
}

.Info A, .Error A, .Success A, .ErrorInline A {
	color: #000;
	text-decoration: underline;
}

.Info {
	background: #BFC8F1 url(/site/icon_info.gif) no-repeat 10px 6px;
	border: 1px solid #4574AE;
}

.Error {
	background: #F3E5A1 url(/site/icon_error.gif) no-repeat 10px 6px;
	border: 1px solid #FFCC00;
}

.Success {
	background: #B5E1AE url(/site/icon_success.gif) no-repeat 10px 6px;
	border: 1px solid #3B9E2B;
}

.Help {
	background: #BFC8F1 url(/site/icon_info.gif) no-repeat 10px 6px;
	border: 1px solid #4574AE;
}


/* Modal Dialog Box
-----------------------------------------------------------------------------*/

.ModalPop {
}

.ModalContainer {
	background: #fff;
	width: 420px;
	position: relative;
}

a.ModalClose {
	position: absolute;
	bottom: -2em;
	right: 0;
	color: #fff;
	font-size: 10px;
	letter-spacing: .1em;
	text-transform: uppercase;
	line-height: 2em;
	text-decoration: none;
}


/* Form Tips
-----------------------------------------------------------------------------*/

div.FormTip {
	/* the floating tooltip */
	background: #BFC8F1 url(/site/icon_info.gif) no-repeat 10px 6px;
	border: 1px solid #4574AE;
	margin: 0 0 0 10px;
	padding: 5px 5px 5px 35px;
	display: block;
	line-height: 1.6em;
	position: absolute;
	width: 240px;
}


/*Page Properties (edit mode)
-----------------------------------------------------------------------------*/

div#PageProperties {
	position: relative;
	padding: 1em;
	color: #000;
	background: #FFF;
	font-family: "lucida grande", "lucida sans", tahoma, verdana, arial, sans-serif;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
}

div#PageProperties a {
	color: #0000FF !important;
}

div#PageProperties a:hover {
	color: #0000FF !important;
}

div#MetaData {
	margin-right: 24em;
	padding: 1em;
	background: #DEDEDE;
	border: 1px solid #ccc;
}

dl#MetaKeywords {
	padding-left: 20px;
	background: url(/admin/tag_blue.png) no-repeat 0 50%;
}
dl#MetaDescription {
	padding-left: 20px;
	background: url(/admin/tag_red.png) no-repeat 0 50%;
}

div#InternalComments {
	position: absolute;
	top: 1em;
	right: 1em;
	width: 22em;
}

div.Note {
	padding: .5em .5em .5em 3.5em;
	background: #F3E5A1 url(/admin/note.png) no-repeat 10px 6px;
	border: 1px solid #FFCC00;
}

div.Block {
	position: relative;
}

a.Create, a.Edit {
	width: 85px;
	height: 35px;
	text-indent: -2000em;
	display: block;
	background: url(/admin/button_edit.png) no-repeat 0 0;
	position: absolute;
	top: 0;
	left: -25px;
	z-index: 1000;
	text-align: left !important;
}

.Editable {
	background: #ffcc00 !important;
}



/* Contact
-----------------------------------------------------------------------------*/

div#Contact {
	padding: 10px 10px 10px 150px;
	color: #666;
	font-size: 11px;
}

/* --------------------- Home Template --------------------- */
 
div#HomeCanvas {
	background: url(/site/bg_canvas.jpg) no-repeat;
	background-position: 0 166px;
	height: 549px;
}

div#Logo a { /* This logo has a partial circle behind it */
	display: block;
	width: 428px;
	height: 167px;
	background: url(/site/mrs_logo.jpg) top left no-repeat;
}

div.HomeContent {
	padding: 14px 375px 25px 106px;
}

div.HomeContent p {
	line-height: 14px;
}
 
div#HomeRightTop{
	background: url(/site/bg_home_photo1.jpg) top left no-repeat;
	height: 291px;
	position: relative;
}

div#HomeRightTop p {
	line-height: 16px;
}
 
div#HomeRightBottom{
	background: url(/site/bg_home_photo2.jpg) top left no-repeat;
	height: 258px;
	width:352px;
}
 
div#HomeRightTop p#Phone {
	position: absolute;
	right: 60px;
	bottom: 0;
	font-size: 14px;
	color: #6e6767;
	text-align: right;
	letter-spacing: 1px;
}
 
/* Primary Home Navigation
-----------------------------------------------------------------------------*/

div#PrimaryHome {
	width: 780px;
	height: 44px;
	margin: 0 auto;
	background: #fff url(/site/bg_header.jpg) no-repeat top left;
	position: relative;
}

div#PrimaryHome ul {
	padding: 0 0 0 86px;
	margin: 0;
	list-style: none;
	position: absolute;
	height: 44px;
	left: 0; 
	bottom: 0;
}

div#PrimaryHome ul li {
	/* first level list items are always visible */
	display: block;
	float: left;
	position: relative;
	margin: 0 0 0 20px;
	padding-top: 15px;
}

* html div#PrimaryHome ul li {
	margin: 0 0 0 15px;
}

div#PrimaryHome ul li a {
	height: 34px;
	line-height: 34px;
	color: #666;
	font-size: 15px;
	text-decoration: none;
	font-weight: bold;
	padding: 0 10px;
}

div#PrimaryHome ul li a:hover {
	color: #000;
}

div#PrimaryHome ul li ul {
	display: none;
}

div#PrimaryHome ul li a:active, div#Primary ul li a.Active {
	background-position: 0 -29px  !important;
}

div#PrimaryHome ul li a:hover {
	background-position: 0 -29px !important;
}

 
/* Pop Up (pop_view.php and pop_form_view.php)
-----------------------------------------------------------------------------*/

body#Pop {
	margin: 1em;
	background: #fff;
}
