/*------------------------------------- */
/* Custom dynamic memberlist additions. */
/*------------------------------------- */
.member_list .statsbar {
	height: 14px;
}
.member_list_search {
	margin: auto;
	max-width: 500px;
}
/* @WIP: JS bug? This shouldn't play up when displaying extra pages by first letter. */
/* Might pay to set visible overflow and clearfix on all instances of main_section. */
#memberlist.main_section {
	overflow: visible;
}
#memberlist .cat_bar {
	overflow: visible;
}
#memberlist.main_section::after,
#memberlist .cat_bar::after,
.action_mlist .member_list::before,
.action_who .member_list::before {
	display: block;
	width: 100%;
	clear: both;
	content: "";
}
/* --- For RTL languages --- */
#direction_rtl #memberlist .buttonlist.floatright {
	transform: scaleX(-1);
}
#direction_rtl #memberlist .buttonlist.floatright li {
	transform: scaleX(-1);
}
/* --- Back to LTR code --- */
/* Custom letter links drop menu. */
#mlist_checkbox {
	display: block;
	position: absolute;
	z-index: -9;
}
#letter_links {
	position: relative;
}
#letter_links label {
	padding: 0 2.2rem 0 0;
	background: url(../images/select.png) 100% 50% no-repeat;
	background-size: 2.2rem;
	color: #fff;
	font-size: 1.5rem;
	font-family: roboto;
	font-weight: 500;
	line-height: 2.8rem;
	text-shadow: 0 0 1px #2e333c;
}
/* --- For RTL languages --- */
#direction_rtl #letter_links label {
	padding: 0 0 0 2.2rem;
	background: url(../images/select.png) 0 50% no-repeat;
	background-size: 2.2rem;
}
/* --- Back to LTR code --- */
#mlist_checkbox:focus + #letter_links label,
#mlist_checkbox:checked + #letter_links label,
#letter_links label:hover {
	color: #ffe9bd;
	text-decoration: underline;
}
#letter_links .submenu {
	top: 2.8rem;
	right: 0;
	left: auto;
	display: none;
	transition: ;
}
/* --- For RTL languages --- */
#direction_rtl #letter_links .submenu {
	right: auto;
	left: 0;
}
/* --- Back to LTR code --- */
#mlist_checkbox:checked + #letter_links .submenu {
	display: block;
}
#letter_links .submenu::before, #letter_links .submenu::after {
    position: absolute;
    top: -8px;
    right: 24px;
    left: auto;
}
#letter_links li:first-child::before {
    position: absolute;
    top: -13px;
    right: 23px;
    left: auto;
}
/* --- For RTL languages --- */
#direction_rtl #letter_links .submenu::before,
 #direction_rtl #letter_links .submenu::after {
    right: auto;
    left: 24px;
}
#direction_rtl #letter_links li:first-child::before {
    right: auto;
    left: 23px;
}
/* --- Back to LTR code --- */
#letter_links li {
	width: 19rem;
	padding: 4px;
}
#letter_links a {
	display: inline-block;
	width: 3em;
	margin: 3px 0;
	padding: 9px 0;
	background: #fff;
	text-align: center;
	font-weight: 700;
	border: 1px solid #c1d4e9;
	transition: background .1s step-end;
}
#letter_links a:hover, #letter_links a:focus {
	background: #c1d4e9;
	text-decoration: none;
}
/* On to the tabular bits. */
.member_list .table_grid, .member_list thead {
	display: block;
	clear: both;
}
.member_list tbody {
	display: flex;
	flex-wrap: wrap;
	clear: both;
	padding: 0 0 6px;
}
.member_list .catbg {
	display: block;
	padding: 0 8px;
    background: linear-gradient(#738599, #a8bace);
	border-radius: 5px;
}
.member_list .catbg th {
	display: inline-block;
	padding: 0;
    background: none;
}
.member_list th::after {
	content: " \002F";
}
/* --- For RTL languages --- */
#direction_rtl .member_list th::after {
	content: " \005C";
}
/* --- Back to LTR code --- */
.member_list .catbg .YIM, .member_list .catbg .MSN,
.member_list .mlist_yim, .member_list .mlist_msn,
.member_list th:last-child::after {
	display: none;
}
.member_list tbody tr {
	position: relative;
	box-sizing: border-box;
	flex: 0 0 auto;
	flex-direction: row;
	width: 19.2%;
	width: 15.86%;
	margin: 8px .4% 0;
	padding: 12px 4px 3px;
	background-color: #ebeff3;
	border: 1px solid #ccc;
}
.action_who .member_list tbody tr {
	padding-bottom: 0;
}
.buddies_list tbody tr {
	width: 19.2%;
}
.member_list td {
	display: block;
	min-height: 20px;
	padding: 4px 0;
	text-align: center;
	border: 0;
}
.mlist_icon {
	position: absolute;
	top: 0;
	right: 0;
	float: right;
}
/* --- For RTL languages --- */
#direction_rtl .mlist_icon {
	right: auto;
	left: 0;
	float: left;
}
/* --- Back to LTR code --- */
.mlist_icon img {
	padding: 10px 7px 7px;
}
.mlist_group {
	clear: both;
}
.member_list img.avatar {
	max-width: 80px;
	max-height: 80px;
}
.member_list .mlist_avatar {
	display: block;
	min-height: 84px;
}
.member_list .mlist_member {
	border-bottom: 1px solid #ccc;
}
.mlist_member a {
	display: block;
	max-width: 80px;
	margin: 0 auto;
}
.mlist_member a:hover {
	text-decoration: none;
}
.member_list .mlist_mail, .member_list .mlist_site,
.member_list .mlist_icq, .member_list .mlist_aim {
	width: 25%;
	display: inline-block;
	margin-right: -.4em;
}
.buddies_list .mlist_mail,
.buddies_list .mlist_remove {
	width: 50%;
	position: static;
	display: inline-block;
	margin-right: -.4em;
	vertical-align: bottom;
}
/* --- For RTL languages --- */
#direction_rtl .member_list .mlist_mail, #direction_rtl .member_list .mlist_site,
#direction_rtl .member_list .mlist_icq, #direction_rtl .member_list .mlist_aim,
.buddies_list .mlist_mail, .buddies_list .mlist_remove {
	margin-right: 0;
	margin-left: -.4em;
}
/* --- Back to LTR code --- */
.member_list .mlist_icq img {
	border-radius: 50%;
}
.member_list .mlist_group, .member_list .mlist_action {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
.mlist_name, .mlist_name>a, .mlist_group {
	display: block;
	max-width: 100%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.mlist_name {
	font-weight: 700;
}
.member_list .mlist_ip {
	padding-bottom: 0;
	font-weight: 700;
}
.mlist_ip + td {
	padding-top: 0;
}
.member_list .mlist_date {
	float: right;
	padding: 4px 4px 0 0;
}
.member_list .mlist_posts {
	float: left;
	padding: 4px 0 0 4px;
}
/*---------------------------*/
.member_list tr td:last-child {
    border-right: 0;
    border-left: 0;
}
/* --- For RTL languages --- */
#direction_rtl .member_list .mlist_date {
	float: left;
	padding: 4px 0 0 4px;
}
#direction_rtl .member_list .mlist_posts {
	float: right;
	padding: 4px 4px 0 0;
}
/* --- Back to LTR code --- */
.member_list .mlist_statsbar {
	clear: both;
	height: 14px;
	padding: 0 3px;
}
.ignore_list {
	padding-bottom: 8px;
}
/* 1152px at standard browser settings. */
@media screen and (max-width: 72em) {
	.member_list tbody tr {
		width: 19.2%;
	}
}
/* 1024px at standard browser settings. */
@media screen and (max-width: 64em) {}
/* 896px at standard browser settings. */
@media screen and (max-width: 56em) {
	.member_list tbody tr {
		width: 32.53%;
	}
	.no_avatar {
		height: 7rem;
		width: 7rem;
		font-size: 4.9rem;
		line-height: 7rem;
	}
}
/* 768px at standard browser settings. */
@media screen and (max-width: 48em) {}
/* 640px at standard browser settings. */
@media screen and (max-width: 40em) {}
/* 512px at standard browser settings. */
@media screen and (max-width: 32em) {
	.member_list tbody {
		display: block;
	}
	.member_list tbody tr {
		display: block;
		width: auto;
		min-height: 100px;
		margin: 6px 0 0;
		padding: 6px 4px 4px;
	}
	.member_list td {
		width: auto;
		min-height: 0;
		text-align: start;
		margin-left: 92px;
	}
	/* --- For RTL languages --- */
	#direction_rtl .member_list td {
		margin-right: 92px;
		margin-left: 0;
	}
	/* --- Back to LTR code --- */
	.member_list .mlist_member, .member_list .mlist_group {
		margin-bottom: 0;
		border: 0;
	}
	.member_list .mlist_date {
		margin-left: 0;
	}
	.member_list .table_grid .mlist_avatar,
	.member_list .table_grid .no_avatar {
		position: absolute;
		top: 9px;
		left: 7px;
	}
	/* --- For RTL languages --- */
	#direction_rtl .member_list .mlist_date {
		margin-right: 0;
	}
	#direction_rtl .member_list .table_grid .mlist_avatar,
	#direction_rtl .member_list .table_grid .no_avatar {
		right: 7px;
		left: auto;
	}
	/* --- Back to LTR code --- */
	.member_list .Email, .member_list .Website,
	.member_list .mlist_mail,	.member_list .mlist_site,
	.member_list .ICQ, .member_list .AIM,
	.member_list .mlist_icq,	.member_list .mlist_aim {
		display: none;
	}
	.member_list.buddies_list .mlist_mail {
		display: block;
	}
	.member_list .mlist_posts {
		padding: 0;
	}
	.member_list .mlist_statsbar {
		padding: 0 3px 0 0;
	}
	/* --- For RTL languages --- */
	#direction_rtl .member_list .mlist_statsbar {
		padding: 0 0 0 3px;
	}
	/* --- Back to LTR code --- */
	.buddies_list td:not(.mlist_icon) {
		position: static;
		float: none !important;
		margin-left: 100px;
	}
	.buddies_list .mlist_mail,
	.buddies_list .mlist_remove {
		padding: 6px 0;
	}
}
/* 384px at standard browser settings. */
@media screen and (max-width: 24em) {
	#letter_links + .catbg.floatleft {
		max-width: 1em;
		overflow: hidden;
		text-indent: 1em;
		white-space: nowrap;
	}
}