
/* =========================================================
   Noble Air CrewCenter - v3
   Visual redesign override for phpVMS v5 / CrewCenter
   Safe override: does not alter PHP, JS, Leaflet or functions.
   ========================================================= */

:root {
    --nbl-navy: #062b52;
    --nbl-navy-dark: #031b35;
    --nbl-navy-mid: #0b3b6d;
    --nbl-gold: #f5b82e;
    --nbl-gold-dark: #d99b12;
    --nbl-white: #ffffff;
    --nbl-bg: #eef2f6;
    --nbl-border: #c7d1dc;
    --nbl-text: #17212b;
    --nbl-muted: #667381;
    --nbl-danger: #b52b2b;
    --nbl-success: #13833b;
}

/* ---------- Page foundation ---------- */
html, body {
    background: var(--nbl-bg) !important;
    color: var(--nbl-text) !important;
}

body {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* ---------- Main wrapper / content ---------- */
.wrapper,
.content-wrapper,
.main-wrapper {
    background: var(--nbl-bg) !important;
}

.content {
    background: transparent !important;
}

/* ---------- Top navigation ---------- */
.main-header,
.main-header .navbar,
.navbar,
.navbar-static-top {
    background: var(--nbl-navy) !important;
    border-bottom: 3px solid var(--nbl-gold) !important;
}

.main-header .logo,
.navbar-brand,
.logo {
    background: var(--nbl-navy-dark) !important;
    color: var(--nbl-white) !important;
}

.main-header a,
.navbar a,
.navbar-brand {
    color: var(--nbl-white) !important;
}

.main-header a:hover,
.navbar a:hover {
    color: var(--nbl-gold) !important;
}

/* ---------- Remove the old repeating aircraft/banner artwork ---------- */
.main-header .logo img,
.header img {
    max-height: 48px;
}

/* Existing CrewCenter decorative strips/backgrounds */
.main-header,
.skin-blue .main-header .navbar,
.skin-blue .main-header .logo {
    background-image: none !important;
}

/* ---------- Sidebar ---------- */
.main-sidebar,
.left-side,
.sidebar {
    background: var(--nbl-navy-dark) !important;
    color: var(--nbl-white) !important;
}

.main-sidebar:before,
.left-side:before {
    background: var(--nbl-navy-dark) !important;
}

.sidebar-menu {
    background: var(--nbl-navy-dark) !important;
}

.sidebar-menu > li > a {
    color: #f3f6f9 !important;
    border-left: 3px solid transparent !important;
    background: transparent !important;
    font-weight: 500;
}

.sidebar-menu > li > a:hover {
    color: var(--nbl-gold) !important;
    background: var(--nbl-navy-mid) !important;
    border-left-color: var(--nbl-gold) !important;
}

.sidebar-menu > li.active > a,
.sidebar-menu > li.menu-open > a {
    color: var(--nbl-gold) !important;
    background: #092f57 !important;
    border-left-color: var(--nbl-gold) !important;
}

.sidebar-menu .treeview-menu {
    background: #052442 !important;
}

.sidebar-menu .treeview-menu > li > a {
    color: #dbe4ed !important;
}

.sidebar-menu .treeview-menu > li > a:hover {
    color: var(--nbl-gold) !important;
}

/* Sidebar section labels */
.sidebar-menu .header {
    color: #9fb1c3 !important;
    background: #041f39 !important;
}

/* ---------- User panel ---------- */
.user-panel {
    background: var(--nbl-navy) !important;
    border-bottom: 1px solid rgba(245,184,46,.45) !important;
}

.user-panel .info,
.user-panel .info a {
    color: var(--nbl-white) !important;
}

.user-panel .info small {
    color: #c7d4df !important;
}

/* ---------- Page title ---------- */
.content-header h1,
.content-header h2,
.content-header h3 {
    color: var(--nbl-navy) !important;
    font-weight: 600 !important;
}

.breadcrumb {
    background: transparent !important;
}

/* ---------- Generic boxes / panels ---------- */
.box,
.panel,
.small-box,
.info-box {
    border: 1px solid var(--nbl-border) !important;
    box-shadow: 0 2px 7px rgba(0,0,0,.08) !important;
}

.box-header,
.panel-heading {
    background: var(--nbl-navy) !important;
    color: var(--nbl-white) !important;
    border-top: 3px solid var(--nbl-gold) !important;
}

.box-header .box-title,
.panel-heading,
.box-header h3,
.box-header h4 {
    color: var(--nbl-white) !important;
}

/* ---------- Dashboard profile card ---------- */
.profile-box,
.profile-card,
.dashboard-profile,
.user-profile {
    background: var(--nbl-white) !important;
    border: 1px solid var(--nbl-border) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.08) !important;
}

