@charset "utf-8";

/* ==========================================================================
   Brand Tokens
   ========================================================================== */
:root{
  --fox-blue: #0032a0;
  --fox-blue-dark: #001f61;
  --fox-gold: #ffa400;
  --gray-50: #f8f8f8;
  --gray-400: #a9aeb6;
  --text-on-blue: #ffffff;
  --text-muted: #8d92a7;

  --amber-300: #ffc866;   /* new */
  --maroon-900: #590200;  /* new */

  --border-default: #ccc;
  --border-strong: #000;
  --shadow-inset-sm: inset 0 1px 1px rgba(0,0,0,.075);
  --shadow-inset-xs: inset 0 1px 1px rgba(0,0,0,.05);
}

/* ==========================================================================
   Fonts (modern formats; add EOT only if you must support very old IE)
   ========================================================================== */
@font-face{
  font-family: 'DDT_ddt ex bk';
  src: url('../fonts/DDT_ddt_ex_bk.woff2') format('woff2'),
       url('../fonts/DDT_ddt_ex_bk.woff') format('woff'),
       url('../fonts/DDT_ddt_ex_bk.ttf') format('truetype');
  font-display: swap;
}
@font-face{
  font-family: 'DDT_ddt ex sb';
  src: url('../fonts/DDT_ddt_ex_sb.woff2') format('woff2'),
       url('../fonts/DDT_ddt_ex_sb.woff') format('woff'),
       url('../fonts/DDT_ddt_ex_sb.ttf') format('truetype');
  font-display: swap;
}
@font-face{
  font-family: 'DDT_ddt ex bd';
  src: url('../fonts/DDT_ddt_ex_bd.woff2') format('woff2'),
       url('../fonts/DDT_ddt_ex_bd.woff') format('woff'),
       url('../fonts/DDT_ddt_ex_bd.ttf') format('truetype');
  font-display: swap;
}
@font-face{
  font-family: 'Montserrat-SemiBold';
  src: url('../fonts/Montserrat-SemiBold.woff2') format('woff2'),
       url('../fonts/Montserrat-SemiBold.woff') format('woff'),
       url('../fonts/Montserrat-SemiBold.ttf') format('truetype');
  font-display: swap;
}
@font-face{
  font-family: 'Montserrat-Medium';
  src: url('../fonts/Montserrat-Medium.woff2') format('woff2'),
       url('../fonts/Montserrat-Medium.woff') format('woff'),
       url('../fonts/Montserrat-Medium.ttf') format('truetype');
  font-display: swap;
}
@font-face{
  font-family: 'segoeui';
  src: url('../fonts/segoeui.woff2') format('woff2'),
       url('../fonts/segoeui.woff') format('woff'),
       url('../fonts/segoeui.ttf') format('truetype');
  font-display: swap;
}
@font-face{
  font-family: 'segoeuib';
  src: url('../fonts/segoeuib.woff2') format('woff2'),
       url('../fonts/segoeuib.woff') format('woff'),
       url('../fonts/segoeuib.ttf') format('truetype');
  font-display: swap;
}

/* ==========================================================================
   Base
   ========================================================================== */
html, body{ height:100%; }
body{
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: 'segoeui','Montserrat-Medium',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:16px;
  line-height:1.4;
  width:100%;
  color:var(--fox-blue-dark);
}

/* Footer element (site-wide) */
footer{
  background:var(--fox-blue);
  color:#eee;
  font-size:11px;
  padding:20px;
}
footer a{ color:var(--text-on-blue); text-decoration:underline; }
footer a:hover, footer a:focus{ color:var(--fox-gold); }

/* Legacy .footer utility (kept for compatibility) */
.footer{ position:absolute; bottom:0; height:5px; clear:both; }

.icon-pad{ padding-right:15px; }
.large-footer{ font-size:14px; }
.large-footer .row{ padding-top:20px; }
.large-footer p.title{ font-size:18px; }
.large-footer ul{ list-style:none; margin:0; padding:0; }
.large-footer a{ text-decoration:none; }
.large-footer .ariba{ float:left; }
.large-footer span.position{ position:absolute; bottom:-30px; right:60%; }
.large-footer .fab{ padding-top:10px; }
.large-footer a.white{ color:#fff; }

.foxBlue{ color:var(--fox-blue); font-weight:bold; }
.well-sm{ padding-left:0; padding-right:0; }
.navbar-form{ margin-left:0; margin-right:0; }

.dividerDark,
.divider-dark{ height:1px; margin:9px 0; overflow:hidden; background-color:var(--fox-blue-dark); }

#topWell{ margin-top:5rem; }
#top-banner-get-quote{
  padding:0;
  margin-top:-10px;
  cursor:pointer;           /* added from new styles */
}
.container + .col-lg-12[style]{ margin-top:-1px; }

#grey-bar-banner{
  margin-top:-10px;
  background-color:var(--gray-50);
  opacity:1;
}
#grey-bar-banner-mobile{
  margin:0;
  background-color:var(--gray-400);
  opacity:1;
  padding-top:2%;
  padding-bottom:2%;
}
.mx-auto{margin-right: auto;margin-left: auto;}
/* mx */
.mx-1 { margin-left: 1rem; margin-right: 1rem; }
.mx-2 { margin-left: 2rem; margin-right: 2rem; }
.mx-3 { margin-left: 3rem; margin-right: 3rem; }
.mx-4 { margin-left: 4rem; margin-right: 4rem; }
.mx-5 { margin-left: 5rem; margin-right: 5rem; }
.mx-6 { margin-left: 6rem; margin-right: 6rem; }
.mx-7 { margin-left: 7rem; margin-right: 7rem; }
.mx-8 { margin-left: 8rem; margin-right: 8rem; }

