/* ----- metrics variables ----- */
:root {
	--bs-border-radius-sm: 3px; /* pointy round, really */
	--bs-btn-border-radius-sm: 3px; /* pointy round, really */
	--bs-border-radius: 3px; /* pointy round, really */
	--bs-btn-border-radius: 3px; /* pointy round, really */
	--bs-border-radius-lg: 3px; /* pointy round, really */
	--bs-btn-border-radius-lg: 3px; /* pointy round, really */
	
	--q1-input-radius: 3px; /* border radius of ZIP Code and Get Started input group */
	--ae-grade-h-a: 9px; /* height of ae-grade option a */
	--ae-grade-h-b: 9px; /* height of ae-grade option b */
	--ae-grade-h-c: 4px; /* height of ae-grade option c */
	--ae-grade-h-d: 2px; /* height of ae-grade option d */
}
@media (min-width: 576px) { :root { --ae-grade-h-b: 10px; } }
@media (min-width: 768px) { :root { --ae-grade-h-b: 12px; } }
@media (min-width: 992px) { :root { --ae-grade-h-b: 14px; } }

@media (min-width: 400px) {
	.d-xs-inline { display: inline!important; }
	.px-xs-5 {
		padding-right: 3rem!important;
		padding-left: 3rem!important;
	}
}

body { font-family: OpenSans, Helvetica, Arial, sans-serif; }

h1, h2, h3, h4, h5, h6 {
	font-family: Energy, Helvetica, Arial, sans-serif;
	font-weight: normal;
}

p {
	color: var(--ae-grey-alt);
	font-size: 18px;
	line-height: 1.35;
}

a { color: var(--ae-cta-normal); }
a:active { color: var(--ae-cta-pressed); }

.warning {
	background: var(--ae-bg-warning);
	padding: 20px 0;
}
.warning, .warning p { color: white; }
.warning .button {
	background: white;
	border-radius: var(--bs-border-radius);
	color: black;
	padding: 10px 20px;
	text-decoration: none;
}

#header-nav-top,
.bg-ambit-dark {
	background: var(--ae-bg-bar-a);
}
#header-nav-top a {
	border-right: 1px solid white;
	color: white;
	display: inline-block;
	margin: 10px 0;
	padding: 5px 20px;
	text-decoration: none;
	min-width: 40px;
}
#header-nav-top a:first-child {
	border-left: 1px solid white;
}

#header-nav-primary {
	padding: 20px 0;
	position: relative;
}
#header-nav-primary .logo {
	background: url(/rsrc/img/2024/ae-logo.svg) 0 0 no-repeat;
	width: 215px;
	height: 38px;
	display: block;
	text-indent: -9999px;
}
#site-alert {
	background: var(--ae-bg-alert);
	border-radius: 0;
	color: white;
	margin: 0;
}

#site-alert a {
	color: white;
}

#site-alert h4 {
	margin: 0;
}

#site-alert p {
	margin: 0.5em 0 0;
	color: #FFFFFF;
}
/* ----- Breakpoint: XXL 1400 ----- */

@media (min-width: 1400px) {
	#header-nav-primary .btn {
 		font-size: 1.35rem;
	}
	#header-nav-top a { padding-left: 30px; padding-right: 30px; }
	#header-nav-primary {
		padding: 26px 0;
		position: relative;
	}
	#header-nav-primary .logo {
		width: 400px;
		height: 51px;
	}
}

.bill-copy { font-size: 0.875rem; margin-bottom: 2rem; }
.bill-links { line-height: 1.6; }
.btn.btn-quick-pay { font-size: 0.875rem; }
@media (min-width: 768px) {
	.bill-copy, .bill-subhead { padding-left: 1.25em; padding-right: 1.25em; }
	.btn.btn-quick-pay { margin-left: 1.25em; }
}

.ae-head { color: var(--ae-head); }
.ae-subhead { color: var(--ae-grey-alt); font-weight: 300; }
@media (min-width: 576px) { .ae-head-bill-size { font-size: 28px; } }
.bill-subhead { font-size: 1rem; /* 1.1rem; */ font-weight: 400; margin-bottom: 1.5rem; }

.ae-grade { position: relative; }
.ae-grade:after {
	background: linear-gradient(to right, var(--ae-bg-bar-b-start), var(--ae-bg-bar-b-end));
	bottom: 0;
	content: "";
	left: 0;
	position: absolute;
	right: 0;
}
.ae-grade.ae-grade-a:after { height: var(--ae-grade-h-a); }
.ae-grade.ae-grade-b:after { height: var(--ae-grade-h-b); }
.ae-grade.ae-grade-d:after { height: var(--ae-grade-h-d); }
.ae-grade-lg:after, .ae-grade-md:after { content: none; }
@media (min-width: 768px) {
	.ae-grade-md:after { content: ""; }
}
@media (min-width: 992px) {
.ae-grade.ae-grade-a:after { height: var(--ae-grade-h-c); }
	.ae-grade-lg:after { content: ""; }
	.ae-grade-lg-none:after { content: none; } /* .ae-bar replaced with .ae-grade-lg-none */
}

