/* AlphaHost migration layer for legacy GK content blocks on Cassiopeia. */

.container-banner .mod-custom {
  margin-inline: auto;
  max-width: 1180px;
  padding-inline: 1rem;
  width: 100%;
}

.container-banner .gkBigTitle {
  color: #111827;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 3.5rem 0 1.25rem;
  text-align: center;
}

.container-banner .gkBigTitle + p {
  color: #374151;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.55;
  margin: 0 auto 3.5rem;
  max-width: 980px;
  text-align: center;
}

.gkColorPriceTable {
  display: grid;
  gap: clamp(1rem, 2.5vw, 2rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1040px;
  padding: 0 0 6rem;
  width: 100%;
}

.gkColorPriceTable::after {
  content: none;
}

.gkColorPriceTable.col3 dl,
.gkColorPriceTable.col3 dl.gkPremium {
  background: #287fbd;
  border: 0;
  border-radius: .5rem;
  box-shadow: 0 .75rem 2rem rgba(15, 23, 42, .12);
  box-sizing: border-box;
  float: none;
  margin: 0;
  min-width: 0;
  overflow: visible;
  padding: 1.25rem;
  position: relative;
  width: auto;
}

.gkColorPriceTable.col3 dl.gkPremium {
  background: #111827;
  transform: translateY(-1.25rem);
}

.gkColorPriceTable.col3 dl.gkColor {
  background: #7da81b;
}

.gkColorPriceTable dt,
.gkColorPriceTable .gkPremium dt {
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.25;
  margin: -.5rem -1.25rem 1.5rem;
  padding: 1rem 1.25rem 1.25rem;
  text-align: center;
  text-transform: uppercase;
}

.gkColorPriceTable dd,
.gkColorPriceTable .gkPremium dd {
  color: rgba(255, 255, 255, .82);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  padding: 0;
  text-align: center;
}

.gkColorPriceTable .gkPrice,
.gkColorPriceTable .gkPremium .gkPrice {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  margin: 0 0 2rem;
}

.gkColorPriceTable .gkPrice > span,
.gkColorPriceTable .gkPremium .gkPrice > span {
  color: rgba(255, 255, 255, .75);
  display: block;
  font-size: .9rem;
  font-weight: 400;
  line-height: 1.5;
}

.gkColorPriceTable .gkPrice > small,
.gkColorPriceTable .gkPremium .gkPrice > small {
  color: rgba(255, 255, 255, .75);
  font-size: 1.1rem;
  font-weight: 400;
}

.gkColorPriceTable .gkLink {
  margin: 1.25rem 0 -4.5rem;
}

.gkColorPriceTable .gkLink a,
.gkColorPriceTable .gkLink a.loaded {
  align-items: center;
  background: #fff;
  border: .3rem solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  color: #185a89;
  display: flex;
  font-size: .95rem;
  font-weight: 600;
  height: 6rem;
  justify-content: center;
  line-height: 1.2;
  margin: 1.25rem auto 0;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transform: scale(1);
  transition: transform .2s ease, box-shadow .2s ease;
  width: 6rem;
}

.gkColorPriceTable .gkLink a:hover,
.gkColorPriceTable .gkLink a:focus {
  box-shadow: 0 .5rem 1.25rem rgba(15, 23, 42, .2);
  color: #0f3e5f;
  transform: translateY(-.15rem);
}

.container-top-a .card-header {
  display: none;
}

.container-top-a .card {
  border: 0;
  box-shadow: none;
}

.container-top-a .card-body {
  padding: 0;
}

/* Legacy comparison and billing tables retained by the Joomla 3 content. */
.art-article {
  max-width: 100%;
  overflow-x: auto;
}

.table_packages {
  border-collapse: collapse;
  margin-block: 1rem 1.5rem;
  width: 100%;
}

.table_packages th,
.table_packages td {
  border: 1px solid #d1d5db;
  line-height: 1.35;
  min-width: 7.5rem;
  padding: .55rem .65rem;
  vertical-align: middle;
}

.table_packages th,
.table_packages .sectiontableheader {
  background: #eef2f7;
  color: #111827;
  font-weight: 700;
}

.table_packages a {
  display: inline-block;
}

.contentheading {
  color: #111827;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  padding-block: 0 1rem;
}

@media (max-width: 768px) {
  .container-banner .gkBigTitle {
    margin-top: 2rem;
  }

  .container-banner .gkBigTitle + p {
    margin-bottom: 2rem;
  }

  .gkColorPriceTable {
    grid-template-columns: 1fr;
    max-width: 24rem;
    padding-bottom: 2.5rem;
  }

  .gkColorPriceTable.col3 dl.gkPremium {
    transform: none;
  }

  .gkColorPriceTable .gkLink {
    margin-bottom: 0;
  }

  .table_packages {
    font-size: .9rem;
    min-width: 44rem;
  }
}

/* AlphaHost visual parity layer: keep the Joomla 6 shell while restoring the
   recognizable CloudHost landing page and its responsive navigation. */
:root {
  --alpha-blue: #3c99df;
  --alpha-green: #9ec22a;
  --alpha-ink: #111;
  --alpha-page-width: 1260px;
}

.container-header .container-topbar {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  gap: 1rem;
  height: 53px;
  margin-inline: auto;
  max-width: var(--alpha-page-width);
  padding-inline: clamp(.75rem, 2vw, 1rem);
  width: 100%;
}

.container-header .container-topbar .mod-languages,
.container-header .container-topbar .mod-languages__list {
  margin: 0;
  width: auto;
}

.container-header .container-topbar .mod-languages__list {
  align-items: center;
  display: flex;
  gap: .85rem;
}

.container-header .container-topbar .mod-languages__list li {
  margin: 0;
}

.container-header .container-topbar #mod-custom640 {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
  white-space: nowrap;
}

.container-header .container-topbar .gk-info {
  color: #777;
  font-size: .75rem;
}

.alpha-login {
  background: var(--alpha-blue);
  border-radius: 2px;
  color: #fff !important;
  display: inline-flex;
  font-size: .75rem;
  font-weight: 600;
  justify-content: center;
  letter-spacing: .015em;
  min-width: 106px;
  padding: .48rem .9rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .2s ease, transform .2s ease;
}

.alpha-logout-form {
  display: inline-flex;
  margin: 0;
}

