body {
	background-color: #dedede;
	margin: 0;
	padding: 0;
}

#site_wrapper {
    min-height: 100vh;
    padding-bottom: 360px;
	position: relative;
}

#header {
    min-height: 60px;
	position: fixed;
	z-index: 10000;
}

#header h1 {
	margin: 0;
}

#header .navbar {
	-webkit-transition:background-color 300ms ease-in;
	transition:background-color 300ms ease-in;	
	background-color: #2c3e50;
}

.navbar-transparent {
    background-color: transparent;
}

#header .search_box {
    padding-top: 12px;
	margin-left: 10px;
	margin-right: 10px;
}

#header .search_box .form-control {
    background-color: transparent;
	border: 1px solid white;
	color: white;
	height: 34px;
	padding: 0 5px;
}

@media only screen and (max-width: 991px) {
	#header .search_box .form-control {
		width: 112px;
	}
}


#header .search_box .search_box_spacer {
	color: white;
	padding: 0 5px;
	display: inline-block;
}

#header .search_box .btn {
    padding: 5px 10px;
	margin-left: 5px;
}

#header .search_box .btn-transparent {
    background-color: transparent;
	border: 1px solid white;
	color: white;
}

#main_content {
	min-height: 92vh;
}

#footer {
    background-color: #343434;
    bottom: -126px;
    color: white;
    height: 420px;
    left: 0;
    padding: 30px 0;
    position: absolute;
    right: 0;
}

#footer h3 {
    border-bottom: 1px solid gray;
    font-size: 16px;
    margin-left: 20px;
    margin-right: 20px;
    padding-bottom: 6px;
	padding-left: 5px;
}

#footer .footer_menu {
	list-style-type: none;
	padding-left: 25px;
}

#footer .footer_menu li {
	margin-bottom: 5px;
}

#footer .footer_menu li a {
}

#footer .copyright {
	margin-top: 60px;
	text-align: center;
}

#footer a {
	color: white;
}

/*Splash (home page) */	
.splash {
    background-attachment: fixed;
    background-color: #141d27;
    /* background-image: url("../img/lights-bg.jpg"); */
    /* background-image: url("../img/heros/sf-overlook-sepia.jpg"); */
    background-size: cover;
    color: #fff;
    padding: 9em 0 2em;	
}

.splash_small
{
	background-position: center center;
    padding: 6em 0 2em;
	min-height: none;
	text-align: left;
}

.splash_city
{
	background-image: none;
    /* padding: 9em 0 5em; */
    padding: 6em 0 2em;
	min-height: none;
	text-align: left;
}

.splash_small h2
{
	margin: 0;
}

.splash_small h2 a
{
	color: white;
}

.splash_large {
    background-attachment: fixed;
    background-image: url("../img/heros/sf-overlook-sepia.jpg");
    background-size: cover;
    color: #fff;
    padding: 9em 0 2em;	
}


/* Responsive */
@media only screen and (max-width: 500px) {
	#header .navbar {
		background-color: #2c3e50;
	
	}
	#site_wrapper .small_gallery {
		display: none;
	}
	#site_wrapper .splash,
	#site_wrapper .splash.single_listing_header {
		background-image: none;
        padding-bottom: 0px;
        padding-top: 60px;
    }

	#site_wrapper .splash h2 {
		margin: 20px 0;
    }
    
    #site_wrapper .single_listing_header > .container {
		padding: 14px;
	}
	#site_wrapper .profile_wrapper {
		padding: 5px 5px 50px;
	}
	#site_wrapper .profile_topper .special_offer {
		margin: 10px;
	}
	#site_wrapper .photo_gallery .slide {
		margin-right: 0;
	}
	#site_wrapper .city_section {
		width: 100%;
		margin-right: 0;
	}
}

@media only screen and (max-width: 991px) {
	#site_wrapper .splash_large {
		padding-bottom: 2em !important;
	}

}

@media only screen and (min-width: 501px) and (max-width: 767px) {	
	#site_wrapper .splash,
	#site_wrapper .splash.single_listing_header {
		background-image: none;
        padding-bottom: 0px;
        padding-top: 60px;
    }
}

@media only screen and (min-width: 501px) and (max-width: 991px) {		
	#site_wrapper .small_gallery {
		display: none;
	}
	#site_wrapper .city_section {
		width: 48%;
		margin-right: 4%;
	}
	
	
	#site_wrapper .city_section:nth-child(2n){
		margin-right: 0;
		/* clear: right; */
	}
	
}

