﻿/*	==================================================
	TPMI Main Stylesheet
	Developed by Lively Marketing

	Last updated: 11-25-09
	
	Colors - noted here for easy reference
	
	Purples
	#571857		Purple
	#82537d		Top Nav Purple (originally #6d3f69)
    #946789		Secondary Nav Purple
	#d2cdd3		Secondary Nav Text - light purple
	#562a54		Main content text color
	#572a54		Image border or #6b3a69?
	#cebacc		Sidebar H1 text color - light purple
	#774c75		Search text - darker purple
	#a581a2		Sidebar background
	#bcacbb		Top Nav selected background

	Oranges
	#efa759		Header background - dark orange - not used
	#dcab79		Background - browner orange - not used
	#f1b06a		Sidebar navigation text

	Grays
	#706c70		Main content H1 text color - medium gray
	#eae9eb		Footer background - light gray
	#756f6f		Footer link text - darker gray
	#999595		Footer text - lighter gray

	Table of Contents
	=Global Settings
	=Framework
	=Navigation
	=Content
	=Forms
	=Typography

	Additional Stylesheets in separate files for: 
		Home Page
		Full Width Content Pages
		Print Friendliness
		Asp.net CSS Friendly Controls

	==================================================
	=Global Settings
	--------------------------------------------------	*/
* { margin: 0; padding: 0 }
	
h1, h2, p, div, ul { margin: 0; padding: 0 }

h1, h2, h3, h4 { font-weight: normal }

li { list-style: none }

img { border: 0 }

table {
	border-collapse: collapse;
	border: none;
	}

ul, ol, dl { position: relative;  }


/*	==================================================
	=Framework
	--------------------------------------------------	*/	
body {
	background: #f6f0f5 url('../images/background.gif') repeat-x top;
	}
	
#container { 
	margin: 0 auto; 
	width: 849px;
	background: url( '../images/stage_background.gif' ) repeat-y;
	}
	
#wrap {
	background: url('../images/main_background.gif') no-repeat;
	}
	
#header, #main, #footer { 
	margin: 0;
	text-align: left;
	}

#header { }

#main {
	position: relative;
	clear: both;
	margin-left: 10px;
	width: 828px;
	z-index: 10;
	}

	
#mainPanel {	
	position: relative;
	float: left;
	width: 563px;
	margin-top: 45px;
	padding: 0 30px 13px 35px; /* bott 15 */
	}

#sideBar {
	position: relative;
	float: right;
	margin-top: -8px; /* -4 or -8 */
	padding-top: 35px;
	width: 200px;
	background: url( '../images/sidebar_secondary_bg.png' ) repeat-x top;
	z-index: 15;
	}

#footer {
	clear: both;
	padding-bottom: 7px;
	width: 849px; 
	background-image: url(  '../images/bottom_shadow.gif' );
	background-repeat: no-repeat;
	background-position: bottom;
	}

/*	Easy Clearing - 'Clearfix' - http://www.positioniseverything.net/easyclearing.html */
.clearfix:after, #tpmiMaster_navMenu ul:after, #tpmiMaster_secondaryNav ul:after, #footerContent:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
	}

 .clearfix, #tpmiMaster_navMenu ul, #tpmiMaster_secondaryNav ul, #footerContent {display: inline-block;} /* for IE/Mac */

/* Backslash hack - hide code from IE-mac until next comment\*/
.clearfix, #tpmiMaster_navMenu ul, #tpmiMaster_secondaryNav ul, #footerContent {display: block;} /* resets it */
/*	End of Clearfix */

/*	==================================================
	=Navigation
	--------------------------------------------------	*/

/* Top Nav */
#tpmiMaster_navMenu {
	position: relative;
	right: -62px;
	background: url('../images/topnav.png') no-repeat left;
	height: 35px;
	margin-bottom: -2px;
	/*padding-bottom: 3px;*/ /* removed the padding and using height instead due to fixed height bg image */
	z-index: 200;
	}

