/*
 * Brand block used by prospeaking_nav(). Not scoped to a page class: the report
 * pages under the Reports directory render the same navbar with their own body
 * layout. (Never write a glob with a star-slash in here: it ends the comment and
 * the next rule gets swallowed into an invalid selector.)
 *
 * Bootstrap's .navbar-nav links are exactly 50px tall at >=768px (15px padding
 * + 20px line-height + 15px). Matching the brand to that height and centring its
 * contents with flexbox puts the logo and menu items on one centre line.
 */
/*
 * The report pages render their own .navbar-fixed-top control bar below this one.
 * Both sit at Bootstrap's z-index 1030 and the report's comes later in the DOM, so
 * without this the open dropdown menus are painted over by it. Also clears the
 * fixed results header injected with report data (z-index 99). Deliberately left
 * under the reports' 99998+ compliance overlay, which is meant to cover the page.
 */
.prospeaking-navbar {
    z-index: 1050;
}

/*
 * Indent the clickable entries under their group header in the Tools menu, so a
 * heading like "Lists" reads as a label rather than another link. Bootstrap's own
 * padding on these links is 3px 20px, so this is that plus a 20px indent. The
 * divider and DB Diagnostics have no heading above them and stay flush.
 */
.prospeaking-navbar .dropdown-menu > li.tool-item > a {
    padding-left: 40px;
}

#logo-container {
    padding: 0;
}

#logo-container .prospeaking-logo {
    display: inline-flex;
    align-items: center;
    height: 50px;
    line-height: 1;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #444;
    letter-spacing: 0.02em;
    text-decoration: none;
}

#logo-container .prospeaking-logo:hover,
#logo-container .prospeaking-logo:focus {
    color: #222;
    text-decoration: none;
}

#logo-container .prospeaking-emblem {
    height: 32px;
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
}

#logo-container .prospeaking-logo span {
    vertical-align: middle;
}

/*
 * adminTools.php layout. Scoped to .admin-page: mgrTools.php still uses the
 * original absolutely-positioned .mgrResults under a fixed navbar.
 */
.admin-page {
    padding-top: 70px;
    background: #FFF;
}

/* Page heading with an action button pushed to the right. */
.admin-page .page-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 5px;
}

.admin-page .page-title-row h1 {
    margin: 0;
}

.admin-page .task-picker {
    max-width: 1024px;
    margin: 0 auto 20px;
}

/*
 * Task chooser: icon + label links in one row, in place of the old select + Go.
 * Still wraps rather than overflowing when the window is too narrow to fit them.
 */
.admin-page .task-links {
    display: flex;
    flex-wrap: wrap;
}

.admin-page .task-link {
    display: inline-flex;
    align-items: center;
    margin: 0 8px 8px 0;
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    text-decoration: none;
}

.admin-page .task-link .glyphicon {
    margin-right: 8px;
    color: #999;
}

.admin-page .task-link:hover,
.admin-page .task-link:focus {
    border-color: #00A2D1;
    color: #0082a8;
    text-decoration: none;
}

.admin-page .task-link:hover .glyphicon,
.admin-page .task-link:focus .glyphicon,
.admin-page .task-link.active .glyphicon {
    color: inherit;
}

.admin-page .task-link.active {
    border-color: #00A2D1;
    background: #f2fafd;
    color: #0082a8;
}

/*
 * position:relative (not static) so the absolutely-positioned #loader spinner
 * anchors inside the results area instead of floating over the picker above it.
 */
.admin-page .mgrResults {
    position: relative;
    width: auto;
    max-width: 1024px;
    margin: 0 auto 30px;
    top: auto;
    left: auto;
    right: auto;
    background: transparent;
    border: 0;
}

.admin-page .mgrResults:not(:empty) {
    min-height: 220px;
}

#loader {
    position: absolute;
    left: 50%;
    top: 150px;
    z-index: 1;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 80px;
    height: 80px;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}
@-webkit-keyframes spin {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
}
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.mgrResults {
    margin: 0;
    padding: 0px;
    table-layout: fixed;
    position: absolute;
    top: 90px;
    background: #F0F0F0;
    border-right: 1px solid #CCC;
    border-left: 1px solid #CCC;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    left: 0;
    right: 0;
    font-size: 12px;
    width: 1024px;
}
.trHover:hover {
	background-color:#CCC;
	}