/*
 * NanoSafety RDF Explorer theme, loaded after the engine's style.css.
 * Deeper shades of the logo colours, so white text on them stays readable:
 *   teal  #2F7A70 (main actions)   coral #C9503C (reset, accents)
 *   slate #4A5A6A (secondary)      tint  #FBE6E1 / #E8F1EF (backgrounds)
 */

/* Navbar: white with a coral accent line, full width, room for the logo */
.navbar-default {
    background-color: #ffffff;
    border: none;
    border-bottom: 3px solid #F27360;
    margin-bottom: 0;
}

.navbar-default > .container {
    width: 100%;
    display: flex !important;
    align-items: center;
    height: auto !important;
    padding: 8px 15px;
}

.navbar-default .navbar-header {
    float: none;
}

.navbar-default .navbar-brand {
    height: auto;
    padding: 4px 24px 4px 12px;
    margin-left: 0 !important;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
    background-color: transparent;
}

.navbar-default .navbar-collapse {
    float: none;
    flex: 1;
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
}

.navbar-default .navbar-nav > li > a {
    color: #4A5A6A;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #2F7A70;
    background-color: #E8F1EF;
}

.navbar-default .input-group-addon {
    background-color: #4A5A6A;
    border-color: #4A5A6A;
    color: #fff;
}

.navbar-form.navbar-right {
    margin-top: 0;
    margin-bottom: 0;
}

/* Buttons */
.btn-success, .btn-danger, .btn-warning, .btn-primary {
    color: #fff;
    font-weight: 600;
}

/* Query and Search = teal */
.btn-success {
    background-color: #2F7A70;
    border-color: #276860;
}
.btn-success:hover, .btn-success:focus, .btn-success:active {
    color: #fff;
    background-color: #276860;
    border-color: #1f554e;
}

/* Reset = coral */
.btn-danger {
    background-color: #C9503C;
    border-color: #b44533;
}
.btn-danger:hover, .btn-danger:focus, .btn-danger:active {
    color: #fff;
    background-color: #b44533;
    border-color: #9c3b2c;
}

/* Export dropdown and the examples refresh button = slate */
.btn-warning, .btn-primary {
    background-color: #4A5A6A;
    border-color: #3f4d5b;
}
.btn-warning:hover, .btn-warning:focus, .btn-warning:active,
.btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.open > .dropdown-toggle.btn-warning {
    color: #fff;
    background-color: #3f4d5b;
    border-color: #34404c;
}

/* Panels and selections pick up the teal */
.panel-default > .panel-heading {
    background-color: #E8F1EF;
    border-color: #d3e4e0;
    color: #23302d;
}

.list-group-item.node-selected,
.list-group-item.node-selected:hover {
    background-color: #2F7A70 !important;
    border-color: #2F7A70 !important;
    color: #fff !important;
}

.CodeMirror {
    border-color: #c7d3d0;
}

/* Links, spinner, health dot */
a, a:visited {
    color: #2F7A70;
}

a:hover, a:focus {
    color: #C9503C;
}

.query-spinner .spinner {
    border-top-color: #C9503C;
}

.dot-checking {
    background-color: #4A5A6A;
}

/* Footer: light tint, logos large enough to recognise */
footer {
    min-height: 54px;
    background-color: #FBF4F2;
    border-top: 1px solid #f3d9d2;
    color: #4A5A6A;
    padding: 8px 0;
    text-align: center;
}

footer img {
    vertical-align: middle;
    margin: 0 6px;
}

#result {
    margin-bottom: 70px;
}