/* my */
.my-1 { margin-top: 1rem; margin-bottom: 1rem; }
.my-2 { margin-top: 2rem; margin-bottom: 2rem; }
.my-3 { margin-top: 3rem; margin-bottom: 3rem; }
.my-4 { margin-top: 4rem; margin-bottom: 4rem; }
.my-5 { margin-top: 5rem; margin-bottom: 5rem; }
.my-6 { margin-top: 6rem; margin-bottom: 6rem; }
.my-7 { margin-top: 7rem; margin-bottom: 7rem; }
.my-8 { margin-top: 8rem; margin-bottom: 8rem; }

/* mb */
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.mb-5 { margin-bottom: 5rem; }
.mb-6 { margin-bottom: 6rem; }
.mb-7 { margin-bottom: 7rem; }
.mb-8 { margin-bottom: 8rem; }

/* pb */
.pb-1 { padding-bottom: 1rem; }
.pb-2 { padding-bottom: 2rem; }
.pb-3 { padding-bottom: 3rem; }
.pb-4 { padding-bottom: 4rem; }
.pb-5 { padding-bottom: 5rem; }
.pb-6 { padding-bottom: 6rem; }
.pb-7 { padding-bottom: 7rem; }
.pb-8 { padding-bottom: 8rem; }

/* px */
.px-1 { padding-left: 1rem; padding-right: 1rem; }
.px-2 { padding-left: 2rem; padding-right: 2rem; }
.px-3 { padding-left: 3rem; padding-right: 3rem; }
.px-4 { padding-left: 4rem; padding-right: 4rem; }
.px-5 { padding-left: 5rem; padding-right: 5rem; }
.px-6 { padding-left: 6rem; padding-right: 6rem; }
.px-7 { padding-left: 7rem; padding-right: 7rem; }
.px-8 { padding-left: 8rem; padding-right: 8rem; }

/* py */
.py-1 { padding-top: 1rem; padding-bottom: 1rem; }
.py-2 { padding-top: 2rem; padding-bottom: 2rem; }
.py-3 { padding-top: 3rem; padding-bottom: 3rem; }
.py-4 { padding-top: 4rem; padding-bottom: 4rem; }
.py-5 { padding-top: 5rem; padding-bottom: 5rem; }
.py-6 { padding-top: 6rem; padding-bottom: 6rem; }
.py-7 { padding-top: 7rem; padding-bottom: 7rem; }
.py-8 { padding-top: 8rem; padding-bottom: 8rem; }
/* ==========================================================================
   Wide Container (override Bootstrap 3 .container)
   Use .container-wide for pages that need more horizontal space
   ========================================================================== */
.container-wide {
  width: 100%;
  max-width: 1600px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

/* Responsive widths for container-wide */
@media (min-width: 768px) {
  .container-wide {
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media (min-width: 992px) {
  .container-wide {
    padding-right: 40px;
    padding-left: 40px;
  }
}

@media (min-width: 1200px) {
  .container-wide {
    padding-right: 50px;
    padding-left: 50px;
  }
}

/* Alternative: full-width container with max-width cap */
.container-xl {
  width: 100%;
  max-width: 1400px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 992px) {
  .container-xl {
    padding-right: 30px;
    padding-left: 30px;
  }
}

/* ==========================================================================
   Navbar (Bootstrap 3 layout preserved)
   ========================================================================== */
.navbar-brand{ padding:15px 15px; }
.navbar-brand img{ max-height:75px; height:auto; width:auto; }

.dropdown-menu>li>a,
.navbar-default .navbar-brand,
.navbar-default .navbar-nav .open .dropdown-menu>li>a{ color:var(--fox-blue-dark); }
.navbar-default .navbar-nav>li>a{ color:var(--fox-blue-dark); font-weight:bold; }
.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus,
.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus,
.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{ color:var(--text-muted); }
.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus{ background-color:transparent; color:var(--fox-blue-dark); }
.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav>.open>a:focus{ color:var(--text-muted); }

#upperNav{ padding-right:10px; }
#accountNav{ padding-right:25px; }

#navSearch{ padding:5px 0; }
#navSearchCollapse{ padding:0; width:200px; margin-left:4px; }

/* Search button consistent sizing across all pages */
#navSearch .input-group,
#navSearchCollapse .input-group {
  display: flex;
  align-items: stretch;
}

#searchButton,
#searchButtonCollapse {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  height: 34px;
}

.navbar .glyphicon-search,
#searchButton .glyphicon-search,
#searchButtonCollapse .glyphicon-search {
  margin: 0;
  font-size: 14px;
  line-height: 1;
  display: inline-block;
}

/* Caret styles */
.nav .dropdown.open .caret{ border-top:none; border-bottom:4px solid var(--fox-blue-dark); }

#phoneFox{ font-size:1em; font-weight:bold; padding-right:10px; padding-top:10px; }
.caret-up{
  display:inline-block; width:0; height:0; margin-top:1%; margin-left:2px; vertical-align:middle;
  border-bottom:4px solid; border-right:4px solid transparent; border-left:4px solid transparent;
}

/* ==========================================================================
   Scroll-to-top
   ========================================================================== */
