/**
 * CSS reset
 */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}

/**
 * Global Elements
 */
body {
	line-height: 1;
	font-family: Helvetica, Arial, "Lucida Grande", sans-serif;
	font-size: 11px;
	color: #333333;
	height: 100%;
	margin: 0;
	padding: 0;
	/*background: url("../../../../projects/candidate-tracker/images/bg-body.png") repeat; */
}

h1, h2, h3, h4 {
	font-weight: 700;
	padding: 0;
	margin: 0;
}

h1 { font-size: 24px; }
h2 { font-size: 14px; }

.clear { clear: both; height: 0; }

p {
	padding-bottom: 10px;
}

a {
	color: #183a52;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

body .hidden {
	display: none;
}


/**
 * Frame Container
 */
#map-frame {
  /*width: 100%;*/ /* Make responsive */
  width: 976px;
  min-width: 976px;
  margin: 25px auto 0 auto;
  background: #FFF;
  border: 1px solid #999;
  box-shadow: 0px 0px 10px 5px #CCC;
  -moz-box-shadow: 0px 0px 10px 5px #CCC;
  -webkit-box-shadow: 0px 0px 10px 5px #CCC;
}


/**
 * Header 
 */
#map-header {	
	float: left;
	width: 100%;
	background: #FFF url('../../../../projects/candidate-tracker/images/bg-header.png') repeat-x bottom;
	min-height: 74px;
	border-bottom: 1px solid #999;
	position: relative;
} 

#map-header #map-left-header {
	float: left;
	width: 400px;
}
 
#map-header #map-icon {
	float: left;
	width: 53px;
	margin: 12px;
} 

#map-header #map-title {
	float: left;
	width: 300px;
	margin-top: 20px;
	text-shadow: 0 1px 0 #FFF;
}

#map-header #map-title h2 {
	color: #999;
	text-shadow: 0 1px 0 #FFF;
}

#map-header #map-title h1 {
	color: #666;
}

/* mid */
#map-share-image {
	position: absolute;
	top: 30px;
	left: 300px;
}


/* right */
#map-right-header {
	float: right;
	width: 343px;
} 

#map-battleground {
	color: #7a7a7a;
	font-size: 11px;
	font-weight: 700;
	text-shadow: 0 1px 0 #FFF;	
	margin: 15px 0 2px 110px;
	float: left;
}

#map-battleground label {
	display: block;
  float: left;
  white-space: nowrap;
}

#map-battleground label span,
#map-battleground input {
	vertical-align: middle;
}

#map-battleground label span {
	margin-left: -2px;
}

.map-search-label {
	float: left;
	text-align: right;
	width: 110px;
	font-size: 12px;
	font-weight: 700;
	color: #7a7a7a;
	text-shadow: 0 1px 0 #FFF;
	line-height: 26px;	
	padding-right: 5px;
}

#map-search-query {
	background: url("../../../../projects/candidate-tracker/images/bg-search-text.png") no-repeat;
	padding: 0 10px;
	height: 26px;
	display: block;
	float: left;
	width: 169px;
	line-height: 26px;
	border: none;
	font-family: Helvetica, Arial, "Lucida Grande", sans-serif;
	outline: none;
} 

#map-search-button {
	background: url("../../../../projects/candidate-tracker/images/btn-search.png") no-repeat;
	display: block;
	float: left;
	height: 26px;
	padding: 0;
	width: 27px;
	text-indent: -9999px;
	font-size: 0;
	border: none;
	cursor: pointer;
}
 

/**
 * Map
 */
#map-body, 
#map-canvas {
  margin: 0;
  padding: 0;
  height: 460px; /* height set responsive... */
  width: 100%;
  left: 0;
  top: 0;
  position: relative;
}


/**
 * Map Agenda
 */
