/* *
 * Header section
 * *
 * */

header {
	position: relative;
	background-image: -webkit-linear-gradient(100deg, var(--dark-blue-color) 70%, var(--light-blue-color) 30%);
	padding-bottom: 14em;
}

@media screen and (max-width: 800px) {
	.bee-hero .heading {
		margin-left: 0.5em;
		font-size: 1.7rem;
	}
}

@media screen and (max-width: 35.5em) {
	header {
		padding-bottom: 2em;
	}
}

@media screen and (max-width: 35.5em) {
	.first-content {
		padding-top: 3em;
	}
}

#header-bottom-curve {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 15vw;
	background-color: #FFFFFF;
	fill: var(--dark-blue-color);
	-webkit-transform: scale(1);
	transform: scale(1);
}

@media screen and (min-width: 100em)	{
	/* Adjust header for really big screens */
	header {
		padding-bottom: 18em;
	}
}

@media screen and (min-width: 125em)	{
	/* Adjust header for really big screens */
	header {
		padding-bottom: 20em;
	}
}

@media screen and (min-width: 145em)	{
	/* Adjust header for really big screens */
	header {
		padding-bottom: 23em;
	}
}

.bee-hero .hero-text {
	font-size: var(--sub-heading-font-size);
	line-height: 1.6em;
	color: #FFFFFF;
	margin-top: 1em;
	padding: 1em;
	text-align: center;
}

.bee-hero .hero-text a {
	text-decoration: none;
	color: #FFFFFF;
}

.bee-hero .hero-hover-text {
	transition: var(--transition-duration);
}

.bee-hero .hero-hover-text:hover {
	-webkit-transform: translateY(-0.1em) rotate(-2deg);
	transform: translateY(-0.1em) rotate(-2deg);
}

.bee-hero .hero-hover-text:active {
	-webkit-transform: translateY(0) rotate(-2deg);
	transform: translateY(0) rotate(-2deg);
}

.bee-hero .highlighted {
	padding: 0em 0.3em;
	background: var(--green-color);
	/* top right bottom left */
	border-radius: 0.3em 0.25em 0.3em 0.4em;
	box-shadow: 0.3em 0.25em 0 var(--green-color);
	position: relative;
	display: inline-block;
	-webkit-transform: rotate(-2deg);
	-moz-transform: rotate(-2deg);
	-ms-transform: rotate(-2deg);
	-o-transform: rotate(-2deg);
	transform: rotate(-2deg);
}

.bee-hero .highlighted strong {
	color: var(--primary-font-color);
	position: relative;
	display: inline-block;
	-webkit-transform: rotate(2deg);
	-moz-transform: rotate(2deg);
	-ms-transform: rotate(2deg);
	-o-transform: rotate(2deg);
	transform: rotate(2deg);
}

@media screen and (max-width: 800px) {
	.bee-hero .hero-text {
		font-size: 1.5rem;
	}
}

.hero-video-container {
	position: relative;
}

#bee-hero-video {
	box-shadow: 0em 0.5em 2.8em -0.8em rgba(0,0,0,0.75);
	border-radius: 0.3em;
	width: 900px;
	height: 563px;
	background-color: #FFFFFF;
	text-align: center;
	position: relative;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	cursor: pointer;
}

#hero-play-button {
	position: absolute;
	width: 40%;
	height: 40%;
	margin-left: 30%;
	left: 0;
	bottom: 30%;
	display: block;
	cursor: pointer;
	transition: var(--transition-duration);
}

#hero-play-button path {
	transition: var(--transition-duration);
	fill: var(--light-grey-color-translucent);
}

.hero-video-container:hover > #hero-play-button {
	-webkit-transform: translateY(-0.3em);
	transform: translateY(-0.3em);
}

.hero-video-container:hover > #hero-play-button path {
	fill: rgba(0, 0, 0, 0.5);
}

.bee-screenshot-shadow {
	box-shadow: 0 0.2em 0.8em 0 rgba(50, 50, 50, 0.3);
	border-radius: 0.3em;
}

.bee-screenshot-wide-radius {
	border-radius: 0.6em;
}

