/*
 * Compatibility helpers for old Bootstrap 3 templates while running
 * Bootstrap 5. Keep this small and remove rules as templates are migrated.
 */

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
}

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;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
}

.col-xs-1,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9,
.col-xs-10,
.col-xs-11,
.col-xs-12 {
  flex: 0 0 auto;
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5);
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5);
}

.col-xs-1 { width: 8.33333333%; }
.col-xs-2 { width: 16.66666667%; }
.col-xs-3 { width: 25%; }
.col-xs-4 { width: 33.33333333%; }
.col-xs-5 { width: 41.66666667%; }
.col-xs-6 { width: 50%; }
.col-xs-7 { width: 58.33333333%; }
.col-xs-8 { width: 66.66666667%; }
.col-xs-9 { width: 75%; }
.col-xs-10 { width: 83.33333333%; }
.col-xs-11 { width: 91.66666667%; }
.col-xs-12 { width: 100%; }

.pull-left { float: left !important; }
.pull-right { float: right !important; }
.center-block {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.hidden { display: none !important; }
.img-responsive {
  max-width: 100%;
  height: auto;
}

@font-face {
  font-family: 'Glyphicons Halflings';
  src: url('/bootstrap/fonts/glyphicons-halflings-regular.eot');
  src: url('/bootstrap/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),
       url('/bootstrap/fonts/glyphicons-halflings-regular.woff2') format('woff2'),
       url('/bootstrap/fonts/glyphicons-halflings-regular.woff') format('woff'),
       url('/bootstrap/fonts/glyphicons-halflings-regular.ttf') format('truetype'),
       url('/bootstrap/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

.glyphicon {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.glyphicon-plus:before { content: "\2b"; }
.glyphicon-search:before { content: "\e003"; }
.glyphicon-th:before { content: "\e011"; }
.glyphicon-chevron-left:before { content: "\e079"; }
.glyphicon-chevron-right:before { content: "\e080"; }

.btn-default {
  --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;
}

.input-group-addon {
  display: flex;
  align-items: center;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  text-align: center;
  white-space: nowrap;
  background-color: var(--bs-tertiary-bg);
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
}

.input-group > .input-group-addon:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group > .input-group-addon:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin-left: calc(var(--bs-border-width) * -1);
}

.navbar-inverse {
  min-height: 110px;
  margin-bottom: 20px;
  padding: 22px 28px;
  color: #f5f5f5;
  background: #222;
  border: 1px solid #080808;
  border-radius: 4px;
}

.navbar-inverse .container-fluid {
  display: flex;
  align-items: center;
  width: 100%;
  padding-right: 0;
  padding-left: 0;
}

.navbar-inverse .navbar-header {
  flex: 0 0 42px;
  width: 42px;
  height: 58px;
}

.navbar-inverse .navbar-collapse {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 auto;
  height: auto !important;
  overflow: visible !important;
  visibility: visible !important;
  min-width: 0;
}

.navbar-inverse .row {
  --bs-gutter-x: 0;
}

.navbar-inverse .navbar-collapse > .row:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-inverse .navbar-collapse > .row:first-child > .col-sm-5 {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  max-width: none;
  width: auto;
  min-height: 50px;
}

.navbar-inverse .navbar-collapse > .row:first-child > .pull-right {
  float: none !important;
  flex: 0 0 auto;
  width: auto !important;
  margin-left: auto;
}

.navbar-inverse a {
  color: #f5f5f5;
  text-decoration: none;
}

.navbar-inverse a:hover,
.navbar-inverse a:focus {
  color: #fff;
  text-decoration: none;
}

.navbar-inverse .text-muted {
  color: inherit !important;
}

.navbar-btn {
  position: relative;
  width: 32px;
  height: 32px;
  margin: 11px 10px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.navbar-btn span {
  position: absolute;
  left: 3px;
  display: block;
  width: 28px;
  height: 2px;
  background: #f5f5f5;
}

.navbar-btn span:nth-child(1) {
  top: 15px;
  transform: rotate(45deg);
}

.navbar-btn span:nth-child(2) {
  display: none;
}

.navbar-btn span:nth-child(3) {
  top: 15px;
  transform: rotate(-45deg);
}

.navbar-inverse .image {
  max-height: 46px;
  margin-top: 0 !important;
  margin-right: 20px;
}

.navbar-inverse h4 {
  display: inline-block;
  margin-top: 0 !important;
  margin-bottom: 0;
  margin-left: 0 !important;
  line-height: 48px;
}

.navbar-inverse .navbar-collapse > .row.pull-left {
  position: absolute;
  left: 64px;
  bottom: 18px;
  float: none !important;
  margin-top: 0 !important;
  margin-left: 0;
}

.navbar-inverse .navbar-collapse > .row.pull-left h6 {
  margin-top: 0 !important;
  margin-bottom: 0;
  font-size: 12px;
}

.company-title-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin-left: 0;
  margin-right: 0;
  min-height: 58px;
  gap: 8px;
}

.company-title-row > img.pull-left {
  float: none !important;
  flex: 0 0 auto;
  margin-left: 20px !important;
  width: 48px !important;
  height: 48px !important;
  max-width: 48px;
  max-height: 48px !important;
  object-fit: cover;
  border-radius: 50% !important;
}

.company-title-row > h4.pull-left {
  float: none !important;
  margin-top: 0 !important;
  margin-bottom: 0;
  margin-left: 0 !important;
  line-height: 48px;
  white-space: nowrap;
}

.social_reg_log_area {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
  white-space: nowrap;
}

.top_social_bar,
.language_area {
  display: inline-block;
  vertical-align: middle;
}

.language_area .btn-default {
  padding: 6px 12px;
}

.language_area .dropdown-menu {
  min-width: 170px;
  padding: 5px 0;
}

.language_area .dropdown-menu > li > a {
  display: block;
  padding: 6px 14px;
  clear: both;
  color: #333;
  white-space: nowrap;
  text-decoration: none;
}

.language_area .dropdown-menu > li > a:hover,
.language_area .dropdown-menu > li > a:focus {
  color: #262626;
  background-color: #f5f5f5;
}

.language_area .dropdown-menu img {
  width: 18px;
  margin-right: 6px;
}

body > #transDlg:not(.ui-dialog-content) {
  display: none;
}

#transDlg.translator-fallback-open {
  position: fixed;
  top: 90px;
  left: 50%;
  z-index: 1055;
  display: block !important;
  width: 450px;
  max-width: calc(100vw - 32px);
  padding: 16px;
  background: #fff;
  border: 1px solid #c5c5c5;
  border-radius: 3px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .25);
  transform: translateX(-50%);
}

#transDlg.translator-fallback-open.translator-dragging {
  cursor: move;
  user-select: none;
}