.profile-box .header,
.profile-card .header {
    background: var(--nbl-navy) !important;
    color: var(--nbl-white) !important;
}

.profile-box .body,
.profile-card .body {
    background: var(--nbl-white) !important;
    color: var(--nbl-text) !important;
}

/* Neutralise the old bright red dashboard labels where possible */
.profile-box label,
.profile-card label,
.profile-box .label,
.profile-card .label {
    color: var(--nbl-navy) !important;
}

/* ---------- Buttons ---------- */
.btn,
button,
input[type="submit"],
input[type="button"] {
    border-radius: 3px !important;
}

.btn-primary,
.btn-info,
.btn-success {
    background: var(--nbl-navy) !important;
    border-color: var(--nbl-navy-dark) !important;
    color: var(--nbl-white) !important;
}

.btn-primary:hover,
.btn-info:hover,
.btn-success:hover {
    background: var(--nbl-navy-mid) !important;
    border-color: var(--nbl-gold) !important;
    color: var(--nbl-white) !important;
}

/* ---------- Tables ---------- */
.table,
table {
    color: var(--nbl-text) !important;
    background: var(--nbl-white) !important;
}

.table thead th,
table thead th {
    background: var(--nbl-navy) !important;
    color: var(--nbl-white) !important;
    border-color: var(--nbl-navy) !important;
}

.table tbody tr:nth-child(even),
table tbody tr:nth-child(even) {
    background: #f5f7f9 !important;
}

.table tbody tr:hover,
table tbody tr:hover {
    background: #fff8df !important;
}

.table td,
.table th,
table td,
table th {
    border-color: var(--nbl-border) !important;
}

/* ---------- Live flights / Leaflet ---------- */
.leaflet-container {
    background: #dfe5e9 !important;
}

.leaflet-control,
.leaflet-control-layers {
    box-shadow: 0 1px 4px rgba(0,0,0,.25) !important;
}

/* Keep Leaflet map colours/functionality intact; only style its outer containers */
.live-flights,
.liveflight,
.acars-map,
.map-container,
#map {
    border-color: var(--nbl-border) !important;
}

/* ---------- Right-side small boxes ---------- */
.small-box {
    color: var(--nbl-white) !important;
}

.small-box .inner h3,
.small-box .inner p {
    color: var(--nbl-white) !important;
}

.small-box.bg-green,
.small-box.bg-success {
    background: var(--nbl-success) !important;
}

.small-box.bg-blue,
.small-box.bg-info {
    background: var(--nbl-navy) !important;
}

.small-box.bg-yellow,
.small-box.bg-warning {
    background: var(--nbl-gold-dark) !important;
}

/* ---------- News / alerts ---------- */
.alert,
.alerts,
.news,
.news-item {
    border-radius: 3px !important;
}

.alert {
    border-left: 4px solid var(--nbl-gold) !important;
}

.news h3,
.news .title,
.news-item h3,
.news-item .title {
    color: var(--nbl-navy) !important;
}

/* ---------- Forms ---------- */
.form-control,
input,
select,
textarea {
    border: 1px solid #b9c5d0 !important;
    border-radius: 2px !important;
    box-shadow: none !important;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--nbl-gold-dark) !important;
    box-shadow: 0 0 0 2px rgba(245,184,46,.16) !important;
}

/* ---------- Links ---------- */
a {
    color: var(--nbl-navy-mid);
}

a:hover {
    color: var(--nbl-gold-dark);
}

/* ---------- Footer ---------- */
.main-footer,
.footer {
    background: var(--nbl-navy-dark) !important;
    color: #dbe4ed !important;
    border-top: 3px solid var(--nbl-gold) !important;
}

.main-footer a,
.footer a {
    color: var(--nbl-gold) !important;
}