.scroll-top-wrapper{
  position:fixed; opacity:0; visibility:hidden; overflow:hidden; text-align:center;
  z-index:999999; background-color:#fff; color:var(--fox-gold);
  width:50px; height:48px; line-height:48px; right:10px; bottom:15px; padding-top:2px;
  border-radius:30px; transition:all .5s ease-in-out;
}
.scroll-top-wrapper:hover{ background-color:var(--gray-400); color:var(--fox-gold); }
.scroll-top-wrapper.show{ visibility:visible; cursor:pointer; opacity:.7; }
.scroll-top-wrapper i.fa{ line-height:inherit; }
.scroll-top-wrapper i.glyphicon-arrow-up{ font-size:16px; margin:0; }

/* ==========================================================================
   Headings / Wells / Sections
   ========================================================================== */
.well .page-header, .well .page-header h1{ margin-top:0; color:var(--fox-blue-dark); }
#bigWell{ color:var(--fox-blue-dark); }
.well{
  margin:20px 0;
  background-color:#fff;    /* added from new styles */
}
#pgTitle, .section-title{ padding-left:0; }

h1, h2, .h1, .h2{
  font-family:'DDT_ddt ex sb','Montserrat-SemiBold',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-weight:600; font-size:24px; line-height:1.5; color:var(--fox-blue);
}
h3, .h3{
  font-family:'DDT_ddt ex bd','Montserrat-SemiBold',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-weight:600; font-size:24px; line-height:1.5; color:var(--fox-blue);
}
h4, .h4{
  font-family:'DDT_ddt ex bd','Montserrat-SemiBold',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-weight:600; font-size:24px; line-height:1.5; color:var(--fox-gold);
}
h5, .h5{
  font-family:'segoeuib','Montserrat-SemiBold',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-weight:600; font-size:24px; line-height:1.5; color:var(--fox-gold);
}
h6, .h6{
  font-family:'segoeuib','Montserrat-SemiBold',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-weight:600; font-size:20px; line-height:1.5; color:var(--fox-blue);
}

/* ==========================================================================
   Thumbnails / Icons
   ========================================================================== */
.thumbnails{ margin:20px 0; }
.thumbnail h3, .thumbnail .h3{ font-size:16px; margin:0 0 10px; line-height:20px; }
.glyphicon{ margin-right:5px; }
.glyphicon-download-alt, .glyphicon-eye-open, .glyphicon-film, .glyphicon-new-window{ font-size:120%; }

/* ==========================================================================
   Text helpers
   ========================================================================== */
