#content_form {
    margin-bottom: 5px;
}

.open>.dropdown-menu{
    background-color: var(--portalThemeColor4, #ffffff);
}
.open>.dropdown-menu>li>a{
    color: var(--portalThemeOnColor9, #1276CE);
}


.open .dropdown-menu > li > a:hover,.dropdown-menu > .active > a:hover{
    color: var(--portalThemeColor4, #ffffff);
    background-color: var(--portalThemeOnColor9, #1276CE);
    text-decoration: Underline;

}
.dropdown-menu>.active>a{
    color: var(--portalThemeColor4, #ffffff);
    background-color: var(--portalThemeOnColor9, #1276CE);
    text-decoration: Underline;

}
.open .dropdown-menu>.active>a:focus{
    color: var(--portalThemeColor4, #ffffff);
    background-color: var(--portalThemeOnColor9, #1276CE);
    text-decoration: Underline;

}

/*Added by Phil C - Grok Software 25/09/2025*/

/*Styling for new ticket cards*/
.card-body {
  width: 220px;              /* Fixed width */
  height: 220px;             /* Fixed height to make it square */
  background-color: #ffffff;
  border-radius: 12px;       /* Rounded corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 20px;
  margin: 16px;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-body:hover {
  background-color: #fff5f5; /* Subtle red tint */
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.card-body i {
  color: #007bff;
  margin-bottom: 12px;
}

.card-body .card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

/*Hide any rows where the custom oh-hidden class has been applied*/
tr:has(.oh-hidden) {
    display: none;
}

/*Hide the chat widget*/
.pva-floating-style {
  display: none !important;
}


/* === Outside Help Portal Modernization (Unobtrusive) === */

/* 1. Base font and colors */
body {
  font-family: 'Inter', 'Open Sans', Arial, sans-serif;
  background: #f7fafd;
  color: #222;
  margin: 0;
  padding: 0;
}

/* 2. Accent color */
:root {
  --oh-accent: #00b2e3;
  --oh-accent-dark: #0090b2;
  --oh-bg: #f7fafd;
  --oh-border: #e0e7ef;
  --oh-radius: 10px;
  --oh-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* 3. Table-based form layout */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 1rem;
  background: var(--oh-bg);
}

td {
  padding: 0.75rem 1rem;
  vertical-align: top;
}

/* 4. Headings */
h1, h2, h3, h4 {
  color: var(--oh-accent);
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

/* 5. Form fields */
input[type="text"], input[type="email"], input[type="password"], textarea, select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--oh-border);
  border-radius: var(--oh-radius);
  background: #fff;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--oh-shadow);
  margin-bottom: 1rem;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--oh-accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,178,227,0.15);
}

/* 6. Buttons */
button, input[type="submit"], .btn {
  background: var(--oh-accent);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: var(--oh-radius);
  padding: 0.75rem 2rem;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: var(--oh-shadow);
  transition: background 0.2s, box-shadow 0.2s;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

button:hover, input[type="submit"]:hover, .btn:hover {
  background: var(--oh-accent-dark);
  box-shadow: 0 4px 16px rgba(0,178,227,0.10);
}

/* 7. Navigation (simple, modern) */
nav, .navbar, .navigation {
  background: #fff;
  border-bottom: 1px solid var(--oh-border);
  padding: 0.5rem 2rem;
  box-shadow: var(--oh-shadow);
}

nav a, .navbar a, .navigation a {
  color: var(--oh-accent);
  text-decoration: none;
  font-weight: 600;
  margin-right: 1.5rem;
  transition: color 0.2s;
}

nav a:hover, .navbar a:hover, .navigation a:hover {
  color: var(--oh-accent-dark);
}

/* 8. Responsive design */
@media (max-width: 800px) {
  table, tbody, tr, td {
    display: block;
    width: 100%;
  }
  td {
    padding: 1rem 0.5rem;
  }
  nav, .navbar, .navigation {
    padding: 0.5rem 1rem;
  }
}

/* 9. Miscellaneous */
label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
  color: #222;
}

hr {
  border: none;
  border-top: 1px solid var(--oh-border);
  margin: 2rem 0;
}

/*Grok Custom*/
#EntityFormPanel, #EntityFormPanel.crmEntityFormView, .crmEntityFormView, .entitylist, .modal-content, .popover-content {
    border: none;
}

#ialgty > div.columnBlockLayout, .columnBlockLayout {
  margin-top: 0px;
}

#navbar > nav.navbar-right,#navbar > nav.menu-bar {
  border: none;
  box-shadow: none;
}

.page-header {
  display: none;
}

/*Custom Styling for My Support - Grid*/