button.alpha-login {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.alpha-login:hover,
.alpha-login:focus {
  background: #247dbf;
  color: #fff !important;
  transform: translateY(-1px);
}

html:lang(lv) .alpha-login:not(.alpha-login-lv),
html:lang(ru) .alpha-login:not(.alpha-login-ru),
html:lang(en) .alpha-login:not(.alpha-login-en) {
  display: none;
}

.alpha-payments {
  align-items: center;
  display: flex;
  gap: .3rem;
  justify-content: center;
  margin-top: .75rem;
}

.alpha-payments img {
  height: auto;
  width: auto;
}

body.view-featured {
  background: #fff;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
}

body.view-featured .container-header {
  background: #fff;
  box-shadow: none;
  color: #666;
  min-height: 53px;
  overflow: visible;
  position: relative;
  z-index: 20;
}

body.view-featured .container-header > .grid-child:not(.container-nav),
body.view-featured .container-header > .container-nav {
  box-sizing: border-box;
  height: 82px;
  left: 50%;
  margin: 0;
  max-width: var(--alpha-page-width);
  position: absolute;
  top: 53px;
  transform: translateX(-50%);
  width: 100%;
  z-index: 3;
}

body.view-featured .container-header > .grid-child:not(.container-nav) {
  align-items: flex-start;
  padding: .85rem 1rem 0;
}

body.view-featured .navbar-brand {
  margin: 0;
  padding: 0;
}

body.view-featured .navbar-brand .brand-logo {
  color: #fff;
  display: block;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  padding: 0;
  text-decoration: none;
  text-transform: uppercase;
}

body.view-featured .navbar-brand .brand-logo span::after {
  color: rgba(255, 255, 255, .92);
  content: "WEB HOSTING";
  display: block;
  font-size: .65rem;
  font-weight: 300;
  line-height: 1.5;
  text-align: center;
}

body.view-featured .container-header > .container-nav {
  align-items: flex-start;
  justify-content: flex-end;
  padding: .45rem 1rem 0 13rem;
}

body.view-featured .container-nav .navbar {
  justify-content: flex-end;
  width: 100%;
}

body.view-featured .container-nav .navbar-collapse {
  justify-content: flex-end;
}

body.view-featured .container-nav .mod-menu {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: clamp(.35rem, 1.2vw, 1rem);
  justify-content: flex-end;
  width: auto;
}

body.view-featured .container-nav .mod-menu > li > a,
body.view-featured .container-nav .mod-menu > li > button {
  color: #353535;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .01em;
  text-transform: uppercase;
}

body.view-featured .container-nav .mod-menu > li.current > a,
body.view-featured .container-nav .mod-menu > li.active > a,
body.view-featured .container-nav .mod-menu > li > a:hover,
body.view-featured .container-nav .mod-menu > li > a:focus {
  color: var(--alpha-blue);
}

body.view-featured .site-grid {
  grid-row-gap: 0;
}

body.view-featured .container-banner {
  background-color: #e8eaeb;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .12)),
    url("/templates/gk_cloudhost/images/header_wide.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 1103px;
}

body.view-featured .container-banner .mod-custom {
  box-sizing: border-box;
  min-height: 1103px;
  padding-top: 103px;
}

body.view-featured .container-banner .gkBigTitle {
  color: var(--alpha-ink);
  font-size: clamp(2.45rem, 5vw, 3.75rem);
  font-weight: 300 !important;
  letter-spacing: -.025em;
  line-height: 1.05;
}

body.view-featured .container-banner .gkBigTitle + p {
  color: #333;
  font-weight: 400;
  text-shadow: 0 1px 1px rgba(255, 255, 255, .55);
}

body.view-featured .gkColorPriceTable.col3 dl,
body.view-featured .gkColorPriceTable.col3 dl.gkPremium {
  background: var(--alpha-blue);
  border-radius: 2px;
}

body.view-featured .gkColorPriceTable.col3 dl.gkPremium {
  background: var(--alpha-ink);
}

body.view-featured .gkColorPriceTable.col3 dl.gkColor {
  background: var(--alpha-green);
}

body.view-featured .container-top-a {
  grid-column: full-start / full-end;
  margin-inline: auto;
  max-width: var(--alpha-page-width);
  padding: 0;
  width: 100%;
}

body.view-featured .container-top-a > .card,
body.view-featured .container-top-a > .card > .card-body {
  border: 0;
  border-radius: 0;
  margin: 0;
}

body.view-featured .order-form-hr-bott {
  box-sizing: border-box;
  max-width: 100%;
}

body.view-featured .container-component,
body.view-featured .container-sidebar-right {
  display: none;
}

body.view-featured .container-bottom-a {
  grid-column: full-start / full-end;
  margin: 0;
  max-width: none;
  padding: 0;
  width: 100%;
}

body.view-featured .container-bottom-a > .card {
  background: #f7f7f7;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}

body.view-featured .container-bottom-a > .card > .card-body {
  margin-inline: auto;
  max-width: var(--alpha-page-width);
  padding: 2.75rem 1rem;
  width: 100%;
}

body.view-featured .container-footer {
  background: #fff;
  box-shadow: none;
  color: #666;
  margin-top: 0;
}

body.view-featured .container-footer .grid-child {
  align-items: center;
  flex-direction: column;
  justify-content: center;
  max-width: var(--alpha-page-width);
  padding: 2rem 1rem;
  text-align: center;
}

body.view-featured .container-footer a {
  color: #666;
}

body.view-featured .container-footer a:hover,
body.view-featured .container-footer a:focus {
  color: var(--alpha-blue);
}

@media (max-width: 991.98px) {
  body.view-featured .container-header > .container-nav {
    align-items: flex-start;
    justify-content: flex-end;
    padding: .35rem .75rem 0 12rem;
    pointer-events: none;
  }

  body.view-featured .container-nav .navbar {
    pointer-events: auto;
  }

  body.view-featured .container-nav .navbar-toggler {
    border: 0;
    box-shadow: none;
    color: #222;
    font-size: 1.85rem;
    margin-left: auto;
    padding: .5rem;
  }

  body.view-featured .container-nav .navbar-collapse {
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 .75rem 1.75rem rgba(15, 23, 42, .16);
    left: 0;
    padding: .75rem 1rem 1rem;
    position: absolute;
    right: 0;
    top: 72px;
  }

  body.view-featured .container-nav .mod-menu {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  body.view-featured .container-nav .mod-menu > li > a {
    color: #222;
    display: block;
    padding: .65rem .5rem;
  }
}

@media (max-width: 620px) {
  .container-header .container-topbar {
    padding-inline: .75rem;
  }

  .container-header .container-topbar #mod-custom640 {
    gap: .5rem;
  }

  .container-header .container-topbar .gk-info {
    display: none;
  }

  .alpha-login {
    min-width: 103px;
    padding: .47rem .65rem;
  }

  body.view-featured .container-header > .grid-child:not(.container-nav) {
    padding: 1rem .75rem 0;
  }

  body.view-featured .navbar-brand .brand-logo {
    font-size: 1.45rem;
  }

  body.view-featured .container-banner {
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .1)),
      url("/templates/gk_cloudhost/images/header_mobile.jpg");
    background-position: center top;
  }

  body.view-featured .container-banner .mod-custom {
    padding-inline: 1rem;
    padding-top: 78px;
  }

  body.view-featured .container-banner .gkBigTitle {
    font-size: 1.8rem;
    letter-spacing: -.02em;
  }

  body.view-featured .container-banner .gkBigTitle + p {
    font-size: .92rem;
    line-height: 1.48;
    padding-inline: 0;
  }

  body.view-featured .gkColorPriceTable {
    max-width: 20.5rem;
  }

  body.view-featured .container-bottom-a > .card > .card-body {
    padding: 1.75rem .75rem;
  }

  body.view-featured .container-bottom-a .action-icon-btns {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
  }
}

/* nBill/Joomla 6 presentation layer. nBill's bundled front-end CSS predates
   modern line heights and form controls, so keep every override scoped to the
   component and preserve the billing component's existing behaviour. */
body.com_nbill {
  background: #f4f7fa;
  color: #28323c;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
}

body.com_nbill .container-header {
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .09);
  color: #4b5563;
}

body.com_nbill .container-header > .grid-child,
body.com_nbill .container-header > .container-nav {
  box-sizing: border-box;
  max-width: var(--alpha-page-width);
  padding-inline: 1rem;
  width: 100%;
}

body.com_nbill .navbar-brand .brand-logo {
  color: #247dbf;
  font-size: 1.55rem;
  font-weight: 400;
  text-decoration: none;
  text-transform: uppercase;
}

