/*

------------------------------------------------------------------

- 600 -

Project:	    Voter Info: Polling Place Locator & Voter Registration Information Service
Agency:         Secretary of State - Elections Bureau
Version:	    1.0
Last change:	07/19/2010
Primary use:	Web Application
Media:			Screen

------------------------------------------------------------------


*** MT.gov Service Styleguide ***
------------------------------------------------------------------


- Table of contents -

	1. Body / #wrap
	2. Header / #header
		2.1. Other Links / #otherLinks
	3. Content / #mainContent
	4. Footer / #footer


- Colors -

Background:	#ffffff (white)
Content:	#1e1e1e (light black)
Header h1:	#ffffff (white)
Header h2:	#eeeeee (white)

a (standard):	#336699 (sea blue)
a (visited):	#336699 (sea blue)
a (active):	    #336699 (sea blue)
a (hover):      #77ade4 (light blue)


- Typography -

Body copy:		    1em/1.4em Verdana, Helvetica, Arial, Geneva, sans-serif;
Headers:		    2.7em/1.3em Helvetica, Arial, "Lucida Sans Unicode", Verdana, sans-serif;
Input, textarea:	1.1em Helvetica, Verdana, Geneva, Arial, sans-serif;


*/


/* Reset Everything
---------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
/* ---MRF
 	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
*/
	vertical-align: baseline;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

ol, ul {
	list-style: none;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}

caption, th, td {
	text-align: left;
	font-weight: normal;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}

blockquote, q {
	quotes: "" "";
}

/* Defaults
---------------------------------------------------------- */

body {
/*	font:.9em/1.2em Verdana, Arial, Helvetica, sans-serif; ---MRF */
  font:12px/17px Verdana, Arial, Helvetica, sans-serif;
	color:#1e1e1e;
}

#wrap {
	max-width:730px;
	width:100%;
	margin-bottom:0px;
	margin-top:0px;
	margin-left:auto;
	margin-right:auto;
	padding:0px;
}


/* Links
---------------------------------------------------------- */

a:link, a:visited {
	color:#336699;
}

a:hover {
	color:#77ade4;
}


/* Forms (text boxes, text areas, buttons)
---------------------------------------------------------- */

label {
	margin-bottom:2px;
	padding-right: 5px;
	float:left;
	width:14em;
	text-align:right;
}

label.row {
    display:inline;
}

.beginButton {
	width:auto;
}

input[type="button"] {
	width:auto;
	margin-bottom:10px;
}

input[type="submit"] {
	width:auto;
	margin-bottom:10px;
}

input[type="reset"] {
	width:auto;
	margin-bottom:10px;
}

input[type="text"], input[type="password"], textarea, select {
	padding:3px;
	border-top:2px solid #999;
	border-right:2px solid #999;
	border-bottom:1px solid #ccc;
	border-right:1px solid #ccc;
	width:205px;
}

input:focus, select:focus, textarea:focus {
	background:#ffc;
}

input[type="text"] {
	width:198px;
}

.required {
	font-style:italic;
	color:#990000;
}

#from_address {
	width:50%;
	}

/* Misc. Defaults
---------------------------------------------------------- */

.center {
	text-align:center;
}

.clear {
	clear:both;
}

div.clear {
	clear:both;
}

/* VoterFile Look, adding
---------------------------------------------------------- */

#hdr_s1 {
	float:left;
	width:82px;
}
#headerinside {
	float:left;
	background:url("/voterinfo/images/hdr_inside.gif") no-repeat;
	width:663px;
	height:95px;
	margin-left:-1px;
	min-height:95px;
}
#headerinside h1 {
	color:#FFFFFF;
	margin:0;
	padding:0 0 0 4px;
	font-family:Tahoma, Arial, sans-serif;
	font-size:85%;
	padding-top:3px;
}
#headerinside h2 {
	color:#FFFFFF;
	margin:0;
	padding:0;
	font-size:220%;
	font-weight:bold;
	padding:7px 0 0 10px;
}
#sosLeader {
	color:#FFFFFF;
  margin-right:140px;
	font:.8em/1.2em Tahoma, Verdana, Arial, helvetica, sans-serif;
  float:right;
  margin-top:-30px;
  text-align:right;
  display: block;
}
#hdr_nav {
	margin:21px 12px 0 -4px;
	padding:0 5px 0 0;
	text-align:right;
    color:#999999;