#transDlg.translator-fallback-open:before {
  display: block;
  margin: -16px -16px 12px;
  padding: 8px 42px 8px 14px;
  color: #333;
  font-weight: 700;
  background: #e9e9e9;
  border-bottom: 1px solid #c5c5c5;
  content: attr(title);
  cursor: move;
}

.translator-fallback-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 26px;
  height: 26px;
  padding: 0;
  color: #777;
  font-size: 22px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  background: transparent;
  border: 0;
}

.translator-fallback-close:hover,
.translator-fallback-close:focus {
  color: #333;
}

.login-page.bg-dark {
  background-color: transparent !important;
}

.login-page {
  color: #263238;
}

.login-page a {
  color: #1967b3;
}

.login-page a:hover,
.login-page a:focus {
  color: #0f4f8c;
}

.login-page .bg-info {
  background-color: #eef6f9 !important;
  border: 1px solid #d7e7ee;
}

.login-page .panel {
  margin-bottom: 20px;
  color: #263238;
  background-color: #fff;
  border: 1px solid #dde5e8;
  border-radius: 3px;
  box-shadow: none;
}

.login-page .panel-info {
  border-color: #d7e7ee;
}

.login-page .panel-default {
  border-color: #e2e2e2;
}

.login-page .panel-body {
  padding: 18px;
}

.login-page .panel-body img {
  max-width: 100%;
}

.login-page table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.login-page table > tbody > tr > td {
  vertical-align: top;
  padding-top: 0;
}

.login-page table > tbody > tr > td:first-child > .panel:first-child,
.login-page table > tbody > tr > td:last-child > .bg-info:first-child {
  margin-top: 0;
}

.login-page table > tbody > tr > td:last-child > .bg-info:first-child {
  min-height: 220px;
  padding: 1px 18px 18px;
}

.login-page td > .bg-info > .row {
  display: block;
  margin-right: 0;
  margin-left: 0;
}

.login-page .input-group {
  display: block;
  width: 100%;
  padding: 0;
}

.login-page .input-group > h5 {
  display: block;
  margin: 12px 0 12px 0;
  color: #22313a;
  font-weight: 700;
}

.login-page .input-group > .form-control {
  display: block;
  float: none;
  width: 350px;
  max-width: calc(100% - 40px);
  min-height: 30px;
  padding: 5px 12px;
  margin-left: 0 !important;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #263238;
  background-color: #fff;
  border: 1px solid #cfd8dc;
  border-radius: 2px;
  box-shadow: none;
}