#tpmiMaster_navMenu ul {
	margin: 0 0 0 109px;
	}

#tpmiMaster_navMenu li {
	float: left;
	padding: 3px 8px 0; /* 0 8 */
	font-size: .9em;
	font-weight: normal;
	height: 25px;
	/*padding-bottom: 5px;*/
	border-right-style: solid;
	border-right-width: 1px;
	border-right-color: #C8B6C6;
	}

#tpmiMaster_navMenu ul ul  /* Tier 2 */ {
	margin: 0;
	width: 12em;
    top: 100%;
    left: 0;
	}

#tpmiMaster_navMenu ul ul li {
	width: 12em;
	height: auto;
	padding: 3px 10px;
	font-size: 1em;
	background-color: #82537d;
	border: none;
	}

#tpmiMaster_navMenu ul ul ul  /* Tier 3+ */ {
	margin: 0;
    top: -0.1em;
    width: 12em;
    left: 8em;
	}

#tpmiMaster_navMenu ul ul ul li {
	padding: 3px 10px;
	font-size: 1em;
	}

#tpmiMaster_navMenu a, #tpmiMaster_navMenu span, #topNav a /* all anchors and spans (nodes with no link) */ {
	text-decoration: none;
	color: #fff;
	}

#tpmiMaster_navMenu a:hover, #topNav a:hover { color: #d2cdd3; }

#tpmiMaster_navMenu .AspNet-Menu-Selected /* this tier is selected */ {
    color: #571857 !important;
    background-color: #bcacbb;
	}

#tpmiMaster_navMenu .AspNet-Menu-ChildSelected /* a tier below this one is selected */ {
    color: #571857 !important;
    background-color: #bcacbb;
	}

#tpmiMaster_navMenu .AspNet-Menu-ParentSelected /* a tier above this one is selected */ {}
	
/* Secondary Nav */
#tpmiMaster_secondaryNav {
	clear: both;
	position: relative; 
	/*top: 4px;*/
	top: -1px;
	right: -146px;
	margin: 0; /* 3 0 0 0 */
	padding: 0; /*14 0 0 0 */
	height: 33px; /* added height in here and li below for fixed image height */
	background: url('../images/secondarynav.png') no-repeat left;
	z-index: 20;
	}

#tpmiMaster_secondaryNav ul  { 
	position: relative;
	/*top: -7px; */
	right: -94px;
	margin: 0 0 0 0;
	padding-top: 7px; /* 0 */
	z-index: 25;
	}

#tpmiMaster_secondaryNav li {
	position: relative;
	float: left;
	height: 19px;
	padding: 0 8px;
	font-size: .85em;
	z-index: 30;
	}

#tpmiMaster_secondaryNav ul ul  /* Tier 2 */ {
	margin: 0;
	width: 12em;
    top: 100%;
    left: 0;
    display: none;
    visibility: hidden; /* need this likely due to IE 6, 7, IE8compat bug: http://www.positioniseverything.net/explorer/ienondisappearcontentbugPIE/index.htm */
	}

#tpmiMaster_secondaryNav ul ul li {
	width: 12em;
	height: auto;
	padding: 3px 10px;
	font-size: 1em;
	background-color: #82537d;
	border: none;
	display: none;
	visibility: hidden;
	}

#tpmiMaster_secondaryNav ul ul ul  /* Tier 3+ */ {
	margin: 0;
    top: -0.1em;
    width: 12em;
    left: 8em;
    display: none;
    visibility: hidden;
	}

#tpmiMaster_secondaryNav ul ul ul li {
	padding: 3px 10px;
	font-size: 1em;
	display: none;
	visibility: hidden;
	}


#tpmiMaster_secondaryNav a, #tpmiMaster_secondaryNav span /* all anchors and spans (nodes with no link) */ {
	text-decoration: none;
	color: #d2cdd3;
	}

#tpmiMaster_secondaryNav a:hover { color: #571857; }

