/* Base
----------------------------------------------------------------------------------------------------*/
/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */
/*
 * Style Style Sheet - Defines the main look like colors and backgrounds
 * Not all style related CSS is included, only colors and backgrounds which may change for different theme styles
 */
@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600&display=swap");

.box-shadow {
  -webkit-box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.75);
  -moz-box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.75);
  box-shadow: 1px 1px 5px 0px rgba(50, 50, 50, 0.75);
}
/* Base
----------------------------------------------------------------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #022e44;
}
a {
  color: #6386E2;
}
a:hover {
  color: #8E1717;
}
/* Content CSS
----------------------------------------------------------------------------------------------------*/
.remove-top-margin {
  margin-top: 0px;
}
.remove-bottom-margin {
  margin-bottom: 0px;
}
.alternate-list-margins {
  margin-top: 3px;
  margin-left: 25px;
}
.box-content {
  background: #a1a5b2;
  padding: 0 10px;
  color: #000;
}
p.content-50 {
  width: 47%;
  display: inline-block;
  margin-right: 1%;
}
.sublist-margins {
  margin-top: 3px;
  margin-left: 10px;
}
.content-33 {
  width: 31%;
  display: inline-block;
  margin-right: 1%;
}
.second-level-list {
  margin: 0;
  padding-left: 20px;
}
table {
  width: 100%;
}
table th {
  background: #4e84cd;
  text-align: left;
  padding: 8px;
  color: #f9f9f9;
  font-size: 17px;
  line-height: 17px;
}
table tr {
  border: 1px solid #4e84cd;
}
table td {
  padding: 8px 8px 8px 25px;
}
.coupon {
  width: 65%;
  max-width: 458px;
  margin-right: 2%;
  float: left;
}
.coupon-top-section {
  background: #4f84c4;
  padding: 8px 8px 0;
}
.coupon-bottom-section {
  background: #91bbe4;
  padding: 0 8px 8px;
}
.coupon h3 {
  color: #f5f2f2;
  text-align: center;
  font-size: 20px;
  line-height: 25px;
  font-weight: 300;
  margin: 0;
  padding: 10px;
  border-top: 3px dashed #266093;
  border-left: 3px dashed #266093;
  border-right: 3px dashed #266093;
}
.coupon-bottom-section .coupon-content-wrapper {
  padding: 15px;
  border-bottom: 3px dashed #266093;
  border-left: 3px dashed #266093;
  border-right: 3px dashed #266093;
}
.coupon-bottom-section .percentage-section,
.coupon-bottom-section .description-section {
  margin: 0;
  color: #f5f2f2;
  font-weight: 300;
}
.coupon-bottom-section .percentage-section {
  font-size: 100px;
  line-height: 100px;
  float: left;
  width: 50%;
}
.coupon-bottom-section .description-section {
  width: 48%;
  float: right;
  font-size: 11px;
  line-height: 14px;
}
/* Layout
----------------------------------------------------------------------------------------------------*/
body {
  background: #fff;
  border-top: 25px solid #a0a5b2;
  color: #05202d;
}
/* Menus - Mega Drop-Down Menu
----------------------------------------------------------------------------------------------------*/
/* Level 1 */
.menu-dropdown a.level1,
.menu-dropdown span.level1 {
  color: #3c3d3f;
}
/* Level 2-3 */
.menu-dropdown a.level2,
.menu-dropdown span.level2,
.menu-dropdown a.level3 {
  color: #fff;
}
/* Menu + Module */
.menu-dropdown .module a {
  color: #8699a9;
}
/* Menus - Sidebar/Accordion Menu
----------------------------------------------------------------------------------------------------*/
/* Link */
.menu-sidebar a,
.menu-sidebar li > span,
.menu-sidebar a.level2 {
  color: #646464;
}
/* Social Menu List
----------------------------------------------------------------------------------------------------*/
.social-menu-list {
  list-style-type: none;
  padding-left: 0;
  float: right;
}
.social-menu-list li {
  float: left;
  margin-left: 15px;
}
.facebook-icon,
.twitter-icon,
.linkedin-icon {
  display: inline-block;
  height: 32px;
  width: 32px;
  background: url('../images/social-inactive.png') 0 0 no-repeat;
}
.facebook-icon {
  background-position: 0 0;
}
.twitter-icon {
  background-position: 0 -33px;
}
.linkedin-icon {
  background-position: 0 -66px;
}
.facebook-icon:hover,
.twitter-icon:hover,
.linkedin-icon:hover {
  background: url('../images/social-active.png') 0 0 no-repeat;
}
.facebook-icon:hover {
  background-position: 0 0;
}
.twitter-icon:hover {
  background-position: 0 -33px;
}
.linkedin-icon:hover {
  background-position: 0 -66px;
}
/* Modules
----------------------------------------------------------------------------------------------------*/
/* Transparent */
.mod-box-transparent1 {
  background-image: url(../../../images/module_box_transparent1.png);
}
.mod-box-transparent2 {
  background-image: url(../../../images/module_box_transparent2.png);
}
.system-white #footer {
  color: #8699a9;
}
#top-a .module .module-title {
  color: #022e44;
  font-family: 'Raleway', sans-serif;
  font-size: 23px;
  line-height: 30px;
  font-weight: 300;
  margin: 35px 0 5px;
}
/* Header */
.float-right, .float-left {
  text-align: right;
  max-width: 57%;
}
.ribbon {
  top: -37px;
}
/*#toolbar .float-right .call-to-action.module {
  margin-top: 30px;
}*/
.float-right p, .float-left p, .location{
  color: #464646;
  margin: 0;
  font-family: 'Merriweather Sans', sans-serif;
  font-weight: 700;
  font-size: 23px;
  line-height: 26px;
}