.login-page .input-group > .form-control:focus {
  border-color: #84aeca;
  box-shadow: 0 0 0 2px rgba(25, 103, 179, .08);
}

.login-page .input-group > br {
  display: none;
}

.login-page .input-group > .row {
  display: block;
  margin-right: 0;
  margin-left: 0;
  width: 390px;
  max-width: calc(100% - 20px);
  min-height: 34px;
  margin-top: 30px;
}

.login-page .input-group > .row:before,
.login-page .input-group > .row:after {
  display: table;
  content: " ";
}

.login-page .input-group > .row:after {
  clear: both;
}

.login-page .input-group > .row .btn-link {
  display: inline-block;
  float: left !important;
  width: auto;
  padding: 6px 12px;
  margin-left: 0 !important;
  line-height: 1.42857143;
}

.login-page .input-group > .row .btn-success {
  display: inline-block;
  float: right !important;
  width: auto;
  min-width: 58px;
  padding: 6px 12px;
  margin-right: 38px !important;
  line-height: 1.42857143;
  border-radius: 4px;
}

.login-page table > tbody > tr > td:last-child > .bg-info.shadow-sm {
  padding: 24px 28px !important;
  color: #263238;
  box-shadow: none !important;
}

.login-page table > tbody > tr > td:last-child > .bg-info.shadow-sm .row {
  margin-left: 0 !important;
}

.login-page table > tbody > tr > td:last-child > img {
  width: 100% !important;
  max-height: 520px;
  object-fit: cover;
  margin-left: 0 !important;
  border: 1px solid #e1e7ea;
  box-shadow: none !important;
}

.login-page td:first-child .panel-info:nth-of-type(2),
.login-page td:first-child .panel-info:nth-of-type(4) {
  background: #fbfcfd !important;
}

.login-page td:first-child .panel-info:nth-of-type(5) {
  background: #eef8fa !important;
}

.whquote-page .input-group {
  display: flex;
  width: 100%;
  align-items: stretch;
}

.whquote-page .input-group-addon,
.whquote-page .input-group .form-control {
  display: block;
}

.whquote-page .input-group-addon {
  flex: 0 0 auto;
  white-space: nowrap;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.whquote-page select.form-control {
  flex: 1 1 auto;
  width: 100%;
  min-width: 190px;
  height: 34px;
  padding-right: 28px;
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
  appearance: auto;
  background-color: #fff;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.whquote-page #quota_tbl {
  width: 100%;
  table-layout: fixed;
}

.whquote-page #quota_tbl th,
.whquote-page #quota_tbl td {
  padding: 6px 8px;
  vertical-align: middle;
  word-break: break-word;
}

.whquote-page #quota_tbl th:nth-child(1),
.whquote-page #quota_tbl td:nth-child(1) {
  width: 13%;
}

.whquote-page #quota_tbl th:nth-child(2),
.whquote-page #quota_tbl td:nth-child(2) {
  width: 42%;
}

.whquote-page #quota_tbl th:nth-child(3),
.whquote-page #quota_tbl td:nth-child(3) {
  width: 17%;
}

.whquote-page #quota_tbl th:nth-child(4),
.whquote-page #quota_tbl td:nth-child(4) {
  width: 12%;
  text-align: right;
}

.whquote-page #quota_tbl th:nth-child(5),
.whquote-page #quota_tbl td:nth-child(5) {
  width: 16%;
}

.msg-forum-page,
.msg-forum-page .msg-forum-table {
  width: 100%;
}

.msg-forum-page .msg-forum-table > tbody,
.msg-forum-page .msg-forum-table > tbody > tr,
.msg-forum-page .msg-forum-table > tbody > tr > td {
  width: 100%;
}

.msg-forum-page .msg-compose-cell {
  display: block;
  width: 100%;
  padding: 16px 18px;
  background-color: #eeeecc;
}

.msg-forum-page .msg-compose-cell form {
  width: 100%;
}

.msg-forum-page .msg-compose-cell .row {
  margin-right: 0;
  margin-left: 0;
}

.msg-forum-page .msg-compose-cell input.form-control,
.msg-forum-page .msg-compose-cell textarea.form-control {
  width: 100%;
}

.msg-forum-page .msg-compose-cell textarea.form-control {
  min-height: 180px;
  resize: vertical;
}

.profile-page .profile-edit-dialog:not(.ui-dialog-content) {
  display: none;
}

.profile-page .profile-edit-dialog.profile-edit-dialog-open {
  position: fixed;
  top: 30%;
  left: 50%;
  z-index: 1055;
  display: block;
  width: 320px;
  max-width: calc(100vw - 32px);
  padding: 16px;
  background: #fff;
  border: 1px solid #bbb;
  border-radius: 4px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .24);
  transform: translateX(-50%);
}

