/* Home Search Area */
.home-hero {
	position: relative;
	height: 690px;
	width: 100%;
	background-image: url('/images/background.jpg');
	background-size: cover;
	background-position: center center;
}

.home-hero-blackout {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: rgba( 0, 0, 0, .2 );
}
.home-hero-whiteout {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: #fff;
	opacity: 0;
}

.content-hero {
	position: relative;
	height: 400px;
	width: 100%;
	background-image: url('/images/background.jpg');
	background-size: cover;
	background-position: center center;
}

.home-search-container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate( -50%, -50% );
	width: 100%;
	max-width: 800px;
	padding: 0;
}

.home-search-sections ul {
	list-style-type: none;
	position: relative;
}
.home-search-sections ul li {
	display: inline-block;
	background-color: #eeeeee;
	margin-right: 3px;
	padding: 0;
	-webkit-box-shadow: 2px 3px 3px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 2px 3px 3px 0px rgba(0,0,0,0.2);
	box-shadow: 2px 3px 3px 0px rgba(0,0,0,0.2);
	border-radius: 3px 3px 0 0;
	
}
.home-search-sections ul li:hover{
	background-color: #FAFAFA;
}
.home-search-sections ul li.active, .home-search-sections ul li.active:hover{
	background-color: #fedc18;
}
.home-search-sections ul li a {
	text-decoration: none;
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 50px;
	padding: 0 30px;
	text-align: center;
	color: #333;
}

.home-form {
	position: relative;
}

.home-form form {
	display: block;
	position: relative;
	height: 60px;
}
.home-form .form-inputs {
	position: absolute;
	left: 50px;
	right: 0;
}
.home-form input {
	display: inline-block;
	font-family: 'Open Sans', sans-serif;
	font-size: 17px;
	line-height: 60px;
	height: 60px;
	border: none;
	padding: 0 15px;
	width: 45%;
	margin: 0;
	border-radius: 0 2px 2px 0;
	background-color: #FFF;
}
.home-form input:first-of-type {
	width: 55%;
	padding-left: 5px;
	border-radius: 0;
	background-image: url('/images/form-separator.png');
	background-position: right center;
	background-repeat: no-repeat;
}
.home-form .submit {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	height: 60px;
	width: 50px;
	text-align: center;
	font-size: 24px;
	line-height: 60px;
	background-color: #FFF;
	border: none;
	color: #333;
	border-radius: 2px 0 0 2px;
	cursor: pointer;
}
.home-form .geolocate {
	display: none;
}
.home-form .submit:hover, .home-form .geolocate:hover {
	background-color: #FAFAFA;
}

.home-form p {
	margin: 8px 2px 0 2px;
}

.home-search-container ul.inline-list {
	margin: 10px;
	text-align: center;
}
.home-search-container ul.inline-list li {
	margin-right: 5px;
	font-size: 13px;
	font-weight: bold;
	color: #FFF;
}
.home-search-container ul.inline-list li a {
	text-decoration: none;
	color: #FFF;
	text-shadow: 1px 1px 4px rgba(0,0,0,0.15);
}
.home-search-container ul.inline-list li:after {
	font-weight: 300;
	content: "|";
	padding-left: 5px;
}
.home-search-container ul.inline-list li:last-of-type:after {
	content: "";
	padding:0;
}

@media( max-width: 768px ) {
	.home-form form {
		height: 120px;
		margin: 0 15px;
	}
	.home-search-sections ul li {
		display: none;
	}
	.home-search-sections ul li:nth-of-type(1), .home-search-sections ul li:nth-of-type(2) {
		display: inline-block;
		width: 40%;
	}
	.home-search-sections ul li a {
		display: inline-block;
		width: 100%;
		text-align: center;
		color: #333;
	}
	.home-form input, .home-form input:first-of-type {
		display: block;
		width: 100%;
		background-image: none;
		border: none;
		padding-left: 50px;
	}
	.home-form input:nth-of-type(2) {
		margin-top: -1px;
		border-top: 1px solid #eee;
	}
	.home-form .form-inputs {
		right: 0;
		left: 0;
	}
	.home-form .submit {
		top: 0px;
		height: 58px;
		width: 50px;
		line-height: 58px;
	}
}
@media( max-width: 480px ) {
	.home-form form {
		height: 80px;
	}
	.home-form input, .home-form input:first-of-type {
		font-size: 14px;
		line-height: 40px;
		height: 40px;
		padding-left: 40px;
	}
	.home-form .submit {
		top: 0px;
		height: 38px;
		width: 40px;
		line-height: 38px;
		font-size: 18px;
	}
	.home-search-sections ul li a {
		font-size: 16px;
		line-height: 40px;
	}
}
@media( max-width: 360px ) {
	.home-search-sections ul li:nth-of-type(1), .home-search-sections ul li:nth-of-type(2) {
		display: inline-block;
		margin: 0;
		width: 50%;
	}
}




