/*
 * Globals
 */
.portal-card-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}
.legal-privacy {
   color: #1473E6;
}
.legal-privacy:hover {
   color: #0056b3;
}


/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}


/*
 * Base structure
 */


/*body {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-pack: center;
  -webkit-box-pack: center;
  justify-content: center;
  color: #fff;
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}*/


/*
 * Header
 */
.masthead {
  margin-bottom: 2rem;
}

.masthead-brand {
  margin-bottom: 0;
}

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }
}

/*
 * Cover
 */
.cover {
  padding: 0 1.5rem;
}
.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}

/*
 * Footer
 */
.mastfoot {
  color: rgba(255, 255, 255, .5);
}


/*
 * Center Box Elment
 */
/* Make body full height and remove default margins */
/* Body setup */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    overflow-y: auto;
	padding: 60px 20px; /* creates visible space above/below */
}

/* Video background */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    /* autoplay and muted go in HTML */
}

/* White box styling */
/* Original styles */
.white-box {
    margin: 0px auto 0px auto;
    background-color: white;
    padding: 40px 60px; /* top/bottom 40px, left/right 60px */
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 825px;
    z-index: 1;
    position: relative;
}

/* Mobile-specific override */
@media (max-width: 768px) { /* adjust 768px as your mobile breakpoint */
    .white-box {
        padding: 40px 14px; /* top/bottom stay 40px, left/right change to 14px */
    }
}

.form-box {
    margin: 42px auto;        /* combines top/bottom + horizontal centering */
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 12px;
    background-color: #fff;
    text-align: left;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}




.form-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: #333;
}

.form-question {
    margin-bottom: 10px;
    color: #000000;
    font-size: 14px !important;
}

@media (max-width: 768px) {
  .sg-content {
    padding: 2px !important;
  }
	}
	
.form-dropdown {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc; /* match the box style */
    font-size: 1rem;
    font-family: 'Segoe UI', sans-serif;
}

.sg-button-bar {
    display: flex !important;
    justify-content: center !important;
}

#sg_SubmitButton {
    flex: 0 0 60% !important;
    max-width: 60% !important;
    margin: 0 !important;
}
.footer-text {
    font-size: 12px !important;
    line-height: 16px !important;
    color: #8e8e8e !important;
}

@media (max-width: 767px) {
    #login-footer {
        padding: 0 !important;
    }
}

/*NEW CSS*/
/* Portal Cards */
.portal-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 850px;
    width: 100%;
    margin: 40px auto;
}

.portal-card {
    display: block;
    transition: transform .2s ease;
}

.portal-card:hover {
    transform: translateY(-4px);
}

.portal-card img {
    display: block;
    width: 100%;
    height: auto;
}

/* Phones only */
@media (max-width: 600px) {
    .portal-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.intro-copy {
    margin: 40px 0;
}

.portal-heading {
    margin: 40px 0;
}
.portal-card-button {
  position: relative;
  z-index: 100;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}

.portal-card-button img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