#map-agenda-button a {
	color: #333;
	font-weight: 700;
	font-size: 12px;
	width: 275px;
	height: 30px;
	display: block;
	line-height: 30px;
	padding-left: 12px;
	background: #FFF url("../../../../projects/candidate-tracker/images/btn-arrow-up.png") no-repeat;
	background-position: 260px 11px;
	border-top: 1px solid #999;	
}

#map-agenda-button a:hover {
	text-decoration: none;
	background: #F8F8F8 url("../../../../projects/candidate-tracker/images/btn-arrow-up.png") no-repeat;
	background-position: 260px 11px;
}

#map-schedule {
	border-left: 1px solid #999;
	border-right: 1px solid #999;
  width:275px;
  height: 30px;
  padding: 0;
  background:#EEEEEE;
  position: absolute;
  left:10px;
  display: block;
  margin-bottom: 0px;
  z-index: 300;
  overflow: hidden;    
}

#map-agenda-button a.active {
	background: #FFF url("../../../../projects/candidate-tracker/images/btn-close.png") no-repeat;
	background-position: 257px 9px;
}

#map-agenda-button a.map-agenda-button-close:hover {
	text-decoration: none;
	background: #F8F8F8 url("../../../../projects/candidate-tracker/images/btn-close.png") no-repeat;
	background-position: 257px 9px;	
}

#map-schedule-bg {
	position: absolute;
	background: #EEE;
	z-index: 200;
	width: 275px;
	left: 10px;
	bottom: 0px;
	height: 30px;
	border-left: 1px solid #999;
	border-right: 1px solid #999;
}


/**
 * Map Agenda Content
 */ 
.map-agenda-calendar {
	border-top: 1px solid #d4d4d4;	
} 

.map-agenda-schedule {
	overflow: auto;
	width: 100%;
	clear: both;
	display: block;
	position: relative;
}
 
.map-agenda-tabs {
	margin-left: 45px;
} 

.ui-tabs .map-agenda-tabs .ui-tabs-nav {
	display: block;
	top: 0px;
}

.ui-tabs .map-agenda-tabs .ui-tabs-nav li {
	display: block;
	float: left;
	width: 113px;
	border: none;
	padding: 0;
	margin: 0;
	border-left: 1px solid #d4d4d4;
	border-bottom: 1px solid #d4d4d4 !important;
	list-style: none;
	background: none;
	border-radius: 0px;
}

.ui-tabs .map-agenda-tabs .ui-tabs-nav li a {
	display: block;
	width: 113px;
	line-height: 30px;
	font-weight: 700;
	text-align: center;	
	color: #666;
	text-shadow: 0 1px 0 #FFF;	
	padding: 0;
	border-radius: 0px;
}

.ui-tabs .map-agenda-tabs .ui-tabs-nav li.ui-state-active {
	background: #FFF;
	color: #333;
	border-bottom: 1px solid #FFF !important;
}

.ui-tabs .map-agenda-tabs .ui-tabs-nav li.ui-state-active a {
	background: #FFF;
	color: #333;	
}

.map-agenda-calendar #tabs {
	background: none;
	border-radius: 0px;
	padding: 0px;
	font-family: Helvetica, Arial, "Lucida Grande", sans-serif;
	border: none;
	position: relative;
}

.map-agenda-calendar .ui-tabs .ui-tabs-nav {
	padding: 0;
	border-radius: 0px;
	background: none;
	border: none;
	line-height: normal;
}
 
/**/ 
.time-slots {
	float: left;
	width: 45px;
}

.time-slots ul {
	list-style: none;
	margin: 0;
	padding: 10px 0 0 0;
}

.time-slots ul li {
	list-style: none;
	font-weight: 700;
	padding: 0 0 0 10px;
	margin: 0 0 30px;
	height: 11px;
}

.ui-tabs .ui-tabs-panel.schedule {
	background: #FFF;
	margin-left: 45px;
	display: block;
	border-left: 1px solid #d4d4d4;
	border-radius: 0px;
	padding: 0 0 15px;
	position: relative;
}

