﻿/* over riding dojo styles */
.top .right .user { height: auto; width: auto; }
.top .right .user .layout { height: auto; margin: 0; padding: 0; overflow: hidden !important; }
.infowindow .window .top .right .user .border {	border: none !important; display: none; } 
.infowindow .window .top .right .user .titlebar .title { display: none; }
.infowindow .window .top .right .user .titlebar .hide { display: none; }
.infowindow .sprite { background-image: url(../images/map/custom-info-window.png) !important; }


/* debugguing borders 
.top .right .user { border: 1px dashed green; } 
.top .right .user .layout.content { border: 1px dotted blue; }
.incident-info-window { border: 1px dotted red; }
.address-finder { border: 1px solid orange; }
.action-menu { border: 1px solid black; }*/

/* info windows */
.agency-window,
.incident-info-window,
.address-marker
{
	padding:		4px;	
	font-size:		1.0em;
	line-height:	1.5em;
	color:			#000;
}

.incident-info-window { font-size: .9em; line-height: 1.2em; }

/* custom widths for info windows */ 
.incident-info-window,
.incident-info-window.tabbed table .details { width: 375px; }
.agency-window { width:  370px;	}

/* headings */
.incident-info-window .details h4,
.address-info-window h4,
.agency-window h4
{
	font-size:			140%;
	text-transform:		uppercase;
	margin-bottom:		4px;
	width:				90%;
}

.agency-window h4 { text-transform: none; }

.incident-info-window .details a,
.address-info-window a,
.agency-window a { color: Blue; cursor: pointer; }

.address-info-window h4 { margin-bottom: 10px; }

.agency-window h4 a 
{
	color:				#0063c6;
	text-decoration:	none;
	font-size:			110%;
}

.incident-info-window .details h4 img { margin: 5px 5px 0 0; }
.incident-info-window .details h4 .help-link { margin-left: 5px; }

.incident-info-window .details h4 img.large { height: 24px; width: 24px; }
.incident-info-window .details h4 img.mini { height: 13px; width: 13px; }

.incident-info-window .details a.help-link,
.agency-window a.help-link
{
	display:	inline;
	width:		16px;
}

/* esri javascript info window doesn't come with a good 'close' button. we have to provide one! */

.incident-info-window .details a.close-button,
.address-info-window a.close-button,
.agency-window a.close-button
{
	display:	block;
	float:		right;
	height:		16px;
	width:		16px;	
	background: url(../images/map/info-window-close-button.gif) no-repeat 0 0;
	cursor:		pointer;
}

.incident-info-window .details a.close-button:hover,
.address-info-window a.close-button:hover,
.agency-window a.close-button:hover { background-position: 0 -16px; }

.incident-info-window .details a.close-button:active,
.address-info-window a.close-button:active,
.agency-window a.close-button:active { background-position: 0 -32px; }

.agency-window p,
.incident-info-window p { line-height: 2.0em; }

/* agency window elements */
.agency-window p .total-crimes { font-size:		1.5em; }
.agency-window p.dates span  
{
	padding:	2px 0 2px 20px;
	background: url(../images/map/calendar.gif) no-repeat 0 0; 
}

.agency-window p.last-date { margin: 5px 0; }

/* action menu */
.agency-window ul.action-menu,
.incident-info-window ul.action-menu
{
	width:		100%;
	margin:		0;
}

.agency-window ul.action-menu li,
.incident-info-window ul.acion-menu li
{
	margin: 0;
	padding: 2px 5px 0 0;
	width: 25%;
	color: Blue;
	cursor: pointer;
}

.agency-window ul.action-menu li.shortcuts { float: right; }

.agency-window table.shortcuts
{
	font-size:	.8em;
	float:		left;	
	display:	none;
}	

.agency-window table.shortcuts td { padding: 2px 2px 0 19px; }
.agency-window table.shortcuts td a { cursor: pointer; }