/* Popular Categories */
.home .popular-categories {
	width: 100%;
	margin: 0 auto;
}
.category-tile {
	float: left;
	width: 12.5%;
	padding: 0 10px;
	cursor: pointer;
}
.category-tile-content {
	position: relative;
	background-color: #FFF;
	border-radius: 3px;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.5);
	padding: 20px 20px 30px 20px;
}
.category-tile-content:hover {
	background-color: #f6f6f6;
}

.category-tile-button {
	min-width: 65%;
	position: absolute;
	transform: translate( -50%, -50%);
	left: 50%;
	top: 50%;
}

.category-tile a {
	color: #2b2b2b;
	text-decoration: none;
}
.category-tile-image {
	height: 90px;
	width: 100%;
	position: relative;
	margin-bottom: 10px;
}
.category-tile-image img {
	height: auto;
	width: auto;
	max-height: 100%;
	max-width: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}

@media( max-width: 1200px ) {
	.home .popular-categories {
		max-width: 900px;
	}
	.category-tile {
		width: 25%;
		padding: 10px;
	}
}
@media( max-width: 680px ) {
	.category-tile {
		width: 50%;
	}
}



/* Businesses Near You */
.card-scroller {
	position: relative;
	margin: 0 -10px;
	width: 100%;
	height: 250px;
	display: block;
	overflow: hidden;
}
.card-scroll-container {
	position: absolute;
	white-space: nowrap;
	display: inline-block;
	width: auto;
	min-width: 100%;
}
.scroller-controls li a {
	color: #cfcfcf;
	font-size: 17px;
	padding-left: 5px;
}
.scroller-controls li a:hover {
	color: #acacac;
}
.scroller-controls li.active a {
	color: #969696;
}
.card-scroller .card-container {
	display: inline-block;
	width: 25%;
	padding: 0 10px;
	white-space: normal;
}
.card-scoller .card-container .card {
	display: block;
}

/*
.card-scroller .card-container {
	display: none;
}
.card-scroller .card-container:nth-of-type(1),
.card-scroller .card-container:nth-of-type(2),
.card-scroller .card-container:nth-of-type(3),
.card-scroller .card-container:nth-of-type(4) {
	display: block;
}
*/
@media( max-width: 1024px ) {
	.card-scroller .card-container {
		width: 33.333%;
	}
	/*
	.card-scroller .card-container:nth-of-type(4) {
		display: none;
	}
	*/
}
@media( max-width: 768px ) {
	.card-scroller .card-container {
		width: 50%;
	}
	/*
	.card-scroller .card-container:nth-of-type(3) {
		display: none;
	}
	*/
}
@media( max-width: 520px ) {
	.card-scroller .card-container {
		width: 100%;
	}
	.card-scroller .card-container:nth-of-type(2) {
		display: none;
	}
}


/* Get Listed */
.home .get-listed {
	background-image: url('/images/get-listed-bg.jpg');
	background-size: cover;
	background-position: center center;
}


/* Reviews on Home Page */
.home-review-box {
	float: left;
	width: 33.3333%;
	padding: 42px 10px 10px 10px;
}
.review-card {
	position: relative;
	background-color: #f6f6f6;
	padding: 47px 30px 20px 30px;
	box-shadow: 2px 2px 5px 0 rgba(0,0,0,0.25);
}
.review-card p {
	color: #9B9B9B;
}
.review-card .strong {
	color: #2B2B2B;
	padding-top: 8px;
	font-size: 16px;
	margin-bottom: 5px;
}
.review-card .h3 {
	color: #9B9B9B;
	margin-bottom: 25px;
	height: 54px;
	overflow-y: hidden;
	word-wrap: break-word;
}
.review-card .review-image {
	position: absolute;
	top: -42px;
	left: 50%;
	transform: translate( -50%, 0);
}
.review-card .review-image img {
	height: 84px;
	width: 84px;
	border-radius: 42px;
	border: 8px solid #FFF;
}
.review-card .review-time {
	position: absolute;
	top: 15px;
	right: 15px;
	font-size: 9px;
	color: #686868;
	text-transform: uppercase;
}
.review-card .rating-block {
	border: none;
}
@media( max-width: 860px ) {
	.home-review-box {
		width: 50%;
	}
	.home-review-box:nth-of-type(3) {
		display: none;
	}
}
@media( max-width: 600px ) {
	.home-review-box {
		width: 100%;
	}
	.home-review-box:nth-of-type(2) {
		display: none;
	}
}



