/* Global
------------------------------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  border: 0;
  }

body {
  background: #e3e4d2 url(../images/layout/bg.gif) top left repeat-x;;
  color: #333;
  line-height: 1em;
  text-align: center;
  }
  
.skip {
  position: absolute;
  left: -9000px;
  top: 0;
  }


/* Layout
------------------------------------------------------------------*/
#wrapper {
  position: relative;
  width: 100%;  
  margin: 0 auto;
  text-align: left;
  }

.container_12 {
  position: relative;
  }

#top {
  height: 8px;
  margin-bottom: 9px;
  border-bottom: 1px solid #e1dfc1;
  background: #E3E4D2;
  text-indent: -9000px;
  }
  
#header {
  height: 162px;
  }  
  
#header_email {
  height: 126px;
  margin-top: -10px;
  background: url(../images/layout/email_bg.png) 0 0 no-repeat; 
  }

a.contribute_button {
  width: 328px;
  height: 42px;
  display: block;
  text-indent: -9000px;
  background: url(../images/layout/contribute.png) 0 0 no-repeat;
  }
a.contribute_button:hover {
  background: url(../images/layout/contribute.png) 0 -54px no-repeat;
  border: none;
  }  

.box {
  padding: 18px 9px;
  margin-bottom: 18px;
  background: #e3e4d2;
  -moz-border-radius: 9px;
  -webkit-border-radius: 9px;    
  } 
  
#header,
#footer {
  margin-bottom: 18px;
  }  

#main_content { margin-top: 30px; }

div.video,
#bottom_panels,
#footer  {
  margin-top: 18px;
  }

.video object { margin: 0; }

body#test #footer .grid_4,
body#events #footer .grid_4 {
  margin-top: 15px;
  }  

#footer .grid_4 {
  margin-top: 18px;
  }  
  
a.footer_logo,
a.footer_logo:hover {
  width: 320px;
  height: 54px;
  display: block;
  text-indent: -9000px;
  background: url(../images/layout/footer_logo.png) 0 0 no-repeat;
  border: none;
  }  
  
  
/* Social navigation
------------------------------------------------------------------*/  
ul.social_nav {
  width: 198px;
	height: 54px;
	margin: 0 0 0 62px;
	padding: 0;
	list-style: none;
  }

ul.social_nav li {
	float: left;
	width: 54px;
	height: 54px;
	margin-right: 18px;
  overflow: hidden;
  }

ul.social_nav li.last {
  margin-right: 0;
  }
  
ul.social_nav li a {
	display: block;
	line-height: 54px;
	text-indent: -9000px;
	overflow: hidden;
  background-position: center top;
  }
li#navFacebook {
	background: url(../images/layout/social_media.png) 0px 0px;
  } 
li#navTwitter {
	background: url(../images/layout/social_media.png) -72px 0px;
	}
li#navFlickr  {
  background: url(../images/layout/social_media.png) -144px 0px;
  }
li#navVimeo {
  background: url(../images/layout/social_media.png) -216px 0px;
  }
li#navFacebook a:hover {
  background: url(../images/layout/social_media.png) 0px -54px;
  }
li#navTwitter a:hover {
  background: url(../images/layout/social_media.png) -72px -54px;
  }
li#navFlickr a:hover {
  background: url(../images/layout/social_media.png) -144px -54px;
  }
li#navVimeo a:hover {
  background: url(../images/layout/social_media.png) -216px -54px;
  }
  

/* Pop up
------------------------------------------------------------------*/
.basic-modal-content { display:none; }

#simplemodal-overlay {
  background-color:#000; 
  cursor:wait;
  }

/* Container */
#simplemodal-container {
  height:510px; 
  width:720px; 
  color:#333; 
  background-color:#eff0e8; 
  border:4px solid #e1dfc1; 
  padding:18px;
  }

#simplemodal-container a.modalCloseImg {
  background:url(../images/layout/x.png) no-repeat; 
  width: 25px; 
  height: 29px; 
  display: inline; 
  z-index: 5000; 
  position: absolute; 
  top: -15px; 
  right: -16px; 
  cursor: pointer;
  }
  
#simplemodal-container #basic-modal-content { padding:8px; }    

#simplemodal-container .divider { margin-right:18px; }


/* Candidate info
------------------------------------------------------------------*/
.candidate_bio {
  text-align: left;
  margin-bottom: 18px;
  padding-right: 18px;
  border-bottom: 0.08333em dotted #ccc;
  }

div.candidate_bio:last-of-type,
div.wardcontainer > div.candidate_bio:last-of-type { 
  border-bottom: none;
  margin-bottom: 0px;
  }