#tpmiMaster_secondaryNav .AspNet-Menu-Selected /* this tier is selected */ {
    color: #571857 !important;
    background-color: #bcacbb;
	}

#tpmiMaster_secondaryNav .AspNet-Menu-ChildSelected /* a tier below this one is selected */ {
    color: #571857 !important;
    background-color: #bcacbb;
	}

#tpmiMaster_secondaryNav .AspNet-Menu-ParentSelected /* a tier above this one is selected */ {}

/*	==================================================
	=Content
	--------------------------------------------------	*/
h1, h2, h3 { margin-bottom: .25em; }

p, ul { margin-bottom: .75em; }

img { margin: 5px; }
img.left, div.left img, object.framed.left { margin: 10px 10px 10px 0; border: solid 6px #572a54; }
img.right, div.right img { margin: 10px 0 10px 10px; border: solid 6px #572a54; }

input, textarea { background-color: #fbdec0; }

.left { float: left; }
.right { float: right; }
.center { margin-right: auto; margin-left: auto; }

.clearing { clear: both; }

a:active, a:hover { outline: none; }

a.button {
	width: 31px;
	height: 31px;
	padding-bottom: 5px;
	}

a.button:active {
	position: relative;
	top: 2px;
	left: 2px;
	}

a.purpleButton { background: url('../images/purple_button.png') no-repeat right; }
a.whiteButton { background: url('../images/white_button.png') no-repeat; }

.imageReplace
{
  display:-moz-inline-box;
  display:inline-block;
  background:transparent none 0 0 no-repeat;
  text-indent:-5000px;
  overflow:hidden;
  vertical-align: middle;
  }

#banner { float: right; width: 650px; margin: 7px 12px 0 0; }
#banner #address { float: right; text-align: right; margin: 0; padding: 0px 20px 0 0; }

#contactsGridView table, #contactsGridView th, #contactsGridView td {
	border:	thin black solid;
	text-align: left;
	}

#contactsGridView th, #contactsGridView td { padding: 0.15em; }

#footerContent {
	margin: 0 0 8px 10px;
	width: 827px;
	background-color: #d2cbd1;
	}

#footer #footerMain {
	float: left;
	padding: 3px 0 12px;
	margin: 0;
	width: 100%;
	background-color: #eae9eb;
	text-align: center;
	}

#footer p span { padding: 0 .7em; }

#footer #footerSide { display: none; }

#logo { float: left; margin: 12px 0 0 25px}
#logo a {
	display: block;
	width: 129px;
	height: 85px;
	background-color: transparent;
	background-image: url('../images/logo.gif');
	background-repeat: no-repeat;
	}

#mainPanel h1 { text-align: center; }

#mainPanel li { list-style-type: disc; list-style-position: inside; }
#mainPanel li li { list-style-type: circle; margin-left: 1.5em; }
#mainPanel li li li { list-style-type: disc; }
#mainPanel li li li li { list-style-type: circle; }

#mainPanel .newsList li, #mainPanel .videoList li { padding-bottom: 1em; list-style: none; list-style-position: outside; }
#mainPanel .newsList li { text-align: center; }
#mainPanel .newsList li span.ref { display: block; }

#mainPanel .videoList div.caption { clear:both; display: block; float: right;  width: 220px; padding-top: 10px; }
#mainPanel .videoList embed { width: 325px; display: block; }

#mapControl, #searchControl { margin: 20px 0 0 0px; }

#myLocation, #yourDirections { margin-top: 20px; }
#myLocation label { margin-bottom:.2em; line-height:1.4em; }
#myLocation .leftcol { float:left; margin-right: 1em; }
#myLocation .field { width: 400px; margin-bottom:.2em; line-height:1.4em; }

#search { margin-top: 0px; }
#search input { height: 1.2em; background-color: #eae9eb; }

#searchControl .gsc-control { width: 100%; }  

#sideBar h1, #sideBar h2, #sideBar h3 { padding-left: 10px; }

#sideBarContent  { min-height: 500px; }