/*
	margin:10px 0 0 0;
	padding:13px 5px 0 0;
	text-align:right;
    color:#999999;
*/
}	
#hdr_nav a {
	font-size:11px;
	text-decoration:none;
	font-weight:bold;
	font-family:Tahoma;
}	
#hdr_nav a:link, #hdr_nav a:visited {
	text-decoration:none;
	color:#00006E;	
}		
#hdr_nav a:hover {
	text-decoration:none;
	color:#3300FF;
}
#hdr_s2 {
	float:left;
	background:url("/voterinfo/images/hdr1.jpg") no-repeat;
	width:100%;
	height:95px;
	min-height:95px;
}
#hdr_s2 h1 {
	color:#FFFFFF;
	margin-top:0px;
	margin-bottom:0px;
	margin-left:70px;
	margin-right:0px;
	padding:0;
	font-family:Tahoma, Arial, sans-serif;
	font-size:85%;
	padding-top:6px; 
}
#hdr_s2 h2 {
	color:#FFFFFF;
	margin-top:0px;
	margin-bottom:0px;
	margin-left:70px;
	margin-right:0px;
	padding:0;
	font-weight:bold;
	padding:5px 0 0 10px;
    font-size:2em;
}
#indexNavigation {
	margin:21px 12px 0 -4px;
	padding:0 5px 0 0;
	text-align:right;
    color:#999999;
}	
#indexNavigation a {
	font-size:11px;
	text-decoration:none;
	font-weight:bold;
	font-family:Tahoma;
}	
#indexNavigation a:link, #indexNavigation a:visited {
	text-decoration:none;
	color:#00006E;
}		
#indexNavigation a:hover {
	text-decoration:none;
	color:#3300FF;
}
#mid {
	width:175px;
	float:left;
}

/* Header
---------------------------------------------------------- */

#header {
	background:url(/voterinfo/images/hdr_bg.png) repeat-x;
	height:90px;
}

#header .logo {
	background:url(/voterinfo/images/vote.png) no-repeat;
	width:87px;
	height:90px;
	float:left;
}

.headerText {
	float:left;
	width:80%;
}

.headerText h2 {
	margin:13px 0 0 0;
	color:#fff;
	font:"Trebuchet MS", Verdana, Sans-serif;
	font-weight:normal;
	font-size:.8em;
	line-height:1.1em;
}

.headerText h1 {
	margin:2px 0 0 7px;
	color:#fff;
	font:"Trebuchet MS", Verdana, Sans-serif;
	font-size:1.2em;
	font-weight:normal;
	line-height:1.2em;
	letter-spacing:1px;
}


/* Extra Links
---------------------------------------------------------- */

#extraLinks {
	margin:-25px 0 25px 0;
	padding:0;
	color:#e5e5e5;
}


#extraLinks ul {
	margin:0 0 15px 0;
	padding:3px 0 0 515px;
}

#extraLinks ul li {
	margin:0 4px;
	padding:0;
	display:block;
	float:left;
	text-align:center;
	clear:right;
}

#extraLinks a {
	text-transform:uppercase;
	text-decoration:none;
	font:.7em Tahoma, Verdana, Helvetica, sans-serif;
	letter-spacing:1px;
}


/* Main Content Index Page
---------------------------------------------------------- */

.hide {
	display:block;
}

#mainContentIndex {
	margin-top:10px;
    margin-left:10px;
	max-width:733px;
	width:60%;
	float:left;
}
#mainContentIndex p {
	line-height:1.6em;
	margin-top: 10px;
}

#sidebar {
	width:23%;
	min-width:150px;
	float:left;
	max-height:465px;
  	border-width: thin;
	border-color:#CCC;
	border-style:solid;
    border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
	border-top-left-radius:5px;
	border-top-right-radius:5px;
	box-shadow: 3px 3px 3px #eeeeee;
	-moz-border-radius:5px 5px 5xp 5px;
	-khtml-border-radius:5px 5px 5xp 5px;
	-webkit-border-radius:5px 5px 5xp 5px;
	-khtml-box-shadow: #eeeeee;
	-moz-box-shadow: 3px 3px 3px #eeeeee;
	-webkit-box-shadow: 3px 3px 3px #eeeeee;
	text-align:center;
	padding-bottom:50px;
	padding-top:10px;
	padding-left:5px;
	padding-right:5px;
	margin-top:5px;
	margin-bottom:5px;
	margin-left:5px;
	margin-right:5px;
	display:block;
}

