[data-cellid="footer_c1"][data-page="_global_login"][data-cellid="footer_c1"][data-page="_global_login"][data-cellid="footer_c1"][data-page="_global_login"] {
  width: 33.33333333%;
}
[data-cellid="footer_c2"][data-page="_global_login"][data-cellid="footer_c2"][data-page="_global_login"][data-cellid="footer_c2"][data-page="_global_login"] {
  width: 33.33333333%;
}
[data-cellid="footer_c3"][data-page="_global_login"][data-cellid="footer_c3"][data-page="_global_login"][data-cellid="footer_c3"][data-page="_global_login"] {
  width: 33.33333333%;
}
[data-page="_global_login"][data-itemid="text"] {
  color: #529cba;
  font-weight: bold;
  font-size: 20px;
  font-family: "Handlee";
  padding-top: 25px;
  padding-left: 25px;
}
[data-page="_global_login"][data-itemid="login_message"] {
  font-family: "Handlee";
}
[data-page="_global_login"][data-itemid="username_label"] {
  font-family: "Handlee";
}
[data-page="_global_login"][data-itemid="username"] {
  font-family: "Handlee";
}
[data-page="_global_login"][data-itemid="password_label"] {
  font-family: "Handlee";
}
[data-page="_global_login"][data-itemid="password"] {
  font-family: "Handlee";
}
[data-page="_global_login"][data-itemid="remember_password"] {
  font-family: "Handlee";
}
[data-page="_global_login"][data-itemid="login_button"] > .btn {
  font-family: "Handlee";
  padding-left: 10px;
}
[data-page="_global_login"][data-itemid="text1"] {
  font-style: italic;
  font-size: 9px;
  font-family: "Handlee";
}
[data-page="_global_login"][data-itemid="text2"] {
  color: #529cba;
  font-weight: bold;
  font-size: 16px;
  font-family: "Handlee";
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 25px;
}
[data-page="_global_login"][data-itemid="page_image_ash8f23hr"] {
  width: 400px;
}


/* Put  your custom CSS code here */
/* ===== Card shell on login page ===== */
body.function-login .panel,
body.function-login .card{
  position: relative;
  overflow: hidden;            /* lets rounded corners clip the image */
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  background: #ffffff;         /* base bg; image added via ::before */
}

/* ===== Background image inside the card (no 'inset') ===== */
body.function-login .panel::before,
body.function-login .card::before{
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0; /* instead of inset:0; */
  background: url("../../images/MKScombined.jpg") center center no-repeat;
  background-size: cover;
  z-index: 0;
  opacity: 1;               /* tone it down for readability */
}

/* ===== Subtle brand tint overlay (no backdrop-filter) ===== */
body.function-login .panel::after,
body.function-login .card::after{
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(82,156,186,.10); /* #529cba @ 10% */
  z-index: 1;
}

/* ===== Put form content above the image/overlay (no universal *) ===== */
body.function-login .panel-body,
body.function-login .card-body{
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.90);  /* readable without blur */
  border-radius: 14px;
  padding: 22px;
}

/* ===== Headings and links in brand tones ===== */
body.function-login h2,
body.function-login .panel-title,
body.function-login .card-title{
  color: #2e6f8a;
  font-weight: 700;
  letter-spacing: .2px;
}

body.function-login a{
  color: #2e6f8a;
}
body.function-login a:hover{
  color: #529cba;
  text-decoration: underline;
}

/* ===== Inputs and buttons (no over-qualification like input.form-control) ===== */
body.function-login .form-control{
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  transition: box-shadow .2s, border-color .2s;
}
body.function-login .form-control:focus{
  border-color: #529cba;
  box-shadow: 0 0 0 3px rgba(82,156,186,.25);
  outline: none;
}

/* Works for Bootstrap 3 (.btn-primary) and PHPRunner's .button mix */
body.function-login .btn,
body.function-login .button{
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 600;
}
body.function-login .btn-primary,
body.function-login .button.btn-primary{
  background-color: #529cba;
  border-color: #529cba;
  color: #fff;
}
body.function-login .btn-primary:hover,
body.function-login .button.btn-primary:hover{
  background-color: #468daa;
  border-color: #468daa;
}
body.function-login .btn-primary:active,
body.function-login .button.btn-primary:active{
  background-color: #3d7f98;
  border-color:#3d7f98;
}

