

/* Remove default link underline */
body.login a {
  text-decoration: none;
}

/* Display custom logo above slider images */
.login h1 a {
  display: block;
  background-image: url("https://sttc.miin.co/files/miin-white250100.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 250px;
  height: 100px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1030;  /* Higher than slider elements */
}

/* Notification messages styling */
.login .message,
.press-this #message,
div.error,
div.updated {
  border: none;
  padding: 5px 20px 5px 55px;
  position: relative;
}

#login_error {
  padding: 15px 20px;
  margin: 10px auto;
  text-align: center;
  width: 400px;
}

/* Position the login container (pulled back from extreme right) */
#login {
  position: absolute;
  top: 40px;
  right: 100px;  /* Increased offset pulls the box more leftward */
  width: 400px;
  z-index: 1020;  /* Ensures container (and its content) is above slider */
}

/* Login form styling */
.login form {
  font-weight: 400;
  margin: 0;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 1020;
}

/* Lost password form spacing */
#lostpasswordform {
  margin-top: 30px !important;
}

/* Remember me area */
.login form .forgetmenot {
  font-weight: 400;
  margin: 0;
  padding-top: 20px;
  text-align: center;
}

/* Primary button styling */
.login .button-primary {
  font-size: 22px !important;
  height: 60px !important;
  margin: 30px 0 0 !important;
  padding: 0 50px !important;
  transition: background 0.3s ease-in-out !important;
}

/* Form paragraphs and labels */
#login form p {
  margin: 0;
}

#login form p.submit {
  border: none !important;
  padding: 0;
}

.login label {
  color: #000;
  font-size: 18px;
}

.login form .forgetmenot label {
  font-size: 16px;
}

/* Error and message boxes */
#login_error,
.login .message {
  margin: 0 auto 5px;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  width: 400px;
  z-index: 1020;
  position: relative;
}

/* Navigation links below form */
.login #backtoblog,
.login #nav {
  font-size: 18px;
  padding: 0 24px;
  text-align: center;
  z-index: 1020;
}

.login #nav {
  margin: 24px 0 0;
}

#backtoblog {
  margin: 10px 0 0;
}

/* Input fields styling */
.login form .input,
.login input[type="text"],
.login input[type="password"] {
  background: #fff;
  color: #333;
  font-size: 24px;
  font-weight: 200;
  line-height: 1;
  margin: 10px auto 16px;
  outline: none;
  padding: 9px;
  text-align: center;
  width: 100%;
}

/* Password strength indicator */
.login #pass-strength-result {
  border: 1px solid;
  font-weight: 600;
  margin: 12px 0 6px;
  padding: 6px 0;
  text-align: center;
  width: 100%;
}

/* Indicator hint */
.login .indicator-hint {
  border: none;
  color: #fff;
  font-size: 12px;
  opacity: 0.6;
}

/* Mobile adjustments */
@media only screen and (max-width: 950px) {
  .login .message,
  .login #login_error,
  .login #backtoblog,
  .login #nav,
  .login form {
    margin: 0 20px;
  }
}

@media only screen and (max-width: 450px) {
  #filifooter {
    display: none !important;
  }
  .login form {
    margin-top: 15px;
    width: 90%;
  }
  #login {
    width: 320px;
    right: 10px;
  }
  /* Adjust reCAPTCHA scaling */
  #rc-imageselect,
  .g-recaptcha {
    transform: scale(1.12);
    transform-origin: 0 0;
  }
}

/* Footer link styling */
#filifooter {
  text-align: right;
  position: fixed;
  bottom: 10px;
  right: 50px;
  font-size: x-small;
  z-index: 1020;
  color: #808080;
  text-decoration: none;
}

/* Google reCAPTCHA scaling */
.g-recaptcha {
  transform: scale(1.12);
  transform-origin: 0 0;
}

/* Hide default reCAPTCHA branding */
.rc-anchor-normal .rc-anchor-pt {
  display: none !important;
}

/* WP Core UI button styles */
.wp-core-ui .button,
.wp-core-ui .button-primary,
.wp-core-ui .button-secondary {
  display: inline-block;
  text-decoration: none;
  font-size: 13px;
  line-height: 32px;
  height: 32px;
  margin: 0;
  padding: 0 15px;
  cursor: pointer;
  border: 1px solid;
  white-space: nowrap;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
}