.location-phone {
	font-family: 'Merriweather Sans', sans-serif;
	position: absolute;
    right: 0;
    top: 41px;
}
	
.float-right .phone-number,
.float-right .phone-number a, .float-left .phone-number, .float-left .phone-number a, .location-phone, .location-phone a {
  color: #6888d9;
  font-weight: 400;
  font-size: 40px;
}

.float-right .phone-number, .float-left .phone-number {
	
	margin: 9px 0;
	
}
/* top-a */
#top-a h3 {
  margin: 10px 0 0;
  color: #fdeec0;
  line-height: 20px;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 15px;
}
#top-a a {
  font-size: 12px;
  line-height: 15px;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
}
#top-a p {
  margin: 0;
  color: #022e44;
  font-size: 12px;
  line-height: 15px;
}
#top-b h2 {
  font-size: 28px;
  line-height: 35px;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  text-align: center;
  color: #3c3d3f;
  margin: 0;
}
/* Mini Features */
#mini-feature h3,
#mini-feature p {
  font-family: 'Raleway', sans-serif;
}
#mini-feature h3 {
  color: #3c3d3f;
  font-size: 23px;
  line-height: 28px;
  font-weight: 600;
  margin: 5px 0 0;
}
#mini-feature .feature-wrapper {
  padding: 0 10px;
  position: absolute;
  top: 18px;
  width: 100%;
  box-sizing: border-box;
}
#mini-feature .learn-more-button, #sidebar-b .gform_wrapper .gform_footer button,
#sidebar-b .gform_wrapper .gform_footer input[type='button'],
#sidebar-b .gform_wrapper .gform_footer input[type='submit']  {
  margin-top: 15px;
  display: inline-block;
  background: #3c3d3f;
}
#mini-feature .learn-more-wrapper {
  position: absolute;
  top: 0;
  left: 241px;
  margin-top: -18px;
}
#mini-feature .learn-more-button a, #sidebar-b .gform_wrapper .gform_footer button,
#sidebar-b .gform_wrapper .gform_footer input[type='button'],
#sidebar-b .gform_wrapper .gform_footer input[type='submit'] {
  color: #ffffff;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 22px;
  text-decoration: none;
  padding: 10px 10px;
  display: inline-block;
  text-transform: uppercase;
}
#mini-feature .right-triangle {
  width: 0;
  height: 0;
  border-top: 22px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 11px solid #3c3d3f;
  display: inline-block;
  position: absolute;
  margin-top: 15px;
}
#mini-feature .learn-more-wrapper:hover .learn-more-button, #sidebar-b .gform_wrapper .gform_footer button:hover,
#sidebar-b .gform_wrapper .gform_footer input[type='button']:hover,
#sidebar-b .gform_wrapper .gform_footer input[type='submit']:hover {
  background: #6888d9;
}
#mini-feature .learn-more-wrapper:hover .right-triangle {
  border-left: 11px solid #6888d9;
}
/* Content */
.home #main {
  padding: 10px 0 30px;
}
#main {
  margin: 0 10px;
  padding: 0 0 30px;
}
.home #main #maininner {
  padding-top: 0;
}
#main #maininner {
  padding-top: 10px;
}
#system .title {
  border-bottom: 1px solid #022e44;
  padding-bottom: 10px;
}