body.com_nbill .container-nav .mod-menu > li > a,
body.com_nbill .container-nav .mod-menu > li > button {
  color: #374151;
  font-size: .8rem;
  letter-spacing: .01em;
  text-transform: uppercase;
}

body.com_nbill .container-nav .mod-menu > li.current > a,
body.com_nbill .container-nav .mod-menu > li.active > a,
body.com_nbill .container-nav .mod-menu > li > a:hover,
body.com_nbill .container-nav .mod-menu > li > a:focus {
  color: var(--alpha-blue);
}

body.com_nbill .site-grid {
  grid-row-gap: 1.5rem;
}

body.com_nbill .container-component {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: .6rem;
  box-shadow: 0 .55rem 1.7rem rgba(15, 23, 42, .06);
  min-width: 0;
  padding: clamp(1.1rem, 2.5vw, 2rem);
}

body.com_nbill .container-component h1 {
  color: #1f2937;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 500;
  margin-bottom: 1.35rem;
}

body.com_nbill .container-sidebar-right .card {
  border: 1px solid #e2e8f0;
  border-radius: .6rem;
  box-shadow: 0 .4rem 1.2rem rgba(15, 23, 42, .05);
  overflow: hidden;
}

body.com_nbill .container-sidebar-right .card-header {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  color: #1f2937;
  font-weight: 600;
}

body.com_nbill .container-sidebar-right input[type="text"],
body.com_nbill .container-sidebar-right input[type="password"] {
  min-height: 2.6rem;
}

body.com_nbill #billing_login {
  margin: 0 auto;
  max-width: 43rem;
}

body.com_nbill #nbill-login-box-container > p {
  color: #4b5563;
  line-height: 1.6;
  margin-inline: auto;
  max-width: 40rem;
}

body.com_nbill #nbill-login-box-container > p:first-of-type {
  color: #1f2937;
  font-size: 1.05rem;
  margin-bottom: .45rem;
  text-align: center;
}

body.com_nbill .nbill-login-box-inner {
  max-width: 30rem;
  width: 100%;
}

body.com_nbill table.nbill-login-box {
  background: #f8fafc;
  border: 1px solid #dbe3ec !important;
  border-radius: .55rem;
  box-shadow: 0 .35rem 1rem rgba(15, 23, 42, .05);
  margin: 1.15rem auto .5rem !important;
  overflow: hidden;
  width: 100%;
}

body.com_nbill table.nbill-login-box tr {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(8rem, .85fr) minmax(0, 1.35fr);
}

body.com_nbill table.nbill-login-box tr + tr {
  border-top: 1px solid #e5eaf0;
}

body.com_nbill table.nbill-login-box td {
  min-width: 0;
  padding: .7rem .8rem !important;
}

body.com_nbill table.nbill-login-box input[type="text"],
body.com_nbill table.nbill-login-box input[type="password"] {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: .35rem;
  box-sizing: border-box;
  min-height: 2.65rem;
  padding: .55rem .7rem;
  width: 100% !important;
}

body.com_nbill table.nbill-login-box input:focus {
  border-color: var(--alpha-blue);
  box-shadow: 0 0 0 .2rem rgba(60, 153, 223, .16);
  outline: 0;
}

body.com_nbill .nbill-button,
body.com_nbill #profile input[type="submit"],
body.com_nbill form[id^="order"] input[type="submit"] {
  background: var(--alpha-blue);
  border: 1px solid var(--alpha-blue);
  border-radius: .35rem;
  color: #fff;
  font-weight: 600;
  min-height: 2.55rem;
  padding: .55rem 1.15rem;
}

body.com_nbill .nbill-button:hover,
body.com_nbill .nbill-button:focus,
body.com_nbill #profile input[type="submit"]:hover,
body.com_nbill #profile input[type="submit"]:focus {
  background: #247dbf;
  border-color: #247dbf;
  color: #fff;
}

body.com_nbill ul.nbill-main-menu-logged-in {
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  margin: 1rem 0 1.5rem;
  padding: 0;
}

body.com_nbill ul.nbill-main-menu-logged-in li {
  border: 1px solid #dbe3ec;
  border-radius: .45rem;
  padding: 0;
}

body.com_nbill ul.nbill-main-menu-logged-in li a {
  color: #236f9f;
  display: block;
  font-weight: 600;
  padding: .75rem .9rem;
  text-decoration: none;
}

body.com_nbill ul.nbill-main-menu-logged-in li a:hover,
body.com_nbill ul.nbill-main-menu-logged-in li a:focus {
  background: #f1f7fb;
  color: #174e75;
}

body.com_nbill .nbill-tab-group {
  display: flow-root;
  margin-block: 1rem;
  max-width: 100%;
}

body.com_nbill .nbill-tab-title {
  align-items: center;
  background: #edf2f7;
  border: 1px solid #cbd5e1;
  border-radius: .45rem .45rem 0 0;
  color: #374151;
  display: flex;
  float: left;
  font-weight: 600;
  height: auto;
  line-height: 1.3;
  margin: 0 .25rem 0 0;
  max-width: none;
  min-height: 2.75rem;
  overflow: visible;
  padding: .6rem .9rem;
  width: auto;
}

body.com_nbill .nbill-tab-title:hover {
  background: #f7fafc;
  color: #247dbf;
}

body.com_nbill .nbill-tab-title.selected {
  background: #fff;
  border-bottom-color: #fff;
  color: #247dbf;
}

body.com_nbill .nbill-tab-content {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 0 .45rem .45rem .45rem;
  clear: both;
  max-width: 100%;
  overflow-x: auto;
  padding: clamp(.8rem, 2vw, 1.25rem);
  top: -1px;
}

body.com_nbill table.nbill-profile,
body.com_nbill table.adminlist,
body.com_nbill table.jlist-table,
body.com_nbill table.nbill_summary_table {
  max-width: 100%;
  width: 100%;
}

body.com_nbill table.nbill-profile td {
  line-height: 1.4;
  padding: .45rem .55rem !important;
  vertical-align: middle;
}

body.com_nbill table.nbill-profile .nbill_profile_field,
body.com_nbill table.nbill-profile .nbill_value {
  height: auto !important;
  min-height: 2.55rem;
}

body.com_nbill table.nbill-profile input[type="text"],
body.com_nbill table.nbill-profile input[type="email"],
body.com_nbill table.nbill-profile input[type="password"],
body.com_nbill table.nbill-profile select,
body.com_nbill table.nbill-profile textarea,
body.com_nbill .nbill-field-responsive input[type="text"],
body.com_nbill .nbill-field-responsive input[type="email"],
body.com_nbill .nbill-field-responsive input[type="password"],
body.com_nbill .nbill-field-responsive select,
body.com_nbill .nbill-field-responsive textarea {
  border: 1px solid #cbd5e1;
  border-radius: .35rem;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 2.55rem;
  padding: .5rem .65rem;
}

body.com_nbill td.field-title {
  max-width: 20rem;
  min-width: 9rem;
  width: 38%;
}

body.com_nbill table.adminlist,
body.com_nbill table.jlist-table,
body.com_nbill table.nbill_summary_table {
  border: 1px solid #dbe3ec;
}

body.com_nbill table.adminlist th,
body.com_nbill table.adminlist td,
body.com_nbill table.jlist-table th,
body.com_nbill table.jlist-table td,
body.com_nbill table.nbill_summary_table th,
body.com_nbill table.nbill_summary_table td {
  border-bottom: 1px solid #e5eaf0;
  padding: .6rem .7rem;
}