/* Download App */
.home .fb-page {
	border-radius: 2px;
}
.home .download-app {
	background-image: url('/images/app-home.jpg');
	background-size: auto 380px;
	background-repeat: no-repeat;
	background-position: 40px bottom;
	height: 420px;
}
.home .download-app .download-app-content {
	margin-left: 420px;
	margin-top: 50px;
}
.home .download-app .download-app-content ul {
	margin-top: 50px;
	list-style-type: none;
}
.home .download-app .download-app-content ul li {
	text-align: center;
}
.home .download-app .download-app-content ul li img {
	height: 65px;
	width: auto;
}
@media( max-width: 1200px ) {
	.home .download-app .download-app-content ul {
		margin-top: 20px;
	}
	.home .download-app .download-app-content {
		margin-top: 20px;
	}
}
@media( max-width: 1024px ) {
	.home .download-app {
		background-size: auto 340px;
		background-position: 15px bottom;
	}
	.home .download-app .download-app-content {
		margin-left: 315px;
	}
}
@media( max-width: 850px ) {
	.home .sidebar {
		display: none;
	}
	.home .main-col {
		width: 100%;
	}
	.home .main-col.pr-4 {
		padding-right: 0;
	}
}
@media( max-width: 680px ) {
	.home .download-app {
		background-image: none;
		height: auto;
	}
	.home .download-app .download-app-content {
		margin-left: 0;
	}
}



/* Sign Up Form */
.sign-up {
	position: relative;
}
.sign-up .sign-up-form-container {
	position: absolute;
	right: 30px;
	top: 0;
	border-radius: 12px;
	background-color: rgba( 0, 0, 0, .25 );
	width: 480px;
	height: 300px;
	z-index: 60;
}
.sign-up .sign-up-form {
	position: absolute;
	right: 8px;
	top: 8px;
	left: 8px;
	bottom: 8px;
	border-radius: 7px;
	background-color: #fff;
}
.sign-up .sign-up-form ul {
	width: 100%;
}
.sign-up .sign-up-form ul li {
	width: 50%;
	text-align: center;
	display: inline-block;
	padding: 0 5px;
}
.slideshow {
	position: relative;
	height: 420px;
}
.slideshow-controls {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 350px;
	padding: 20px 0;
}
.slideshow-controls ul {
	list-style-type: none;
	text-align: center;
}
.slideshow-controls ul li {
	display: inline;
	margin: 0 2px;
	font-size: 15px;
}
.slideshow-controls ul li a {
	color: rgba( 255, 255, 255, .6 );
}
.slideshow-controls ul li.active a {
	color: rgba( 255, 255, 255, .95 );
}
.sign-up .slide {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	min-height: 420px;
	background-size: cover;
	background-position: center;
}
.sign-up .slide .slide-text {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 350px;
	background-color: rgba( 0, 0, 0, .7 );
}
.sign-up .slide .slide-text .slide-text-helper {
	position: absolute;
	left: 0;
	top: calc( 50% - 30px );
	transform: translate( 0, -50% );
	padding: 30px;
}

@media( max-width: 960px ) {
	.sign-up .slide .slide-text {
		width: 280px;
	}
	.slideshow-controls {
		width: 280px;
	}
	.sign-up .sign-up-form-container {
		width: 400px;
	}
}
@media( max-width: 800px ) {
	.slideshow {
		display: none;
	}
	.sign-up .sign-up-form-container {
		position: relative;
		width: 100%;
		margin: 0 auto;
		max-width: 480px;
		height: 300px;
		right: 0;
	}
}
@media( max-width: 540px ) {
	.sign-up .sign-up-form ul li {
		width: 100%;
		text-align: center;
		display: inline-block;
		padding: 0 5px;
		margin: 15px 0 0 0;
	}
	.sign-up .sign-up-form-container {
		position: relative;
		width: 100%;
		margin: 0 auto;
		max-width: 480px;
		height: 400px;
		right: 0;
	}
}