.col-1, .col-2, .col-3 {
vertical-align: top;
}
/* Sidebar */
#sidebar-a .grid-box:first-child .module {
  background: #f7eecb;
  margin: 0 10px 0 0;
}
#sidebar-a .module-title,
#sidebar-b .module-title {
  text-align: center;
  font-size: 23px;
  font-weight: 400;
}
.affiliations-list {
  padding-left: 0;
  list-style-type: none;
  margin: 10px 0 0;
}
.affiliations-list li {
  width: 16%;
  float: left;
  text-align: center;
}
/* Bottom Section */
.affiliates {
  background-color: rgba(104, 136, 217, 0.1);
  padding: 42px 0;
}
#bottom-b {
  padding-top: 10px;
}
#bottom-b .module {
  min-height: 136px;
}
#bottom-b .module .module-title {
  color: #fff;
  font-weight: 500;
  font-size: 24px;
  line-height: 30px;
}
#bottom-b p {
  color: #a1a5b2;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  margin: 0;
}


#bottom-b p.footer-phone, #bottom-b p.footer-phone a {
    color: #f00;
    font-size: 40px;
    margin-top: 9px;
}
#bottom-b .credentials {
  text-align: right;
}
/* Footer */
.bottom-b-wrapper {
  margin-top: 20px;
  background: #3c3d3f;
  border-top: 14px solid #a1a5b2;
}
.footer-wrapper {
  background: #a1a5b2;
}
#footer {
  margin: 10px;
}
.copy {
  font-family: 'Open Sans', sans-serif;
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  margin-top: 10px;
}
/* Tools
----------------------------------------------------------------------------------------------------*/
/* Zebra List and Table */
.mod-plain ul.line > li {
  border-bottom-color: #bfdce3;
}
table.zebra caption {
  color: #A0C5CF;
}
.mod-box-color ul.zebra > li.odd,
.mod-box-color table.zebra tbody tr.odd {
  background: #D3EBF8;
  background: rgba(255, 255, 255, 0.2);
}
/* Boxes */
.box-note,
.box-info,
.box-warning,
.box-hint,
.box-download,
.box-content {
  border-color: #DDEAEE;
}
/* Forms (Needed for System Markup) */
form.style input:focus,
form.style select:focus,
form.style textarea:focus {
  border-color: #2697d1;
}
/* System
----------------------------------------------------------------------------------------------------*/
/* Drop-Down Results */
.searchbox .results li.results-header {
  color: #b0c1d3;
}
/* Breadcrumbs */
.breadcrumbs {
  background: #d6eff5;
  background: url(../../../images/module_box_transparent1.png) 0 0 repeat;
}
/* Author */
#system .author-box {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.3);
}
#system .author-box .avatar {
  border-color: #fff;
}
/* Comments */
#system #comments .comment-head,
#system #comments .comment-byadmin .comment-head,
.comments-list > article {
  border-color: #fff;
}
#system #comments .comment-byadmin .comment-head {
  background: rgba(255, 255, 255, 0.3);
}
/* Item
----------------------------------------------------------------------------------------------------*/
.isblog #system .item,
.isblog #system > .title,
.noblog #content {
  padding: 0px;
  background: none;
}
/* Widgetkit Gallery
----------------------------------------------------------------------------------------------------*/
.wk-gallery-glass li {
  background: url(../../../images/module_box_transparent2.png) 0 0 repeat;
}
/* GravityForms
----------------------------------------------------------------------------------------------------*/
#sidebar-a .gform_wrapper .top_label input.large,
#sidebar-a .gform_wrapper .top_label select.large,
#sidebar-a .gform_wrapper .top_label textarea.textarea {
  width: 96%;
  margin: 0 0 8px;
  border: none;
  padding: 5px 5px 5px 10px;
  font-size: 15px;
  line-height: 18px;
  font-weight: 300;
  font-family: 'Raleway', sans-serif;
  background: #FFF;
  background: rgba(255, 255, 255, 0.4);
}
#sidebar-a .gform_wrapper textarea.large {
  height: 80px;
}
::-webkit-input-placeholder {
  color: #022e44;
  font-style: italic;
}
:-moz-placeholder {
  /* Firefox 18- */
  color: #022e44;
  font-style: italic;
}
::-moz-placeholder {
  /* Firefox 19+ */
  color: #022e44;
  font-style: italic;
}
:-ms-input-placeholder {
  color: #022e44 !important;
  font-style: italic !important;
}
#sidebar-a .gform_wrapper .gform_footer {
  margin: 0;
  padding: 0;
  text-align: center;
}