/* Larger screens only */
@media only screen and (min-width: 767px) {
	.splash_large {
		padding-top: 15em;
		min-height: 100vh;	
	}
	.splash_large h2 {
		color: black;
		font-size: 42px;
		margin-bottom: 42px;
		text-align: center;
	}	
	.splash_large label {
		color: black;
		font-size: 16px;
		margin-bottom: 6px;
	}	
}


/* Profile pages */
.splash.single_listing_header {
	padding-top: 80px;
	padding-bottom: 0px;
}


.splash.single_listing_header .breadcrumbs {
	margin: 10px 0 0 0;
}

.splash.single_listing_header .breadcrumbs a {
	color: white;
}

.splash.single_listing_header .quick_links {
	margin-top: 10px;
}

.splash.single_listing_header .quick_links a{
	color: white;
}

.splash.single_listing_header .small_gallery {
    float: right;
}

.splash.single_listing_header .small_gallery_image {
    display: inline-block;
    margin-left: 17px;
	position: relative;	
}

.splash.single_listing_header .small_gallery_image:first-child {
    display: inline-block;
    margin-left: 0px;
}

.splash.single_listing_header .small_gallery_image .view_more {
    background-color: rgba(0, 0, 0, 0.7);
    bottom: 0;
    color: gray;
    display: table-cell;
    left: 0;
    padding: 30px 15px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
}

.splash.single_listing_header .small_gallery_image .view_more:hover {
    color: white;
}

.single_listing_header > .container {
	background-color: lightslategray;
	padding: 30px;
}

.profile_wrapper {
	background-color: #efefef;
	min-height: 400px;
	padding: 0 30px 50px;
}

.profile_wrapper .section_heading {
    margin-top: 40px;
}

.profile_topper .special_offer {
    background: lightyellow none repeat scroll 0 0;
    border: 1px solid orange;
	border-width: 1px 1px 1px 10px;
	border-radius: 2px;
	box-shadow: 0px 1px 1px rgba(0,0,0,.3);
    font-size: 16px;
    margin: 30px 0;
    padding: 6px 10px 6px 10px;
}

.profile_wrapper .description {
	margin-bottom: 40px;
	line-height: 1.65;
}

.profile_wrapper .description .well > p:last-of-type {
    margin-bottom: 0;
}

.profile_main {
	margin-top: 30px;
}

.profile_wrapper .single_listing .logo {
    margin: 0 auto 15px;
}

.profile_wrapper .single_listing .logo img {
    width: auto;
    height: auto;
    max-width: 600px;
    max-height: 250px;
}

.profile_wrapper .single_listing .name {
	margin-top: 0;
	margin-bottom: 7px;
}

.profile_wrapper .single_listing .category_list {
	font-size: 14px;
	font-style: italic;
}

.profile_wrapper .map_wrapper {
	border: 1px solid lightgray;
	margin: 20px 0;
}

.profile_wrapper .directions_wrapper .btn-directions {
    font-size: 14px;
    margin-right: 8px;
    padding: 10px 7px;
	display: block;
	margin-bottom: 10px;
}

.profile_wrapper .directions_wrapper .btn-directions i {
	margin-right: 8px;
}

.profile_wrapper .hours .day_name{
	min-width: 100px;
}

.profile_wrapper .hours td{
	vertical-align: top;
}

.profile_wrapper .map_heading {
	background-image: url("../img/marker-map-icon-24.png");
    background-position: 2px 2px;
    background-repeat: no-repeat;
    padding-left: 36px;
	margin-top: 30px;
	
}
.profile_wrapper .map_heading .small {
	color: #2c3e50;
}

.profile_wrapper .map_wrapper iframe {
    max-width: 100%;
}

.profile_wrapper h5.label {
    color: #333;
    display: inline-block;
    font-size: 13px;
    margin-bottom: 10px;
    padding: 0;
}


.profile_wrapper .address_heading {
    background-image: url("../img/marker-icon-16.png");
    background-position: 2px 2px;
    background-repeat: no-repeat;
    padding-left: 28px;
}

.profile_wrapper .address_wrapper {
    padding-left: 28px;
}

