.clear {
	clear: both;
}

/* Neighborhoods Page */

#rewp_neighborhoods_page {	
	position: relative;
	width: 100%;
	max-width: 100%;
}

/* hero */

#rewp-neighborhoods-hero {
	position: relative;
	box-sizing: border-box;
	max-width: 100%;
	margin: 0 0 10px 0;
	color: #fff;
	text-shadow: 0px 1px 3px rgba(0, 0, 0, 1);
}
#rewp-neighborhoods-hero .rewp-cell {
	padding: 40px 10px;	
	text-align: center;
	vertical-align: middle;
	background-image: url(http://server.rewebsite.pro/justknock/images/neighborhoods-hero.jpg);
	background-repeat: none;
	background-size: cover;
}
#rewp-neighborhoods-hero h1 {
	font-size: 65px;
	color: #fff;	
}
@media (max-width: 780px) {
	#rewp-neighborhoods-hero h1 {
		font-size: 50px;
	}
}
@media (max-width: 480px) {
	#rewp-neighborhoods-hero h1 {
		font-size: 36px;
	}
}

#rewp_neighborhoods_page .area_div {	
	position: relative;
	float: left;
	width: calc( 50% - 5px );
	max-width: 50%;
	padding-bottom: 10px;
}
#rewp_neighborhoods_page .area_div:nth-child(even) {
	margin-right: 10px;
}
#rewp_neighborhoods_page .area_div:nth-child(odd):after {
	content: '';
	display: table;
	clear: both;
}
#rewp_neighborhoods_page .area_div img {	
	width: auto;
	max-width: 100%;
}
#rewp_neighborhoods_page h2 {	
	font-size: 34px;
	margin: 3px 0;
	padding: 3px 0 0 5px;
	margin-top: -55px;
	color: #000;
}
#rewp_neighborhoods_page .area_div ul {
    padding: 10px 0 10px 2em;
	-moz-column-count: 2;
    -moz-column-gap: 20px;
    -webkit-column-count: 2;
    -webkit-column-gap: 20px;
    column-count: 2;
    column-gap: 20px;
}
/*
#rewp_neighborhoods_page h3 {	
	font-size: 16px;
	margin: 3px 0;
	padding: 3px 0;
}
*/
@media only screen and (max-width:480px){

	#rewp_neighborhoods_page .area_div {	
		float: none;
		width: auto;
		max-width: 100%;
	}
	#rewp_neighborhoods_page .area_div:nth-child(even) {
		margin-right: 0px;
	}
	#rewp_neighborhoods_page .area_div ul {
		padding: 10px 0 10px 2em;
		-moz-column-count: 1;
		-moz-column-gap: 0;
		-webkit-column-count: 1;
		-webkit-column-gap: 0;
		column-count: 1;
		column-gap: 0;
	}
	
}

/*********************/
/* neighborhood page */
/*********************/

#rewp_neighborhood_page {
	padding-bottom: 50px;	
}
#rewp_neighborhood_weather_top {
	float: right;
	padding-top: 20px;	
}
#rewp_neighborhood_page h1 {
	margin-bottom: 0;
	padding-bottom: 0;
}
@media only screen and (max-width:830px){
	#rewp_neighborhood_page h1 {
		font-size: 26px;
	}
}
#rewp_neighborhood_page h2 {
	text-align: center;
}

@media only screen and (max-width:830px){
	#rewp_neighborhood_page h2 {
		font-size: 20px;
	}
}
#neighborhood_subtitle {
	padding-left: 3px;
	font-size: 12px;	
}

#neighborhood_description p {
	display: none;
}
#neighborhood_description p:first-child {
	display: block;
}

.neighborhood_col_1 {
	float: left;
	width: 70%;
	height: auto;
}
@media only screen and (max-width:830px){
	.neighborhood_col_1 {
		float: none;
		width: 100%;
		max-width: 100%;
		height: auto;
	}	
}
.neighborhood_col_2 {
	float: left;
	width: 30%;
	height: 400px;
}
@media only screen and (max-width:830px){
	.neighborhood_col_2 {
		float: none;
		width: 100%;
		max-width: 100%;
		height: auto;
	}	
}

/* panel 1 */