.bee-inline-video {
	width: 100%;
	cursor: pointer;
}

@media screen and (max-width: 900px) {
	#bee-hero-video {
		max-width: 90%;
		height: auto;
	}
}

a.hero-button {
	font-size: 2.0em;
	font-weight: var(--strongest-font-weight);
	border-radius: 0.3em;
	border: 0;
	color: #2F2C04;
	width: 7em;
	background: var(--yellow-color);
	/* top right bottom left */
	padding: 0.7em 1em 0.7em 1em;
	text-decoration: none;
	transition: var(--transition-duration);
	display: inline-block;
}

.hero-button-wrapper a:hover {
	-webkit-transform: translateY(-0.15em);
	transform: translateY(-0.15em);
}

a.hero-button:hover {
	box-shadow: 0 0.5em 0.5em -0.4em;
	background: var(--yellow-highlighted-color);
}

a.hero-button:active {
	box-shadow: none;
	-webkit-transform: translateY(0);
	transform: translateY(0);
	background: var(--yellow-color);
}

/* *
 * Responsive hero button table
 * *
 * */

.Rtable {
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	width: 40em;
}

.Rtable-cell {
	box-sizing: border-box;
	flex-grow: 1;
	list-style: none;
	text-align: center;
	margin-bottom: 0.5em;
}

.Rtable-cell--content {
	color: #FFFFFF;
	font-size: 1.3em;
	padding-bottom: 0.1em;
}

.Rtable-cell--head {
	margin-bottom: 1.3em;
}

.Rtable--2cols > .Rtable-cell {
	width: 50%;
}

@media screen and (max-width: 35.5em) {
	.Rtable--collapse  {
		display: block;
	}
	.Rtable-cell {
		width: 100% !important;
	}
	.Rtable-cell--footer {
		margin-bottom: 2em;
	}
}

.Rtable-cell--content a {
	color: #FFFFFF;
	text-decoration: none;
}

.Rtable-cell--content a::after {
	content: "➜";
	color: var(--green-color);
	padding-left: 0.2em;
	transition: var(--transition-duration);
}

.Rtable-cell--content:hover a::after {
	color: var(--yellow-color);
}

/* *
 * Main section
 * *
 * */

/* The maximum width of all elements in the main section of the grid is 980px */
@media (min-width:980px) {
	/* The extra 20px is buffer to allow for the vertical scroll bar */
	.bee-main .content {
		width: 960px;
		margin: 0 auto;
	}
}

.bee-main .content {
	margin-top: 6em;
	margin-bottom: 6em;
	padding-right: 1em;
	padding-left: 1em;
}

.bee-main .small-collapse a {
	text-decoration: none;
	color: var(--blue-link-color);
	font-weight: var(--strongest-font-weight);
	border-bottom: solid 1px transparent;
	transition: var(--transition-duration);
}

.bee-main .small-collapse a:hover {
	border-bottom: solid 1px var(--blue-link-color);
}

.bee-main .first-section .content {
	margin-top: 3em;
	margin-bottom: 6em;
}

@media screen and (max-width: 35.5em) {
	.bee-main .content {
		margin-top: 4em;
		margin-bottom: 4em;
	}

	.bee-main .first-section .content {
		margin-top: 2em;
		margin-bottom: 4em;
	}
}

.bee-main .content-heading {
	margin-top: -1em;
	text-align: left;
	font-size: var(--section-heading-font-size);
	font-weight: var(--strongest-font-weight);
	color: var(--primary-font-color);
}

.bee-main * {
	font-size: var(--section-content-font-size);
	color: var(--primary-font-color);
	line-height: var(--section-content-line-height);
}

.bee-main .content .centered-content {
	margin-top: 2em;
}

p.narrow-centered {
	text-align: center;
	margin-left: 20%;
	margin-right: 20%;
}

@media screen and (max-width: 35.5em) {
	p.narrow-centered {
		margin-left: 0;
		margin-right: 0;
	}
}

.bee-main .half-image {
	/* Give images in the right half some breathing room */
	max-width: 90%;
	margin-left: 10%;
}