#sidebar-b .gform_wrapper .top_label input.large,
#sidebar-b .gform_wrapper .top_label select.large,
#sidebar-b .gform_wrapper .top_label textarea.textarea,
#sidebar-b .gform_wrapper .simple_captcha_medium input {
  width: 100%;
  margin: 0 0 8px;
  border: none;
  padding: 5px 5px 5px 10px;
  font-size: 15px;
  line-height: 18px;
  font-weight: 400;
  font-family: 'Raleway', sans-serif;
  background: #f1f4fb;
  box-sizing: border-box;
}
li#field_3_5 {
	background: #f1f4fb;
	padding: 5px 5px 5px 10px;
	box-sizing: border-box;
}
.gform_wrapper .top_label li#field_3_5 input.medium {
	width: 100%;
}
#sidebar-b .gform_wrapper textarea.large {
  height: 80px;
}
#sidebar-b .gform_wrapper .gform_footer {
  margin: 0;
  padding: 0;
  text-align: center;
}
#sidebar-b .gform_wrapper .gform_footer button,
#sidebar-b .gform_wrapper .gform_footer input[type='button'],
#sidebar-b .gform_wrapper .gform_footer input[type='submit'] {
  padding: 8px 30px;
  border: none;
  margin-top:0;
}
.gfield_captcha_container {
  text-align: center;
}

	.col-1 {
	display: inline-block;
	width: 200px;
	}

	.col-2 {
	display: inline-block;
	width: 200px;
	}

	.col-3 {
	display: inline-block;
	width: 200px;
	}
	
	
/** CUSTOM CODE FOR MAJOR CHANGES ON WEBSITE. DO NOT CHANGE **/



.float-left, #toolbar .float-left .module, #toolbar .float-left > time {
    float: right;
}

#toolbar .float-left .module, #toolbar .float-left > time {
	margin: 0 0 0 15px;
}

.location-spacing {
    margin-top: 35px;
}

.location {
    left: 0;
    position: absolute;
}

.location-phone {
	font-family: 'Merriweather Sans', sans-serif;
	position: absolute;
    right: 0;
    top: 40px;
}

#toolbar .float-left .module.truck, #toolbar .float-right .module.truck{
    margin-top: -108px;
}

.serving {
	color: #464646;
    font-family: "Merriweather Sans",sans-serif;
    font-size: 16px;
    font-weight: 700;
}


.coupon-container {
    border: 2px solid #464646;
    max-width:262px;
    margin:5px;
    display:inline-block;
    padding:3px;
    vertical-align: top;
}
.mycoupon {
max-width: 230px;
margin: 0px;
display: inline-block;
}
.mycoupon:hover{
cursor:pointer;
}


.percent-amount, .text1, .text2 {

	font-family: "Oswald", sans-serif;
	font-weight: 800;

}
.percent-amount {
    font-size: 40px;
    text-transform: uppercase;
	color: #7291e2;
	text-shadow: 0px 2px 2px rgba(150, 150, 150, 1);
	line-height:40px;
}
.text1 {
    color: #464646;
    font-size: 18px;
}
.text2 {
    color: #808080;
    font-size: 18px;
    font-weight: 400;
}

.spacing, .text1, .text2, .percent-amount {
    padding: 8px 15px;
}

.coupon-container img:nth-child(1) {
    margin-bottom: -20px;
}

.coupon-container img:nth-child(2) {
    margin-bottom: 5px;
}

.mod-box-color {
background: #F1F4FB;
}