/* ARTICLES */
.article-scroller {
	float: left;
	padding-bottom: 0px;
	margin-bottom: 0;
	position: relative;
	overflow: hidden;
	z-index: 1030;
	width: 100%;
}
.home.article-scroller {
	margin-top: -100px;
}
.article-list{
	overflow: hidden;
	width: 100%;
}
.article-container {
	display: inline-block;
	padding: 0 10px;
	white-space: nowrap;
	width: auto;
}
.article-back-button, .article-forward-button {
	width: 40px;
	position: absolute;
	/*background-color: rgba( 254, 201, 1, .9 );*/
	background-color: rgba( 230,230,230, .9 );
	top: 70px;
	bottom: 90px;
}
.article-back-button {
	left: 0;
	border-radius: 0 10px 10px 0;
	z-index: 1040;
}
.article-forward-button {
	right: 0;
	border-radius: 10px 0 0 10px;
	z-index: 1040;
}
.article-arrow-wrapper {
	position: relative;
	height: 100%;
	width: 100%;
	cursor: pointer;
}
.article-arrow {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.article-scroller .article-box {	
	display: inline-block;
	width: 407px;
	height: 100%;
	padding: 0 10px;
	white-space: normal;
}
.tip-time {
	margin-left: 5px;
}
.tip-time span {
	margin-right: 3px;
	vertical-align: -1px;
}
@media( max-width: 1400px ) and ( min-width: 768px ) {
	/*
	.article-scroller .article-box {
		display: none;
	}
	.article-scroller .article-box:nth-of-type(1), .article-scroller .article-box:nth-of-type(2), .article-scroller .article-box:nth-of-type(3) {
		display: block;
	}
	.article-list{
		width: 100%;
	}
	*/
}
@media( max-width: 768px ) {
	.article-container {
		padding: 0 35px;
	}
	.article-back-button, .article-forward-button {
		width: 24px;
	}
	.article-back-button img, .article-forward-button img {
		width: 12px;
		height: 20px;
	}
	.article-scroller .article-box {	
		width: 300px;
	}
}
@media( max-width: 560px ) {
	/*
	.article-scroller .article-box {
		display: none;
		width: 100%;
	}
	.article-scroller .article-box:nth-of-type(1) {
		display: block;
	}
	*/
}


/* Home Reviews */
.home-reviews p {
	margin-bottom: 0;
}
.home-reviews-boxes {
}
.home-review-box {
	float: left;
	width: 33.3333%;
	padding: 42px 10px 10px 10px;
}
.home-review {
	background-color: #FFF;
	position: relative;
	padding: 47px 30px 20px 30px;
}
.home-review p {
	color: #686868;
}
.home-review .strong {
	color: #333;
	padding-top: 8px;
	font-size: 16px;
	margin-bottom: 5px;
}
.home-review h4, .home-review .h4 {
	color: #686868;
	height: 52px;
	overflow-y: hidden;
	word-wrap: break-word;
	font-style: italic;
}
.home-review .review-image {
	position: absolute;
	top: -42px;
	left: 50%;
	transform: translate( -50%, 0);
}
.home-review .review-image img {
	height: 84px;
	width: 84px;
	border-radius: 42px;
	border: 5px solid #FFF;
}
.home-review .review-image img.icon {
	height: 77px;
	width: 84px;
	border-radius: 0;
}

.home-review .review-time {
	position: absolute;
	top: 15px;
	right: 15px;
	font-size: 9px;
	color: #686868;
	text-transform: uppercase;
}
.home-review .review-time span {
	margin-right: 3px;
	vertical-align: -1px;
}

.home-reviews {
}
.home-reviews h2 {
	color: #2b2b2b;
	padding-bottom: 5px;
}
.home-reviews p {
	color: #686868;
}

@media( max-width: 1260px ) {
	.container.content.home-reviews-container {
		padding-left: 10px;
		padding-right: 10px;
	}
}
@media( max-width: 860px ) {
	.home-review-box {
		width: 50%;
	}
	.home-review-box:nth-of-type(3) {
		display: none;
	}
}
@media( max-width: 600px ) {
	.home-review-box {
		width: 100%;
	}
	.home-review-box:nth-of-type(2) {
		display: none;
	}
}