@gutter: 60px;


@dark_1:     #033F6B;
@dark_2:     #023459;
@light_blue: #249BFD;
@dark_blue:  #0B7AD7;

@green:  #39D2C4;
@red:    #CA3557;
@text_1: rgba(0, 0, 0, .87);
@text_2: rgba(0, 0, 0, .71);
@text_3: rgba(0, 0, 0, .54);
@border: #D6D8E3;
@light:  #F5F5FA;
@yellow: #F2E180;

@google:    #4285f4;
@yelp:      #af0606;
@bbb:       #035A78;
@facebook:  #3b5998;
@yp:        #ffd400;
@opentable: #DC353F;
@lawyers:   #00B0F2;

@import "mixins";
@import "grid";

html {
	overflow-y: scroll;
}
html, body {
	height: 100%;
}
body {
	color: @text_1;
	line-height: 20px;
}
body, input, select, textarea {
	font-size: 16px;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
}
.w {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}
.c {
	margin: 0 auto;
	max-width: 1100px;
	width: 100%;
}
a {
	.fade;
	.transition;
	color: @light_blue;
	font-weight: 500;
	text-decoration: none;
}
.fade { &:hover { .opacity(.5); .transition; } }

h1 {
	font-size: 30px;
	line-height: 40px;
	margin-bottom: 40px;
}
h2 {
	font-size: 20px;
	font-weight: 500;
	line-height: 40px;
	margin-bottom: 20px;
}
h3 {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 20px;
}
h4 {
	font-weight: 700;
	margin-bottom: 10px;
}
p {
	color: @text_2;
	line-height: 30px;
	margin-bottom: 20px;
	&.small {
		color: @text_3;
		font-size: 12px;
	}
	&:last-child {
		margin-bottom: 0;
	}
}
.list {
	margin-bottom: 20px;
}

p + h1, p + h2, p + h3, .list + h1, .list + h2, .list + h3 {
	margin-top: 40px;
}


header {
	.drop-shadow(0, 2px, 2px, 0.2);
	background-position: center center;
	background-repeat: no-repeat;
	.background-cover;
	height: 300px;
	margin-bottom: 40px;
	position: relative;
	.header-content {
		background: rgba(0, 0, 0, 0.9);
		padding: 10px;
		position: absolute;
			bottom: 20px; left: 20px;
	}
	h1 {
		color: white;
		margin: 0;
		.stars {
			color: @dark_1;
		}
		span.rating {
			font-size: 12px;
		}
	}
	h3 {
		color: white;
		margin-bottom: 0;
	}
}

.platform {
	.rounded;
	background: @dark_blue;
	color: white;
	display: inline-block;
	font-weight: 500;
	margin-bottom: 10px;
	padding: 2px 8px;
}

.platform-bbb { background: @bbb !important; }
.platform-facebook { background: @facebook !important; }
.platform-google { background: @google !important; }
.platform-lawyers { background: @lawyers !important; }
.platform-opentable { background: @opentable !important; }
.platform-yelp { background: @yelp !important; }
.platform-yp { background: @yp !important; }

table {
	border-collapse: collapse;
	font-size: 14px;
	margin-bottom: 40px;
	width: 100%;
	th, td {
		border-bottom: 1px solid @border;
		padding: 20px;
		text-align: left;
		&.r { text-align: right; }
		&:first-child { padding-left: 5px; }
		&:last-child { padding-right: 5px; }
	}
	th {
		font-weight: 500;
		padding-bottom: 10px;
	}
	tbody {
		tr:last-child {
			td {
				border-bottom: 0;
			}
		}
	}
}

.stars {
	color: fade(@dark_1, 30%);
	display: inline-block;
	font-size: 20px;
	line-height: 24px;
	height: 24px;
	position: relative;
	white-space: nowrap;
	.o {
		color: @dark_blue;
		overflow: hidden;
		position: absolute;
			left: 0; top: 0;
		white-space: nowrap;
	}
}
.stars + h4 {
	margin-top: 13px;
}

.bars {
	li {
		line-height: 40px;
		margin-bottom: 10px;
		position: relative;
		padding: 0 40px;
		span, i {
			font-weight: 500;
			position: absolute;
				top: 0; left: 0;
			text-align: center;
			width: 20px;
		}
		i {
			color: @dark_blue;
			font-weight: normal;
			left: 20px;
			line-height: 40px;
			text-align: left;
		}
		div {
			.drop-shadow(0, 1px, 1px, 0.1);
			.diagonal-gradient(@dark_blue, @dark_1);
			.rounded(4px);
			height: 40px;
			position: relative;
			&:after {
				color: @text_2;
				content: attr(data-count);
				font-size: 14px;
				font-weight: 700;
				line-height: 40px;
				padding-left: 5px;
				position: absolute;
					top: 0; right: -40px;
				width: 40px;
			}
		}
	}
}

.widget {
	border: 1px solid fade(@dark_1, 10%);
	margin-bottom: 40px;
	padding: 20px;
	h3 {
		background: fade(@dark_1, 4%);
		border-bottom: 1px solid fade(@dark_1, 10%);
		margin: -20px;
		margin-bottom: 20px;
		padding: 20px;
	}
	.content-info-icon {
		color: @text_3;
		margin-right: 20px;
		text-align: center;
		width: 20px;
	}
}

.embed {
	padding-top: 120px;
	header {
		height: 120px;
		position: fixed;
			top: 0; left: 0; right: 0;
		z-index: 1000;
		.header-content {
			bottom: 10px; left: 10px; right: 10px;
		}
		h1 {
			font-size: 16px;
			color: white;
			margin: 0;
		}
		.rating {
			color: white;
			font-size: 12px;
		}
		.stars {
			color: @dark_1;
		}
		h3 {
			color: white;
			margin-bottom: 0;
			a {
				.fade;
				color: white;
				text-decoration: underline;
			}
		}
	}
	.review-business-name {
		display: none;
	}
	.review-location-name {
		display: none;
	}
	table {
		font-size: 12px;
		
	}
	p {
		line-height: 150%;
	}
}