/**********************************************************
	General
**********************************************************/

@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500');

body {
	overflow-x: hidden;
}

body, p, h1, h2, h3, h4, h5, h6 {
	font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.btn {
	cursor: pointer;
}

.btn-red {
	background-color: #941616;
	border-color: #941616;
	color: #fff;
}

.btn-red:hover {
	color: #941616;
	background-color: #fff;
}

.btn:focus {
	outline: 0;
	box-shadow: none;
	border-color: #941616;
}

/**********************************************************
	Header
**********************************************************/

.header {
	left: 0;
	top: 0;
	width: 100%;
	transition: background 320ms;
	z-index: 99998;
}

.header.bg-white {
	border-bottom: 0.25rem solid #941616;
}

.header-logo {
	max-width: 45px;
}


/**********************************************************
	Banner
**********************************************************/

.banner {
	background-image: url('../images/bannerimage.jpg');
	background-position: center left;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 100px 0;
}

.banner:after {
	background-color: rgba(148, 22, 22, 0.15);
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 2;
}

.banner-content {
	z-index: 3;
}

.banner-content h1 {
	font-size: 1.8rem;
	transition: font-size 320ms;
}

.banner-form {
	background-color: rgba(148, 22, 22, 0.5);
	border: 1px solid #941616;
	border-radius: 0.25rem;
	max-width: 400px;
}


/**********************************************************
	Totals Section -- Savings Bar
**********************************************************/

.totals {
	padding: 100px 0;
}

.totals-total {
	border-radius: 0.25rem;
	font-size: 1.6rem;
	height: 52px;
	overflow: hidden;
}

.totals-total.is-active #computed-cta {
	display: none;
}

.totals-total #computed-text {
	width: 0;
	top: 0;
	left: 0;
	transition: width 1s;
	overflow: hidden;
}

.totals-total.is-active #computed-text {
	width: 92%;
	padding: 0.5rem;
}

/**********************************************************
	CTA Section -- Computer on right side
**********************************************************/

.cta {
	background-image: linear-gradient(
		#941616 35%, #5f0e0e 85%);
	padding: 60px 0;
}

.pdf-button {
	max-width: 550px;
	border-radius: 10px;
}

.pdf-cta {
	font-size: 1.25rem;
}

.cta-image {
	width: 100%;
}

.cta-image.desktop {
	max-width: 900px;
}

.cta-image.mobile {
	max-width: 640px;
}


/**********************************************************
	Forms
**********************************************************/

.form-label {
	top: 7px;
	left: 13px;
	transition: all 320ms;
	background-color: #fff;
}

.form-label.is-focused {
	top: -22px;
	left: 0px;
	font-size: 0.8rem;
	color: #fff;
	background-color: transparent;
}

.form-label.to-red.is-focused {
	color: #941616;
}

input.form-control:focus {
	outline: none;
	box-shadow: none;
	border-color: #941616;
}


/**********************************************************
	Footer
**********************************************************/

.footer {
	bottom: 0;
	left: 0;
	width: 100%;
	border-top: 0.25rem solid #941616;
	font-size: 0.8rem;
	z-index: 99998;
}

/**********************************************************
	Agent ID Error
**********************************************************/

#agent-id-error {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.75);
	opacity: 0;
	z-index: -1;
	transition: opacity 320ms;
}

#agent-id-error.is-active {
	opacity: 1;
	z-index: 99999;
}

#agent-id-error:not(.is-active) .aie-content {
	transform: scale(0.5);
}

.aie-inner {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.aie-content {
	border-radius: 10px;
	transition: transform 320ms;
}

.aie-content h4 {
	color: #941616;
	font-size: 1.2rem;
}

/**********************************************************
	Loading Animation
**********************************************************/

.loading-animation svg {
  animation: loadin 1.2s infinite linear;
}

@keyframes loadin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


/**********************************************************
	Utilities
**********************************************************/

/* Backgrounds Colors */
.bg-red { background-color: #941616; }
.bg-white { background-color: #fff; }
.bg-dark-grey { background-color: #616161; }
.bg-black { background-color: #333; }

/* Text Helpers */
.text-red { color: #941616; }
.text-grey { color: #a4a4a4; }
.text-dark-grey { color: #616161; }
.text-black { color: #333 !important; }

.text-big { font-size: 1.2rem; }
.text-small { font-size: 0.75rem; }

.text-underline { border-bottom: 2px solid transparent; line-height: 1.2; }
.text-underline.red { border-color: #941616; }

/* Spacing */
.content-spacer { height: 0.25rem; }


/**********************************************************
	Responsive
**********************************************************/

@media screen and (min-width: 768px) {
	.banner-content h1 { font-size: 2rem; }
	.text-big { font-size: 1.5rem; }
	.cta-content { padding-bottom: 120px; }
	.pdf-cta { font-size: 1.8rem; }
	.footer { position: fixed; }
}

@media screen and (min-width: 992px) {
	.banner-content h1 { font-size: 2.5rem; }
	.banner { padding: 120px 0 150px 0; }
	.text-big { font-size: 2rem; }
	.footer { font-size: 0.9rem; }
	.header-logo { max-width: 60px; }
}

@media screen and (min-width: 1200px) {
	.banner-content h1 { font-size: 3rem; }
	.banner { padding: 150px 0 200px 0; }
}

@media screen and (min-width: 1600px) {
	.banner { padding: 200px 0 250px 0; }
}