.schedule .row.first {
	margin-top: -5px;
}

.schedule .row {
	background: url("../../../../projects/candidate-tracker/images/bg-dotted.png") repeat-x center center;
	width: 100%;
	height: 41px;
	display: block;
} 

.schedule .item {}

.schedule-item-wrapper {
	left: 10px;
	position: absolute;
	width: 172px;
	padding: 0 10px;
	border: 1px solid #9db4c4;
	background: url("../../../../projects/candidate-tracker/images/bg-blue-agenda.png") repeat;
	overflow: hidden;
}

.schedule .schedule-item-wrapper.left {
	left: 10px;
	width: 74px;
}

.schedule .schedule-item-wrapper.right {
	left: 108px;
	width: 74px;
}

.schedule .item .county {
	color: #23455c;
	font-weight: 700;
	font-size: 10px;
	padding-top: 10px;
	text-transform: uppercase;
	text-shadow: 0 1px 0 #FFF;	
	padding-right: 11px;
}

.schedule .item .content {
	font-weight: 700;
	padding-top: 2px;
	line-height: 16px;
	color: #333;
	text-shadow: 0 1px 0 #FFF;		
}

.schedule .ical {
  position: absolute;
  display: block;
  height: 17px;
  width: 16px;
  right: 2px;
  top: 0px;
  margin-top: 5px;
  background: url("../../../../projects/candidate-tracker/images/btn-icn-cal.png") no-repeat; 
  cursor: pointer;
}

.schedule .schedule-item-wrapper.left .ical {
}

#schedule-red .schedule-item-wrapper {
	border: 1px solid #c01616;
	background: url("../../../../projects/candidate-tracker/images/bg-red-agenda.png") repeat;
}
 
 
/**
 * Campaign Stops 
 */
#map-legend {
	position: absolute;	
	background: #FFF;
	z-index: 300;
  box-shadow: 0px 0px 10px 2px #555;
  -moz-box-shadow: 0px 0px 10px 2px #555;
  -webkit-box-shadow: 0px 0px 10px 2px #555;	
  width: 235px;
  height: 55px;
  bottom: 15px;
  right: 15px;
} 

#map-legend .map-legend-title {
	font-size: 12px;
	font-weight: 700;
	padding: 10px 0 5px 10px;
} 

#map-legend .map-legend-title span {
	font-size: 10px;
	font-weight: normal;
	padding-left: 2px;
}

#map-legend .map-legend-element {
	margin-left: 10px;
	display: inline-block;
}

#map-legend .map-legend-element a {
	display: block;
	line-height: 20px;
	padding-left: 23px;
	font-weight: 700;
}

#map-legend .map-legend-element a#blue {
	background: url("../../../../projects/candidate-tracker/images/btn-blue-toggle.png") no-repeat;
}

#map-legend .map-legend-element a#red {
	background: url("../../../../projects/candidate-tracker/images/btn-red-toggle.png") no-repeat;
}

#map-legend .map-legend-element a#red.active,
#map-legend .map-legend-element a#blue.active {
	background-position: 0 -19px;
}


/**
 * Popup
 */
div#mediv {
  padding: 5px;
  margin-right: 0px;
}

/* the ui div. */
div#meui {
  background-color: white;
  border-style: solid;
  border-color: grey;
  border-width: 1px;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  width: 45px;
  height: 20px;
  box-shadow: 1px 1px 2px grey;
}

/* the text div. */
div#metxt {
  font-family: Arial,sans-serif;
  font-size: 12px;
  font-style: normal;
  padding-top: 2px;
  padding-right:  4px;
  padding-left: 4px;
}

.popup-info {
	float: left;
	width: 100%;
	padding-bottom: 5px;
	margin-top: 0px;
}

.popup-wrapper .popup-image {
	border-top: 1px solid #CCC;
	padding-top: 8px;
	text-align: center;
}

