.ts-member-profile-header {
	position: relative;
	top: 30px;
	text-align: center;
	background-image: url('../img/NetworkingBG2.jpg');
	min-height: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #ffffff;
}

#masthead {
	top: 0;
}

body.admin-bar #masthead {
	top: 32px;
}

body.admin-bar .ts-member-profile-header {
	top: 65px;
}

#buddypress #member-primary-nav li {
	display: block;
}

#buddypress #member-primary-nav li a {
	padding: 6px 10px !important;
}

.bp-navs ul li.ts-custom-list-item {
	margin-top: 20px;
}

.bp-navs ul li.ts-custom-list-item:hover {
	background-color: transparent !important;
}

#buddypress.buddypress-wrap .bp-navs ul.bp-priority-object-nav-nav-items li.ts-custom-list-item a {
	background: #fff;
	border-color: #ccc;
	border-style: solid;
	border-width: 1px;
	border-radius: 0;
	color: #555;
	cursor: pointer;
	font-family: inherit;
	font-size: inherit;
	font-weight: 400;
	outline: 0;
	padding: .3em .5em;
	text-align: center;
	text-decoration: none;
	width: auto;
	line-height: 1;
	margin-bottom: 10px;
}

.bps-form-title {
	border: 1px solid #f7941d !important;
	background: #f7941d !important;
}

.item-meta-line {
	clear: both;
	font-size: 14px;
	margin-bottom: 0;
}

.item-meta-lines-wrap {
	margin-bottom: 20px;
}

@media (max-width: 991px) {
	.ts-member-profile-header {
		min-height: 150px;
	}
}

#item-body  input[type="submit"],
#item-body button,
.member-custom-search button,
#profile-group-edit-submit,
body .bp-button-red{
	background-color: #d3242a !important;
    color: #ffffff !important;
	padding: 5px 20px !important;
    border-radius: 12px !important;
    margin-left: -20px;

}
.member-custom-search button{
	margin-left: 0px;
	padding: 10px 20px !important;
	width: 100% !important;
}

#item-body .wp-cancel-pw {
	background-color: #FFFFFF !important;
    color: #d3242a !important;
}

.biographical-information .screen-heading.profile-group-title.edit{
	/* opacity: 0; !important; */
}
#item-body  input[type="submit"],
#item-body button,
#profile-group-edit-submit{
	margin-left: 0px;
	padding: 10px 20px !important;
}

#buddypress #member-primary-nav li.current.selected {
	border: 1px solid #d3242a;
    border-radius: 10px;
    width: 110px;
    text-align: center;
}

#buddypress #member-primary-nav li {
    margin-bottom: 10px;
}

#buddypress #member-primary-nav li a {
	color: #d3242a !important;
}

#buddypress #member-primary-nav li a {
    padding: 5px 0px !important;

}

#buddypress #member-primary-nav li.current.selected a {
    padding: 4px 0px 2px 0px !important;

}

.bp-wrap{
	border-top: 2px solid #f4f4f4  !important;
}

#item-body{
	padding-left: 0 !important;	
}

.buddypress-wrap .bp-subnavs {
	border-bottom: 1px solid #eeeeee !important;
}

.buddypress-wrap .tabbed-links ul {
	border-bottom: 0 !important;
}

body #member-secondary-nav{
	margin-bottom: 5px !important;
	margin-top: 5px !important;	
}

body #member-secondary-nav li {
	border: 0!important;
}

body #member-secondary-nav a {
	color:  #d3242a !important;
}

.buddypress-wrap .profile.public .profile-group-title {
    border-bottom: 0 !important;
	font-size: 24px !important;
    margin-bottom: 10px !important;
	margin-top: 5px !important;
}

.bp-widget.attendee-profile,
.bp-widget.biographical-information{
	background-color: #fafafa !important;
	padding: 20px !important;

}

.buddypress-wrap .profile {
	margin-top: 0px !important;
	max-width: 60% !important;
}

.buddypress-wrap .bp-navs.tabbed-links {
	margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.buddypress-wrap .bp-tables-user tbody tr{
	border-top: 1px solid #dadada !important;
}

.buddypress-wrap .bp-tables-user tbody tr td{
	border-right: 0 !important;
	background: none !important;
}

.buddypress-wrap .bp-tables-user tbody tr td.label{
	margin-top: 4px !important;
    display: block !important;
	padding-left: 0 !important;
	text-align: left !important;
}

.buddypress-wrap .bp-tables-user tbody tr td.data p,
.buddypress-wrap .bp-tables-user tbody tr td.data a{
	color: #d3242a !important;
}

#notifications-user-list,
#item-body form,
#item-body p,
#item-body ul li,
#item-body .bp-help-text,
#item-body .standard-form,
#item-body h2,
#item-body p.info,
.profile.change-cover-image,
.profile.edit,
.profile.change-avatar{
	padding-left: 20px !important;
}

#member-secondary-nav li{
	padding: 0 .5em 1px !important;
}

.bp-dir-vert-nav .dir-navs {
	width: 100% !important;
}

.member-custom-search{
	margin-top: 50px;
}

.member-custom-search .ui-accordion .ui-accordion-content {
	padding: 0px 10px 10px 0px !important;
}

#form_2644 .bps-radio{
	position: relative;
}