/* ---------- Prevent news/report content from widening CrewCenter ---------- */
.news img,
.news-item img,
.article img,
.content img {
    max-width: 100% !important;
    height: auto !important;
}

.news table,
.news-item table,
.article table {
    max-width: 100% !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .content-wrapper,
    .right-side {
        margin-left: 0 !important;
    }

    .main-sidebar {
        z-index: 1000;
    }
}

@media (max-width: 767px) {
    .content-header {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .content {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .box,
    .panel {
        width: 100% !important;
    }

    .table-responsive {
        overflow-x: auto !important;
    }
}

/* =========================================================
   NOBLE AIR CREWCENTER V4
   Dashboard refinement
   ========================================================= */

/* Main page background */
body {
    background: #eef2f5;
}

/* Main content */
.content-wrapper {
    background: #eef2f5 !important;
}

/* Page headings */
.content-header h1 {
    color: #062b52 !important;
    font-weight: 600;
}

/* General panels */
.box {
    border-top: 3px solid #e5aa22 !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
    overflow: hidden;
}

/* Panel headings */
.box-header {
    background: #062b52 !important;
    color: #ffffff !important;
    border-bottom: 1px solid #e5aa22 !important;
}

.box-header .box-title {
    color: #ffffff !important;
    font-weight: 600;
}

/* Dashboard profile card */
.profile-user-img {
    border: 3px solid #e5aa22 !important;
}

/* Profile panel */
.profile-username {
    color: #062b52 !important;
    font-weight: 600;
}

/* Profile statistics */
.list-group-item {
    background: #ffffff !important;
    border-color: #d9e0e6 !important;
}

.list-group-item b {
    color: #062b52 !important;
}

/* Buttons */
.btn-primary {
    background: #062b52 !important;
    border-color: #062b52 !important;
}

.btn-primary:hover {
    background: #0a3d70 !important;
    border-color: #0a3d70 !important;
}

/* Gold buttons / highlights */
.btn-warning {
    background: #e5aa22 !important;
    border-color: #e5aa22 !important;
    color: #062b52 !important;
}

/* Right-hand information boxes */
.small-box {
    border-radius: 4px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.10) !important;
}

.small-box h3 {
    font-weight: 600;
}

/* Newest pilots */
.newest-pilots,
.new-pilots {
    border-top: 3px solid #e5aa22 !important;
}

/* Tables */
.table > thead > tr > th {
    background: #062b52 !important;
    color: #ffffff !important;
    border-bottom: 2px solid #e5aa22 !important;
}

.table > tbody > tr:hover {
    background: #f3f6f8 !important;
}

/* Links */
.content a {
    color: #075da8;
}

.content a:hover {
    color: #e5aa22;
}

/* News / alert areas */
.alert {
    border-radius: 4px !important;
}

/* Live map */
.leaflet-container {
    border-radius: 2px;
}

/* Map statistics underneath map */
#maptable {
    background: #ffffff;
}

/* Gold accent on important headings */
.text-warning {
    color: #e5aa22 !important;
}

/* Reduce excessive spacing */
.content {
    padding-top: 15px !important;
}

/* Cards on dashboard */
.row > [class*="col-"] {
    margin-bottom: 12px;
}

/* Sidebar submenu */
.sidebar-menu > li > .treeview-menu {
    background: #041f3c !important;
}

/* Sidebar active item */
.sidebar-menu > li.active > a {
    background: #0a3d70 !important;
    border-left: 3px solid #e5aa22 !important;
}

/* Sidebar hover */
.sidebar-menu > li > a:hover {
    background: #0a3d70 !important;
    border-left: 3px solid #e5aa22 !important;
}

/* Top navigation */
.main-header .navbar {
    background: #062b52 !important;
    border-bottom: 3px solid #e5aa22 !important;
}

/* User menu */
.main-header .navbar .nav > li > a {
    color: #ffffff !important;
}

/* Footer */
.main-footer {
    background: #062b52 !important;
    color: #ffffff !important;
    border-top: 3px solid #e5aa22 !important;
}

.main-footer a {
    color: #e5aa22 !important;
}

/* =========================================================
   NOBLE AIR CREWCENTER V5
   Pilot Profile Card
   ========================================================= */

/* Profile card */
.profile-card,
.box-profile,
.profile-widget {
    border-radius: 5px !important;
    overflow: hidden !important;
}

