#map-canvas {
	position: relative;
	z-index: 1;
}

#map-canvas.shifted-for-locations {
	padding-right: 300px;
}

#map-canvas img {
	max-width: 100%;
	height: auto;
	width: auto \9;
}


#map-search {
	position: relative;
	overflow: hidden;
}

#map-search-overlay {
	position: absolute;
	top:0;
	left: 50px;
	height: 100%;
	z-index: 4;
	background: #fff;
	border: 1px solid #cbc9c9;
	border-top: none;
	
	overflow: hidden;
}

#map-search-top {
	position: relative;
	background: #fff;
	
	width: 300px;
	z-index: 4;
	
	overflow: hidden;
	border-bottom: 1px solid #ccc9c9;
}

#map-search-overlay {
/*
	margin: 0;
	padding: 0;
	position: absolute;
	top: 0;
	right: 0;
*/
}

#map-search-overlay li {
	display: inline-block;
	vertical-align: top;
	margin: 0;
	padding: 0;
}


#map-search-nav {
	height: 190px;
	border-bottom: 1px solid #ccc9c9;
}


#map-search-nav .tab-nav-top {
	height: 30px;
	font-size: 14px;
	background: #6c6c6c;
	color: #fff;
	line-height: 30px;
	text-align: center;
}

#map-search-nav .tab-nav {
	padding: 0;
	margin: 0;
	background: #6c6c6c;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
}

#map-search-nav .tab-nav li {
	display: inline-block;
	margin: 0;
	padding: 0;
	border: none;
	margin: 0 -2px;
}

#map-search-nav .tab-nav li a {
	background: #6c6c6c;
	display: block;
	margin: 0;
	padding: 8px 18px;
	border: none;
	line-height: 14px;
	
	text-decoration: none;
	color: #fff;
}

#map-search-nav .tab-nav li:hover a {
	background: #ccc;
}

#map-search-nav .tab-nav a.active,
#map-search-nav .tab-nav li:hover a.active {
	background: #fff;
	color: #6c6c6c;
}


#map-search-nav .active .tab-content {
	display: block;
}

/*
#map-search-nav .tray .tab-content {
	display: none;
	position: absolute;
	left: 0;
	width: 100%;
	background: #fff;
}
*/


#map-search-nav .tab-content p {
	line-height: 34px;
	margin: 0;
}

#map-search-nav .tab-content {
	display: none;
	position: absolute;
	left: 0;
	width: 100%;
	background: #fff;
}

#map-search-nav .active .tab-content {
	display: block;
}



#map-search-filters-toggle {
	display: block;
	position: absolute;
	bottom: 0;
	right: 0px;
	height: 15px;
	width: 20px;
	background: url(/assets/images/sprites/arrows-up-down-green.jpg?) 0 0 no-repeat;
}

#map-search-filters-toggle.show {
	background: url(/assets/images/sprites/arrows-up-down-green.jpg?) 0 -15px no-repeat;
}

#map-search-filters-toggle.hide {
	background: url(/assets/images/sprites/arrows-up-down-green.jpg?) 0 0px no-repeat;
}


/*
 map search filters
*/

#map-search-filters-holder {
	width: 100%;
	position: absolute;
	top: 110px;	
	overflow-y: auto;
	
}

#map-search-filters {
	padding: 10px;
}


#map-search-filters h2 {
	font-size: 18px;
	margin: 0 14px 5px 15px;
	position: relative;
}

#map-search-filters h2 .box {
	background: url(/assets/images/sprites/plus-minus.jpg) 0 0 no-repeat;
	display: block;
	height: 11px;
	width: 11px;
	position: absolute;
	left: -14px;
	top: 5px;
	cursor: pointer;
}

#map-search-filters h2 .box.box-expanded {
	background: url(/assets/images/sprites/plus-minus.jpg) 0 0 no-repeat;
}

#map-search-filters h2 .box.box-collapsed {
	background: url(/assets/images/sprites/plus-minus.jpg) 0 -11px no-repeat;
}

#map-search-filters h2 a {
	float: right;
	font-size: 12px;
	color: #569bbe;
	font-family: 'LatoRegular';

}

#map-search-filters label {
	display: block;
	padding: 2px 0 2px 20px;
	font-size: 13px;
	margin: 0;
}

#map-search-filters label span {
	display: block;
	margin-left: 30px;
}


#map-search-filters .options-list.collapsed {
	display: none;
}


#map-search-filters hr {
	margin: 10px 15px;
}



/*
 search locations
*/

#map-search-locations-holder {
	width: 300px;
	position: absolute;
	right: 0;
	top: 0;
	height: 100%;
	background: #fff;
	z-index: 4;
	border-left: 1px solid #d2cfcf;
	overflow: hidden;
}

#map-search-locations {
	padding: 15px 25px 15px 35px;
	overflow-y: auto;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

#map-search-locations h2 {
	font-size: 20px;
	line-height: 20px;
}


#map-search-locations ul {
	padding: 0;
	margin: 0;
}

#map-search-locations li {
	list-style: none;
	margin-bottom: 15px;
}


#map-search-locations-toggle {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	height: 30px;
	width: 20px;
	z-index: 4;
	background: url(/assets/images/sprites/arrows-left-right-green.jpg?) 0 0 no-repeat;
}

