/* Port of the legacy westbill global.scss (Bootstrap 3 era) onto Bootstrap 5 */

html {
  height: 100%;
}

body {
  min-height: 100%;
  min-height: 100vh;
  background: #eee;
  font: normal 12px/1.35 "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
  color: #333;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
}

a {
  color: #428bca;
  transition: color 0.25s ease-in-out;
  text-decoration: none;
}
a:hover, a:focus {
  color: #2a6496;
  text-decoration: none;
}

/* BS3 heading defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
}
h2 { font-size: 30px; }
h4 { font-size: 18px; }

/* @group Navbar — exact port of BS3 .navbar-default */
.navbar-westbill {
  background-color: #f8f8f8;
  border: 1px solid #e7e7e7;
  margin-bottom: 0;
  min-height: 50px;
  padding: 0;
  flex-shrink: 0; /* body is flex-column; never squash the navbar when the menu expands */
}

.navbar-westbill .navbar-brand {
  margin-right: 20px;
  padding: 0;
}

.navbar-westbill .navbar-brand img {
  max-height: 50px;
}

/* BS3: .navbar-nav>li>a { padding: 15px; color: #777 } + .navbar-btn margins */
.navbar-westbill .nav-link {
  color: #777;
  font-size: 12px;
  line-height: 20px;
  padding: 15px;
}

.navbar-westbill .nav-link:hover,
.navbar-westbill .nav-link:focus {
  color: #333;
  background-color: transparent;
}

/* BS3: keep nav links left, next to the brand (not pushed right by BS5's space-between) */
.navbar-westbill > .container-fluid {
  justify-content: flex-start;
}

/* Let the collapse area take the remaining row width on desktop */
.navbar-westbill .navbar-collapse {
  flex-grow: 1;
}

@media (min-width: 768px) {
  .navbar-nav {
    float: left;
    margin: 0;
  }
}

/* BS3 .navbar-toggle port (hamburger with icon bars) */
.navbar-westbill .navbar-toggler {
  position: relative;
  margin-left: auto;
  margin-right: 15px;
  padding: 9px 10px;
  background-color: transparent;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: none;
}
.navbar-westbill .navbar-toggler:hover,
.navbar-westbill .navbar-toggler:focus {
  background-color: #ddd;
  outline: 0;
}
.navbar-westbill .navbar-toggler .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background-color: #888;
}
.navbar-westbill .navbar-toggler .icon-bar + .icon-bar {
  margin-top: 4px;
}

/* Collapsed (mobile) menu — BS3 look: stacked links, divider above */
@media (max-width: 767.98px) {
  .navbar-westbill .navbar-collapse {
    width: 100%;
    border-top: 1px solid #e7e7e7;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  .navbar-westbill .navbar-nav {
    margin: 7.5px 0;
  }
  .navbar-westbill .nav-link {
    padding: 10px 15px;
    line-height: 20px;
  }
}

@media only screen and (max-width: 320px) {
  .navbar-westbill .navbar-brand {
    margin-right: 0;
  }
}
/* @end */

/* @group Wrap / sticky footer */
#wrap {
  background-color: #eee;
  flex: 1 0 auto;
  width: 100%;
}
/* @end */

/* @group Footer */
#footer {
  background-color: #1d1d1d;
  border-top: 1px solid #000;
  color: #666;
  padding: 10px 0;
  width: 100%;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  min-height: 67px;
}

#footer ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

#footer li {
  color: #999;
  font-size: 12px;
  padding: 15px 10px;
  list-style: none;
}

#footer li a {
  color: #666;
}

#footer li a:hover {
  color: #ccc;
  text-decoration: none;
}

@media (max-width: 767.98px) {
  #footer {
    padding: 5px 0;
  }
  #footer ul {
    flex-direction: column;
    align-items: flex-start;
  }
  #footer li {
    padding: 6px 10px;
  }
}
/* @end */

/* @group Headline */
.headline {
  border-bottom: 1px dotted #bbbbbb;
  display: block;
  margin: 10px 0 15px;
}
.headline h4 {
  border-bottom: 2px solid #606060;
  color: #606060;
  display: inline-block;
  font-size: 2.1em;
  margin-bottom: -2px;
  padding-bottom: 10px;
}
/* @end */

/* @group Sections */
section.section {
  background-color: #eee;
  padding: 40px 0 60px 0;
}
section.section h2 {
  margin: 10px 0 20px 0;
  font-size: 30px;
}
section div.constraint {
  width: 500px;
  max-width: 100%;
}

/* BS3 .form-group spacing + heading */
section.section .form-group {
  margin-bottom: 15px;
}

section.section .form-group h4 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 10px;
  color: #333;
}

/* @group BS3 form controls (exact values from dist.css) */
.form-control,
.form-select {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.form-control:focus,
.form-select:focus {
  border-color: #66afe9;
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
/* @end */

/* @group BS3 buttons (exact values from dist.css) */
.btn-primary {
  color: #fff;
  background-color: #428bca;
  border-color: #357ebd;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  color: #fff;
  background-color: #3276b1;
  border-color: #285e8e;
}

.btn-success {
  color: #fff;
  background-color: #5cb85c;
  border-color: #4cae4c;
}
.btn-success:hover,
.btn-success:focus,
.btn-success:active {
  color: #fff;
  background-color: #47a447;
  border-color: #398439;
}

.btn-lg {
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.33;
  border-radius: 6px;
}
/* @end */

/* @group BS3 panels (Bootstrap 5 dropped these; exact values from dist.css) */
.panel {
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
.panel-default {
  border-color: #ddd;
}
.panel-default > .panel-heading {
  color: #333;
  background-color: #f5f5f5;
  border-color: #ddd;
}
.panel-heading {
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.panel-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
  color: inherit;
}
.panel-body {
  padding: 15px;
}

.panel-group .panel {
  margin-bottom: 0;
  border-radius: 4px;
}
.panel-group .panel + .panel {
  margin-top: 5px;
}
.panel-title .accordion-toggle {
  color: inherit;
  display: block;
}
/* @end */

/* @group BS3 alerts (exact values from dist.css) */
.alert-warning {
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #faebcc;
}
.alert-success {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}
.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}
/* @end */

/* @group BS3 jumbotron (removed in BS5; used by /proxypass/blocked) */
.jumbotron {
  padding: 30px 15px;
  margin-bottom: 30px;
  color: inherit;
  background-color: #e7e7e7;
  border-radius: 6px;
}
.jumbotron h1 {
  font-size: 36px; /* BS3 base; 63px at >=768px, same as legacy dist.css */
  font-weight: 500;
  line-height: 1.1;
  margin: 20px 0 10px;
  color: inherit;
}
.jumbotron p {
  margin-bottom: 15px;
  font-size: 21px;
  font-weight: 200;
}
.jumbotron .btn-lg {
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
  border-radius: 6px;
}
@media screen and (min-width: 768px) {
  .jumbotron {
    padding: 48px 60px;
    border-radius: 6px;
  }
  .jumbotron h1 {
    font-size: 63px;
  }
}
/* @end */

@media only screen and (max-width: 320px) {
  section.section {
    padding: 16px 0 17px 0;
  }
  section.section h2 {
    font-size: 24px;
  }
  section div.constraint {
    width: 280px;
  }
}
/* @end */