.candidate_photo {
  float: left;
  margin: 0 18px 18px 0;
/*  border: 1px solid #ccc; */
  }

.candidate_text {
  }  
   

/* Calendar 
------------------------------------------------------------------*/
#calendar {  }

#calendar {
	border-collapse: collapse;
	text-align: center;
	width: 100%;
 	margin-bottom: 2px; 
}

#calendar a {
	font-size: 11px;
	text-decoration: none;
	line-height: 1.2em; 
}

#calendar th {
	letter-spacing: 1px;
	text-decoration: none;
	color: #f1f1f1;
	background: #033f7d;
	border: 1px solid silver;
	padding: 10px 0;
	text-transform: uppercase;
}

#calendar th a {
	text-decoration: none;
	color: #fff;
}

#calendar th a:hover {
	border-bottom: 0;
}

#calendar td {
	vertical-align: top;
	width: 14%;
	height: 6em;
	border: 1px solid silver;
	background-color: #f1f1f1;
}

#calendar td:hover {
	background-color: #FFF;
}

#calendar .permalink {
	display: block;
	margin-bottom: 0.5em;
	text-align: left;
	line-height: 1em;
}

#calendar td.today {
	color: #fff;
	background: #e7e7eb url(../images/layout/today.png) no-repeat top right;
}

#calendar td.today h4 {
	color: #fff;
}

#calendar td.invalidDay {
	background-color: #bababa;
}

#calendar div.date {
	text-align: right;
	font-weight: bold;
	margin-right: 0.25em;
	color: #666;
}

#calendar .hasarticle {
	background-color: #fff;
}

#calendar h4 { 
	margin: 0 2px 0 0;
	text-align: right;
	font-weight: bold;
}


/* Map
------------------------------------------------------------------*/
#mapdiv { 
  width: 527px;
  height: 247px;
  border: 1px solid transparent; 
  margin-bottom: 3px;
  }

.overlay { 
  position: relative;
  display: block;
  width: 527px;
  height: 247px;
  background: url("../images/layout/overlay_map.gif") no-repeat;
  border: 1px solid #ccc!important; 
  }

.fade { 
  opacity: 0.5!important; 
  filter: alpha(opacity = 50);
  }

.fade img.map { 
  opacity: .1!important;
  filter: alpha(opacity = 1);
 }

ul#mapkey {
  float: right;
  padding-top: 110px;
  width: 100px;
  height: 144px;  
  }
 
ul#mapkey li a {
  display: inline;
  width: 100px;
  height: 36px;
	display: block;
	text-indent: -9000px;
	overflow: hidden;
	} 
 
li#mapkey_ward1 a#ward-1 {
  background: url(../images/layout/map-key.png) 0 0 no-repeat;
  } 
li#mapkey_ward2 a#ward-2 {
  background: url(../images/layout/map-key.png) 0 -36px no-repeat;
  } 
li#mapkey_ward3 a#ward-3 {
  background: url(../images/layout/map-key.png) 0 -72px no-repeat;
  } 
li#mapkey_ward4 a#ward-4 {
  background: url(../images/layout/map-key.png) 0 -108px no-repeat;
  }     
 
map#hawthorne_map area:hover { cursor: pointer; }

#tooltip {
	position: absolute;
	z-index: 11001;
	border: 1px solid #111;
	background-color: #eee;
	padding: 6px;
	opacity: 0.85;
  filter: alpha(opacity = 85);
  }

#tooltip p, #tooltip div { 
  font-weight: 700;
  margin: 0; 
  } 


/* Photos
------------------------------------------------------------------*/
ul.flickrset {	
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  }

ul.flickrset li {	
  float: left;
  width: 200px;
  height: 150px;  
  margin-right: 20px; 
  margin-bottom: 36px;
  background: #fff url('../images/layout/slimbox/loading.gif') no-repeat center;     
  }
    
ul.flickrset li a {	
  display: block;
  width: 200px;
  height: 150px;
  border: 1px solid #ccc;
  overflow: hidden;
  }

.flickrset img { position: relative; }
  
.flickrset li:hover {  }


/* Misc 
------------------------------------------------------------------*/
.divider {
  clear: both;
  border-bottom: 0.08333em dotted #ccc;
  margin-bottom: 2.25em;
  padding-bottom: 0.667em;
  }  

.left { float: left; }  
.right { float: right; }
.center { text-align: center; }

.shim {
  clear: both;
  height: 18px;
  }  

.hide { 
  text-indent: -9000px;
  display: none; 
  }