#mobile_store {
	display:none;
}

/* Main Content
---------------------------------------------------------- */

#mainContent {
	
}

.static p {
	margin:12px 0;
}

#mainContent h2 {
  font-weight: bold;
	margin:5px 5px 0px 10px;
	padding:0;
	font:1.5em/1.7em "Trebuchet MS", Verdana, Sans-serif;
	border-bottom:1px solid #CCCCCC;
	width:96.59%;
}

#mainContent p {
	line-height:1.6em;	
}

#leftColumn {
 	float:left;
	width:500px;
}

#leftColumn p {
	margin:12px 0;
}

#rightColumn {
	margin-bottom:20px;
	margin-left:10px;
	padding:60px 7px;
	/*border:1px solid #e6eefc;*/
	float:left;
	width:200px;
}

#rightColumn p {
	margin:8px 0;
}

form#search {
	margin-top:30px;
}

form#search p {
	margin:12px 0;
}


.inputAlignment {
	margin-bottom:20px;
	margin-left:40px;
}

.example {
	font:.8em/1em Tahoma, Verdana, Helvetica, sans-serif;
	color:#999999;
}

.feedback p {
	margin:12px 0;
}

p.hr {
	margin:15px 0;
	padding:5px 0 10px 0;
	border-top:1px solid #CCCCCC;
	text-align:center;
}


/* Search Results
---------------------------------------------------------- */

#absentee {
	margin:15px 0;
	padding:7px 9px;
	background:#ffc;
	border:1px solid #fedb7f;
	width:99%;
}

#absentee ul {
   list-style-type:disc;
   margin-left: 30px;
   margin-top: 5px;
   margin-bottom: 10px;
}

#absentee ul li {
   margin-top: 5px;
}

#absentee h2 {
	margin:0;
	padding:0;
	text-align:center;
	font:bold 1.9em Tahoma, Verdana, Helvetica, sans-serif;
	letter-spacing:1px;
	border:none;
}

#absentee p.notice {
	text-align:center;
	font:bold 1.7em "Trebuchet MS", Verdana, Sans-serif;
}

#absentee p {
	line-height:1.4em;
}

#absentee strong {
	font-weight:bold;
}

.moreinfo {
  margin-top:10px;
}

p.resultsInstructions {
	margin:17px 0 12px 0;
}

#pollingPlace {
	margin-top:15px;
	padding:9px 10px;
	border:1px solid #B7B7B7;
	width:99%;
	/*#dbedfe*/
}

fieldset {
  margin-top:15px;
	padding:6px 16px 14px 16px;
	border:1px solid #B7B7B7;	  /*#dbedfe*/
	width:97%;
}

legend span {
   margin-left:2px;
   font:1.1em Georgia, "Times New Roman", Times, serif;
   color:#000000;
   font-weight:bold;
}

#pollingPlaceLeft {
  margin-top:10px;
	margin-bottom:20px;
	width:500px;
	float:left;
}

span.fn { /* was for polling place name */
	font:bold 1.6em/1em Georgia, "Times New Roman", Times, serif;
}

.adr {
  height:7px;
	margin-top:7px;
	font:normal 1.1em/1.2em Arial, Helvetica, sans-serif;
	color:#666666;
}

p.precinctNumber {
	margin:5px 0;
}

div.ballotTracking {
	margin:5px 0;
	padding:3px;
	background:#eef6fe;
	border: solid 1px #B7B7B7;
}

span.precinct {
	padding:3px 5px;
	/* font:bold 1.4em/1.4em Georgia, "Times New Roman", Times, serif; */
	font-weight: bold;
	font-size: 1.2em;
}

p.voterInformation {
	font:normal 1em/1.1em "Trebuchet MS", Verdana, Sans-serif;
}

ul#otherLinks  {
	padding:7px 0 9px 5px;
	border-top:1px solid #cee7ff;
	background:#eef6fe;
}

ul#otherLinks  li {
	margin:0 5px;
	display: inline;
	list-style:none;
	width:100%;
	font:.8em/1em Tahoma, Verdana, Helvetica, sans-serif;
}

#otherLinks ul a[href$='.asp'], #otherLinks ul a[href$='absentee'], #otherLinks ul a[href$='.pdf']  {
	padding: 5px 0 5px 20px;
}

ul#otherLinks a.issues {
	padding-top:5px;
	padding-bottom:5px;
	padding-left:20px;
	background: transparent url("/voterinfo/images/icon_issues.gif") no-repeat center left;
}

