#subnav #invite-new-members:before,
#subnav #sent-invites:before {
	background: url(../images/invite-anyone-sprites.png) no-repeat;
	content: "";
	width: 16px;
	height: 16px;
	display: inline-block;
	vertical-align: middle;
	margin-right: 0.6em;
}
#subnav #invite-new-members:before {
	background-position: 0 0;
}
#subnav #sent-invites:before {
	background-position: -20px 0;
}

#welcome-message,
#sent-invites-intro {
	font-size: 14px;
}

#invite-anyone-email-fields {
	margin: 15px 30px 0 0;
	list-style-type: lower-alpha;
}

#invite-anyone-steps {
	margin: 0 20px;
	list-style-type: decimal;
}

#invite-anyone-steps li {
	margin: 20px;
}

#invite-anyone-steps label,
#invite-anyone-steps p,
#invite-anyone-steps legend {
	font-weight: bold;
}

#invite-anyone-steps label {
	display: block;
	margin-bottom: 5px;
}

#invite-anyone-steps .cs_import {
	cursor: pointer;
}

#invite-anyone-email-fields {
	width: 380px;
}

.invite-anyone-email-field {
	width: 380px;
}

#invite-anyone-custom-subject {
	width: 100%;
	max-width: 100%;
	height: 100px;
}

label span.disabled-subject {
	font-style: italic;
	color: #8f8f8f;
	font-size: 11px;
}

#invite-anyone-custom-message {
	width: 100%;
	max-width: 100%;
	height: 130px;
	margin-bottom: 10px;
}

#invite-anyone-group-list {
	list-style-type: none;
	margin: 0;
	padding: 0;
	clear: both;
	overflow: hidden;
	width: 100%;
}

#invite-anyone-group-list li {
	width: 45%;
	margin: 5px 10px 10px 10px;
	float: left;
	height: 60px;
	min-height: 60px;
	font-size: 11px;
}

#invite-anyone-group-list .bs-styled-checkbox:checked + label:after {
	top: 8px;
}

#invite-anyone-group-list li img {
	margin-right: 5px;
	float: left;
	vertical-align: center;
}

#invite-anyone-group-list label {
	width: 85%;
	margin-bottom: 0;
}

#invite-anyone-group-list label,
#invite-anyone-group-list input {
	cursor: pointer;
}

#invite-anyone-group-list label span {
	font-weight: normal;
	/*line-height:30px;*/ /*Breaks if group name is multiline*/
	line-height: 1.4em;
}

#invite-anyone-group-list li input {
	float: left;
	margin: 10px 6px;
	width: 20px;
}

form#invite-anyone-by-email p {
	margin-bottom: 0;
}

form#invite-anyone-by-email .description {
	color: #8f8f8f;
	font-size: 11px;
	font-style: italic;
}

form#invite-anyone-by-email textarea {
	margin-top: 0.5em;
}

.invite-anyone-group-name {
	float: left;
}

.invite-new-members .submit {
	clear: both;
	padding: 20px;
}

.invite-anyone-sent-invites {
	text-align: left;
}

thead tr {
	border-bottom: 2px solid #555;
}

thead tr th a.DESC:after,
thead tr th a.ASC:after {
	background: url(../images/invite-anyone-sprites.png) no-repeat;
	content: "";
	width: 16px;
	height: 16px;
	display: inline-block;
	vertical-align: middle;
	margin-left: 0.6em;
}
thead tr th a.DESC:after {
	background-position: -20px -40px;
}
thead tr th a.ASC:after {
	background-position: 0 -40px;
}

.invite-anyone-sent-invites tbody tr {
	border: 2px solid #fff;
	border-left: none;
	border-right: none;
}

.invite-anyone-sent-invites th a {
	font-weight: normal;
	text-decoration: none;
}

.invite-anyone-sent-invites th.sort-by-me a {
	font-weight: bold;
	text-decoration: underline;
}

.invite-anyone-sent-invites tbody tr td:first-child {
	width: 30px;
	text-align: center;
}

.invite-anyone-sent-invites tr td:first-child a {
	text-decoration: none;
}