.profile_wrapper .phone_heading {
    background-image: url("../img/phone-icon-16.png");
    background-position: 2px 3px;
    background-repeat: no-repeat;
    padding-left: 28px;
}

.profile_wrapper .phone {
    padding-left: 28px;
}

.profile_wrapper .website_heading {
    background-image: url("../img/link-icon-16.png");
    background-position: 2px 3px;
    background-repeat: no-repeat;
    padding-left: 28px;
}

.profile_wrapper .url {
    padding-left: 28px;
}

.profile_wrapper .contacts_heading {
    background-image: url("../img/share-icon-16.png");
    background-position: 2px 3px;
    background-repeat: no-repeat;
    padding-left: 28px;
}

.profile_wrapper .contacts_wrapper {
    padding-left: 28px
}

.profile_wrapper .hours_heading {
    background-image: url("../img/calendar-icon-16.png");
    background-position: 2px 3px;
    background-repeat: no-repeat;
    padding-left: 28px;
}

.profile_wrapper .hours_wrapper {
    padding-left: 28px
}

.profile_wrapper .payment_methods_heading {
    background-image: url("../img/credit-cards-accepted-icon-16.png");
    background-position: 2px 3px;
    background-repeat: no-repeat;
    padding-left: 28px;
}

.profile_wrapper .ecls_heading {
    background-image: url("../img/note-icon-16.png");
    background-position: 2px 3px;
    background-repeat: no-repeat;
    padding-left: 28px;
}

.profile_wrapper .ecls_wrapper {
    padding-left: 28px
}

.ecls_wrapper .ecl_link {
    margin-right: 10px;
}

.profile_wrapper .photo_gallery_heading {
    background-image: url("../img/camera-icon-24.png");
    background-position: 2px 2px;
    background-repeat: no-repeat;
    padding-bottom: 12px;
    padding-left: 36px;
	margin-top: 80px;
	margin-left: -10px;
}

.profile_wrapper .video_gallery_heading {
    background-image: url("../img/video-gallery-icon-24.png");
    background-position: 2px 4px;
    background-repeat: no-repeat;
    padding-bottom: 12px;
    padding-left: 36px;
	margin-top: 80px;	
	margin-left: -10px;
}

.profile_wrapper .directions_wrapper {
	font-weight: bold;
}


/* Photo galleries */
.photo_gallery {
	margin: 30px 0;
}

.photo_gallery .slide {
	display: inline-block;
	margin-bottom: 30px;
	margin-right: 30px;
	max-width: 100%;
	width: 300px;

	box-shadow: 1px 1px darkgray;
    display: inline-block;
    height: 300px;
    overflow: hidden;
    position: relative;
	cursor: pointer;
	cursor: hand;
    
}
.photo_gallery .slide img {	
	bottom: -9999px;
    height: auto;
    left: -9999px;
    margin: auto;
    position: absolute;
    right: -9999px;
    top: -9999px;
    transition: all 0.3s ease 0s;
    width: auto;	
}
.photo_gallery .slide img:hover {
	transform: scale(1.1);
}

/* Video galleries */
.video_gallery {
	margin: 10px 0 30px;
	padding: 0 28px;	
}

.video_gallery video,
.video_gallery iframe {
    max-width: 100%;
}

/* City Feature on Home Page */
.home_city_feature h2.city_heading {
	padding-left: 0;
	padding-right: 0;
}

/* Find Your City block on Home Page */
.home_find_your_city {
	padding: 30px;
	text-align: center;
}


.home_city_feature h2.city_heading {
	padding-left: 0;
	padding-right: 0;
}

/* select a state */
ul.state_list {
	list-style-type: none;
	padding-left: 0;
}

ul.state_list li {
	padding: 10px 0;
}

ul.state_list li.ad_row .abl_ad_responsive {
    margin-top: 40px;
}

/* select a city */
ul.city_list {
	list-style-type: none;
	padding-top: 40px;
	padding-left: 0;
}

@media only screen and (min-width: 991px) {
		ul.city_list {
		-webkit-column-count: 3; /* Chrome, Safari, Opera */
		-moz-column-count: 3; /* Firefox */
		column-count: 3;
	}
}

ul.city_list li {
	padding-bottom: 10px;
}

/* Browse by city */
.city_heading {
    padding: 20px 20px 30px;
}