#neighborhood_panel_1 {
	margin-bottom: 20px;	
}
#rewp_neighborhood_map_1 {
	height: 400px;
}
#rewp_neighborhood_map_1 img {
	max-width: none;
}

@media only screen and (max-width:480px){
	#rewp_neighborhood_map_1 {
		height: 300px;
	}
}

#rewp_neighborhood_list_1 {
	text-align: center;
}

.demo_cell {
	padding: 5px 0;
	clear: both;
	text-align: center;	
}
@media only screen and (max-width:830px){
	.demo_cell { 
		display: inline-block;
		width: 160px;
		padding: 5px 20px;
		clear: none;
	}
}
@media only screen and (max-width:480px){
	.demo_cell { 
		position: relative;
		width: 50%;
	}
}
.demo_text {
	font-size: 38px;
	font-weight: bold;
}
@media only screen and (max-width:830px){
	.demo_text { 
		font-size: 20px;
	}
}
.demo_title {
	font-size: 11px;
	font-weight: normal;
	text-transform: uppercase;
	color: #666;
}


/* charts panel */

#neighborhood_panel_2 {
	background: #fff;	
	margin-bottom: 20px;	
	color: #333;
}
#chart_tabs {
	clear: both;
}
.chart_tab {
	display: block;
	float: left;
	width: 120px;
	max-width: calc(33% - 3px);
	padding: 10px;
	margin-right: 3px;
	text-align: center;
	cursor: pointer;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: .05em;
	text-transform: uppercase;
	background: #fff;
	border: none;
}
.chart_tab.open {
	background: #f9f9f9;
}
#chart_tab_areas {
	padding: 15px 5px 5px 5px;
	background: #f9f9f9;
}
.chart_tab_area {
	display: none;
	padding: 0 10px 0 0;
}
.chart_tab_area h3 {
	padding: 0 0 0 10px;
	font-size: 16px;
}

#neighborhood_panel_2 .neighborhood_col_2 {
	padding-top: 30px;	
}

#income_chart_tab_area {
	display: block;	
}

/* places */

#neighborhood_places_panel {
	padding-top: 15px;	
}
#neighborhood_places_panel h2 {
	color: auto;
}
#neighborhood_map_2_filters {
	width: 100%;
	max-width: 100%;
	padding: 5px;
	background: #f9f9f9;
	font-size: 12px;	
	vertical-align: middle;	
	color: #333;
}
@media only screen and (max-width:480px){
	.filter_cell {
		display: block;
		clear: both;
		font-size: 16px;
		padding-left: 0;
	}
}

#neighborhood_map_2_filters input {
	vertical-align: middle;
	margin: 0 5px 0 10px;
}
#neighborhood_map_2_filters label {
	vertical-align: middle;
}
#rewp_neighborhood_map_2 {
	height: 500px;
	color: #333;
}
@media only screen and (max-width:480px){
	#rewp_neighborhood_map_2 {
		height: 300px;
	}
}
#rewp_neighborhood_list_2 {
	height: 500px;
	overflow-y: scroll;
	padding: 5px;
	background: #f8f8f8;
	color: #333;
}
.neighborhood_list_2_cell {
	margin: 5px 0;
	padding: 5px;
	background: #fff;
	border: solid 1px #ccc;
	font-size: 12px;	
	cursor: pointer;
	transition: all linear 250ms;
}
.neighborhood_list_2_cell:hover {
	background: #E9F7FF
}
.neighborhood_list_2_section h3 {
	font-size: 16px;
	color: #666;
	letter-spacing: .1em;
	font-weight: bold;
	text-transform: uppercase;
	margin: 0;
	padding: 10px 0 5px 0;
	text-align: center;
}
.neighborhood_list_2_cell h4 {
	font-size: 16px;
	font-weight: bold;
	margin: 0;
	padding: 0 0 5px 0;
}

.mobile_show {
	display: none;	
}
@media only screen and (max-width:770px){
	.mobile_show {
		display: block;	
	}
	.mobile_hide {
		display: none;	
	}
}

/* panel 3 */

#neighborhood_panel_3 {
	padding-top: 15px;	
}
.pies {
	text-align: center;	
}
.pie_wrap {
	display: inline-block;
	width: 220px;
	text-align: center;
	padding: 10px;
}
.pie_wrap .legend {
	font-size: 12px;
	text-transform: uppercase;
}
.pie_wrap .legend .legendbox {
	color: #666;
}
.pie_wrap .legend .legendbox:first-child {
	color: #ccc;
}

