.arts-form-summary {
  border: 1px solid #e3e6ea;
  border-radius: 4px;
  padding: 0 12px 8px 12px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.arts-form-number {
  font-size: 20px;
  font-weight: 600;
  color: #0568b6;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
  text-align: left;
  align-self: flex-start;
}
.arts-form-status {
  font-size: 1rem;
  color: #333;
  padding: 4px 10px 4px 0;
  font-weight: 500;
}

.skip-to-content a {
    padding: 10px 20px;
    position: absolute;
    top: -43px;
    left: 0px;
    color: #ffffff;
    border-radius: 2px;
    background: none !important;
    -webkit-transition: top 1s ease-out;
    transition: top 1s ease-out;
    z-index: 100;
    font-family: Segoe UI;
    font-size: 14px;
    visibility: hidden !important;
}

.topheaderbar {
  background-color: #0568b6;
   /* background-color: #022A50; */
    color: #ffffff;
    height: 30px;
    padding:2px;
    padding-left: 20px;
}
h1.siteTitle.custom-sitetitle {
    color: #0568b6 !important;
}
.navbar-expand-xl navbar navbar-dark static-top {
    border: 5px !important;
    border-bottom-color: green !important;
}

.bottomheaderbar {
    height: 7px;
    background-color: green !important;
}

h1.siteTitle, .static-top.navbar-dark .navbar-brand a h1.siteTitle, .static-top.navbar-dark .navbar-brand a h1.siteTitle > span {
    color: #022A50 !important;
    font-size: 1.25rem !important;
    font-weight: bold !important;
}

    h1.siteTitle.custom-sitetitle:hover {
        text-decoration: none !important;
    }

a#search.nav-link.navbar-icon {
    display: none;
}

h1.underline,
h4.underline {
    border-bottom: 1px solid #bcbcbc;
    padding-bottom: 21px;
}

.row.sectionBlockLayout.sectionPrimaryColor.text-start {
    height: 0px !important;
    padding: 0px !important;
}

.static-top.navbar .menu-bar > .navbar-nav > li > a {
    font-size: 15px !important;
    font-weight: 400 !important; 
}
label#arts_formcompletedonverbaladvice_label, 
label#arts_formverifiedonpapersubmission_label,
label#arts_applicantdeclaration_label,
label#arts_solvencydeclaration_label,
label#arts_solvencydeclarationattached_label
{
    font-weight: normal;
}
input#arts_formcompletedonverbaladvice,
input#arts_formverifiedonpapersubmission,
input#arts_applicantdeclaration,
input#arts_solvencydeclaration,
input#arts_solvencydeclarationattached
{ 
    margin-left: -20px;
}


h1, .h1,
h2, .h2,
h3, .h3 {
  color:#0568b6 !important;
  /*color: deepskyblue !important;   old style remove */ 
  margin-top: 0.5em !important;
  margin-bottom: 0.5em !important;
  font-weight: 600 !important;
}

h1, .h1 {
  font-size: 28px !important;
}

h2, .h2 {
  font-size: 24px !important;
}

h3, .h3 {
  font-size: 20px !important;
}
h2.validation-header {
font-weight: 400 !important;
}

th.sort-disabled {
    background-color: #0568b6  ; /* #006680  */   /* #008080  */
    color: white ;
    font-weight: 400 ;
}
th.sort-enabled {
    background-color:  #0568b6;  /* #006680   008080  */
}
th>a:not(.btn) {
    text-decoration: none;
    color: white;
}

/* reduce default fieldset spaces */
fieldset {
    margin-bottom: 5px !important;
    margin-top: 5px !important;
}


/*textarea {
/*margin-top: -20px;
}*/

/* move below to LA.css */
textarea#arts_otherregistrationdetails {
    margin-top: 0px !important;
}

legend.section-title {
    margin-bottom: -10px !important;
}

/* Tooltip icon style */
.arts-tooltip-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  line-height: 16px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  background-color: #0078d4;   /* QGov blue */
  color: #fff;
  cursor: pointer;
  margin-left: 6px;
}
.arts-tooltip-icon:hover {
  background-color: #005a9e;  /* Darker blue on hover */
}

