/** base CSS for BuddyPress 1.5 */

#header .widget {
	border: none;
}

.internal-page .item-list-tabs {
	margin: 0px auto;
}

.internal-page .item-list-tabs ul {
	margin: 0px;
}

.directory .item-list-tabs ul,
.directory ul.item-list,
.internal-page #content ul {
	list-style-type: none;
	padding: 0px;
}

.directory .item-list-tabs ul li,
.internal-page #content ul li {
	display:inline;
	float:left;
	position:relative;
}

.directory .item-list-tabs ul li.last,
.internal-page #content ul li.last {
	float:right;
}

.internal-page #object-nav ul li.current,
.internal-page #bpsubnav ul li.current {
	background: #fff;
}

.internal-page #object-nav ul li a,
.internal-page #bpsubnav ul li a {
	display: block;
}

.directory .item-list-tabs ul li a,
.internal-page #content ul li a {
	padding: 6px 10px 5px;
	display: block;
}

#inner .bp-content-top .wrap {
	width: 100%;
}

.internal-page #content .padder,
.widget .padder { 
	padding: 15px;
}

.internal-page #content ul li p a,
.internal-page #content ul li .activity-meta a,
.internal-page #content ul li .activity-inner a {
	display: inline;
}

.internal-page #content .item-list li { 
	width: 100%; 
}

.internal-page #item-nav #user-nav ul li.current { 
	background: #fff; 
}

.internal-page #item-header { 
	width: 100%; 
}

.internal-page #item-header h2 {
	clear: none; 
	font-size: 1em;
}

.internal-page #item-header h2 a { 
	font-size: 2em; 
}
.internal-page #item-header img.avatar {
	float: left;
	margin: 0px 15px 15px 0px;
	height: 100px;
	width: 100px;
}

.internal-page #item-header span.activity,
.internal-page .item-meta span.activity {
	margin-left: 4px;
	font-size: 1em;
	padding: 3px 5px;
	vertical-align: top;
}

.internal-page #item-header ul li { 
	float: right; 
}

.internal-page #item-header ul li img.avatar {
	margin: 2px;
	float: right;
	height: 50px;
	width: 50px;
}

.internal-page #item-buttons a,
.directory #item-buttons a {
	padding: 0 3px;
}

/* Main column within the #content div */
.internal-page #item-body { 
	clear: left; 
}

.internal-page #item-body h5 {
	font-size: 1em;
	margin: 5px 0px;
}

.internal-page #bpsubnav, 
#create-group-form {
	font-size: 1em;
	margin: 5px 0px;
}

.internal-page #item-body .item-list-tabs ul li.last,
.internal-page #item-body div.action {
	float: right; 
}

.internal-page #item-body .radio ul { 
	margin-bottom: 1.5em; 
}
.internal-page #content #item-body .radio ul li,
.internal-page #content .item-body .radio ul li,
.internal-page #content #item-body .radio label,
.internal-page #content .item-body .radio label {
	clear: left;
	float: none;
	display: block;
}

.internal-page .acomment-meta { 
	display: block; 
}

/* what's new form */
#whats-new-form {
	clear: both;
	padding: 1px;
	margin-bottom: 15px;
}

#whats-new-form h5,
#sidebar-me h3 {
	clear: none;
}

.internal-page #whats-new-avatar, 
.directory #whats-new-avatar {
    float: left;
    margin: 0px 10px 10px 0px;
}

.internal-page textarea#whats-new, 
.internal-page textarea#ac-input-2, 
.directory textarea#whats-new {
	height: 6em;
	width: 100%;
}

.internal-page #whats-new-submit, 
.directory #whats-new-submit { 
	float: right; 
	margin-top: 5px; 
}

.internal-page #whats-new-content, 
.directory #whats-new-content { 
	margin-left: 76px; 
}

/* item list tabs */
.internal-page .item-list-tabs ul { 
	list-style-type: none; 
}

.internal-page .item-list-tabs ul li {
	float: left;
}

.internal-page .item-list-tabs ul li.last { 
	margin: 4px 5px 4px 0;
}