/* weather */

#neighborhood_weather_panel {
	text-align: center;	
}
#neighborhood_weather_panel h2 {
	margin-top: 20px;
}
.weather_column {
	position: relative;
	display: inline-block;
	width: calc(16.6% - 20px);
	overflow: hidden;
	margin: 5px;
	padding: 10px;
	background: #3A91FF;
	color: #fff;
	border-radius: 2px;
	text-align: center;
	vertical-align: top;
}
@media only screen and (max-width:830px){
	.weather_column {
		width: calc(20% - 20px);
	}
	.weather_column:nth-child(6) {
		display: none;
	}
}
@media only screen and (max-width:770px){
	.weather_column {
		width: calc(25% - 20px);
	}
	.weather_column:nth-child(5) {
		display: none;
	}
}
@media only screen and (max-width:600px){
	.weather_column {
		width: calc(33.3% - 20px);
	}
	.weather_column:nth-child(5), .weather_column:nth-child(6) {
		display: inline-block;
	}
}
@media only screen and (max-width:480px){
	.weather_column {
		width: calc(50% - 20px);
	}
}

.weather_date {
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 10px;	
}
.weather_time_table {	
	width: 100%;
	margin: 10px 0;
}
.weather_time_table .cell {	
	vertical-align: middle;
	text-align: center;
}
.weather_time_table .cell:first-child {	
	width: 40%;
}
.weather_time_table .cell:last-child {	
	width: 60%;
}

.weather_time {
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 10px;	
	text-align: center;
}
.weather_temp {
	padding-left: 10px;
	font-size: 42px;
}
.weather_description {
	font-size: 12px;
}

/* events panel */

#neighborhood_events_panel {
	padding-top: 15px;
	margin-top: 20px;
	background: #f9f9f9;
}
#neighborhood_events_panel h2 {
	padding-left: 10px;
	color: #333;
}
.event_div {
	position: relative;
	float: left;
	padding: 5px;
	height: 175px;
	width: calc(25% - 20px);
	margin: 10px;
	overflow: hidden;
	background: #fff;
	border: solid 1px #f5f5f5;
	border-radius: 2px;
	font-size: 12px;	
}
@media only screen and (max-width:568px){
	.event_div {
		width: calc(50% - 20px);
	}
}
.event_title .event_date {
	float: left;
	margin: 0 10px 0 0;
	background: #f5f5f5;
	border-radius: 3px;
	border: solid 1px #ccc;
}
.event_title .event_date_month {
	padding: 2px 0;
	font-size: 10px;
	font-weight: bold;
	color: #fff;
	background: #f00;
	text-transform: uppercase;
	text-align: center;
}
.event_title .event_date_day {
	padding: 0 12px;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	color: #333;
}
.event_div h3 {
	display: block;
	margin: 0;
	padding: 16px 10px 10px 10px;
	font-size: 12px;
	clear: both;
	text-align: center;
}
.event_div h3 a {
	color: #000;
}
.event_time {
	position: absolute;
	top: 5px;
	right: 5px;
	padding: 10px 5px 5px 30px;
	font-size: 12px;
	font-weight: bold;
	color: #333;
}
.event_div p {
	margin: 0;
	padding: 5px 0;
}

/* star ratings */

.place_rating {
	display: inline-block !important;
	margin: 0 !important;
	padding: 0 !important;	
}

.jq-ry-container{position:relative;padding:0 5px;line-height:0;display:block;cursor:pointer;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.jq-ry-container[readonly=readonly]{cursor:default}.jq-ry-container>.jq-ry-group-wrapper{position:relative;width:100%}.jq-ry-container>.jq-ry-group-wrapper>.jq-ry-group{position:relative;line-height:0;z-index:10;white-space:nowrap}.jq-ry-container>.jq-ry-group-wrapper>.jq-ry-group>svg{display:inline-block}.jq-ry-container>.jq-ry-group-wrapper>.jq-ry-group.jq-ry-normal-group{width:100%}.jq-ry-container>.jq-ry-group-wrapper>.jq-ry-group.jq-ry-rated-group{width:0;z-index:11;position:absolute;top:0;left:0;overflow:hidden}