.ae-divider {
	background-color: var(--ae-bg-divider);
	margin: 30px auto;
	height: 1px;
}
.ae-divider.home-divider { margin: 10px auto; }
@media (min-width: 576px) {
	.rule-left-sm { border-left: 1px solid var(--ae-rule); }
}
@media (min-width: 992px) {
	.rule-left-lg { border-left: 1px solid var(--ae-rule); }
}

#header-nav-primary .white-logo {
	background: url(/rsrc/img/2024/ae-logo-r.svg) 0 0 no-repeat;
	width: 180px;
	height: 38px;
	display: block;
	text-indent: -9999px;
}
#header-nav-primary .btn {
	padding-left: 40px;
	padding-right: 40px;
}
#header-nav-primary .btn[href^=tel] {
	font-family: OpenSans, Helvetica, Arial, sans-serif;
	font-size: 18px;
}

#cservice a,
#cservice a:link,
#cservice a:visited #cservice a:active,
#cservice .show,
#cservice .navbar-nav .nav-link.show {
	color: #636466 !important;
}
#cservice {
	font-size: 18px;
	background-color: #ffffff !important;
	font-weight: 500;
}

.dropdown-custompadding {
	padding-right: 1.2rem !important;
	padding-left: 3rem !important;
}

#navbarNavDropdown {
	background: white;
	border-bottom: 1px solid #eee;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* custom mobile nav */
.mobile-dropdown {
	background-color: #f2f2f2 !important;
	padding-left: 0;
}

.mobile-dropdown li {
	padding-left: 10px;
	background: transparent;
}

.mobile-dropdown a,
.mobile-dropdown a:link,
.mobile-dropdown a:visited {
	font-size: 18px;
	color: #636466;
	padding: 9px 0 9px 2.5rem;
	background: transparent;
}

.mobile-dropdown li { list-style: none; }
.mobile-dropdown li:last-of-type {
	padding-bottom: 20px;
}

#mobile-dropdownsub .navbar-nav {
	transition: .25s ease-in-out;
}

.navbar-toggler {
	width: 20px;
	height: 20px;
	position: relative;
	margin-right: 5px;
	transition: .5 ease-in-out;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
	outline: none;
	box-shadow: none;
	border: 0;
}

.navbar-toggler span {
	margin: 0;
	padding: 0;
}

.toggler-icon {
	display: block;
	position: absolute;
	height: 3px;
	width: 100%;
	background: #ffffff;
	border-radius: 1px;
	opacity: 1;
	left: 0;
	transform: rotate(0deg);
	transition: .25s ease-in-out;
}

.middle-bar { margin-top: 0; }

/* when navigation is clicked */
.navbar-toggler .top-bar {
	margin-top: 0px;
	transform: rotate(135deg);
}

.navbar-toggler .middle-bar {
	opacity: 0;
	filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
	margin-top: 0px;
	transform: rotate(-135deg);
}

/* when navbar is collapsed */
.navbar-toggler.collapsed .top-bar {
	margin-top: -20px;
	transform: rotate(0deg);
}

.navbar-toggler.collapsed .middle-bar {
	opacity: 1;
	filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
	margin-top: 20px;
	transform: rotate(0deg);
}

.lang-mobile a { color: white; }

.ae-dropdown {
	display: inline-block;
	position: relative;
	margin-right: 35px;
}
.ae-dropdown:lang(es) {
	margin-right: 20px;
}

.ae-dropdown .btn:active,
.ae-dropdown .btn.show,
.ae-dropdown .btn:active.show {
	border: 1px solid transparent;
}
#header-nav-primary .ae-dropdown .btn {
	padding-left: 5px;
	padding-right: 5px;
}
#header-nav-primary .ae-dropdown .btn:lang(es) {
	padding-left: 20px;
	padding-right: 20px;
}

.ae-dropdown .dropdown-menu {
	border-radius: 0;
	border: none;
	box-shadow: 0 9px 6px rgba(0, 0, 0, 0.25);
	padding: 0;
	width: 100%;
}

.ae-dropdown .dropdown-menu:before {
	background: linear-gradient(to right, var(--ae-bg-bar-b-start), var(--ae-bg-bar-b-end));
	content: " ";
	height: 4px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}
.ae-dropdown .dropdown-toggle::after {
	display: none !important;
}