ul#otherLinks a.absentee {
	padding-top:5px;
	padding-bottom:5px;
	padding-left:20px;
 	background: transparent url("/voterinfo/images/icon_absentee.gif") no-repeat center left;
}

ul#otherLinks a.military {
	padding-top:5px;
	padding-bottom:5px;
	padding-left:20px;
 	background: transparent url("/voterinfo/images/icon_military.gif") no-repeat center left;
}

ul#otherLinks a.admin {
	padding-top:5px;
	padding-bottom:5px;
	padding-left:20px;
 	background: transparent url("/voterinfo/images/icon_admin.gif") no-repeat center left;
}

p.info {
	margin:0;
	font:.76em/1.2em Tahoma, Verdana, Helvetica, sans-serif;
	color:#969696;
}

#pollingPlaceRight {
	margin:10px 0 5px 15px;
	width:163px;
	margin-left:0px;
	margin-right:0px;
	float:right;
}

p.hrResults {
	margin:25px 0;
	padding:5px 0 10px 0;
	border-top:1px solid #eeeeee;
	text-align:center;
	width:97%;
}

#map_error {
	color:#990000;
	font-weight:bold;
	visibility: hidden;
	width:80%;
	margin-left:auto;
	margin-right:auto;	
}

#map {
	width:80%;
	height:400px;
	margin-left:auto;
	margin-right:auto;
	border:1px solid #cccccc;
}

#directionsPanel {
	width:80%;
	height:auto;
	margin-left:auto;
	margin-right:auto;
	
}

/* Error Messages
---------------------------------------------------------- */

.errorIndexPage {
	font:12px Verdana, Arial, helvetica, sans-serif;
	font-weight:bold;
	color:#d33201;
	width:90%;
	border:1px solid #fde263;
	margin-top:10px;
	margin-bottom:15px;
	padding:19px 14px 14px 55px;
	clear:both;
	text-align:left;
	background:#ffc url(/voterinfo/images/error.gif) no-repeat 15px 12px;
}

.errorIndexPage p {
	margin-bottom:10px;
	color:#000000;
	font-size:13px;
	font-weight:normal;
}

li.errorList {
	padding:3px 0;
	margin:0 0 0 25px;
	font-weight:bold;
}

.error {
	font:12px Verdana, Arial, helvetica, sans-serif;
    font-weight:bold;
    color:#d33201;        
    width:80%;
    background:#fff url("/voterfile/images/error.gif") no-repeat left;
    border: 1px dashed #CCCCCC;
    margin-top:10px;
    margin-bottom:10px;
    margin-left:auto;
	margin-right:auto;
    padding:14px 14px 14px 32px;
    clear:both;
    text-align:left;
}


/* Footer
---------------------------------------------------------- */

#demo {
	width:600px;
	padding-top:5px;
	margin-left:10px;
	float:left;
	display:block;
}

#demo a, a.visited, a.hover {
	text-decoration:none;
	border:none;
}

#footer a {
	text-decoration:none;
	border-bottom: 0; /* prevents grey dashed underline from showing up */
	}

#footer {
	clear:both; 
	width:100%;
	padding:5px 3px 0px; 
	border:solid #ccc; 
	border-width:1px 0px 0px; 
	text-align:center;
	font: 11px Arial, Helvetica, sans-serif;
	}
			
#footer:after {
	content:"."; 
	display:block; 
	height:0px; 
	clear:both; 
	visibility:hidden;
	}
	
#footer a {
	color:#333; 
	text-decoration:none; 
	margin:0px; 
	padding:0px; 
	list-style:none; 
	font-size:85%; 
	border-bottom:0;
	}
	
#footer a:visited {
	color:#333; 
	text-decoration:none; 
	margin:0px; 
	padding:0px; 
	list-style:none; 
	font-size:85%; 
	border-bottom:0;
	}
	
#footer a:hover {
	color:#333; 
	text-decoration:underline; 
	border-bottom: 0; /* prevents grey dashed underline from showing up */
	}
	
#footer img {
	border:none;
	}
	
#footer ul {
	margin:0px; 
	padding:4px 0px 2px 0px; 
	list-style-type:none;
	}
	
#footer li {
	margin:0px 0px 0px 0px; 
	padding:0px 6px 0px 0px; 
	display:inline;}
	
#footfloat {
	float:right;
	}
