/*
 * Staff Directory & Forums CSS
 *
 * Loaded conditionally when the Staff Directory module is active.
 * Covers: bbPress forums, staff profile forms, peoplenav, indexcard,
 *         org chart / directreports, staff template dropdowns.
 *
 * @package Govintranet
 */

/* STAFF PROFILE FORM FIELD ADJUSTMENTS */

#bbpress-forums #bbp-your-profile fieldset label[for] {
    width: 155px;
    text-align: left;
}
#bbpress-forums #bbp-your-profile fieldset {
    padding: 0;
}
#bbpress-forums fieldset.bbp-form {
    border: none;
}
#bbpress-forums #bbp-your-profile fieldset label[for] {
    width: 155px;
    text-align: left;
}
#bbpress-forums li.bbp-header ul.forum-titles {
    margin-bottom: 0;
}
#bbpress-forums ul.forum,
#bbpress-forums ul.topic {
    margin-bottom: 0;
}
#bbpress-forums fieldset.bbp-form input#bbp_topic_subscription {
    height: auto;
}
.bbp-user-edit table,
.bbp-user-edit table td,
.bbp-user-edit table tr {
    border: none !important;
}
fieldset.bbp-form label {
    font-size: 16px;
}
.media.user {
    margin-bottom: 0;
}
.media.user p {
    margin-bottom: 5px !important;
}
.search p.jobtitle {
    font-weight: 700;
}

/* STAFF DIRECTORY AND FORUMS */

