@font-face {
  font-family: "MyriadProRegular";
  src: url("MyriadProRegular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.fa, .fa-solid {
  font-family: FontAwesome !important;
}

body, p, h1, h2, h3, h4, h5, h6, a, span, div {
  font-family: "MyriadProRegular", Arial, sans-serif !important;
}


.navbar-brand img {
  height: 80px !important;
  width: auto !important;
}




.btn-secondary:hover {
    background-color: #B7914A;
    color: #fff;
}

.btn-secondary:active {
    transform: scale(0.98);
}


/* Optional: For better accessibility, ensure the logo scales responsively */
@media (max-width: 767px) {
  .navbar-brand img {
    max-width: 120px;
    max-height: 50px;
  }
}


/* ================================
   Links: Kill underline on site title
   ================================ */
.navbar-brand a,
.navbar-brand a:hover,
.navbar-brand a:focus,
.navbar-brand a:active,
h1.siteTitle.custom-sitetitle,
h1.siteTitle.custom-sitetitle a {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* ================================
   Entity Form: Web resource cells
   ================================ */
.entity-form td.web-resource-cell,
.entity-form .cell.web-resource-cell {
  height: auto !important;
  min-height: 0 !important;
  padding: 4px 28px !important; /* shrink default */
  margin: 0 !important;
  vertical-align: top !important;
}

/* ================================
   Web Resources: Clamp iframes
   ================================ */
#WebResource_new_6,
iframe[src*="/_webresource/cre8d_Color"],
#WebResource_new_7,
iframe[src*="/_webresource/cre8d_Contact"],
#WebResource_new_8,
iframe[src*="/_webresource/cre8d_Delivery"],
#WebResource_new_10,
iframe[src*="/_webresource/ges_DeclarationHead"],
#WebResource_BannerDetailEvaluation,
iframe[src*="/_webresource/cre8d_DetailofEvaluationbeingdisputed"],
#WebResource_InformOutcome,
iframe[src*="/_webresource/cre8d_informedoftheoutcome"]
  {
  height: 55px !important; /* tune 28–36px to taste */
  min-height: 0 !important;
}


#WebResource_new_9,
iframe[src*="/_webresource/ges_Disclaimer"]
{
  height: 70px !important; /* tune 28–36px to taste */
  min-height: 0 !important;
}

#WebResource_new_1,
iframe[src*="/_webresource/ges_ResultEv"]
 {
  height: 200px !important; /* tune 28–36px to taste */
  min-height: 0 !important;
}

#WebResource_new_5,
iframe[src*="/_webresource/cre8d_D3"]
 {
  height: 170px !important; /* tune 28–36px to taste */
  min-height: 0 !important;
}

#WebResource_new_3,
iframe[src*="/_webresource/cre8d_EvaluationFees"]
{
  height: 525px !important; 
  min-height: 0 !important;
}

/* ================================
   Signature Control
   ================================ */
.signatureControl .canvasContainer {
  min-height: 220px;
}

.signatureControl .drawCanvas {
  width: 100% !important;
  height: 220px !important;
  touch-action: none;
}
.confirmButtonTick.crmSymbolFont::before {
  content: "✓" !important;                /* fallback tick */
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  color: #1C3E94;            /* NQA blue, see CI manual:contentReference[oaicite:0]{index=0} */
  font-weight: 700;
}
/* Put a neat border around the signature canvas */
.signatureControl .drawCanvas {
  border: 2px solid #1C3E94;   /* NQA blue */
  border-radius: 8px;          /* rounded corners */
  background: #fff;            /* white background so signature is visible */
}

footer .footer-bottom {
  background-color: #1c3e94 !important;
}
/* Login */

/* Hide the Register tab/link */
a.nav-link[href^="/Account/Login/Register"],
a.nav-link[href*="/Account/Login/Register"] {
  display: none !important;
}
ul.nav.nav-tabs.nav-account {
  display: none !important;
}

/* If the Register <li> is the parent, hide it too */
li.nav-item:has(> a[href*="/Account/Login/Register"]) {
  display: none !important;
}

/* Hide the external login column.
   Your snippet shows the external login form posts to /Account/Login/ExternalLogin */
form[action^="/Account/Login/ExternalLogin"],
form[action*="/Account/Login/ExternalLogin"] {
  display: none !important;
}

/* The external login is inside a col-md-6, so remove that whole column if it contains that form */
.col-md-6:has(form[action*="/Account/Login/ExternalLogin"]) {
  display: none !important;
}
/* Center local login column and make it look sane */
.col-md-6:has(form[action^="/SignIn"]),
.col-md-6:has(form[action*="/SignIn"]) {
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  max-width: 520px;   /* tweak */
  width: 100%;
}

/* If you can't use :has(), target the form itself */
form[action^="/SignIn"],
form[action*="/SignIn"] {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Optional: center the headings */
#local-login-heading,
#external-login-heading {
  text-align: center;
}