/*!
 * Bootstrap 3 base behavior for the Porto 3 theme on Bootstrap 5 (11/28/2026).
 * Load right after vendor/bootstrap5/bootstrap.min.css and before the Porto *.bs5.css files,
 * so Porto's own rules still win. Built by build_porto_css.py.
 */
:root, [data-bs-theme=light] {
  --bs-body-font-family: 'Lato', sans-serif;
  --bs-body-font-size: 14px;
  --bs-body-line-height: 1.428571429;
  --bs-body-color: #333;
  --bs-link-color: #337ab7; --bs-link-color-rgb: 51, 122, 183;
  --bs-link-hover-color: #23527c; --bs-link-hover-color-rgb: 35, 82, 124;
  --bs-border-radius: 4px; --bs-border-radius-sm: 3px; --bs-border-radius-lg: 6px;
}
a { text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
hr { margin: 20px 0; border: 0; border-top: 1px solid #eee; opacity: 1; color: gray; }
button, input, optgroup, select, textarea { color: inherit; }  /* Bootstrap 3 normalize */
label { display: inline-block; max-width: 100%; margin-bottom: 5px; font-weight: 700; }
b, strong { font-weight: 700; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-weight: 500; line-height: 1.1; margin-top: 10px; margin-bottom: 10px; }
h1, h2, h3, .h1, .h2, .h3 { margin-top: 20px; }
h1, .h1 { font-size: 36px; } h2, .h2 { font-size: 30px; } h3, .h3 { font-size: 24px; }
h4, .h4 { font-size: 18px; } h5, .h5 { font-size: 14px; } h6, .h6 { font-size: 12px; }
p { margin: 0 0 10px; }
legend { float: none; width: 100%; font-size: 21px; margin-bottom: 20px; border-bottom: 1px solid #e5e5e5; }

/* Grid: Bootstrap 3 container widths and 30px gutters (Porto's layout is drawn for 1170px) */
.container { width: auto; max-width: none; padding-left: 15px; padding-right: 15px; }
@media (min-width: 768px)  { .container { width: 750px; } }
@media (min-width: 992px)  { .container { width: 970px; } }
@media (min-width: 1200px) { .container { width: 1170px; } }
/* Rows: Bootstrap 3 block rows with floated columns (below), not flex, so margins collapse and spacing
   matches at every width. Column widths still come from Bootstrap 5's col-* classes. */
.row { --bs-gutter-x: 30px; display: block; }
.row::before, .row::after { content: " "; display: table; }
.row::after { clear: both; }
/* Bootstrap 3 columns floated and kept 15px padding even outside a .row (Porto's portfolio list is a ul of columns).
   Floats are ignored inside Bootstrap 5's flex rows, so this only affects columns outside a .row. */
[class^="col-"], [class*=" col-"] { position: relative; min-height: 1px; padding-left: 15px; padding-right: 15px; }
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 { float: left; }
@media (min-width: 768px) { .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 { float: left; } }
@media (min-width: 992px) { .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 { float: left; } }
@media (min-width: 1200px) { .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12 { float: left; } }
.row > [class^="col-"], .row > [class*=" col-"] { padding-left: calc(var(--bs-gutter-x) * .5); padding-right: calc(var(--bs-gutter-x) * .5); }
/* Bootstrap 5 pads every child of a .row; Bootstrap 3 padded only the columns */
.row > :not([class^="col-"]):not([class*=" col-"]) { padding-left: 0; padding-right: 0; }
.form-group.mb-3 { margin-bottom: 15px !important; }
/* A .row directly inside a .row (no column between) was 30px wider than its parent in Bootstrap 3 */
.row > .row { width: calc(100% + var(--bs-gutter-x)); max-width: none; padding-left: 0; padding-right: 0; }
/* Empty anchors (<a name="...">) sitting in a .row must not become full-width flex items */
.row > a:empty { width: 0; height: 0; padding: 0; flex: 0 0 0; align-self: flex-start; }
.navbar-collapse { padding-left: 15px; padding-right: 15px; }
ol, ul { padding-left: 40px; margin-bottom: 10px; }
.img-thumbnail { display: inline-block; padding: 4px; line-height: 1.428571429; background-color: #fff; border: 1px solid #ddd; border-radius: 4px; }
.btn-responsive-nav { --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff; }
/* Bootstrap 3 clearfixed these, so floated children (Porto's header menus) still give them height */
.container::before, .container::after, .container-fluid::before, .container-fluid::after,
.navbar-collapse::before, .navbar-collapse::after, .form-horizontal .form-group::before, .form-horizontal .form-group::after { content: " "; display: table; }
.container::after, .container-fluid::after, .navbar-collapse::after, .form-horizontal .form-group::after { clear: both; }

/* Bootstrap 3 .nav: block list with floated pills (Porto's header menus are built on it) */
.nav { display: block; padding-left: 0; margin-bottom: 0; list-style: none; }
.nav::before, .nav::after { content: " "; display: table; }
.nav::after { clear: both; }
.nav > li { position: relative; display: block; }
.nav > li > a { position: relative; display: block; padding: 10px 15px; }
.nav > li > a:hover, .nav > li > a:focus { text-decoration: none; background-color: #eee; }
.nav-pills > li { float: left; }
.nav-pills > li > a { border-radius: 4px; }
.nav-pills > li + li { margin-left: 2px; }
.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus { color: #fff; background-color: #337ab7; }
/* The main menu is a .collapse for the phone toggle; Bootstrap 3 always showed it from 768px (Porto hides it again below 992px) */
@media (min-width: 768px) { .navbar-collapse.collapse { display: block !important; height: auto !important; padding-bottom: 0; overflow: visible !important; } }

/* Buttons and form fields: Bootstrap 3 sizes */
.btn { padding: 6px 12px; font-size: 14px; line-height: 1.428571429; border-radius: 4px; }
.btn-lg { padding: 10px 16px; font-size: 18px; line-height: 1.3333333; border-radius: 6px; }
.btn-sm { padding: 5px 10px; font-size: 12px; line-height: 1.5; border-radius: 3px; }
.btn-xs { padding: 1px 5px; font-size: 12px; line-height: 1.5; border-radius: 3px; }
.btn-light { --bs-btn-color: #333; --bs-btn-bg: #fff; --bs-btn-border-color: #ccc; --bs-btn-hover-color: #333; --bs-btn-hover-bg: #e6e6e6; --bs-btn-hover-border-color: #adadad; --bs-btn-active-color: #333; --bs-btn-active-bg: #e6e6e6; --bs-btn-active-border-color: #adadad; }
.btn-primary { --bs-btn-bg: #337ab7; --bs-btn-border-color: #2e6da4; --bs-btn-hover-bg: #286090; --bs-btn-hover-border-color: #204d74; --bs-btn-active-bg: #204d74; --bs-btn-active-border-color: #122b40; }
.btn-success { --bs-btn-bg: #5cb85c; --bs-btn-border-color: #4cae4c; --bs-btn-hover-bg: #449d44; --bs-btn-hover-border-color: #398439; --bs-btn-active-bg: #398439; --bs-btn-active-border-color: #255625; }
.btn-info { --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff; --bs-btn-bg: #5bc0de; --bs-btn-border-color: #46b8da; --bs-btn-hover-bg: #31b0d5; --bs-btn-hover-border-color: #269abc; --bs-btn-active-bg: #269abc; --bs-btn-active-border-color: #1b6d85; }
.btn-warning { --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff; --bs-btn-bg: #f0ad4e; --bs-btn-border-color: #eea236; --bs-btn-hover-bg: #ec971f; --bs-btn-hover-border-color: #d58512; --bs-btn-active-bg: #d58512; --bs-btn-active-border-color: #985f0d; }
.btn-danger { --bs-btn-bg: #d9534f; --bs-btn-border-color: #d43f3a; --bs-btn-hover-bg: #c9302c; --bs-btn-hover-border-color: #ac2925; --bs-btn-active-bg: #ac2925; --bs-btn-active-border-color: #761c19; }
.form-control, .form-select { height: 34px; padding: 6px 12px; font-size: 14px; line-height: 1.428571429; color: #555; border: 1px solid #ccc; border-radius: 4px; box-shadow: inset 0 1px 1px rgba(0,0,0,.075); }
.form-select { padding-right: 36px; }
textarea.form-control { height: auto; }
.form-control-lg, .form-select-lg { height: 46px; padding: 10px 16px; font-size: 18px; line-height: 1.3333333; border-radius: 6px; }
.form-control-sm, .form-select-sm { height: 30px; padding: 5px 10px; font-size: 12px; line-height: 1.5; border-radius: 3px; }
.form-select-sm { padding-right: 28px; }
.form-label { margin-bottom: 5px; }
.form-horizontal .form-label { padding-top: 7px; margin-bottom: 0; }
@media (min-width: 768px) { .form-horizontal .form-label { text-align: right; } }
/* Bootstrap 3 .radio / .checkbox blocks */
input[type="radio"], input[type="checkbox"] { margin: 4px 0 0; line-height: normal; }
.radio, .checkbox { position: relative; display: block; margin-top: 10px; margin-bottom: 10px; }
.radio label, .checkbox label { min-height: 20px; padding-left: 20px; margin-bottom: 0; font-weight: 400; cursor: pointer; }
.radio input[type="radio"], .checkbox input[type="checkbox"], .radio-inline input[type="radio"], .checkbox-inline input[type="checkbox"] { position: absolute; margin-left: -20px; }
.radio + .radio, .checkbox + .checkbox { margin-top: -5px; }
.radio-inline, .checkbox-inline { position: relative; display: inline-block; padding-left: 20px; margin-bottom: 0; font-weight: 400; vertical-align: middle; cursor: pointer; }
.radio-inline + .radio-inline, .checkbox-inline + .checkbox-inline { margin-top: 0; margin-left: 10px; }
.form-text { display: block; margin-top: 5px; margin-bottom: 10px; color: #737373; font-size: inherit; }
.has-error .form-control, .has-error .form-select { border-color: #a94442; }
.has-error .form-text, .has-error .control-label, .has-error .form-label { color: #a94442; }
.has-success .form-control, .has-success .form-select { border-color: #3c763d; }
.input-group-text { padding: 6px 12px; font-size: 14px; color: #555; background-color: #eee; border: 1px solid #ccc; }

/* Tables: Bootstrap 3 look */
.table { --bs-table-bg: transparent; margin-bottom: 20px; }
.table > :not(caption) > * > * { padding: 8px; line-height: 1.428571429; border-top: 1px solid #ddd; border-bottom-width: 0; box-shadow: none; }
.table > thead > tr > th { vertical-align: bottom; border-bottom: 2px solid #ddd; }
.table-sm > :not(caption) > * > * { padding: 5px; }
.table-striped > tbody > tr:nth-of-type(odd) { background-color: #f9f9f9; }   /* Bootstrap 3 striped the row, not the cells */
.table-hover > tbody > tr:hover { background-color: #f5f5f5; }
.table { --bs-table-border-color: #ddd; border-color: #ddd; }
.table-bordered { border: 1px solid #ddd; }
.table-bordered > :not(caption) > * { border-width: 0; }
.table-bordered > :not(caption) > * > * { border: 1px solid #ddd; }
td, th { padding: 0; }   /* Bootstrap 3 normalize; .table cells set their own padding */
.table, .table > :not(caption) > * > * { color: inherit; }   /* Bootstrap 5 forces black cell text */
th { text-align: left; }
.table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > th { border-top: 0; }
.list-group-item-success { color: #3c763d; background-color: #dff0d8; }
.list-group-item-info { color: #31708f; background-color: #d9edf7; }
.list-group-item-warning { color: #8a6d3b; background-color: #fcf8e3; }
.list-group-item-danger { color: #a94442; background-color: #f2dede; }
/* <ul class="breadcrumb"> with plain <li> items (Bootstrap 3 markup) */
.breadcrumb { display: block; }
.breadcrumb > li { display: inline-block; }
.breadcrumb > li + li:not(.breadcrumb-item)::before { content: "/\00a0"; padding: 0 5px; color: #ccc; }

/* Alerts and colors: Bootstrap 3 palette */
.alert { padding: 15px; margin-bottom: 20px; border-radius: 4px; }
.alert-success { --bs-alert-bg: #dff0d8; --bs-alert-color: #3c763d; --bs-alert-border-color: #d6e9c6; }
.alert-info { --bs-alert-bg: #d9edf7; --bs-alert-color: #31708f; --bs-alert-border-color: #bce8f1; }
.alert-warning { --bs-alert-bg: #fcf8e3; --bs-alert-color: #8a6d3b; --bs-alert-border-color: #faebcc; }
.alert-danger { --bs-alert-bg: #f2dede; --bs-alert-color: #a94442; --bs-alert-border-color: #ebccd1; }
.alert .btn-close { float: right; padding: 4px; margin-left: 10px; }
.text-muted { color: #777 !important; } .text-primary { color: #337ab7 !important; } .text-success { color: #3c763d !important; }
.text-info { color: #31708f !important; } .text-warning { color: #8a6d3b !important; } .text-danger { color: #a94442 !important; }

/* Bootstrap 3 components Bootstrap 5 dropped, still used by pages */
.card.card-body.bg-body-tertiary { min-height: 20px; padding: 19px; margin-bottom: 20px; background-color: #f5f5f5 !important; border: 1px solid #e3e3e3; border-radius: 4px; box-shadow: inset 0 1px 1px rgba(0,0,0,.05); }
/* Bootstrap 3 panels (converted to .card): inherit text color, and the panel-* color variants Bootstrap 5 lacks */
.card { display: block; margin-bottom: 20px; color: inherit; border: 1px solid transparent; border-radius: 4px; box-shadow: 0 1px 1px rgba(0,0,0,.05); }
.card > .card-header { padding: 10px 15px; border-bottom: 1px solid transparent; border-radius: 3px 3px 0 0; }
.card > .card-body { padding: 15px; }
.card > .card-footer { padding: 10px 15px; background-color: #f5f5f5; border-top: 1px solid #ddd; }
.card-title { margin: 0; font-size: 16px; }
.card-default { border-color: #ddd; } .card-default > .card-header { color: #333; background-color: #f5f5f5; border-color: #ddd; }
.card-primary { border-color: #337ab7; } .card-primary > .card-header { color: #fff; background-color: #337ab7; border-color: #337ab7; }
.card-success { border-color: #d6e9c6; } .card-success > .card-header { color: #3c763d; background-color: #dff0d8; border-color: #d6e9c6; }
.card-info { border-color: #bce8f1; } .card-info > .card-header { color: #31708f; background-color: #d9edf7; border-color: #bce8f1; }
.card-warning { border-color: #faebcc; } .card-warning > .card-header { color: #8a6d3b; background-color: #fcf8e3; border-color: #faebcc; }
.card-danger { border-color: #ebccd1; } .card-danger > .card-header { color: #a94442; background-color: #f2dede; border-color: #ebccd1; }
.card.card-body.bg-body-tertiary { color: inherit; }
.thumbnail { display: block; padding: 4px; margin-bottom: 20px; line-height: 1.428571429; background-color: #fff; border: 1px solid #ddd; border-radius: 4px; }
.thumbnail > img { display: block; max-width: 100%; height: auto; margin-left: auto; margin-right: auto; }
.list-inline > li { display: inline-block; padding-left: 5px; padding-right: 5px; }
.pager { padding-left: 0; margin: 20px 0; list-style: none; text-align: center; }
.pager li { display: inline; }
.pager li > a, .pager li > span { display: inline-block; padding: 5px 14px; background-color: #fff; border: 1px solid #ddd; border-radius: 15px; }
.pager li > a:hover, .pager li > a:focus { text-decoration: none; background-color: #eee; }
.img-fluid { display: block; }  /* Bootstrap 3 .img-responsive was a block */

/* GSK's own edits to the old vendor/bootstrap/bootstrap.css (3.3.0), carried over */
@media (min-width: 992px) { .col-lg-3 { color: #666; } }   /* was .col-md-3 */
.btn-primary { --bs-btn-hover-color: #F6BE13; --bs-btn-active-color: #F6BE13; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active { font-weight: bold; }
.breadcrumb-item.active, .breadcrumb > .active { color: #CCC; }

.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.badge { font-weight: 700; }
.modal { --bs-modal-width: 600px; }   /* Bootstrap 3 dialog width */
.modal-header { display: block; }
.modal-header .btn-close { float: right; }
.modal-title { margin: 0; line-height: 1.428571429; }
