/* Dolan O'Rourke Back Office theme.
   Loaded on every page, but only applies when the "Dolan O'Rourke" theme is selected
   (body[data-theme-name="DolanORourke"]), so other themes are untouched.
   Brand: green #006835, gold #D7A029, deep green #0B3B24, ink #10201A; font Manrope. */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

body[data-theme-name="DolanORourke"] {
    --font-family: Manrope, Inter, sans-serif;

    --body-bg: #f4f6f5;
    --text-color: #10201a;
    --link-color: #006835;
    --link-hover-color: #0b3b24;
    --text-link-color: #006835;
    --text-link-hover-color: #0b3b24;

    --brand-primary: #006835;
    --brand-primary-text: #fff;
    --brand-primary-5: #005a2e;
    --brand-primary-10: #004d27;
    --brand-primary-lighten-10: #2f8a5c;
    --brand-primary-lighten-30: #bfe0cd;
    --brand-success: #2f8a5c;
    --brand-warning: #d7a029;

    --state-primary-bg: #e9f4ee;
    --state-primary-text: #006835;
    --state-primary-border: #cfe6d9;

    --btn-primary-bg: #006835;
    --btn-primary-border: #006835;
    --btn-primary-color: #fff;
    --btn-primary-hover-bg: #004d27;
    --btn-primary-hover-border: #004d27;
    --btn-primary-active-bg: #0b3b24;
    --btn-primary-active-border: #0b3b24;

    --select-item-active-bg: #006835;
    --input-border-focus: #2f8a5c;
    --input-border-focus-rgba: rgba(0, 104, 53, 0.35);

    --navbar-bg: #ffffff;
    --navbar-inverse-bg: #ffffff;
    --navbar-inverse-border: #e3e8e5;
    --navbar-inverse-link-color: #10201a;
    --navbar-inverse-link-hover-color: #006835;
    --navbar-inverse-link-hover-bg: #f1f7f3;
    --navbar-inverse-link-active-bg: #e9f4ee;
    --navbar-inverse-toggle-hover-bg: #e9f4ee;
    --navbar-inverse-link-icon-color: #006835;
    --navbar-inverse-link-icon-hover-color: #006835;
    --navbar-link-active-bg: #e9f4ee;

    --default-heading-bg-color: #eef6f1;
    --panel-default-border: #e3e8e5;
    --dropdown-link-active-bg: #e9f4ee;
}

/* Top bar: white with a green-and-gold rule, like the website header */
body[data-theme-name="DolanORourke"] #header .navbar,
body[data-theme-name="DolanORourke"] .navbar.navbar-inverse {
    border-bottom: 3px solid #006835;
    box-shadow: 0 2px 0 #d7a029;
}

body[data-theme-name="DolanORourke"] .navbar .nav > li.active > a,
body[data-theme-name="DolanORourke"] .navbar .nav > li.active > a:hover {
    color: #006835;
    font-weight: 700;
}

/* Menu icons: every icon in the top menu and its sub menus is brand green,
   whatever color a tab has been given (overrides per-tab icon colors). */
body[data-theme-name="DolanORourke"] #navbar ul.tabs [class*="fa-"]:not(.group-caret),
body[data-theme-name="DolanORourke"] #navbar ul.tabs .color-icon {
    color: #006835 !important;
}

/* Headings and panel titles */
body[data-theme-name="DolanORourke"] .page-header .header-title,
body[data-theme-name="DolanORourke"] h1, body[data-theme-name="DolanORourke"] h2,
body[data-theme-name="DolanORourke"] h3, body[data-theme-name="DolanORourke"] h4 {
    font-family: Manrope, Inter, sans-serif;
    font-weight: 800;
    color: #10201a;
}

body[data-theme-name="DolanORourke"] .panel-heading .panel-title {
    font-weight: 700;
    color: #006835;
}

body[data-theme-name="DolanORourke"] .panel > .panel-heading {
    border-bottom: 1px solid #e3e8e5;
}

/* Buttons: primary green with a gold base line */
body[data-theme-name="DolanORourke"] .btn-primary {
    box-shadow: inset 0 -2px 0 #d7a029;
}

/* Table headers (lists, report results and report grids): a soft green tint,
   dark-green small caps and a thin green rule, readable on every screen. */
body[data-theme-name="DolanORourke"] .list > table > thead > tr > th,
body[data-theme-name="DolanORourke"] .report-results-container table thead th,
body[data-theme-name="DolanORourke"] .report-grid table thead th {
    background: #f3f7f5;
    color: #2c4a3c;
    font-weight: 700;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-bottom: 2px solid #cfe3d7;
    border-top: 0;
    padding-top: 10px;
    padding-bottom: 9px;
    white-space: nowrap;
}

body[data-theme-name="DolanORourke"] .list > table > thead > tr > th a,
body[data-theme-name="DolanORourke"] .list > table > thead > tr > th .fas,
body[data-theme-name="DolanORourke"] .report-results-container table thead th a,
body[data-theme-name="DolanORourke"] .report-grid table thead th a {
    color: #2c4a3c;
    font-weight: 700;
}

body[data-theme-name="DolanORourke"] .list > table > thead > tr > th a:hover,
body[data-theme-name="DolanORourke"] .report-results-container table thead th a:hover {
    color: #006835;
    text-decoration: none;
}

/* Calm row hover */
body[data-theme-name="DolanORourke"] .list > table > tbody > tr:hover > td {
    background: #f8fbf9;
}

/* Report (Advanced Pack) grid totals */
body[data-theme-name="DolanORourke"] .report-results-container table tr.total td,
body[data-theme-name="DolanORourke"] .report-grid tr.total td {
    background: #eef6f1;
    font-weight: 800;
}

/* Labels and badges */
body[data-theme-name="DolanORourke"] .label-primary,
body[data-theme-name="DolanORourke"] .badge-primary {
    background-color: #006835;
}

/* Login screen */
body[data-theme-name="DolanORourke"] #login .panel-heading {
    background: #fff;
    border-bottom: 3px solid #006835;
}