/* Pilot profile header area */
.box-profile .box-body {
    background: #75c8e8 !important;
}

/* Pilot photograph */
.box-profile .profile-user-img {
    width: 92px !important;
    height: 92px !important;
    object-fit: cover !important;
    border: 3px solid #e5aa22 !important;
    padding: 2px !important;
    background: #ffffff !important;
    margin-bottom: 8px !important;
}

/* Pilot name */
.box-profile .profile-username {
    color: #062b52 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-top: 5px !important;
    margin-bottom: 3px !important;
}

/* Pilot callsign / ID */
.box-profile .text-muted {
    color: #17618c !important;
    font-weight: 500 !important;
}

/* Profile statistics */
.box-profile .list-group {
    margin-top: 12px !important;
    border-radius: 3px !important;
    overflow: hidden !important;
}

.box-profile .list-group-item {
    min-height: 39px !important;
    padding: 10px 12px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #d5dfe6 !important;
    font-size: 13px !important;
}

/* Statistic labels */
.box-profile .list-group-item b {
    color: #062b52 !important;
    font-weight: 600 !important;
}

/* Statistic values */
.box-profile .list-group-item span {
    color: #176fae !important;
    font-weight: 500 !important;
}

/* Rank label */
.box-profile .list-group-item:first-child b {
    color: #062b52 !important;
}

/* Edit profile button */
.box-profile .btn-primary {
    margin-top: 8px !important;
    border-radius: 3px !important;
    background: #062b52 !important;
    border: 1px solid #062b52 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 9px 12px !important;
    transition: all 0.2s ease !important;
}

.box-profile .btn-primary:hover {
    background: #e5aa22 !important;
    border-color: #e5aa22 !important;
    color: #062b52 !important;
}

/* Pilot news/history list underneath profile */
.box-profile + * {
    border-radius: 4px !important;
}

/* Subtle hover effect for statistic rows */
.box-profile .list-group-item:hover {
    background: #f5f8fa !important;
}

/* Keep profile card from becoming too tall */
.box-profile {
    margin-bottom: 12px !important;
}

/* =========================================================
   NOBLE AIR CREWCENTER V6
   Live Operations Panel
   ========================================================= */

/* Live Flights outer panel */
.box:has(.leaflet-container) {
    border-radius: 5px !important;
    overflow: hidden !important;
    border-top: 3px solid #e5aa22 !important;
    box-shadow: 0 2px 7px rgba(0,0,0,0.10) !important;
}

/* Live Flights header */
.box:has(.leaflet-container) .box-header {
    background: #062b52 !important;
    color: #ffffff !important;
    padding: 10px 12px !important;
    border-bottom: 2px solid #e5aa22 !important;
}

.box:has(.leaflet-container) .box-title {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* Live Operations area */
.box:has(.leaflet-container) .box-body {
    background: #75c8e8 !important;
    padding: 10px !important;
}

/* Map heading */
.box:has(.leaflet-container) h2,
.box:has(.leaflet-container) h3 {
    color: #062b52 !important;
    font-weight: 600 !important;
}

/* Leaflet map frame */
.box:has(.leaflet-container) .leaflet-container {
    border: 1px solid #b8cbd5 !important;
    border-radius: 2px !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35) !important;
}

/* Map controls */
.box:has(.leaflet-container) .leaflet-control {
    box-shadow: 0 1px 4px rgba(0,0,0,0.18) !important;
}

/* Statistics strip underneath map */
.box:has(.leaflet-container) .mapstats,
.box:has(.leaflet-container) .map-stats {
    background: #ffffff !important;
    border-top: 1px solid #b8cbd5 !important;
    border-bottom: 1px solid #b8cbd5 !important;
}