.internal-page .activity {
	clear: both;
	padding-top: 1px;
}

.internal-page .activity-comments { 
	width: 100%; 
}
.internal-page #content .activity ul li a {
		padding: 4px 8px;
		display: inline;
}

.internal-page #content .activity ul li .acomment-avatar a { 
	padding: 0px; 
}

.internal-page #content .activity ul li .activity-content { 
	margin-left: 80px;
	float: none;
}

.internal-page #content .activity ul li .activity-content p { 
	line-height: 2.2em; 
}

/* BuddyPress Directories */
.dir-form h2 { 
	width: 300px; 
}

.dir-search {
	float: right;
	margin-top: -2em;
}

.dir-list {
	clear: left;
	margin-top: 10px;
}

.internal-page ul#blogs-list li div.meta {
	margin-top: -10px;
	font-size: .9em;
}

.internal-page ul#blogs-list .action .meta a {
	display: inline-block;
}

/* create groups/forums */
#content #group-create-tabs ul li span {
        display: block;
        padding: 6px 10px 5px;
}

#forum-topic-form .submit, #forum-topic-form select#topic_group_id {
	margin: 10px;
	float: left;
}

/* widgets */
#content .bp-content-top .widget {
	padding-bottom: 10px;
	margin-bottom: 15px;
}

#content .bp-content-top .widget h4 {
	padding: 5px 5px 5px 10px;
}

#content .bp-content-top .widget ul,
#content .bp-content-top .widget ol {
	list-style-type: square;
	margin: 10px 0 0;
	padding: 0 10px 0 25px;
}

#content .bp-content-top .widget ul li {
	display: inline-block;
	float: none;
}

#content .bp-content-top .widget ul li a {
	display: inline;
	padding: 0px;
}

.widget ul#members-list,
.widget ul#groups-list {
	list-style-type: none;
	padding: 0px 5px 20px;
}

.widget ul.item-list li {
	border-bottom: none;
	padding-top: 5px;
	clear: left;
}

.widget ul.item-list li .item { 
	clear: none;
}

.widget .item-avatar img.avatar {
	float: left;
	border: none;
	padding: 3px;
}

.widget .avatar-block {
	overflow: auto;
}

div.bp-widget {
        margin-bottom: 20px;
        padding: 15px;
}

div.bp-widget h4 {
	padding: 5px 5px 5px 12px;
	font-size: 1em;
	font-weight: bold;
	margin: -14px -14px 15px -14px;
}

div.bp-widget h4 span { 
	float: right; 
}

#content .bp-widget ul li h5 a { 
	display: inline; 
}
		
/* Horizonal listing of content, for example random friends or groups on the profile page */
ul.horiz-gallery {
	list-style: none;
	overflow: auto;
	width: 100%;
	margin: 0;
	padding: 0;
}

ul.horiz-gallery li {
	float: left;
	padding-right: 25px;
	text-align: center;
}

ul.horiz-gallery li h5 { 
	font-size: 1em; 
}

/* All buttons contain this class */
div.generic-button { 
	display: inline-block;
	margin-bottom: 10px;
}

/* All pagination is contained within a div.pagination */
div.pagination {
	overflow: auto;
	width: 100%;
	padding-bottom: 20px;
}

/* div.pagination-links holds the actual numbered page links */
div.pagination div.pagination-links {
	float: right;
}

div.pagination div.pagination-links a {
	padding: 3px 5px;
}

/* Pagination status text - "Viewing X to X of X" */
div.pagination div.pag-count {
	float: left;
}

div#item-header div#item-actions {
	float: right;
	width: 20%;
	margin: 0 0 15px 15px;
	text-align: right;
}

div#item-header ul h5, 
div#item-header ul span, 
div#item-header ul hr {
	display: none; 
}

ul.item-list { 
	width: 100%; 
}

ul.item-list li {
	position: relative;
	padding: 15px 0;
	width:96%;
}

ul.single-line li { 
	border: none; 
}

body.activity-permalink ul.item-list li { 
	padding-top: 0; 
}

