/* header */
header {
    margin-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dedede;
}

header h1 {
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 70%;
    float: left;
}

header ul {
    text-align: right;
    font-size: 0.9em;
}

header li {
    display: inline;
    padding-left: 30px;
}

header a {
    color: #333;
    text-decoration: none;
}

header a:hover {
    color: #666;
}

nav .active a {
    color: #333;
    font-weight: bold;
}

/* logo */
.logo a {
    opacity: 0.5;
    color: #d40000;
}

.logo span {
    color: #333;
}

.logo a:hover {
    opacity: 0.8;
    color: #333;
}

.logo a:focus span,
.logo a:hover span {
    color: #d40000;
}

/* user links on the left */
header .user-links .dropdown {
    margin-left: 15px;
}

/* title tooltip */
header h1 .tooltip {
    opacity: 0.3;
    font-size: 0.6em;
}

/* page header */
.page-header {
    margin-bottom: 20px;
}

.page-header h2 {
    margin: 0;
    padding: 0;
    font-size: 1.4em;
    font-weight: bold;
    border-bottom: 1px dotted #ccc;
}

.page-header h2 a {
    color: #333;
    text-decoration: none;
}

.page-header h2 a:focus,
.page-header h2 a:hover {
    color: #aaa;
}

.page-header ul {
    text-align: left;
    margin-top: 5px;
    display: inline-block;
}

.menu-inline li,
.page-header li {
    display: inline;
    padding-right: 15px;
    font-size: 0.95em;
}

.page-header li.active a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.page-header li.active a:hover,
.page-header li.active a:focus {
    text-decoration: underline;
}

.menu-inline {
    margin-bottom: 5px;
}
