/* ---------- NAVBAR ---------- */
.navbar-inverse {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: #000000;
}

img {
  vertical-align: middle;
  width: 200px;
}

.menu-bar-left {
  float: left !important;
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 15px;
}

.navbar-left.menu-bar {
  line-height: 50px;
}

.navbar-inverse .navbar-nav > li > a {
  color: #000000;
}

.navbar-static-top.navbar .menu-bar > .navbar-nav > .divider-vertical {
  border-left: 1px solid #F28935;
}

.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid #e6e6e6;
}

/* Keep right content to the right */
.navbar-right {
  float: right !important;
}

/* Brand/logo alignment and sizing */
.navbar-brand {
  float: left;
  padding: 10px 15px;
  height: 50px;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 36px;
  width: auto;
  max-width: 200px;
  display: block;
}

.navbar a {
  color: #4a5568;
  font-weight: 500;
}

.navbar a:hover {
  color: #008080;
}

/* ---------- PAGE LAYOUT (fix white space) ---------- */
html, body {
  height: 100%;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1 0 auto;
}

/* ---------- FOOTER (small + no gap) ---------- */
footer,
.site-footer,
.footer-bottom {
  background-color: #45b6b0 !important;
  color: #ffffff;
  padding: 20px 20px !important; /* smaller footer */
  font-size: 12px !important;
  margin: 0 !important;         /* remove white space */
  border-radius: 0 !important;
  flex-shrink: 0;               /* ensures no space below */
}

footer * {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3;
}

/* ---------- HERO + CARDS ETC ---------- */
body {
  background-size: cover;
  font-family: "Segoe UI", SegoeUI, Arial, sans-serif;
}

.hero-section {
  position: relative;
  min-height: 89.5vh;
  background-image: url("/library-bg.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
    z-index: 1
}


.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(52, 79, 80, 0.7); /* #344F50 overlay */
  z-index: -1;
}

.hero-content {
  max-width: 1100px;
  padding: 80px 40px;   /* ✅ reduce side padding */
  margin: 0 auto;       /* ✅ center content */
}



.hero-content h1 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
  z-index: 2;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 600px;
  color: #ffffff;
  z-index: 2;
}

/* Tablet + Laptop only */
@media (min-width: 768px) {

  .hero-section .container,
  .hero-section .row,
  .hero-content,
  .get-help {
    position: relative;
    z-index: 2;
    margin-left: 20px;
    /*margin-top: 88px;*/
    color: #eeeeee;
  }

}
.get-help {
  
  padding-bottom: 60px;
  z-index: 2;
  margin-top: 88px;
   
}

.get-help h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #eeeeee;
  z-index: 2;
}

.help-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.help-card {
  width: 220px;
  height: 110px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: .25s ease;
}

.help-card:hover {
 
  transform: translateY(-3px);
  background:  #F28C38;

    transform: translateY(-3px);
    color: white;
    text-decoration: none;
}

/* ---------- HEADER IMAGE ---------- */
.header-image {
  display: flex;
  align-items: center;
  margin-right: 16px;
}

.header-image img {
  height: 50px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.navbar-header {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .help-cards {
    flex-direction: column;
  }

  .help-card {
    width: 100%;
  }

  .header-image img {
    height: 36px;
    max-width: 120px;
  }
}
@media (max-height: 800px) {
  .hero-section {
    min-height: auto;
    padding-bottom: 40px;
  }
}


.spinner {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: conic-gradient(
    #ffffff,
    #6FA5A6,
    #344F50,
    #6FA5A6,
    #ffffff
  );
  animation: spin 1s linear infinite;
  position: relative;
}

/* Inner cut-out to create ring effect */
.spinner::after {
  content: "";
  position: absolute;
  inset: 8px;
  background: rgba(52, 79, 80, 0.9);
  border-radius: 50%;
}


@keyframes spin {
  to { transform: rotate(360deg); }
}
/* Hide lookup clear (X) and search buttons */
.input-group-btn {
    display: none !important;
}

/* Fix lookup input group height */
.input-group .form-control {
    height: 44px !important;
    border-radius: 4px 0 0 4px !important;
}

/* Fix lookup buttons (X and Search) */
.input-group-btn .btn {
    height: 44px !important;
    border-radius: 0 4px 4px 0 !important;
    padding: 0 12px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure entire lookup matches normal input styling */
.input-group {
    width: 100%;
}
/* Floating success dialog */
.portal-toast{
    position:fixed;
    top:20px;
    left:50%;
    transform:translateX(-50%);
    background:#2fb5ad;
    color:#fff;
    padding:18px 28px;
    border-radius:8px;
    box-shadow:0 8px 24px rgba(0,0,0,0.18);
    z-index:9999;
    font-size:15px;
    font-weight:500;
    opacity:0;
    transition:all .35s ease;
}

/* visible state */
.portal-toast.show{
    opacity:1;
    top:40px;
}

/* close button */
.portal-toast-close{
    margin-left:18px;
    cursor:pointer;
    font-weight:bold;
}
/* overlay background */
.portal-success-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.45);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:99999;
}

/* modal box */
.portal-success-modal{
    background:#fff;
    width:420px;
    max-width:90%;
    padding:40px 30px;
    border-radius:14px;
    text-align:center;
    box-shadow:0 20px 60px rgba(0,0,0,.25);
    animation:popIn .35s ease;
}

/* check circle */
.portal-check{
    width:110px;
    height:110px;
    border-radius:50%;
    border:8px solid #2fb5ad;
    margin:0 auto 20px auto;
    position:relative;
}

/* checkmark */
.portal-check:after{
    content:'';
    position:absolute;
    left:28px;
    top:48px;
    width:30px;
    height:60px;
    border-right:8px solid #2fb5ad;
    border-bottom:8px solid #2fb5ad;
    transform:rotate(45deg);
}

