/*--------------------------------------------------------------------------------------

General

--------------------------------------------------------------------------------------*/

/*--------------------------------------------------------------
Misc
--------------------------------------------------------------*/

.buddypress #gp-content {
margin-top: 0 !important;
padding: 0 !important;
}
#buddypress #item-header,
#buddypress #item-nav,
#buddypress .item-list-tabs:not(#subnav) {
display: none;
}
#buddypress form#whats-new-form #whats-new-options select,
#buddypress div.item-list-tabs ul li.last select {
border: 0;
padding-top: 0;
padding-bottom: 0;
}
#buddypress div.pagination .pag-count {
margin-left: 0;
}
#buddypress div.pagination .pagination-links a, 
#buddypress div.pagination .pagination-links span {
font-size: 16px;
}
#gp-buddypress-column-left {
float: left;
width: 30%;
margin-right: 4%
}
#gp-buddypress-column-right {
float: left;
width: 66%;
}
#buddypress table {
margin: 20px 0;
}

/*--------------------------------------------------------------
Buttons
--------------------------------------------------------------*/

#buddypress .comment-reply-link, 
#buddypress .generic-button a, 
#buddypress a.button, 
#buddypress button, 
#buddypress input[type=button], 
#buddypress input[type=reset], 
#buddypress input[type=submit], 
#buddypress ul.button-nav li a, 
a.bp-title-button {
padding: 15px 18px 11px;
border: 0;
}
@-moz-document url-prefix() { /* FireFox fix */
#buddypress .comment-reply-link, 
#buddypress .generic-button a, 
#buddypress a.button, 
#buddypress button, 
#buddypress input[type=button], 
#buddypress input[type=reset], 
#buddypress input[type=submit], 
#buddypress ul.button-nav li a, 
a.bp-title-button {
padding-bottom: 12px;
}
}
#buddypress .comment-reply-link:hover, 
#buddypress a.button:focus, 
#buddypress a.button:hover, 
#buddypress button:hover, 
#buddypress div.generic-button a:hover, 
#buddypress input[type=button]:hover, 
#buddypress input[type=reset]:hover, 
#buddypress input[type=submit]:hover, 
#buddypress ul.button-nav li a:hover, 
#buddypress ul.button-nav li.current a {
border: 0;
}
#buddypress .small a.button,
#buddypress .action a.button,
#buddypress .action .generic-button a {
padding: 3px 6px 0 6px;
}
#buddypress a.button:focus {
color: #000 !important;
}


/*--------------------------------------------------------------------------------------

BuddyPress Header

--------------------------------------------------------------------------------------*/

/*--------------------------------------------------------------
General
--------------------------------------------------------------*/

#gp-buddypress-header .gp-page-header {
z-index: 2;
background-position: center top;
background-repeat: no-repeat;
background-size: cover;
}
#gp-buddypress-header .gp-page-header .gp-container {
height: 225px;
padding-bottom: 0 !important;
}
#gp-buddypress-header #item-header-avatar {
position: absolute;
bottom: -50px;
left: 30px;
}
#gp-buddypress-header #item-header-avatar .avatar {
border-radius: 100%;
border: 5px solid #fff;
}

/*--------------------------------------------------------------
Main Item Tabs
--------------------------------------------------------------*/

#gp-buddypress-header div.item-list-tabs#object-nav ul {
margin: 0;
}
#gp-buddypress-header div.item-list-tabs ul li  {
float: left;
margin: 0;
list-style: none;
}
#gp-buddypress-header div.item-list-tabs ul li a, 
#gp-buddypress-header div.item-list-tabs ul li span {
display: block;
line-height: 1;
text-decoration: none;
}
#gp-buddypress-header div.item-list-tabs ul li a span {
border-radius: 4px;
display: inline-block;
margin-left: 2px;
padding: 2px 4px;
text-align: center;
font-size: 12px;
vertical-align: middle;
}
#gp-buddypress-header #object-nav {
z-index: 1;
clear: both;
overflow: hidden;
position: relative;
padding: 10px 0; 
}
#gp-buddypress-header #object-nav:not(.gp-container) {
width: 100%;
}
.bp-user #gp-buddypress-header div.item-list-tabs#object-nav ul,
.single-item.groups #gp-buddypress-header div.item-list-tabs#object-nav ul {
margin: 0 0 0 210px;
}
#gp-buddypress-header div.item-list-tabs#object-nav ul li a,
#gp-buddypress-header div.item-list-tabs#object-nav ul li > span  {
padding: 10px 15px;
font-size: 16px;
font-weight: 600;
}