.profile-page .profile-edit-dialog.profile-edit-dialog-open input,
.profile-page .profile-edit-dialog.profile-edit-dialog-open select,
.profile-page .profile-edit-dialog.profile-edit-dialog-open textarea {
  width: 100%;
}

.profile-page table.table {
  width: 100%;
  margin-bottom: 20px;
}

.profile-page table.table > tbody > tr > td {
  padding: 10px 8px;
  vertical-align: middle;
  border-top: 1px solid #ddd;
}

.profile-page table.table > tbody > tr > td:first-child {
  width: 12%;
  white-space: nowrap;
}

.profile-page .fa-pencil-square-o {
  color: #1967b3;
}

.profile-page .label {
  vertical-align: middle;
}

.profile-page .btn-sm {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 3px;
  text-decoration: none;
}

.profile-page .btn-secondary {
  color: #fff;
  background-color: #6c757d;
}

.panel {
  margin-bottom: 1rem;
  background-color: var(--bs-body-bg);
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
}

.panel-body { padding: 1rem; }
.panel-heading {
  padding: .5rem 1rem;
  border-bottom: var(--bs-border-width) solid var(--bs-border-color);
  background-color: var(--bs-tertiary-bg);
}

.panel-title {
  margin: 0;
  font-size: 1rem;
}

.panel-footer {
  padding: .5rem 1rem;
  border-top: var(--bs-border-width) solid var(--bs-border-color);
  background-color: var(--bs-tertiary-bg);
}

.panel-default { border-color: var(--bs-border-color); }
.panel-primary { border-color: var(--bs-primary); }
.panel-success { border-color: var(--bs-success); }
.panel-info { border-color: var(--bs-info); }
.panel-warning { border-color: var(--bs-warning); }
.panel-danger { border-color: var(--bs-danger); }

.label {
  display: inline-block;
  padding: .35em .65em;
  font-size: .75em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: var(--bs-border-radius-sm);
}

.label-default { background-color: var(--bs-secondary); }
.label-primary { background-color: var(--bs-primary); }
.label-success { background-color: var(--bs-success); }
.label-info { background-color: var(--bs-info); }
.label-warning { background-color: var(--bs-warning); }
.label-danger { background-color: var(--bs-danger); }

.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .5;
  text-decoration: none;
}

.close:hover,
.close:focus {
  color: #000;
  opacity: .75;
  text-decoration: none;
}

.nav-tabs:before,
.nav-tabs:after {
  display: table;
  content: " ";
}

.nav-tabs:after {
  clear: both;
}

.nav-tabs > li {
  float: left;
  margin-bottom: -1px;
}

.nav-tabs > li > a {
  display: block;
  padding: 10px 15px;
  margin-right: 2px;
  line-height: 1.42857143;
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0;
  text-decoration: none;
}

.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
  border-color: #eee #eee #ddd;
  text-decoration: none;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus,
.nav-tabs > li > a.active,
.nav-tabs > li > a.active:hover,
.nav-tabs > li > a.active:focus {
  color: #555;
  cursor: default;
  background-color: #fff;
  border: 1px solid #ddd;
  border-bottom-color: transparent;
}

.tab-content > .tab-pane {
  display: none;
}

.tab-content > .active,
.tab-content > .tab-pane.active,
.tab-content > .tab-pane.show {
  display: block;
}

.tab-content > .fade.in,
.tab-content > .tab-pane.fade.active {
  opacity: 1;
}

.carousel-inner > .item {
  position: relative;
  display: none;
  float: left;
  width: 100%;
  margin-right: -100%;
  backface-visibility: hidden;
  transition: transform .6s ease-in-out;
}

.carousel-inner > .item.active,
.carousel-inner > .carousel-item.active {
  display: block;
}

.carousel-control {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
  color: #fff;
  text-align: center;
  opacity: .5;
  text-decoration: none;
}

.carousel-control.left { left: 0; }
.carousel-control.right {
  right: 0;
  left: auto;
}

.carousel-control:hover,
.carousel-control:focus {
  color: #fff;
  opacity: .9;
  text-decoration: none;
}

.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
  display: none !important;
}

@media (max-width: 767.98px) {
  .visible-xs { display: block !important; }
  .hidden-xs { display: none !important; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .visible-sm { display: block !important; }
  .hidden-sm { display: none !important; }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .visible-md { display: block !important; }
  .hidden-md { display: none !important; }
}

@media (min-width: 1200px) {
  .visible-lg { display: block !important; }
  .hidden-lg { display: none !important; }
}