.city_section {
	display: inline-block;
	margin-bottom: 40px;
	margin-right: 2%;
	vertical-align: top;
	width: 32%;	
}
.city_section.nth-3 {
	margin-right: 0;
	clear: right;
}

.city_section  {
	background-color: white;
}

.city_section > ul {
    list-style-position: inside;
    list-style-type: number;
    padding: 0;
}

.city_section > ul > li a {
    padding-left: 10px;
}

.city_section > ul > li:last-child {
    border-bottom: medium none;
    list-style-type: none;
    padding-bottom: 5px;
}

.city_section > ul > li:last-child a {
    padding-left: 0px;
}

.moneybox.responsive.page_top .abl_ad.abl_ad_responsive {
    padding: 20px 0 0;
}

.moneybox.responsive.page_bottom .abl_ad.abl_ad_responsive {
    padding: 20px 0 0;
	margin-top: 40px;
}

.section_grid .moneybox.responsive .abl_ad_responsive {
    margin: 0px auto 40px;
}

.serp {
	list-style-type: none;
	padding-left: 0;
}

.search_page_left {
	background-color: #efefef;
	min-height: 1109px;
}

.search_page .serp {
	font-size: 22px;
    list-style-type: number;
    margin-left: 40px;
    margin-top: 40px;
}

.search_page .serp li {
    font-size: 15px;
    padding-left: 12px;
	margin-bottom: 50px;
}

.search_page .serp li .listing {
    font-size: 14px;
}

.search_page .serp li .listing h3 {
    font-size: 32px;
	position: relative;
	top: 2px;
	margin-bottom: 16px;
}

.search_page .serp li .listing .address_wrapper {
    background-image: url("../img/marker-icon-16.png");
    background-position: 2px 2px;
    background-repeat: no-repeat;
    padding-left: 28px;
}

.search_page .serp li .listing .phone {
    background-image: url("../img/phone-icon-16.png");
    background-position: 2px 6px;
    background-repeat: no-repeat;
    padding-left: 28px;
}

.search_page .serp li .listing .phone a {
    color: cornflowerblue;
    font-size: 18px;
    font-weight: bold;
}

.search_page .special_offer {
    background-color: white;
    border: 1px solid #ececec;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
    padding: 7px 6px;
}

.search_page .ecl_wrapper {
    margin-top: 20px;
}

.search_page_right {
	background-color: floralwhite;
}

.search_page_right > h4 {
    margin-top: 34px;
	margin-left: 20px;
}

.search_page_right ul.cat_list h4 > a {
	font-size: 16px;
}

.search_page_right ul.cat_list .subcat_list a {
	font-size: 12px;
}

.city_section  li {
	padding: 15px 20px;
	border-bottom: 1px solid #dedede;
}

.city_section .city_section_top {
    padding: 120px 0 0;
}

.city_section .city_section_heading {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    margin-top: 0;
    padding: 20px;
    vertical-align: bottom;
}

.city_section .city_section_top {
	background-size: cover;
	background-position: center center;
    color: white;
}

.city_section .city_section_top  a {
    color: white;
}

.city_section.style-pizza .city_section_top {
	background-image: url("../img/pizza-400.jpg");
	background-color: pizza;
}

.city_section.style-coffee .city_section_top {
	background-image: url("../img/coffee-400.jpg");
	background-color: green;
}

.city_section.style-restaurants .city_section_top {
	background-image: url("../img/restaurants-400.jpg");
	background-color: goldenrod	;
}

.city_section.style-auto-repair .city_section_top {
	background-image: url("../img/auto-repair-400.jpg");
	background-color: purple;
}

.city_section.style-doctors .city_section_top {
	background-image: url("../img/doctors-400.jpg");
	background-color: blue;
}

.city_section.style-movie-theater .city_section_top {
	background-image: url("../img/movie-theater-400.jpg");
	background-color: orange;
}

.city_section.style-hotel .city_section_top {
	background-image: url("../img/hotel-400.jpg");
	background-color: orange;
}

.city_section.style-attorneys .city_section_top {
	background-image: url("../img/attorney-400.jpg");
	background-color: orange;
}

.city_section.style-gym .city_section_top {
	background-image: url("../img/gym-400.jpg");
	background-color: orange;
}

/* browse within a city */
.all_cats_heading {
	margin-bottom: 20px;
}

.cat_list {
    list-style-type: none;
    padding-left: 0;
}