/*--------------------------------------------------------------
Sub Nav Item Tabs
--------------------------------------------------------------*/

#buddypress div.item-list-tabs#subnav {
margin: 0 0 20px 0;
}
#buddypress div.item-list-tabs#subnav ul li.current a, 
#buddypress div.item-list-tabs#subnav ul li.selected a {
background: none;
opacity: 1;
font-weight: 500;
}
#buddypress div.dir-search {
float: left;
margin: 0 0 20px 0;
}
#buddypress div.dir-search form input[type=text], 
#buddypress div.message-search form input[type=text], 
#buddypress li.groups-members-search form input[type=text] {
float: left;
padding: 8px;
border-width: 2px;
border-right: 0;
font-size: 15px;
background: none;
}


/*--------------------------------------------------------------------------------------

Activity

--------------------------------------------------------------------------------------*/

/*--------------------------------------------------------------
What's New Box
--------------------------------------------------------------*/

#buddypress form#whats-new-form p.activity-greeting {
line-height: 22px;
}
#whats-new-post-in-box {
font-size: 14px;
}

/*--------------------------------------------------------------
Avatars
--------------------------------------------------------------*/

#buddypress #activity-stream li .activity-avatar {
float: left;
margin-right: 20px;
}
#buddypress #activity-stream li .activity-avatar a img.avatar {
display: inline;
float: none;
height: 60px;
margin-bottom: 20px;
margin-left: 0;
width: 60px;
}
#buddypress #activity-stream li.mini .activity-avatar a img.avatar {
height: 30px; 
margin-left: 15px;
width: 30px;
}

/*--------------------------------------------------------------
Activity Headers
--------------------------------------------------------------*/

#buddypress .activity-list .activity-content .activity-header img.avatar {
margin: 0 5px -4px 0 !important;
}
#buddypress #activity-stream li .activity-content {
margin: 0;
overflow: hidden;
}
#buddypress #activity-stream .activity-header p {
font-size: 14px;
line-height: 1;
font-weight: 500;
}

/*--------------------------------------------------------------
Meta
--------------------------------------------------------------*/

#buddypress div.activity-meta {
margin-top: 0;
}
#buddypress div.activity-meta a,
#buddypress #reply-title small a, 
#buddypress a.bp-primary-action,
#buddypress a.bp-secondary-action {
background: none !important;
padding: 0;
font-size: 12px;
text-transform: uppercase;
}
#buddypress div.activity-meta a:hover,
#buddypress #reply-title small a:hover, 
#buddypress a.bp-primary-action:hover,
#buddypress a.bp-secondary-action:hover {
text-decoration: underline;
}
#buddypress #reply-title small a span, 
#buddypress a.bp-primary-action span {
display: inline-block;
border-radius: 4px;
padding: 1px 4px;
}
#buddypress .activity-list .activity-content .activity-inner, 
#buddypress .activity-list .activity-content blockquote {
margin-top: 0;
}

/*--------------------------------------------------------------
Replies
--------------------------------------------------------------*/

#buddypress #activity-stream .activity-comments ul {
background: rgba(247,247,247,.6);
margin: 15px 0 0 20px;
}
#buddypress #activity-stream .activity-comments ul p {
line-height: 20px;
}

/*--------------------------------------------------------------
Load more button
--------------------------------------------------------------*/

#buddypress .activity-list li.load-more, 
#buddypress .activity-list li.load-newest {
padding: 0;
}
#buddypress .activity-list li.load-more a, 
#buddypress .activity-list li.load-newest a {
display: block;
cursor: pointer;
padding: 13px 15px;
cursor: pointer;
}

    
 /*--------------------------------------------------------------------------------------

Profile

--------------------------------------------------------------------------------------*/