.mod-box-color a {
color: #6386E2;
}

.mod-box-color a:hover {
color: #8E1717;
}

.module.mod-box-color {
color: #3C3D3F;
}

.mod-box-color .module-title {
color: #3C3D3F;
}

body .gform_wrapper select {
font-size: 15px;
}

#mini-feature .grid-box:hover .module {
  margin: 0;
}

#mini-feature .module img {
  width: 100%;
  height: 100%;
}
/** END OF CUSTOM CODE FOR MAJOR CHANGES **/
section#bottom-a {
    display: none;
}
#bottom-b .module .module-title {
    display: none;
}
.bottom-b-wrapper {
    margin-top: 0;
    background: none;
    border-top: none;
}
.bottom-b-wrapper .wrapper {
    max-width: 100%;
    padding: 0;
}
.bottom-b-wrapper .wrapper #bottom-b {
    padding-top: 0;
}
.bottom-b-wrapper .wrapper .module.widget_custom_html.deepest {
    margin: 0 !important;
}
/* ==============================================
   ALLIED DOOR – SHARED (theme-safe)
   Load once per page. Includes:
   - Base tokens, reset, buttons, .container
   - Bottom CTA + Site Footer (+ responsive)
   Mid-page sections stay in demo.css
   Scoped under .allied-hp
   ============================================== */
.allied-hp {
  /* Brand Colors */
  --c-primary:       #748BCE;
  --c-primary-dark:  #5a72b8;
  --c-primary-light: #9aaad8;
  --c-navy:          #08233F;
  --c-navy-mid:      #0d3260;
  --c-white:         #FFFFFF;
  --c-black:         #111111;

  /* Gray Scale */
  --c-gray-50:  #f8f9fa;
  --c-gray-100: #f0f2f5;
  --c-gray-200: #e4e7ed;
  --c-gray-300: #d1d5db;
  --c-gray-500: #9ca3af;
  --c-gray-600: #6b7280;
  --c-gray-700: #374151;
  --c-gray-800: #1f2937;

  /* Text */
  --c-text:       #111827;
  --c-text-sec:   #4b5563;
  --c-text-light: #6b7280;

  /* Typography */
  --font-head: 'Barlow', 'Arial Black', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container-max: 1280px;
  --container-pad: 1.5rem;
  --section-y:     5rem;

  /* Radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1),  0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.05);

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 250ms ease;

  /* Z-index */
  --z-header:  100;
  --z-overlay: 190;
  --z-drawer:  200;

  /* Local base (does NOT touch theme body/html) */
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-text);
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

.allied-hp *,
.allied-hp *::before,
.allied-hp *::after {
  box-sizing: border-box;
}

.allied-hp img,
.allied-hp svg {
  display: block;
  max-width: 100%;
}

.allied-hp a {
  color: inherit;
  text-decoration: none;
}

.allied-hp ul,
.allied-hp ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.allied-hp button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.allied-hp :focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}

.allied-hp h1,
.allied-hp h2,
.allied-hp h3,
.allied-hp h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-text);
  margin: 0;
}

.allied-hp p {
  margin: 0;
}

/* Buttons — scoped; .btn alone will not restyle theme buttons outside wrapper */
.allied-hp .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background var(--t-fast),
    color var(--t-fast),
    border-color var(--t-fast),
    box-shadow var(--t-fast),
    transform var(--t-fast);
}

.allied-hp .btn:active { transform: translateY(1px); }

.allied-hp .btn-primary {
  background: var(--c-primary);
  color: var(--c-white);
  border-color: var(--c-primary);
}
.allied-hp .btn-primary:hover,
.allied-hp .btn-primary:focus-visible {
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  box-shadow: 0 4px 14px rgba(116, 139, 206, 0.4);
}

.allied-hp .btn-primary-white {
  background: var(--c-white);
  color: var(--c-navy);
  border-color: var(--c-white);
}
.allied-hp .btn-primary-white:hover,
.allied-hp .btn-primary-white:focus-visible {
  background: var(--c-gray-100);
  border-color: var(--c-gray-100);
}

.allied-hp .btn-outline-white {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,0.65);
}
.allied-hp .btn-outline-white:hover,
.allied-hp .btn-outline-white:focus-visible {
  background: rgba(255,255,255,0.1);
  border-color: var(--c-white);
}