#map-search-locations-toggle.show {
	background: url(/assets/images/sprites/arrows-left-right-green.jpg?) 0 -30px no-repeat;
}

#map-search-locations-toggle.hide {
	background: url(/assets/images/sprites/arrows-left-right-green.jpg?) 0 0px no-repeat;
}


/* map location detail
*/

.map-location-detail-holder {
	width: 460px;
	
	bottom: 100%;
	left: -217px;
	
	
	z-index: 3;
	
	/* default position */
	position: absolute;
	
	background: url(/assets/images/layout/tick-map-location-detail.png) 50% 100% no-repeat;
	padding-bottom: 9px;
}

.map-location-detail-holder .close {
	width: 30px;
	height: 30px;
	background: url(/assets/images/layout/close-map-details.png) 50% 50% no-repeat;
	position: absolute;
	top: -15px;
	right: -15px;
	cursor: pointer;
}

.map-location-detail {
	background: #f9f9f9;
	border: 1px solid #cbc9c9;
	border-bottom: none;
	
	overflow: hidden;
	
	max-height: 350px;

}

.map-location-detail .tabset {
	margin: 0;
	padding: 0;
	width: 85px;
	position: absolute;
	z-index: 10;
}

.map-location-detail .tabset li {
	list-style: none;
	margin: -1px 0;
	padding: 0;
}

.map-location-detail .tabset a {
	display: block;
	background: #f9f9f9;
	color: #ccc;
	
	padding: 8px;
	text-decoration: none;
	border: 1px solid #cbc9c9;
	border-left: none;
	
	font-size: 12px;
	line-height: 13px;
}

.map-location-detail .tabset a.active {
	background: #fff;
	border-right: none;
	color: #333;
}



.map-location-detail .tab-content {
	padding: 15px 15px 15px 15px;
	margin-left: 84px;
	background: #fff;
	border-bottom: 2px solid #fff;
	border-left: 1px solid #cbc9c9;
	
	max-height: 300px;
	overflow-y: auto;

}

.map-location-detail .content {
	padding: 15px 15px 15px 15px;
	background: #fff;
	border-bottom: 2px solid #fff;
	border-left: 1px solid #cbc9c9;
	
	max-height: 300px;
	overflow-y: auto;
}


.map-location-detail p {
	font-size: 12px;
}

.map-location-detail h2 {
	font-size: 20px;
	line-height: 20px;
}

.map-location-detail h3 {
	font-size: 15px;
	line-height: 15px;
}

.map-location-detail-options {
	background: #569bbe;
	height: 40px;
}

.map-location-detail-options ul {
	padding: 0 20px;
	margin: 0;
}

.map-location-detail-options li {
	list-style: none;
	display: inline;
}

.map-location-detail-options a {
	color: #fff;
	padding: 10px;
	line-height: 40px;
}

.map-marker {
	background: url(/assets/images/map/marker.png) 0 0 no-repeat;
	height: 37px;
	width: 26px;
	
	position: absolute;
	z-index: 2;
}

.map-marker.congregation {
	background: url(/assets/images/map/marker-congregation.png) 0 0 no-repeat;
}

.map-marker .point {
	cursor: pointer;
	height: 37px;
	width: 26px;
}

.map-search-clear:hover {
	text-decoration: underline;
}



#map-location-search {
}


#map-location-search-form {
	font-size: 13px;
	line-height: 32px;
	margin: 15px 10px;
}

#map-location-search-form span {
	display: inline-block;
}

#map-location-search-form input.text { 
	height: 24px;
	line-height: 16px;
	padding: 2px 6px;
	border: 1px solid #ddd;
	
	margin-right: 12px;
	width: 121px;

	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;

}

#map-location-search-form  input.submit {
	display: block;
}


#map-location-search-form .search-btn {
	position: absolute;
	top: 65px;
	left: 115px;
	
	text-indent:-9999px;
	display:block;
	background: #569bbe url(/assets/images/icons/header-sprite2.png) 5px -109px no-repeat;
	border:1px solid #d6d8d9;
	width:30px;
	height:30px;

	-webkit-border-top-right-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	-moz-border-radius-topright: 4px;
	-moz-border-radius-bottomright: 4px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;	

	z-index: 2;

	
}



#modal {
    position: absolute; /* makes the div go into a position thatŐs absolute to the browser viewing area */
    left: 25%; /* positions the div half way horizontally */
    top: 25%; /* positions the div half way vertically */
    padding: 25px; 
    width: 50%;
    height: 50%;
    z-index: 100; /* makes the div the top layer, so itŐll lay on top of the other content */
}

#modal-close {
	height: 30px;
	width: 30px;
    background: url(/assets/images/layout/close-modal.png?) 50% 50% no-repeat;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}

#modal-content {
	border: 2px solid #000;
	background: #fff;
	padding: 20px;

	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;	
}

#modal-fade {
    display: none;  /* ensures itŐs invisible until itŐs called */
    position: fixed;  /* makes the div go into a position thatŐs absolute to the browser viewing area */
    left: 0%; /* makes the div span all the way across the viewing area */
    top: 0%; /* makes the div span all the way across the viewing area */
    background: url(/assets/images/layout/opacity-75-000000.png) repeat;
    width: 100%;
    height: 100%;
    z-index: 90; /* makes the div the second most top layer, so itŐll lay on top of everything else EXCEPT for divs with a higher z-index (meaning the #overlay ruleset) */
}