#buddypress div.profile h2 {
font-size: 20px;
line-height: 28px;
}
.gp-username {
font-size: 36px;
line-height: 1;
font-weight: 700;
margin: 0 0 5px 0;
}
.user-nicename {
margin-top: 0;
font-size: 18px;
line-height: 1;
font-weight: 700;
opacity: 0.4;
}
.bp-user #buddypress .profile .bp-widget h4 {
background: #333;
color: #fff;
padding: 10px;
}
.bp-user #buddypress .profile .bp-widget table {
border: 1px solid #eee;
margin-top: 0;
}
.bp-user #buddypress table td {
font-size: 16px;
}
#button-nav {
margin-left: 0;
}
#buddypress #profile-edit-form ul.button-nav {
margin: 15px 0 0 0;
}
#buddypress #profile-edit-form ul.button-nav a {
padding: 0 10px;
}

/*--------------------------------------------------------------------------------------

Groups

--------------------------------------------------------------------------------------*/

#buddypress ul.item-list li .item {
left: 3%;
margin-left: 0;
position: relative;
width: 80%;
}
#buddypress ul.item-list li div.item-title {
width: 94%;
margin-left: 60px;
font-size: 22px;
line-height: 32px;
}
#buddypress ul.item-list li div.item-meta {
margin-left: 60px;
line-height: 1;
}
#buddypress ul.item-list li .item span.activity, 
#buddypress ul.item-list li div.action .meta {
line-height: 1;
font-style: italic;
}
#buddypress ul.item-list li .item .item-desc {
width: 94%;
}


/*--------------------------------------------------------------------------------------

Single Group

--------------------------------------------------------------------------------------*/

/*--------------------------------------------------------------
General
--------------------------------------------------------------*/

#buddypress ul.item-list li .item .item-title .update {
display: block;
font-size: 14px;
line-height: 20px;
}
.gp-group-name {
font-size: 36px;
line-height: 1;
font-weight: 700;
margin: 0 0 15px 0;
}
#gp-buddypress-column-left #item-buttons {
margin-bottom: 15px;
}
#gp-buddypress-column-left ul {
margin: 0;
}
#gp-buddypress-column-left ul li {
list-style: none;
}
#gp-buddypress-column-left #item-meta p {
margin: 15px 0 30px;
}
#gp-buddypress-column-left #item-actions h4 {
margin-bottom: 5px;
}
#gp-buddypress-column-left ul img.avatar, 
#gp-buddypress-column-left ul.avatars img.avatar {
height: 30px;
width: 30px;
margin: 2px;
}
#buddypress ul.item-list li h5 {
clear: none;
margin: 6px 0 0 0;
}
#buddypress ul.item-list li h5 span.small {
float: left;
overflow: hidden;
clear: both;
margin-top: 10px;
width: 100%;
}
#buddypress #item-header-content #item-buttons a {
display: inline-block;
}

/*--------------------------------------------------------------
Group forums
--------------------------------------------------------------*/
	
#item-body #bbpress-forums h3 {
margin: 0;
}


/*--------------------------------------------------------------------------------------

Messages

--------------------------------------------------------------------------------------*/

.bp-user #buddypress #message-threads tr .thread-from img {
float: left;
margin-right: 10px;
}
.bp-user #buddypress #message-threads tr span.from {
display: none;
}
#buddypress .standard-form li {
float: none;
}


/*--------------------------------------------------------------------------------------

Widgets

--------------------------------------------------------------------------------------*/

/*--------------------------------------------------------------
BuddyPress Groups/Members/Friends Widgets
--------------------------------------------------------------*/

/* List items ************************************/

.gp-theme .widget.buddypress #friends-list li,
.gp-theme .widget.buddypress #groups-list li,
.gp-theme .widget.buddypress #members-list li {
margin: 0 0 10px;
padding: 0 0 10px 0;
border-top-width: 0 !important;
}
.gp-theme .widget.buddypress #friends-list li:last-child,
.gp-theme .widget.buddypress #groups-list li:last-child,
.gp-theme .widget.buddypress #members-list li:last-child {
margin: 0;
padding: 0;
border: 0;
}