body.com_nbill table.adminlist th,
body.com_nbill table.jlist-table th,
body.com_nbill table.nbill_summary_table th {
  background: #eef3f8;
  color: #273444;
  font-weight: 600;
}

/* nBill places `jlist-table` on the heading row, not on the table itself.
   Its legacy inline stylesheet makes those headings white while the old dark
   background is commented out, producing an apparently empty first row on
   orders, invoices and quotes.  Match both the real row markup and the shared
   sectiontableheader class so every customer list keeps explicit contrast. */
body.com_nbill tr.jlist-table > th,
body.com_nbill tr.nbill_list_tr_headings > th,
body.com_nbill th.sectiontableheader {
  background: #e8f0f7 !important;
  border: 1px solid #cbd5e1 !important;
  color: #263746 !important;
  font-weight: 600;
  line-height: 1.35;
  padding: .7rem .65rem;
  vertical-align: middle;
}

body.com_nbill tr.jlist-table > th a,
body.com_nbill tr.nbill_list_tr_headings > th a,
body.com_nbill th.sectiontableheader a {
  color: #185f91 !important;
}

/* Authenticated hosting dashboard and protected cPanel SSO. */
.alpha-hosting-dashboard {
  color: #28323c;
  margin-inline: auto;
  max-width: 62rem;
  width: 100%;
}

.alpha-hosting-dashboard h1 {
  color: #263746;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 500;
  margin-bottom: 1.4rem;
}

.alpha-hosting-server-card {
  border-color: #d8e2eb;
  box-shadow: 0 .45rem 1.25rem rgba(15, 23, 42, .06);
  overflow: hidden;
}

.alpha-hosting-server-card .card-header {
  background: #edf5fb;
  border-bottom-color: #d8e2eb;
  color: #263746;
  font-size: 1.05rem;
}

.alpha-hosting-server-card th {
  background: #f8fafc;
  color: #34495a;
  min-width: 12rem;
  width: 35%;
}

.alpha-hosting-server-card th,
.alpha-hosting-server-card td {
  border-color: #e2e8f0;
  padding: .75rem .9rem;
  vertical-align: middle;
}

.alpha-hosting-actions form {
  margin: 0;
}

@media (max-width: 620px) {
  .alpha-hosting-server-card th {
    min-width: 9rem;
    width: 44%;
  }

  .alpha-hosting-server-card th,
  .alpha-hosting-server-card td {
    font-size: .9rem;
    padding: .65rem .6rem;
  }

  .alpha-hosting-actions,
  .alpha-hosting-actions form,
  .alpha-hosting-actions .btn {
    width: 100%;
  }
}

body.com_nbill div.nbill-message {
  background-color: #fff8df;
  background-position: .85rem 50%;
  background-size: 1rem 1rem;
  border: 1px solid #e8c867;
  border-radius: .4rem;
  color: #684f00;
  line-height: 1.45;
  margin: .75rem 0;
  min-height: 2.8rem;
  overflow-wrap: anywhere;
  padding: .7rem .9rem .7rem 2.45rem;
}

/* Legacy nBill help icons are emitted as a separate inline div after the
   control. Keep the icon beside the field instead of allowing it to wrap to
   a new line or sit on top of adjacent text. */
body.com_nbill [id^="help_"] {
  align-items: center;
  display: inline-flex !important;
  height: 1rem;
  justify-content: center;
  line-height: 1;
  margin-left: .4rem;
  vertical-align: middle !important;
  width: 1rem;
}

body.com_nbill [id^="help_"]:empty {
  display: none !important;
}

body.com_nbill [id^="help_"] > a,
body.com_nbill [id^="help_"] img {
  display: block;
  height: 1rem;
  margin: 0;
  max-width: none;
  width: 1rem;
}

body.com_nbill table.nbill-profile td.field-value:has(> [id^="help_"]:not(:empty)) {
  align-items: center;
  display: flex !important;
  flex-wrap: nowrap;
  gap: .4rem;
}

body.com_nbill table.nbill-profile td.field-value:has(> [id^="help_"]:not(:empty)) > .nbill_profile_field {
  flex: 0 1 auto;
  min-width: 0;
  width: auto;
}

body.com_nbill table.nbill-profile td.field-value:has(> [id^="help_"]:not(:empty)) > [id^="help_"] {
  flex: 0 0 1rem;
  margin-left: 0;
}