.allied-hp .btn-outline-dark {
  background: transparent;
  color: var(--c-navy);
  border-color: var(--c-navy);
}
.allied-hp .btn-outline-dark:hover,
.allied-hp .btn-outline-dark:focus-visible {
  background: var(--c-navy);
  color: var(--c-white);
}

.allied-hp .btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
}

.allied-hp .btn-emergency {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.45rem 1rem;
  background: var(--c-primary);
  color: var(--c-white);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.allied-hp .btn-emergency:hover,
.allied-hp .btn-emergency:focus-visible {
  background: var(--c-primary-dark);
}

.allied-hp .container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  width: 100%;
}

/* ==============================================
   BOTTOM CTA + SITE FOOTER (shared site chrome)
   ============================================== */

/* ==============================================
   17. BOTTOM CTA
   ============================================== */
.allied-hp .cta-bottom {
  background: var(--c-navy);
  padding-block: 4rem;
}

.allied-hp .cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
}

.allied-hp .cta-heading {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 0.35rem;
}

#bottom-b .allied-hp .cta-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
}

.allied-hp .cta-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.allied-hp .cta-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: color var(--t-fast);
}

.allied-hp .cta-phone:hover { color: var(--c-white); }

/* Reviews (Elfsight) — just above footer */
.allied-hp .allied-reviews {
  padding-block: 4rem 3.5rem;
  background: var(--c-white);
}

.allied-hp .allied-reviews .section-heading {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--c-navy);
  text-align: center;
  margin: 0 0 2rem;
}

.allied-hp .allied-reviews .container {
  padding-inline: 1.25rem;
}

.allied-hp .site-footer { background: var(--c-navy); }

.allied-hp .footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 2.5rem;
  padding-block: 4rem;
}

.allied-hp .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.allied-hp .footer-logo { display: inline-flex; }

.allied-hp .footer-logo-img {
  height: 42px;
  width: auto;
  /* Invert logo to white using CSS filter – replace with actual white logo PNG if available */
  filter: brightness(0) invert(1);
}

#bottom-b .allied-hp .footer-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  max-width: 32ch;
}

#bottom-b .allied-hp .footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--c-white);
  transition: color var(--t-fast);
}

#bottom-b .allied-hp .footer-phone:hover { color: var(--c-primary-light); }

.allied-hp .footer-social {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.allied-hp .footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}

.allied-hp .footer-social-link:hover, .allied-hp .footer-social-link:focus-visible {
  color: var(--c-white);
  border-color: var(--c-primary);
  background: rgba(116, 139, 206, 0.18);
}

.allied-hp .footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.allied-hp .footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.allied-hp .footer-heading {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--c-white);
  margin-bottom: 0.5rem;
}

.allied-hp .footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.5;
  transition: color var(--t-fast);
}

.allied-hp .footer-link:hover, .allied-hp .footer-link:focus-visible { color: var(--c-primary-light); }

.allied-hp .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 1.25rem;
}

.allied-hp .footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

#bottom-b .allied-hp .footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.allied-hp .footer-legal {
  display: flex;
  gap: 1.5rem;
}

.allied-hp .footer-legal-link {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--t-fast);
}

.allied-hp .footer-legal-link:hover { color: var(--c-white); }


@media (min-width: 1100px) {
  .allied-hp .footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  }
}

@media (max-width: 1200px) {
.allied-hp .footer-inner {
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 2rem;
  }

.allied-hp .footer-inner .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
.allied-hp .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; gap: 1.75rem; }

.allied-hp .footer-inner .footer-col:nth-child(4), .allied-hp .footer-inner .footer-col:nth-child(5) {
    grid-column: span 1;
  }

.allied-hp .footer-brand { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }

#bottom-b .allied-hp .footer-desc { max-width: none; flex: 1; min-width: 200px; }
}

@media (max-width: 768px) {
.allied-hp { --container-pad: 1.25rem; }

.allied-hp .cta-inner { flex-direction: column; text-align: center; }

.allied-hp .cta-actions { justify-content: center; }

.allied-hp .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding-block: 3rem;
  }

.allied-hp .footer-brand {
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 1rem;
  }

.allied-hp .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; }
}