.small-collapse p {
	margin-right: 1em;
}

.top-long-margin-collapsed {
	margin-top: 4em;
}

@media screen and (max-width: 35.5em) {
	.pure-g .small-collapse {
		width: 100% !important;
	}
	.small-collapse p {
		margin-right: 0;
	}
	.centered-collapse {
		width: 100%;
		align-items: center;
	}
	.bee-main .half-image {
		max-width: 100%;
		margin-left: 0;
		margin-top: 2em;
	}
	.top-long-margin-collapsed {
		margin-top: 2em;
	}
}

.play-button-text {
	font-weight: var(--strongest-font-weight);
	margin-top: -1.7em;
	margin-left: 2.5em;
	cursor: pointer;
	transition: var(--transition-duration);
}

.play-button {
	margin-top: 1em;
	height: 2em;
	width: 2em;
	background-color: rgba(0, 0, 0, 0.15);
	border-radius: 1em;
	position: relative;
	cursor: pointer;
	transition: var(--transition-duration);
}

.video-control {
	margin-top: 2em;
}

@media screen and (max-width: 35.5em) {
	.video-control {
		margin-top: 3em;
	}
}

.video-control:hover > .play-button {
	background-color: var(--light-blue-color);
	-webkit-transform: translateY(-0.1em);
	transform: translateY(-0.1em);
}

.blue-background .video-control:hover > .play-button {
	background-color: var(--dark-blue-color);
}

.video-control:hover > .play-button-text {
	-webkit-transform: translateY(-0.1em);
	transform: translateY(-0.1em);
}

.video-control:active > .play-button {
	-webkit-transform: translateY(0);
	transform: translateY(0);
}

.video-control:active > .play-button-text {
	-webkit-transform: translateY(0);
	transform: translateY(0);
}

.play-button:after {
	content: "";
	display: block;
	position: absolute;
	top: 0.52em;
	left: 0.65em;
	margin: 0 auto;
	border-style: solid;
	border-width: 0.5em 0 0.5em 0.9em;
	border-color: transparent transparent transparent rgba(255, 255, 255, 1);
}

.features-table td {
	padding-top: 1em;
	padding-bottom: 1em;
}

@media screen and (max-width: 35.5em) {
	.features-table img {
		max-width: 2em;
	}
}

a.client-button {
	text-decoration: none;
}

.client-container strong {
	color: var(--blue-link-color);
}

.client-container {
	transition: var(--transition-duration);
}

.client-container:hover {
	-webkit-transform: translateY(-0.15em);
	transform: translateY(-0.15em);
}

.client-container:active {
	-webkit-transform: translateY(0);
	transform: translateY(0);
}

@media screen and (max-width: 35.5em) {
	.pure-g .client-list-container {
		display: block;
	}
	.client-container {
		margin-bottom: 4em;
	}
}

/* *
 * Section separators
 * *
 * */

section .section-curve {
	width: 100%;
	height: 30px;
	-webkit-transform: scale(1);
	transform: scale(1);
}

@media screen and (max-width: 35.5em) {
	section .section-curve {
		display: none;
	}
}

section .section-curve.white-fg {
	fill: #FFFFFF;
}

section .section-curve.white-bg {
	background-color: #FFFFFF;
}

section .section-curve.yellow-bg {
	background-color: var(--yellow-color);
}

section .section-curve.yellow-fg {
	fill: var(--yellow-color);
}

section .section-curve.light-green-fg {
	fill: var(--light-green-color);
}

section .section-curve.light-green-bg {
	background-color: var(--light-green-color);
}

section .section-curve.orange-fg {
	fill: var(--orange-color);
}

section .section-curve.orange-bg {
	background-color: var(--orange-color);
}

section .section-curve.blue-fg {
	fill: var(--light-blue-color);
}

section .section-curve.blue-bg {
	background-color: var(--light-blue-color);
}

section .section-curve.grey-fg {
	fill: var(--light-grey-background-color);
}

section .section-curve.grey-bg {
	background-color: var(--light-grey-background-color);
}
