@import url(bootstrap-5.3.0-dist/css/bootstrap.min.css);
@import url(bootstrap-icons-1.11.3/font/bootstrap-icons.min.css);
/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}


.mr {
  margin-right: 5px;
}

.ml {
  margin-left: 5px;
}

/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

.navbar-header a.navbar-brand { padding-top: 0; padding-bottom: 0; }
@media (min-width: 768px) {
.navbar-fixed-top .container-fluid .navbar-collapse { font-size: 12px; }
.navbar-fixed-top .container-fluid .navbar-collapse li a { padding-left: 5px; padding-right: 5px; }
.navbar-fixed-top .container-fluid .navbar-right { font-size: 11px; }
.navbar-fixed-top .container-fluid .navbar-right .navbar-btn { padding: 5px; }
.navbar-header a.navbar-brand { padding: 0; }
}
@media (min-width: 992px) {
.navbar-header a.navbar-brand { padding: 0 15px; }
.navbar-fixed-top .container-fluid .navbar-collapse { font-size: 14px; }
.navbar-fixed-top .container-fluid .navbar-right { font-size: 12px; }
.navbar-fixed-top .container-fluid .navbar-collapse li a { padding-left: 10px; padding-right: 10px; }
.navbar-fixed-top .container-fluid .navbar-right { padding-right: 5px; }
.navbar-fixed-top .container-fluid .navbar-right .navbar-btn { margin-right: 5px; padding: 5px 10px; }
}
@media (min-width: 1200px) {
.navbar-fixed-top .container-fluid .navbar-right a { font-size: 14px; }
.navbar-fixed-top .container-fluid .navbar-right .navbar-btn { margin-right: 15px; }
.navbar-fixed-top .container-fluid .navbar-collapse li a { padding-left: 15px; padding-right: 15px; }
}

/* Bootstrap 5 top menu compact spacing. */
.navbar .navbar-brand { padding-left: .5rem; padding-right: .75rem; }
.navbar .navbar-brand img { max-width: 260px; height: auto; }
.navbar .navbar-nav { font-size: .875rem; }
.navbar .navbar-nav .nav-link { padding-left: .35rem; padding-right: .35rem; white-space: nowrap; }
.navbar .navbar-nav .dropdown-toggle::after { margin-left: .2em; }
@media (min-width: 992px) and (max-width: 1199.98px) {
.navbar .navbar-brand img { max-width: 220px; }
.navbar .navbar-nav { font-size: .8125rem; }
}
@media (min-width: 1200px) {
.navbar .navbar-brand img { max-width: 250px; }
.navbar .navbar-nav .nav-link { padding-left: .45rem; padding-right: .45rem; }
}
@media (min-width: 1400px) {
.navbar .navbar-nav { font-size: 1rem; }
.navbar .navbar-brand img { max-width: 300px; }
.navbar .navbar-nav .nav-link { padding-left: .55rem; padding-right: .55rem; }
}


span.active { font-weight: bold; }
div#login{ max-width: 35em; }

.quota_bar {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  min-width: 122px;
  height: 16px;
  overflow: hidden;
  background-color: white;
  border: 1px solid #999;
  line-height: 14px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}
.quota_fill { position: absolute; z-index: 1; top: 0; right: auto; bottom: 0; left: 0; max-width: 100%; }
.quota_label { position: relative; z-index: 2; display: block; height: 14px; padding: 0 4px; font-size: 12px; color: #666; cursor: default; }
.quota_no_border { min-width: 0; background: transparent; border: none; }
.quota_high { background: url(../images/quota-colors.png) repeat-x 0 -28px #f90509; }
.quota_mid  { background: url(../images/quota-colors.png) repeat-x 0 -14px #e3e909; }
.quota_low  { background: url(../images/quota-colors.png) repeat-x 0 0px #05f905; }
.quota_text_high { color: white; }
.quota_text_mid { color: #666; }
.quota_text_low { color: #666; }

/* Domain list column sizing. */
#admin_table th.list-col-domain,
#admin_table td.list-col-domain { min-width: 180px; }
#admin_table th.list-col-description,
#admin_table td.list-col-description { min-width: 120px; }
#admin_table th.list-col-aliases_quot,
#admin_table td.list-col-aliases_quot,
#admin_table th.list-col-mailboxes_quot,
#admin_table td.list-col-mailboxes_quot { width: 138px; text-align: center; white-space: nowrap; }
#admin_table th.list-col-maxquota,
#admin_table td.list-col-maxquota { width: 80px; text-align: center; white-space: nowrap; }
#admin_table th.list-col-total_quot,
#admin_table td.list-col-total_quot { width: 142px; text-align: center; white-space: nowrap; }
#admin_table th.list-col-transport,
#admin_table td.list-col-transport { width: 80px; text-align: center; white-space: nowrap; }
#admin_table th.list-col-backupmx,
#admin_table td.list-col-backupmx { width: 62px; text-align: center; white-space: nowrap; }
#admin_table th.list-col-active,
#admin_table td.list-col-active { width: 70px; text-align: center; white-space: nowrap; }
#admin_table th.list-col-modified,
#admin_table td.list-col-modified { width: 110px; text-align: center; white-space: nowrap; }
#admin_table th.list-col-password_expiry,
#admin_table td.list-col-password_expiry { width: 64px; text-align: center; white-space: nowrap; }
#admin_table th.list-col-action,
#admin_table td.list-col-action { width: 90px; text-align: center; white-space: nowrap; }

.domain-list-scroll { display: block; width: 100%; overflow-x: auto; }
.domain-list-scroll > #admin_table { min-width: 1240px; margin-bottom: 0; }

/* Keep the essential domain columns and actions visible before scrolling. */
#admin_table th.list-col-total_quot,
#admin_table th.list-col-password_expiry { white-space: normal; line-height: 1.2; }

@media (max-width: 1300px) {
  #admin_table .list-col-modified { display: none; }
  .domain-list-scroll > #admin_table { min-width: 1120px; }
}

@media (max-width: 1200px) {
  #admin_table .list-col-backupmx { display: none; }
  .domain-list-scroll > #admin_table { min-width: 1060px; }
}

@media (max-width: 1120px) {
  #admin_table .list-col-transport { display: none; }
  .domain-list-scroll > #admin_table { min-width: 980px; }
}

#admin_table th.list-col-action,
#admin_table td.list-col-action { width: 46px; }
#admin_table .list-action-icon,
#mailbox_table .list-action-icon { width: 34px; padding-left: 0; padding-right: 0; }

.mailbox-list-scroll { display: block; width: 100%; overflow-x: auto; }
.mailbox-list-scroll > #mailbox_table { min-width: 820px; margin-bottom: 0; }
.virtual-list-scroll { display: block; width: 100%; overflow-x: auto; }
.virtual-list-scroll > #admin_table { min-width: 720px; margin-bottom: 0; }