/* Item Options ************************************/

.gp-theme .widget.buddypress div.item-options {
margin: 0 0 20px -10px;
padding: 0;
line-height: 1;
}
.gp-theme .widget.buddypress div.item-options a {
font-size: 12px;
text-transform: uppercase;
padding: 0 10px;
}
.gp-theme .widget.buddypress div.item-options a:hover {
text-decoration: underline;
}
.gp-theme .widget.buddypress div.item-options .bp-separator {
display: none;
}

/* Item headers ************************************/

.gp-theme .widget.buddypress .item-title {
font-weight: 500;
font-size: 14px;
line-height: 19px;
}
.gp-theme .widget.buddypress .item-title a:hover {
text-decoration: underline;
}

/* Item Avatars ************************************/

.gp-theme .widget.buddypress ul.item-list img.avatar {
margin: 0 20px 0 0;
width: 48px;
height: 48px;
}

/* Item Content ************************************/

.gp-theme .widget.buddypress div.item {
margin-bottom: 0;
}

/* Item meta ************************************/

.gp-theme .widget.buddypress div.item-meta {
line-height: 1;
opacity: 1;
margin-top: 2.5px;
margin-left: 68px;
}


/*--------------------------------------------------------------------------------------

Registration

--------------------------------------------------------------------------------------*/

#buddypress div.register-section h2 {
font-size: 20px;
line-height: 28px;
}


/*--------------------------------------------------------------------------------------

Media Queries

--------------------------------------------------------------------------------------*/

/*--------------------------------------------------------------
Tablet (landscape)
--------------------------------------------------------------*/
		
@media only screen and (max-width: 1082px) {

}


/*--------------------------------------------------------------
Tablet (portrait)
--------------------------------------------------------------*/
		
@media only screen and (max-width: 1023px) {

	#gp-buddypress-column-left {
	width: 100%;
	margin-right: 0;
	margin-bottom: 30px;
	}
	#gp-buddypress-column-right {
	width: 100%;
	}
    
}

/*--------------------------------------------------------------
Mobile (landscape)
--------------------------------------------------------------*/
		
@media only screen and (max-width: 767px) {

	#gp-buddypress-header #item-header-avatar {
	bottom: 0;
	}
	#gp-buddypress-header #item-header-avatar .avatar {
	border-radius: 100%;
	border: 3px solid #fff;
	width: 100px;
	}
	.bp-user #gp-buddypress-header div.item-list-tabs#object-nav ul,
	.single-item.groups #gp-buddypress-header div.item-list-tabs#object-nav ul {
	margin: 0;
	}
	#gp-buddypress-header div.item-list-tabs#object-nav ul li a {
    padding: 10px 10px;
    }
	#buddypress ul.item-list li div.action {
    clear: left;
    float: none;
    margin: 0
    padding: 20px 0 5px;
    position: relative;
    text-align: left;
    top: 0;
    text-align: right;
    }
	#buddypress ul.item-list li div.action div {
	display: inline-block;
	margin: 10px 0 0 0;
	width: 100%;
	}
	#buddypress .activity-list .activity-content .activity-inner iframe {
	height: auto;
	}
  
}

/*--------------------------------------------------------------
Mobile (portrait)
--------------------------------------------------------------*/
		
@media only screen and (max-width: 567px) {

	#whats-new-post-in-box {
	width: 100%;
	overflow: hidden;
	clear: both;
	}
	#buddypress div.activity-comments {
	margin-left: 0;
	}   
	#buddypress .standard-form #basic-details-section, 
	#buddypress .standard-form #blog-details-section, 
	#buddypress .standard-form #profile-details-section {
	width: 100%;
	}

}

/*--------------------------------------------------------------
Mobile (BuddyPress breakpoint)
--------------------------------------------------------------*/
		
@media only screen and (max-width: 480px) {

	#buddypress div.dir-search input[type=text] {
	margin-bottom: 0;
	width: 200px;
	}

}