/* Map statistics values */
.box:has(.leaflet-container) .mapstats strong,
.box:has(.leaflet-container) .map-stats strong {
    color: #075da8 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* Map statistics labels */
.box:has(.leaflet-container) .mapstats span,
.box:has(.leaflet-container) .map-stats span {
    color: #062b52 !important;
    font-size: 12px !important;
}

/* Flight table below map */
.box:has(.leaflet-container) table {
    background: #ffffff !important;
    margin-bottom: 0 !important;
}

/* Flight table headings */
.box:has(.leaflet-container) table thead th {
    background: #e7f1f6 !important;
    color: #062b52 !important;
    font-weight: 600 !important;
    border-bottom: 2px solid #e5aa22 !important;
    padding: 8px 6px !important;
}

/* Flight table rows */
.box:has(.leaflet-container) table tbody td {
    color: #163b58 !important;
    background: #ffffff !important;
    padding: 7px 6px !important;
    border-bottom: 1px solid #d7e0e5 !important;
}

/* Flight table hover */
.box:has(.leaflet-container) table tbody tr:hover td {
    background: #f2f7fa !important;
}

/* Red operational headings used by the existing CrewCenter map */
.box:has(.leaflet-container) table th,
.box:has(.leaflet-container) table td {
    vertical-align: middle !important;
}

/* Keep map panel compact */
.box:has(.leaflet-container) {
    margin-bottom: 12px !important;
}

/* =========================================================
   NOBLE AIR CREWCENTER - V7
   Dashboard refinement
   ========================================================= */

/* ---------------------------------------------------------
   Main dashboard panels
   --------------------------------------------------------- */

.box {
    border-top: 3px solid #f4b400 !important;
    border-radius: 3px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12) !important;
}

.box-header {
    background: #06335b !important;
    color: #ffffff !important;
    border-bottom: 1px solid #f4b400 !important;
    min-height: 42px;
}

.box-header .box-title {
    color: #ffffff !important;
    font-weight: 600 !important;
}


/* ---------------------------------------------------------
   Live Flights panel
   --------------------------------------------------------- */

#liveflights .box-header,
.liveflights .box-header {
    background: #06335b !important;
    color: #ffffff !important;
}

#liveflights .box-header h3,
.liveflights .box-header h3 {
    color: #ffffff !important;
}


/* ---------------------------------------------------------
   Profile statistics
   --------------------------------------------------------- */

.profile-box,
.profile-main,
.dashboard-profile {
    border-top: 3px solid #f4b400 !important;
}

.profile-box table tr td:first-child,
.profile-main table tr td:first-child {
    font-weight: 600;
}

.profile-box table tr:hover,
.profile-main table tr:hover {
    background: #f4f7fa !important;
}


/* ---------------------------------------------------------
   Sidebar
   --------------------------------------------------------- */

.sidebar-menu > li > a {
    transition: all 0.2s ease-in-out;
}

.sidebar-menu > li > a:hover {
    background: #0b426f !important;
    color: #ffffff !important;
    border-left: 3px solid #f4b400;
}

.sidebar-menu > li.active > a {
    background: #0b426f !important;
    color: #ffffff !important;
    border-left: 3px solid #f4b400;
}


/* ---------------------------------------------------------
   Sidebar section
   --------------------------------------------------------- */

.sidebar-menu .treeview-menu {
    background: #052b4b !important;
}

.sidebar-menu .treeview-menu > li > a:hover {
    background: #0b426f !important;
    color: #ffffff !important;
}


/* ---------------------------------------------------------
   Dashboard buttons
   --------------------------------------------------------- */

.btn-primary {
    background: #06335b !important;
    border-color: #06335b !important;
}

.btn-primary:hover {
    background: #0b426f !important;
    border-color: #f4b400 !important;
}


/* ---------------------------------------------------------
   Edit Profile button
   --------------------------------------------------------- */

a.btn,
button.btn {
    transition: all 0.2s ease-in-out;
}


/* ---------------------------------------------------------
   Newest Pilots / side panels
   --------------------------------------------------------- */

.small-box {
    border-radius: 3px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12) !important;
}

.small-box .icon {
    opacity: 0.18;
}


/* ---------------------------------------------------------
   News / update panels
   --------------------------------------------------------- */

.news,
.news-list,
.recent-news {
    border-top: 3px solid #f4b400 !important;
}

.news a:hover,
.news-list a:hover,
.recent-news a:hover {
    color: #06335b !important;
}


/* ---------------------------------------------------------
   Tables
   --------------------------------------------------------- */

.table > thead > tr > th {
    background: #06335b !important;
    color: #ffffff !important;
    border-bottom: 2px solid #f4b400 !important;
}

.table > tbody > tr:hover {
    background: #f4f7fa !important;
}