@media only screen and (min-width: 501px) and (max-width:990px) {
	.browse_by_city .cat_list {
		-webkit-column-count: 2; /* Chrome, Safari, Opera */
		-moz-column-count: 2; /* Firefox */
		column-count: 2;
	}
}

@media only screen and (min-width: 991px) {
	.browse_by_city .cat_list {
		-webkit-column-count: 4; /* Chrome, Safari, Opera */
		-moz-column-count: 4; /* Firefox */
		column-count: 4;
	}
}
.cat_list > li {
	padding-right: 40px;
}

/* SERP sidebar */
.business_type_list {
    list-style-type: none;
    padding-left: 21px;	
}

.business_type_list li {
	padding: 2px 0;
}

.all_categories_link {
	margin-bottom: 20px;
	margin-left: 20px;
	display: inline-block;
}

/* responsive photo gallery */
.rgallery{
	padding: 0 28px;
}

.rgallery .rgallery_caption {
    font-size: 14px;
    margin: 5px 0 2px;
    padding: 0 3px;
}

/* map placeholder */
.map_placeholder {
    border: 1px solid gray;
    box-sizing: border-box;
    height: 300px;
    margin: 40px;
    padding: 30px;
    position: relative;
    text-align: center;
    vertical-align: middle;
}

.map_placeholder > p {
    font-size: 32px;
    font-weight: bold;
    height: 60px;
    left: 0;
    line-height: 60px;
    margin-top: -30px;
    margin-bottom: 0;
    position: absolute;
    right: 0;
    text-align: center;
    top: 50%;
}

/* modals (for ECLs) */
.bootstrap-dialog {
	z-index: 99999 !important;
}
.bootstrap-dialog .modal-dialog {
	margin-top: 100px !important;
}

/* similar businesses nearby */
.similar_nearby {
    background-color: lightslategray;
    min-height: 350px;
    padding: 30px 40px;
}

.similar_nearby h3{
	color: white;
	margin-bottom: 18px;
}
.similar_nearby .listing h3 a {
	color: white;	
}

.similar_nearby .listing .address_wrapper {
	color: white;	
}

.similar_nearby .listing .phone {
	color: white;	
}

.similar_nearby .nearby_list .listing {
    border-bottom: 1px solid cadetblue;
    padding: 6px 0 6px 8px;
}
.similar_nearby .nearby_list .listing:last-child {
	border-bottom: none;
}

.similar_nearby .nearby_list {
    color: white;
    list-style-position: inside;
    list-style-type: numeric;
    padding: 0 10px;
    width: 100%;
}

.similar_nearby .nearby_list .name a {
    color: white;
    text-decoration: none;
}

.similar_nearby .nearby_list .listing .phone {
    color: white;
	float: right;
}

.similar_nearby .nearby_list .listing .phone a {
    color: white;
}

.similar_nearby .nearby_category_link {
	color: white;
    display: inline-block;
    margin-top: 20px;
}

/* Add Business Wizard */
.add_business .alert {
}

.add_business .field_validation_error .alert {
	margin-top: 4px;
}

.add_business .well {
    background-color: lightyellow;
}

.add_business.select_type .well {
	padding-left: 30px;
}

.add_business.select_type .upgrade_well {
	background-color: white;
}
	
@media only screen and (min-width: 1250px) {
	.add_business.select_type .upgrade_well {
		background-image: url("/static/img/person1.jpg");
		background-position: -1px -1px;
		background-repeat: no-repeat;
		padding: 20px 30px 20px 428px;	
	}

	.add_business.select_type .upgrade_well  {
		margin-top: 10px;
	}
	.add_business.select_type .upgrade_well .btn {
		font-size: 20px;
		margin-top: 22px;
	}
}

.add_business .basic_listing_only {
    background: transparent;
    padding: 0px 0 0 0px;
    float: right;
    text-align: right;
}

.add_business .basic_listing_only button {
    background: transparent;
    border: none;
    color: #5c5c5c;
    padding: 0;
    text-decoration: underline;
}

.add_business.select_type .upgrade_heading {
	color: #3d3d3e;
	font-weight: bold;
	line-height: 1.25;
	margin: 8px 0 18px;
}

.add_business.select_type .upgrade_well button {
	color: #fff;
	background-color: #19920c;
	border-color: #137d08;
}

.add_business.select_type p.intro {
    font-size: 20px;
    max-width: 600px;
	margin-bottom: 20px;
}