.popup-wrapper .popup-image img {
	max-width: 220px;
}

.popup-info .popup-left {
	float: left;
	width: 60px;
	margin-right: 10px;
}

.popup-info .popup-left .popup-img {
}

.popup-right {
	float: left;
	width: 100px;
}

.popup-twitter span,
.popup-right span {
	color: #666666;
	font-weight: 700;
}

.popup-right .popup-headline {
	color: #333;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 700;
}

.popup-twitter span {
	display: block;
	width: 100%;
	padding-bottom: 4px;
}

.popup-twitter-name {
	padding-top: 8px;
	color: #183a52;
	font-weight: 700;
}

.popup-twitter-name a {
	font-weight: 700;
	color: #183a52;
}

.popup-twitter .popup-twitter-img {
	float: left;
	margin-right: 5px;
	width: 30px;
	height: 30px;
}

.popup-arrow {
	position: absolute;
	display: block;
	top: 32px;
	left: -12px;
	height: 15px;
	width: 12px;
	background: url("../../../../projects/candidate-tracker/images/bg-popup-arrow.png") no-repeat;
}


/**
 * Footer
 */
#map-footer {
	width: 100%;
	background: #FFF url('../../../../projects/candidate-tracker/images/bg-footer.png') repeat-x bottom;
	min-height: 69px;
	border-top: 1px solid #999;		
	float: left;
	display: block;
  position: relative;
} 

#map-calendar {
	float: left;
	width: 31px;
	height: 54px;
	margin-left: 12px;
	padding-top: 15px;
	margin-right: 15px;
}

#map-calendar-viewer {
	background: url("../../../../projects/candidate-tracker/images/btn-calendar.png") no-repeat;
	display: block;
	height: 28px;
	width: 31px;
} 

#map-calendar-viewer.active {
	background-position: 0 -28px;
}

#map-slider-wrapper {
	margin-top: 18px;
	float: left;
	width: 93%;
}


/**
 * Date Picker
 */
#map-calendar-picker-start .ui-datepicker{
  left: 43px;
}
#map-calendar-picker-end .ui-datepicker {
  left: 43px;
}

#map-calendar-picker-start .ui-datepicker,
#map-calendar-picker-end .ui-datepicker {
  position: absolute;
  bottom: 27px;
  z-index: 501;
  border-radius: 0;
  padding: 0;
  border: 1px solid #9e9e9e;
  box-shadow: 0px 0px 5px 2px #ddd;
  -moz-box-shadow: 0px 0px 5px 2px #ddd;
  -webkit-box-shadow: 0px 0px 5px 2px #ddd;
  width: 287px;
  font-family: Helvetica, Arial, "Lucida Grande", sans-serif;
}

#map-calendar-picker-start .ui-datepicker table,
#map-calendar-picker-end .ui-datepicker table {
	font-size: 1em;
	border-collapse: collapse;
	margin: 0;
}

#map-calendar-picker-start .ui-datepicker table td,
#map-calendar-picker-end .ui-datepicker table td {
	padding: 0;
}

#map-calendar-picker-start .ui-datepicker .ui-widget-header,
#map-calendar-picker-end .ui-datepicker .ui-widget-header {
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border: none;
	height: 34px;
	font-size: 16px;
	padding-top: 0px;
}

#map-calendar-picker-start .ui-datepicker .ui-datepicker-title,
#map-calendar-picker-end .ui-datepicker .ui-datepicker-title {
	line-height: 36px;
}

#map-calendar-picker-start .ui-datepicker .ui-datepicker-next,
#map-calendar-picker-start .ui-datepicker .ui-datepicker-prev,
#map-calendar-picker-end .ui-datepicker .ui-datepicker-next,
#map-calendar-picker-end .ui-datepicker .ui-datepicker-prev {
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	background: url("../../../../projects/candidate-tracker/images/btn-cal-prev.png") no-repeat;
	height: 23px;
	width: 23px;	
	margin-top: 6px;
	margin-left: 12px;
}