.invite-anyone-sent-invites tr.over {
	background: #fffef3;
}

.invite-anyone-sent-invites tr.accepted td {
	color: #09c622;
}

.invite-anyone-sent-invites tr.accepted td.date-joined span {
	background: url(../images/invite-anyone-sprites.png) no-repeat;
	background-position: -20px -20px;
	width: 18px;
	height: 18px;
	margin-right: 0.4em;
	display: inline-block;
	vertical-align: bottom;
}

/* BuddyBoss-style status styling */
.bp-invitee-status.registered {
	color: var(--bb-success-color);
}

.bp-invites-actions {
	margin-bottom: 20px;
}

.clear-entry,
.clear-entry span {
	width: 18px;
	height: 16px;
}

.clear-entry {
	position: relative;
	display: block;
	text-indent: -999em;
}

.clear-entry span {
	position: absolute;
	left: 0;
	background: url(../images/invite-anyone-sprites.png) no-repeat;
	background-position: 0px -20px;
	width: 18px;
	height: 18px;
}

.clear-entry span:hover {
	-moz-box-shadow: inset 0 0 4px #ccc;
	-webkit-box-shadow: inset 0 0 4px #ccc;
	box-shadow: inset 0 0 4px #ccc;
}

tr#batch-clear {
	border-top: 1px solid #8f8f8f;
}

ul#invite-anyone-clear-links {
	overflow: hidden;
	width: 100%;
}

ul#invite-anyone-clear-links li {
	float: left;
	list-style-type: none;
}

ul#invite-anyone-clear-links li a {
	padding-right: 10px;
	border-right: 1px solid #555;
}

ul#invite-anyone-clear-links li.last a {
	padding-left: 10px;
	border: none;
}

#invite-anyone-steps div.invite-anyone-error p,
div.invite-anyone-error p {
	display: inline-block;
	font-weight: normal;
	border-bottom: 1px solid #ffe8c4;
	border-right: 1px solid #ffe8c4;
	margin: 15px 0;
	text-decoration: none;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	padding: 10px 15px;
	font-size: 12px;
	display: block;
	background: #e41717;
	color: #fff;
	border-color: #a71a1a;
	clear: left;
}

textarea.invite-anyone-email-addresses {
	width: 100%;
	max-width: 100%;
	height: 130px;
}

fieldset {
	border-radius: 10px;
}

.ia-pagination {
	position: relative;
	height: 30px;
	margin-top: 10px;
	color: #555;
	font-size: 11px;
}
.ia-pagination .currently-viewing {
	position: absolute;
	top: 0;
	left: 0;
	font-style: italic;
}
.ia-pagination .pag-links {
	position: absolute;
	top: 0;
	right: 0;
}
.ia-pagination .page-numbers {
	margin-left: 8px;
}

#buddypress .bp-invites-container .bb-bp-invites-content {
	padding: 30px 50px;
}

@media screen and (max-width: 800px) {
	#buddypress .bp-invites-container .bb-bp-invites-content {
		padding: 20px 20px;
	}
}

@media screen and (max-width: 480px) {
	#buddypress .bp-invites-container .bb-bp-invites-content {
		padding: 16px 16px;
	}
}

/* Screen reader text for accessibility */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

.invites-input {
	width: 100%;
}

/* Tablet and smaller screens */
@media screen and (max-width: 800px) {
	#invite-anyone-group-list li {
		width: 90%;
	}
	#invite-anyone-group-list label {
		width: 75%;
	}
	table.invite-anyone-sent-invites .col-group-invitations {
		display: none;
	}
}

@media screen and (max-width: 680px) {
	#invite-anyone-steps {
		margin-left: 0;
	}

	table.invite-anyone-sent-invites .col-date-invited {
		display: none;
	}
}

@media screen and (max-width: 440px) {
	table.invite-anyone-sent-invites .col-date-joined {
		display: none;
	}

	ul#invite-anyone-clear-links li {
		float: none;
		margin-left: 15px;
		padding-left: 0;
	}

	ul#invite-anyone-clear-links li a {
		border: 0;
		padding-left: 10px;
	}
}