/* Tooltip box styling */
.tooltip-inner {
  max-width: 280px;
  padding: 10px 14px;
  color: #ffffff;
  text-align: left;
  background-color: #0078d4;
  font-size: 14px;
  border-radius: 8px;
  line-height: 1.5em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* Tooltip arrow matches QGov blue */
.tooltip.bs-tooltip-top .arrow::before {
  border-top-color: #0078d4;
}
.tooltip.bs-tooltip-bottom .arrow::before {
  border-bottom-color: #0078d4;
}
.tooltip.bs-tooltip-left .arrow::before {
  border-left-color: #0078d4;
}
.tooltip.bs-tooltip-right .arrow::before {
  border-right-color: #0078d4;
}

/*below are the styles for Provider Fields card view */
.provider-card {
 /* border: 1px solid #dcdcdc;*/
  border: 1px solid deepskyblue;
  border-radius: 6px;
  padding: 12px 16px;
  margin-top: 8px;
  background: #fafafa;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.provider-card-title {
   display: none;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 10px;
  color:deepskyblue;
}

.provider-card .form-control-static {
  display: block;
  padding-top: 4px;
  color: #333;
}

/* spinner for document download  */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

table-striped, .table-info, .table-striped > tbody > tr > *, .form-control:focus, .dropdown-menu, .datepicker button {
  color: #000000 !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  }


 a.details-link.has-tooltip {
 color: #0568b6 !important;
}
  /* QH footer style below */

  /* Queensland Health style footer */
  
/* ===== Force footer styles to apply (high specificity) ===== */
/* Wrapper override (prevents theme footer grey bleed) */
body > footer { background: transparent !important; padding: 0 !important; }

#qh-footer.qh-footer{
  background:#0568b6;
  color:#fff;
  padding:40px 0 32px;
 /* margin-left: -30%;  - not good for mobile */
 }

/* Slim typography */
#qh-footer .qh-footer__brand{font-weight:700;font-size:22px;margin-bottom:14px;}
#qh-footer .qh-footer__heading{font-weight:700;font-size:22px;margin:0 0 10px;}
#qh-footer .qh-footer__text{font-size:15px;line-height:1.55;margin:0 0 10px;}
#qh-footer .qh-footer__list li{font-size:15px;margin:7px 0;line-height:1.4;}
#qh-footer .qh-footer__ack{font-size:15px;line-height:1.55;margin:0 0 14px;}
#qh-footer .qh-footer__copy{font-size:13px;line-height:1.5;margin:0;}

/* Links */
#qh-footer a{color:#fff;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;}
#qh-footer a:hover{ text-decoration-thickness:2px; opacity:.95;}

/* Button slimmer */
#qh-footer .qh-footer__btn{
  display:inline-block;
  border:2px solid rgba(255,255,255,.75);
  padding:10px 22px;
  border-radius:6px;
  font-size:16px;
  font-weight:600;
  text-decoration:none;
  margin-top:8px;
}

/* Icons */
#qh-footer .qh-footer__icon{
  display:inline-flex;
  width:28px;height:28px;
  border-radius:6px;
  align-items:center;justify-content:center;
  font-weight:700;
  border:1px solid rgba(255,255,255,.35);
}

/* Divider lines: add border-right to columns 1-4 on desktop */
@media (min-width: 768px){
  #qh-footer .qh-footer__col--div{
    border-right:1px solid rgba(255,255,255,.45);
  }
  #qh-footer .qh-footer__col--div{
    padding-right:18px;
    margin-right:18px;
  }
}

/* Mobile: remove dividers and spacing */
@media (max-width: 767.98px){
  #qh-footer .qh-footer__col--div{
    border-right:none;
    padding-right:0;
    margin-right:0;
  }
}

.footer-bottom.d-print-none {
    background-color: #0568b6;
}

#qh-footer .qh-footer__container{
  max-width: none !important;
  padding-left: 40px;
  padding-right: 40px;

}







/* Full width background */
#qh-footer{
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  
}


/* Prevent horizontal scroll from 100vw rounding */
html, body { overflow-x: hidden; }

