/*
 * SEO Image legacy layout compatibility.
 * Replaces only the Bootstrap 2 layout/visibility behavior still used by page
 * wrappers after full Bootstrap is removed from modern marketing templates.
 * Loaded before style.css so existing page CSS keeps the same cascade it had
 * when Bootstrap was present.
 */

/*
 * Bootstrap previously supplied width and auto-centering to every .container.
 * Many modern templates still use that structural class, while their own
 * styles define the intended 1120/1200/1240/1300px exceptions.
 *
 * Use a zero-specificity fallback so any existing page or component selector
 * wins naturally. Apply it only from tablet upward; mobile remains fully
 * controlled by style2026.css, service-sales.css, local.css and page CSS.
 */
@media (min-width: 1024px) {
  :where(body.si-bootstrap-free .container) {
    width: var(--si-shell-standard, min(82vw, 1200px));
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  :where(body.si-bootstrap-free .container) {
    width: calc(100% - 36px);
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
  }
}

body.si-bootstrap-free .container::before,
body.si-bootstrap-free .container::after,
body.si-bootstrap-free .row-fluid::before,
body.si-bootstrap-free .row-fluid::after {
  display: table;
  line-height: 0;
  content: "";
}

body.si-bootstrap-free .container::after,
body.si-bootstrap-free .row-fluid::after {
  clear: both;
}

body.si-bootstrap-free .row-fluid {
  width: 100%;
}

body.si-bootstrap-free .row-fluid [class*="span"] {
  display: block;
  float: left;
  width: 100%;
  min-height: 30px;
  margin-left: 2.1276595744681%;
  box-sizing: border-box;
}

body.si-bootstrap-free .row-fluid [class*="span"]:first-child {
  margin-left: 0;
}

body.si-bootstrap-free .row-fluid .span12 { width: 100%; }
body.si-bootstrap-free .row-fluid .span9 { width: 74.468085106383%; }
body.si-bootstrap-free .row-fluid .span8 { width: 65.957446808511%; }
body.si-bootstrap-free .row-fluid .spanProposal { width: 68.936170212766%; }
body.si-bootstrap-free .row-fluid .span6 { width: 48.936170212766%; }
body.si-bootstrap-free .row-fluid .span5 { width: 40.425531914894%; }
body.si-bootstrap-free .row-fluid .span4 { width: 31.914893617021%; }
body.si-bootstrap-free .row-fluid .span3 { width: 23.404255319149%; }

body.si-bootstrap-free .hide { display: none; }
body.si-bootstrap-free .hidden { display: none; visibility: hidden; }
body.si-bootstrap-free .visible-phone,
body.si-bootstrap-free .visible-tablet,
body.si-bootstrap-free .hidden-desktop { display: none !important; }
body.si-bootstrap-free .visible-desktop { display: inherit !important; }

@media (min-width: 768px) and (max-width: 979px) {
  body.si-bootstrap-free .row-fluid [class*="span"] { margin-left: 2.7624309392265%; }
  body.si-bootstrap-free .row-fluid [class*="span"]:first-child { margin-left: 0; }
  body.si-bootstrap-free .row-fluid .span12 { width: 100%; }
  body.si-bootstrap-free .row-fluid .span9 { width: 74.309392265193%; }
  body.si-bootstrap-free .row-fluid .span8 { width: 65.745856353591%; }
  body.si-bootstrap-free .row-fluid .span6 { width: 48.618784530387%; }
  body.si-bootstrap-free .row-fluid .span5 { width: 40.055248618785%; }
  body.si-bootstrap-free .row-fluid .span4 { width: 31.491712707182%; }
  body.si-bootstrap-free .row-fluid .span3 { width: 22.92817679558%; }
  body.si-bootstrap-free .hidden-desktop { display: inherit !important; }
  body.si-bootstrap-free .visible-desktop { display: none !important; }
  body.si-bootstrap-free .visible-tablet { display: inherit !important; }
  body.si-bootstrap-free .hidden-tablet { display: none !important; }
}

@media (max-width: 767px) {
  body.si-bootstrap-free .row-fluid { width: 100%; }
  body.si-bootstrap-free [class*="span"],
  body.si-bootstrap-free .row-fluid [class*="span"] {
    display: block;
    float: none;
    width: 100%;
    margin-left: 0;
    box-sizing: border-box;
  }
  body.si-bootstrap-free .row-fluid .span12 { width: 100%; }
  body.si-bootstrap-free .hidden-desktop { display: inherit !important; }
  body.si-bootstrap-free .visible-desktop { display: none !important; }
  body.si-bootstrap-free .visible-phone { display: inherit !important; }
  body.si-bootstrap-free .hidden-phone { display: none !important; }
}

/* ==========================================================
   Bootstrap-free form-control normalization
   Restores only the small input baseline previously supplied by Bootstrap.
   ========================================================== */
body.si-bootstrap-free input[type="text"],
body.si-bootstrap-free input[type="password"],
body.si-bootstrap-free input[type="email"],
body.si-bootstrap-free input[type="tel"],
body.si-bootstrap-free input[type="url"],
body.si-bootstrap-free input[type="search"],
body.si-bootstrap-free input[type="number"],
body.si-bootstrap-free input[type="date"],
body.si-bootstrap-free input[type="datetime-local"],
body.si-bootstrap-free input[type="month"],
body.si-bootstrap-free input[type="time"],
body.si-bootstrap-free input[type="week"],
body.si-bootstrap-free select,
body.si-bootstrap-free textarea {
  box-sizing: border-box;
  max-width: 100%;
  color: #151515;
  background-color: #fff;
  border: 1px solid #bebdbd;
  border-radius: 2px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 15px;
  line-height: normal;
  box-shadow: none;
}

body.si-bootstrap-free input[type="text"]:focus,
body.si-bootstrap-free input[type="password"]:focus,
body.si-bootstrap-free input[type="email"]:focus,
body.si-bootstrap-free input[type="tel"]:focus,
body.si-bootstrap-free input[type="url"]:focus,
body.si-bootstrap-free input[type="search"]:focus,
body.si-bootstrap-free input[type="number"]:focus,
body.si-bootstrap-free input[type="date"]:focus,
body.si-bootstrap-free input[type="datetime-local"]:focus,
body.si-bootstrap-free input[type="month"]:focus,
body.si-bootstrap-free input[type="time"]:focus,
body.si-bootstrap-free input[type="week"]:focus,
body.si-bootstrap-free select:focus,
body.si-bootstrap-free textarea:focus {
  background-color: #fff;
  border-color: #8f949b;
  outline: 0;
}