.text-xl{ font-size:24px;}
.text-lg{ font-size:18px;}
.text-sm{font-size:12px;}
.text-red{ color:#BA0C2F; }
.text-white{ color:#fff; }
.text-bold{ font-weight:bold; }
.text-right{ text-align:right; }
ul#reqLogin{ font-size:16px; }
a.link-text{ text-decoration:none; }
.text-gold{color: var(--fox-gold); font-weight: bold;}

/* ==========================================================================
   Alerts / Misc
   ========================================================================== */
.alert{ margin-bottom:10px; }
.fade{ opacity:0; transition:opacity .7s linear; }
#holidayAlert{ margin-top:50px; margin-bottom:-30px; }
.popover.right, .popover.left{ width:200px; }
#chat{ bottom:0; position:fixed; }
.clickable{ cursor:pointer; }

/* Form validation */
.border-danger {
  border-color: #b30802 !important;
  border-style: solid;
  box-shadow: 0 0 0 0.2rem rgba(217, 83, 79, 0.25);
}


textarea{ resize:none; }        

.fox-label{
  display:inline-block;
  max-width:100%;
  margin:0 0 5px 7px;
  font-weight:700;
}
.sm-input{ width:80px; }
#Project_Name,
.sm-input,
.fox-select{
  margin-left:5px;
  margin-bottom:5px;
  height:30px;
  padding:5px 10px;
  border-radius:3px;
  font-size:16px;
  line-height:1.5;
}
.fox-select{
  display:block;
  width:100%;
  color:#555;
  background-color:#fff;
  border:1px solid var(--border-default);
  box-shadow: var(--shadow-inset-sm);
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.pager li>a:focus, .pager li>span:focus{
background-color: white;
color: #001f61;
}
/* ==========================================================================
  Address styles
  =========================================================================== */
/* Simple rounded â€œcardâ€ */
.address-card{
  display:block;              /* works for <a> and <div> */
  background:#fff;
  border:1px solid var(--border-default, #ddd);
  border-radius:6px;
  padding:15px;
  margin-bottom:15px;         /* vertical gutter on wrap */
  text-decoration:none;       /* for <a> version */
  color:inherit;
  box-shadow: var(--shadow-inset-xs, none);
}

/* Content areas (optional, for clarity) */
.address-card .address-meta{ font-size:12px; margin-bottom:6px; }
.address-card .address-body{ line-height:1.4; }

/* Hover / focus affordance */
.address-card:hover{
  border-color:var(--fox-blue, #337ab7);
  box-shadow:0 1px 3px rgba(0,0,0,.08);
  text-decoration: none;
}
.address-card:focus{
  outline:2px solid var(--fox-blue, #337ab7);
  outline-offset:2px;
}

/* â€œAdd Addressâ€ dashed variant */
.address-card--add{
  border-style:dashed;
  text-align:center;
}
.address-card--add .glyphicon{ font-size:32px; display:block; margin-bottom:4px; }

/* Keep actions at the bottom (works with your .card-stack helper) */
.card-stack{ display:flex; flex-direction:column; width:100%; }      
.card-stack .btn-row{ margin-top:auto; }                              


/* ==========================================================================
   Buttons
   ========================================================================== */
.blue-back{ background-color:var(--fox-blue); }
.gold-bold{color:var(--fox-gold); font-weight: 700;}

/* New generic Fox Thermal button shell */
.btn-fox-thermal{
  cursor:pointer;
  font-size:16px;
  padding:7px 26px;
  font-weight:600;
  transition: all .1s linear;
}
.btn-fox-thermal:hover{
  color:#fff;
  background-color:var(--fox-blue);
  border-color:var(--border-strong);
}

/* Action variants */
.btn-update{
  color:var(--fox-blue);
  background-color:var(--amber-300);
  border:1px solid var(--fox-blue);
}
.btn-export{
  color:var(--fox-blue);
  background-color:#fff;
  border:1px solid var(--border-strong);
}
.btn-delete{
  color:#fff;
  background-color:var(--maroon-900);
  border:1px solid var(--border-strong);
  font-weight:500;
}
.btn-cta{
    margin-top: 5rem;
    padding: 1rem 4rem;
    font-size: 20px;
}
/* Existing brand buttons (kept) */
.btn-fox{
    cursor:pointer;
    font-family:'segoeui',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    font-weight:300;
    color:var(--fox-blue); background-color:#fff; border-color:var(--fox-gold); border-radius:0;
    transition: all .1s linear;
}
.btn-fox:hover,
.btn-fox:focus,
.btn-fox:active,
.btn-fox.active,
.open>.dropdown-toggle.btn-fox{
  color:#fff; background-color:var(--fox-blue); border-color:var(--fox-blue);
}
.btn-fox:active,
.btn-fox.active,
.open>.dropdown-toggle.btn-fox{ background-image:none; }
.btn-fox.disabled,
.btn-fox[disabled],
fieldset[disabled] .btn-fox,
.btn-fox.disabled:hover,
.btn-fox[disabled]:hover,
fieldset[disabled] .btn-fox:hover,
.btn-fox.disabled:focus,
.btn-fox[disabled]:focus,
fieldset[disabled] .btn-fox:focus,
.btn-fox.disabled.focus,
.btn-fox[disabled].focus,
fieldset[disabled] .btn-fox.focus,
.btn-fox.disabled:active,
.btn-fox[disabled]:active,
fieldset[disabled] .btn-fox:active,
.btn-fox.disabled.active,
.btn-fox[disabled].active,
fieldset[disabled] .btn-fox.active{
  background-color:var(--fox-gold); border-color:var(--fox-gold);
}
.btn-fox .badge{ color:var(--fox-gold); background-color:#fff; }

.btn-foxBlue{
  color:#fff; background-color:var(--fox-blue); border-color:var(--fox-blue);
}
.btn-foxBlue:hover,
.btn-foxBlue:focus,
.btn-foxBlue:active,
.btn-foxBlue.active,
.open>.dropdown-toggle.btn-foxBlue{
  color:var(--fox-blue); background-color:#ccd7ee; border-color:var(--fox-blue);
}
.btn-foxBlue:active,
.btn-foxBlue.active,
.open>.dropdown-toggle.btn-foxBlue{ background-image:none; }
.btn-foxBlue.disabled,
.btn-foxBlue[disabled],
fieldset[disabled] .btn-foxBlue,
.btn-foxBlue.disabled:hover,
.btn-foxBlue[disabled]:hover,
fieldset[disabled] .btn-foxBlue:hover,
.btn-foxBlue.disabled:focus,
.btn-foxBlue[disabled]:focus,
fieldset[disabled] .btn-foxBlue:focus,
.btn-foxBlue.disabled.focus,
.btn-foxBlue[disabled].focus,
fieldset[disabled] .btn-foxBlue.focus,
.btn-foxBlue.disabled:active,
.btn-foxBlue[disabled]:active,
fieldset[disabled] .btn-foxBlue:active,
.btn-foxBlue.disabled.active,
.btn-foxBlue[disabled].active,
fieldset[disabled] .btn-foxBlue.active{
  background-color:var(--fox-blue); border-color:var(--fox-blue);
}
.btn-foxBlue .badge{ color:var(--fox-blue); background-color:#fff; }

.btn-news{
  color:#999; background-color:#474747; border-color:#474747;
}
.btn-news:hover,
.btn-news:focus,
.btn-news:active,
.btn-news.active,
.open>.dropdown-toggle.btn-news{
  color:#eee; outline:none;
}
.btn-news:active,
.btn-news.active,
.open>.dropdown-toggle.btn-news{ background-image:none; }
.btn-news.disabled,
.btn-news[disabled],
fieldset[disabled] .btn-news,
.btn-news.disabled:hover,
.btn-news[disabled]:hover,
fieldset[disabled] .btn-news:hover,
.btn-news.disabled:focus,
.btn-news[disabled]:focus,
fieldset[disabled] .btn-news:focus,
.btn-news.disabled.focus,
.btn-news[disabled].focus,
fieldset[disabled] .btn-news.focus,
.btn-news.disabled:active,
.btn-news[disabled]:active,
fieldset[disabled] .btn-news:active,
.btn-news.disabled.active,
.btn-news[disabled].active,
fieldset[disabled] .btn-news.active{
  background-color:#41b6e6; border-color:#41b6e6;
}
.btn-news .badge{ color:#41b6e6; background-color:#fff; }

/* ==========================================================================
   Home / Features / Lists
   ========================================================================== */
#features{ margin-top:50px; margin-bottom:10px;}
#featuresSm{ text-align:center; }
#features img, #featuresSm img{ margin:0 auto 5px; }
#features h3, #featuresSm h3{ margin:0; }
.col-sm-2.feature{ padding-left:5px; padding-right:5px; }
#tab2 .img-thumbnail{ margin-right:10px; }

#bigCallout,
#features h3, #featuresSm h3,
#moreInfo h3, #moreInfo h4, #moreInfo h5{ color:var(--fox-blue-dark); }

#featuresHeading{ margin-left:20px; margin-top:50px; }
#featuresHeading h2{ margin-top:5px; }
#featuresHeading,
#features p, #featuresSm p,
#moreInfo p,
#moreInfo p.h3, #moreInfo p.h4{ color:var(--fox-blue-dark); }

a.list-group-item-heading:hover{ color:var(--fox-blue) !important; }

.configListGroup a:hover, #meterListGroup a:hover{ background-color:#d0dfff; }
.config-list-group a, #meterListGroup a{ border-color:var(--text-muted); }
.panel.panel-default{ border:none; }
.config-list-group, #productsListGroup, #meterListGroup{ margin:0; padding:0; }
.list-group{ padding-right:0; }
.list-group h4{ color:var(--fox-blue-dark) !important; text-align:left; }
.list-group .panel-group .panel .panel-heading{ background-color:var(--fox-blue); }
.list-group .panel-group .panel .panel-heading h4{ color:#fff !important; }
.list-group p{ text-align:left; }
.list-group a img{ margin:0 auto; }

.input-group[class*="col-"]{ padding-right:15px; padding-left:15px; }

#newsPadding, #downloadImage{ margin-right:10px; }
#videoImage, #downloadImage{ margin-bottom:10px; }
#newsText{ margin:10px; }
hr{ margin-top:5px; }

/* ==========================================================================
   Carousel
   ========================================================================== */
.carousel-indicators{ top:100%; }
#myCarousel{ margin:40px -1% 0; }
.carousel-indicators li{ background-color:#fff; border-color:#fff; }
.carousel-control .glyphicon-chevron-left{ margin-left:-35%; }
.carousel-control .glyphicon-chevron-right{ margin-right:-35%; }

/* ==========================================================================
   Trade show / announcement
   ========================================================================== */
#tradeShow, #announcement{ margin:20px 0 10px; }
#tradeShow img, #announcement img{ margin-left:30px; margin-right:30px; }
#tradeShow .alert, #announcement .alert{ padding-bottom:5px; }
.home-tab-nav{ padding-left:15px; }

#moreInfo, #menuInfo{ margin:10px 0; padding:0; }
#menuInfo .dropdown-toggle{
  background-color:var(--fox-blue);
  font-size:16px;
  margin-right:-10px;
  padding:8px 20px;
}

.featuredProduct{ padding-top:10%; }

.panel{ box-shadow:none; margin-bottom:0; }

.bottomAligned{ position:absolute; bottom:0; margin-bottom:10px; left:35%; }
.bottom-aligned{ position:absolute; bottom:0; right:20px; left:20px; }

#headingTwo{ height:65px; border-bottom-left-radius:3px; border-bottom-right-radius:3px; }
#headingTwo img{ margin-right:20px; height:45px; width:auto; }

.top-margin{ padding-top:40px; }
.formConfirmation{ margin-bottom:0; }

/* ==========================================================================
   Parallax splash
   ========================================================================== */
.splash{
  position:relative;
  background-image:url(../img/parallax.jpg);
  min-height:400px;
  background-attachment:fixed;
  background-repeat:no-repeat;
  background-size:auto 500px;
  background-position:10% 100%;
  margin-right:-1%;
  margin-left:-1%;
}

/* ==========================================================================
   Accordion (meter text)
   ========================================================================== */
.accordion{ display:inline-block; text-align:center; }
.accordion:hover .accordion-content{ max-height:120px; }
.accordion-content{
  transition:max-height 1s;
  background:#e6f1fa;
  overflow:hidden;
  max-height:0;
  position:absolute;
  top:70%;
}
.accordion-inner{ padding:5px 18px; min-height:120px; }
.accordion-toggle{
  transition:background .1s linear;
  border-radius:5px;
  color:#fff;
  display:block;
  margin:0 0 10px;
  text-align:center;
  text-decoration:none;
}

/* ==========================================================================
   Section helpers
   ========================================================================== */
section{ padding:2rem; }
.bg-blue{ background-color:var(--fox-blue); color:#fff; }
.bg-gray{ background-color:#75787b; color:#fff; }
.bg-orange{ background-color:var(--fox-gold); color:var(--fox-blue); }
.bg-white{background-color:white;}
/* ==========================================================================
   Tables
   ========================================================================== */
.fox-table{ border-spacing:5px; border-collapse:separate; }
.fox-table-header{
  color:var(--fox-gold);
  font-weight:bold;
  background-color:var(--fox-blue);
}

/* ==========================================================================
   Admin shells / App wrappers
   ========================================================================== */
 .admin-main { min-height: 72vh;}
.adm-wrap{ margin:40px auto; width:900px; }
.adm-wrap-big{ margin-top:50px; }
.ft1-wrap{ max-width:660px; margin:30px auto; }
.ft1-wrap a{ max-width:250px; margin:20px auto; }

.login-wrap,
.forgot-wrap,
.app-wrap{
  margin:40px auto;
  min-height:20px;
  padding:10px;
  background-color:#fff;
  border:1px solid #e3e3e3;
  border-radius:4px;
  box-shadow: var(--shadow-inset-xs);
}
.forgot-wrap{ max-width:630px; }
.login-wrap{ max-width:600px; }
.app-wrap{ max-width:985px; padding:0 25px 25px; }

/* Action button IDs (compat) */
#Create_Account,
#Go-Back,
#Reset_Password,
#Enter_Password{
  margin-right:10px;
  margin-top:20px;
  margin-bottom:-10px;
  float:right;
}
#Enter_Password{ width:150px; }

#Save_Config{
  border:2px solid var(--border-default);
  background-color:#077407;
  color:#fff;
}
#Save_Config:hover{ background-color:#022A02; }

/* App table list */
.fox-app-list>tbody>tr{ border:2px solid var(--border-default); background-color:#fff; }
.fox-app-list>tbody>tr:hover{ background-color: rgba(51,122,183,0.05); }
.fox-app-list>tbody>tr>th,
.fox-app-list>tbody>tr>th:hover{ background-color:#eee; }
.fox-app-list>tbody>tr>td,
.fox-app-list>tbody>tr>th{
  padding:10px;
  border:1px solid var(--border-default);
  box-shadow:2px 2px 2px #eee;
  font-weight:600;
  color:#3e5272;
}

.fox-app-label{
  font-size:20px;
  font-weight:bold;
  color:#3e5272;
  text-shadow:1px 2px #ccc;
}
.fox-reset-td-left{ width:195px; }
.login-label{ float:right; font-size:16px; }

.application_id{
  position:absolute;
  top:0;
  font-size:20px;
  color:#a94442;
  background-color:#eee;
  border:1px solid #e3e3e3;
  padding:5px;
}
.login-wrap span:not(.glyphicon){ color:#a94442; }

#email_exists,
#check_login,
#reset_login,
#forgot_login,
#reset_token,
#reset_id,
.check-hide{ display:none; }

/* reCAPTCHA image select offset (as requested) */
#rc-imageselect { margin-top:-5%; }   /* added */

/* ==========================================================================
   Equal-height columns & bottom-aligned buttons
   ========================================================================== */
.section-pad    { padding-top:10px;  padding-bottom:10px; }
.section-pad-lg { padding-top:20px;  padding-bottom:20px; }
.section-pad-xl { padding-top:40px;  padding-bottom:40px; }

.row-eq { display:flex; flex-wrap:wrap; }
.row-eq > [class*="col-"] { display:flex; }
.card-stack { display:flex; flex-direction:column; width:100%; }
.card-stack .btn-row { margin-top:auto; }

.panel-eq { display:flex; flex-direction:column; height:100%; }
.panel-eq .panel-body { display:flex; flex-direction:column; }
.panel-eq .btn-row { margin-top:auto; }

/* ==========================================================================
   Responsive
   ========================================================================== */
   /* Helpful links: keep card images smaller on phones/tablets */
.helpful-links .feature-img {
  display: block;               /* works with Bootstrap .center-block */
  margin: 0 auto 10px;
  height: auto;
}

/* Stack widths (xs + sm): reduce image width while centered */
@media (max-width: 991px) {     /* < md */
  .helpful-links .feature-img { max-width: 70%; }
}
@media (max-width: 767px) {     /* xs */
  .helpful-links .feature-img { max-width: 55%; }
  .px-8 { padding-left: 4rem; padding-right: 4rem; }
}

@media (min-width:1680px){
  .splash{ background-size:auto 600px; background-position:10% 100%; }
}

@media (max-width:1199px) and (min-width:992px){
  #homeTabs>.nav-tabs>li{ font-size:90%; }
  .accordion-content{ top:60%; }
  .accordion-inner{ padding:5px; min-height:220px; }
}

@media (max-width:1005px){
  #myCarousel{ margin-top:10px; }
  .carousel-indicators{ bottom:-13%; top:auto; }
  #featuresHeading{ margin-left:10px; margin-right:10px; }
}

@media (min-width:1131px){
  .formConfirmation{ margin-top:50px; }
}

@media (max-width:1130px){
  .formConfirmation{ margin-top:20px; }
}

@media (min-width:1006px){
  .formConfirmation{ margin-bottom:-20px; }
}

@media (max-width:992px){
  #features h3, #featuresSm h3{ font-size:160%; }
  .top-margin a{ font-size:120%; padding:5px; }
}

@media (max-width:765px){
  #features, #featuresSm{ padding:0; margin:0; }
  #menuInfo .dropdown-toggle{ margin-left:-11px; }
  .top-margin{ padding-top:10px; }
}

@media (max-width:480px){
  #featuresHeading h2{ font-size:160%; }
  .splash{ background-position:0% 4%; }
  #headingTwo img{ margin-right:5px; width:auto; height:30px; }
}

/* ==========================================================================
   Product Page Intro Section (smaller line-height)
   ========================================================================== */

/* Product intro text and Key Features list - tighter line spacing and smaller text than tabs */
.tab-pane > .row > .col-sm-6 > p,
.tab-pane > .row > .col-sm-6 > ul {
  line-height: 1.4;
  font-size: 14px;
}

.tab-pane > .row > .col-sm-6 > ul li {
  line-height: 1.4;
  margin-bottom: 4px;
}

/* ==========================================================================
   Product Page Table Styles (matching literature page)
   ========================================================================== */

/* Div-based table styles for product specification tables */
.table-pad {
  padding: 8px;
  line-height: 1.42857143;
  vertical-align: top;
}

.border-all {
  border: 1px solid #ddd;
}

.border-brl {
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-left: 1px solid #ddd;
}

.border-rl {
  border-right: 1px solid #ddd;
  border-left: 1px solid #ddd;
}

.border-right {
  border-right: 1px solid #ddd;
}

.border-left {
  border-left: 1px solid #ddd;
}

.border-top {
  border-top: 1px solid #ddd;
}

.border-bottom {
  border-bottom: 1px solid #ddd;
}

/* Hover effect for table rows */
.hover:hover {
  background-color: #f5f5f5;
}

/* Blue background with gold text for table headers - matching literature style */
.blue-back.table-pad {
  color: var(--fox-gold);
  font-weight: bold;
}

/* Make actual HTML tables match literature page style */
table.table-condensed {
  font-size: 14px;
}

table.table-condensed > thead > tr > th,
table.table-condensed > tbody > tr > th,
table.table-condensed > tfoot > tr > th,
table.table-condensed > thead > tr > td,
table.table-condensed > tbody > tr > td,
table.table-condensed > tfoot > tr > td {
  padding: 5px;
}

/* Blue header styling for actual tables - matching literature page */
table th.blue-back {
  background-color: var(--fox-blue);
  color: var(--fox-gold);
  font-weight: bold;
  padding: 8px;
}

/* Hover effect for tables */
table.table-hover > tbody > tr:hover {
  background-color: #f5f5f5;
}

/* ==========================================================================
   Product Page List Spacing (Features/Benefits, Options, etc.)
   ========================================================================== */

/* Increase vertical spacing for list items in features/benefits and options sections */
.features-benefits ul {
  margin-bottom: 20px;
}

.features-benefits ul li {
  margin-bottom: 12px;
  line-height: 1.6;
  padding-bottom: 8px;
}

/* Add spacing to lists in tabs and other product sections */
#features ul li,
#options ul li,
.tab-content ul li {
  margin-bottom: 12px;
  line-height: 1.6;
}

/* Ensure proper spacing for nested lists */
.features-benefits ul ul,
#features ul ul,
#options ul ul {
  margin-top: 8px;
  margin-bottom: 8px;
}

/* Additional spacing for the last list item to separate sections */
.features-benefits ul li:last-child,
#features ul li:last-child,
#options ul li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Indent for table/download items (matching dimensions table) */
.indent-left {
  padding-left: 15px;
}

/* ==========================================================================
   Products Index Page - Technology & Series Comparison Tables
   ========================================================================== */

/* Add borders and padding to comparison table rows */
.table-row {
  border: 1px solid #ddd;
  padding: 2px 10px;
  min-height: 50px;
}

/* Add bottom border between rows */
.table-row + .table-row {
  border-top: none;
}

/* Add padding to cells within table rows */
.table-row [class*="col-"] {
  padding: 8px 12px;
  line-height: 1.6;
}

/* Blue bold headers in comparison tables */
.blue-bold {
  color: var(--fox-blue);
  font-weight: bold;
}

/* Button rows - remove extra spacing */
.table-row.btn-row {
  padding: 15px 8px;
}

/* Hover effect for table rows in comparison tables */
.table .table-row.hover:hover {
  background-color: #f5f5f5;
  transition: background-color 0.2s ease;
}

/* Enable horizontal scrolling for thermal mass series comparison table */
#thermalTab .col-md-12 {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Make thermal mass table wider to allow proper spacing */
#thermalTab .table {
  min-width: 1200px;
}

/* Give thermal mass columns more room */
#thermalTab .table-row .col-xs-2 {
  min-width: 200px;
  padding: 10px 15px;
}

/* Vortex table can also benefit from scrolling on smaller screens */
#vortexTab .col-md-12 {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Ensure proper spacing in vortex table columns */
#vortexTab .table-row .col-xs-4 {
  padding: 10px 15px;
}

/* ==========================================================================
   Application Pages (applications/*.php)
   ========================================================================== */

/* Utility padding/margin classes (small pixel values) */
.pl-8 {
    padding-left: 8px;
}
.p-30 {
    padding: 30px;
}

/* Bold buttons on application pages */
.btn-fox.text-lg {
    font-weight: bold;
}

/* Equal-height article cards with bottom-aligned buttons (4-column layout) */
@media (min-width: 992px) {
    .row.p-30:has(> article.col-md-3) {
        display: flex;
        flex-wrap: wrap;
    }
    .row.p-30 > article.col-md-3 {
        display: flex;
        flex-direction: column;
    }
    .row.p-30 > article.col-md-3 > .btn {
        margin-top: auto;
    }
}

/* Panel images - hidden on mobile, shown on desktop */
.panel-img {
    display: none;
}

/* Application page content boxes */
.fill-contents {
    height: auto;
}
.fill-contents-sm {
    height: auto;
}

@media (min-width: 992px) {
    /* Responsive image dimensions for application cards */
    .img-fix {
        height: auto;
        width: 100%;
        max-height: 300px;
        object-fit: cover;
    }

    /* Border box styling for feature sections */
    .app-border,
    section.container .border {
        border: 2px solid;
        padding: 15px 15px 20px 15px;
        height: 100%;
    }

    /* Equal height feature columns */
    section.container .row.p-30 {
        display: flex;
        flex-wrap: wrap;
    }
    section.container .row.p-30 > [class*="col-md-4"] {
        display: flex;
        margin-bottom: 15px;
    }
    section.container .row.p-30 > [class*="col-md-4"] > .border {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    /* News/Innovation section - articles with bottom-aligned buttons */
    section.container .row.p-30 > article[class*="col-md-4"] {
        display: flex;
        flex-direction: column;
    }
    section.container .row.p-30 > article[class*="col-md-4"] > .fill-contents-sm {
        flex: 1;
    }
    section.container .row.p-30 > article[class*="col-md-4"] > .btn {
        margin-top: auto;
    }

    /* Panel content heights */
    .fill-contents {
        height: 550px;
    }
    .fill-contents-sm {
        height: 200px;
    }

    /* Show panel images on desktop */
    .panel-img {
        display: block;
    }
}

@media (min-width: 1200px) {
    /* Wider container for application pages */
    .applications-page .container,
    main > .container,
    main > section.container,
    main > header.container {
        width: 1300px;
    }

    .fill-contents {
        height: 450px;
    }
}

/* ==========================================================================
   RMA Service Orders (Account Service Page)
   ========================================================================== */

/* RMA Panel takes full width */
.rma-panel {
  margin-bottom: 10px;
}

/* RMA Panel Header Layout */
.rma-header-content {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  gap: 10px;
}

.rma-toggle {
  cursor: pointer;
}

.rma-toggle:hover,
.rma-toggle:focus {
  text-decoration: none;
  color: inherit;
}

.rma-toggle.no-meters {
  cursor: default;
  pointer-events: none;
}

.rma-expand-icon {
  flex-shrink: 0;
  width: 24px;
  cursor: pointer;
}

.rma-expand-icon.no-meters {
  cursor: default;
  pointer-events: none;
}

.rma-main-info {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Clickable RMA number link */
.rma-number-link {
  font-size: 15px;
  font-weight: bold;
  color: var(--fox-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.rma-number-link:hover,
.rma-number-link:focus {
  color: var(--fox-gold);
  text-decoration: underline;
}

.rma-date {
  font-size: 13px;
  color: var(--text-muted);
}

.rma-company-info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 25px;
  font-size: 14px;
  color: #666;
}

.rma-company-info > span {
  white-space: nowrap;
}

.rma-meter-count {
  flex: 0 0 80px;
  text-align: center;
}

/* Actions area - fixed width for consistent alignment */
.rma-actions {
  flex: 0 0 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Upload PO Button - Success style */
.btn-upload-po {
  background-color: #28a745;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.btn-upload-po:hover {
  background-color: #218838;
  color: #fff;
  text-decoration: none;
}

.btn-upload-po:focus {
  outline: 2px solid #28a745;
  outline-offset: 2px;
}

/* Meters badge */
.badge-meters {
  background-color: #337ab7;
  color: #fff;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 12px;
}

/* RMA Panel Icon transitions */
.rma-expand-icon .glyphicon {
  transition: transform 0.3s ease;
}

.rma-expand-icon[aria-expanded="true"] .glyphicon-plus::before {
  content: "\2212";
}

/* RMA Panel body styling */
.rma-panel .panel-body {
  background-color: var(--gray-50);
  padding: 15px;
}

/* FT1-style meters table container */
.meters-table-ft1 {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

/* Meter data rows - FT1 styling with hover accent */
.meters-table-ft1 .hover:hover {
  background-color: #f0f7ff;
  border-left-color: var(--fox-blue);
}

/* Meter row left border accent on hover */
.meters-table-ft1 .border-brl {
  border-left: 3px solid transparent;
}

/* Remove bottom border from last meter row */
.meter-row-container > .row:last-child {
  border-bottom: none;
}

/* Meter column styling */
.meter-col {
  padding: 4px 8px;
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  min-height: 45px;
}

/* Serial number styling */
.meter-serial {
  font-weight: 600;
  color: var(--fox-blue);
}

/* Meter diagnosis text */
.meter-diagnosis {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #888;
}

/* No RMAs message */
.no-rmas-message {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-size: 16px;
}

/* Hover effect for RMA panels with meters */
.panel-default:has(.rma-toggle:not(.no-meters)):hover {
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

/* Reduced opacity for RMA panels without meters */
.panel-default:has(.rma-toggle.no-meters) {
  opacity: 0.9;
}

/* PO Upload form styles */
#poFile {
  padding: 4px;
  border: 2px dashed #ccc;
  border-radius: 4px;
  background: #fafafa;
  cursor: pointer;
}

#poFile:hover {
  border-color: #28a745;
  background: #f0fff4;
}

/* Spinning animation for loading states */
.spinning {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* RMA Responsive adjustments */
@media (max-width: 992px) {
  .meter-col {
    font-size: 12px;
    min-height: 35px;
  }
}

@media (max-width: 992px) {
  .rma-main-info {
    flex: 0 0 140px;
  }

  .rma-company-info {
    font-size: 13px;
    gap: 15px;
  }

  .rma-actions {
    flex: 0 0 110px;
  }

  .rma-meter-count {
    flex: 0 0 70px;
  }
}

@media (max-width: 768px) {
  .rma-header-content {
    flex-wrap: wrap;
    gap: 10px;
  }

  .rma-toggle {
    flex: 1 1 100%;
    flex-wrap: wrap;
    position: relative;
    padding-right: 30px;
  }

  .rma-expand-icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .rma-main-info {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
  }

  .rma-company-info {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .rma-company-info > span {
    white-space: normal;
  }

  .rma-meter-count {
    flex: 0 0 auto;
    text-align: left;
  }

  .rma-actions {
    flex: 1 1 100%;
    justify-content: flex-start;
    padding-left: 35px;
  }

  /* Hide some columns on mobile */
  .hide-mobile {
    display: none;
  }

  .meter-col {
    padding: 2px 5px;
    font-size: 11px;
  }
}