ul.item-list li img.avatar {
	float: left;
	margin: 0 10px 10px 0;
}

ul.item-list li div.item-title, 
ul.item-list li h4 {
	font-weight: normal;
	font-size: 1.2em;
	width: 75%;
	margin: 0;
}

ul.item-list li div.item-title span {
	font-size: 1em;
}

ul.item-list li div.item-desc {
	margin: 10px 0px 0px;
	font-size: .9em;
}

ul.item-list li div.action {
	position: absolute;
	top: 15px;
	right: 0;
	text-align: right;
}

ul.item-list li div.meta {
	margin-top: 10px;
	font-size: .9em;
}

ul.item-list li h5 span.small {
	font-weight: normal;
	font-size: .9em;
}

/* All avatar images have this class */
img.avatar { 
	border: 3px solid #ddd;
}

/* #message -- This is used for all error/success message feedback */
div#message p {
	padding: 10px;
	background: #d3ffc9;
	border: 1px solid #90dc7e;
}

/* #message.error -- When there is an error, there is a .error class appended */
div#message.error p {
	border-color: #dc7e7e;
	background: #ffc9c9;
}

/* #message.info -- Help text or an information box has a .info class appended */
div#message.info p {
	background: none repeat scroll 0%;
	border:1px solid #E6E6E6;
}

/* .standard-form -- Most forms contain this class */
form.standard-form label {
	display: block;
	font-weight: bold;
	margin: 10px 0 5px 0;
}

form.standard-form input[type=text] {
	width: 95%;
}

form.standard-form textarea {
	width: 95%;
}

/* #invite-list -- Lists of friends with checkboxes always carry this ID */
div#invite-list {
	padding: 5px;
}

div#invite-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

div#invite-list input { 
	width: auto; 
}

/* .ajax-loader -- All ajax loading indicators carry this class */
.ajax-loader {
	background: url( ../images/ajax-loader.gif ) center left no-repeat;
	padding: 8px;
	display: none;
}

/* Widget styling */
#sidebar img,
#sidebar a img,
#sidebar-alt img,
#sidebar-alt a img {
	padding:5px;
}

li.widget .padder { 
	padding-bottom: 10px; 
}

/* sidebar-me is the login/user widget */ 
#sidebar-me { 
	margin: 0; 
	padding: 0; 
}
#sidebar-me img.avatar { 
	float: left; 
	margin: 0px 15px 15px 0px; 
}

#sidebar-me h3 { 
	font-size: 1.5em; margin: 0px 0px 10px; 
}

#sidebar-me a.button,
.activity-list div.activity-meta a,
.activity-list .activity-content a {
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	padding: 3px 10px;
}

.activity-list .activity-content span a { 
	border: none; 
	background: none; 
}

div.activity-meta, 
div.activity-comments {
	margin: 10px 0 10px 3px;
	clear: left;
}

div.acomment-content .comment-header { 
	display:none; 
}

.internal-page div.activity-comments { 
	width:auto;
	margin:0 0 0 75px;
	overflow:hidden;
	position:relative;
}

.activity-list .activity-avatar img {
	height:60px;
	width:60px;
}

div.activity-comments ul li { 
	border:medium none; 
}

div.activity-comments ul li ul {
	margin-left:25px;
	margin-top:5px;
}

/***********************************************************************************
 * Component specific styles 
 */

/*** Activity Streams ****************/

ul#activity-list, 
ul#activity-filter-links {
	list-style: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	width: 100%;
}

ul#activity-list li blockquote {
	padding: 10px;
	margin: 0px 0 25px 10px;
}

ul#activity-list li blockquote p {
	margin: 0;
}

ul#activity-list span.time-since {
	font-size: 0.9em;
	color: #888;
}

ul#activity-filter-links {
	margin-bottom: 20px;
}

ul#activity-filter-links li {
	float: left;
	margin-right: 10px;
}

ul#activity-filter-links li a {
	padding: 3px 8px;
	display: block;
}

div.activity-comments form div.ac-reply-avatar { 
	float:left; 
}