#peoplenav img {
    width: 66px;
}
.peoplenav img {
    width: 120px;
}
#peoplenav ul {
    padding-left: 0;
}
.bbp-breadcrumb {
    display: none;
}
#bbpress-forums {
    line-height: 150%;
}
#bbpress-forums #bbp-user-body {
    margin-left: auto !important;
}
#bbpress-forums #bbp-user-navigation li.current a {
    background: #eee;
    opacity: 0.8;
}
#bbpress-forums #bbp-user-navigation a {
    padding: 5px 8px;
    display: block;
    border: 1px solid transparent;
    text-decoration: none;
}
#bbp-user-avatar {
    text-align: center;
}
.bbp-user-page #bbp-user-avatar img.avatar {
    display: inline-block;
}
#buddypress .button,
#buddypress input[type="submit"],
#loginform .button-primary,
body:not(.bbp-user-edit).bbpress .button {
    font-size: 0.9em !important;
    padding: 5px 10px !important;
}
#bbpress-forums .widget_display_replies img.avatar,
#bbpress-forums .widget_display_topics img.avatar,
#bbpress-forums div.bbp-template-notice img.avatar,
#bbpress-forums p.bbp-topic-meta img.avatar,
#bbpress-forums ul.bbp-reply-revision-log img.avatar,
#bbpress-forums ul.bbp-topic-revision-log img.avatar {
    margin-bottom: 0 !important;
    border: none !important;
}
.bbp-user-page #content #bbpress-forums ul {
    margin-bottom: 1.5em;
}
.reply.bbpress #bbpress-forums ul,
.topic.bbpress #bbpress-forums ul {
    margin-bottom: 1em !important;
}
.search .avatar {
    float: left;
    margin-left: 0 !important;
    margin-right: 1em;
}
.avatar-block .avatar {
    float: left;
    margin-left: 0 !important;
    margin-right: 0.5em;
    margin-bottom: 0.5em;
}
.oc {
    text-align: center;
}
.oc img {
    width: 96px !important;
    height: 96px !important;
}
.oc #directreports .media-body {
    text-align: left;
    font-size: smaller;
    line-height: 1.2em;
}
.bbp-user-page .panel {
    background: #f3f2f1;
    border: none;
    box-shadow: none;
}
.bbp-user-page .panel-body {
    background: #f3f2f1;
    border: none;
}
.bbp-user-page .panel-heading {
    background: #fff;
    font-weight: 700;
}
.bbp-user-edit #about-this-widget,
.bbp-user-page #about-this-widget {
    display: none;
}
#directreports img {
    width: 60px !important;
    height: 60px !important;
}
#directreports .media {
    display: block;
    text-align: left !important;
    margin-left: 0;
    position: relative;
    margin-bottom: 0;
    background: #fdfdfd;
    padding: 3px;
}
#directreports a.fulltree {
    display: block;
    text-align: left !important;
    margin-left: 0;
    position: relative;
    margin-bottom: 10px;
    background: #fdfdfd;
    padding: 0;
    border: 1px solid #fff;
}
#directreports a.fulltree:hover {
    border: 1px solid #666;
    text-decoration: none;
}
a.fulltree .direct_avatar {
    display: block;
    float: left;
    clear: left;
}
a.fulltree .direct_avatar img {
    margin: 3px !important;
}
a.fulltree .direct_name {
    font-size: 1em;
    display: table-row;
}
a.fulltree .direct_jt {
    font-size: smaller;
    display: block;
    line-height: 18px;
    padding-bottom: 10px;
    color: #0b0c0c;
}
#bbpress-forums ul li {
    list-style: none !important;
    margin-left: 0 !important;
}
#bbp-user-body ul.bullets {
    margin-bottom: 1em !important;
}
#bbp-user-body ul.bullets li {
    margin-left: 1em !important;
    list-style: disc !important;
}
#bbpress-forums {
    font-size: inherit !important;
}
#bbpress-forums .status-closed,
#bbpress-forums .status-closed a {
    color: #222 !important;
}
#bbpress-forums .bbp-reply-content li {
    list-style: square !important;
}
.bbp-atticon {
    background: 0 0 !important;
}
.forumtitle {
    background-color: #ffffc5;
    color: #323742;
    padding: 0.5em;
}
.subforums {
    padding: 1em;
}
#bbpress-forums fieldset.bbp-form input {
    height: 2em;
}
#bbpress-forums .widget_display_replies img.avatar,
#bbpress-forums .widget_display_topics img.avatar,
#bbpress-forums div.bbp-template-notice img.avatar,
#bbpress-forums p.bbp-topic-meta img.avatar,
#bbpress-forums ul.bbp-reply-revision-log img.avatar,
#bbpress-forums ul.bbp-topic-revision-log img.avatar {
    margin-bottom: 0 !important;
    border: none !important;
}
#bbpress-forums .bbp-forums-list li {
    display: block !important;
}
.bbp-search-form {
    margin-bottom: 1em;
}
#peoplenav.search-staff {
    padding-top: 0 !important;
}
.archive #peoplenav {
    padding-top: 0;
}
#peoplenav .indexcard,
.peoplenav .indexcard {
    padding-top: 0;
    padding-left: 1em;
    list-style: none;
    padding: 0;
    font-size: 90%;
    font-weight: 400;
    line-height: 130%;
    margin-bottom: 1.3em;
    border-bottom: 1px solid #e7e7e7;
    border-right: 1px solid #e7e7e7;
}
#peoplenav .indexcard a,
.peoplenav .indexcard a {
    padding: 0.5em 1em 0.5em 0.5em;
    min-height: 100px;
}
#peoplenav .well {
    min-height: 130px;
}
#peoplenav .indexcard a:link,
#peoplenav .indexcard a:visited,
.peoplenav .indexcard a:link,
.peoplenav .indexcard a:visited {
    color: #3a6f9e;
    text-decoration: none;
    display: block;
    background: #f4f4f4 !important;
}
#peoplenav .indexcard a:hover,
.peoplenav .indexcard a:hover {
    list-style: none;
    font-weight: 400;
    background: #dee0e2 !important;
    color: #333 !important;
}
#peoplenav .col-lg-4,
#peoplenav .col-md-4 {
    padding-right: 0;
}
#peoplenav .col-sm-6 {
    padding-right: 15px;
}
#peoplenav .indexcard-avatar {
    margin-right: 0.5em;
}
#container {
    padding: 1em;
}
#container.search-staff {
    padding-top: 0 !important;
}
.archive #container {
    padding-top: 0;
}
.indexcard {
    list-style: none;
    font-size: 90%;
    font-weight: 400;
    line-height: 130%;
}
.indexcard a {
    padding: 0.5em 0.5em 0.5em 0.5em;
    margin-bottom: 1em;
}
.page-template-search-staff .indexcard a {
    margin-bottom: 0;
}
#container .well {
    min-height: 130px;
}
#container .indexcard a:visited,
.indexcard a:link {
    color: #1d70b8;
    text-decoration: none;
    display: block;
    background: #f3f2f1 !important;
}
.indexcard a:hover {
    list-style: none;
    font-weight: 400;
    background: #dee0e2 !important;
    color: #333 !important;
}
#container .col-lg-4,
#container .col-md-4 {
    padding-right: 0;
}
#container .col-sm-6 {
    padding-right: 15px;
}
#container .indexcard-avatar {
    margin-right: 0.5em;
}
h3.contacthead {
    border-bottom: 1px solid #949494;
    margin-top: 0;
}
#sortfilter {
    min-height: 60px;
}
.bbp-user-edit table td.acf-input {
    width: 100%;
}
.bbp-user-edit table td.acf-input p.description {
    font-size: 14px !important;
    margin-top: 5px;
}
.bbp-user-edit table,
.bbp-user-edit table td,
.bbp-user-edit table tr {
    border: 1px solid #eee;
}
.bbp-user-edit .form-table .acf-label p.description {
    margin: 10px !important;
    color: #333 !important;
    font-size: 0.8em !important;
}
#bbpress-forums #bbp-your-profile fieldset input {
    width: auto !important;
}
#wpua-preview img,
#wpua-preview-existing img,
#wpua-thumbnail img,
#wpua-thumbnail-existing img {
    display: inline !important;
}
.page-template-page-staff-directory-masonry #gridcontainer img,
.single-team #gridcontainer img {
    height: 66px;
    width: 66px;
}
#bbp-user-avatar {
    margin-bottom: 1em;
}
#content li-bbp-header ul.forum-titles {
    margin-bottom: 0;
}
.single-team #sidebar .widget-box ul {
    padding-left: 0;
}
hr.team_lead_divider {
    margin: 0;
}
#bbpress-forums fieldset.bbp-form input[type="text"],
#bbpress-forums fieldset.bbp-form select {
    height: inherit;
}