.ae-dropdown .dropdown-item {
	border-top: 1px solid #b7b7b7;
	color: var(--ae-grey-alt);
	font-family: Energy, Helvetica, Aria, sans-serif;
	font-size: 1.15rem;
	padding: 10px 0;
	text-align: center;
}

.ae-dropdown .dropdown-item:active {
	background-color: var(--ae-cta-pressed);
	color: white;
}

.btn-ae,
.btn-ae.show {
	color: var(--ae-cta-normal);
	font-family: EnergySoft, Helvetica, Arial, sans-serif;
	padding-left: 40px;
	padding-right: 40px;
}

.btn-ae:hover,
.btn-ae.show:hover {
	color: var(--ae-cta-normal) !important;
}

.btn-ae:active,
.btn-ae.show:active,
.btn-ae:first-child:active {
	color: var(--ae-cta-pressed);
}

.btn-ae-primary {
	background: var(--ae-cta-normal);
	border-color: var(--ae-cta-normal);
	border-width: 2px;
	color: white;
	font-family: OpenSans, Helvetica, Arial, sans-serif;
}

.btn-ae-primary:hover {
	background: var(--ae-cta-normal);
	color: white;
}

.btn-ae-primary:active, .btn-ae-primary:first-child:active,
:not(.btn-check) + .btn-ae-primary:active {
	background-color: var(--ae-cta-pressed);
	border-color: var(--ae-cta-pressed);
	color: white;
}

.btn-ae-std {
	background: var(--ae-cta-normal);
	border: 1px solid var(--ae-cta-normal);
	color: white;
	font-family: OpenSans, Helvetica, Arial, sans-serif;
	font-size: 18px;
	padding: 0.5em 2.4em;
}
@media (min-width: 1400px) { .btn.btn-ae-std { font-size: 18px; } }
.btn-ae-std:hover {
	background: var(--ae-cta-normal);
	border: 1px solid var(--ae-cta-normal);
	color: white;
}
:not(.btn-check)+.btn-ae-std:active, .btn-ae-std:first-child:active {
	background-color: var(--ae-cta-pressed);
	border-color: var(--ae-cta-pressed);
	color: white;
}
.btn-ae-std-outline {
	background: white;
	border: 2px solid var(--ae-cta-normal);
	color: var(--ae-cta-normal);
	font-family: OpenSans, Helvetica, Arial, sans-serif;
	font-size: 18px;
	padding: 0.4em 2.4em;
}
.btn-ae-std-outline:hover {
	background: #eee;
	border: 2px solid var(--ae-cta-normal);
	color: var(--ae-cta-normal);
}
:not(.btn-check)+.btn-ae-std-outline:active, .btn-ae-std-outline:first-child:active {
	background-color: #eee;
	border-color: var(--ae-cta-pressed);
	background-color: var(--ae-cta-pressed);
}

.btn-outline-ae,
.btn-outline-ae:hover {
	border: 2px solid var(--ae-cta-normal);
	color: var(--ae-cta-normal);
	font-family: EnergySoft, Helvetica, Arial, sans-serif;
}
.btn-outline-ae:hover, .btn-outline-ae:active, :not(.btn-check)+.btn-outline-ae:active { background-color: #eee; }
.btn-outline-ae:active,
:not(.btn-check)+.btn-outline-ae:active {
	border-color: var(--ae-cta-pressed);
	color: var(--ae-cta-pressed);
}

.site-feature {
	background-position: bottom center;
	background-repeat: no-repeat;
	background-size: 100%;
	height: 512px;
	max-height: 631px;
	position: relative;
}

#pay-your-bill-feature {
	background-image: url(/rsrc/img/2024/pay-your-bill-default-reversed.png);
	background-size: 110%;
	background-position: top center, top right;
	height: auto;
}

/* ----- Breakpoint: SM 0576 ----- */

@media (min-width: 576px) {
	.site-feature {
		background-size: cover;
		background-position: center;
		height: 800px;
	}
}

/* ----- Breakpoint: MD 0768 ----- */

@media (min-width: 768px) {
	.site-feature {
		background-color: white;
		background-repeat: no-repeat;
		background-size: auto 100%;
		height: 500px;
		position: relative;
	}

	#pay-your-bill-feature {
		background-image: url(/rsrc/img/2024/pay-your-bill-md-reversed.jpg);
		background-size: cover;
		background-position: center 25%;
		height: 480px;
	}
}

.login-wrapper .redtext {
	color: var(--ae-error);
	margin-top: 10px;
}

#footer {
	background: #f0f0f0;
	padding: 30px 0;
}

#footer a {
	text-decoration: none;
	color: inherit;
}
#footer h5 { font-size: 1.25rem; }
#footer h5, #footer p { color: var(--ae-grey-alt); }
#footer p { font-size: 16px; line-height: 1.5em; }
#footer .footer-licensed { font-size: 14px; }