/* Inner content width + padding */
#qh-footer .qh-footer__container{
  max-width: 1280px !important;   /* increase if you want it wider */
  margin: 0 auto !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}

.col-12.col-md-2.qh-footer__col.qh-footer__col--div {
          flex: 0 0 auto !important;
        width: 14.66666667% !important;
}


.col-12.col-md-4.qh-footer__col {
        flex: 0 0 auto !important;
        width: 25% !important;
}


.button2, .btn-secondary, .btn-default,.btn-primary  {
    color: #ffffff !important;
    background-color: #0568b6 !important;
}


/* Hide Register and Redeem Invitation tabs on Sign-in page */
.nav-tabs li a[href*="Register"],
.nav-tabs li a[href*="RedeemInvitation"],
.nav-tabs li a[href*="redeem"],
.nav-tabs li a[href*="invitation"] {
    display: none !important;
}


  /* Provider Tiles – ARTS Portal */
 



.provider-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin: 28px 0;
}

/* Card */
.provider-tile {
  position: relative;
  background: #ffffff;
  border: 1px solid #e3e6ea;
  border-radius: 10px;
  padding: 18px 18px 16px;

  /* keeps button aligned at bottom */
  display: flex;
  flex-direction: column;

  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

/* Thin brand accent (more modern than a thick blue bar) */
.provider-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  width: 100%;
  background: #00558c; /* QH blue */
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.provider-tile:hover {
  border-color: #cfd6dd;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Header row */
.provider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  margin-bottom: 10px;
}

/* Licence number as a pill badge */
.provider-licence {
  font-size: 12px;
  font-weight: 700;
  color: #0b3a57;
  background: #eef6fb;
  border: 1px solid #d7eaf6;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Status badge */
.provider-status {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: capitalize;
  border: 1px solid transparent;
}

/* Common status variants */
.provider-status.active {
  background: #e6f4ea;
  color: #137333;
  border-color: #cbe8d2;
}

.provider-status.inactive {
  background: #fdecea;
  color: #a50e0e;
  border-color: #f6c7c3;
}

/* If your status label ever becomes "expired" */
.provider-status.expired {
  background: #fff4e5;
  color: #b06000;
  border-color: #ffd8a8;
}

/* Provider name */
.provider-name {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  margin: 10px 0 14px;
  color: #1b1b1b;

  /* keep card heights consistent */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Detail blocks */
.provider-detail {
  margin-bottom: 12px;
}

.provider-detail span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #505a5f; /* neutral gov grey */
  margin-bottom: 3px;
}

.provider-detail strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #222;
  word-break: break-word;
}

/* Button */
.provider-link {
  margin-top: auto;          /* pushes to bottom */
  align-self: flex-start;    /* aligns left */

  display: inline-block;
  padding: 10px 16px;
  background-color: #005eb8;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  line-height: 1.1;
  border: 1px solid #004a94;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.provider-link:hover,
.provider-link:focus {
  background-color: #004a94;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.provider-link:focus-visible {
  outline: 3px solid #ffbf47; /* gov focus yellow */
  outline-offset: 2px;
}

/* Mobile: full-width button */
@media (max-width: 576px) {
  .provider-tiles {
    grid-template-columns: 1fr;
  }

  .provider-link {
    width: 100%;
    text-align: center;
  }
}

.provider-status.suspended {
    background: rgb(230, 244, 234);
    color: darkred;
}

.provider-status.cancelled {
    background: rgb(230, 244, 234);
    color:darkred;
;
}


/* ARTS Custom Dialog Styles */ 

.arts-dialog-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arts-dialog-box {
    background: #fff;
    width: 420px;
    max-width: calc(100% - 32px);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    animation: artsDialogIn 0.18s ease-out;
}

.arts-dialog-title {
    font-size: 20px;
    font-weight: 700;
    color: #123;
    margin-bottom: 10px;
}

.arts-dialog-message {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 22px;
}

.arts-dialog-actions {
    display: flex;
    justify-content: flex-end;
}

.arts-dialog-actions .btn {
    min-width: 90px;
    border-radius: 8px;
}

@keyframes artsDialogIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

th[data-th="Role"] {
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
}