/* title */
.portal-success-title{
    font-size:26px;
    font-weight:600;
    margin-bottom:10px;
    color:#2d2d2d;
}

/* message */
.portal-success-text{
    color:#666;
    font-size:15px;
    margin-bottom:25px;
}

/* button */
.portal-success-btn{
    background:#2fb5ad;
    color:#fff;
    border:none;
    padding:12px 28px;
    border-radius:6px;
    font-weight:600;
    cursor:pointer;
}

.portal-success-btn:hover{
    background:#269e97;
}

/* animation */
@keyframes popIn{
    from{ transform:scale(.7); opacity:0;}
    to{ transform:scale(1); opacity:1;}
}
/* close X button */
.portal-close{
    position:absolute;
    top:12px;
    right:16px;
    font-size:22px;
    color:#888;
    cursor:pointer;
    font-weight:bold;
}

.portal-close:hover{
    color:#000;
}
.portal-check:after {
    content: '';
    position: absolute;
    left: 33px;
    top: 4px;
    width: 32px;
    height: 68px;
    border-right: 8px solid #2fb5ad;
    border-bottom: 8px solid #2fb5ad;
    transform: rotate(45deg);
}
/* Fix Power Pages list text overlapping */
.entitylist table td,
.entitylist table th {
    white-space: normal !important;
    word-break: break-word !important;
}

/* specifically fix Case Title column */
.entitylist table td:nth-child(1) {
    max-width: 280px;
}

/* keep Case Number clean */
.entitylist table td:nth-child(2) {
    width: 180px;
    white-space: nowrap !important;
}
/* ===== Fix Dataverse List (Entity List) column overlap ===== */

/* allow cells to wrap */
.entitylist table td,
.entitylist table th {
    white-space: normal !important;
    word-break: break-word !important;
    vertical-align: middle !important;
}

/* IMPORTANT: force the link inside the Case Title to wrap */
.entitylist table td a {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    display: inline !important;
}

/* control column widths */
.entitylist table {
    table-layout: fixed !important;
    width: 100% !important;
}

/* Case Title column */
.entitylist table td:nth-child(1),
.entitylist table th:nth-child(1) {
    width: 28% !important;
}

/* Case Number column */
.entitylist table td:nth-child(2),
.entitylist table th:nth-child(2) {
    width: 18% !important;
    white-space: nowrap !important;
}

/* keep buttons inside */
.entitylist .btn {
    white-space: nowrap !important;
}
/* Fix profile dropdown hidden behind banner */
.navbar,
.navbar-nav,
.navbar .dropdown-menu {
    position: relative !important;
    z-index: 99999 !important;
}
c
/* allow dropdown to escape hero container */
.dropdown-menu {
    overflow: visible !important;
}

/* hero banner must stay below navbar */
.page-header,
.hero,
.sectionBlockLayout,
.createcase-hero {
    z-index: 1 !important;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    background-color: #2fb5ad !important;
    color: #ffffff !important;
}
/* Change navbar hover color */
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
    background-color: #2fb5ad !important;  /* change this */
    border-bottom: 8px solid #2fb5ad;
    color: #ffffff !important;
}

/* ================================
   MODERN POWER PAGES LOADER
================================ */

#page-loader {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(3px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity .25s ease;
}

/* active state */
#page-loader.active {
    display: none;
    opacity: 1;
}

/* spinner */
.portal-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #e3e3e3;
    border-top: 5px solid #5ca6a6;
    border-radius: 50%;
    animation: portalSpin 0.8s linear infinite;
}

@keyframes portalSpin {
    to { transform: rotate(360deg); }
}


/* Hide captcha links only */
a[href*="Captcha"],
a[href*="generate"],
a[href*="audio"] {
  display: none !important;
}
#UserNameTextBox {
  display: none;
}

/* Hide label */
label[for="UserNameTextBox"] {
  display: none;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

/* Only target the main content area */
main, .main-content, .container {
  flex: 1;
}

/* Footer stays at bottom */
footer {
  margin-top: auto;
}

/* Hide antiforgery token */
#antiforgerytoken {
  display: none;
}

/* Hide Fax and Mail entire rows */
#ContentContainer_MainContent_MainContent_ContentBottom_MarketingOptionsPanel .checkbox:nth-of-type(2),
#ContentContainer_MainContent_MainContent_ContentBottom_MarketingOptionsPanel .checkbox:nth-of-type(4) {
  display: none;
}

.actions {
  margin-bottom: 40px;
}
@media (max-width: 992px) {
  .hero-content {
    padding: 60px 30px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .hero-content {
    padding: 40px 20px;
  }

  .hero-content h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 14px;
    line-height: 1.5;
  }
}

.hero-section {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 120px; /* 👈 pushes content above footer */

}
/* REMOVE default Power Pages spacing */
.sectionBlockLayout,
.container,
.row {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Remove extra spacing after hero */
.hero-section {
  margin-bottom: 0 !important;
}

/* Kill any trailing white gap */
body > div:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .contact-top {
    grid-template-columns: 1fr;
  }

  .contact-bottom {
    grid-template-columns: 1fr;
  }
}
/* 🚀 BREAK OUT OF POWER PAGES CONTAINER */
.hero-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.form-horizontal .radio,  .form-horizontal .radio-inline, .form-horizontal .checkbox-inline {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 7px;
    display: none;
}

.checkbox input#RememberMe {

    display: none !important;

}
 
.checkbox:has(#RememberMe) {

    display: none !important;

}
 .file-cell .input-group-btn,
.fileupload .input-group-btn,
input[type="file"] + .input-group-btn {
    display: table-cell !important;
}
img {
    vertical-align: middle;
    width: 20pt;
}