div.activity-comments form div.ac-reply-content { 
	margin-left: 40px; 
}

div.activity-comments form textarea {
	height:15em;
	padding:0;
	width:98%;
}

/*** Profiles ****************/
div#profile-name h1, 
#group-name h1 {
	font-size: 3em;
	margin: 10px 0 25px 0;
	font-family: Georgia, times, serif;
}

/* Profile Field Display */
table.profile-fields { 
	width: 100%;
}

table.profile-fields td {
	vertical-align: middle;
	padding-left: 10px;
}

table.profile-fields td p {
	margin: 10px 0 10px;
}	

table.profile-fields td.label {
	width: 20%;
	font-weight: bold;
}

/* Profile Field Edit */
div.editfield label { 
	display: block;
	font-weight: bold;
}

div.editfield input, 
div.editfield textarea {
	width: 60%;
}

div.checkbox input, 
div.radio input { 
	width: auto; 
}
div.checkbox label, 
div.radio label { 
	display: inline; 
	font-weight: normal;
}

span.label {
	display: block;
	font-weight: bold;
}

/* Profile Change Avatar */
#avatar-upload-form p { 
	margin-top: 20px; 
}

/*** Messages ****************/
table#message-threads {
	width: 100%;
}

table#message-threads td {
	vertical-align: middle;
	padding: 10px;
}

/* View Thread Screen */

/* .message-box -- holds each message in a thread */
div.message-box {
	padding: 15px;
	overflow: hidden;
	width: 100%;
}

div.message-box .message-metadata {
	float: left;
	width: 100px;
}

div.message-box .message-metadata .avatar {
	width: 30px;
	margin-bottom: 10px;
}

div.message-box .message-metadata h3 {
	font-size: 1.1em;
}

div.message-box .message-content {
	margin-left: 130px;
}

/* Settings */
.settings #content .padder input {
	margin-bottom: 5px;
}
/*** Registration / Activation ****************/

.register-section {
	margin: 0 0 30px 0;
}

.register-section .checkbox input,
.register-section .radio input { 
	width: auto; 
}

#basic-details-section input[type=password] { 
	width: 25%; 
}

#blog-details-section input#signup_blog_url { 
	width: 20%; 
}

.register-section span.label {
	margin-top: 20px;
}

.register-section div.error {
	border: 1px solid #dc7e7e;
	background: #ffc9c9;
	padding: 5px;
	width: 35%;
	margin: 5px 0 10px 0;
}
	
/*** Forums *************************************/
table.forum {
	width: 100%;
}

table.forum td { 
	text-align: center; 
}

table.forum tr.sticky td {
	font-size: 1.2em;
}

table.forum tr.closed td.td-title {
	background-image: url( ../images/closed.png );
	background-position: 15px 50%;
	background-repeat: no-repeat;
	padding-left: 35px;
}

table.forum td p.topic-text {
	color: #888;
	font-size: 13px;
}

table.forum tr > td:first-child,
table.forum tr > th:first-child {
	padding-left: 15px;
}

table.forum tr > td:last-child,
table.forum tr > th:last-child {
	padding-right: 15px;
}

table.forum tr th#th-title,
table.forum tr th#th-poster,
table.forum tr th#th-group,
table.forum td.td-poster,
table.forum td.td-group,
table.forum td.td-title {
	text-align: left;
}

table.forum tr td.td-title a.topic-title {
	font-size: 1.2em;
}

table.forum td.td-freshness {
	white-space: nowrap;
}

table.forum td.td-freshness span.time-since {
	font-size: 0.9em;
	color: #888;
}

table.forum td img.avatar {
	float: none;
	margin: 0 5px -8px 0;
}

table.forum td.td-poster,
table.forum td.td-group {
	min-width: 140px;
}

table.forum th#th-title {
	width: 80%;
}

table.forum th#th-freshness {
	width: 25%;
}

table.forum th#th-postcount {
	width: 15%;
}
table.forum p.topic-meta {
	font-size: 0.9em;
	margin: 5px 0 0 0;
}