table.shortcuts td.arson { background: url(../images/map/crime-types/legend/mini/arson.png) no-repeat 1px 5px; }
table.shortcuts td.assault { background: url(../images/map/crime-types/legend/mini/assault.png) no-repeat 1px 5px; }
table.shortcuts td.burglary { background: url(../images/map/crime-types/legend/mini/burglary.png) no-repeat 1px 5px; }
table.shortcuts td.disturbingthepeace {	background: url(../images/map/crime-types/legend/mini/disturbingthepeace.png) no-repeat 1px 5px; }
table.shortcuts td.drugsalcohol { background: url(../images/map/crime-types/legend/mini/drugsalcoholviolations.png) no-repeat 1px 5px; }
table.shortcuts td.dui { background: url(../images/map/crime-types/legend/mini/dui.png) no-repeat 1px 5px; }
table.shortcuts td.fraud { background: url(../images/map/crime-types/legend/mini/fraud.png) no-repeat 1px 5px; }
table.shortcuts td.homicide { background: url(../images/map/crime-types/legend/mini/homicide.png) no-repeat 1px 5px; }
table.shortcuts td.motorvehicletheft { background: url(../images/map/crime-types/legend/mini/motorvehicletheft.png) no-repeat 1px 5px; }
table.shortcuts td.robbery { background: url(../images/map/crime-types/legend/mini/robbery.png) no-repeat 1px 5px; }
table.shortcuts td.sexcrimes { background: url(../images/map/crime-types/legend/mini/sexcrimes.png) no-repeat 1px 5px; }
table.shortcuts td.theftlarceny { background: url(../images/map/crime-types/legend/mini/theftlarceny.png) no-repeat 1px 5px; }
table.shortcuts td.vandalism { background: url(../images/map/crime-types/legend/mini/vandalism.png) no-repeat 1px 5px; }
table.shortcuts td.vehiclebreakintheft { background: url(../images/map/crime-types/legend/mini/vehiclebreak-intheft.png) no-repeat 1px 5px; }
table.shortcuts td.weapons { background: url(../images/map/crime-types/legend/mini/weapons.png) no-repeat 1px 5px; }

/* address finder */
.address-finder  
{
	line-height:			2.0em; 
}

.address-finder #address-finder-button { text-align: center; }

.address-finder a
{
	color:	Blue;
	cursor: pointer;
}

.address-finder #address-distance-finder-panel .ex { color: #5e5e5e; font-size: .9em; }

/* next & prev buttons */

.incident-info-window.tabbed a#next,
.incident-info-window.tabbed a#previous
{
	cursor:			pointer;
	display:		block;
	float:			left;
}

.incident-info-window.tabbed a#previous
{ 
	float:		right;
	height:		27px; 
	width:		34px; 
} 

a#next
{ 
	height:		27px; 
	width:		35px; 
} 

/* arrow image states */
a#previous { background: url(../images/map/info-window-tab-left.gif) no-repeat 0 0; } 
a#next { background: url(../images/map/info-window-tab-right.gif) no-repeat 0 0; } 

a#previous:hover { background-position: 0 -27px; }
a#next:hover { background-position: 0 -27px; }

a#previous:active { background-position: 0 -54px; }
a#next:active { background-position: 0 -54px; }

a#previous.disabled,
a#previous.disabled:hover,
a#previous.disabled:active
{ 
	cursor: default;
	background: url(../images/map/info-window-tab-left.gif) no-repeat 0 -81px; 
}

a#next.disabled,
a#next.disabled:hover,
a#next.disabled:active
{ 
	cursor: default;
	background: url(../images/map/info-window-tab-right.gif) no-repeat 0 -81px; 
}

td.page-labels { text-align: center; font-size: .8em; }

.address-info-window
{
	line-height:	1.8em;
	font-size:		.9em;
}

.address-info-window a { cursor: pointer; }


/* extra-links */
.extra-links
{	
	margin:					5px 0;
	padding:				3px 8px;
	font-size:				.9em;
	background-color:		#f1f1f1;
	border:					1px solid #eaeaea;
	
	/* not supported by IE (nyah, nyah!) */
	-moz-border-radius:		3px;
	-webkit-border-radius:	3px;
}

.extra-links .title 
{ 
	color:	Blue;
	cursor: pointer;
}
.extra-links ul  
{
	list-style: disc; 
	padding:	4px 0;
	margin:		0 0 0 13px;
	display:	none; 
}
.extra-links ul li  
{
	padding:			3px 0;
}