.add_business .upgrade_heading strong,
.add_business .upgrade_well .highlight_name {
	color: green;
}


.add_business fieldset {
    margin: 20px 0;
	width: 650px;
}

.add_business .e-course_offer {
    margin: 20px 0 40px;
	width: 650px;
}

.add_business .well .listing > h3 {
    margin-top: 4px;
}

/* Add New Business Wizard - Hours Input */
#hours_heading {
    margin-top: 40px;	
}
.hours_input {
	margin: 20px 0 40px;
	max-width: 650px;
}

.hours_input .hours_table {
	/* width: auto; */
}
.hours_input .hours_table > thead > tr,
.hours_input .hours_table > tbody > tr:nth-of-type(2n) {
    background-color: #f9f9f9;
}
.hours_input .hours_table > tbody > tr:nth-of-type(2n+1) {
    background-color: #fff;
}

.hours_input .day_row td {
    vertical-align: middle;
}

.hours_input th {
	padding: 2px 4px;
}

.hours_input td {
	padding: 2px 4px;
}


.hours_input .day_name {
	font-weight: bold;
}

.hours_input .has-error .day_name {
	color: red;
}

.hours_input input[type="text"] {
	width: 40px;
}

.recaptcha_wrapper {
	width: 650px;	
}
.recaptcha_wrapper > h3 {
	margin-top: 0;
}

.recaptcha_wrapper > p {
	margin-bottom: 20px;
}

.category_input {
	
}

/* Entry Status Page */
.add_business .verification_step {
	margin-top: 40px;
	position: relative;
}

.add_business .step_heading {
	position: relative;
}

.add_business .step_heading.step_complete {
	font-weight: bold;
	color: #00992E; /* green */
}


.add_business .step_heading.step_complete::before {
	background-image: url('../img/check-icon-green-16.png');
	background-repeat: no-repeat;
	content: " ";
    display: block;
    height: 16px;
    left: -26px;
    position: absolute;
    top: 3px;
    width: 16px;
}

.add_business .step_heading.step_current {
    color: dodgerblue;
    font-weight: bold;
}

.add_business .step_heading.step_current::before {
	background-image: url('../img/arrow-icon-blue-16.png');
	background-repeat: no-repeat;
	content: " ";
    display: block;
    height: 16px;
    left: -26px;
    position: absolute;
    top: 3px;
    width: 16px;
}

#listing_complete_message {
	margin-top: 20px;
	margin-bottom: 50px;
}

.add_business .alert-info {
	padding: 20px 20px 10px;
}

.add_business .alert-info h2 {
	margin-top: 0;
}

.add_business .alert-info p {
	margin-bottom: 20px;
}

/* Content Pages */
.page {
	padding: 30px 0;
}

/* Misc */
.inline_button_wrapper {
    display: inline-block;
    margin: 10px 10px 10px 0;
}



/* ads */
.abl_ad {
	text-align: center;
}

.abl_ad_728x90 {
	margin: 20px auto;
}

.abl_ad_300x250 {
	margin: 20px auto;
}

.abl_ad_336x280 {
	margin: 20px auto;
	width: 100%;
	max-width: 336px;
}

@media only screen and (min-width: 421px) {
	.abl_ad_336x280 {
		min-height: 280px;
	}
}

.abl_ad_responsive {
	margin: 20px auto;
	width: 100%;
	max-width: 100%;
}

.abl_ad_responsive img {
	max-width: 100%;
}

.single_ad_top {
	background-color: #141d27;
	padding: 60px 0 2px;
	max-width: 100%;
}

@media only screen and (min-width: 421px) {
	.single_ad_top {
		min-height: 250px;
		min-width: 320px;	
	}
}

.single_ad_top .container {
	padding: 0;
}

.single_ad_top + .splash.single_listing_header {
	padding-top: 0px;
}

/* Mobile ad adjustments */
@media only screen and (max-width: 420px) {	
	#site_wrapper {
		padding-bottom: 950px; /* +90px to account for fixed position banner */
	}
	#footer {
		height: 1010px; /* +90px to account for fixed position banner */
		padding-bottom: 120px; /* +90px to account for fixed position banner */
	}
}