/* ---------------------------------------------------------
   Gold focus/outline
   --------------------------------------------------------- */

.form-control:focus {
    border-color: #f4b400 !important;
    box-shadow: 0 0 0 1px rgba(244,180,0,0.25) !important;
}


/* ---------------------------------------------------------
   Clean up excessive spacing
   --------------------------------------------------------- */

.content-header {
    padding-bottom: 10px !important;
}

.content {
    padding-top: 10px !important;
}


/* ---------------------------------------------------------
   Noble Air gold accent
   --------------------------------------------------------- */

hr {
    border-top: 1px solid #f4b400 !important;
}

/* =========================================================
   NOBLE AIR CREWCENTER - V8
   News / Important Alerts refinement
   ========================================================= */

/* ---------------------------------------------------------
   Important Alerts container
   --------------------------------------------------------- */

.alert,
.alert-box,
.important-alerts,
#important-alerts {
    border: 0 !important;
    border-top: 3px solid #f4b400 !important;
    border-radius: 3px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12) !important;
    background: #eaf4f9 !important;
    color: #06335b !important;
}


/* ---------------------------------------------------------
   Catch the existing CrewCenter red alert panel
   --------------------------------------------------------- */

.box-danger,
.panel-danger {
    background: #eaf4f9 !important;
    border-color: #f4b400 !important;
    color: #06335b !important;
}

.box-danger > .box-header,
.panel-danger > .panel-heading {
    background: #06335b !important;
    color: #ffffff !important;
    border-color: #f4b400 !important;
}


/* ---------------------------------------------------------
   Alert heading
   --------------------------------------------------------- */

.alert h1,
.alert h2,
.alert h3,
.alert h4,
.alert h5,
.alert h6,
.important-alerts h1,
.important-alerts h2,
.important-alerts h3,
.important-alerts h4,
.important-alerts h5,
.important-alerts h6 {
    color: #06335b !important;
    font-weight: 600 !important;
}


/* ---------------------------------------------------------
   Important Alerts title
   --------------------------------------------------------- */

.alert-title,
.important-alert-title {
    display: inline-block;
    background: #06335b !important;
    color: #ffffff !important;
    border-bottom: 3px solid #f4b400 !important;
    padding: 7px 18px !important;
    border-radius: 2px !important;
    font-weight: 600 !important;
}


/* ---------------------------------------------------------
   News / updates panel
   --------------------------------------------------------- */

.news,
.news-list,
.recent-news,
.frontpage-news,
.updates {
    background: #eaf4f9 !important;
    border-top: 3px solid #f4b400 !important;
    border-radius: 3px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.10) !important;
}


/* ---------------------------------------------------------
   News/update rows
   --------------------------------------------------------- */

.news li,
.news-list li,
.recent-news li,
.frontpage-news li,
.updates li {
    border-bottom: 1px solid #d2dce3 !important;
}

.news li:last-child,
.news-list li:last-child,
.recent-news li:last-child,
.frontpage-news li:last-child,
.updates li:last-child {
    border-bottom: 0 !important;
}


/* ---------------------------------------------------------
   News links
   --------------------------------------------------------- */

.news a,
.news-list a,
.recent-news a,
.frontpage-news a,
.updates a {
    color: #075b96 !important;
    text-decoration: none !important;
}

.news a:hover,
.news-list a:hover,
.recent-news a:hover,
.frontpage-news a:hover,
.updates a:hover {
    color: #06335b !important;
}


/* ---------------------------------------------------------
   Remove old red backgrounds where CrewCenter uses
   danger/alert styling
   --------------------------------------------------------- */

.bg-red,
.bg-danger {
    background-color: #06335b !important;
}

.text-danger {
    color: #06335b !important;
}


/* ---------------------------------------------------------
   Announcement text
   --------------------------------------------------------- */

.alert marquee,
.important-alerts marquee {
    color: #06335b !important;
    background: transparent !important;
    font-weight: 500 !important;
}


/* ---------------------------------------------------------
   Keep existing alert links readable
   --------------------------------------------------------- */

.alert a,
.box-danger a,
.panel-danger a {
    color: #06335b !important;
    font-weight: 600 !important;
}

.alert a:hover,
.box-danger a:hover,
.panel-danger a:hover {
    color: #f4b400 !important;
}