.wp-core-ui button::-moz-focus-inner,
.wp-core-ui input[type="button"]::-moz-focus-inner,
.wp-core-ui input[type="reset"]::-moz-focus-inner,
.wp-core-ui input[type="submit"]::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* Primary large buttons */
#publishing-action .button-primary,
.wp-core-ui .button-group.button-large .button,
.wp-core-ui .button.button-large {
  font-size: 16px;
  height: 50px;
  line-height: 50px;
  padding: 0 24px;
  width: 100%;
  background: #005389;
}

/* Default primary button appearance */
.wp-core-ui .button-primary {
  background: #0274be;
  border: none;
  color: #fff;
  text-decoration: none;
}

.wp-core-ui .button-primary:hover,
.wp-core-ui .button-primary:focus {
  background: #1e8ad1;
  color: #fff;
}

#filifooter{
   text-align: right;
   position: fixed;
   bottom: 10px;
   right:70px;
   font-size:x-small;
   z-index:999;
   color: #808080;
   text-decoration: none;
}

/* Slider styles */
.cb-slideshow,
.cb-slideshow:after { 
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0; 
}

.cb-slideshow li span { 
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 0;
  backface-visibility: hidden;
  animation: imageAnimation 42s linear infinite;
}

.cb-slideshow li div { 
  z-index: 998;
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  text-align: center;
  opacity: 0;
  color: #fff;
  animation: titleAnimation 42s linear infinite;
}

.cb-slideshow li div h3 { 
  font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
  font-size: 210px;
  padding: 0;
  line-height: 170px; 
}

/* Background images for slider */
.cb-slideshow li:nth-child(1) span { 
  background-image: url(https://on.diip.ca/~sttc/images/bk1.jpg);
}
.cb-slideshow li:nth-child(2) span { 
  background-image: url(https://on.diip.ca/~sttc/images/bk4.jpg);
  animation-delay: 7s;
}
.cb-slideshow li:nth-child(3) span { 
  background-image: url(https://on.diip.ca/~sttc/images/bk6.jpg);
  animation-delay: 14s;
}
.cb-slideshow li:nth-child(4) span { 
  background-image: url(https://on.diip.ca/~sttc/images/bk7.jpg);
  animation-delay: 21s;
}
.cb-slideshow li:nth-child(5) span { 
  background-image: url(https://on.diip.ca/~sttc/images/bk8.jpg);
  animation-delay: 28s;
}
.cb-slideshow li:nth-child(6) span { 
  background-image: url(https://on.diip.ca/~sttc/images/bk2.jpg);
  animation-delay: 35s;
}

/* Title animation delays corresponding to images */
.cb-slideshow li:nth-child(2) div { animation-delay: 7s; }
.cb-slideshow li:nth-child(3) div { animation-delay: 14s; }
.cb-slideshow li:nth-child(4) div { animation-delay: 21s; }
.cb-slideshow li:nth-child(5) div { animation-delay: 28s; }
.cb-slideshow li:nth-child(6) div { animation-delay: 35s; }

/* Keyframes for slider images */
@keyframes imageAnimation { 
  0% { opacity: 0; animation-timing-function: ease-in; }
  8% { opacity: 1; animation-timing-function: ease-out; }
  17% { opacity: 1; }
  25% { opacity: 0; }
  100% { opacity: 0; }
}

/* Keyframes for slider title */
@keyframes titleAnimation { 
  0% { opacity: 0; }
  8% { opacity: 1; }
  17% { opacity: 1; }
  19% { opacity: 0; }
  100% { opacity: 0; }
}

/* Fallback for browsers without CSS animations */
.no-cssanimations .cb-slideshow li span {
  opacity: 1;
  background: #000;
}

/* Responsive slider font sizes */
@media screen and (max-width: 1140px) { 
  .cb-slideshow li div h3 { font-size: 140px; }
}
@media screen and (max-width: 600px) { 
  .cb-slideshow li div h3 { font-size: 80px; }
}
    .grecaptcha-badge {
        visibility: hidden !important;
    }