@media (max-width: 480px) {
.allied-hp { --container-pad: 1rem; }

.allied-hp .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
.allied-hp .btn { padding: 0.68rem 1.25rem; font-size: 0.875rem; }
}

/* =========================================================
ALLIED DOOR — INNER-PAGE TITLE BANNER
Applies to the breadcrumb and H1 section above the page hero.
========================================================= */

.ad-inner-page-title {
  background: #08233f;
  color: #ffffff;
  width: 100%;
  margin: 0;
  padding: 38px 0 42px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Keep the title content aligned with the rest of the site */

/* Main page title */
.ad-inner-page-title h1,
.ad-inner-page-title .elementor-heading-title {
  margin: 20px 0 0;
  color: #ffffff !important;
  font-family: inherit;
  font-size: clamp(38px, 3.25vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
}

/* Breadcrumb wrapper */
.ad-inner-page-title .breadcrumbs,
.ad-inner-page-title .breadcrumb,
.ad-inner-page-title .rank-math-breadcrumb,
.ad-inner-page-title .yoast-breadcrumb,
.ad-inner-page-title nav[aria-label="breadcrumb"] {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.4;
}

.ad-inner-page-title .breadcrumb-sep {
  opacity: 0.7;
}

.ad-inner-page-title .breadcrumb-current {
  color: rgba(255, 255, 255, 0.82);
}

/* Breadcrumb links */
.ad-inner-page-title .breadcrumbs a,
.ad-inner-page-title .breadcrumb a,
.ad-inner-page-title .rank-math-breadcrumb a,
.ad-inner-page-title .yoast-breadcrumb a,
.ad-inner-page-title nav[aria-label="breadcrumb"] a {
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

/* Breadcrumb hover */
.ad-inner-page-title .breadcrumbs a:hover,
.ad-inner-page-title .breadcrumb a:hover,
.ad-inner-page-title .rank-math-breadcrumb a:hover,
.ad-inner-page-title .yoast-breadcrumb a:hover,
.ad-inner-page-title nav[aria-label="breadcrumb"] a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

/* Breadcrumb separators and icons */
.ad-inner-page-title .breadcrumbs *,
.ad-inner-page-title .breadcrumb *,
.ad-inner-page-title .rank-math-breadcrumb *,
.ad-inner-page-title .yoast-breadcrumb *,
.ad-inner-page-title nav[aria-label="breadcrumb"] * {
  border-color: rgba(255, 255, 255, 0.6);
}

.ad-inner-page-title .ad-fa-home {
  color: rgba(255, 255, 255, 0.82);
  flex-shrink: 0;
  display: block;
}

.ad-inner-page-title::before,
.ad-inner-page-title::after {
  border-radius: 0 !important;
}

/* =========================================================
TABLET
========================================================= */

@media (max-width: 1024px) {
  .ad-inner-page-title {
    padding: 32px 0 36px;
  }

  .ad-inner-page-title > .e-con-inner,
  .ad-inner-page-title > .elementor-container,
  .ad-inner-page-title .ad-inner-page-title-inner {
    width: min(100% - 48px, 1440px);
  }

  .ad-inner-page-title h1,
  .ad-inner-page-title .elementor-heading-title {
    margin-top: 17px;
    font-size: clamp(34px, 5vw, 48px);
  }
}

/* =========================================================
MOBILE
========================================================= */

@media (max-width: 767px) {
  .ad-inner-page-title {
    padding: 25px 0 29px;
  }

  .ad-inner-page-title > .e-con-inner,
  .ad-inner-page-title > .elementor-container,
  .ad-inner-page-title .ad-inner-page-title-inner {
    width: calc(100% - 32px);
  }

  .ad-inner-page-title h1,
  .ad-inner-page-title .elementor-heading-title {
    margin-top: 13px;
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1.12;
    letter-spacing: -0.5px;
  }

  .ad-inner-page-title .breadcrumbs,
  .ad-inner-page-title .breadcrumb,
  .ad-inner-page-title .rank-math-breadcrumb,
  .ad-inner-page-title .yoast-breadcrumb,
  .ad-inner-page-title nav[aria-label="breadcrumb"] {
    font-size: 13px;
  }
}

#main #maininner {
    padding-top: 0;
}
#maininner section#content {
    margin-top: 0;
}