.page-template-page-staff-directory-masonry #content #staff-search .dropdown-menu>li ul>li>a,
.page-template-page-staff-directory #content #staff-search .dropdown-menu>li ul>li>a,
.single-team #content .dropdown-menu>li ul>li>a {
	display:block;
	padding:3px 20px;
	clear:both;
	font-weight:400;
	color:#333;
	white-space:nowrap;
	margin-left:-1em;
}

.page-template-page-staff-directory-masonry #content #staff-search .dropdown-menu li a:focus, .page-template-page-staff-directory-masonry #content #staff-search .dropdown-menu li a:hover,
.page-template-page-staff-directory #content #staff-search .dropdown-menu li a:focus, .page-template-page-staff-directory #content #staff-search .dropdown-menu li a:hover,
.single-team #content .dropdown-menu li a:focus, .single-team #content .dropdown-menu li a:hover {
	color:#1d70b8;
	text-decoration:none;
	background:inherit;
}

.page-template-page-staff-directory-masonry #content #staff-search .dropdown-menu ul,
.page-template-page-staff-directory #content #staff-search .dropdown-menu ul,
.single-team #content .dropdown-menu ul {
	margin-bottom:0;
}

/* AVATAR OVERRIDES */

#bbp-user-avatar a img.avatar {
    width: 150px !important;
    height: 150px !important;
}
.search-results a.serps img.avatar {
    width: 100px !important;
    height: 100px !important;
    margin-right: 1em;
}
.indexcard a img.alignnone {
    margin: 5px 15px 20px 0;
}