@media (max-width: 620px) {
  body.com_nbill .container-component {
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    padding: 1rem .8rem;
  }

  body.com_nbill table.nbill-login-box tr {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.com_nbill table.nbill-login-box tr td:first-child {
    padding-bottom: .15rem !important;
  }

  body.com_nbill table.nbill-login-box tr td:last-child {
    padding-top: .25rem !important;
    text-align: left !important;
  }

  body.com_nbill .responsive-tabs .nbill-tab-title,
  body.com_nbill .responsive-tabs .nbill-tab-title.selected {
    border: 1px solid #cbd5e1;
    border-radius: 0;
    float: none;
    margin: -1px 0 0;
    max-width: 100%;
    min-height: 2.8rem;
    width: 100%;
  }

  body.com_nbill .responsive-tabs .nbill-tab-content {
    border-radius: 0 0 .45rem .45rem;
  }

  body.com_nbill table.nbill-profile,
  body.com_nbill table.nbill-profile tbody,
  body.com_nbill table.nbill-profile tr,
  body.com_nbill table.nbill-profile td {
    display: block;
    width: 100% !important;
  }

  body.com_nbill table.nbill-profile td.field-title {
    max-width: none;
    min-width: 0;
    padding-bottom: .15rem !important;
  }

  body.com_nbill table.nbill-profile .nbill_value {
    float: none !important;
  }
}

/* Internal-page visual parity. The Joomla 3 CloudHost shell used a compact
   blue utility strip followed by a single white logo/navigation row. Keep the
   Joomla 6 markup and responsive menu, but restore that hierarchy everywhere
   except the separately styled landing page. */
body:not(.view-featured) {
  background: #f8f8f8;
  color: #666;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
}

body:not(.view-featured) .container-header {
  background: linear-gradient(180deg, var(--alpha-blue) 0 53px, #fff 53px 100%);
  box-shadow: 0 2px 7px rgba(15, 23, 42, .12);
  color: #666;
  min-height: 123px;
  overflow: visible;
  position: relative;
  z-index: 20;
}

body:not(.view-featured) .container-header .container-topbar {
  color: #fff;
}

body:not(.view-featured) .container-header .container-topbar .gk-info {
  color: rgba(255, 255, 255, .92);
}

body:not(.view-featured) .container-header .alpha-login {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 0;
  color: #fff !important;
  padding-block: .43rem;
}

body:not(.view-featured) .container-header .alpha-login:hover,
body:not(.view-featured) .container-header .alpha-login:focus {
  background: rgba(255, 255, 255, .14);
}

body:not(.view-featured) .container-header > .grid-child:not(.container-nav),
body:not(.view-featured) .container-header > .container-nav {
  box-sizing: border-box;
  height: 70px;
  left: 50%;
  margin: 0;
  max-width: var(--alpha-page-width);
  position: absolute;
  top: 53px;
  transform: translateX(-50%);
  width: 100%;
  z-index: 3;
}

body:not(.view-featured) .container-header > .grid-child:not(.container-nav) {
  align-items: center;
  padding: .45rem 1rem;
}

body:not(.view-featured) .navbar-brand {
  margin: 0;
  padding: 0;
}

body:not(.view-featured) .navbar-brand .brand-logo {
  color: #333;
  display: block;
  font-size: 1.55rem;
  font-weight: 300;
  line-height: 1;
  padding: 0;
  text-decoration: none !important;
  text-transform: uppercase;
}

body:not(.view-featured) .navbar-brand .brand-logo span::after {
  color: #555;
  content: "WEB HOSTING";
  display: block;
  font-size: .64rem;
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.55;
  text-align: center;
}

body:not(.view-featured) .container-header > .container-nav {
  align-items: center;
  justify-content: flex-end;
  padding: 0 1rem 0 13rem;
}

body:not(.view-featured) .container-nav .navbar,
body:not(.view-featured) .container-nav .navbar-collapse {
  justify-content: flex-end;
  width: 100%;
}

body:not(.view-featured) .container-nav .mod-menu {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: clamp(.65rem, 2vw, 2.25rem);
  justify-content: flex-end;
  width: auto;
}

body:not(.view-featured) .container-nav .mod-menu > li > a,
body:not(.view-featured) .container-nav .mod-menu > li > button {
  color: #444;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .01em;
  text-transform: uppercase;
}

body:not(.view-featured) .container-nav .mod-menu > li.current > a,
body:not(.view-featured) .container-nav .mod-menu > li.active > a,
body:not(.view-featured) .container-nav .mod-menu > li > a:hover,
body:not(.view-featured) .container-nav .mod-menu > li > a:focus {
  color: var(--alpha-blue);
}

body.com_content .site-grid,
body.com_contact .site-grid {
  grid-row-gap: 0;
}

body.com_content .container-component,
body.com_contact .container-component {
  background: #f8f8f8;
  grid-column: main-start / main-end;
  min-width: 0;
  padding: clamp(1.8rem, 3.5vw, 3rem) 1rem 4rem;
}

body.com_content .container-sidebar-right,
body.com_contact .container-sidebar-right {
  display: none;
}

body.com_content .container-component,
body.com_contact .container-component {
  font-size: 1.05rem;
  line-height: 1.6;
}

body.com_content .container-component h1,
body.com_contact .container-component h1 {
  color: #555;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.12;
  margin: 0 0 1.25rem;
}

body.com_content .container-component h2,
body.com_contact .container-component h2 {
  color: #444;
  font-weight: 400;
}

body.com_content .table_packages {
  border-collapse: collapse;
  margin-block: 1.75rem 3rem;
  table-layout: fixed;
  width: 100%;
}

body.com_content .table_packages th,
body.com_content .table_packages .sectiontableheader {
  background: var(--alpha-blue) !important;
  border-color: rgba(255, 255, 255, .55);
  color: #fff !important;
  font-weight: 400;
  letter-spacing: .01em;
  text-align: center;
  text-transform: uppercase;
}

body.com_content .table_packages th,
body.com_content .table_packages td {
  min-width: 0;
  padding: .7rem .65rem;
}

body.com_content .table_packages td {
  background: #fafafa;
  border-color: #e3e3e3;
  color: #707070;
  text-align: center;
}

body.com_content .table_packages td:first-child {
  text-align: left;
}

body.view-category .com-content-category__articles:has(+ .cat-children) .alert-info {
  display: none;
}

body.view-category .cat-children {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  margin-top: 1.75rem;
}

body.view-category .cat-children .com-content-category__children {
  background: #fff;
  border: 1px solid #e0e5ea;
  border-left: .28rem solid var(--alpha-blue);
  box-shadow: 0 .25rem .8rem rgba(15, 23, 42, .04);
  min-width: 0;
}

body.view-category .cat-children .page-header {
  border: 0;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  padding: 0;
}

body.view-category .cat-children .page-header a {
  color: #276f9f;
  display: block;
  padding: 1rem 1.1rem;
  text-decoration: none;
}

body.view-category .cat-children .page-header a:hover,
body.view-category .cat-children .page-header a:focus {
  background: #f1f8fc;
  color: #174e75;
}

body.com_contact .contact {
  max-width: 68rem;
}

body.com_contact .contact-form {
  margin-top: 1.5rem;
  max-width: 58rem;
}

body.com_contact .contact-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

body.com_contact .contact-form .control-group {
  margin-bottom: 1rem;
}

body.com_contact .contact-form input[type="text"],
body.com_contact .contact-form input[type="email"],
body.com_contact .contact-form textarea {
  background: #fff;
  border: 1px solid #cfd6dd;
  border-radius: .25rem;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 2.75rem;
  padding: .6rem .75rem;
  width: 100%;
}

body.com_contact .contact-form textarea {
  min-height: 12rem;
}

body.com_contact .contact-form input:focus,
body.com_contact .contact-form textarea:focus {
  border-color: var(--alpha-blue);
  box-shadow: 0 0 0 .2rem rgba(60, 153, 223, .14);
  outline: 0;
}

body.com_contact .contact-form .btn-primary {
  background: var(--alpha-blue);
  border-color: var(--alpha-blue);
  border-radius: .2rem;
  font-weight: 600;
  min-height: 2.7rem;
  padding-inline: 1.3rem;
}

/* Do not reserve a large blank panel when the legacy Google ad has no fill. */
body:not(.view-featured) .container-bottom-b:has(#mod-custom679 .adsbygoogle[data-ad-status="unfilled"]) {
  display: none !important;
}

body:not(.view-featured) .container-footer {
  background: #fff;
  border-top: 1px solid #e2e5e8;
  box-shadow: none;
  color: #666;
  margin-top: 0;
}

body:not(.view-featured) .container-footer .grid-child {
  align-items: center;
  flex-direction: column;
  justify-content: center;
  max-width: var(--alpha-page-width);
  padding: 2rem 1rem;
  text-align: center;
}

body:not(.view-featured) .container-footer a {
  color: #666;
}

body:not(.view-featured) .container-footer a:hover,
body:not(.view-featured) .container-footer a:focus {
  color: var(--alpha-blue);
}

@media (max-width: 991.98px) {
  body:not(.view-featured) .container-header > .container-nav {
    align-items: center;
    justify-content: flex-end;
    padding: 0 .75rem 0 12rem;
    pointer-events: none;
  }

  body:not(.view-featured) .container-nav .navbar {
    pointer-events: auto;
  }

  body:not(.view-featured) .container-nav .navbar-toggler {
    border: 0;
    box-shadow: none;
    color: #222;
    font-size: 1.8rem;
    margin-left: auto;
    padding: .45rem;
  }

  body:not(.view-featured) .container-nav .navbar-collapse {
    background: rgba(255, 255, 255, .99);
    box-shadow: 0 .75rem 1.75rem rgba(15, 23, 42, .16);
    left: 0;
    padding: .75rem 1rem 1rem;
    position: absolute;
    right: 0;
    top: 70px;
  }

  body:not(.view-featured) .container-nav .mod-menu {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  body:not(.view-featured) .container-nav .mod-menu > li > a {
    color: #222;
    display: block;
    padding: .65rem .5rem;
  }
}

@media (max-width: 620px) {
  body:not(.view-featured) .container-header > .grid-child:not(.container-nav) {
    padding-inline: .75rem;
  }

  body:not(.view-featured) .navbar-brand .brand-logo {
    font-size: 1.35rem;
  }

  body:not(.view-featured) .container-header > .container-nav {
    padding-left: 10.5rem;
  }

  body.com_content .container-component,
  body.com_contact .container-component {
    font-size: 1rem;
    padding: 1.45rem .75rem 2.75rem;
  }

  body.com_content .container-component h1,
  body.com_contact .container-component h1 {
    font-size: 2rem;
  }

  body.view-category .cat-children {
    grid-template-columns: 1fr;
  }
}

/* CloudHost header controls, FAQ flyout and login overlay. These rules mirror
   the preserved Joomla 3 template instead of exposing Cassiopeia's deep tree. */
.container-header .container-topbar .mod-languages__list {
  gap: 9px !important;
  padding: 0;
}

.container-header .container-topbar .mod-languages__list li,
.container-header .container-topbar .mod-languages__list li.lang-active {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.container-header .container-topbar .mod-languages__list a {
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  display: flex;
  height: 24px;
  justify-content: flex-start;
  padding: 0 !important;
  width: 23px;
}

.container-header .container-topbar .mod-languages__list img {
  border: 0;
  box-shadow: none;
  height: auto !important;
  max-height: 13px;
  max-width: 20px;
  object-fit: contain;
  width: auto !important;
}

.alpha-login {
  border-radius: 0;
  font-size: 13px;
  font-weight: 500;
  height: 31px;
  line-height: 30px;
  min-width: 107px;
  padding: 0 16px;
  transform: none !important;
}

@media (min-width: 992px) {
  .container-header .container-nav .mod-menu {
    gap: 0 !important;
  }

  .container-header .container-nav .mod-menu > .metismenu-item {
    align-items: center;
    display: flex;
    height: 70px;
    padding: 0 !important;
    position: relative;
  }

  .container-header .container-nav .mod-menu > .metismenu-item > a {
    box-sizing: border-box;
    display: block;
    font-size: 14px !important;
    font-weight: 500 !important;
    height: 70px;
    letter-spacing: 0 !important;
    line-height: 70px;
    padding: 0 21px !important;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .container-header .container-nav .mod-menu > .metismenu-item:last-child > a {
    padding-right: 0 !important;
  }

  .container-header .container-nav .mod-menu > .metismenu-item > .mm-toggler {
    display: none !important;
  }

  .container-header .container-nav .mod-menu > .metismenu-item > ul.mm-collapse {
    background: var(--alpha-blue);
    border: 0;
    box-shadow: 0 .5rem 1.25rem rgba(15, 23, 42, .2);
    display: block !important;
    height: auto !important;
    left: 0;
    margin: 0;
    min-width: 318px;
    opacity: 0;
    overflow: visible !important;
    padding: 0;
    pointer-events: none;
    position: absolute;
    top: 70px;
    transform: translateY(-7px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    visibility: hidden;
    z-index: 1000;
  }

  .container-header .container-nav .mod-menu > .metismenu-item:hover > ul.mm-collapse,
  .container-header .container-nav .mod-menu > .metismenu-item:focus-within > ul.mm-collapse {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .container-header .container-nav .mod-menu > .metismenu-item > ul.mm-collapse > li {
    background: var(--alpha-blue);
    border: 0;
    border-top: 1px solid #55acee;
    display: block;
    margin: 0;
    padding: 0 20px !important;
    position: relative;
    transition: background-color .2s ease;
    width: 100%;
  }

  .container-header .container-nav .mod-menu > .metismenu-item > ul.mm-collapse > li:first-child {
    border-top: 0;
  }

  .container-header .container-nav .mod-menu > .metismenu-item > ul.mm-collapse > li:hover,
  .container-header .container-nav .mod-menu > .metismenu-item > ul.mm-collapse > li:focus-within {
    background: #55acee;
  }

  .container-header .container-nav .mod-menu > .metismenu-item > ul.mm-collapse > li > a {
    color: #fff !important;
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: 30px;
    padding: 7px 0 !important;
    text-decoration: none;
    text-transform: none;
    white-space: normal;
  }

  .container-header .container-nav .mod-menu > .metismenu-item > ul.mm-collapse > li > .mm-toggler,
  .container-header .container-nav .mod-menu > .metismenu-item > ul.mm-collapse ul.mm-collapse {
    display: none !important;
  }
}

body.view-category .container-component {
  padding-top: 0;
}

body.view-category .content-category > h1 {
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 300;
  line-height: 50px;
  margin: 0 0 32px;
}

body.view-category .cat-children {
  display: block;
  margin: 0;
}

body.view-category .cat-children .com-content-category__children {
  background: transparent;
  border: 0;
  border-top: 1px solid #eee;
  box-shadow: none;
  min-width: 0;
}

body.view-category .cat-children .page-header {
  border: 0;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 22.4px;
  margin: 0;
  padding: 0;
}

body.view-category .cat-children .page-header a {
  background: transparent !important;
  color: var(--alpha-blue);
  display: block;
  font-weight: 300;
  padding: 12px 0;
  text-decoration: none;
}

body.view-category .cat-children .page-header a:hover,
body.view-category .cat-children .page-header a:focus {
  color: #247dbf;
}

body.com_nbill:has(#billing_login) .container-sidebar-right {
  display: none;
}

body.com_nbill:has(#billing_login) .container-component {
  grid-column: main-start / main-end;
  justify-self: center;
  max-width: 62rem;
  width: calc(100% - 2rem);
}

.alpha-login-modal[hidden] {
  display: none !important;
}

.alpha-login-modal {
  align-items: flex-start;
  background: rgba(0, 0, 0, .55);
  box-sizing: border-box;
  display: flex;
  inset: 0;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 16px;
  position: fixed;
  z-index: 100000;
}

body.alpha-login-modal-open {
  overflow: hidden;
}

.alpha-login-dialog {
  background: #fff;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .28);
  box-sizing: border-box;
  color: #777;
  max-width: 100%;
  min-height: 410px;
  padding: 38px 40px 34px;
  position: relative;
  width: 426px;
}

.alpha-login-dialog__close {
  background: transparent;
  border: 0;
  color: #999;
  cursor: pointer;
  font-size: 1.65rem;
  font-weight: 300;
  line-height: 1;
  padding: .4rem;
  position: absolute;
  right: .65rem;
  top: .55rem;
}

.alpha-login-dialog__close:hover,
.alpha-login-dialog__close:focus {
  color: #333;
}

.alpha-login-dialog__title {
  color: #555;
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1.2;
  margin: 0 0 2.6rem;
}

.alpha-login-dialog__title small {
  color: #999;
  font-size: .82rem;
  font-weight: 300;
  white-space: nowrap;
}

.alpha-login-dialog__title a {
  color: var(--alpha-blue);
  text-decoration: none;
}

.alpha-login-dialog__form .form-group {
  margin-bottom: 1rem;
}

.alpha-login-dialog__messages:empty {
  display: none;
}

.alpha-login-dialog__messages .alert,
.alpha-login-dialog__messages joomla-alert {
  font-size: .82rem;
  margin: -1.25rem 0 1.25rem;
}

body.alpha-login-modal-open.com_users.view-login main {
  visibility: hidden;
}

.alpha-login-dialog__form .input-group {
  display: flex;
  flex-direction: column;
}

.alpha-login-dialog__form .visually-hidden {
  clip: auto !important;
  clip-path: none !important;
  display: block;
  height: auto !important;
  margin: 0 0 .35rem !important;
  overflow: visible !important;
  position: static !important;
  white-space: normal !important;
  width: auto !important;
  order: 0;
}

.alpha-login-dialog__form .input-group-text,
.alpha-login-dialog__form .input-password-toggle,
.alpha-login-dialog__form .plg_system_webauthn_login_button {
  display: none !important;
}

.alpha-login-dialog__form input[type="text"],
.alpha-login-dialog__form input[type="password"] {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
  height: 42px;
  padding: .55rem .7rem;
  order: 1;
  width: 100%;
}

.alpha-login-dialog__form input::placeholder {
  color: transparent;
}

.alpha-login-dialog__form input:focus {
  border-color: #e8a300;
  box-shadow: 0 0 0 1px #e8a300;
  outline: 0;
}

.alpha-login-dialog__form .form-check {
  align-items: center;
  display: flex;
  gap: .4rem;
}

.alpha-login-dialog__form .form-check-input {
  float: none;
  margin: 0;
}

.alpha-login-dialog__form .form-check-label {
  color: #888;
  font-size: .75rem;
}

.alpha-login-dialog__form .btn-primary {
  background: var(--alpha-blue);
  border: 0;
  border-radius: 0;
  color: #fff;
  font-size: .78rem;
  font-weight: 400;
  min-height: 37px;
  padding: .55rem 1.45rem;
  text-transform: uppercase;
  width: auto !important;
}

.alpha-login-dialog__form .btn-primary:hover,
.alpha-login-dialog__form .btn-primary:focus {
  background: #247dbf;
}

.alpha-login-dialog__form .mod-login__options {
  border-top: 1px solid #eee;
  font-size: .75rem;
  line-height: 1.55;
  margin: 1.2rem 0 0;
  padding: 1rem 0 0;
}

.alpha-login-dialog__form .mod-login__options a {
  color: #666;
}

@media (max-width: 620px) {
  .alpha-login-modal {
    padding: 16px 10px;
  }

  .alpha-login-dialog {
    min-height: 0;
    padding: 32px 24px 26px;
  }

  .alpha-login-dialog__title {
    font-size: 1.8rem;
    margin-bottom: 1.8rem;
  }
}

@media (min-width: 992px) and (max-width: 1450px) {
  .container-header .container-nav .mod-menu > .metismenu-item > ul.mm-collapse {
    left: auto;
    right: 0;
  }
}

/* Keep the content width fixed when dialogs open or a short page loses its scrollbar. */
html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

.alpha-login {
  align-items: center;
  box-sizing: border-box;
  justify-content: center;
  line-height: 1;
  transform: none !important;
  transition: background-color .2s ease;
}

/* The public login module remains the source for the popup, but is not a page sidebar. */
body.site .container-sidebar-right:has(.mod-login) {
  display: none;
}

body.site .container-sidebar-right > .card:has(.mod-login-logout) {
  display: none;
}

body.site:has(.container-sidebar-right .mod-login) .container-component {
  grid-column: main-start / main-end;
  min-width: 0;
}

/* Joomla 6 category markup styled to match the original FAQ lists. */
body.view-category .com-content-category__table {
  border: 0;
  border-collapse: collapse;
  box-shadow: none;
  margin: 0;
  width: 100%;
}

body.view-category .com-content-category__table caption {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

body.view-category .com-content-category__table thead th {
  background: var(--alpha-blue) !important;
  border: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  padding: 11px 10px;
  text-align: center;
  text-transform: uppercase;
}

body.view-category .com-content-category__table thead a {
  color: #fff !important;
  font-weight: 400;
  text-decoration: none;
}

body.view-category .com-content-category__table tbody tr,
body.view-category .com-content-category__table tbody th,
body.view-category .com-content-category__table tbody td {
  background: transparent !important;
}

body.view-category .com-content-category__table tbody th,
body.view-category .com-content-category__table tbody td {
  border: 0;
  border-bottom: 1px solid #eee;
  font-weight: 300;
  padding: 11px 10px;
}

body.view-category .com-content-category__table tbody a {
  color: var(--alpha-blue);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
}

body.view-category .content-category:has(.com-content-category__table) > h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 4rem;
}

@media (max-width: 767px) {
  body.view-category .content-category:has(.com-content-category__table) > h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  body.view-category .com-content-category__table tbody a {
    font-size: 16px;
  }
}

/* Compact, readable nBill order screen shown after the public order button. */
body.com_nbill.task-order .container-component {
  justify-self: center;
  max-width: 58rem;
  width: calc(100% - 2rem);
}

body.com_nbill.task-order #order_form {
  margin: 0 auto;
  max-width: 47rem;
  width: 100%;
}

body.com_nbill.task-order #order_form .nbill_form_title {
  color: #555;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1.6rem;
}

body.com_nbill.task-order #nbill-page-intro:empty,
body.com_nbill.task-order #nbill-page-intro:has(> br:only-child),
body.com_nbill.task-order #nbill-page-footer:empty,
body.com_nbill.task-order #nbill-page-footer:has(> br:only-child) {
  display: none;
}

body.com_nbill.task-order .billing-fields {
  column-gap: .75rem;
  display: grid;
  grid-template-columns: minmax(12rem, 14rem) minmax(0, 13rem) 5.5rem minmax(0, 1fr);
  position: static;
}

body.com_nbill.task-order .billing-fields > .nbill-field-responsive {
  grid-column: 1 / -1;
  left: auto !important;
  margin-bottom: .7rem;
  position: relative;
  width: 100%;
}

body.com_nbill.task-order .billing-fields > .nbill-field-responsive-domain_name_label {
  grid-column: 1;
  grid-row: 1;
}

body.com_nbill.task-order .billing-fields > .nbill-field-responsive-domain_name {
  grid-column: 2;
  grid-row: 1;
}

body.com_nbill.task-order .billing-fields > .nbill-field-responsive-tld {
  grid-column: 3;
  grid-row: 1;
}

body.com_nbill.task-order .billing-fields > :is(
  .nbill-field-responsive-domain_name_label,
  .nbill-field-responsive-domain_name,
  .nbill-field-responsive-tld
) .nbill-field-container {
  display: block;
  min-height: 2.65rem;
}

body.com_nbill.task-order .nbill-field-responsive-domain_name_label .field-value {
  display: none;
}

body.com_nbill.task-order :is(
  .nbill-field-responsive-domain_name,
  .nbill-field-responsive-tld
) .field-value {
  display: block;
}

body.com_nbill.task-order .nbill-field-responsive-domain_name input[type="text"],
body.com_nbill.task-order .nbill-field-responsive-tld select {
  max-width: none;
  width: 100%;
}

body.com_nbill.task-order .billing-fields .nbill-field-container {
  align-items: flex-start;
  display: grid;
  gap: .45rem 1.25rem;
  grid-template-columns: minmax(12rem, 14rem) minmax(0, 1fr);
  min-height: 2.65rem;
  width: 100%;
}

body.com_nbill.task-order .billing-fields .field-title,
body.com_nbill.task-order .billing-fields .nbill-field-label {
  color: #555;
  display: block;
  font-weight: 400;
  grid-column: 1;
  line-height: 1.4;
  max-width: none;
  min-width: 0;
  width: auto !important;
}

body.com_nbill.task-order .billing-fields .field-value {
  display: block;
  grid-column: 2;
  min-width: 0;
}

body.com_nbill.task-order .billing-fields .nbill_value:has(> .nbill-field-help:not(:empty)) {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: .4rem;
  max-width: 21.4rem;
  width: 100%;
}

body.com_nbill.task-order .billing-fields .nbill_value:has(> .nbill-field-help:not(:empty)) > .nbill-field-control {
  display: block !important;
  flex: 1 1 auto;
  min-width: 0;
}

body.com_nbill.task-order .billing-fields .nbill_value:has(> .nbill-field-help:not(:empty)) > .nbill-field-help {
  flex: 0 0 1rem;
  margin-left: 0;
}

body.com_nbill.task-order .billing-fields .nbill-field-label-merged {
  display: none;
}

body.com_nbill.task-order .billing-fields input[type="text"],
body.com_nbill.task-order .billing-fields input[type="email"],
body.com_nbill.task-order .billing-fields input[type="password"],
body.com_nbill.task-order .billing-fields select,
body.com_nbill.task-order .billing-fields textarea {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: .35rem;
  box-sizing: border-box;
  max-width: 20rem;
  min-height: 2.65rem;
  padding: .5rem .7rem;
  width: 100%;
}

body.com_nbill.task-order .billing-fields input:focus,
body.com_nbill.task-order .billing-fields select:focus,
body.com_nbill.task-order .billing-fields textarea:focus {
  border-color: var(--alpha-blue);
  box-shadow: 0 0 0 .2rem rgba(60, 153, 223, .16);
  outline: 0;
}

body.com_nbill.task-order .nbill-field-responsive-domain_name_label .field-value {
  min-height: 0;
}

body.com_nbill.task-order .nbill-field-responsive-domain_name_label .field-title > div {
  float: none !important;
  margin-left: .35rem;
}

body.com_nbill.task-order .nbill-field-responsive-domain_name_label .field-title {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

body.com_nbill.task-order #radio_list_container_241 {
  float: none !important;
}

body.com_nbill.task-order #radio_list_container_241 .nbill_form_label {
  align-items: flex-start;
  display: flex;
  gap: .45rem;
  margin-bottom: .3rem;
}

body.com_nbill.task-order #radio_list_container_241 input[type="radio"],
body.com_nbill.task-order #row_agreement input[type="checkbox"] {
  flex: 0 0 auto;
  height: 1rem;
  margin: .2rem 0 0;
  width: 1rem;
}

body.com_nbill.task-order #row_price {
  margin-top: .25rem;
}

body.com_nbill.task-order #ctl_252 {
  align-items: center;
  background: #edf7fd;
  border: 1px solid #c7e4f7;
  border-radius: .35rem;
  color: #236f9f;
  display: inline-flex;
  font-size: 1.2rem;
  font-weight: 700;
  min-height: 2.65rem;
  min-width: 10rem;
  padding: .45rem .8rem;
}