#map-calendar-picker-start .ui-datepicker .ui-datepicker-next,
#map-calendar-picker-end .ui-datepicker .ui-datepicker-next {
	background: url("../../../../projects/candidate-tracker/images/btn-cal-next.png") no-repeat;	
	margin-right: 12px;
	margin-left: 0px;
}

#map-calendar-picker-start .ui-datepicker .ui-datepicker-prev .ui-icon,
#map-calendar-picker-start .ui-datepicker .ui-datepicker-next .ui-icon,
#map-calendar-picker-end .ui-datepicker .ui-datepicker-prev .ui-icon,
#map-calendar-picker-end .ui-datepicker .ui-datepicker-next .ui-icon {
	background: none;
}

#map-calendar-picker-start .ui-datepicker .ui-datepicker-prev.ui-state-hover,
#map-calendar-picker-start .ui-datepicker .ui-datepicker-next.ui-state-hover,
#map-calendar-picker-end .ui-datepicker .ui-datepicker-prev.ui-state-hover,
#map-calendar-picker-end .ui-datepicker .ui-datepicker-next.ui-state-hover {
	border: 1px solid transparent;
	cursor: pointer;
}

#map-calendar-picker-start .ui-datepicker th span,
#map-calendar-picker-end .ui-datepicker th span  {
	font-size: 10px;
	text-transform: uppercase;
}

#map-calendar-picker-start .ui-datepicker .ui-state-default,
#map-calendar-picker-end .ui-datepicker .ui-state-default {
	background: #FFF url("../../../../projects/candidate-tracker/images/bg-cal-day.png") repeat-x;
	height: 38px;
	text-align: center;
	color: #333;
	font-weight: 700;
	font-size: 14px;
	width: 38px;
	padding: 0;
	line-height: 38px;
	border: 1px solid #e2e2e2;
}

#map-calendar-picker-start .ui-datepicker .ui-state-default.ui-state-active,
#map-calendar-picker-end .ui-datepicker .ui-state-default.ui-state-active {
	background:  url("../../../../projects/candidate-tracker/images/bg-cal-day-active.png") repeat-x;	
	color: #FFF;
	border: 1px solid #414b52;
}


/**
 * Date Slider
 */ 
#map-slider{
  background: url("../../../../projects/candidate-tracker/images/bg-scroll.png") repeat-x;
  height: 15px;
  border-radius: 0px;
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
}

#map-slider-timepassed{
  background: url("../../../../projects/candidate-tracker/images/bg-scroll.png") repeat-x;
  height: 15px;
  z-index: 10;
  border-right: 1px solid #043e67;
}

#map-slider .ui-slider-range {
	background: url("../../../../projects/candidate-tracker/images/bg-scroll-active.png") repeat-x;
}

#map-slider .ui-slider-handle {
	background: url("../../../../projects/candidate-tracker/images/btn-scroller.png") no-repeat;
	border: none;
	height: 33px;
	width: 22px;
	cursor: move;
	top: -0.6em;
	outline: none;
}

#map-slider-dates {
	margin-top: 8px;
}

#map-slider-dates ul{
  margin-left: 5px;
  padding: 0px;
}

#map-slider-dates li{
  display: inline-block;
  padding-right: 7%; 
  font-weight: 700;
  color: #505050;
	text-shadow: 0 1px 0 #FFF;
	font-size: 12px;
	width: 2.4%;
}

#map-slider-dates li.last{
  padding: 0px;
}

#map-slider-dates li.unactive {
	color: #a7a7a7;	
}


/**
 * Copyright
 */
#map-copyright-content {
	text-align: center;
	color: #666;
	font-size: 11px;
	display: block;
	width: 100%;
	padding-bottom: 7px;
} 

#map-copyright-content a {
	color: #666;
}