@media only screen and (max-width: 1000px) {
	#site_wrapper {
		padding-bottom: 950px; /* +90px to account for fixed position banner */
	}
	#footer {
		height: 1010px; /* +90px to account for fixed position banner */
		padding-bottom: 120px; /* +90px to account for fixed position banner */
	}
}

/* Credit Card Forms */
.billing_form textarea.has-error,
.billing_form select.has-error,
.billing_form input.has-error {
	border-color: red;
	background-color: pink;
}
.billing_form .payment-errors {
    background: none repeat scroll 0 0 pink;
    border: 1px solid orange;
	display: none;
    margin-bottom: 14px;
    padding: 10px;
}
.billing_form .credit-card-icons
{
	min-height: 32px;
	margin: 10px 0;
	padding: 0 3px;
}
.billing_form .credit-card-icons img
{
	border: 1px solid lightgray;
	width: 36px;
	height: auto;	
}

.billing_form .credit-card-icons.identified img {	
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=25)"; /* IE 8 */
	filter: alpha(opacity=25); /* IE 5-7 */
	-moz-opacity: 0.25; /* Netscape */
	-khtml-opacity: 0.25; /* Safari 1.x */
	opacity: 0.25 ;/* Good browsers */
}

.billing_form .credit-card-icons.identified.visa img.visa,
.billing_form .credit-card-icons.identified.mastercard img.mastercard,
.billing_form .credit-card-icons.identified.amex img.amex,
.billing_form .credit-card-icons.identified.discover img.discover,
.billing_form .credit-card-icons.identified.jcb img.jcb,
.billing_form .credit-card-icons.identified.dinersclub img.dinersclub {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; /* IE 8 */
	filter: alpha(opacity=100); /* IE 5-7 */
	-moz-opacity: 1; /* Netscape */
	-khtml-opacity: 1; /* Safari 1.x */
	opacity: 1; /* Good browsers */
}
.billing_form .inline-error {
    color: red;
    font-weight: bold;
    padding: 3px;
}

.billing_form .cc_explain {
	max-width: 600px;
}

.form_wrapper_spacer {
	padding: 1px 0;
}
.form_wrapper {
    padding: 20px 3px;
    position: relative;
    width: 460px;
}

.form_wrapper .top {
    color: white;
    left: 0;
    padding: 0 20px 10px;
    position: absolute;
    right: 0;
    top: 0;
	text-align: center;
}
.form_wrapper .top h1 {
	font-weight: bold;
	text-shadow: -1px 2px 4px black;
}

.form_wrapper > h2 {
	margin-top: 0;
	margin-bottom: 25px;
}
.form_wrapper .links{
	margin-bottom: 0px;
	margin-top: 20px;
	color: lightgray;
}

.expiration_date_wrapper {
	/* padding-bottom: 10px; */
}

.select_wrapper {
    display: inline-block;
    width: 47%;
}
.select_wrapper:first-child {
	margin-right: 4%;
}

.form-cvv {
	width: 20%;
}

/* Recently Updated Listings (homepage) */
.recently_updated_wrapper {
    background-color: seashell;
}

.recenty_updated > h3 {
    font-size: 32px;
    margin-bottom: 60px;
    margin-top: 40px;
    text-align: center;
}
.recenty_updated > ul {
    list-style-type: none;
}

.recenty_updated li {
    display: inline-block;
    min-height: 250px;
    margin: 0 1.5%;
    width: 30%;
	vertical-align: top;
}
.recenty_updated .update_time {
	margin-top: 10px;
	font-style: italic;
	font-size: .8em;
}


/* POIs list on single profiles */
.nearby_pois_list {
    list-style-type: none;
    margin-left: -20px;
    padding: 0;
}

.nearby_pois_list > li {
    display: inline-block;
    margin: 20px 0 20px 20px;
    width: 320px;
}

.nearby_pois_list > li a {
    color: white;
    font-size: 17px;
}

/* Browse by POI pages */
.poi_header {
	background-color: white;
	border-radius: 5px;
	padding-bottom: 2px;
	margin-bottom: 20px;
	border: 1px solid #d0cccc;
	margin-top: 20px;
}	

.poi_header .city_heading  {
	padding: 8px 20px;
}


.poi_header .city_heading .poi_before {
	font-size: 15px;
	display: block;
	margin-bottom: 20px;
}

.poi_header .city_heading .poi_name {
	display: block;
}

.poi_header .poi_address {
	margin: 0 0 23px 20px;
}