#sideBarContent p, #sideBarContent ul.moreLinks { padding-left: 25px; }
#sideBarContent ul.moreLinks { margin-top: 20px; }

#sideNav li  {
	padding: .5em 0 .5em 25px;
	border-top: solid 1px #cebacc; 
	}

.video { width: 328px; }

/*	==================================================
	=Forms
	--------------------------------------------------	*/
.formFields { clear: both; }

.formFields div.label {
	float: left;
	clear: both;
	width: 8em;
	margin: 0 5px 2px 0;
	text-align: right;
	}
	
.formFields input, .formFields textarea { width: 300px; }

.formFields .input {
	display: block;
	margin: 0 0 2px 0;
	}

.formFields .invalid {
	display: inline-block;
	padding: 0 0 0 1em;
	}
	
.formFields .invalid2 {
	position: relative;
	left: -1em;
	display: inline-block;
	}

.formFields span.required {}

.buttons {
	clear: both;
	padding-top: 10px;
	text-align: center;
	}
	
.buttons input { margin-top: 10px; }

.messages {
	clear: both;
	margin: 20px 30px 20px 50px;
	}
	
#recaptcha_widget_div { margin: 0 auto; width: 318px; }

.validationSummary li { list-style: disc inside; }

/*	==================================================
	=Typography
	--------------------------------------------------	*/
body {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	color: #562a54;
	font-size: 80%;
	line-height: 1.5em;
	}
	
a, a:visited { color: #774c75; }

a:hover { color: #cebacc; }

h1 a, h2 a, h3 a { text-decoration: none; }

em {
	color: #000;
	font-style: normal;
	font-size: 1.15em;
	line-height: 80%;
	}

h1 {
	color: #706c70;
	font-size: 1.6em;
	font-weight: normal;
	line-height: 1.1em;
	}
	
h2 {
	font-size: 1.3em;
	font-weight: normal;
	}
	
h3 {
	font-size: 1.2em;
	font-weight: normal;
	}
	
#address { font-size: .85em; line-height: 1.3em; }

.alert { color: Red; }

#banner #search { font-size: .85em; }
	
#contactsGridView { background: #f3f5f8; }

#footer {
	color: #756f6f;
	font-size: .8em;
	}

#footer p span { color: #999595; }

#footer p a, #footer p a:visited { color: #756f6f; font-size: .9em }

#footer p a:hover { color: #000; }
	
.formFields { font-size: .85em; }

.formFields span.required {
	margin-right: .25em;
	color: #efa759;
	}
#tpmiMaster_mainPlaceHolder_formIntro .required {
	font-size: .85em;
	color: #efa759;
	}

#mainPanel h1 a, #mainPanel h1 a:hover, #mainPanel h2 a, #mainPanel h2 a:hover { color: #706c70; }

#mainPanel .videoList a.title:hover { color: #774c75; }
#mainPanel .videoList p { font-size: .7em }

.newsList li span.ref { font-style: italic; }
	
#sideBar { font-family: helvetica, arial, verdana, sans-serif; }

#sideBar a, #sideBar a:visited  { text-decoration: none; color: #571857; }

#sideBar a:hover { color: #fff; }

#sideBar h1, #sideBar h2 { font-size: 1.6em; }
	
#sideBar h1, #sideBar h1 a, #sideBar h1 a:visited, #sideBar h2, #sideBar h3 { color: #cebacc; font-weight: normal; }

#sideBar p, #sideBar ul { color: #571857; }

#sideBar #region a:hover { color: #cebacc; }

#sideNav a, #sideNav a:visited  {
	font-size: 1.2em;
	color: #f1b06a;
	text-decoration: none; 
	}
	
#sideNav a:hover { color: #571857; }
	
#sideNav li.selected a, #sideNav li a.selected { color: #571857; }

.validationSummary { font-size: .85em; }

/* Google Search */
.gs-title a { color: #774c75; }

.gs-title a:hover { color: #cebacc; }

.gsc-control { width: 100%; }  