body.com_nbill.task-order #row_agreement {
  align-items: flex-start;
  grid-template-columns: 1.25rem minmax(0, 1fr);
}

body.com_nbill.task-order #row_agreement .field-title {
  grid-column: 2;
  grid-row: 1;
}

body.com_nbill.task-order #row_agreement .field-value {
  grid-column: 1;
  grid-row: 1;
}

body.com_nbill.task-order .nbill-order-form-buttons {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.1rem;
  min-height: 2.75rem;
  width: 100%;
}

body.com_nbill.task-order .nbill-order-form-buttons > div {
  float: none !important;
}

body.com_nbill.task-order #ctl_next_1 {
  background: var(--alpha-blue);
  border: 1px solid var(--alpha-blue);
  border-radius: .25rem;
  color: #fff;
  font-weight: 600;
  min-height: 2.7rem;
  padding: .6rem 1.35rem;
}

body.com_nbill.task-order #ctl_next_1:hover,
body.com_nbill.task-order #ctl_next_1:focus {
  background: #247dbf;
  border-color: #247dbf;
}

@media (max-width: 700px) {
  body.com_nbill.task-order .container-component {
    width: 100%;
  }

  body.com_nbill.task-order .billing-fields {
    column-gap: .5rem;
    grid-template-columns: minmax(0, 1fr) 5.5rem;
  }

  body.com_nbill.task-order .billing-fields > .nbill-field-responsive-domain_name_label {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  body.com_nbill.task-order .billing-fields > .nbill-field-responsive-domain_name {
    align-items: center;
    display: grid;
    gap: .45rem;
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: auto minmax(0, 1fr);
  }

  body.com_nbill.task-order .billing-fields > .nbill-field-responsive-domain_name::before {
    color: #555;
    content: "www.";
    grid-column: 1;
  }

  body.com_nbill.task-order .billing-fields > .nbill-field-responsive-domain_name .nbill-field-container {
    grid-column: 2;
  }

  body.com_nbill.task-order .billing-fields > .nbill-field-responsive-tld {
    grid-column: 2;
    grid-row: 2;
  }

  body.com_nbill.task-order .nbill-field-responsive-domain_name_label .field-title > div {
    display: none;
  }

  body.com_nbill.task-order .billing-fields .nbill-field-container {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  body.com_nbill.task-order .billing-fields .field-title,
  body.com_nbill.task-order .billing-fields .field-value {
    grid-column: 1;
  }

  body.com_nbill.task-order #row_agreement {
    grid-template-columns: 1.25rem minmax(0, 1fr);
  }

  body.com_nbill.task-order #row_agreement .field-title {
    grid-column: 2;
  }

  body.com_nbill.task-order #row_agreement .field-value {
    grid-column: 1;
  }
}
/* Secure PowerDNS customer editor */
.alphahost-domains {
  margin: 0 auto;
  max-width: 1280px;
}