#field_474_wrap a{
	position: absolute;
    right: 0;
    top: 22px;
}

.member-custom-search .ui-accordion .ui-accordion-content select,
.member-custom-search .ui-accordion .ui-accordion-content input:not([type="radio"]):not([type="checkbox"]) {
	width: 100% !important;
}

.member-custom-search .ui-accordion .ui-accordion-header {
	display: none;
}

.member-custom-search .ui-widget-content {
	border: none !important;
	border-right: 1px solid #ddd !important;
}

.bp-dir-vert-nav .screen-content {
	border: none !important;
}	

.member-custom-search .bp-dir-vert-nav .dir-navs {
	margin-bottom: 0 !important;
}

.member-custom-search select:not([multiple]) {
	height: 30px !important;
}

.subnav-filters .subnav-search{
	width: 75% !important;
}

.subnav-filters .subnav-search .dir-search.members-search.bp-search{
	width: 100% !important;
}

.subnav-filters .subnav-search .dashicons-search:before {
	color: white;
}

.buddypress-wrap form.bp-dir-search-form button[type=submit]{
    width: 37px !important;
    background-color: #c52128 !important;
    height: 38px !important;
	padding: 4px 0px !important;
}

.header-top-icons a{
	text-decoration: none;
}

#dir-members-search::placeholder {
	font-weight: bold;
  }

#notifications-personal-li{
	width: 120px !important;
}

.buddypress.bp-user .entry-title{
	display: none;
}


.buddypress.bp-user #buddypress{
	margin-top: -77px;
}

#members-custom-search{
	float: left;
	width: 20%;
}

.buddypress-wrap .bp-personal-tab:hover {
    background: none !important;
	font-weight: bold;
}

#bp_better_messages_tab-personal-li.bp-personal-tab.current.selected{
	width: 100px !important;
}


#buddypress .bp-messages-wrap .chat-header {
	background-color: #f6941b;
}

.subnav-filters.filters.no-ajax .subnav-search{
	width: 100% !important;
	margin-bottom: 20px;
}


.members.buddypress #members-order-select,
.members.buddypress #dir-filters{
	width: 100% !important;
}


.members.buddypress #members-order-select .select-wrap{
	position: relative;
}

.members.buddypress #members-order-select .select-arrow{
	position: absolute;
	right: 10px;
	top: 10px;
}

#members-order-by {
	max-width: 100% !important;
	width: 100%;
}

.my-profile-link a{
	display: block;
	border: 1px solid #d3242a;
	border-radius: 10px !important;
    width: auto;
    text-align: center;
    margin-top: 25px;
    padding: 5px 5px;
	color: #d3242a !important;
}

.members.buddypress.directory .entry-header{
	border-top: 60px solid #d3242a;
}


@media (max-width: 991px) {
	.buddypress-wrap .profile {
		max-width: 100% !important;
	}

	#members-custom-search{
		width: 100%;
	}

	.bp-dir-vert-nav .screen-content {
        margin-left: 0%;
		padding-left: 0%;
	}

	.member-custom-search .ui-widget-content {
		border-right: none !important;
	}

	.member-custom-search .ui-accordion .ui-accordion-content {
		padding: 0px 0px 0px 0px !important;
	}

	.member-custom-search {
		margin-top: 20px;
	}

	.chat-footer{
		background-color: #f6941b !important;
	}
	
}

@media (max-width: 768px) {
	#subnav-filters .subnav-search{
		width: 100% !important;
	}

	.buddypress-wrap form.bp-dir-search-form button[type=submit] {
		width: 38px !important;
	}

	form.bp-dir-search-form input[type=search]{
		width: 88% !important;
	}

	.buddypress-wrap .select-wrap select {
		width: 100%;
	}

	.buddypress-wrap .profile {
		max-width: 100% !important;
	}

	.buddypress-wrap .subnav-filters div {
		margin-bottom: 15px;
	}

	.item-meta-lines-wrap{
		text-align: center;
	}
	
	#user_switching_switch_to{
		display: none;
	}

	#buddypress #member-primary-nav li {
		display: inline-block;
	}

	.buddypress-wrap .bp-subnavs,
	.buddypress-wrap .single-screen-navs {
        text-align: center;
    }
	.buddypress-wrap .single-screen-navs li,
	.buddypress-wrap .single-screen-navs,
	.bp-wrap {
		border: none !important;
	}

	#buddypress #member-primary-nav li a {
		padding: 6px 10px !important;
	}

	#buddypress #member-primary-nav li.current.selected a {
		border: 1px solid #d3242a;
		border-radius: 10px;
		text-align: center;
		background-color: white !important;
		padding: 6px 10px !important;

	}

	.buddypress-wrap .tabbed-links ul#member-primary-nav {
		border-bottom: 1px solid #E3E3E0 !important;
	}

	.buddypress-wrap .item-body {
		margin: -20px 0;
	}

	.buddypress-wrap .bp-subnavs li.selected a{
		background-color: white !important;
	}

	#notifications-user-list{
		padding-left: 0 !important;
	}


}


@media (max-width: 600px) {
	
	#page-content {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	#buddypress #member-primary-nav li.current.selected {
		width: 65px;
	}

	.bp-navs ul li a{
		padding: 5px 5px;
	}

	#item-body ul li{
		padding: 0 !important;
	}
}