/*********************************
Footer & Newsletter (global)
*********************************/

.newsletter,
footer.footer
{
	background: #2b2b2b;
	color: #ffffff;
}

.newsletter
{
	margin-top: 0;
	padding: 50px 0 40px;
}

.newsletter_content
{
	text-align: left;
	max-width: 640px;
	margin: 0;
}

.newsletter_content h4,
.newsletter_text h4
{
	color: #ffffff;
	margin-bottom: 10px;
}

.newsletter_content p,
.newsletter_text p
{
	color: #ffffff;
	margin-bottom: 24px;
	line-height: 1.7;
}

.newsletter_text
{
	height: auto;
}

.newsletter_form
{
	height: auto;
	margin-top: 0;
	margin-bottom: 0;
	justify-content: flex-start;
}

footer.footer
{
	padding: 30px 0 40px;
}

.footer_nav_container,
.footer_social
{
	height: auto;
}

.cr,
.cr a,
.footer_nav li a,
.footer_social ul li a
{
	color: #ffffff;
}
.cr a
{
	text-decoration: underline;
}
.cr a:hover
{
	color: #fe4c50;
}

/* Reset the default browser list spacing so icons align cleanly */
.footer_social ul
{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Round circle around every social icon */
.footer_social ul li a
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: solid 1px #ffffff;
	border-radius: 50%;
	font-size: 16px;
	line-height: 1;
}

.footer_social ul li:last-child a
{
	padding-right: 0;
}

.footer_social ul li a:hover
{
	color: #ffffff;
	background: #fe4c50;
	border-color: #fe4c50;
}

.footer_nav li a:hover
{
	color: #fe4c50;
}

/* Email field + Subscribe button side by side (bordered input, attached button) */
.newsletter_form
{
	width: 100%;
	max-width: 460px;
	height: auto;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	flex-direction: row;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-box-align: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
}

#newsletter_email
{
	-webkit-box-flex: 1;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	height: 48px;
	margin: 0;
	background: #ffffff;
	border: solid 1px #d9d9d9;
	border-right: none;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.newsletter_submit_btn
{
	-webkit-box-flex: 0;
	-ms-flex: 0 0 auto;
	flex: 0 0 auto;
	width: auto;
	height: 48px;
	margin: 0;
	padding: 0 26px;
	line-height: 1;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.newsletter_messages
{
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
}

.newsletter_messages li
{
	font-size: 14px;
	margin-bottom: 4px;
}

.newsletter_messages li.success
{
	color: #4caf50;
}

.newsletter_messages li.error
{
	color: #ff6b6b;
}

.newsletter_messages li.info
{
	color: #ffffff;
}

@media only screen and (max-width: 991px)
{
	.newsletter
	{
		margin-top: 0;
		padding: 40px 0 30px;
	}

	.newsletter_form
	{
		margin-top: 0;
	}

	/* Keep the footer side-by-side (compressed) like the desktop layout */
	footer.footer .row
	{
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
	}

	footer.footer .col-lg-6
	{
		min-width: 0;
	}

	/* Copyright takes the space it needs; social hugs the right edge */
	footer.footer .col-lg-6:first-child
	{
		-webkit-box-flex: 1;
		-ms-flex: 1 1 auto;
		flex: 1 1 auto;
		width: auto;
		max-width: none;
	}

	footer.footer .col-lg-6:last-child
	{
		-webkit-box-flex: 0;
		-ms-flex: 0 0 auto;
		flex: 0 0 auto;
		width: auto;
		max-width: none;
	}

	footer.footer .footer_nav_container
	{
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-ms-flex-direction: row;
		flex-direction: row !important;
		-webkit-box-pack: start;
		-ms-flex-pack: start;
		justify-content: flex-start !important;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center !important;
		text-align: left;
		margin-top: 0;
	}

	footer.footer .cr
	{
		margin-bottom: 0;
		margin-right: 0;
		line-height: 1.4;
		white-space: nowrap;
	}

	footer.footer .footer_social
	{
		justify-content: flex-end !important;
		margin-top: 0;
		margin-bottom: 0;
	}
}

@media only screen and (max-width: 575px)
{
	.newsletter_content p
	{
		font-size: 13px;
		margin-bottom: 20px;
	}

	.newsletter_form
	{
		width: 100%;
		max-width: 100%;
	}

	footer.footer .cr
	{
		font-size: 11px;
	}

	footer.footer .footer_social ul li
	{
		margin-right: 6px;
	}

	footer.footer .footer_social ul li a
	{
		width: 32px;
		height: 32px;
		padding: 0;
		font-size: 14px;
	}
}

@media only screen and (max-width: 400px)
{
	footer.footer .cr
	{
		font-size: 10px;
	}

	footer.footer .footer_social ul li
	{
		margin-right: 5px;
	}

	footer.footer .footer_social ul li a
	{
		width: 28px;
		height: 28px;
		padding: 0;
		font-size: 13px;
	}
}