.alphahost-domains__heading,
.alphahost-domains__toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.alphahost-domains__heading h1 {
  margin: 0;
}

.alphahost-domains__table th,
.alphahost-domains__table td {
  padding: .85rem 1rem;
  vertical-align: middle;
}

.alphahost-domains__domain-card,
.alphahost-dns-card,
.alphahost-dns-add {
  background: #fff;
  border: 1px solid #dbe3ed;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(18, 47, 86, .06);
}

.alphahost-domains__domain-card {
  margin-bottom: 1.75rem;
  padding: 1.25rem 1.5rem;
}

.alphahost-domains__domain-card h2 {
  margin: 0 0 1rem;
}

.alphahost-domains__domain-card dl {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 0;
}

.alphahost-domains__domain-card dl div {
  background: #f6f9fc;
  border-radius: 6px;
  padding: .75rem 1rem;
}

.alphahost-domains__domain-card dt {
  color: #627087;
  font-size: .8rem;
  margin-bottom: .2rem;
  text-transform: uppercase;
}

.alphahost-domains__domain-card dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.alphahost-dns-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin: 1rem 0 1.5rem;
}

.alphahost-dns-card,
.alphahost-dns-add {
  padding: 1.1rem;
}

.alphahost-dns-card__title {
  align-items: center;
  display: flex;
  gap: .65rem;
  margin-bottom: .8rem;
}

.alphahost-dns-card__title strong {
  background: #132f59;
  border-radius: 4px;
  color: #fff;
  font-size: .78rem;
  min-width: 4.2rem;
  padding: .3rem .55rem;
  text-align: center;
}

.alphahost-dns-card label,
.alphahost-dns-add label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: .8rem;
}

.alphahost-dns-card .form-control,
.alphahost-dns-add .form-control,
.alphahost-dns-add .form-select {
  margin-top: .3rem;
}

.alphahost-dns-card form + form {
  margin-top: .55rem;
}

.alphahost-dns-card__readonly {
  background: #f6f9fc;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
  padding: .75rem;
}

.alphahost-dns-add {
  margin-top: 1.5rem;
}

.alphahost-dns-add__fields {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(180px, 2fr) minmax(110px, 1fr) minmax(110px, 1fr);
}

@media (max-width: 700px) {
  .alphahost-domains__heading {
    align-items: stretch;
    flex-direction: column;
  }

  .alphahost-dns-grid,
  .alphahost-dns-add__fields {
    grid-template-columns: 1fr;
  }
}