.forum #content .padder ul#topic-post-list li .poster-meta a {
	display: inline-block;
}

ul#forum-topic-list li {
	position: relative;
	min-height: 0;
	padding-bottom: 0;
	overflow: hidden;
	width: 100%;
}

ul#topic-post-list li .admin-links a {
	display: inline;
}

ul#forum-topic-list li.closed a.topic-title {
	background: url( ../images/closed.png ) no-repeat center left;
	padding: 0 0 0 20px;
}

ul#forum-topic-list li span.latest { 
	display: block;
	margin-left: 50px;
}

ul#forum-topic-list li div.admin-links, 
ul#topic-post-list li div.admin-links {
	position: absolute;
	top: 1em;
	right: 1em;
	display: none;
	padding: 0.1em 0.5em;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	margin-left: 50px;
	margin-bottom: 15px;
	font-size: 11px;
}

ul#forum-topic-list li:hover div.admin-links, 
ul#topic-post-list:hover li div.admin-links { 
	display: inline-block; 
}

ul#topic-post-list li .poster-meta .avatar {
	float: none;
	margin: 0 0.3em 0 0;
	vertical-align: middle;
}

ul#topic-post-list .post-content {
	margin: 1em 0 0 14px;
	padding-left: 22px;
}

ul#topic-post-list li#topic-meta h3 {
	margin: 5px 0 0 0;
	font-size: 20px;
}
	
ul#topic-post-list li input#submit_reply, 
input#submit_topic {
	width: auto;
}

div.latest-post {
	font-size: 0.9em;
	margin-left: 70px;
}

div#post-new-topic label, 
div#edit-topic label, 
div#edit-post label, 
div#post-topic-reply label {
	display: block;
	margin: 10px 0 3px 0;
}

div#edit-post textarea {
	height: 150px;
	width: 98%;
}

input#topic_title { 
	width: 80%; 
}
input#topic_tags { 
	width: 60%; 
}
textarea#topic_text, 
textarea#reply_text { 
	width: 98%; 
	height: 150px; 
}

input#submit_topic, 
input#submit_reply {
	display: block;
	margin-top: 20px;
}

/* Form Styling */
	
/** boxes **/

#search-terms, 
#search-which, 
#whats-new-post-in, 
#activity-filter-select select, 
.ac-input,
.dir-search label input, 
.item-list-tabs ul li.filter select,
#topic_group_id, 
#field_ids, 
#message_content, 
#subject, 
#send-notice, 
#send-to-input, 
#pass1, 
#pass2 {
	color: #000;
	font-family: Arial, Tahoma, Verdana;	
	font-size: 12px;
	margin: 0 5px 0 0;
	padding: 4px 0 4px 5px;
}

.internal-page #content #item-body #invite-list ul li {
	display: block;
	float: none;
}

/* buttons */
#search-submit, 
#aw-whats-new-submit, 
#ac-form-submit, 
#groups_search_submit, 
#forums_search_submit, 
#members_search_submit,
#profile-group-edit-submit,
#send {
	background: #333;
	color: #FFFFFF;
	font-size: 11px;
	font-family: Arial, Tahoma, Verdana;
	text-decoration: none;
	text-transform: uppercase;
	margin: 0;
	padding: 2px 5px 2px 5px;
}

#search-submit:hover, 
#aw-whats-new-submit:hover, 
#ac-form-submit:hover  {
	background: #333;
	border: 1px solid #333;
}

/* text areas */
#whats-new, 
#reply_text, 
#topic_text, 
#topic_tags, 
#topic_title {
	color:#000;
	font-family:Arial,Tahoma,Verdana;
	font-size:12px;
	width:100%;
}

/* extra widget styles */
 .widget {
	margin: 0 0 15px 0;
	padding: 0 0 10px 0;
}

.widget p {
	margin: 0;
	padding: 0;
}
	
.textwidget p {
	margin: 0;
	padding: 10px 10px 0 10px;
}

/* override table issue in some child themes */
#content img, #content p img {
	max-width: none;
}
