<?xml version="1.0" encoding="utf-8"?>
<templates>
  <template title="account.css" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:include template="navigation_sidebar.css" />

.mainContentBlock .xenForm
{
	margin-top: 0;
}

.xenForm.personalDetailsForm .StatusEditor
{
	resize: vertical;
}

.xenForm.personalDetailsForm .statusEditorCounter
{
	position: absolute;
	top: 0px;
	right: 0px;
}

.xenForm.personalDetailsForm .avatarEditor .avatar
{
	float: left;
	margin-right: 8px;
}

.xenForm.personalDetailsForm .avatarEditor .avatar:hover img
{
	border-color: orange;
}

.xenForm.privacyForm .ctrl > ul select
{
	margin-bottom: 8px;
}]]></template>
  <template title="account_alerts" version_id="1030270" version_string="1.3.2"><![CDATA[<xen:title>{xen:phrase latest_alerts}</xen:title>

<xen:edithint template="xenforo_alert.css" />

<div>

	<xen:if is="{$alerts}">
		<ol class="alerts alertsScroller">
		<xen:foreach loop="$alerts" key="$date" value="$alertsDay">
			<li class="alertGroup">
				<h2 class="textHeading">{$date}</h2>
				<ol>
				<xen:foreach loop="$alertsDay" value="$alert">
					<li id="alert{$alert.alert_id}" class="primaryContent {xen:if $alert.new, 'new'}{xen:if '{$alert.unviewed}', ' unviewed'}" data-author="{$alert.user.username}">
						<xen:avatar user="$alert.user" size="s" img="true" class="plainImage" />
						<div class="alertText">
							<h3>{xen:raw $alert.template}</h3>
							<div class="timeRow"><span class="time muted">{xen:time $alert.event_date}</span><xen:if is="{$alert.new}"><span class="newIcon"></span></xen:if></div>
						</div>
					</li>
				</xen:foreach>
				</ol>
			</li>
		</xen:foreach>
		</ol>
		
		<xen:pagenav link="account/alerts" page="{$page}" perpage="{$perPage}" total="{$totalAlerts}" />
			
	<xen:else />
	
		<p>{xen:phrase you_do_not_have_any_recent_alerts}</p>
		
	</xen:if>
	
</div>]]></template>
  <template title="account_alerts_popup" version_id="1000017" version_string="1.0.0 Alpha 7"><![CDATA[<xen:if hascontent="true">
	<div class="alertsPopup">
	<xen:contentcheck>
		<xen:if is="{$alertsUnread}">
			<ol class="Unread secondaryContent" data-defaultBackground="{xen:property secondaryContent.background-color}">
				<xen:foreach loop="$alertsUnread" value="$alert"><xen:include template="alert" /></xen:foreach>
			</ol>
		</xen:if>
		<xen:if is="{$alertsRead}">
			<ol class="secondaryContent">
				<xen:foreach loop="$alertsRead" value="$alert"><xen:include template="alert" /></xen:foreach>
			</ol>
		</xen:if>
	</xen:contentcheck>
	</div>
<xen:else />
	<div class="secondaryContent noItems">{xen:phrase you_have_no_new_alerts}</div>
</xen:if>]]></template>
  <template title="account_alert_preferences" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[<xen:title>{xen:phrase alert_preferences}</xen:title>

<xen:require css="account.css" />
<xen:require js="js/xenforo/personal_details_editor.js" />

<xen:edithint template="account_avatar_overlay.css" />
<xen:edithint template="account_avatar_overlay" />

<form method="post" class="xenForm AutoValidator"
	action="{xen:link 'account/alert-preferences-save'}"
	data-fieldValidatorUrl="{xen:link 'account/validate-field.json'}">
	
	<h3 class="sectionHeader">{xen:phrase messages_in_threads}</h3>
	<dl class="ctrlUnit">
		<dt>{xen:phrase receive_alert_when_someone}...</dt>
		<dd>
			<ul>
				<xen:hook name="account_alerts_messages_in_threads">
				<li><input type="hidden" name="alertSet[post_insert]" value="1" />
					<label><input type="checkbox" value="1" name="alert[post_insert]" {xen:checked "!{$alertOptOuts.post_insert}"} autofocus="true" /> {xen:phrase replies_to_watched_thread}</label>
					<p class="hint">{xen:phrase someone_replies_to_thread_you_are_watching}</p>
				</li>
				<li><input type="hidden" name="alertSet[post_insert_attachment]" value="1" />
					<label><input type="checkbox" value="1" name="alert[post_insert_attachment]" {xen:checked "!{$alertOptOuts.post_insert_attachment}"} /> {xen:phrase attaches_file_to_watched_thread}</label>
					<p class="hint">{xen:phrase someone_replies_and_attaches_a_file_to_a_thread_you_are_watching}</p>
				</li>
				<li><input type="hidden" name="alertSet[post_quote]" value="1" />
					<label><input type="checkbox" value="1" name="alert[post_quote]" {xen:checked "!{$alertOptOuts.post_quote}"} /> {xen:phrase quotes_your_message}</label>
					<p class="hint">{xen:phrase someone_directly_quotes_one_of_your_messages_in_thread}</p>
				</li>
				<li><input type="hidden" name="alertSet[post_tag]" value="1" />
					<label><input type="checkbox" value="1" name="alert[post_tag]" {xen:checked "!{$alertOptOuts.post_tag}"} /> {xen:phrase tags_you_in_message}</label>
					<p class="hint">{xen:phrase someone_tags_you_in_a_message}</p>
				</li>
				<li><input type="hidden" name="alertSet[post_like]" value="1" />
					<label><input type="checkbox" value="1" name="alert[post_like]" {xen:checked "!{$alertOptOuts.post_like}"} /> {xen:phrase likes_your_message}</label>
					<p class="hint">{xen:phrase someone_likes_one_of_your_messages_in_thread}</p>
				</li>
				</xen:hook>
			</ul>
		</dd>
	</dl>

	<xen:hook name="account_alerts_after_posts" />
	
	<h3 class="sectionHeader">{xen:phrase messages_on_profile_pages}</h3>
	<dl class="ctrlUnit">
		<dt>{xen:phrase receive_alert_when_someone}...</dt>
		<dd>
			<ul>
				<xen:hook name="account_alerts_messages_on_profile_pages">
				<li><input type="hidden" name="alertSet[profile_post_insert]" value="1" />
					<label><input type="checkbox" value="1" name="alert[profile_post_insert]" {xen:checked "!{$alertOptOuts.profile_post_insert}"} /> {xen:phrase posts_on_your_profile}</label>
					<p class="hint">{xen:phrase someone_posts_message_on_your_profile_page}</p>
				</li>
				<li><input type="hidden" name="alertSet[profile_post_comment_your_profile]" value="1" />
					<label><input type="checkbox" value="1" name="alert[profile_post_comment_your_profile]" {xen:checked "!{$alertOptOuts.profile_post_comment_your_profile}"} /> {xen:phrase comments_on_your_profile_or_status}</label>
					<p class="hint">{xen:phrase someone_comments_on_message_on_your_profile_page_or_your_status}</p>
				</li>
				<li><input type="hidden" name="alertSet[profile_post_comment_your_post]" value="1" />
					<label><input type="checkbox" value="1" name="alert[profile_post_comment_your_post]" {xen:checked "!{$alertOptOuts.profile_post_comment_your_post}"} /> {xen:phrase comments_on_your_profile_posts_for_other_members}</label>
					<p class="hint">{xen:phrase someone_comments_on_message_you_left_on_someone_elses_profile}</p>
				</li>
				<li><input type="hidden" name="alertSet[profile_post_comment_other_commenter]" value="1" />
					<label><input type="checkbox" value="1" name="alert[profile_post_comment_other_commenter]" {xen:checked "!{$alertOptOuts.profile_post_comment_other_commenter}"} /> {xen:phrase also_comments_on_profile_post}</label>
					<p class="hint">{xen:phrase someone_comments_on_profile_post_that_you_have_commented_on}</p>
				</li>
				<li><input type="hidden" name="alertSet[profile_post_tag]" value="1" />
					<label><input type="checkbox" value="1" name="alert[profile_post_tag]" {xen:checked "!{$alertOptOuts.profile_post_tag}"} /> {xen:phrase tags_you_in_profile_post_or_comment}</label>
					<p class="hint">{xen:phrase someone_tags_you_post_or_comment_on_a_profile}</p>
				</li>
				<li><input type="hidden" name="alertSet[profile_post_like]" value="1" />
					<label><input type="checkbox" value="1" name="alert[profile_post_like]" {xen:checked "!{$alertOptOuts.profile_post_like}"} /> {xen:phrase likes_your_profile_post}</label>
					<p class="hint">{xen:phrase someone_likes_message_you_left_on_member_profile_page}</p>
				</li>
				</xen:hook>
			</ul>
		</dd>
	</dl>
	
	<xen:hook name="account_alerts_after_profile_posts" />
		
	<h3 class="sectionHeader">{xen:phrase achievements}</h3>
	<dl class="ctrlUnit">
		<dt>{xen:phrase receive_alert_when_you_receive}...</dt>
		<dd>
			<ul>
				<xen:hook name="account_alerts_achievements">
				<li><input type="hidden" name="alertSet[user_following]" value="1" />
					<label><input type="checkbox" value="1" name="alert[user_following]" {xen:checked "!{$alertOptOuts.user_following}"} /> {xen:phrase new_follower}</label
					 ><p class="hint">{xen:phrase someone_starts_following_you}</p>
				</li>
				<li><input type="hidden" name="alertSet[user_trophy]" value="1" />
					<label><input type="checkbox" value="1" name="alert[user_trophy]" {xen:checked "!{$alertOptOuts.user_trophy}"} /> {xen:phrase new_trophy}</label>
					<p class="hint">{xen:phrase you_awarded_new_trophy_for_passing_milestone}</p>
				</li>
				</xen:hook>
			</ul>
		</dd>
	</dl>
	
	<xen:hook name="account_alerts_extra" />

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" name="save" value="{xen:phrase save_changes}" accesskey="s" class="button primary" /></dd>
	</dl>
	
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="account_avatar" version_id="1020370" version_string="1.2.3"><![CDATA[<xen:title>{xen:phrase avatar_editor}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link 'full:account/personal-details'}">{xen:phrase personal_details}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'account/avatar-upload'}" method="post" enctype="multipart/form-data" class="xenForm">

	<xen:hook name="account_avatar">
	
	<xen:if is="{$visitor.avatar_date}">
		<fieldset>
			<dl class="ctrlUnit">
				<dt><label>{xen:phrase current_avatar}:</label></dt>
				<dd><xen:avatar user="$visitor" size="m" class="NoOverlay" /></dd>
			</dl>

			<dl class="ctrlUnit">
				<dt></dt>
				<dd><label for="ctrl_delete"><input type="checkbox" name="delete" value="1" id="ctrl_delete" /> {xen:phrase delete_current_avatar_question}</label></dd>
			</dl>
		</fieldset>
	</xen:if>
	
	<!-- slot: after_avatar_date -->

	<dl class="ctrlUnit">
		<dt><label>{xen:phrase upload_avatar}:</label></dt>
		<dd><input type="file" name="avatar" /></dd>
	</dl>
	
	<!-- slot: after_upload_avatar -->

	<xen:if is="{$xenOptions.gravatarEnable}">
		<dl class="ctrlUnit">
			<dt><label for="ctrl_use_gravatar">{xen:phrase use_gravatar}:</label></dt>
			<dd><input type="checkbox" name="use_gravatar" value="1" class="Disabler" id="ctrl_use_gravatar"{xen:checked '{$visitor.gravatar}'} />
				<span id="ctrl_use_gravatar_Disabler">
					<input type="text" name="gravatar" value="{$gravatarEmail}" class="textCtrl" />
				</span>
			</dd>
		</dl>
	</xen:if>
	
	</xen:hook>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase save_changes}" accesskey="s" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="account_avatar_overlay" version_id="1030270" version_string="1.3.2"><![CDATA[<xen:title>{xen:phrase avatar_editor}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link 'full:account/personal-details'}">{xen:phrase personal_details}</xen:breadcrumb>
</xen:navigation>

<xen:require css="account_avatar_overlay.css" />
<xen:require js="js/xenforo/avatar_editor.js" />

<form action="{xen:link account/avatar-upload}" method="post" enctype="multipart/form-data"
	class="AvatarEditor AutoInlineUploader formOverlay overlayScroll"
	data-overlayClass="avatarEditor"
	data-maxWidth="{$maxWidth}">

	<div class="currentAvatar">
		<label for="ctrl_avatar" class="avatar NoOverlay Av{$visitor.user_id}l"><img src="{xen:helper avatar, $visitor, l}" alt="{xen:phrase current_avatar}" /></label>
	</div>

	<ul class="modifyControls">

		<li class="avatarOption">
			<div class="avatarCropper avatarLabel" style="width: {$maxWidth}px; height: {$maxWidth}px">
				<label for="ctrl_useGravatar_0" class="AvatarCropControl avatar NoOverlay Av{$visitor.user_id}l" style="width: {$maxWidth}px; height: {$maxWidth}px">
					<img src="{xen:helper avatar, $visitor, l, custom}" style="{$maxDimension}: {$maxWidth}px" alt="{xen:phrase avatar}" />
				</label>
			</div>

			<input type="radio" name="use_gravatar" value="0" class="Disabler radioOption" id="ctrl_useGravatar_0"{xen:checked '!{$visitor.gravatar}'} />

			<div class="labelText" id="ctrl_useGravatar_0_Disabler">
				<label for="ctrl_useGravatar_0" id="ExistingCustom">
					{xen:phrase use_custom_avatar}
					<span class="explain faint">
						{xen:phrase drag_image_to_crop_then_click_okay_or_upload_new_avatar}
					</span>
				</label>

				<label for="ctrl_avatar" class="ClickProxy" rel="#ctrl_useGravatar_0" data-allowDefault="1">{xen:phrase upload_new_custom_avatar}:</label>
				<input type="file" name="avatar" class="textCtrl avatarUpload" onchange="this.blur()" id="ctrl_avatar" title="{xen:phrase supported_formats_jpeg_png_gif}" />
				<div class="explain faint">{xen:phrase it_is_recommended_that_you_use_image_that_is_at_least_200x200_pixels}</div>
			</div>
		</li>

		<xen:if is="{$xenOptions.gravatarEnable}">
			<li class="avatarOption">
				<label for="ctrl_useGravatar_1" class="avatarLabel avatar">
					<img src="{$gravatarUrl}" class="Gravatar" alt="{xen:phrase gravatar}" width="{$maxWidth}" height="{$maxWidth}" id="GravatarImg" />
				</label>
	
				<input type="radio" name="use_gravatar" value="1" class="Disabler radioOption" id="ctrl_useGravatar_1"{xen:checked '{$visitor.gravatar}'} />
	
				<div class="labelText" id="ctrl_useGravatar_1_Disabler">
					<label for="ctrl_useGravatar_1">{xen:phrase use_gravatar}</label>
	
					<input type="email" name="gravatar" value="{$gravatarEmail}" class="textCtrl" id="GravatarEmail" placeholder="{xen:phrase gravatar_email_address}" />
					<input type="button" class="button" id="Gravatar{xen:phrase test}" value="{xen:phrase test}"
						data-testUrl="{xen:link account/gravatar-test}"
						data-testSrc="#GravatarEmail"
						data-testImg="#GravatarImg"
						data-testErr="#GravatarError" />
	
					<p class="explain faint">
						<label for="ctrl_useGravatar_1"><span id="GravatarError"></span> {xen:phrase enter_email_address_of_gravatar_you_want_to_use}</label>
						<a class="hint" href="http://gravatar.com" rel="nofollow" target="_blank">{xen:phrase whats_gravatar}</a>
					</p>
				</div>
			</li>
		</xen:if>

		<li class="submitUnit saveDeleteControls">
			<label for="DeleteAvatar" class="deleteCtrl"><input type="checkbox" name="delete" value="1" id="DeleteAvatar" /> {xen:phrase delete_current_avatar_question}</label>
			<span class="buttons">
				<input type="submit" value="{xen:phrase okay}" class="button primary" accesskey="s" id="ctrl_save" />
				<input type="reset" value="{xen:phrase close}" class="button OverlayCloser overlayOnly" accesskey="d" />
			</span>
		</li>
	</ul>


	<input type="hidden" name="avatar_date" value="{$visitor.avatar_date}" />
	<input type="hidden" name="avatar_crop_x" value="{$cropX}" />
	<input type="hidden" name="avatar_crop_y" value="{$cropY}" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />

</form>]]></template>
  <template title="account_avatar_overlay.css" version_id="1020034" version_string="1.2.0 Beta 4"><![CDATA[/* AVATAR EDITOR */

.xenOverlay.avatarEditor
{
	max-width: 720px;
}

.AvatarEditor
{
	overflow: hidden; zoom: 1;
	margin: 0 auto;
}

/* current avatar large display */

.AvatarEditor .currentAvatar
{
	float: left;
	display: block;
	width: 192px;
	text-align: center;
}

	.AvatarEditor .currentAvatar img
	{
		max-width: 192px;
	}
	
/* controls column */
	
.AvatarEditor .modifyControls
{
	margin-left: 210px;
}

	.AvatarEditor .avatarUpload
	{
		max-width: 100%;
		box-sizing: border-box;
	}

	.AvatarEditor .avatarOption
	{
		overflow: hidden; zoom: 1;
		padding: 10px;
		border: 1px solid {xen:property primaryMedium};
		border-radius: 5px;
		margin-bottom: 10px;
		
		background: rgba(0,0,0, 0.25);
	}
	
	.AvatarEditor label
	{
		display: block;
	}
	
	.AvatarEditor .avatarLabel
	{
		display: block;
		float: left;
	}
		
		.AvatarEditor .avatarCropper img
		{
			cursor: move;
		}
		
	.AvatarEditor .radioOption
	{
		float: left;
		margin-left: 10px;
		margin-top: 2px;
	}
	
	.AvatarEditor .labelText
	{
		margin-left: 130px;
	}
	
		.AvatarEditor .explain
		{
			display: block;
			font-size: 11px;
			margin-bottom: 10px;
		}
	
			.AvatarEditor .saveHint
			{
				font-style: italic;
			}
		
		.AvatarEditor #GravatarEmail
		{
			width: 175px;
		}
			
		.AvatarEditor #GravatarTest
		{
			width: 50px;
		}
		
		.AvatarEditor #GravatarError
		{
			color: red;
			display: block;
		}
			
/* bottom controls row */
		
.AvatarEditor .submitUnit
{
	overflow: hidden; zoom: 1;
}

	.AvatarEditor .submitUnit label.deleteCtrl
	{
		float: left;
	}
	
	.AvatarEditor .submitUnit .buttons
	{
		float: right;
	}

		.AvatarEditor .submitUnit .buttons .button
		{
			min-width: 70px;
		}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:700px)
{
	.Responsive .AvatarEditor .currentAvatar
	{
		display: none;
	}

	.Responsive .AvatarEditor .modifyControls
	{
		margin-left: 0;
	}
}

@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .AvatarEditor .avatarLabel
	{
		float: none;
		margin: 0 auto;
		text-align: center;
	}

	.Responsive .AvatarEditor .labelText
	{
		margin-left: 0;
	}

	.Responsive .AvatarEditor .radioOption
	{
		margin: 0;
	}
}
</xen:if>]]></template>
  <template title="account_confirm_resend" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<xen:title>{xen:phrase resend_account_confirmation}</xen:title>

<form action="{xen:link account-confirmation/resend}" method="post" class="xenForm formOverlay AutoValidator">

	<p>{xen:phrase sure_you_want_to_resend_account_confirmation_email, 'email={$visitor.email}'}</p>
	
	<dl class="ctrlUnit submitUnit">
			<dt></dt>
			<dd>
				<input type="submit" value="{xen:phrase resend_email}" class="button primary" />
			</dd>
		</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	<input type="hidden" name="_xfConfirm" value="1" />
</form>]]></template>
  <template title="account_contact_details" version_id="1040032" version_string="1.4.0 Beta 2"><![CDATA[<xen:title>{xen:phrase contact_details}</xen:title>

<xen:require css="account.css" />

<form method="post" class="xenForm AutoValidator"
	action="{xen:link 'account/contact-details-save'}"
	data-fieldValidatorUrl="{xen:link 'account/validate-field.json'}"
	data-redirect="yes">
	
	<xen:hook name="account_contact_details_email_password">

	<xen:if is="{$hasPassword}">
		<fieldset>
			<dl class="ctrlUnit">
				<dt><label for="ctrl_email">{xen:phrase email}:</label></dt>
				<dd>
					<input type="email" name="email" value="{$visitor.email}" dir="ltr" class="textCtrl ConfirmValue" id="ctrl_email" autofocus="autofocus" />
					<p class="explain">{xen:phrase if_you_change_your_email_you_may_need_to_reconfirm_your_account}</p>
				</dd>
			</dl>

			<dl class="ctrlUnit">
				<dt><label for="ctrl_password">{xen:phrase current_password}:</label></dt>
				<dd>
					<input type="password" name="password" value="" class="textCtrl OptOut" id="ctrl_password" />
					<p class="explain">{xen:phrase this_is_only_needed_when_changing_your_email_address}</p>
				</dd>
			</dl>
		</fieldset>
	<xen:else />
		<dl class="ctrlUnit">
			<dt>{xen:phrase email}:</dt>
			<dd>
				{$visitor.email}
				<p class="explain">{xen:phrase your_email_cannot_be_changed_while_your_account_does_not_have_password} <a href="{xen:link account/request-password}" class="OverlayTrigger">{xen:phrase request_password_be_emailed_to_you}</a></p>
			</dd>
		</dl>
	</xen:if>
	
	</xen:hook>

	<h3 class="sectionHeader">{xen:phrase messaging_preferences}</h3>

	<dl class="ctrlUnit sectionLink">
		<dt></dt>
		<dd>
			<ul>
				<xen:hook name="account_contact_details_messaging">
				<li><label for="ctrl_receive_admin_email"><input type="checkbox" name="receive_admin_email" value="1" id="ctrl_receive_admin_email" {xen:checked '{$visitor.receive_admin_email}'} />
					{xen:phrase receive_site_mailings}</label>
					<p class="hint">{xen:phrase you_will_receive_emails_sent_by_administrator_to_all_members}</p>
				</li>
				<li><label for="ctrl_allow_send_personal_conversation_enable"><input type="checkbox" name="allow_send_personal_conversation_enable" value="1" id="ctrl_allow_send_personal_conversation_enable" class="Disabler OptOut" {xen:checked "{$visitor.allow_send_personal_conversation} != 'none' "} />
					{xen:phrase accept_conversations_from}...</label>
					<ul id="ctrl_allow_send_personal_conversation_enable_Disabler">
						<li>
							<select name="allow_send_personal_conversation" class="textCtrl autoSize" id="ctrl_allow_send_personal_conversation">
								<xen:comment><option value="everyone" {xen:selected "{$visitor.allow_send_personal_conversation} == 'everyone' "} disabled="disabled">{xen:phrase all_visitors}</option></xen:comment>
								<option value="members"  {xen:selected "{$visitor.allow_send_personal_conversation} == 'members'  "}>{xen:phrase members_only}</option>
								<option value="followed" {xen:selected "{$visitor.allow_send_personal_conversation} == 'followed' "}>{xen:phrase people_you_follow_only}</option>
							</select>
						</li>
					</ul>
				</li>				
				<li>
					<label for="ctrl_email_on_conversation"><input type="checkbox" name="email_on_conversation" value="1" id="ctrl_email_on_conversation" {xen:checked '{$visitor.email_on_conversation}'} />
					{xen:phrase receive_email_when_new_conversation_message_is_received}</label>
					<p class="hint">{xen:phrase email_notifications_for_new_conversations_replies_to_existing}</p>
				</li>
				</xen:hook>
			</ul>
		</dd>
	</dl>
	
	<xen:if is="{$canEditProfile} AND {$customFields}">
	<xen:hook name="account_contact_details_identities">
		<h3 class="sectionHeader">{xen:phrase identities}</h3>
		<xen:include template="custom_fields_edit" />
	</xen:hook>
	</xen:if>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" name="save" value="{xen:phrase save_changes}" accesskey="s" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="account_external_accounts" version_id="1030370" version_string="1.3.3"><![CDATA[<xen:title>{xen:phrase external_accounts}</xen:title>

<xen:if is="{$xenOptions.facebookAppId}">
	<xen:container var="$facebookSdk">1</xen:container>
	
	<form action="{xen:link account/external-accounts/disassociate}" method="post" class="xenForm">
		<h3 class="textHeading">{xen:phrase facebook_integration}</h3>
		<xen:if is="{$external.facebook}">
			
			<xen:hook name="account_facebook_associated">
			<dl class="ctrlUnit">
				<dt>{xen:phrase associated_facebook_account}:</dt>
				<dd>
					<a href="http://www.facebook.com/profile.php?id={$external.facebook.provider_key}" class="avatar NoOverlay"><img src="https://graph.facebook.com/{$external.facebook.provider_key}/picture" alt="" /></a>
					<div><a href="http://www.facebook.com/profile.php?id={$external.facebook.provider_key}"><xen:if is="{$fbUser.name}">{$fbUser.name}<xen:else />{xen:phrase unknown_account}</xen:if></a></div>
				</dd>
			</dl>
			</xen:hook>
			
			<dl class="ctrlUnit submitUnit">
				<dt></dt>
				<dd><ul>
					<li>
						<label><input type="checkbox" name="disassociate" value="1" id="ctrl_disassociate_fb" class="Disabler" /> {xen:phrase disassociate_facebook_account}</label>
						<ul id="ctrl_disassociate_fb_Disabler">
							<li><input type="submit" class="button" value="{xen:phrase confirm_disassociation}" /></li>
						</ul>
						<xen:if is="!{$hasPassword}">
							<p class="explain">{xen:phrase disassociating_with_all_accounts_cause_password_emailed_x, 'email={$visitor.email}'}</p>
						</xen:if>
					</li>
				</ul></dd>
			</dl>
		<xen:else />
			<xen:hook name="account_facebook_not_associated">
			<dl class="ctrlUnit">
				<dt></dt>
				<dd>{xen:string nl2br, {xen:phrase your_account_is_not_currently_associated_with_facebook_account}}</dd>
			</dl>
			</xen:hook>
			
			<dl class="ctrlUnit submitUnit">
				<dt></dt>
				<dd class="fbWidgetBlock"><a href="{xen:link register/facebook, '', 'reg=1', 'assoc={$visitor.user_id}'}" class="button primary">{xen:phrase associate_with_facebook}</a></dd>
			</dl>
		</xen:if>

		<xen:if is="{$xenOptions.facebookFacepile}">
			<dl class="ctrlUnit">
				<dt></dt>
				<dd class="fbWidgetBlock"><fb:facepile width="300" max_rows="5" colorscheme="{xen:property fbColorScheme}"></fb:facepile></dd>
			</dl>
		</xen:if>

		<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
		<input type="hidden" name="_xfConfirm" value="1" />
		<input type="hidden" name="account" value="facebook" />
	</form>
</xen:if>

<xen:if is="{$xenOptions.twitterAppKey}">
	<form action="{xen:link account/external-accounts/disassociate}" method="post" class="xenForm">
		<h3 class="textHeading">{xen:phrase twitter_integration}</h3>
		<xen:if is="{$external.twitter}">
			
			<dl class="ctrlUnit">
				<dt>{xen:phrase associated_twitter_account}:</dt>
				<dd>
				<xen:if is="{$twitterUser}">
					<a href="https://twitter.com/{$twitterUser.screen_name}" class="avatar NoOverlay"><img src="{$twitterUser.profile_image_url_https}" alt="" /></a>
					<div><a href="https://twitter.com/{$twitterUser.screen_name}">@{$twitterUser.screen_name} ({$twitterUser.name})</a></div>
				<xen:else />
					{xen:phrase unknown_account}
				</xen:if>
				</dd>
			</dl>
			
			<dl class="ctrlUnit submitUnit">
				<dt></dt>
				<dd><ul>
					<li>
						<label><input type="checkbox" name="disassociate" value="1" id="ctrl_disassociate_twitter" class="Disabler" /> {xen:phrase disassociate_twitter_account}</label>
						<ul id="ctrl_disassociate_twitter_Disabler">
							<li><input type="submit" class="button" value="{xen:phrase confirm_disassociation}" /></li>
						</ul>
						<xen:if is="!{$hasPassword}">
							<p class="explain">{xen:phrase disassociating_with_all_accounts_cause_password_emailed_x, 'email={$visitor.email}'}</p>
						</xen:if>
					</li>
				</ul></dd>
			</dl>
		<xen:else />
			<dl class="ctrlUnit">
				<dt></dt>
				<dd>{xen:string nl2br, {xen:phrase your_account_is_not_currently_associated_with_twitter_account}}</dd>
			</dl>
			
			<dl class="ctrlUnit submitUnit">
				<dt></dt>
				<dd><a href="{xen:link register/twitter, '', 'reg=1', 'assoc={$visitor.user_id}'}" class="button primary">{xen:phrase associate_with_twitter}</a></dd>
			</dl>
		</xen:if>

		<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
		<input type="hidden" name="_xfConfirm" value="1" />
		<input type="hidden" name="account" value="twitter" />
	</form>
</xen:if>

<xen:if is="{$xenOptions.googleClientId}">
	<form action="{xen:link account/external-accounts/disassociate}" method="post" class="xenForm">
		<h3 class="textHeading">{xen:phrase google_integration}</h3>
		<xen:if is="{$external.google}">
			
			<dl class="ctrlUnit">
				<dt>{xen:phrase associated_google_account}:</dt>
				<dd>
					<a href="https://plus.google.com/u/0/{$external.google.provider_key}">{xen:phrase view_account}</a>
				</dd>
			</dl>
			
			<dl class="ctrlUnit submitUnit">
				<dt></dt>
				<dd><ul>
					<li>
						<label><input type="checkbox" name="disassociate" value="1" id="ctrl_disassociate_google" class="Disabler" /> {xen:phrase disassociate_google_account}</label>
						<ul id="ctrl_disassociate_google_Disabler">
							<li><input type="submit" class="button" value="{xen:phrase confirm_disassociation}" /></li>
						</ul>
						<xen:if is="!{$hasPassword}">
							<p class="explain">{xen:phrase disassociating_with_all_accounts_cause_password_emailed_x, 'email={$visitor.email}'}</p>
						</xen:if>
					</li>
				</ul></dd>
			</dl>
		<xen:else />
			<dl class="ctrlUnit">
				<dt></dt>
				<dd>{xen:string nl2br, {xen:phrase your_account_is_not_currently_associated_with_google_account}}</dd>
			</dl>
			
			<dl class="ctrlUnit submitUnit">
				<dt></dt>
				<dd>
					<span class="button primary GoogleLogin" data-client-id="{$xenOptions.googleClientId}" data-redirect-url="{xen:link register/google, '', 'code=__CODE__', 'csrf={$session.sessionCsrf}'}"><span>{xen:phrase associate_with_google}</span></span>
				</dd>
			</dl>
		</xen:if>

		<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
		<input type="hidden" name="_xfConfirm" value="1" />
		<input type="hidden" name="account" value="google" />
	</form>
</xen:if>]]></template>
  <template title="account_following" version_id="1020034" version_string="1.2.0 Beta 4"><![CDATA[<xen:title>{xen:phrase people_you_follow}</xen:title>

<xen:require css="account.css" />
<xen:require css="member_list.css" />
<xen:require js="js/xenforo/follow.js" />

<form method="post" class="xenForm AutoValidator FollowForm"
	action="{xen:link 'account/follow'}"
	data-userInputField="#ctrl_users">

	<xen:hook name="account_following_memberlist">
	<ul class="FollowList memberList">
		<xen:foreach loop="$following" value="$user">
			<xen:include template="member_list_item_follower" />
		</xen:foreach>
	</ul>
	</xen:hook>

	<xen:hook name="account_following_controls">
	<dl class="ctrlUnit">
		<dt><label for="ctrl_users">{xen:phrase follow}:</label></dt>
		<dd>
			<input type="search" name="users" value="{$username}" results="0" placeholder="{xen:phrase name}..." class="textCtrl AutoComplete" id="ctrl_users" autofocus="autofocus" />
			<p class="explain">{xen:phrase separate_names_with_comma}</p>
		</dd>
	</dl>
	</xen:hook>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" name="save" value="{xen:phrase save_changes}" accesskey="s" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="account_ignored" version_id="1020034" version_string="1.2.0 Beta 4"><![CDATA[<xen:title>{xen:phrase people_you_ignore}</xen:title>

<xen:require css="account.css" />
<xen:require css="member_list.css" />
<xen:require js="js/xenforo/follow.js" />

<form method="post" class="xenForm AutoValidator FollowForm"
	action="{xen:link 'account/ignore'}"
	data-userInputField="#ctrl_users">

	<xen:hook name="account_ignored_memberlist">
	<ul class="FollowList memberList">
		<xen:foreach loop="$ignored" value="$user">
			<xen:include template="member_list_item_ignored" />
		</xen:foreach>
	</ul>
	</xen:hook>

	<xen:hook name="account_ignored_controls">
	<dl class="ctrlUnit">
		<dt><label for="ctrl_users">{xen:phrase member_to_ignore}:</label></dt>
		<dd>
			<input type="search" name="users" value="{$username}" results="0" placeholder="{xen:phrase name}..." class="textCtrl AutoComplete" id="ctrl_users" autofocus="autofocus" />
			<p class="explain">{xen:phrase separate_names_with_comma}</p>
		</dd>
	</dl>
	</xen:hook>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" name="save" value="{xen:phrase save_changes}" accesskey="s" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="account_likes" version_id="1030051" version_string="1.3.0 Release Candidate 1"><![CDATA[<xen:title>{xen:phrase likes_youve_received}{xen:helper pagenumber, $page}</xen:title>
<xen:h1>{xen:phrase likes_youve_received}</xen:h1>

<xen:require css="events.css" />

<xen:if is="{$totalLikes}">
	<div class="newsFeed">
		<ol class="eventList">
			<xen:foreach loop="$likes" value="$item">
				<xen:include template="news_feed_item">
					<xen:set var="$itemTemplate">{xen:raw $item.listTemplate}</xen:set>
					<xen:set var="$itemDate">{$item.like_date}</xen:set>
				</xen:include>
			</xen:foreach>
		</ol>
	</div>

	<xen:pagenav link="account/likes" page="{$page}" perpage="{$likesPerPage}" total="{$totalLikes}" />
	
<xen:else />
	<p>{xen:phrase unfortunately_none_of_your_content_has_received_any_likes_yet}</p>
</xen:if>]]></template>
  <template title="account_personal_details" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[<xen:title>{xen:phrase personal_details}</xen:title>

<xen:require css="account.css" />
<xen:require js="js/xenforo/personal_details_editor.js" />

<xen:edithint template="account_avatar_overlay.css" />
<xen:edithint template="account_avatar_overlay" />

<form method="post" class="xenForm personalDetailsForm AutoValidator"
	action="{xen:link 'account/personal-details-save'}"
	data-fieldValidatorUrl="{xen:link 'account/validate-field.json'}">

	<xen:hook name="account_personal_details_status">
	<xen:if is="{$canUpdateStatus}">
		<dl class="ctrlUnit">
			<dt><label for="ctrl_status">{xen:phrase status_message}:</label></dt>
			<dd>
				<textarea name="status" rows="2" cols="60" id="ctrl_status" autofocus="autofocus" class="textCtrl StatusEditor UserTagger Elastic OptOut" data-statusEditorCounter="#statusEditorCounter"></textarea>
				<span id="statusEditorCounter" title="{xen:phrase characters_remaining}"></span>
				<div class="explain"><h3 class="statusHeader">{xen:phrase current_status}:</h3> <span class="CurrentStatus"><xen:if is="{$visitor.status}">{xen:helper bodytext, $visitor.status}<xen:else />({xen:phrase none})</xen:if></span><!--TODO: clearing--></div>
			</dd>
		</dl>
	</xen:if>
	</xen:hook>

	<xen:if hascontent="true">
		<fieldset>
			<xen:contentcheck>
				<xen:if is="{$canEditAvatar}">
					<dl class="ctrlUnit avatarEditor">
						<dt><label>{xen:phrase avatar}:</label></dt>
						<dd>
							<xen:avatar user="$visitor" size="m" class="OverlayTrigger" href="{xen:link account/avatar}" />
							<p class="explain">{xen:phrase click_image_to_change_your_avatar}</p>
						</dd>
					</dl>
				</xen:if>
				
				<xen:if is="{$canEditCustomTitle}">
					<dl class="ctrlUnit">
						<dt><label for="ctrl_custom_title">{xen:phrase custom_title}:</label></dt>
						<dd>
							<input type="text" name="custom_title" value="{$visitor.custom_title}" id="ctrl_custom_title" class="textCtrl" />
							<p class="explain">{xen:phrase if_specified_replace_title_that_displays_under_name_in_posts}</p>
						</dd>
					</dl>
				</xen:if>
			</xen:contentcheck>
		</fieldset>
	</xen:if>

	<xen:hook name="account_personal_details_biometrics">
	<fieldset>
		<dl class="ctrlUnit">
			<dt><label>{xen:phrase gender}:</label></dt>
			<dd>
				<ul>
					<li><label for="ctrl_gender_male"><input type="radio" name="gender" value="male" id="ctrl_gender_male" {xen:checked "{$visitor.gender} == 'male'"} /> {xen:phrase male}</label></li>
					<li><label for="ctrl_gender_female"><input type="radio" name="gender" value="female" id="ctrl_gender_female" {xen:checked "{$visitor.gender} == 'female'"}  /> {xen:phrase female}</label></li>
					<li><label for="ctrl_gender_"><input type="radio" name="gender" value="" id="ctrl_gender_" {xen:checked "{$visitor.gender} == ''"}  /> ({xen:phrase unspecified})</label></li>
				</ul>
			</dd>
		</dl>

		<dl class="ctrlUnit OptOut">
			<dt>{xen:phrase date_of_birth}:</dt>
			<dd>
				<xen:if is="{$visitor.dob_day} && {$visitor.dob_month} && {$visitor.dob_year}">
					{xen:date $birthday.timeStamp, $birthday.format}
					<p class="explain">{xen:phrase once_your_birthday_has_been_entered_it_cannot_be_changed}</p>
				<xen:else />
					<xen:include template="helper_birthday_input">
						<xen:map from="$visitor" to="$user" />
					</xen:include>
				</xen:if>
			</dd>
		</dl>

		<xen:include template="account_privacy_dob" />
	</fieldset>
	</xen:hook>

	<xen:hook name="account_personal_details_information">
	<fieldset>
		<dl class="ctrlUnit">
			<dt><label for="ctrl_location">{xen:phrase location}:</label></dt>
			<dd><input type="text" name="location" value="{$visitor.location}" id="ctrl_location" class="textCtrl OptOut" /></dd>
		</dl>

		<dl class="ctrlUnit">
			<dt><label for="ctrl_occupation">{xen:phrase occupation}:</label></dt>
			<dd><input type="text" name="occupation" value="{$visitor.occupation}" id="ctrl_occupation" class="textCtrl OptOut" /></dd>
		</dl>

		<dl class="ctrlUnit">
			<dt><label for="ctrl_homepage">{xen:phrase home_page}:</label></dt>
			<dd><input type="url" name="homepage" value="{$visitor.homepage}" id="ctrl_homepage" class="textCtrl" /></dd>
		</dl>
		
		<xen:include template="custom_fields_edit" />
	</fieldset>
	</xen:hook>

	<xen:hook name="account_personal_details_about">
	<dl class="ctrlUnit OptOut">
		<dt><label for="ctrl_about">{xen:phrase about_you}:</label> <dfn>{xen:phrase you_may_use_bb_code}</dfn></dt>
		<dd>{xen:raw $aboutEditor}</dd>
	</dl>
	</xen:hook>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" name="save" value="{xen:phrase save_changes}" accesskey="s" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="account_preferences" version_id="1040032" version_string="1.4.0 Beta 2"><![CDATA[<xen:title>{xen:phrase browsing_preferences}</xen:title>

<xen:require css="account.css" />

<form method="post" class="xenForm formOverlay NoFixedOverlay AutoValidator"
	action="{xen:link 'account/preferences-save'}"
	data-fieldValidatorUrl="{xen:link 'account/validate-field.json'}"
	data-redirect="yes">

	<!--<h3 class="sectionHeader">{xen:phrase appearance}</h3>-->
	<xen:hook name="account_preferences_appearance">
	<xen:if is="{$canChangeStyle}">	
		<dl class="ctrlUnit">
			<dt><label for="ctrl_style_id">{xen:phrase style}:</label></dt>
			<dd>
				<select name="style_id" class="textCtrl OptOut" id="ctrl_style_id" autofocus="on">
					<option value="0">({xen:phrase use_default_style}: {$defaultStyle.title})</option>
					<optgroup label="{xen:phrase styles}:">
					<xen:foreach loop="$styles" key="$styleId" value="$style">
						<xen:if is="{$style.user_selectable} OR {$visitor.is_admin}">
							<option value="{$styleId}" class="{$style.depthClass}" {xen:selected '{$styleId} == {$visitor.style_id}'}>{$style.depthPrefix}{$style.title}{xen:if '!{$style.user_selectable}', ' *'}</option>
						</xen:if>
					</xen:foreach>
					</optgroup>
				</select>
				<p class="explain">{xen:phrase you_may_view_site_in_any_of_styles_provided_here}</p>
			</dd>
		</dl>
	<xen:else />
		<input type="hidden" name="style_id" value="{$visitor.style_id}" />
	</xen:if>
	</xen:hook>


	<h3 class="sectionHeader">{xen:phrase locale}</h3>
	<fieldset>
	<xen:hook name="account_preferences_locale">
	
	<xen:if is="{$canChangeLanguage}">
		<dl class="ctrlUnit">
			<dt><label for="ctrl_language_id">{xen:phrase language}:</label></dt>
			<dd>
				<select name="language_id" class="textCtrl" id="ctrl_language_id">
					<xen:foreach loop="$languages" key="$languageId" value="$language">
						<option value="{$languageId}" {xen:selected '{$languageId} == {$visitor.effectiveLanguageId}'}>{$language.title}</option>
					</xen:foreach>
				</select>
				<p class="explain">{xen:phrase interface_of_site_can_be_displayed_using_any_languages}</p>
			</dd>
		</dl>
	<xen:else />
		<input type="hidden" name="language_id" value="{$visitor.effectiveLanguageId}" />
	</xen:if>

	<dl class="ctrlUnit">
		<dt><label for="ctrl_timezone">{xen:phrase time_zone}:</label></dt>
		<dd>
			<select name="timezone" class="textCtrl" id="ctrl_timezone">
				<xen:foreach loop="$timeZones" key="$identifier" value="$name">
					<option value="{$identifier}" {xen:selected "{$identifier} == {$visitor.timezone}"}>{$name}</option>
				</xen:foreach>
			</select>
		</dd>
	</dl>
	</xen:hook>
	</fieldset>
	
	<h3 class="sectionHeader">{xen:phrase options}</h3>
	
	<xen:hook name="account_preferences_options">
	<dl class="ctrlUnit">
		<dt></dt>
		<dd>
			<ul>
				<li><label><input type="checkbox" name="default_watch_state" value="1" class="Disabler" id="ctrl_default_watch_state" {xen:checked $visitor.default_watch_state} />
					{xen:phrase automatically_watch_threads_you_create_or_when_you_reply}...</label>
					<ul id="ctrl_default_watch_state_Disabler">
						<li><label><input type="checkbox" name="default_watch_state_email" value="1" {xen:checked "{$visitor.default_watch_state} == 'watch_email'"} />
							{xen:phrase and_receive_email_notifications_of_replies}</label></li>
					</ul></li>				
				<li><label for="ctrl_enable_rte"><input type="checkbox" name="enable_rte" value="1" id="ctrl_enable_rte" {xen:checked "{$visitor.enable_rte}"} />
					{xen:phrase use_rich_text_editor_to_create_and_edit_messages}</label></li>
				<xen:if is="{$xenOptions.swfUpload}">
					<li><label for="ctrl_enable_flash_uploader"><input type="checkbox" name="enable_flash_uploader" value="1" id="ctrl_enable_flash_uploader" {xen:checked "{$visitor.enable_flash_uploader}"} />
						{xen:phrase use_flash_uploader_to_upload_attachments}</label></li>	
				</xen:if>
				<li><label for="ctrl_content_show_signature"><input type="checkbox" name="content_show_signature" value="1" id="ctrl_content_show_signature" {xen:checked "{$visitor.content_show_signature}"} />
					{xen:phrase show_peoples_signatures_with_their_messages}</label></li>				
				<li>
					<label for="ctrl_visible"><input type="checkbox" name="visible" value="1" id="ctrl_visible" class="OptOut Disabler" {xen:checked "{$visitor.visible}"} /> {xen:phrase show_your_online_status}</label>
					<p class="hint">{xen:phrase this_will_allow_other_people_to_see_when_you_online}</p>
					<ul id="ctrl_visible_Disabler">
						<li>
							<label><input type="checkbox" name="activity_visible" value="1" class="OptOut" {xen:checked $visitor.activity_visible} /> {xen:phrase show_your_current_activity}</label>
							<p class="hint">{xen:phrase this_will_allow_other_people_to_see_what_page_you_currently_viewing}</p>
						</li>
					</ul>
				</li>
			</ul>
			<xen:if is="!{$xenOptions.swfUpload}">
				<input type="hidden" name="enable_flash_uploader" value="{xen:if $visitor.enable_flash_uploader, 1, 0}" />
			</xen:if>
		</dd>
	</dl>
	
	<xen:include template="custom_fields_edit" />
		
	</xen:hook>
	
	<xen:if is="{$xenOptions.enableNotices} AND {$showNoticeReset}">
	<h3 class="sectionHeader">{xen:phrase notices}</h3>
	
	<dl class="ctrlUnit">
		<dt></dt>
		<dd>
			<ul>
				<li><label><input type="checkbox" name="restore_notices" value="1" />
					{xen:phrase restore_dismissed_notices}</label>
					<p class="hint">{xen:phrase restore_dismissed_notices_hint}</p></li>
			</ul>
		</dd>
	</dl>
	</xen:if>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" name="save" value="{xen:phrase save_changes}" accesskey="s" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="account_privacy" version_id="1040032" version_string="1.4.0 Beta 2"><![CDATA[<xen:title>{xen:phrase privacy}</xen:title>

<xen:require css="account.css" />

<form method="post" class="xenForm privacyForm AutoValidator"
	action="{xen:link 'account/privacy-save'}"
	data-fieldValidatorUrl="{xen:link 'account/validate-field.json'}">
	
	<xen:hook name="account_privacy_top">

	<dl class="ctrlUnit surplusLabel">
		<dt><label>{xen:phrase activity_display}:</label></dt>
		<dd>
			<ul>
				<li>
					<label for="ctrl_visible"><input type="checkbox" name="visible" value="1" id="ctrl_visible" class="OptOut Disabler" {xen:checked "{$visitor.visible}"} /> {xen:phrase show_your_online_status}</label>
					<p class="hint">{xen:phrase this_will_allow_other_people_to_see_when_you_online}</p>
					<ul id="ctrl_visible_Disabler">
						<li>
							<label><input type="checkbox" name="activity_visible" value="1" class="OptOut" {xen:checked $visitor.activity_visible} /> {xen:phrase show_your_current_activity}</label>
							<p class="hint">{xen:phrase this_will_allow_other_people_to_see_what_page_you_currently_viewing}</p>
						</li>
					</ul>
				</li>
			</ul>
		</dd>
	</dl>

	<dl class="ctrlUnit surplusLabel">
		<dt><label>{xen:phrase administrator_email}:</label></dt>
		<dd>
			<ul>
				<li><label for="ctrl_receive_admin_email"><input type="checkbox" name="receive_admin_email" value="1" id="ctrl_receive_admin_email" class="OptOut" {xen:checked "{$visitor.receive_admin_email}"} /> {xen:phrase receive_site_mailings}</label> <p class="hint">{xen:phrase you_will_receive_emails_sent_by_administrator_to_all_members}</p></li>
			</ul>
		</dd>
	</dl>

	<xen:include template="account_privacy_dob" />
	
	</xen:hook>

	<h3 class="sectionHeader">{xen:phrase people_who_may}...</h3>

	<fieldset>
		<dl class="ctrlUnit sectionLink" id="personal_details">
			<dt><a href="{xen:link 'account/personal-details'}">{xen:phrase edit_your_personal_details}</a></dt>
			<dd>
				<ul>
					<xen:hook name="account_privacy_personal_details">
					<li><label for="ctrl_allow_view_profile_enable"><input type="checkbox" name="allow_view_profile_enable" value="1" id="ctrl_allow_view_profile_enable" class="Disabler OptOut" {xen:checked "{$visitor.allow_view_profile} != 'none' "} /> {xen:phrase view_your_details_on_your_profile_page}:</label>
						<ul id="ctrl_allow_view_profile_enable_Disabler">
							<li>
								<select name="allow_view_profile" class="textCtrl autoSize" id="ctrl_allow_view_profile">
									<option value="everyone" {xen:selected "{$visitor.allow_view_profile} == 'everyone' "}>{xen:phrase all_visitors}</option>
									<option value="members"  {xen:selected "{$visitor.allow_view_profile} == 'members'  "}>{xen:phrase members_only}</option>
									<option value="followed" {xen:selected "{$visitor.allow_view_profile} == 'followed' "}>{xen:phrase people_you_follow_only}</option>
								</select>
							</li>
						</ul>
					</li>
					<li><label for="ctrl_allow_post_profile_enable"><input type="checkbox" name="allow_post_profile_enable" value="1" id="ctrl_allow_post_profile_enable" class="Disabler OptOut" {xen:checked "{$visitor.allow_post_profile} != 'none' "} /> {xen:phrase post_messages_on_your_profile_page}:</label>
						<ul id="ctrl_allow_post_profile_enable_Disabler">
							<li>
								<select name="allow_post_profile" class="textCtrl autoSize" id="ctrl_allow_post_profile">
									<xen:comment><option value="everyone" {xen:selected "{$visitor.allow_post_profile} == 'everyone' "} disabled="disabled">{xen:phrase all_visitors}</option></xen:comment>
									<option value="members"  {xen:selected "{$visitor.allow_post_profile} == 'members'  "}>{xen:phrase members_only}</option>
									<option value="followed" {xen:selected "{$visitor.allow_post_profile} == 'followed' "}>{xen:phrase people_you_follow_only}</option>
								</select>
							</li>
						</ul>
					</li>
					</xen:hook>
				</ul>
			</dd>
		</dl>

		<xen:if is="{$xenOptions.enableNewsFeed}">
		<dl class="ctrlUnit surplusLabel">
			<dt><label for="ctrl_allow_receive_news_feed">{xen:phrase news_feed}:</label></dt>
			<dd>
				<ul>
					<xen:hook name="account_privacy_news_feed">
					<li><label for="ctrl_allow_receive_news_feed_enable"><input type="checkbox" name="allow_receive_news_feed_enable" value="1" id="ctrl_allow_receive_news_feed_enable" class="Disabler OptOut" {xen:checked "{$visitor.allow_receive_news_feed} != 'none' "} /> {xen:phrase receive_your_news_feed}:</label>
						<ul id="ctrl_allow_receive_news_feed_enable_Disabler">
							<li>
								<select name="allow_receive_news_feed" class="textCtrl autoSize" id="ctrl_allow_receive_news_feed">
									<option value="everyone" {xen:selected "{$visitor.allow_receive_news_feed} == 'everyone' "}>{xen:phrase all_visitors}</option>
									<option value="members"  {xen:selected "{$visitor.allow_receive_news_feed} == 'members'  "}>{xen:phrase members_only}</option>
									<option value="followed" {xen:selected "{$visitor.allow_receive_news_feed} == 'followed' "}>{xen:phrase people_you_follow_only}</option>
								</select>
							</li>
						</ul>
					</li>
					</xen:hook>
				</ul>
			</dd>
		</dl>
	</fieldset>
	<xen:else />
	<input type="hidden" name="allow_receive_news_feed" value="{$visitor.allow_receive_news_feed}" />
	</xen:if>

	<fieldset>
		<dl class="ctrlUnit sectionLink" id="contact_details">
			<dt><a href="{xen:link 'account/contact-details'}">{xen:phrase edit_your_contact_details}</a></dt>
			<dd>
				<ul>
					<xen:hook name="account_privacy_contact_details">
					<li><label for="ctrl_allow_send_personal_conversation_enable"><input type="checkbox" name="allow_send_personal_conversation_enable" value="1" id="ctrl_allow_send_personal_conversation_enable" class="Disabler OptOut" {xen:checked "{$visitor.allow_send_personal_conversation} != 'none' "} /> {xen:phrase start_conversations_with_you}:</label>
						<ul id="ctrl_allow_send_personal_conversation_enable_Disabler">
							<li>
								<select name="allow_send_personal_conversation" class="textCtrl autoSize" id="ctrl_allow_send_personal_conversation">
									<xen:comment><option value="everyone" {xen:selected "{$visitor.allow_send_personal_conversation} == 'everyone' "} disabled="disabled">{xen:phrase all_visitors}</option></xen:comment>
									<option value="members"  {xen:selected "{$visitor.allow_send_personal_conversation} == 'members'  "}>{xen:phrase members_only}</option>
									<option value="followed" {xen:selected "{$visitor.allow_send_personal_conversation} == 'followed' "}>{xen:phrase people_you_follow_only}</option>
								</select>
							</li>
						</ul>
					</li>
					<li><label for="ctrl_allow_view_identities_enable"><input type="checkbox" name="allow_view_identities_enable" value="1" id="ctrl_allow_view_identities_enable" class="Disabler OptOut" {xen:checked "{$visitor.allow_view_identities} != 'none' "} /> {xen:phrase view_your_identities}:</label>
						<ul id="ctrl_allow_view_identities_enable_Disabler">
							<li>
								<select name="allow_view_identities" class="textCtrl autoSize" id="ctrl_allow_view_identities">
									<option value="everyone" {xen:selected "{$visitor.allow_view_identities} == 'everyone' "}>{xen:phrase all_visitors}</option>
									<option value="members"  {xen:selected "{$visitor.allow_view_identities} == 'members'  "}>{xen:phrase members_only}</option>
									<option value="followed" {xen:selected "{$visitor.allow_view_identities} == 'followed' "}>{xen:phrase people_you_follow_only}</option>
								</select>
							</li>
						</ul>
					</li>
					</xen:hook>
				</ul>
			</dd>
		</dl>
	</fieldset>
	
	<xen:hook name="account_privacy_bottom" />

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" name="save" value="{xen:phrase save_changes}" accesskey="s" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="account_privacy_dob" version_id="1010470" version_string="1.1.4"><![CDATA[<xen:if is="{$isPrivacySettings}"><h3 class="sectionHeader">{xen:phrase date_of_birth_privacy}</h3></xen:if>
<dl class="ctrlUnit{xen:if '!{$isPrivacySettings}', ' sectionLink'}">
	<xen:if is="{$isPrivacySettings}">
		<dt></dt>
	<xen:else />
		<dt><a href="{xen:link 'account/privacy'}">{xen:phrase edit_your_privacy_settings}</a></dt>
	</xen:if>
	<dd>
		<ul>
			<li>
				<label for="ctrl_show_dob_date"><input type="checkbox" name="show_dob_date" value="1" id="ctrl_show_dob_date" class="Disabler" {xen:checked "{$visitor.show_dob_date}"} /> {xen:phrase show_day_and_month_of_birth}</label>
				<ul id="ctrl_show_dob_date_Disabler">
					<li><label for="ctrl_show_dob_year"><input type="checkbox" name="show_dob_year" value="1" id="ctrl_show_dob_year" {xen:checked "{$visitor.show_dob_year}"} /> {xen:phrase show_year_of_birth}</label> <p class="hint">{xen:phrase this_will_allow_people_to_see_your_age}</p></li>
				</ul>
			</li>
		</ul>
	</dd>
</dl>]]></template>
  <template title="account_request_password" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<xen:title>{xen:phrase request_password}</xen:title>

<form action="{xen:link account/request-password}" method="post" class="xenForm formOverlay AutoValidator">

	<p>{xen:phrase your_account_does_not_currently_have_password_confirm_generate, 'email={$visitor.email}'}</p>
	
	<dl class="ctrlUnit submitUnit">
			<dt></dt>
			<dd>
				<input type="submit" value="{xen:phrase request_password}" class="button primary" />
			</dd>
		</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	<input type="hidden" name="_xfConfirm" value="1" />
</form>]]></template>
  <template title="account_security" version_id="1040470" version_string="1.4.4"><![CDATA[<xen:title>{xen:phrase password}</xen:title>

<xen:require css="account.css" />

<form method="post" class="xenForm AutoValidator ContactDetailsForm"
	action="{xen:link 'account/security-save'}"
	data-redirect="yes">
	
	<xen:if is="{$hasPassword}">
		<dl class="ctrlUnit">
			<dt><label for="ctrl_password_original">{xen:phrase your_existing_password}:</label></dt>
			<dd>
				<input type="password" name="old_password" value="" dir="ltr" class="textCtrl" id="ctrl_password_original" autofocus="autofocus" />
				<p class="explain">{xen:phrase you_must_verify_existing_password_before_changing}</p>
			</dd>
		</dl>
	
		<fieldset>
			<dl class="ctrlUnit">
				<dt><label for="ctrl_password">{xen:phrase new_password}:</label></dt>
				<dd><input type="password" name="password" value="" dir="ltr" class="textCtrl" id="ctrl_password" /></dd>
			</dl>
	
			<dl class="ctrlUnit">
				<dt><label for="ctrl_password_confirm">{xen:phrase confirm_new_password}:</label></dt>
				<dd><input type="password" name="password_confirm" value="" class="textCtrl" dir="ltr" id="ctrl_password_confirm" /></dd>
			</dl>
		</fieldset>
	
		<dl class="ctrlUnit submitUnit">
			<dt></dt>
			<dd><input type="submit" name="save" value="{xen:phrase save_changes}" accesskey="s" class="button primary" /></dd>
		</dl>
	<xen:else />
		<dl class="ctrlUnit fullWidth">
			<dt></dt>
			<dd>{xen:phrase your_account_does_not_currently_have_password} <a href="{xen:link account/request-password}" class="OverlayTrigger">{xen:phrase request_password_be_emailed_to_you}</a></dd>
		</dl>
	</xen:if>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="account_signature" version_id="1020034" version_string="1.2.0 Beta 4"><![CDATA[<xen:title>{xen:phrase edit_signature}</xen:title>

<xen:require css="account.css" />

<form method="post" class="xenForm AutoValidator Preview"
	action="{xen:link 'account/signature-save'}"
	data-previewUrl="{xen:link 'account/signature-preview'}">

	<dl class="ctrlUnit fullWidth">
		<dt></dt>
		<dd>{xen:raw $signatureEditor}</dd>
	</dl>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd>
			<input type="submit" name="save" value="{xen:phrase save_changes}" accesskey="s" class="button primary" />
			<input type="button" value="{xen:phrase preview}..." class="button PreviewButton JsOnly" />
		</dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="account_signature_preview" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<div class="section">
	<h3 class="subHeading">{xen:phrase preview}</h3>
	<div class="messageText primaryContent baseHtml">{xen:raw $signatureParsed}</div>
</div>]]></template>
  <template title="account_stop_following" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<xen:title>{xen:phrase stop_following_x, 'name={$followed.username}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link 'full:account/following'}">{xen:phrase people_you_follow}</xen:breadcrumb>
</xen:navigation>

<xen:require css="delete_confirmation.css" />

<form action="{xen:link 'account/stop-following', $followed}" method="post" class="deleteConfirmForm">
	<p>{xen:phrase please_confirm_that_you_want_to_stop_following_x, 'name={$followed.username}'}</p>

	<input type="hidden" name="user_id" value="{$followed.user_id}" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	<input type="submit" value="{xen:phrase stop_following_x, 'name={$followed.username}'}" accesskey="s" class="button primary" />
</form>]]></template>
  <template title="account_stop_ignoring" version_id="1010035" version_string="1.1.0 Beta 5"><![CDATA[<xen:title>{xen:phrase stop_ignoring_x, 'name={$user.username}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link 'full:account/ignored'}">{xen:phrase people_you_ignore}</xen:breadcrumb>
</xen:navigation>

<xen:require css="delete_confirmation.css" />

<form action="{xen:link 'account/stop-ignoring'}" method="post" class="deleteConfirmForm">
	<p>{xen:phrase please_confirm_that_you_want_to_stop_ignoring_x, 'name={$user.username}'}</p>

	<input type="hidden" name="user_id" value="{$user.user_id}" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="submit" value="{xen:phrase stop_ignoring_x, 'name={$user.username}'}" accesskey="s" class="button primary" />
</form>]]></template>
  <template title="account_upgrades" version_id="1040470" version_string="1.4.4"><![CDATA[<xen:title>{xen:phrase account_upgrades}</xen:title>

<xen:require css="account_upgrades.css" />

<xen:if is="{$available}">
	<div class="section">
		<h3 class="subHeading">{xen:phrase available_upgrades}</h3>
		<ul>
		<xen:foreach loop="$available" value="$upgrade">
			<li class="primaryContent upgrade">
					<form action="{$payPalUrl}" method="post" class="upgradeForm">
						<div class="cost">{$upgrade.costPhrase}</div>
						<xen:if is="{$upgrade.length_unit} AND {$upgrade.recurring}">
								
							<input type="hidden" name="cmd" value="_xclick-subscriptions" />
							<input type="hidden" name="a3" value="{$upgrade.cost_amount}" />
							<input type="hidden" name="p3" value="{$upgrade.length_amount}" />
							<input type="hidden" name="t3" value="{$upgrade.lengthUnitPP}" />
							<input type="hidden" name="src" value="1" />
							<input type="hidden" name="sra" value="1" />
							
							<input type="submit" value="{xen:phrase subscribe}" class="button" />
						<xen:else />
							<input type="hidden" name="cmd" value="_xclick" />
							<input type="hidden" name="amount" value="{$upgrade.cost_amount}" />
							
							<input type="submit" value="{xen:phrase purchase}" class="button" />
						</xen:if>
						
						<input type="hidden" name="business" value="{$xenOptions.payPalPrimaryAccount}" />
						<input type="hidden" name="currency_code" value="{$upgrade.currency}" />
						<input type="hidden" name="item_name" value="{xen:phrase account_upgrade}: {$upgrade.title} ({$visitor.username})" />
						<input type="hidden" name="quantity" value="1" />
						<input type="hidden" name="no_note" value="1" />
						<input type="hidden" name="no_shipping" value="1" />
						<input type="hidden" name="custom" value="{$visitor.user_id},{$upgrade.user_upgrade_id},token,{$visitor.csrf_token_page}" />
						
						<input type="hidden" name="charset" value="utf-8" />
						<input type="hidden" name="email" value="{$visitor.email}" />
						
						<input type="hidden" name="return" value="{xen:link 'full:account/upgrade-purchase'}" />
						<input type="hidden" name="cancel_return" value="{xen:link 'full:index'}" />
						<input type="hidden" name="notify_url" value="{$xenOptions.boardUrl}/payment_callback.php" />
					</form>
					
					<div class="upgradeMain">
						<h4 class="title">{$upgrade.title}</h4>
						<xen:if is="{$upgrade.description}">
							<div class="description">{xen:raw $upgrade.description}</div>
						</xen:if>
					</div>
			</li>
		</xen:foreach>
		</ul>
	</div>
</xen:if>

<xen:if is="{$purchased}">
	<div class="section">
		<h3 class="subHeading">{xen:phrase purchased_upgrades}</h3>
		<ul>
		<xen:foreach loop="$purchased" value="$upgrade">
			<li class="primaryContent">
				<div class="upgrade">					
					<div class="upgradeForm">
						<xen:if is="{$upgrade.record.end_date}">
							<div>{xen:phrase expires}: <xen:datetime time="$upgrade.record.end_date" /></div>
						</xen:if>
						<xen:if is="{$upgrade.length_unit} AND {$upgrade.recurring}">
							<a href="{$payPalUrl}?cmd=_manage-paylist" class="button">{xen:phrase cancel_subscription}</a>
						</xen:if>
					</div>
					
					<div class="upgradeMain">
						<h4 class="title">{$upgrade.title}</h4>
						<xen:if is="{$upgrade.description}">
							<div class="description">{xen:raw $upgrade.description}</div>
						</xen:if>
					</div>
				</div>
			</li>
		</xen:foreach>
		</ul>
	</div>
</xen:if>]]></template>
  <template title="account_upgrades.css" version_id="1020270" version_string="1.2.2"><![CDATA[.upgrade
{
	overflow: hidden; zoom: 1;
}

.upgradeMain
{
	margin-right: 160px;
}
	.upgradeMain .title
	{
		font-size: 11pt;
	}

	.upgradeMain .description
	{
		font-size: 11px;
	}

.upgradeForm
{
	float: right;
	width: 150px;
	font-size: 11px;
}
	
	.upgradeForm .button
	{
		margin-top: 5px;
	}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveMediumWidth})
{
	.Responsive .upgrade
	{
		display: table;
		width: 100%;
		box-sizing: border-box;
	}
	
	.Responsive .upgradeForm
	{
		display: table-footer-group;
		float: none;
		width: auto;
	}
	
		.Responsive .upgradeForm .cost
		{
			float: left;
			margin-top: 5px;
		}
		
		.Responsive .upgradeForm .button
		{
			margin-top: 0;
			float: right;
		}
	
	.Responsive .upgradeMain
	{
		margin: 0;
		display: table-cell;
		padding-bottom: 5px;
	}
}
</xen:if>]]></template>
  <template title="account_upgrade_purchase" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<xen:title>{xen:phrase account_upgrade_purchased}</xen:title>

<p>{xen:phrase thank_you_for_purchasing_this_upgrade}</p>

<p>{xen:phrase when_payment_has_been_approved_your_account_will_be_upgraded}</p>]]></template>
  <template title="account_wrapper" version_id="1040032" version_string="1.4.0 Beta 2"><![CDATA[<xen:require css="account.css" />
<xen:edithint template="navigation_sidebar.css" />

<div class="container">
	<div class="navigationSideBar ToggleTriggerAnchor">
		<h4 class="heading ToggleTrigger" data-target="> ul" data-toggle-if-pointer="yes">{xen:phrase your_account} <span></span></h4>
		<ul data-toggle-class="menuVisible">
			<xen:hook name="account_wrapper_sidebar">
			<li class="section">
				<ul>
					<xen:hook name="account_wrapper_sidebar_your_account">
					<li><a
						class="{xen:if "{$selectedKey} == 'alerts/latest'", 'secondaryContent', 'primaryContent'}"
						href="{xen:link account/alerts}">{xen:phrase your_alerts}</a></li>
					<xen:if is="{$xenOptions.enableNewsFeed}"><li><a
						class="{xen:if "{$selectedKey} == 'alerts/newsFeed'", 'secondaryContent', 'primaryContent'}"
						href="{xen:link account/news-feed}">{xen:phrase your_news_feed}</a></li></xen:if>
					<li><a
						class="{xen:if "{$selectedKey} == 'alerts/likes'", 'secondaryContent', 'primaryContent'}"
						href="{xen:link account/likes}">{xen:phrase likes_youve_received}</a></li>
					<li><a
						class="primaryContent"
						href="{xen:link watched/threads}">{xen:phrase watched_threads}</a></li>
					<li><a
						class="primaryContent"
						href="{xen:link watched/forums}">{xen:phrase watched_forums}</a></li>
					</xen:hook>
				</ul>
			</li>
			
			<!-- slot: pre_conversations -->
			
			<li class="section"><h4 class="subHeading">{xen:phrase conversations}</h4>
				<ul>
					<xen:hook name="account_wrapper_sidebar_conversations">
					<li><a
						class="{xen:if "{$selectedKey} == 'conversations/view'", 'secondaryContent', 'primaryContent'}"
						href="{xen:link conversations}">{xen:phrase view_conversations}</a></li>
					<xen:if is="{$canStartConversation}"><li><a
						class="{xen:if "{$selectedKey} == 'conversations/add'", 'secondaryContent', 'primaryContent'}"
						href="{xen:link conversations/add}">{xen:phrase start_new_conversation}</a></li></xen:if>
					</xen:hook>
				</ul>
			</li>
			
			<!-- slot: pre_settings -->
			
			<li class="section"><h4 class="subHeading">{xen:phrase settings}</h4>
				<ul>
					<xen:hook name="account_wrapper_sidebar_settings">
					<xen:if is="{$canEditProfile}"><li><a
						class="{xen:if "{$selectedKey} == 'account/personalDetails'", 'secondaryContent', 'primaryContent'}"
						href="{xen:link account/personal-details}">{xen:phrase personal_details}</a></li></xen:if>
					<xen:if is="{$canEditSignature}"><li><a
						class="{xen:if "{$selectedKey} == 'account/signature'", 'secondaryContent', 'primaryContent'}"
						href="{xen:link account/signature}">{xen:phrase signature}</a></li></xen:if>
					<li><a
						class="{xen:if "{$selectedKey} == 'account/contactDetails'", 'secondaryContent', 'primaryContent'}"
						href="{xen:link account/contact-details}">{xen:phrase contact_details}</a></li>
					<li><a
						class="{xen:if "{$selectedKey} == 'account/privacy'", 'secondaryContent', 'primaryContent'}"
						href="{xen:link account/privacy}">{xen:phrase privacy}</a></li>
					<li><a
						class="{xen:if "{$selectedKey} == 'account/preferences'", 'secondaryContent', 'primaryContent'}"
						href="{xen:link account/preferences}">{xen:phrase preferences}</a></li>
					<li><a
						class="{xen:if "{$selectedKey} == 'account/alertPreferences'", 'secondaryContent', 'primaryContent'}"
						href="{xen:link account/alert-preferences}">{xen:phrase alert_preferences}</a></li>
					<li><a
						class="{xen:if "{$selectedKey} == 'account/following'", 'secondaryContent', 'primaryContent'}"
						href="{xen:link account/following}">{xen:phrase people_you_follow}</a></li>
					<li><a
						class="{xen:if "{$selectedKey} == 'account/ignored'", 'secondaryContent', 'primaryContent'}"
						href="{xen:link account/ignored}">{xen:phrase people_you_ignore}</a></li>
					<xen:if is="{$xenCache.userUpgradeCount}"><li><a
						class="{xen:if "{$selectedKey} == 'account/upgrades'", 'secondaryContent', 'primaryContent'}"
						href="{xen:link account/upgrades}">{xen:phrase account_upgrades}</a></li></xen:if>
					<xen:if is="{$xenOptions.facebookAppId} OR {$xenOptions.twitterAppKey} OR {$xenOptions.googleClientId}"><li><a
						class="{xen:if "{$selectedKey} == 'account/externalAccounts'", 'secondaryContent', 'primaryContent'}"
						href="{xen:link account/external-accounts}">{xen:phrase external_accounts}</a></li></xen:if>
					<li><a
						class="{xen:if "{$selectedKey} == 'account/security'", 'secondaryContent', 'primaryContent'}"
						href="{xen:link account/security}">{xen:phrase password}</a></li>
					</xen:hook>
				</ul>
			</li>
			
			<li class="section">
				<ul>
					<li><a href="{xen:link logout, '', '_xfToken={$visitor.csrf_token_page}'}"
						class="LogOut primaryContent">{xen:phrase log_out}</a></li>
				</ul>
			</li>
			
			
			</xen:hook>
		</ul>
	</div>
	
	<div class="mainContentBlock section sectionMain insideSidebar">
		<xen:hook name="account_wrapper_content">{xen:raw $_subView}</xen:hook>
	</div>
</div>]]></template>
  <template title="addthis_ajax" version_id="1020570" version_string="1.2.5"><![CDATA[<xen:if is="{$xenOptions.addThis.enabled}">
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style addthis_32x32_style">
	<a class="addthis_button_preferred_1"></a>
	<a class="addthis_button_preferred_2"></a>
	<a class="addthis_button_preferred_3"></a>
	<a class="addthis_button_preferred_4"></a>
	<a class="addthis_button_preferred_5"></a>
	<a class="addthis_button_preferred_6"></a>
	<a class="addthis_button_preferred_7"></a>
	<a class="addthis_button_compact"></a>
	<a class="addthis_counter addthis_bubble_style"></a>
</div>

<script type="text/javascript">

var addthis_share = {
	url: "{xen:jsescape $url}",
	templates: {
		twitter: "{{title}} {{url}}{xen:if {$xenOptions.tweet.via}, ' via @{$xenOptions.tweet.via}'}"
	}
};
var addthis_config = {
	services_exclude: 'print'
};

// handle AddThis on AJAX-loaded page			
if (!window.addthis)
{
	XenForo.loadJs("//s7.addthis.com/js/250/addthis_widget.js#domready=1{xen:if {$xenOptions.addThis.pubId}, '&pubid={xen:jsescape $xenOptions.addThis.pubId}'}");
}
else
{
	addthis.toolbox($('.addthis_toolbox').get());
}

</script>
<!-- AddThis Button END -->
</xen:if>]]></template>
  <template title="ad_above_content" version_id="1000070" version_string="1.0.0"><![CDATA[<xen:hook name="ad_above_content" />]]></template>
  <template title="ad_above_top_breadcrumb" version_id="1000070" version_string="1.0.0"><![CDATA[<xen:hook name="ad_above_top_breadcrumb" />]]></template>
  <template title="ad_below_bottom_breadcrumb" version_id="1000170" version_string="1.0.1"><![CDATA[<xen:hook name="ad_below_bottom_breadcrumb" />]]></template>
  <template title="ad_below_content" version_id="1000070" version_string="1.0.0"><![CDATA[<xen:hook name="ad_below_content" />]]></template>
  <template title="ad_below_top_breadcrumb" version_id="1000070" version_string="1.0.0"><![CDATA[<xen:hook name="ad_below_top_breadcrumb" />]]></template>
  <template title="ad_forum_view_above_node_list" version_id="1000070" version_string="1.0.0"><![CDATA[<xen:hook name="ad_forum_view_above_node_list" />]]></template>
  <template title="ad_forum_view_above_thread_list" version_id="1000070" version_string="1.0.0"><![CDATA[<xen:hook name="ad_forum_view_above_thread_list" />]]></template>
  <template title="ad_header" version_id="1000070" version_string="1.0.0"><![CDATA[<xen:hook name="ad_header" />]]></template>
  <template title="ad_member_view_above_messages" version_id="1000070" version_string="1.0.0"><![CDATA[<xen:hook name="ad_member_view_above_messages" />]]></template>
  <template title="ad_member_view_below_avatar" version_id="1000070" version_string="1.0.0"><![CDATA[<xen:hook name="ad_member_view_below_avatar" />]]></template>
  <template title="ad_member_view_sidebar_bottom" version_id="1000070" version_string="1.0.0"><![CDATA[<xen:hook name="ad_member_view_sidebar_bottom" />]]></template>
  <template title="ad_message_below" version_id="1000070" version_string="1.0.0"><![CDATA[<xen:hook name="ad_message_below" />]]></template>
  <template title="ad_message_body" version_id="1000070" version_string="1.0.0"><![CDATA[<xen:hook name="ad_message_body" />]]></template>
  <template title="ad_sidebar_below_visitor_panel" version_id="1000070" version_string="1.0.0"><![CDATA[<xen:hook name="ad_sidebar_below_visitor_panel" />]]></template>
  <template title="ad_sidebar_bottom" version_id="1000070" version_string="1.0.0"><![CDATA[<xen:hook name="ad_sidebar_bottom" />]]></template>
  <template title="ad_sidebar_top" version_id="1000070" version_string="1.0.0"><![CDATA[<xen:hook name="ad_sidebar_top" />]]></template>
  <template title="ad_thread_list_below_stickies" version_id="1000070" version_string="1.0.0"><![CDATA[<xen:hook name="ad_thread_list_below_stickies" />]]></template>
  <template title="ad_thread_view_above_messages" version_id="1000070" version_string="1.0.0"><![CDATA[<xen:hook name="ad_thread_view_above_messages" />]]></template>
  <template title="ad_thread_view_below_messages" version_id="1000070" version_string="1.0.0"><![CDATA[<xen:hook name="ad_thread_view_below_messages" />]]></template>
  <template title="alert" version_id="1030270" version_string="1.3.2"><![CDATA[<li class="Alert listItem{xen:if '{$alert.new}', ' new'}{xen:if '{$alert.unviewed}', ' unviewed'} PopupItemLink" id="alert{$alert.alert_id}" data-author="{$alert.user.username}">

	<xen:avatar user="$alert.user" size="s" img="true" class="plainImage" />
	
	<div class="listItemText">
		<h3>{xen:raw $alert.template}</h3>
	
		<xen:datetime time="$alert.event_date" class="muted time" /><xen:if is="{$alert.new}"><span class="newIcon"></span></xen:if>
	</div>
</li>]]></template>
  <template title="alert_conversation_insert" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[{xen:phrase alert_conversation_insert,
	'username={xen:helper username, $user, 'subject'}',
	'conversation=<a href="{xen:link conversations, $content}" class="PopupItemLink">{$content.title}</a>'
}]]></template>
  <template title="alert_conversation_join" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[{xen:phrase alert_conversation_join,
	'username={xen:helper username, $user, 'subject'}',
	'conversation=<a href="{xen:link conversations, $content}" class="PopupItemLink">{$content.title}</a>'
}]]></template>
  <template title="alert_conversation_reply" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[{xen:phrase alert_conversation_reply,
	'username={xen:helper username, $user, 'subject'}',
	'conversation=<a href="{xen:link conversations/message, $content, 'message_id={$extra.message_id}'}" class="PopupItemLink">{$content.title}</a>'}]]></template>
  <template title="alert_post_insert" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:if is="{$content.post_id} == {$content.first_post_id}">
	{xen:phrase x_started_thread_y_may_be_more,
	'name={xen:helper username, $user, 'subject'}',
	'title=<a href="{xen:link posts, $content}" class="PopupItemLink">{xen:helper threadPrefix, $content}{$content.title}</a>'}
<xen:else />
	{xen:phrase x_replied_to_thread_y_may_be_more,
		'name={xen:helper username, $user, 'subject'}',
		'title=<a href="{xen:link posts, $content}" class="PopupItemLink">{xen:helper threadPrefix, $content}{$content.title}</a>'}
</xen:if>]]></template>
  <template title="alert_post_insert_attachment" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:if is="{$content.post_id} == {$content.first_post_id}">
	{xen:phrase x_started_thread_y_may_be_more,
	'name={xen:helper username, $user, 'subject'}',
	'title=<a href="{xen:link posts, $content}" class="PopupItemLink">{xen:helper threadPrefix, $content}{$content.title}</a>'}
<xen:else />
	{xen:phrase x_attached_a_file_to_thread_y_may_be_more,
		'name={xen:helper username, $user, 'subject'}',
		'title=<a href="{xen:link posts, $content}" class="PopupItemLink">{xen:helper threadPrefix, $content}{$content.title}</a>'}
</xen:if>]]></template>
  <template title="alert_post_like" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[{xen:phrase x_liked_your_post_in_the_thread_y,
	'name={xen:helper username, $user, 'subject'}',
	'title=<a href="{xen:link posts, $content}" class="PopupItemLink">{xen:helper threadPrefix, $content}{$content.title}</a>'}]]></template>
  <template title="alert_post_quote" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[{xen:phrase x_quoted_your_post_in_thread_y,
	'name={xen:helper username, $user, 'subject'}',
	'title=<a href="{xen:link posts, $content}" class="PopupItemLink">{xen:helper threadPrefix, $content}{$content.title}</a>'}]]></template>
  <template title="alert_post_tag" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[{xen:phrase x_tagged_you_in_post_in_thread_y,
	'name={xen:helper username, $user, 'subject'}',
	'title=<a href="{xen:link posts, $content}" class="PopupItemLink">{xen:helper threadPrefix, $content}{$content.title}</a>'}]]></template>
  <template title="alert_profile_post_comment_other_commenter" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[<xen:if is="{$content.user_id} == {$content.profile_user_id}">
	{xen:phrase x_also_commented_on_ys_status,
		'name={xen:helper username, $user, 'subject'}',
		'poster_params=href="{xen:link profile-posts, $content}" class="PopupItemLink"',
		'poster={$content.username}'}.
<xen:else />
	{xen:phrase x_also_commented_on_ys_profile_post,
		'name={xen:helper username, $user, 'subject'}',
		'poster_params=href="{xen:link profile-posts, $content}" class="PopupItemLink"',
		'poster={$content.username}'}.
</xen:if>]]></template>
  <template title="alert_profile_post_comment_your_post" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[{xen:phrase x_commented_on_your_post_on_ys_profile,
	'name={xen:helper username, $user, 'subject'}',
	'post_params=href="{xen:link profile-posts, $content}" class="PopupItemLink"',
	'profile={$content.profile_username}'}]]></template>
  <template title="alert_profile_post_comment_your_profile" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[<xen:if is="{$visitor.user_id} == {$content.user_id}">
	{xen:phrase x_commented_on_your_status,
		'name={xen:helper username, $user, 'subject'}',
		'status_attributes=href="{xen:link profile-posts, $content}" class="PopupItemLink"'}
<xen:else />
	{xen:phrase x_commented_on_ys_post_on_your_profile,
		'name={xen:helper username, $user, 'subject'}',
		'post_attributes=href="{xen:link profile-posts, $content}" class="PopupItemLink"',
		'poster={$content.username}'}
</xen:if>]]></template>
  <template title="alert_profile_post_insert" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[{xen:phrase alert_profile_post_insert,
	'username={xen:helper username, $user, 'subject'}',
	'profilePageLinkAttributes=href="{xen:link profile-posts, $content}" class="PopupItemLink"'}]]></template>
  <template title="alert_profile_post_like" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[<xen:if is="{$visitor.user_id} == {$content.profile_user_id}">
	{xen:phrase x_liked_your_status,
		'name={xen:helper username, $user, 'subject'}',
		'status_attributes=href="{xen:link profile-posts, $content}" class="PopupItemLink"'}
<xen:else />
	{xen:phrase x_liked_your_post_on_ys_profile,
		'name={xen:helper username, $user, 'subject'}',
		'post_attributes=href="{xen:link profile-posts, $content}" class="PopupItemLink"',
		'profile={$content.profile_username}'}
</xen:if>]]></template>
  <template title="alert_profile_post_tag" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[{xen:phrase x_tagged_you_message_on_ys_profile,
		'name={xen:helper username, $user, 'subject'}',
		'post_attributes=href="{xen:link profile-posts, $content}" class="PopupItemLink"',
		'profile={$content.profile_username}'}]]></template>
  <template title="alert_profile_post_tag_comment" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[{xen:phrase x_tagged_you_comment_on_ys_profile,
		'name={xen:helper username, $user, 'subject'}',
		'post_attributes=href="{xen:link profile-posts, $content}" class="PopupItemLink"',
		'profile={$content.profile_username}'}]]></template>
  <template title="alert_thread_reply_ban" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:if is="{$extra.expiry}">
	{xen:phrase you_unable_reply_to_thread_x_until_expiry_y, 'title=<a href="{xen:link threads, $content}" class="PopupItemLink">{xen:helper threadPrefix, $content}{$content.title}</a>', 'expiry={xen:date $extra.expiry}'}
<xen:else />
	{xen:phrase you_are_no_longer_able_to_reply_thread_x, 'title=<a href="{xen:link threads, $content}" class="PopupItemLink">{xen:helper threadPrefix, $content}{$content.title}</a>'}
</xen:if>
<xen:if is="{$extra.reason}">{xen:phrase reason}: {$extra.reason}</xen:if>]]></template>
  <template title="alert_user_following" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[{xen:phrase alert_user_following,
	'username={xen:helper username, $user, 'subject PopupItemLink'}'}]]></template>
  <template title="alert_user_post_copy" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[{xen:phrase your_post_in_thread_x_was_copied_to_y, 'title={$extra.title}', 'target=<a href="{$extra.targetLink}" class="PopupItemLink">{$extra.targetTitle}</a>'}
<xen:if is="{$extra.reason}">{xen:phrase reason}: {$extra.reason}</xen:if>]]></template>
  <template title="alert_user_post_delete" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[{xen:phrase your_post_in_thread_x_was_deleted, 'title=<a href="{$extra.threadLink}" class="PopupItemLink">{$extra.title}</a>'}
<xen:if is="{$extra.reason}">{xen:phrase reason}: {$extra.reason}</xen:if>]]></template>
  <template title="alert_user_post_move" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[{xen:phrase your_post_in_thread_x_was_moved_to_y, 'title={$extra.title}', 'target=<a href="{$extra.targetLink}" class="PopupItemLink">{$extra.targetTitle}</a>'}
<xen:if is="{$extra.reason}">{xen:phrase reason}: {$extra.reason}</xen:if>]]></template>
  <template title="alert_user_report_rejected" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:if is="{$extra.comment}">
	{xen:phrase unfortunately_report_made_recently_rejected_comment_x, 'comment={$extra.comment}', 'title={$extra.title}'}
<xen:else />
	{xen:phrase unfortunately_report_made_recently_rejected, 'title={$extra.title}'}
</xen:if>]]></template>
  <template title="alert_user_report_resolved" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:if is="{$extra.comment}">
	{xen:phrase report_that_you_made_recently_has_been_resolved_comment_x, 'comment={$extra.comment}', 'title={$extra.title}'}
<xen:else />
	{xen:phrase report_that_you_made_recently_has_been_resolved, 'title={$extra.title}'}
</xen:if>]]></template>
  <template title="alert_user_thread_delete" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[{xen:phrase your_thread_x_was_deleted, 'title={$extra.title}'}
<xen:if is="{$extra.reason}">{xen:phrase reason}: {$extra.reason}</xen:if>]]></template>
  <template title="alert_user_thread_merge" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[{xen:phrase your_thread_x_was_merged_into_y, 'title={$extra.title}', 'target=<a href="{$extra.targetLink}" class="PopupItemLink">{$extra.targetTitle}</a>'}
<xen:if is="{$extra.reason}">{xen:phrase reason}: {$extra.reason}</xen:if>]]></template>
  <template title="alert_user_thread_move" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[{xen:phrase your_thread_x_was_moved_to_different_forum, 'title=<a href="{$extra.link}" class="PopupItemLink">{$extra.title}</a>'}
<xen:if is="{$extra.reason}">{xen:phrase reason}: {$extra.reason}</xen:if>]]></template>
  <template title="alert_user_trophy" version_id="1000051" version_string="1.0.0 Release Candidate 1"><![CDATA[{xen:phrase you_have_been_awarded_a_trophy_x,
	'trophy=<a href="{xen:link members/trophies, $visitor}" class="PopupItemLink OverlayTrigger">{$trophy}</a>'}]]></template>
  <template title="alert_user_upgrade_end" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[{xen:phrase one_account_upgrades_expired_renew_now,
	'link={xen:link account/upgrades}'}]]></template>
  <template title="attached_files" version_id="1040470" version_string="1.4.4"><![CDATA[<xen:require css="attached_files.css" />

<div class="attachedFiles">
	<h4 class="attachedFilesHeader">{xen:phrase attached_files}:</h4>
	<ul class="attachmentList SquareThumbs"
		data-thumb-height="{xen:calc 'min(100, {$xenOptions.attachmentThumbnailDimensions} / 2)'}"
		data-thumb-selector="div.thumbnail > a">
		<xen:foreach loop="$post.attachments" value="$attachment">
			<li class="attachment{xen:if {$attachment.thumbnailUrl}, ' image'}" title="{$attachment.filename}">
				<div class="boxModelFixer primaryContent">
					
					<div class="thumbnail">
						<xen:if is="{$attachment.thumbnailUrl} AND {$canViewAttachments}">
							<a href="{xen:link attachments, $attachment}" target="_blank" class="LbTrigger"
								data-href="{xen:link misc/lightbox}"><img 
								src="{$attachment.thumbnailUrl}" alt="{$attachment.filename}" class="LbImage" /></a>
						<xen:elseif is="{$attachment.thumbnailUrl}" />
							<a href="{xen:link attachments, $attachment}" target="_blank"><img
								src="{$attachment.thumbnailUrl}" alt="{$attachment.filename}" /></a>
						<xen:else />
							<a href="{xen:link attachments, $attachment}" target="_blank" class="genericAttachment"></a>
						</xen:if>
					</div>
					
					<div class="attachmentInfo pairsJustified">
						<h6 class="filename"><a href="{xen:link attachments, $attachment}" target="_blank">{$attachment.filename}</a></h6>
						<dl><dt>{xen:phrase file_size}:</dt> <dd>{xen:number $attachment.file_size, size}</dd></dl>
						<dl><dt>{xen:phrase views}:</dt> <dd>{xen:number $attachment.view_count}</dd></dl>
					</div>
				</div>
			</li>
		</xen:foreach>
	</ul>
</div>

<xen:comment><xen:require css="xenforo.css" /></xen:comment>]]></template>
  <template title="attached_files.css" version_id="1040470" version_string="1.4.4"><![CDATA[/* the attached files block is intended to appear like a bb code block */

.attachedFiles
{
	{xen:property bbCodeBlock}
}

.messageList.withSidebar .attachedFiles
{
	margin-right: 0px;
}

	.attachedFiles .attachedFilesHeader
	{
		{xen:property bbCodeBlockType}
		
		padding: 4px 8px;
	}

	.attachedFiles .attachmentList
	{
		/* roughly the same as "bbCodeCode" with the monospacing stuff removed */
		overflow: hidden; zoom: 1;		
		padding: 10px 10px 0;
		background: {xen:property primaryLightest} url('{xen:property imagePath}/xenforo/gradients/category-23px-light.png') repeat-x top;
		border-radius: 5px;
	}

		.attachment
		{
			float: left;
			width: 50%;
			max-width: 300px;
		}
		
		.attachment .boxModelFixer
		{
			overflow: hidden; zoom: 1;
			margin-bottom: 10px;
			margin-right: 10px;
			padding: 5px;				
			background-color: {xen:property contentBackground};
			border: 1px solid {xen:property primaryLighterStill};
			border-radius: 5px;	
		}
		
			<xen:set var="$attachThumbSize">{xen:calc 'min(100, {$xenOptions.attachmentThumbnailDimensions} / 2)'}px</xen:set>
		
			.attachment .thumbnail
			{
				float: left;						
				border-right: 1px solid {xen:property primaryLighterStill};
				padding-right: 5px;
				width: {$attachThumbSize};
				height: {$attachThumbSize};
				overflow: hidden;
			}
			
				.attachment .thumbnail .SquareThumb
				{
					width: {$attachThumbSize};
					height: {$attachThumbSize};
					border-radius: 3px;
				}
				
				.attachment .thumbnail .genericAttachment
				{
					{xen:property genericAttachmentThumb}
					
					margin: {xen:calc '({$xenOptions.attachmentThumbnailDimensions} / 2 - {xen:property genericAttachmentThumb.height}) / 2'}px {xen:calc '({$xenOptions.attachmentThumbnailDimensions} / 2 - {xen:property genericAttachmentThumb.width}) / 2'}px !important;
				}
			
		.attachment .attachmentInfo
		{
			white-space: nowrap;
			overflow: hidden; zoom: 1;
			font-size: 11px;
			padding-left: 5px;
		}
		
			.attachment .attachmentInfo .filename
			{
				text-overflow: ellipsis;
				overflow: hidden;
				max-width: 100%;
			}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveWideWidth})
{
	.Responsive .attachedFiles
	{
		margin-right: 0;
	}
}

@media (max-width:{xen:property maxResponsiveMediumWidth})
{
	html.Responsive .attachment
	{
		width: 100%;
	}
}
</xen:if>]]></template>
  <template title="attachment_editor" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:if is="{$attachmentParams}">

	<xen:require js="js/xenforo/attachment_editor.js" />
	<xen:require css="attachment_editor.css" />
	
	<div class="AttachmentEditor">
	
		<xen:if is="{$showUploadButton}">
			<xen:include template="attachment_upload_button" />
		</xen:if>
		
		<div class="NoAttachments"></div>
		
		<div class="secondaryContent AttachmentInsertAllBlock JsOnly">
			<span></span>
			<div class="AttachmentText">
				<div class="label">{xen:phrase insert_every_image_as_a}...</div>
				<div class="controls">
					<!--<input type="button" value="{xen:phrase delete_all}" class="button _smallButton AttachmentDeleteAll" />-->
					<input type="button" value="{xen:phrase thumbnail}" class="button smallButton AttachmentInsertAll" name="thumb" />
					<input type="button" value="{xen:phrase full_image}" class="button smallButton AttachmentInsertAll" name="image" />
				</div>
			</div>
		</div>
	
		<ol class="AttachmentList New">
			<xen:include template="attachment_editor_attachment">
				<xen:set var="$isTemplate">1</xen:set>
				<xen:set var="$attachment"></xen:set>
			</xen:include>
			<xen:if is="{$attachments}">
				<xen:foreach loop="$attachments" value="$attachment">
					<xen:if is="{$attachment.temp_hash}">
						<xen:include template="attachment_editor_attachment" />
					</xen:if>
				</xen:foreach>
			</xen:if>
		</ol>
	
		<xen:if is="{$attachments}">
			<xen:if hascontent="true">
			<ol class="AttachmentList Existing">
				<xen:contentcheck>
					<xen:foreach loop="$attachments" value="$attachment">
						<xen:if is="!{$attachment.temp_hash}">
							<xen:include template="attachment_editor_attachment" />
						</xen:if>
					</xen:foreach>
				</xen:contentcheck>
			</ol>
			</xen:if>
		</xen:if>
		
		<input type="hidden" name="attachment_hash" value="{$attachmentParams.hash}" />
		
		<xen:edithint template="attachment_upload_overlay" />
		
	</div>
	
</xen:if>]]></template>
  <template title="attachment_editor.css" version_id="1020051" version_string="1.2.0 Release Candidate 1"><![CDATA[.AttachmentEditor
{
	clear: both;
}

.xenForm .ctrlUnit dd li.AttachedFile,
.xenForm .ctrlUnit dd .AttachmentInsertAllBlock
{
	margin-top: 0;
	margin-right: {xen:property ctrlUnitEdgeSpacer};
}

.AttachmentEditor .AttachedFile,
.AttachmentEditor .AttachmentInsertAllBlock
{
	overflow: hidden; zoom: 1;
	vertical-align: middle;
	padding: 5px 10px;
}

.AttachmentEditor .AttachedFile#AttachedFileTemplate
{
	display: none;
}

	.AttachmentEditor .AttachedFile .Thumbnail
	{
		width: 54px;
		height: 54px;
		line-height: 50px;
		display: block;
		background: {xen:property content.background-color};
		border: 1px solid {xen:property primaryLighterStill};
		text-align: center;
		vertical-align: middle;
		float: left;
	}
	
		.AttachmentEditor .AttachedFile .Thumbnail img
		{
			max-width: 50px;
			max-height: 50px;
			_width: 50px;
			_height: 50px;
			padding: 0;
			margin: 0;
			vertical-align: middle;
		}
		
		.AttachmentEditor .AttachedFile .Thumbnail .genericAttachment
		{			
			{xen:property genericAttachmentThumb}
			
			margin: {xen:calc '(50 - {xen:property genericAttachmentThumb.width}) / 2'}px;
		}

	.AttachmentEditor .AttachmentText
	{
		margin-left: 64px;
	}
	
		.AttachmentEditor .AttachedFile .Filename
		{
		}
		
		.AttachmentEditor .secondaryContent .label
		{
			margin-bottom: 2px;
			font-size: 11px;
			color: {xen:property mutedTextColor};
		}
		
		.AttachmentEditor .secondaryContent .controls
		{
			line-height: 25px;
		}
	
		{xen:helper clearfix, '.AttachmentEditor .AttachedFile .controls'}
		
			
		.AttachmentEditor .AttachedFile .ProgressMeter
		{
			display: block;
			padding: 2px;
			border: 1px solid {xen:property primaryLighter};
			border-radius: 4px;
			background-color: {xen:property content.background-color};
			margin-right: 75px;
			margin-top: 4px;
			font-size: 14pt;
			line-height: 26px;
		}
		
			.AttachmentEditor .AttachedFile .ProgressMeter .ProgressGraphic
			{
				display: inline-block;
				width: 0%;
				height: 26px;
				background: {xen:property primaryLight} url('{xen:property imagePath}/xenforo/gradients/category-23px-light.png') repeat-x top;
				text-align: right;
			}
			
			.AttachmentEditor .AttachedFile .ProgressMeter .ProgressCounter
			{
				display: inline-block;
				height: 26px;
				padding: 0 10px;
			}
			
			.AttachmentEditor .AttachedFile .ProgressMeter .ProgressGraphic .ProgressCounter
			{
				color: {xen:property primaryLightest};
			}
			
			
			.AttachmentEditor .AttachedFile .AttachmentDeleter,
			.AttachmentEditor .AttachedFile .AttachmentCanceller
			{
				float: right;
				display: none;
			}

.AttachmentEditor .AttachmentInsertAllBlock
{
	display: none;
}

	.AttachmentEditor .AttachmentInsertAllBlock span
	{
		float: left;
		display: block;
		width: 54px;
		height: 34px;
		background: {xen:property content.background-color} url('{xen:property imagePath}/xenforo/widgets/image-attachments.png') no-repeat center;
		border: 1px solid {xen:property primaryLighterStill};
		margin-right: 10px;
	}

.AttachmentEditor .AttachmentDeleteAll
{
	float: right;
}

/* SWFUploader placeholder */

.swfupload
{
	position: absolute;
	z-index: 1;
}

/* Uploader JS Overlay */

.xenOverlay.attachmentUploader
{
	max-width: 500px;
}

.attachmentUploader #ctrl_upload
{
	margin: 2px auto 5px;
}

.attachmentUploader .attachmentConstraints dl
{
	margin-top: 2px;
	font-size: 11px;
}]]></template>
  <template title="attachment_editor_attachment" version_id="1020570" version_string="1.2.5"><![CDATA[<xen:require css="attachment_editor.css" />

<li id="{xen:if $isTemplate, 'AttachedFileTemplate', 'attachment{$attachment.attachment_id}'}"
	class="AttachedFile {xen:if '{$attachment} and {$attachment.thumbnailUrl}', 'AttachedImage'} secondaryContent">

	<div class="Thumbnail">
		<xen:if is="{$attachment} and{$attachment.thumbnailUrl}">
			<a href="{xen:link attachments, $attachment}" target="_blank"
				data-attachmentId="{$attachment.attachment_id}"
				class="_not_LbTrigger" data-href="{xen:link misc/lightbox}"><img
				src="{$attachment.thumbnailUrl}" alt="{$attachment.filename}"
				class="_not_LbImage" data-src="{xen:link attachments, $attachment, 'embedded=1'}" /></a>
		<xen:else />
			<span class="genericAttachment"></span>
		</xen:if>
	</div>

	<div class="AttachmentText">
		<div class="Filename"><a href="{xen:link attachments, $attachment}" target="_blank">{xen:if $attachment, $attachment.filename, ''}</a></div>
	
		<xen:if is="{$isTemplate}">
			<input type="button" value="{xen:phrase cancel}" class="button smallButton AttachmentCanceller" />
			
			<span class="ProgressMeter"><span class="ProgressGraphic">&nbsp;</span><span class="ProgressCounter">0%</span></span>
		<xen:else />
			<noscript>
				<a href="{xen:link 'attachments/upload', '', '_params={$attachmentParams}'}" target="_blank" class="button Smallbutton">{xen:phrase delete}</a>
			</noscript>
			
			<xen:if is="{$attachment.thumbnailUrl}">
				<div class="label JsOnly">{xen:phrase insert}:</div>
			</xen:if>
			
			<div class="controls JsOnly">				
				<input type="button" value="{xen:phrase delete}" class="button smallButton AttachmentDeleter" data-href="{xen:link 'attachments/delete', $attachment}" />
			
				<xen:if is="{$attachment.thumbnailUrl}">
					<input type="button" name="thumb" value="{xen:phrase thumbnail}" class="button smallButton AttachmentInserter" />
					<input type="button" name="image" value="{xen:phrase full_image}" class="button smallButton AttachmentInserter" />
				</xen:if>
			</div>
		</xen:if>

	</div>
	
</li>]]></template>
  <template title="attachment_upload" version_id="1010370" version_string="1.1.3"><![CDATA[<xen:title>{xen:phrase upload_attachments}</xen:title>

<form action="{xen:link 'attachments/do-upload'}" method="post" enctype="multipart/form-data" class="xenForm">
	
	<xen:if is="{$canUpload}">
		<dl class="ctrlUnit">
			<dt><label>{xen:phrase upload_attachments}:</label></dt>
			<dd><input type="file" name="upload" /></dd>
		</dl>
	</xen:if>
		
	<xen:if is="{$newAttachments}">
		<dl class="ctrlUnit">
			<dt><label>{xen:phrase new_attachments}:</label></dt>
			<dd>
				<ul>
				<xen:foreach loop="$newAttachments" value="$attachment">
					<li>
						<a href="{xen:link attachments, $attachment}">{$attachment.filename}</a>
						<input type="submit" name="delete[{$attachment.attachment_id}]" value="{xen:phrase delete}" class="button" />
					</li>
				</xen:foreach>
				</ul>
			</dd>
		</dl>
	</xen:if>

	<xen:if is="{$existingAttachments}">
		<dl class="ctrlUnit">
			<dt><label>{xen:phrase existing_attachments}:</label></dt>
			<dd>
				<ul>
				<xen:foreach loop="$existingAttachments" value="$attachment">
					<li>
						<a href="{xen:link attachments, $attachment}">{$attachment.filename}</a>
						<input type="submit" name="delete[{$attachment.attachment_id}]" value="{xen:phrase delete}" class="button" />
					</li>
				</xen:foreach>
				</ul>
			</dd>
		</dl>
	</xen:if>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase upload_attachments}" accesskey="s" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	<input type="hidden" name="hash" value="{$hash}" />
	<input type="hidden" name="content_type" value="{$contentType}" />
	<input type="hidden" name="key" value="{$key}" />
	
	<xen:foreach loop="$contentData" key="$dataKey" value="$dataValue">
		<input type="hidden" name="content_data[{$dataKey}]" value="{$dataValue}" />
	</xen:foreach>
</form>]]></template>
  <template title="attachment_upload_button" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:if is="{$attachmentParams}">

	<xen:require js="js/xenforo/attachment_editor.js" />
	<xen:if is="{$xenOptions.swfUpload} AND {$visitor.enable_flash_uploader}">
		<xen:require js="js/swfupload/swfupload.min.js" />
	</xen:if>	
	<xen:require css="attachment_editor.css" />

	<span id="AttachmentUploader" class="buttonProxy AttachmentUploader"
		style="display: none"
		data-placeholder="#SWFUploadPlaceHolder"
		data-trigger="#ctrl_uploader"
		data-postname="upload"
		data-maxfilesize="{$attachmentConstraints.size}"
		data-maxuploads="{$attachmentConstraints.count}"
		data-extensions="{xen:helper implode, $attachmentConstraints.extensions, ','}"
		data-action="{xen:link 'full:attachments/do-upload.json', '',
			'hash={$attachmentParams.hash}',
			'content_type={$attachmentParams.content_type}',
			'key={$attachmentButtonKey}'}"
		data-uniquekey="{$attachmentButtonKey}"
		data-err-110="{xen:phrase uploaded_file_is_too_large}"
		data-err-120="{xen:phrase uploaded_file_is_empty}"
		data-err-130="{xen:phrase uploaded_file_does_not_have_an_allowed_extension}"
		data-err-unknown="{xen:phrase upload_failed}">
		
		<span id="SWFUploadPlaceHolder"></span>		
			
		<input type="button" value="{xen:if {$buttonText}, {xen:raw $buttonText}, {xen:phrase upload_file}}"
			id="ctrl_uploader" class="button OverlayTrigger DisableOnSubmit"
			data-href="{xen:link full:attachments/upload, '', '_params={$attachmentParams}', 'key={$attachmentButtonKey}'}"
			data-hider="#AttachmentUploader" />
		<span class="HiddenInput" data-name="_xfSessionId" data-value="{$sessionId}"></span>
		<xen:foreach loop="$attachmentParams.content_data" key="$dataKey" value="$dataValue"><span class="HiddenInput" data-name="content_data[{$dataKey}]" data-value="{$dataValue}"></span>
		</xen:foreach>
	</span>

	<noscript>
		<a href="{xen:link 'attachments/upload', '', '_params={$attachmentParams}'}" class="button" target="_blank">{xen:if {$buttonText}, {xen:raw $buttonText}, {xen:phrase upload_file}}</a>
	</noscript>

</xen:if>]]></template>
  <template title="attachment_upload_overlay" version_id="1020035" version_string="1.2.0 Beta 5"><![CDATA[<xen:title>{xen:phrase file_uploader}</xen:title>

<xen:require css="attachment_editor.css" />
<xen:require js="js/xenforo/attachment_editor.js" />

<form action="{xen:link 'full:attachments/do-upload'}" method="post"
	enctype="multipart/form-data"
	class="formOverlay AutoInlineUploader AttachmentUploadForm NoAutoHeader"
	data-overlayClass="attachmentUploader">
	
	<dl class="ctrlUnit">
		<dt><label for="ctrl_upload">{xen:phrase upload_file} (<span title="{xen:phrase x_bytes, 'size={xen:number $attachmentConstraints.size}'}">{xen:phrase max_x, "size={xen:number $attachmentConstraints.size, 'size'}"}</span>):</label></dt>
		<dd id="SWFUploadContainer" data-placeholder="#SWFUploadPlaceHolder" data-trigger="#ctrl_upload">
			<span id="SWFUploadPlaceHolder"></span>
			<input type="file" name="upload" class="textCtrl" onchange="this.blur()" id="ctrl_upload" />
			<input type="reset" value="{xen:phrase close}" class="OverlayCloser button smallButton" />
		</dd>
	</dl>
	
	<div class="attachmentConstraints pairsRows">
		<dl><dt>{xen:phrase accepted_file_types}:</dt> <dd><xen:foreach loop="$attachmentConstraints.extensions" i="$i" count="$count" value="$extension">{$extension}{xen:if '{$i} < {$count}', ', '}</xen:foreach></dd></dl>
		<xen:if is="{$attachmentConstraints.width}">
			<dl><dt>{xen:phrase max_image_width}:</dt> <dd>{xen:phrase x_pixels, 'size={xen:number $attachmentConstraints.width}'}</dd></dl>
		</xen:if>
		<xen:if is="{$attachmentConstraints.height}">
			<dl><dt>{xen:phrase max_image_height}:</dt> <dd>{xen:phrase x_pixels, 'size={xen:number $attachmentConstraints.height}'}</dd></dl>
		</xen:if>
	</div>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	<input type="hidden" name="hash" value="{$attachmentParams.hash}" />
	<input type="hidden" name="content_type" value="{$attachmentParams.content_type}" />			
	<input type="hidden" name="key" value="{$key}" />
	<xen:foreach loop="$attachmentParams.content_data" key="$dataKey" value="$dataValue"><input type="hidden" name="content_data[{$dataKey}]" value="{$dataValue}" />
	</xen:foreach>
	
</form>]]></template>
  <template title="bb_code.css" version_id="1030570" version_string="1.3.5"><![CDATA[/* .bbCodeX classes are designed to exist inside .baseHtml. ie: they have no CSS reset applied */

.bbCodeBlock
{
	{xen:property bbCodeBlock}
}

	.bbCodeBlock .bbCodeBlock,
	.hasJs .bbCodeBlock .bbCodeSpoilerText,
	.messageList.withSidebar .bbCodeBlock
	{
		margin-right: 0;
	}

	/* mini CSS reset */
	.bbCodeBlock pre,
	.bbCodeBlock blockquote
	{
		margin: 0;
	}
	
	.bbCodeBlock img
	{
		border: none;
	}

.bbCodeBlock .type
{
	{xen:property bbCodeBlockType}
}

.bbCodeBlock pre,
.bbCodeBlock .code
{
	{xen:property bbCodeCode}
}

.bbCodeBlock .code
{
	white-space: nowrap;
}

.bbCodeQuote
{
	{xen:property bbCodeQuote}
}

.bbCodeQuote .attribution
{
	{xen:property bbCodeQuoteAttribution}
}

.bbCodeQuote .quoteContainer
{
	overflow: hidden;
	position: relative;
	
	{xen:property bbCodeQuoteMessage}
}

<xen:if is="{xen:property bbCodeQuoteMaxHeight}">
	.bbCodeQuote .quoteContainer .quote
	{
		max-height: {xen:property bbCodeQuoteMaxHeight};
		overflow: hidden;
		padding-bottom: 1px;
	}
	
		.NoJs .bbCodeQuote .quoteContainer .quote
		{
			max-height: none;
		}

	.bbCodeQuote .quoteContainer .quoteExpand
	{		
		display: none;
		box-sizing: border-box;
		position: absolute;
		height: 80px;
		top: {xen:calc '{xen:property bbCodeQuoteMaxHeight} + {xen:property bbCodeQuoteMessage.padding-top} + {xen:property bbCodeQuoteMessage.padding-bottom} - 80'}px;
		left: 0;
		right: 0;
		
		font-size: 11px;
		line-height: 1;
		text-align: center;
		color: {xen:property secondaryLight};
		cursor: pointer;
		padding-top: 65px;
		background: -webkit-linear-gradient(top, {xen:helper rgba, {xen:property bbCodeQuoteMessage.background-color}, 0} 0%, {xen:helper unrgba, {xen:property bbCodeQuoteMessage.background-color}} 80%);
		background: -moz-linear-gradient(top, {xen:helper rgba, {xen:property bbCodeQuoteMessage.background-color}, 0} 0%, {xen:helper unrgba, {xen:property bbCodeQuoteMessage.background-color}} 80%);
		background: -o-linear-gradient(top, {xen:helper rgba, {xen:property bbCodeQuoteMessage.background-color}, 0} 0%, {xen:helper unrgba, {xen:property bbCodeQuoteMessage.background-color}} 80%);
		background: linear-gradient(to bottom, {xen:helper rgba, {xen:property bbCodeQuoteMessage.background-color}, 0} 0%, {xen:helper unrgba, {xen:property bbCodeQuoteMessage.background-color}} 80%);
		
		border-bottom-left-radius: {xen:property bbCodeQuoteMessage.border-bottom-left-radius};
		border-bottom-right-radius: {xen:property bbCodeQuoteMessage.border-bottom-right-radius};
	}
	
	.bbCodeQuote .quoteContainer .quoteExpand.quoteCut
	{
		display: block;
	}
	
	.bbCodeQuote .quoteContainer.expanded .quote
	{
		max-height: none;
	}
	
	.bbCodeQuote .quoteContainer.expanded .quoteExpand
	{
		display: none;
	}
<xen:else />
	.bbCodeQuote .quoteContainer .quoteExpand
	{
		display: none;
	}
</xen:if>

	.bbCodeQuote img
	{
		max-height: 150px;
	}
	
	.bbCodeQuote iframe,
	.bbCodeQuote object,
	.bbCodeQuote embed
	{
		max-width: 200px;
		max-height: 150px;
	}
	
	.bbCodeQuote iframe:-webkit-full-screen
	{
		max-width: none;
		max-height: none;
	}
	
	.bbCodeQuote iframe:-moz-full-screen
	{
		max-width: none;
		max-height: none;
	}
	
	.bbCodeQuote iframe:-ms-fullscreen
	{
		max-width: none;
		max-height: none;
	}
	
	.bbCodeQuote iframe:fullscreen
	{
		max-width: none;
		max-height: none;
	}
	
.bbCodeSpoilerButton
{
	margin: 5px 0;
	max-width: 99%;
}

	.bbCodeSpoilerButton > span
	{
		display: inline-block;
		max-width: 100%;
		white-space: nowrap;
		text-overflow: ellipsis;
		overflow: hidden;
	}
	
.hasJs .bbCodeSpoilerText
{
	display: none;
	{xen:property bbCodeSpoilerText}
}

	.hasJs .bbCodeSpoilerText .bbCodeSpoilerText,
	.hasJs .bbCodeSpoilerText .bbCodeBlock,
	.hasJs .messageList.withSidebar .bbCodeSpoilerText
	{
		margin-right: 0;
	}
	
.NoJs .bbCodeSpoilerContainer
{
	background-color: {xen:property contentText}; /* fallback for browsers without currentColor */
	background-color: currentColor;
}

	.NoJs .bbCodeSpoilerContainer > .bbCodeSpoilerText
	{
		visibility: hidden;
	}

	.NoJs .bbCodeSpoilerContainer:hover
	{
		background-color: transparent;
	}
	
		.NoJs .bbCodeSpoilerContainer:hover > .bbCodeSpoilerText
		{
			visibility: visible;
		}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveWideWidth})
{
	.Responsive .bbCodeBlock,
	.Responsive.hasJs .bbCodeSpoilerText
	{
		margin-right: 0;
	}
}
</xen:if>]]></template>
  <template title="bb_code_base.css" version_id="1010470" version_string="1.1.4"><![CDATA[/* Basic, common, non-templated BB codes */

.bbCodeImage
{
	max-width: 100%;
}

.bbCodeImageFullSize
{
	position: absolute;
	z-index: 50000;
	{xen:property primaryContent.background}
}

.bbCodeStrike
{
	text-decoration: line-through;
}

img.mceSmilie,
img.mceSmilieSprite
{
	vertical-align: text-bottom;
	margin: 0 1px;
}

<xen:include template="smilie_sprite_styles.css" />]]></template>
  <template title="bb_code_tag_attach" version_id="1020032" version_string="1.2.0 Beta 2"><![CDATA[<xen:if is="!{$validAttachment}">

	<a href="{xen:link full:attachments, $attachment}" target="_blank">{xen:phrase view_attachment_x, 'name={$attachment.attachment_id}'}</a>
	
<xen:elseif is="!{$attachment.thumbnailUrl}" />

	<a href="{xen:link full:attachments, $attachment}" target="_blank">{xen:phrase view_attachment_x, 'name={$attachment.filename}'}</a>
	
<xen:elseif is="{$canView} AND {$full}" />
	
	<img src="{xen:link full:attachments, $attachment}" alt="{$attachment.filename}" class="bbCodeImage LbImage" />
		
<xen:elseif is="{$canView}" />
	
	<a href="{xen:link full:attachments, $attachment}" target="_blank" class="LbTrigger"
		data-href="{xen:link misc/lightbox}"><img
		src="{$attachment.thumbnailUrl}" alt="{$attachment.filename}"
		class="bbCodeImage LbImage" /></a>
			
<xen:else />

	<a href="{xen:link full:attachments, $attachment}" target="_blank"><img src="{$attachment.thumbnailUrl}" alt="{$attachment.filename}" class="bbCodeImage" /></a>
	
</xen:if>]]></template>
  <template title="bb_code_tag_code" version_id="1000011" version_string="1.0.0 Alpha 1"><![CDATA[<xen:require css="bb_code.css" />

<div class="bbCodeBlock bbCodeCode">
	<div class="type">{xen:phrase code}:</div>
	<pre>{xen:raw $content}</pre><xen:comment><!-- content is escaped via parser --></xen:comment>
</div>]]></template>
  <template title="bb_code_tag_html" version_id="1000011" version_string="1.0.0 Alpha 1"><![CDATA[<xen:require css="bb_code.css" />

<div class="bbCodeBlock bbCodeHtml">
	<div class="type">{xen:phrase html}:</div>
	<pre>{xen:raw $content}</pre><xen:comment><!-- content is escaped via parser --></xen:comment>
</div>]]></template>
  <template title="bb_code_tag_php" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<xen:require css="bb_code.css" />

<div class="bbCodeBlock bbCodePHP">
	<div class="type">{xen:phrase php}:</div>
	<div class="code">{xen:raw $content}</div><xen:comment><!-- content is escaped via parser --></xen:comment>
</div>]]></template>
  <template title="bb_code_tag_quote" version_id="1020034" version_string="1.2.0 Beta 4"><![CDATA[<xen:require css="bb_code.css" />

<xen:comment><!-- content is escaped via parser --></xen:comment>
<div class="bbCodeBlock bbCodeQuote{xen:if $ignored, ' ignored'}"{xen:if $nameHtml, ' data-author="{$nameHtml}"'}>
	<aside>
		<xen:if is="{$nameHtml}">
			<div class="attribution type">{xen:phrase x_said, 'name={xen:raw $nameHtml}'}:
				<xen:if is="{$source}">
					<a href="{xen:link 'goto/{$source.type}', '', 'id={$source.id}'}#{$source.type}-{$source.id}" class="AttributionLink">&uarr;</a>
				</xen:if>
			</div>
		</xen:if>
		<blockquote class="quoteContainer"><div class="quote">{xen:raw $content}</div><div class="quoteExpand">{xen:phrase click_to_expand}</div></blockquote>
	</aside>
</div>]]></template>
  <template title="bb_code_tag_spoiler" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:require css="bb_code.css" />

<xen:comment><!-- content is escaped via parser --></xen:comment>
<div class="ToggleTriggerAnchor bbCodeSpoilerContainer">
	<button class="button bbCodeSpoilerButton ToggleTrigger Tooltip JsOnly"
		title="{xen:phrase click_to_reveal_spoiler}"
		data-target="> .SpoilerTarget"><span>{xen:phrase spoiler}{xen:if $titleHtml, ': <span class="SpoilerTitle">{xen:raw $titleHtml}</span>'}</span></button>
	<div class="SpoilerTarget bbCodeSpoilerText">{xen:raw $content}</div>
</div>]]></template>
  <template title="breadcrumb" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:edithint template="breadcrumb.css" />

<nav>
	<xen:if is="!{$quickNavSelected} AND {$navigation}">
		<xen:foreach loop="$navigation" value="$breadcrumb">
			<xen:if is="{$breadcrumb.node_id}">
				<xen:set var="$quickNavSelected">node-{$breadcrumb.node_id}</xen:set>
			</xen:if>
		</xen:foreach>
	</xen:if>

	<fieldset class="breadcrumb">
		<a href="{xen:link misc/quick-navigation-menu, '', 'selected={$quickNavSelected}'}" class="OverlayTrigger jumpMenuTrigger" data-cacheOverlay="true" title="{xen:phrase open_quick_navigation}"><!--{xen:phrase jump_to}...--></a>
			
		<div class="boardTitle"><strong>{$xenOptions.boardTitle}</strong></div>
		
		<span class="crumbs">
			<xen:if is="{$showHomeLink}">
				<span class="crust homeCrumb"{xen:if $microdata, ' itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"'}>
					<a href="{$homeLink}" class="crumb"{xen:if $microdata, ' rel="up" itemprop="url"'}><span{xen:if $microdata, ' itemprop="title"'}>{xen:phrase home}</span></a>
					<span class="arrow"><span></span></span>
				</span>
			<xen:elseif is="{$selectedTabId} != {$homeTabId}" />
				<span class="crust homeCrumb"{xen:if $microdata, ' itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"'}>
					<a href="{$homeTab.href}" class="crumb"{xen:if $microdata, ' rel="up" itemprop="url"'}><span{xen:if $microdata, ' itemprop="title"'}>{$homeTab.title}</span></a>
					<span class="arrow"><span></span></span>
				</span>
			</xen:if>
			
			<xen:if is="{$selectedTab}">
				<span class="crust selectedTabCrumb"{xen:if $microdata, ' itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"'}>
					<a href="{$selectedTab.href}" class="crumb"{xen:if $microdata, ' rel="up" itemprop="url"'}><span{xen:if $microdata, ' itemprop="title"'}>{$selectedTab.title}</span></a>
					<span class="arrow"><span>&gt;</span></span>
				</span>
			</xen:if>
			
			<xen:if is="{$navigation}">
				<xen:foreach loop="$navigation" value="$breadcrumb" i="$i" count="$count">
					<span class="crust"{xen:if $microdata, ' itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"'}>
						<a href="{xen:raw $breadcrumb.href}" class="crumb"{xen:if $microdata, ' rel="up" itemprop="url"'}><span{xen:if $microdata, ' itemprop="title"'}>{xen:raw $breadcrumb.value}</span></a>
						<span class="arrow"><span>&gt;</span></span>
					</span>
				</xen:foreach>
			</xen:if>
		</span>
	</fieldset>
</nav>]]></template>
  <template title="breadcrumb.css" version_id="1030270" version_string="1.3.2"><![CDATA[.breadBoxTop,
.breadBoxBottom
{
	{xen:property breadBox}
}

.breadBoxTop
{
}

.breadBoxTop .topCtrl
{
	{xen:property breadBoxTopCtrl}
}

.breadcrumb
{
	{xen:property breadcrumb}
}

.breadcrumb.showAll
{
	height: auto;
}

.breadcrumb .boardTitle
{
	{xen:property breadcrumbBoardTitle}
}

.breadcrumb .crust
{
	{xen:property breadcrumbItemCrust}
}

.breadcrumb .crust a.crumb
{
	cursor: pointer;
	{xen:property breadcrumbItemCrumb}
}

	.breadcrumb .crust a.crumb > span
	{
		display: block;
		text-overflow: ellipsis;
		word-wrap: normal;
		white-space: nowrap;
		overflow: hidden;
		max-width: 100%;
	}

	.breadcrumb .crust:first-child a.crumb,
	.breadcrumb .crust.firstVisibleCrumb a.crumb
	{
		{xen:property breadcrumbItemFirstCrumb}
	}
	
	.breadcrumb .crust:last-child a.crumb
	{
		{xen:property breadcrumbItemLastCrumb}
	}

.breadcrumb .crust .arrow
{
	{xen:property breadcrumbItemArrowOuter}
}

.breadcrumb .crust .arrow span
{
	{xen:property breadcrumbItemArrowInner}
}

.breadcrumb .crust:hover a.crumb
{
	{xen:property breadcrumbItemCrumbHover}
}

.breadcrumb .crust:hover .arrow span
{
	border-left-color: {xen:property breadcrumbItemCrumbHover.background-color};
}

	.breadcrumb .crust .arrow
	{
		/* hide from IE6 */
		_display: none;
	}

.breadcrumb .jumpMenuTrigger
{
	{xen:property breadcrumbJumpMenuTrigger}
}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .breadBoxTop.withTopCtrl
	{
		display: table;
		table-layout: fixed;
		width: 100%;
	}

	.Responsive .breadBoxTop.withTopCtrl nav
	{
		display: table-header-group;
	}

	.Responsive .breadBoxTop.withTopCtrl .topCtrl
	{
		display: table-footer-group;
		margin-top: 5px;
		text-align: right;
	}
}
</xen:if>]]></template>
  <template title="captcha" version_id="1000036" version_string="1.0.0 Beta 6"><![CDATA[<div>{xen:raw $captcha}</div>]]></template>
  <template title="captcha_keycaptcha" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<div id="KeyCaptcha" class="keycaptcha-root" data-user-id="{$keyUserId}" data-session-id="{$sessionId}" data-sign="{$sign}" data-sign2="{$sign2}">
	<noscript>{xen:phrase please_enable_javascript_to_continue}</noscript>
	<span class="JsOnly">{xen:phrase loading}...</span>
</div>
<input type="hidden" name="keycaptcha_code" />]]></template>
  <template title="captcha_nocaptcha" version_id="1040470" version_string="1.4.4"><![CDATA[<div class="NoCaptcha" data-sitekey="{$siteKey}"></div>

<noscript>
	<div style="width: 302px; height: 352px;">
		<div style="width: 302px; height: 352px; position: relative;">
			<div style="width: 302px; height: 352px; position: absolute;">
				<iframe src="https://www.google.com/recaptcha/api/fallback?k={xen:urlencode $siteKey}" frameborder="0" scrolling="no" style="width: 302px; height:352px; border-style: none;"></iframe>
			</div>
			<div style="width: 250px; height: 80px; position: absolute; border-style: none; bottom: 21px; left: 25px; margin: 0px; padding: 0px; right: 25px;">
				<textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 80px; border: 1px solid #c1c1c1; margin: 0px; padding: 0px; resize: none;" value=""></textarea>
			</div>
		</div>
	</div>
</noscript>]]></template>
  <template title="captcha_question" version_id="1000051" version_string="1.0.0 Release Candidate 1"><![CDATA[<div id="Captcha" data-source="{xen:link misc/captcha}">
	<xen:if is="{$captchaQuestion.captcha_question_id}">
		<div class="ddText"><label for="{$captchaQuestion.hash}">{xen:raw $captchaQuestion.question}</label></div>
		<input type="text" name="captcha_question_answer" id="{$captchaQuestion.hash}" value="" placeholder="{xen:phrase please_answer_the_question_above}" class="textCtrl OptOut" />
	<xen:else />
		{xen:phrase n_a}
	</xen:if>
	<input type="hidden" name="captcha_question_hash" value="{$captchaQuestion.hash}" />
</div>]]></template>
  <template title="captcha_recaptcha" version_id="1000036" version_string="1.0.0 Beta 6"><![CDATA[<div id="ReCaptcha" data-publicKey="{$publicKey}" style="display:none">
	<div id="recaptcha_image" class="textCtrl"></div>
	<div class="ddText"><label for="recaptcha_response_field">{xen:phrase recaptcha_enter_both_words}:</label></div>
	<input type="text" name="recaptcha_response_field" id="recaptcha_response_field" class="textCtrl OptOut" />
	<p class="explain recaptcha_only_if_image">{xen:phrase recaptcha_reload_listen_to_audio, 'reload_params=href="javascript:" class="ReCaptchaReload"', 'switch_params=href="javascript:" class="ReCaptchaSwitch"'}</p>
	<p class="explain recaptcha_only_if_audio">{xen:phrase recaptcha_reload_go_back_to_text, 'reload_params=href="javascript:" class="ReCaptchaReload"', 'switch_params=href="javascript:" class="ReCaptchaSwitch"'}</p>
</div>
<div id="ReCaptchaLoading" class="JsOnly">{xen:phrase recaptcha_verification_is_loading}</div>

<noscript>
	<iframe src="//www.google.com/recaptcha/api/noscript?k={xen:urlencode $publicKey}" height="300" width="500" frameborder="0"></iframe><br />
	<textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
	<input type="hidden" name="recaptcha_response_field" value="manual_challenge" />
</noscript>]]></template>
  <template title="captcha_solve_media" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<div id="SolveMediaCaptcha" data-c-key="{$cKey}" data-theme="white" class="JsOnly">
	{xen:phrase loading}...
</div>
<noscript>
	<iframe src="https://api-secure.solvemedia.com/papi/challenge.noscript?k={$cKey}" height="300" width="500" frameborder="0"></iframe><br />
	<textarea name="adcopy_challenge" rows="3" cols="40"></textarea>
	<input type="hidden" name="adcopy_response" value="manual_challenge" />
</noscript>]]></template>
  <template title="captcha_textcaptcha" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<div id="Captcha" data-source="{xen:link misc/captcha}">
	<xen:if is="{$captchaQuestion.question}">
		<div class="ddText"><label for="cq_{$captchaQuestion.hash}">{$captchaQuestion.question}</label></div>
		<input type="text" name="captcha_question_answer" id="cq_{$captchaQuestion.hash}" value="" placeholder="{xen:phrase please_answer_the_question_above}" class="textCtrl OptOut" />
	<xen:else />
		{xen:phrase n_a}
	</xen:if>
	<input type="hidden" name="captcha_question_hash" value="{$captchaQuestion.hash}" />
</div>]]></template>
  <template title="category_view" version_id="1020470" version_string="1.2.4"><![CDATA[<xen:title>{$category.title}</xen:title>
<xen:if is="{$category.description} AND {xen:property threadListDescriptions}">
	<xen:description class="baseHtml">{xen:raw $category.description}</xen:description>
</xen:if>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
</xen:navigation>

<xen:container var="$quickNavSelected">node-{$category.node_id}</xen:container>
<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $category}</xen:container>
<xen:container var="$head.canonical">
	<link rel="canonical" href="{xen:link 'canonical:categories', $category}" /></xen:container>

<xen:if is="{$renderedNodes}">
	<ol class="nodeList section sectionMain">
	<xen:foreach loop="$renderedNodes" value="$node">
		{xen:raw $node}
	</xen:foreach>
	</ol>
</xen:if>]]></template>
  <template title="chooser_overlay.css" version_id="1020035" version_string="1.2.0 Beta 5"><![CDATA[.xenOverlay.chooserOverlay
{
	max-width: 700px;
}

	.chooserColumns
	{
		overflow: hidden; zoom: 1;
		padding: 0;
	}
	
		.chooserColumns li
		{
			float: left;
			width: 33%;
		}
		
			.chooserColumns.twoColumns li
			{
				width: 49.5%;
			}
		
			.chooserColumns.oneColumns li
			{
				width: 100%;
			}
			
			.chooserColumns.threeColumns li
			{
				width: 33%;
			}
			
			.chooserColumns.fourColumns li
			{
				width: 24.5%;
			}
		
			.chooserColumns li a
			{
				margin: 3px;
				display: block;
				padding: 5px 10px;
				border-radius: 5px;
				overflow: hidden; zoom: 1;
			}
			
			.chooserColumns li a:hover
			{
				background-color: {xen:property primaryLighterStill};
				text-decoration: none;
			}
			
			.chooserColumns .icon
			{
				float: left;
				display: block;
				width: 64px;
				height: 64px;
				background: {xen:property primaryLighter};
				border: 1px solid {xen:property primaryLighter};
				border-radius: 5px;
				box-shadow: 2px 2px 6px rgba(0,0,0, 0.25);
			}
			
				.styleChooser .icon
				{
					background-image: url('{xen:property imagePath}/xenforo/widgets/style-preview.png');
				}
			
			.chooserColumns .title,
			.chooserColumns .description
			{
				margin-left: 76px;
				display: block;
			}
			
			.chooserColumns .title
			{
				font-size: 11pt;
			}
			
				.chooserColumns .unselectable .title:after
				{
					content: " *";
				}
			
			.chooserColumns .description
			{
				color: {xen:property mutedTextColor};
				font-size: 11px;
			}
		
	.chooserScroller
	{
		overflow: auto;
		max-height: 200px;
	}
	
		.chooserScroller li a
		{
			display: block;
		}
		
		.chooserScroller li a:hover
		{
			background-color: {xen:property secondaryLightest};
			text-decoration: none;
		}
		
			.chooserScroller li a .info
			{
				font-size: 11px;
				color: {xen:property contentText};	
			}
			
.chooserConfirm
{
	text-align: center;
}
	
	.chooserConfirm strong
	{
		display: block;
		margin-top: 10px;
		font-size: 18px;
	}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .chooserOverlay .chooserColumns li
	{
		width: auto;
		float: none;
	}
}
</xen:if>]]></template>
  <template title="contact" version_id="1020270" version_string="1.2.2"><![CDATA[<xen:title>{xen:phrase contact_us}</xen:title>

<form action="{xen:link 'misc/contact'}" method="post" class="xenForm formOverlay AutoValidator">

	<xen:if is="{$visitor.user_id} == 0">
		<dl class="ctrlUnit">
			<dt><label for="ctrl__guestUsername">{xen:phrase your_name}:</label></dt>
			<dd><input type="text" name="_guestUsername" value="{$visitor.username}" id="ctrl__guestUsername" class="textCtrl" autofocus="true" /></dd>
		</dl>
		
		<dl class="ctrlUnit">
			<dt><label for="ctrl_email">{xen:phrase your_email_address}:</label></dt>
			<dd><input type="text" name="email" id="ctrl_email" class="textCtrl" /></dd>
		</dl>
	<xen:else />
		<dl class="ctrlUnit">
			<dt><label>{xen:phrase your_name}:</label></dt>
			<dd>{$visitor.username}</dd>
		</dl>
		
		<dl class="ctrlUnit">
			<dt><label for="ctrl_email">{xen:phrase your_email_address}:</label></dt>
			<dd>{$visitor.email}</dd>
		</dl>
	</xen:if>

	<xen:include template="helper_captcha_unit" />

	<dl class="ctrlUnit">
		<dt><label for="ctrl_subject">{xen:phrase subject}:</label></dt>
		<dd><input type="text" name="subject" class="textCtrl" id="ctrl_subject" /></dd>
	</dl>

	<dl class="ctrlUnit">
		<dt><label for="ctrl_message">{xen:phrase message}:</label></dt>
		<dd><textarea name="message" class="textCtrl Elastic" id="ctrl_message" rows="5"></textarea></dd>
	</dl>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase send_message}" accesskey="s" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	<input type="hidden" name="redirect" value="{$redirect}" />
</form>]]></template>
  <template title="content_ip" version_id="1000070" version_string="1.0.0"><![CDATA[<xen:require css="content_ip.css" />

<div>
	<table class="ipInfo">
	<tr>
		<th class="primaryContent">{xen:phrase content_ip}</th>
		<td class="secondaryContent">
			<a class="ip" href="{xen:link misc/ip-info, '', 'ip={$ipInfo.contentIp}'}" target="_blank">{$ipInfo.contentIp}</a>
			<span class="host">{$ipInfo.contentHost}</span>
		</td>
	</tr>	
	<tr>
		<th class="primaryContent">{xen:phrase user_registration_ip}</th>
		<td class="secondaryContent">
			<a class="ip" href="{xen:link misc/ip-info, '', 'ip={$ipInfo.registrationIp}'}" target="_blank">{$ipInfo.registrationIp}</a>
			<span class="host">{$ipInfo.registrationHost}</span>
		</td>
	</tr>
	<tr>
		<th class="primaryContent">{xen:phrase account_confirmation_ip}</th>
		<td class="secondaryContent">
			<a class="ip" href="{xen:link misc/ip-info, '', 'ip={$ipInfo.confirmationIp}'}" target="_blank">{$ipInfo.confirmationIp}</a>
			<span class="host">{$ipInfo.confirmationHost}</span>
		</td>
	</tr>
	</table>
	
	<div class="sectionFooter overlayOnly"><a class="button primary OverlayCloser">{xen:phrase close}</a></div>
</div>]]></template>
  <template title="content_ip.css" version_id="1000032" version_string="1.0.0 Beta 2"><![CDATA[table.ipInfo
{
	width: 100%;
}

	.ipInfo .primaryContent
	{
		width: 40%;
		text-align: right;
	}
	
	.ipInfo .secondaryContent
	{
		width: 60%;
	}

	.ipInfo .ip
	{
		font-weight: bold;
	}
	
	.ipInfo .host
	{
		font-size: 11px;
		color: {xen:property mutedTextColor};
	}]]></template>
  <template title="conversation.css" version_id="1030033" version_string="1.3.0 Beta 3"><![CDATA[.conversation_view .messageList
{
	border: 1px solid {xen:property primaryLighterStill};
	border-left: none;
	border-bottom: none;
	padding-right: 10px;
	border-top-right-radius: 10px;
}

	.conversation_view .message:first-child
	{
		border-top: none;
	}

	.conversation_view .message .newIndicator
	{
		margin-top: 0;
		margin-right: -15px;
	}
	
	.conversation_view .attachment
	{
		width: 49.5%;
	}

	.conversation_view .quickReply
	{
		border-top: none;
	}
	
<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveWideWidth})
{
	.Responsive .conversation_view .messageList
	{
		border-right: none;
		padding-right: 0;
		border-top-right-radius: 0;
	}
}
</xen:if>]]></template>
  <template title="conversation_add" version_id="1040470" version_string="1.4.4"><![CDATA[<xen:title>{xen:phrase start_new_conversation}</xen:title>

<form action="{xen:link 'conversations/insert'}" method="post" class="xenForm Preview AutoValidator"
	data-previewUrl="{xen:link conversations/preview}"
	data-redirect="on"
>
	<dl class="ctrlUnit">
		<dt><label for="ctrl_recipients">{xen:if '{$remaining} == 1', '{xen:phrase participant}:', '{xen:phrase participants}:'}</label></dt>
		<dd>
			<input type="text" name="recipients" value="{$to}" id="ctrl_recipients" class="textCtrl AutoComplete {xen:if '{$remaining} == 1', AcSingle}" />
			<xen:if is="{$remaining} != 1">
				<p class="explain">{xen:phrase separate_names_with_comma} <xen:if is="{$remaining} > 0">{xen:phrase you_may_invite_up_to_x_members, 'number={xen:number $remaining}'}</xen:if></p>
			</xen:if>
		</dd>
	</dl>

	<fieldset>
		<dl class="ctrlUnit fullWidth surplusLabel">
			<dt><label for="ctrl_title">{xen:phrase title}:</label></dt>
			<dd><input type="text" name="title" class="textCtrl titleCtrl" id="ctrl_title" maxlength="100" value="{$title}"
				placeholder="{xen:phrase conversation_title}..."
				data-liveTitleTemplate="{xen:phrase start_new_conversation}: <em>%s</em>" /></dd>
		</dl>
	
		<dl class="ctrlUnit fullWidth">
			<dt></dt>
			<dd>{xen:raw $editorTemplate}</dd>
		</dl>
	</fieldset>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd>
			<input type="submit" value="{xen:phrase start_conversation}" accesskey="s" class="button primary" />
			<xen:include template="attachment_upload_button" />
			<input type="button" value="{xen:phrase preview}..." class="button PreviewButton JsOnly" />
		</dd>
	</dl>

	<xen:if is="{$attachmentParams}">
		<dl class="ctrlUnit AttachedFilesUnit">
			<dt>{xen:phrase attached_files}:</dt>
			<dd><xen:include template="attachment_editor">
				<xen:set var="$attachments" value="{$attachmentParams.attachments}" />
			</xen:include></dd>
		</dl>
	</xen:if>

	<dl class="ctrlUnit">
		<dt></dt>
		<dd>
			<ul>
				<li><label for="ctrl_open_invite"><input type="checkbox" name="open_invite" id="ctrl_open_invite" value="1" /> {xen:phrase allow_anyone_in_conversation_to_invite_others}</label></li>
				<li><label for="ctrl_conversation_locked"><input type="checkbox" name="conversation_locked" id="ctrl_conversation_locked" value="1" /> {xen:phrase lock_conversation_no_responses_will_be_allowed}</label></li>
			</ul>
		</dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="conversation_edit" version_id="1020034" version_string="1.2.0 Beta 4"><![CDATA[<xen:title>{xen:phrase edit_conversation}: {$conversation.title}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:conversations, $conversation}">{$conversation.title}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'conversations/update', $conversation}" method="post" class="xenForm formOverlay">
	<dl class="ctrlUnit">
		<dt><label for="ctrl_title">{xen:phrase title}:</label></dt>
		<dd><input type="text" name="title" id="ctrl_title" value="{$conversation.title}" class="textCtrl" data-liveTitleTemplate="{xen:phrase edit_conversation}: <em>%s</em>" maxlength="100" /></dd>
	</dl>

	<dl class="ctrlUnit">
		<dt></dt>
		<dd>
			<ul>
				<li><label for="ctrl_open_invite"><input type="checkbox" name="open_invite" id="ctrl_open_invite" value="1" {xen:checked {$conversation.open_invite}} /> {xen:phrase allow_anyone_in_conversation_to_invite_others}</label></li>
				<li><label for="ctrl_conversation_locked"><input type="checkbox" name="conversation_locked" id="ctrl_conversation_locked" value="1" {xen:checked "!{$conversation.conversation_open}"} /> {xen:phrase lock_conversation}</label> <p class="hint">{xen:phrase no_responses_will_be_allowed}</p></li>
			</ul>
		</dd>
	</dl>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase save_changes}" accesskey="s" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="conversation_invite" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:title>{xen:phrase invite_members_to_conversation}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:conversations, $conversation}">{$conversation.title}</xen:breadcrumb>
</xen:navigation>

<xen:require js="js/xenforo/conversation_invite.js" />

<form action="{xen:link 'conversations/invite-insert', $conversation}" method="post"
	class="xenForm formOverlay AutoValidator" id="ConversationInvitationForm">
	
	<dl class="ctrlUnit">
		<dt><label for="ctrl_recipients">{xen:phrase invite_members}:</label></dt>
		<dd>
			<input type="text" name="recipients" id="ctrl_recipients" rows="2" class="textCtrl AutoComplete OptOut" />
			<p class="explain">
				{xen:phrase separate_names_with_comma} {xen:phrase invited_members_see_entire_conversation}
				<xen:if is="{$remaining} > 0">{xen:phrase you_may_invite_up_to_x_members, 'number={xen:number $remaining}'}</xen:if>
			</p>
		</dd>
	</dl>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase invite_members}" accesskey="s" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="conversation_leave" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:title>{xen:phrase leave_conversation}: {$conversation.title}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:conversations, $conversation}">{$conversation.title}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'conversations/leave', $conversation}" method="post" class="xenForm formOverlay">
	
	<p>{xen:phrase leaving_conversation_will_remove_it_from_your_conversation_list}</p>

	<dl class="ctrlUnit">
		<dt><label for="delete_type_delete">{xen:phrase future_message_handling}:</label></dt>
		<dd>
			<ul>
				<li><label for="delete_type_delete">
					<input type="radio" name="delete_type" value="delete" id="delete_type_delete" checked="checked" /> {xen:phrase accept_future_messages}</label>
					<p class="hint">{xen:phrase should_conversation_receive_responses_restored_to_inbox}</p>
				</li>
				<li><label for="delete_type_delete_ignore">
					<input type="radio" name="delete_type" value="delete_ignore" id="delete_type_delete_ignore" /> {xen:phrase ignore_future_messages}</label>
					<p class="hint">{xen:phrase not_notified_of_responses_conversation_remain_deleted}</p>
				</li>
			</ul>
		</dd>
	</dl>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase leave_conversation}" accesskey="s" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="conversation_list" version_id="1040270" version_string="1.4.2"><![CDATA[<xen:if is="!{$title}"><xen:set var="$title">{xen:phrase conversations}</xen:set></xen:if>
<xen:if is="!{$pageRoute}"><xen:set var="{$pageRoute}">conversations</xen:set></xen:if>

<xen:title>{xen:escape $title, false}{xen:helper pagenumber, $page}</xen:title>
<xen:h1>{xen:escape $title, false}</xen:h1>
<xen:description>{xen:phrase conversations_allow_exchanging_messages}</xen:description>

<xen:if is="{$canStartConversation}">
	<xen:topctrl>
		<a href="{xen:link conversations/add}" class="callToAction"><span>{xen:phrase start_new_conversation}</span></a>
	</xen:topctrl>
</xen:if>

<xen:require css="discussion_list.css" />
<xen:require js="js/xenforo/discussion_list.js" />

<xen:pagenav link="{$pageRoute}" page="{$page}" perpage="{$conversationsPerPage}" total="{$totalConversations}" linkparams="{$pageNavParams}" />

<div class="discussionList section sectionMain">
	<form action="{xen:link inline-mod/conversation/switch}" method="post"
		class="DiscussionList InlineModForm"
		data-cookieName="conversations"
		data-controls="#InlineModControls"
		data-imodOptions="#ModerationSelect option"
	>	
		<dl class="sectionHeaders">
			<dt class="posterAvatar"><a><span></span></a></dt>			
			<dd class="main">
				<a class="title"><span>{xen:phrase conversation_title}</span></a>
				<a class="postDate"><span></span></a>
			</dd>			
			<dd class="stats"><a><span>{xen:phrase replies}</span></a></dd>
			<dd class="lastPost"><a><span>{xen:phrase last_message}</span></a></dd>
		</dl>

		<ol class="discussionListItems">
		<xen:if is="{$conversations}">
			<xen:foreach loop="$conversations" value="$conversation">
				<xen:include template="conversation_list_item" />
			</xen:foreach>
		<xen:else />
			<li class="primaryContent">{xen:phrase there_no_conversations_to_display} <xen:if is="{$canStartConversation}"><a href="{xen:link conversations/add}">{xen:phrase start_a_conversation_now}</a></xen:if></li>
		</xen:if>
		</ol>

		<div class="sectionFooter InlineMod SelectionCountContainer">
			<xen:if is="{$totalConversations}"><span class="contentSummary">{xen:phrase showing_conversations_x_to_y_of_z, 'start={xen:number $startOffset}', 'end={xen:number $endOffset}', 'total={xen:number $totalConversations}'}</span></xen:if>

			<xen:include template="inline_mod_controls_conversation" />
		</div>

	</form>
	
	<h3 id="DiscussionListOptionsHandle" class="JsOnly"><a href="#">{xen:phrase conversation_display_options}</a></h3>

	<form action="{xen:link $pageRoute}" method="post" class="DiscussionListOptions secondaryContent">
		<div class="controlGroup">
			<label for="ctrl_search_type">{xen:phrase show_only_conversations}:</label>
			<select name="search_type" id="ctrl_search_type" class="textCtrl">
				<option value="">({xen:phrase show_all_conversations})</option>
				<option value="received_by" {xen:selected "{$search_type} == 'received_by'"}>{xen:phrase received_by}</option>
				<xen:comment><option value="message_by" {xen:selected "{$search_type} == 'message_by'"}>{xen:phrase containing_messages_by}</option></xen:comment>
				<option value="started_by" {xen:selected "{$search_type} == 'started_by'"}>{xen:phrase started_by}</option>
			</select>
			<input type="search" name="search_user" value="{$search_user}" placeholder="{xen:phrase user_name}..."
				results="0" class="textCtrl AutoComplete AcSingle"
				data-acurl="{xen:link conversations/find-user}" data-acextrafields="#ctrl_search_type" />
		</div>
	
		<div class="buttonGroup">
			<input type="submit" class="button primary" value="{xen:phrase set_options}" />
			<input type="reset" class="button" value="{xen:phrase cancel}" />
		</div>
	
		<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	</form>
	
</div>
	
<div class="pageNavLinkGroup afterDiscussionListHandle">
	<div class="linkGroup">
		<xen:if is="{$canStartConversation}">
			<a href="{xen:link conversations/add}" class="callToAction"><span>{xen:phrase start_new_conversation}</span></a>
		</xen:if>
	</div>
	
	<xen:pagenav link="{$pageRoute}" page="{$page}" perpage="{$conversationsPerPage}" total="{$totalConversations}" linkparams="{$pageNavParams}" />
</div>]]></template>
  <template title="conversation_list_item" version_id="1020270" version_string="1.2.2"><![CDATA[<xen:require css="discussion_list.css" />

<li id="conversation-{$conversation.conversation_id}" class="discussionListItem {xen:if {$conversation.isNew}, 'unread'}" data-author="{$conversation.username}">

	<div class="listBlock posterAvatar"><xen:avatar user="$conversation" size="s" img="true" /></div>			
		
	<div class="listBlock main">
		<div class="titleText">
			<xen:if hascontent="true">
				<div class="iconKey">
				<xen:contentcheck>
					<xen:if is="{$conversation.is_starred}"><a href="{xen:link conversations/starred}"><span class="starred" title="{xen:phrase starred}">{xen:phrase starred}</span></a></xen:if>
				</xen:contentcheck>
				</div>
			</xen:if>

			<h3 class="title">
				<input type="checkbox" name="conversations[]" value="{$conversation.conversation_id}" class="InlineModCheck" id="inlineModCheck-conversation-{$conversation.conversation_id}" data-target="#conversation-{$conversation.conversation_id}" title="{xen:phrase select_conversation}: '{$conversation.title}'" />
				<a href="{xen:link "conversations{xen:if {$conversation.isNew}, '/unread'}", $conversation}">{xen:helper wrap, $conversation.title, 50}</a>
				<xen:if is="{$visitor.user_id}"><a href="{xen:link conversations/toggle-read, $conversation}" class="ReadToggle"
					data-counter="#ConversationsMenu_Counter"
					title="{xen:if {$conversation.isNew}, {xen:phrase mark_as_read}, {xen:phrase mark_as_unread}}"></a></xen:if>
			</h3>

			<div class="secondRow">
				<div class="posterDate muted">
					<xen:username user="$conversation" title="{xen:phrase conversation_starter}" />,
					<xen:foreach loop="$conversation.recipientNames" value="$recipient">
						<xen:if is="{$recipient.user_id} != {$conversation.user_id}"><xen:username user="$recipient">{xen:if $recipient.user_id, $recipient.username, {xen:phrase unknown_member}}</xen:username>,</xen:if>
					</xen:foreach>

					<a href="{xen:link conversations, $conversation}" class="faint"><xen:datetime time="$conversation.start_date" /></a>
									
					<xen:if is="{$conversation.lastPageNumbers}">
						<span class="itemPageNav">
							<span>...</span>
							<xen:foreach loop="$conversation.lastPageNumbers" value="$pageNumber">
								<a href="{xen:link conversations, $conversation, 'page={$pageNumber}'}">{$pageNumber}</a>
							</xen:foreach>
						</span>
					</xen:if>
				</div>
			</div>
		</div>
	</div>
		
	<div class="listBlock stats pairsJustified">
		<dl class="major"><dt>{xen:phrase replies}:</dt> <dd>{xen:number {$conversation.reply_count}}</dd></dl>
		<dl class="minor"><dt>{xen:phrase participants}:</dt> <dd>{xen:number {$conversation.recipient_count}}</dd></dl>
	</div>

	<div class="listBlock lastPost">
		<dl class="lastPostInfo">
			<dt><xen:username user="$conversation.last_message" /></dt>
			<dd class="muted"><a href="{xen:link conversations/message, $conversation, 'message_id={$conversation.last_message_id}'}" class="dateTime"><xen:datetime time="$conversation.last_message_date" /></a></dd>
		</dl>
	</div>
	
</li>]]></template>
  <template title="conversation_list_popup" version_id="1000033" version_string="1.0.0 Beta 3"><![CDATA[<xen:title>{xen:phrase conversations}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:account}">{xen:phrase your_account}</xen:breadcrumb>
</xen:navigation>

<xen:if hascontent="true">
	<div>
		<xen:contentcheck>
			<xen:if is="{$conversationsUnread}">
				<ol class="Unread secondaryContent" data-defaultBackground="{xen:property secondaryContent.background-color}">
					<xen:foreach loop="$conversationsUnread" value="$conversation"><xen:include template="conversation_list_popup_item" /></xen:foreach>
				</ol>
			</xen:if>
			<xen:if is="{$conversationsRead}">
				<ol class="secondaryContent">
					<xen:foreach loop="$conversationsRead" value="$conversation"><xen:include template="conversation_list_popup_item" /></xen:foreach>
				</ol>
			</xen:if>
		</xen:contentcheck>
	</div>
<xen:else />
	<div class="secondaryContent noItems">{xen:phrase you_have_no_recent_conversations}</div>
</xen:if>]]></template>
  <template title="conversation_list_popup_item" version_id="1020270" version_string="1.2.2"><![CDATA[<li class="listItem{xen:if '{$conversation.isNew}', ' unread'} PopupItemLink">

	<xen:avatar user="$conversation" size="s" img="true" class="plainImage" />
	
	<div class="listItemText">
		<h3 class="title"><a href="{xen:link "conversations{xen:if {$conversation.isNew}, '/unread'}", $conversation}" class="PopupItemLink">{$conversation.title}</a></h3>

		<div class="posterDate muted">
			{xen:phrase with_people}: <xen:username user="$conversation" title="{xen:phrase conversation_starter}" /><xen:foreach loop="$conversation.recipientNames" value="$recipient"><xen:if is="{$recipient.user_id} != {$conversation.user_id}">, <xen:username user="$recipient">{xen:if $recipient.user_id, $recipient.username, {xen:phrase unknown_member}}</xen:username></xen:if></xen:foreach>
		</div>
		
		<div class="muted" title="{xen:phrase last_reply_by_x, 'name={$conversation.last_message_username}'}">
			{xen:phrase last_message_by_x, 'name={xen:helper username, $conversation.last_message}'},
			<xen:datetime time="{$conversation.last_message_date}" />
		</div>
	</div>
	
</li>]]></template>
  <template title="conversation_list_starred" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:include template="conversation_list">
	<xen:set var="$pageRoute">conversations/starred</xen:set>
	<xen:set var="$title">{xen:phrase starred_conversations}</xen:set>
</xen:include>]]></template>
  <template title="conversation_list_yours" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:include template="conversation_list">
	<xen:set var="$pageRoute">conversations/yours</xen:set>
	<xen:set var="$title">{xen:phrase conversations_you_started}</xen:set>
</xen:include>]]></template>
  <template title="conversation_message" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<xen:include template="message">
	
	<xen:set var="$messageId">message-{$message.message_id}</xen:set>
	
	<xen:set var="$messageContentAfterTemplate"><xen:if is="{$message.attachments}"><xen:include template="attached_files">
		<xen:map from="$message" to="$post" /></xen:include></xen:if></xen:set>
	
	<xen:set var="$messageAfterTemplate">
		<div class="messageMeta">
			<div class="privateControls">
				<span class="item muted"><xen:username user="$message" class="author" />, 
					<a href="{xen:link conversations/message, $conversation, 'message_id={$message.message_id}'}" class="datePermalink"><xen:datetime time="$message.message_date" /></a>
				</span>
				<xen:hook name="conversation_message_private_controls" params="{xen:array 'message={$message}'}">
				<xen:if is="{$message.canEdit}">
					<a href="{xen:link 'conversations/edit-message', $conversation, 'm={$message.message_id}'}"
						class="item control edit {xen:if $xenOptions.messageInlineEdit, OverlayTrigger}"
						data-overlayOptions="{&quot;fixed&quot;:false}" 
						data-href="{xen:link conversations/edit-message-inline, $conversation, 'm={$message.message_id}'}"
						data-messageSelector="#message-{$message.message_id}"><span></span>{xen:phrase edit}</a>
					<xen:require js="js/xenforo/discussion.js" />
				</xen:if>
				<xen:if is="{$message.canReport}">
					<a href="{xen:link 'conversations/report', $conversation, 'message_id={$message.message_id}'}" class="OverlayTrigger item control report" data-cacheOverlay="false"><span></span>{xen:phrase report}</a>
				</xen:if>
				</xen:hook>
			</div>
			
			<xen:if hascontent="true">
			<div class="publicControls">
				<xen:contentcheck>
					<xen:hook name="conversation_message_public_controls" params="{xen:array 'message={$message}'}">
					<xen:if is="{$canReplyConversation}">
						<a href="{xen:link 'conversations/reply', $conversation, 'm={$message.message_id}'}"
							class="item control reply ReplyQuote"><span></span>{xen:phrase reply}</a>
					</xen:if>
					</xen:hook>
				</xen:contentcheck>
			</div>
			</xen:if>
		</div>
	</xen:set>
	
</xen:include>]]></template>
  <template title="conversation_message_edit" version_id="1040470" version_string="1.4.4"><![CDATA[<xen:title>{xen:phrase edit_message_by_x, 'name={$conversationMessage.username}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:conversations, $conversation}">{$conversation.title}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'conversations/save-message', $conversation, 'm={$conversationMessage.message_id}'}" method="post" class="xenForm Preview"
	data-previewUrl="{xen:link 'conversations/edit-message/preview', $conversation, 'm={$conversationMessage.message_id}'}">

	<fieldset>
		<dl class="ctrlUnit fullWidth surplusLabel">
			<dt><label for="ctrl_message">{xen:phrase message}:</label></dt>
			<dd>{xen:raw $editorTemplate}</dd>
		</dl>
	</fieldset>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd>
			<input type="submit" value="{xen:phrase save_changes}" accesskey="s" class="button primary" />
			<xen:include template="attachment_upload_button" />
			<input type="button" value="{xen:phrase preview}..." class="button PreviewButton JsOnly" />
		</dd>
	</dl>

	<xen:if is="{$attachmentParams}">
		<dl class="ctrlUnit AttachedFilesUnit">
			<dt>{xen:phrase attached_files}:</dt>
			<dd><xen:include template="attachment_editor" /></dd>
		</dl>
	</xen:if>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="conversation_message_edit_inline" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:title>{xen:phrase edit_message_by_x, 'name={$conversationMessage.username}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:conversations, $conversation}">{$conversation.title}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'conversations/save-message', $conversation, 'm={$conversationMessage.message_id}'}" method="post"
	class="section AutoValidator InlineMessageEditor NoAutoHeader">
	<h2 class="heading overlayOnly">{xen:phrase edit_message_by_x, 'name={$conversationMessage.username}'}</h2>

	<div class="secondaryContent messageContainer">{xen:raw $editorTemplate}</div>

	<div class="sectionFooter">
		<span class="buttonContainer">
			<input type="submit" value="{xen:phrase save_changes}" accesskey="s" class="button primary" />
			<input type="submit" value="{xen:phrase more_options}..." name="more_options" class="button JsOnly" />
			<input type="button" value="{xen:phrase cancel}" class="button OverlayCloser" accesskey="r" />
		</span>
	</div>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="conversation_message_edit_preview" version_id="1000012" version_string="1.0.0 Alpha 2"><![CDATA[<xen:include template="post_edit_preview" />]]></template>
  <template title="conversation_message_report" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:title>{$conversation.title} - {xen:phrase report_conversation_message}</xen:title>
<xen:h1>{xen:phrase report_conversation_message}</xen:h1>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:conversations, $conversation}">{$conversation.title}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'conversations/report', $conversation, 'message_id={$message.message_id}'}" method="post" class="xenForm formOverlay AutoValidator">

	<dl class="ctrlUnit">
		<dt><label for="ctrl_message">{xen:phrase report_reason}:</label></dt>
		<dd><textarea name="message" id="ctrl_message" rows="2" class="textCtrl Elastic"></textarea></dd>
	</dl>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase report_conversation_message}" accesskey="s" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="conversation_preview" version_id="1000011" version_string="1.0.0 Alpha 1"><![CDATA[<div class="section">
	<h3 class="subHeading">{xen:phrase preview}</h3>
	<div class="messageText primaryContent baseHtml">{xen:raw $messageParsed}</div>
</div>]]></template>
  <template title="conversation_recipients" version_id="1010470" version_string="1.1.4"><![CDATA[<ul id="ConversationRecipients">
	<xen:foreach loop="$recipients" value="$recipient">
		<li>
			<xen:avatar user="$recipient" size="s" img="true" />
			<xen:if is="{$recipient.user_id}">
				<xen:username user="$recipient" rich="true" />
			<xen:else />
				{xen:helper userNameHtml, $recipient, '{xen:phrase unknown_member}', 1}
			</xen:if>
			<xen:if is="{$recipient.user_id}"><xen:if hascontent="true"><div class="userTitle"><xen:contentcheck>{xen:helper usertitle, $recipient}</xen:contentcheck></div></xen:if></xen:if>
		</li>
	</xen:foreach>
</ul>]]></template>
  <template title="conversation_reply" version_id="1040470" version_string="1.4.4"><![CDATA[<xen:title>{xen:phrase reply_to_conversation}: {$conversation.title}</xen:title>
<xen:h1>{xen:phrase reply_to_conversation}</xen:h1>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:conversations, $conversation}">{$conversation.title}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'conversations/insert-reply', $conversation}" method="post" class="xenForm Preview"
	data-previewUrl="{xen:link conversations/preview}"
>
	<fieldset>
		<dl class="ctrlUnit fullWidth">
			<dt></dt>
			<dd>{xen:raw $editorTemplate}</dd>
		</dl>
	</fieldset>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd>
			<input type="submit" value="{xen:phrase reply_to_conversation}" accesskey="s" class="button primary" />
			<xen:include template="attachment_upload_button" />
			<input type="button" value="{xen:phrase preview}" class="button PreviewButton JsOnly" />
		</dd>
	</dl>

	<xen:if is="{$attachmentParams}">
		<dl class="ctrlUnit AttachedFilesUnit">
			<dt>{xen:phrase attached_files}:</dt>
			<dd><xen:include template="attachment_editor" /></dd>
		</dl>
	</xen:if>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="conversation_toggle_read" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:title><xen:if is="{$conversation.isNew}">{xen:phrase mark_as_read}<xen:else />{xen:phrase mark_as_unread}</xen:if>: {$conversation.title}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:conversations, $conversation}">{$conversation.title}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'conversations/toggle-read', $conversation}" method="post" class="xenForm formOverlay">
	
	<p><xen:if is="{$conversation.isNew}">{xen:phrase confirm_mark_conversation_read, 'title={$conversation.title}'}
		<xen:else />{xen:phrase confirm_mark_conversation_unread, 'title={$conversation.title}'}</xen:if></p>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:if {$conversation.isNew}, {xen:phrase mark_as_read}, {xen:phrase mark_as_unread}}" accesskey="s" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="conversation_toggle_starred" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:title>{xen:if {$conversation.is_starred}, {xen:phrase unstar_conversation}, {xen:phrase star_conversation}}: {$conversation.title}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:conversations, $conversation}">{$conversation.title}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'conversations/toggle-starred', $conversation}" method="post" class="xenForm formOverlay">
	
	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:if {$conversation.is_starred}, {xen:phrase unstar_conversation}, {xen:phrase star_conversation}}" accesskey="s" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="conversation_view" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:title>{$conversation.title}{xen:helper pagenumber, $page}</xen:title>
<xen:h1>{$conversation.title}</xen:h1>

<xen:if is="{$xenOptions.selectQuotable}">
	<xen:container var="$bodyClasses">SelectQuotable</xen:container>
</xen:if>

<xen:require css="conversation.css" />

<xen:comment>
	<xen:topctrl>
		<xen:if is="{$canReplyConversation}">
			<a href="{xen:link 'conversations/reply', $conversation}" class="callToAction"><span>{xen:phrase reply_to_conversation}</span></a>
		</xen:if>
	</xen:topctrl>
</xen:comment>

<div class="pageNavLinkGroup">
	<div class="linkGroup">
		<xen:if is="{$canEditConversation}"><a href="{xen:link 'conversations/edit', $conversation}" class="OverlayTrigger">{xen:phrase edit_conversation}</a></xen:if>
		<a href="{xen:link 'conversations/toggle-read', $conversation}" class="ReadToggle" data-counter="#ConversationsMenu_Counter"><xen:if is="{$conversation.showMarkRead}">{xen:phrase mark_as_read}<xen:else />{xen:phrase mark_as_unread}</xen:if></a>
		<a href="{xen:link 'conversations/toggle-starred', $conversation}" class="ReadToggle"><xen:if is="{$conversation.is_starred}">{xen:phrase unstar_conversation}<xen:else />{xen:phrase star_conversation}</xen:if></a>
		<a href="{xen:link 'conversations/leave', $conversation}" class="OverlayTrigger">{xen:phrase leave_conversation}</a>
	</div>
	
	<xen:pagenav link="conversations" linkdata="{$conversation}" page="{$page}" perpage="{$messagesPerPage}" total="{$totalMessages}" />
</div>

<ol class="messageList withSidebar" id="messageList">
	<xen:foreach loop="$messages" value="$message">
		<xen:include template="conversation_message" />
	</xen:foreach>
</ol>

<xen:if hascontent="true">
	<div class="pageNavLinkGroup">
		<xen:contentcheck>
			<xen:pagenav link="conversations" linkdata="{$conversation}" page="{$page}" perpage="{$messagesPerPage}" total="{$totalMessages}" />
		</xen:contentcheck>
	</div>
</xen:if>

<xen:if is="{$canReplyConversation}">
	<xen:include template="quick_reply">
		<xen:set var="$formAction">{xen:link 'conversations/insert-reply', $conversation}</xen:set>
		<xen:set var="$lastDate">{$lastMessage.message_date}</xen:set>
		<xen:set var="$showMoreOptions">1</xen:set>
	</xen:include>
</xen:if>

<xen:sidebar>

	<div class="section statsList">
		<div class="secondaryContent">
			<h3>{xen:phrase conversation_info}</h3>
			<div class="pairsJustified">
				<dl><dt>{xen:phrase participants}:</dt>
					<dd>{xen:count $recipients}</dd></dl>
				<dl><dt>{xen:phrase replies}:</dt>
					<dd>{xen:number $conversation.reply_count}</dd></dl>
				<dl><dt>{xen:phrase last_reply_date}:</dt>
					<dd><xen:datetime time="$conversation.last_message_date" /></dd></dl>
				<dl><dt>{xen:phrase last_reply_from}:</dt>
					<dd><xen:username user="$conversation.last_message" /></dd></dl>
			</div>
		</div>
	</div>
	
	<div class="section participants avatarList">
		<div class="secondaryContent">
			<h3>{xen:phrase conversation_participants}</h3>
			<div id="ConversationRecipientsPlaceholder">
				<xen:include template="conversation_recipients" />
			</div>
		</div>
			<xen:if is="{$canInviteUsers}">
				<div class="sectionFooter"><a href="{xen:link 'conversations/invite', $conversation}" class="_callToAction _inviteCtrl OverlayTrigger"
					title="{xen:phrase invite_more_members_to_participate_in_this_conversation}">{xen:phrase invite_more}</a></div>
			</xen:if>
	</div>
	
</xen:sidebar>]]></template>
  <template title="conversation_view_new_messages" version_id="1000470" version_string="1.0.4"><![CDATA[<xen:if is="{$firstUnshown}">
	<li class="newMessagesNotice">{xen:phrase there_more_messages_to_display} <a href="{xen:link conversations/message, $conversation, 'message_id={$firstUnshown.message_id}'}">{xen:phrase view_them}</a></li>
</xen:if>

<xen:foreach loop="$messages" value="$message">
	<xen:include template="conversation_message" />
</xen:foreach>]]></template>
  <template title="custom_fields_edit" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<xen:foreach loop="$customFields" value="$field">
	<xen:if is="{$field.isEditable}">
		<xen:include template="custom_field_edit" />
	</xen:if>
</xen:foreach>]]></template>
  <template title="custom_field_edit" version_id="1040470" version_string="1.4.4"><![CDATA[<xen:if is="!{$customFieldInputName}"><xen:set var="$customFieldInputName" value="custom_fields" /></xen:if>
<dl class="ctrlUnit customFieldEdit{$field.field_id} {$customFieldExtraClass}">
	<dt>
		<label for="ctrl_custom_field_{$field.field_id}">{$field.title}:</label>
		<xen:if is="{$field.required}"><dfn>{xen:phrase required}</dfn></xen:if>
	</dt>
	<dd>
		<xen:if is="{$field.field_type} == 'textbox'">
			<input type="text" name="{$customFieldInputName}[{$field.field_id}]" value="{$field.field_value}" 
				id="ctrl_custom_field_{$field.field_id}"
				data-validatorname="custom_field_{$field.field_id}"
				class="textCtrl" maxlength="{xen:if $field.max_length, $field.max_length}" 
			/>
		<xen:elseif is="{$field.field_type} == 'textarea'" />
			<textarea name="{$customFieldInputName}[{$field.field_id}]" 
				id="ctrl_custom_field_{$field.field_id}"
				data-validatorname="custom_field_{$field.field_id}" 
				class="textCtrl Elastic">{$field.field_value}</textarea>
		<xen:elseif is="{$field.field_type} == 'radio'" />
			<ul class="checkboxColumns">
			<xen:if is="!{$field.required}">
				<li><label><input type="radio" name="{$customFieldInputName}[{$field.field_id}]" value="" {xen:checked '{$field.field_value} === "" OR !{$field.hasValue}'} /> <span class="muted">{xen:phrase no_selection}</span></label></li>
			</xen:if>
			<xen:foreach loop="$field.fieldChoices" key="$choice" value="$text">
				<li><label><input type="radio" name="{$customFieldInputName}[{$field.field_id}]" value="{$choice}" {xen:checked '{$field.field_value} === {$choice}'} /> {xen:raw $text}</label></li>
			</xen:foreach>
			</ul>
		<xen:elseif is="{$field.field_type} == 'select'" />
			<select name="{$customFieldInputName}[{$field.field_id}]" id="ctrl_custom_field_{$field.field_id}" class="textCtrl">
			<xen:if is="!{$field.required} OR !{$field.hasValue}">
				<option value="">&nbsp;</option>
			</xen:if>
			<xen:foreach loop="$field.fieldChoices" key="$choice" value="$text">
				<option value="{$choice}" {xen:selected '{$field.field_value} === {$choice}'}>{xen:raw $text}</option>
			</xen:foreach>
			</select>
		<xen:elseif is="{$field.field_type} == 'checkbox'" />
			<ul class="checkboxColumns">
			<xen:foreach loop="$field.fieldChoices" key="$choice" value="$text">
				<li><label><input type="checkbox" name="{$customFieldInputName}[{$field.field_id}][{$choice}]" value="{$choice}" {xen:checked 'isset({$field.field_value.{$choice}})'} /> {xen:raw $text}</label></li>
			</xen:foreach>
			</ul>
		<xen:elseif is="{$field.field_type} == 'multiselect'" />
			<select name="{$customFieldInputName}[{$field.field_id}][]" id="ctrl_custom_field_{$field.field_id}" class="textCtrl" size="7" multiple="multiple">
			<xen:if is="!{$field.required} OR !{$field.hasValue}">
				<option value="">&nbsp;</option>
			</xen:if>
			<xen:foreach loop="$field.fieldChoices" key="$choice" value="$text">
				<option value="{$choice}" {xen:selected 'isset({$field.field_value.{$choice}}'}>{xen:raw $text}</option>
			</xen:foreach>
			</select>
		</xen:if>

		<xen:if hascontent="true"><p class="explain"><xen:contentcheck>{xen:raw $field.description}</xen:contentcheck></p></xen:if>
		<input type="hidden" name="custom_fields_shown[]" value="{$field.field_id}" />
	</dd>
</dl>]]></template>
  <template title="custom_field_view" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<xen:if hascontent="true">
	<dl>
		<dt>{$field.title}:</dt> 
		<dd><xen:contentcheck>
			<xen:if is="is_array({$field.fieldValueHtml})">
				<ul>
				<xen:foreach loop="$field.fieldValueHtml" value="$_fieldValueHtml">
					<li>{xen:raw $_fieldValueHtml}</li>
				</xen:foreach>
				</ul>
			<xen:else />
				{xen:raw $field.fieldValueHtml}
			</xen:if>
		</xen:contentcheck></dd>
	</dl>
</xen:if>]]></template>
  <template title="DEFAULT" version_id="1000053" version_string="1.0.0 Release Candidate 3"><![CDATA[<xen:title>{$controllerName}::action{$controllerAction}() | {$viewName}</xen:title>
<xen:h1>{$controllerName}::action{$controllerAction}()</xen:h1>
<xen:description>{xen:phrase this_is_the_default_content_template, 'view_name={$viewName}'}</xen:description>
<xen:container var="$head.robots"><meta name="robots" content="noindex" /></xen:container>

<table class="dataTable">
	<caption>{xen:phrase available_template_parameters}</caption>
	<tr class="dataRow">
		<th>{xen:phrase variable_name}</th>
		<th>{xen:phrase data_type}</th>
	</tr>
	<xen:foreach loop="$__params" key="$key" value="$value">
		<tr class="dataRow">
			<td>${$key}</td>
			<td>{xen:helper type, $value}</td>
		</tr>
	</xen:foreach>
</table>]]></template>
  <template title="delete_confirmation.css" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[/** Confirm deletion of something **/


.deleteConfirmForm strong dfn
{
	display: block;
	font-size: 11px;
	color: {xen:property mutedTextColor};
}

.deleteConfirmForm p em
{
	font-style: italic;
}

.deleteConfirmForm strong
{
	display: block;
	margin: 10px;
	margin-left: 20px;
	font-size: 14pt;
}]]></template>
  <template title="discussion_list.css" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[.discussionList
{
	position: relative;
	zoom: 1;
}

/** column style and width **/

.discussionList .sectionHeaders,
.discussionListItem
{
	display: table;
	table-layout: fixed;
	width: 100%;
	word-wrap: normal;
}

	.discussionList .sectionHeaders dt,
	.discussionList .sectionHeaders dd,
	.discussionListItem .listBlock
	{
		display: table-cell;
		vertical-align: middle;
	}
	
		.discussionList .posterAvatar
		{
			width: {xen:property discussionListAvatarWidth};
		}
		
		.discussionList .main
		{
			width: auto;
		}

			.discussionList .sectionHeaders .main .postDate
			{
				text-align: right;
			}
		
		.discussionList .stats
		{
			width: {xen:property discussionListStatsWidth};
		}
			
			.discussionList .sectionHeaders .stats .minor
			{
				text-align: right;
			}
		
		.discussionList .lastPost
		{
			width: {xen:property discussionListLastPostWidth};
			text-align: right;
			overflow: hidden;
		}
		
		.discussionList .statsLastPost /* combined last two columns */
		{
			width: {xen:calc '{xen:property discussionListStatsWidth} + {xen:property discussionListLastPostWidth}'}px;
		}
	

/* column headers */

.discussionList .sectionHeaders
{	
	{xen:property subHeading}
	
	padding: 0;
}

	.discussionList .sectionHeaders dt span
	{
		display: none !important;
	}
		
	.discussionList .sectionHeaders a
	{
		display: block;
		color: {xen:property subHeading.color};
		outline: none;
	}
	
	.discussionList .sectionHeaders a:hover
	{
		text-decoration: none;
	}
			
	.discussionList .sectionHeaders dd a[href]:hover
	{
		{xen:property subHeadingHover}
	}
		
	.discussionList .sectionHeaders .main a,
	.discussionList .sectionHeaders .stats a
	{
		float: left;
		width: 50%;
		white-space: nowrap;
	}
	
		.discussionList .sectionHeaders a span
		{
			{xen:property subHeading.padding}
			display: block;
		}
		
/** IE <8 **/
.discussionList .sectionHeaders,
.discussionListItem                { *display: block; _vertical-align: bottom; }
.discussionList .sectionHeaders dt,
.discussionList .sectionHeaders dd,
.discussionListItem .listBlock     { *display: block; *float: left; }
.discussionListItem .listBlock     { _height: 52px; *min-height: 52px; } /* todo: should be calculation */
.discussionList .posterAvatar      { *width: 6.98%; }
.discussionListItem .posterAvatar  { *font-size: 0; }	
.discussionList .main              { *width: 56.98%; }
.discussionList .stats             { *width: 15.97%; }	
.discussionList .lastPost          { *width: 19.97%; }
.discussionList .statsLastPost     { *width: 35.97%; }
.discussionList .sectionHeaders dt,
.discussionList .sectionHeaders dd { *padding: 5px 0; }
.discussionList .sectionHeaders a,
.discussionList .sectionHeaders a span { *display: inline !important; *float: none !important; }

/* items in thread list */

.discussionListItems
{
}



	
/* individual thread list item */
	
/** main **/

.discussionListItem
{
	{xen:property primaryContent.background}
	
	{xen:property primaryContent.border}
}





	/* sections, section widths */
	
		.discussionListItem .posterAvatar,		
		.discussionListItem .stats
		{
			{xen:property secondaryContent.background}
		}
		
		.discussionListItem .main,
		.discussionListItem .lastPost
		{
		}
		
		
		
		
		
		
		
		
	/* avatar section */
	
	.discussionListItem .posterAvatar .avatarContainer
	{
		display: block;
		position: relative;
	}
	
	.discussionListItem .posterAvatar .avatar
	{
		{xen:property discussionListAvatar}
		
		width: auto;
		height: auto;
	}
	
		.discussionListItem .posterAvatar .avatar img
		{
			width: {xen:property discussionListAvatar.width};
			height: {xen:property discussionListAvatar.height};
			display: block;
		}
		
		.discussionListItem .posterAvatar .miniMe
		{
			{xen:property discussionListMiniMe}
		}
		
			.discussionListItem .posterAvatar .miniMe img
			{
				{xen:property discussionListMiniMeImg}				
			}		
		
		
	/* title, poster section */
	
	.discussionListItem .titleText
	{
		padding: 5px;
		overflow: hidden; zoom: 1;
		position: relative;
	}
	
		/* unread indicator */
		
		.LoggedIn .discussionListItem .titleText
		{			
			padding-left: 20px;
		}
		
		.LoggedIn .discussionListItem .unreadLink,
		.LoggedIn .discussionListItem .ReadToggle
		{
			display: block;
			width: 10px;
			height: 10px;
			
			position: absolute;
			left: 5px;
			top: 10px;
			
			background: url('{xen:property imagePath}/xenforo/xenforo-ui-sprite.png') no-repeat 10000px 0;
			
			white-space: nowrap;
			overflow: hidden;
			text-indent: 9999px;
		}
		
			.LoggedIn .discussionListItem .unreadLink,
			.LoggedIn .discussionListItem.unread .ReadToggle
			{
				background-position: -5px -42px;
			}
		
			.LoggedIn .discussionListItem .ReadToggle:hover
			{
				background-position: -25px -42px;
			}
	
		/* first row */
	
		.discussionListItem .title
		{
			{xen:property discussionListFirstRow}
			max-width: 100%;
			word-wrap: break-word;
		}
		
			.discussionListItems .unread .title a
			{
				{xen:property discussionListTitleUnread}
			}
			
		
		.discussionListItem .iconKey span
		{
			{xen:property dicussionListIcon}
		}
			
			.discussionListItem .iconKey .sticky    { background-position:   0px -16px; }
			.discussionListItem .iconKey .starred   { background-position: -90px -32px; width: 18px; height: 18px; }
			.discussionListItem .iconKey .watched   { background-position: -144px -16px; width: 16px; height: 16px; }
			.discussionListItem .iconKey .locked    { background-position: -16px -16px; }
			.discussionListItem .iconKey .moderated { background-position: -32px -16px; }
			.discussionListItem .iconKey .redirect  { background-position: -48px -16px; }
			.discussionListItem .iconKey .new       { background-position: -64px -16px; }
		
		/* second row */
		
		.discussionListItem .secondRow
		{
			{xen:property discussionListSecondRow}
			clear: both;
		}
		
			.discussionListItem .secondRow .controls
			{
				float: right;
				padding-left: 20px;
			}
				
				.discussionListItem.AjaxProgress .controls
				{
					background: transparent url('{xen:property imagePath}/xenforo/widgets/ajaxload.info_B4B4DC_facebook.gif') no-repeat left center;
				}
			
			.discussionListItem .posterDate
			{
				float: left;
			}
			
			
			
	/* stats section */
	
	.discussionListItem .stats dl
	{
		padding: 0 10px;
		border-left: 1px solid {xen:property primaryLighterStill};
		border-right: 1px solid {xen:property primaryLighterStill};
	}
		.discussionListItem .stats .major
		{
			{xen:property discussionListFirstRow}
			
			margin-top: 5px;
		}
			
		.discussionListItem .stats .minor
		{
			{xen:property discussionListSecondRow}
			
			margin-bottom: 5px;
		}
			
	/* last post section */
	
	.discussionListItem .lastPostInfo
	{
		padding: 5px;
	}
	
		.discussionListItem .lastPostInfo .username
		{
			{xen:property discussionListFirstRow}
		}
		
	
			.discussionListItems .unread .lastPostInfo .username
			{
				{xen:property discussionListTitleUnread}
			}
		
		.discussionListItem .lastPostInfo .dateTime
		{
			{xen:property discussionListSecondRow}
		}


/* extra note row */

.discussionListItem .noteRow
{
	{xen:property primaryContent.background}
	padding: 5px;
	text-align: center;
	font-size: 11px;
	color: {xen:property primaryMedium};
}

	.discussionListItem .noteRow.secondary
	{
		{xen:property secondaryContent.background}
	}




/* deleted item */

.discussionList .discussionListItem.deleted
{
}

	.discussionList .discussionListItem.deleted .avatar img
	{
		opacity: 0.5;
		filter: alpha(opacity='50');
	}
		
	.discussionList .discussionListItem.deleted .deletionNote
	{
		float: left;
		color: rgb(150,0,0);
	}
		
/* moderated item */

.discussionList .discussionListItem.moderated .listBlock
{
	{xen:property primaryContent.background}
}

		
		
		
		
		
			
/* inline mod selected/checked classes */

.discussionListItem.InlineModChecked,
.discussionListItem.InlineModChecked .posterAvatar,
.discussionListItem.InlineModChecked .main,
.discussionListItem.InlineModChecked .stats,
.discussionListItem.InlineModChecked .lastPost,
.discussionListItem.deleted.InlineModChecked,
.discussionListItem.moderated.InlineModChecked
{
	{xen:property inlineModChecked}
}
















		
/** bottom summary **/

.discussionList .sectionFooter
{
	overflow: hidden; zoom: 1;
}

	.discussionList .sectionFooter .contentSummary
	{
		float: left;
		display: block;
	}

		
/** thread list options **/

.DiscussionListOptions
{
	{xen:property discussionListOptions}
}

.hasJs .DiscussionListOptions
{
	display: none;
}

	.DiscussionListOptions dl,
	.DiscussionListOptions .controlGroup
	{
		float: left;
		margin-right: 10px;
		
		overflow: hidden; zoom: 1;
	}
	
		.DiscussionListOptions dt
		{
			float: left;
		}
		
		.DiscussionListOptions dd
		{
			margin-left: 120px;
		}
		
	.DiscussionListOptions .buttonGroup
	{
		float: right;
	}
	
		.DiscussionListOptions .buttonGroup input
		{
			min-width: 75px;
		}
	
#DiscussionListOptionsHandle
{
	{xen:property discussionListOptionsHandle}
}
	
	#DiscussionListOptionsHandle a
	{
		{xen:property discussionListOptionsHandleLink}
	}
	
.afterDiscussionListHandle
{
	margin-top: 20px;
}
	
/** item page nav **/

.discussionListItem .itemPageNav
{
	{xen:if '{xen:property discussionListPageNavHidden}', 'visibility: hidden;'}
}

.discussionListItem:hover .itemPageNav,
.Touch .discussionListItem .itemPageNav
{
	visibility: visible;
}

	.itemPageNav a,
	.itemPageNav span
	{
		{xen:property discussionListItemPageNavItem}
	}
	
	.itemPageNav a
	{
		{xen:property discussionListItemPageNavLink}
	}
	
	.itemPageNav a:hover
	{
		{xen:property discussionListItemPageNavLinkHover}
	}

/** filters **/
		
.discussionListFilters
{
	font-size: 11px;
	overflow: hidden; zoom: 1;
}

	.discussionListFilters .filtersHeading
	{
		float: left;
		margin-right: 5px;
		color: {xen:property primaryLight};
		font-weight: bold;
	}
	
	.discussionListFilters .removeFilter,
	.discussionListFilters .removeAllFilters
	{
		color: {xen:property primaryMedium};
		background: {xen:property primaryLighterStill} url('{xen:property imagePath}/xenforo/gradients/form-button-white-25px.png') repeat-x top;
		border: 1px solid {xen:property primaryLighterStill};
		border-radius: 5px;
		padding: 2px 10px;
	}
	
		.discussionListFilters .gadget
		{
			color: {xen:property primaryLight};
			font-weight: bold;
			margin-left: 3px;
		}

	
		.discussionListFilters .removeFilter:hover,
		.discussionListFilters .removeAllFilters:hover
		{
			background-color: {xen:property primaryLightest};
			text-decoration: none;
			color: {xen:property mutedTextColor};
			box-shadow: 1px 1px 5px rgba(0,0,0, 0.15);
		}
		
	.discussionListFilters .pairsInline dt
	{
		display: none;
	}
	
	.discussionListFilters .filterPairs
	{
		float: left;
	}
	
	.discussionListFilters .removeAll
	{
		float: right;
	}
	
		.discussionListFilters .removeAllFilters
		{
			padding: 2px 6px;
		}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveMediumWidth})
{
	.Responsive .discussionList .sectionHeaders .stats
	{
		display: none;
	}
	
	.Responsive .discussionList .sectionHeaders .main .title
	{
		float: none;
		width: auto;
	}
	
	.Responsive .discussionList .sectionHeaders .main .postDate
	{
		display: none;
	}
	
	.Responsive .discussionList .statsLastPost
	{
		display: none;
	}

	.Responsive .discussionListItem .listBlock.main,
	.Responsive .discussionListItem .listBlock.stats,
	.Responsive .discussionListItem .listBlock.lastPost
	{
		display: block;
	}
	
	.Responsive .discussionListItem .listBlock.stats
	{
		float: left;
		width: auto;
		margin-top: -5px;
		border: none;
		background: none;
		padding-left: 5px;
	}
	
		.Responsive.LoggedIn .discussionListItem .listBlock.stats
		{			
			padding-left: 20px;
		}
	
		.Responsive .discussionListItem .listBlock.stats dl
		{
			border: none;
			padding: 0;
		}
		
		.Responsive .discussionListItem .listBlock.stats dd,
		.Responsive .discussionListItem .listBlock.stats dt
		{
			float: none;
			display: inline;
		}
	
		.Responsive .discussionListItem .listBlock.stats .minor
		{
			display: none;
		}
		
		.Responsive .discussionListItem .listBlock.stats .major
		{
			font-size: 11px;
			margin-top: 0;
		}
	
	.Responsive .discussionListItem .listBlock.lastPost
	{
		float: right;
		width: auto;
		margin-top: -5px;
	}
		.Responsive .discussionListItem .listBlock.lastPost .lastPostInfo
		{
			padding-top: 0;
			padding-bottom: 0;
		}
	
		.Responsive .discussionListItem .listBlock.lastPost dt
		{
			display: none;
		}
}

@media (max-width:{xen:property maxResponsiveWideWidth})
{
	.Responsive .discussionList .sectionHeaders .lastPost,
	.Responsive .discussionList .lastPost
	{
		width: 125px;
	}
}

@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .discussionListItem .secondRow .startDate,
	.Responsive .discussionListItem .secondRow .EditControl
	{
		display: none;
	}
}
</xen:if>]]></template>
  <template title="editor" version_id="1040370" version_string="1.4.3"><![CDATA[<xen:hook name="editor" params="{xen:array 'editorId={$editorId}'}">
<div>
	<xen:if is="{$showWysiwyg}">
		<textarea name="{$formCtrlNameHtml}" id="{$editorId}_html" class="textCtrl MessageEditor BbCodeWysiwygEditor {$editorOptions.extraClass}" style="display:none; {xen:if $height, 'height: {$height};'}" data-css-url="css.php?style={xen:urlencode $visitorStyle.style_id}&amp;css=editor_contents&amp;d={xen:urlencode $visitorStyle.last_modified_date}" data-dialog-url="index.php?editor/dialog&amp;style={$visitorStyle.style_id}" {xen:if $editorOptions.autoSaveUrl, 'data-auto-save-url="{$editorOptions.autoSaveUrl}"'} {xen:if $editorOptions.json, 'data-options="{xen:escape {xen:helper json, $editorOptions.json}}"'}>{$messageHtml}</textarea>
		<noscript><textarea name="{$formCtrlName}" id="{$editorId}" class="textCtrl MessageEditor {$editorOptions.extraClass}" style="{xen:if $height, 'height: {$height};'}">{$message}</textarea></noscript>
	<xen:else />
		<textarea name="{$formCtrlName}" id="{$editorId}" class="textCtrl MessageEditor {$editorOptions.extraClass}" style="{xen:if $height, 'height: {$height};'}">{$message}</textarea>
	</xen:if>
	<input type="hidden" name="_xfRelativeResolver" value="{$requestPaths.fullUri}" />
	
	<xen:if is="{$showWysiwyg}">
		<xen:include template="editor_js_setup" />
	</xen:if>
</div>
</xen:hook>

<xen:edithint template="editor_contents.css" />
<xen:edithint template="editor_ui.css" />
<xen:edithint template="form.css" />]]></template>
  <template title="editor_contents.css" version_id="1020034" version_string="1.2.0 Beta 4"><![CDATA[html
{
	cursor: text;
	height: 100%;
	word-wrap: break-word;
	max-width: 100%;

	{xen:property html.background}
	{xen:property html.font}
	
	{xen:property body.background}
	{xen:property body.font}
	
	{xen:property content.background}
	{xen:property content.font}

	{xen:property primaryContent.background}
	{xen:property primaryContent.font}
	
	{xen:property messageInfo.background}
	{xen:property messageInfo.font}

	{xen:property messageText}
	
	background-image: none;
	
	{xen:property editorContent}
}

body
{
	padding: 8px;
	margin: 0;
	word-wrap: break-word;
	display: inline-block;
	width: 100%;
	min-height: 30px;
	box-sizing: border-box;
	cursor: auto;
	*display: block;
	*width: auto;
}

body:empty
{
	min-height: 0 !important;
	height: 1.3em;
}

body.noElastic
{
	display: block !important;
	min-height: 0 !important;
	height: auto !important;
}

a:link,
a:visited,
a:focus,
a:active
{
	cursor: text;
	background: transparent; 
	{xen:helper cssImportant, {xen:property link}}
	{xen:helper cssImportant, {xen:property ugcLink}}
}

img:-moz-broken, img:-moz-user-disabled { -moz-force-broken-image-icon: 1; }
img:-moz-broken:not([width]), img:-moz-user-disabled:not([width]) { width: 50px; }
img:-moz-broken:not([height]), img:-moz-user-disabled:not([height]) { height: 50px; }
img { max-width: 90%; border: none; cursor: pointer; }
img.mceSmilie, img.mceSmilieSprite, img.attachFull, img.attachThumb { cursor: text; }

p, div { margin: 0; padding: 0; }

font[size="1"] { font-size: 9px; }
font[size="2"] { font-size: 10px; }
font[size="3"] { font-size: 12px; }
font[size="4"] { font-size: 15px; }
font[size="5"] { font-size: 18px; }
font[size="6"] { font-size: 22px; }
font[size="7"] { font-size: 26px; }

blockquote { margin: 0 !important; padding: 0 !important; margin-left: 30px !important; }
body[dir=rtl] blockquote {  margin-right: 30px !important; margin-left: 0; }

<xen:include template="bb_code_base.css" />
<xen:include template="bb_code.css" />

/* make the font bigger to prevent zooming on iPhones */
@media (max-device-width:568px)
{
	body
	{
		font-size: 16px;
	}
}]]></template>
  <template title="editor_dialog_code" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<dl class="ctrlUnit">
	<dt>{xen:phrase language}:</dt>
	<dd><select name="redactor_code_type" id="redactor_code_type" class="textCtrl">
		<option value="code">{xen:phrase general_code}</option>
		<option value="php">PHP</option>
		<option value="html">HTML</option>
	</select></dd>
</dl>

<dl class="ctrlUnit">
	<dt>{xen:phrase code}:</dt>
	<dd><textarea name="redactor_code_code" id="redactor_code_code" class="textCtrl" style="height: 100px; resize: none"></textarea></dd>
</dl>

<dl class="ctrlUnit submitUnit">
	<dt></dt>
	<dd>
		<input type="button" name="upload" class="redactor_modal_btn button primary" id="redactor_insert_code_btn" value="{xen:phrase insert}" />
		<a href="javascript:void(null);" class="redactor_modal_btn redactor_btn_modal_close button">{xen:phrase cancel}</a>
	</dd>
</dd>]]></template>
  <template title="editor_dialog_image" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<dl class="ctrlUnit">
	<dt>{xen:phrase image_url}:</dt>
	<dd><input type="text" name="redactor_image_link" id="redactor_image_link" class="textCtrl" /></dd>
</dl>

<dl class="ctrlUnit submitUnit">
	<dt></dt>
	<dd>
		<input type="button" name="upload" class="redactor_modal_btn button primary" id="redactor_image_btn" value="{xen:phrase insert}" />
		<a href="javascript:void(null);" class="redactor_modal_btn redactor_btn_modal_close button">{xen:phrase cancel}</a>
	</dd>
</dd>]]></template>
  <template title="editor_dialog_link" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<div>
	<dl class="ctrlUnit">
		<dt>{xen:phrase url}:</dt>
		<dd><input type="text" id="redactor_link_url" class="textCtrl" /></dd>
	</dl>
</div>

<dl class="ctrlUnit submitUnit">
	<dt></dt>
	<dd>
		<input type="submit" class="redactor_modal_btn button primary" id="redactor_insert_link_btn" value="{xen:phrase insert}" />
		<a href="javascript:void(null);" class="redactor_modal_btn redactor_btn_modal_close button">{xen:phrase cancel}</a>
	</dd>
</dd>]]></template>
  <template title="editor_dialog_media" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<dl class="ctrlUnit">
	<dt>{xen:phrase enter_media_url}:</dt>
	<dd><input type="text" id="redactor_media_link" class="textCtrl" />
		<div class="explain listInline commaImplode">
			{xen:phrase you_may_embed_media_from_following_sites}:
			<ul>
			<xen:foreach loop="$sites" value="$site" count="$totalSites" i="$i">
				<xen:if is="{$site.supported}">
					<li><a href="{$site.site_url}" target="_blank" rel="nofollow">{$site.site_title}</a></li>
				</xen:if>
			</xen:foreach>
			</ul>
		</div>
	</dd>
</dl>

<dl class="ctrlUnit submitUnit">
	<dt></dt>
	<dd>
		<input type="button" name="upload" class="redactor_modal_btn button primary" id="redactor_insert_media_btn" value="{xen:phrase embed}" />
		<a href="javascript:void(null);" class="redactor_modal_btn redactor_btn_modal_close button">{xen:phrase cancel}</a>
	</dd>
</dd>]]></template>
  <template title="editor_dialog_spoiler" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[<dl class="ctrlUnit">
	<dt>{xen:phrase enter_spoiler_title}:</dt>
	<dd><input type="text" id="redactor_spoiler_title" class="textCtrl" />
		<div class="explain">
			{xen:phrase enter_spoiler_title_explain}
		</div>
	</dd>
</dl>

<dl class="ctrlUnit submitUnit">
	<dt></dt>
	<dd>
		<input type="button" class="redactor_modal_btn button primary" id="redactor_insert_spoiler_btn" value="{xen:phrase continue}" />
		<a href="javascript:void(null);" class="redactor_modal_btn redactor_btn_modal_close button">{xen:phrase cancel}</a>
	</dd>
</dl>]]></template>
  <template title="editor_js_setup" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[<xen:if is="{$debugMode}">
	<xen:require js="js/redactor/redactor.full.js" />
<xen:else />
	<xen:require js="js/redactor/redactor.js" />
</xen:if>
<xen:require js="js/xenforo/bb_code_edit.js" />
<xen:require css="editor_ui.css" />

<script>
if (typeof RELANG === 'undefined')
{
	var RELANG = {};
}

RELANG.xf = {
	image: "{xen:jsescape {xen:phrase image}}",
	link: "{xen:jsescape {xen:phrase link}}",
	link_insert: "{xen:jsescape {xen:phrase link}}",
	unlink: "{xen:jsescape {xen:phrase unlink}}",
	quote: "{xen:jsescape {xen:phrase quote}}",
	code: "{xen:jsescape {xen:phrase code}}",
	bold: "{xen:jsescape {xen:phrase bold_ctrl_b}}",
	italic: "{xen:jsescape {xen:phrase italic_ctrl_i}}",
	fontcolor: "{xen:jsescape {xen:phrase text_color}}",
	unorderedlist: "{xen:jsescape {xen:phrase unordered_list}}",
	orderedlist: "{xen:jsescape {xen:phrase ordered_list}}",
	outdent: "{xen:jsescape {xen:phrase outdent}}",
	indent: "{xen:jsescape {xen:phrase indent}}",
	none: "{xen:jsescape {xen:phrase none}}",
	align_left:	"{xen:jsescape {xen:phrase align_left}}",
	align_center: "{xen:jsescape {xen:phrase align_center}}",
	align_right: "{xen:jsescape {xen:phrase align_right}}",
	deleted: "{xen:jsescape {xen:phrase strike_through}}",
	underline: "{xen:jsescape {xen:phrase underline_ctrl_u}}",
	alignment: "{xen:jsescape {xen:phrase alignment}}",
	undo: "{xen:jsescape {xen:phrase undo_ctrl_z}}",
	redo: "{xen:jsescape {xen:phrase redo_ctrl_y}}",
	spoiler: "{xen:jsescape {xen:phrase spoiler}}",
	insert: "{xen:jsescape {xen:phrase insert_editor_bb_code}}",

	remove_formatting: "{xen:jsescape {xen:phrase remove_formatting}}",
	font_size: "{xen:jsescape {xen:phrase font_size}}",
	font_family: "{xen:jsescape {xen:phrase font_family}}",
	smilies: "{xen:jsescape {xen:phrase smilies}}",
	media: "{xen:jsescape {xen:phrase media}}",
	
	drafts: "{xen:jsescape {xen:phrase drafts}}",
	save_draft: "{xen:jsescape {xen:phrase save_draft}}",
	delete_draft: "{xen:jsescape {xen:phrase delete_draft}}",
	draft_saved: "{xen:jsescape {xen:phrase draft_saved}}",
	draft_deleted: "{xen:jsescape {xen:phrase draft_deleted}}",

	switch_mode_bb: "{xen:jsescape {xen:phrase use_bb_code_editor}}",
	switch_mode_rich: "{xen:jsescape {xen:phrase use_rich_text_editor}}",
	
	reply_placeholder: "{xen:jsescape {xen:phrase reply_placeholder}}",
	
	drop_files_here_to_upload: "{xen:jsescape {xen:phrase drop_files_here_to_upload}}",
	uploads_are_not_available: "{xen:jsescape {xen:phrase uploads_are_not_available}}"
};
</script>]]></template>
  <template title="editor_smilies" version_id="1040370" version_string="1.4.3"><![CDATA[<xen:if is="{$showCategories}">
<ul class="tabs Tabs" data-panes="#SmilieCategories{$serverTime} > li">
<xen:foreach loop="$smilieCategories" key="$smilieCategoryId" value="$smilieCategory">
	<li><a>{xen:if $smilieCategoryId, {$smilieCategory.title}, {xen:phrase smilies}}</a></li>
</xen:foreach>
</ul>
</xen:if>

<ul class="{xen:if $showCategories, 'primaryContent', 'secondaryContent'} smilieContainer" id="SmilieCategories{$serverTime}">
	<xen:foreach loop="$smilieCategories" key="$smilieCategoryId" value="$smilieCategory">
		<li class="smilieCategory">
			<ul>
				<xen:foreach loop="$smilieCategory.smilies" key="$smilieId" value="$smilie">
					<li class="Smilie" data-text="{$smilie.primaryText}">
					<xen:if is="{$smilie.sprite_mode}">
						<img src="{xen:property imagePath}/xenforo/clear.png" class="mceSmilieSprite mceSmilie{$smilie.smilie_id}" title="{$smilie.title}    {$smilie.smilieText.0}" alt="{$smilie.smilieText.0}" data-smilie="yes" />
					<xen:else />
						<img src="{$smilie.image_url}" title="{$smilie.title}    {$smilie.smilieText.0}" alt="{$smilie.smilieText.0}" data-smilie="yes" />
					</xen:if>
					</li>
				</xen:foreach>
			</ul>
		</li>
	</xen:foreach>
</ul>]]></template>
  <template title="editor_ui.css" version_id="1030470" version_string="1.3.4"><![CDATA[.hasJs .BbCodeWysiwygEditor
{
	visibility: hidden;
}

.redactor_box {
	{xen:property rteContainer}
}

	.redactor_box .redactor_smilies
	{
		overflow: hidden; *zoom: 1;
	}
	
		.redactor_box .redactor_smilies .tabs
		{
			min-height: 0;
		}
		
		.redactor_box .redactor_smilies .smilieContainer
		{
			max-height: 150px;
			overflow: auto;
		}

		.redactor_box .redactor_smilies .primaryContent,
		.redactor_box .redactor_smilies .secondaryContent
		{
			border-bottom: none;
		}
		
		.redactor_box .redactor_smilies .secondaryContent
		{
			border-top: {xen:property rteContainer.border-bottom-width} {xen:property rteContainer.border-bottom-style} {xen:property rteContainer.border-bottom-color};
		}
		
		.redactor_box .redactor_smilies .tabs a
		{
			height: 18px;
			line-height: 18px;
			font-size: 11px;
		}
		

		.redactor_box .redactor_smilies .smilieCategory li
		{
			display: inline-block;
			margin: 0;
			padding: 2px;
			cursor: pointer;
			line-height: 1.6;
		}
		
	.redactor_box .draftNotice,
	.redactor_box .placeholder
	{
		display: none;
		position: relative;
		line-height: 0;
		font-size: 0;
		z-index: 1;
	}
	
	.redactor_box .draftNotice span
	{
		position: absolute;
		right: 20px;
		top: -30px;
		float: right;
		line-height: 14px;
		font-size: 11px;
		color: {xen:property mutedTextColor};
		padding: 5px;
		border-radius: 3px;
		background: {xen:property contentBackground};
		box-shadow: 1px 1px 4px {xen:property mutedTextColor};
		opacity: .5;
	}
		
	.redactor_box .placeholder span
	{
		line-height: 14px;

		{xen:property messageText}
	
		position: absolute;
		left: 8px;
		top: 8px;
		color: {xen:property formElementPrompt.color};
	}


/* TOOLBAR */
.redactor_toolbar {
	{xen:property rteToolbar}
}

	.blendedEditor .redactor_box .redactor_toolbar
	{
		max-height: 68px;
	}
	
	.blendedEditor .redactor_box.activated .redactor_toolbar
	{
		max-height: none;
	}

	.redactor_toolbar li {
		float: left;
		margin: 2px 1px;
		margin-right: 0;
		list-style: none;
		outline: none;
	}

		.redactor_toolbar li.redactor_btn_right {
			float: right;
		}

		.redactor_toolbar li a {
			{xen:property rteToolbarButton}
		}
		
		html .redactor_toolbar li a,
		html .redactor_toolbar li a:hover,
		html .redactor_toolbar li a:active,
		html .redactor_toolbar li a.redactor_act
		{
			background-image: url('{xen:property imagePath}/xenforo/editor/icons.png?redactor');
			background-repeat: no-repeat;
			background-position: 0;
		}

			.redactor_toolbar li a:hover {
				{xen:property rteToolbarButtonHover}
			}

			.redactor_toolbar li a:active, .redactor_toolbar li a.redactor_act {
				{xen:property rteToolbarButtonActive}
			}

		.redactor_toolbar li li {
			padding: 0;
			margin: 1px;
		}

		.redactor_toolbar li.redactor_btn_group {
			margin-left: 2px;
			margin-right: 2px;
		}

			.redactor_toolbar li.redactor_btn_group ul {
				{xen:property rteToolbarGroup}
			}
	
			<xen:if is="{xen:property rteFaded}">
				/* Fade toolbar when editor is not activated */
				.blendedEditor .redactor_box .redactor_btn_group ul,
				.blendedEditor .redactor_box iframe,
				.blendedEditor .redactor_box .redactor_smilies li
				{
					opacity: 0.5;
					-webkit-transition: opacity 0.3s ease-in-out;
					-moz-transition: opacity 0.3s ease-in-out;
					transition: opacity 0.3s ease-in-out;
				}
		
				.blendedEditor .redactor_box.activated .redactor_btn_group ul,
				.blendedEditor .redactor_box.activated iframe,
				.blendedEditor .redactor_box.activated .redactor_smilies li
				{
					opacity: 1;
				}
			</xen:if>
	
		.redactor_toolbar li.redactor_separator {
			float: left;
			height: 32px;
			border-left: 1px solid #d3d3d3;
			border-right: 1px solid #f5f5f5;
			padding: 0;
			margin: 0 2px 0 3px;
		}


/*BUTTONS*/

<xen:set var="$redactorButtons" value="{xen:array
	'redactor_btn_html=76',
	'redactor_btn_switchmode=19',
	'redactor_btn_removeformat=69',
	'redactor_btn_draft=70',
	'redactor_btn_draftsave=70',
	'redactor_btn_new=58',
	'redactor_btn_draftdelete=58',
	'redactor_btn_bold=1',
	'redactor_btn_italic=2',
	'redactor_btn_underline=6',
	'redactor_btn_deleted=3',
	'redactor_btn_fontcolor=17',
	'redactor_btn_fontsize=92',
	'redactor_btn_fontfamily=91',
	'redactor_btn_smilies=75',
	'redactor_btn_alignment=46',
	'redactor_btn_alignleft=46',
	'redactor_btn_aligncenter=45',
	'redactor_btn_alignright=47',
	'redactor_btn_justify=44',
	'redactor_btn_unorderedlist=53',
	'redactor_btn_orderedlist=55',
	'redactor_btn_outdent=43',
	'redactor_btn_indent=41',
	'redactor_btn_image=39',
	'redactor_btn_table=78',
	'redactor_btn_link=50',
	'redactor_btn_createlink=50',
	'redactor_btn_unlink=51',
	'redactor_btn_horizontalrule=37',
	'redactor_btn_code=76',
	'redactor_btn_insertcode=76',
	'redactor_btn_quote=9',
	'redactor_btn_insertquote=9',
	'redactor_btn_media=90',
	'redactor_btn_undo=88',
	'redactor_btn_redo=86',
	'redactor_btn_spoiler=49',
	'redactor_btn_insertspoiler=49',
	'redactor_btn_insert=72'
}" />
<xen:foreach loop="$redactorButtons" key="$button" value="$position">
	html .redactor_toolbar li a.{$button} { background-position: 3px -{xen:calc '{$position} * 32 - 3'}px; }
</xen:foreach>

<xen:foreach loop="$customBbCodes" key="$bbCodeTag" value="$bbCode">
	<xen:if is="{$bbCode.editor_icon_url}">
		html .redactor_toolbar li a.redactor_btn_custom_{$bbCodeTag}
		{
			background-image: url('{$bbCode.editor_icon_url}');
			<xen:if is="{$bbCode.sprite_mode} AND {$bbCode.sprite_params}">
				background-position: {$bbCode.sprite_params.x}px {$bbCode.sprite_params.y}px;
			</xen:if>
		}
	</xen:if>
</xen:foreach>

<xen:set var="$redactorButtonsRtl" value="{xen:array
	'redactor_btn_unorderedlist=52',
	'redactor_btn_orderedlist=54',
	'redactor_btn_outdent=42',
	'redactor_btn_indent=40',
	'redactor_btn_undo=87',
	'redactor_btn_redo=85'
}" />
<xen:foreach loop="$redactorButtonsRtl" key="$button" value="$position">
	html[dir=rtl] .redactor_toolbar li a.{$button} { background-position: 3px -{xen:calc '{$position} * 32 - 3'}px; }
</xen:foreach>


/* DROPDOWN */
.redactor_dropdown {
	top: 28px;
	rtl-raw.left: 0;
	z-index: 100004;
	position: absolute;
	width: 200px;
	max-height: 150px;
	overflow: auto;
	background-color: {xen:property contentBackground};
	border: 1px solid #ccc;
	font-size: 13px;
	box-shadow: 0 2px 5px #ccc;
	line-height: 1.5;
	padding: 5px;
}

	.redactor_dropdown a
	{
		display: block;
		color: {xen:property contentText};
		padding: 3px 5px;
		text-decoration: none;
	}
	
	.redactor_dropdown a.icon
	{
		padding: 0px 0px 0px 32px;
		height: 24px;
		line-height: 24px;
		background: transparent url('{xen:property imagePath}/xenforo/editor/icons.png?redactor') no-repeat 0 0;		
	}
	
		.redactor_dropdown a.alignLeft
		{
			background-position: {xen:if $pageIsRtl, '97%', '3%'} -{xen:calc '{$redactorButtons.redactor_btn_alignleft} * 32 - 3'}px;
		}
		.redactor_dropdown a.alignCenter
		{
			background-position: {xen:if $pageIsRtl, '97%', '3%'} -{xen:calc '{$redactorButtons.redactor_btn_aligncenter} * 32 - 3'}px;
		}
		.redactor_dropdown a.alignRight
		{
			background-position: {xen:if $pageIsRtl, '97%', '3%'} -{xen:calc '{$redactorButtons.redactor_btn_alignright} * 32 - 3'}px;
		}
		
		.redactor_dropdown a.saveDraft
		{
			background-position: {xen:if $pageIsRtl, '97%', '3%'} -{xen:calc '{$redactorButtons.redactor_btn_draft} * 32 - 3'}px;
		}
		.redactor_dropdown a.deleteDraft
		{
			background-position: {xen:if $pageIsRtl, '97%', '3%'} -{xen:calc '{$redactorButtons.redactor_btn_new} * 32 - 3'}px;
		}
		
		.redactor_dropdown a.code
		{
			background-position: {xen:if $pageIsRtl, '97%', '3%'} -{xen:calc '{$redactorButtons.redactor_btn_code} * 32 - 3'}px;
		}		
		.redactor_dropdown a.quote
		{
			background-position: {xen:if $pageIsRtl, '97%', '3%'} -{xen:calc '{$redactorButtons.redactor_btn_quote} * 32 - 3'}px;
		}		
		.redactor_dropdown a.spoiler
		{
			background-position: {xen:if $pageIsRtl, '97%', '3%'} -{xen:calc '{$redactorButtons.redactor_btn_spoiler} * 32 - 3'}px;
		}		
		.redactor_dropdown a.strikethrough
		{
			background-position: {xen:if $pageIsRtl, '97%', '3%'} -{xen:calc '{$redactorButtons.redactor_btn_deleted} * 32 - 3'}px;
		}

	.redactor_dropdown a:hover {
		text-decoration: none;
		background-color: {xen:property primaryLightest};
	}

.redactor_separator_drop {
	border-top: 1px solid #ddd;
	padding: 0;
	line-height: 0;
	font-size: 0;
}

/* ColorPicker */

.redactor_color_link {
	padding: 0;
	width: 15px;
	height: 15px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .2) inset;
	border-radius: 4px;
	float: left;
	margin: 2px;
	font-size: 0;
	box-sizing: border-box;
}

.redactor_color_none {
	font-size: 11px;
	clear: both;
}



/* MODAL */
#redactor_modal_overlay {
	position: fixed;
	margin: auto;
	top: 0;
	rtl-raw.left: 0;
	width: 100%;
	height: 100%;
	z-index: 209998;

	opacity: {xen:property overlayMaskOpacity};
	filter: alpha(opacity='{xen:calc "floor({xen:property overlayMaskOpacity} * 100)"}');

	background-color: {xen:property overlayMaskColor};
}

#redactor_modal {
	padding: 0;
	position: fixed;
	top: 50%;
  	z-index: 209999;
}

#redactor_modal_close {
	overflow: hidden;
	text-indent: -9999px;
	cursor: pointer;
	{xen:property overlayCloseControl}
}

#redactor_tabs {
	margin-bottom: 18px;
	text-align: center;
}

	#redactor_tabs a {
		display: inline-block;
		border: 1px solid #d8d8d8;
		padding: 4px 14px;
		font-size: 12px;
		background-color: #ccc;
		text-decoration: none;
		color: #555;
		line-height: 1;
		border-radius: 5px;
		margin-right: 5px;
	}

		#redactor_tabs a:hover, #redactor_tabs a.redactor_tabs_act {
			background-color: #eee;
			padding: 5px 15px;
			box-shadow: 0 1px 2px rgba(0, 0, 0, .4) inset;
			border: none;
			text-shadow: 0 1px 0 #eee;
			color: #777;
			text-decoration: none;
		}

.redactor_editor_drop {
	display: none;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	border: 2px dashed #aaa;
	color: #000;
	background: rgba(190, 190, 190, .5);
}

	.redactor_editor_drop.dragDisabled
	{
		background: rgba(190, 140, 140, .5);
		border-color: rgb(150, 75, 75);
	}

	.redactor_editor_drop span {
		display: block;
		text-align: center;
		position: absolute;
		top: 50%;
		width: 100%;
		font-size: 18px;
		line-height: 26px;
		margin-top: -13px;
	}

	.redactor_editor_drop.hover {
		display: block;
	}


/* Drag and Drop Area */
.redactor_droparea {
	position: relative;
    width: 100%;
    margin: auto;
    margin-bottom: 5px;
}
.redactor_droparea .redactor_dropareabox {
	z-index: 1;
	position: relative;
    text-align: center;
    width: 99%;
    background-color: #fff;
    padding: 60px 0;
    border: 2px dashed #bbb;
}
.redactor_droparea .redactor_dropareabox, .redactor_dropalternative {
    color: #555;
    font-size: 12px;
}
.redactor_dropalternative {
	margin: 4px 0 2px 0;
}
.redactor_dropareabox.hover {
    background: #efe3b8;
    border-color: #aaa;
}
.redactor_dropareabox.error {
    background: #f7e5e5;
    border-color: #dcc3c3;
}
.redactor_dropareabox.drop {
    background: #f4f4ee;
    border-color: #e0e5d6;
}]]></template>
  <template title="edit_history.css" version_id="1020070" version_string="1.2.0"><![CDATA[.diffList li
{
	padding: 0 {xen:property subHeading.padding-left} 0 {xen:property subHeading.padding-right};
	line-height: 1.5;
}

	.diffList .diff_d
	{
		background-color: #FAE4E4;
		color: #882020;
		border: 1px solid #C86060;
	}

	.diffList .diff_d + .diff_i,
	.diffList .diff_i + .diff_d
	{
		border-top: none;
	}

	.diffList .diff_i
	{
		background-color: #E4FBE4;
		color: #208820;
		border: 1px solid #60C860;
	}

table.diffVersions
{
	margin-bottom: 0px;
}

	.diffVersions .old
	{
		width: 50px;
	}

	.diffVersions .new
	{
		width: 50px;
	}

	.diffVersions .date
	{
		width: 250px;
	}

	.diffVersions .dateCurrent
	{
		font-style: italic;
	}

.historyText textarea
{
	width: 100%;
	box-sizing: border-box;
	*width: 95%;
}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:400px)
{
	table.diffVersions .viewVersion
	{
		display: none;
	}
}
</xen:if>]]></template>
  <template title="edit_history_compare" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:title>{xen:escape $title, false} - {xen:phrase version_comparison}</xen:title>
<xen:h1>{xen:phrase version_comparison}</xen:h1>

<xen:navigation>
	<xen:breadcrumb source="$breadCrumbs" />
</xen:navigation>

<xen:require css="edit_history.css" />

<div class="section">
	<ul class="diffList messageText overlayScroll primaryContent">
	<xen:foreach loop="$diffs" value="$diff">
		<xen:set var="$diffHtml" value="{xen:helper implode, '<br />', {$diff.1}}" />
		<li class="diff_{$diff.0}">{xen:if "trim({$diffHtml}) !== ''", {xen:raw $diffHtml}, '&nbsp;'}</li>
	</xen:foreach>
	</ul>
</div>]]></template>
  <template title="edit_history_index" version_id="1020070" version_string="1.2.0"><![CDATA[<xen:title>{xen:escape $title, false} - {xen:phrase edit_history}</xen:title>
<xen:h1>{xen:phrase edit_history}</xen:h1>

<xen:navigation>
	<xen:breadcrumb source="$breadCrumbs" />
</xen:navigation>

<xen:require css="edit_history.css" />

<form method="post" action="{xen:link edit-history}" class="section">
	<table class="dataTable diffVersions">
	<tr class="dataRow">
		<th class="old">{xen:phrase old}</th>
		<th class="new">{xen:phrase new}</th>
		<th class="date">{xen:phrase edit_date}</th>
		<th class="member">{xen:phrase member}</th>
		<th class="viewVersion">&nbsp;</th>
	</tr>
	<tr class="dataRow">
		<td class="old">&nbsp;</td>
		<td class="new"><input type="radio" name="new" value="0" {xen:checked '{$newId} == 0'} /></td>
		<td class="date dateCurrent">{xen:phrase current_version}</td>
		<td class="member">&nbsp;</td>
		<td class="dataOptions viewVersion">&nbsp;</td>
	</tr>
	<xen:foreach loop="$list" value="$history">
		<tr class="dataRow">
			<td class="old"><input type="radio" name="old" value="{$history.edit_history_id}" {xen:checked '{$oldId} == {$history.edit_history_id}'} /></td>
			<td class="new"><input type="radio" name="new" value="{$history.edit_history_id}" {xen:checked '{$newId} == {$history.edit_history_id}'} /></td>
			<td class="date"><xen:datetime time="{$history.edit_date}" /></td>
			<td class="member"><xen:username user="$history" /></td>
			<td class="dataOptions viewVersion"><a href="{xen:link edit-history/view, $history}" class="secondaryContent OverlayTrigger">{xen:phrase view_pre_edit_version}</a></td>
		</tr>
	</xen:foreach>
	<xen:if is="{$content.edit_count} AND {$content.edit_count} > count({$list})">
		<tr><td class="secondaryContent" colspan="5">{xen:phrase this_content_edited_total_of_x_times_old_records_removed, 'count={xen:number $content.edit_count}'}</td></tr>
	</xen:if>
	</table>
	<div class="sectionFooter"><input type="submit" value="{xen:phrase compare_versions}" class="button primary OverlayTrigger" /></div>
	
	<input type="hidden" name="content_type" value="{$contentType}" />
	<input type="hidden" name="content_id" value="{$contentId}" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="edit_history_view" version_id="1020270" version_string="1.2.2"><![CDATA[<xen:title>{xen:phrase content_history}</xen:title>
<xen:navigation>
	<xen:breadcrumb source="$breadCrumbs" />
</xen:navigation>

<xen:require css="edit_history.css" />

<div class="section historyText">
	<div class="primaryContent overlayScroll">
		<ul class="Tabs tabs" data-panes="#history-panes-{$serverTime}-{$history.edit_history_id} > li">
			<li class="active"><a>{xen:phrase formatted}</a></li>
			<li><a>{xen:phrase raw}</a></li>
		</ul>
		<ul id="history-panes-{$serverTime}-{$history.edit_history_id}" style="margin-top: 10px">
			<li class="messageText baseHtml">
				{xen:raw $contentFormatted}
			</li>
			<li>
				<textarea class="textCtrl Elastic" rows="10" readonly="readonly">{$history.old_text}</textarea>
			</li>
		</ul>
	</div>
	<xen:if is="{$canRevert}">
		<form action="{xen:link edit-history/revert, $history}" method="post" class="sectionFooter">
			<label><input type="checkbox" name="_xfConfirm" value="1" /> {xen:phrase confirm_revert}</label>
			<input type="submit" class="button" value="{xen:phrase revert_to_this_version}" />
			<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
		</form>
	</xen:if>
</div>]]></template>
  <template title="error" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[<xen:title>{xen:phrase error}</xen:title>
<xen:h1>{$xenOptions.boardTitle} - {xen:phrase error}</xen:h1>

<xen:container var="$head.robots"><meta name="robots" content="noindex" /></xen:container>

<div class="errorOverlay">
	<a class="close OverlayCloser"></a>
	<xen:if is="{xen:count $error, false} == 1">
		<xen:if is="{$showHeading}"><h2 class="heading">{xen:phrase following_error_occurred}:</h2></xen:if>
		
		<div class="baseHtml">
		<xen:foreach loop="$error" key="$key" value="$value">
			<label for="ctrl_{$key}" class="OverlayCloser">{xen:raw $value}</label>
		</xen:foreach>
		</div>
	<xen:else />
		<xen:if is="{$showHeading}"><h2 class="heading">{xen:phrase please_correct_following_errors}:</h2></xen:if>
	
		<div class="baseHtml">
			<ul>
			<xen:foreach loop="$error" key="$key" value="$value">
				<li><label for="ctrl_{$key}" class="OverlayCloser">{xen:raw $value}</label></li>
			</xen:foreach>
			</ul>
		</div>
	</xen:if>
</div>]]></template>
  <template title="error.css" version_id="1020170" version_string="1.2.1"><![CDATA[.xenOverlay .errorOverlay
{
	color: white;
	padding: 25px;
	border-radius: 20px;	
	border: 20px solid rgba(0,0,0, 0.25);
	
	background: rgba(0,0,0, 0.75);
}

	.xenOverlay .errorOverlay .heading
	{
		padding: 5px 10px;
		font-weight: bold;
		font-size: 12pt;
		background: rgb(180,0,0);
		color: white;
		margin-bottom: 10px;
		border-radius: 5px;
		border: 1px solid rgb(100,0,0);
	}

	.xenOverlay .errorOverlay li
	{
		line-height: 2;
	}
	
	.xenOverlay .errorOverlay .exceptionMessage
	{
		color: {xen:property mutedTextColor};
	}

/*** inline errors ***/

.formValidationInlineError
{
	display: none;
	position: absolute;
	z-index: 5000;
	background-color: white;
	border: 1px solid rgb(180,0,0);
	color: rgb(180,0,0);
	box-shadow: 2px 2px 10px #999;
	border-radius: 3px;
	padding: 2px 5px;
	font-size: 11px;
	width: 175px;
	min-height: 2.5em;
	_height: 2.5em;
	word-wrap: break-word;
}

	.formValidationInlineError.inlineError
	{
		position: static;
		width: auto;
		min-height: 0;
	}

/** Block errors **/

.errorPanel
{
	margin: 10px 0 20px;
	color: rgb(180,0,0);
	background: rgb(255, 235, 235);
	border-radius: 5px;
	border: 1px solid rgb(180,0,0);
}

	.errorPanel .errorHeading
	{
		margin: .75em;
		font-weight: bold;
		font-size: 12pt;
	}
	
	.errorPanel .errors
	{
		margin: .75em 2em;
		display: block;
		line-height: 1.5;
	}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveWideWidth})
{
	.Responsive .formValidationInlineError
	{
		position: static;
		width: auto;
		min-height: auto;
	}
}
</xen:if>]]></template>
  <template title="error_with_login" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[<xen:title>{xen:phrase error}</xen:title>
<xen:h1>{$xenOptions.boardTitle} - {xen:phrase error}</xen:h1>

<xen:container var="$head.robots"><meta name="robots" content="noindex" /></xen:container>

<xen:if is="{$visitor.user_id}">{xen:raw $text}</xen:if>

<xen:include template="helper_login_form" />]]></template>
  <template title="events.css" version_id="1020035" version_string="1.2.0 Beta 5"><![CDATA[.news_feed_page_global .eventList:first-of-type
{
	border-top: 1px solid {xen:property primaryLighterStill};
}

.event
{
	overflow: hidden; zoom: 1;
}

	.event .avatar,
	.event .icon
	{
		float: left;
	}
	
	.event .content
	{
		margin-left: 65px;
		padding-top: 1px;
	}
	
		.event .NewsFeedItemHider
		{
			float: right;
			margin-left: 5px;
		}
	
		.event .content .description
		{
			color: {xen:property mutedTextColor};
		}
	
			.event .content .description em
			{
				color: {xen:property contentText};
			}
	
		.event .content .options
		{
			float: right;
			font-size: 11px;
		}
		
		.event .content .primaryText
		{
			font-weight: bold;
		}
		
		.event .content .title
		{
			line-height: 16px;
			margin-top: 5px;
		}
		
		.event .content .minorTitle
		{
			font-size: 11px;
			line-height: 16px;
			margin-top: 5px;
		}
		
		.event .content .snippet
		{
			margin: 5px 0;
			
			{xen:property messageText};
			
			font-size: 11px;
			font-style: italic;
		}
		
		.event .content .DateTime
		{
			display: block;
			color: {xen:property mutedTextColor};
			font-size: 11px;
			margin-top: 5px;
		}
		
		.event .content .icon
		{
			display: inline-block;
			width: 16px;
			height: 16px;
			margin-right: 5px;
			vertical-align: middle;
		}
		
		.event .content .thread .icon
		{
			background: transparent url('{xen:property imagePath}/xenforo/xenforo-ui-sprite.png') no-repeat -96px -16px;
		}
		
		.event .content .forum .icon
		{
			background: transparent url('{xen:property imagePath}/xenforo/xenforo-ui-sprite.png') no-repeat -80px -16px;
		}
		
		.event .content .attachedImages		
		{
		}
		
			.event .content .attachedImages:hover,
			.event .content .attachedImages:active
			{
				outline: 0 none;
				text-decoration: none;
			}
			
				.event .content .attachedImages img
				{
					max-height: 32px;
				}]]></template>
  <template title="EXTRA.css" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[]]></template>
  <template title="facebook.css" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[a.fbLogin,
#loginBar a.fbLogin
{
	display: inline-block;
	width: {xen:property eAuthButtonWidth};
	height: 22px;
	box-sizing: border-box;
	cursor: pointer;
	
	background: #29447e url('//b.s-static.ak.facebook.com/images/connect_sprite.png');
	background-repeat: no-repeat;
	border-radius: 3px;
	rtl-raw.background-position: {xen:if $pageIsRtl, 'right -396px', 'left -188px'};
	padding: 0px 0px 0px 1px;
	outline: none;
	
	text-decoration: none;
	color: white;
	font-weight: bold;
	font-size: 11px;
	line-height: 14px;
}

a.fbLogin:active,
#loginBar a.fbLogin:active
{
	rtl-raw.background-position: {xen:if $pageIsRtl, 'right -418px', 'left -210px'};
}

a.fbLogin:hover,
#loginBar a.fbLogin:hover
{
	text-decoration: none;
}

	a.fbLogin span
	{
		background: #5f78ab url('//b.s-static.ak.facebook.com/images/connect_sprite.png');
		border-top: solid 1px #879ac0;
		border-bottom: solid 1px #1a356e;
		display: block;
		padding: 2px 4px 3px;
		margin: 1px 1px 0px 21px;
		text-shadow: none;
		white-space: nowrap;
		overflow: hidden;
	}

	a.fbLogin:active span
	{
		border-bottom: solid 1px #29447e;
		border-top: solid 1px #45619d;
		background: #4f6aa3;
		text-shadow: none;
	}]]></template>
  <template title="find_new_posts" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[<xen:if is="{$showingNewPosts}">
	<xen:title>{xen:phrase new_posts}</xen:title>
<xen:else />
	<xen:title>{xen:phrase recent_posts}</xen:title>
</xen:if>

<xen:container var="$head.robots">
	<meta name="robots" content="noindex" /></xen:container>

<xen:require css="discussion_list.css" />
<xen:require js="js/xenforo/discussion_list.js" />
	
<div class="pageNavLinkGroup">
	<div class="linkGroup">
		<xen:if is="{$visitor.user_id}"><a href="{xen:link 'forums/-/mark-read', $forum, 'date={$search.search_date}'}" class="OverlayTrigger">{xen:phrase mark_forums_read}</a></xen:if>
		<xen:if is="{$showingNewPosts}"><a href="{xen:link find-new/posts, '', 'recent=1'}">{xen:phrase recent_posts}</a></xen:if>
	</div>

	<xen:pagenav link="find-new/posts" linkdata="{$search}" page="{$page}" perpage="{$perPage}" total="{$totalThreads}" />
</div>

<div class="discussionList section">
	<form action="{xen:link inline-mod/thread/switch}" method="post"
		class="DiscussionList InlineModForm"
		data-cookieName="threads"
		data-controls="#InlineModControls"
		data-imodOptions="#ModerationSelect option">

		<dl class="sectionHeaders">
			<dt class="posterAvatar"></dt>
			<dd class="main">
				<a class="title"><span>{xen:phrase title}</span></a>
				<a class="postDate"><span></span></a>
			</dd>
			<dd class="stats">
				<a class="major"><span>{xen:phrase replies}</span></a>
				<a class="minor"><span>{xen:phrase views}</span></a>
			</dd>
			<dd class="lastPost"><a><span>{xen:phrase last_message}</span></a></dd>
		</dl>
		
		<xen:set var="$_activityBarShown">0</xen:set>
	
		<ol class="discussionListItems">
		<xen:foreach loop="$threads" value="$thread">
			
			<xen:if is="{$showingNewPosts} AND !{$_activityBarShown} AND {$thread.last_post_date} < {$session.previousActivity}">
				<li class="discussionListItem"><div class="noteRow">{xen:phrase threads_below_not_been_updated_since_last_visit_have_unread}</div></li>
				<xen:set var="$_activityBarShown">1</xen:set>
			</xen:if>
			
			<xen:include template="thread_list_item">
				<xen:set var="$showForumLink">1</xen:set>
				<xen:set var="$showLastPageNumbers">1</xen:set>
			</xen:include>

		</xen:foreach>
		</ol>
	
		<div class="sectionFooter">
			<span class="contentSummary">{xen:phrase showing_results_x_to_y_of_z, 'start={xen:number $threadStartOffset}', 'end={xen:number $threadEndOffset}', 'total={xen:number $totalThreads}'}</span>
	
			<xen:if is="{$inlineModOptions}">
				<xen:include template="inline_mod_controls_thread" />
			</xen:if>
		</div>

		<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	</form>
	
	<xen:include template="preview_tooltip" />

</div>

<div class="pageNavLinkGroup">
	<div class="linkGroup"{xen:if '!{$ignoredNames}', ' style="display: none"'}><a href="javascript:" class="muted JsOnly DisplayIgnoredContent Tooltip" title="{xen:phrase show_hidden_content_by_x, "names={xen:helper implode, $ignoredNames, ', '}"}">{xen:phrase show_ignored_content}</a></div>

	<xen:pagenav link="find-new/posts" linkdata="{$search}" page="{$page}" perpage="{$perPage}" total="{$totalThreads}" />
</div>]]></template>
  <template title="find_new_posts_none" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:title>{xen:phrase new_posts}</xen:title>

<div class="section">
<xen:if is="{$visitor.user_id} AND !{$days} AND !{$recent}">
	{xen:phrase no_unread_posts_view_recent, 'link={xen:link find-new/posts, "", "recent=1"}'}
<xen:else />
	{xen:phrase no_results_found}
</xen:if>
</div>]]></template>
  <template title="find_new_profile_posts" version_id="1040051" version_string="1.4.0 Release Candidate 1"><![CDATA[<xen:title>{xen:phrase new_profile_posts}</xen:title>

<xen:container var="$head.profilePosterCss">
<style>
	.profilePoster
	{
		max-width: 100%;
		width: 250px;
	}

	.profilePoster textarea
	{
		height: 36px;
		width: 100%;
		box-sizing: border-box;
		resize: vertical;
	}
	
	.profilePoster .submitUnit
	{
		margin-top: 5px;
		text-align: {xen:if $pageIsRtl, left, right};
	}
	
	.profilePoster .formValidationInlineError
	{
		display: none !important;
	}
</style>
</xen:container>
<xen:require js="js/xenforo/quick_reply_profile.js" />

<div class="pageNavLinkGroup">
	<div class="linkGroup SelectionCountContainer">
		<xen:if is="{$canUpdateStatus}">
			<div class="Popup">
				<a rel="Menu">{xen:phrase update_your_status_title}</a>
				<div class="Menu">
					<div class="primaryContent menuHeader"><h3>{xen:phrase update_your_status_title}</h3></div>
					<form action="{xen:link members/post, $visitor}" method="post"
						class="profilePoster AutoValidator secondaryContent" id="ProfilePoster"
						data-optInOut="optIn"
					>
						<textarea name="message" class="textCtrl StatusEditor UserTagger Elastic" rows="2" data-statusEditorCounter="#statusEditorCounter"></textarea>

						<div class="submitUnit">
							<span id="statusEditorCounter" title="{xen:phrase characters_remaining}"></span>
							<input type="submit" class="button primary MenuCloser" value="{xen:phrase post_verb}" accesskey="s" />
						</div>
						<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
					</form>
				</div>
			</div>
		</xen:if>
	</div>
	<xen:pagenav link="find-new/profile-posts" linkdata="{$search}" page="{$page}" perpage="{$perPage}" total="{$total}" />
</div>

<form action="{xen:link 'inline-mod/profile-post/switch'}" method="post"
class="InlineModForm section"
data-cookieName="profilePosts"
data-controls="#InlineModControls"
data-imodOptions="#ModerationSelect option">

	<ol class="messageSimpleList topBorder" id="ProfilePostList">
		<xen:foreach loop="$profilePosts" value="$profilePost">
			<xen:if is="{$profilePost.isDeleted}">
				<xen:include template="profile_post_deleted" />
			<xen:else />
				<xen:include template="profile_post">
					<xen:set var="$showReceiverName" value="1" />
				</xen:include>
			</xen:if>
		</xen:foreach>
	</ol>
	
	<xen:if is="{$inlineModOptions}">
		<div class="sectionFooter InlineMod Hide">
			<label for="ModerationSelect">{xen:phrase perform_action_with_selected_posts}...</label>
	
			<xen:include template="inline_mod_controls_profile_post" />
		</div>
	</xen:if>
	
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>

<div class="pageNavLinkGroup">
	<div class="linkGroup"{xen:if '!{$ignoredNames}', ' style="display: none"'}><a href="javascript:" class="muted JsOnly DisplayIgnoredContent Tooltip" title="{xen:phrase show_hidden_content_by_x, "names={xen:helper implode, $ignoredNames, ', '}"}">{xen:phrase show_ignored_content}</a></div>

	<xen:pagenav link="find-new/profile-posts" linkdata="{$search}" page="{$page}" perpage="{$perPage}" total="{$total}" />
</div>]]></template>
  <template title="find_new_profile_posts_none" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:title>{xen:phrase new_profile_posts}</xen:title>

<div class="section">
	{xen:phrase no_results_found}
</div>]]></template>
  <template title="find_new_wrapper" version_id="1020370" version_string="1.2.3"><![CDATA[<xen:container var="$head.robots">
	<meta name="robots" content="noindex" /></xen:container>

<xen:if is="{$showTabs}">
	<ul class="tabs">
	<xen:foreach loop="$tabs" key="$tabId" value="$tab">
		<li class="{xen:if '{$tabId} == {$selectedTab}', active}"><a href="{$tab.href}">{$tab.title}</a></li>
	</xen:foreach>
	</ul>
</xen:if>

{xen:raw $_subView}]]></template>
  <template title="footer" version_id="1030033" version_string="1.3.0 Beta 3"><![CDATA[<xen:edithint template="footer.css" />

<xen:hook name="footer">
<div class="footer">
	<div class="pageWidth">
		<div class="pageContent">
			<xen:if is="{$canChangeStyle} OR {$canChangeLanguage}">
			<dl class="choosers">
				<xen:if is="{$canChangeStyle}">
					<dt>{xen:phrase style}</dt>
					<dd><a href="{xen:link 'misc/style', '', 'redirect={$requestPaths.requestUri}'}" class="OverlayTrigger Tooltip" title="{xen:phrase style_chooser}" rel="nofollow">{$visitorStyle.title}</a></dd>
				</xen:if>
				<xen:if is="{$canChangeLanguage}">
					<dt>{xen:phrase language}</dt>
					<dd><a href="{xen:link 'misc/language', '', 'redirect={$requestPaths.requestUri}'}" class="OverlayTrigger Tooltip" title="{xen:phrase language_chooser}" rel="nofollow">{$visitorLanguage.title}</a></dd>
				</xen:if>
			</dl>
			</xen:if>
			
			<ul class="footerLinks">
			<xen:hook name="footer_links">
				<xen:if is="{$xenOptions.contactUrl.type} === 'default'">
					<li><a href="{xen:link 'misc/contact'}" class="OverlayTrigger" data-overlayOptions="{&quot;fixed&quot;:false}">{xen:phrase contact_us}</a></li>
				<xen:elseif is="{$xenOptions.contactUrl.type} === 'custom'" />
					<li><a href="{$xenOptions.contactUrl.custom}" {xen:if {$xenOptions.contactUrl.overlay}, 'class="OverlayTrigger" data-overlayOptions="{&quot;fixed&quot;:false}"'}>{xen:phrase contact_us}</a></li>
				</xen:if>
				<li><a href="{xen:link help}">{xen:phrase help}</a></li>
				<xen:if is="{$homeLink}"><li><a href="{$homeLink}" class="homeLink">{xen:phrase home}</a></li></xen:if>
				<li><a href="{$requestPaths.requestUri}#navigation" class="topLink">{xen:phrase go_to_top}</a></li>
				<li><a href="{xen:link forums/-/index.rss}" rel="alternate" class="globalFeed" target="_blank"
					title="{xen:phrase rss_feed_for_x, 'title={$xenOptions.boardTitle}'}">{xen:phrase rss}</a></li>
			</xen:hook>
			</ul>
			
			<span class="helper"></span>
		</div>
	</div>
</div>

<div class="footerLegal">
	<div class="pageWidth">
		<div class="pageContent">
			<ul id="legal">
			<xen:hook name="footer_links_legal">
				<xen:if is="{$tosUrl}"><li><a href="{$tosUrl}">{xen:phrase terms_and_rules}</a></li></xen:if>
				<xen:if is="{$xenOptions.privacyPolicyUrl}"><li><a href="{$xenOptions.privacyPolicyUrl}">{xen:phrase privacy_policy}</a></li></xen:if>
			</xen:hook>
			</ul>
			
			<div id="copyright">{xen:helper copyright} {xen:phrase extra_copyright}</div>
			<xen:hook name="footer_after_copyright" />
		
			<xen:if is="{$debugMode}">
				<xen:if hascontent="true">
					<dl class="pairsInline debugInfo" title="{$controllerName}-&gt;{$controllerAction}{xen:if $viewName, ' ({$viewName})'}">
					<xen:contentcheck>
						<xen:if is="{$page_time}"><dt>{xen:phrase timing}:</dt> <dd><a href="{$debug_url}" rel="nofollow">{xen:phrase x_seconds, 'time={xen:number $page_time, 4}'}</a></dd></xen:if>
						<xen:if is="{$memory_usage}"><dt>{xen:phrase memory}:</dt> <dd>{xen:phrase x_mb, 'size={xen:number {xen:calc "{$memory_usage} / 1024 / 1024"}, 3}'}</dd></xen:if>
						<xen:if is="{$db_queries}"><dt>{xen:phrase db_queries}:</dt> <dd>{xen:number {$db_queries}}</dd></xen:if>
					</xen:contentcheck>
					</dl>
				</xen:if>
			</xen:if>
			
			<span class="helper"></span>
		</div>
	</div>	
</div>
</xen:hook>]]></template>
  <template title="footer.css" version_id="1020170" version_string="1.2.1"><![CDATA[.footer .pageContent
{
	{xen:property footer}
}
	
	.footer a,
	.footer a:visited
	{
		{xen:property footerLink}
	}
	
		.footer a:hover,
		.footer a:active
		{
			{xen:property footerLinkHover}
		}

	.footer .choosers
	{
		{xen:property footerLeftBlock}
	}
	
		.footer .choosers dt
		{
			display: none;
		}
		
		.footer .choosers dd
		{
			float: left;
			<xen:if is="{$pageIsRtl}">*display: inline; *float: none; *zoom: 1;</xen:if>
		}
		
	.footerLinks
	{
		{xen:property footerRightBlock}
	}
	
		.footerLinks li
		{
			float: left;
			<xen:if is="{$pageIsRtl}">*display: inline; *float: none; *zoom: 1;</xen:if>
		}
		
			.footerLinks a.globalFeed
			{
				width: 14px;
				height: 14px;
				display: block;
				text-indent: -9999px;
				white-space: nowrap;
				background: url('{xen:property imagePath}/xenforo/xenforo-ui-sprite.png') no-repeat -112px -16px;
				padding: 0;
				margin: 5px;
			}

.footerLegal .pageContent
{
	font-size: 11px;
	overflow: hidden; zoom: 1;
	padding: 5px 5px 15px;
	text-align: center;
}
	
	#copyright
	{
		color: {xen:property dimmedTextColor};
		float: left;
	}
	
	#legal
	{
		float: right;
	}
	
		#legal li
		{
			float: left;
			<xen:if is="{$pageIsRtl}">*display: inline; *float: none; *zoom: 1;</xen:if>
			margin-left: 10px;
		}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveMediumWidth})
{
	.Responsive .footerLinks a.globalFeed,
	.Responsive .footerLinks a.topLink,
	.Responsive .footerLinks a.homeLink
	{
		display: none;
	}

	.Responsive .footerLegal .debugInfo
	{
		clear: both;
	}
}

@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive #copyright span
	{
		display: none;
	}
}
</xen:if>]]></template>
  <template title="form.css" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[/** Forms **/

.xenForm
{
	margin: 10px auto;
	max-width: {xen:property formWidth};
}

	.xenOverlay .xenForm
	{
		max-width: {xen:property overlayFormWidth};
	}

.xenForm .ctrlUnit > dd
{
	width: {xen:property ctrlUnitValueWidth};
	box-sizing: border-box;
	padding-right: {xen:property ctrlUnitEdgeSpacer};
}

.xenForm .ctrlUnit > dd .textCtrl
{
	box-sizing: border-box;
	width: 100%;
}

	.xenForm .ctrlUnit > dd .textCtrl[size],
	.xenForm .ctrlUnit > dd .textCtrl.autoSize
	{
		width: auto !important;
		min-width: 0;
	}

	.xenForm .ctrlUnit > dd .textCtrl.number
	{
		width: 150px;
	}


.xenForm > .sectionHeader:first-child,
.xenForm > fieldset > .sectionHeader:first-child
{
	margin-top: 0;
}

/** Sections **/

.xenForm fieldset,
.xenForm .formGroup
{
	border-top: 1px solid {xen:property primaryLighterStill};
	margin: 20px auto;
}

.xenForm > fieldset:first-child,
.xenForm > .formGroup:first-child
{
	border-top: none;
	margin: auto;
}

.xenForm .PreviewContainer + fieldset,
.xenForm .PreviewContainer + .formGroup
{
	border-top: none;
}

.xenForm fieldset + .ctrlUnit,
.xenForm .formGroup + .ctrlUnit,
.xenForm .submitUnit
{
	border-top: 1px solid {xen:property primaryLighterStill};
}

.xenForm fieldset + .ctrlUnit,
.xenForm .formGroup + .ctrlUnit
{
	padding-top: 10px;
}

.xenForm .primaryContent + .submitUnit,
.xenForm .secondaryContent + .submitUnit
{
	margin-top: 0;
	border-top: none;
}

.xenForm .ctrlUnit.submitUnit dd
{	
	line-height: 31px;
	padding-top: 0;
}

	.ctrlUnit.submitUnit dd .explain,
	.ctrlUnit.submitUnit dd .text,
	.ctrlUnit.submitUnit dd label
	{
		line-height: 1.28;
	}

/* now undo that */

.xenOverlay .ctrlUnit.submitUnit dd,
.Menu .ctrlUnit.submitUnit dd,
#QuickSearch .ctrlUnit.submitUnit dd
{
	border: none;
	background: none;
}

.xenForm .ctrlUnit
{
	{xen:property ctrlUnit}
}

	.xenForm .ctrlUnit.limited
	{
		display: none;
	}

	/** Sections Immediately Following Headers **/

	.xenForm .sectionHeader + fieldset,
	.xenForm .heading + fieldset,
	.xenForm .subHeading + fieldset,
	.xenForm .sectionHeader + .formGroup,
	.xenForm .heading + .formGroup,
	.xenForm .subHeading + .formGroup
	{
		border-top: none;
		margin-top: 0;
	}
	
.xenForm .formHiderHeader
{
	margin: 10px;
	font-size: 15px;
	font-weight: bold;
}


/** *********************** **/
/** TEXT INPUTS             **/
/** *********************** **/

.textCtrl
{
	{xen:property textCtrl}
}

select.textCtrl
{
	word-wrap: normal;
	-webkit-appearance: menulist;
}

select[multiple].textCtrl,
select[size].textCtrl
{
	-webkit-appearance: listbox;
}

select[size="0"].textCtrl,
select[size="1"].textCtrl
{
	-webkit-appearance: menulist;
}

textarea.textCtrl
{
	word-wrap: break-word;
}

	.textCtrl:focus,
	.textCtrl.Focus
	{
		{xen:property textCtrlFocus}
	}	

	textarea.textCtrl:focus
	{
		{xen:property textCtrlTextareaFocus}
	}

	input.textCtrl.disabled,
	textarea.textCtrl.disabled,
	.disabled .textCtrl
	{
		{xen:property textCtrlDisabled}
	}
	
	.textCtrl.prompt
	{
		{xen:property formElementPrompt}
	}
	
	.textCtrl:-moz-placeholder
	{
		/* needs to be in its own rule due to weird selector */
		{xen:property formElementPrompt}
	}
	
	.textCtrl::-moz-placeholder
	{
		/* needs to be in its own rule due to weird selector */
		{xen:property formElementPrompt}
	}

	.textCtrl::-webkit-input-placeholder
	{
		/* needs to be in its own rule due to weird selector */
		{xen:property formElementPrompt}
	}
	
	.textCtrl:-ms-input-placeholder
	{
		/* needs to be in its own rule due to weird selector */
		{xen:property formElementPrompt}
	}
	
	.textCtrl.autoSize
	{
		width: auto !important;
	}

	.textCtrl.number,
	.textCtrl.number input
	{
		text-align: right;
		width: 150px;
	}
	
	.textCtrl.fillSpace
	{
		width: 100%;
		box-sizing: border-box;
		_width: 95%;
	}

	.textCtrl.code,
	.textCtrl.code input
	{
		{xen:property textCtrlCode}
	}
	
	input.textCtrl[type="password"]
	{
		font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	}

	input[type="email"],
	input[type="url"]
	{
		direction: ltr;
	}

	.textCtrl.titleCtrl,
	.textCtrl.titleCtrl input
	{
		font-size: 18pt;
	}

textarea.textCtrl.Elastic
{
	/* use for jQuery.elastic */
	max-height: 300px;
}

/* for use with wrapped inputs */
.textCtrlWrap
{
	display: inline-block;
}

.textCtrlWrap input.textCtrl
{
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	background: transparent !important;
	border-radius: 0 !important;
}

.textCtrlWrap.blockInput input.textCtrl
{
	border-top: {xen:property textCtrl.border-top-width} {xen:property textCtrl.border-top-style} {xen:property textCtrl.border-top-color} !important;
	margin-top: 4px !important;
}

/** *********************** **/
/** BUTTONS                 **/
/** *********************** **/

.button
{
	font-style: normal;
	
	{xen:property button}
}

.button.smallButton
{
	font-size: 11px;
	padding: 0px 4px;
	line-height: 21px;
	height: 21px;
	border-radius: 5px;
}

.button.primary
{
	{xen:property buttonPrimary}
}

input.button.disabled,
a.button.disabled,
input.button.primary.disabled,
a.button.primary.disabled,
html .buttonProxy .button.disabled
{
	{xen:property buttonDisabled}
}

	.button::-moz-focus-inner
	{
		border: none;
	}

	a.button
	{
		display: inline-block;
		color: {xen:property button.color};
	}

	.button:hover,
	.button[href]:hover,
	.buttonProxy:hover .button
	{
		{xen:property buttonHover}
	}

	.button:focus
	{
		{xen:property buttonFocus}
	}

	.button:active,
	.button[href]:active,
	.button.ToggleButton.checked,
	.buttonProxy:active .button
	{
		{xen:property buttonActive}
	}

	.button.ToggleButton
	{
		cursor: default;
		width: auto;
		color: {xen:property button.border-bottom-color};
	}
	
	.button.ToggleButton.checked
	{
		background-color: rgb(255,150,50);
	}

	.button.inputSupplementary
	{
		width: 25px;
		position: absolute;
		top: 0px;
		right: 0px;
	}

	.button.inputSupplementary.add
	{
		color: green;
	}

	.button.inputSupplementary.delete
	{
		color: red;
	}

	.submitUnit .button
	{
		min-width: 100px;
		*min-width: 0;
	}

















/** Control Units **/

.xenForm .ctrlUnit
{
	position: relative;
	margin: 10px auto;
}

{xen:helper clearfix, '.xenForm .ctrlUnit'}

.xenForm .ctrlUnit.fullWidth
{
	overflow: visible;
}

/** Control Unit Labels **/

.xenForm .ctrlUnit > dt
{
	{xen:property ctrlUnitLabel}
	box-sizing: border-box;
	width: {xen:property ctrlUnitLabelWidth};
	float: left;
}

/* special long-text label */
.xenForm .ctrlUnit > dt.explain
{
	font-size: 11px;
	text-align: justify;
}


.xenForm .ctrlUnit.fullWidth dt,
.xenForm .ctrlUnit.submitUnit.fullWidth dt
{
	float: none;
	width: auto;
	text-align: left;
	height: auto;
}

.xenForm .ctrlUnit.fullWidth dt
{
	margin-bottom: 2px;
}

	.xenForm .ctrlUnit > dt label
	{
		margin-left: {xen:property ctrlUnitEdgeSpacer};
	}

	/** Hidden Labels **/

	.xenForm .ctrlUnit.surplusLabel dt label
	{
		display: none;
	}

	/** Section Links **/

	.ctrlUnit.sectionLink dt
	{
		text-align: left;
		font-size: 11px;
	}

		.ctrlUnit.sectionLink dt a
		{
			margin-left: {xen:calc '10 + 1'}px; /*TODO: sectionHeader padding + border*/
		}		

	/** Hints **/

	.ctrlUnit > dt dfn
	{
		{xen:property ctrlUnitLabelHint}
	}
	
	.ctrlUnit.fullWidth dt dfn
	{
		display: inline;
		margin: 0;
	}
	
		.ctrlUnit > dt dfn b,
		.ctrlUnit > dt dfn strong
		{
			color: {xen:property dimmedTextColor};
		}

	/** Inline Errors **/

	.ctrlUnit > dt .error
	{
		{xen:property ctrlUnitLabelError}
	}
	
	.ctrlUnit > dt dfn,
	.ctrlUnit > dt .error,
	.ctrlUnit > dt a
	{
		font-weight: normal;
	}

.xenForm .ctrlUnit.submitUnit dt
{
	height: 19px;
	display: block;
}

	.ctrlUnit.submitUnit dt.InProgress
	{
		background: transparent url('{xen:property imagePath}/xenforo/widgets/ajaxload.info_B4B4DC_facebook.gif') no-repeat center center;
	}

/** Control Holders **/

.xenForm .ctrlUnit > dd
{
	/*todo: kill property */
	{xen:property ctrlUnitCtrl}
	float: left;
}

.xenForm .ctrlUnit.fullWidth > dd
{
	float: none;
	width: auto;
	padding-left: {xen:property ctrlUnitEdgeSpacer};
}

/** Explanatory paragraph **/

.ctrlUnit > dd .explain
{
	{xen:property ctrlUnitCtrlExplain}
	/*TODO:max-width: auto;*/
}
	
	.ctrlUnit > dd .explain b,
	.ctrlUnit > dd .explain strong
	{
		color: {xen:property dimmedTextColor};
	}

/** List items inside controls **/

.ctrlUnit > dd > * > li
{
	margin: 4px 0 8px;
	padding-left: 1px; /* fix a webkit display bug */
}

.ctrlUnit > dd > * > li:first-child > .textCtrl:first-child
{
	margin-top: -3px;
}

.ctrlUnit > dd .break
{
	margin-bottom: 0.75em;
	padding-bottom: 0.75em;
}

.ctrlUnit > dd .rule
{
	border-bottom: 1px solid {xen:property primaryLighterStill};
}

.ctrlUnit > dd .ddText
{
	margin-bottom: 2px;
}

/** Hints underneath checkbox / radio controls **/

.ctrlUnit > dd > * > li .hint
{
	font-size: 11px;
	color: {xen:property mutedTextColor};
	margin-left: {xen:property formCtrlIndent};
	margin-top: 2px;
}

/** DISABLERS **/

.ctrlUnit > dd > * > li > ul,
.ctrlUnit .disablerList,
.ctrlUnit .indented
{
	margin-left: {xen:property formCtrlIndent};
}

.ctrlUnit > dd > * > li > ul > li:first-child
{
	margin-top: 6px;
}

.ctrlUnit > dd .disablerList > li,
.ctrlUnit > dd .checkboxColumns > li,
.ctrlUnit > dd .choiceList > li
{
	margin-top: 6px;
}
	
/** Other stuff... **/

.ctrlUnit > dd .helpLink
{
	font-size: 10px;
}

.ctrlUnit.textValue dt
{
	padding-top: 0px;
}

.button.spinBoxButton
{
	font-family: {xen:property body.font-family};
	font-size: 11pt;
}

.unitPairsJustified li
{
	overflow: hidden;
}

	.unitPairsJustified li .label
	{
		float: left;
	}
	
	.unitPairsJustified li .value
	{
		float: right;
	}

<xen:include template="form_date_picker.css" />
<xen:include template="form_auto_complete.css" />

/** status editor **/

.statusEditorCounter
{
	color: green;
}

.statusEditorCounter.warning
{
	color: orange;
	font-weight: bold;
}

.statusEditorCounter.error
{
	color: red;
	font-weight: bold;
}

.explain .statusHeader
{
	display: inline;
}

.explain .CurrentStatus
{
	color: {xen:property contentText};
	font-style: italic;
	padding-left: 5px;
}

/* BB code-based editor styling */

.xenForm .ctrlUnit.fullWidth dd .bbCodeEditorContainer textarea
{
	margin-left: 0;
	min-height: 200px;
}

.bbCodeEditorContainer a
{
	font-size: 11px;
}

/*
 * Fix silly top padding. This may require additional tags in the padding-top selector.
 */

.xenForm .ctrlUnit > dd
{
	padding-top: 4px;
}

	.xenForm .ctrlUnit.fullWidth > dd
	{
		padding-top: 0;
	}

.xenForm .ctrlUnit > dd > input,
.xenForm .ctrlUnit > dd > select,
.xenForm .ctrlUnit > dd > textarea,
.xenForm .ctrlUnit > dd > ul
{
	margin-top: -4px;
}

	.xenForm .ctrlUnit.fullWidth > dd > input,
	.xenForm .ctrlUnit.submitUnit > dd > input,
	.xenForm .ctrlUnit.fullWidth > dd > select,
	.xenForm .ctrlUnit.submitUnit > dd > select,
	.xenForm .ctrlUnit.fullWidth > dd > textarea,
	.xenForm .ctrlUnit.submitUnit > dd > textarea,
	.xenForm .ctrlUnit.fullWidth > dd > ul,
	.xenForm .ctrlUnit.submitUnit > dd > ul
	{
		margin-top: 0;
	}
	
/*
 * Multi-column checkboxes
 */
 
.xenForm .checkboxColumns > dd > ul,
ul.checkboxColumns
{
	column-count: 2;
	column-gap: 8px;
}

	.xenForm .checkboxColumns > dd > ul li,
	ul.checkboxColumns li
	{
		column-break-inside: avoid;
		break-inside: avoid-column;
		margin-bottom: 4px;
		padding-left: 1px;
		display: inline-block;
		width: 100%;
	}
	
	.xenForm .checkboxColumns.blockLinksList > dd > ul li,
	ul.checkboxColumns.blockLinksList li
	{
		display: block;
	}

.xenForm .checkboxColumns.multiple > dd > ul
{
	column-count: 1;
	column-gap: 0;
}

.xenForm .checkboxColumns.multiple > dd
{
	column-count: 2;
	column-gap: 8px;
}

.xenForm .checkboxColumns.multiple > dd > ul
{
	margin-bottom: 18px;
}

#recaptcha_image
{
	box-sizing: content-box;
	max-width: 100%;
}

#recaptcha_image img
{
	max-width: 100%;
}

#helper_birthday { display: inline-block; }
#helper_birthday > li
{
	display: inline;
}
html[dir=rtl] #helper_birthday input,
html[dir=rtl] #helper_birthday select
{
	direction: rtl;
}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .xenForm .ctrlUnit > dt
	{
		float: none;
		width: auto;
		text-align: left;
		height: auto;
	}

		.Responsive .xenForm .ctrlUnit > dt label
		{
			margin-left: 0;
		}

	.Responsive .xenForm .ctrlUnit.submitUnit dt
	{
		height: auto;
	}

	.Responsive .xenForm .ctrlUnit > dd,
	.Responsive .xenForm .ctrlUnit.fullWidth dd
	{
		float: none;
		width: auto;
		text-align: left;
		height: auto;
		padding-left: {xen:property ctrlUnitEdgeSpacer};
		overflow: hidden;
	}

	.Responsive .xenForm .checkboxColumns > dd > ul,
	.Responsive ul.checkboxColumns
	{
		column-count: 1;
	}
	
	.Responsive #ctrl_upload
	{
		max-width: 200px;
	}
	
	.Responsive .xenForm .ctrlUnit > dd .textCtrl[size],
	.Responsive .xenForm .ctrlUnit > dd .textCtrl.autoSize
	{
		width: 100% !important;
	}
	
	.Responsive .xenForm .ctrlUnit > dd > input,
	.Responsive .xenForm .ctrlUnit > dd > select,
	.Responsive .xenForm .ctrlUnit > dd > textarea,
	.Responsive .xenForm .ctrlUnit > dd > ul
	{
		margin-top: -0;
	}
}

@media (max-width:{xen:property maxResponsiveMediumWidth})
{
	.Responsive .insideSidebar .xenForm .ctrlUnit > dt
	{
		float: none;
		width: auto;
		text-align: left;
		height: auto;
	}

		.Responsive .insideSidebar .xenForm .ctrlUnit > dt label
		{
			margin-left: 0;
		}

	.Responsive .insideSidebar .xenForm .ctrlUnit.submitUnit dt
	{
		height: auto;
	}

	.Responsive .insideSidebar .xenForm .ctrlUnit > dd,
	.Responsive .insideSidebar .xenForm .ctrlUnit.fullWidth dd
	{
		float: none;
		width: auto;
		text-align: left;
		height: auto;
		padding-left: {xen:property ctrlUnitEdgeSpacer};
		overflow: hidden;
	}
	
	.Responsive .insideSidebar .xenForm .ctrlUnit > dd .textCtrl[size],
	.Responsive .insideSidebar .xenForm .ctrlUnit > dd .textCtrl.autoSize
	{
		width: 100% !important;
	}
	
	.Responsive .insideSidebar .xenForm .ctrlUnit > dd > input,
	.Responsive .insideSidebar .xenForm .ctrlUnit > dd > select,
	.Responsive .insideSidebar .xenForm .ctrlUnit > dd > textarea,
	.Responsive .insideSidebar .xenForm .ctrlUnit > dd > ul
	{
		margin-top: -0;
	}
}

@media (max-device-width:568px)
{
	.Responsive .textCtrl
	{
		font-size: 16px;
	}
}
</xen:if>]]></template>
  <template title="form_auto_complete.css" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[ul.autoCompleteList
{
	{xen:property secondaryContent.background}
	
	border: 1px solid {xen:property primaryLight};
	padding: 2px;
	
	font-size: 11px;
	
	min-width: 180px;
	_width: 180px;
	
	z-index: 1000;
}

ul.autoCompleteList li
{
	padding: 3px 3px;
	height: 24px;
	line-height: 24px;
}

ul.autoCompleteList li:hover,
ul.autoCompleteList li.selected
{
	background-color: {xen:property primaryLighterStill};
	border-radius: 3px;
}

ul.autoCompleteList img.autoCompleteAvatar
{
	float: left;
	margin-right: 3px;
	width: 24px;
	height: 24px;
}

ul.autoCompleteList li strong
{
	font-weight: bold;
}]]></template>
  <template title="form_date_picker.css" version_id="1020032" version_string="1.2.0 Beta 2"><![CDATA[#calroot
{
	margin-top: -1px;
	width: 198px;
	padding: 2px;
	background-color: {xen:property contentBackground};
	font-size: 11px;
	border: 1px solid {xen:property primaryLightish};
	border-radius: 5px;
	box-shadow: 0 0 15px #666;
	z-index: 7500;
}

#calhead
{	
	padding: 2px 0;
	height: 22px;
} 

	#caltitle {
		font-size: 11pt;
		color: {xen:property primaryLightish};
		float: left;
		text-align: center;
		width: 155px;
		line-height: 20px;
	}
	
	#calnext, #calprev {
		display: block;
		width: 20px;
		height: 20px;
		font-size: 11pt;
		line-height: 20px;
		text-align: center;
		float: left;
		cursor: pointer;
	}

	#calnext {
		float: right;
	}

	#calprev.caldisabled, #calnext.caldisabled {
		visibility: hidden;	
	}

#caldays {
	height: 14px;
	border-bottom: 1px solid {xen:property primaryLightish};
}

	#caldays span {
		display: block;
		float: left;
		width: 28px;
		text-align: center;
		color: {xen:property primaryLightish};
	}

#calweeks {
	margin-top: 4px;
}

.calweek {
	clear: left;
	height: 22px;
}

	.calweek a {
		display: block;
		float: left;
		width: 27px;
		height: 20px;
		text-decoration: none;
		font-size: 11px;
		margin-left: 1px;
		text-align: center;
		line-height: 20px;
		border-radius: 3px;
	} 
	
		.calweek a:hover, .calfocus {
			background-color: {xen:property primaryLightest};
		}

a.caloff {
	color: {xen:property mutedTextColor};		
}

a.caloff:hover {
	background-color: {xen:property primaryLightest};		
}

a.caldisabled {
	background-color: #efefef !important;
	color: #ccc	!important;
	cursor: default;
}

#caltoday {
	font-weight: bold;
}

#calcurrent {
	background-color: {xen:property primaryLightish};
	color: {xen:property primaryLightest};
}]]></template>
  <template title="form_dimension_debug.css" version_id="0" version_string=""><![CDATA[.xenForm
{
	background-color:rgb(255,255,200);
}

.xenForm .ctrlUnit
{
	background-color:rgb(255,220,255);
}

.xenForm .ctrlUnit > label:first-child
{
	background-color:rgb(220,255,255);
}

.xenForm .ctrl
{
	background-color:rgb(220,220,255);
}

.xenForm .buttonRow
{
	background-color:rgb(255,220,255);
}]]></template>
  <template title="forum_list" version_id="1040051" version_string="1.4.0 Release Candidate 1"><![CDATA[<xen:h1>{$xenOptions.boardTitle}</xen:h1>

<xen:container var="$head.canonical"><link rel="canonical" href="{xen:link 'canonical:forums'}" /></xen:container>
<xen:if is="{$xenOptions.boardDescription}"><xen:container var="$head.description">
	<meta name="description" content="{$xenOptions.boardDescription}" /></xen:container></xen:if>
<xen:container var="$head.openGraph">
	<xen:include template="open_graph_meta">
		<xen:set var="$url">{xen:link 'canonical:forums'}</xen:set>
		<xen:set var="$title">{$xenOptions.boardTitle}</xen:set>
		<xen:set var="$description">{$xenOptions.boardDescription}</xen:set>
		<xen:set var="$ogType">website</xen:set>
	</xen:include></xen:container>

<xen:hook name="forum_list_nodes">
	<xen:if is="{$renderedNodes}"><xen:include template="node_list" /></xen:if>
</xen:hook>
	
<xen:sidebar>
	<xen:edithint template="sidebar.css" />
	
	<xen:hook name="forum_list_sidebar">
		<xen:if is="{$canViewMemberList}">
			<xen:include template="sidebar_online_users" />
		</xen:if>
		
		<xen:if is="{$profilePosts}">
			<div class="section profilePostList">
				<div class="secondaryContent">
					<h3><a href="{xen:link find-new/profile-posts}">{xen:phrase new_profile_posts}</a></h3>
					<xen:include template="sidebar_profile_post_list" />
				</div>
			</div>
		</xen:if>
		
		<!-- block: forum_stats -->
		<div class="section">
			<div class="secondaryContent statsList" id="boardStats">
				<h3>{xen:phrase forum_statistics}</h3>
				<div class="pairsJustified">
					<dl class="discussionCount"><dt>{xen:phrase discussions}:</dt>
						<dd>{xen:number $boardTotals.discussions}</dd></dl>
					<dl class="messageCount"><dt>{xen:phrase messages}:</dt>
						<dd>{xen:number $boardTotals.messages}</dd></dl>
					<dl class="memberCount"><dt>{xen:phrase members_count}:</dt>
						<dd>{xen:number $boardTotals.users}</dd></dl>
					<dl><dt>{xen:phrase latest_member}:</dt>
						<dd><xen:username user="$boardTotals.latestUser" /></dd></dl>
					<!-- slot: forum_stats_extra -->
				</div>
			</div>
		</div>
		<!-- end block: forum_stats -->
		
		<xen:include template="sidebar_share_page">
			<xen:set var="$url">{xen:link canonical:forums}</xen:set>
		</xen:include>
		
	</xen:hook>
</xen:sidebar>]]></template>
  <template title="forum_mark_read" version_id="1010031" version_string="1.1.0 Beta 1"><![CDATA[<xen:title>{xen:phrase mark_forums_read}</xen:title>

<form action="{xen:link forums/-/mark-read}" method="post" class="xenForm formOverlay AutoValidator" data-redirect="on">

	<xen:if is="{$forum}">
		<p>{xen:phrase which_forums_do_you_want_to_mark_as_read}</p>
		
		<dl class="ctrlUnit">
			<dt></dt>
			<dd>
				<ul>
					<li><label><input type="radio" name="node_id" value="{$forum.node_id}" checked="checked" /> {$forum.title}</label></li>
					<li><label><input type="radio" name="node_id" value="0" /> {xen:phrase mark_all_forums_read}</label></li>
				</ul>
			</dd>
		</dl>
		
		<dl class="ctrlUnit submitUnit">
			<dt></dt>
			<dd>
				<input type="submit" value="{xen:phrase mark_forums_read}" class="button primary" />
			</dd>
		</dl>
	<xen:else />	
		<p>{xen:phrase you_sure_you_want_to_mark_all_forums_read}</p>
		
		<dl class="ctrlUnit submitUnit">
			<dt></dt>
			<dd>
				<input type="submit" value="{xen:phrase mark_all_forums_read_button}" class="button primary" />
			</dd>
		</dl>	
	</xen:if>

	<input type="hidden" name="date" value="{$markDate}" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	<input type="hidden" name="_xfConfirm" value="1" />
</form>]]></template>
  <template title="forum_view" version_id="1030270" version_string="1.3.2"><![CDATA[<xen:title>{$forum.title}{xen:helper pagenumber, $page}</xen:title>
<xen:h1>{$forum.title}</xen:h1>

<xen:if is="{$forum.description} AND {xen:property threadListDescriptions}">
	<xen:description class="baseHtml">{xen:raw $forum.description}</xen:description>
</xen:if>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
</xen:navigation>

<xen:container var="$head.canonical">
	<link rel="canonical" href="{xen:link 'canonical:forums', $forum, 'page={$page}'}" /></xen:container>

<xen:container var="$head.rss">
	<link rel="alternate" type="application/rss+xml" title="{xen:phrase rss_feed_for_x, 'title={$forum.title}'}" href="{xen:link forums/index.rss, $forum}" /></xen:container>

<xen:container var="$head.openGraph"><xen:include template="open_graph_meta">
	<xen:set var="$url">{xen:link 'canonical:forums', $forum}</xen:set>
	<xen:set var="$title">{$forum.title}</xen:set>
	<xen:set var="$description">{xen:helper stripHtml, {xen:raw $forum.description}}</xen:set>
</xen:include></xen:container>

<xen:container var="$quickNavSelected">node-{$forum.node_id}</xen:container>
<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container>
<xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container>

<xen:if is="{$canPostThread}">
	<xen:set var="$newDiscussionButton"><a href="{xen:link 'forums/create-thread', $forum}" class="callToAction"><span>{xen:phrase post_new_thread}</span></a></xen:set>
	<xen:if is="!{$renderedNodes}">
		<xen:topctrl>{xen:raw $newDiscussionButton}</xen:topctrl>
	</xen:if>
</xen:if>

<xen:if is="{$showPostedNotice}">
	<div class="importantMessage">{xen:phrase message_submitted_displayed_pending_approval}</div>
</xen:if>

<xen:if is="{$renderedNodes}">
	<xen:include template="ad_forum_view_above_node_list" />
	<xen:include template="node_list" />
	<xen:if is="{$newDiscussionButton}">
		<div class="nodeListNewDiscussionButton">{xen:raw $newDiscussionButton}</div>
	</xen:if>
</xen:if>

<xen:hook name="forum_view_pagenav_before" params="{xen:array 'forum={$forum}'}" />

<xen:include template="ad_forum_view_above_thread_list" />

<div class="pageNavLinkGroup">

	<div class="linkGroup SelectionCountContainer">
		<xen:if is="{$canWatchForum}">
			<a href="{xen:link 'forums/watch', $forum}" class="OverlayTrigger" data-cacheOverlay="false">{xen:if $forum.forum_is_watched, '{xen:phrase unwatch_forum}', '{xen:phrase watch_forum}'}</a>
		</xen:if>
	</div>

	<xen:pagenav link="forums" linkdata="{$forum}" linkparams="{$pageNavParams}" page="{$page}" perpage="{$threadsPerPage}" total="{$totalThreads}" />

</div>

<xen:hook name="forum_view_threads_before" params="{xen:array 'forum={$forum}'}" />

<div class="discussionList section sectionMain">
	<xen:include template="thread_list" />
</div>
	
<div class="pageNavLinkGroup afterDiscussionListHandle">
	<div class="linkGroup">
		<xen:if is="{$canPostThread}">
			<a href="{xen:link 'forums/create-thread', $forum}" class="callToAction"><span>{xen:phrase post_new_thread}</span></a>
		<xen:elseif is="{$visitor.user_id}" />
			<span class="element">({xen:phrase no_permission_to_post})</span>
		<xen:else />
			<label for="LoginControl"><a href="{xen:link login}" class="concealed element">({xen:phrase log_in_or_sign_up_to_post})</a></label>
		</xen:if>
	</div>
	<div class="linkGroup"{xen:if '!{$ignoredNames}', ' style="display: none"'}><a href="javascript:" class="muted JsOnly DisplayIgnoredContent Tooltip" title="{xen:phrase show_hidden_content_by_x, "names={xen:helper implode, $ignoredNames, ', '}"}">{xen:phrase show_ignored_content}</a></div>
	
	<xen:pagenav link="forums" linkdata="{$forum}" linkparams="{$pageNavParams}" page="{$page}" perpage="{$threadsPerPage}" total="{$totalThreads}" />
</div>]]></template>
  <template title="forum_watch" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:if is="{$forumWatch}">
	<xen:title>{xen:phrase unwatch_forum} - {$forum.title}</xen:title>
<xen:else />
	<xen:title>{xen:phrase watch_forum} - {$forum.title}</xen:title>
</xen:if>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
</xen:navigation>

<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container>
<xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container>

<form action="{xen:link 'forums/watch', $forum}" method="post" class="xenForm formOverlay AutoValidator">

	<xen:if is="{$forumWatch}">
		<dl class="ctrlUnit submitUnit">
			<dt></dt>
			<dd>
				<input type="hidden" name="stop" value="stop" />
				<input type="submit" value="{xen:phrase unwatch_forum}" class="button primary" />
			</dd>
		</dl>
	<xen:else />
		<xen:if is="{$forum.allowed_watch_notifications} != 'none'">
			<dl class="ctrlUnit">
				<dt>{xen:phrase send_notifications_for}:</dt>
				<dd>
					<ul>
						<li>
							<label>
								<input type="radio" name="notify_on" value="thread" checked="checked" />
								{xen:phrase new_threads}
							</label>
						</li>
						<xen:if is="{$forum.allowed_watch_notifications} == 'all'">
							<li>
								<label>
									<input type="radio" name="notify_on" value="message" />
									{xen:phrase new_messages}
								</label>
							</li>
						</xen:if>
						<li>
							<label>
								<input type="radio" name="notify_on" value="" />
								{xen:phrase dont_send_notifications}
								<p class="hint">{xen:phrase no_notifications_forum_watch_description}</p>
							</label>
						</li>
					</ul>
				</dd>
			</dl>

			<dl class="ctrlUnit">
				<dt>{xen:phrase send_notifications_via}:</dt>
				<dd>
					<ul>
						<li>
							<label>
								<input type="checkbox" name="send_alert" value="1" checked="checked" />
								{xen:phrase alerts}
							</label>
						</li>
						<li>
							<label>
								<input type="checkbox" name="send_email" value="1" />
								{xen:phrase emails}
							</label>
						</li>
					</ul>
				</dd>
			</dl>
		</xen:if>

		<dl class="ctrlUnit submitUnit">
			<dt></dt>
			<dd>
				<input type="submit" value="{xen:phrase watch_forum}" class="button primary" />
			</dd>
		</dl>
	</xen:if>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	<input type="hidden" name="_xfConfirm" value="1" />
</form>]]></template>
  <template title="google.css" version_id="1030052" version_string="1.3.0 Release Candidate 2"><![CDATA[.googleLogin,
#loginBar .googleLogin
{
	display: inline-block;
	width: {xen:property eAuthButtonWidth};
	height: 22px;
	box-sizing: border-box;
	cursor: pointer;
	
	background-color: #dd4b39;
	border: #be3e2e solid 1px;
	border-radius: 3px;
	padding-left: 2px;
	
	color: white;
	font-weight: bold;
	font-size: 11px;
	line-height: 14px;
}

	.googleLogin span
	{
		display: block;
		background: url('{xen:property imagePath}/xenforo/gplus.png') no-repeat;
		background-position: left 0;
		padding: 3px;
		padding-left: 23px;
		white-space: nowrap;
		overflow: hidden;
	}

.googleLogin:active,
#loginBar .googleLogin:active
{
	background-color: #be3e2e;
}]]></template>
  <template title="google_analytics" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<xen:if is="{$xenOptions.googleAnalyticsWebPropertyId}"><script>

	var _gaq = [['_setAccount', '{$xenOptions.googleAnalyticsWebPropertyId}'], ['_trackPageview']];
	!function(d, t)
	{
		var g = d.createElement(t),
			s = d.getElementsByTagName(t)[0];	
		g.async = true;
		g.src = ('https:' == d.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		s.parentNode.insertBefore(g, s);
	}
	(document, 'script');

	</script><xen:comment><!--Adapted from http://mathiasbynens.be/notes/async-analytics-snippet--></xen:comment></xen:if>]]></template>
  <template title="header" version_id="1020370" version_string="1.2.3"><![CDATA[<xen:edithint template="header.css" />

<xen:hook name="header">
<div id="header">
	<xen:include template="logo_block" />
	<xen:include template="navigation" />
	<xen:if is="{$canSearch}"><xen:include template="search_bar" /></xen:if>
</div>
</xen:hook>]]></template>
  <template title="header.css" version_id="1020051" version_string="1.2.0 Release Candidate 1"><![CDATA[#header
{
	{xen:property header}
}

{xen:helper clearfix, '#header .pageWidth .pageContent'}

	#logo
	{
		display: block;
		float: left;
		line-height: {xen:calc '{xen:property headerLogoHeight} - 4'}px;
		*line-height: {xen:property headerLogoHeight};
		height: {xen:property headerLogoHeight};
		max-width: 100%;
		vertical-align: middle;
	}

		/* IE6/7 vertical align fix */
		#logo span
		{
			*display: inline-block;
			*height: 100%;
		}

		#logo a:hover
		{
			text-decoration: none;
		}

		#logo img
		{
			vertical-align: middle;
			max-width: 100%;
		}

	#visitorInfo
	{
		float: right;
		min-width: 250px;
		_width: 250px;
		overflow: hidden; zoom: 1;
		background: {xen:property primaryLighter};
		padding: 5px;
		border-radius: 5px;
		margin: 10px 0;
		border: 1px solid {xen:property primaryDarker};
		color: {xen:property primaryDarker};
	}

		#visitorInfo .avatar
		{
			float: left;
			display: block;
		}

			#visitorInfo .avatar .img
			{
				border-color: {xen:property primaryLightish};
			}

		#visitorInfo .username
		{
			font-size: 18px;
			text-shadow: 1px 1px 10px white;
			color: {xen:property primaryDarker};
			white-space: nowrap;
			word-wrap: normal;
		}

		#alerts
		{
			zoom: 1;
		}

		#alerts #alertMessages
		{
			padding-left: 5px;
		}

		#alerts li.alertItem
		{
			font-size: 11px;
		}

			#alerts .label
			{
				color: {xen:property primaryDarker};
			}]]></template>
  <template title="helper_birthday_input" version_id="1020370" version_string="1.2.3"><![CDATA[<ul dir="ltr" id="helper_birthday">
<li><select name="dob_month" class="textCtrl autoSize">
	<option value="0" {xen:selected "{$user.dob_month} == 0"}>&nbsp;</option>
	<option value="1" {xen:selected "{$user.dob_month} == 1"}>{xen:phrase month_1}</option>
	<option value="2" {xen:selected "{$user.dob_month} == 2"}>{xen:phrase month_2}</option>
	<option value="3" {xen:selected "{$user.dob_month} == 3"}>{xen:phrase month_3}</option>
	<option value="4" {xen:selected "{$user.dob_month} == 4"}>{xen:phrase month_4}</option>
	<option value="5" {xen:selected "{$user.dob_month} == 5"}>{xen:phrase month_5}</option>
	<option value="6" {xen:selected "{$user.dob_month} == 6"}>{xen:phrase month_6}</option>
	<option value="7" {xen:selected "{$user.dob_month} == 7"}>{xen:phrase month_7}</option>
	<option value="8" {xen:selected "{$user.dob_month} == 8"}>{xen:phrase month_8}</option>
	<option value="9" {xen:selected "{$user.dob_month} == 9"}>{xen:phrase month_9}</option>
	<option value="10" {xen:selected "{$user.dob_month} == 10"}>{xen:phrase month_10}</option>
	<option value="11" {xen:selected "{$user.dob_month} == 11"}>{xen:phrase month_11}</option>
	<option value="12" {xen:selected "{$user.dob_month} == 12"}>{xen:phrase month_12}</option>
</select></li>
<li><input type="text" name="dob_day" value="{xen:if $user.dob_day, $user.dob_day}" class="textCtrl autoSize" placeholder="{xen:phrase day}" size="2" maxlength="2" /></li>
<li><input type="text" name="dob_year" value="{xen:if $user.dob_year, $user.dob_year}" class="textCtrl autoSize" placeholder="{xen:phrase year}" size="4" maxlength="4" /></li>
</ul>]]></template>
  <template title="helper_birthday_row_register" version_id="1040051" version_string="1.4.0 Release Candidate 1"><![CDATA[	<dl class="ctrlUnit OptOut">
		<dt>
			{xen:phrase date_of_birth}:
			<xen:if is="{$dobRequired}"><dfn>{xen:phrase required}</dfn></xen:if>
		</dt>
		<dd>
			<xen:include template="helper_birthday_input">
				<xen:map from="$fields" to="$user" />
			</xen:include>
		</dd>
	</dl>]]></template>
  <template title="helper_captcha_unit" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<xen:if is="{$captcha}">
	<dl class="ctrlUnit">
		<dt>{xen:phrase verification}:</dt>
		<dd>{xen:raw $captcha}</dd>
	</dl>
</xen:if>]]></template>
  <template title="helper_deletion_type_unit" version_id="1000016" version_string="1.0.0 Alpha 6"><![CDATA[<xen:if is="{$canHardDelete}">
	<dl class="ctrlUnit">
		<dt>{xen:phrase deletion_type}:</dt>
		<dd>
			<ul>
				<li><label for="ctrl_soft_delete">
					<input type="radio" name="hard_delete" id="ctrl_soft_delete" value="0" class="Disabler" checked="checked" /> {xen:phrase remove_from_public_view}</label>
					<ul id="ctrl_soft_delete_Disabler">
						<li><input type="text" name="reason" class="textCtrl" placeholder="{xen:phrase reason}..." /></li>
					</ul>
					<p class="hint">{xen:phrase item_will_remain_viewable_by_moderators_and_may_be_restored_at_later}</p>
				</li>
				<li><label for="ctrl_hard_delete">
					<input type="radio" name="hard_delete" id="ctrl_hard_delete" value="1" /> {xen:phrase permanently_delete}</label>
					<p class="hint">{xen:phrase selecting_this_option_will_permanently_and_irreversibly_delete_item}</p></li>
			</ul>
		</dd>
	</dl>
<xen:else />
	<dl class="ctrlUnit">
		<dt><label for="ctrl_reason">{xen:phrase reason_for_deletion}:</label></dt>
		<dd><input type="text" name="reason" id="ctrl_reason" class="textCtrl" /></dd>
	</dl>
	<input type="hidden" name="hard_delete" value="0" />
</xen:if>]]></template>
  <template title="helper_edit_silent" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<dl class="ctrlUnit {$extraClasses}">
	<dt></dt>
	<dd><ul>
		<li><label><input type="checkbox" name="silent" value="1" id="ctrl_silent" class="Disabler" {xen:checked $silentEdit} /> {xen:phrase edit_silently}</label>
			<p class="explain">{xen:phrase if_selected_no_last_edited_note_will_be_added_for_this_edit}</p>
			<ul id="ctrl_silent_Disabler">
				<li><label><input type="checkbox" name="clear_edit" value="1" {xen:checked $clearEdit} /> {xen:phrase clear_last_edit_information}</label>
					<p class="explain">{xen:phrase if_selected_any_existing_last_edited_note_will_be_removed}</p>
				</li>
			</ul>
		</li>
	</ul></dd>
</dl>]]></template>
  <template title="helper_login_form" version_id="1030570" version_string="1.3.5"><![CDATA[<xen:if is="!{$visitor.user_id}">

<xen:container var="$hideLoginBar">1</xen:container>

<form action="{xen:link 'login/login'}" method="post" class="xenForm" id="pageLogin">

	<xen:if hascontent="true">
		<div class="errorPanel"><span class="errors">
			<xen:contentcheck>{xen:raw $text}</xen:contentcheck>
		</span></div>
	</xen:if>
	
	<h2 class="textHeading">{xen:phrase log_in_or_sign_up}</h2>

	<dl class="ctrlUnit">
		<dt><label for="ctrl_pageLogin_login">{xen:phrase your_name_or_email_address}:</label></dt>
		<dd><input type="text" name="login" value="{$defaultLogin}" id="ctrl_pageLogin_login" class="textCtrl" tabindex="1" /></dd>
	</dl>

<xen:if is="{$xenOptions.registrationSetup.enabled}">
	<dl class="ctrlUnit">
		<dt><label for="ctrl_pageLogin_password">{xen:phrase do_you_already_have_account}</label></dt>
		<dd>
			<ul>
				<li><label for="ctrl_pageLogin_not_registered"><input type="radio" name="register" value="1" id="ctrl_pageLogin_not_registered" tabindex="5" />
					{xen:phrase no_create_account_now}</label></li>
				<li><label for="ctrl_pageLogin_registered"><input type="radio" name="register" value="0" id="ctrl_pageLogin_registered" checked="checked" class="Disabler" tabindex="5" />
					{xen:phrase yes_my_password_is}:</label></li>
				<li id="ctrl_pageLogin_registered_Disabler">
					<input type="password" name="password" class="textCtrl" id="ctrl_pageLogin_password" tabindex="2" />					
					<div><a href="{xen:link lost-password}" class="OverlayTrigger OverlayCloser" tabindex="6">{xen:phrase forgot_your_password}</a></div>
				</li>
			</ul>
		</dd>
	</dl>
<xen:else />
	<dl class="ctrlUnit">
		<dt><label for="ctrl_pageLogin_password">{xen:phrase password}:</label></dt>
		<dd>
			<input type="password" name="password" class="textCtrl" id="ctrl_pageLogin_password" tabindex="2" />					
			<div><a href="{xen:link lost-password}" class="OverlayTrigger OverlayCloser" tabindex="6">{xen:phrase forgot_your_password}</a></div>
		</dd>
	</dl>
</xen:if>
	
	<xen:if is="{$captcha}">
		<dl class="ctrlUnit">
			<dt>{xen:phrase verification}:</dt>
			<dd>{xen:raw $captcha}</dd>
		</dl>
	</xen:if>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd>
			<input type="submit" class="button primary" value="{xen:phrase log_in}" data-loginPhrase="{xen:phrase log_in}" data-signupPhrase="{xen:phrase sign_up}" tabindex="4" />
			<label class="rememberPassword"><input type="checkbox" name="remember" value="1" id="ctrl_pageLogin_remember" tabindex="3" /> {xen:phrase stay_logged_in}</label>
		</dd>
	</dl>

	<xen:if is="{$xenOptions.facebookAppId}">
		<xen:require css="facebook.css" />
		<dl class="ctrlUnit">
			<dt></dt>
			<dd><a href="{xen:link register/facebook, '', 'reg=1'}" class="fbLogin" tabindex="10"><span>{xen:phrase login_with_facebook}</span></a></dd>
		</dl>
	</xen:if>
	
	<xen:if is="{$xenOptions.twitterAppKey}">
		<xen:require css="twitter.css" />
		<dl class="ctrlUnit">
			<dt></dt>
			<dd><a href="{xen:link register/twitter, '', 'reg=1'}" class="twitterLogin" tabindex="10"><span>{xen:phrase login_with_twitter}</span></a></dd>
		</dl>
	</xen:if>
	
	<xen:if is="{$xenOptions.googleClientId}">
		<xen:require css="google.css" />
		<dl class="ctrlUnit">
			<dt></dt>
			<dd><span class="googleLogin GoogleLogin JsOnly" tabindex="10" data-client-id="{$xenOptions.googleClientId}" data-redirect-url="{xen:link register/google, '', 'code=__CODE__', 'csrf={$session.sessionCsrf}'}"><span>{xen:phrase login_with_google}</span></span></dd>
		</dl>
	</xen:if>
	
	<input type="hidden" name="cookie_check" value="1" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	<input type="hidden" name="redirect" value="{xen:if $redirect, $redirect, $requestPaths.requestUri}" />
	<xen:if is="{$postData}">
		<input type="hidden" name="postData" value="{xen:escape {xen:helper json, $postData}}" />
	</xen:if>

</form>

<script>
	$(function()
	{
		var $button = $('#pageLogin input.button.primary');
		$('#pageLogin input[name="register"]').click(function()
		{
			$button.val(
				$('#pageLogin input[name="register"]:checked').val() == '1'
				? $button.data('signupphrase')
				: $button.data('loginphrase')
			);
		});
	});
</script>
</xen:if>]]></template>
  <template title="helper_new_existing_thread_chooser" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[	<div class="formHiderHeader">
		<label><input type="radio" name="thread_type" value="new" class="Hider Disabler" id="ctrl_move_posts_thread_type_new" checked="checked" /> {xen:phrase new_thread}</label>
	</div>
	<div class="formHiderTarget" id="ctrl_move_posts_thread_type_new_Disabler">
		<dl class="ctrlUnit">
			<dt><label for="ctrl_node_id">{xen:phrase destination_forum}:</label></dt>
			<dd>
				<select name="node_id" id="ctrl_node_id" class="textCtrl">
				<xen:foreach loop="$nodes" value="$node">
					<option value="{$node.node_id}" {xen:selected '{$node.node_id} == {$firstPost.node_id}'} {xen:if "{$node.node_type_id} != 'Forum'", 'disabled="disabled"'}>{xen:string repeat, '&nbsp; ', $node.depth}{$node.title}</option>
				</xen:foreach>
				</select>
			</dd>
		</dl>
		
		<xen:include template="title_prefix_edit">
			<xen:set var="$selectedPrefix">{$firstPost.prefix_id}</xen:set>
			<xen:set var="$idSuffix">post_move</xen:set>
			<xen:set var="$nodeControl">#ctrl_node_id</xen:set>
		</xen:include>

		<dl class="ctrlUnit">
			<dt><label for="ctrl_title_post_move">{xen:phrase new_thread_title}:</label></dt>
			<dd><input type="text" name="title" value="{$firstPost.title}" id="ctrl_title_post_move" class="textCtrl" maxlength="100" /></dd>
		</dl>
	</div>

	<div class="formHiderHeader">
		<label><input type="radio" name="thread_type" value="existing" class="Hider Disabler" id ="ctrl_move_posts_thread_type_existing" /> {xen:phrase existing_thread}</label>
	</div>
	<div class="formHiderTarget" id="ctrl_move_posts_thread_type_existing_Disabler">
		<dl class="ctrlUnit">
			<dt>{xen:phrase thread_url}:</dt>
			<dd><input type="url" name="existing_url" class="textCtrl" /></dd>
		</dl>
	</div>]]></template>
  <template title="helper_poll_create" version_id="1040370" version_string="1.4.3"><![CDATA[<xen:container var="$head.pollCss"><style>.hasJs .PollNonJsInput { display: none }</style></xen:container>

<dl class="ctrlUnit">
	<dt><label for="ctrl_poll_question">{xen:phrase question}:</label></dt>
	<dd><input type="text" name="poll[question]" class="textCtrl" id="ctrl_poll_question" maxlength="100" value="{$poll.question}" /></dd>
</dl>
<dl class="ctrlUnit">
	<dt>{xen:phrase possible_responses}:</dt>
	<dd>
		<ul class="PollResponseContainer">
			<xen:if is="{$poll}">
				<xen:foreach loop="$poll.responses" value="$response">
					<li><input type="text" name="poll[responses][]" class="textCtrl" placeholder="{xen:phrase poll_choice}..." maxlength="100" value="{$response}" /></li>
				</xen:foreach>
				<xen:foreach loop="$poll.extraResponses" value="$null">
					<li><input type="text" name="poll[responses][]" class="textCtrl" placeholder="{xen:phrase poll_choice}..." maxlength="100" /></li>
				</xen:foreach>
			</xen:if>
			<xen:foreach loop="$pollExtraArray" value="$null">
				<li class="PollNonJsInput"><input type="text" name="poll[responses][]" class="textCtrl" placeholder="{xen:phrase poll_choice}..." maxlength="100" /></li>
			</xen:foreach>
			<xen:if is="!{$poll}">
				<li><input type="text" name="poll[responses][]" class="textCtrl" placeholder="{xen:phrase poll_choice}..." maxlength="100" /></li>
				<li><input type="text" name="poll[responses][]" class="textCtrl" placeholder="{xen:phrase poll_choice}..." maxlength="100" /></li>
			</xen:if>
		</ul>
		<input type="button" value="{xen:phrase add_additional_response}" class="button smallButton FieldAdder JsOnly" data-source="ul.PollResponseContainer li" data-maxfields="{$xenOptions.pollMaximumResponses}" />
	</dd>
</dl>

<!-- slot: after_poll_responses -->
<dl class="ctrlUnit">
	<dt>{xen:phrase maximum_selectable_responses}:</dt>
	<dd>
		<ul>
			<li><label><input type="radio" name="poll[max_votes_type]" value="single" checked="checked" /> {xen:phrase single_choice}</label></li>
			<li><label><input type="radio" name="poll[max_votes_type]" value="unlimited" /> {xen:phrase unlimited}</label></li>
			<li><input type="radio" name="poll[max_votes_type]" value="number" class="Disabler" id="ctrl_max_votes_type_value" /> 
				<span id="ctrl_max_votes_type_value_Disabler">
					<input type="number" class="textCtrl number SpinBox" name="poll[max_votes_value]" value="2" min="1" step="1" />
				</span>
			</li>
		</ul>
		<p class="explain">{xen:phrase this_is_maximum_number_responses_voter_may_select}</p>
	</dd>
</dl>

<dl class="ctrlUnit">
	<dt>{xen:phrase options}:</dt>
	<dd>
		<ul>
			<li><label><input type="checkbox" name="poll[change_vote]" value="1" checked="checked" /> {xen:phrase allow_voters_to_change_their_votes}</label></li>

			<li><label><input type="checkbox" name="poll[public_votes]" value="1" /> {xen:phrase display_votes_publicly}</label></li>

			<li><label><input type="checkbox" name="poll[view_results_unvoted]" value="1" checked="checked" /> {xen:phrase allow_results_to_be_viewed_without_voting}</label></li>

			<li><label><input type="checkbox" name="poll[close]" value="1" class="Disabler" id="ctrl_poll_close" /> {xen:phrase close_this_poll_after}:</label>
				<ul id="ctrl_poll_close_Disabler">
					<li>
						<input type="text" size="5" name="poll[close_length]" value="7" class="textCtrl autoSize" />
						<select name="poll[close_units]" class="textCtrl autoSize">
							<option value="hours">{xen:phrase hours}</option>
							<option value="days" selected="selected">{xen:phrase days}</option>
							<option value="weeks">{xen:phrase weeks}</option>
							<option value="months">{xen:phrase months}</option>
						</select>
					</li>
				</ul>
			</li>
		</ul>
	</dd>
</dl>]]></template>
  <template title="helper_post_mod_action_alert" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<dl class="ctrlUnit">
	<dt></dt>
	<dd><ul>
		<li>
			<label><input type="checkbox" name="send_author_alert" value="1" {xen:checked $alertDefault} class="Disabler" id="ctrl_send_author_alert" /> {xen:phrase notify_author_of_this_action} {xen:phrase reason}:</label>
			<ul id="ctrl_send_author_alert_Disabler">
				<li><input type="text" name="author_alert_reason" class="textCtrl" placeholder="{xen:phrase optional}" /></li>
			</ul>
			<p class="hint">{xen:phrase note_that_author_will_see_alert_even_no_longer_view_message}</p>
		</li>
	</ul></dd>
</dl>]]></template>
  <template title="helper_thread_mod_action_alert" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<dl class="ctrlUnit">
	<dt></dt>
	<dd><ul>
		<li>
			<label><input type="checkbox" name="send_starter_alert" value="1" {xen:checked $alertDefault} class="Disabler" id="ctrl_send_starter_alert" /> {xen:phrase notify_thread_starter_of_this_action} {xen:phrase reason}:</label>
			<ul id="ctrl_send_starter_alert_Disabler">
				<li><input type="text" name="starter_alert_reason" class="textCtrl" placeholder="{xen:phrase optional}" /></li>
			</ul>
			<p class="hint">{xen:phrase note_thread_starter_see_alert_even_no_longer_view_thread}</p>
		</li>
	</ul></dd>
</dl>]]></template>
  <template title="helper_thread_watch_input" version_id="1010470" version_string="1.1.4"><![CDATA[<label for="ctrl_watch_thread"><input type="checkbox" name="watch_thread" value="1" id="ctrl_watch_thread" class="Disabler" {xen:checked $watchState} /> {xen:phrase watch_this_thread_sentence}...</label>
	<ul id="ctrl_watch_thread_Disabler">
		<li><label for="ctrl_watch_thread_email"><input type="checkbox" name="watch_thread_email" value="1" id="ctrl_watch_thread_email" {xen:checked "{$watchState} == 'watch_email'"} /> {xen:phrase and_receive_email_notifications}</label></li>
	</ul>
	<input type="hidden" name="watch_thread_state" value="1" />]]></template>
  <template title="help_bb_codes" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[<xen:title>{xen:phrase bb_codes}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link help}">{xen:phrase help}</xen:breadcrumb>
</xen:navigation>

<xen:require css="help_bb_codes.css" />

<ul class="section">
	<xen:hook name="help_bb_codes">
	
	<li class="primaryContent">
		<div class="bbCode">
			<h3 class="title">{xen:phrase bb_code_help_b_i_u_s_title}</h3>
			<p class="description">{xen:phrase bb_code_help_b_i_u_s_desc}</p>
			
			<xen:include template="help_bb_codes_example">
				<xen:set var="$bbCodeEval">{xen:phrase bb_code_help_b_i_u_s_example}</xen:set>
			</xen:include>
		</div>
	</li>
	
	<!-- slot: after_b_i_u_s -->
	
	<li class="primaryContent">
		<div class="bbCode">
			<h3 class="title">{xen:phrase bb_code_help_color_font_size_title}</h3>
			<p class="description">{xen:phrase bb_code_help_color_font_size_desc}</p>
			
			<xen:include template="help_bb_codes_example">
				<xen:set var="$bbCodeEval">{xen:phrase bb_code_help_color_font_size_example}</xen:set>
			</xen:include>
		</div>
	</li>
	
	<!-- slot: after_color_font_size -->
	
	<li class="primaryContent">
		<div class="bbCode">
			<h3 class="title">{xen:phrase bb_code_help_url_email_title}</h3>
			<p class="description">{xen:phrase bb_code_help_url_email_desc}</p>
			
			<xen:include template="help_bb_codes_example">
				<xen:set var="$bbCodeEval">{xen:phrase bb_code_help_url_email_example}</xen:set>
			</xen:include>
		</div>
	</li>
	
	<!-- slot: after_url_email -->
	
	<li class="primaryContent">
		<div class="bbCode">
			<h3 class="title">{xen:phrase bb_code_help_url_email_advanced_title}</h3>
			<p class="description">{xen:phrase bb_code_help_url_email_advanced_desc}</p>
			
			<xen:include template="help_bb_codes_example">
				<xen:set var="$bbCodeEval">{xen:phrase bb_code_help_url_email_advanced_example}</xen:set>
			</xen:include>
		</div>
	</li>
	
	<!-- slot: after_email_advanced -->

	<li class="primaryContent">
		<div class="bbCode">
			<h3 class="title">{xen:phrase bb_code_help_user_title}</h3>
			<p class="description">{xen:phrase bb_code_help_user_desc}</p>
			
			<xen:include template="help_bb_codes_example">
				<xen:set var="$bbCodeEval">{xen:phrase bb_code_help_user_example, 'id={xen:if $visitor.user_id, $visitor.user_id, 1}', 'name={xen:if $visitor.user_id, $visitor.username, {xen:phrase user_name}}'}</xen:set>
			</xen:include>
		</div>
	</li>
	
	<!-- slot: after_user -->
	
	<li class="primaryContent">
		<div class="bbCode">
			<h3 class="title">{xen:phrase bb_code_help_img_title}</h3>
			<p class="description">{xen:phrase bb_code_help_img_desc}</p>

			<xen:include template="help_bb_codes_example">
				<xen:set var="$bbCodeExampleHtml">[IMG]{xen:helper fullUrl, '&#8203;{xen:property imagePath}&#8203;/xenforo/avatars/avatar_s.png', 1}[/IMG]</xen:set>
				<xen:set var="$bbCodeEval">[IMG]{xen:helper fullUrl, '{xen:property imagePath}/xenforo/avatars/avatar_s.png', 1}[/IMG]</xen:set>
			</xen:include>
		</div>
	</li>
	
	<!-- slot: after_img -->
	
	<li class="primaryContent">
		<div class="bbCode">
			<h3 class="title">{xen:phrase bb_code_help_media_title}</h3>
			<p class="description">{xen:phrase bb_code_help_media_desc} {xen:phrase approved_sites}:
				<xen:foreach loop="$mediaSites" value="$site" count="$totalSites" i="$i">
					<xen:if is="{$site.supported}">
						<a href="{$site.site_url}" target="_blank" rel="nofollow">{$site.site_title}</a>;
					</xen:if>
				</xen:foreach>
			</p>
			<dl class="example">
				<dt>{xen:phrase example}:</dt>
				<dd>
					[MEDIA=youtube]oHg5SJYRHA0[/MEDIA]
				</dd>
			</dl>
			<dl class="output">
				<dt>{xen:phrase output}:</dt>
				<dd class="baseHtml">
					<i>{xen:phrase embedded_youtube_player_would_appear_here}</i>
				</dd>
			</dl>
		</div>
	</li>
	
	<!-- slot: after_media -->
	
	<li class="primaryContent">
		<div class="bbCode">
			<h3 class="title">{xen:phrase bb_code_help_list_title}</h3>
			<p class="description">{xen:phrase bb_code_help_list_desc}</p>
			
			<xen:include template="help_bb_codes_example">
				<xen:set var="$bbCodeEval">{xen:phrase bb_code_help_list_example}</xen:set>
			</xen:include>
		</div>
	</li>
	
	<!-- slot: after_list -->
	
	<li class="primaryContent">
		<div class="bbCode">
			<h3 class="title">{xen:phrase bb_code_help_align_title}</h3>
			<p class="description">{xen:phrase bb_code_help_align_desc}</p>
			
			<xen:include template="help_bb_codes_example">
				<xen:set var="$bbCodeEval">{xen:phrase bb_code_help_align_example}</xen:set>
			</xen:include>
		</div>
	</li>
	
	<!-- slot: after_align -->
	
	<li class="primaryContent">
		<div class="bbCode">
			<h3 class="title">{xen:phrase bb_code_help_quote_title}</h3>
			<p class="description">{xen:phrase bb_code_help_quote_desc}</p>
			
			<xen:include template="help_bb_codes_example">
				<xen:set var="$bbCodeEval">{xen:phrase bb_code_help_quote_example}</xen:set>
			</xen:include>
			
		</div>
	</li>
	
	<!-- slot: after_quote -->
	
	<li class="primaryContent">
		<div class="bbCode">
			<h3 class="title">{xen:phrase bb_code_help_spoiler_title}</h3>
			<p class="description">{xen:phrase bb_code_help_spoiler_desc}</p>
			
			<xen:include template="help_bb_codes_example">
				<xen:set var="$bbCodeEval">{xen:phrase bb_code_help_spoiler_example}</xen:set>
			</xen:include>
			
		</div>
	</li>
	
	<!-- slot: after_spoiler -->
	
	<li class="primaryContent">
		<div class="bbCode">
			<h3 class="title">{xen:phrase bb_code_help_code_title}</h3>
			<p class="description">{xen:phrase bb_code_help_code_desc}</p>
			
			<xen:include template="help_bb_codes_example">
				<xen:set var="$bbCodeEval">{xen:phrase bb_code_help_code_example}</xen:set>
			</xen:include>
		</div>
	</li>
	
	<!-- slot: after_code -->
	
	<li class="primaryContent">
		<div class="bbCode">
			<h3 class="title">{xen:phrase bb_code_help_indent_title}</h3>
			<p class="description">{xen:phrase bb_code_help_indent_desc}</p>

			<xen:include template="help_bb_codes_example">
				<xen:set var="$bbCodeEval">{xen:phrase bb_code_help_indent_example}</xen:set>
			</xen:include>
		</div>
	</li>
	
	<!-- slot: after_indent -->
	
	<li class="primaryContent">
		<div class="bbCode">
			<h3 class="title">{xen:phrase bb_code_help_plain_title}</h3>
			<p class="description">{xen:phrase bb_code_help_plain_desc}</p>

			<xen:include template="help_bb_codes_example">
				<xen:set var="$bbCodeEval">{xen:phrase bb_code_help_plain_example}</xen:set>
			</xen:include>
		</div>
	</li>
	
	<!-- slot: after_plain -->
	
	<li class="primaryContent">
		<div class="bbCode">
			<h3 class="title">{xen:phrase bb_code_help_attach_title}</h3>
			<p class="description">{xen:phrase bb_code_help_attach_desc}</p>
			<dl class="example">
				<dt>{xen:phrase example}:</dt>
				<dd>
					{xen:phrase thumbnail}: [ATTACH]123[/ATTACH]<br />
					{xen:phrase full_size}: [ATTACH=full]123[/ATTACH]
				</dd>
			</dl>
			<dl class="output">
				<dt>{xen:phrase output}:</dt>
				<dd class="baseHtml">
					<i>{xen:phrase contents_of_attachments_would_appear_here}</i>
				</dd>
			</dl>
		</div>
	</li>

	<!-- slot: after_attach -->

	<xen:foreach loop="{$bbCodes}" value="$bbCode">
		<li class="primaryContent">
			<div class="bbCode">
				<h3 class="title">
					<xen:if is="{$bbCode.has_option} == 'no' OR {$bbCode.has_option} == 'optional'">[{xen:string strtoupper, $bbCode.bb_code_id}]</xen:if><xen:if is="{$bbCode.has_option} == 'optional'">, </xen:if>
					<xen:if is="{$bbCode.has_option} == 'yes' OR {$bbCode.has_option} == 'optional'">[{xen:string strtoupper, $bbCode.bb_code_id}=<span class="option">option</span>]</xen:if>
					- {$bbCode.title}
				</h3>
				<p class="description">{$bbCode.description}</p>
				<xen:include template="help_bb_codes_example">
					<xen:set var="$bbCodeEval">{xen:raw $bbCode.example}</xen:set>
				</xen:include>
			</div>
		</li>
	</xen:foreach>

	<!-- slot: after_custom -->
	
	</xen:hook>
</ul>]]></template>
  <template title="help_bb_codes.css" version_id="1020034" version_string="1.2.0 Beta 4"><![CDATA[.bbCode
{
	overflow: hidden; zoom: 1;
}
	
	.bbCode .title
	{
		font-size: 12pt;
		font-weight: bold;
	}
	
	.bbCode .title .option
	{
		color: {xen:property primaryLightish};
	}

	.bbCode .description
	{
		padding-top: 5px;
		font-size: 10pt;
	}
	
	.bbCode .description .option
	{
		color: {xen:property primaryLightish};
	}
	
	.bbCode > dl
	{
		width: 48.99%;
		_width: 48%;
		margin-left: 1%;
		float: left;
		margin-top: 10px;
	}
	
	.bbCode > dl > dt
	{
		font-size: 10pt;
		color: {xen:property primaryLightish};
	}

	.bbCode > dl > dd
	{
		border: 1px solid {xen:property primaryLighter};
		border-radius: 5px;
		background: {xen:property primaryLightest};
		padding: 5px;
		zoom: 1;
	}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveMediumWidth})
{
	.Responsive .bbCode > dl
	{
		width: auto;
		float: none;
	}
}
</xen:if>]]></template>
  <template title="help_bb_codes_example" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<dl class="example">
	<dt>{xen:phrase example}:</dt>
	<dd>{xen:string nl2br, {xen:if $bbCodeExampleHtml, {xen:raw $bbCodeExampleHtml}, $bbCodeEval}}</dd>
</dl>
<dl class="output">
	<dt>{xen:phrase output}:</dt>
	<dd class="baseHtml">{xen:helper bbCode, $bbCodeParser, $bbCodeEval}</dd>
</dl>]]></template>
  <template title="help_cookies" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:title>{xen:phrase cookie_usage}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link help}">{xen:phrase help}</xen:breadcrumb>
</xen:navigation>

<div class="baseHtml">
{xen:phrase help_cookies_description}
</div>]]></template>
  <template title="help_index" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:title>{xen:phrase help}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link help}">{xen:phrase help}</xen:breadcrumb>
</xen:navigation>

<div class="baseHtml">
	<dl>
		<dt><a href="{xen:link help/smilies}">{xen:phrase smilies}</a></dt>
		<dd>{xen:phrase this_shows_full_list_of_smilies_you_can_insert_when_posting_message}</dd>
	</dl>
	
	<dl>
		<dt><a href="{xen:link help/bb-codes}">{xen:phrase bb_codes}</a></dt>
		<dd>{xen:phrase list_of_bb_codes_you_can_use_to_spice_up_look_of_your_messages}</dd>
	</dl>
	
	<dl>
		<dt><a href="{xen:link help/trophies}">{xen:phrase trophies}</a></dt>
		<dd>{xen:phrase you_can_earn_trophies_by_carrying_out_different_actions}</dd>
	</dl>
	
	<dl>
		<dt><a href="{xen:link help/cookies}">{xen:phrase cookie_usage}</a></dt>
		<dd>{xen:phrase this_page_explains_how_this_site_uses_cookies}</dd>
	</dl>
	
	<xen:if is="{$tosUrl}">
		<dl>
			<dt><a href="{$tosUrl}">{xen:phrase terms_and_rules}</a></dt>
			<dd>{xen:phrase you_must_agree_to_these_terms_and_rules_before_using_site}</dd>
		</dl>
	</xen:if>

	<xen:hook name="help_index_extra" />

	<xen:foreach loop="$pages" value="$page">
		<dl>
			<dt><a href="{xen:link help, $page}">{$page.title}</a></dt>
			<dd>{$page.description}</dd>
		</dl>
	</xen:foreach>
</div>]]></template>
  <template title="help_page" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:title>{$page.title}</xen:title>

<xen:container var="$head.canonical">
	<link rel="canonical" href="{xen:link 'canonical:help', $page}" /></xen:container>

<xen:navigation>
	<xen:breadcrumb href="{xen:link help}">{xen:phrase help}</xen:breadcrumb>
</xen:navigation>
	
<div class="baseHtml">
{xen:raw $templateHtml}
</div>]]></template>
  <template title="help_smilies" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[<xen:title>{xen:phrase smilies}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link help}">{xen:phrase help}</xen:breadcrumb>
</xen:navigation>

<xen:require css="help_smilies.css" />

<table class="dataTable smilieList">

<col style="width: 1%" />
<col style="width: 35%; white-space: nowrap; word-wrap: normal;" />
<col style="white-space: nowrap; word-wrap: normal;" />

<tr class="dataRow">
	<th>{xen:phrase image}</th>
	<th>{xen:phrase title}</th>
	<th>{xen:phrase text}</th>
</tr>

<xen:foreach loop="$smilieCategories" key="$smilieCategoryId" value="$smilieCategory">
	<xen:if is="{$smilieCategoryId}">
		<tr>
			<td colspan="3"><h3 class="sectionFooter">{$smilieCategory.title}</h3></td>
		</tr>
	</xen:if>
	<xen:foreach loop="$smilieCategory.smilies" value="$smilie">
	<tr class="dataRow">
			<td>
				<xen:if is="{$smilie.sprite_mode}">
					<img src="styles/default/xenforo/clear.png" alt="{$smilie.title}" class="mceSmilieSprite mceSmilie{$smilie.smilie_id}" />
				<xen:else />
					<img src="{$smilie.image_url}" alt="{$smilie.title}" class="mceSmilie" />
				</xen:if>
			</td>
			<td>{$smilie.title}</td>
			<td>
				<xen:foreach loop="$smilie.smilieTextArray" key="$smilieText" value="$rotator">
					<span class="{xen:if $rotator, 'smilieTextRotator{$rotator}'}"><span class="smilieText">{$smilieText}</span></span>
				</xen:foreach>
			</td>
		</tr>
	</xen:foreach>
</xen:foreach>
</table>]]></template>
  <template title="help_smilies.css" version_id="1000035" version_string="1.0.0 Beta 5"><![CDATA[.smilieList .smilieTextContainer
{
	display: inline-block;
}

	.smilieList .smilieText
	{
		display: inline-block;
		height: 18px;
		line-height: 18px;
		min-width: 16px;
		padding: 0 1px;
		text-align: center;
		
		background-color: {xen:property primaryLightest};
		border: 1px solid {xen:property primaryLight};
		color: {xen:property primaryMedium};
		border-radius: 5px;
		
		font-size: 11px;
		
		cursor: default;
	}
	
		.smilieList .smilieText:hover
		{
			background-color: {xen:property secondaryLightest};
			border-color: {xen:property secondaryLight};
			color: {xen:property secondaryMedium};
		}
	
		.smilieList .smilieTextRotator90:hover .smilieText
		{
			transform: rotate(90deg);
		}
		
		.smilieList .smilieTextRotator270:hover .smilieText
		{
			transform: rotate(270deg);
		}]]></template>
  <template title="help_terms" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:title>{xen:phrase terms_of_service_and_rules}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link help}">{xen:phrase help}</xen:breadcrumb>
</xen:navigation>

<div class="baseHtml">

{xen:phrase terms_rules_text}

</div>]]></template>
  <template title="help_trophies" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:title>{xen:phrase trophies}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link help}">{xen:phrase help}</xen:breadcrumb>
</xen:navigation>

<xen:if is="{$trophies}">
	<ol class="section">
	<xen:foreach loop="$trophies" value="$trophy">
		<li class="primaryContent">
			<xen:include template="trophy" />
		</li>
	</xen:foreach>
	</ol>
<xen:else />
	<div class="section">{xen:phrase no_trophies_have_been_created_yet}</div>
</xen:if>]]></template>
  <template title="help_wrapper" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:require css="help_wrapper.css" />
<xen:edithint template="navigation_sidebar.css" />

<div class="container">
	<div class="navigationSideBar ToggleTriggerAnchor">
		<h4 class="heading ToggleTrigger" data-target="> ul">{xen:phrase help} <span></span></h4>
		<ul data-toggle-class="menuVisible">
			<li class="section">
				<ul>
					<xen:hook name="help_sidebar_links">
					<li><a href="{xen:link help/smilies}" class="{xen:if "{$selected} == 'smilies'", 'secondaryContent', 'primaryContent'}">{xen:phrase smilies}</a></li>
					<!-- slot: pre_bb_codes -->
					<li><a href="{xen:link help/bb-codes}" class="{xen:if "{$selected} == 'bbCodes'", 'secondaryContent', 'primaryContent'}">{xen:phrase bb_codes}</a></li>
					<!-- slot: pre_trophies -->
					<li><a href="{xen:link help/trophies}" class="{xen:if "{$selected} == 'trophies'", 'secondaryContent', 'primaryContent'}">{xen:phrase trophies}</a></li>
					<!-- slot: pre_cookies -->
					<li><a href="{xen:link help/cookies}" class="{xen:if "{$selected} == 'cookies'", 'secondaryContent', 'primaryContent'}">{xen:phrase cookie_usage}</a></li>
					<!-- slot: pre_tos_url -->
					<xen:if is="{$tosUrl}">
						<li><a href="{$tosUrl}" class="{xen:if "{$selected} == 'terms'", 'secondaryContent', 'primaryContent'}">{xen:phrase terms_and_rules}</a></li>
					</xen:if>
					</xen:hook>
					<xen:foreach loop="$pages" value="$page">
						<li><a href="{xen:link help, $page}" class="{xen:if "{$selected} == {$page.page_name}", 'secondaryContent', 'primaryContent'}">{$page.title}</a></li>
					</xen:foreach>
				</ul>
			</li>
		</ul>
	</div>
	
	<div class="mainContentBlock section sectionMain">{xen:raw $_subView}</div>
</div>]]></template>
  <template title="help_wrapper.css" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:include template="navigation_sidebar.css" />]]></template>
  <template title="inline_mod.css" version_id="1020034" version_string="1.2.0 Beta 4"><![CDATA[/* Inline Moderation Floater */

.sectionFooter #InlineModControls
{
	float: right;
}

.hasJs #InlineModControls,
.hasJs .InlineMod.Hide
{
	display:none;
}
	
	.sectionFooter #InlineModControls .selectionControl
	{
		display: none;
	}
	
	.sectionFooter #InlineModControls .InlineModCheckedTotal
	{
		font-weight: bold;
	}
	
	.sectionFooter .SelectionCount
	{
		float: right;
	}

/* inline mod overlay */

#InlineModOverlay
{
	display: none;
	z-index: 10000;
	border: 1px solid {xen:property primaryLight};
	box-shadow: 0px 25px 50px rgba(0,0,0, 0.5);
	max-width: 460px;
	width: 99%;
}

.Touch #InlineModOverlay
{
	box-shadow: none;
}

#InlineModOverlay .selectionControl
{
	display: block;
	overflow: hidden; zoom: 1;
	font-size: 11px;
	padding: 5px 10px;
	line-height: 23px;
}

	#InlineModOverlay .selectionControl .button
	{
		font-size: 9px;
	}
	
		#InlineModOverlay .SelectionCount
		{
			margin-left: 10px;
		}
	
		#InlineModOverlay .SelectionCount:hover
		{
			text-decoration: none;
		}
	
			#InlineModOverlay .SelectionCount .InlineModCheckedTotal
			{
				font-weight: bold;
			}
	
	#InlineModOverlay label
	{
		float: right;
	}

#InlineModOverlay .actionControl
{
	overflow: hidden; zoom: 1;
	display: block;
	padding: 2px 10px;
}

	#InlineModOverlay .actionControl .commonActions
	{
		float: left;
	}
	
	#InlineModOverlay .actionControl .otherActions
	{
		float: right;
	}

		#InlineModOverlay #ModerationSelect
		{
			width: 180px;
		}
		
/* inline moderation checkbox */

.inlineModCheckTip .arrow
{
	/*position: absolute;
	top: auto;
	left: 8px;
	bottom: -6px;
	
	border-top: 6px solid {xen:property tooltipBackground};	
	border-right: 6px solid transparent;
	border-bottom: none;
	border-left: 6px solid transparent;*/
}

/* inline control group */

.inlineCtrlGroup
{
	background: rgb(150,150,150) url('{xen:property imagePath}/xenforo/gradients/thread-modctrls-30px-dark.png') repeat-x top;
	color: white;
	font-size: 11px;
}

	.inlineCtrlGroup .textCtrl
	{
		padding: 3px;
		background-color: #555;
		color: #eee;
		border: 1px solid #999;
		border-radius: 5px;
		font-size: 11px;
	}
	
		.inlineCtrlGroup .textCtrl:focus,
		.inlineCtrlGroup .textCtrl.Focus
		{
			background: #333;
			color: white;
		}
	
/* selection count thingies */

.SelectionCount .InlineModCheckedTotal
{
	font-weight: bold;
}

.SelectionCount.cloned.itemsChecked
{
	color: red;
}

/* InlineMod Generic Selected Items */

.InlineModChecked .section,
.InlineModChecked .sectionMain,
.InlineModChecked .primaryContent,
.InlineModChecked .secondaryContent,
.InlineModChecked .sectionFooter
{
	{xen:property inlineModChecked}
}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive #InlineModOverlay .commonActions,
	.Responsive #InlineModOverlay .otherActions
	{
		float: none;
		display: block;
	}
}
</xen:if>]]></template>
  <template title="inline_mod_controls" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<xen:require css="inline_mod.css" />
<xen:require js="js/xenforo/inline_mod.js" />

<span id="InlineModControls">
	<span class="selectionControl secondaryContent">
		<label for="ModerationCheck">
			{xen:phrase select_all} <input type="checkbox" id="ModerationCheck" title="{$checkboxTitle}" />
		</label>

		<input type="button" class="button ClickNext" value="&darr;" title="{xen:phrase move_down}" />
		<input type="button" class="button ClickPrev" value="&uarr;" title="{xen:phrase move_up}" />
		<a class="SelectionCount">{$selectedItemsPhrase}: <em class="InlineModCheckedTotal">0</em></a>
	</span>

	<span class="actionControl sectionFooter">
		<span class="commonActions">
			<xen:if is="{$inlineModOptions.delete}"><input type="submit" class="button" value="{xen:phrase delete}..." name="delete" /></xen:if>
			<xen:if is="{$inlineModOptions.approve}"><input type="submit" class="button" value="{xen:phrase approve}" name="approve" /></xen:if>
		</span>

		<span class="otherActions">
			<select name="a" id="ModerationSelect" class="textCtrl">
				<option value="">{xen:phrase other_action}...</option>
				<optgroup label="{xen:phrase moderation_actions}">
					{xen:raw $options}
				</optgroup>
				<option value="closeOverlay">{xen:phrase close_this_overlay}</option>
			</select>

			<input type="submit" class="button primary" value="{xen:phrase go}" />
			<input type="reset" class="button OverlayCloser overylayOnly" value="X" title="{xen:phrase cancel_and_close_these_controls}" />
		</span>
	</span>
</span>]]></template>
  <template title="inline_mod_controls_conversation" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:include template="inline_mod_controls">
	<xen:set var="$text">{xen:phrase conversation_management}</xen:set>
	<xen:set var="$options">
		<option value="leave">{xen:phrase leave_conversations}...</option>
		<option value="read">{xen:phrase mark_conversations_read}</option>
		<option value="unread">{xen:phrase mark_conversations_unread}</option>
		<option value="star">{xen:phrase star_conversations}</option>
		<option value="unstar">{xen:phrase unstar_conversations}</option>
		<option value="deselect">{xen:phrase deselect_conversations}</option>
	</xen:set>
	<xen:set var="$checkboxTitle">{xen:phrase select_deselect_all_conversations_on_this_page}</xen:set>
	<xen:set var="$selectedItemsPhrase">{xen:phrase selected_conversations}</xen:set>
</xen:include>]]></template>
  <template title="inline_mod_controls_post" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:include template="inline_mod_controls">
	<xen:set var="$text">{xen:phrase post_moderation}</xen:set>
	<xen:set var="$options">
		<xen:if is="{$inlineModOptions.delete}"><option value="delete">{xen:phrase delete_posts}...</option></xen:if>
		<xen:if is="{$inlineModOptions.undelete}"><option value="undelete">{xen:phrase undelete_posts}</option></xen:if>
		<xen:if is="{$inlineModOptions.approve}"><option value="approve">{xen:phrase approve_posts}</option></xen:if>
		<xen:if is="{$inlineModOptions.unapprove}"><option value="unapprove">{xen:phrase unapprove_posts}</option></xen:if>
		<xen:if is="{$inlineModOptions.move}"><option value="move">{xen:phrase move_posts}...</option></xen:if>
		<xen:if is="{$inlineModOptions.copy}"><option value="copy">{xen:phrase copy_posts}...</option></xen:if>
		<xen:if is="{$inlineModOptions.merge}"><option value="merge">{xen:phrase merge_posts}...</option></xen:if>
		<option value="deselect">{xen:phrase deselect_posts}</option>
	</xen:set>
	<xen:set var="$checkboxTitle">{xen:phrase select_deselect_all_posts_on_this_page}</xen:set>
	<xen:set var="$selectedItemsPhrase">{xen:phrase selected_posts}</xen:set>
</xen:include>]]></template>
  <template title="inline_mod_controls_profile_post" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:include template="inline_mod_controls">
	<xen:set var="$text">{xen:phrase post_moderation}</xen:set>
	<xen:set var="$options">
		<xen:if is="{$inlineModOptions.delete}"><option value="delete">{xen:phrase delete_posts}</option></xen:if>
		<xen:if is="{$inlineModOptions.undelete}"><option value="undelete">{xen:phrase undelete_posts}</option></xen:if>
		<xen:if is="{$inlineModOptions.approve}"><option value="approve">{xen:phrase approve_posts}</option></xen:if>
		<xen:if is="{$inlineModOptions.unapprove}"><option value="unapprove">{xen:phrase unapprove_posts}</option></xen:if>
		<option value="deselect">{xen:phrase deselect_posts}</option>
	</xen:set>
	<xen:set var="$checkboxTitle">{xen:phrase select_deselect_all_posts_on_this_page}</xen:set>
	<xen:set var="$selectedItemsPhrase">{xen:phrase selected_posts}</xen:set>
</xen:include>]]></template>
  <template title="inline_mod_controls_thread" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<xen:include template="inline_mod_controls">
	<xen:set var="$text">{xen:phrase thread_moderation}</xen:set>
	<xen:set var="$options">
		<xen:if is="{$inlineModOptions.delete}"><option value="delete">{xen:phrase delete_threads}...</option></xen:if>
		<xen:if is="{$inlineModOptions.undelete}"><option value="undelete">{xen:phrase undelete_threads}</option></xen:if>
		<xen:if is="{$inlineModOptions.approve}"><option value="approve">{xen:phrase approve_threads}</option></xen:if>
		<xen:if is="{$inlineModOptions.unapprove}"><option value="unapprove">{xen:phrase unapprove_threads}</option></xen:if>
		<xen:if is="{$inlineModOptions.stick}"><option value="stick">{xen:phrase stick_threads}</option></xen:if>
		<xen:if is="{$inlineModOptions.unstick}"><option value="unstick">{xen:phrase unstick_threads}</option></xen:if>
		<xen:if is="{$inlineModOptions.lock}"><option value="lock">{xen:phrase lock_threads}</option></xen:if>
		<xen:if is="{$inlineModOptions.unlock}"><option value="unlock">{xen:phrase unlock_threads}</option></xen:if>
		<xen:if is="{$inlineModOptions.move}"><option value="move">{xen:phrase move_threads}...</option></xen:if>
		<xen:if is="{$inlineModOptions.merge}"><option value="merge">{xen:phrase merge_threads}...</option></xen:if>
		<xen:if is="{$inlineModOptions.edit}"><option value="prefix">{xen:phrase apply_thread_prefix}...</option></xen:if>
		<option value="deselect">{xen:phrase deselect_threads}</option>
	</xen:set>
	<xen:set var="$checkboxTitle">{xen:phrase select_deselect_all_threads_on_this_page}</xen:set>
	<xen:set var="$selectedItemsPhrase">{xen:phrase selected_threads}</xen:set>
</xen:include>]]></template>
  <template title="inline_mod_conversation_leave" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:title>{xen:phrase leave_conversations}</xen:title>

<form action="{xen:link 'inline-mod/conversation/leave'}" method="post" class="xenForm formOverlay">
	<p>{xen:phrase leaving_conversation_will_remove_it_from_your_conversation_list}</p>

	<dl class="ctrlUnit">
		<dt><label for="delete_type_delete">{xen:phrase future_message_handling}:</label></dt>
		<dd>
			<ul>
				<li><label for="delete_type_delete">
					<input type="radio" name="delete_type" value="delete" id="delete_type_delete" checked="checked" /> {xen:phrase accept_future_messages}</label>
					<p class="hint">{xen:phrase should_conversation_receive_responses_restored_to_inbox}</p>
				</li>
				<li><label for="delete_type_delete_ignore">
					<input type="radio" name="delete_type" value="delete_ignore" id="delete_type_delete_ignore" /> {xen:phrase ignore_future_messages}</label>
					<p class="hint">{xen:phrase not_notified_of_responses_conversation_remain_deleted}</p>
				</li>
			</ul>
		</dd>
	</dl>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" name="save" value="{xen:phrase leave_conversations}" accesskey="s" class="button primary" /></dd>
	</dl>

	<xen:foreach loop="$conversationIds" value="$conversationId">
		<input type="hidden" name="conversations[]" value="{$conversationId}" />
	</xen:foreach>

	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="hidden" name="redirect" value="{$redirect}" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="inline_mod_post_copy" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:title>{xen:phrase inline_moderation} - {xen:phrase copy_posts}</xen:title>

<form action="{xen:link 'inline-mod/post/copy'}" method="post" class="xenForm formOverlay">
	<p>{xen:phrase you_sure_you_want_to_copy_x_posts_to_new_thread, 'count={$postCount}'}</p>

	<xen:include template="helper_new_existing_thread_chooser" />
	
	<fieldset>
		<xen:include template="helper_post_mod_action_alert">
			<xen:set var="$alertDefault" value="0" />
		</xen:include>
	</fieldset>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" name="save" value="{xen:phrase copy_posts}" accesskey="s" class="button primary" /></dd>
	</dl>

	<xen:foreach loop="$postIds" value="$postId">
		<input type="hidden" name="posts[]" value="{$postId}" />
	</xen:foreach>

	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="hidden" name="redirect" value="{$redirect}" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="inline_mod_post_delete" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:title>{xen:phrase inline_moderation_delete_posts}</xen:title>

<form action="{xen:link 'inline-mod/post/delete'}" method="post" class="xenForm formOverlay">
	<p>{xen:phrase you_sure_you_want_to_delete_x_posts, 'count={$postCount}'}</p>

	<xen:include template="helper_deletion_type_unit" />
	
	<xen:include template="helper_post_mod_action_alert">
		<xen:set var="$alertDefault" value="0" />
	</xen:include>
	
	<xen:if is="{$firstPostCount}">
		<h3 class="subHeading"><em>{xen:phrase note}</em>: {xen:phrase x_threads_will_be_deleted_when_these_posts_deleted, 'count={$firstPostCount}'}</h3>
	</xen:if>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" name="save" value="{xen:phrase delete_posts}" accesskey="s" class="button primary" /></dd>
	</dl>

	<xen:foreach loop="$postIds" value="$postId">
		<input type="hidden" name="posts[]" value="{$postId}" />
	</xen:foreach>

	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="hidden" name="redirect" value="{$redirect}" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="inline_mod_post_merge" version_id="1000032" version_string="1.0.0 Beta 2"><![CDATA[<xen:title>{xen:phrase inline_moderation_merge_posts}</xen:title>

<form action="{xen:link 'inline-mod/post/merge'}" method="post" class="xenForm formOverlay">
	<p>{xen:phrase you_sure_you_want_to_merge_x_posts_together, 'count={$postCount}'}</p>

	<dl class="ctrlUnit">
		<dt><label for="ctrl_target_post_id">{xen:phrase merge_into_post}:</label></dt>
		<dd>
			<select name="target_post_id" id="ctrl_target_post_id" class="textCtrl">
			<xen:foreach loop="$posts" value="$post">
				<option value="{$post.post_id}">{$post.username}, {xen:datetime $post.post_date, absolute}</option>
			</xen:foreach>
			</select>
		</dd>
	</dl>

	<dl class="ctrlUnit fullWidth surplusLabel">
		<dt><label for="ctrl_new_message">{xen:phrase merged_message}:</label></dt>
		<dd>{xen:raw $editorTemplate}</dd>
	</dl>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" name="save" value="{xen:phrase merge_posts}" accesskey="s" class="button primary" /></dd>
	</dl>

	<xen:foreach loop="$postIds" value="$postId">
		<input type="hidden" name="posts[]" value="{$postId}" />
	</xen:foreach>

	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="hidden" name="redirect" value="{$redirect}" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="inline_mod_post_move" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:title>{xen:phrase inline_moderation_move_posts}</xen:title>

<form action="{xen:link 'inline-mod/post/move'}" method="post" class="xenForm formOverlay">
	<p>{xen:phrase you_sure_you_want_to_move_x_posts_to_new_thread, 'count={$postCount}'}</p>

	<xen:include template="helper_new_existing_thread_chooser" />
	
	<fieldset>
		<xen:include template="helper_post_mod_action_alert">
			<xen:set var="$alertDefault" value="1" />
		</xen:include>
	</fieldset>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" name="save" value="{xen:phrase move_posts}" accesskey="s" class="button primary" /></dd>
	</dl>

	<xen:foreach loop="$postIds" value="$postId">
		<input type="hidden" name="posts[]" value="{$postId}" />
	</xen:foreach>

	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="hidden" name="redirect" value="{$redirect}" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="inline_mod_profile_post_delete" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<xen:title>{xen:phrase inline_moderation_delete_profile_posts}</xen:title>

<form action="{xen:link 'inline-mod/profile-post/delete'}" method="post" class="xenForm formOverlay">
	<p>{xen:phrase you_sure_you_want_to_delete_x_profile_posts, 'count={$profilePostCount}'}</p>

	<xen:include template="helper_deletion_type_unit" />

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" name="save" value="{xen:phrase delete_profile_posts}" accesskey="s" class="button primary" /></dd>
	</dl>

	<xen:foreach loop="$profilePostIds" value="$profilePostId">
		<input type="hidden" name="profilePosts[]" value="{$profilePostId}" />
	</xen:foreach>

	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="hidden" name="redirect" value="{$redirect}" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="inline_mod_thread_delete" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:title>{xen:phrase inline_moderation_delete_threads}</xen:title>

<form action="{xen:link 'inline-mod/thread/delete'}" method="post" class="xenForm formOverlay">
	<p>{xen:phrase you_sure_you_want_to_delete_x_threads, 'count={$threadCount}'}</p>

	<xen:include template="helper_deletion_type_unit" />
	
	<xen:include template="helper_thread_mod_action_alert">
		<xen:set var="$alertDefault" value="0" />
	</xen:include>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" name="save" value="{xen:phrase delete_threads}" accesskey="s" class="button primary" /></dd>
	</dl>

	<xen:foreach loop="$threadIds" value="$threadId">
		<input type="hidden" name="threads[]" value="{$threadId}" />
	</xen:foreach>

	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="hidden" name="redirect" value="{$redirect}" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="inline_mod_thread_helper_redirect" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<ul>
	<li><label for="ctrl_create_redirect_none"><input type="radio" name="create_redirect" value="" id="ctrl_create_redirect_none" /> {xen:phrase do_not_leave_redirect}</label></li>
	<li><label for="ctrl_create_redirect_permanent"><input type="radio" name="create_redirect" value="permanent" id="ctrl_create_redirect_permanent" /> {xen:phrase leave_permanent_redirect}</label></li>
	<li><label for="ctrl_create_redirect_expiring"><input type="radio" name="create_redirect" value="expiring" id="ctrl_create_redirect_expiring" checked="checked" class="Disabler" /> {xen:phrase leave_redirect_that_expires_after}:</label>
		<ul id="ctrl_create_redirect_expiring_Disabler">
			<li>
				<input type="text" size="5" name="redirect_ttl_value" value="1" class="textCtrl autoSize" />
				<select name="redirect_ttl_unit" class="textCtrl autoSize">
					<option value="hours">{xen:phrase hours}</option>
					<option value="days" selected="selected">{xen:phrase days}</option>
					<option value="weeks">{xen:phrase weeks}</option>
					<option value="months">{xen:phrase months}</option>
				</select>
			</li>
		</ul>
	</li>
</ul>]]></template>
  <template title="inline_mod_thread_merge" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:title>{xen:phrase inline_moderation_merge_threads}</xen:title>

<form action="{xen:link 'inline-mod/thread/merge'}" method="post" class="xenForm formOverlay">
	<p>{xen:phrase you_sure_you_want_to_merge_x_threads, 'count={$threadCount}'}</p>

	<dl class="ctrlUnit">
		<dt><label for="ctrl_target_thread_id">{xen:phrase destination_thread}:</label></dt>
		<dd>
			<select name="target_thread_id" id="ctrl_target_thread_id" class="textCtrl">
			<xen:foreach loop="$threads" value="$thread">
				<option value="{$thread.thread_id}">{xen:helper threadPrefix, $thread, escaped}{$thread.title}</option>
			</xen:foreach>
			</select>
			<p class="explain">{xen:phrase all_posts_from_other_threads_will_be_merged_into_this_thread}</p>
		</dd>
	</dl>

	<dl class="ctrlUnit" id="personal_details">
		<dt><label>{xen:phrase leave_redirect_for_merged_threads}:</label></dt>
		<dd>
			<xen:include template="inline_mod_thread_helper_redirect" />
		</dd>
	</dl>
	
	<dl class="ctrlUnit">
		<dt></dt>
		<dd><ul>
			<li>
				<label><input type="checkbox" name="send_starter_alert" value="1" checked="checked" class="Disabler" id="ctrl_send_starter_alert" /> {xen:phrase notify_non_destination_thread_starters_of_this_action} {xen:phrase reason}:</label>
				<ul id="ctrl_send_starter_alert_Disabler">
					<li><input type="text" name="starter_alert_reason" class="textCtrl" placeholder="{xen:phrase optional}" /></li>
				</ul>
				<p class="hint">{xen:phrase note_thread_starter_see_alert_even_no_longer_view_thread}</p>
			</li>
		</ul></dd>
	</dl>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" name="save" value="{xen:phrase merge_threads}" accesskey="s" class="button primary" /></dd>
	</dl>

	<xen:foreach loop="$threadIds" value="$threadId">
		<input type="hidden" name="threads[]" value="{$threadId}" />
	</xen:foreach>

	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="hidden" name="redirect" value="{$redirect}" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="inline_mod_thread_move" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:title>{xen:phrase inline_moderation_move_threads}</xen:title>

<form action="{xen:link 'inline-mod/thread/move'}" method="post" class="xenForm formOverlay">
	<p>{xen:phrase you_sure_you_want_to_move_x_threads, 'count={$threadCount}'}</p>

	<xen:include template="thread_fields_move" />
	
	<dl class="ctrlUnit">
		<dt></dt>
		<dd><ul>
			<li><label><input type="checkbox" name="send_alert" value="1" {xen:checked '{$threadCount} == 1'} /> {xen:phrase notify_members_watching_destination_forum}</label></li>
		</ul></dd>
	</dl>
	
	<xen:include template="helper_thread_mod_action_alert">
		<xen:set var="$alertDefault" value="{xen:if '{$threadCount} == 1', 1, 0}" />
	</xen:include>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" name="save" value="{xen:phrase move_threads}" accesskey="s" class="button primary" /></dd>
	</dl>

	<xen:foreach loop="$threadIds" value="$threadId">
		<input type="hidden" name="threads[]" value="{$threadId}" />
	</xen:foreach>

	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="hidden" name="redirect" value="{$redirect}" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="inline_mod_thread_prefix" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<xen:title>{xen:phrase inline_moderation_thread_prefix}</xen:title>

<form action="{xen:link 'inline-mod/thread/prefix'}" method="post" class="xenForm formOverlay">
	<p>{xen:phrase you_sure_you_want_to_prefix_x_threads, 'count={$threadCount}'}</p>

	<dl class="ctrlUnit">
		<dt><label for="ctrl_prefix_imod">{xen:phrase prefix}:</label></dt>
		<dd>
			<select name="prefix_id" class="textCtrl" id="ctrl_prefix_imod">
				<xen:foreach loop="$prefixes" key="$prefixGroupId" value="$prefixGroup">
					<xen:if is="{$prefixGroup.title}">
						<optgroup label="{$prefixGroup.title}">
						<xen:foreach loop="$prefixGroup.prefixes" key="$prefixId" value="$prefix">
							<option value="{$prefix.prefix_id}" data-css="{$prefix.css_class}" {xen:selected '{$selectedPrefix} == {$prefix.prefix_id}'}>{xen:helper threadPrefix, $prefix.prefix_id, escaped, ''}</option>
						</xen:foreach>
						</optgroup>
					<xen:else />
						<xen:foreach loop="$prefixGroup.prefixes" key="$prefixId" value="$prefix">
							<option value="{$prefix.prefix_id}" data-css="{$prefix.css_class}" {xen:selected '{$selectedPrefix} == {$prefix.prefix_id}'}>{xen:helper threadPrefix, $prefix.prefix_id, escaped, ''}</option>
						</xen:foreach>
					</xen:if>
				</xen:foreach>
				<option value="0" data-css="prefix noPrefix" {xen:selected '{$selectedPrefix} == 0'}>({xen:phrase no_prefix})</option>
			</select>
			<xen:if is="{$forumCount} > 1">
				<p class="explain">{xen:phrase apply_thread_prefix_to_multiple_forums}</p>
			</xen:if>
		</dd>
	</dl>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" name="save" value="{xen:phrase apply_thread_prefix}" accesskey="s" class="button primary" /></dd>
	</dl>

	<xen:foreach loop="$threadIds" value="$threadId">
		<input type="hidden" name="threads[]" value="{$threadId}" />
	</xen:foreach>
	
	<xen:foreach loop="$nodeIds" value="$nodeId">
		<input type="hidden" name="nodeIds[]" value="{$nodeId}" />
	</xen:foreach>

	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="hidden" name="redirect" value="{$redirect}" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="language_chooser" version_id="1010033" version_string="1.1.0 Beta 3"><![CDATA[<xen:title>{xen:phrase language_chooser}</xen:title>

<xen:container var="$head.metaNoindex"><meta name="robots" content="noindex" /></xen:container>

<xen:require css="chooser_overlay.css" />

<div class="section" data-overlayClass="chooserOverlay">

	<h3 class="subHeading">{xen:phrase select_language_in_which_this_site_should_be_shown}</h3>

	<ol class="primaryContent chooserColumns threeColumns">

		<xen:foreach loop="$languages" value="$language">
			<li><a href="{xen:link 'misc/language', '', 'language_id={$language.language_id}', '_xfToken={$visitor.csrf_token_page}', 'redirect={$redirect}'}">{$language.title}</a></li>
		</xen:foreach>

	</ol>

	<div class="sectionFooter overlayOnly"><a class="button primary OverlayCloser">{xen:phrase cancel}</a></div>

</div>]]></template>
  <template title="lightbox" version_id="1010034" version_string="1.1.0 Beta 4"><![CDATA[<xen:require css="lightbox.css" />
<xen:require js="js/xenforo/lightbox.js" />

<div class="formOverlay" data-overlayClass="lightBox" id="LightBox">

	<div class="userInfo" id="LbUpper">
		<span class="avatar" id="LbAvatar"><img alt="" /></span>
		
		<div class="userText">			
			<div class="userTextUpper">
				<h2 id="LbUsername">{xen:phrase n_a}</h2>
				<div class="gadgets">
					<a id="LbNewWindow" target="_blank" title="{xen:phrase open_in_new_window}"><span>&uarr;</span></a>
					<a class="OverlayCloser" title="{xen:phrase close}"><span>X</span></a>
				</div>
			</div>
			
			<div class="userTextLower muted">
				<a id="LbDateTime" class="OverlayCloser">{xen:phrase n_a}</a>
				<a id="LbContentLink" class="OverlayCloser">{xen:phrase show_in_original_location}</a>
			</div>
		</div>
	</div>	
	
	<div class="imageContainer">
		<img id="LbImg" class="LbImg" alt="" />
		<a class="imageNav" id="LbPrev"><span class="ctrl"><span>&lt;</span></span></a>
		<a class="imageNav" id="LbNext"><span class="ctrl"><span>&gt;</span></span></a>
		<div class="imageCount"><span id="LbSelectedImage">1</span>/<span id="LbTotalImages">1</span></div>
	</div>
	
	<div class="nav" id="LbLower">
		<div class="thumbsContainer">
			<ul id="LbThumbs" data-thumbheight="65">
				<li id="LbThumbTemplate"><a class="LightboxThumb"><img alt="" /></a></li>
			</ul>
			<div id="LbReveal"></div>
		</div>
	</div>
	
	<!--<a class="close"></a>-->

</div>]]></template>
  <template title="lightbox.css" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[.xenOverlay.lightBox
{
	width: 95%;
	max-width: none;
}

	.xenOverlay.lightBox .formOverlay
	{
		padding: 0;
		border: none;
		border-radius: 10px;
		background: none;
	}
	
		.xenOverlay.lightBox #LbUpper,
		.xenOverlay.lightBox #LbLower
		{
			{xen:property formOverlay.background}
		}
		
		.Touch .xenOverlay.lightBox #LbUpper,
		.Touch .xenOverlay.lightBox #LbLower
		{
			background-color: {xen:helper unrgba, {xen:property formOverlay.background-color}};
		}
		
		.xenOverlay.lightBox #LbUpper
		{
			border-top-left-radius: 10px;
			border-top-right-radius: 10px;
		}
		
		.xenOverlay.lightBox #LbLower
		{
			border-bottom-left-radius: 10px;
			border-bottom-right-radius: 10px;
		}

.lightBox a
{
	cursor: pointer;
}

.lightBox a.close
{
	right: -15px;
	top: -15px;
}
		
/* -------------- */

.lightBox .userInfo
{
	overflow: hidden; zoom: 1;
	padding: 10px;
	padding-bottom: 5px;
}

.lightBox .avatar
{
	float: left;
}

	.lightBox .avatar img
	{
		width: 36px;
		height: 36px;
		border-color: {xen:property mutedTextColor};
		border-radius: 0;
	}
	
.lightBox .userText
{
	margin-left: 47px;
}

.lightBox .userTextUpper,
.lightBox .userTextLower
{
	overflow: hidden; zoom: 1;
}

	.lightBox .userTextUpper
	{
		line-height: 25px;
		font-size: 15pt;
	}

		.lightBox #LbUsername
		{
			float: left;
		}
		
		.lightBox .gadgets
		{
			float: right;
			overflow: hidden; zoom: 1;
		}
		
			.lightBox .gadgets a
			{
				float: left;
				margin-left: 3px;
				display: block;
				width: 25px;
				height: 25px;
				background: transparent url('{xen:property imagePath}/xenforo/widgets/lightbox-sprite.png') no-repeat;
				outline: 0 none;
			}
			
				.lightBox .gadgets a span
				{
					display: none;
				}
				
				.lightBox .gadgets a.OverlayCloser
				{
					background-position: -25px 0;
				}
		
	.lightBox .userTextLower
	{
		font-size: 11px;
		margin-top: 2px;
	}
	
		.lightBox #LbDateTime
		{
			float: left;
		}
		
		.lightBox #LbContentLink
		{
			float: right;
		}
		
/* -------------- */

.lightBox .imageContainer
{
	clear: both;
	position: relative;
	min-height: 40px;
	border: 1px solid black;
	border-width: 1px 0;
	text-align: center;
	background: transparent url('{xen:property imagePath}/xenforo/gradients/lightbox-pinstripes.png');
}

.Touch .lightBox .imageContainer
{
	background-color: {xen:helper unrgba, {xen:property formOverlay.background-color}};
	overflow: hidden;
}

	.lightBox .LbImg
	{
		visibility: hidden;
		position: absolute;
	}
	
	.lightBox .imageContainer .imageCount
	{
		position: absolute;
		bottom: 0px;
		right: 0px;
		margin: 5px;
		padding: 2px 5px;
		font-size: 11px;
		background: rgba(0,0,0, 0.15);
		border-radius: 3px;
		font-weight: bold;
	}
		
	/* -------------- */
	
	.lightBox .imageNav
	{
		position: absolute;
		top: 0;
		height: 100%;
		width: 50px;
		display: block;
		text-align: center;
	}
	
		.lightBox .imageNav .ctrl
		{
			position: absolute;
			left: 0;
			top: 50%;
			
			display: block;
			width: 50px;
			height: 50px;
			padding: 0px;
			margin-top: -25px;
			
			overflow: hidden;
			text-indent: 9999px;
			
			border-radius: 5px;
			
			background: transparent url('{xen:property imagePath}/xenforo/widgets/lightbox-sprite.png') no-repeat;
		}
		
		.lightBox .imageNav#LbPrev { left: 0; }
		
		.lightBox .imageNav#LbNext { right: 0; }
		
			<xen:if is="{$pageIsRtl}">
				/* swap around in RTL */
				.lightBox .imageNav#LbPrev .ctrl { background-position: 0 -75px; }
				.lightBox .imageNav#LbNext .ctrl { background-position: 0 -25px; }
			
				.lightBox .imageNav#LbPrev:hover .ctrl,
				.Touch .lightBox .imageNav#LbPrev .ctrl
				{
					background-position: 0 -175px;
				}
			
				.lightBox .imageNav#LbNext:hover .ctrl,
				.Touch .lightBox .imageNav#LbNext .ctrl
				{
					background-position: 0 -125px;
				}

			<xen:else />
				.lightBox .imageNav#LbPrev .ctrl { background-position: 0 -25px; }
				.lightBox .imageNav#LbNext .ctrl { background-position: 0 -75px; }
				
				.lightBox .imageNav#LbPrev:hover .ctrl,
				.Touch .lightBox .imageNav#LbPrev .ctrl
				{
					background-position: 0 -125px;
				}
			
				.lightBox .imageNav#LbNext:hover .ctrl,
				.Touch .lightBox .imageNav#LbNext .ctrl
				{
					background-position: 0 -175px;
				}
			</xen:if>
			
		/* IE6 */
		.lightBox .imageNav .ctrl
		{
			_border: none !important;
			_overflow: visible !important;
			_text-indent: 0px !important;
			_width: auto !important;
			_height: auto !important;
		}
		
/* -------------- */

.lightBox .nav
{
	clear: both;
	padding: 10px;
	padding-top: 5px;
	font-size: 11px;
}

.lightBox .URL
{
	clear: both;
}
		
/* -------------- */

<xen:set var="$thumbHeight">65</xen:set>

.lightBox .thumbsContainer
{
	background: rgba(0,0,0, 0.25);
	
	/*padding: 4px 5px;
	border-radius: 5px;
	position: relative;*/
	
	overflow: hidden; zoom: 1;
	position: relative;
	height: {xen:calc '{$thumbHeight} + 2'}px;
	padding: 1px;
}

.Touch .lightBox .thumbsContainer
{
	background-color: rgb(0,0,0);
}

	.lightBox #LbThumbs
	{
		position: absolute;
		left: 0;
		width: 20000em;
	}

		.lightBox #LbThumbs li
		{
			float: left;
			padding: 1px;
			margin-left: 1px;
		}
		
		.lightBox #LbThumbs li#LbThumbTemplate
		{
			display: none;
		}
	
			.lightBox #LbThumbs a 
			{
				display: block;
				width: {$thumbHeight}px;
				height: {$thumbHeight}px;
				overflow: hidden;
				position: relative;
			}
			
				.lightBox #LbThumbs img
				{
					display: block;
					position: absolute;
					visibility: hidden;
				}
			
	.lightBox #LbReveal
	{
		display: none;
		border: 1px solid white;
		width: {xen:calc '{$thumbHeight} + 2'}px;
		height: {xen:calc '{$thumbHeight} + 2'}px;
		position: absolute;
		top: 0;
	}]]></template>
  <template title="likes_summary" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<xen:if is="{$message.likes}">
	<xen:require css="likes_summary.css" />
	<div class="likesSummary secondaryContent">
		<span class="LikeText">
			<xen:likes number="$message.likes" users="$message.likeUsers" url="$likesUrl" liked="$message.like_date" />
		</span>
	</div>
</xen:if>]]></template>
  <template title="likes_summary.css" version_id="0" version_string=""><![CDATA[.likesSummary
{
	overflow: hidden; zoom: 1;
	font-size: 11px;
}

	.LikeText
	{
		float: left;
	}
	
	.likeInfo
	{
		float: right;
	}]]></template>
  <template title="link_redirect" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[<xen:title>{xen:phrase external_redirect}</xen:title>

<div class="sectionMain">
	<div class="primaryContent">
		<p style="margin-bottom: 1em">{$printable}</p>
		
		<p>{xen:phrase you_about_to_leave_x_and_visit_site_no_control, 'board={$xenOptions.boardTitle}', 'host={$parts.host}'}</p>
	</div>
	<div class="secondaryContent">
		<a href="{$url}" class="button primary">{xen:phrase continue}...</a>
	</div>
</div>]]></template>
  <template title="login" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[<xen:title>{xen:phrase log_in}</xen:title>

<xen:container var="$head.robots"><meta name="robots" content="noindex" /></xen:container>

<xen:include template="helper_login_form" />]]></template>
  <template title="login_bar" version_id="1000070" version_string="1.0.0"><![CDATA[<xen:require css="login_bar.css" />

<div id="loginBar">
	<div class="pageWidth">
		<div class="pageContent">	
			<h3 id="loginBarHandle">
				<label for="LoginControl"><a href="{xen:link login}" class="concealed noOutline">{xen:if $xenOptions.registrationSetup.enabled, {xen:phrase log_in_or_sign_up}, {xen:phrase log_in}}</a></label>
			</h3>
			
			<span class="helper"></span>

			<xen:edithint template="login_bar_form" />
		</div>
	</div>
</div>]]></template>
  <template title="login_bar.css" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[/** Login bar basics **/

#loginBar
{
	{xen:property loginBar}
}

	#loginBar .ctrlWrapper
	{
		margin: 0 10px;
	}

	#loginBar .pageContent
	{
		padding-top: {xen:property loginBarCollapsedHeight};
		position: relative;
		_height: 0px;
	}

	#loginBar a
	{
		{xen:property loginBarLink}
	}

	#loginBar form
	{
		{xen:property loginBarForm}
	}
	
		#loginBar .xenForm .ctrlUnit,		
		#loginBar .xenForm .ctrlUnit > dt label
		{
			margin: 0;
			border: none;
		}
	
		#loginBar .xenForm .ctrlUnit > dd
		{
			position: relative;
		}
	
	#loginBar .lostPassword,
	#loginBar .lostPasswordLogin
	{
		font-size: 11px;
	}
	
	#loginBar .rememberPassword
	{
		font-size: 11px;
	}

	#loginBar .textCtrl
	{
		{xen:property loginBarTextCtrl}
	}
	
	#loginBar .textCtrl[type=text]
	{
		{xen:property loginBarUsername}
	}

	#loginBar .textCtrl:-webkit-autofill /* http://code.google.com/p/chromium/issues/detail?id=1334#c35 */
	{
		background: {xen:property loginBarTextCtrl.background-color} !important;
		color: {xen:property loginBarTextCtrl.color};
	}

	#loginBar .textCtrl:focus
	{
		{xen:property loginBarTextCtrlFocus}
	}
	
	#loginBar input.textCtrl.disabled
	{
		{xen:property loginBarTextCtrlDisabled}
	}
	
	#loginBar .button
	{
		min-width: {xen:property loginButtonWidth};
		*width: {xen:property loginButtonWidth};
	}
	
		#loginBar .button.primary
		{
			font-weight: bold;
		}
		
/** changes when eAuth is present **/

#loginBar form.eAuth
{
	-x-max-width: {xen:calc '500 + {xen:property eAuthButtonWidth} + 20'}px; /* normal width + 170px */
}

	#loginBar form.eAuth .ctrlWrapper
	{
		border-right: 1px dotted {xen:property primaryMedium};
		margin-right: {xen:calc '{xen:property eAuthButtonWidth} + 20'}px;
		box-sizing: border-box;
	}

	#loginBar form.eAuth #eAuthUnit
	{
		position: absolute;
		top: 0px;
		right: 10px;
	}

		#eAuthUnit li
		{
			margin-top: 10px;
			line-height: 0;
		}
	
/** handle **/

#loginBar #loginBarHandle
{
	{xen:property loginBarHandle}
}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveWideWidth})
{
	.Responsive #loginBar form.eAuth .ctrlWrapper
	{
		border-right: none;
		margin-right: 10px;
	}

	.Responsive #loginBar form.eAuth #eAuthUnit
	{
		position: static;
		width: {xen:property eAuthButtonWidth};
		margin: 0 auto 10px;
	}
}
</xen:if>]]></template>
  <template title="login_bar_form" version_id="1030033" version_string="1.3.0 Beta 3"><![CDATA[<xen:comment>
With Javascript enabled, this form will be moved at page init time,
with the command $('#login').appendTo('#loginBar .pageContent');

Note that all external auth checks need to be added to the conditional below
in order to set $eAuth = 1 if any external auth providers are available.
</xen:comment>

<xen:hook name="login_bar_eauth_set">
<xen:if is="{$xenOptions.facebookAppId}"><xen:set var="$eAuth">1</xen:set></xen:if>
<xen:if is="{$xenOptions.twitterAppKey}"><xen:set var="$eAuth">1</xen:set></xen:if>
<xen:if is="{$xenOptions.googleClientId}"><xen:set var="$eAuth">1</xen:set></xen:if>
</xen:hook>

<form action="{xen:link 'login/login'}" method="post" class="xenForm {xen:if $eAuth, 'eAuth'}" id="login" style="display:none">

	<xen:if hascontent="true">
		<ul id="eAuthUnit">
			<xen:contentcheck>
				<xen:hook name="login_bar_eauth_items">
				<xen:if is="{$xenOptions.facebookAppId}">
					<xen:require css="facebook.css" />
					<li><a href="{xen:link register/facebook, '', 'reg=1'}" class="fbLogin" tabindex="110"><span>{xen:phrase login_with_facebook}</span></a></li>
				</xen:if>
				
				<xen:if is="{$xenOptions.twitterAppKey}">
					<xen:require css="twitter.css" />
					<li><a href="{xen:link register/twitter, '', 'reg=1'}" class="twitterLogin" tabindex="110"><span>{xen:phrase login_with_twitter}</span></a></li>
				</xen:if>
				
				<xen:if is="{$xenOptions.googleClientId}">
					<xen:require css="google.css" />
					<li><span class="googleLogin GoogleLogin JsOnly" tabindex="110" data-client-id="{$xenOptions.googleClientId}" data-redirect-url="{xen:link register/google, '', 'code=__CODE__', 'csrf={$session.sessionCsrf}'}"><span>{xen:phrase login_with_google}</span></span></li>
				</xen:if>
				</xen:hook>
			</xen:contentcheck>
		</ul>
	</xen:if>

	<div class="ctrlWrapper">
		<dl class="ctrlUnit">
			<dt><label for="LoginControl">{xen:phrase your_name_or_email_address}:</label></dt>
			<dd><input type="text" name="login" id="LoginControl" class="textCtrl" tabindex="101" /></dd>
		</dl>
	
	<xen:if is="{$xenOptions.registrationSetup.enabled}">
		<dl class="ctrlUnit">
			<dt>
				<label for="ctrl_password">{xen:phrase do_you_already_have_account}</label>
			</dt>
			<dd>
				<ul>
					<li><label for="ctrl_not_registered"><input type="radio" name="register" value="1" id="ctrl_not_registered" tabindex="105" />
						{xen:phrase no_create_account_now}</label></li>
					<li><label for="ctrl_registered"><input type="radio" name="register" value="0" id="ctrl_registered" tabindex="105" checked="checked" class="Disabler" />
						{xen:phrase yes_my_password_is}:</label></li>
					<li id="ctrl_registered_Disabler">
						<input type="password" name="password" class="textCtrl" id="ctrl_password" tabindex="102" />
						<div class="lostPassword"><a href="{xen:link lost-password}" class="OverlayTrigger OverlayCloser" tabindex="106">{xen:phrase forgot_your_password}</a></div>
					</li>
				</ul>
			</dd>
		</dl>
	<xen:else />
		<dl class="ctrlUnit">
			<dt>
				<label for="ctrl_password">{xen:phrase password}:</label>
			</dt>
			<dd>
				<input type="password" name="password" class="textCtrl" id="ctrl_password" tabindex="102" />
				<div class="lostPasswordLogin"><a href="{xen:link lost-password}" class="OverlayTrigger OverlayCloser" tabindex="106">{xen:phrase forgot_your_password}</a></div>
			</dd>
		</dl>
	</xen:if>
		
		<dl class="ctrlUnit submitUnit">
			<dt></dt>
			<dd>
				<input type="submit" class="button primary" value="{xen:phrase log_in}" tabindex="104" data-loginPhrase="{xen:phrase log_in}" data-signupPhrase="{xen:phrase sign_up}" />
				<label for="ctrl_remember" class="rememberPassword"><input type="checkbox" name="remember" value="1" id="ctrl_remember" tabindex="103" /> {xen:phrase stay_logged_in}</label>
			</dd>
		</dl>
	</div>

	<input type="hidden" name="cookie_check" value="1" />
	<input type="hidden" name="redirect" value="{$requestPaths.requestUri}" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />

</form>]]></template>
  <template title="login_post_redirect" version_id="1020051" version_string="1.2.0 Release Candidate 1"><![CDATA[<xen:title>{xen:phrase logging_in}...</xen:title>

{xen:phrase logging_in}...

<form action="{$redirect}" method="post" class="AutoSubmit">
	<input type="submit" value="{xen:phrase log_in}" />
	{xen:raw $hiddenHtml}
	<xen:comment><!--Don't include _xfToken as it should be in the post data--></xen:comment>
</form>]]></template>
  <template title="logo_block" version_id="1000070" version_string="1.0.0"><![CDATA[<div id="logoBlock">
	<div class="pageWidth">
		<div class="pageContent">
			<xen:include template="ad_header" />
			<xen:hook name="header_logo">
			<div id="logo"><a href="{$logoLink}">
				<span><xen:comment>This span fixes IE vertical positioning</xen:comment></span>
				<img src="{xen:property headerLogoPath}" alt="{$xenOptions.boardTitle}" />
			</a></div>
			</xen:hook>
			<span class="helper"></span>
		</div>
	</div>
</div>]]></template>
  <template title="log_out" version_id="1000470" version_string="1.0.4"><![CDATA[<xen:title>{xen:phrase log_out_x, 'name={$visitor.username}'}</xen:title>

<form action="{xen:link logout}" method="post" class="xenForm formOverlay LogOutForm">

	<p>{xen:phrase you_sure_you_want_to_log_out}</p>
		
	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd>
			<a href="{xen:link logout, '', '_xfToken={$visitor.csrf_token_page}'}" class="button primary LogOut">{xen:phrase log_out}</a>
		</dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	<input type="hidden" name="_xfConfirm" value="1" />
</form>]]></template>
  <template title="lost_password" version_id="1020570" version_string="1.2.5"><![CDATA[<xen:title>{xen:phrase lost_password}</xen:title>

<form action="{xen:link 'lost-password/lost'}" method="post" class="xenForm formOverlay">
	<p>{xen:phrase if_forgotten_your_password_use_form_to_reset}</p>
	
	<dl class="ctrlUnit">
		<dt><label for="ctrl_username_email">{xen:phrase name_or_email}:</label></dt>
		<dd><input type="text" name="username_email" class="textCtrl" id="ctrl_username_email" autofocus="true" /></dd>
	</dl>

	<xen:if hascontent="true">
		<fieldset>
			<xen:contentcheck>
				<xen:include template="helper_captcha_unit" />
			</xen:contentcheck>
		</fieldset>
	</xen:if>
	
	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase reset_password}" accesskey="s" class="button primary" /></dd>
	</dl>
	
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="member_card" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:edithint template="xenforo_overlay.css" />
<xen:require css="member_card.css" />

<div id="memberCard{$user.user_id}" data-overlayClass="memberCard">
	<div class="avatarCropper">
		<a class="avatar NoOverlay Av{$user.user_id}l" href="{xen:link members, $user}">
			<img src="{xen:helper avatar, {$user}, l}" alt="" style="{xen:helper avatarCropCss, $user}" />
		</a>
		<xen:if hascontent="true">
			<div class="modControls" style="position:absolute; bottom:0px; right:0px">
				<xen:contentcheck>
					<xen:if is="{$canEditUser}"><a href="{xen:link members/edit, $user}">{xen:phrase edit}</a></xen:if>
					<xen:if is="{$canCleanSpam}"><a href="{xen:link spam-cleaner, $user}" class="OverlayTrigger">{xen:phrase spam}</a></xen:if>
					<xen:if is="{$canWarn}"><a href="{xen:link members/warn, $user}">{xen:phrase warn}</a></xen:if>
					<xen:if is="{$canBanUsers}">
						<xen:if is="{$user.is_banned}">
							<a href="{xen:adminlink banning/users/lift, $user}">{xen:phrase lift_ban}</a>
						<xen:else />
							<a href="{xen:adminlink banning/users/add, $user}">{xen:phrase ban}</a></xen:if>
						</xen:if>
				</xen:contentcheck>
			</div>
		</xen:if>
	</div>
	
	<div class="userInfo">
		<h3 class="username"><xen:username user="$user" class="NoOverlay" /></h3>
		
		<div class="userTitleBlurb">
			<h4 class="userTitle">{xen:helper userTitle, $user}</h4>
			<div class="userBlurb">{xen:helper userBlurb, $user, 0}</div>
		</div>
		
		<blockquote class="status">{xen:helper bodytext, $user.status}</blockquote>

		<div class="userLinks">
		<xen:hook name="member_card_links">
			<a href="{xen:link members, $user}">{xen:phrase profile_page}</a>
			<xen:if is="{$visitor.user_id} AND {$user.user_id} != {$visitor.user_id}">
				<xen:if is="{$canStartConversation}"><a href="{xen:link conversations/add, '', 'to={$user.username}'}">{xen:phrase start_conversation}</a></xen:if>
				<xen:follow user="$user" class="Tooltip" />
				<xen:if is="{xen:helper isIgnored, $user.user_id}"><a href="{xen:link members/unignore, $user}" class="FollowLink">{xen:phrase unignore}</a><xen:elseif is="{$canIgnore}" /><a href="{xen:link members/ignore, $user}" class="FollowLink">{xen:phrase ignore}</a></xen:if>
			</xen:if>
		</xen:hook>
		</div>
		
		<dl class="userStats pairsInline">
		<xen:hook name="member_card_stats">
			<dt>{xen:phrase member_since}:</dt> <dd>{xen:date $user.register_date}</dd>
			<!-- slot: pre_messages -->
			<dt>{xen:phrase messages}:</dt> <dd><a href="{xen:link search/member, '', 'user_id={$user.user_id}'}" class="concealed" rel="nofollow">{xen:number $user.message_count}</a></dd>
			<!-- slot: pre_likes -->
			<dt>{xen:phrase likes_received}:</dt> <dd>{xen:number $user.like_count}</dd>
			<!-- slot: pre_trophies -->
			<dt>{xen:phrase trophy_points}:</dt> <dd><a href="{xen:link members/trophies, $user}" class="concealed OverlayTrigger">{xen:number $user.trophy_points}</a></dd>
			<xen:if is="{$canViewWarnings}">
				<dt>{xen:phrase warning_points}:</dt> <dd><a href="{xen:link members, $user}#warnings" class="concealed">{xen:number $user.warning_points}</a></dd>
			</xen:if>
		</xen:hook>
		</dl>
	
		<xen:if is="{$canViewOnlineStatus}">
			<dl class="pairsInline lastActivity">
				<dt>{xen:phrase x_was_last_seen, 'username={$user.username}'}:</dt>
				<dd>
					<xen:if is="{$user.activity} AND {$canViewCurrentActivity}">
						<xen:if is="{$user.activity.description}">
							{$user.activity.description}<xen:if is="{$user.activity.itemTitle}"> <em><a href="{$user.activity.itemUrl}" class="concealed">{$user.activity.itemTitle}</a></em></xen:if>,
						<xen:else />
							{xen:phrase viewing_unknown_page},
						</xen:if>
						<xen:datetime time="{$user.effective_last_activity}" class="muted" />
					<xen:else />
						<xen:datetime time="{$user.effective_last_activity}" />
					</xen:if>
				</dd>
			</dl>
		</xen:if>
	</div>
	
	<a class="close OverlayCloser"></a>
</div>]]></template>
  <template title="member_card.css" version_id="1020170" version_string="1.2.1"><![CDATA[.xenOverlay.memberCard
{
	{xen:property memberCardBox}
}
	
	.xenOverlay.memberCard .avatarCropper
	{
		float: left;
		border: none;
		padding: 0;
		position: relative;
	}
	
	.xenOverlay.memberCard .avatarCropper .modControls
	{
		display: none;
	}
	
		.xenOverlay.memberCard .avatarCropper:hover .modControls,
		.Touch .xenOverlay.memberCard .avatarCropper .modControls
		{
			display: block;
		}
	
	.xenOverlay.memberCard .avatarCropper .modControls a
	{
		display: block;
		float: left;
		height: auto;
		width: auto;
		overflow: visible;
		position: static;
		background: rgba(0,0,0, 0.5);
		color: white;
		padding: 3px 6px;
		font-size: 11px;
		text-align: center;
		min-width: 32px;
	}
	
		.xenOverlay.memberCard .avatarCropper .modControls a:hover
		{
			background: rgba(0,0,0, 0.75);
			text-decoration: none;
		}

	.xenOverlay.memberCard .userInfo
	{
		margin-left: 205px;
		font-size: 11px;
	}

		.xenOverlay.memberCard .userInfo h3
		{
			{xen:property memberCardUserName}
		}

			.xenOverlay.memberCard .userInfo h3 a
			{
				color: {xen:property memberCardUserName.color};
			}
			
		.xenOverlay.memberCard .userInfo .userTitleBlurb
		{
			margin: 0 0 3px;
		}

			.xenOverlay.memberCard .userInfo h4
			{
				color: {xen:property mutedTextColor};
				font-size: 10pt;
			}
			
			.xenOverlay.memberCard .userInfo .userBlurb
			{
				font-size: 11px;
			}

		.xenOverlay.memberCard .userInfo .status
		{
			font-size: 11px;
			font-style: italic;
			margin: 3px 0;
		}
		
			.xenOverlay.memberCard .userInfo .status a
			{
				color: inherit;
			}
		
		.xenOverlay.memberCard .userInfo .userStats
		{
			width: 100%;
		}
		
			.xenOverlay.memberCard .userInfo .userStats dd
			{
				margin-right: 5px;
			}

	.xenOverlay.memberCard .userLinks
	{
		{xen:property memberCardUserLinks}
	}
	
		.xenOverlay.memberCard .userLinks a
		{
			margin-right: 10px;
			color: inherit;
			white-space: nowrap;
		}
		
	.xenOverlay.memberCard .lastActivity
	{
		{xen:property memberCardLastActivity}
	}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .xenOverlay.memberCard
	{
		max-width: 320px;
	}

	.Responsive .xenOverlay.memberCard .avatarCropper
	{
		float: none;
		margin-left: auto;
		margin-right: auto;
	}

	.Responsive .xenOverlay.memberCard .userInfo
	{
		margin-left: 0;
	}
	
	.Responsive .xenOverlay.memberCard .userInfo h3,
	.Responsive .xenOverlay.memberCard .userInfo .userTitleBlurb,
	.Responsive .xenOverlay.memberCard .userInfo .status
	{
		text-align: center;
	}
}
</xen:if>]]></template>
  <template title="member_edit" version_id="1040470" version_string="1.4.4"><![CDATA[<xen:title>{$user.username} - {xen:phrase edit_member}</xen:title>
<xen:h1>{xen:phrase edit_member}</xen:h1>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<xen:if hascontent="true">
<form action="{xen:link members/edit, $user}" method="post" class="xenForm">
	
	<xen:contentcheck>
	<xen:if is="{$user.avatar_date} OR {$user.gravatar}">
		<dl class="ctrlUnit">
			<dt>{xen:phrase avatar}:</dt>
			<dd>
				<xen:avatar size="s" user="$user" img="true" />
				<div><label><input type="checkbox" name="remove_avatar" value="1" /> {xen:phrase delete_current_avatar}</label></div>
			</dd>
		</dl>
	</xen:if>

	<xen:if is="{$userCanSetCustomTitle} OR {$user.custom_title}">
		<dl class="ctrlUnit">
			<dt>{xen:phrase custom_title}:</dt>
			<dd><input type="text" name="custom_title" value="{$user.custom_title}" class="textCtrl" /></dd>
		</dl>
	</xen:if>

	<xen:if is="{$userCanEditProfile} OR {$user.location}">
		<dl class="ctrlUnit">
			<dt>{xen:phrase location}:</dt>
			<dd><input type="text" name="location" value="{$user.location}" class="textCtrl" /></dd>
		</dl>
	</xen:if>

	<xen:if is="{$userCanEditProfile} OR {$user.occupation}">
		<dl class="ctrlUnit">
			<dt>{xen:phrase occupation}:</dt>
			<dd><input type="text" name="occupation" value="{$user.occupation}" class="textCtrl" /></dd>
		</dl>
	</xen:if>

	<xen:if is="{$userCanEditProfile} OR {$user.homepage}">
		<dl class="ctrlUnit">
			<dt>{xen:phrase home_page}:</dt>
			<dd><input type="url" name="homepage" value="{$user.homepage}" class="textCtrl" /></dd>
		</dl>
	</xen:if>

	<xen:if is="{$userCanEditProfile} OR {$user.about}">
		<dl class="ctrlUnit">
			<dt>{xen:phrase about}:</dt>
			<dd>{xen:raw $aboutEditor}</dd>
		</dl>
	</xen:if>

	<xen:if is="{$userCanEditSignature} OR {$user.signature}">
		<dl class="ctrlUnit">
			<dt>{xen:phrase signature}:</dt>
			<dd>{xen:raw $signatureEditor}</dd>
		</dl>
	</xen:if>
	
	<xen:if is="{$customFields}">
		<fieldset>
			<xen:include template="custom_fields_edit" />
		</fieldset>
	</xen:if>
	</xen:contentcheck>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase save_changes}" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	<input type="hidden" name="_xfConfirm" value="1" />
</form>
<xen:else />
	<p>{xen:phrase this_members_information_not_currently_editable}</p>
</xen:if>]]></template>
  <template title="member_follow" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<xen:title>{xen:phrase follow_x, 'name={$user.username}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'members/follow', $user}" method="post" class="xenForm">

	<dl class="ctrlUnit">
		<dt></dt>
		<dd>
			<ul>
				<li>
					<label for="ctrl__confirm">
						<input type="checkbox" name="_xfConfirm" value="1" id="ctrl__confirm"> {xen:phrase follow_x, 'name={$user.username}'}
					</label>
				</li>
			</ul>
		</dd>
	</dl>
	
	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase follow}" class="button primary"	accesskey="s" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="member_followers" version_id="1030270" version_string="1.3.2"><![CDATA[<xen:title>{xen:phrase members_following_x, 'name={$user.username}'}</xen:title>

<xen:container var="$head.noindex">
	<meta name="robots" content="noindex" /></xen:container>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<div class="section">
<xen:if is="{$followers}">
	<ol class="overlayScroll">
	<xen:foreach loop="$followers" value="$followUser">
		<xen:include template="member_list_item">
			<xen:map from="$followUser" to="$user" />
		</xen:include>
	</xen:foreach>
	</ol>
	<div class="sectionFooter">
		<a class="button primary OverlayCloser overlayOnly">{xen:phrase close}</a>
		<xen:if is="{$hasMore}"><a class="button OverlayCloser OverlayTrigger" href="{xen:link members/followers, $user, 'page={xen:calc "{$page} + 1"}'}">{xen:phrase more}...</a></xen:if>
		&nbsp;
	</div>
<xen:else />
	<div class="primaryContent">
		<xen:if is="{$page} > 1">
			{xen:phrase no_results_found}
		<xen:else />
			{xen:phrase no_members_following_x, 'name={$user.username}'}
		</xen:if>
	</div>
	<div class="sectionFooter overlayOnly"><a class="button primary OverlayCloser">{xen:phrase close}</a></div>
</xen:if>
</div>]]></template>
  <template title="member_following" version_id="1030270" version_string="1.3.2"><![CDATA[<xen:title>{xen:phrase members_x_is_following, 'name={$user.username}'}</xen:title>

<xen:container var="$head.noindex">
	<meta name="robots" content="noindex" /></xen:container>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<div class="section">
<xen:if is="{$following}">
	<ol class="overlayScroll">
	<xen:foreach loop="$following" value="$followUser">
		<xen:include template="member_list_item">
			<xen:map from="$followUser" to="$user" />
		</xen:include>
	</xen:foreach>
	</ol>
	<div class="sectionFooter">
		<a class="button primary OverlayCloser overlayOnly">{xen:phrase close}</a>
		<xen:if is="{$hasMore}"><a class="button OverlayCloser OverlayTrigger" href="{xen:link members/following, $user, 'page={xen:calc "{$page} + 1"}'}">{xen:phrase more}...</a></xen:if>
		&nbsp;
	</div>
<xen:else />
	<div class="primaryContent">
		<xen:if is="{$page} > 1">
			{xen:phrase no_results_found}
		<xen:else />
			{xen:phrase x_does_not_follow_anyone, 'name={$user.username}'}
		</xen:if>
	</div>
	<div class="sectionFooter overlayOnly"><a class="button primary OverlayCloser">{xen:phrase close}</a></div>
</xen:if>
</div>]]></template>
  <template title="member_ignore" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<xen:title>{xen:phrase ignore_x, 'name={$user.username}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'members/ignore', $user}" method="post" class="xenForm">

	<dl class="ctrlUnit">
		<dt></dt>
		<dd>
			<ul>
				<li>
					<label for="ctrl__confirm">
						<input type="checkbox" name="_xfConfirm" value="1" id="ctrl__confirm"> {xen:phrase ignore_x, 'name={$user.username}'}
					</label>
				</li>
			</ul>
		</dd>
	</dl>
	
	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase ignore}" class="button primary"	accesskey="s" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="member_list" version_id="1030051" version_string="1.3.0 Release Candidate 1"><![CDATA[<xen:title>{xen:phrase registered_members}{xen:helper pagenumber, $page}</xen:title>
<xen:h1>{xen:phrase registered_members}</xen:h1>

<xen:description>{xen:phrase this_is_list_of_all_members_registered_at_x, 'board_title={$xenOptions.boardTitle}'}</xen:description>

<xen:container var="$head.canonical">
	<link rel="canonical" href="{xen:link 'canonical:members/list', '', 'page={$page}'}" /></xen:container>

<xen:require css="member_list.css" />
<xen:require css="xenforo_member_list_item.css" />
	
<xen:if is="{$userNotFound}">
	<div class="importantMessage">{xen:phrase specified_member_cannot_be_found_enter_entire_name}</div>
</xen:if>
	
<div class="pageNavLinkGroup">
	<xen:pagenav link="members/list" page="{$page}" perpage="{$usersPerPage}" total="{$totalUsers}" />
</div>	

<ol class="section memberList">
	<xen:foreach loop="$users" value="$user">
		<xen:include template="member_list_item">
			<xen:set var="$noOverlay">1</xen:set>
		</xen:include>
	</xen:foreach>
</ol>

<div class="pageNavLinkGroup">
	<xen:pagenav link="members/list" page="{$page}" perpage="{$usersPerPage}" total="{$totalUsers}" />
</div>

<xen:sidebar>
	<div class="section">
		<form action="{xen:link members}" method="post" class="secondaryContent findMember">
			<h3><a href="{xen:link online}" title="{xen:phrase see_all_online_users}">{xen:phrase find_member}</a></h3>
				
			<input type="search" name="username" placeholder="{xen:phrase name}..." results="0" class="textCtrl AutoComplete" data-autoSubmit="true" />
			<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
		</form>
	</div>
	
	<div class="section activeMembers">
		<div class="secondaryContent avatarHeap">
			<h3>{xen:phrase highest_posting_members}</h3>
			
			<ol>
				<xen:foreach loop="$activeUsers" value="$user">
					<li><xen:avatar user="$user" size="s" text="{$user.username} ({xen:number $user.message_count})" class="Tooltip" title="{$user.username}, {xen:phrase messages}: {xen:number $user.message_count}" /></li>
				</xen:foreach>
			</ol>
		</div>
	</div>
	
	<div class="section newestMembers">
		<div class="secondaryContent avatarHeap">
			<h3>{xen:phrase newest_members}</h3>
			
			<ol>
				<xen:foreach loop="$latestUsers" value="$user">
					<li><xen:avatar user="$user" size="s" text="{$user.username} ({xen:datetime $user.register_date})" class="Tooltip" title="{$user.username}, {xen:phrase joined}: {xen:datetime $user.register_date}" /></li>
				</xen:foreach>
			</ol>
		</div>
	</div>
	
	<xen:if is="{$xenOptions.facebookAppId} AND {$xenOptions.facebookFacepile}">
		<div class="fbWidgetBlock">
			<xen:container var="$facebookSdk">1</xen:container>
			<fb:facepile width="{xen:property sidebar.width}" size="small" colorscheme="{xen:property fbColorScheme}"></fb:facepile>
		</div>
	</xen:if>
</xen:sidebar>]]></template>
  <template title="member_list.css" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[.member_list .memberList,
.search_results_users_only .memberList
{
	border-top: 1px solid {xen:property primaryLighterStill};
}
	
.findMember .textCtrl
{
	display: block;
	width: 100%;
	box-sizing: border-box;
	*width: 95%;
}]]></template>
  <template title="member_list_item" version_id="1030051" version_string="1.3.0 Release Candidate 1"><![CDATA[<xen:require css="xenforo_member_list_item.css" />

<li class="primaryContent memberListItem{xen:if $extended, ' extended'}"{xen:if $id, ' id="{$id}"'}>

	<xen:avatar user="$user" size="s" class="{xen:if $noOverlay, 'NoOverlay'}" />

	<xen:if is="{$extraTemplate}"><div class="extra">{xen:raw $extraTemplate}</div></xen:if>

	<div class="member">
	
		<xen:if is="{$user.user_id}">
		
			<h3 class="username"><xen:username user="$user" rich="true" class="StatusTooltip{xen:if $noOverlay, ' NoOverlay'}" title="{xen:helper snippet, $user.status, 0, {xen:array 'stripPlainTag=1'}}" /></h3>
			
			<div class="userInfo">
				<div class="userBlurb dimmed">{xen:helper userBlurb, $user}</div>
				<dl class="userStats pairsInline">
					<dt title="{xen:phrase total_messages_posted_by_x, 'name={$user.username}'}">{xen:phrase messages}:</dt> <dd>{xen:number $user.message_count}</dd>
					<dt title="{xen:phrase number_of_times_something_posted_by_x_has_been_liked, 'name={$user.username}'}">{xen:phrase likes_received}:</dt> <dd>{xen:number $user.like_count}</dd>
					<dt>{xen:phrase trophy_points}:</dt> <dd title="{xen:phrase trophy_points}">{xen:number $user.trophy_points}</dd>
				</dl>
			</div>
			
		<xen:elseif is="{$guestHtml}" />
			<h3 class="username guest dimmed">{xen:raw $guestHtml}</h3>
		<xen:else />
			<h3 class="username guest dimmed">{xen:phrase guest}</h3>
		</xen:if>
		
		<xen:if hascontent="true">
			<div class="contentInfo"><xen:contentcheck>{xen:raw $contentTemplate}</xen:contentcheck></div>
		</xen:if>
		
	</div>
	
</li>]]></template>
  <template title="member_list_item_follower" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<xen:include template="member_list_item">
	<xen:set var="$id">user_list_{$user.user_id}</xen:set>
	<xen:set var="$extraTemplate">
		<a href="{xen:link 'account/stop-following-confirm', '', 'user_id={$user.user_id}'}"
			class="UnfollowLink button smallButton"
			data-jsonUrl="{xen:link 'account/stop-following.json'}"
			data-userId="{$user.user_id}">{xen:phrase unfollow}</a>
	</xen:set>
</xen:include>]]></template>
  <template title="member_list_item_ignored" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<xen:include template="member_list_item">
	<xen:set var="$id">user_list_{$user.user_id}</xen:set>
	<xen:set var="$extraTemplate">
		<a href="{xen:link 'account/stop-ignoring', '', 'user_id={$user.user_id}'}"
			class="UnfollowLink button smallButton"
			data-userId="{$user.user_id}">{xen:phrase stop_ignoring}</a>
	</xen:set>
</xen:include>]]></template>
  <template title="member_notable" version_id="1040270" version_string="1.4.2"><![CDATA[<xen:title>{xen:phrase notable_members}</xen:title>

<xen:container var="$head.canonical">
	<link rel="canonical" href="{xen:link 'canonical:members'}" /></xen:container>

<xen:require css="member_list.css" />
<xen:require css="xenforo_member_list_item.css" />
	
<xen:if is="{$userNotFound}">
	<div class="importantMessage">{xen:phrase specified_member_cannot_be_found_enter_entire_name}</div>
</xen:if>

<ul class="tabs">
	<li class="{xen:if '{$type} == "messages"', active}"><a href="{xen:link members}">{xen:phrase most_messages}</a></li>
	<li class="{xen:if '{$type} == "likes"', active}"><a href="{xen:link members, '', 'type=likes'}">{xen:phrase most_likes}</a></li>
	<li class="{xen:if '{$type} == "points"', active}"><a href="{xen:link members, '', 'type=points'}">{xen:phrase most_points}</a></li>
	<li class="{xen:if '{$type} == "staff"', active}"><a href="{xen:link members, '', 'type=staff'}">{xen:phrase staff_members}</a></li>
</ul>

<div class="section">
	<ol class="memberList">
		<xen:foreach loop="$users" value="$user">
			<xen:include template="member_list_item">
				<xen:set var="$noOverlay">1</xen:set>
				<xen:set var="$extraTemplate"><xen:if is="{$bigKey}"><span class="bigNumber">{xen:number {$user.{$bigKey}}}</span></xen:if></xen:set>
			</xen:include>
		</xen:foreach>
	</ol>
</div>

<xen:sidebar>
	<div class="section">
		<form action="{xen:link members}" method="post" class="secondaryContent findMember">
			<h3><a href="{xen:link online}" title="{xen:phrase see_all_online_users}">{xen:phrase find_member}</a></h3>
				
			<input type="search" name="username" placeholder="{xen:phrase name}..." results="0" class="textCtrl AutoComplete" data-autoSubmit="true" />
			<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
		</form>
	</div>

	<xen:if is="{$birthdays}">
		<div class="section">
			<div class="secondaryContent avatarHeap">
				<h3>{xen:phrase todays_birthdays}</h3>
				
				<ol>
				<xen:foreach loop="$birthdays" value="$user">
					<li><xen:avatar user="$user" size="s" text="{$user.username}" class="Tooltip" data-tipclass="flipped" title="{$user.username}" /></li>
				</xen:foreach>
				</ol>
			</div>
		</div>
	</xen:if>
	
	<xen:if is="{$latestUsers}">
		<div class="section newestMembers">
			<div class="secondaryContent avatarHeap">
				<h3>{xen:phrase newest_members}</h3>
				
				<ol>
					<xen:foreach loop="$latestUsers" value="$user">
						<li><xen:avatar user="$user" size="s" text="{$user.username} ({xen:datetime $user.register_date})" class="Tooltip" data-tipclass="flipped" title="{$user.username}, {xen:phrase joined}: {xen:datetime $user.register_date}" /></li>
					</xen:foreach>
				</ol>
			</div>
		</div>
	</xen:if>
	
	<xen:if is="{$xenOptions.facebookAppId} AND {$xenOptions.facebookFacepile}">
		<div class="fbWidgetBlock">
			<xen:container var="$facebookSdk">1</xen:container>
			<div class="section">
				<fb:facepile width="{xen:property sidebar.width}" size="small" colorscheme="{xen:property fbColorScheme}"></fb:facepile>
			</div>
		</div>
	</xen:if>
</xen:sidebar>]]></template>
  <template title="member_recent_activity" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<xen:title>{xen:phrase xs_recent_activity, 'name={$user.username}'}</xen:title>

<xen:if is="{$restricted}">
	<div>{xen:phrase x_restricts_who_may_view_their_recent_activity, 'name={$user.username}'}</div>
<xen:else />
	<xen:require js="js/xenforo/news_feed.js" />
	
	<div class="newsFeed">
		<xen:include template="news_feed">
			<xen:set var="$noContentHtml">{xen:phrase no_recent_activity_information_is_available_for_x, 'name={$user.username}'}</xen:set>
		</xen:include>
		<xen:include template="news_feed_end">
			<xen:set var="$itemLoaderUrl">{xen:link members/recent-activity, $user}</xen:set>
		</xen:include>
	</div>
</xen:if>]]></template>
  <template title="member_recent_content" version_id="1020270" version_string="1.2.2"><![CDATA[<xen:title>{xen:phrase recent_content_by_x, 'name={$user.username}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<xen:require css="search_results.css" />

<div>

<xen:if is="{$results}">
	<ol>
	<xen:foreach loop="$results" value="$result">
		{xen:raw $result}
	</xen:foreach>
	</ol>
	<div class="sectionFooter">
		<ul class="listInline bulletImplode">
			<xen:hook name="member_recent_content_search_content_types">
			<li><a href="{xen:link search/member, '', 'user_id={$user.user_id}'}" rel="nofollow">{xen:phrase find_all_content_by_x, 'name={$user.username}'}</a></li>
			<li><a href="{xen:link search/member, '', 'user_id={$user.user_id}', 'content=thread'}" rel="nofollow">{xen:phrase find_all_threads_by_x, 'name={$user.username}'}</a></li>
			</xen:hook>
		</ul>
	</div>
<xen:else />
	{xen:phrase x_has_not_posted_any_content_recently, 'name={$user.username}'}
</xen:if>

</div>]]></template>
  <template title="member_report" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[<xen:title>{$user.username} - {xen:phrase report_member}</xen:title>
<xen:h1>{xen:phrase report_member}</xen:h1>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'members/report', $user}" method="post" class="xenForm formOverlay AutoValidator">

	<dl class="ctrlUnit">
		<dt><label for="ctrl_message">{xen:phrase report_reason}:</label></dt>
		<dd><textarea name="message" id="ctrl_message" rows="2" class="textCtrl Elastic"></textarea></dd>
	</dl>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase report_member}" accesskey="s" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="member_shared_ips" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[<xen:title>{$profileUser.username} - {xen:phrase shared_ips}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$profileUser.username}</xen:breadcrumb>
</xen:navigation>

<xen:require css="spam_cleaner.css" />

<div class="ipMatches section">
	<div class="subHeading">{xen:phrase following_users_logged_as_having_used_ip_addresses_used_by_x, 'name={$profileUser.username}'}</div>

	<xen:if is="{$users}">
		<ol class="overlayScroll">
			<xen:foreach loop="$users" value="$user">
				<li class="primaryContent userLog">
					<xen:avatar user="$user" size="m" />

					<div class="logInfo">
						<div class="userInfo">
							<h3><xen:username user="$user" class="NoOverlay" /></h3>
							<div class="regDate">
								<span class="muted">{xen:phrase registered}: <xen:datetime time="$user.register_date" /></span>
							</div>
						</div>

						<ol class="ipLogs">
							<xen:foreach loop="$user.ipLogs" value="$ipLog">
								<li class="ipLog secondaryContent">
									<a class="ip concealed" href="{xen:link misc/ip-info, '', 'ip={$ipLog.ip_address}'}" target="_blank">{$ipLog.ip_address}</a>
									<xen:datetime time="{$ipLog.log_date}" />
								</li>
							</xen:foreach>
						</ol>
					</div>
				</li>
			</xen:foreach>

		</ol>
	<xen:else />
		<p class="primaryContent">{xen:phrase no_matching_users_were_found}</p>
	</xen:if>

	<div class="sectionFooter">{xen:phrase matched_x_users, 'count={xen:count $users}'} <input type="button" class="button OverlayCloser" value="{xen:phrase close}" /></div>
</div>]]></template>
  <template title="member_trophies" version_id="1000051" version_string="1.0.0 Release Candidate 1"><![CDATA[<xen:title>{xen:phrase trophies_awarded_to_x, 'name={$user.username}'}</xen:title>

<xen:container var="$head.noindex">
	<meta name="robots" content="noindex" /></xen:container>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<div class="section">
	<xen:if is="{$trophies}">
		<ol class="overlayScroll">
		<xen:foreach loop="$trophies" value="$trophy">
			<li class="primaryContent">
				<xen:include template="trophy" />
			</li>
		</xen:foreach>
		</ol>
		<div class="sectionFooter opposedOptions">
			<span class="left">{xen:phrase total_points}: {xen:number $user.trophy_points}</span>
			<div class="right">
				<input type="button" class="button primary overlayOnly OverlayCloser" value="{xen:phrase close}" />
				<a href="{xen:link help/trophies}" class="button">{xen:phrase view_all_available_trophies}</a>
			</div>
		</div>
	<xen:else />
		<div class="primaryContent">{xen:phrase x_has_not_been_awarded_any_trophies_yet, 'name={$user.username}'}</div>
		<div class="sectionFooter">
			<input type="button" class="button primary overlayOnly OverlayCloser" value="{xen:phrase close}" />
			<a href="{xen:link help/trophies}" class="right button">{xen:phrase view_all_available_trophies}</a>
		</div>
	</xen:if>
</div>]]></template>
  <template title="member_unfollow" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<xen:title>{xen:phrase stop_following_x, 'name={$user.username}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'members/unfollow', $user}" method="post" class="xenForm">

	<dl class="ctrlUnit">
		<dt></dt>
		<dd>
			<ul>
				<li>
					<label for="ctrl__confirm">
						<input type="checkbox" name="_xfConfirm" value="1" id="ctrl__confirm"> {xen:phrase stop_following_x, 'name={$user.username}'}
					</label>
				</li>
			</ul>
		</dd>
	</dl>
	
	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase unfollow}" class="button primary"	accesskey="s" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="member_unignore" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<xen:title>{xen:phrase stop_ignoring_x, 'name={$user.username}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'members/unignore', $user}" method="post" class="xenForm">

	<dl class="ctrlUnit">
		<dt></dt>
		<dd>
			<ul>
				<li>
					<label for="ctrl__confirm">
						<input type="checkbox" name="_xfConfirm" value="1" id="ctrl__confirm"> {xen:phrase stop_ignoring_x, 'name={$user.username}'}
					</label>
				</li>
			</ul>
		</dd>
	</dl>
	
	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase unignore}" class="button primary" accesskey="s" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="member_view" version_id="1040033" version_string="1.4.0 Beta 3"><![CDATA[<xen:title>{$user.username}</xen:title>
<xen:h1></xen:h1> <xen:comment>H1 empty, do not render.</xen:comment>

<xen:container var="$head.canonical">
	<link rel="canonical" href="{xen:link 'canonical:members', $user, 'page={$page}'}" /></xen:container>

<xen:container var="$head.description">
	<meta name="description" content="{xen:phrase x_is_a_y_at_z, 'name={$user.username}', 'title={xen:helper stripHtml, {xen:helper usertitle, $user}}', 'location={$xenOptions.boardTitle}'}" /></xen:container>
	
<xen:container var="$head.openGraph"><xen:include template="open_graph_meta">
	<xen:set var="$url">{xen:link 'canonical:members', $user}</xen:set>
	<xen:set var="$title">{$user.username}</xen:set>
	<xen:set var="$description">{xen:phrase x_is_a_y_at_z, 'name={$user.username}', 'title={xen:helper stripHtml, {xen:helper usertitle, $user}}', 'location={$xenOptions.boardTitle}'}</xen:set>
	<xen:set var="$avatar">{xen:helper avatar, $user, 'm', '', 'true'}</xen:set>
	<xen:set var="$ogType">profile</xen:set>
	<xen:set var="$ogExtraHtml">
		<meta property="profile:username" content="{$user.username}" />
		<xen:if is="{$user.gender}"><meta property="profile:gender" content="{$user.gender}" /></xen:if>
	</xen:set>
</xen:include></xen:container>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<xen:require css="member_view.css" />
<xen:require js="js/xenforo/quick_reply_profile.js" />

<div class="profilePage" itemscope="itemscope" itemtype="http://data-vocabulary.org/Person">

	<div class="mast">
		<div class="avatarScaler">
			<xen:if is="{$visitor.user_id} == {$user.user_id}">
				<a class="Av{$user.user_id}l OverlayTrigger" href="{xen:link account/avatar}">
					<img src="{xen:helper avatar, $user, l, '', true}" alt="{$user.username}" style="{xen:helper avatarCropCss, $user}" itemprop="photo" />
				</a>
			<xen:else />
				<span class="Av{$user.user_id}l">
					<img src="{xen:helper avatar, $user, l, '', true}" alt="{$user.username}" style="{xen:helper avatarCropCss, $user}" itemprop="photo" />
				</span>
			</xen:if>
		</div>
		
		<xen:include template="ad_member_view_below_avatar" />

		<xen:hook name="member_view_sidebar_start" params="{xen:array 'user={$user}'}" />

		<div class="section infoBlock">
			<div class="secondaryContent pairsJustified">

				<xen:hook name="member_view_info_block">
				
				<xen:if is="{$canViewOnlineStatus}">
					<dl><dt>{xen:phrase last_activity}:</dt>
						<dd><xen:datetime time="$user.effective_last_activity" /></dd></dl>
				</xen:if>

				<dl><dt>{xen:phrase joined}:</dt>
					<dd>{xen:date $user.register_date}</dd></dl>

				<dl><dt>{xen:phrase messages}:</dt>
					<dd>{xen:number $user.message_count}</dd></dl>

				<dl><dt>{xen:phrase likes_received}:</dt>
					<dd>{xen:number $user.like_count}</dd></dl>

				<dl><dt>{xen:phrase trophy_points}:</dt>
					<dd><a href="{xen:link 'members/trophies', $user}" class="OverlayTrigger">{xen:number $user.trophy_points}</a></dd></dl>
					
				<xen:if is="{$canViewWarnings}">
					<dl><dt>{xen:phrase warning_points}:</dt><dd>{xen:number $user.warning_points}</dd></dl>
				</xen:if>
					
				</xen:hook>

			</div>
		</div>

		<xen:hook name="member_view_sidebar_middle1" params="{xen:array 'user={$user}'}" />

		<xen:if is="{$following} OR {$followers}">
		<div class="followBlocks">
			<xen:if is="{$following}">
				<div class="section">
					<h3 class="subHeading textWithCount" title="{xen:phrase x_is_following_y_members, 'name={$user.username}', 'count={xen:number $followingCount}'}">
						<span class="text">{xen:phrase following}</span>
						<a href="{xen:link 'members/following', $user}" class="count OverlayTrigger">{xen:number $followingCount}</a>
					</h3>
					<div class="primaryContent avatarHeap">
						<ol>
						<xen:foreach loop="$following" key="$followUserId" value="$followUser">
							<li>
								<xen:avatar user="$followUser" size="s" text="{$followUser.username}" class="Tooltip" title="{$followUser.username}" itemprop="contact" />
							</li>
						</xen:foreach>
						</ol>
					</div>
					<xen:if is="{$followingCount} > {xen:count $following, false}">
						<div class="sectionFooter"><a href="{xen:link 'members/following', $user}" class="OverlayTrigger">{xen:phrase show_all}</a></div>
					</xen:if>
				</div>
			</xen:if>

			<xen:if is="{$followers}">
				<div class="section">
					<h3 class="subHeading textWithCount" title="{xen:phrase x_is_being_followed_by_y_members, 'name={$user.username}', 'count={xen:number $followersCount}'}">
						<span class="text">{xen:phrase followers}</span>
						<a href="{xen:link 'members/followers', $user}" class="count OverlayTrigger">{xen:number $followersCount}</a>
					</h3>
					<div class="primaryContent avatarHeap">
						<ol>
						<xen:foreach loop="$followers" key="$followUserId" value="$followUser">
							<li>
								<xen:avatar user="$followUser" size="s" text="{$followUser.username}" class="Tooltip" title="{$followUser.username}" itemprop="contact" />
							</li>
						</xen:foreach>
						</ol>
					</div>
					<xen:if is="{$followersCount} > {xen:count $followers, false}">
						<div class="sectionFooter"><a href="{xen:link 'members/followers', $user}" class="OverlayTrigger">{xen:phrase show_all}</a></div>
					</xen:if>
				</div>
			</xen:if>
		</div>
		</xen:if>

		<xen:hook name="member_view_sidebar_middle2" params="{xen:array 'user={$user}'}" />

		<xen:if hascontent="true">
		<div class="section infoBlock">
			<dl class="secondaryContent pairsJustified">
			<xen:contentcheck>
				<xen:if is="{$user.gender}">
					<dl><dt>{xen:phrase gender}:</dt>
						<dd itemprop="gender"><xen:if is="{$user.gender} == 'male'">{xen:phrase male}<xen:else />{xen:phrase female}</xen:if></dd></dl>
				</xen:if>

				<xen:if is="{$birthday}">
					<dl><dt>{xen:phrase birthday}:</dt>
						<dd><span class="dob" itemprop="dob">{xen:date $birthday.timeStamp, $birthday.format}</span> <xen:if is="{$birthday.age}"><span class="age">({xen:phrase age}: {xen:number $birthday.age})</span></xen:if></dd></dl>
				</xen:if>

				<xen:if is="{$user.homepage}">
					<dl><dt>{xen:phrase home_page}:</dt>
						<dd><a href="{xen:string censor, $user.homepage, 'x'}" rel="nofollow" target="_blank" itemprop="url">{xen:string censor, $user.homepage}</a></dd></dl>
				</xen:if>

				<xen:if is="{$user.location}">
					<dl><dt>{xen:phrase location}:</dt>
						<dd><a href="{xen:link misc/location-info, '', 'location={xen:string censor, $user.location, 'x'}'}" rel="nofollow" target="_blank" itemprop="address">{xen:string censor, $user.location}</a></dd></dl>
				</xen:if>

				<xen:if is="{$user.occupation}">
					<dl><dt>{xen:phrase occupation}:</dt>
						<dd itemprop="role">{xen:string censor, $user.occupation}</dd></dl>
				</xen:if>
			</xen:contentcheck>
			</dl>
		</div>
		</xen:if>
		
		<xen:if is="{$user.allow_view_profile} == 'everyone'">
			<xen:include template="sidebar_share_page">
				<xen:set var="$url">{xen:link canonical:members, $user}</xen:set>
			</xen:include>
		</xen:if>

		<xen:hook name="member_view_sidebar_end" params="{xen:array 'user={$user}'}" />
		
		<xen:include template="ad_member_view_sidebar_bottom" />

	</div>

	<div class="mainProfileColumn">

		<div class="section primaryUserBlock">
			<div class="mainText secondaryContent">
				<div class="followBlock">
					<xen:if hascontent="true">
					<ul>
						<xen:contentcheck>
						<xen:if hascontent="true">
							<li><div class="Popup moderatorToolsPopup">
								<a rel="Menu">{xen:phrase moderator_tools}</a>
								<div class="Menu">
									<div class="primaryContent menuHeader"><h3>{xen:phrase moderator_tools}</h3></div>
									<ul class="secondaryContent blockLinksList">
									<xen:contentcheck>
										<xen:if is="{$canWarn}">
											<li><a href="{xen:link members/warn, $user}">{xen:phrase warn}</a></li>
										</xen:if>
										<xen:if is="{$canCleanSpam}">
											<li><a href="{xen:link spam-cleaner, $user, 'noredirect=1'}" class="deleteSpam OverlayTrigger">{xen:phrase spam}</a></li>
										</xen:if>
										<xen:if is="{$canViewIps}">
											<li><a href="{xen:link members/shared-ips, $user}" class="OverlayTrigger">{xen:phrase shared_ips}</a></li>
										</xen:if>
										<xen:if is="{$canBanUsers}">
											<xen:if is="{$user.is_banned}">
												<li><a href="{xen:adminlink banning/users/lift, $user}">{xen:phrase lift_ban}</a></li>
											<xen:else />
												<li><a href="{xen:adminlink banning/users/add, $user}">{xen:phrase ban}</a></li>
											</xen:if>
										</xen:if>
										<xen:if is="{$canEditUser}">
											<li><a href="{xen:link members/edit, $user}">{xen:phrase edit}</a></li>
										</xen:if>
									</xen:contentcheck>
									</ul>
								</div>
							</div></li>
						</xen:if>

						<xen:follow user="$user" title="" tag="li" />
						<xen:if is="{xen:helper isIgnored, $user.user_id}">
							<li><a href="{xen:link members/unignore, $user}" class="FollowLink">{xen:phrase unignore}</a></li>
						<xen:elseif is="{$canIgnore}" />
							<li><a href="{xen:link members/ignore, $user}" class="FollowLink">{xen:phrase ignore}</a></li>
						</xen:if>
						<xen:if is="{$canReport}">
							<li><a href="{xen:link members/report, $user}" class="OverlayTrigger">{xen:phrase report}</a></li>
						</xen:if>
						</xen:contentcheck>
					</ul>
					</xen:if>
					<xen:if is="{$visitor.user_id} AND {$user.user_id} != {$visitor.user_id}">
						<div class="muted">
							<xen:if is="{$user.isFollowingVisitor}">
								{xen:phrase user_is_following_you, 'user={$user.username}'}
							<xen:else />
								{xen:phrase user_is_not_following_you, 'user={$user.username}'}
							</xen:if>
						</div>
					</xen:if>
				</div>

				<h1 itemprop="name" class="username">{xen:helper richUserName, $user}</h1>

				<p class="userBlurb">
					{xen:helper userBlurb, $user}
				</p>
				<xen:if hascontent="true">
					<div class="userBanners">
						<xen:contentcheck>{xen:helper userBanner, $user}</xen:contentcheck>
					</div>
				</xen:if>

				<xen:if is="{$user.status}"><p class="userStatus" id="UserStatus">{xen:helper bodyText, $user.status} <xen:datetime time="$user.status_date" /></p></xen:if>

				<xen:if is="{$canViewOnlineStatus}">
					<dl class="pairsInline lastActivity">
						<dt>{xen:phrase x_was_last_seen, 'username={$user.username}'}:</dt>
						<dd>
							<xen:if is="{$user.activity} AND {$canViewCurrentActivity}">
								<xen:if is="{$user.activity.description}">
									{$user.activity.description}<xen:if is="{$user.activity.itemTitle}"> <em><a href="{$user.activity.itemUrl}">{$user.activity.itemTitle}</a></em></xen:if>,
								<xen:else />
									{xen:phrase viewing_unknown_page},
								</xen:if>
								<xen:datetime time="{$user.effective_last_activity}" class="muted" />
							<xen:else />
								<xen:datetime time="{$user.effective_last_activity}" />
							</xen:if>
						</dd>
					</dl>
				</xen:if>
			</div>
			
			<ul class="tabs mainTabs Tabs" data-panes="#ProfilePanes > li" data-history="on">
				<li><a href="{$requestPaths.requestUri}#profilePosts">{xen:phrase profile_posts}</a></li>
				<xen:if is="{$showRecentActivity}"><li><a href="{$requestPaths.requestUri}#recentActivity">{xen:phrase recent_activity}</a></li></xen:if>
				<li><a href="{$requestPaths.requestUri}#postings">{xen:phrase postings}</a></li>
				<li><a href="{$requestPaths.requestUri}#info">{xen:phrase information}</a></li>
				<xen:if is="{$warningCount}"><li><a href="{$requestPaths.requestUri}#warnings">{xen:phrase warnings} ({xen:number $warningCount})</a></li></xen:if>
				<xen:hook name="member_view_tabs_heading" params="{xen:array 'user={$user}'}" />
			</ul>
		</div>

		<ul id="ProfilePanes">
			<li id="profilePosts" class="profileContent">

			<xen:if is="{$canViewProfilePosts}">
				<xen:require css="message_simple.css" />

				<xen:if is="{$canPostOnProfile}">
					<form action="{xen:link members/post, $user}" method="post"
						class="messageSimple profilePoster AutoValidator primaryContent" id="ProfilePoster"
						data-optInOut="optIn">
						<xen:avatar user="$visitor" size="s" img="true" />
						<div class="messageInfo">
							<xen:if is="{$visitor.user_id} == {$user.user_id}">
								<textarea name="message" class="textCtrl StatusEditor UserTagger Elastic" placeholder="{xen:phrase update_your_status}..." rows="3" cols="50" data-statusEditorCounter="#statusEditorCounter"></textarea>
							<xen:else />
								<textarea name="message" class="textCtrl UserTagger Elastic" placeholder="{xen:phrase write_something}..." rows="3" cols="50"></textarea>
							</xen:if>
							<div class="submitUnit">
								<span id="statusEditorCounter" title="{xen:phrase characters_remaining}"></span>
								<input type="submit" class="button primary" value="{xen:phrase post_verb}" accesskey="s" />
								<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
							</div>
						</div>
					</form>
				</xen:if>
				
				<xen:include template="ad_member_view_above_messages" />

				<form action="{xen:link 'inline-mod/profile-post/switch'}" method="post"
					class="InlineModForm section"
					data-cookieName="profilePosts"
					data-controls="#InlineModControls"
					data-imodOptions="#ModerationSelect option">

					<ol class="messageSimpleList" id="ProfilePostList">
						<xen:if is="{$profilePosts}">
							<xen:foreach loop="$profilePosts" value="$profilePost">
								<xen:if is="{$profilePost.isDeleted}">
									<xen:include template="profile_post_deleted" />
								<xen:else />
									<xen:include template="profile_post" />
								</xen:if>
							</xen:foreach>
						<xen:else />
							<li id="NoProfilePosts">{xen:phrase there_no_messages_on_xs_profile_yet, 'name={$user.username}'}</li>
						</xen:if>
					</ol>

					<xen:if is="{$inlineModOptions}">
						<div class="sectionFooter InlineMod Hide">
							<label for="ModerationSelect">{xen:phrase perform_action_with_selected_posts}...</label>

							<xen:include template="inline_mod_controls_profile_post" />
						</div>
					</xen:if>

					<div class="pageNavLinkGroup">
						<div class="linkGroup SelectionCountContainer"></div>
						<div class="linkGroup"{xen:if '!{$ignoredNames}', ' style="display: none"'}><a href="javascript:" class="muted JsOnly DisplayIgnoredContent Tooltip" title="{xen:phrase show_hidden_content_by_x, "names={xen:helper implode, $ignoredNames, ', '}"}">{xen:phrase show_ignored_content}</a></div>
						<xen:pagenav link="members" linkdata="{$user}" page="{$page}" perpage="{$profilePostsPerPage}" total="{$totalProfilePosts}" />
					</div>

					<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
				</form>

			<xen:else />
				<div id="NoProfilePosts">{xen:phrase there_no_messages_on_xs_profile_yet, 'name={$user.username}'}</div>
			</xen:if>

			</li>

			<xen:if is="{$showRecentActivity}">
			<li id="recentActivity" class="profileContent" data-loadUrl="{xen:link members/recent-activity, $user}">
				<span class="JsOnly">{xen:phrase loading}...</span>
				<noscript><a href="{xen:link members/recent-activity, $user}">{xen:phrase view}</a></noscript>
			</li>
			</xen:if>

			<li id="postings" class="profileContent" data-loadUrl="{xen:link members/recent-content, $user}">
				<span class="JsOnly">{xen:phrase loading}...</span>
				<noscript><a href="{xen:link members/recent-content, $user}">{xen:phrase view}</a></noscript>
			</li>

			<li id="info" class="profileContent">

				<xen:if hascontent="true">
					<div class="section">
						<h3 class="textHeading">{xen:phrase about}</h3>

						<div class="primaryContent">
							<xen:contentcheck>
								<xen:if hascontent="true">
									<div class="pairsColumns aboutPairs">
									<xen:contentcheck>
										<xen:if is="{$user.gender}">
											<dl><dt>{xen:phrase gender}:</dt> <dd><xen:if is="{$user.gender} == 'male'">{xen:phrase male}<xen:else />{xen:phrase female}</xen:if></dd></dl>
										</xen:if>

										<xen:if is="{$birthday}">
											<dl><dt>{xen:phrase birthday}:</dt> <dd>{xen:date $birthday.timeStamp, $birthday.format} <xen:if is="{$birthday.age}">({xen:phrase age}: {xen:number $birthday.age})</xen:if></dd></dl>
										</xen:if>

										<xen:if is="{$user.homepage}">
											<dl><dt>{xen:phrase home_page}:</dt> <dd><a href="{xen:string censor, $user.homepage, 'x'}" rel="nofollow" target="_blank">{xen:string censor, $user.homepage}</a></dd></dl>
										</xen:if>

										<xen:if is="{$user.location}">
											<dl><dt>{xen:phrase location}:</dt> <dd><a href="{xen:link 'misc/location-info', '', 'location={xen:string censor, $user.location, '-'}'}" target="_blank" rel="nofollow" itemprop="address" class="concealed">{xen:string censor, $user.location}</a></dd></dl>
										</xen:if>

										<xen:if is="{$user.occupation}">
											<dl><dt>{xen:phrase occupation}:</dt> <dd>{xen:string censor, $user.occupation}</dd></dl>
										</xen:if>
										
										<xen:if is="{$customFieldsGrouped.personal}">
											<xen:foreach loop="$customFieldsGrouped.personal" value="$field">
												<xen:include template="custom_field_view" />
											</xen:foreach>
										</xen:if>
									</xen:contentcheck>
									</div>
								</xen:if>

								<xen:if is="{$user.about}"><div class="baseHtml ugc">{xen:raw $user.aboutHtml}</div></xen:if>
							</xen:contentcheck>
						</div>
					</div>
				</xen:if>

				<div class="section">
					<h3 class="textHeading">{xen:phrase interact}</h3>

					<div class="primaryContent">
						<div class="pairsColumns contactInfo">
							<dl>
								<dt>{xen:phrase content}:</dt>
								<dd><ul>
									<xen:hook name="member_view_search_content_types">
									<li><a href="{xen:link search/member, '', 'user_id={$user.user_id}'}" rel="nofollow">{xen:phrase find_all_content_by_x, 'name={$user.username}'}</a></li>
									<li><a href="{xen:link search/member, '', 'user_id={$user.user_id}', 'content=thread'}" rel="nofollow">{xen:phrase find_all_threads_by_x, 'name={$user.username}'}</a></li>
									</xen:hook>
								</ul></dd>
							</dl>
							<xen:if is="{$canStartConversation}">
								<dl><dt>{xen:phrase conversation}:</dt> <dd><a href="{xen:link 'conversations/add', '', 'to={$user.username}'}">{xen:phrase start_conversation}</a></dd></dl>
							</xen:if>
							<xen:if is="{$customFieldsGrouped.contact}">
								<xen:foreach loop="$customFieldsGrouped.contact" value="$field">
									<xen:include template="custom_field_view" />
								</xen:foreach>
							</xen:if>
						</div>
					</div>
				</div>
				
				<xen:if is="{$user.signature}">
					<div class="section">
						<h3 class="textHeading">{xen:phrase signature}</h3>
						<div class="primaryContent">
							<div class="baseHtml signature ugc">{xen:raw $user.signatureHtml}</div>
						</div>
					</div>
				</xen:if>

			</li>
			
			<xen:if is="{$warningCount}">
				<li id="warnings" class="profileContent" data-loadUrl="{xen:link members/warnings, $user}">
					{xen:phrase loading}...
					<noscript><a href="{xen:link members/warnings, $user}">{xen:phrase view}</a></noscript>
				</li>
			</xen:if>
			
			<xen:hook name="member_view_tabs_content" params="{xen:array 'user={$user}'}" />
		</ul>
	</div>

</div>]]></template>
  <template title="member_view.css" version_id="1040033" version_string="1.4.0 Beta 3"><![CDATA[.profilePage
{
	{xen:property profilePage}
}

{xen:helper clearfix, '.profilePage'}

.profilePage .mast
{
	float: left;
	width: {xen:property profilePageSidebarWidth};
	padding-right: 10px;
	border-right: 1px solid {xen:property primaryLighterStill};
}

.profilePage .mainProfileColumn
{
	margin-left: {xen:calc '{xen:property profilePageSidebarWidth} + 10'}px;
	border-left: 1px solid {xen:property primaryLighterStill};
	zoom: 1;
}

/** ************************ **/

.profilePage .mast .section
{
}
	
	.profilePage .mast .sectionFooter
	{
		border-left: 1px solid {xen:property primaryLighterStill};
		border-right: 1px solid {xen:property primaryLighterStill};
		text-align: right;
	}

/** ************************ **/

.profilePage .mast .followBlocks .section
{
	margin-bottom: 20px;
}

.profilePage .mast .followBlocks .primaryContent.avatarHeap
{
	border: 1px solid {xen:property primaryLighterStill};
	border-top: none;
}

/** ************************ **/

.profilePage .mast .section.infoBlock
{
	{xen:property profilePageSidebarInfoBlock}
}

	.profilePage .mast .section.infoBlock .primaryContent,
	.profilePage .mast .section.infoBlock .secondaryContent
	{
		overflow: hidden;
	}

	.profilePage .mast .section.infoBlock .primaryContent:last-child,
	.profilePage .mast .section.infoBlock .secondaryContent:last-child
	{
		border: none;
	}

	.profilePage .infoBlock dt
	{
		{xen:property profilePageSidebarInfoBlockDt}
	}

	.profilePage .infoBlock dd
	{
		{xen:property profilePageSidebarInfoBlockDd}
	}

	.profilePage .infoBlock .dob,
	.profilePage .infoBlock .age
	{
		white-space: nowrap;
	}
	
	.profilePage .mast .shareControl
	{
		margin-top: 10px;
	}
	
	.profilePage .mast .sharePage iframe
	{
		width: 160px;
		height: 20px;
	}

/* ***************************** */
/** [ Items...........(count) ] **/

.textWithCount
{
	overflow: hidden; zoom: 1;
}

	.textWithCount .text
	{
		float: left;
	}

	.textWithCount .count
	{
		float: right;
	}
	
		.textWithCount.subHeading .text
		{		
			color: {xen:property secondaryDarker};
		}
		
		.textWithCount.subHeading .count
		{
			margin: -3px 0;
			padding: 2px 6px;
			border-radius: 5px;
			border: 1px solid {xen:property secondaryLighter};
			background-color: {xen:property secondaryLightest};
			color: {xen:property secondaryDarker};
		}

/** ************************ **/

.profilePage .primaryUserBlock
{
	border-top: 1px solid {xen:property primaryLighterStill};
}

.profilePage .primaryUserBlock .mainText
{
	padding-bottom: {xen:calc '{xen:property profilePageTabHeight} + 14'}px;
}

	.profilePage .primaryUserBlock .followBlock
	{
		float: right;
		font-size: 11px;
		text-align: right;
	}
	
		.profilePage .primaryUserBlock .followBlock li
		{
			float: right;
			margin-left: 10px;
		}
	
		.profilePage .primaryUserBlock .followBlock .muted
		{
			font-size: 10px;
			clear: both;
		}

	.profilePage .primaryUserBlock h1
	{
		{xen:property profilePageUsername}
	}

	.profilePage .primaryUserBlock .userBlurb
	{
		margin-bottom: 5px;
	}
	
	.profilePage .primaryUserBlock .userBanners .userBanner
	{
		display: inline-block;
		margin-bottom: 5px;
	}
	
	.profilePage .primaryUserBlock .userStatus
	{
		{xen:property messageText}
		
		{xen:property profilePageUserStatus}
	}
	
	.profilePage .primaryUserBlock .lastActivity
	{
		{xen:property profilePageLastActivityText}
	}
	
		.profilePage .primaryUserBlock .userStatus .DateTime
		{
			color: {xen:property mutedTextColor};
			font-size: 10px;
		}
	
	.profilePage .primaryUserBlock .primaryContent,
	.profilePage .primaryUserBlock .secondaryContent
	{
		padding-left: {xen:property profilePageTabInset};
		border: none;
	}
	
.profilePage .moderatorToolsPopup.Popup .PopupControl.PopupOpen
{
	background-image: none;
}

.profilePage .tabs.mainTabs
{
	padding: 0 {xen:property profilePageTabInset};	
	margin-top: -{xen:calc '{xen:property profilePageTabHeight} + 1'}px;
	min-height: {xen:calc '{xen:property profilePageTabHeight} + 1'}px;
	height: auto;
	position: relative; /* ensure separate stacking context from .mainText */
	background: {xen:property secondaryContent.background-color};
}

	.profilePage .tabs.mainTabs li a
	{
		padding-left: {xen:property profilePageTabHeight};
		padding-right: {xen:property profilePageTabHeight};		
		line-height: {xen:property profilePageTabHeight};
		height: {xen:property profilePageTabHeight};
		
		{xen:property profilePageTab}	
	}
	
		.profilePage .tabs.mainTabs li a:hover
		{
			{xen:property profilePageTabHover}
		}
	
	.profilePage .tabs.mainTabs li.active a
	{
		{xen:property profilePageTabSelected}
	}

.profilePage .profileContent
{
	margin-left: {xen:property profilePageTabInset};
}

	.profilePage .profilePoster
	{
		padding-bottom: 10px;
		position: relative;
	}
	
		.profilePage .profilePoster textarea
		{
			height: 54px;
			width: 100%;
			box-sizing: border-box;
			*width: 98%;
			resize: vertical;
		}
		
		.profilePage .profilePoster .submitUnit
		{
			margin-top: 5px;
			text-align: right;
		}

.profilePage .profileContent .InlineMod
{
	overflow: hidden; zoom: 1;
	
}

.contactInfo,
.aboutPairs
{
	max-width: 500px;
}

	.contactInfo dl,
	.aboutPairs dl
	{
		margin-bottom: 5px;
	}
	
	.contactInfo dt,
	.aboutPairs dt
	{
		width: 30%;
	}
	
	.contactInfo dd,
	.aboutPairs dd
	{
		width: 68%;
	}

.aboutPairs
{
	margin-bottom: 1em;
}

.signature
{
	{xen:property messageText}
	
	/*border: 1px solid {xen:property primaryLighterStill};
	padding: 10px;*/
}

.profilePage .eventList li
{
	padding-left: 0;
}

.profilePage .eventList:first-of-type li:first-child
{
	padding-top: 0;
}

.profilePage .searchResult:first-child
{
	margin-top: -5px;
}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveMediumWidth})
{
	.Responsive .profilePage
	{
		display: table;
		table-layout: fixed;
		width: 100%;
		box-sizing: border-box;
	}

	.Responsive .profilePage .mast
	{
		display: table-footer-group;
		
		float: none;
		padding-right: 0;
		border-right: none;
		margin: 0 auto;
		margin-top: 10px;
	}

	.Responsive .profilePage .avatarScaler
	{
		text-align: center;
	}

	.Responsive .profilePage .mast .sharePage
	{
		display: none;
	}

	.Responsive .profilePage .profileContent
	{
		margin-left: 0;
	}

	.Responsive .profilePage .mainProfileColumn
	{
		display: table-header-group;

		margin-left: 0;
		border-left: none;
		border-bottom: 1px solid {xen:property primaryLighter};
		padding-bottom: 10px;
	}

	.Responsive .profilePage .mast > *
	{
		max-width: 192px;
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .warningList .warningExpiry
	{
		display: none;
	}
}

@media (max-width:340px)
{
	.Responsive .profilePage .mast > *
	{
		max-width: none;
	}
}
</xen:if>]]></template>
  <template title="member_warn" version_id="1040270" version_string="1.4.2"><![CDATA[<xen:title>{xen:phrase warn_member}: {$user.username}</xen:title>
<xen:h1>{xen:phrase warn_member}: <em>{$user.username}</em></xen:h1>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<xen:require js="js/xenforo/form_filler.js" />
<xen:require css="member_warn.css" />

<form action="{xen:link members/warn, $user}" method="post" class="xenForm" data-form-filler-url="{xen:link members/warn, $user, 'fill=1', 'content_type={$contentType}', 'content_id={$contentId}'}">
	
	<div class="warningHeader">
		<xen:avatar user="$user" size="s" />
		<dl>
			<dt>{xen:phrase content}:</dt>
			<dd><h2><a href="{$contentUrl}">{$contentTitle}</a></h2></dd>
		</dl>
	</div>

	<ul class="tabs Tabs" data-panes="#warningPanes > li">
		<li class="active"><a>{xen:phrase warning_information}</a></li>
		<li><a>{xen:phrase member_notification}</a></li>
		<xen:if is="{$canDeleteContent} OR {$canWarnPublicly}">
			<xen:comment>This needs to match the condition for the content of the content action tab</xen:comment>
			<li><a>{xen:phrase content_action}</a></li>
		</xen:if>
		<xen:if is="{$warningCount}"><li><a href="{$requestPaths.requestUri}#warnings">{xen:phrase warnings} ({xen:number $warningCount})</a></li></xen:if>
	</ul>

	<ul id="warningPanes">
		<li>
			<dl class="ctrlUnit">
				<dt>{xen:phrase warning_type}:</dt>
				<dd>
					<ul>
						<xen:foreach loop="$warnings" value="$warning">
							<li><label><input type="radio" name="warning_definition_id" class="FormFiller" value="{$warning.warning_definition_id}" /> {$warning.title}</label></li>
						</xen:foreach>
						<li><label><input type="radio" name="warning_definition_id" class="FormFiller Disabler" value="0" id="customWarning" checked="checked" /> {xen:phrase custom_warning}:</label>
							<ul id="customWarning_Disabler">
								<li><input type="text" name="title" class="textCtrl" placeholder="{xen:phrase custom_warning}..." maxlength="255" /></li>
							</ul>
						</li>
					</ul>
				</dd>
			</dl>
			
			<fieldset id="WarningEditableFields">
				<dl class="ctrlUnit">
					<dt>{xen:phrase warning_points}:</dt>
					<dd>
						<ul>
							<li><label><input type="checkbox" id="applyPoints" name="points_enable" value="1" class="Disabler" checked="checked" /> {xen:phrase apply_warning_points}:</label>
								<ul id="applyPoints_Disabler">
									<li><input type="number" name="points" value="1" class="textCtrl SpinBox number autoSize" min="0" step="1" /></li>
								</ul>
							</li>
						</ul>
					</dd>
				</dl>
				
				<dl class="ctrlUnit">
					<dt>{xen:phrase points_expiry}:</dt>
					<dd>
						<ul>
							<li><label><input type="checkbox" id="expirePoints" name="expiry_enable" value="1" class="Disabler" checked="checked" /> {xen:phrase points_expire_after}:</label>
								<ul id="expirePoints_Disabler">
									<li>
										<input type="number" name="expiry_value" value="1" class="textCtrl SpinBox number autoSize" min="0" step="1" />
										<select name="expiry_unit" class="textCtrl autoSize">
											<option value="days">{xen:phrase days}</option>
											<option value="weeks">{xen:phrase weeks}</option>
											<option value="months" selected="selected">{xen:phrase months}</option>
											<option value="years">{xen:phrase years}</option>
										</select>
									</li>
								</ul>
							</li>
						</ul>
					</dd>
				</dl>
			</fieldset>
				
			<fieldset>
				<dl class="ctrlUnit">
					<dt>{xen:phrase notes}:</dt>
					<dd>
						<textarea name="notes" rows="2" class="Elastic textCtrl"></textarea>
						<p class="explain">{xen:phrase this_will_not_be_shown_to_member_receiving_warning}</p>
					</dd>
				</dl>
			</fieldset>
		</li>
		
		
		<li>
			<dl class="ctrlUnit">
				<dt>{xen:phrase member_notification}:</dt>
				<dd>
					<ul>
						<li><label><input type="checkbox" id="startConversation" class="Disabler" checked="checked" /> {xen:phrase start_conversation_with_x, 'name={$user.username}'}:</label>
							<ul id="startConversation_Disabler">
								<li><input type="text" name="conversation_title" value="" class="textCtrl" id="ctrl_conversation_title" placeholder="{xen:phrase conversation_title}" /></li>
								<li><label for="ctrl_conversation_message">{xen:phrase message}:</label>
									<textarea name="conversation_message" class="textCtrl Elastic" id="ctrl_conversation_message" rows="2"></textarea>
									<p class="explain">{xen:phrase this_will_be_visible_only_to_you_and_this_member}</p></li>
								<li><label><input type="checkbox" name="open_invite" value="1" /> {xen:phrase allow_x_to_invite_others_to_this_conversation, 'user={$user.username}'}</label></li>
								<li><label><input type="checkbox" name="conversation_locked" value="1" /> {xen:phrase lock_conversation_no_responses_will_be_allowed}</label></li>
							</ul>
						</li>
					</ul>
				</dd>
			</dl>
		</li>
		
		<xen:if hascontent="true">
		<li>
			<dl class="ctrlUnit">
				<dt>{xen:phrase content_action}:</dt>
				<dd>
					<ul>
						<li><label><input type="radio" name="content_action" value="" checked="checked" /> {xen:phrase do_nothing}</label></li>
						<xen:contentcheck>
						<xen:if is="{$canDeleteContent}">
						<li><label><input type="radio" name="content_action" value="delete_content" id="deleteContent" class="Disabler" /> {xen:phrase delete_the_content}</label>
							<ul id="deleteContent_Disabler">
								<li><input type="text" name="delete_reason" placeholder="{xen:phrase reason_for_deletion}" class="textCtrl" />
									<p class="explain">{xen:phrase item_will_remain_viewable_by_moderators_and_may_be_restored_at_later}</p></li>
							</ul>
						</li>
						</xen:if>
						<xen:if is="{$canWarnPublicly}">
						<li><label><input type="radio" name="content_action" value="public_warning" id="publicWarning" class="Disabler" /> {xen:phrase post_public_warning}:</label>
							<ul id="publicWarning_Disabler">
								<li><input type="text" name="public_warning" class="textCtrl" id="ctrl_public_warning" placeholder="{xen:phrase public_warning_text}" maxlength="255" />
									<p class="explain">{xen:phrase this_will_be_visible_to_anyone_who_can_see_content_for_warning}</p></li>
							</ul>
						</li>
						</xen:if>
						</xen:contentcheck>
					</ul>
				</dd>
			</dl>
		</li>
		</xen:if>
		
		<xen:if is="{$warningCount}">
			<li id="warnings" class="profileContent" data-loadUrl="{xen:link members/warnings, $user}">
				{xen:phrase loading}...
				<noscript><a href="{xen:link members/warnings, $user}">{xen:phrase view}</a></noscript>
			</li>
		</xen:if>
	</ul>
	
	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase warn_member}" class="button" accesskey="s" /></dd>
	</dl>

	<input type="hidden" name="content_type" value="{$contentType}" />
	<input type="hidden" name="content_id" value="{$contentId}" />
	<input type="hidden" name="redirect" value="{$redirect}" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	
	<input type="checkbox" id="WarningEditableInput" value="1" checked="checked" style="display:none" />
	<script>
		$(function() {
			var $input = $('#WarningEditableInput'), $fields = $('#WarningEditableFields');
			$input.click(function() {
				if (!$input.is(':checked'))
				{
					setTimeout(function() { $fields.find('input, textarea, select').attr('disabled', true).addClass('disabled'); }, 0);
				}
				else
				{
					$fields.find('input, textarea, select').attr('disabled', false).removeClass('disabled');
				}
			});
		});
	</script>
</form>]]></template>
  <template title="member_warn.css" version_id="1010033" version_string="1.1.0 Beta 3"><![CDATA[.warningHeader
{
	overflow: hidden; zoom: 1;
	margin: 10px 0;
}

	.warningHeader .avatar
	{
		float: left;
		margin-right: 10px;
	}
	
	.warningHeader dt
	{
		font-size: 11px;
		color: {xen:property mutedTextColor};
	}
	
	.warningHeader dd h2
	{
		font-size: 13pt;
	}]]></template>
  <template title="member_warnings" version_id="1020570" version_string="1.2.5"><![CDATA[<xen:title>{xen:phrase warnings}: {$user.username}</xen:title>
<xen:h1>{xen:phrase warnings}</xen:h1>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<xen:require css="member_view.css" />

<div class="warningList">
<table class="dataTable" style="table-layout: fixed">
<tr class="dataRow">
	<th class="warningName" width="50%">{xen:phrase warning}</th>
	<th class="warningDate">{xen:phrase date}</th>
	<th class="warningPoints">{xen:phrase points}</th>
	<th class="warningExpiry">{xen:phrase expiry}</th>
	<th class="warningView">&nbsp;</th>
</tr>
<xen:foreach loop="$warnings" value="$warning">
	<tr class="dataRow {xen:if $warning.is_expired, muted}">
		<td class="warningName">{$warning.title}</td>
		<td class="warningDate"><xen:datetime time="{$warning.warning_date}" /></td>
		<td class="warningPoints">{xen:number $warning.points}</td>
		<td class="warningExpiry"><xen:if is="{$warning.expiry_date}"><xen:datetime time="{$warning.expiry_date}" /><xen:else />{xen:phrase n_a}</xen:if></td>
		<td class="warningView dataOptions"><a href="{xen:link warnings, $warning}" class="OverlayTrigger secondaryContent">{xen:phrase view}</a></td>
	</tr>
</xen:foreach>
</table>
</div>]]></template>
  <template title="message" version_id="1040032" version_string="1.4.0 Beta 2"><![CDATA[<xen:require css="message.css" />
<xen:require css="bb_code.css" />

<li id="{$messageId}" class="message {xen:if $message.isDeleted, 'deleted'} {xen:if '{$message.is_staff}', 'staff'} {xen:if $message.isIgnored, ignored}" data-author="{$message.username}">

	<xen:include template="message_user_info">
		<xen:map from="$message" to="$user" />
	</xen:include>

	<div class="messageInfo primaryContent">
		<xen:if is="{$message.isNew}"><strong class="newIndicator"><span></span>{xen:phrase new}</strong></xen:if>
		
		<xen:if hascontent="true">
			<ul class="messageNotices">
				<xen:contentcheck>
					<xen:hook name="message_notices" params="{xen:array 'message={$message}'}">
						<xen:if is="{$message.warning_message}">
							<li class="warningNotice"><span class="icon Tooltip" title="{xen:phrase warning}" data-tipclass="iconTip flipped"></span>{$message.warning_message}</li>
						</xen:if>
						<xen:if is="{$message.isDeleted}">
							<li class="deletedNotice"><span class="icon Tooltip" title="{xen:phrase deleted}" data-tipclass="iconTip flipped"></span>{xen:phrase this_message_has_been_removed_from_public_view}</li>
						<xen:elseif is="{$message.isModerated}" />
							<li class="moderatedNotice"><span class="icon Tooltip" title="{xen:phrase awaiting_moderation}" data-tipclass="iconTip flipped"></span>{xen:phrase this_message_is_awaiting_moderator_approval_and_is_invisible_to_normal}</li>
						</xen:if>
						<xen:if is="{$message.isIgnored}">
							<li>{xen:phrase you_are_ignoring_content_by_this_member} <a href="javascript:" class="JsOnly DisplayIgnoredContent">{xen:phrase show_ignored_content}</a></li>
						</xen:if>
					</xen:hook>
				</xen:contentcheck>
			</ul>
		</xen:if>
		
		<xen:hook name="message_content" params="{xen:array 'message={$message}'}">
		<div class="messageContent">		
			<article>
				<blockquote class="messageText SelectQuoteContainer ugc baseHtml{xen:if $message.isIgnored, ' ignored'}">
					<xen:include template="ad_message_body" />
					{xen:raw $message.messageHtml}
					<div class="messageTextEndMarker">&nbsp;</div>
				</blockquote>
			</article>
			
			{xen:raw $messageContentAfterTemplate}
		</div>
		</xen:hook>
		
		<xen:if is="{$message.last_edit_date}">
			<div class="editDate">
			<xen:if is="{$message.user_id} == {$message.last_edit_user_id}">
				{xen:phrase last_edited}: <xen:datetime time="{$message.last_edit_date}" />
			<xen:else />
				{xen:phrase last_edited_by_moderator}: <xen:datetime time="{$message.last_edit_date}" />
			</xen:if>
			</div>
		</xen:if>
		
		<xen:if is="{$visitor.content_show_signature} && {$message.signature}">
			<div class="baseHtml signature messageText ugc{xen:if $message.isIgnored, ' ignored'}"><aside>{xen:raw $message.signatureHtml}</aside></div>
		</xen:if>
		
		{xen:raw $messageAfterTemplate}
		
		<div id="likes-{$messageId}"><xen:if is="{$message.likes}"><xen:include template="likes_summary" /></xen:if></div>
	</div>

	<xen:hook name="message_below" params="{xen:array 'post={$message}','message_id={$messageId}'}" />
	
	<xen:include template="ad_message_below" />
	
</li>]]></template>
  <template title="message.css" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:edithint template="message_user_info.css" />

.messageList
{
	{xen:property messageList}
}

.messageList .message
{
	{xen:property message}
}

{xen:helper clearfix, '.messageList .message'}

/*** Message block ***/

.message .messageInfo
{
	{xen:property messageInfo}
	zoom: 1;
}

	.message .newIndicator
	{
		{xen:property messageNewIndicator}
		
		margin-right: -{xen:calc '{xen:property content.padding-right} + 5'}px;
	}
	
		.message .newIndicator span
		{
			{xen:property messageNewIndicatorInner}
		}

	.message .messageContent
	{
		{xen:property messageContent}
	}
	
	.message .messageTextEndMarker
	{
		height: 0;
		font-size: 0;
		overflow; hidden;
	}
	
	.message .editDate
	{
		text-align: right;
		margin-top: 5px;
		font-size: 11px;
		color: {xen:property mutedTextColor};
	}

	.message .signature
	{
		{xen:property messageSignature}
	}

	.message .messageMeta
	{
		{xen:property messageMeta}
	}

		.message .privateControls
		{
			{xen:property messagePrivateControls}
		}

		.message .publicControls
		{
			{xen:property messagePublicControls}
		}
		
			.message .privateControls .item
			{
				margin-right: 10px;
				float: left;
			}

				.message .privateControls .item:last-child
				{
					margin-right: 0;
				}

			.message .publicControls .item
			{
				margin-left: 10px;
				float: left;
			}
	
				.message .messageMeta .control
				{
					{xen:property messageMetaControl}
				}
				
					.message .messageMeta .control:focus
					{
						{xen:property messageMetaControlFocus}
					}
				
					.message .messageMeta .control:hover
					{
						{xen:property messageMetaControlHover}
					}
				
					.message .messageMeta .control:active
					{
						{xen:property messageMetaControlActive}
					}
	/*** multiquote +/- ***/
			
	.message .publicControls .MultiQuoteControl
	{
		padding-left: 4px;
		padding-right: 4px;
		border-radius: 2px;
		margin-left: 6px;
		margin-right: -4px;
	}
	
	
	.message .publicControls .MultiQuoteControl.active
	{
		background-color: {xen:property primaryLighterStill};
	}
	
	<xen:include template="message_notices.css" />
	
	.message .likesSummary
	{
		{xen:property messageLikesSummary}
	}
	
	.message .messageText > *:first-child
	{
		margin-top: 0;
	}

/* inline moderation changes */

.InlineModChecked .messageUserBlock,
.InlineModChecked .messageInfo,
.InlineModChecked .messageNotices,
.InlineModChecked .bbCodeBlock .type,
.InlineModChecked .bbCodeBlock blockquote,
.InlineModChecked .attachedFiles .attachedFilesHeader,
.InlineModChecked .attachedFiles .attachmentList
{
	{xen:property inlineModChecked}
}

.InlineModChecked .messageUserBlock div.avatarHolder,
.InlineModChecked .messageUserBlock .extraUserInfo
{
	background: transparent;
}

.InlineModChecked .messageUserBlock .arrow span
{
	border-left-color: {xen:property inlineMod};
}

/* message list */

.messageList .newMessagesNotice
{
	margin: 10px auto;
	padding: 5px 10px;
	border-radius: 5px;
	border: 1px solid {xen:property primaryLighter};
	background: {xen:property primaryLighterStill} url({xen:property imagePath}/xenforo/gradients/category-23px-light.png) repeat-x top;
	font-size: 11px;
}

/* deleted / ignored message placeholder */

.messageList .message.placeholder
{
}

.messageList .placeholder .placeholderContent
{	
	overflow: hidden; zoom: 1;
	color: {xen:property primaryLightish};
	font-size: 11px;
}

	.messageList .placeholder a.avatar
	{
		float: left;
		display: block;
	}
	
		.messageList .placeholder a.avatar img
		{
			display: block;
			width: 32px;
			height: 32px;
		}
		
	.messageList .placeholder .privateControls
	{
		margin-top: -5px;
	}
	

/* messages remaining link */

.postsRemaining a,
a.postsRemaining
{
	font-size: 11px;
	color: {xen:property mutedTextColor};
}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveWideWidth})
{
	.Responsive .message .newIndicator
	{
		margin-right: 0;
		border-top-right-radius: {xen:property messageNewIndicator.border-top-left-radius};
	}
	
		.Responsive .message .newIndicator span
		{
			display: none;
		}
}

@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .message .messageInfo
	{
		margin-left: 0;
		padding: 0 10px;
	}

	.Responsive .message .messageContent
	{
		min-height: 0;
	}	

	.Responsive .message .newIndicator
	{
		margin-right: -5px;
		margin-top: -16px;
	}

	.Responsive .message .postNumber,
	.Responsive .message .authorEnd
	{
		display: none;
	}
	
	.Responsive .message .signature
	{
		display: none;
	}
	
	.Responsive .messageList .placeholder a.avatar
	{
		margin-right: 10px;
	}
}
</xen:if>]]></template>
  <template title="message_deleted_placeholder" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<xen:require css="message.css" />
<xen:require js="js/xenforo/discussion.js" /><xen:comment>For message loader</xen:comment>

<li id="{$messageId}" class="message deleted placeholder {xen:if $message.isIgnored, ignored}">
	<div class="placeholderContent">

		<xen:avatar user="$message" size="s" img="true" />
		
		<div class="messageInfo primaryContent">
			<div>
				{xen:phrase this_message_by_x_has_been_removed_from_view, 'name={xen:helper username, $message}'}
				
				<xen:if is="{$message.delete_username}">
					{xen:phrase deleted_by_x, 'name={xen:helper username, $message.deleteInfo}'},
					<xen:datetime time="{$message.delete_date}" /><xen:if is="{$message.delete_reason}">, {xen:phrase reason}: {$message.delete_reason}</xen:if>.
				</xen:if>
			</div>
			
			<div class="messageMeta">
				<div class="privateControls">{xen:raw $messageControlsTemplate}</div>
			</div>
		</div>
		
	</div>
</li>]]></template>
  <template title="message_notices.css" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[	.messageNotices li
	{
		{xen:property messageNotice}
	}
	
		.messageNotices .icon
		{
			float: right;
			width: 16px;
			height: 16px;
			background: url('{xen:property imagePath}/xenforo/xenforo-ui-sprite.png') no-repeat 1000px 1000px;
		}
	
			.messageNotices .warningNotice .icon { background-position: -48px -32px; }		
			.messageNotices .deletedNotice .icon { background-position: -64px -32px; }		
			.messageNotices .moderatedNotice .icon {background-position: -32px -16px; }]]></template>
  <template title="message_page" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[<xen:container var="$head.robots"><meta name="robots" content="noindex" /></xen:container>

<div class="messageBody">{xen:raw $message}</div>]]></template>
  <template title="message_simple" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:require css="message_simple.css" />
<xen:require css="bb_code.css" />

<li id="{$messageId}" class="primaryContent messageSimple {xen:if $message.isDeleted, 'deleted'} {xen:if '{$message.is_staff}', 'staff'} {xen:if $message.isIgnored, ignored}" data-author="{$message.username}">

	<xen:avatar user="$message" size="s" img="true" />
	
	<div class="messageInfo">
		
		<xen:if hascontent="true">
			<ul class="messageNotices">
				<xen:contentcheck>
					<xen:hook name="message_simple_notices" params="{xen:array 'message={$message}'}">
						<xen:if is="{$message.warning_message}">
							<li class="warningNotice"><span class="icon Tooltip" title="{xen:phrase warning}" data-tipclass="iconTip flipped"></span>{$message.warning_message}</li>
						</xen:if>
						<xen:if is="{$message.isDeleted}">
							<li class="deletedNotice"><span class="icon Tooltip" title="{xen:phrase deleted}" data-tipclass="iconTip flipped"></span>{xen:phrase this_message_has_been_removed_from_public_view}</li>
						<xen:elseif is="{$message.isModerated}" />
							<li class="moderatedNotice"><span class="icon Tooltip" title="{xen:phrase awaiting_moderation}" data-tipclass="iconTip flipped"></span>{xen:phrase this_message_is_awaiting_moderator_approval_and_is_invisible_to_normal}</li>
						</xen:if>
						<xen:if is="{$message.isIgnored}">
							<li>{xen:phrase you_are_ignoring_content_by_this_member} <a href="javascript:" class="JsOnly DisplayIgnoredContent">{xen:phrase show_ignored_content}</a></li>
						</xen:if>
					</xen:hook>
				</xen:contentcheck>
			</ul>
		</xen:if>

		<div class="messageContent">
			<xen:if is="{$messagePosterHtml}">
				{xen:raw $messagePosterHtml}
			<xen:else />
				<xen:username user="$message" class="poster" rich="true" />
			</xen:if>
			<article><blockquote class="ugc baseHtml{xen:if $message.isIgnored, ' ignored'}">{xen:helper bodyText, $message.message}</blockquote></article>
		</div>

		{xen:raw $messageAfterTemplate}
	</div>
</li>]]></template>
  <template title="message_simple.css" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[/* inline mod stuff */

.messageSimpleList .messageSimple.InlineModChecked
{
	{xen:property inlineModChecked}
}

/* note that .messageSimple needs to be enclosed in a .messageSimpleList container */

.messageSimpleList.topBorder
{
	border-top: 1px {xen:property primaryLighterStill} solid;
	padding-bottom: 5px;
}

.messageSimple
{
	overflow: hidden; zoom: 1;

	padding: 0;
	padding-bottom: 10px;
	
	margin: 10px 0;
}

.messageSimpleList.contained .messageSimple
{
	padding: 10px;
	margin: 0;
}

.messageSimple .avatar
{
	float: left;
	font-size: 0;
}

.messageSimple .messageInfo
{
	margin-left: 65px;
}

	.messageSimple .messageContent
	{
		min-height: 35px;
	}

		.messageSimple .messageContent article,
		.messageSimple .messageContent blockquote
		{
			display: inline;
		}

	.messageSimple .poster
	{
		font-weight: bold;
	}

.messageSimple .messageMeta
{
	overflow: hidden; zoom: 1;
	font-size: 11px;
	line-height: 14px;
	padding-top: 5px;
}

	.messageSimple .privateControls
	{
		float: left;
	}

		.messageSimple .privateControls .item
		{
			float: left;
			margin-right: 10px;
		}

	.messageSimple .publicControls
	{
		float: right;
	}

		.messageSimple .publicControls .item
		{
			float: left;
			margin-left: 10px;
		}

<xen:include template="message_notices.css" />


/* deleted / ignored message placeholder */

.messageSimpleList .messageSimple.placeholder
{
	border: none;
	margin: 10px 0;
	padding: 0;
}

.messageSimpleList .placeholder .placeholderContent
{
	overflow: hidden; zoom: 1;
	border: 1px solid {xen:property primaryLighterStill};
	background: {xen:property primaryLightest} url('{xen:property imagePath}/xenforo/gradients/category-23px-light.png') repeat-x top;
	padding: 5px;
	border-radius: 5px;
	color: {xen:property primaryLightish};
	font-size: 11px;
}

	.messageSimpleList .placeholder a.avatar
	{
		float: left;
		margin-right: 5px;
		display: block;
	}
		
		.messageSimpleList .placeholder a.avatar img
		{
			width: 24px;
			height: 24px;
			display: block;
		}
	
	.messageSimpleList .placeholder .privateControls
	{
		margin-top: 2px;
	}
	
/* likes and comments */

.messageSimple .messageResponse
{
	margin-top: 10px;
	font-size: 11px;
	max-width: 400px;
	_width: 400px;
}

.messageSimple .comment,
.messageSimple .secondaryContent
{
	overflow: hidden; zoom: 1;
	margin-top: 2px;
	padding: 5px;
}

	.messageSimple .comment .avatar img
	{
		float: left;
		width: 32px;
		height: 32px;
	}

	.messageSimple .comment .commentInfo,
	.messageSimple .comment .elements
	{
		margin-left: 42px;
	}

	.messageSimple .comment .commentContent
	{
		min-height: 19px;
	}

		.messageSimple .commentContent article,
		.messageSimple .commentContent blockquote
		{
			display: inline;
		}
		
	.messageSimple .comment .commentControls
	{
		margin-top: 5px;
	}
	
		.messageSimple .comment .commentControls .item
		{
			margin-left: 10px;
		}
			

.messageSimple .comment textarea
{
	display: block;
	width: 100%;
	box-sizing: border-box;
	*width: 96%;
	max-height: 100px;
	resize: vertical;
}

.messageSimple .comment .submit
{
	margin-top: 5px;
	text-align: right;
}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .messageSimple > .avatar img
	{
		width: 32px;
		height: 32px;
	}

	.Responsive .messageSimple .messageInfo
	{
		margin-left: 46px;
	}
}
</xen:if>]]></template>
  <template title="message_simple_deleted_placeholder" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<xen:require css="message_simple.css" />

<li id="{$messageId}" class="messageSimple deleted placeholder {xen:if $message.isIgnored, ignored}">

	<div class="placeholderContent secondaryContent">

		<xen:avatar user="$message" size="s" img="true" />
				
		<p>
			{xen:phrase this_message_by_x_has_been_removed_from_view, 'name={xen:helper username, $message}'}
			<xen:if is="{$message.delete_username}">
				{xen:phrase deleted_by_x, 'name={xen:helper username, $message.deleteInfo}'}, <xen:datetime time="{$message.delete_date}" /><xen:if is="{$message.delete_reason}">, {xen:phrase reason}: {$message.delete_reason}</xen:if>.
			</xen:if>
		</p>
		<div class="privateControls">{xen:raw $messageControlsTemplate}</div>
		
	</div>

</li>]]></template>
  <template title="message_user_info" version_id="1040370" version_string="1.4.3"><![CDATA[<xen:require css="message_user_info.css" />

<div class="messageUserInfo" itemscope="itemscope" itemtype="http://data-vocabulary.org/Person">	
<div class="messageUserBlock {xen:if $user.isOnline, online}">
	<xen:hook name="message_user_info_avatar" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
		<div class="avatarHolder">
			<span class="helper"></span>
			<xen:avatar user="$user" size="m" img="true" />
			<xen:if is="{$user.isOnline}"><span class="Tooltip onlineMarker" title="{xen:phrase online_now}" data-offsetX="-22" data-offsetY="-8"></span></xen:if>
			<!-- slot: message_user_info_avatar -->
		</div>
	</xen:hook>

<xen:if is="!{$isQuickReply}">
	<xen:hook name="message_user_info_text" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
		<h3 class="userText">
			<xen:username user="$user" itemprop="name" rich="true" />
			<xen:if hascontent="true"><em class="userTitle" itemprop="title"><xen:contentcheck>{xen:helper userTitle, $user, 1, 1}</xen:contentcheck></em></xen:if>
			{xen:helper userBanner, $user, 'wrapped'}
			<!-- slot: message_user_info_text -->
		</h3>
	</xen:hook>
		
	<xen:if hascontent="true">
		<div class="extraUserInfo">
			<xen:contentcheck>
			<xen:hook name="message_user_info_extra" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
				<xen:if is="{xen:property messageShowRegisterDate} AND {$user.user_id}">
					<dl class="pairsJustified">
						<dt>{xen:phrase joined}:</dt>
						<dd>{xen:date $user.register_date}</dd>
					</dl>
				</xen:if>
				
				<xen:if is="{xen:property messageShowMessageCount} AND {$user.user_id}">
					<dl class="pairsJustified">
						<dt>{xen:phrase messages}:</dt>
						<dd><a href="{xen:link search/member, '', 'user_id={$user.user_id}'}" class="concealed" rel="nofollow">{xen:number $user.message_count}</a></dd>
					</dl>
				</xen:if>
				
				<xen:if is="{xen:property messageShowTotalLikes} AND {$user.user_id}">
					<dl class="pairsJustified">
						<dt>{xen:phrase likes_received}:</dt>
						<dd>{xen:number $user.like_count}</dd>
					</dl>
				</xen:if>
				
				<xen:if is="{xen:property messageShowTrophyPoints} AND {$user.user_id}">
					<dl class="pairsJustified">
						<dt>{xen:phrase trophy_points}:</dt>
						<dd><a href="{xen:link 'members/trophies', $user}" class="OverlayTrigger concealed">{xen:number $user.trophy_points}</a></dd>
					</dl>
				</xen:if>
			
				<xen:if is="{xen:property messageShowGender} AND {$user.gender}">
					<dl class="pairsJustified">
						<dt>{xen:phrase gender}:</dt>
						<dd itemprop="gender"><xen:if is="{$user.gender} == 'male'">{xen:phrase male}<xen:else />{xen:phrase female}</xen:if></dd>
					</dl>
				</xen:if>
				
				<xen:if is="{xen:property messageShowOccupation} AND {$user.occupation}">
					<dl class="pairsJustified">
						<dt>{xen:phrase occupation}:</dt>
						<dd itemprop="role">{xen:string censor, $user.occupation}</dd>
					</dl>
				</xen:if>
				
				<xen:if is="{xen:property messageShowLocation} AND {$user.location}">
					<dl class="pairsJustified">
						<dt>{xen:phrase location}:</dt>
						<dd><a href="{xen:link 'misc/location-info', '', 'location={xen:string censor, $user.location, '-'}'}" target="_blank" rel="nofollow" itemprop="address" class="concealed">{xen:string censor, $user.location}</a></dd>
					</dl>
				</xen:if>
			
				<xen:if is="{xen:property messageShowHomepage} AND {$user.homepage}">
					<dl class="pairsJustified">
						<dt>{xen:phrase home_page}:</dt>
						<dd><a href="{xen:string censor, $user.homepage, '-'}" rel="nofollow" target="_blank" itemprop="url">{xen:string censor, $user.homepage}</a></dd>
					</dl>
				</xen:if>
							
			</xen:hook>			
			<xen:if is="{xen:property messageShowCustomFields} AND {$user.customFields}">
			<xen:hook name="message_user_info_custom_fields" params="{xen:array 'user={$user}', 'isQuickReply={$isQuickReply}'}">
			
				<xen:foreach loop="$userFieldsInfo" key="$fieldId" value="$fieldInfo">
					<xen:if is="{$fieldInfo.viewable_message} AND ({$fieldInfo.display_group} != 'contact' OR {$user.allow_view_identities} == 'everyone' OR ({$user.allow_view_identities} == 'members' AND {$visitor.user_id}))">
						<xen:if hascontent="true">
							<dl class="pairsJustified userField_{$fieldId}">
								<dt>{xen:helper userFieldTitle, $fieldId}:</dt>
								<dd><xen:contentcheck>{xen:helper userFieldValue, $fieldInfo, $user, {$user.customFields.{$fieldId}}}</xen:contentcheck></dd>
							</dl>
						</xen:if>
					</xen:if>
				</xen:foreach>
				
			</xen:hook>
			</xen:if>
			</xen:contentcheck>
		</div>
	</xen:if>
		
</xen:if>

	<span class="arrow"><span></span></span>
</div>
</div>]]></template>
  <template title="message_user_info.css" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[.messageUserInfo
{
	{xen:property messageUserInfo}
}

	.messageUserBlock
	{
		{xen:property messageUserBlock}
		
		position: relative;
	}
		
		.messageUserBlock div.avatarHolder
		{
			{xen:property messageAvatarHolder}
			
			position: relative;	
		}
		
			.messageUserBlock div.avatarHolder .avatar
			{
				display: block;
				font-size: 0;
			}
			
			.messageUserBlock div.avatarHolder .onlineMarker
			{
				position: absolute;
				top: {xen:calc '{xen:property messageAvatarHolder.padding-top} - 1'}px;
				left: {xen:calc '{xen:property messageAvatarHolder.padding-right} - 1'}px;
				
				{xen:property messageOnlineMarker}
			}
			
		.messageUserBlock h3.userText
		{
			{xen:property messageUserText}
		}
		
		.messageUserBlock .userBanner
		{
			display: block;
			margin-bottom: 5px;
			margin-left: -{xen:calc '{xen:property messageUserText.padding-left} + 6'}px;
			margin-right: -{xen:calc '{xen:property messageUserText.padding-right} + 6'}px;
		}
		
		.messageUserBlock .userBanner:last-child
		{
			margin-bottom: 0;
		}
	
		.messageUserBlock a.username
		{
			{xen:property messageUsername}
			
		}
		
		.messageUserBlock .userTitle
		{
			{xen:property messageUserTitle}
		}
		
		.messageUserBlock .extraUserInfo
		{
			{xen:property messageExtraUserInfo}
		}
		
			.messageUserBlock .extraUserInfo dl
			{
				margin: 2px 0 0;
			}
							
			.messageUserBlock .extraUserInfo img
			{
				max-width: 100%;
			}
		
		.messageUserBlock .arrow
		{
			position: absolute;
			top: 10px;
			right: -10px;
			
			display: block;
			width: 0px;
			height: 0px;
			line-height: 0px;
			
			border: 10px solid transparent;
			border-left-color: {xen:property messageUserBlock.border-color};
			-moz-border-left-colors: {xen:property messageUserBlock.border-color};
			border-right: none;
			
			/* Hide from IE6 */
			_display: none;
		}
		
			.messageUserBlock .arrow span
			{
				position: absolute;
				top: -10px;
				left: -11px;
				
				display: block;
				width: 0px;
				height: 0px;
				line-height: 0px;
				
				border: 10px solid transparent;
				border-left-color: {xen:property messageAvatarHolder.background-color};
				-moz-border-left-colors: {xen:property messageAvatarHolder.background-color};
				border-right: none;
			}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .messageUserInfo
	{
		float: none;
		width: auto; 
	}

	.Responsive .messageUserBlock
	{
		overflow: hidden;
		margin-bottom: 5px;
		position: relative;
	}

	.Responsive .messageUserBlock div.avatarHolder
	{
		float: left;
		padding: 5px;
	}

		.Responsive .messageUserBlock div.avatarHolder .avatar img
		{
			width: 48px;
			height: 48px;
		}
		
		.Responsive .messageUserBlock div.avatarHolder .onlineMarker
		{
			top: 4px;
			left: 4px;
			border-width: 6px;
		}

	.Responsive .messageUserBlock h3.userText
	{
		margin-left: 64px;
	}
	
	.Responsive .messageUserBlock .userBanner
	{
		max-width: 150px;
		margin-left: 0;
		margin-right: 0;
		border-top-left-radius: 3px;
		border-top-right-radius: 3px;
		position: static;
		display: inline-block;
	}
	
		.Responsive .messageUserBlock .userBanner span
		{
			display: none;
		}

	.Responsive .messageUserBlock .extraUserInfo
	{
		display: none;
	}

	.Responsive .messageUserBlock .arrow
	{
		display: none;
	}
}
</xen:if>]]></template>
  <template title="moderation_queue_list" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[<xen:title>{xen:phrase moderation_queue}</xen:title>

<xen:if is="{$queue}">
	<form action="{xen:link 'moderation-queue/save'}" method="post" class="xenForm">
		<xen:foreach loop="$queue" value="$entry">
			<fieldset>
				<dl class="ctrlUnit">
					<dt><label for="ctrl_{$entry.content_type}_{$entry.content_id}_title">{$entry.content.contentTypeTitle}:</label></dt>
					<dd>
						<xen:if is="{$entry.content.titleEdit}">
							<input type="text" name="queue[{$entry.content_type}][{$entry.content_id}][title]" value="{$entry.content.title}" class="textCtrl"
								id="ctrl_{$entry.content_type}_{$entry.content_id}_title"
							/>
						<xen:else />
							<a href="{$entry.content.link}" target="_blank">{xen:escape $entry.content.title, false}</a>
						</xen:if>
					</dd>
				</dl>

				<dl class="ctrlUnit">
					<dt>{xen:phrase posted}:</dt>
					<dd><a href="{$entry.content.link}" target="_blank"><xen:datetime time="$entry.content_date" /></a></dd>
				</dl>

				<dl class="ctrlUnit">
					<dt>{xen:phrase posted_by}:</dt>
					<dd><a{xen:if $entry.content.user.user_id, ' href="{xen:link members, $entry.content.user}" class="username"'}>{$entry.content.user.username}</a></dd>
				</dl>

				<dl class="ctrlUnit">
					<dt><label for="ctrl_{$entry.content_type}_{$entry.content_id}_message">{xen:phrase message}:</label></dt>
					<dd>
						<textarea name="queue[{$entry.content_type}][{$entry.content_id}][message]" class="textCtrl Elastic"
							id="ctrl_{$entry.content_type}_{$entry.content_id}_message" rows="2">{$entry.content.message}</textarea>
					</dd>
				</dl>

				<dl class="ctrlUnit">
					<dt>{xen:phrase action}:</dt>
					<dd>
						<ul>
							<li><label for="ctrl_{$entry.content_type}_{$entry.content_id}_action_none">
								<input type="radio" name="queue[{$entry.content_type}][{$entry.content_id}][action]" value="" id="ctrl_{$entry.content_type}_{$entry.content_id}_action_none" checked="checked" />
								{xen:phrase do_nothing}
							</label></li>

							<li><label for="ctrl_{$entry.content_type}_{$entry.content_id}_action_approve">
								<input type="radio" name="queue[{$entry.content_type}][{$entry.content_id}][action]" value="approve" id="ctrl_{$entry.content_type}_{$entry.content_id}_action_approve" />
								{xen:phrase approve}
							</label></li>

							<li><label for="ctrl_{$entry.content_type}_{$entry.content_id}_action_delete">
								<input type="radio" name="queue[{$entry.content_type}][{$entry.content_id}][action]" value="delete" id="ctrl_{$entry.content_type}_{$entry.content_id}_action_delete" />
								{xen:phrase delete}
							</label></li>
						</ul>
					</dd>
				</dl>
			</fieldset>
		</xen:foreach>

		<dl class="ctrlUnit submitUnit">
			<dt></dt>
			<dd><input type="submit" value="{xen:phrase update_moderation_queue}" class="button primary" /></dd>
		</dl>

		<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	</form>
<xen:else />
	<div>{xen:phrase moderation_queue_is_currently_empty}</div>
</xen:if>]]></template>
  <template title="moderator_bar" version_id="1020270" version_string="1.2.2"><![CDATA[<xen:require css="moderator_bar.css" />

<xen:if hascontent="true">
<fieldset id="moderatorBar">
	<div class="pageWidth">
		<div class="pageContent">
		<xen:contentcheck>
			<xen:if is="{$visitor.is_admin}">			
				<a href="admin.php" class="acp adminLink"><span class="itemLabel">{xen:phrase admin_control_panel_short}</span></a>
				
				<xen:if is="{$session.permissionTest}">
					<a href="{xen:link misc/reset-permissions}" class="permissionTest adminLink OverlayTrigger">
						<span class="itemLabel">{xen:phrase permissions_from_x, 'name={$session.permissionTest.username}'}</span>
					</a>
				</xen:if>
			</xen:if>
			
			<xen:if is="{$visitor.is_moderator} AND {$session.moderationCounts.total}">
				<a href="{xen:link moderation-queue}" class="moderationQueue modLink">
					<span class="itemLabel">{xen:phrase moderation_queue_short}:</span>
					<span class="itemCount {xen:if {$session.moderationCounts.total}, 'alert'}">{$session.moderationCounts.total}</span>
				</a>
			</xen:if>
			
			<xen:if is="{$visitor.is_moderator} && !{$xenOptions.reportIntoForumId}">
				<a href="{xen:link reports}" class="reportedItems modLink">
					<span class="itemLabel">{xen:phrase reported_items_short}:</span>
					<span class="itemCount {xen:if '({$session.reportCounts.total} AND {$session.reportCounts.lastUpdate} > {$session.reportLastRead}) OR {$session.reportCounts.assigned}', 'alert'}" title="{xen:if $session.reportCounts.lastUpdate, '{xen:phrase last_report_update}: {xen:datetime $session.reportCounts.lastUpdate}'}"><xen:if is="{$session.reportCounts.assigned}">{$session.reportCounts.assigned} / {$session.reportCounts.total}<xen:else />{$session.reportCounts.total}</xen:if></span>
				</a>
			</xen:if>
			
			<xen:if is="{$visitor.is_admin} AND {$session.canAdminUsers} AND {$session.userModerationCounts.total}">
				<a href="admin.php?users/moderated" class="userModerationQueue modLink">
					<span class="itemLabel">{xen:phrase users_awaiting_approval_short}:</span>
					<span class="itemCount {xen:if {$session.userModerationCounts.total}, 'alert'}">{$session.userModerationCounts.total}</span>
				</a>
			</xen:if>

			<xen:hook name="moderator_bar" />
		</xen:contentcheck>
			
			<span class="helper"></span>
		</div>
	</div>
</fieldset>
</xen:if>]]></template>
  <template title="moderator_bar.css" version_id="1020035" version_string="1.2.0 Beta 5"><![CDATA[#moderatorBar
{
	background-color: {xen:property primaryDarker};
	border-bottom: 1px solid {xen:property primaryLightish};	
	font-size: 11px;
}

/*#moderatorBar
{
	box-shadow: 0 0 5px {xen:property primaryMedium};
	width: 100%;
	position: fixed;
	top: 0px;
	z-index: 100;
}

body
{
	padding-top: 25px;
}*/

{xen:helper clearfix, '#moderatorBar'}

#moderatorBar .pageContent
{
	padding: 2px 0;
	overflow: auto;
}

#moderatorBar a
{
	display: inline-block;
	padding: 2px 10px;
	border-radius: 3px;
}

#moderatorBar a,
#moderatorBar .itemCount
{
	color: {xen:property primaryLighter};
}

	#moderatorBar a:hover
	{
		text-decoration: none;
		background-color: {xen:property primaryDark};
		color: {xen:property primaryLighterStill};
	}

/* TODO: maybe sort out the vertical alignment of the counters so they they are properly centered */

#moderatorBar .itemLabel,
#moderatorBar .itemCount
{
	display: inline-block;
	height: 16px;
	line-height: 16px;
}

#moderatorBar .itemCount
{	
	background: {xen:property primaryDark};
	padding-left: 6px;
	padding-right: 6px;
	
	text-align: center;
	
	font-weight: bold;
	
	border-radius: 2px;
	text-shadow: none;
}

	#moderatorBar .itemCount.alert
	{
		background: #e03030;
		color: white;
		box-shadow: 2px 2px 5px rgba(0,0,0, 0.25);
	}
	
#moderatorBar .adminLink
{
	float: right;
}

#moderatorBar .permissionTest,
#moderatorBar .permissionTest:hover
{
	background: #e03030;
	color: white;
	box-shadow: 2px 2px 5px rgba(0,0,0, 0.25);
	font-weight: bold;
}]]></template>
  <template title="navigation" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:edithint template="navigation.css" />

<div id="navigation" class="pageWidth {xen:if $canSearch, withSearch}">
	<div class="pageContent">
		<nav>

<div class="navTabs">
	<ul class="publicTabs">
	
		<!-- home -->
		<xen:if is="{$showHomeLink}">
			<li class="navTab home PopupClosed"><a href="{$homeLink}" class="navLink">{xen:phrase home}</a></li>
		</xen:if>
		
		
		<!-- extra tabs: home -->
		<xen:if is="{$extraTabs.home}">
		<xen:foreach loop="$extraTabs.home" key="$extraTabId" value="$extraTab">
			<xen:if is="{$extraTab.linksTemplate}">
				<li class="navTab {$extraTabId} {xen:if $extraTab.selected, 'selected', 'Popup PopupControl PopupClosed'}">
			
				<a href="{$extraTab.href}" class="navLink">{$extraTab.title}<xen:if is="{$extraTab.counter}"><strong class="itemCount"><span class="Total">{$extraTab.counter}</span><span class="arrow"></span></strong></xen:if></a>
				<a href="{$extraTab.href}" class="SplitCtrl" rel="Menu"></a>
				
				<div class="{xen:if {$extraTab.selected}, 'tabLinks', 'Menu JsOnly tabMenu'} {$extraTabId}TabLinks">
					<div class="primaryContent menuHeader">
						<h3>{$extraTab.title}</h3>
						<div class="muted">{xen:phrase quick_links}</div>
					</div>
					{xen:raw $extraTab.linksTemplate}
				</div>
			</li>
			<xen:else />
				<li class="navTab {$extraTabId} {xen:if $extraTab.selected, 'selected', 'PopupClosed'}">
					<a href="{$extraTab.href}" class="navLink">{$extraTab.title}<xen:if is="{$extraTab.counter}"><strong class="itemCount"><span class="Total">{$extraTab.counter}</span><span class="arrow"></span></strong></xen:if></a>
					<xen:if is="{$extraTab.selected}"><div class="tabLinks"></div></xen:if>
				</li>
			</xen:if>
		</xen:foreach>
		</xen:if>
		
		
		<!-- forums -->
		<xen:if is="{$tabs.forums}">
			<li class="navTab forums {xen:if $tabs.forums.selected, 'selected', 'Popup PopupControl PopupClosed'}">
			
				<a href="{$tabs.forums.href}" class="navLink">{$tabs.forums.title}</a>
				<a href="{$tabs.forums.href}" class="SplitCtrl" rel="Menu"></a>
				
				<div class="{xen:if {$tabs.forums.selected}, 'tabLinks', 'Menu JsOnly tabMenu'} forumsTabLinks">
					<div class="primaryContent menuHeader">
						<h3>{$tabs.forums.title}</h3>
						<div class="muted">{xen:phrase quick_links}</div>
					</div>
					<ul class="secondaryContent blockLinksList">
					<xen:hook name="navigation_tabs_forums">
						<xen:if is="{$visitor.user_id}"><li><a href="{xen:link 'forums/-/mark-read', $forum, 'date={$serverTime}'}" class="OverlayTrigger">{xen:phrase mark_forums_read}</a></li></xen:if>
						<xen:if is="{$canSearch}"><li><a href="{xen:link search, '', 'type=post'}">{xen:phrase search_forums}</a></li></xen:if>
						<xen:if is="{$visitor.user_id}">
							<li><a href="{xen:link 'watched/forums'}">{xen:phrase watched_forums}</a></li>
							<li><a href="{xen:link 'watched/threads'}">{xen:phrase watched_threads}</a></li>
						</xen:if>
						<li><a href="{xen:link 'find-new/posts'}" rel="nofollow">{xen:if $visitor.user_id, {xen:phrase new_posts}, {xen:phrase recent_posts}}</a></li>
					</xen:hook>
					</ul>
				</div>
			</li>
		</xen:if>
		
		
		<!-- extra tabs: middle -->
		<xen:if is="{$extraTabs.middle}">
		<xen:foreach loop="$extraTabs.middle" key="$extraTabId" value="$extraTab">
			<xen:if is="{$extraTab.linksTemplate}">
				<li class="navTab {$extraTabId} {xen:if $extraTab.selected, 'selected', 'Popup PopupControl PopupClosed'}">
			
				<a href="{$extraTab.href}" class="navLink">{$extraTab.title}<xen:if is="{$extraTab.counter}"><strong class="itemCount"><span class="Total">{$extraTab.counter}</span><span class="arrow"></span></strong></xen:if></a>
				<a href="{$extraTab.href}" class="SplitCtrl" rel="Menu"></a>
				
				<div class="{xen:if {$extraTab.selected}, 'tabLinks', 'Menu JsOnly tabMenu'} {$extraTabId}TabLinks">
					<div class="primaryContent menuHeader">
						<h3>{$extraTab.title}</h3>
						<div class="muted">{xen:phrase quick_links}</div>
					</div>
					{xen:raw $extraTab.linksTemplate}
				</div>
			</li>
			<xen:else />
				<li class="navTab {$extraTabId} {xen:if $extraTab.selected, 'selected', 'PopupClosed'}">
					<a href="{$extraTab.href}" class="navLink">{$extraTab.title}<xen:if is="{$extraTab.counter}"><strong class="itemCount"><span class="Total">{$extraTab.counter}</span><span class="arrow"></span></strong></xen:if></a>
					<xen:if is="{$extraTab.selected}"><div class="tabLinks"></div></xen:if>
				</li>
			</xen:if>
		</xen:foreach>
		</xen:if>
		
		
		<!-- members -->
		<xen:if is="{$tabs.members}">
			<li class="navTab members {xen:if $tabs.members.selected, 'selected', 'Popup PopupControl PopupClosed'}">
			
				<a href="{$tabs.members.href}" class="navLink">{$tabs.members.title}</a>
				<a href="{$tabs.members.href}" class="SplitCtrl" rel="Menu"></a>
				
				<div class="{xen:if {$tabs.members.selected}, 'tabLinks', 'Menu JsOnly tabMenu'} membersTabLinks">
					<div class="primaryContent menuHeader">
						<h3>{$tabs.members.title}</h3>
						<div class="muted">{xen:phrase quick_links}</div>
					</div>
					<ul class="secondaryContent blockLinksList">
					<xen:hook name="navigation_tabs_members">
						<li><a href="{xen:link members}">{xen:phrase notable_members}</a></li>
						<xen:if is="{$xenOptions.enableMemberList}"><li><a href="{xen:link members/list}">{xen:phrase registered_members}</a></li></xen:if>
						<li><a href="{xen:link online}">{xen:phrase current_visitors}</a></li>
						<xen:if is="{$xenOptions.enableNewsFeed}"><li><a href="{xen:link recent-activity}">{xen:phrase recent_activity}</a></li></xen:if>
						<xen:if is="{$canViewProfilePosts}"><li><a href="{xen:link find-new/profile-posts}">{xen:phrase new_profile_posts}</a></li></xen:if>
					</xen:hook>
					</ul>
				</div>
			</li>
		</xen:if>				
		
		<!-- extra tabs: end -->
		<xen:if is="{$extraTabs.end}">
		<xen:foreach loop="$extraTabs.end" key="$extraTabId" value="$extraTab">
			<xen:if is="{$extraTab.linksTemplate}">
				<li class="navTab {$extraTabId} {xen:if $extraTab.selected, 'selected', 'Popup PopupControl PopupClosed'}">
			
				<a href="{$extraTab.href}" class="navLink">{$extraTab.title}<xen:if is="{$extraTab.counter}"><strong class="itemCount"><span class="Total">{$extraTab.counter}</span><span class="arrow"></span></strong></xen:if></a>
				<a href="{$extraTab.href}" class="SplitCtrl" rel="Menu"></a>
				
				<div class="{xen:if {$extraTab.selected}, 'tabLinks', 'Menu JsOnly tabMenu'} {$extraTabId}TabLinks">
					<div class="primaryContent menuHeader">
						<h3>{$extraTab.title}</h3>
						<div class="muted">{xen:phrase quick_links}</div>
					</div>
					{xen:raw $extraTab.linksTemplate}
				</div>
			</li>
			<xen:else />
				<li class="navTab {$extraTabId} {xen:if $extraTab.selected, 'selected', 'PopupClosed'}">
					<a href="{$extraTab.href}" class="navLink">{$extraTab.title}<xen:if is="{$extraTab.counter}"><strong class="itemCount"><span class="Total">{$extraTab.counter}</span><span class="arrow"></span></strong></xen:if></a>
					<xen:if is="{$extraTab.selected}"><div class="tabLinks"></div></xen:if>
				</li>
			</xen:if>
		</xen:foreach>
		</xen:if>

		<!-- responsive popup -->
		<li class="navTab navigationHiddenTabs Popup PopupControl PopupClosed" style="display:none">	
						
			<a rel="Menu" class="navLink NoPopupGadget"><span class="menuIcon">{xen:phrase menu}</span></a>
			
			<div class="Menu JsOnly blockLinksList primaryContent" id="NavigationHiddenMenu"></div>
		</li>
			
		
		<!-- no selection -->
		<xen:if is="!{$selectedTab}">
			<li class="navTab selected"><div class="tabLinks"></div></li>
		</xen:if>
		
	</ul>
	
	<xen:if is="{$visitor.user_id}"><xen:include template="navigation_visitor_tab" /></xen:if>
</div>

<span class="helper"></span>
			
		</nav>	
	</div>
</div>]]></template>
  <template title="navigation.css" version_id="1040270" version_string="1.4.2"><![CDATA[#navigation .pageContent
{
	height: {xen:calc '{xen:property headerTabHeight} * 2 + 2'}px;
	position: relative;
}

#navigation .menuIcon
{
	position: relative;
	font-size:18px;
	width: 16px;
	display: inline-block;
	text-indent: -9999px;
}

#navigation .PopupOpen .menuIcon:before,
#navigation .navLink .menuIcon:before
{
	zoom: 1;
}

#navigation .menuIcon:before
{
	content: "";
	font-size: 18px;
	position: absolute;
	top: {xen:calc 'round(-0.31 + 0.029 * {xen:property headerTabHeight}, 1)'}em;
	left: 0;
	width: 16px;
	height: 2px;
	border-top: 6px double currentColor;
	border-bottom: 2px solid currentColor;
}

	.navTabs
	{
		{xen:property navTabs}
		
		height: {xen:property headerTabHeight};
	}
	
		.navTabs .publicTabs
		{
			float: left;
		}
		
		.navTabs .visitorTabs
		{
			float: right;
		}
	
			.navTabs .navTab
			{
				float: left;
				white-space: nowrap;
				word-wrap: normal;
				
				<xen:if is="{$pageIsRtl}">*display: inline; *float: none; *zoom: 1;</xen:if>
			}


/* ---------------------------------------- */
/* Links Inside Tabs */

.navTabs .navLink,
.navTabs .SplitCtrl
{
	{xen:property navLink}
	
	<xen:if is="{$pageIsRtl}">*float: none; *display: inline; *zoom: 1;</xen:if>
	
	height: {xen:property headerTabHeight};
	line-height: {xen:property headerTabHeight};
}

	.navTabs .publicTabs .navLink
	{
		padding: 0 15px;
	}
	
	.navTabs .visitorTabs .navLink
	{
		padding: 0 10px;
	}
	
	.navTabs .navLink:hover
	{
		text-decoration: none;
	}
	
	/* ---------------------------------------- */
	/* unselected tab, popup closed */

	.navTabs .navTab.PopupClosed
	{
		position: relative;
	}
	
	.navTabs .navTab.PopupClosed .navLink
	{
		color: {xen:property primaryLighter};
	}
	
		.navTabs .navTab.PopupClosed:hover
		{
			background-color: {xen:property primaryMedium};
		}
		
			.navTabs .navTab.PopupClosed .navLink:hover
			{
				color: {xen:property textCtrlBackground};
			}
		
	.navTabs .navTab.PopupClosed .arrowWidget
	{
		/* circle-arrow-down-light */
		background-position: -64px 0;
	}
	
	.navTabs .navTab.PopupClosed .SplitCtrl
	{
		margin-left: -14px;
		width: 14px;
	}
		
		.navTabs .navTab.PopupClosed:hover .SplitCtrl
		{
			/* nav_menu_gadget, height: 17px */
			background: transparent url('{xen:property imagePath}/xenforo/xenforo-ui-sprite.png') no-repeat -128px {xen:calc '({xen:property headerTabHeight} - 17) / 2 + 1'}px;
		}
	
	/* ---------------------------------------- */
	/* selected tab */

	.navTabs .navTab.selected .navLink
	{
		position: relative;
		{xen:property navTabSelected}
	}
	
	.navTabs .navTab.selected .SplitCtrl
	{
		display: none;
	}
	
	.navTabs .navTab.selected .arrowWidget
	{
		/* circle-arrow-down */
		background-position: -32px 0;
	}
	
		.navTabs .navTab.selected.PopupOpen .arrowWidget
		{
			/* circle-arrow-up */
			background-position: -16px 0;
		}
	
	/* ---------------------------------------- */
	/* unselected tab, popup open */
	
	.navTabs .navTab.PopupOpen .navLink
	{
	}
	
	
	/* ---------------------------------------- */
	/* selected tab, popup open (account) */
	
	.navTabs .navTab.selected.PopupOpen .navLink
	{
		{xen:property popupControl}
	}
	
/* ---------------------------------------- */
/* Second Row */

.navTabs .navTab.selected .tabLinks
{
	{xen:property navTabSelected.background}
	
	width: 100%;	
	padding: 0;
	border: none;
	overflow: hidden; zoom: 1;	
	position: absolute;
	left: 0px;	
	top: {xen:calc '{xen:property headerTabHeight} + 2'}px;
	height: {xen:property headerTabHeight};
	background-position: 0px -{xen:property headerTabHeight};
	*clear:expression(style.width = document.getElementById('navigation').offsetWidth + 'px', style.clear = "none", 0);
}

	.navTabs .navTab.selected .blockLinksList
	{
		background: none;
		padding: 0;
		border: none;
		margin-left: 8px;
	}

	.withSearch .navTabs .navTab.selected .blockLinksList
	{
		margin-right: 275px;
	}

	.navTabs .navTab.selected .tabLinks .menuHeader
	{
		display: none;
	}
	
	.navTabs .navTab.selected .tabLinks li
	{
		float: left;
		padding: 2px 0;
	}
	
		.navTabs .navTab.selected .tabLinks a
		{
			{xen:property navTabLink}
			
			line-height: {xen:calc '{xen:property headerTabHeight} - 6'}px;
		}
		
		.navTabs .navTab.selected .tabLinks .PopupOpen a
		{
			color: inherit;
			text-shadow: none;
		}
		
			.navTabs .navTab.selected .tabLinks a:hover,
			.navTabs .navTab.selected .tabLinks a:focus
			{
				{xen:property navTabLinkHover}
			}
			
			.navTabs .navTab.selected .tabLinks .Popup a:hover,
			.navTabs .navTab.selected .tabLinks .Popup a:focus
			{
				color: inherit;
				background: none;
				border-color: transparent;
				border-radius: 0;
				text-shadow: none;
			}
	
/* ---------------------------------------- */
/* Alert Balloons */
	
.navTabs .navLink .itemCount
{
	{xen:property alertBalloon}
}

	.navTabs .navLink .itemCount .arrow
	{
		{xen:property alertBalloonArrow}
	}
	
.navTabs .navLink .itemCount.Zero
{
	display: none;
}

.navTabs .navLink .itemCount.ResponsiveOnly
{
	display: none !important;
}

.NoResponsive #VisitorExtraMenu_Counter,
.NoResponsive #VisitorExtraMenu_ConversationsCounter,
.NoResponsive #VisitorExtraMenu_AlertsCounter
{
	display: none !important;
}
	
/* ---------------------------------------- */
/* Account Popup Menu */

.navTabs .navTab.account .navLink
{
	font-weight: bold;
}

	.navTabs .navTab.account .navLink .accountUsername
	{
		display: block;
		max-width: 100px;
		overflow: hidden;
		text-overflow: ellipsis;
	}

#AccountMenu
{
	width: 274px;
}

#AccountMenu .menuHeader
{
	position: relative;
}

	#AccountMenu .menuHeader .avatar
	{
		float: left;
		margin-right: 10px;
	}

	#AccountMenu .menuHeader .visibilityForm
	{
		margin-top: 10px;
		color: {xen:property primaryMedium};
	}
	
	#AccountMenu .menuHeader .links .fl
	{
		position: absolute;
		bottom: 10px;
		left: {xen:calc '10 + 10 + 96'}px;
	}

	#AccountMenu .menuHeader .links .fr
	{
		position: absolute;
		bottom: 10px;
		right: 10px;
	}
	
#AccountMenu .menuColumns
{
	overflow: hidden; zoom: 1;
	padding: 2px;
}

	#AccountMenu .menuColumns ul
	{
		float: left;
		padding: 0;
		max-height: none;
		overflow: hidden;
	}

		#AccountMenu .menuColumns a,
		#AccountMenu .menuColumns label
		{
			width: 115px;
		}

#AccountMenu .statusPoster textarea
{
	width: 245px;
	margin: 0;
	resize: vertical;
	overflow: hidden;
}

#AccountMenu .statusPoster .submitUnit
{
	margin-top: 5px;
	text-align: right;
}

	#AccountMenu .statusPoster .submitUnit .statusEditorCounter
	{
		float: left;
		line-height: 23px;
		height: 23px;
	}
	
/* ---------------------------------------- */
/* Inbox, Alerts Popups */

.navPopup
{
	width: 260px;
}

.navPopup a:hover,
.navPopup .listItemText a:hover
{
	background: none;
	text-decoration: underline;
}

	.navPopup .menuHeader .InProgress
	{
		float: right;
		display: block;
		width: 20px;
		height: 20px;
	}

.navPopup .listPlaceholder
{
	max-height: 350px;
	overflow: auto;
}

	.navPopup .listPlaceholder ol.secondaryContent
	{
		padding: 0 10px;
	}

		.navPopup .listPlaceholder ol.secondaryContent.Unread
		{
			background-color: {xen:property inlineModChecked.background-color};
		}

.navPopup .listItem
{
	overflow: hidden; zoom: 1;
	padding: 5px 0;
	border-bottom: 1px solid {xen:property primaryLighterStill};
}

.navPopup .listItem:last-child
{
	border-bottom: none;
}

.navPopup .PopupItemLinkActive:hover
{
	margin: 0 -8px;
	padding: 5px 8px;
	border-radius: 5px;
	background-color: {xen:property primaryLighterStill};
	cursor: pointer;
}

.navPopup .avatar
{
	float: left;
}

	.navPopup .avatar img
	{
		width: 32px;
		height: 32px;
	}

.navPopup .listItemText
{
	margin-left: 37px;
}

	.navPopup .listItemText .muted
	{
		font-size: 9px;
	}

	.navPopup .unread .listItemText .title,
	.navPopup .listItemText .subject
	{
		font-weight: bold;
	}

.navPopup .sectionFooter .floatLink
{
	float: right;
}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveMediumWidth})
{
	.Responsive .navTabs
	{
		padding-left: 10px;
		padding-right: 10px;
	}

	.Responsive .withSearch .navTabs .navTab.selected .blockLinksList
	{
		margin-right: 50px;
	}
}

@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive.hasJs .navTabs:not(.showAll) .publicTabs .navTab:not(.selected):not(.navigationHiddenTabs)
	{
		display: none;
	}
}
</xen:if>]]></template>
  <template title="navigation_sidebar.css" version_id="1020051" version_string="1.2.0 Release Candidate 1"><![CDATA[.container {
	display: table;
	table-layout: fixed;
	width: 100%;
	zoom: 1;
}

.navigationSideBar
{
	width: 150px;
	display: table-cell;
	vertical-align: top;
	*float: left;
}
	
	.navigationSideBar .heading
	{
		border-top-right-radius: 0;
		margin: 10px 0 0;
	}

	.navigationSideBar .section:first-child
	{
		margin-top: 0;
	}

	.navigationSideBar .section:last-child
	{
		margin-bottom: 0;
	}
	
	.navigationSideBar .primaryContent
	{
		font-size: 11px;
	}

	.navigationSideBar .secondaryContent
	{
		font-weight: bold;
	}
	
	.navigationSideBar a
	{
		display: block;
		padding: 5px 10px;
		word-wrap: normal;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	
	.navigationSideBar a:hover
	{
		background: {xen:property primaryLighterStill} url('{xen:property imagePath}/xenforo/gradients/category-23px-light.png') repeat-x top;
		color: {xen:property primaryLightish};
		text-decoration: none;
	}
	

.mainContentBlock
{
	display: table-cell;
	vertical-align: top;
	margin: 0;
	*margin-left: 150px;
	zoom: 1;
}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .navigationSideBar
	{
		display: block;
		position: relative;
		margin: 0 auto;
		width: 200px;
		box-sizing: border-box;
	}

	.Responsive .navigationSideBar .heading
	{
		margin: 0;
		border-top-right-radius: {xen:property heading.border-top-right-radius};
		border-bottom: 0;
		text-align: center;
		cursor: pointer;
	}
	
		.Responsive .navigationSideBar .heading span
		{
			{xen:property popupArrowClosed}
		}

	.Responsive .navigationSideBar > ul
	{
		display: none;
		position: absolute;
		background: {xen:property contentBackground};
		border: 1px solid {xen:property primaryLighterStill};
		box-shadow: 5px 5px 25px rgba(0,0,0, 0.5);
		border-top: none;
		width: 200px;
		box-sizing: border-box;
		z-index: 51;
	}
	
	.Responsive .navigationSideBar > ul.menuVisible
	{
		display: block;
	}

	.Responsive .navigationSideBar .section:last-child li:last-child a
	{
		border-bottom: none;
	}
	
	html.Responsive:not(.hasJs) .navigationSideBar:hover > ul
	{
		display: block;
	}

	.Responsive .mainContentBlock
	{
		display: block;
	}
}
</xen:if>]]></template>
  <template title="navigation_visitor_tab" version_id="1030033" version_string="1.3.0 Beta 3"><![CDATA[<xen:edithint template="navigation.css" />

<ul class="visitorTabs">

	<xen:hook name="navigation_visitor_tabs_start" />

	<!-- account -->
	<li class="navTab account Popup PopupControl PopupClosed {xen:if $tabs.account.selected, 'selected'}">

		<xen:set var="$visitorHiddenUnread" value="{xen:calc '{$visitor.alerts_unread} + {$visitor.conversations_unread}'}" />
		<a href="{xen:link account}" class="navLink accountPopup NoPopupGadget" rel="Menu"><strong class="accountUsername">{$visitor.username}</strong>
			<strong class="itemCount ResponsiveOnly {xen:if $visitorHiddenUnread, '', 'Zero'}"
				id="VisitorExtraMenu_Counter">
				<span class="Total">{xen:number $visitorHiddenUnread}</span>
				<span class="arrow"></span>
			</strong>
		</a>
		
		<div class="Menu JsOnly" id="AccountMenu">
			<div class="primaryContent menuHeader">
				<xen:avatar user="$visitor" size="m" class="NoOverlay plainImage" title="{xen:phrase view_your_profile}" />
				
				<h3><a href="{xen:link members, $visitor}" class="concealed" title="{xen:phrase view_your_profile}">{$visitor.username}</a></h3>
				
				<xen:if hascontent="true"><div class="muted"><xen:contentcheck>{xen:helper usertitle, $visitor}</xen:contentcheck></div></xen:if>
				
				<ul class="links">
					<li class="fl"><a href="{xen:link members, $visitor}">{xen:phrase your_profile_page}</a></li>
				</ul>
			</div>
			<div class="menuColumns secondaryContent">
				<ul class="col1 blockLinksList">
				<xen:hook name="navigation_visitor_tab_links1">
					<xen:if is="{$canEditProfile}"><li><a href="{xen:link account/personal-details}">{xen:phrase personal_details}</a></li></xen:if>
					<xen:if is="{$canEditSignature}"><li><a href="{xen:link account/signature}">{xen:phrase signature}</a></li></xen:if>
					<li><a href="{xen:link account/contact-details}">{xen:phrase contact_details}</a></li>
					<li><a href="{xen:link account/privacy}">{xen:phrase privacy}</a></li>
					<li><a href="{xen:link account/preferences}" class="OverlayTrigger">{xen:phrase preferences}</a></li>
					<li><a href="{xen:link account/alert-preferences}">{xen:phrase alert_preferences}</a></li>
					<xen:if is="{$canUploadAvatar}"><li><a href="{xen:link account/avatar}" class="OverlayTrigger" data-cacheOverlay="true">{xen:phrase avatar}</a></li></xen:if>
					<xen:if is="{$xenOptions.facebookAppId} OR {$xenOptions.twitterAppKey} OR {$xenOptions.googleClientId}"><li><a href="{xen:link account/external-accounts}">{xen:phrase external_accounts}</a></li></xen:if>
					<li><a href="{xen:link account/security}">{xen:phrase password}</a></li>
				</xen:hook>
				</ul>
				<ul class="col2 blockLinksList">
				<xen:hook name="navigation_visitor_tab_links2">
					<xen:if is="{$xenOptions.enableNewsFeed}"><li><a href="{xen:link account/news-feed}">{xen:phrase your_news_feed}</a></li></xen:if>
					<li><a href="{xen:link conversations}">{xen:phrase conversations}
						<strong class="itemCount {xen:if $visitor.conversations_unread, '', 'Zero'}"
							id="VisitorExtraMenu_ConversationsCounter">
							<span class="Total">{xen:number $visitor.conversations_unread}</span>
						</strong></a></li>
					<li><a href="{xen:link account/alerts}">{xen:phrase alerts}
						<strong class="itemCount {xen:if $visitor.alerts_unread, '', 'Zero'}"
							id="VisitorExtraMenu_AlertsCounter">
							<span class="Total">{xen:number $visitor.alerts_unread}</span>
						</strong></a></li>
					<li><a href="{xen:link account/likes}">{xen:phrase likes_youve_received}</a></li>
					<li><a href="{xen:link search/member, '', 'user_id={$visitor.user_id}'}">{xen:phrase your_content}</a></li>
					<li><a href="{xen:link account/following}">{xen:phrase people_you_follow}</a></li>
					<li><a href="{xen:link account/ignored}">{xen:phrase people_you_ignore}</a></li>
					<xen:if is="{$xenCache.userUpgradeCount}"><li><a href="{xen:link account/upgrades}">{xen:phrase account_upgrades}</a></li></xen:if>
				</xen:hook>
				</ul>
			</div>
			<div class="menuColumns secondaryContent">
				<ul class="col1 blockLinksList">
					<li>				
						<form action="{xen:link account/toggle-visibility}" method="post" class="AutoValidator visibilityForm">
							<label><input type="checkbox" name="visible" value="1" class="SubmitOnChange" {xen:checked $visitor.visible} />
								{xen:phrase show_online_status}</label>
							<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
						</form>
					</li>
				</ul>
				<ul class="col2 blockLinksList">
					<li><a href="{xen:link logout, '', '_xfToken={$visitor.csrf_token_page}'}" class="LogOut">{xen:phrase log_out}</a></li>
				</ul>
			</div>
			<xen:if is="{$canUpdateStatus}">
				<form action="{xen:link members/post, $visitor}" method="post" class="sectionFooter statusPoster AutoValidator" data-optInOut="OptIn">
					<textarea name="message" class="textCtrl StatusEditor UserTagger Elastic" placeholder="{xen:phrase update_your_status}..." rows="1" cols="40" style="height:18px" data-statusEditorCounter="#visMenuSEdCount" data-nofocus="true"></textarea>
					<div class="submitUnit">
						<span id="visMenuSEdCount" title="{xen:phrase characters_remaining}"></span>
						<input type="submit" class="button primary MenuCloser" value="{xen:phrase post_verb}" />
						<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
						<input type="hidden" name="return" value="1" /> 
					</div>
				</form>
			</xen:if>
		</div>		
	</li>
		
	<xen:if is="{$tabs.account.selected}">
	<li class="navTab selected">
		<div class="tabLinks">
			<ul class="secondaryContent blockLinksList">
			<xen:hook name="navigation_tabs_account">
				<li><a href="{xen:link account/personal-details}">{xen:phrase personal_details}</a></li>
				<li><a href="{xen:link conversations}">{xen:phrase conversations}</a></li>
				<xen:if is="{$xenOptions.enableNewsFeed}"><li><a href="{xen:link account/news-feed}">{xen:phrase your_news_feed}</a></li></xen:if>
				<li><a href="{xen:link account/likes}">{xen:phrase likes_youve_received}</a></li>
			</xen:hook>
			</ul>
		</div>
	</li>
	</xen:if>
	
	<!-- conversations popup -->
	<li class="navTab inbox Popup PopupControl PopupClosed {xen:if $tabs.inbox.selected, 'selected'}">
					
		<a href="{xen:link conversations}" rel="Menu" class="navLink NoPopupGadget">{xen:phrase inbox}
			<strong class="itemCount {xen:if {$visitor.conversations_unread}, '', 'Zero'}"
				id="ConversationsMenu_Counter" data-text="{xen:phrase you_have_x_new_unread_conversations}">
				<span class="Total">{xen:number $visitor.conversations_unread}</span>
				<span class="arrow"></span>
			</strong>
		</a>
		
		<div class="Menu JsOnly navPopup" id="ConversationsMenu"
			data-contentSrc="{xen:link 'conversations/popup'}"
			data-contentDest="#ConversationsMenu .listPlaceholder">
			
			<div class="menuHeader primaryContent">
				<h3>
					<span class="Progress InProgress"></span>
					<a href="{xen:link conversations}" class="concealed">{xen:phrase conversations}</a>
				</h3>						
			</div>
			
			<div class="listPlaceholder"></div>
			
			<div class="sectionFooter">
				<xen:if is="{$canStartConversation}"><a href="{xen:link conversations/add}" class="floatLink">{xen:phrase start_new_conversation}</a></xen:if>
				<a href="{xen:link conversations}">{xen:phrase show_all}...</a>
			</div>
		</div>
	</li>
	
	<xen:if is="{$tabs.inbox.selected}">
	<li class="navTab selected">
		<div class="tabLinks">
			<ul class="secondaryContent blockLinksList">
				<li><a href="{xen:link conversations}">{xen:phrase conversations}</a></li>
				<li><a href="{xen:link conversations/starred}">{xen:phrase starred_conversations}</a></li>
				<li><a href="{xen:link conversations/yours}">{xen:phrase conversations_you_started}</a></li>
			</ul>
		</div>
	</li>
	</xen:if>
	
	<xen:hook name="navigation_visitor_tabs_middle" />
	
	<!-- alerts popup -->
	<li class="navTab alerts Popup PopupControl PopupClosed">	
					
		<a href="{xen:link account/alerts}" rel="Menu" class="navLink NoPopupGadget">{xen:phrase alerts}
			<strong class="itemCount {xen:if {$visitor.alerts_unread}, '', 'Zero'}"
				id="AlertsMenu_Counter" data-text="{xen:phrase you_have_x_new_alerts}">
				<span class="Total">{xen:number $visitor.alerts_unread}</span>
				<span class="arrow"></span>
			</strong>
		</a>
		
		<div class="Menu JsOnly navPopup" id="AlertsMenu"
			data-contentSrc="{xen:link 'account/alerts-popup'}"
			data-contentDest="#AlertsMenu .listPlaceholder"
			data-removeCounter="#AlertsMenu_Counter">
			
			<div class="menuHeader primaryContent">
				<h3>
					<span class="Progress InProgress"></span>
					<a href="{xen:link account/alerts}" class="concealed">{xen:phrase alerts}</a>
				</h3>
			</div>
			
			<div class="listPlaceholder"></div>
			
			<div class="sectionFooter">
				<a href="{xen:link account/alert-preferences}" class="floatLink">{xen:phrase alert_preferences}</a>
				<a href="{xen:link account/alerts}">{xen:phrase show_all}...</a>
			</div>
		</div>
	</li>
	
	<xen:hook name="navigation_visitor_tabs_end" />
</ul>]]></template>
  <template title="news_feed" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<xen:require css="events.css" />
<xen:require css="news_feed.css" />
<xen:require js="js/xenforo/news_feed.js" />

<xen:if is="{$newsFeed}">
	<ol class="eventList">
		<xen:foreach loop="$newsFeed" value="$item">		
			<xen:include template="news_feed_item">
				<xen:set var="$itemTemplate">{xen:raw $item.template}</xen:set>
				<xen:set var="$itemDate">{$item.event_date}</xen:set>
			</xen:include>
		</xen:foreach>
	</ol>
<xen:else />
	{xen:raw $noContentHtml}
</xen:if>]]></template>
  <template title="news_feed.css" version_id="1000032" version_string="1.0.0 Beta 2"><![CDATA[.newsFeed
{
}

.NewsFeedEnd
{
}

.NewsFeedEnd a
{
	overflow: hidden; zoom: 1;
}

.newsFeed .extra
{
	font-size: 11px;
	margin-top: 5px;
	text-align: right;
}]]></template>
  <template title="news_feed_attached_images" version_id="1000036" version_string="1.0.0 Beta 6"><![CDATA[<xen:if is="{$content.attach_count} AND {$content.attachments}">
<xen:if hascontent="true"> 
<xen:require css="events.css" />
<a href="{xen:link {xen:if $content.post_id, posts, threads}, $content}" class="attachedImages">
	<xen:contentcheck>
	<xen:foreach loop="$content.attachments" value="$attachment">
		<xen:if is="{$attachment.thumbnailUrl}">
			<img src="{$attachment.thumbnailUrl}" alt="{$attachment.filename}" />
		</xen:if>
	</xen:foreach>
	</xen:contentcheck>
</a>
</xen:if>
</xen:if>]]></template>
  <template title="news_feed_end" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<xen:if is="!{$feedEnds}">
<div class="NewsFeedEnd">
	<div class="sectionFooter">
		<a href="{$itemLoaderUrl}" class="NewsFeedLoader" data-oldestItemId="{$oldestItemId}">{xen:phrase show_older_items}</a>
	</div>
</div>
</xen:if>]]></template>
  <template title="news_feed_item" version_id="1000017" version_string="1.0.0 Alpha 7"><![CDATA[<li id="item_{$item.news_feed_id}" class="event primaryContent NewsFeedItem" data-author="{$item.username}">

	<xen:avatar user="$item" size="s" class="icon" />
	
	<div class="content">		
		{xen:raw $itemTemplate}
		
		<xen:datetime time="{$itemDate}" />
	</div>
</li>]]></template>
  <template title="news_feed_item_post_insert" version_id="1000570" version_string="1.0.5"><![CDATA[<h3 class="description">

	<xen:if is="{$content.attach_count}">
	
		<xen:comment><!-- $user attached a file to a post --></xen:comment>
		{xen:phrase news_feed_post_insert_attachment,
			'username={xen:helper username, $user, 'primaryText'}',
			'threadTitle=<a href="{xen:link posts, $content}"{xen:if '{$content.hasPreview}', ' class="PreviewTooltip" data-previewUrl="{xen:link threads/preview, $content}"'}>{xen:helper threadPrefix, $content}{$content.title}</a>'}
	
	<xen:else />
	
		<xen:comment><!-- $user posted a post --></xen:comment>
		{xen:phrase news_feed_post_insert,
			'username={xen:helper username, $user, 'primaryText'}',
			'threadTitle=<a href="{xen:link posts, $content}"{xen:if '{$content.hasPreview}', ' class="PreviewTooltip" data-previewUrl="{xen:link threads/preview, $content}"'}>{xen:helper threadPrefix, $content}{$content.title}</a>'}

	</xen:if>
	
</h3>

<p class="snippet post">{xen:helper snippet, $content.message, $xenOptions.newsFeedMessageSnippetLength, {xen:array 'stripQuote=1'}}</p>

<xen:include template="news_feed_attached_images" />]]></template>
  <template title="news_feed_item_post_like" version_id="1030051" version_string="1.3.0 Release Candidate 1"><![CDATA[<h3 class="description">

	<xen:if is="{$content.user_id} == {$visitor.user_id}">
	
		<xen:comment><!-- $user liked your post --></xen:comment>
		{xen:phrase x_liked_your_post_in_the_thread_y,
			'name={xen:if $user.user_id, {xen:helper username, $user, 'primaryText'}, '<span class="primaryText">{xen:phrase unknown_member}</span>'}',
			'title=<a href="{xen:link posts, $content}"{xen:if '{$content.hasPreview}', ' class="PreviewTooltip" data-previewUrl="{xen:link threads/preview, $content}"'}>{xen:helper threadPrefix, $content}{$content.title}</a>'}
		
	<xen:else />
	
		<xen:comment><!-- $user liked $contentUser's post --></xen:comment>
		{xen:phrase x_liked_ys_post_in_the_thread_z,
			'name={xen:if $user.user_id, {xen:helper username, $user, 'primaryText'}, '<span class="primaryText">{xen:phrase unknown_member}</span>'}',
			'posterParams=href="{xen:link posts, $content}"', 'poster={$content.username}',
			'title=<a href="{xen:link posts, $content}"{xen:if '{$content.hasPreview}', ' class="PreviewTooltip" data-previewUrl="{xen:link threads/preview, $content}"'}>{xen:helper threadPrefix, $content}{$content.title}</a>'}
		
	</xen:if>

</h3>

<p class="snippet">{xen:helper snippet, $content.message, $xenOptions.newsFeedMessageSnippetLength, {xen:array 'stripQuote=1'}}</p>

<xen:include template="news_feed_attached_images" />]]></template>
  <template title="news_feed_item_profile_post_insert" version_id="1000570" version_string="1.0.5"><![CDATA[<xen:if is="{$user.user_id} == {$userReceiver.user_id}">

	<h3 class="description">
		<xen:username user="$user" class="primaryText" />
		<em>{xen:helper bodyText, $content.message}</em>
		<a href="{xen:link profile-posts, $content}">&raquo;</a>
	</h3>

<xen:else />

	<h3 class="description">{xen:phrase news_feed_profile_post_insert,
		'usernamePoster={xen:helper username, $user, 'primaryText'}',
		'usernameReceiver=<a href="{xen:link profile-posts, $content}">{$userReceiver.username}</a>'
	}</h3>

	<p class="snippet">{xen:helper snippet, $content.message, $xenOptions.newsFeedMessageSnippetLength}</p>

</xen:if>]]></template>
  <template title="news_feed_item_profile_post_like" version_id="1030051" version_string="1.3.0 Release Candidate 1"><![CDATA[<h3 class="description">

<xen:if is="{$content.user_id} == {$content.profile_user_id}">

	<xen:if is="{$content.user_id} == {$visitor.user_id}">
		
		<xen:comment><!-- $user liked your status --></xen:comment>
		{xen:phrase x_liked_your_status,
			'name={xen:if $user.user_id, {xen:helper username, $user, 'primaryText'}, '<span class="primaryText">{xen:phrase unknown_member}</span>'}',
			'status_attributes=href="{xen:link profile-posts, $content}"'
		}
	
	<xen:else />
	
		<xen:comment><!-- $user liked $contentUser's status --></xen:comment>
		{xen:phrase x_liked_ys_status,
			'name={xen:if $user.user_id, {xen:helper username, $user, 'primaryText'}, '<span class="primaryText">{xen:phrase unknown_member}</span>'}',
			'status_params=href="{xen:link profile-posts, $content}"',
			'poster={$content.username}'
		}
	
	</xen:if>

<xen:else />

	<xen:if is="{$content.user_id} == {$visitor.user_id}">
	
		<xen:comment><!-- $user liked your post on $profileUser's profile --></xen:comment>
		{xen:phrase x_liked_your_post_on_ys_profile,
			'name={xen:if $user.user_id, {xen:helper username, $user, 'primaryText'}, '<span class="primaryText">{xen:phrase unknown_member}</span>'}',
			'post_attributes=href="{xen:link profile-posts, $content}"',
			'profile={$content.profile_username}'
		}
	
	<xen:elseif is="{$content.profile_user_id} == {$visitor.user_id}" />
	
		<xen:comment><!-- $user liked $contentUser's post on your profile --></xen:comment>
		{xen:phrase x_liked_ys_post_on_your_profile,
			'name={xen:if $user.user_id, {xen:helper username, $user, 'primaryText'}, '<span class="primaryText">{xen:phrase unknown_member}</span>'}',
			'post_params=href="{xen:link profile-posts, $content}"',
			'poster={$content.username}'
		}
		
	<xen:else />
	
		<xen:comment><!-- $user liked $contentUser's post on $profileUser's profile --></xen:comment>
		{xen:phrase x_liked_ys_post_on_zs_profile,
			'name={xen:if $user.user_id, {xen:helper username, $user, 'primaryText'}, '<span class="primaryText">{xen:phrase unknown_member}</span>'}',
			'post_params=href="{xen:link profile-posts, $content}"',
			'poster={$content.username}',
			'profile={$content.profile_username}'
		}
		
	</xen:if>

</xen:if>

</h3>

<p class="snippet">{xen:helper snippet, $content.message, $xenOptions.newsFeedMessageSnippetLength, {xen:array 'stripPlainTag=1'}}</p>]]></template>
  <template title="news_feed_item_thread_insert" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<p class="description">{xen:phrase news_feed_thread_insert,
	'username={xen:helper username, $user, 'primaryText'}'
}</p>

<h3 class="title thread"><span class="icon"></span> <a href="{xen:link threads, $content}">{xen:helper threadPrefix, $content}{$content.title}</a></h3>

<p class="snippet post">{xen:helper snippet, $content.message, $xenOptions.newsFeedMessageSnippetLength}</p>

<xen:include template="news_feed_attached_images" />

<h4 class="minorTitle forum"><span class="icon"></span> {xen:phrase forum}: <a href="{xen:link forums, $content}">{$content.node_title}</a></h4>]]></template>
  <template title="news_feed_item_user_avatar_change" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[<h3 class="description">{xen:phrase news_feed_user_avatar_change,
	'username={xen:helper username, $user, 'primaryText'}'
}</h3>

<!--<p class="snippet"></p>-->]]></template>
  <template title="news_feed_item_user_homepage" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[<h3 class="description">{xen:phrase news_feed_user_homepage,
	'username={xen:helper username, $user, 'primaryText'}'
}</h3>

<p class="snippet"><a href="{$homepage.new}" rel="nofollow" target="_blank">{$homepage.new}</a></p>]]></template>
  <template title="news_feed_item_user_location" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[<h3 class="description"><xen:if is="{$location.old}">{xen:phrase news_feed_user_location_changed,
	'username={xen:helper username, $user, 'primaryText'}',
	'oldLocation=<em>{$location.old}</em>',
	'newLocation=<em>{$location.new}</em>'
}<xen:else />{xen:phrase news_feed_user_location_set,
	'username={xen:helper username, $user, 'primaryText'}',
	'newLocation=<em>{$location.new}</em>'
}</xen:if></h3>]]></template>
  <template title="news_feed_item_user_occupation" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[<h3 class="description"><xen:if is="{$occupation.old}">{xen:phrase news_feed_user_occupation_changed,
	'username={xen:helper username, $user, 'primaryText'}',
	'oldOccupation=<em>{$occupation.old}</em>',
	'newOccupation=<em>{$occupation.new}</em>'
}<xen:else />{xen:phrase news_feed_user_occupation_set,
	'username={xen:helper username, $user, 'primaryText'}',
	'newOccupation=<em>{$occupation.new}</em>'
}</xen:if></h3>]]></template>
  <template title="news_feed_item_user_status" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[<h3 class="description"><xen:username user="$user" class="primaryText" /> <em>{xen:helper bodyText, $status.new}</em></h3>]]></template>
  <template title="news_feed_page" version_id="1000017" version_string="1.0.0 Alpha 7"><![CDATA[<xen:title>{xen:phrase your_news_feed}</xen:title>
<xen:description>{xen:phrase activity_stream_for_all_users_you_follow, 'link_params=href="{xen:link account/following}"'}</xen:description>

<xen:require js="js/xenforo/news_feed.js" />

<div class="newsFeed">
	<xen:include template="news_feed">
		<xen:set var="$noContentHtml">{xen:phrase your_news_feed_is_currently_empty} <a href="{xen:link account/following}">{xen:phrase follow_people_to_fill_it}</a></xen:set>
	</xen:include>
	<xen:include template="news_feed_end">
		<xen:set var="$itemLoaderUrl">{xen:link account/news-feed}</xen:set>
	</xen:include>
	<xen:include template="preview_tooltip" />
	<div class="extra">
		<a href="{xen:link account/following}" class="button smallButton">{xen:phrase people_you_follow}</a>
		<a href="{xen:link recent-activity}" class="button smallButton">{xen:phrase recent_activity}</a>
	</div>
</div>]]></template>
  <template title="news_feed_page_global" version_id="1030051" version_string="1.3.0 Release Candidate 1"><![CDATA[<xen:title>{xen:phrase recent_activity}</xen:title>
<xen:description>{xen:phrase activity_stream_for_all_registered_members_at_x, 'board_title={$xenOptions.boardTitle}'}</xen:description>

<xen:require js="js/xenforo/news_feed.js" />

<div class="newsFeed">
	<xen:include template="news_feed">
		<xen:set var="$noContentHtml">{xen:phrase news_feed_is_currently_empty}</xen:set>
	</xen:include>
	<xen:include template="news_feed_end">
		<xen:set var="$itemLoaderUrl">{xen:link recent-activity}</xen:set>
	</xen:include>
	<xen:include template="preview_tooltip" />
	<div class="extra">
		<xen:if is="{$visitor.user_id}"><a href="{xen:link account/news-feed}" class="button smallButton">{xen:phrase your_news_feed}</a></xen:if>
	</div>
</div>

<xen:sidebar>

	<xen:edithint template="sidebar.css" />
	
	<xen:include template="sidebar_online_users" />
	
	<xen:if is="{$xenOptions.facebookLike}">
		<div class="section fbRecommendations">
			<div class="secondaryContent">
				<h3>{xen:phrase facebook_recommendations}</h3>
				<div class="fbWidgetBlock" style="margin: 0 -{xen:property secondaryContent.padding-left} -{xen:property secondaryContent.padding-bottom}">
					<xen:container var="$facebookSdk">1</xen:container>
					<fb:recommendations site="{$requestPaths.host}" width="{xen:property sidebar.width}" height="300" header="false" font="trebuchet ms" border_color="{xen:property secondaryContent.background-color}" colorscheme="{xen:property fbColorScheme}"></fb:recommendations>
				</div>
			</div>
		</div>
	</xen:if>

</xen:sidebar>]]></template>
  <template title="node_category.css" version_id="0" version_string=""><![CDATA[]]></template>
  <template title="node_category_level_1" version_id="1000052" version_string="1.0.0 Release Candidate 2"><![CDATA[<xen:require css="node_list.css" />
<xen:require css="node_category.css" />

<li class="node category level_{$level} node_{$category.node_id}" id="{xen:helper linktitle, $category.node_id, $category.title, 1}">

	<div class="nodeInfo categoryNodeInfo categoryStrip">
	
		<div class="categoryText">
			<h3 class="nodeTitle"><a href="{xen:link categories, $category}">{$category.title}</a></h3>
			<xen:if is="{$category.description}"><blockquote class="nodeDescription baseHtml">{xen:raw $category.description}</blockquote></xen:if>
		</div>
		
	</div>
	
	<xen:if is="{$renderedChildren}">		
		<ol class="nodeList">
			<xen:foreach loop="$renderedChildren" value="$child">{xen:raw $child}</xen:foreach>
		</ol>
	</xen:if>
	
	<span class="tlc"></span>
	<span class="trc"></span>
	<span class="blc"></span>
	<span class="brc"></span>
</li>]]></template>
  <template title="node_category_level_2" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:require css="node_list.css" />
<xen:require css="node_category.css" />

<li class="node category_forum level_{$level} node_{$category.node_id}">

	<div class="nodeInfo categoryForumNodeInfo {xen:if $category.hasNew, 'unread'}">

		<span class="nodeIcon" title="{xen:if $category.hasNew, '{xen:phrase unread_messages}', ''}"></span>

		<div class="nodeText">
			<h3 class="nodeTitle"><a href="{xen:link categories, $category}" data-description="{xen:if {xen:property nodeListDescriptionTooltips}, '#nodeDescription-{$category.node_id}'}">{$category.title}</a></h3>

			<xen:if is="{$category.description} AND {xen:property nodeListDescriptions}">
				<blockquote class="nodeDescription {xen:if {xen:property nodeListDescriptionTooltips}, nodeDescriptionTooltip} baseHtml" id="nodeDescription-{$category.node_id}">{xen:raw $category.description}</blockquote>
			</xen:if>

			<div class="nodeStats pairsInline">
				<dl><dt>{xen:phrase discussions}:</dt> <dd>{xen:if $category.privateInfo, '&ndash;', {xen:number $category.discussion_count}}</dd></dl>
				<dl><dt>{xen:phrase messages}:</dt> <dd>{xen:if $category.privateInfo, '&ndash;', {xen:number $category.message_count}}</dd></dl>
				<xen:if is="{$renderedChildren} AND {xen:property nodeListSubForumPopup}">
					<div class="Popup subForumsPopup">
						<a href="{xen:link categories, $category}" rel="Menu" class="cloaked" data-closemenu="true"><span class="dt">{xen:phrase sub_forums}:</span> {xen:number $category.childCount}</a>
						
						<div class="Menu JsOnly subForumsMenu">
							<div class="primaryContent menuHeader">
								<h3>{$category.title}</h3>
								<div class="muted">{xen:phrase sub_forums}</div>
							</div>
							<ol class="secondaryContent blockLinksList">
							<xen:foreach loop="$renderedChildren" value="$child">
								{xen:raw $child}
							</xen:foreach>
							</ol>
						</div>
					</div>
				</xen:if>
			</div>
			
			{xen:raw $nodeExtraHtml}
		</div>

		<xen:if is="{$renderedChildren} AND !{xen:property nodeListSubForumPopup}">
			<ol class="subForumList">
			<xen:foreach loop="$renderedChildren" value="$child">
				{xen:raw $child}
			</xen:foreach>
			</ol>
		</xen:if>

		<div class="nodeLastPost secondaryContent">
			<xen:if is="{$category.privateInfo}">
				<span class="noMessages muted">({xen:phrase private})</span>
			<xen:elseif is="{$category.lastPost.date}" />
				<span class="lastThreadTitle"><span>{xen:phrase latest}:</span> <a href="{xen:link posts, $category.lastPost}" title="{$category.lastPost.title}">{$category.lastPost.title}</a></span>
				<span class="lastThreadMeta">
					<span class="lastThreadUser"><xen:if is="{xen:helper isIgnored, $category.last_post_user_id}">{xen:phrase ignored_member}<xen:else /><xen:username user="$category.lastPost" /></xen:if>,</span>
					<xen:datetime time="$category.lastPost.date" class="muted lastThreadDate" data-latest="{xen:phrase latest}: " />
				</span>
			<xen:else />
				<span class="noMessages muted">({xen:phrase contains_no_messages})</span>
			</xen:if>
		</div>

	</div>

</li>]]></template>
  <template title="node_category_level_n" version_id="1000051" version_string="1.0.0 Release Candidate 1"><![CDATA[<li class="node category level-n node_{$category.node_id}">
	<div {xen:if $category.hasNew, 'class="unread"'}>
		<h4 class="nodeTitle"><a href="{xen:link categories, $category}" class="menuRow">{$category.title}</a></h4>
	</div>
	<xen:if is="{$renderedChildren}">
		<ol>
			<xen:foreach loop="$renderedChildren" value="$child">
				{xen:raw $child}
			</xen:foreach>
		</ol>
	</xen:if>
</li>]]></template>
  <template title="node_forum.css" version_id="0" version_string=""><![CDATA[]]></template>
  <template title="node_forum_level_1" version_id="1000011" version_string="1.0.0 Alpha 1"><![CDATA[<xen:include template="node_forum_level_2" />]]></template>
  <template title="node_forum_level_2" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:require css="node_list.css" />
<xen:require css="node_forum.css" />

<li class="node forum level_{$level} {xen:if '{$level} == 1 AND !{$renderedChildren}', 'groupNoChildren'} node_{$forum.node_id}">

	<xen:if is="{$level} == 1"><div class="categoryStrip subHeading"></div></xen:if>

	<div class="nodeInfo forumNodeInfo primaryContent {xen:if $forum.hasNew, 'unread'}">

		<span class="nodeIcon" title="{xen:if $forum.hasNew, '{xen:phrase unread_messages}', ''}"></span>

		<div class="nodeText">
			<h3 class="nodeTitle"><xen:if is="{$watchCheckBoxName}"><input type="checkbox" name="{$watchCheckBoxName}" value="{$forum.node_id}" />&nbsp;</xen:if><a href="{xen:link forums, $forum}" data-description="{xen:if {xen:property nodeListDescriptionTooltips}, '#nodeDescription-{$forum.node_id}'}">{$forum.title}</a></h3>

			<xen:if is="{$forum.description} AND {xen:property nodeListDescriptions}">
				<blockquote class="nodeDescription {xen:if {xen:property nodeListDescriptionTooltips}, nodeDescriptionTooltip} baseHtml" id="nodeDescription-{$forum.node_id}">{xen:raw $forum.description}</blockquote>
			</xen:if>

			<div class="nodeStats pairsInline">
				<dl><dt>{xen:phrase discussions}:</dt> <dd>{xen:if $forum.privateInfo, '&ndash;', {xen:number $forum.discussion_count}}</dd></dl>
				<dl><dt>{xen:phrase messages}:</dt> <dd>{xen:if $forum.privateInfo, '&ndash;', {xen:number $forum.message_count}}</dd></dl>
				<xen:if is="{$renderedChildren} AND {$level} == 2 AND {xen:property nodeListSubForumPopup}">
					<div class="Popup subForumsPopup">
						<a href="{xen:link forums, $forum}" rel="Menu" class="cloaked" data-closemenu="true"><span class="dt">{xen:phrase sub_forums}:</span> {xen:number $forum.childCount}</a>
						
						<div class="Menu JsOnly subForumsMenu">
							<div class="primaryContent menuHeader">
								<h3>{$forum.title}</h3>
								<div class="muted">{xen:phrase sub_forums}</div>
							</div>
							<ol class="secondaryContent blockLinksList">
							<xen:foreach loop="$renderedChildren" value="$child">
								{xen:raw $child}
							</xen:foreach>
							</ol>
						</div>
					</div>
				</xen:if>
			</div>
			
			{xen:raw $nodeExtraHtml}
		</div>

		<xen:if is="{$renderedChildren} AND {$level} == 2 AND !{xen:property nodeListSubForumPopup}">
			<ol class="subForumList">
			<xen:foreach loop="$renderedChildren" value="$child">
				{xen:raw $child}
			</xen:foreach>
			</ol>
		</xen:if>
		
		<xen:hook name="node_forum_level_2_before_lastpost" params="{xen:array 'forum={$forum}'}" />

		<div class="nodeLastPost secondaryContent">
			<xen:if is="{$forum.privateInfo}">
				<span class="noMessages muted">({xen:phrase private})</span>
			<xen:elseif is="{$forum.lastPost.date}" />
				<span class="lastThreadTitle"><span>{xen:phrase latest}:</span> <a href="{xen:link posts, $forum.lastPost}" title="{$forum.lastPost.title}">{$forum.lastPost.title}</a></span>
				<span class="lastThreadMeta">
					<span class="lastThreadUser"><xen:if is="{xen:helper isIgnored, $forum.last_post_user_id}">{xen:phrase ignored_member}<xen:else /><xen:username user="$forum.lastPost" /></xen:if>,</span>
					<xen:datetime time="$forum.lastPost.date" class="muted lastThreadDate" data-latest="{xen:phrase latest}: " />
				</span>
			<xen:else />
				<span class="noMessages muted">({xen:phrase contains_no_messages})</span>
			</xen:if>
		</div>

		<div class="nodeControls">
			<a href="{xen:link forums/index.rss, $forum}" class="tinyIcon feedIcon" title="{xen:phrase rss}">{xen:phrase rss}</a>
		</div>
		
	</div>

	<xen:if is="{$renderedChildren} AND {$level} == 1">
		<ol class="nodeList">
			<xen:foreach loop="$renderedChildren" value="$child">{xen:raw $child}</xen:foreach>
		</ol>
	</xen:if>

</li>]]></template>
  <template title="node_forum_level_n" version_id="1000051" version_string="1.0.0 Release Candidate 1"><![CDATA[<li class="node forum level-n node_{$forum.node_id}">
	<div {xen:if $forum.hasNew, 'class="unread"'}>
		<h4 class="nodeTitle"><a href="{xen:link forums, $forum}" class="menuRow">{$forum.title}</a></h4>
	</div>
	<xen:if is="{$renderedChildren}">
		<ol>
			<xen:foreach loop="$renderedChildren" value="$child">
				{xen:raw $child}
			</xen:foreach>
		</ol>
	</xen:if>
</li>]]></template>
  <template title="node_link.css" version_id="0" version_string=""><![CDATA[/* tbd */]]></template>
  <template title="node_link_level_1" version_id="1000011" version_string="1.0.0 Alpha 1"><![CDATA[<xen:include template="node_link_level_2" />]]></template>
  <template title="node_link_level_2" version_id="1000370" version_string="1.0.3"><![CDATA[<xen:require css="node_list.css" />
<xen:require css="node_link.css" />

<li class="node link level_{$level} {xen:if '{$level} == 1 AND !{$renderedChildren}', 'groupNoChildren'} node_{$link.node_id}">

	<xen:if is="{$level} == 1"><div class="categoryStrip"></div></xen:if>
	
	<div class="nodeInfo linkNodeInfo">
		<span class="nodeIcon"></span>

		<div class="nodeText">
			<h3 class="nodeTitle"><a href="{xen:link link-forums, $link}" data-description-x="#nodeDescription-{$link.node_id}">{$link.title}</a></h3>
			<xen:if is="{$link.description}"><blockquote class="nodeDescription muted baseHtml" id="nodeDescription-{$link.node_id}">{xen:raw $link.description}</blockquote></xen:if>
		</div>		
	</div>
	
	<xen:if is="{$renderedChildren} AND {$level} == 1">		
		<ol class="nodeList">
			<xen:foreach loop="$renderedChildren" value="$child">{xen:raw $child}</xen:foreach>
		</ol>
	</xen:if>
</li>]]></template>
  <template title="node_link_level_n" version_id="1000370" version_string="1.0.3"><![CDATA[<li class="node link level-n node_{$link.node_id}">
	<div>
		<h4 class="nodeTitle"><a href="{xen:link link-forums, $link}" class="menuRow">{$link.title}</a></h4>
	</div>
	<xen:if is="{$renderedChildren}">
		<ol>
			<xen:foreach loop="$renderedChildren" value="$child">
				{xen:raw $child}
			</xen:foreach>
		</ol>
	</xen:if>
</li>]]></template>
  <template title="node_list" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:require css="node_list.css" />

<xen:if hascontent="true">
	<ol class="nodeList sectionMain" id="forums">
	<xen:contentcheck>
		<xen:foreach loop="$renderedNodes" value="$node">{xen:raw $node}</xen:foreach>
	</xen:contentcheck>
	</ol>
</xen:if>

<xen:edithint template="node_category.css" />
<xen:edithint template="node_category_level_1" />
<xen:edithint template="node_category_level_2" />
<xen:edithint template="node_category_level_n" />

<xen:edithint template="node_forum.css" />
<xen:edithint template="node_forum_level_1" />
<xen:edithint template="node_forum_level_2" />
<xen:edithint template="node_forum_level_n" />

<xen:edithint template="node_page.css" />
<xen:edithint template="node_page_level_1" />
<xen:edithint template="node_page_level_2" />
<xen:edithint template="node_page_level_n" />

<xen:edithint template="node_link.css" />
<xen:edithint template="node_link_level_1" />
<xen:edithint template="node_link_level_2" />
<xen:edithint template="node_link_level_n" />]]></template>
  <template title="node_list.css" version_id="1030034" version_string="1.3.0 Beta 4"><![CDATA[.nodeList { zoom: 1; }
.nodeList .node {
	zoom: 1;
	vertical-align: bottom;
}

.nodeList .node.level_1
{
	margin-bottom: 20px;
}

.nodeList .node.level_1:last-child
{
	margin-bottom: 0;
}

.nodeList .node.groupNoChildren + .node.groupNoChildren
{
	margin-top: -20px;
}

.node .nodeInfo
{
	overflow: hidden; zoom: 1;
	position: relative;
}

	.node .nodeInfo.primaryContent,
	.node .nodeInfo.secondaryContent
	{
		padding: 0;
	}

.node .nodeIcon
{
	{xen:property nodeIcon}	
}

	.node .forumNodeInfo .nodeIcon,
	.node .categoryForumNodeInfo .nodeIcon
	{
		{xen:property nodeIconForum}
	}

	.node .forumNodeInfo.unread .nodeIcon,
	.node .categoryForumNodeInfo.unread .nodeIcon
	{
		{xen:property nodeIconForumUnread}
	}

	.node .pageNodeInfo .nodeIcon
	{
		{xen:property nodeIconPage}
	}

	.node .linkNodeInfo .nodeIcon
	{
		{xen:property nodeIconLink}
	}

.node .nodeText
{
	{xen:property nodeText}
}

	.node .nodeText .nodeTitle
	{	
		{xen:property nodeTitle}
	}
	
		.node .unread .nodeText .nodeTitle
		{
			{xen:property nodeTitleUnread}
		}

	.node .nodeDescription
	{
		{xen:property nodeDescription}
	}
	
	.hasJs .node .nodeDescriptionTooltip
	{
		/* will be shown as a tooltip */
		display: none;
	}
	
	.Touch .node .nodeDescriptionTooltip
	{
		/* touch browsers don't see description tooltips */
		display: block;
	}

	.node .nodeStats
	{
		{xen:property nodeStats}
	}
	
	.node .nodeExtraNote
	{
		text-align: right;
		font-size: 11px;
		color: {xen:property mutedTextColor};
	}
	
	.node .subForumList
	{
		overflow: hidden; *zoom: 1;
		margin: -5px 0 {xen:property nodeText.margin-bottom};
		margin-left: {xen:property nodeText.margin-left};
	}
	
		.node .subForumList li
		{
			float: left;
			width: 31%;
			margin: 2px 0 2px 2%;
		}
		
			.node .subForumList li .nodeTitle
			{
				font-size: 11px;
				overflow: hidden;
				white-space: nowrap;
				word-wrap: normal;
				text-overflow: ellipsis;
			}
			
			.node .subForumList .unread .nodeTitle
			{
				{xen:property nodeTitleUnread}
			}
		
			.node .subForumList li ol,
			.node .subForumList li ul
			{
				display: none;
			}

.node .nodeLastPost
{
	{xen:property secondaryContent}
	
	{xen:property nodeLastPost}
}

.node .nodeLastPost .lastThreadTitle
{
	text-overflow: ellipsis;
	max-width: 100%;
	display: block;
	overflow: hidden;
}

	.node .nodeLastPost .lastThreadMeta
	{
		display: block;
	}

	.node .nodeLastPost .noMessages
	{
		line-height: 28px;
	}

.node .nodeControls
{
	position: absolute;
	top: 0;
	right: {xen:calc '{xen:property nodeLastPost.border-left-width} + {xen:property nodeLastPost.padding-left} + {xen:property nodeLastPost.width} + {xen:property nodeLastPost.padding-right} + {xen:property nodeLastPost.border-right-width} + {xen:property nodeLastPost.margin-right}'}px;
	margin: 20px 0;
}

	.node .tinyIcon
	{
		{xen:property nodeTinyIcon}
	}

	.node .nodeInfo:hover .tinyIcon[href],
	.Touch .node .tinyIcon
	{
		{xen:property nodeTinyIconHover}
	}

		/*.node .feedIcon
		{
			background: transparent url('{xen:property imagePath}/xenforo/xenforo-ui-sprite.png') no-repeat -112px -16px;
		}*/

/* description tooltip */

.nodeDescriptionTip
{
	{xen:property nodeDescriptionTip}
}

	.nodeDescriptionTip .arrow
	{
		{xen:property nodeDescriptionTipArrow}
	}
	
	.nodeDescriptionTip.arrowBottom .arrow
	{
		top: auto;
		left: 10px;
		bottom: -6px;
		border: 6px solid transparent;
		border-top-color: {xen:property tooltip.background-color};
		border-bottom: 1px none black;
	}
	
/* main area - used for L2 categories and most other nodes */

.nodeList .categoryForumNodeInfo,
.nodeList .forumNodeInfo,
.nodeList .pageNodeInfo,
.nodeList .linkNodeInfo
{
	{xen:property primaryContent}
	
	padding: 0;
}

/* category strip - used for L1 categories and group headers */

.nodeList .categoryStrip
{
	{xen:property subHeading}
	
	{xen:property categoryStrip}
}

	.nodeList .categoryStrip .nodeTitle
	{
		{xen:property categoryStripTitle}
	}
	
		.nodeList .categoryStrip .nodeTitle a
		{
			color: {xen:property categoryStripTitle.color};
		}

	.nodeList .categoryStrip .nodeDescription
	{
		{xen:property categoryStripDescription}
	}
	
		.nodeList .categoryStrip .nodeDescription a
		{
			color: {xen:property categoryStripDescription.color};
		}

.nodeList .node.groupNoChildren + .node.groupNoChildren .categoryStrip
{
	display: none;
}

/* node stats area */

.nodeStats
{
	overflow: hidden; zoom: 1;
}

.nodeStats dl,
.subForumsPopup
{
	float: left;
	display: block;
	margin-right: 3px;
}

.subForumsPopup.Popup .PopupControl.PopupOpen
{
	background-image: none;
}

.subForumsPopup a.PopupControl
{
	padding-left: 5px;
	padding-right: 5px;
}

.subForumsPopup .dt
{
	color: {xen:property mutedTextColor};
}

.subForumsPopup .PopupOpen .dt
{
	color: {xen:property body.color};
}

.subForumsMenu .node .node /* for depths 2+ */
{
	padding-left: 10px;
}

	.subForumsMenu .node .nodeTitle
	{
		font-size: 11px;
	}
	
	.subForumsMenu .node .unread .nodeTitle
	{
		{xen:property nodeTitleUnread}
	}
	
/** new discussion button below nodelist **/

.nodeListNewDiscussionButton
{
	margin-top: 10px;
	text-align: right;
}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveMediumWidth})
{
	.Responsive .node .nodeText
	{
		margin-right: 0;
	}
	
	.Responsive.Touch .node .nodeDescriptionTooltip,
	.Responsive .node .nodeDescription
	{
		display: none;
	}

	.Responsive .node .nodeLastPost
	{
		position: static;
		height: auto;
		width: auto;
		background: none;
		border: none;
		padding: 0;
		margin: -{xen:calc '{xen:property nodeText.margin-bottom} - 2'}px 0 {xen:property nodeText.margin-bottom} {xen:property nodeText.margin-left};
	}
	
		.Responsive .node .nodeLastPost .noMessages 
		{
			display: none;
		}
		
		.Responsive .node .nodeLastPost .lastThreadTitle,
		.Responsive .node .nodeLastPost .lastThreadUser
		{
			display: none;
		}
				
		.Responsive .node .nodeLastPost .lastThreadDate:before
		{
			content: attr(data-latest);
		}

	.Responsive .node .nodeControls
	{
		display: none;
	}
		
	.Responsive .node .subForumList
	{
		display: none;
	}
	
	.Responsive .nodeDescriptionTip
	{
		width: auto;
		max-width: 350px;
	}
}

@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .subForumsPopup
	{
		display: none;
	}
}
</xen:if>]]></template>
  <template title="node_page.css" version_id="0" version_string=""><![CDATA[.nodeList .page .nodeText
{
	margin-right: 10px;
}]]></template>
  <template title="node_page_level_1" version_id="1000011" version_string="1.0.0 Alpha 1"><![CDATA[<xen:include template="node_page_level_2" />]]></template>
  <template title="node_page_level_2" version_id="1010470" version_string="1.1.4"><![CDATA[<xen:require css="node_list.css" />
<xen:require css="node_page.css" />

<li class="node page level_{$level} {xen:if '{$level} == 1 AND !{$renderedChildren}', 'groupNoChildren'} node_{$page.node_id}">

	<xen:if is="{$level} == 1"><div class="categoryStrip"></div></xen:if>

	<div class="nodeInfo pageNodeInfo">
		<span class="nodeIcon"></span>

		<div class="nodeText">
			<h3 class="nodeTitle"><a href="{xen:link pages, $page}">{$page.title}</a></h3>
			<xen:if is="{$page.description}">
				<blockquote class="nodeDescription baseHtml muted" id="nodeDescription-{$page.node_id}">{xen:raw $page.description}</blockquote>
			</xen:if>
		</div>
	</div>
	
	<xen:if is="{$renderedChildren} AND {$level} == 1">		
		<ol class="nodeList">
			<xen:foreach loop="$renderedChildren" value="$child">{xen:raw $child}</xen:foreach>
		</ol>
	</xen:if>
	
</li>]]></template>
  <template title="node_page_level_n" version_id="1020470" version_string="1.2.4"><![CDATA[<li class="node page level-n node_{$page.node_id}">
	<div>
		<h4 class="nodeTitle"><a href="{xen:link pages, $page}" class="menuRow">{$page.title}</a></h4>
	</div>
	<xen:if is="{$renderedChildren}">
		<ol>
			<xen:foreach loop="$renderedChildren" value="$child">
				{xen:raw $child}
			</xen:foreach>
		</ol>
	</xen:if>
</li>]]></template>
  <template title="notice" version_id="1010170" version_string="1.1.1"><![CDATA[<li class="panel Notice DismissParent notice_{$noticeId}">
	<div class="{xen:if {$notice.wrap}, 'baseHtml noticeContent'}">{xen:raw $content}</div>
	
	<xen:if is="{$notice.dismissible}">
		<a href="{xen:link account/dismiss-notice, '', 'notice_id={$noticeId}'}"
			title="{xen:phrase dismiss_notice}" class="DismissCtrl Tooltip" data-offsetx="7" data-tipclass="flipped">{xen:phrase dismiss_notice}</a></xen:if>
</li>]]></template>
  <template title="notices" version_id="1010170" version_string="1.1.1"><![CDATA[<xen:if is="{$notices}">

<xen:require css="panel_scroller.css" />
<xen:edithint template="notice" />

<div class="{xen:if {xen:property scrollableNotices}, PanelScroller, PanelScrollerOff}" id="Notices" data-vertical="{xen:property noticeVertical}" data-speed="{xen:property noticeSpeed}" data-interval="{xen:property noticeInterval}">
	<div class="scrollContainer">
		<div class="PanelContainer">
			<ol class="Panels">
				<xen:foreach loop="$notices" key="$noticeId" value="$notice">
					<xen:include template="notice">
						<xen:set var="$content">{xen:raw $notice.message}</xen:set>
					</xen:include>
				</xen:foreach>
			</ol>
		</div>
	</div>
	
	<xen:if is="{xen:property scrollableNotices} AND {xen:count $notices} > 1"><div class="navContainer">
		<span class="navControls Nav JsOnly">
			<xen:foreach loop="$notices" key="$noticeId" value="$notice" i="$i">
				<a id="n{$noticeId}" href="{$requestPaths.requestUri}#n{$noticeId}"{xen:if '{$i} == 1', ' class="current"'}>
					<span class="arrow"><span></span></span>
					<!--{$i} -->{$notice.title}</a>
			</xen:foreach>
		</span>
	</div></xen:if>
</div>

</xen:if>]]></template>
  <template title="notice_board_closed" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[{xen:phrase forum_is_currently_closed_only_admins_may_access}<br />
<a href="admin.php?options/list/boardActive">{xen:phrase reopen_via_admin_control_panel}</a>]]></template>
  <template title="notice_confirm_email" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[{xen:phrase your_account_is_currently_awaiting_confirmation_confirmation_sent_to_x, 'email={$visitor.email}'}<br />
<a href="{xen:link account-confirmation/resend}" class="OverlayTrigger">{xen:phrase resend_confirmation_email}</a>]]></template>
  <template title="notice_cookies" version_id="1010370" version_string="1.1.3"><![CDATA[{xen:phrase this_site_uses_cookies_notice} <a href="{xen:link help/cookies}">{xen:phrase learn_more}</a>]]></template>
  <template title="notice_dismiss" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<xen:title>{xen:phrase dismiss_notice}</xen:title>

<form action="{xen:link account/dismiss-notice, '', 'notice_id={$notice.notice_id}'}" method="post" class="xenForm formOverlay">

	<p>{xen:phrase confirm_dismiss_notice}</p>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" class="button primary" value="{xen:phrase dismiss_notice}" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	<input type="hidden" name="_xfConfirm" value="1" />
</form>]]></template>
  <template title="notice_email_bounce" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[{xen:phrase attempts_to_email_x_have_failed_please_update, 'email={$visitor.email}'}<br />
<a href="{xen:link account/contact-details}">{xen:phrase update_your_contact_details}</a>]]></template>
  <template title="notice_upgrade_pending" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[{xen:phrase upgrade_is_pending_forum_only_accessible_in_debug}<br />
<a href="install/">{xen:phrase complete_upgrade}</a>]]></template>
  <template title="online_guest_ip" version_id="1000053" version_string="1.0.0 Release Candidate 3"><![CDATA[<xen:title>{xen:phrase ip_information_for_online_guest}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link members}">{xen:phrase members}</xen:breadcrumb>
	<xen:breadcrumb href="{xen:link online}">{xen:phrase current_visitors}</xen:breadcrumb>
</xen:navigation>

<div class="section">
	<xen:require css="content_ip.css" />

	<div>
		<table class="ipInfo">
		<tr>
			<th class="primaryContent">{xen:phrase ip}</th>
			<td class="secondaryContent">
				<a class="ip" href="{xen:link misc/ip-info, '', 'ip={$ip}'}" target="_blank">{$ip}</a>
				<span class="host">{$host}</span>
			</td>
		</tr>
		</table>
	</div>
</div>]]></template>
  <template title="online_list" version_id="1040033" version_string="1.4.0 Beta 3"><![CDATA[<xen:title>{xen:phrase current_visitors}</xen:title>
<xen:description>{xen:phrase this_is_list_of_all_visitors_currently_browsing_x, 'board_title={$xenOptions.boardTitle}'}</xen:description> 

<xen:require css="member_list.css" />
<xen:require css="xenforo_member_list_item.css" />

<ul class="tabs">
	<li class="{xen:if '{$userLimit} == ""', active}"><a href="{xen:link online}">{xen:phrase everyone}</a></li>
	<li class="{xen:if '{$userLimit} == "registered"', active}"><a href="{xen:link online, '', 'type=registered'}">{xen:phrase members}</a></li>
	<li class="{xen:if '{$userLimit} == "guest"', active}"><a href="{xen:link online, '', 'type=guest'}">{xen:phrase guests}</a></li>
	<li class="{xen:if '{$userLimit} == "robot"', active}"><a href="{xen:link online, '', 'type=robot'}">{xen:phrase robots}</a></li>
</ul>

<xen:if is="{$onlineUsers}">
	<ol class="section memberList">
		<xen:foreach loop="$onlineUsers" value="$user">
			<xen:include template="member_list_item">
				<xen:set var="$guestHtml"><xen:if is="{$user.robotInfo}">
					{xen:phrase robot}: <xen:if is="{$user.robotInfo.link}"><a href="{$user.robotInfo.link}" target="_blank">{$user.robotInfo.title}</a><xen:else />{$user.robotInfo.title}</xen:if>
				</xen:if></xen:set>		
				<xen:set var="$extraTemplate">
					<xen:if is="{$canViewIps}">
						<a href="{xen:if '{$user.user_id}', {xen:link online/user-ip, $user}, {xen:link online/guest-ip, '', 'ip={$user.ipHex}'}}" class="OverlayTrigger ip"><span>{xen:helper ip, $user.ip}</span></a>
					</xen:if>
				</xen:set>
			
				<xen:set var="$contentTemplate">
					<xen:if is="{$user.canViewCurrentActivity}">
						<xen:if is="{$user.activityDescription}">
							{$user.activityDescription}<xen:if is="{$user.activityItemTitle}"> <em><a href="{$user.activityItemUrl}"{xen:if '{$user.activityItemPreviewUrl}', ' class="PreviewTooltip" data-previewUrl="{$user.activityItemPreviewUrl}"'}>{$user.activityItemTitle}</a></em></xen:if>,
						<xen:else />
							{xen:phrase viewing_unknown_page},
						</xen:if>
					</xen:if>
					<xen:datetime time="$user.view_date" class="muted" />
				</xen:set>
			</xen:include>	
		</xen:foreach>
	</ol>

	<div class="pageNavLinkGroup">
		<xen:pagenav link="online" linkparams="{xen:array 'type={$userLimit}'}" page="{$page}" perpage="{$usersPerPage}" total="{$totalOnlineUsers}" />
	</div>
<xen:else />
	<div class="section">{xen:phrase no_results_found}</div>
</xen:if>

<xen:sidebar>
	
	<div class="section">
		<div class="secondaryContent statsList" id="boardStats">
			<h3>{xen:phrase online_statistics}</h3>
			<div class="pairsJustified">
				<dl class="memberCount"><dt>{xen:phrase members_online}:</dt>
					<dd>{xen:number $onlineTotals.members}</dd></dl>
				<dl class="guestCount"><dt>{xen:phrase guests_online}:</dt>
					<dd>{xen:number $onlineTotals.guests}</dd></dl>
				<dl class="guestCount"><dt>{xen:phrase robots_online}:</dt>
					<dd>{xen:number $onlineTotals.robots}</dd></dl>
				<dl class="visitorCount"><dt>{xen:phrase total_visitors}:</dt>
					<dd>{xen:number $onlineTotals.total}</dd></dl>
			</div>
			<div class="footnote">{xen:phrase totals_may_include_hidden_visitors}</div>
		</div>
	</div>
	
</xen:sidebar>]]></template>
  <template title="online_user_ip" version_id="1000033" version_string="1.0.0 Beta 3"><![CDATA[<xen:title>{xen:phrase ip_information_for_online_user,
	'user={$user.username}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link members}">{xen:phrase members}</xen:breadcrumb>
	<xen:breadcrumb href="{xen:link online}">{xen:phrase current_visitors}</xen:breadcrumb>
</xen:navigation>

<div class="section">
	<h3 class="subHeading">{xen:phrase user}: {$user.username}</h3>
	<xen:include template="content_ip" />
</div>]]></template>
  <template title="open_graph_meta" version_id="1020370" version_string="1.2.3"><![CDATA[<xen:if is="{$xenOptions.facebookAppId} OR {$xenOptions.facebookAdmins}">
	<meta property="og:site_name" content="{$xenOptions.boardTitle}" />
	<xen:if is="{$avatar}"><meta property="og:image" content="{$avatar}" /></xen:if>
	<meta property="og:image" content="{xen:helper fullurl, {xen:property ogLogoPath}, 1}" />
	<meta property="og:type" content="{xen:if $ogType, $ogType, article}" />
	<meta property="og:url" content="{xen:raw $url}" />
	<meta property="og:title" content="{xen:raw $title}" />
	<xen:if is="{$description}"><meta property="og:description" content="{xen:raw $description}" /></xen:if>
	{xen:raw $ogExtraHtml}
	<xen:if is="{$xenOptions.facebookAppId}"><meta property="fb:app_id" content="{$xenOptions.facebookAppId}" /></xen:if>
	<xen:if is="{$xenOptions.facebookAdmins}"><meta property="fb:admins" content="{xen:helper implode, {$xenOptions.facebookAdmins}, ','}" /></xen:if>
</xen:if>]]></template>
  <template title="pagenode.css" version_id="1000070" version_string="1.0.0"><![CDATA[#pageNodeContent
{
	padding: 10px 0;
}

{xen:helper clearfix, '#pageNodeContent'}

	#pageNodeContent .bottomContent
	{
		clear: both;
		padding-top: 10px;
	}
	
	{xen:helper clearfix, '#pageNodeContent .bottomContent'}

	#pageNodeContent .pageCounter
	{
		margin-top: 10px;
		float: right;
		font-size: 11px;
	}
	
		#pageNodeContent .pageCounter dd
		{
			font-weight: normal;
		}
			
/* ------------------- */

#pageNodeNavigation
{
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;	
	font-size: 11px;
	
	padding: 5px;
	border: 1px solid {xen:property primaryLighterStill};
	border-radius: 5px;
	box-shadow: 2px 2px 5px rgba(0,0,0, 0.2);
}

	#pageNodeNavigation li
	{
		_display: inline; /* whitespace bug */
	}
			
/* ------------------- */

.pageStats dt
{
	margin-left: 1em;
}]]></template>
  <template title="pagenode_container" version_id="1030270" version_string="1.3.2"><![CDATA[<xen:title>{$page.title}</xen:title>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
</xen:navigation>

<xen:container var="$head.openGraph">
	<xen:include template="open_graph_meta">
		<xen:set var="$url">{xen:link canonical:pages, $page}</xen:set>
		<xen:set var="$title">{$page.title}</xen:set>
		<xen:set var="$description">{xen:helper stripHtml, {xen:raw $page.description}}</xen:set>
	</xen:include>
</xen:container>

<xen:container var="$quickNavSelected">node-{$page.node_id}</xen:container>

<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $page}</xen:container>

<xen:container var="$head.canonical">
	<link rel="canonical" href="{xen:link 'canonical:pages', $page}" /></xen:container>

<xen:if is="{$page.description}">
	<xen:description class="baseHtml">{xen:raw $page.description}</xen:description>
</xen:if>

<xen:require css="pagenode.css" />

<div id="pageNodeContent">

	<xen:if hascontent="true">
		<div id="pageNodeNavigation" class="secondaryContent">
			<div class="blockLinksList">
			<xen:contentcheck>
			
				<xen:if is="{$listSiblingNodes} && {$siblingNodes}">
				
					<xen:if is="{$parentNode}"><h3 class="parentNode"><a href="{$parentNode.href}"><span class="_depth0 depthPad">{$parentNode.value}</span></a></h3></xen:if>
					
					<ol class="siblingNodes">
						<xen:foreach loop="$siblingNodes" value="$node">
							<li class="{xen:if '{$node.node_id} == {$page.node_id}', 'currentNode', 'siblingNode'}">
								<a href="{xen:link {$node.routePrefix}, $node}" class="{xen:if '{$node.node_id} == {$page.node_id}', 'selected'}">
									<span class="_depth1 depthPad">{$node.title}</span>
								</a>
								<xen:if is="{$listChildNodes} && {$childNodes} && {$node.node_id} == {$page.node_id}">
									<ol class="childNodes">
									<xen:foreach loop="$childNodes" value="$childNode">
										<li class="childNode"><a href="{xen:link {$childNode.routePrefix}, $childNode}">
											<span class="_depth2 depthPad">{$childNode.title}</span>
										</a></li>
									</xen:foreach>
									</ol>
								</xen:if>
							</li>
						</xen:foreach>
					</ol>
					
				<xen:elseif is="{$listChildNodes} && {$childNodes}" />
				
					<ol class="childNodes">
						<xen:foreach loop="$childNodes" value="$childNode">
							<li class="childNode"><a href="{xen:link {$childNode.routePrefix}, $childNode}">
								<span class="_depth0 depthPad">{$childNode.title}</span>
							</a></li>
						</xen:foreach>
					</ol>
					
				</xen:if>
				
			</xen:contentcheck>
			</div>
		</div>
	</xen:if>

	<xen:hook name="pagenode_container_article">
	<article>{xen:raw $templateHtml}</article>
	</xen:hook>
	
	<div class="bottomContent">

		<xen:if is="{$page.log_visits}">
			<div class="pageCounter">
				<dl class="pairsInline pageStats">
					<dt>{xen:phrase published}:</dt> <dd>{xen:date $page.publish_date}</dd>
					<dt>{xen:phrase page_views}:</dt> <dd>{xen:number $page.view_count}</dd>
				</dl>
			</div>
		</xen:if>
	
		<xen:include template="share_page">
			<xen:set var="$url">{xen:link 'canonical:pages', $page}</xen:set>
		</xen:include>
	
	</div>
	
</div>]]></template>
  <template title="PAGE_CONTAINER" version_id="1040370" version_string="1.4.3"><![CDATA[<!DOCTYPE html><xen:set var="$isResponsive" value="{xen:if '{xen:property enableResponsive} AND !{$noResponsive}', 1, 0}" />
<html id="XenForo" lang="{$visitorLanguage.language_code}" dir="{$visitorLanguage.text_direction}" class="Public NoJs {xen:if {$visitor.user_id}, 'LoggedIn', 'LoggedOut'} {xen:if {$sidebar}, 'Sidebar', 'NoSidebar'} {xen:if $hasAutoDeferred, RunDeferred} {xen:if $isResponsive, Responsive, NoResponsive}" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<xen:hook name="page_container_head">
	<meta charset="utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
	<xen:if is="{$isResponsive}">
		<meta name="viewport" content="width=device-width, initial-scale=1" />
	</xen:if>
	<xen:if is="{$requestPaths.fullBasePath}">
		<base href="{$requestPaths.fullBasePath}" />
		<script><xen:comment>/* Chrome bug and for Google cache */</xen:comment>
			var _b = document.getElementsByTagName('base')[0], _bH = "{xen:jsescape $requestPaths.fullBasePath}";
			if (_b && _b.href != _bH) _b.href = _bH;
		</script>
	</xen:if>

	<title><xen:if is="{$title}">{xen:raw $title} | {$xenOptions.boardTitle}<xen:else />{$xenOptions.boardTitle}</xen:if></title>
	
	<noscript><style>.JsOnly, .jsOnly { display: none !important; }</style></noscript>
	<link rel="stylesheet" href="css.php?css=xenforo,form,public&amp;style={xen:urlencode $_styleId}&amp;dir={$visitorLanguage.text_direction}&amp;d={$visitorStyle.last_modified_date}" />
	<!--XenForo_Require:CSS-->	
	{xen:helper ignoredCss, {$visitor.ignoredUsers}}

	<xen:include template="google_analytics" />
	<xen:include template="page_container_js_head" />
	
	<link rel="apple-touch-icon" href="{xen:helper fullurl, {xen:property ogLogoPath}, 1}" />
	<link rel="alternate" type="application/rss+xml" title="{xen:phrase rss_feed_for_x, 'title={$xenOptions.boardTitle}'}" href="{xen:link forums/-/index.rss}" />
	<xen:if is="{$pageDescription.content} AND !{$pageDescription.skipmeta} AND !{$head.description}"><meta name="description" content="{xen:string wordTrim, {xen:helper stripHtml, {xen:raw $pageDescription.content}}, 200}" /></xen:if>
	<xen:if is="{$head}"><xen:foreach loop="$head" value="$headElement">{xen:raw $headElement}</xen:foreach></xen:if>
</xen:hook>
</head>

<body{xen:if {$bodyClasses}, ' class="{$bodyClasses}"'}>
<xen:hook name="body">

<xen:if is="{$visitor.is_moderator} || {$visitor.is_admin}">
	<xen:include template="moderator_bar" />
<xen:elseif is="!{$visitor.user_id} && !{$hideLoginBar}" />
	<xen:include template="login_bar" />
</xen:if>

<div id="headerMover">
	<div id="headerProxy"></div>

<div id="content" class="{$contentTemplate}">
	<div class="pageWidth">
		<div class="pageContent">
			<!-- main content area -->
			
			<xen:hook name="page_container_content_top" />
			
			<xen:if is="{$sidebar}">
				<div class="mainContainer">
					<div class="mainContent"></xen:if>
						
						<xen:include template="ad_above_top_breadcrumb" />
						
						<xen:hook name="page_container_breadcrumb_top">
						<div class="breadBoxTop {xen:if $topctrl, withTopCtrl}">
							<xen:if is="{$topctrl}"><div class="topCtrl">{xen:raw $topctrl}</div></xen:if>
							<xen:include template="breadcrumb"><xen:set var="$microdata">1</xen:set></xen:include>
						</div>
						</xen:hook>
						
						<xen:include template="ad_below_top_breadcrumb" />
					
						<!--[if lt IE 8]>
							<p class="importantMessage">{xen:phrase you_are_using_out_of_date_browser_upgrade}</p>
						<![endif]-->

						<xen:hook name="page_container_notices">
						<xen:include template="notices" />						
						</xen:hook>
						
						<xen:hook name="page_container_content_title_bar">
						<xen:if is="!{$noH1}">						
							<!-- h1 title, description -->
							<div class="titleBar">
								{xen:raw $beforeH1}
								<h1><xen:if
									is="{$h1}">{xen:raw $h1}<xen:elseif
									is="{$title}" />{xen:raw $title}<xen:else
									/>{$xenOptions.boardTitle}</xen:if></h1>
								
								<xen:if is="{$pageDescription.content}"><p id="pageDescription" class="muted {$pageDescription.class}">{xen:raw $pageDescription.content}</p></xen:if>
							</div>
						</xen:if>
						</xen:hook>
						
						<xen:include template="ad_above_content" />
						
						<!-- main template -->
						{xen:raw $contents}
						
						<xen:include template="ad_below_content" />
						
						<xen:if is="!{$visitor.user_id} && !{$hideLoginBar}">
							<!-- login form, to be moved to the upper drop-down -->
							<xen:include template="login_bar_form" />
						</xen:if>
						
					<xen:if is="{$sidebar}"></div>
				</div>
				
				<!-- sidebar -->
				<aside>
					<div class="sidebar">
						<xen:hook name="page_container_sidebar">
						<xen:include template="ad_sidebar_top" />
						<xen:if is="!{$noVisitorPanel}"><xen:include template="sidebar_visitor_panel" /></xen:if>
						{xen:raw $sidebar}
						<xen:include template="ad_sidebar_bottom" />
						</xen:hook>
					</div>
				</aside>
			</xen:if>
			
			<xen:hook name="page_container_breadcrumb_bottom">			
			<div class="breadBoxBottom"><xen:include template="breadcrumb" /></div>
			</xen:hook>
						
			<xen:include template="ad_below_bottom_breadcrumb" />
						
		</div>
	</div>
</div>

<header>
	<xen:include template="header" />
	<xen:edithint template="navigation" />
	<xen:edithint template="search_bar" />
</header>

</div>

<footer>
	<xen:include template="footer" />
</footer>

<xen:include template="page_container_js_body" />

<xen:if is="{$isIndexPage} AND {$canSearch}">
<script type="application/ld+json">
{
	"@context": "http://schema.org",
	"@type": "WebSite",
	"url": "{xen:jsescape {xen:link canonical:index}}",
	"potentialAction": {
		"@type": "SearchAction",
		"target": "{xen:jsescape {xen:link canonical:search/search}}{xen:if $xenOptions.useFriendlyUrls, '?', '&'}keywords={search_keywords}",
		"query-input": "required name=search_keywords"
	}
}
</script>
</xen:if>

</xen:hook>
</body>
</html>]]></template>
  <template title="page_container_js_body" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<script>

<xen:hook name="page_container_js_body">
jQuery.extend(true, XenForo,
{
	visitor: { user_id: {$visitor.user_id} },
	serverTimeInfo:
	{
		now: {$serverTimeInfo.now},
		today: {$serverTimeInfo.today},
		todayDow: {$serverTimeInfo.todayDow}
	},
	_lightBoxUniversal: "{$xenOptions.lightBoxUniversal}",
	_enableOverlays: "{xen:property enableOverlays}",
	_animationSpeedMultiplier: "{xen:property animationSpeedMultiplier}",
	_overlayConfig:
	{
		top: "{xen:property overlayTop}",
		speed: {xen:calc '{xen:property overlaySpeed} * {xen:property animationSpeedMultiplier}'},
		closeSpeed: {xen:calc '{xen:property overlayCloseSpeed} * {xen:property animationSpeedMultiplier}'},
		mask:
		{
			color: "{xen:property overlayMaskColor}",
			opacity: "{xen:property overlayMaskOpacity}",
			loadSpeed: {xen:calc '{xen:property overlaySpeed} * {xen:property animationSpeedMultiplier}'},
			closeSpeed: {xen:calc '{xen:property overlayCloseSpeed} * {xen:property animationSpeedMultiplier}'}
		}
	},
	_ignoredUsers: {xen:helper json, $visitor.ignoredUsers},
	_loadedScripts: {/*<!--XenForo_Required_Scripts-->*/},
	_cookieConfig: { path: "{xen:jsescape $xenOptions.cookieConfig.path}", domain: "{xen:jsescape $xenOptions.cookieConfig.domain}", prefix: "{xen:jsescape $xenOptions.cookieConfig.prefix}"},
	_csrfToken: "{xen:jsescape $visitor.csrf_token_page}",
	_csrfRefreshUrl: "{xen:jsescape {xen:link login/csrf-token-refresh}}",
	_jsVersion: "{$xenOptions.jsVersion}"
});
jQuery.extend(XenForo.phrases,
{
	cancel: "{xen:jsescape {xen:phrase cancel}}",

	a_moment_ago:    "{xen:jsescape {xen:phrase a_moment_ago}}",
	one_minute_ago:  "{xen:jsescape {xen:phrase one_minute_ago}}",
	x_minutes_ago:   "{xen:jsescape {xen:phrase x_minutes_ago, 'minutes=%minutes%'}}",
	today_at_x:      "{xen:jsescape {xen:phrase today_at_x, 'time=%time%'}}",
	yesterday_at_x:  "{xen:jsescape {xen:phrase yesterday_at_x, 'time=%time%'}}",
	day_x_at_time_y: "{xen:jsescape {xen:phrase day_x_at_time_y, 'day=%day%', 'time=%time%'}}",

	day0: "{xen:jsescape {xen:phrase day_sunday}}",
	day1: "{xen:jsescape {xen:phrase day_monday}}",
	day2: "{xen:jsescape {xen:phrase day_tuesday}}",
	day3: "{xen:jsescape {xen:phrase day_wednesday}}",
	day4: "{xen:jsescape {xen:phrase day_thursday}}",
	day5: "{xen:jsescape {xen:phrase day_friday}}",
	day6: "{xen:jsescape {xen:phrase day_saturday}}",

	_months: "{xen:jsescape '{xen:phrase month_1},{xen:phrase month_2},{xen:phrase month_3},{xen:phrase month_4},{xen:phrase month_5},{xen:phrase month_6},{xen:phrase month_7},{xen:phrase month_8},{xen:phrase month_9},{xen:phrase month_10},{xen:phrase month_11},{xen:phrase month_12}'}",
	_daysShort: "{xen:jsescape '{xen:phrase day_sunday_short},{xen:phrase day_monday_short},{xen:phrase day_tuesday_short},{xen:phrase day_wednesday_short},{xen:phrase day_thursday_short},{xen:phrase day_friday_short},{xen:phrase day_saturday_short}'}",

	following_error_occurred: "{xen:jsescape {xen:phrase following_error_occurred}}",
	server_did_not_respond_in_time_try_again: "{xen:jsescape {xen:phrase server_did_not_respond_in_time_try_again}}",
	logging_in: "{xen:jsescape {xen:phrase logging_in}}",
	click_image_show_full_size_version: "{xen:jsescape {xen:phrase click_image_show_full_size_version}}",
	show_hidden_content_by_x: "{xen:jsescape {xen:phrase show_hidden_content_by_x}}"
});

// Facebook Javascript SDK
XenForo.Facebook.appId = "{xen:jsescape $xenOptions.facebookAppId}";
XenForo.Facebook.forceInit = {xen:if $facebookSdk, true, false};
</xen:hook>

</script>]]></template>
  <template title="page_container_js_head" version_id="1010270" version_string="1.1.2"><![CDATA[	<script src="{$jQuerySource}"></script>	
	<xen:if is="{$jQuerySource} != {$jQuerySourceLocal}">
		<script>if (!window.jQuery) { document.write('<scr'+'ipt type="text/javascript" src="{$jQuerySourceLocal}"><\/scr'+'ipt>'); }</script>
	</xen:if><xen:if is="{$xenOptions.uncompressedJs} == 1 OR {$xenOptions.uncompressedJs} == 3">
	<script src="{$javaScriptSource}/jquery/jquery.xenforo.rollup.js?_v={$xenOptions.jsVersion}"></script></xen:if>	
	<script src="{xen:helper javaScriptUrl, '{$javaScriptSource}/xenforo/xenforo.js?_v={$xenOptions.jsVersion}'}"></script>
<!--XenForo_Require:JS-->]]></template>
  <template title="page_nav" version_id="1040370" version_string="1.4.3"><![CDATA[<xen:edithint template="page_nav.css" />

<xen:if is="{$pageTotal} > 1">
<div class="PageNav{xen:if '{$maxDigits} > 4', ' pn{$maxDigits}'}"
	data-page="{$currentPage}"
	data-range="{$range}"
	data-start="{$startPage}"
	data-end="{$endPage}"
	data-last="{$pageTotal}"
	data-sentinel="{$pageNumberSentinel}"
	data-baseurl="{xen:link $linkType, $linkData, '_params={$linkParams}', 'page={$pageNumberSentinel}'}">
	
	<span class="pageNavHeader">{xen:phrase page_x_of_y, 'current={$currentPage}', 'total={$pageTotal}'}</span>
	
	<nav>
		<xen:if is="{$prevPage}">
			<a href="{xen:link $linkType, $linkData, '_params={$linkParams}', 'page={xen:if "{$prevPage} > 1", $prevPage}'}" class="text">&lt; {xen:phrase prev}</a>
			<xen:container var="$head.prev"><link rel="prev" href="{xen:link $linkType, $linkData, '_params={$linkParams}', 'page={xen:if "{$prevPage} > 1", $prevPage}'}" /></xen:container>
		</xen:if>
		
		<a href="{xen:link $linkType, $linkData, '_params={$linkParams}'}" class="{xen:if '1 == {$currentPage}', 'currentPage '}" rel="start">1</a>
		
		<xen:if is="{$pageTotal} > {$scrollThreshold}">
			<a class="PageNavPrev {xen:if '{$startPage} <= 2', hidden}">&larr;</a> <span class="scrollable"><span class="items">
		</xen:if>
		
		<xen:foreach loop="{$pages}" value="{$pageNumber}">
			<a href="{xen:link $linkType, $linkData, '_params={$linkParams}', 'page={$pageNumber}'}" class="{xen:if '{$pageNumber} == {$currentPage}', 'currentPage '}{xen:if '{$pageNumber} > 999', 'gt999 '}">{$pageNumber}</a>
		</xen:foreach>
		
		<xen:if is="{$pageTotal} > {$scrollThreshold}">
			</span></span> <a class="PageNavNext {xen:if '{$endPage} + 1 >= {$pageTotal}', hidden}">&rarr;</a>
		</xen:if>
		
		<a href="{xen:link $linkType, $linkData, '_params={$linkParams}', 'page={$pageTotal}'}" class="{xen:if '{$pageTotal} == {$currentPage}', 'currentPage '}{xen:if '{$pageTotal} > 999', 'gt999 '}">{$pageTotal}</a>
		
		<xen:if is="{$nextPage}">
			<a href="{xen:link $linkType, $linkData, '_params={$linkParams}', 'page={$nextPage}'}" class="text">{xen:phrase next} &gt;</a>
			<xen:container var="$head.next"><link rel="next" href="{xen:link $linkType, $linkData, '_params={$linkParams}', 'page={$nextPage}'}" /></xen:container>
		</xen:if>
	</nav>	
	
	<xen:if is="{$unreadLinkHtml}">
		<a href="{xen:raw $unreadLinkHtml}" class="text distinct unreadLink">{xen:phrase go_to_first_unread}</a>
	</xen:if>
</div>
<xen:elseif is="{$unreadLinkHtml}" />
<div class="PageNav"><a href="{xen:raw $unreadLinkHtml}" class="text unreadLink">{xen:phrase go_to_first_unread}</a></div>
</xen:if>]]></template>
  <template title="page_nav.css" version_id="1020034" version_string="1.2.0 Beta 4"><![CDATA[.PageNav
{
	{xen:property pageNav}
}

	.PageNav .hidden
	{
		display: none;
	}
	
	.PageNav .pageNavHeader,
	.PageNav a,
	.PageNav .scrollable
	{
		display: block;
		float: left;
		margin-right: {xen:property pageNavLinkSpacing};
	}
	
	.PageNav .pageNavHeader
	{
		padding: 1px 0;
	}

	.PageNav a
	{		
		{xen:property pageNavItem}
		
		
		width: {xen:property pageNavLinkWidth};
	}
	
	/*
		@property "pageNavPage";

		@property "/pageNavPage";
		*/
	
		.PageNav a[rel=start]
		{
			width: {xen:property pageNavLinkWidth} !important;
		}

		.PageNav a.text
		{
			width: auto !important;
			padding: 0 4px;
		}
	
		.PageNav a
		{
		}
		
		.PageNav a.currentPage
		{
			{xen:property pageNavCurrentPage}
		}

		a.PageNavPrev,
		a.PageNavNext
		{
			{xen:property pageNavScroller}
			
			width: {xen:property pageNavLinkWidth} !important;
		}
		
		.PageNav a:hover,
		.PageNav a:focus
		{
			{xen:property pageNavPageHover}
		}
		
	.PageNav a.distinct
	{
		margin-left: {xen:property pageNavLinkSpacing};
	}
			
	.PageNav .scrollable
	{
		position: relative;
		overflow: hidden;
		width: {xen:calc '({xen:property pageNavLinkWidth} * 5) + ({xen:property pageNavLinkSpacing} * 4) + ({xen:property pageNavItem.border-width} * 10)'}px; /* width of 5 page numbers plus their margin & border */
		height: 18px; /* only needs to be approximate */
	}
	
		.PageNav .scrollable .items
		{
			display: block;
			width: 20000em; /* contains scrolling items, should be huge */
			position: absolute;
			display: block;
		}
		
/** Edge cases - large numbers of digits **/

.PageNav .gt999 
{
	font-size: 9px;
	letter-spacing: -0.05em; 
}

.PageNav.pn5 a { width: {xen:calc '5 * 4 + 9'}px; } .PageNav.pn5 .scrollable { width: {xen:calc '(5 * 4 + 9) * 5 + ({xen:property pageNavLinkSpacing} * 4) + ({xen:property pageNavItem.border-width} * 10)'}px; }
.PageNav.pn6 a { width: {xen:calc '6 * 4 + 9'}px; } .PageNav.pn6 .scrollable { width: {xen:calc '(6 * 4 + 9) * 5 + ({xen:property pageNavLinkSpacing} * 4) + ({xen:property pageNavItem.border-width} * 10)'}px; }
.PageNav.pn7 a { width: {xen:calc '7 * 4 + 9'}px; } .PageNav.pn7 .scrollable { width: {xen:calc '(7 * 4 + 9) * 5 + ({xen:property pageNavLinkSpacing} * 4) + ({xen:property pageNavItem.border-width} * 10)'}px; }

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveMediumWidth})
{
	.Responsive .PageNav .pageNavHeader
	{
		display: none;
	}
}

@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .PageNav .unreadLink
	{
		display: none;
	}
}
</xen:if>]]></template>
  <template title="panel.css" version_id="0" version_string=""><![CDATA[.xenPanel
{
	background-color:
		rgb(235,235,235);
	border:
		solid 1px silver;
	border-radius:
		5px;
}]]></template>
  <template title="panel_scroller.css" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[.hasJs #Notices.PanelScroller { display: none; }

.PanelScroller .scrollContainer,
.PanelScrollerOff .panel
{
	{xen:property panelScroller}
}

.PanelScroller .PanelContainer
{
	position: relative;
	clear: both;
	width: 100%;
	overflow: auto;
}

	.hasJs .PanelScroller .Panels
	{
		position: absolute;
	}

	.PanelScroller .Panels
	{
		clear: both;
		margin: 0;
		padding: 0;
	}
	
		.PanelScroller .panel,
		.PanelScrollerOff .panel
		{
			overflow: hidden;
			position: relative;
			padding: 0 !important;

			{xen:property panelScrollerPanel}
		}
			
		.PanelScroller .panel .noticeContent,
		.PanelScrollerOff .panel .noticeContent
		{
			{xen:property panelScrollerPanel.padding}
		}

/** panel scroller nav **/

.PanelScroller .navContainer
{
	{xen:property panelScrollerNavContainer}
}

.PanelScroller .navControls
{
	float: right;
}

{xen:helper clearfix, '.PanelScroller .navControls'}

	.PanelScroller .navControls a
	{
		{xen:property panelScrollerNavControl}
		
		{xen:property panelScroller.border}
		border-radius: 0;
	}
	
		.PanelScroller .navControls > a:first-child
		{
			border-bottom-left-radius: {xen:property panelScroller.border-bottom-left-radius};
		}
		
		.PanelScroller .navControls > a:last-child
		{
			border-bottom-right-radius: {xen:property panelScroller.border-bottom-right-radius};
		}
		
		.PanelScroller .navControls a:hover
		{
			{xen:property panelScrollerNavControlHover}
		}
		
		.PanelScroller .navControls a.current
		{
			{xen:property panelScrollerNavControlCurrent}
		}
		
			.PanelScroller .navControls a .arrow
			{
				display: none;
			}
			
			.PanelScroller .navControls a.current span
			{
				display: block;
				line-height: 0px;
				width: 0px;
				height: 0px;
				border-top: 5px solid {xen:property primaryLighter};
				border-right: 5px solid transparent;
				border-bottom: 1px none black;
				border-left: 5px solid transparent;
				-moz-border-bottom-colors: {xen:property primaryLighter};
				position: absolute;
			}
			
			.PanelScroller .navControls a.current .arrow
			{
				border-top-color: {xen:property panelScroller.border-color};
				top: 0px;
				left: 50%;
				margin-left: -5px;
			}
			
				.PanelScroller .navControls a .arrow span
				{
					border-top-color: {xen:property panelScroller.background-color};
					top: -6px;
					left: -5px;
				}
				
/* notices */

#Notices .panel .noticeContent
{
	padding-right: 25px;
}]]></template>
  <template title="permalink.css" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[.permalinkInfo .tabs
{
	margin: 10px 0;
}

.permalinkInfo .textCtrl.permalink
{
	font-size: 13pt;
}

.permalinkInfo label .explain
{
	display: block;
	margin: 2px 4px 0;
	font-size: 11px;
	color: {xen:property mutedTextColor};
}
]]></template>
  <template title="polls.css" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[.pollBlock .pollContent
{
	max-width: 580px;
	margin: 0 auto;
	position: relative;
	padding-left: 50px;
}

.pollBlock .questionMark
{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 40px;
	height: 40px;
	line-height: 40px;
	background: {xen:property primaryLighterStill};
	color: {xen:property primaryDark};
	border-radius: 5px;
	text-align: center;
	font-size: 24pt;
	font-family: Georgia;
}

.pollBlock .pollNotes
{
	font-size: 11px;
}

.pollBlock .question
{
	overflow: hidden; zoom: 1;
}

	.pollBlock .question .questionText
	{
		float: left;
		font-size: 16pt;
		color: {xen:property primaryLight};
	}

	.pollBlock .question .editLink
	{
		font-size: 11px;
		float: right;
	}
	
	.pollBlock .question .closeDate
	{
		clear: both;
		font-size: 11px;
	}
	
.pollBlock .pollOptions,
.pollBlock .pollResults
{
	width: 100%;
	table-layout: fixed;
	display: table;
	margin: 5px 0;
	padding: 5px 0;
	border-top: 1px solid {xen:property primaryLighterStill};
	border-bottom: 1px solid {xen:property primaryLighterStill};
}

	.pollBlock .pollOption label
	{
		display: block;
		margin: 0 -10px;
		padding: 5px 10px;
	}
	
	.pollBlock .pollOption label:hover
	{
		background: {xen:property primaryLighterStill};
		border-radius: 5px;
	}

.pollBlock .buttons
{
	text-align: right;
	line-height: 27px;
	display: table;
	width: 100%;
}
	
.pollBlock .buttons .button
{
	min-width: 120px;
	_width: 120px;
}

	.pollBlock .buttons .pollNotes
	{
		float: left;
		text-align: left;
		line-height: 1.28;
		margin-right: 5px;
		margin-top: 5px;
	}
	
.pollBlock .pollResult
{
	display: table-row;
}

.pollBlock .pollResult div,
.pollBlock .pollResult h3
{
	display: table-cell;
	padding: 5px 0;
}
	
	.pollBlock .votedIconCell
	{
		width: 15px;
		text-align: center;
		vertical-align: top;
	}
	
	.pollBlock .optionText,
	.pollBlock .questionText
	{
		max-width: 100%;
	}

	.pollBlock .voted .optionText,
	.pollBlock .voted .votedIconCell
	{
		font-weight: bold;
	}

	.pollBlock .pollResult .barCell
	{
		width: 100px;
		padding: 0 0 0 10px;
	}
		
		.pollResult .barContainer
		{
			height: 11px;
			display: inline-block;
			zoom: 1;
			vertical-align: middle;
			border: 1px solid {xen:property secondaryMedium};
			max-width: 100px;
			width: 100%;
			box-sizing: border-box;
			margin-right: 5px;
			font-size: 1px;
		}
		
			.pollResult .bar
			{
				background: {xen:property secondaryLighter};
				height: 9px;
				display: block;
				zoom: 1;
			}

	.pollBlock .pollResult .count,
	.pollBlock .pollResult .percentage
	{
		word-wrap: break-word;
		text-align: right;
		padding-left: 10px;
	}
	
	.pollBlock .pollResult .count
	{
		width: 80px;
	}
	
	.pollBlock .pollResult .percentage
	{
		width: 50px;
	}

.xenOverlay > .PollContainer > .section,
.xenOverlay > .PollContainer > .sectionMain
{
	background: none;
	margin: 0;
}

.overlayScroll.pollResultsOverlay 
{
	padding-right: 10px;
}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .pollBlock .pollResult .optionText
	{
		border-top: solid 1px {xen:property primaryLighterStill};
	}
	
	.Responsive .pollBlock .pollResult:first-child .optionText
	{
		border-top: none;
	}
	
	.Responsive .pollBlock .pollResult .optionText
	{
		display: block;
	}
	
	.Responsive .pollBlock .pollResult .barCell
	{
		padding: 0;
	}
	
	.Responsive .pollBlock .pollResult .barCell,
	.Responsive .pollBlock .pollResult .count,
	.Responsive .pollBlock .pollResult .percentage
	{
		display: inline-block;
		font-size: 11px;
	}
}
</xen:if>]]></template>
  <template title="poll_block" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:require css="polls.css" />
<xen:require js="js/xenforo/discussion.js" /><xen:comment>For poll vote</xen:comment>

<div class="NoAutoHeader PollContainer">
	<form action="{xen:link threads/poll/vote, $thread}" method="post"
	class="sectionMain pollBlock AutoValidator PollVoteForm" data-max-votes="{$poll.max_votes}">
	
		<div class="secondaryContent">	
			<div class="pollContent">
				<div class="questionMark">?</div>
			
				<div class="question">
					<h2 class="questionText">{$poll.question}</h2>
					<xen:if is="{$poll.canEdit}"><a href="{xen:link threads/poll/edit, $thread}" class="editLink">{xen:phrase edit}</a></xen:if>
					
					<xen:if is="{$poll.close_date}">
						<div class="pollNotes closeDate muted">
							<xen:if is="{$poll.open}">
								{xen:phrase this_poll_will_close_on_x, 'close_date={xen:datetime $poll.close_date, absolute}'}
							<xen:else />
								{xen:phrase this_poll_closed_on_x, 'close_date={xen:datetime $poll.close_date}'}
							</xen:if>
						</div>
					</xen:if>
				</div>
					
				{xen:raw $options}
			</div>
		</div>
	
		<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	</form>
</div>]]></template>
  <template title="poll_block_result" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:edithint template="polls.css" />

<div class="overlayScroll pollResultsOverlay">

	<ol class="pollResults {xen:if '!{$poll.canViewResults}', noResults}">
	<xen:foreach loop="$poll.responses" key="$pollResponseId" value="$response">
		<li class="pollResult {xen:if $response.hasVoted, voted}">
			<xen:if is="{$response.hasVoted}">
				<div class="votedIconCell" title="{xen:phrase your_vote}">*</div>
			<xen:else />
				<div class="votedIconCell"></div>
			</xen:if>
			<h3 class="optionText" {xen:if $response.hasVoted, 'title="{xen:phrase your_vote}"'}>
				{$response.response}
			</h3>
			<xen:if is="{$poll.canViewResults}">
				<div class="barCell">
					<span class="barContainer">
						<xen:if is="{$response.response_vote_count}"><span class="bar" style="width: {xen:calc "100 * {$response.response_vote_count} / {$poll.voter_count}"}%"></span></xen:if>
					</span>
				</div>
				<div class="count">
					<xen:if is="{$poll.public_votes} AND {$response.response_vote_count}">
						<a href="{xen:link threads/poll/results, $thread, 'poll_response_id={$pollResponseId}'}" class="concealed OverlayTrigger">{xen:phrase x_votes, 'count={xen:number $response.response_vote_count}'}</a>
					<xen:else />
						{xen:phrase x_votes, 'count={xen:number $response.response_vote_count}'}
					</xen:if>
				</div>
				<div class="percentage">
					<xen:if is="{$poll.voter_count}">
						{xen:number {xen:calc "100 * {$response.response_vote_count} / {$poll.voter_count}"}, 1}%
					<xen:else />
						{xen:number 0, 1}%
					</xen:if>
				</div>
			</xen:if>
		</li>
	</xen:foreach>
	</ol>
	
	<div class="buttons">
		<xen:if hascontent="true">
			<div class="pollNotes">
			<xen:contentcheck>
				<xen:if is="{$poll.max_votes} != 1">
					<span class="multipleNote muted">{xen:phrase multiple_votes_allowed}</span>
				</xen:if>
				<xen:if is="!{$poll.canViewResults}">
					<div class="noResultsNote muted">{xen:phrase results_only_viewable_after_voting}</div>
				</xen:if>
			</xen:contentcheck>
			</div>
		</xen:if>
		
		<xen:if is="{$poll.canVote}">
			<a href="{xen:link threads/poll/vote, $thread}" class="button PollChangeVote nonOverlayOnly">{xen:phrase change_your_vote}</a>
		</xen:if>
	</div>
</div>]]></template>
  <template title="poll_block_vote" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:edithint template="polls.css" />
		
<div>		
	<ol class="pollOptions">
		<xen:foreach loop="$poll.responses" key="$pollResponseId" value="$response">
			<li class="pollOption"><label><xen:if is="{$poll.max_votes} != 1">
				<input type="checkbox" name="response_multiple[]" class="PollResponse" value="{$pollResponseId}" /><xen:else />
				<input type="radio" name="response" value="{$pollResponseId}" /></xen:if>
				{$response.response}</label></li>				
		</xen:foreach>
	</ol>
	
	<div class="buttons">
		<xen:if hascontent="true">
			<div class="pollNotes">
			<xen:contentcheck>
				<xen:if is="{$poll.max_votes} == 0 OR {$poll.max_votes} > count({$poll.responses})">
					<span class="multipleNote muted">{xen:phrase multiple_votes_allowed}</span>
				<xen:elseif is="{$poll.max_votes} > 1"/>
					<span class="multipleNote muted">{xen:phrase you_may_select_up_to_x_choices, 'max={$poll.max_votes}'}</span>
				</xen:if>
				<xen:if is="{$poll.public_votes}">
					<span class="publicWarning muted">{xen:phrase your_vote_will_be_publicly_visible}</span>
				</xen:if>
				<xen:if is="!{$poll.canViewResults}">
					<div class="noResultsNote muted">{xen:phrase results_only_viewable_after_voting}</div>
				</xen:if>
			</xen:contentcheck>
			</div>
		</xen:if>
			
		<input type="submit" class="button primary" value="{xen:phrase cast_your_vote}" accesskey="s" />
		<xen:if is="{$poll.canViewResults}">
			<input type="button" value="{xen:phrase view_results}" class="button OverlayTrigger JsOnly" data-href="{xen:link threads/poll/results, $thread}" />
			<noscript><a href="{xen:link threads/poll/results, $thread}" class="button">{xen:phrase view_results}</a></noscript>
		</xen:if>
	</div>
</div>]]></template>
  <template title="post" version_id="1030052" version_string="1.3.0 Release Candidate 2"><![CDATA[<xen:include template="message">

	<xen:map from="$post" to="$message" />

	<xen:set var="$messageId">post-{$post.post_id}</xen:set>
	
	<xen:set var="$likesUrl">{xen:link posts/likes, $post}</xen:set>
	
	<xen:set var="$messageContentAfterTemplate"><xen:if is="{$post.attachments}"><xen:include template="attached_files" /></xen:if></xen:set>
	
	<xen:set var="$messageAfterTemplate">
				
		<div class="messageMeta ToggleTriggerAnchor">
			
			<div class="privateControls">
				<xen:if is="{$post.canInlineMod}"><input type="checkbox" name="posts[]" value="{$post.post_id}" class="InlineModCheck item" data-target="#post-{$post.post_id}" title="{xen:phrase select_this_post_by_x, 'name={$post.username}'}" /></xen:if>
				<span class="item muted">
					<span class="authorEnd"><xen:username user="$post" class="author" />,</span>
					<a href="{xen:link threads/post-permalink, $thread, 'post={$post}'}" title="{xen:phrase permalink}" class="datePermalink"><xen:datetime time="$post.post_date" /></a>
				</span>
				<xen:hook name="post_private_controls" params="{xen:array 'post={$post}'}">
				<xen:if is="{$post.canEdit}">
					<a href="{xen:link posts/edit, $post}" class="item control edit {xen:if $xenOptions.messageInlineEdit, OverlayTrigger}"
						data-href="{xen:link posts/edit-inline, $post}" data-overlayOptions="{&quot;fixed&quot;:false}"
						data-messageSelector="#post-{$post.post_id}"><span></span>{xen:phrase edit}</a>
					<xen:require js="js/xenforo/discussion.js" />
				</xen:if>
				<xen:if is="{$post.edit_count} && {$post.canViewHistory}"><a href="{xen:link posts/history, $post}" class="item control history ToggleTrigger"><span></span>{xen:phrase history}</a></xen:if>
				<xen:if is="{$post.canDelete}"><a href="{xen:link posts/delete, $post}" class="item control delete OverlayTrigger"><span></span>{xen:phrase delete}</a></xen:if>
				<xen:if is="{$post.canCleanSpam}"><a href="{xen:link spam-cleaner, $post}" class="item control deleteSpam OverlayTrigger"><span></span>{xen:phrase spam}</a></xen:if>
				<xen:if is="{$canViewIps} AND {$post.ip_id}"><a href="{xen:link posts/ip, $post}" class="item control ip OverlayTrigger"><span></span>{xen:phrase ip}</a></xen:if>
				
				<xen:if is="{$post.canWarn}">
					<a href="{xen:link members/warn, $post, 'content_type=post', 'content_id={$post.post_id}'}" class="item control warn"><span></span>{xen:phrase warn}</a>
				<xen:elseif is="{$post.warning_id} && {$canViewWarnings}" />
					<a href="{xen:link warnings, $post}" class="OverlayTrigger item control viewWarning"><span></span>{xen:phrase view_warning}</a>
				</xen:if>
				<xen:if is="{$post.canReport}">
					<a href="{xen:link posts/report, $post}" class="OverlayTrigger item control report" data-cacheOverlay="false"><span></span>{xen:phrase report}</a>
				</xen:if>
				
				</xen:hook>
			</div>
			
			<div class="publicControls">
				<a href="{xen:link threads/post-permalink, $thread, 'post={$post}'}" title="{xen:phrase permalink}" class="item muted postNumber hashPermalink OverlayTrigger" data-href="{xen:link posts/permalink, $post}">#{xen:calc '{$post.position} + 1'}</a>
				<xen:hook name="post_public_controls" params="{xen:array 'post={$post}'}">
				<xen:if is="{$post.canLike}">
					<a href="{xen:link posts/like, $post}" class="LikeLink item control {xen:if $post.like_date, unlike, like}" data-container="#likes-post-{$post.post_id}"><span></span><span class="LikeLabel">{xen:if $post.like_date, {xen:phrase unlike}, {xen:phrase like}}</span></a>
				</xen:if>
				<xen:if is="{$canReply}">
					<xen:if is="{$xenOptions.multiQuote}"><a href="{xen:link threads/reply, $thread, 'quote={$post.post_id}'}"
						data-messageid="{$post.post_id}"
						class="MultiQuoteControl JsOnly item control"
						title="{xen:phrase toggle_multi_quote_tooltip}"><span></span><span class="symbol">{xen:phrase multiquote_add}</span></a></xen:if>
					<a href="{xen:link threads/reply, $thread, 'quote={$post.post_id}'}"
						data-postUrl="{xen:link posts/quote, $post}"
						data-tip="#MQ-{$post.post_id}"
						class="ReplyQuote item control reply"
						title="{xen:phrase reply_quoting_this_message}"><span></span>{xen:phrase reply}</a>
				</xen:if>
				</xen:hook>
			</div>
		</div>
	</xen:set>
	
</xen:include>]]></template>
  <template title="post_delete" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:title>{xen:phrase delete_post_by_x, 'name={$post.username}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
	<xen:breadcrumb href="{xen:link full:posts, $post}">{xen:helper threadPrefix, $thread}{$thread.title}</xen:breadcrumb>
</xen:navigation>

<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container>
<xen:container var="$searchBar.thread"><xen:include template="search_bar_thread_only" /></xen:container>
<xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container>

<form action="{xen:link 'posts/delete', $post}" method="post" class="xenForm formOverlay" id="delete-post">

	<xen:include template="helper_deletion_type_unit" />
	
	<xen:if is="{$post.message_state} == 'visible' AND {$post.user_id} AND {$post.user_id} != {$visitor.user_id}">
		<xen:include template="helper_post_mod_action_alert">
			<xen:set var="$alertDefault" value="0" />
		</xen:include>
	</xen:if>

	<xen:if is="{$post.isFirst}">
		<h3 class="subHeading"><em>{xen:phrase note}</em>: {xen:phrase this_is_first_post_in_thread}</h3>
	</xen:if>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd>
			<input type="submit" value="{xen:phrase delete_post}" class="button primary" />
		</dd>
	</dl>

	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	<input type="hidden" name="redirect" value="{$redirect}" />
</form>]]></template>
  <template title="post_deleted" version_id="0" version_string=""><![CDATA[<xen:include template="post" />]]></template>
  <template title="post_deleted_placeholder" version_id="1000011" version_string="1.0.0 Alpha 1"><![CDATA[<xen:include template="message_deleted_placeholder">

	<xen:map from="$post" to="$message" />
	
	<xen:set var="$messageId">post-{$post.post_id}</xen:set>
	
	<xen:set var="$messageControlsTemplate">
		<xen:if is="{$post.canInlineMod}"><input type="checkbox" name="posts[]" value="{$post.post_id}" class="InlineModCheck item" title="{xen:phrase select_this_post}" data-target="#post-{$post.post_id}" /></xen:if>
		
		<xen:datetime time="$post.post_date" class="muted item" />
		
		<a href="{xen:link threads/show-posts, $thread, 'post_id={$post.post_id}'}" class="MessageLoader control item show" data-messageSelector="#post-{$post.post_id}"><span></span>{xen:phrase show}</a>		
	</xen:set>

</xen:include>]]></template>
  <template title="post_edit" version_id="1040470" version_string="1.4.4"><![CDATA[<xen:title>{xen:phrase edit_post_by_x, 'name={$post.username}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
	<xen:breadcrumb href="{xen:link full:posts, $post}">{xen:helper threadPrefix, $thread}{$thread.title}</xen:breadcrumb>
</xen:navigation>

<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container>
<xen:container var="$searchBar.thread"><xen:include template="search_bar_thread_only" /></xen:container>
<xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container>

<form action="{xen:link 'posts/save', $post}" method="post" class="xenForm Preview AutoValidator"
	data-previewUrl="{xen:link 'posts/edit/preview', $post}" data-redirect="on">

	<fieldset>
		<dl class="ctrlUnit fullWidth surplusLabel">
			<dt><label for="ctrl_message">{xen:phrase message}:</label></dt>
			<dd>{xen:raw $editorTemplate}</dd>
		</dl>
	</fieldset>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd>
			<input type="submit" value="{xen:phrase save_changes}" accesskey="s" class="button primary" />
			<xen:include template="attachment_upload_button" />
			<input type="button" value="{xen:phrase preview}..." class="button PreviewButton JsOnly" />
		</dd>
	</dl>

	<xen:if is="{$attachmentParams}">
		<dl class="ctrlUnit AttachedFilesUnit">
			<dt>{xen:phrase attached_files}:</dt>
			<dd><xen:include template="attachment_editor" /></dd>
		</dl>
	</xen:if>

	<xen:if is="{$canSilentEdit}">
		<xen:include template="helper_edit_silent" />
	</xen:if>

	<xen:if is="{$visitor.user_id}">
		<fieldset>
			<dl class="ctrlUnit">
				<dt>{xen:phrase options}:</dt>
				<dd><ul>
					<li><xen:include template="helper_thread_watch_input" /></li>
				</ul></dd>
			</dl>
		</fieldset>
	</xen:if>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd>
			<input type="submit" value="{xen:phrase save_changes}" accesskey="s" class="button primary" />
			<input type="button" value="{xen:phrase preview}..." class="button PreviewButton JsOnly" />
		</dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="post_edit_inline" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:title>{xen:phrase edit_post_by_x, 'name={$post.username}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
	<xen:breadcrumb href="{xen:link full:posts, $post}">{xen:helper threadPrefix, $thread}{$thread.title}</xen:breadcrumb>
</xen:navigation>

<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container>
<xen:container var="$searchBar.thread"><xen:include template="search_bar_thread_only" /></xen:container>
<xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container>

<form action="{xen:link 'posts/save-inline', $post}" method="post" class="section AutoValidator InlineMessageEditor NoAutoHeader">

	<h2 class="heading overlayOnly">{xen:phrase edit_post_by_x, 'name={$post.username}'}</h2>

	<div class="primaryContent messageContainer">{xen:raw $editorTemplate}</div>
	
	<xen:if is="{$canSilentEdit}">
		<xen:include template="helper_edit_silent">
			<xen:set var="$extraClasses">secondaryContent</xen:set>
		</xen:include>
	</xen:if>

	<div class="sectionFooter">
		<span class="buttonContainer">
			<input type="submit" value="{xen:phrase save_changes}" accesskey="s" class="button primary" />
			<input type="submit" value="{xen:phrase more_options}..." name="more_options" class="button JsOnly" />
			<input type="button" value="{xen:phrase cancel}" class="button OverlayCloser" accesskey="r" />
		</span>
	</div>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="post_edit_preview" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<div class="section">
	<h3 class="subHeading">{xen:phrase preview}</h3>
	<div class="messageText primaryContent baseHtml">{xen:raw $messageParsed}</div>
</div>]]></template>
  <template title="post_ip" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<xen:title>{xen:phrase ip_information_for_post,
	'number={xen:calc "{$post.position} + 1"}',
	'user={$post.username}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
	<xen:breadcrumb href="{xen:link posts, $post}">{xen:helper threadPrefix, $thread}{$thread.title}</xen:breadcrumb>
</xen:navigation>

<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container>
<xen:container var="$searchBar.thread"><xen:include template="search_bar_thread_only" /></xen:container>
<xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container>

<div class="section">
	<h3 class="subHeading">{xen:phrase thread}: {xen:helper threadPrefix, $thread}{$thread.title}</h3>
	<xen:include template="content_ip">
		<xen:map from="$post" to="$content" />
	</xen:include>
</div>]]></template>
  <template title="post_like" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<xen:title>{xen:helper threadPrefix, $thread, escaped}{$thread.title} - {xen:if $like, '{xen:phrase unlike_post}', '{xen:phrase like_post}'}</xen:title>
<xen:h1>{xen:if $like, '{xen:phrase unlike_post}', '{xen:phrase like_post}'}</xen:h1>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
	<xen:breadcrumb href="{xen:link full:posts, $post}">{xen:helper threadPrefix, $thread}{$thread.title}</xen:breadcrumb>
</xen:navigation>

<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container>
<xen:container var="$searchBar.thread"><xen:include template="search_bar_thread_only" /></xen:container>
<xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container>

<form action="{xen:link 'posts/like', $post}" method="post" class="xenForm">

	<dl class="ctrlUnit fullWidth surplusLabel">
		<dt></dt>
		<dd>
			<xen:if is="{$like}">
				{xen:phrase you_sure_you_want_to_unlike_this_post}
			<xen:else />
				{xen:phrase you_sure_you_want_to_like_this_post}
			</xen:if>
		</dd>
	</dl>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:if $like, '{xen:phrase unlike_post}', '{xen:phrase like_post}'}" accesskey="s" class="button primary" autofocus="true" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="post_likes" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<xen:title>{xen:helper threadPrefix, $thread, escaped}{$thread.title} - {xen:phrase members_who_liked_message_x, "position={xen:calc '{$post.position} + 1'}"}</xen:title>
<xen:h1>{xen:phrase members_who_liked_message_x, "position={xen:calc '{$post.position} + 1'}"}</xen:h1>

<xen:container var="$head.noindex">
	<meta name="robots" content="noindex" /></xen:container>
<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container>
<xen:container var="$searchBar.thread"><xen:include template="search_bar_thread_only" /></xen:container>
<xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
	<xen:breadcrumb href="{xen:link full:posts, $post}">{xen:helper threadPrefix, $thread}{$thread.title}</xen:breadcrumb>
</xen:navigation>

<div class="section">
	<dl class="subHeading pairsInline"><dt>{xen:phrase thread}:</dt> <dd><a href="{xen:link posts, $post}">{xen:helper threadPrefix, $thread}{$thread.title}</a></dd></dl>
	<ol class="overlayScroll">
	<xen:foreach loop="$likes" value="$like">
		<xen:include template="member_list_item">
			<xen:set var="$extraTemplate"><xen:datetime time="$like.like_date" /></xen:set>
			<xen:map from="$like" to="$user" />
		</xen:include>
	</xen:foreach>
	</ol>
	<div class="sectionFooter overlayOnly"><a class="button primary OverlayCloser">{xen:phrase close}</a></div>
</div>]]></template>
  <template title="post_moderated" version_id="0" version_string=""><![CDATA[<xen:include template="post" />]]></template>
  <template title="post_permalink" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<xen:title>{xen:phrase permalink_for_post_x, 'position={xen:calc '{$post.position} + 1'}'}</xen:title>

<xen:require css="permalink.css" />

<form class="section permalinkInfo">

	<h3 class="subHeading">{xen:phrase thread}: <a href="{xen:link threads/post-permalink, $thread, 'post={$post}'}">{$thread.title}</a></h3>
	<div class="primaryContent">
		<input type="url" dir="ltr" class="textCtrl fillSpace permalink" value="{xen:link full:threads/post-permalink, $thread, 'post={$post}'}" autofocus="on" />
		
		<ul class="Tabs tabs" data-panes="#IpPanes{$post.post_id} > li">
			<li><a>{xen:phrase bb_code_link_snippet}</a></li>
			<li><a>{xen:phrase html_link_code}</a></li>
		</ul>
		
		<ul id="IpPanes{$post.post_id}">
			<li><label><input type="text" dir="ltr" class="textCtrl fillSpace" id="bb_code_link_snippet" value="[URL=&quot;{xen:link full:threads/post-permalink, $thread, 'post={$post}'}&quot;]{$thread.title}[/URL]" />
				<span class="explain">{xen:phrase bb_code_link_snippet_explain}</span></label></li>
			<li><label><input type="text" dir="ltr" class="textCtrl fillSpace" id="html_link_code" value="&lt;a href=&quot;{xen:link full:threads/post-permalink, $thread, 'post={$post}'}&quot;&gt;{$thread.title}&lt;/a&gt;" />
				<span class="explain">{xen:phrase html_link_code_explain}</span></label></li>
		</ul>
	</div>
	<xen:if hascontent="true">
		<div class="secondaryContent">		
			<h4 class="textHeading">{xen:phrase share_this_page}</h4>
			
			<xen:contentcheck>
				<xen:hook name="share_page_options">
					<xen:include template="addthis_ajax">
						<xen:set var="$url">{xen:link full:threads/post-permalink, $thread, 'post={$post}'}</xen:set>
					</xen:include>
				</xen:hook>
			</xen:contentcheck>
						
		</div>
	</xen:if>
	
	<div class="sectionFooter overlayOnly"><a class="button primary OverlayCloser">{xen:phrase close}</a></div>
</form>
]]></template>
  <template title="post_report" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<xen:title>{xen:helper threadPrefix, $thread, escaped}{$thread.title} - {xen:phrase report_post_title}</xen:title>
<xen:h1>{xen:phrase report_post_title}</xen:h1>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
	<xen:breadcrumb href="{xen:link full:posts, $post}">{xen:helper threadPrefix, $thread}{$thread.title}</xen:breadcrumb>
</xen:navigation>

<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container>
<xen:container var="$searchBar.thread"><xen:include template="search_bar_thread_only" /></xen:container>
<xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container>

<form action="{xen:link 'posts/report', $post}" method="post" class="xenForm formOverlay AutoValidator">

	<dl class="ctrlUnit">
		<dt><label for="ctrl_message">{xen:phrase report_reason}:</label></dt>
		<dd><textarea name="message" id="ctrl_message" rows="2" class="textCtrl Elastic"></textarea></dd>
	</dl>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase report_post}" accesskey="s" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="preview_tooltip" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<div id="PreviewTooltip">
	<span class="arrow"><span></span></span>
	
	<div class="section">
		<div class="primaryContent previewContent">
			<span class="PreviewContents">{xen:phrase loading}...</span>
		</div>
	</div>
</div>]]></template>
  <template title="profile_post" version_id="1040051" version_string="1.4.0 Release Candidate 1"><![CDATA[<xen:require js="js/xenforo/comments_simple.js" />

<xen:if is="{$showReceiverName}">
	<xen:set var="$messagePosterHtml">
		<span class="poster">
			<xen:username user="$profilePost" rich="true" />
			<xen:if is="{$profilePost.user_id} != {$profilePost.profile_user_id} AND {$profilePost.profileUser}">
				<span class="muted">{xen:if $pageIsRtl, '&#9668;', '&#9658;'}</span> <xen:username user="$profilePost.profileUser" rich="true" />
			</xen:if>
		</span>
	</xen:set>
<xen:else />
	<xen:set var="$messagePosterHtml" value="" />
</xen:if>

<xen:include template="message_simple">
	<xen:map from="$profilePost" to="$message" />
	
	<xen:set var="$messageId">profile-post-{$profilePost.profile_post_id}</xen:set>

	<xen:set var="$messageAfterTemplate">

		<div class="messageMeta">
				<div class="privateControls">
					<xen:if is="{$profilePost.canInlineMod}"><input type="checkbox" name="profilePosts[]" value="{$profilePost.profile_post_id}" class="InlineModCheck item" data-target="#profile-post-{$profilePost.profile_post_id}" title="{xen:phrase select_this_post_by_x, 'name={$profilePost.username}'}" /></xen:if>
					<a href="{xen:link 'profile-posts', $profilePost}" title="{xen:phrase permalink}" class="item muted"><xen:datetime time="$profilePost.post_date" /></a>
					<xen:hook name="profile_post_private_controls" params="{xen:array 'profilePost={$profilePost}'}">
					<xen:if is="{$profilePost.canEdit}">
						<a href="{xen:link 'profile-posts/edit', $profilePost}" class="OverlayTrigger item control edit"><span></span>{xen:phrase edit}</a>
					</xen:if>
					<xen:if is="{$profilePost.canDelete}">
						<a href="{xen:link 'profile-posts/delete', $profilePost}" class="item OverlayTrigger control delete"><span></span>{xen:phrase delete}</a>
					</xen:if>
					<xen:if is="{$profilePost.canCleanSpam}">
						<a href="{xen:link 'spam-cleaner', $profilePost}" class="item control deleteSpam OverlayTrigger"><span></span>{xen:phrase spam}</a
					></xen:if>
					<xen:if is="{$canViewIps} AND {$profilePost.ip_id}">
						<a href="{xen:link 'profile-posts/ip', $profilePost}" class="item control ip OverlayTrigger"><span></span>{xen:phrase ip}</a>
					</xen:if>
					
					<xen:if is="{$profilePost.canWarn}">
						<a href="{xen:link members/warn, $profilePost, 'content_type=profile_post', 'content_id={$profilePost.profile_post_id}'}" class="item control warn"><span></span>{xen:phrase warn}</a>
					<xen:elseif is="{$profilePost.warning_id} && {$canViewWarnings}" />
						<a href="{xen:link warnings, $profilePost}" class="OverlayTrigger item control viewWarning"><span></span>{xen:phrase view_warning}</a>
					</xen:if>
					<xen:if is="{$profilePost.canReport}">
						<a href="{xen:link 'profile-posts/report', $profilePost}" class="OverlayTrigger item control report" data-cacheOverlay="false"><span></span>{xen:phrase report}</a>
					</xen:if>
					
					</xen:hook>
				</div>
			<xen:if hascontent="true">
				<div class="publicControls">
				<xen:contentcheck>
					<xen:hook name="profile_post_public_controls" params="{xen:array 'profilePost={$profilePost}'}">
					<xen:if is="{$profilePost.canLike}">
						<a href="{xen:link 'profile-posts/like', $profilePost}" class="LikeLink item control {xen:if $profilePost.like_date, unlike, like}" data-container="#likes-wp-{$profilePost.profile_post_id}"><span></span><span class="LikeLabel">{xen:if $profilePost.like_date, {xen:phrase unlike}, {xen:phrase like}}</span></a>
					</xen:if>
					<xen:if is="{$profilePost.canComment}">
						<a href="{xen:link 'profile-posts/comment', $profilePost}" class="CommentPoster item control postComment" data-commentArea="#commentSubmit-{$profilePost.profile_post_id}"><span></span>{xen:phrase comment_verb}</a>
					</xen:if>
					</xen:hook>
				</xen:contentcheck>
				</div>
			</xen:if>
		</div>

		<ol class="messageResponse">

			<li id="likes-wp-{$profilePost.profile_post_id}">
				<xen:if is="{$profilePost.likes}">
					<xen:include template="likes_summary">
						<xen:map from="$profilePost" to="$message" />
						<xen:set var="$likesUrl">{xen:link profile-posts/likes, $profilePost}</xen:set>
					</xen:include>
				</xen:if>
			</li>

			<xen:if is="{$profilePost.comments}">

				<xen:if is="{$profilePost.comment_count} > 3">
					<li class="commentMore secondaryContent">
						<a href="{xen:link profile-posts/comments, $profilePost}"
							class="CommentLoader"
							data-loadParams="{xen:escape {xen:helper json, {xen:array 'before={$profilePost.first_shown_comment_date}'}}}">{xen:phrase view_previous_comments}...</a>
					</li>
				</xen:if>

				<xen:foreach loop="$profilePost.comments" value="$comment">
					<xen:include template="profile_post_comment" />
				</xen:foreach>

			</xen:if>

			<xen:if is="{$profilePost.canComment}">
				<li id="commentSubmit-{$profilePost.profile_post_id}" class="comment secondaryContent" style="display:none">
					<xen:avatar user="$visitor" size="s" img="true" />
					<div class="elements">
						<textarea name="message" rows="2" class="textCtrl UserTagger Elastic"></textarea>
						<div class="submit"><input type="submit" class="button primary" value="{xen:phrase post_comment}" /></div>
					</div>
				</li>
			</xen:if>

		</ol>

	</xen:set>
</xen:include>
<xen:edithint template="message.css" />
<xen:edithint template="message_simple.css" />]]></template>
  <template title="profile_post_comment" version_id="1020170" version_string="1.2.1"><![CDATA[<xen:require css="message_simple.css" />

<li class="comment secondaryContent {xen:if $comment.isIgnored, ignored}">
	<xen:avatar user="$comment" size="s" img="true" />

	<div class="commentInfo">
		<div class="commentContent">
			<xen:username user="$comment" class="poster" rich="true" />
			<article><blockquote>{xen:helper bodytext, $comment.message}</blockquote></article>
		</div>
		<div class="commentControls">
			<xen:datetime time="$comment.comment_date" class="muted" />
			<xen:if is="{$comment.canDelete}"><a href="{xen:link 'profile-posts/comment-delete', $profilePost, "comment={$comment.profile_post_comment_id}"}" class="OverlayTrigger item control delete"><span></span>{xen:phrase delete}</a></xen:if>
		</div>
	</div>
</li>]]></template>
  <template title="profile_post_comments" version_id="1010470" version_string="1.1.4"><![CDATA[<xen:title>{xen:phrase comments_on_profile_post_by_x, 'name={$profilePost.username}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<ol class="messageSimple">

<xen:if is="{$firstCommentShown.comment_date} > {$profilePost.first_comment_date}">
	<xen:include template="profile_post_comments_before" />
</xen:if>

<xen:foreach loop="$comments" value="$comment">
	<xen:include template="profile_post_comment" />
</xen:foreach>

<xen:if is="{$lastCommentShown.comment_date} < {$profilePost.last_comment_date}">
	<li><a href="{xen:link profile-posts/comments, $profilePost}">{xen:phrase view_most_recent_comments}</a></li>
</xen:if>

</ol>]]></template>
  <template title="profile_post_comments_before" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<li><a href="{xen:link profile-posts/comments, $profilePost, 'before={$firstCommentShown.comment_date}'}" class="CommentLoader" data-loadParams="{xen:escape {xen:helper json, {xen:array 'before={$firstCommentShown.comment_date}'}}}">{xen:phrase view_previous_comments}</a></li>]]></template>
  <template title="profile_post_comment_delete" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<xen:title>{xen:phrase delete_profile_post_comment_by_x, 'name={$comment.username}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'profile-posts/comment-delete', $profilePost, 'comment={$comment.profile_post_comment_id}'}" method="post" class="xenForm formOverlay">
	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd>
			<input type="submit" value="{xen:phrase delete_comment}" class="button primary" />
			<input type="reset" value="{xen:phrase close}" class="button OverlayCloser overlayOnly" />
		</dd>
	</dl>

	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="profile_post_comment_post" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<xen:title>{xen:phrase comment_on_profile_post_by_x, 'name={$profilePost.username}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'profile-posts/comment', $profilePost}" method="post" class="xenForm">

	<dl class="ctrlUnit fullWidth">
		<dt></dt>
		<dd>
			<textarea name="message" class="textCtrl Elastic" rows="2" autofocus="true"></textarea>
		</dd>
	</dl>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase post_comment}" accesskey="s" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="profile_post_delete" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<xen:title>{xen:phrase delete_profile_post_by_x, 'name={$profilePost.username}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'profile-posts/delete', $profilePost}" method="post" class="xenForm formOverlay">

	<xen:include template="helper_deletion_type_unit" />

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase delete_post}" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="profile_post_deleted" version_id="1000034" version_string="1.0.0 Beta 4"><![CDATA[<xen:require js="js/xenforo/discussion.js" /><xen:comment>For message loader</xen:comment>

<xen:include template="message_simple_deleted_placeholder">
	<xen:map from="$profilePost" to="$message" />

	<xen:set var="$messageId">profile-post-{$profilePost.profile_post_id}</xen:set>

	<xen:set var="$messageControlsTemplate">
		<xen:if is="{$profilePost.canInlineMod}"><input type="checkbox" name="profilePosts[]" value="{$profilePost.profile_post_id}" class="InlineModCheck item" data-target="#profile-post-{$profilePost.profile_post_id}" title="{xen:phrase select_this_post_by_x, 'name={$profilePost.username}'}" /></xen:if>
		<xen:datetime time="$profilePost.post_date" class="muted item" />
		<a href="{xen:link profile-posts/show, $profilePost}" class="MessageLoader control item show" data-messageSelector="#profile-post-{$profilePost.profile_post_id}"><span></span>{xen:phrase show}</a>
	</xen:set>
</xen:include>]]></template>
  <template title="profile_post_edit" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<xen:title>{xen:phrase edit_profile_post_by_x, 'name={$profilePost.username}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'profile-posts/save', $profilePost}" method="post" class="xenForm formOverlay">
	<dl class="ctrlUnit">
		<dt><label for="ctrl_message">{xen:phrase message}:</label></dt>
		<dd><textarea name="message" id="ctrl_message" class="textCtrl Elastic" rows="2">{$profilePost.message}</textarea></dd>
	</dl>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd>
			<input type="submit" value="{xen:phrase save_changes}" accesskey="s" class="button primary" />
			<xen:if is="{$canDeletePost}">
				<a href="{xen:link profile-posts/delete, $profilePost}" class="button OverlayTrigger">{xen:phrase delete_post}...</a>
			</xen:if>
		</dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="profile_post_ip" version_id="1000032" version_string="1.0.0 Beta 2"><![CDATA[<xen:title>{xen:phrase ip_information_for_profile_post,
	'user={$profilePost.username}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<div class="section">
	<h3 class="subHeading">{xen:phrase profile_page} {$user.username}</h3>
	<xen:include template="content_ip">
		<xen:map from="$profilePost" to="$content" />
	</xen:include>
</div>]]></template>
  <template title="profile_post_like" version_id="1000016" version_string="1.0.0 Alpha 6"><![CDATA[<xen:title>{$profilePost.username} - {xen:if $like, '{xen:phrase unlike_profile_post}', '{xen:phrase like_profile_post}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'profile-posts/like', $profilePost}" method="post" class="xenForm">

	<dl class="ctrlUnit fullWidth">
		<dt></dt>
		<dd>
			<xen:if is="{$like}">
				{xen:phrase you_sure_you_want_to_unlike_this_profile_post}
			<xen:else />
				{xen:phrase you_sure_you_want_to_like_this_profile_post}
			</xen:if>
		</dd>
	</dl>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:if $like, '{xen:phrase unlike_profile_post}', '{xen:phrase like_profile_post}'}" accesskey="s" class="button primary" autofocus="true" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="profile_post_likes" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<xen:title>{$profilePost.username} - {xen:phrase members_who_liked_this_profile_post}</xen:title>

<xen:container var="$head.noindex">
	<meta name="robots" content="noindex" /></xen:container>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<div class="section">
	<ol class="overlayScroll">
	<xen:foreach loop="$likes" value="$like">
		<xen:include template="member_list_item">
			<xen:set var="$extraTemplate"><xen:datetime time="$like.like_date" /></xen:set>
			<xen:map from="$like" to="$user" />
		</xen:include>
	</xen:foreach>
	</ol>
	<div class="sectionFooter overlayOnly"><a class="button primary OverlayCloser">{xen:phrase close}</a></div>
</div>]]></template>
  <template title="profile_post_list_item_simple" version_id="1040033" version_string="1.4.0 Beta 3"><![CDATA[<xen:require css="profile_post_list_simple.css" />
<xen:require css="bb_code.css" />

<li id="profile-post-{$profilePost.profile_post_id}" class="profilePostListItem {xen:if $profilePost.isDeleted, 'deleted'} {xen:if '{$profilePost.is_staff}', 'staff'} {xen:if $profilePost.isIgnored, ignored}" data-author="{$profilePost.username}">

	<xen:avatar user="$profilePost" size="s" img="true" />
	
	<div class="messageInfo">
		
		<div class="messageContent">
			<span class="poster">
				<xen:username user="$profilePost" rich="true" />
				<xen:if is="{$profilePost.user_id} != {$profilePost.profile_user_id} AND {$profilePost.profileUser}">
					<span class="muted">{xen:if $pageIsRtl, '&#9668;', '&#9658;'}</span> <xen:username user="$profilePost.profileUser" rich="true" />
				</xen:if>
			</span>
			<article><blockquote class="ugc baseHtml{xen:if $profilePost.isIgnored, ' ignored'}">{xen:helper bodyText, $profilePost.message}</blockquote></article>
		</div>

		<div class="messageMeta">
			<div class="privateControls">
				<a href="{xen:link 'profile-posts', $profilePost}" title="{xen:phrase permalink}" class="item muted"><xen:datetime time="$profilePost.post_date" /></a>
			</div>

			<div class="publicControls">
				<a href="{xen:link 'profile-posts', $profilePost}" class="item Tooltip OverlayTrigger" title="{xen:phrase interact}" data-tipclass="flipped" data-offsetX="7" data-offsetY="-7">&#8226;&#8226;&#8226;</a>
			</div>
		</div>

	</div>
</li>]]></template>
  <template title="profile_post_list_simple.css" version_id="1040033" version_string="1.4.0 Beta 3"><![CDATA[.profilePostListItem
{
	overflow: hidden; zoom: 1;

	margin: 5px 0;
	padding-top: 5px;
	border-top: 1px solid {xen:property primaryLighterStill};
}

:not(.nonInitial) > .profilePostListItem:first-child
{
	border-top: none;
	padding-top: 0;
}

.profilePostListItem .avatar
{
	float: left;
	font-size: 0;
}

	.profilePostListItem .avatar img
	{
		width: 24px;
		height: 24px;
	}

.profilePostListItem .messageInfo
{
	margin-left: 34px;
}


.profilePostListItem .messageContent article,
.profilePostListItem .messageContent blockquote
{
	display: inline;
}

.profilePostListItem .poster
{
	font-weight: bold;
}

.profilePostListItem .messageMeta
{
	overflow: hidden; zoom: 1;
	font-size: 11px;
	line-height: 14px;
	padding-top: 4px;
}

.profilePostListItem .privateControls
{
	float: left;
}

	.profilePostListItem .privateControls .item
	{
		float: left;
		margin-right: 10px;
	}

.profilePostListItem .publicControls
{
	float: right;
}

	.profilePostListItem .publicControls .item
	{
		float: left;
		margin-left: 10px;
	}
	
.sidebar .statusPoster textarea
{
	width: 100%;
	margin: 0;
	box-sizing: border-box;
	resize: vertical;
	overflow: hidden;
}

.sidebar .statusPoster .submitUnit
{
	margin-top: 5px;
	text-align: right;
}]]></template>
  <template title="profile_post_report" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<xen:title>{xen:phrase profile_post_for_x, 'username={$user.username}'} - {xen:phrase report_profile_post_title}</xen:title>
<xen:h1>{xen:phrase report_profile_post_title}</xen:h1>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
	<xen:breadcrumb href="{xen:link 'full:profile-posts', $profilePost}">{xen:phrase profile_post}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'profile-posts/report', $profilePost}" method="post" class="xenForm formOverlay AutoValidator">

	<dl class="ctrlUnit">
		<dt><label for="ctrl_message">{xen:phrase report_reason}:</label></dt>
		<dd><textarea name="message" id="ctrl_message" rows="2" class="textCtrl Elastic"></textarea></dd>
	</dl>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase report_profile_post}" accesskey="s" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="profile_post_view" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<ol class="messageSimpleList contained section overlayScroll" id="ProfilePostList">
	<xen:include template="profile_post">
		<xen:set var="$showReceiverName" value="1" />
	</xen:include>
</ol>]]></template>
  <template title="public.css" version_id="1030470" version_string="1.3.4"><![CDATA[<xen:include template="header.css" />

<xen:include template="footer.css" />

<xen:include template="breadcrumb.css" />

<xen:include template="navigation.css" />

<xen:include template="search_bar.css" />

/** move the header to the top again **/

#headerMover
{
	position: relative;
	zoom: 1;
}

	#headerMover #headerProxy
	{
		{xen:property header.background}
		height: {xen:calc '{xen:property headerLogoHeight} + {xen:property headerTabHeight} * 2 + 2'}px; /* +2 borders */
	}

	#headerMover #header
	{
		width: 100%;
		position: absolute;
		top: 0px;
		left: 0px;
	}


/** Generic page containers **/

.pageWidth
{
	{xen:property pageWidth}
}

.NoResponsive body
{
	<xen:if is="{xen:property nonResponsiveMinWidth}">min-width: {xen:property nonResponsiveMinWidth};</xen:if>
}

#content .pageContent
{
	{xen:property content}
}

{xen:helper clearfix, '#content .pageContent'}

<xen:include template="sidebar.css" />

/** Text used in message bodies **/

.messageText
{
	{xen:property messageText}
}

	.messageText img,
	.messageText iframe,
	.messageText object,
	.messageText embed
	{
		max-width: 100%;
	}

/** Link groups and pagenav container **/

.pageNavLinkGroup
{
	display: table;
	*zoom: 1;
	table-layout: fixed;
	box-sizing: border-box;
	
	{xen:property pageNavLinkGroup}
}

opera:-o-prefocus, .pageNavLinkGroup
{
	display: block;
	overflow: hidden;
}

	.pageNavLinkGroup:after
	{
		content: ". .";
		display: block;
		word-spacing: 99in;
		overflow: hidden;
		height: 0;
		font-size: 0.13em;
		line-height: 0;
	}

	.pageNavLinkGroup .linkGroup
	{
		float: right;
	}

.linkGroup
{
}
	
	.linkGroup a
	{
		{xen:property linkGroupLink}
	}

		.linkGroup a.inline
		{
			padding: 0;
		}

	.linkGroup a,
	.linkGroup .Popup,
	.linkGroup .element
	{
		margin-left: {xen:property linkGroupLinkSpacing};
		display: block;
		float: left;
		<xen:if is="{$pageIsRtl}">*display: inline; *float: none; *zoom: 1;</xen:if>
	}
	
		.linkGroup .Popup a
		{
			margin-left: -2px;
			margin-right: -5px;
			*margin-left: {xen:property linkGroupLinkSpacing};
			padding: {xen:property linkGroupLink.padding-top} 5px;
		}

	.linkGroup .element
	{
		padding: 3px 0;
	}

/** Call to action buttons **/

a.callToAction
{
	{xen:property callToAction}
	
}

	a.callToAction span
	{
		{xen:property callToActionSpan}
	}
	
	a.callToAction:hover
	{
		text-decoration: none;
	}

		a.callToAction:hover span
		{
			{xen:property callToActionHover}
		}
		
		a.callToAction:active
		{
			/*position: relative;
			top: 2px;*/
		}
		
		a.callToAction:active span
		{
			{xen:property callToActionActive}
		}

/*********/

.avatarHeap
{
	overflow: hidden; zoom: 1;
}

	.avatarHeap ol
	{
		margin-right: -4px;
		margin-top: -4px;
	}
	
		.avatarHeap li
		{
			float: left;
			margin-right: 4px;
			margin-top: 4px;
		}
		
		.avatarHeap li .avatar
		{
			display: block;
		}
		
/*********/

.fbWidgetBlock .fb_iframe_widget,
.fbWidgetBlock .fb_iframe_widget > span,
.fbWidgetBlock .fb_iframe_widget iframe
{
	width: 100% !important;
}

<xen:include template="username_styles.css" />

<xen:include template="thread_prefixes.css" />

<xen:include template="user_banners.css" />

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveWideWidth})
{
	.Responsive .pageWidth
	{
		{xen:property pageWidthResponsiveWide}
	}

	.Responsive #content .pageContent
	{
		padding-left: {xen:calc '{xen:property content.padding-left} / 2'}px;
		padding-right: {xen:calc '{xen:property content.padding-right} / 2'}px;
	}
}

@media (max-width:{xen:property maxResponsiveMediumWidth})
{
	.Responsive .pageWidth
	{
		{xen:property pageWidthResponsiveMedium}
	}
	
	.Responsive .forum_view #pageDescription,
	.Responsive .thread_view #pageDescription
	{
		display: none;
	}
}

@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .pageWidth
	{
		{xen:property pageWidthResponsiveNarrow}
	}
	
	.Responsive .pageNavLinkGroup .PageNav,
	.Responsive .pageNavLinkGroup .linkGroup
	{
		clear: right;
	}
}
</xen:if>

<xen:include template="EXTRA.css" />]]></template>
  <template title="quick_navigation_menu" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:title>{xen:phrase quick_navigation_menu}</xen:title>

<xen:require css="quick_navigation_menu.css" />

<div class="section">
	<div id="jumpMenu">
		<div class="jumpMenuColumn">
			<h3 class="primaryContent">{xen:phrase general_links}</h3>
			<div class="secondaryContent">
				<div class="blockLinksList">
					<ul>
						<xen:if is="{$homeLink}"><li><a href="{$homeLink}">{xen:phrase home}</a></li></xen:if>
						<li><a href="{xen:link forums}">{xen:phrase forums}</a></li>
						<li><a href="{xen:link members}">{xen:phrase notable_members}</a></li>
						<xen:if is="{$xenOptions.enableNewsFeed}"><li><a href="{xen:link recent-activity}">{xen:phrase recent_activity}</a></li></xen:if>
					</ul>
					<ul>
					<xen:if is="{$visitor.user_id}">
						<li><a href="{xen:link members, $visitor}">{xen:phrase your_profile}</a></li>
						<li><a href="{xen:link account}">{xen:phrase your_account}</a></li>
						<li><a href="{xen:link conversations}">{xen:phrase conversations}</a></li>
						<xen:if is="{$xenOptions.enableNewsFeed}"><li><a href="{xen:link account/news-feed}">{xen:phrase your_news_feed}</a></li></xen:if>
					<xen:else />
						<li><a href="{xen:link login}">{xen:if $xenOptions.registrationSetup.enabled, {xen:phrase log_in_or_sign_up}, {xen:phrase log_in}}</a></li>
					</xen:if>
					</ul>
					<ul>
						<li><a href="{xen:link help}">{xen:phrase help}</a></li>
					</ul>
				</div>
			</div>
		</div>
		<div class="jumpMenuColumn">
			<h3 class="primaryContent">{xen:phrase forum_list}</h3>
			<div class="secondaryContent nodeList">
				<ol class="blockLinksList">
					<xen:foreach loop="$nodes" value="$node">
						<li class="d{$node.depth} {xen:if "{$selected} == 'node-{$node.node_id}'", 'OverlayScroller'}">
							<a href="{xen:link {$nodeTypes.{$node.node_type_id}.public_route_prefix}, $node}"
								class="{xen:if '{$node.node_type_id} == "Category"', 'OverlayCloser'} {xen:if "{$selected} == 'node-{$node.node_id}'", 'selected'}">
								<span class="_depth{$node.depth} depthPad">{$node.title}</span>
							</a>
						</li>
					</xen:foreach>
				</ol>
			</div>
		</div>
	</div>
	<div class="sectionFooter overlayOnly"><a class="button primary OverlayCloser">{xen:phrase close}</a></div>
</div>]]></template>
  <template title="quick_navigation_menu.css" version_id="1020034" version_string="1.2.0 Beta 4"><![CDATA[#jumpMenu
{
	overflow: hidden; zoom: 1;
}

.xenOverlay #jumpMenu .jumpMenuColumn
{
	float: left;
	width: 50%;
}

.xenOverlay #jumpMenu .blockLinksList
{
	height: 250px;
	overflow: auto;
}

#jumpMenu .blockLinksList ul,
#jumpMenu .nodeList li.d0
{
	padding-top: 5px;
	border-top: 1px solid {xen:property primaryLighterStill};
	margin-top: 5px;
}

	#jumpMenu .blockLinksList ul:first-child,
	#jumpMenu .nodeList li.d0:first-child
	{
		padding-top: 0;
		border-top: none;
		margin-top: 0;
	}

.xenOverlay #jumpMenu .nodeList
{
	border-left: 1px solid {xen:property primaryLighterStill};
}

#jumpMenu .blockLinksList li
{
	vertical-align: bottom;
}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .xenOverlay #jumpMenu .jumpMenuColumn
	{
		float: none;
		width: auto;
	}

	.Responsive .xenOverlay #jumpMenu .blockLinksList
	{
		max-height: 250px;
		height: auto;
	}
}
</xen:if>]]></template>
  <template title="quick_reply" version_id="1040033" version_string="1.4.0 Beta 3"><![CDATA[<xen:require css="quick_reply.css" />
<xen:require js="js/xenforo/discussion.js" />

<div class="quickReply message">
	
	<xen:include template="message_user_info">
		<xen:map from="$visitor" to="$user" />
		<xen:set var="$isQuickReply">1</xen:set>
	</xen:include>

	<form action="{xen:escape $formAction, false}" method="post" class="AutoValidator blendedEditor" data-optInOut="OptIn" id="QuickReply">

		{xen:raw $qrEditor}

		<div class="submitUnit">
			<div class="draftUpdate">
				<span class="draftSaved">{xen:phrase draft_saved}</span>
				<span class="draftDeleted">{xen:phrase draft_deleted}</span>
			</div>
			<xen:if is="{$xenOptions.multiQuote} AND {$multiQuoteAction}"><input type="button" class="button JsOnly MultiQuoteWatcher insertQuotes" id="MultiQuote"
				value="{xen:phrase insert_quotes}..."
				tabindex="1"
				data-href="{xen:escape $multiQuoteAction, false}"
				{xen:if $multiQuoteCookie, 'data-mq-cookie="{$multiQuoteCookie}"'}
				data-add="{xen:phrase multiquote_add}"
				data-add-message="{xen:phrase multiquote_add_message}"
				data-remove="{xen:phrase multiquote_remove}"
				data-remove-message="{xen:phrase multiquote_remove_message}"
				data-cacheOverlay="false" /></xen:if>
			<input type="submit" class="button primary" value="{xen:phrase post_reply}" accesskey="s" />
			<xen:include template="attachment_upload_button" />
			<xen:if is="{$showMoreOptions}"><input type="submit" class="button DisableOnSubmit" value="{xen:phrase more_options}..." name="more_options" /></xen:if>
		</div>
		
		<xen:if is="{$attachmentParams}">
			<xen:include template="attachment_editor">
				<xen:set var="$attachments" value="{$attachmentParams.attachments}" />
			</xen:include>
		</xen:if>

		<input type="hidden" name="last_date" value="{$lastDate}" data-load-value="{$lastDate}" />
		<input type="hidden" name="last_known_date" value="{$lastKnownDate}" />
		<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />

	</form>

</div>]]></template>
  <template title="quick_reply.css" version_id="1040051" version_string="1.4.0 Release Candidate 1"><![CDATA[/*quick reply*/

.quickReply
{	
	{xen:property message}
}

{xen:helper clearfix, '.quickReply'}

.quickReply .replyPrompt em
{
	font-style: italic;
}

/* the quick reply form */

#QuickReply
{
	{xen:property messageInfo}
}

#QuickReply textarea
{
	width: 100%;
	*width: 98%;
	height: 100px;
	box-sizing: border-box;
}

#QuickReply .insertQuotes
{
	display: none;
	float: left;
	<xen:comment>/* 31 is the submit unit line height, need to add button border because of weird calculation*/</xen:comment>
	margin-top: {xen:calc 'floor({xen:property button.border-top-width} + (31 - {xen:property button.height}) / 2)'}px;
}

#QuickReply .submitUnit
{
	margin-top: 5px;
	text-align: right;
	line-height: 31px;
	position: relative;
	z-index: 1;
}

	#QuickReply .submitUnit .draftUpdate
	{
		position: absolute;
		left: 0;
		z-index: -1;
		color: {xen:property mutedTextColor};
		font-size: 11px;
	}
	
		#QuickReply .submitUnit .draftUpdate span
		{
			display: none;
		}

#QuickReply .AttachmentEditor
{
	padding-top: 10px;
}

/** Selected quote tooltip **/

#QuoteSelected
{
}

	#QuoteSelected .arrow
	{
		top: -6px;
		bottom: auto;
		border-top: 1px none black;
		border-bottom: 6px solid {xen:property tooltipBackground};
	}
	
	#QuoteSelected a
	{
		text-decoration: none;
	}
	
	#QuoteSelected a:hover
	{
		text-decoration: underline;
	}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveMediumWidth})
{
	.Responsive #QuickReply .insertQuotes
	{
		float: right;
		margin-left: 3px;
	}
}
@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .quickReply .messageUserInfo
	{
		display: none;
	}

	.Responsive #QuickReply
	{
		margin-left: 0;
	}
}
</xen:if>]]></template>
  <template title="rating" version_id="1010570" version_string="1.1.5"><![CDATA[<xen:require css="rating.css" />

<xen:if is="{$action}">
	<xen:require js="js/xenforo/rating.js" />

	<form action="{$action}" method="post" class="rating RatingWidget" {xen:if $microdata, 'itemscope="itemscope" itemtype="http://data-vocabulary.org/Rating"'}>
		<dl>
			<dt class="prompt muted">{xen:raw $prompt}</dt>
			<dd>
				<span class="ratings">
					 <button type="submit" name="rating" value="1" class="star {xen:if '{$rating} >= 1', 'Full'}{xen:if '{$rating} >= 0.5 AND {$rating} < 1', 'Half'}" title="{xen:phrase rating_1}">1</button
					><button type="submit" name="rating" value="2" class="star {xen:if '{$rating} >= 2', 'Full'}{xen:if '{$rating} >= 1.5 AND {$rating} < 2', 'Half'}" title="{xen:phrase rating_2}">2</button
					><button type="submit" name="rating" value="3" class="star {xen:if '{$rating} >= 3', 'Full'}{xen:if '{$rating} >= 2.5 AND {$rating} < 3', 'Half'}" title="{xen:phrase rating_3}">3</button
					><button type="submit" name="rating" value="4" class="star {xen:if '{$rating} >= 4', 'Full'}{xen:if '{$rating} >= 3.5 AND {$rating} < 4', 'Half'}" title="{xen:phrase rating_4}">4</button
					><button type="submit" name="rating" value="5" class="star {xen:if '{$rating} >= 5', 'Full'}{xen:if '{$rating} >= 4.5 AND {$rating} < 5', 'Half'}" title="{xen:phrase rating_5}">5</button>
				</span>
			
				<span class="RatingValue"><span class="Number" itemprop="average">{$rating}</span>/<span itemprop="best">5</span>,</span>
				<span class="Hint">{xen:raw $hint}</span>
			</dd>
		</dl>
		
		<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	</form>
	
<xen:else />
	
	<div class="rating">
		<dl>
			<dt class="prompt muted">{xen:raw $prompt}</dt>
			<dd>		
				<span class="ratings" title="{xen:number $rating, 2}">
					 <span class="star {xen:if '{$rating} >= 1', 'Full'}{xen:if '{$rating} >= 0.5 AND {$rating} < 1', 'Half'}"></span
					><span class="star {xen:if '{$rating} >= 2', 'Full'}{xen:if '{$rating} >= 1.5 AND {$rating} < 2', 'Half'}"></span
					><span class="star {xen:if '{$rating} >= 3', 'Full'}{xen:if '{$rating} >= 2.5 AND {$rating} < 3', 'Half'}"></span
					><span class="star {xen:if '{$rating} >= 4', 'Full'}{xen:if '{$rating} >= 3.5 AND {$rating} < 4', 'Half'}"></span
					><span class="star {xen:if '{$rating} >= 5', 'Full'}{xen:if '{$rating} >= 4.5 AND {$rating} < 5', 'Half'}"></span>
				</span>
				
				<span class="RatingValue"><span class="Number" itemprop="average">{$rating}</span>/<span itemprop="best">5</span>,</span>
				<span class="Hint">{xen:raw $hint}</span>
			</dd>
		</dl>	
	</div>

</xen:if>]]></template>
  <template title="rating.css" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[.rating
{
	line-height: 18px;
}

	.rating .star
	{
		width: 18px;
		height: 18px;
		display: inline-block;
		
		border: none;
		outline: none;
		padding: 0;
		
		text-indent: 9999em;
		overflow: hidden;
		white-space: nowrap;
		
		vertical-align: text-bottom;
		
		background: transparent url('{xen:property imagePath}/xenforo/xenforo-ui-sprite.png') no-repeat -126px -32px;
	}
	
	.rating button.star
	{
		cursor: pointer;
	}
	
		.rating .star.Full
		{
			background-position: -90px -32px;
		}
		
		.rating .star.Half,
		.rating .star.Full.Half
		{
			background-position: -108px -32px;
		}
		
	.rating .RatingValue
	{
		display: none;
	}]]></template>
  <template title="register_confirm" version_id="1040470" version_string="1.4.4"><![CDATA[<div class="systemMessage">

	<xen:if is="{$user.user_state} == 'moderated'">
		{xen:phrase your_email_has_been_confirmed_registration_must_be_approved}
	<xen:elseif is="{$oldUserState} == 'email_confirm_edit'" />
		{xen:phrase your_email_has_been_confirmed_and_your_account_is_now_fully_active_again}
	<xen:else />
		{xen:phrase your_email_has_been_confirmed_and_your_registration_is_now_complete}
	</xen:if>
	
	
	<div class="baseHtml">
		<ul>
			<xen:if is="{$redirect}"><li><a href="{$redirect}">{xen:phrase return_to_page_you_were_viewing}</a></li></xen:if>
			<li><a href="{xen:link index}">{xen:phrase return_to_forum_home_page}</a></li>
			<xen:if is="{$canEditProfile}">
				<li><a href="{xen:link account}">{xen:phrase edit_your_account_details}</a></li>
			</xen:if>
		</ul>
	</div>

</div>]]></template>
  <template title="register_facebook" version_id="1040051" version_string="1.4.0 Release Candidate 1"><![CDATA[<xen:title>{xen:phrase sign_up_with_facebook}</xen:title>

<xen:container var="$facebookSdk">1</xen:container>
	
<form action="{xen:link 'register/facebook/register'}" method="post" class="xenForm AutoValidator"
	data-fieldValidatorUrl="{xen:link register/validate-field}"
	data-OptInOut="OptIn"
	data-normalSubmit="1">

<ul class="tabs Tabs" data-panes="#FacebookTabs > li">
	<xen:if is="!{$associateOnly}"><li><a>{xen:phrase create_new_account}</a></li></xen:if>
	<li><a>{xen:phrase associate_existing_account}</a></li>
</ul>

<ul id="FacebookTabs">
	
	<xen:if is="!{$associateOnly}">
	<li>
		<dl class="ctrlUnit">
			<dt><label for="ctrl_username">{xen:phrase name}:</label></dt>
			<dd>
				<input type="text" name="username" value="" class="textCtrl OptIn" id="ctrl_username" autofocus="true" autocomplete="off" />
				<p class="explain">{xen:phrase this_is_name_that_will_be_shown_with_your_messages}</p>
			</dd>
		</dl>
	
		<dl class="ctrlUnit">
			<dt><label for="ctrl_email">{xen:phrase email}:</label></dt>
			<dd>{$fbUser.email}</dd>
		</dl>
		
		<xen:if is="{$showDob}">
			<xen:include template="helper_birthday_row_register" />
		</xen:if>
		
		<xen:if is="{$xenOptions.registrationSetup.requireLocation} AND !{$fbUser.location.name}">
			<dl class="ctrlUnit">
				<dt>
					{xen:phrase location}:
					<dfn>{xen:phrase required}</dfn>
				</dt>
				<dd>
					<input type="text" name="location" class="textCtrl" />
				</dd>
			</dl>
		</xen:if>
		
		<xen:include template="custom_fields_edit" />
	
		<dl class="ctrlUnit" style="display: none">
			<dt><label for="ctrl_timezone">{xen:phrase time_zone}:</label></dt>
			<dd>
				<select name="timezone" class="textCtrl AutoTimeZone OptOut" id="ctrl_timezone">
					<xen:foreach loop="$timeZones" key="$identifier" value="$name">
						<option value="{$identifier}" {xen:selected "{$identifier} == {$xenOptions.guestTimeZone}"}>{$name}</option>
					</xen:foreach>
				</select>
			</dd>
		</dl>
		
		<dl class="ctrlUnit submitUnit">
			<dt></dt>
			<dd>
				<xen:if is="{$tosUrl}">
					<ul>
						<li>
							{xen:phrase i_agree_to_terms_and_rules, 'checkbox=<input type="checkbox" name="agree" value="1" id="ctrl_agree" class="Disabler" />', 'terms_attributes=href="{$tosUrl}" target="_blank"'}
							<ul id="ctrl_agree_Disabler">
								<li><input type="submit" value="{xen:phrase sign_up}" accesskey="s" class="button primary" /></li>
							</ul>						
						</li>
					</ul>
				<xen:else />
					<input type="submit" value="{xen:phrase sign_up}" accesskey="s" class="button primary" />
				</xen:if>
				
				<p class="explain" style="margin-top: 10px">{xen:phrase will_automatically_associate_profile_picture_home_page_etc}</p>
			</dd>
		</dl>
	
	</li>
	</xen:if>

	<li>
		<dl class="ctrlUnit">
			<dt><label for="ctrl_associate_login">{xen:phrase associate_with}:</label></dt>
			<dd>
				<xen:if is="{$existingUser}">
					{$existingUser.username}
					<xen:if is="{$emailMatch}">
						<p class="explain">{xen:phrase this_member_matches_email_address_associated_with_your_external_account}</p>
					</xen:if>
					<input type="hidden" name="associate_login" value="{$existingUser.username}" />
					<input type="hidden" name="force_assoc" value="1" />
				<xen:else />
					<input type="text" name="associate_login" class="textCtrl" id="ctrl_associate_login" />
				</xen:if>
			</dd>
		</dl>
		
		<dl class="ctrlUnit">
			<dt><label for="ctrl_associate_password">{xen:phrase password}:</label></dt>
			<dd>
				<input type="password" name="associate_password" class="textCtrl" id="ctrl_associate_password" />
				<p class="explain">{xen:phrase password_of_x_account_wish_to_associate_with, 'board_title={$xenOptions.boardTitle}'}</p>
			</dd>
		</dl>
		
		<dl class="ctrlUnit submitUnit">
			<dt></dt>
			<dd><input type="submit" value="{xen:phrase associate_account}" name="associate" accesskey="a" class="button primary" /></dd>
		</dl>
	</li>

</ul>

<fieldset>
	<dl class="ctrlUnit">
		<dt></dt>
		<dd class="fbWidgetBlock"><fb:facepile width="300" max_rows="5" colorscheme="{xen:property fbColorScheme}"></fb:facepile></dd>
	</dl>
</fieldset>

<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
<input type="hidden" name="redirect" value="{$redirect}" />
<input type="hidden" name="fb_token" value="{$fbToken}" />
</form>]]></template>
  <template title="register_form" version_id="1040051" version_string="1.4.0 Release Candidate 1"><![CDATA[<xen:title>{xen:phrase sign_up}</xen:title>

<form action="{xen:link 'register/register'}" method="post" class="xenForm AutoValidator"
	data-fieldValidatorUrl="{xen:link register/validate-field}"
	data-normalSubmit="1"
>
	<xen:if is="{$errors}">
		<div class="errorPanel">
			<h3 class="errorHeading">{xen:phrase please_correct_following_errors}:</h3>
			<div class="baseHtml errors">
				<ol>
				<xen:foreach loop="$errors" value="$error">
					<li>{xen:raw $error}</li>
				</xen:foreach>
				</ol>
			</div>
		</div>
	</xen:if>

	<dl class="ctrlUnit limited">
		<dt><label for="ctrl_username">{xen:phrase name}:</label></dt>
		<dd>
			<input type="text" name="username" value="" class="textCtrl" id="ctrl_username" autocomplete="off" />
			<p class="explain">{xen:phrase please_leave_this_field_blank}</p>
		</dd>
	</dl>

	<dl class="ctrlUnit">
		<dt><label for="ctrl_{$fieldMap.username}">{xen:phrase name}:</label></dt>
		<dd>
			<input type="text" name="{$fieldMap.username}" value="{$fields.username}" class="textCtrl" id="ctrl_{$fieldMap.username}" autofocus="true" autocomplete="off" />
			<p class="explain">{xen:phrase this_is_name_that_will_be_shown_with_your_messages}</p>
		</dd>
	</dl>

	<xen:if is="mt_rand(0, 2) == 1">
	<dl class="ctrlUnit limited">
		<dt><label for="ctrl_{$fieldMap.email_hp}">{xen:phrase email}:</label></dt>
		<dd>
			<input type="email" name="{$fieldMap.email_hp}" value="" dir="ltr" class="textCtrl" autocomplete="off" id="ctrl_{$fieldMap.email_hp}" />
			<p class="explain">{xen:phrase please_leave_this_field_blank}</p>
		</dd>
	</dl>
	</xen:if>

	<dl class="ctrlUnit">
		<dt><label for="ctrl_{$fieldMap.email}">{xen:phrase email}:</label></dt>
		<dd>
			<input type="email" name="{$fieldMap.email}" value="{$fields.email}" dir="ltr" class="textCtrl" id="ctrl_{$fieldMap.email}" />
		</dd>
	</dl>

	<fieldset>
		<xen:if is="mt_rand(0, 2) == 1">
		<dl class="ctrlUnit limited">
			<dt><label for="ctrl_password">{xen:phrase password}:</label></dt>
			<dd>
				<input type="password" name="password" class="textCtrl OptOut" id="ctrl_password" autocomplete="off" />
				<p class="explain">{xen:phrase please_leave_this_field_blank}</p>
			</dd>
		</dl>
		</xen:if>

		<dl class="ctrlUnit">
			<dt><label for="ctrl_{$fieldMap.password}">{xen:phrase password}:</label></dt>
			<dd><input type="password" name="{$fieldMap.password}" class="textCtrl OptOut" id="ctrl_{$fieldMap.password}" autocomplete="off" /></dd>
		</dl>

		<dl class="ctrlUnit">
			<dt><label for="ctrl_{$fieldMap.password_confirm}">{xen:phrase confirm_password}:</label></dt>
			<dd>
				<input type="password" name="{$fieldMap.password_confirm}" class="textCtrl OptOut" id="ctrl_{$fieldMap.password_confirm}" />
				<p class="explain">{xen:phrase enter_your_password_in_first_box_and_confirm_it_in_second}</p>
			</dd>
		</dl>

		<xen:if is="mt_rand(0, 2) == 1">
		<dl class="ctrlUnit limited">
			<dt><label for="ctrl_{$fieldMap.password_confirm_hp}">{xen:phrase confirm_password}:</label></dt>
			<dd>
				<input type="password" name="{$fieldMap.password_confirm_hp}" class="textCtrl OptOut" id="ctrl_{$fieldMap.password_confirm_hp}" />
				<p class="explain">{xen:phrase please_leave_this_field_blank}</p>
			</dd>
		</dl>
		</xen:if>
	</fieldset>
		
	<dl class="ctrlUnit">
		<dt>{xen:phrase gender}:</dt>
		<dd>
			<ul>
				<li><label><input type="radio" name="{$fieldMap.gender}" value="male" {xen:checked "{$fields.gender} == 'male'"} /> {xen:phrase male}</label></li>
				<li><label><input type="radio" name="{$fieldMap.gender}" value="female" {xen:checked "{$fields.gender} == 'female'"} /> {xen:phrase female}</label></li>
				<li><label><input type="radio" name="{$fieldMap.gender}" value="" {xen:checked "!{$fields.gender}"} /> ({xen:phrase unspecified})</label></li>
			</ul>
		</dd>
	</dl>

	<xen:include template="helper_birthday_row_register" />

	<xen:if is="{$xenOptions.registrationSetup.requireLocation}">
		<dl class="ctrlUnit">
			<dt>
				{xen:phrase location}:
				<dfn>{xen:phrase required}</dfn>
			</dt>
			<dd>
				<input type="text" name="location" value="{$fields.location}" class="textCtrl" />
			</dd>
		</dl>
	</xen:if>
	
	<xen:set var="$honeyPotPosition" value="{xen:helper rand, 0, 2}" />
	<xen:if is="{$customFieldHoneyPot} && {$honeyPotPosition} == 1">
	<xen:include template="custom_field_edit">
		<xen:set var="$customFieldInputName" value="{$fieldMap.custom_fields}" />
		<xen:set var="$field" value="{$customFieldHoneyPot}" />
		<xen:set var="$customFieldExtraClass" value="limited" />
	</xen:include>
	</xen:if>
	
	<xen:include template="custom_fields_edit">
		<xen:set var="$customFieldInputName" value="{$fieldMap.custom_fields}" />
	</xen:include>

	<xen:if is="{$customFieldHoneyPot} && {$honeyPotPosition} == 2">
	<xen:include template="custom_field_edit">
		<xen:set var="$customFieldInputName" value="{$fieldMap.custom_fields}" />
		<xen:set var="$field" value="{$customFieldHoneyPot}" />
		<xen:set var="$customFieldExtraClass" value="limited" />
	</xen:include>
	</xen:if>

	<dl class="ctrlUnit" style="display: none">
		<dt><label for="ctrl_{$fieldMap.timezone}">{xen:phrase time_zone}:</label></dt>
		<dd>
			<select name="{$fieldMap.timezone}" class="textCtrl {xen:if $fields.timezoneAuto, 'AutoTimeZone'} OptOut" id="ctrl_{$fieldMap.timezone}">
				<xen:foreach loop="$timeZones" key="$identifier" value="$name">
					<option value="{$identifier}" {xen:selected "{$identifier} == {$fields.timezone}"}>{$name}</option>
				</xen:foreach>
			</select>
		</dd>
	</dl>

	<xen:if hascontent="true">
		<fieldset>
			<xen:contentcheck>
				<xen:include template="helper_captcha_unit" />
			</xen:contentcheck>
		</fieldset>
	</xen:if>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd>
			<xen:set var="$timerHtml"><xen:if is="{$xenOptions.registrationTimer}">
				<span id="RegTimer">({xen:phrase please_wait_x_seconds, "seconds=<span>{$xenOptions.registrationTimer}</span>"})</span>
			</xen:if></xen:set>
			<xen:if is="{$tosUrl}">
				<ul>
					<li>
						<div class="text">{xen:phrase i_agree_to_terms_and_rules, 'checkbox=<input type="checkbox" name="agree" value="1" id="ctrl_agree" class="Disabler" />', 'terms_attributes=href="{$tosUrl}" target="_blank"'}</div>
						<ul id="ctrl_agree_Disabler">
							<li><input type="submit" value="{xen:phrase sign_up}" accesskey="s" class="button primary" id="SubmitButton" /> {xen:raw $timerHtml}</li>
						</ul>						
					</li>
				</ul>
			<xen:else />
				<input type="submit" value="{xen:phrase sign_up}" accesskey="s" class="button primary" id="SubmitButton" /> {xen:raw $timerHtml}
			</xen:if>
		</dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	<input type="hidden" name="reg_key" value="{$regKey}" />
</form>

<xen:if is="{$xenOptions.registrationTimer}">
	<script>
	(function($) {
		$(function() {
			var rt = $('#RegTimer'), s = rt.find('span'), t = parseInt(s.text(), 10),
				sub = $('#SubmitButton'),
				i = setInterval(function() {
					t--;
					if (t <= 0) {
						rt.hide();
						clearInterval(i);
					} else {
						s.text(t);
					}
				}, 1000);

				var f = function(e) {
					if (t > 0) {
						e.preventDefault();
					}
				};

				sub.click(f);
				sub.closest('form').submit(f);
		});
	})(jQuery);
	</script>
</xen:if>]]></template>
  <template title="register_google" version_id="1040051" version_string="1.4.0 Release Candidate 1"><![CDATA[<xen:title>{xen:phrase sign_up_with_google}</xen:title>
	
<form action="{xen:link 'register/google/register'}" method="post" class="xenForm AutoValidator"
	data-fieldValidatorUrl="{xen:link register/validate-field}"
	data-OptInOut="OptIn"
	data-normalSubmit="1">

<ul class="tabs Tabs" data-panes="#GoogleTabs > li">
	<xen:if is="!{$associateOnly}"><li><a>{xen:phrase create_new_account}</a></li></xen:if>
	<li><a>{xen:phrase associate_existing_account}</a></li>
</ul>

<ul id="GoogleTabs">
	
	<xen:if is="!{$associateOnly}">
	<li>
		<dl class="ctrlUnit">
			<dt><label for="ctrl_username">{xen:phrase name}:</label></dt>
			<dd>
				<input type="text" name="username" value="" class="textCtrl OptIn" id="ctrl_username" autofocus="true" autocomplete="off" />
				<p class="explain">{xen:phrase this_is_name_that_will_be_shown_with_your_messages}</p>
			</dd>
		</dl>
	
		<dl class="ctrlUnit">
			<dt><label for="ctrl_email">{xen:phrase email}:</label></dt>
			<dd>{$credentials.basic.email}</dd>
		</dl>
		
		<xen:if is="{$showDob}">
			<xen:include template="helper_birthday_row_register" />
		</xen:if>
		
		<xen:if is="{$xenOptions.registrationSetup.requireLocation} AND !{$credentials.user.currentLocation}">
			<dl class="ctrlUnit">
				<dt>
					{xen:phrase location}:
					<dfn>{xen:phrase required}</dfn>
				</dt>
				<dd>
					<input type="text" name="location" value="{$fields.location}" class="textCtrl" />
				</dd>
			</dl>
		</xen:if>
		
		<xen:include template="custom_fields_edit" />
	
		<dl class="ctrlUnit" style="display: none">
			<dt><label for="ctrl_timezone">{xen:phrase time_zone}:</label></dt>
			<dd>
				<select name="timezone" class="textCtrl AutoTimeZone OptOut" id="ctrl_timezone">
					<xen:foreach loop="$timeZones" key="$identifier" value="$name">
						<option value="{$identifier}" {xen:selected "{$identifier} == {$xenOptions.guestTimeZone}"}>{$name}</option>
					</xen:foreach>
				</select>
			</dd>
		</dl>
		
		<dl class="ctrlUnit submitUnit">
			<dt></dt>
			<dd>
				<xen:if is="{$tosUrl}">
					<ul>
						<li>
							{xen:phrase i_agree_to_terms_and_rules, 'checkbox=<input type="checkbox" name="agree" value="1" id="ctrl_agree" class="Disabler" />', 'terms_attributes=href="{$tosUrl}" target="_blank"'}
							<ul id="ctrl_agree_Disabler">
								<li><input type="submit" value="{xen:phrase sign_up}" accesskey="s" class="button primary" /></li>
							</ul>						
						</li>
					</ul>
				<xen:else />
					<input type="submit" value="{xen:phrase sign_up}" accesskey="s" class="button primary" />
				</xen:if>
				
				<p class="explain" style="margin-top: 10px">{xen:phrase will_automatically_associate_profile_picture_home_page_etc}</p>
			</dd>
		</dl>
	
	</li>
	</xen:if>

	<li>
		<dl class="ctrlUnit">
			<dt><label for="ctrl_associate_login">{xen:phrase associate_with}:</label></dt>
			<dd>
				<xen:if is="{$existingUser}">
					{$existingUser.username}
					<xen:if is="{$emailMatch}">
						<p class="explain">{xen:phrase this_member_matches_email_address_associated_with_your_external_account}</p>
					</xen:if>
					<input type="hidden" name="associate_login" value="{$existingUser.username}" />
					<input type="hidden" name="force_assoc" value="1" />
				<xen:else />
					<input type="text" name="associate_login" class="textCtrl" id="ctrl_associate_login" />
				</xen:if>
			</dd>
		</dl>
		
		<dl class="ctrlUnit">
			<dt><label for="ctrl_associate_password">{xen:phrase password}:</label></dt>
			<dd>
				<input type="password" name="associate_password" class="textCtrl" id="ctrl_associate_password" />
				<p class="explain">{xen:phrase password_of_x_account_wish_to_associate_with, 'board_title={$xenOptions.boardTitle}'}</p>
			</dd>
		</dl>
		
		<dl class="ctrlUnit submitUnit">
			<dt></dt>
			<dd><input type="submit" value="{xen:phrase associate_account}" name="associate" accesskey="a" class="button primary" /></dd>
		</dl>
	</li>

</ul>

<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
<input type="hidden" name="redirect" value="{$redirect}" />
</form>]]></template>
  <template title="register_process" version_id="1040470" version_string="1.4.4"><![CDATA[<div class="systemMessage">

	<xen:if is="{$user.user_state} == 'email_confirm'">
		{xen:phrase thanks_for_registering_to_complete_registration_follow_link}
	<xen:elseif is="{$user.user_state} == 'moderated'" />
		{xen:phrase thanks_for_registering_registration_must_be_approved}
	<xen:elseif is="{$facebook}" />
		{xen:phrase thanks_creating_account_using_facebook_account_active}
	<xen:else />
		{xen:phrase thanks_for_registering_complete}
	</xen:if>
	
	<div class="baseHtml">
		<ul>
			<xen:if is="{$redirect}"><li><a href="{$redirect}">{xen:phrase return_to_page_you_were_viewing}</a></li></xen:if>
			<li><a href="{xen:link index}">{xen:phrase return_to_forum_home_page}</a></li>
			<xen:if is="{$canEditProfile}">
				<li><a href="{xen:link account}">{xen:phrase edit_your_account_details}</a></li>
			</xen:if>
		</ul>
	</div>

</div>]]></template>
  <template title="register_twitter" version_id="1040051" version_string="1.4.0 Release Candidate 1"><![CDATA[<xen:title>{xen:phrase sign_up_with_twitter}</xen:title>
	
<form action="{xen:link 'register/twitter/register'}" method="post" class="xenForm AutoValidator"
	data-fieldValidatorUrl="{xen:link register/validate-field}"
	data-OptInOut="OptIn"
	data-normalSubmit="1">

<ul class="tabs Tabs" data-panes="#TwitterTabs > li">
	<xen:if is="!{$associateOnly}"><li><a>{xen:phrase create_new_account}</a></li></xen:if>
	<li><a>{xen:phrase associate_existing_account}</a></li>
</ul>

<ul id="TwitterTabs">
	
	<xen:if is="!{$associateOnly}">
	<li>
		<dl class="ctrlUnit">
			<dt><label for="ctrl_username">{xen:phrase name}:</label></dt>
			<dd>
				<input type="text" name="username" value="" class="textCtrl OptIn" id="ctrl_username" autofocus="true" autocomplete="off" />
				<p class="explain">{xen:phrase this_is_name_that_will_be_shown_with_your_messages}</p>
			</dd>
		</dl>
	
		<dl class="ctrlUnit">
			<dt><label for="ctrl_email">{xen:phrase email}:</label></dt>
			<dd><input type="email" name="email" value="" dir="ltr" class="textCtrl OptIn" id="ctrl_email" /></dd>
		</dl>
		
		<xen:include template="helper_birthday_row_register" />
		
		<xen:if is="{$xenOptions.registrationSetup.requireLocation} AND !{$credentials.location}">
			<dl class="ctrlUnit">
				<dt>
					{xen:phrase location}:
					<dfn>{xen:phrase required}</dfn>
				</dt>
				<dd>
					<input type="text" name="location" class="textCtrl" />
				</dd>
			</dl>
		</xen:if>
		
		<xen:include template="custom_fields_edit" />
	
		<dl class="ctrlUnit" style="display: none">
			<dt><label for="ctrl_timezone">{xen:phrase time_zone}:</label></dt>
			<dd>
				<select name="timezone" class="textCtrl AutoTimeZone OptOut" id="ctrl_timezone">
					<xen:foreach loop="$timeZones" key="$identifier" value="$name">
						<option value="{$identifier}" {xen:selected "{$identifier} == {$xenOptions.guestTimeZone}"}>{$name}</option>
					</xen:foreach>
				</select>
			</dd>
		</dl>
		
		<dl class="ctrlUnit submitUnit">
			<dt></dt>
			<dd>
				<xen:if is="{$tosUrl}">
					<ul>
						<li>
							{xen:phrase i_agree_to_terms_and_rules, 'checkbox=<input type="checkbox" name="agree" value="1" id="ctrl_agree" class="Disabler" />', 'terms_attributes=href="{$tosUrl}" target="_blank"'}
							<ul id="ctrl_agree_Disabler">
								<li><input type="submit" value="{xen:phrase sign_up}" accesskey="s" class="button primary" /></li>
							</ul>						
						</li>
					</ul>
				<xen:else />
					<input type="submit" value="{xen:phrase sign_up}" accesskey="s" class="button primary" />
				</xen:if>
				
				<p class="explain" style="margin-top: 10px">{xen:phrase will_automatically_associate_profile_picture_home_page_etc}</p>
			</dd>
		</dl>
	
	</li>
	</xen:if>

	<li>
		<dl class="ctrlUnit">
			<dt><label for="ctrl_associate_login">{xen:phrase associate_with}:</label></dt>
			<dd>
				<xen:if is="{$existingUser}">
					{$existingUser.username}
					<input type="hidden" name="associate_login" value="{$existingUser.username}" />
					<input type="hidden" name="force_assoc" value="1" />
				<xen:else />
					<input type="text" name="associate_login" class="textCtrl" id="ctrl_associate_login" />
				</xen:if>
			</dd>
		</dl>
		
		<dl class="ctrlUnit">
			<dt><label for="ctrl_associate_password">{xen:phrase password}:</label></dt>
			<dd>
				<input type="password" name="associate_password" class="textCtrl" id="ctrl_associate_password" />
				<p class="explain">{xen:phrase password_of_x_account_wish_to_associate_with, 'board_title={$xenOptions.boardTitle}'}</p>
			</dd>
		</dl>
		
		<dl class="ctrlUnit submitUnit">
			<dt></dt>
			<dd><input type="submit" value="{xen:phrase associate_account}" name="associate" accesskey="a" class="button primary" /></dd>
		</dl>
	</li>

</ul>

<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
<input type="hidden" name="redirect" value="{$redirect}" />
</form>]]></template>
  <template title="report.css" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[.reportSearchForm
{
	text-align: right;
}

.report-assigned.assignedSelf .title
{
	font-weight: bold;
}

.reportListItem
{
	overflow: hidden; zoom: 1;
}

	.reportListItem .content
	{
		margin-right: 210px;
	}
	
		.reportListItem .content .state
		{
			color: {xen:property mutedTextColor};
			font-size: 11px;
		}
	
	.reportListItem .info
	{
		float: right;
		right: 0;
		top: 0;
		width: 200px;
	}

.newerReportsLink
{
	margin-left: 10px;
}

/** REPORT VIEWING **/

.reportUserLinks li
{
	display: inline;
	margin-left: 5px;
}

.statusChange
{
	margin: 4px 10px;
	color: {xen:property dimmedTextColor};
	font-size: 11px;
}

.reportComment
{
	overflow: hidden; *zoom: 1;
}

	.reportComment .avatar
	{
		float: left;
	}

	.reportComment .content
	{
		margin-left: 65px;
	}

	.staffComment .username
	{
		font-weight: bold;
	}

.reportCommentNote
{
	color: {xen:property mutedTextColor};
	font-size: 11px;
}

.reportCommentForm textarea
{
	width: 100%;
	box-sizing: border-box;
	*width: 98%;
}

.reportCommentForm .submitRow
{
	margin-top: 5px;
	text-align: right;
}

.handleReportForm .assignedOtherWarning
{
	text-align: center;
	color: {xen:property mutedTextColor};
}

	.handleReportForm .assignedOtherWarning p
	{
		margin-bottom: 4px;
	}

.handleReportForm .updateStatus h4
{
	color: {xen:property mutedTextColor};
}

.handleReportForm .updateStatus ul
{
	margin-bottom: 6px;
}

	.handleReportForm .updateStatus ul:last-child
	{
		margin-bottom: 0;
	}

.handleReportForm .updateStatus li
{
	margin: 2px 0 2px 10px;
}

.handleReportForm textarea
{
	margin-top: 5px;
	width: 100%;
	box-sizing: border-box;
	*width: 95%;
}]]></template>
  <template title="report_conversation_message_content" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<div class="primaryContent  messageText ugc baseHtml">{xen:helper bbCode, $bbCodeParser, $content.message}</div>
<div class="secondaryContent">
	<dl class="pairsRows"><dt>{xen:phrase conversation_starter}:</dt>
		<dd><a href="{xen:link members, $content.conversation}" class="username">{$content.conversation.username}</a></dd></dl>
	<dl class="pairsRows"><dt>{xen:phrase start_date}:</dt>
		<dd><xen:datetime time="{$content.conversation.start_date}" /></dd></dl>
	<dl class="pairsRows"><dt>{xen:phrase replies}:</dt>
		<dd>{xen:number $content.conversation.reply_count}</dd></dl>
	<dl class="pairsRows"><dt>{xen:phrase conversation_participants}:</dt>
		<dd><ol class="listInline commaImplode">
		<xen:foreach loop="$content.recipients"  value="$user">
			<li><xen:if is="{$user.user_id}"><xen:username user="$user" /><xen:else />{xen:helper userNameHtml, $user, '{xen:phrase unknown_member}'}</xen:if></li>
		</xen:foreach>
		</ol></dd>
	</dl>
</div>]]></template>
  <template title="report_list" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:title>{xen:phrase reported_items}</xen:title>

<xen:topctrl><a href="{xen:link 'reports/closed'}" class="callToAction"><span>{xen:phrase closed_reports}</span></a></xen:topctrl>

<xen:require css="report.css" />
<xen:require css="discussion_list.css" />

<form action="{xen:link reports/search}" method="post" class="section reportSearchForm">
	{xen:phrase find_reports_for_member}: <input type="text" name="username" class="AutoComplete textCtrl AcSingle" size="25" /> <input type="submit" class="button primary" value="{xen:phrase search}" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>
	
<div class="discussionList section">
	<h3 class="textHeading">{xen:phrase active_reports}</h3>
	<dl class="sectionHeaders">
		<dt class="posterAvatar"><a><span></span></a></dt>
		<dd class="main">
			<a class="title"><span>{xen:phrase content}</span></a>
		</dd>
		<dd class="stats">
			<a class="major"><span>{xen:phrase comments}</span></a>
		</dd>
		<dd class="lastPost"><a><span>{xen:phrase last_modified}</span></a></dd>
	</dl>

	<ol class="discussionListItems">
		<xen:if is="{$reports}">
			<xen:foreach loop="$reports" value="$report">
				<xen:include template="report_list_item" />
			</xen:foreach>
		<xen:else />
			<li class="primaryContent">{xen:phrase there_no_active_reports_requiring_your_attention}</li>
		</xen:if>
	</ol>
</div>

<xen:if is="{$recentlyClosed}">
	<div class="discussionList section">
		<h3 class="textHeading">{xen:phrase recently_closed_reports}</h3>
		<dl class="sectionHeaders">
			<dt class="posterAvatar"><a><span></span></a></dt>
			<dd class="main">
				<a class="title"><span>{xen:phrase content}</span></a>
			</dd>
			<dd class="stats">
				<a class="major"><span>{xen:phrase comments}</span></a>
			</dd>
			<dd class="lastPost"><a><span>{xen:phrase last_modified}</span></a></dd>
		</dl>
		<ol class="discussionListItems">
		<xen:foreach loop="$recentlyClosed" value="$report">
			<xen:include template="report_list_item" />
		</xen:foreach>
		</ol>
	</div>
</xen:if>]]></template>
  <template title="report_list_closed" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:title>{xen:phrase closed_reports_x_y, 'from={xen:datetime $minimumTimestamp, absolute}', 'to={xen:datetime $maximumTimestamp, absolute}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:reports}">{xen:phrase reported_items}</xen:breadcrumb>
</xen:navigation>

<xen:topctrl><a href="{xen:link 'reports'}" class="callToAction"><span>{xen:phrase active_reports}</span></a></xen:topctrl>

<xen:require css="report.css" />
<xen:require css="discussion_list.css" />
	
<div class="discussionList section">
	<dl class="sectionHeaders">
		<dt class="posterAvatar"><a><span></span></a></dt>
		<dd class="main">
			<a class="title"><span>{xen:phrase content}</span></a>
		</dd>
		<dd class="stats">
			<a class="major"><span>{xen:phrase comments}</span></a>
		</dd>
		<dd class="lastPost"><a><span>{xen:phrase last_modified}</span></a></dd>
	</dl>

	<ol class="discussionListItems">
		<xen:if is="{$reports}">
			<xen:foreach loop="$reports" value="$report">
				<xen:include template="report_list_item" />
			</xen:foreach>
		<xen:else />
			<li class="primaryContent">{xen:phrase no_reports_have_been_closed_during_this_period}</li>
		</xen:if>
	</ol>
	
	<div class="sectionFooter actionList">
		<a href="{xen:link 'reports/closed', '', 'page={xen:calc "{$page} + 1"}'}">&larr; {xen:phrase older}</a>
		<xen:if is="{$page} > 1">
			<a href="{xen:link 'reports/closed', '', 'page={xen:calc "{$page} - 1"}'}" class="newerReportsLink">{xen:phrase newer} &rarr;</a>
		</xen:if>
	</div>
</div>]]></template>
  <template title="report_list_item" version_id="1040370" version_string="1.4.3"><![CDATA[<xen:require css="report.css" />
<xen:require css="discussion_list.css" />

<li id="report-{$report.report_id}" class="discussionListItem {xen:if '{$report.assigned_user_id} == {$visitor.user_id}', assignedSelf} report-{$report.report_state}">

	<div class="listBlock posterAvatar">
		<span class="avatarContainer">
			<xen:avatar user="$report" size="s" img="true" />
		</span>
	</div>

	<div class="listBlock main">

		<div class="titleText">
			<h3 class="title">
				<a href="{xen:link reports, $report}"><xen:if is="{$report.isVisible}">{xen:string wrap, {xen:escape $report.contentTitle, false}, 50}<xen:else />{xen:phrase unknown_content}</xen:if></a>
			</h3>

			<div class="secondRow">
				<div class="posterDate muted">
					<xen:if is="{$report.username}"><xen:username user="$report" title="{xen:phrase content_creator}" /><xen:else />{xen:phrase guest}</xen:if>,
					<span class="faint">{xen:phrase reported}: <xen:datetime time="$report.first_report_date" /></span>
				</div>

				<div class="controls faint">
					{$report.reportState}<xen:if is="{$report.assigned_username} AND {$report.isVisible}"> ({$report.assigned_username})</xen:if>
				</div>
			</div>
		</div>
	</div>

	<div class="listBlock stats pairsJustified">
		<xen:if is="{$report.report_count}">
			<dl class="major"><dt>{xen:phrase reports}:</dt> <dd>{xen:number $report.report_count}</dd></dl>
			<dl class="minor"><dt>{xen:phrase comments}:</dt> <dd>{xen:number $report.comment_count}</dd></dl>
		<xen:else />
			<dl class="major"><dt>{xen:phrase comments}:</dt> <dd>{xen:number $report.comment_count}</dd></dl>
		</xen:if>
	</div>

	<div class="listBlock lastPost">
		<dl class="lastPostInfo">
			<dt><xen:if is="{$report.isVisible}"><xen:username user="$report.lastModifiedInfo" /><xen:else />{xen:phrase n_a}</xen:if></dt>
			<dd class="muted"><a href="{xen:link reports, $report}" class="dateTime"><xen:datetime time="$report.lastModifiedInfo.date" /></a></dd>
		</dl>
	</div>

</li>]]></template>
  <template title="report_post_content" version_id="1010033" version_string="1.1.0 Beta 3"><![CDATA[<div class="primaryContent messageText ugc baseHtml">{xen:helper bbCode, $bbCodeParser, $content.message}</div>
<dl class="secondaryContent pairsInline">
	<dt>{xen:phrase forum}:</dt> <dd>{$content.node_title}</dd>
</dl>]]></template>
  <template title="report_profile_post_content" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<div class="primaryContent">{xen:helper bodyText, $content.message}</div>
<dl class="secondaryContent pairsInline">
	<dt>{xen:phrase receiving_member}:</dt>
	<dd><a href="{xen:link members, {xen:array 'user_id={$content.profile_user_id}', 'username={$content.profile_username}'}}">{$content.profile_username}</a></dd>
</dl>]]></template>
  <template title="report_reassign" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:title>{xen:phrase reassign_report}: {xen:escape $report.contentTitle, false}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:reports}">{xen:phrase reported_items}</xen:breadcrumb>
	<xen:breadcrumb href="{xen:link full:reports, $report}">{xen:escape $report.contentTitle, false}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'reports/reassign', $report}" method="post" class="xenForm formOverlay">

	<dl class="ctrlUnit">
		<dt>{xen:phrase member}:</dt>
		<dd><select name="user_id" class="textCtrl">
			<option value="0" {xen:selected '!{$report.assigned_user_id}'}>({xen:phrase none})</option>
			<xen:foreach loop="$users" value="$user">
				<option value="{$user.user_id}" {xen:selected '{$report.assigned_user_id} == {$user.user_id}'}>{$user.username}</option>
			</xen:foreach>
		</select></dd>
	</dl>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd>
			<input type="submit" value="{xen:phrase save_changes}" accesskey="s" class="button primary" />
		</dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	<input type="hidden" name="_xfConfirm" value="1" />
</form>]]></template>
  <template title="report_search" version_id="1020570" version_string="1.2.5"><![CDATA[<xen:title>{xen:phrase xs_reported_content, 'name={$user.username}'}</xen:title>

<xen:require css="report.css" />
<xen:require css="discussion_list.css" />

<div class="discussionList section">
	<dl class="sectionHeaders">
		<dt class="posterAvatar"><a><span></span></a></dt>
		<dd class="main">
			<a class="title"><span>{xen:phrase content}</span></a>
		</dd>
		<dd class="stats">
			<a class="major"><span>{xen:phrase comments}</span></a>
		</dd>
		<dd class="lastPost"><a><span>{xen:phrase last_modified}</span></a></dd>
	</dl>

	<ol class="discussionListItems">
	<xen:foreach loop="$reports" value="$report">
		<xen:include template="report_list_item" />
	</xen:foreach>
	</ol>
</div>

<div class="pageNavLinkGroup">
	<xen:pagenav link="reports/search" linkparams="{xen:array 'user_id={$user.user_id}'}" page="{$page}" perpage="{$perPage}" total="{$totalReports}" />
</div>]]></template>
  <template title="report_view" version_id="1030032" version_string="1.3.0 Beta 2"><![CDATA[<xen:title>{xen:phrase reported_content}: {xen:escape $report.contentTitle, false}</xen:title>
<xen:h1>{xen:escape $report.contentTitle, false}</xen:h1>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:reports}">{xen:phrase reported_items}</xen:breadcrumb>
</xen:navigation>

<xen:require css="report.css" />
<xen:require css="bb_code.css" />

<div class="section">
	<h3 class="subHeading">{xen:phrase content}</h3>

	<xen:require css="xenforo_member_list_item.css" />
	<div class="secondaryContent memberListItem">
		<xen:avatar user="$report" size="s" />

		<div class="member">
			<xen:if is="{$report.user_id}">
				<h3 class="username"><xen:username user="$report" rich="true" /></h3>
				
				<div class="userInfo">
					<div class="userBlurb dimmed">{xen:helper userBlurb, $report}</div>
					<dl class="userStats pairsInline">
						<dt title="{xen:phrase total_messages_posted_by_x, 'name={$report.username}'}">{xen:phrase messages}:</dt> <dd>{xen:number $report.message_count}</dd>
						<dt title="{xen:phrase number_of_times_something_posted_by_x_has_been_liked, 'name={$report.username}'}">{xen:phrase likes_received}:</dt> <dd>{xen:number $report.like_count}</dd>
						<dt>{xen:phrase trophy_points}:</dt> <dd title="{xen:phrase trophy_points}">{xen:number $report.trophy_points}</dd>
					</dl>
				</div>	
			<xen:else />
				<h3 class="username guest dimmed">{xen:phrase guest}</h3>
			</xen:if>
		</div>
	</div>
	{xen:raw $report.extraContentTemplate}
	<xen:if is="{$report.contentLink}">
		<div class="sectionFooter actionList"><a href="{$report.contentLink}" target="_blank" class="button">{xen:phrase go_to_content}</a></div>
	</xen:if>
</div>

<div class="section">
	<h3 class="subHeading">{xen:phrase comments}</h3>
	<ol>
	<xen:foreach loop="$comments" value="$comment">
		<li class="primaryContent reportComment {xen:if '!{$comment.is_report}', staffComment}">
			<xen:avatar user="$comment" size="s" />
			<div class="content">
				<xen:username user="$comment" /> <span class="muted"><xen:datetime time="$comment.comment_date" /></span>
				<xen:if is="{$comment.state_change}"><p class="statusChange">{xen:phrase status_changed}: {$comment.stateChange}</p></xen:if>
				<xen:if is="{$comment.message}"><blockquote>{xen:helper bodyText, $comment.message}</blockquote></xen:if>
			</div>
		</li>
	</xen:foreach>

		<li class="primaryContent">
			<form action="{xen:link reports/comment, $report}" method="post" class="reportCommentForm">
				<textarea name="comment" placeholder="{xen:phrase comment_noun}..." rows="3" class="textCtrl Elastic"></textarea>
				<div class="submitRow">
					<span class="reportCommentNote">{xen:phrase your_comment_will_only_be_visible_to_moderators}</span>
					<xen:if is="{$report.isClosed}">
						<span class="reportCommentNote">{xen:phrase your_comment_will_re_open_this_report}</span>
						<input type="hidden" name="reopen" value="1" />
					</xen:if>
					<input type="submit" value="{xen:phrase comment_verb}" class="button primary" />
				</div>
					
				<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
			</form>
		</li>
	</ol>
</div>

<xen:sidebar>
	<div class="section">
		<div class="secondaryContent">
			<h3>{xen:phrase report_info}</h3>
			<div class="pairsJustified">
				<dl><dt>{xen:phrase first_reported}:</dt> <dd><xen:datetime time="{$report.first_report_date}" /></dd></dl>
				<dl><dt>{xen:phrase reports}:</dt> <dd>{xen:number $report.report_count}</dd></dl>
				<dl><dt>{xen:phrase comments}:</dt> <dd>{xen:number $report.comment_count}</dd></dl>
				<dl><dt>{xen:phrase report_status}:</dt> <dd>{$report.reportState}</dd></dl>
				<xen:if is="{$report.assigned_username}"><dl><dt>{xen:phrase assigned_to}:</dt> <dd>{$report.assigned_username}</dd></dl></xen:if>
				<dl><dt>{xen:phrase last_modified}:</dt> <dd><xen:datetime time="{$report.last_modified_date}" /></dd></dl>
			</div>
		</div>
		<xen:if is="{$canAssignReport} AND !{$canUpdateReport}">
			<div class="sectionFooter actionList">
				<form action="{xen:link 'reports/assign', $report}" method="post">
					<input type="submit" name="save" value="{xen:phrase claim_and_handle_report}" accesskey="s" class="button primary" />
					<input type="hidden" name="viewed_assigned_user_id" value="{$report.assigned_user_id}" />
					<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
				</form>
			</div>
		</xen:if>
	</div>
	
	<xen:if is="{$canUpdateReport}">
		<div class="ToggleTriggerAnchor">
			<div class="section">
				<form action="{xen:link reports/update, $report}" method="post" class="handleReportForm">
					<div class="secondaryContent">
						<h3>{xen:phrase handle_report}</h3>

						<xen:if is="{$report.activeAssignedOther}">
							<div class="HandleToggleSelf assignedOtherWarning">
								<p>{xen:phrase this_report_is_currently_assigned_to_x, 'assigned_username={$report.assigned_username}'}</p>
								<input type="button" class="button primary ToggleTrigger" data-target=".HandleToggle" data-hide=".HandleToggleSelf" value="{xen:phrase handle_report}" />
							</div>
						</xen:if>
						
						<div class="HandleToggle" {xen:if $report.activeAssignedOther, 'style="display:none"'}>
							<div class="updateStatus">
								<h4>{xen:phrase status}:</h4>
								<ul>
									<li><label><input type="radio" name="report_state" value="" checked="checked" /> {xen:phrase do_not_change}</label></li>
									<xen:if is="{$canAssignReport}">
										<li><label><input type="radio" name="report_state" value="assigned" /> {xen:phrase assigned}</label></li>
									<xen:else />
										<li><label><input type="radio" name="report_state" value="open" /> {xen:phrase unassign}</label></li>
									</xen:if>
									<li><label><input type="radio" name="report_state" value="resolved" /> {xen:phrase resolved}</label></li>
									<li><label><input type="radio" name="report_state" value="rejected" /> {xen:phrase rejected}</label></li>
								</ul>

								<ul>
									<li title="{xen:phrase optional}">
										<label><input type="checkbox" name="send_alert" value="1" id="ctrl_send_alert" class="Disabler" /> {xen:phrase send_resolution_rejection_alert}:</label>
										<ul id="ctrl_send_alert_Disabler">
											<li><input type="text" name="alert_comment" class="textCtrl" /></li>
										</ul>
									</li>
								</ul>
							</div>
			
							<textarea name="comment" placeholder="{xen:phrase comment_noun}..." class="textCtrl Elastic" rows="2"></textarea>
							<div class="reportCommentNote">{xen:phrase your_comment_will_only_be_visible_to_moderators}</div>
						</div>
					</div>				
					<div class="sectionFooter actionList HandleToggle" {xen:if $report.activeAssignedOther, 'style="display:none"'}>
						<input type="submit" name="save" value="{xen:phrase update_report}" accesskey="s" class="button primary" />
						<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
					</div>
				</form>
			</div>

			<div class="section HandleToggle" {xen:if $report.activeAssignedOther, 'style="display:none"'}>
				<div class="secondaryContent">
					<h3>{xen:phrase reassign_report}</h3>
					<div style="text-align: center">
						<a href="{xen:link reports/reassign, $report}" class="button primary OverlayTrigger">{xen:phrase reassign_report}</a>
					</div>
				</div>
			</div>
		</div>
	</xen:if>
</xen:sidebar>]]></template>
  <template title="reset_permissions" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<xen:title>{xen:phrase reset_permissions}</xen:title>

<form action="{xen:link misc/reset-permissions}" method="post" class="xenForm formOverlay">
	<p>{xen:phrase sure_want_to_return_to_viewing_using_your_own_permission_set}</p>
	
	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" class="button primary" value="{xen:phrase reset_permissions}" /></dd>
	</dl>
	
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="search_bar" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:edithint template="search_bar.css" />

<div id="searchBar" class="pageWidth">
	<xen:hook name="quick_search">
	<span id="QuickSearchPlaceholder" title="{xen:phrase search}">{xen:phrase search}</span>
	<fieldset id="QuickSearch">
		<form action="{xen:link 'search/search'}" method="post" class="formPopup">
			
			<div class="primaryControls">
				<!-- block: primaryControls -->
				<input type="search" name="keywords" value="" class="textCtrl" placeholder="{xen:phrase search}..." results="0" title="{xen:phrase enter_your_search_and_hit_enter}" id="QuickSearchQuery" />				
				<!-- end block: primaryControls -->
			</div>
			
			<div class="secondaryControls">
				<div class="controlsWrapper">
				
					<!-- block: secondaryControls -->
					<dl class="ctrlUnit">
						<dt></dt>
						<dd><ul>
							<li><label><input type="checkbox" name="title_only" value="1"
								id="search_bar_title_only" class="AutoChecker"
								data-uncheck="#search_bar_thread" /> {xen:phrase search_titles_only}</label></li>
						</ul></dd>
					</dl>
				
					<dl class="ctrlUnit">
						<dt><label for="searchBar_users">{xen:phrase posted_by_member}:</label></dt>
						<dd>
							<input type="text" name="users" value="" class="textCtrl AutoComplete" id="searchBar_users" />
							<p class="explain">{xen:phrase separate_names_with_comma}</p>
						</dd>
					</dl>
				
					<dl class="ctrlUnit">
						<dt><label for="searchBar_date">{xen:phrase newer_than}:</label></dt>
						<dd><input type="date" name="date" value="" class="textCtrl" id="searchBar_date" /></dd>
					</dl>
					
					<xen:if is="{$searchBar}">
					<dl class="ctrlUnit">
						<dt></dt>
						<dd><ul>
								<xen:foreach loop="$searchBar" value="{$constraint}">
									<li>{xen:raw $constraint}</li>
								</xen:foreach>
						</ul></dd>
					</dl>
					</xen:if>
				</div>
				<!-- end block: secondaryControls -->
				
				<dl class="ctrlUnit submitUnit">
					<dt></dt>
					<dd>
						<input type="submit" value="{xen:phrase search}" class="button primary Tooltip" title="{xen:phrase find_now}" />
						<div class="Popup" id="commonSearches">
							<a rel="Menu" class="button NoPopupGadget Tooltip" title="{xen:phrase useful_searches}" data-tipclass="flipped"><span class="arrowWidget"></span></a>
							<div class="Menu">
								<div class="primaryContent menuHeader">
									<h3>{xen:phrase useful_searches}</h3>
								</div>
								<ul class="secondaryContent blockLinksList">
									<!-- block: useful_searches -->
									<li><a href="{xen:link find-new/posts, '', 'recent=1'}" rel="nofollow">{xen:phrase recent_posts}</a></li>
									<xen:if is="{$visitor.user_id}">
									<li><a href="{xen:link search/member, '', 'user_id={$visitor.user_id}', 'content=thread'}">{xen:phrase your_threads}</a></li>
									<li><a href="{xen:link search/member, '', 'user_id={$visitor.user_id}', 'content=post'}">{xen:phrase your_posts}</a></li>
									<li><a href="{xen:link search/member, '', 'user_id={$visitor.user_id}', 'content=profile_post'}">{xen:phrase your_profile_posts}</a></li>
									</xen:if>
									<!-- end block: useful_searches -->
								</ul>
							</div>
						</div>
						<a href="{xen:link search}" class="button moreOptions Tooltip" title="{xen:phrase advanced_search}">{xen:phrase more}...</a>
					</dd>
				</dl>
				
			</div>
			
			<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
		</form>		
	</fieldset>
	</xen:hook>
</div>]]></template>
  <template title="search_bar.css" version_id="1030170" version_string="1.3.1"><![CDATA[#searchBar
{
	position: relative;
	zoom: 1;
	z-index: 52; /* higher than breadcrumb arrows */
}

	#QuickSearchPlaceholder
	{
		position: absolute;
		right: 20px;
		top: {xen:calc '-1 * ({xen:property headerTabHeight} / 2 + 16 / 2)'}px;
		display: none;
		border-radius: 5px;
		cursor: pointer;
		font-size: 11px;
		height: 16px;
		width: 16px;
		box-sizing: border-box;
		text-indent: -9999px;
		background: transparent url('{xen:property imagePath}/xenforo/xenforo-ui-sprite.png') no-repeat -144px 0px;
		overflow: hidden;
	}

	#QuickSearch
	{
		display: block;
		
		position: absolute;
		right: 20px;
		top: -18px;
		
		margin: 0;
		
		background-color: {xen:property content.background-color};
		border-radius: 5px;
		padding-top: 5px;
		_padding-top: 3px;
		z-index: 7500;
	}
			
		#QuickSearch .secondaryControls
		{
			display: none;
		}
	
		#QuickSearch.active
		{
			box-shadow: 5px 5px 25px rgba(0,0,0, 0.5);
			padding-bottom: 5px;
		}
		
	#QuickSearch .submitUnit .button
	{
		min-width: 0;
	}
		
	#QuickSearch input.button.primary
	{
		float: left;
		width: 110px;
	}
	
	#QuickSearch #commonSearches
	{
		float: right;
	}
	
		#QuickSearch #commonSearches .button
		{
			width: 23px;
			padding: 0;
		}
		
			#QuickSearch #commonSearches .arrowWidget
			{
				margin: 0;
				float: left;
				margin-left: 4px;
				margin-top: 4px;
			}
	
	#QuickSearch .moreOptions
	{
		display: block;
		margin: 0 24px 0 110px;
		width: auto;
	}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveMediumWidth})
{
	.Responsive #QuickSearchPlaceholder
	{
		display: block;
	}

	.Responsive #QuickSearchPlaceholder.hide
	{
		display: none;
	}

	.Responsive #QuickSearch
	{
		display: none;
	}

	.Responsive #QuickSearch.show
	{
		display: block;
	}
}
</xen:if>]]></template>
  <template title="search_bar_forum_only" version_id="1010270" version_string="1.1.2"><![CDATA[<label title="{xen:phrase search_only_x, 'title={$forum.title}'}"><input type="checkbox" name="nodes[]" value="{$forum.node_id}"
	id="search_bar_nodes" class="Disabler AutoChecker" checked="checked"
	data-uncheck="#search_bar_thread" /> {xen:phrase search_this_forum_only}</label>
	<ul id="search_bar_nodes_Disabler">
		<li><label><input type="checkbox" name="type[post][group_discussion]" value="1"
			id="search_bar_group_discussion" class="AutoChecker"
			data-uncheck="#search_bar_thread" /> {xen:phrase display_results_as_threads}</label></li>
	</ul>]]></template>
  <template title="search_bar_thread_only" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<label title="{xen:phrase search_only_x, 'title={$thread.title}'}"><input type="checkbox" name="type[post][thread_id]" value="{$thread.thread_id}"
	id="search_bar_thread" class="AutoChecker"
	data-uncheck="#search_bar_title_only, #search_bar_nodes" /> {xen:phrase search_this_thread_only}</label>]]></template>
  <template title="search_form" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[<xen:title>{xen:phrase search}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:search}">{xen:phrase search}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'search/search'}" method="post" class="xenForm AutoValidator"
	data-optInOut="optIn"
	data-redirect="true">

	<xen:include template="search_form_tabs" />

	<dl class="ctrlUnit">
		<dt><label for="ctrl_keywords">{xen:phrase keywords}:</label></dt>
		<dd>
			<ul>
				<li><input type="search" name="keywords" value="{$search.keywords}" results="0" class="textCtrl" id="ctrl_keywords" autofocus="true" /></li>
				<li><label for="ctrl_title_only"><input type="checkbox" name="title_only" id="ctrl_title_only" value="1"{xen:checked '{$search.title_only}'} /> {xen:phrase search_titles_only}</label></li>
			</ul>
		</dd>
	</dl>

	<dl class="ctrlUnit">
		<dt><label for="ctrl_users">{xen:phrase posted_by_member}:</label></dt>
		<dd>
			<input type="text" name="users" value="{$search.users}" class="textCtrl AutoComplete" id="ctrl_users" />
			<p class="explain">{xen:phrase separate_names_with_comma}</p>
		</dd>
	</dl>

	<dl class="ctrlUnit">
		<dt><label for="ctrl_date">{xen:phrase newer_than}:</label></dt>
		<dd>
			<input type="date" name="date" value="{$search.date}" class="textCtrl" id="ctrl_date" />
		</dd>
	</dl>

	<xen:if is="{$nodes}">
		<dl class="ctrlUnit">
			<dt><label for="ctrl_nodes">{xen:phrase search_in_forums}:</label></dt>
			<dd>
				<ul>
					<li><select name="nodes[]" id="ctrl_nodes" size="7" multiple="multiple" class="textCtrl">
						<option value=""{xen:selected '!{$search.nodes}'}>{xen:phrase all_forums}</option>
						<xen:foreach loop="$nodes" value="$node">
							<option value="{$node.node_id}"{xen:selected '{$search.nodes.{$node.node_id}}'}>{xen:string repeat, '&nbsp; &nbsp; ', $node.depth}{$node.title}</option>
						</xen:foreach>
					</select></li>
					<li><label for="ctrl_child_nodes"><input type="checkbox" name="child_nodes" id="ctrl_child_nodes" value="1"{xen:checked '{$search.child_nodes}'} /> {xen:phrase search_child_forums_as_well}</label></li>
				</ul>
			</dd>
		</dl>
	</xen:if>

	<xen:if is="{$supportsRelevance}">
		<dl class="ctrlUnit">
			<dt><label>{xen:phrase order_by}:</label></dt>
			<dd>
				<ul>
					<li><label for="ctrl_order_date"><input type="radio" name="order" id="ctrl_order_date" value="date" {xen:checked '{$search.order} == "date"'} /> {xen:phrase most_recent}</label></li>
					<li><label for="ctrl_order_relevance"><input type="radio" name="order" id="ctrl_order_relevance" value="relevance" {xen:checked '{$search.order} == "relevance"'} /> {xen:phrase relevance}</label></li>
				</ul>
			</dd>
		</dl>
	<xen:else />
		<input type="hidden" name="order" value="date" />
	</xen:if>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase search}" accesskey="s" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="search_form_post" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[<xen:title>{xen:phrase search_threads_and_posts}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:search}">{xen:phrase search}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'search/search'}" method="post" class="xenForm AutoValidator"
	data-optInOut="optIn"
	data-redirect="true">

	<xen:include template="search_form_tabs" />
	
	<xen:if is="{$search.thread}">
		<xen:require css="search_form_post.css" />
		<dl class="ctrlUnit" id="threadConstraint">
			<dt>{xen:phrase search_only_in_thread}:</dt>
			<dd><a href="javascript:" title="{xen:phrase remove_filter}" id="TitleRemove">x</a>
				<a href="{xen:link threads, $search.thread}" class="title">{$search.thread.title}</a>
				<input type="hidden" name="thread_id" value="{$search.thread.thread_id}" /></dd>
		</dl>
	</xen:if>
	
	<dl class="ctrlUnit">
		<dt><label for="ctrl_keywords">{xen:phrase keywords}:</label></dt>
		<dd>
			<ul>
				<li><input type="search" name="keywords" value="{$search.keywords}" results="0" class="textCtrl" id="ctrl_keywords" autofocus="true" /></li>
				<li><label for="ctrl_title_only"><input type="checkbox" name="title_only" id="ctrl_title_only" value="1" {xen:checked '{$search.title_only}'} /> {xen:phrase search_titles_only}</label></li>
			</ul>
		</dd>
	</dl>

	<fieldset>
		<dl class="ctrlUnit">
			<dt><label for="ctrl_users">{xen:phrase posted_by_member}:</label></dt>
			<dd>
				<ul>
					<li>
						<input type="text" name="users" value="{$search.users}" class="textCtrl AutoComplete" id="ctrl_users" />
						<p class="explain">{xen:phrase separate_names_with_comma}</p>
					</li>
					<xen:comment>
						<!-- this doesn't work as expected -->
						<li><label><input type="checkbox" name="user_content" value="thread" {xen:checked '{$search.user_content} == "thread"'} /> {xen:phrase search_threads_started_by_this_member_only}</label></li>
					</xen:comment>
				</ul>
			</dd>
		</dl>
	</fieldset>

	<fieldset>
		<dl class="ctrlUnit">
			<dt><label for="ctrl_date">{xen:phrase newer_than}:</label></dt>
			<dd>
				<input type="date" name="date" value="{$search.date}" class="textCtrl" id="ctrl_date" />
			</dd>
		</dl>
	
		<dl class="ctrlUnit">
			<dt><label for="ctrl_reply_count">{xen:phrase minimum_number_of_replies}:</label></dt>
			<dd>
				<!-- Chrome does horrible things with input:number -->
				<input type="number" name="reply_count" value="{$search.reply_count}" class="textCtrl" id="ctrl_reply_count" min="0" step="5" />
			</dd>
		</dl>
	</fieldset>
	
	<xen:if hascontent="true">
	<fieldset>
	<xen:contentcheck>
	<xen:if is="{$prefixes}">		
		<dl class="ctrlUnit">
			<dt><label for="ctrl_prefixes">{xen:phrase thread_prefixes}:</label></dt>
			<dd><select name="prefixes[]" class="textCtrl" size="5" multiple="multiple" id="ctrl_prefixes">
				<option value=""{xen:selected '!{$search.prefixes}'}>({xen:phrase any})</option>
				<xen:foreach loop="$prefixes" key="$prefixGroupId" value="$_prefixes">
					<xen:if is="{$prefixGroupId}">
					<optgroup label="{xen:helper threadPrefixGroup, $prefixGroupId}">
						<xen:foreach loop="$_prefixes" key="$prefixId" value="$prefix">
							<option value="{$prefixId}"{xen:selected '{$search.prefixes.{$prefixId}}'}>{$prefix.title}</option>
						</xen:foreach>
					</optgroup>
					<xen:else />
						<xen:foreach loop="$_prefixes" key="$prefixId" value="$prefix">
							<option value="{$prefixId}"{xen:selected '{$search.prefixes.{$prefixId}}'}>{$prefix.title}</option>
						</xen:foreach>
					</xen:if>	
				</xen:foreach>
			</select></dd>
		</dl>			
	</xen:if>

	<xen:if is="{$nodes}">
		<dl class="ctrlUnit">
			<dt><label for="ctrl_nodes">{xen:phrase search_in_forums}:</label></dt>
			<dd>
				<ul>
					<li><select name="nodes[]" id="ctrl_nodes" size="7" multiple="multiple" class="textCtrl">
						<option value=""{xen:selected '!{$search.nodes}'}>{xen:phrase all_forums}</option>
						<xen:foreach loop="$nodes" value="$node">
							<option value="{$node.node_id}"{xen:selected '{$search.nodes.{$node.node_id}}'}>{xen:string repeat, '&nbsp; &nbsp; ', $node.depth}{$node.title}</option>
						</xen:foreach>
					</select></li>
					<li><label for="ctrl_child_nodes"><input type="checkbox" name="child_nodes" id="ctrl_child_nodes" value="1"{xen:checked '{$search.child_nodes}'} /> {xen:phrase search_child_forums_as_well}</label></li>
				</ul>
			</dd>
		</dl>
	</xen:if>
	</xen:contentcheck>
	</fieldset>
	</xen:if>

	<dl class="ctrlUnit">
		<dt><label>{xen:phrase order_by}:</label></dt>
		<dd>
			<ul>
				<li><label for="ctrl_order_date"><input type="radio" name="order" id="ctrl_order_date" value="date"{xen:checked '{$search.order} == "date"'} /> {xen:phrase most_recent}</label></li>
				<li><label for="ctrl_order_replies"><input type="radio" name="order" id="ctrl_order_replies" value="replies"{xen:checked '{$search.order} == "replies"'} /> {xen:phrase most_replies}</label></li>
				<xen:if is="{$supportsRelevance}"><li><label for="ctrl_order_relevance"><input type="radio" name="order" id="ctrl_order_relevance" value="relevance"{xen:checked '{$search.order} == "relevance"'} /> {xen:phrase relevance}</label></li></xen:if>
			</ul>
		</dd>
	</dl>

	<dl class="ctrlUnit">
		<dt></dt>
		<dd><label for="ctrl_group_discussion"><input type="checkbox" name="group_discussion" id="ctrl_group_discussion" value="1"{xen:checked '{$search.group_discussion}'} /> {xen:phrase display_results_as_threads}</label></dd>
	</dl>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase search}" accesskey="s" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="type" value="post" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	
	<script>
	
	$(function()
	{
		$('#TitleRemove').click(function(e)
		{
			$(this).closest('dl.ctrlUnit').xfRemove();
		});
	});
	
	</script>
</form>]]></template>
  <template title="search_form_post.css" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[#threadConstraint #TitleRemove { float: right; }

#threadConstraint .title { font-weight: bold; }]]></template>
  <template title="search_form_profile_post" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[<xen:title>{xen:phrase search_profile_posts}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:search}">{xen:phrase search}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'search/search'}" method="post" class="xenForm AutoValidator"
	data-optInOut="optIn"
	data-redirect="true">

	<xen:include template="search_form_tabs" />
	
	<dl class="ctrlUnit">
		<dt><label for="ctrl_keywords">{xen:phrase keywords}:</label></dt>
		<dd><input type="search" name="keywords" value="{$search.keywords}" results="0" class="textCtrl" id="ctrl_keywords" autofocus="true" /></dd>
	</dl>

	<fieldset>
		<dl class="ctrlUnit">
			<dt><label for="ctrl_users">{xen:phrase posted_by_member}:</label></dt>
			<dd>
				<input type="text" name="users" value="{$search.users}" class="textCtrl AutoComplete" id="ctrl_users" />
				<p class="explain">{xen:phrase separate_names_with_comma}</p>
			</dd>
		</dl>
	
		<dl class="ctrlUnit">
			<dt><label for="ctrl_profile_users">{xen:phrase posted_on_the_profile_of_member}:</label></dt>
			<dd>
				<input type="text" name="profile_users" value="{$search.profile_users}" class="textCtrl AutoComplete" id="ctrl_profile_users" />
				<p class="explain">{xen:phrase separate_names_with_comma}</p>
			</dd>
		</dl>
	</fieldset>

	<fieldset>
		<dl class="ctrlUnit">
			<dt><label for="ctrl_date">{xen:phrase newer_than}:</label></dt>
			<dd>
				<input type="date" name="date" value="{$search.date}" class="textCtrl" id="ctrl_date" />
			</dd>
		</dl>
	</fieldset>

	<xen:if is="{$supportsRelevance}">
		<dl class="ctrlUnit">
			<dt><label>{xen:phrase order_by}:</label></dt>
			<dd>
				<ul>
					<li><label for="ctrl_order_date"><input type="radio" name="order" id="ctrl_order_date" value="date" {xen:checked '{$search.order} == "date"'} /> {xen:phrase most_recent}</label></li>
					<li><label for="ctrl_order_relevance"><input type="radio" name="order" id="ctrl_order_relevance" value="relevance" {xen:checked '{$search.order} == "relevance"'} /> {xen:phrase relevance}</label></li>
				</ul>
			</dd>
		</dl>
	<xen:else />
		<input type="hidden" name="order" value="date" />
	</xen:if>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase search}" accesskey="s" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="type" value="profile_post" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="search_form_tabs" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[	<ul class="tabs">
	<xen:hook name="search_form_tabs">
		<li{xen:if "{$searchType} == ''", ' class="active"'}><a href="{xen:link search}">{xen:phrase search_everything}</a></li>
		<li{xen:if "{$searchType} == 'post'", ' class="active"'}><a href="{xen:link search, '', 'type=post'}">{xen:phrase search_threads_and_posts}</a></li>
		<li{xen:if "{$searchType} == 'profile_post'", ' class="active"'}><a href="{xen:link search, '', 'type=profile_post'}">{xen:phrase search_profile_posts}</a></li>
	</xen:hook>
	</ul>]]></template>
  <template title="search_results" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:if is="{$search.search_query}">
	<xen:title>{xen:phrase search_results_for_query}: {$search.search_query}</xen:title>
	<xen:h1>{xen:phrase search_results_for_query}: <a href="{xen:link search, $search, 'searchform=1'}"><em>{$search.search_query}</em></a></xen:h1>
<xen:else />
	<xen:title>{xen:phrase search_results}</xen:title>
</xen:if>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:search}">{xen:phrase search}</xen:breadcrumb>
</xen:navigation>

<xen:container var="$head.robots">
	<meta name="robots" content="noindex" /></xen:container>

<xen:require css="search_results.css" />

<xen:if is="{$search.searchWarnings}">
	<ol class="searchWarnings">
	<xen:foreach loop="$search.searchWarnings" value="$warning">
		<li>{xen:escape $warning, false}</li>
	</xen:foreach>
	</ol>
</xen:if>

<xen:if is="{$search.users}">
	<xen:sidebar>
		<div class="section userResults avatarList">
			<div class="secondaryContent">
				<h3>{xen:phrase matched_users}</h3>
				<ul>
					<xen:foreach loop="$search.users" value="$user">
							<li class="userResult">
								<xen:avatar user="$user" size="s" img="true" />
								<xen:username user="$user" rich="true" />
								<div class="userTitle">{xen:helper userTitle, $user}</div>
							</li>
					</xen:foreach>
				</ul>
			</div>
		</div>
	</xen:sidebar>
</xen:if>

<div class="pageNavLinkGroup">
	<div class="linkGroup SelectionCountContainer">
		<a href="{xen:link search, $search, 'searchform=1'}">{xen:phrase search_again}</a>

		<xen:if is="{$supportedInlineModTypes}">
			<div class="Popup">
				<a rel="Menu">{xen:phrase moderator_tools}</a>
				<div class="Menu">
					<div class="primaryContent menuHeader">
						<h3>{xen:phrase enable_moderation}</h3>
					</div>
					<ul class="secondaryContent blockLinksList">
					<xen:foreach loop="$supportedInlineModTypes" key="$inlineModType" value="$inlineMod">
						<li><a href="{xen:link search, $search, 'mod={$inlineModType}', 'page={xen:if '{$page} > 1', $page}'}" class="{xen:if '{$modType} == {$inlineModType}', selected}">{$inlineMod.name}</a></li>
					</xen:foreach>
					<xen:if is="{$modType}">
						<li><a href="{xen:link search, $search, 'page={xen:if '{$page} > 1', $page}'}">{xen:phrase disable}</a></li>
					</xen:if>
					</ul>
				</div>
			</div>
		</xen:if>
	</div>

	<xen:pagenav link="search" linkdata="{$search}" linkparams="{xen:array 'mod={$modType}'}" page="{$page}" perpage="{$perPage}" total="{$totalResults}" />
</div>

<div class="section sectionMain searchResults">
	<form action="{xen:if $activeInlineMod, {xen:link $activeInlineMod.route}}" method="post"
		class="InlineModForm"
		data-cookieName="{$activeInlineMod.cookie}"
		data-controls="#InlineModControls"
		data-imodOptions="#ModerationSelect option"
	>

		<ol class="searchResultsList">
			<xen:foreach loop="$results" value="$result" i="$i">
				{xen:raw $result}
			</xen:foreach>
		</ol>
		
		<xen:if is="{$userSearchMaxDate}">
			<div class="secondaryContent olderMessages">
				<a href="{xen:link search/member, '', 'user_id={$search.searchConstraints.user_id}', 'content={$search.searchConstraints.content}', 'before={$userSearchMaxDate}'}">{xen:phrase find_older_messages}</a>
			</div>
		</xen:if>
		
		<div class="sectionFooter searchResultSummary">
			<span class="resultCount">{xen:phrase showing_results_x_to_y_of_z, 'start={xen:number $resultStartOffset}', 'end={xen:number $resultEndOffset}', 'total={xen:number $totalResults}'}</span>
			<xen:if is="{$nextPage}"><a href="{xen:link search, $search, 'page={$nextPage}'}" class="nextLink">{xen:phrase next} &gt;</a></xen:if>
			
			{xen:raw $inlineModControlsHtml}
		</div>

	</form>
</div>

<div class="pageNavLinkGroup">
	<div class="linkGroup">
		<xen:if is="{$ignoredNames}">
			<a href="javascript:" class="muted JsOnly DisplayIgnoredContent Tooltip" title="{xen:phrase show_hidden_content_by_x, "names={xen:helper implode, $ignoredNames, ', '}"}">{xen:phrase show_ignored_content}</a>
		</xen:if>
		<a href="{xen:link search, $search, 'searchform=1'}">{xen:phrase search_again}</a>
	</div>

	<xen:pagenav link="search" linkdata="{$search}" linkparams="{xen:array 'mod={$modType}'}" page="{$page}" perpage="{$perPage}" total="{$totalResults}" />
</div>]]></template>
  <template title="search_results.css" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[.searchResultsList
{
}

.searchResultSummary
{
	overflow: hidden; zoom: 1;
}

	.searchResultSummary .resultCount
	{
		float: left;
	}
	
	.searchResultSummary .nextLink
	{
		float: right;
	}
	
.olderMessages
{
	padding: 5px 10px;
	font-size: 11px;
	text-align: center;
}

.searchResult
{
	border-bottom: 1px solid {xen:property primaryLighterStill};
	padding: 0;
	padding-bottom: 10px;
	overflow: hidden; zoom: 1;
}

	.searchResult .avatar
	{
		float: left;
		margin: 5px 0;
	}
	
	.searchResult .avatar img
	{
		/*width: 36px;*/
	}
	
	.searchResult .main
	{
		padding: 5px;
		margin-left: 56px;
	}
	
	.searchResult .titleText
	{
		overflow: hidden; zoom: 1;
		margin-bottom: 2px;
	}
	
		.searchResult .title
		{
			{xen:property discussionListFirstRow}
		}
		
			.searchResult .contentType
			{
				float: right;
				color: {xen:property faintTextColor};
				font-weight: bold;
				font-size: 11px;
			}
	
	.searchResult .meta
	{
		margin-bottom: 2px;
		font-size: 11px;
		color: {xen:property mutedTextColor};
		overflow: hidden; zoom: 1;
	}
	
		.searchResult .meta a
		{
			color: {xen:property dimmedTextColor};
		}
	
	.searchResult .InlineModCheck
	{
		vertical-align: top;
	}
	
	.searchResult .snippet
	{
		margin-bottom: 2px;
	}
	
		.searchResult .snippet a
		{
			color: {xen:property contentText};
			text-decoration: none;
			font-size: 11px;
		}

.searchResult.InlineModChecked
{
	{xen:property inlineModChecked}
}

.searchWarnings
{
	color: {xen:property dimmedTextColor};
	font-size: 11px;
}

.sidebar .avatarList.userResults .avatar img
{
	width: auto;
	height: auto;
}]]></template>
  <template title="search_results_users_only" version_id="1010033" version_string="1.1.0 Beta 3"><![CDATA[<xen:title>{xen:phrase search_results_for_query}: {$search.search_query}</xen:title>
<xen:h1>{xen:phrase search_results_for_query}: <a href="{xen:link search, $search, 'searchform=1'}"><em>{$search.search_query}</em></a></xen:h1>

<xen:container var="$head.robots">
	<meta name="robots" content="noindex" /></xen:container>

<xen:require css="search_results.css" />

<xen:if is="{$search.searchWarnings}">
	<ol class="searchWarnings">
	<xen:foreach loop="$search.searchWarnings" value="$warning">
		<li>{$warning}</li>
	</xen:foreach>
	</ol>
<xen:else />
	<ol class="searchWarnings">
		<li>{xen:phrase no_results_found}</li>
	</ol>
</xen:if>

<xen:if is="{$search.users}">
	<xen:sidebar>
		<div class="section userResults avatarList">
			<div class="secondaryContent">
				<h3>{xen:phrase matched_users}</h3>
				<ul>
					<xen:foreach loop="$search.users" value="$user">
							<li class="userResult">
								<xen:avatar user="$user" size="s" img="true" />
								<xen:username user="$user" rich="true" />
								<div class="userTitle">{xen:helper userTitle, $user}</div>
							</li>
					</xen:foreach>
				</ul>
			</div>
		</div>
	</xen:sidebar>
</xen:if>

<xen:comment><xen:require css="member_list.css" />
<xen:require css="xenforo_member_list_item.css" />

<div class="pageNavLinkGroup">
	<div class="linkGroup">
		<a href="{xen:link search, $search, 'searchform=1'}">{xen:phrase search_again}</a>
	</div>
</div>

<ol class="section memberList">
	<xen:foreach loop="$search.users" value="$user">
		<xen:include template="member_list_item">
			<xen:set var="$noOverlay">1</xen:set>
		</xen:include>
	</xen:foreach>
</ol>

<div class="pageNavLinkGroup">
	<div class="linkGroup">
		<a href="{xen:link search, $search, 'searchform=1'}">{xen:phrase search_again}</a>
	</div>
</div></xen:comment>]]></template>
  <template title="search_result_page" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<li id="page-{$page.node_id}" class="searchResult page primaryContent">

	<div class="listBlock posterAvatar">
		<xen:avatar user="$page" size="s" img="true" />
	</div>

	<div class="listBlock main">
		<div class="titleText">
			<span class="contentType">{xen:phrase page}</span>
			<h3 class="title"><a href="{xen:link pages, $page}">{$page.title}</a></h3>
		</div>

		<blockquote class="snippet">
			<a href="{xen:link pages, $page}">{xen:helper snippet, $page.content, 150, {xen:array 'term={$search.search_query}', 'emClass=highlight', 'stripHtml=1'}}</a>
		</blockquote>	

		<div class="meta">
			<xen:datetime time="{$page.publish_date}" />
		</div>
	</div>
</li>]]></template>
  <template title="search_result_post" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<li id="post-{$post.post_id}" class="searchResult post primaryContent{xen:if $post.isIgnored, ' ignored'}" data-author="{$post.username}">

	<div class="listBlock posterAvatar"><xen:avatar user="$post" size="s" img="true" /></div>

	<div class="listBlock main">
		<div class="titleText">
			<span class="contentType">{xen:phrase post}</span>
			<h3 class="title{xen:if {$thread.isNew}, ' new'}"><a href="{xen:link posts, $post}">{xen:helper threadPrefix, $thread}{xen:helper highlight, $thread.title, $search.search_query, 'highlight'}</a></h3>
		</div>

		<blockquote class="snippet">
			<a href="{xen:link posts, $post}">{xen:helper snippet, $post.message, 150, {xen:array 'term={$search.search_query}', 'emClass=highlight', 'stripQuote=1'}}</a>
		</blockquote>

		<div class="meta">
			<xen:if is="{$enableInlineMod} AND {$post.canInlineMod}"><input type="checkbox" name="posts[]" value="{$post.post_id}" class="InlineModCheck" data-target="#post-{$post.post_id}" title="{xen:phrase select_this_post_by_x, 'name={$post.username}'}" /></xen:if>
			{xen:phrase post_by}: <xen:username user="$post" />,
			<xen:datetime time="{$post.post_date}" />
			{xen:phrase in_forum}: <a href="{xen:link forums, $forum}">{$forum.title}</a>
		</div>
	</div>
</li>]]></template>
  <template title="search_result_profile_post" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<li id="profile-post-{$profilePost.profile_post_id}" class="searchResult post primaryContent{xen:if $profilePost.isIgnored, ' ignored'}" data-author="{$profilePost.username}">

	<div class="listBlock posterAvatar">
		<xen:avatar user="$profilePost" size="s" img="true" />
	</div>

	<div class="listBlock main">
		<div class="titleText">
			<span class="contentType">{xen:phrase profile_post}</span>
			<h3 class="title"><a href="{xen:link profile-posts, $profilePost}">{xen:helper snippet, $profilePost.message, 100, {xen:array 'term={$search.search_query}', 'fromStart=1', 'emClass=highlight', 'stripPlainTag=1'}}</a></h3>
		</div>

		<blockquote class="snippet">
			<a href="{xen:link profile-posts, $profilePost}">{xen:helper snippet, $profilePost.message, 150, {xen:array 'term={$search.search_query}', 'emClass=highlight', 'stripPlainTag=1'}}</a>
		</blockquote>	

		<div class="meta">
			<xen:if is="{$profilePost.canInlineMod} AND {$enableInlineMod}"><input type="checkbox" name="profilePosts[]" value="{$profilePost.profile_post_id}" class="InlineModCheck" data-target="#profile-post-{$profilePost.profile_post_id}" title="{xen:phrase select_this_post_by_x, 'name={$profilePost.username}'}" /></xen:if>
			<xen:if is="{$profilePost.user_id} == {$profilePost.profile_user_id}">
				{xen:phrase status_update_by_x, 'username={xen:helper username, $profilePost}'},
			<xen:else />
				{xen:phrase profile_post_by_x_for_y, 'poster={xen:helper username, $profilePost}', 'receiver={xen:helper username, $profilePost.profileUser}'},
			</xen:if>
			<xen:datetime time="{$profilePost.post_date}" />
		</div>
	</div>
</li>]]></template>
  <template title="search_result_thread" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<li id="thread-{$thread.thread_id}" class="searchResult thread primaryContent{xen:if $thread.isIgnored, ' ignored'}" data-author="{$thread.username}">

	<div class="listBlock posterAvatar"><xen:avatar user="$thread" size="s" img="true" /></div>

	<div class="listBlock main">
		<div class="titleText">
			<span class="contentType">{xen:phrase thread}</span>
			<h3 class="title{xen:if {$thread.isNew}, ' new'}"><a href="{xen:link threads, $thread}">{xen:helper threadPrefix, $thread}{xen:helper highlight, $thread.title, $search.search_query, 'highlight'}</a></h3>
		</div>

		<blockquote class="snippet">
			<a href="{xen:link threads, $thread}">{xen:helper snippet, $post.message, 150, {xen:array 'term={$search.search_query}', 'emClass=highlight', 'stripQuotes=1'}}</a>
		</blockquote>

		<div class="meta">
			<xen:if is="{$enableInlineMod} AND {$thread.canInlineMod}"><input type="checkbox" name="threads[]" value="{$thread.thread_id}" class="InlineModCheck" id="inlineModCheck-thread-{$thread.thread_id}" data-target="#thread-{$thread.thread_id}" title="{xen:phrase select_thread}: {$thread.title}" /></xen:if>
			{xen:phrase thread_by}: <xen:username user="$thread" />,
			<xen:datetime time="$thread.post_date" />,
			{xen:phrase x_replies, 'count={xen:number $thread.reply_count}'},
			{xen:phrase in_forum}: <a href="{xen:link forums, $forum}">{$forum.title}</a>
		</div>
	</div>

</li>]]></template>
  <template title="share_page" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:if hascontent="true">
	<xen:require css="share_page.css" />

	<div class="sharePage">
		<h3 class="textHeading larger">{xen:phrase share_this_page}</h3>
		<xen:contentcheck>
			<xen:hook name="share_page_options">
			<xen:if is="{$xenOptions.tweet.enabled}">
				<div class="tweet shareControl">
					<a href="https://twitter.com/share" class="twitter-share-button"
						data-count="horizontal"
						data-lang="{xen:helper twitterLang, $visitorLanguage.language_code}"
						data-url="{$url}"
						{xen:if {$thread.title}, 'data-text="{xen:helper threadPrefix, $thread, escaped}{$thread.title}"'}
						{xen:if {$xenOptions.tweet.via}, 'data-via="{$xenOptions.tweet.via}"'}
						{xen:if {$xenOptions.tweet.related}, 'data-related="{$xenOptions.tweet.related}"'}>{xen:phrase tweet}</a>
				</div>
			</xen:if>
			<xen:if is="{$xenOptions.plusone}">
				<div class="plusone shareControl">
					<div class="g-plusone" data-size="medium" data-count="true" data-href="{$url}"></div>
				</div>
			</xen:if>
			<xen:if is="{$xenOptions.facebookLike}">
				<div class="facebookLike shareControl">
					<xen:container var="$facebookSdk">1</xen:container>
					<fb:like href="{$url}" show_faces="true" width="400" action="{$xenOptions.facebookLikeAction}" font="trebuchet ms" colorscheme="{xen:property fbColorScheme}"></fb:like>
				</div>
			</xen:if>
			</xen:hook>
		</xen:contentcheck>
	</div>
</xen:if>]]></template>
  <template title="share_page.css" version_id="1030033" version_string="1.3.0 Beta 3"><![CDATA[.sharePage
{
}

{xen:helper clearfix, '.sharePage'}

	.sharePage .shareControl
	{
		float: left;
	}

	.sharePage .facebookLike .label
	{
		font-size: 11px;
		line-height: 24px;
		float: left;
		margin-right: 7px;
		display: none;
	}
	
	.sharePage iframe
	{
		height: 20px;
	}
	
	.sharePage .facebookLike iframe
	{
		z-index: 52;
	}
	
<xen:if is="{$pageIsRtl}">
	/* G+1 bugs in RTL - they absolutely position on the left which makes a scrollbar */
	iframe[id^="oauth2relay"]
	{
		rtl-raw.left: auto !important;
		rtl-raw.right: -100px !important;
	}
	
	#___plusone_0, #___plusone_1, #___plusone_2
	{
		rtl-raw.left: auto !important;
		rtl-raw.right: -10000px !important;
	}
</xen:if>

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .sharePage
	{
		display: none;
	}
}
</xen:if>]]></template>
  <template title="sidebar.css" version_id="1020034" version_string="1.2.0 Beta 4"><![CDATA[/* sidebar structural elements */

.mainContainer
{
	 float: left;
	 margin-right: -{xen:calc '{xen:property sidebar.width} + 10'}px;
	 width: 100%;
}

	.mainContent
	{
		margin-right: {xen:calc '{xen:property sidebar.width} + 10'}px;
	}

.sidebar
{
	float: right;
	{xen:property sidebar}
}







/* visitor panel */

.sidebar .visitorPanel
{
	overflow: hidden; zoom: 1;
}

	.sidebar .visitorPanel h2 .muted
	{
		display: none;
	}

	.sidebar .visitorPanel .avatar
	{
		{xen:property visitorPanelAvatar}
		
		width: auto;
		height: auto;
	}
	
		.sidebar .visitorPanel .avatar img
		{
			width: {xen:property visitorPanelAvatar.width};
			height: {xen:property visitorPanelAvatar.height};
		}
	
	.sidebar .visitorPanel .username
	{
		{xen:property visitorPanelUsername}
	}
	
	.sidebar .visitorPanel .stats
	{
		{xen:property visitorPanelStats}
	}
	
	.sidebar .visitorPanel .stats .pairsJustified
	{
		line-height: normal;
	}













	
/* generic sidebar blocks */
		
.sidebar .section .primaryContent   h3,
.sidebar .section .secondaryContent h3,
.profilePage .mast .section.infoBlock h3
{
	{xen:property sidebarBlockHeading}
}

.sidebar .section .primaryContent   h3 a,
.sidebar .section .secondaryContent h3 a
{
	{xen:property sidebarBlockHeading.font}
}

.sidebar .section .secondaryContent .footnote,
.sidebar .section .secondaryContent .minorHeading
{
	{xen:property sidebarBlockFootnote}
}

	.sidebar .section .secondaryContent .minorHeading a
	{
		color: {xen:property sidebarBlockFootnote.color};
	}












/* list of users with 32px avatars, username and user title */

.sidebar .avatarList li
{
	{xen:property sidebarAvatarListItem}
}

	.sidebar .avatarList .avatar
	{
		{xen:property sidebarAvatarListAvatar}
		
		width: auto;
		height: auto;
	}
		
	.sidebar .avatarList .avatar img
	{
		width: {xen:property sidebarAvatarListAvatar.width};
		height: {xen:property sidebarAvatarListAvatar.height};
	}
	
	.sidebar .avatarList .username
	{
		{xen:property sidebarAvatarListUsername}
	}
	
	.sidebar .avatarList .userTitle
	{
		{xen:property sidebarAvatarListUserTitle}
	}









/* list of users */

.sidebar .userList
{
}

	.sidebar .userList .username
	{
		{xen:property sidebarUserListUsername}
	}

	.sidebar .userList .username.invisible
	{
		{xen:property sidebarUserListUsernameInvisible}
	}
	
	.sidebar .userList .username.followed
	{
		{xen:property sidebarUserListUsernameFollowed}
	}

	.sidebar .userList .moreLink
	{
		display: block;
	}
	
	
	
	
/* people you follow online now */

.followedOnline
{
	{xen:property sidebarFollowedUsers}
}

.followedOnline li
{
	{xen:property sidebarFollowedUsersItem}
}

	.followedOnline .avatar
	{
		{xen:property sidebarFollowedUsersAvatar}
		
		width: auto;
		height: auto;
	}
	
		.followedOnline .avatar img
		{
			width: {xen:property sidebarFollowedUsersAvatar.width};
			height: {xen:property sidebarFollowedUsersAvatar.height};
		}
	
	
	

	
	
/* call to action */

#SignupButton
{
	{xen:property signupButton}
}

	#SignupButton .inner
	{
		{xen:property signupButtonInner}
	}
	
	#SignupButton:hover .inner
	{
		{xen:property signupButtonHover}
	}
	
	#SignupButton:active
	{
		{xen:property signupButtonActive}
	}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveWideWidth})
{
	.Responsive .mainContainer
	{
		 float: none;
		 margin-right: 0;
		 width: auto;
	}

		.Responsive .mainContent
		{
			margin-right: 0;
		}
	
	.Responsive .sidebar
	{
		float: none;
		margin: 0 auto;
	}

		.Responsive .sidebar .visitorPanel
		{
			display: none;
		}
}

@media (max-width:340px)
{
	.Responsive .sidebar
	{
		width: 100%;
	}
}
</xen:if>]]></template>
  <template title="sidebar_online_users" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:edithint template="sidebar.css" />

<!-- block: sidebar_online_staff -->
<xen:if hascontent="true">
	<div class="section staffOnline avatarList">
		<div class="secondaryContent">
			<h3><a href="{xen:link members, '', 'type=staff'}">{xen:phrase staff_online_now}</a></h3>
			<ul>
				<xen:contentcheck>
					<xen:foreach loop="$onlineUsers.records" value="$user">
						<xen:if is="{$user.is_staff}">
							<li>
								<xen:avatar user="$user" size="s" img="true" />
								<xen:username user="$user" rich="true" />
								<div class="userTitle">{xen:helper userTitle, $user}</div>
							</li>
						</xen:if>
					</xen:foreach>
				</xen:contentcheck>
			</ul>
		</div>
	</div>
</xen:if>
<!-- end block: sidebar_online_staff -->

<!-- block: sidebar_online_users -->
<div class="section membersOnline userList">		
	<div class="secondaryContent">
		<h3><a href="{xen:link online}" title="{xen:phrase see_all_online_users}">{xen:phrase members_online_now}</a></h3>
		
		<xen:if is="{$onlineUsers.records}">
		
			<xen:if is="{$visitor.user_id}">
				<xen:if hascontent="true">
				<h4 class="minorHeading"><a href="{xen:link account/following}">{xen:phrase people_you_follow}:</a></h4>
				<ul class="followedOnline">
					<xen:contentcheck>
						<xen:foreach loop="$onlineUsers.records" value="$user">
							<xen:if is="{$user.followed}">
								<li title="{$user.username}" class="Tooltip"><xen:avatar user="$user" size="s" img="true" class="_plainImage" /></li>
							</xen:if>
						</xen:foreach>
					</xen:contentcheck>
				</ul>
				<h4 class="minorHeading"><a href="{xen:link members}">{xen:phrase members}:</a></h4>
				</xen:if>
			</xen:if>
			
			<ol class="listInline">
				<xen:foreach loop="$onlineUsers.records" value="$user" i="$i">
					<xen:if is="{$i} <= {$onlineUsers.limit}">
						<li>
						<xen:if is="{$user.user_id}">
							<a href="{xen:link members, $user}"
								class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{$user.username}</a><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
						<xen:else />
							{xen:phrase guest}<xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
						</xen:if>
						</li>
					</xen:if>
				</xen:foreach>
				<xen:if is="{$onlineUsers.recordsUnseen}">
					<li class="moreLink">... <a href="{xen:link online}" title="{xen:phrase see_all_visitors}">{xen:phrase and_x_more, 'count={xen:number $onlineUsers.recordsUnseen}'}</a></li>
				</xen:if>
			</ol>
		</xen:if>
		
		<div class="footnote">
			{xen:phrase online_now_x_members_y_guests_z_robots_a, 'total={xen:number $onlineUsers.total}', 'members={xen:number $onlineUsers.members}', 'guests={xen:number $onlineUsers.guests}', 'robots={xen:number $onlineUsers.robots}'}
		</div>
	</div>
</div>
<!-- end block: sidebar_online_users -->]]></template>
  <template title="sidebar_profile_post_list" version_id="1040033" version_string="1.4.0 Beta 3"><![CDATA[<xen:if is="{$canUpdateStatus}">
	<xen:require js="js/xenforo/quick_reply_profile.js" />
	<form action="{xen:link members/post, $visitor}" method="post" id="ProfilePoster" class="statusPoster AutoValidator" data-optInOut="OptIn" data-hide-submit="true">
		<textarea name="message" class="textCtrl StatusEditor UserTagger Elastic" placeholder="{xen:phrase update_your_status}..." rows="1" cols="40" data-statusEditorCounter="#statusEditorCounter"></textarea>
		<div class="submitUnit">
			<span id="statusEditorCounter" title="{xen:phrase characters_remaining}"></span>
			<input type="submit" class="button primary" value="{xen:phrase post_verb}" />
			<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
			<input type="hidden" name="simple" value="1" />
		</div>
	</form>
</xen:if>
<ul id="ProfilePostList" class="{xen:if $canUpdateStatus, nonInitial}">
<xen:foreach loop="$profilePosts" value="$profilePost">
	<xen:include template="profile_post_list_item_simple" />
</xen:foreach>
</ul>]]></template>
  <template title="sidebar_share_page" version_id="1010270" version_string="1.1.2"><![CDATA[<xen:if hascontent="true">	
	<xen:require css="sidebar_share_page.css" />
	<div class="section infoBlock sharePage">
		<div class="secondaryContent">
			<h3>{xen:phrase share_this_page}</h3>
			<xen:contentcheck>
				<xen:hook name="sidebar_share_page_options">
				<xen:if is="{$xenOptions.tweet.enabled}">
					<div class="tweet shareControl">
						<a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal"
							data-lang="{xen:helper twitterLang, $visitorLanguage.language_code}"
							data-url="{$url}"
							{xen:if {$xenOptions.tweet.via}, 'data-via="{$xenOptions.tweet.via}"'}
							{xen:if {$xenOptions.tweet.related}, 'data-related="{$xenOptions.tweet.related}"'}>{xen:phrase tweet}</a>
					</div>
				</xen:if>		
				<xen:if is="{$xenOptions.facebookLike}">
					<div class="facebookLike shareControl">
						<xen:container var="$facebookSdk">1</xen:container>
						<fb:like href="{$url}" layout="button_count" action="{$xenOptions.facebookLikeAction}" font="trebuchet ms" colorscheme="{xen:property fbColorScheme}"></fb:like>
					</div>
				</xen:if>
				<xen:if is="{$xenOptions.plusone}">
					<div class="plusone shareControl">
						<div class="g-plusone" data-size="medium" data-count="true" data-href="{$url}"></div>
					</div>
				</xen:if>	
				</xen:hook>		
			</xen:contentcheck>
		</div>
	</div>
</xen:if>]]></template>
  <template title="sidebar_share_page.css" version_id="1030033" version_string="1.3.0 Beta 3"><![CDATA[.sidebar .sharePage .shareControl
{
	margin-top: 10px;
	min-height: 23px;
}

.sidebar .sharePage iframe
{
	width: 200px;
	height: 20px;
}

.sidebar .sharePage iframe.fb_ltr
{
	_width: 200px !important;
}

.sidebar .sharePage .facebookLike iframe
{
	z-index: 52;
}

.mast .sharePage .secondaryContent
{
	overflow: visible !important;
}

<xen:if is="{$pageIsRtl}">
	/* G+1 bugs in RTL - they absolutely position on the left which makes a scrollbar */
	iframe[id^="oauth2relay"]
	{
		rtl-raw.left: auto !important;
		rtl-raw.right: -100px !important;
	}
	
	#___plusone_0, #___plusone_1, #___plusone_2
	{
		rtl-raw.left: auto !important;
		rtl-raw.right: -10000px !important;
	}
</xen:if>

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .sidebar .sharePage
	{
		display: none;
	}
}
</xen:if>]]></template>
  <template title="sidebar_visitor_panel" version_id="1000170" version_string="1.0.1"><![CDATA[<xen:if is="{$visitor.user_id}">

<div class="section visitorPanel">
	<div class="secondaryContent">
	
		<xen:avatar user="$visitor" size="m" img="true" />
		
		<div class="visitorText">
			<h2>{xen:phrase signed_in_as_x_sidebar, 'name={xen:helper username, $visitor, 'NoOverlay'}'}</h2>		
			<div class="stats">
			<xen:hook name="sidebar_visitor_panel_stats">
				<dl class="pairsJustified"><dt>{xen:phrase messages}:</dt> <dd>{xen:number $visitor.message_count}</dd></dl>
				<dl class="pairsJustified"><dt>{xen:phrase likes}:</dt> <dd>{xen:number $visitor.like_count}</dd></dl>
				<dl class="pairsJustified"><dt>{xen:phrase points}:</dt> <dd>{xen:number $visitor.trophy_points}</dd></dl>
			</div>
			</xen:hook>
		</div>
		
	</div>
</div>

<xen:else />

<div class="section loginButton">		
	<div class="secondaryContent">
		<label for="LoginControl" id="SignupButton"><a href="{xen:link login}" class="inner">{xen:if $xenOptions.registrationSetup.enabled, {xen:phrase sign_up_now}, {xen:phrase log_in}}</a></label>
	</div>
</div>

</xen:if>

<xen:include template="ad_sidebar_below_visitor_panel" />]]></template>
  <template title="smilie_sprite_styles.css" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[/* smilie sprite classes */
<xen:if is="{$smilieSprites}"><xen:foreach loop="{$smilieSprites}" key="{$smilieId}" value="{$smilieSprite}"><xen:if is="{$smilieSprite.sprite_css}">
img.mceSmilieSprite.mceSmilie{$smilieId}
{
	{xen:raw $smilieSprite.sprite_css}
}
</xen:if></xen:foreach></xen:if>]]></template>
  <template title="spam_cleaner" version_id="1020035" version_string="1.2.0 Beta 5"><![CDATA[<xen:title>{xen:phrase spam_cleaner}: {$user.username}</xen:title>
<xen:h1>{xen:phrase spam_cleaner}: <em>{$user.username}</em></xen:h1>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<xen:require css="spam_cleaner.css" />
<xen:require js="js/xenforo/spam_cleaner.js" />

<form action="{xen:link spam-cleaner, $user}" method="post" class="xenForm formOverlay SpamCleaner">
	<div class="spamUserInfo">
		<xen:avatar user="$user" size="m" />
		
		<div>		
			<dl class="pairs">
				<dt>{xen:phrase registered}:</dt>
					<dd><xen:datetime time="{$user.register_date}" /></dd>
				<dt>{xen:phrase last_activity}:</dt>
					<dd><xen:datetime time="{$user.effective_last_activity}" /></dd>
				<dt>{xen:phrase email}:</dt>
					<dd>{$user.email}</dd>
			</dl>
			
			<xen:if is="{$canViewIps}">
			<xen:if hascontent="true">
				<dl class="pairs">
				<xen:contentcheck>
					<xen:if is="{$registrationIps.register}">
						<dt>{xen:phrase registration_ip}:</dt>
							<dd><a class="ip concealed" href="{xen:link misc/ip-info, '', 'ip={$registrationIps.register}'}" target="_blank">{$registrationIps.register}</a></dd>
					</xen:if>
					<xen:if is="{$registrationIps.account-confirmation}">
						<dt>{xen:phrase confirmation_ip}:</dt>
							<dd><a class="ip concealed" href="{xen:link misc/ip-info, '', 'ip={$registrationIps.account-confirmation}'}" target="_blank">{$registrationIps.account-confirmation}</a></dd>
					</xen:if>
					<xen:if is="{$contentIp}">
						<dt>{xen:phrase content_ip}:</dt>
							<dd><a class="ip concealed" href="{xen:link misc/ip-info, '', 'ip={$contentIp}'}" target="_blank">{$contentIp}</a></dd>
					</xen:if>
				</xen:contentcheck>
				</dl>
			</xen:if>
			</xen:if>
			
			<dl class="pairs">
				<dt>{xen:phrase message_count}:</dt>
					<dd>{xen:number $user.message_count}</dd>
				<dt>{xen:phrase likes_received}:</dt>
					<dd>{xen:number $user.like_count}</dd>
				<dt>{xen:phrase trophy_points}:</dt>
					<dd>{xen:number $user.trophy_points}</dd>
			</dl>			
		</div>
		
	</div>
	
	<h3 class="textHeading">{xen:phrase spam_cleaner_controls}</h3>
	
	<dl class="ctrlUnit spamControls">
		<dt>
			<ul>
				<li><label><input type="checkbox" name="action_threads" value="1" {xen:checked $xenOptions.spamDefaultOptions.action_threads} />
					<xen:if is="{$xenOptions.spamThreadAction.action} == 'move'">
						{xen:phrase move_spammers_threads}
					<xen:else />
						{xen:phrase delete_spammers_threads}
					</xen:if></label></li>
				<li><label><input type="checkbox" name="delete_messages" value="1" {xen:checked $xenOptions.spamDefaultOptions.delete_messages} /> {xen:phrase delete_spammers_messages}</label></li>
				<li><label><input type="checkbox" name="delete_conversations" value="1" {xen:checked $xenOptions.spamDefaultOptions.delete_conversations} /> {xen:phrase delete_conversations_by_spammer}</label></li>
				<li><label><input type="checkbox" name="ban_user" value="1" {xen:checked $xenOptions.spamDefaultOptions.ban_user} /> {xen:phrase ban_spammer}</label></li>
				<xen:if is="{$canViewIps}">
					<li><label><input type="checkbox" name="check_ips" value="1" {xen:checked $xenOptions.spamDefaultOptions.check_ips} /> {xen:phrase check_spammers_ips}</label></li>
				</xen:if>
			</ul>
		</dt>
		<dd>
			<ul>
				<li><label><input type="checkbox" name="email_user" value="1" class="Disabler" id="ctrl_email_user" {xen:checked $xenOptions.spamDefaultOptions.email_user} /> {xen:phrase email_spammer}</label></li>
				<li id="ctrl_email_user_Disabler" class="spamEmailText"><textarea name="email" rows="2" class="textCtrl Elastic">{$emailText}</textarea></li>
			</ul>
		</dd>
	</dl>
		
	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase clean_up}" class="button primary" /></dd>
	</dl>
	
	<input type="hidden" name="noredirect" value="{$noredirect}" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	<input type="hidden" name="_xfConfirm" value="1" />

</form>]]></template>
  <template title="spam_cleaner.css" version_id="1020034" version_string="1.2.0 Beta 4"><![CDATA[.spamUserInfo
{
	overflow: hidden; zoom: 1;
	clear: both;
}

	.spamUserInfo .avatar
	{
		float: left;
	}
	
	.spamUserInfo dl
	{
		float: left;
		margin-left: 20px;
		padding-left: 20px;
		border-left: 1px solid {xen:property primaryLighter};
	}
	
	.spamUserInfo dl:first-child
	{
		border-left: none;
		padding-left: 0;
	}
	
		.spamUserInfo dt
		{
			font-size: 11px;
		}
		
		.spamUserInfo dd
		{
		/*	margin-left: 5px;*/
		margin-bottom: 5px;
		}
		
.spamControls
{
	/*margin-top: 10px;
	border-top: 1px solid {xen:property primaryLighter};
	padding-top: 10px;*/
}

	.ctrlUnit.spamControls dt
	{
		text-align: left;
	}
	
		.ctrlUnit.spamControls dt li
		{
			margin: 5px 0;
		}
		
			.ctrlUnit.spamControls dt li label
			{
				margin-left: 0;
			}

	.xenForm .ctrlUnit.spamControls dd
	{
		padding-right: 0;
	}

	.spamControls .spamEmailText
	{
		margin-left: 20px;
	}
	
	.spamControls textarea
	{
		min-height: 55px;
	}
	
/* ip checker */

.ipMatches .userLog
{
	overflow: hidden; zoom: 1;
}

.ipMatches .avatar
{
	float: left;
}

.ipMatches .logInfo
{
	margin-left: 110px;
}

.ipMatches .userInfo
{
	overflow: hidden; zoom: 1;
}

.ipMatches h3
{
	font-size: 11pt;
	float: left;
}

.ipMatches .banned
{
	text-decoration: line-through;
}

.ipMatches .regDate
{
	font-size: 11px;
	float: right;
}

.ipMatches .ipLog
{
	font-size: 11px;
	padding: 5px;
	border-top: 1px solid {xen:property primaryLightest};
}

.ipMatches .deleteSpam
{
	margin-left: 10px;
}

.ipMatches .ipLog .DateTime
{
	color: {xen:property mutedTextColor};
}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveMediumWidth})
{
	.Responsive .xenForm .ctrlUnit.spamControls dt
	{
		width: 100%;
	}
}

@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .spamUserInfo .avatar
	{
		display: none;
	}
	
	.Responsive .xenForm .ctrlUnit.spamControls dd
	{
		padding-left: 0;
	}
}
</xen:if>]]></template>
  <template title="spam_cleaner_check_ips" version_id="1000053" version_string="1.0.0 Release Candidate 3"><![CDATA[<xen:title>{xen:phrase spam_cleaner_ip_address_check}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:members, $user}">{$user.username}</xen:breadcrumb>
	<xen:breadcrumb href="{xen:link full:spam-cleaner, $user}">{xen:phrase spam_cleaner}</xen:breadcrumb>
</xen:navigation>

<xen:require css="spam_cleaner.css" />

<div class="ipMatches section">
	<div class="subHeading">{xen:phrase following_users_logged_as_having_used_ip_addresses_used_by_x, 'name={$spammer.username}'}</div>

	<xen:if is="{$users}">
		<ol class="overlayScroll">
			<xen:foreach loop="$users" value="$user">
				<li class="primaryContent userLog">
					<xen:avatar user="$user" size="m" />

					<div class="logInfo">
						<div class="userInfo">
							<h3{xen:if {$user.is_banned}, ' class="banned" title="{xen:phrase banned}"', ' title="{xen:phrase view_postings}"'}>
								<a href="{xen:link members, $user}#postings" target="_blank">{$user.username}</a>
							</h3>
							<div class="regDate">
								<span class="muted">{xen:phrase registered}: <xen:datetime time="$user.register_date" /></span>
								<xen:if is="{$user.canCleanSpam}" class="deleteSpam"><a href="{xen:link spam-cleaner, $user}" class="deleteSpam OverlayTrigger">{xen:phrase spam}</a></xen:if>
							</div>
						</div>

						<ol class="ipLogs">
							<xen:foreach loop="$user.ipLogs" value="$ipLog">
								<li class="ipLog secondaryContent">
									<a class="ip concealed" href="{xen:link misc/ip-info, '', 'ip={$ipLog.ip_address}'}" target="_blank">{$ipLog.ip_address}</a>
									<xen:datetime time="{$ipLog.log_date}" />
								</li>
							</xen:foreach>
						</ol>
					</div>
				</li>
			</xen:foreach>

		</ol>
	<xen:else />
			<p class="primaryContent">{xen:phrase no_matching_users_were_found}</p>
	</xen:if>

	<div class="sectionFooter">{xen:phrase matched_x_users, 'count={xen:count $users}'} <input type="button" class="button OverlayCloser" value="{xen:phrase close}"
		onclick="$(this).closest('.xenOverlay').data('overlay').close()" /></div>
</div>]]></template>
  <template title="style_chooser" version_id="1010033" version_string="1.1.0 Beta 3"><![CDATA[<xen:title>{xen:phrase style_chooser}</xen:title>

<xen:container var="$head.metaNoindex"><meta name="robots" content="noindex" /></xen:container>

<xen:require css="chooser_overlay.css" />
<xen:require css="style_chooser.css" />

<div class="section styleChooser" data-overlayClass="chooserOverlay">

	<xen:if is="{$targetStyle}">
		
		<div class="chooserConfirm">
			<h3 class="primaryContent chooserConfirm">
				{xen:phrase please_confirm_that_you_would_like_to_change_to_following_style}:
				<strong>{$targetStyle.title}</strong>
			</h3>
			<div class="secondaryContent">
				<a href="{xen:link 'misc/style', '', 'style_id={$targetStyle.style_id}', '_xfToken={$visitor.csrf_token_page}', 'redirect={$redirect}'}" class="button primary">{xen:phrase use_this_style}</a>
			</div>
		</div>
		
	<xen:else />
		<h3 class="subHeading">{xen:phrase select_style_in_which_this_site_should_be_shown}</h3>
		
		<div class="secondaryContent"><a href="{xen:link 'misc/style', '', 'style_id=0', '_xfToken={$visitor.csrf_token_page}', 'redirect={$redirect}'}">{xen:phrase use_default_style}</a></div>
	
		<ol class="primaryContent chooserColumns twoColumns overlayScroll">
	
			<xen:foreach loop="$styles" value="$style">
				<xen:if is="{$style.user_selectable} OR {$visitor.is_admin}">
					<li class="{xen:if '!{$style.user_selectable}', 'unselectable'}">
						<a href="{xen:link 'misc/style', '', 'style_id={$style.style_id}', '_xfToken={$visitor.csrf_token_page}', 'redirect={$redirect}'}">
							<span class="icon style{$style.style_id}"><span></span></span>
							<span class="title">{$style.title}</span>
							<span class="description">{$style.description}</span>
						</a>
					</li>
				</xen:if>
			</xen:foreach>
	
		</ol>
	</xen:if>

	<div class="sectionFooter overlayOnly"><a class="button primary OverlayCloser">{xen:phrase cancel}</a></div>
</div>]]></template>
  <template title="style_chooser.css" version_id="1000051" version_string="1.0.0 Release Candidate 1"><![CDATA[/*
You may use this template to add your own styling to the style chooser.
If you want to add thumbnails for your styles, you can do so with CSS like this:

.styleChooser .icon.style5
{
	background: transparent url('/path/to/square_64px_icon_for_style_5.jpg') no-repeat;
}

*/]]></template>
  <template title="thread_create" version_id="1040470" version_string="1.4.4"><![CDATA[<xen:title>{xen:phrase create_thread}</xen:title>

<xen:if is="{$forum.description} AND {xen:property threadListDescriptions}">
	<xen:description class="baseHtml">{xen:raw $forum.description}</xen:description>
</xen:if>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
</xen:navigation>

<xen:require js="js/xenforo/discussion.js" />

<xen:container var="$head.robots">
	<meta name="robots" content="noindex" /></xen:container>
<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container>
<xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container>

<form action="{xen:link 'forums/add-thread', $forum}" method="post" id="ThreadCreate"
	class="xenForm Preview AutoValidator"
	data-previewUrl="{xen:link 'forums/create-thread/preview', $forum}"
	data-redirect="on"
>
	<xen:hook name="thread_create">

	<xen:if is="{$visitor.user_id} == 0">
		<dl class="ctrlUnit">
			<dt><label for="ctrl_guestUsername">{xen:phrase name}:</label></dt>
			<dd><input type="text" name="_guestUsername" value="{$visitor.username}" class="textCtrl" /></dd>
		</dl>
	
		<!-- slot: after_guest -->
	</xen:if>

	<xen:include template="helper_captcha_unit" />

	<fieldset>
		<xen:include template="title_prefix_edit">
			<xen:set var="$selectedPrefix">{$prefixId}</xen:set>
			<xen:set var="$idSuffix">thread_create</xen:set>
		</xen:include>
	
		<dl class="ctrlUnit fullWidth surplusLabel">
			<dt><label for="ctrl_title_thread_create">{xen:phrase title}:</label></dt>
			<dd><input type="text" name="title" class="textCtrl titleCtrl" id="ctrl_title_thread_create" maxlength="100" autofocus="true"
				placeholder="{xen:phrase thread_title}..." value="{$title}"
				data-liveTitleTemplate="{xen:phrase create_thread}: <em>%s</em>" /></dd>
		</dl>

		<xen:hook name="thread_create_fields_main" params="{xen:array 'forum={$forum}'}" />

		<dl class="ctrlUnit fullWidth">
			<dt></dt>
			<dd>{xen:raw $editorTemplate}</dd>
		</dl>
	</fieldset>
	
	<!-- slot: after_editor -->

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd>
			<input type="submit" value="{xen:phrase create_thread}" accesskey="s" class="button primary" />
			<xen:include template="attachment_upload_button" />
			<input type="button" value="{xen:phrase preview}..." class="button PreviewButton JsOnly" />
			
			<xen:if is="{$xenOptions.multiQuote}"><input type="button" class="button JsOnly MultiQuoteWatcher"
				value="{xen:phrase insert_quotes}..."
				style="display: none"
				data-href="{xen:link 'threads/multi-quote', {xen:array 'thread_id=1'}, 'formId=#ThreadCreate'}"
				data-cacheOverlay="false" /></xen:if>
		</dd>
	</dl>

	<xen:if is="{$attachmentParams}">
		<dl class="ctrlUnit AttachedFilesUnit">
			<dt>{xen:phrase attached_files}:</dt>
			<dd><xen:include template="attachment_editor">
				<xen:set var="$attachments" value="{$attachmentParams.attachments}" />
			</xen:include></dd>
		</dl>
		
		<!-- slot: after_attachment -->
	</xen:if>
	
	<xen:if is="{$visitor.user_id}">
		<fieldset>
			<dl class="ctrlUnit">
				<dt>{xen:phrase options}:</dt>
				<dd><ul>
					<li><xen:include template="helper_thread_watch_input" /></li>
				</ul></dd>
			</dl>
	
			<xen:include template="thread_fields_status" />
		</fieldset>
		
		<!-- slot: after_options -->
	</xen:if>

	<xen:hook name="thread_create_fields_extra" params="{xen:array 'forum={$forum}'}" />
	
	<xen:if is="{$canPostPoll}">
		<h3 class="textHeading">{xen:phrase post_poll}</h3>
		<xen:include template="helper_poll_create" />
	</xen:if>
	
	</xen:hook>

	<xen:if is="{$visitor.user_id} OR {$canPostPoll}">
		<dl class="ctrlUnit submitUnit">
			<dt></dt>
			<dd>
				<input type="submit" value="{xen:phrase create_thread}" class="button primary" />
				<input type="button" value="{xen:phrase preview}..." class="button PreviewButton JsOnly" />
			</dd>
		</dl>
	</xen:if>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>

<xen:comment><xen:include template="editor" /></xen:comment>]]></template>
  <template title="thread_create_preview" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<div class="section">
	<h3 class="subHeading">{xen:phrase preview}</h3>
	<div class="messageText primaryContent baseHtml">{xen:raw $messageParsed}</div>
</div>]]></template>
  <template title="thread_delete" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:title>{xen:phrase delete_thread}: {xen:helper threadPrefix, $thread, escaped}{$thread.title}</xen:title>
<xen:h1>{xen:phrase delete_thread}: {xen:helper threadPrefix, $thread}{$thread.title}</xen:h1>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
	<xen:breadcrumb href="{xen:link full:threads, $thread}">{xen:helper threadPrefix, $thread}{$thread.title}</xen:breadcrumb>
</xen:navigation>

<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container>
<xen:container var="$searchBar.thread"><xen:include template="search_bar_thread_only" /></xen:container>
<xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container>

<form action="{xen:link 'threads/delete', $thread}" method="post" class="xenForm formOverlay">

	<xen:include template="helper_deletion_type_unit" />
	
	<xen:if is="{$thread.discussion_state} == 'visible' && {$thread.user_id} AND {$thread.user_id} != {$visitor.user_id}">
		<xen:include template="helper_thread_mod_action_alert">
			<xen:set var="$alertDefault" value="0" />
		</xen:include>
	</xen:if>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase delete_thread}" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="thread_edit" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<xen:title>{xen:phrase edit_thread}: {xen:helper threadPrefix, $thread, escaped}{$thread.title}</xen:title>
<xen:h1>{xen:phrase edit_thread}: {xen:helper threadPrefix, $thread}{$thread.title}</xen:h1>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
	<xen:breadcrumb href="{xen:link full:threads, $thread}">{xen:helper threadPrefix, $thread}{$thread.title}</xen:breadcrumb>
</xen:navigation>

<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container>
<xen:container var="$searchBar.thread"><xen:include template="search_bar_thread_only" /></xen:container>
<xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container>

<form action="{xen:link 'threads/save', $thread}" method="post" class="xenForm formOverlay">

	<xen:include template="title_prefix_edit">
		<xen:set var="$selectedPrefix">{$thread.prefix_id}</xen:set>
		<xen:set var="$idSuffix">thread_edit</xen:set>
	</xen:include>
	
	<dl class="ctrlUnit">
		<dt><label for="ctrl_title_thread_edit">{xen:phrase title}:</label></dt>
		<dd><input type="text" name="title" value="{$thread.title}" class="textCtrl" id="ctrl_title_thread_edit" data-liveTitleTemplate="{xen:phrase edit_thread}: <em>%s</em>" maxlength="100" /></dd>
	</dl>

	<xen:include template="thread_fields_status" />

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd>
			<input type="submit" value="{xen:phrase save_changes}" accesskey="s" class="button primary" />
			<xen:if is="{$canDeleteThread}">
				<a href="{xen:link threads/delete, $thread}" type="button" class="button OverlayTrigger">{xen:phrase delete_thread}...</a>
			</xen:if>
		</dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="thread_edit_title" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:title>{xen:phrase edit_thread}: {xen:helper threadPrefix, $thread, escaped}{$thread.title}</xen:title>
<xen:h1>{xen:phrase edit_thread}: {xen:helper threadPrefix, $thread}{$thread.title}</xen:h1>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
	<xen:breadcrumb href="{xen:link full:threads, $thread}">{xen:helper threadPrefix, $thread}{$thread.title}</xen:breadcrumb>
</xen:navigation>

<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container>

<form action="{xen:link 'threads/edit-title', $thread}" method="post" class="xenForm formOverlay">

	<xen:include template="title_prefix_edit">
		<xen:set var="$selectedPrefix">{$thread.prefix_id}</xen:set>
		<xen:set var="$idSuffix">thread_edit_title</xen:set>
	</xen:include>
	
	<dl class="ctrlUnit">
		<dt><label for="ctrl_title_thread_edit_title">{xen:phrase title}:</label></dt>
		<dd><input type="text" name="title" value="{$thread.title}" class="textCtrl" id="ctrl_title_thread_edit_title" data-liveTitleTemplate="{xen:phrase edit_thread}: <em>%s</em>" maxlength="100" /></dd>
	</dl>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd>
			<input type="submit" value="{xen:phrase save_changes}" accesskey="s" class="button primary" />
		</dd>
	</dl>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	<input type="hidden" name="_xfConfirm" value="1" />
</form>]]></template>
  <template title="thread_fields_move" version_id="1010035" version_string="1.1.0 Beta 5"><![CDATA[<dl class="ctrlUnit">
	<dt><label for="ctrl_node_id">{xen:phrase destination_forum}:</label></dt>
	<dd>
		<select name="node_id" id="ctrl_node_id" class="textCtrl selectForum">
		<xen:foreach loop="$nodeOptions" value="$node">
			<option value="{$node.node_id}" {xen:selected '{$node.node_id} == {$firstThread.node_id}'}
				{xen:if "{$node.node_type_id} != 'Forum'", 'disabled="disabled"'}>{xen:string repeat, '&nbsp; ', $node.depth}{$node.title}</option>
		</xen:foreach>
		</select>
	</dd>
</dl>
	
<xen:if is="{$canEditThreadPrefixes} AND {$forcePrefixes}">
	<xen:require js="js/xenforo/title_prefix.js" />
	<dl class="ctrlUnit">
		<dt><!--<label for="ctrl_apply_thread_prefix">{xen:phrase prefix}:</label>--></dt>
		<dd>
			<ul>
				<li><label><input type="checkbox" name="apply_thread_prefix" value="1" id="ctrl_apply_thread_prefix" class="Disabler" />
					{xen:phrase apply_prefix_to_selected_threads}:</label>
					<ul id="ctrl_apply_thread_prefix_Disabler">
						<li><select name="prefix_id" id="ctrl_prefix_id" class="textCtrl TitlePrefix"
								data-nodecontrol="#ctrl_node_id"
								data-prefixurl="{xen:link forums/-/prefixes}">
								<xen:include template="title_prefix_edit_options" />
							</select>
						</li>
					</ul>
				</li>
			</ul>
		</dd>
	</dl>
</xen:if>

<dl class="ctrlUnit">
	<dt><label>{xen:phrase redirection_notice}:</label></dt>
	<dd><xen:include template="inline_mod_thread_helper_redirect" /></dd>
</dl>]]></template>
  <template title="thread_fields_status" version_id="1000052" version_string="1.0.0 Release Candidate 2"><![CDATA[<xen:if hascontent="true">
	<dl class="ctrlUnit {xen:if {$hideLabel}, 'surplusLabel'}">
		<dt><label>{xen:phrase set_thread_status}:</label></dt>
		<dd>
			<ul>
			<xen:contentcheck>
				<xen:if is="{$canLockUnlockThread}">
					<li>
						<label for="ctrl_discussion_open"><input type="checkbox" name="discussion_open" value="1" id="ctrl_discussion_open" {xen:checked {$thread.discussion_open}} /> {xen:phrase open_thread}</label>
						<input type="hidden" name="_set[discussion_open]" value="1" />
						<p class="hint">{xen:phrase people_may_reply_to_this_thread}</p>
					</li>
				</xen:if>
				<xen:if is="{$canStickUnstickThread}">
					<li>
						<label for="ctrl_sticky"><input type="checkbox" name="sticky" value="1" id="ctrl_sticky" {xen:checked {$thread.sticky}} /> {xen:phrase sticky}</label>
						<input type="hidden" name="_set[sticky]" value="1" />
						<p class="hint">{xen:phrase sticky_threads_appear_at_top_of_first_page_of_list_of_threads}</p>
					</li>
				</xen:if>
			</xen:contentcheck>
			</ul>
		</dd>
	</dl>
</xen:if>]]></template>
  <template title="thread_list" version_id="1040270" version_string="1.4.2"><![CDATA[<xen:require css="discussion_list.css" />
<xen:require js="js/xenforo/discussion_list.js" />

<form action="{xen:link inline-mod/thread/switch}" method="post"
	class="DiscussionList InlineModForm"
	data-cookieName="threads"
	data-controls="#InlineModControls"
	data-imodOptions="#ModerationSelect option">
	
	<xen:if hascontent="true">
		<div class="discussionListFilters secondaryContent">
			<h3 class="filtersHeading">{xen:phrase filters}:</h3>
			<dl class="pairsInline filterPairs">
			<xen:contentcheck>
			<xen:if is="{$displayConditions.prefix_id}">
				<dt>{xen:phrase prefix}:</dt>
				<dd><a href="{xen:link forums, $forum, '_params={$pageNavParams}', 'prefix_id='}" class="removeFilter Tooltip" title="{xen:phrase remove_filter}">{xen:helper threadPrefix, $displayConditions.prefix_id, escaped, ''} <span class="gadget">x</span></a></dd>
			</xen:if>
			</xen:contentcheck>
			</dl>
			<dl class="pairsInline removeAll">
				<dt>{xen:phrase remove_all_filters}:</dt>
				<dd><a href="{xen:link forums, $forum, 'order={$pageNavParams.order}', 'direction={$pageNavParams.direction}'}" class="removeAllFilters Tooltip" data-tipclass="flipped" data-offsetx="8" title="{xen:phrase remove_all_filters}">x</a></dd>
			</dl>
		</div>
	</xen:if>

	<dl class="sectionHeaders">
		<dt class="posterAvatar"><a><span>{xen:phrase sort_by}:</span></a></dt>
		<dd class="main">
			<a href="{xen:link forums, $forum, '_params={$orderParams.title}'}" class="title"><span>{xen:phrase title}{xen:helper sortArrow, $order, $orderDirection, title}</span></a>
			<a href="{xen:link forums, $forum, '_params={$orderParams.post_date}'}" class="postDate"><span>{xen:phrase start_date}{xen:helper sortArrow, $order, $orderDirection, post_date}</span></a>
		</dd>
		<dd class="stats">
			<a href="{xen:link forums, $forum, '_params={$orderParams.reply_count}'}" class="major"><span>{xen:phrase replies}{xen:helper sortArrow, $order, $orderDirection, reply_count}</span></a>
			<a href="{xen:link forums, $forum, '_params={$orderParams.view_count}'}" class="minor"><span>{xen:phrase views}{xen:helper sortArrow, $order, $orderDirection, view_count}</span></a>
		</dd>
		<dd class="lastPost"><a href="{xen:link forums, $forum, '_params={$orderParams.last_post_date}'}"><span>{xen:phrase last_message}{xen:helper sortArrow, $order, $orderDirection, last_post_date}</span></a></dd>
	</dl>

	<ol class="discussionListItems">
	<xen:if is="{$stickyThreads} OR {$threads}">
		<xen:set var="$showLastPageNumbers">1</xen:set>
		<xen:set var="$linkPrefix">1</xen:set>
	
		<xen:hook name="thread_list_stickies">
		<xen:foreach loop="$stickyThreads" value="$thread">
			<xen:include template="thread_list_item" />
		</xen:foreach>
		</xen:hook>
		
		<xen:include template="ad_thread_list_below_stickies" />
		
		<xen:hook name="thread_list_threads">
		<xen:foreach loop="$threads" value="$thread">
			<xen:include template="thread_list_item" />
		</xen:foreach>
		</xen:hook>
		
		<xen:edithint template="thread_list_item_edit" />
	<xen:else />
		<li class="primaryContent">{xen:phrase there_no_threads_to_display}</li>
	</xen:if>
	<xen:if is="{$showDateLimitDisabler}">
		<li class="discussionListItem"><div class="noteRow secondary"><a href="{xen:link forums, $forum, '_params={$pageNavParams}', 'no_date_limit=1', 'page={xen:if "{$page} > 1", $page}'}">{xen:phrase click_here_to_display_older_threads}</a></div></li>
	</xen:if>
	</ol>

	<xen:if is="{$totalThreads} OR {$inlineModOptions}">
		<div class="sectionFooter InlineMod SelectionCountContainer">
			<xen:if is="{$totalThreads}"><span class="contentSummary">{xen:phrase showing_threads_x_to_y_of_z, 'start={xen:number $threadStartOffset}', 'end={xen:number $threadEndOffset}', 'total={xen:number $totalThreads}'}</span></xen:if>

			<xen:if is="{$inlineModOptions}">
				<xen:include template="inline_mod_controls_thread" />
			</xen:if>
		</div>
	</xen:if>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>

<h3 id="DiscussionListOptionsHandle" class="JsOnly"><a href="#">{xen:phrase thread_display_options}</a></h3>

<form action="{xen:link 'forums', $forum}" method="post" class="DiscussionListOptions secondaryContent">

	<xen:hook name="thread_list_options">
	<div class="controlGroup">
		<label for="ctrl_order">{xen:phrase sort_threads_by}:</label>
		<select name="order" id="ctrl_order" class="textCtrl">
			<option value="last_post_date" {xen:selected "{$order} == 'last_post_date'"}>{xen:phrase last_message_time}</option>
			<option value="post_date" {xen:selected "{$order} == 'post_date'"}>{xen:phrase thread_creation_time}</option>
			<option value="title" {xen:selected "{$order} == 'title'"}>{xen:phrase title_alphabetical}</option>
			<option value="reply_count" {xen:selected "{$order} == 'reply_count'"}>{xen:phrase number_of_replies}</option>
			<option value="view_count" {xen:selected "{$order} == 'view_count'"}>{xen:phrase number_of_views}</option>
			<option value="first_post_likes" {xen:selected "{$order} == 'first_post_likes'"}>{xen:phrase first_message_likes}</option>
		</select>
	</div>

	<div class="controlGroup">
		<label for="ctrl_direction">{xen:phrase order_threads_in}:</label>
		<select name="direction" id="ctrl_direction" class="textCtrl">
			<option value="desc" {xen:selected "{$orderDirection} == 'desc'"}>{xen:phrase descending_order}</option>
			<option value="asc" {xen:selected "{$orderDirection} == 'asc'"}>{xen:phrase ascending_order}</option>
		</select>
	</div>
	
	<xen:if is="{$forum.prefixCache}">
		<div class="controlGroup">
			<label for="ctrl_prefix_id">{xen:phrase prefix}:</label>
			<select name="prefix_id" id="ctrl_prefix_id" class="textCtrl">
				<option value="0" {xen:selected '!{$displayConditions.prefix_id}'}>({xen:phrase any})</option>
				<xen:foreach loop="$forum.prefixCache" key="$prefixGroupId" value="$prefixes">
					<xen:if is="{$prefixGroupId}">
						<optgroup label="{xen:helper threadPrefixGroup, $prefixGroupId}">
						<xen:foreach loop="$prefixes" value="$prefixId">
							<option value="{$prefixId}" {xen:selected '{$displayConditions.prefix_id} == {$prefixId}'}>{xen:helper threadPrefix, $prefixId, escaped, ''}</option>
						</xen:foreach>
						</optgroup>
					<xen:else />
						<xen:foreach loop="$prefixes" value="$prefixId">
							<option value="{$prefixId}" {xen:selected '{$displayConditions.prefix_id} == {$prefixId}'}>{xen:helper threadPrefix, $prefixId, escaped, ''}</option>
						</xen:foreach>
					</xen:if>
				</xen:foreach>
			</select>
		</div>
	</xen:if>

	<div class="buttonGroup">
		<input type="submit" class="button primary" value="{xen:phrase set_options}" />
		<input type="reset" class="button" value="{xen:phrase cancel}" />
	</div>
	</xen:hook>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>

<xen:include template="preview_tooltip" />]]></template>
  <template title="thread_list_item" version_id="1020170" version_string="1.2.1"><![CDATA[<xen:require css="discussion_list.css" />

<xen:if is="{$thread.isDeleted}"><xen:include template="thread_list_item_deleted" /><xen:else />

<li id="thread-{$thread.thread_id}" class="discussionListItem {$thread.discussion_state}{xen:if '!{$thread.discussion_open}', ' locked'}{xen:if {$thread.sticky}, ' sticky'}{xen:if {$thread.isNew}, ' unread'}{xen:if {$thread.prefix_id}, ' prefix{$thread.prefix_id}'}{xen:if {$thread.isIgnored}, ' ignored'} {xen:if $thread.thread_is_watched, threadWatched} {xen:if $thread.forum_is_watched, forumWatched}" data-author="{$thread.username}">

	<div class="listBlock posterAvatar">
		<span class="avatarContainer">
			<xen:avatar user="$thread" size="s" img="true" />
			<xen:if is="{$thread.user_post_count}"><xen:avatar user="$visitor" size="s" img="true" class="miniMe" title="{xen:phrase you_have_posted_x_messages_in_this_thread, 'count={xen:number $thread.user_post_count}'}" /></xen:if>
		</span>
	</div>

	<div class="listBlock main">

		<div class="titleText">
			<xen:if hascontent="true">
				<div class="iconKey">
				<xen:contentcheck>
					<xen:hook name="thread_list_item_icon_key" params="{xen:array 'thread={$thread}'}">
					<xen:if is="{$thread.isModerated}"><span class="moderated" title="{xen:phrase moderated}">{xen:phrase moderated}</span></xen:if>
					<xen:if is="!{$thread.discussion_open}"><span class="locked" title="{xen:phrase locked}">{xen:phrase locked}</span></xen:if>
					<xen:if is="{$thread.sticky}"><span class="sticky" title="{xen:phrase sticky}">{xen:phrase sticky}</span></xen:if>
					<xen:if is="{$thread.isRedirect}"><span class="redirect" title="{xen:phrase redirect}">{xen:phrase redirect}</span></xen:if>
					<xen:if is="{$thread.thread_is_watched} OR {$thread.forum_is_watched}"><span class="watched" title="{xen:phrase watched}">{xen:phrase watched}</span></xen:if>
					</xen:hook>
				</xen:contentcheck>
				</div>
			</xen:if>

			<h3 class="title">
				<xen:if is="{$thread.canInlineMod}"><input type="checkbox" name="threads[]" value="{$thread.thread_id}" class="InlineModCheck" id="inlineModCheck-thread-{$thread.thread_id}" data-target="#thread-{$thread.thread_id}" title="{xen:phrase select_thread}: {$thread.title}" /></xen:if>
				<xen:if is="{$showSubscribeOptions}"><input type="checkbox" name="thread_ids[]" value="{$thread.thread_id}" /></xen:if>
				<xen:if is="{$thread.prefix_id}">
					<xen:if is="{$linkPrefix}">
						<a href="{xen:link forums, $forum, 'prefix_id={$thread.prefix_id}'}" class="prefixLink"
							title="{xen:phrase show_only_threads_prefixed_by_x, 'prefix={xen:helper threadPrefix, $thread, plain, ""}'}">{xen:helper threadPrefix, $thread, html, ''}</a>
					<xen:else />
						{xen:helper threadPrefix, $thread}
					</xen:if>
				</xen:if>
				<a href="{xen:link "threads{xen:if '{$thread.isNew} AND {$thread.haveReadData}', '/unread'}", $thread}"
					title="{xen:if '{$thread.isNew} AND {$thread.haveReadData}', {xen:phrase go_to_first_unread_message}}"
					class="{xen:if $thread.hasPreview, PreviewTooltip}"
					data-previewUrl="{xen:if $thread.hasPreview, {xen:link threads/preview, $thread}}">{xen:helper wrap, $thread.title, 50}</a>
				<xen:if is="{$thread.isNew}"><a href="{xen:link threads/unread, $thread}" class="unreadLink" title="{xen:phrase go_to_first_unread_message}"></a></xen:if>
			</h3>
			
			<div class="secondRow">
				<div class="posterDate muted">
					<xen:username user="$thread" title="{xen:phrase thread_starter}" /><span class="startDate">,
					<a{xen:if {$visitor.user_id}, ' href="{xen:link threads, $thread}"'} class="faint"><xen:datetime time="$thread.post_date" title="{xen:if {$visitor.user_id}, '{xen:phrase go_to_first_message_in_thread}'}" /></a></span><xen:if is="{$showForumLink}"><span class="containerName">,
					<a href="{xen:link forums, $thread.forum}" class="forumLink">{$thread.forum.title}</a></span></xen:if>

					<xen:if is="{$showLastPageNumbers} AND {$thread.lastPageNumbers}">
						<span class="itemPageNav">
							<span>...</span>
							<xen:foreach loop="$thread.lastPageNumbers" value="$pageNumber">
								<a href="{xen:link threads, $thread, 'page={$pageNumber}'}">{$pageNumber}</a>
							</xen:foreach>
						</span>
					</xen:if>
				</div>

				<div class="controls faint">
					<xen:if is="{$thread.canEditThread}"><a href="javascript:" data-href="{xen:link 'threads/list-item-edit', $thread, 'showForumLink={$showForumLink}'}" class="EditControl JsOnly">{xen:phrase edit}</a></xen:if>
					<xen:if is="{$showSubscribeOptions} AND {$thread.email_subscribe}">{xen:phrase email}</xen:if>
				</div>
			</div>
		</div>
	</div>

	<div class="listBlock stats pairsJustified" title="{xen:phrase members_who_liked_first_message}: {xen:if $thread.isRedirect, '&ndash;', {xen:number $thread.first_post_likes}}">
		<dl class="major"><dt>{xen:phrase replies}:</dt> <dd>{xen:if $thread.isRedirect, '&ndash;', {xen:number $thread.reply_count}}</dd></dl>
		<dl class="minor"><dt>{xen:phrase views}:</dt> <dd>{xen:if $thread.isRedirect, '&ndash;', {xen:number $thread.view_count}}</dd></dl>
	</div>

	<div class="listBlock lastPost">
		<xen:if is="{$thread.isRedirect}">
			<div class="lastPostInfo">{xen:phrase n_a}</div>
		<xen:else />
			<dl class="lastPostInfo">
				<dt><xen:if is="{xen:helper isIgnored, $thread.last_post_user_id}">{xen:phrase ignored_member}<xen:else /><xen:username user="$thread.lastPostInfo" /></xen:if></dt>
				<dd class="muted"><a{xen:if '{$visitor.user_id}', ' href="{xen:link posts, $thread.lastPostInfo}" title="{xen:phrase go_to_last_message}"'} class="dateTime"><xen:datetime time="$thread.lastPostInfo.post_date" /></a></dd>
			</dl>
		</xen:if>
	</div>
</li>

</xen:if>]]></template>
  <template title="thread_list_item_deleted" version_id="1020570" version_string="1.2.5"><![CDATA[<xen:require css="discussion_list.css" />

<li id="thread-{$thread.thread_id}" class="discussionListItem {$thread.discussion_state}{xen:if {$thread.isNew}, ' new'}{xen:if {$thread.prefix_id}, ' prefix{$thread.prefix_id}'}{xen:if {$thread.isIgnored}, ' ignored'}" data-author="{$thread.username}">

	<div class="listBlock posterAvatar">
		<xen:avatar user="$thread" size="s" img="true" />
	</div>

	<div class="listBlock main">

		<div class="titleText">
			<xen:if hascontent="true">
				<div class="iconKey">
				<xen:contentcheck>
					<xen:if is="{$thread.discussion_state} == 'moderated'"><span class="moderated" title="{xen:phrase moderated}">{xen:phrase moderated}</span></xen:if>
					<xen:if is="!{$thread.discussion_open}"><span class="locked" title="{xen:phrase locked}">{xen:phrase locked}</span></xen:if>
					<xen:if is="{$thread.sticky}"><span class="sticky" title="{xen:phrase sticky}">{xen:phrase sticky}</span></xen:if>
					<xen:if is="{$thread.discussion_type} == 'redirect'"><span class="redirect" title="{xen:phrase redirect}">{xen:phrase redirect}</span></xen:if>
				</xen:contentcheck>
				</div>
			</xen:if>

			<h3 class="title muted">
				<xen:if is="{$thread.canInlineMod}"><input type="checkbox" name="threads[]" value="{$thread.thread_id}" class="InlineModCheck" id="inlineModCheck-thread-{$thread.thread_id}" data-target="#thread-{$thread.thread_id}" title="{xen:phrase select_thread}: {$thread.title}" /></xen:if>
				{xen:helper threadPrefix, $thread}
				<label for="inlineModCheck-thread-{$thread.thread_id}">{xen:helper wrap, $thread.title, 50}</label>
			</h3>

			<div class="secondRow">
				<div class="deletionNote">
					{xen:phrase this_thread_started_by_x_has_been_deleted, 'name={xen:helper username, $thread}'}
					<xen:if is="{$thread.delete_username}">
						{xen:phrase deleted_by_x, 'name={xen:helper username, $thread.deleteInfo}'}, <xen:datetime time="{$thread.delete_date}" /><xen:if is="{$thread.delete_reason}">, {xen:phrase reason}: {$thread.delete_reason}</xen:if>.
					</xen:if>
				</div>

				<div class="controls faint">
					<a href="{xen:link threads, $thread}" class="viewLink">{xen:phrase view}</a>
					<xen:if is="{$thread.canEditThread}"><a href="javascript:" data-href="{xen:link 'threads/list-item-edit', $thread}" class="EditControl JsOnly">{xen:phrase edit}</a></xen:if>
				</div>
			</div>
		</div>

	</div>

	<div class="listBlock statsLastPost"></div>

</li>]]></template>
  <template title="thread_list_item_edit" version_id="1020170" version_string="1.2.1"><![CDATA[<xen:require css="thread_list_item_edit.css" />

<li>
	<div class="discussionListItemEdit inlineCtrlGroup">
	
		<div class="titleEdit editBlock">
			<label>{xen:phrase title}:
				<xen:if is="{$prefixes}">
				
					<xen:require js="js/xenforo/title_prefix.js" />
					<xen:require css="title_prefix_edit.css" />
					
					<select name="prefix_id" id="ctrl_prefix_{$thread.thread_id}" class="textCtrl TitlePrefix"
						data-container="#ctrl_prefix_{$thread.thread_id}"
						data-textbox="#ctrl_title_{$thread.thread_id}">
						<xen:include template="title_prefix_edit_options">
							<xen:set var="$selectedPrefix">{$thread.prefix_id}</xen:set>
						</xen:include>
					</select>
					
				</xen:if>
			</label>
			<input type="text" name="title" value="{$thread.title}" class="textCtrl titleField" id="ctrl_title_{$thread.thread_id}" maxlength="100" />
		</div>
		
		<xen:if hascontent="true">
			<div class="stateEdit editBlock">
				<label for="ctrl_state_{$thread.thread_id}">{xen:phrase state}:
					<select name="discussion_state" class="textCtrl" id="ctrl_state_{$thread.thread_id}">
						<xen:contentcheck>
							<xen:if is="{$canAlterState.visible}"><option value="visible" {xen:selected "{$thread.discussion_state} == 'visible'"}>{xen:phrase visible}</option></xen:if>
							<xen:if is="{$canAlterState.moderated}"><option value="moderated" {xen:selected "{$thread.discussion_state} == 'moderated'"}>{xen:phrase moderated}</option></xen:if>
							<xen:if is="{$canAlterState.deleted}"><option value="deleted" {xen:selected "{$thread.discussion_state} == 'deleted'"}>{xen:phrase deleted}</option></xen:if>
						</xen:contentcheck>
					</select>
				</label>
			</div>
		</xen:if>
		
		<xen:if hascontent="true">
			<ul class="optionsEdit editBlock">
				<xen:contentcheck>
					<xen:if is="{$canLockUnlockThread}">
						<li><label for="ctrl_open_{$thread.thread_id}" title="{xen:phrase people_may_reply_to_this_thread}"><input type="checkbox" name="discussion_open" value="1" id="ctrl_open_{$thread.thread_id}" {xen:checked "{$thread.discussion_open}"} /> {xen:phrase open_thread}</label></li>
					</xen:if>
					<xen:if is="{$canStickUnstickThread}">
						<li><label for="ctrl_sticky_{$thread.thread_id}"><input type="checkbox" name="sticky" value="1" id="ctrl_sticky_{$thread.thread_id}" {xen:checked "{$thread.sticky}"} /> {xen:phrase sticky}</label></li>
					</xen:if>
				</xen:contentcheck>
			</ul>
		</xen:if>
	
		<div class="buttons editBlock">
			<img src="{xen:property imagePath}/xenforo/widgets/ajaxload.info_000000_facebook.gif" class="AjaxSaveProgress" alt="" />
			<input type="submit" value="{xen:phrase save}" class="textCtrl primary" id="ctrl_submit_{$thread.thread_id}" data-submitUrl="{xen:link 'threads/save', $thread}" />
			<input type="reset"  value="{xen:phrase cancel}" class="textCtrl" id="ctrl_reset_{$thread.thread_id}" />
			<input type="hidden" name="showForumLink" value="{$showForumLink}" />
		</div>
		
	</div>	
</li>]]></template>
  <template title="thread_list_item_edit.css" version_id="1020034" version_string="1.2.0 Beta 4"><![CDATA[/* slide-open editor */

.discussionList .discussionListItemEdit
{
	border-bottom: 1px solid #ccc;
	overflow: hidden; zoom: 1;
}

	.discussionListItemEdit .textCtrl
	{
		margin: 0;
	}

	.discussionListItemEdit .editBlock
	{
		float: left;
		padding: 5px;
	}
		
		.discussionListItemEdit .titleEdit > .titleField
		{
			box-sizing: border-box;
			width: 270px;
		}
		
		.discussionListItemEdit .optionsEdit li
		{
			display: inline-block;
			line-height: 22px;
			margin-right: 10px;
		}
		
		.discussionListItemEdit .optionsEdit li input[type="checkbox"]
		{
			position: relative;
			top: 2px;
		}
		
	.discussionListItemEdit .buttons
	{
		float: right;		
	}
	
		.discussionListItemEdit .buttons .AjaxSaveProgress
		{
			vertical-align: middle;
			visibility: hidden;
		}
	
			.discussionListItemEdit.InProgress .buttons .AjaxSaveProgress
			{
				visibility: visible;
			}
		
		.discussionListItemEdit .buttons input
		{
			_width: 100px;
			min-width: 65px;
		}
		
<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .discussionListItemEdit .titleEdit > .titleField
	{
		width: 100%;
	}
}
</xen:if>]]></template>
  <template title="thread_list_item_preview" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<div class="previewTooltip">
	<xen:avatar user="$post" size="s" />
	
	<div class="text">
		<blockquote class="previewText">{xen:string nl2br, {xen:helper wordtrim, $post.messageParsed, $xenOptions.discussionPreviewLength}}</blockquote>
		
		<div class="posterDate muted">{$post.username}, <xen:datetime time="{$post.post_date}" class="faint" /></div>
	</div>
</div>]]></template>
  <template title="thread_moderator_actions" version_id="1030010" version_string="1.3.0 Alpha"><![CDATA[<xen:title>{$thread.title} - {xen:phrase moderator_actions}</xen:title>
<xen:h1>{xen:phrase moderator_actions}</xen:h1>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
	<xen:breadcrumb href="{xen:link full:threads, $thread}">{xen:helper threadPrefix, $thread}{$thread.title}</xen:breadcrumb>
</xen:navigation>

<div class="section">
	<xen:if is="{$logs}">
		<div class="overlayScroll primaryContent" style="padding: 0; margin: 0">
			<table class="dataTable" style="padding: 0; margin: 0">
			<tr class="dataRow">
				<th>{xen:phrase moderator}</th>
				<th>{xen:phrase action}</th>
				<th>{xen:phrase date}</th>
				<th>&nbsp;</th>
			</tr>
			<xen:foreach loop="$logs" value="$entry">
				<tr class="dataRow">
					<td><xen:username user="$entry" /></td>
					<td>{xen:raw $entry.actionText, object}</td>
					<td style="white-space: nowrap"><xen:datetime time="{$entry.log_date}" /></td>
					<td class="dataOptions"><a href="{$entry.content_url}" class="secondaryContent">{xen:phrase view}</a></td>
				</tr>
			</xen:foreach>
			</table>
		</div>
		<div class="sectionFooter">
			{xen:phrase previous_moderation_action_logs_may_have_been_removed}
			<a class="button primary OverlayCloser overlayOnly">{xen:phrase close}</a>
		</div>
	<xen:else />
		<div class="primaryContent">{xen:phrase no_moderator_actions_have_been_logged}</div>
	</xen:if>
</div>]]></template>
  <template title="thread_move" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:title>{xen:phrase move_thread}: {xen:helper threadPrefix, $thread, escaped}{$thread.title}</xen:title>
<xen:h1>{xen:phrase move_thread}: {xen:helper threadPrefix, $thread}{$thread.title}</xen:h1>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
	<xen:breadcrumb href="{xen:link full:threads, $thread}">{xen:helper threadPrefix, $thread}{$thread.title}</xen:breadcrumb>
</xen:navigation>

<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container>
<xen:container var="$searchBar.thread"><xen:include template="search_bar_thread_only" /></xen:container>
<xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container>

<form action="{xen:link 'threads/move', $thread}" method="post" class="xenForm formOverlay">
	
	<xen:if is="{$canEditTitle}">
		<xen:include template="title_prefix_edit">
			<xen:set var="$selectedPrefix">{$thread.prefix_id}</xen:set>
			<xen:set var="$idSuffix">thread_move</xen:set>
			<xen:set var="$nodeControl">#ctrl_node_id</xen:set>
		</xen:include>
		
		<dl class="ctrlUnit">
			<dt><label for="ctrl_title_thread_move">{xen:phrase title}:</label></dt>
			<dd><input type="text" name="title" id="ctrl_title_thread_move" value="{$thread.title}" class="textCtrl" maxlength="100" /></dd>
		</dl>
	</xen:if>

	<xen:include template="thread_fields_move" />
	
	<dl class="ctrlUnit">
		<dt></dt>
		<dd><ul>
			<li><label><input type="checkbox" name="send_alert" value="1" checked="checked" /> {xen:phrase notify_members_watching_destination_forum}</label></li>
		</ul></dd>
	</dl>

	<xen:if is="{$thread.discussion_state} == 'visible' && {$thread.user_id} AND {$thread.user_id} != {$visitor.user_id}">
		<xen:include template="helper_thread_mod_action_alert">
			<xen:set var="$alertDefault" value="1" />
		</xen:include>
	</xen:if>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase move_thread}" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="thread_multi_quote_overlay" version_id="1040370" version_string="1.4.3"><![CDATA[<xen:title>{xen:phrase review_selected_messages}</xen:title>

<xen:require js="js/sortable/jquery.sortable.min.js" />
<xen:require css="thread_multi_quote_overlay.css" />

<form class="section" id="MultiQuoteForm" data-form="{$formId}">
	<h3 class="subHeading multiQuoteDragHeading">{xen:phrase drag_messages_to_rearrange_for_quoting}</h3>
	<ol class="overlayScroll Sortable">
		<xen:foreach loop="$posts" key="$postId" value="$post">
			<li draggable="true" class="MultiQuoteItem">
				<input type="hidden" name="postId[]" value="{$postId}" class="MultiQuoteId" />
				
				<table>
				<tr>
					<td class="secondaryContent avatarHolder" rowspan="2"><span class="avatar"><img src="{xen:helper avatar, $post, s}" alt="{$post.username}" /></span></td>
					<td class="secondaryContent messageInfo">
						<a href="javascript:" class="MultiQuoteRemove">{xen:phrase remove}</a>
						{$post.username}, <xen:datetime time="{$post.post_date}" />, {$post.title}</td>
				</tr>
				<tr>
					<td class="primaryContent messageCell">
						<div class="messageArea">
							<div class="messageText">{xen:raw $post.messageParsed}</div>
							<div class="messageGradient"></div>
						</div>
					</td>
				</tr>
				</table>
			</li>
		</xen:foreach>
	</ol>
	<div class="sectionFooter">
		<a class="button OverlayCloser JsOnly">{xen:phrase cancel}</a>
		<a class="button primary OverlayCloser MultiQuote AutoFocus"
			href="{xen:link threads/multi-quote, $thread}"
			data-form="{$formId}"
			data-inputs="#MultiQuoteForm input.MultiQuoteId">{xen:phrase quote_these_messages}</a>
	</div>
</form>]]></template>
  <template title="thread_multi_quote_overlay.css" version_id="1030570" version_string="1.3.5"><![CDATA[.NoDragDrop .multiQuoteDragHeading,
.Touch .multiQuoteDragHeading
{
	display: none;
}

.MultiQuoteItem table
{
	width: 100%;
	table-layout: fixed;
}

.HasDragDrop .MultiQuoteItem
{
	cursor: move;
}

.MultiQuoteItem table tr
{
	vertical-align: top;
}

.MultiQuoteItem table .messageCell
{
	height: 100%;
}

.MultiQuoteItem .avatarHolder
{
	width: 50px;
}

.MultiQuoteItem .messageInfo
{
	font-size: 11px;
	padding: 5px 10px;
}

.MultiQuoteItem a.MultiQuoteRemove
{
	float: right;
}

.MultiQuoteItem .messageArea
{
	position: relative;
	overflow: hidden;
	padding-bottom: 0;
	border-bottom: none;
}

.MultiQuoteItem .messageText
{
	max-height: 120px;
	overflow: hidden;
}

.MultiQuoteItem .messageGradient
{
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	height: 120px;
	background: -webkit-linear-gradient(top, {xen:helper rgba, {xen:property primaryContent.background-color}, 0} 70px, {xen:helper unrgba, {xen:property primaryContent.background-color}} 90%);
	background: -moz-linear-gradient(top, {xen:helper rgba, {xen:property primaryContent.background-color}, 0} 70px, {xen:helper unrgba, {xen:property primaryContent.background-color}} 90%);
	background: -o-linear-gradient(top, {xen:helper rgba, {xen:property primaryContent.background-color}, 0} 70px, {xen:helper unrgba, {xen:property primaryContent.background-color}} 90%);
	background: linear-gradient(to bottom, {xen:helper rgba, {xen:property primaryContent.background-color}, 0} 70px, {xen:helper unrgba, {xen:property primaryContent.background-color}} 90%);
}

.MultiQuoteItem.sortable-dragging .messageGradient
{
	display: none;
}]]></template>
  <template title="thread_poll_add" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:title>{$thread.title} - {xen:phrase add_poll}</xen:title>
<xen:h1>{xen:phrase add_poll}</xen:h1>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
	<xen:breadcrumb href="{xen:link full:threads, $thread}">{xen:helper threadPrefix, $thread}{$thread.title}</xen:breadcrumb>
</xen:navigation>

<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container>
<xen:container var="$searchBar.thread"><xen:include template="search_bar_thread_only" /></xen:container>
<xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container>

<form action="{xen:link threads/poll/add, $thread}" method="post" class="xenForm AutoValidator" data-redirect="on">
	<xen:include template="helper_poll_create" />
	
	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd>
			<input type="submit" value="{xen:phrase save_changes}" accesskey="s" class="button primary" />
		</dd>
	</dl>
	
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="thread_poll_edit" version_id="1040032" version_string="1.4.0 Beta 2"><![CDATA[<xen:title>{$poll.question} - {xen:phrase edit_poll}</xen:title>
<xen:h1>{xen:phrase edit_poll}</xen:h1>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
	<xen:breadcrumb href="{xen:link full:threads, $thread}">{xen:helper threadPrefix, $thread}{$thread.title}</xen:breadcrumb>
</xen:navigation>

<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container>
<xen:container var="$searchBar.thread"><xen:include template="search_bar_thread_only" /></xen:container>
<xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container>

<form action="{xen:link threads/poll/edit, $thread}" method="post" class="xenForm">
	<dl class="ctrlUnit">
		<dt><label for="ctrl_question">{xen:phrase question}:</label></dt>
		<dd>
			<xen:if is="{$canEditPollDetails}">
				<input type="text" name="question" value="{$poll.question}" class="textCtrl" id="ctrl_question" maxlength="100" data-liveTitleTemplate="{xen:phrase edit_poll}: <em>%s</em>" />
			<xen:else />
				{$poll.question}
			</xen:if>
		</dd>
	</dl>
	
	<dl class="ctrlUnit">
		<dt>{xen:phrase possible_responses}:</dt>
		<dd>
			<ul class="PollResponseContainer">
			<xen:foreach loop="$poll.responses" key="$pollResponseId" value="$response">
				<li>
					<xen:if is="{$canEditPollDetails}">
						<input type="text" name="existing_responses[{$pollResponseId}]" value="{$response.response}" class="textCtrl" placeholder="{xen:phrase poll_choice}..." maxlength="100" />
					<xen:else />
						{$response.response}
					</xen:if>
				</li>
			</xen:foreach>
			<xen:if is="{xen:count $poll.responses} < {$xenOptions.pollMaximumResponses}">
				<li><input type="text" name="new_responses[]" class="textCtrl" placeholder="{xen:phrase poll_choice}..." maxlength="100" /></li>
			</xen:if>
			</ul>
			<input type="button" value="{xen:phrase add_additional_response}" class="FieldAdder button smallButton" data-source="ul.PollResponseContainer li" data-maxfields="{$xenOptions.pollMaximumResponses}" />
		</dd>
	</dl>

	<xen:if is="{$canEditMaxVotes}">
		<dl class="ctrlUnit">
			<dt>{xen:phrase maximum_selectable_responses}:</dt>
			<dd>
				<ul>
					<xen:if is="{$poll.max_votes} == 1 OR !{$poll.voter_count}">
						<li><label><input type="radio" name="max_votes_type" value="single" {xen:checked '{$poll.max_votes} == 1'} /> {xen:phrase single_choice}</label></li>
					</xen:if>
					<li><label><input type="radio" name="max_votes_type" value="unlimited" {xen:checked '{$poll.max_votes} == 0'} /> {xen:phrase unlimited}</label></li>
					<li><input type="radio" name="max_votes_type" value="number" class="Disabler" id="ctrl_max_votes_type_value" {xen:checked '{$poll.max_votes} > 1'} /> 
						<span id="ctrl_max_votes_type_value_Disabler">
							<input type="number" class="textCtrl number SpinBox" name="max_votes_value" value="{xen:if '{$poll.max_votes} > 1', $poll.max_votes, 2}" min="1" step="1" />
						</span>
					</li>
				</ul>
				<p class="explain">
					{xen:phrase this_is_maximum_number_responses_voter_may_select}
					<xen:if is="{$poll.voter_count} > 0">{xen:phrase this_number_may_only_be_increased}</xen:if>
				</p>
			</dd>
		</dl>
	</xen:if>
	
	<dl class="ctrlUnit">
		<dt>{xen:phrase options}:</dt>
		<dd>
			<ul>
				<li><label><input type="checkbox" name="change_vote" value="1" {xen:checked $poll.change_vote} /> {xen:phrase allow_voters_to_change_their_votes}</label></li>

				<xen:if is="{$canEditPublic}">
					<li><label><input type="checkbox" name="public_votes" value="1" {xen:checked $poll.public_votes} /> {xen:phrase display_votes_publicly}</label></li>
				</xen:if>

				<li><label><input type="checkbox" name="view_results_unvoted" value="1" {xen:checked $poll.view_results_unvoted} /> {xen:phrase allow_results_to_be_viewed_without_voting}</label></li>

				<xen:if is="{$poll.close_date}">
					<li><label><input type="checkbox" name="close_date" value="{$poll.close_date}" checked="checked" /> {xen:phrase close_this_poll_on_x, 'date={xen:datetime $poll.close_date, absolute}'}</label></li>
				<xen:else />
					<li><label><input type="checkbox" name="close" value="1" class="Disabler" id="ctrl_close" /> {xen:phrase close_this_poll_after}:</label>
						<ul id="ctrl_close_Disabler">
							<li>
								<input type="text" size="5" name="close_length" value="7" class="textCtrl autoSize" />
								<select name="close_units" class="textCtrl autoSize">
									<option value="hours">{xen:phrase hours}</option>
									<option value="days" selected="selected">{xen:phrase days}</option>
									<option value="weeks">{xen:phrase weeks}</option>
									<option value="months">{xen:phrase months}</option>
								</select>
							</li>
						</ul>
					</li>
				</xen:if>
			</ul>
		</dd>
	</dl>
	
	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd>
			<input type="submit" value="{xen:phrase save_changes}" accesskey="s" class="button primary" />
		</dd>
	</dl>
	
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>

<xen:if is="{$canResetPoll}">
	<form action="{xen:link threads/poll/reset, $thread}" method="post" class="xenForm">
		<h3 class="textHeading">{xen:phrase delete_poll}</h3>
		<dl class="ctrlUnit">
			<dt></dt>
			<dd>
				<ul>
					<li><label><input type="radio" name="poll_action" value="" checked="checked" /> {xen:phrase do_nothing}</label><li>
					<xen:if is="{$poll.voter_count}">
						<li><label><input type="radio" name="poll_action" value="reset" /> {xen:phrase reset_all_votes}</label></li>
					</xen:if>
					<li><label><input type="radio" name="poll_action" value="remove" /> {xen:phrase delete_entire_poll}</label></li>
				</ul>
			</dd>
		</dl>

		<dl class="ctrlUnit submitUnit">
			<dt></dt>
			<dd>
				<input type="submit" value="{xen:phrase delete}" class="button primary" />
			</dd>
		</dl>
		
		<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	</form>
</xen:if>]]></template>
  <template title="thread_poll_results" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<xen:title>{$poll.question} - {xen:phrase poll_results}</xen:title>
<xen:h1>{xen:phrase poll_results}</xen:h1>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
	<xen:breadcrumb href="{xen:link full:threads, $thread}">{xen:helper threadPrefix, $thread}{$thread.title}</xen:breadcrumb>
</xen:navigation>

<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container>
<xen:container var="$searchBar.thread"><xen:include template="search_bar_thread_only" /></xen:container>
<xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container>

<xen:include template="poll_block">
	<xen:set var="$options">
		<xen:include template="poll_block_result" />
	</xen:set>
</xen:include>]]></template>
  <template title="thread_poll_vote" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:title>{$poll.question} - {xen:phrase cast_your_vote}</xen:title>
<xen:h1>{xen:phrase cast_your_vote}</xen:h1>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
	<xen:breadcrumb href="{xen:link full:threads, $thread}">{xen:helper threadPrefix, $thread}{$thread.title}</xen:breadcrumb>
</xen:navigation>

<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container>
<xen:container var="$searchBar.thread"><xen:include template="search_bar_thread_only" /></xen:container>
<xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container>

<xen:include template="poll_block">
	<xen:set var="$options">
		<xen:include template="poll_block_vote" />
	</xen:set>
</xen:include>]]></template>
  <template title="thread_poll_voters" version_id="1030270" version_string="1.3.2"><![CDATA[<xen:title>{xen:phrase poll_results}: {$poll.question}</xen:title>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
	<xen:breadcrumb href="{xen:link full:threads, $thread}">{xen:helper threadPrefix, $thread}{$thread.title}</xen:breadcrumb>
</xen:navigation>

<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container>
<xen:container var="$searchBar.thread"><xen:include template="search_bar_thread_only" /></xen:container>
<xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container>

<div class="section">
	<h2 class="subHeading">{xen:phrase members_who_voted_for_x, 'response={$response.response}'}</h2>
	<ul class="overlayScroll secondaryContent listInline commaImplode">
	<xen:foreach loop="$response.voters" value="$voter">
		<xen:if is="{$voter.username}">
			<li><xen:username user="$voter" /></li>
		<xen:else />
			<li><a>{xen:phrase deleted_user_parentheses}</a></li>
		</xen:if>
	</xen:foreach>
	</ul>
	<div class="sectionFooter">
		{xen:phrase x_total_votes, 'count={xen:count $response.voters}'}
		<input type="button" class="button OverlayCloser overlayOnly" value="{xen:phrase close}" />
	</div>
</div>]]></template>
  <template title="thread_prefixes.css" version_id="1010032" version_string="1.1.0 Beta 2"><![CDATA[.prefix
{
	{xen:property titlePrefix}
}

a.prefixLink:hover
{
	text-decoration: none;
}

a.prefixLink:hover .prefix
{
	{xen:property titlePrefixHover}
}

.prefix a { color: inherit; }

.prefix.prefixPrimary    { color: {xen:property primaryMedium}; background-color: {xen:property primaryLighterStill}; border-color: {xen:property primaryLighterStill}; }
.prefix.prefixSecondary  { color: {xen:property secondaryDark}; background-color: {xen:property secondaryLighter}; border-color: {xen:property secondaryLighter}; }

.prefix.prefixRed        { color: white; background-color: red; border-color: #F88; }
.prefix.prefixGreen      { color: white; background-color: green; border-color: green; }
.prefix.prefixOlive      { color: black; background-color: olive; border-color: olive; }
.prefix.prefixLightGreen { color: black; background-color: lightgreen; border-color: lightgreen; }
.prefix.prefixBlue       { color: white; background-color: blue; border-color: #88F; }
.prefix.prefixRoyalBlue  { color: white; background-color: royalblue; border-color: #81A9E1;  }
.prefix.prefixSkyBlue    { color: black; background-color: skyblue; border-color: skyblue; }
.prefix.prefixGray       { color: black; background-color: gray; border-color: #AAA; }
.prefix.prefixSilver     { color: black; background-color: silver; border-color: silver; }
.prefix.prefixYellow     { color: black; background-color: yellow; border-color: #E0E000; }
.prefix.prefixOrange     { color: black; background-color: orange; border-color: #FFC520; }

.discussionListItem .prefix,
.searchResult .prefix
{
	{xen:property discussionListPrefix}
	
	font-weight: normal;
}

h1 .prefix
{
	{xen:property discussionListPrefix}
	
	line-height: normal;
}

.breadcrumb span.prefix,
.heading span.prefix
{
	{xen:property breadcrumbTitlePrefix}
	color: inherit;
}]]></template>
  <template title="thread_reply" version_id="1040470" version_string="1.4.4"><![CDATA[<xen:title>{xen:phrase reply_to_x, 'title={xen:helper threadPrefix, $thread, escaped}{$thread.title}'}</xen:title>
<xen:h1>{xen:phrase reply_to_thread}</xen:h1>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
	<xen:breadcrumb href="{xen:if '{$post}', {xen:link posts, $post}, {xen:link threads, $thread}}">{xen:helper threadPrefix, $thread}{$thread.title}</xen:breadcrumb>
</xen:navigation>

<xen:require js="js/xenforo/discussion.js" />

<xen:container var="$head.robots">
	<meta name="robots" content="noindex" /></xen:container>
<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container>
<xen:container var="$searchBar.thread"><xen:include template="search_bar_thread_only" /></xen:container>
<xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container>

<form action="{xen:link 'threads/add-reply', $thread}" method="post" id="ThreadReply"
	class="xenForm Preview AutoValidator"
	data-previewUrl="{xen:link 'threads/reply/preview', $thread}"
	data-redirect="on">

	<xen:hook name="thread_reply">

	<xen:if is="{$visitor.user_id} == 0">
		<dl class="ctrlUnit">
			<dt><label for="ctrl_guestUsername">{xen:phrase name}:</label></dt>
			<dd><input type="text" name="_guestUsername" value="{$visitor.username}" class="textCtrl" /></dd>
		</dl>
	</xen:if>
	
	<!-- slot: after_guest -->

	<xen:include template="helper_captcha_unit" />

	<fieldset>
		<dl class="ctrlUnit fullWidth surplusLabel">
			<dt><label for="ctrl_message">{xen:phrase message}:</label></dt>
			<dd>{xen:raw $editorTemplate}</dd>
		</dl>
	</fieldset>
	
	<!-- slot: after_editor -->

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd>
				
			<input type="submit" value="{xen:phrase reply_to_thread}" accesskey="s" class="button primary" />
			<xen:include template="attachment_upload_button" />
			<input type="button" value="{xen:phrase preview}..." class="button PreviewButton JsOnly" />
			
			<xen:if is="{$xenOptions.multiQuote}"><input type="button" class="button JsOnly MultiQuoteWatcher" id="MultiQuote"
				value="{xen:phrase insert_quotes}..."
				style="display: none"
				data-href="{xen:link 'threads/multi-quote', $thread, 'formId=#ThreadReply'}"
				data-cacheOverlay="false" /></xen:if>
		</dd>
	</dl>
	
	<!-- slot: after_submit -->

	<xen:if is="{$attachmentParams}">
		<dl class="ctrlUnit AttachedFilesUnit">
			<dt>{xen:phrase attached_files}:</dt>
			<dd><xen:include template="attachment_editor" /></dd>
		</dl>
	</xen:if>
	
	<!-- slot: after_attachment -->

	<xen:if hascontent="true">
		<fieldset>
			<xen:contentcheck>
			<xen:if is="{$visitor.user_id}">
				<dl class="ctrlUnit">
					<dt>{xen:phrase options}:</dt>
					<dd><ul>
						<li><xen:include template="helper_thread_watch_input" /></li>
					</ul></dd>
				</dl>
			
				<xen:include template="thread_fields_status" />
			</xen:if>
			</xen:contentcheck>
		</fieldset>
	</xen:if>
	
	</xen:hook>

	<!--
	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd>
			<input type="submit" value="{xen:phrase reply_to_thread}" accesskey="s" class="button primary" />
			<input type="button" value="{xen:phrase preview}..." class="button PreviewButton JsOnly" />
		</dd>
	</dl>
	-->

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="thread_reply_bans" version_id="1040052" version_string="1.4.0 Release Candidate 2"><![CDATA[<xen:title>{$thread.title} - {xen:phrase manage_reply_bans}</xen:title>
<xen:h1>{xen:phrase manage_reply_bans}</xen:h1>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
	<xen:breadcrumb href="{xen:link full:threads, $thread}">{xen:helper threadPrefix, $thread}{$thread.title}</xen:breadcrumb>
</xen:navigation>

<form action="{xen:link 'threads/reply-bans', $thread}" method="post" class="xenForm formOverlay overlayScroll AutoValidator"
	data-redirect="yes"
>

	<xen:if is="{$replyBans}">
		<table class="dataTable">
		<tr class="dataRow subtle">
			<th width="20%">{xen:phrase user}</th>
			<th width="38%">{xen:phrase reason}</th>
			<th width="32%">{xen:phrase end_date}</th>
			<th width="10%">{xen:phrase delete}</th>
		</tr>
		<xen:foreach loop="$replyBans" value="$ban">
			<tr class="dataRow">
				<td><xen:username user="{$ban}" /></td>
				<td><span title="{xen:phrase by_x, 'name={$ban.ban_username}'}, {xen:date $ban.ban_date}"><xen:if is="{$ban.reason}">{$ban.reason}<xen:else />{xen:phrase n_a}</xen:if></span></td>
				<td><xen:if is="{$ban.expiry_date}"><xen:datetime time="{$ban.expiry_date}" /><xen:else />{xen:phrase n_a}</xen:if></td>
				<td><input type="checkbox" name="delete[]" value="{$ban.user_id}" />
			</tr>
		</xen:foreach>
		</table>

		<h3 class="textHeading">{xen:phrase new_reply_ban}</h3>
	</xen:if>

	<dl class="ctrlUnit">
		<dt>{xen:phrase user_name}:</dt>
		<dd>
			<input type="text" name="username" class="textCtrl AutoComplete AcSingle" autofocus="autofocus" />
			<p class="explain">{xen:phrase this_user_still_able_to_view_thread_not_reply}</p>
		</dd>
	</dl>
	
	<dl class="ctrlUnit">
		<dt>{xen:phrase ban_length}:</dt>
		<dd>
			<ul>
				<li><label><input type="radio" name="ban_length" value="permanent" /> {xen:phrase permanent}</label></li>
				<li><label><input type="radio" name="ban_length" value="temporary" id="ctrl_ban_length_temporary" checked="checked" class="Disabler" /> {xen:phrase temporary}:</label>
					<ul id="ctrl_ban_length_temporary_Disabler">
						<li>
							<input type="text" size="5" name="ban_length_value" value="7" class="textCtrl autoSize" />
							<select name="ban_length_unit" class="textCtrl autoSize">
								<option value="hours">{xen:phrase hours}</option>
								<option value="days" selected="selected">{xen:phrase days}</option>
								<option value="weeks">{xen:phrase weeks}</option>
								<option value="months">{xen:phrase months}</option>
							</select>
						</li>
					</ul>
				</li>
			</ul>
		</dd>
	</dl>

	<dl class="ctrlUnit">
		<dt>{xen:phrase reason}:</dt>
		<dd>
			<input type="text" name="reason" class="textCtrl" maxlength="100" />
			<p class="explain">{xen:phrase this_will_be_shown_to_user_if_you_choose_to_notify_them}</p>
		</dd>
	</dl>
	
	<dl class="ctrlUnit">
		<dt></dt>
		<dd><ul>
			<li>
				<label><input type="checkbox" name="send_alert" value="1" /> {xen:phrase notify_user_of_this_action}</label>
			</li>
		</ul></dd>
	</dl>

	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase save_changes}" class="button primary" /></dd>
	</dl>

	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	<input type="hidden" name="redirect" value="{$redirect}" />
</form>]]></template>
  <template title="thread_reply_new_posts" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<xen:if is="{$firstUnshownPost}">
	<li class="newMessagesNotice">{xen:phrase there_more_posts_to_display} <a href="{xen:link posts, $firstUnshownPost}#post-{$firstUnshownPost.post_id}">{xen:phrase view_them}</a></li>
</xen:if>

<xen:foreach loop="$posts" value="$post">
	<xen:include template="post" />
</xen:foreach>]]></template>
  <template title="thread_reply_preview" version_id="1000015" version_string="1.0.0 Alpha 5"><![CDATA[<div class="section">
	<h3 class="subHeading">{xen:phrase preview}</h3>
	<div class="messageText primaryContent baseHtml">{xen:raw $messageParsed}</div>
</div>]]></template>
  <template title="thread_save_draft" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:if is="{$newPostCount}">
	<li class="newMessagesNotice messagesSinceReplyingNotice">{xen:phrase messages_have_been_posted_since_you_loaded_this_page} <a href="javascript:" data-href="{xen:link threads/show-new-posts, $thread, 'last_date={$lastDate}'}" class="NewMessageLoader">{xen:phrase view_them}</a></li>
</xen:if>]]></template>
  <template title="thread_view" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:title>{xen:helper threadPrefix, $thread, escaped}{$thread.title}{xen:helper pagenumber, $page}</xen:title>
<xen:h1>{xen:helper threadPrefix, $thread}{$thread.title}</xen:h1>

<xen:description>
	{xen:phrase discussion_in_x_started_by_y_date_z,
		'forum=<a href="{xen:link forums, $forum}">{$forum.title}</a>',
		'name={xen:helper username, $thread}',
		'date=<a href="{xen:link threads, $thread}">{xen:datetime $thread.post_date, html}</a>'}
</xen:description>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
</xen:navigation>

<xen:container var="$head.canonical">
	<link rel="canonical" href="{xen:link 'canonical:threads', $thread, 'page={$page}'}" /></xen:container>
<xen:container var="$head.description">
	<meta name="description" content="{xen:helper snippet, $firstPost.message, 155}" /></xen:container>
<xen:container var="$head.openGraph"><xen:include template="open_graph_meta">
		<xen:set var="$url">{xen:link 'canonical:threads', $thread}</xen:set>
		<xen:set var="$title">{xen:helper threadPrefix, $thread, escaped}{$thread.title}</xen:set>
		<xen:set var="$description">{xen:helper snippet, $firstPost.message, 155}</xen:set>
		<xen:set var="$avatar">{xen:helper avatar, $thread, m, 0, 1}</xen:set>
	</xen:include></xen:container>
<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}{xen:if {$xenOptions.selectQuotable}, ' SelectQuotable'}</xen:container>
<xen:container var="$searchBar.thread"><xen:include template="search_bar_thread_only" /></xen:container>
<xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container>

<xen:if is="{$canReply}">
	<xen:comment><xen:topctrl>
		<a href="{xen:link 'threads/reply', $thread}" class="callToAction"><span>{xen:phrase reply_to_thread}</span></a>
	</xen:topctrl></xen:comment>
</xen:if>

<xen:require css="thread_view.css" />

<xen:edithint template="message" />

<xen:if is="{$poll}">
	<xen:include template="poll_block">
		<xen:set var="$options">
			<xen:if is="{$poll.canVote} AND !{$poll.hasVoted}">
				<xen:include template="poll_block_vote" />
			<xen:else />
				<xen:include template="poll_block_result" />
			</xen:if>
		</xen:set>
	</xen:include>
</xen:if>

<xen:if is="{$showPostedNotice}">
	<div class="importantMessage">{xen:phrase message_submitted_displayed_pending_approval}</div>
</xen:if>

<xen:set var="$threadStatusHtml">
	<xen:if hascontent="true">
		<dl class="threadAlerts secondaryContent">
			<dt>{xen:phrase thread_status}:</dt>
			<xen:contentcheck>
				<xen:if is="{$thread.discussion_state} == 'deleted'">
					<dd class="deletedAlert">
						<span class="icon Tooltip" title="{xen:phrase deleted}" data-tipclass="iconTip"></span>
							{xen:phrase removed_from_public_view}</dd>
				<xen:elseif is="{$thread.discussion_state} == 'moderated'" />
					<dd class="moderatedAlert">
						<span class="icon Tooltip" title="{xen:phrase awaiting_moderation}" data-tipclass="iconTip"></span>
							{xen:phrase awaiting_moderation_before_being_displayed_publicly}</dd>
				</xen:if>
	
				<xen:if is="!{$thread.discussion_open}">
					<dd class="lockedAlert">
						<span class="icon Tooltip" title="{xen:phrase locked}" data-tipclass="iconTip"></span>
							{xen:phrase not_open_for_further_replies}</dd>
				</xen:if>
			</xen:contentcheck>
		</dl>
	</xen:if>
</xen:set>
{xen:raw $threadStatusHtml}

<xen:hook name="thread_view_pagenav_before" params="{xen:array 'thread={$thread}'}" />

<div class="pageNavLinkGroup">
	<div class="linkGroup SelectionCountContainer">
		<xen:if hascontent="true">
			<div class="Popup">
				<a rel="Menu">{xen:phrase thread_tools}</a>
				<div class="Menu">
				<xen:contentcheck>
					<xen:if hascontent="true">
					<div class="primaryContent menuHeader"><h3>{xen:phrase thread_tools}</h3></div>
					<ul class="secondaryContent blockLinksList">
						<xen:contentcheck>
							<xen:if is="{$canEditThread}">
								<li><a href="{xen:link 'threads/edit', $thread}" class="OverlayTrigger">{xen:phrase edit_thread}</a></li>
							<xen:elseif is="{$canEditTitle}" />
								<li><a href="{xen:link threads/edit-title, $thread}" class="OverlayTrigger">{xen:phrase edit_title}</a></li>
							</xen:if>
							<xen:if is="{$canAddPoll}">
								<li><a href="{xen:link 'threads/poll/add', $thread}">{xen:phrase add_poll}</a></li>
							</xen:if>
							<xen:if is="{$canDeleteThread}">
								<li><a href="{xen:link 'threads/delete', $thread}" class="OverlayTrigger">{xen:phrase delete_thread}</a></li>
							</xen:if>
							<xen:if is="{$canMoveThread}">
								<li><a href="{xen:link 'threads/move', $thread}" class="OverlayTrigger">{xen:phrase move_thread}</a></li>
							</xen:if>
							<xen:if is="{$canReplyBan}">
								<li><a href="{xen:link 'threads/reply-bans', $thread}" class="OverlayTrigger">{xen:phrase manage_reply_bans}</a></li>
							</xen:if>
							<xen:if is="{$canViewModeratorLog}">
								<li><a href="{xen:link 'threads/moderator-actions', $thread}" class="OverlayTrigger">{xen:phrase moderator_actions}</a></li>
							</xen:if>
							<xen:if is="{$deletedPosts}">
								<li><a href="{xen:link threads/show-posts, $thread, 'page={$page}'}" class="MessageLoader" data-messageSelector="#messageList .message.deleted.placeholder">{xen:phrase show_deleted_posts}</a></li>
							</xen:if>
							<xen:hook name="thread_view_tools_links" params="{xen:array 'thread={$thread}'}" />
						</xen:contentcheck>
					</ul>
					</xen:if>
					<xen:if hascontent="true">
					<form action="{xen:link threads/quick-update, $thread}" method="post" class="AutoValidator">
						<ul class="secondaryContent blockLinksList checkboxColumns">
						<xen:contentcheck>
							<xen:if is="{$canLockUnlockThread}">
							<li><label><input type="checkbox" name="discussion_open" value="1" class="SubmitOnChange" {xen:checked $thread.discussion_open} />
								{xen:phrase open_thread}</label>
								<input type="hidden" name="set[discussion_open]" value="1" /></li></xen:if>
							<xen:if is="{$canStickUnstickThread}"> 
							<li><label><input type="checkbox" name="sticky" value="1" class="SubmitOnChange" {xen:checked $thread.sticky} />
								{xen:phrase sticky}</label>
								<input type="hidden" name="set[sticky]" value="1" /></li></xen:if>
						</xen:contentcheck>
						</ul>
						<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
					</form>
					</xen:if>
					<xen:if is="{$thread.canInlineMod}">
					<form action="{xen:link inline-mod/thread/switch}" method="post" class="InlineModForm sectionFooter" id="threadViewThreadCheck"
						data-cookieName="threads">
						<label><input type="checkbox" name="threads[]" value="{$thread.thread_id}" class="InlineModCheck" /> {xen:phrase select_for_thread_moderation}</label>
						<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
					</form>
					</xen:if>
				</xen:contentcheck>
				</div>
			</div>
		</xen:if>
		<xen:if is="{$canWatchThread}">
			<a href="{xen:link 'threads/watch-confirm', $thread}" class="OverlayTrigger" data-cacheOverlay="false">{xen:if $thread.thread_is_watched, '{xen:phrase unwatch_thread}', '{xen:phrase watch_thread}'}</a>
		</xen:if>
	</div>

	<xen:pagenav link="threads" linkdata="{$thread}"
		page="{$page}" perpage="{$postsPerPage}" total="{$totalPosts}"
		unreadlink="{$unreadLink}" />
</div>

<xen:include template="ad_thread_view_above_messages" />

<xen:hook name="thread_view_form_before" params="{xen:array 'thread={$thread}'}" />

<form action="{xen:link 'inline-mod/post/switch'}" method="post"
	class="InlineModForm section"
	data-cookieName="posts"
	data-controls="#InlineModControls"
	data-imodOptions="#ModerationSelect option">

	<ol class="messageList" id="messageList">
		<xen:foreach loop="$posts" value="$post">
			<xen:if is="{$post.message_state} == 'deleted'">
				<xen:include template="post_deleted_placeholder" />
			<xen:else />
				<xen:include template="post" />
			</xen:if>
		</xen:foreach>
		<xen:edithint template="attached_files" />
	</ol>

	<xen:if is="{$inlineModOptions}">
		<div class="sectionFooter InlineMod Hide">
			<label for="ModerationSelect">{xen:phrase perform_action_with_selected_posts}...</label>

			<xen:include template="inline_mod_controls_post" />
		</div>
	</xen:if>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />

</form>

<xen:if hascontent="true">
	<div class="pageNavLinkGroup">
		<xen:contentcheck>
			<xen:if is="{$canQuickReply}">
				<xen:if is="{$postsRemaining}">
					<div class="linkGroup">
						<xen:if is="{$postsRemaining} == 1">
							<a href="{xen:link threads, $thread, 'page={xen:calc "{$page} + 1"}'}" class="postsRemaining">{xen:phrase 1_more_message}...</a>
						<xen:else />
							<a href="{xen:link threads, $thread, 'page={xen:calc "{$page} + 1"}'}" class="postsRemaining">{xen:phrase x_more_messages, 'count={xen:number $postsRemaining}'}...</a>
						</xen:if>
					</div>
				</xen:if>
			<xen:else />
				<div class="linkGroup">
					<xen:if is="{$canReply}">
						<a href="{xen:link 'threads/reply', $thread}" class="callToAction"><span>{xen:phrase reply_to_thread}</span></a>
					<xen:elseif is="{$visitor.user_id}" />
						<span class="element">({xen:phrase no_permission_to_reply})</span>
					<xen:else />
						<label for="LoginControl"><a href="{xen:link login}" class="concealed element">({xen:phrase log_in_or_sign_up_to_reply})</a></label>
					</xen:if>
				</div>
			</xen:if>
			<div class="linkGroup"{xen:if '!{$ignoredNames}', ' style="display: none"'}><a href="javascript:" class="muted JsOnly DisplayIgnoredContent Tooltip" title="{xen:phrase show_hidden_content_by_x, "names={xen:helper implode, $ignoredNames, ', '}"}">{xen:phrase show_ignored_content}</a></div>

			<xen:pagenav link="threads" linkdata="{$thread}"
				page="{$page}" perpage="{$postsPerPage}" total="{$totalPosts}"
				unreadlink="{$unreadLink}"
			/>
		</xen:contentcheck>
	</div>
</xen:if>

<xen:include template="ad_thread_view_below_messages" />

<xen:hook name="thread_view_qr_before" params="{xen:array 'thread={$thread}'}" />

<xen:if is="{$canQuickReply}">
	<xen:include template="quick_reply">
		<xen:set var="$formAction">{xen:link 'threads/add-reply', $thread}</xen:set>
		<xen:set var="$lastDate">{$lastPost.post_date}</xen:set>
		<xen:set var="$lastKnownDate">{$thread.last_post_date}</xen:set>
		<xen:set var="$showMoreOptions">1</xen:set>
		<xen:set var="$multiQuoteAction">{xen:link 'threads/multi-quote', $thread, 'formId=#QuickReply'}</xen:set>
	</xen:include>
</xen:if>

<xen:hook name="thread_view_qr_after" params="{xen:array 'thread={$thread}'}" />

{xen:raw $threadStatusHtml}

<xen:include template="share_page">
	<xen:set var="$url">{xen:link 'canonical:threads', $thread}</xen:set>
</xen:include>]]></template>
  <template title="thread_view.css" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[.thread_view .threadAlerts
{
	border: 1px solid {xen:property primaryLighterStill};
	border-radius: 5px;
	font-size: 11px;
	margin: 10px 0;
	padding: 5px;
	line-height: 16px;
	background-image: url('{xen:property imagePath}/xenforo/gradients/form-button-white-25px.png');
}
	
	.thread_view .threadAlerts dt
	{
		color: {xen:property primaryLight};
		display: inline;
	}
	
	.thread_view .threadAlerts dd
	{
		color: {xen:property primaryDark};
		font-weight: bold;
		display: inline;
	}
	
		.thread_view .threadAlerts .icon
		{
			float: right;
			width: 16px;
			height: 16px;
			margin-left: 5px;
			background: url('{xen:property imagePath}/xenforo/xenforo-ui-sprite.png') no-repeat -1000px -1000px;
		}
		
			.thread_view .threadAlerts .deletedAlert .icon { background-position: -64px -32px; }
			.thread_view .threadAlerts .moderatedAlert .icon { background-position: -32px -16px; }
			.thread_view .threadAlerts .lockedAlert .icon { background-position: -16px -16px; }
	
.thread_view .threadAlerts + * > .messageList
{
	border-top: none;
}

.thread_view .threadNotices
{
	background-color: {xen:property primaryLightest};
	border: 1px solid {xen:property primaryLighter};
	border-radius: 5px;
	padding: 10px;
	margin: 10px auto;
}

.thread_view .InlineMod
{
	overflow: hidden; zoom: 1;
}]]></template>
  <template title="thread_watch" version_id="1030170" version_string="1.3.1"><![CDATA[<xen:if is="{$threadWatch}">
	<xen:title>{xen:phrase unwatch_thread} - {xen:helper threadPrefix, $thread, escaped}{$thread.title}</xen:title>
	<xen:h1>{xen:phrase unwatch_thread} - {xen:helper threadPrefix, $thread}{$thread.title}</xen:h1>
<xen:else />
	<xen:title>{xen:phrase watch_thread} - {xen:helper threadPrefix, $thread, escaped}{$thread.title}</xen:title>
	<xen:h1>{xen:phrase watch_thread} - {xen:helper threadPrefix, $thread}{$thread.title}</xen:h1>
</xen:if>

<xen:navigation>
	<xen:breadcrumb source="$nodeBreadCrumbs" />
	<xen:breadcrumb href="{xen:link full:threads, $thread}">{xen:helper threadPrefix, $thread}{$thread.title}</xen:breadcrumb>
</xen:navigation>

<xen:container var="$bodyClasses">{xen:helper nodeClasses, $nodeBreadCrumbs, $forum}</xen:container>
<xen:container var="$searchBar.thread"><xen:include template="search_bar_thread_only" /></xen:container>
<xen:container var="$searchBar.forum"><xen:include template="search_bar_forum_only" /></xen:container>

<form action="{xen:link 'threads/watch', $thread}" method="post" class="xenForm formOverlay AutoValidator">

	<xen:if is="{$threadWatch}">
		<p>{xen:phrase you_are_watching_this_thread_use_button_to_stop}</p>
		<dl class="ctrlUnit submitUnit">
			<dt></dt>
			<dd>
				<input type="hidden" name="stop" value="stop" />
				<input type="submit" value="{xen:phrase unwatch_thread}" class="button primary" />
			</dd>
		</dl>
	<xen:else />
		<dl class="ctrlUnit">
			<dt><label>{xen:phrase watch_this_thread_sentence}...</label></dt>
			<dd>
				<ul>
					<li>
						<label for="ctrl_email_subscribe_1">
							<input type="radio" name="email_subscribe" value="1" id="ctrl_email_subscribe_1" />
							{xen:phrase and_receive_email_notifications}
						</label>
					</li>
					<li>
						<label for="ctrl_email_subscribe_0">
							<input type="radio" name="email_subscribe" value="0" id="ctrl_email_subscribe_0" checked="checked" autofocus="true" />
							 {xen:phrase without_receiving_email_notifications}
						</label>
					</li>
				</ul>
			</dd>
		</dl>
		<dl class="ctrlUnit submitUnit">
			<dt></dt>
			<dd>
				<input type="submit" value="{xen:phrase watch_thread_button}" class="button primary" />
			</dd>
		</dl>
	</xen:if>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="title_prefix_edit" version_id="1010035" version_string="1.1.0 Beta 5"><![CDATA[<xen:if is="{$prefixes} OR {$forcePrefixes}">

	<xen:require js="js/xenforo/title_prefix.js" />
	<xen:require css="title_prefix_edit.css" />
	
	<dl class="ctrlUnit" id="PrefixContainer_{$idSuffix}">
		<dt><label for="ctrl_prefix_id_{$idSuffix}">{xen:phrase prefix}:</label></dt>
		<dd>
			<select name="prefix_id" id="ctrl_prefix_id_{$idSuffix}" class="textCtrl TitlePrefix"
				data-container="#PrefixContainer_{$idSuffix}"
				data-textbox="#ctrl_title_{$idSuffix}"
				{xen:if $nodeControl, 'data-nodecontrol="{$nodeControl}" data-prefixurl="{xen:link forums/-/prefixes}"'}>
				<xen:include template="title_prefix_edit_options" />
			</select>
		</dd>
	</dl>
	
</xen:if>]]></template>
  <template title="title_prefix_edit.css" version_id="1010032" version_string="1.1.0 Beta 2"><![CDATA[.textCtrl .prefix,
.textCtrl .Popup
{
	float: left;
	margin-right: 3px;
}

	.textCtrl .prefix .Remove
	{
		cursor: pointer;
		margin-left: 5px;
		font-weight: bold;
		opacity: 0.35;
	}
	
		.textCtrl .prefix .Remove:hover
		{
			opacity: 1;
			text-decoration: none;
		}
		
.PrefixPopup a[rel]
{
}

.PrefixMenu
{
	z-index: 15000;
	padding: 0;
	max-height: 300px;
	overflow: auto;
	padding: 2px;
}

	.PrefixMenu .PrefixOption a
	{
		display: block;
		padding: 5px 10px;
		font-size: 100% !important;
		margin: 0 2px 3px;
	}
	
		.PrefixMenu .PrefixOption a:hover
		{
			text-decoration: none;
		}

	.PrefixMenu .PrefixGroup
	{
		border-bottom: 1px solid {xen:property primaryLighterStill};
		padding-bottom: 3px;
	}

		.PrefixMenu .PrefixGroup h3
		{
			color: {xen:property primaryLight};
			font-weight: bold;
			background: url('{xen:property imagePath}/xenforo/gradients/form-button-white-25px.png') repeat-x top;
			padding: 4px 5px;
		}
			
		.PrefixMenu .PrefixGroup .PrefixOption a
		{
			margin-left: 12px;
		}
		
	.PrefixMenu .PrefixGroup  + .PrefixOption
	{
		margin-top: 5px;
	}
	
	.PrefixMenu .PrefixGroup.selected,
	.PrefixMenu .PrefixOption.selected
	{
		display: none;
	}
		
.textCtrl .Popup .PopupControl.prefix.noPrefix
{
	background: {xen:helper rgba, {xen:property primaryLightest}, 0.2};
}

.prefix.noPrefix
{
	color: {xen:property mutedTextColor};
	font-style: italic;
}]]></template>
  <template title="title_prefix_edit_options" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<option value="0" data-css="prefix noPrefix" {xen:selected '{$selectedPrefix} == 0'}>({xen:phrase no_prefix})</option>
<xen:foreach loop="$prefixes" value="$prefixGroup">
	<xen:if is="{$prefixGroup.title}">
		<optgroup label="{$prefixGroup.title}">
		<xen:foreach loop="$prefixGroup.prefixes" value="$prefix">
			<option value="{$prefix.prefix_id}" data-css="{$prefix.css_class}" {xen:selected '{$selectedPrefix} == {$prefix.prefix_id}'}>{xen:helper threadPrefix, $prefix.prefix_id, escaped, ''}</option>
		</xen:foreach>
		</optgroup>
	<xen:else />
		<xen:foreach loop="$prefixGroup.prefixes" value="$prefix">
			<option value="{$prefix.prefix_id}" data-css="{$prefix.css_class}" {xen:selected '{$selectedPrefix} == {$prefix.prefix_id}'}>{xen:helper threadPrefix, $prefix.prefix_id, escaped, ''}</option>
		</xen:foreach>
	</xen:if>
</xen:foreach>]]></template>
  <template title="translate.css" version_id="0" version_string=""><![CDATA[.languageStats
{
	overflow: hidden; zoom: 1;
}

	.languageStats p,
	.languageStats .pairsColumns dt,
	.languageStats .pairsColumns dd
	{
		margin-bottom: 5px;
	}
	
		p.percentageStats
		{
			font-size: 11pt;
			margin-bottom: 10px;
		}
	
		.percentageStats .percentage
		{
			color: red;
			font-weight: bold;
		}
	
	.submissionStats
	{
		margin-right: 260px;
	}
	
	.visitorStats
	{
		overflow: hidden; zoom: 1;
	}
			
		.visitorStats .avatar
		{
			float: right;
		}
		
	.buttons
	{
		text-align: right;
	}
	
.topContributors
{
	width: 250px;
	float: right;
}

	.topContributors .user
	{
		overflow: hidden; zoom: 1;
		margin-bottom: 5px;
	}
	
	.topContributors .user .pairsInline
	{
		font-size: 11px;
	}
	
		.topContributors .avatar img
		{
			width: 24px;
			float: left;
			margin-right: 5px;
		}]]></template>
  <template title="trophy" version_id="1000031" version_string="1.0.0 Beta 1"><![CDATA[<xen:require css="trophy.css" />

<div class="trophy" id="trophy-{$trophy.trophy_id}">
	<div class="points">{$trophy.trophy_points}</div>
	<xen:if is="{$trophy.award_date}">
		<div class="awarded">{xen:phrase awarded}: <xen:datetime time="$trophy.award_date" /></div>
	</xen:if>
	<div class="info">
		<h3 class="title">{$trophy.title}</h3>
		<p class="description">{xen:raw $trophy.description}</p>
	</div>
</div>]]></template>
  <template title="trophy.css" version_id="1000035" version_string="1.0.0 Beta 5"><![CDATA[.trophy
{
	overflow: hidden; zoom: 1;
}

	.trophy .points
	{
		float: left;
		width: 65px;
		text-align: center;
		font-size: 18pt;
		font-weight: bold;
	}
	
	.trophy .awarded
	{
		float: right;
		font-size: 11px;
		color: {xen:property mutedTextColor};
	}

	.trophy .info
	{
		margin-left: 70px;
	}
	
	.trophy .info .title
	{
		font-size: 11pt;
		font-weight: bold;
	}
	
	.trophy .info .description
	{
		font-size: 11px;
		color: {xen:property mutedTextColor};
	}]]></template>
  <template title="twitter.css" version_id="1030052" version_string="1.3.0 Release Candidate 2"><![CDATA[a.twitterLogin,
#loginBar a.twitterLogin
{
	display: inline-block;
	width: {xen:property eAuthButtonWidth};
	height: 22px;
	box-sizing: border-box;
	cursor: pointer;
	
	background-color: #eee;
	background-image: -webkit-linear-gradient(#fff, #dedede);
	background-image: linear-gradient(#fff, #dedede);
	border: #ccc solid 1px;
	border-radius: 3px;
	padding: 3px;
	
	color: #333 !important;
	font-weight: bold;
	font-size: 11px;
	line-height: 14px;
}

	a.twitterLogin span
	{
		display: block;
		background: url('{xen:property imagePath}/xenforo/twitter-bird.png') no-repeat;
		background-position: left 0;
		padding-left: 22px;
		text-shadow: 0 1px 0 rgba(255,255,255,.5);
		white-space: nowrap;
		overflow: hidden;
	}
	
a.twitterLogin:hover,
#loginBar a.twitterLogin:hover,
a.twitterLogin:active,
#loginBar a.twitterLogin:active
{
	border-color: #d9d9d9;
	background-image: -webkit-linear-gradient(#f8f8f8, #d9d9d9);
	background-image: linear-gradient(#f8f8f8, #d9d9d9);
	text-decoration: none;
}]]></template>
  <template title="username_styles.css" version_id="1020170" version_string="1.2.1"><![CDATA[/* User name classes */
<xen:if is="{$displayStyles}"><xen:foreach loop="{$displayStyles}" key="{$displayStyleId}" value="{$displayStyle}"><xen:if is="{$displayStyle.username_css}">
.username .style{$displayStyleId}
{
	{xen:raw $displayStyle.username_css}
}
</xen:if></xen:foreach></xen:if>

.username .banned
{
	text-decoration: line-through;
}]]></template>
  <template title="user_banners.css" version_id="1020032" version_string="1.2.0 Beta 2"><![CDATA[.userBanner
{
	font-size: 11px;
	background: transparent url('{xen:property imagePath}/xenforo/gradients/form-button-white-25px.png') repeat-x top;
	padding: 1px 5px;
	border: 1px solid transparent;
	border-radius: 3px;
	box-shadow: 1px 1px 3px rgba(0,0,0, 0.25);
	text-align: center;
}

	.userBanner.wrapped
	{
		border-top-right-radius: 0;
		border-top-left-radius: 0;
		position: relative;
	}
		
		.userBanner.wrapped span
		{
			position: absolute;
			top: -4px;
			width: 5px;
			height: 4px;
			background-color: inherit;
		}
		
		.userBanner.wrapped span.before
		{
			border-top-left-radius: 3px;
			left: -1px;
		}
		
		.userBanner.wrapped span.after
		{
			border-top-right-radius: 3px;
			right: -1px;
		}
		
.userBanner.bannerHidden { background: none; box-shadow: none; border: none; }
.userBanner.bannerHidden.wrapped { margin-left: 0; margin-right: 0; }
.userBanner.bannerHidden.wrapped span { display: none; }

.userBanner.bannerStaff { color: {xen:property primaryMedium}; background-color: {xen:property primaryLighterStill}; border-color: {xen:property primaryLighter}; }
.userBanner.bannerStaff.wrapped span { background-color: {xen:property primaryLighter}; }

.userBanner.bannerPrimary { color: {xen:property primaryMedium}; background-color: {xen:property primaryLighterStill}; border-color: {xen:property primaryLighter}; }
.userBanner.bannerPrimary.wrapped span { background-color: {xen:property primaryLighter}; }

.userBanner.bannerSecondary { color: {xen:property secondaryDark}; background-color: {xen:property secondaryLighter}; border-color: {xen:property secondaryLighter}; }
.userBanner.bannerSecondary.wrapped span { background-color: {xen:property secondaryLighter}; }

.userBanner.bannerRed        { color: white; background-color: red; border-color: #F88; }
.userBanner.bannerRed.wrapped span { background-color: #F88; }

.userBanner.bannerGreen      { color: white; background-color: green; border-color: green; }
.userBanner.bannerGreen.wrapped span { background-color: green; }

.userBanner.bannerOlive      { color: black; background-color: olive; border-color: olive; }
.userBanner.bannerOlive.wrapped span { background-color: olive; }

.userBanner.bannerLightGreen { color: black; background-color: lightgreen; border-color: lightgreen; }
.userBanner.bannerLightGreen.wrapped span { background-color: lightgreen; }

.userBanner.bannerBlue       { color: white; background-color: blue; border-color: #88F; }
.userBanner.bannerBlue.wrapped span { background-color: #88F; }

.userBanner.bannerRoyalBlue  { color: white; background-color: royalblue; border-color: #81A9E1;  }
.userBanner.bannerRoyalBlue.wrapped span { background-color: #81A9E1; }

.userBanner.bannerSkyBlue    { color: black; background-color: skyblue; border-color: skyblue; }
.userBanner.bannerSkyBlue.wrapped span { background-color: skyblue; }

.userBanner.bannerGray       { color: black; background-color: gray; border-color: #AAA; }
.userBanner.bannerGray.wrapped span { background-color: #AAA; }

.userBanner.bannerSilver     { color: black; background-color: silver; border-color: silver; }
.userBanner.bannerSilver.wrapped span { background-color: silver; }

.userBanner.bannerYellow     { color: black; background-color: yellow; border-color: #E0E000; }
.userBanner.bannerYellow.wrapped span { background-color: #E0E000; }

.userBanner.bannerOrange     { color: black; background-color: orange; border-color: #FFC520; }
.userBanner.bannerOrange.wrapped span { background-color: #FFC520; }]]></template>
  <template title="warning_info" version_id="1040052" version_string="1.4.0 Release Candidate 2"><![CDATA[<xen:title>{xen:phrase warning_for_x, 'name={$user.username}'}</xen:title>

<xen:navigation>
	<xen:breadcrumb href="{xen:link members, $user}">{$user.username}</xen:breadcrumb>
</xen:navigation>

<div class="xenForm formOverlay overlayScroll">
	<dl class="ctrlUnit">
		<dt>{xen:phrase content}:</dt>
		<dd>
			<xen:if is="{$canViewContent}">
				<xen:if is="{$contentUrl}">
					<a href="{$contentUrl}">{$warning.content_title}</a>
				<xen:else />
					{$warning.content_title}
				</xen:if>
			<xen:else />
				{xen:phrase n_a}
			</xen:if>
		</dd>
	</dl>
	
	<dl class="ctrlUnit">
		<dt>{xen:phrase given_by}:</dt>
		<dd>{$warning.warn_username}, <xen:datetime time="{$warning.warning_date}" /></dd>
	</dl>
	
	<dl class="ctrlUnit">
		<dt>{xen:phrase details_of_warning}:</dt>
		<dd>{$warning.title}
			<xen:if is="{$warning.notes}"><div class="muted">{xen:helper bodytext, $warning.notes}</div></xen:if>
		</dd>
	</dl>
	
	<dl class="ctrlUnit">
		<dt>{xen:phrase warning_points}:</dt>
		<dd>
			{xen:number $warning.points}
			<xen:if is="{$warning.is_expired}"><span class="muted">({xen:phrase expired})</span>
			<xen:elseif is="{$warning.expiry_date} > 0" /><span class="muted">({xen:phrase expires_x, 'date={xen:date $warning.expiry_date}'})</span>
			</xen:if>
		</dd>
	</dl>

	<xen:if is="{$canDeleteWarning} AND {$canExpireWarning}">
		<ul class="tabs Tabs" data-panes="#WarningActionTabs_{$warning.warning_id} > form">
			<li><a href="javascript:">{xen:phrase delete_warning}</a></li>
			<li><a href="javascript:">{xen:phrase update_warning}</a></li>
		</ul>
	</xen:if>

	<div id="WarningActionTabs_{$warning.warning_id}">
		<xen:if is="{$canDeleteWarning}">
			<form action="{xen:link warnings/delete, $warning}" method="post">
				<dl class="ctrlUnit submitUnit" style="border-top: none">
					<dt></dt>
					<dd>
						<ul>
							<li><label><input type="checkbox" name="_xfConfirm" value="1" /> {xen:phrase confirm_deletion}</label></li>
							<li>
								<input type="submit" value="{xen:phrase delete_warning}" class="button primary" />
								<input type="reset" value="{xen:phrase cancel}" class="button OverlayCloser overlayOnly" />
							</li>
						</ul>
					</dd>
				</dl>

				<input type="hidden" name="redirect" value="{$redirect}" />
				<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
			</form>
		</xen:if>

		<xen:if is="{$canExpireWarning}">
			<form action="{xen:link warnings/expire, $warning}" method="post">
				<dl class="ctrlUnit">
					<dt></dt>
					<dd><ul>
						<li><label><input type="radio" name="expire" value="now" checked="checked" /> {xen:phrase expire_now}</label></li>
						<li><label><input type="radio" name="expire" value="future" id="ExpireWarningFuture_{$warning.warning_id}" class="Disabler" /> {xen:phrase expire_in_time}:</label>
							<ul id="ExpireWarningFuture_{$warning.warning_id}_Disabler">
								<li>
									<input type="text" size="5" name="expiry_length" value="1" class="textCtrl autoSize" />
									<select name="expiry_unit" class="textCtrl autoSize">
										<option value="hours">{xen:phrase hours}</option>
										<option value="days" selected="selected">{xen:phrase days}</option>
										<option value="weeks">{xen:phrase weeks}</option>
										<option value="months">{xen:phrase months}</option>
									</select>
								</li>
							</ul>
						</li>
					</ul></dd>
				</dl>
				<dl class="ctrlUnit submitUnit">
					<dt></dt>
					<dd>
						<input type="submit" value="{xen:phrase update_warning}" class="button primary" />
					</dd>
				</dl>

				<input type="hidden" name="_xfConfirm" value="1" />
				<input type="hidden" name="redirect" value="{$redirect}" />
				<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
			</form>
		</xen:if>
	</div>
</div>]]></template>
  <template title="watch_forums" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:title>{xen:phrase watched_forums}</xen:title>

<form action="{xen:link 'watched/forums/update'}" method="post" class="sectionMain">

	<h3 class="subHeading">&nbsp;</h3>	
	<xen:if is="{$forums}">	
		<ol class="nodeList">
		<xen:foreach loop="$forums" value="$forum">
			<xen:set var="$forumWatch" value="{$forumsWatched.{$forum.node_id}}" />
			<xen:include template="node_forum_level_2">
				<xen:set var="$level" value="2" />
				<xen:set var="$renderedChildren" value="{$subForums.{$forum.node_id}}" />
				<xen:set var="$watchCheckBoxName" value="node_ids[]" />
				<xen:set var="$nodeExtraHtml">
					<xen:if is="{$forumWatch.notify_on}">
						<div class="nodeExtraNote"><xen:if is="{$forumWatch.notify_on} == 'thread'">{xen:phrase new_threads}<xen:else />{xen:phrase new_messages}</xen:if><xen:if is="{$forumWatch.send_alert}">, {xen:phrase alerts}</xen:if><xen:if is="{$forumWatch.send_email}">, {xen:phrase emails}</xen:if></div>
					</xen:if>
				</xen:set>
			</xen:include>
		</xen:foreach>
		</ol>
	<xen:else />
		<div class="primaryContent">
			{xen:phrase you_not_watching_any_forums}
		</div>
	</xen:if>
	
	<div class="sectionFooter">
		<select name="do" class="textCtrl">
			<option>{xen:phrase with_selected}...</option>
			<option value="email">{xen:phrase enable_email_notification}</option>
			<option value="no_email">{xen:phrase disable_email_notification}</option>
			<option value="alert">{xen:phrase enable_alerts}</option>
			<option value="no_alert">{xen:phrase disable_alerts}</option>
			<option value="stop">{xen:phrase stop_watching_forums}</option>
		</select>
		<input type="submit" value="{xen:phrase go}" class="button" class="button" />
	</div>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>]]></template>
  <template title="watch_threads" version_id="1000051" version_string="1.0.0 Release Candidate 1"><![CDATA[<xen:title>{xen:phrase unread_watched_threads}</xen:title>

<xen:description>{xen:phrase this_is_list_of_x_most_recently_updated_threads_unread_replies, 'count={$xenOptions.discussionsPerPage}'} <a href="{xen:link 'watched/threads/all'}">{xen:phrase there_may_be_more_to_view}</a></xen:description>

<xen:require css="discussion_list.css" />

<div class="discussionList sectionMain">
	<dl class="sectionHeaders">
		<dt class="posterAvatar"></dt>
		<dd class="main">
			<a class="title"><span>{xen:phrase title}</span></a>
			<a class="postDate"><span></span></a>
		</dd>
		<dd class="stats">
			<a class="major"><span>{xen:phrase replies}</span></a>
			<a class="minor"><span>{xen:phrase views}</span></a>
		</dd>
		<dd class="lastPost"><a><span>{xen:phrase last_message}</span></a></dd>
	</dl>

	<xen:if is="{$newThreads}">		
		<ol class="discussionListItems">
		<xen:foreach loop="$newThreads" value="$thread">
			<xen:include template="thread_list_item">
				<xen:set var="$showForumLink">1</xen:set>
				<xen:set var="$showLastPageNumbers">1</xen:set>
			</xen:include>
		</xen:foreach>
		</ol>
	<xen:else />
		<div class="primaryContent">{xen:phrase you_do_not_have_any_watched_threads_that_unread}</div>
	</xen:if>
	
	<div class="sectionFooter">
		<a href="{xen:link 'watched/threads/all'}">{xen:phrase show_all_watched_threads}</a>
	</div>

</div>

<xen:include template="preview_tooltip" />]]></template>
  <template title="watch_threads_all" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:title>{xen:phrase all_watched_threads}{xen:helper pagenumber, $page}</xen:title>
<xen:h1>{xen:phrase all_watched_threads}</xen:h1>

<xen:description>{xen:phrase this_is_list_of_all_threads_that_you_watching}</xen:description>

<xen:navigation>
	<xen:breadcrumb href="{xen:link full:watched/threads}">{xen:phrase unread_watched_threads}</xen:breadcrumb>
</xen:navigation>

<xen:require css="discussion_list.css" />

<div class="pageNavLinkGroup">
	<div class="linkGroup">
		<xen:if is="{$threads}">
			<div class="Popup">
				<a rel="Menu">{xen:phrase manage_watched_threads}</a>
				<div class="Menu">
					<div class="primaryContent menuHeader"><h3>{xen:phrase watched_threads}</h3></div>
					<ul class="secondaryContent blockLinksList">
						<li><a href="{xen:link watched/threads/all/manage, '', 'act=watch_no_email'}" class="OverlayTrigger">{xen:phrase disable_email_notification}</a></li>
						<li><a href="{xen:link watched/threads/all/manage, '', 'act='}" class="OverlayTrigger">{xen:phrase stop_watching_threads}</a></li>
					</ul>
				</div>
			</div>
		</xen:if>
	</div>
	<xen:pagenav link="watched/threads/all" page="{$page}" perpage="{$threadsPerPage}" total="{$totalThreads}" />
</div>

<form action="{xen:link 'watched/threads/update'}" method="post" class="discussionList sectionMain">
	
	<dl class="sectionHeaders">
		<dt class="posterAvatar"></dt>
		<dd class="main">
			<a class="title"><span>{xen:phrase title}</span></a>
			<a class="postDate"><span></span></a>
		</dd>
		<dd class="stats">
			<a class="major"><span>{xen:phrase replies}</span></a>
			<a class="minor"><span>{xen:phrase views}</span></a>
		</dd>
		<dd class="lastPost"><a><span>{xen:phrase last_message}</span></a></dd>
	</dl>

	<xen:if is="{$threads}">
		<ol class="discussionListItems">
		<xen:foreach loop="$threads" value="$thread">
			<xen:include template="thread_list_item">
				<xen:set var="$showSubscribeOptions">1</xen:set>
				<xen:set var="$showForumLink">1</xen:set>
				<xen:set var="$showLastPageNumbers">1</xen:set>
			</xen:include>
		</xen:foreach>
		</ol>
	<xen:else />
		<div class="primaryContent">
			<xen:if is="{$page} > 1">
				{xen:phrase there_no_threads_to_display}
			<xen:else />
				{xen:phrase you_not_watching_any_threads}
			</xen:if>
		</div>
	</xen:if>
	
	<div class="sectionFooter">
		<select name="do" class="textCtrl">
			<option>{xen:phrase with_selected}...</option>
			<option value="email">{xen:phrase enable_email_notification}</option>
			<option value="no_email">{xen:phrase disable_email_notification}</option>
			<option value="stop">{xen:phrase stop_watching_threads}</option>
		</select>
		<input type="submit" value="{xen:phrase go}" class="button" class="button" />
	</div>

	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>

<div class="pageNavLinkGroup">
	<div class="linkGroup"></div>
	<xen:pagenav link="watched/threads/all" page="{$page}" perpage="{$threadsPerPage}" total="{$totalThreads}" />
</div>

<xen:include template="preview_tooltip" />]]></template>
  <template title="watch_threads_all_manage" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[<xen:title>{xen:phrase manage_watched_threads}</xen:title>

<form action="{xen:link 'watched/threads/all/manage'}" method="post" class="xenForm formOverlay">

	<xen:if is="{$action} == 'watch_no_email'">
		<p>{xen:phrase you_sure_you_want_to_update_notification_settings_for_all_threads}</p>
	<xen:else />
		<p>{xen:phrase you_sure_you_want_to_stop_watching_all_threads}</p>
	</xen:if>
	
	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd>
			<input type="submit" value="{xen:phrase save_changes}" class="button primary" />
		</dd>
	</dl>

	<input type="hidden" name="act" value="{$action}" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	<input type="hidden" name="_xfConfirm" value="1" />
</form>]]></template>
  <template title="watch_threads_list_item" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[<xen:require css="discussion_list.css" />

<li id="thread-{$thread.thread_id}" class="discussionListItem {$thread.discussion_state} {xen:if {$thread.isNew}, 'unread'}" data-author="{$thread.username}">

	<div class="listBlock posterAvatar">
		<span class="avatarContainer">
			<xen:avatar user="$thread" size="s" img="true" />
			<xen:if is="{$thread.user_post_count}"><xen:avatar user="$visitor" size="s" img="true" class="miniMe" title="{xen:phrase you_have_posted_x_messages_in_this_thread, 'count={xen:number $thread.user_post_count}'}" /></xen:if>
		</span>
	</div>

	<div class="listBlock main">
		<div class="titleText">
			<h3 class="title">
				<xen:if is="{$showSubscribeOptions}">
					<input type="checkbox" name="thread_ids[]" value="{$thread.thread_id}" />
				</xen:if>
				{xen:helper threadPrefix, $thread}
				<xen:if is="{$thread.isNew}">
					<a href="{xen:link threads/unread, $thread}" title="{xen:phrase go_to_first_unread_message}">{xen:helper wrap, $thread.title, 50}</a>
				<xen:else />
					<a href="{xen:link threads, $thread}">{xen:helper wrap, $thread.title, 50}</a>
				</xen:if>
			</h3>
			<div class="secondRow">
				<div class="posterDate muted">
					<xen:username user="$thread" class="postDate" title="{xen:phrase thread_starter}" />,
					<a href="{xen:link threads, $thread}" title="{xen:phrase view_to_first_message_in_thread}" class="faint"><xen:datetime time="$thread.post_date" /></a>,
					<a href="{xen:link forums, $thread.forum}" class="forumLink">{$thread.forum.title}</a>
				</div>
				<xen:if is="{$showSubscribeOptions}">
					<div class="controls faint">
						<xen:if is="{$thread.email_subscribe}">{xen:phrase email}</xen:if>
					</div>
				</xen:if>
			</div>
		</div>
	</div>

	<div class="listBlock stats pairsJustified">
		<dl class="major"><dt>{xen:phrase replies}:</dt> <dd>{xen:number {$thread.reply_count}}</dd></dl>
		<dl class="minor"><dt>{xen:phrase views}:</dt> <dd>{xen:number {$thread.view_count}}</dd></dl>
	</div>

	<div class="listBlock lastPost">
		<dl class="lastPostInfo">
			<dt><xen:if is="{xen:helper isIgnored, $thread.last_post_user_id}">{xen:phrase ignored_member}<xen:else /><xen:username user="$thread.lastPostInfo" /></xen:if></dt>
			<dd class="muted"><a href="{xen:link posts, $thread.lastPostInfo}" class="dateTime"><xen:datetime time="$thread.lastPostInfo.post_date" title="{xen:phrase go_to_last_message}" /></a></dd>
		</dl>
	</div>

</li>]]></template>
  <template title="watch_via_email" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[<xen:title>{xen:phrase update_email_notification_settings}</xen:title>

<form action="{xen:link watched/via-email}" method="post" class="xenForm">
	<p>{$confirmPhrase}</p>
	
	<dl class="ctrlUnit submitUnit">
		<dt></dt>
		<dd><input type="submit" value="{xen:phrase update_settings}" class="button primary" /></dd>
	</dl>
	
	<input type="hidden" name="_xfConfirm" value="1" />
	<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
	<input type="hidden" name="u" value="{$user.user_id}" />
	<input type="hidden" name="c" value="{$confirmKey}" />
	<input type="hidden" name="a" value="{$action}" />
	<input type="hidden" name="t" value="{$type}" />
	<input type="hidden" name="id" value="{$id}" />
</form>]]></template>
  <template title="xenforo.css" version_id="1040370" version_string="1.4.3"><![CDATA[<xen:include template="xenforo_reset.css" />

/*
 * XenForo Core CSS
 *
 */

html
{
	{xen:property html}
	overflow-y: scroll !important;
}

body
{
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	text-size-adjust: 100%;

	{xen:property body}
}

/* counteract the word-wrap setting in 'body' */
pre, textarea
{
	word-wrap: normal;
}

[dir=auto] { rtl-raw.text-align: {xen:if $pageIsRtl, right, left}; }

a:link,
a:visited
{
	{xen:property link}
}

	a[href]:hover
	{
		{xen:property linkHover}
	}
	
	a:hover
	{
		_text-decoration: underline;
	}
	
	a.noOutline
	{
		outline: 0 none;
	}
	
	.emCtrl,
	.messageContent a
	{
		border-radius: 5px;
	}
	
		.emCtrl:hover,
		.emCtrl:focus,
		.ugc a:hover,
		.ugc a:focus
		{
			/*position: relative;
			top: -1px;*/
			text-decoration: none;
			box-shadow: 5px 5px 7px #CCCCCC;
			outline: 0 none;
		}
		
			.emCtrl:active,
			.ugc a:active
			{
				position: relative;
				top: 1px;
				box-shadow: 2px 2px 7px #CCCCCC;
				outline: 0 none;
			}

	.ugc a:link,
	.ugc a:visited
	{
		{xen:property ugcLink}
	}
	
		.ugc a:hover,
		.ugc a:focus
		{
			{xen:property ugcLinkHover}
		}
		
img.mceSmilie,
img.mceSmilieSprite
{
	vertical-align: text-bottom;
	margin: 0 1px;
}
		
/** title bar **/

.titleBar
{
	margin-bottom: 10px;
}

{xen:helper clearfix, '.titleBar'}

.titleBar h1
{
	{xen:property h1}
}

	.titleBar h1 em
	{
		color: {xen:property dimmedTextColor};
	}
		
	.titleBar h1 .Popup
	{
		float: left;
	}

#pageDescription
{
	{xen:property pageDescription}
}

.topCtrl
{
	float: right;
}
	
	.topCtrl h2
	{
		font-size: 12pt;
	}
		
/** images **/

img
{
	-ms-interpolation-mode: bicubic;
}

a.avatar 
{ 
	*cursor: pointer; /* IE7 refuses to do this */ 
} 

.avatar img,
.avatar .img,
.avatarCropper
{
	{xen:property avatar}
}

.avatar.plainImage img,
.avatar.plainImage .img
{
	border: none;
	border-radius: 0;
	padding: 0;
	background-position: left top;
}

	.avatar .img
	{
		display: block;
		background-repeat: no-repeat;
		background-position: 2px 2px;
		text-indent: 1000px;
		overflow: hidden;
		white-space: nowrap;
		word-wrap: normal;
	}

	.avatar .img.s { width: 48px;  height: 48px;  }
	.avatar .img.m { width: 96px;  height: 96px;  }
	.avatar .img.l { width: 192px; height: 192px; }

.avatarCropper
{
	width: 192px;
	height: 192px;
	direction: ltr;
}

.avatarCropper a,
.avatarCropper span,
.avatarCropper label
{
	overflow: hidden;
	position: relative;
	display: block;
	width: 192px;
	height: 192px;
}

.avatarCropper img
{
	padding: 0;
	border: none;
	border-radius: 0;

	position: relative;
	display: block;
}

.avatarScaler img
{
	max-width: 192px;
	_width: 192px;
}

/* ***************************** */

body .dimmed, body a.dimmed, body .dimmed a { color: {xen:property dimmedTextColor}; }
body .muted, body a.muted, body .muted a { color: {xen:property mutedTextColor}; }
body .faint, body a.faint, body .faint a { color: {xen:property faintTextColor}; }

.highlight { font-weight: bold; }

.concealed,
.concealed a,
.cloaked,
.cloaked a
{
	text-decoration: inherit !important;
	color: inherit !important;
	*clear:expression( style.color = parentNode.currentStyle.color, style.clear = "none", 0);
}

a.concealed:hover,
.concealed a:hover
{
	text-decoration: underline !important;
}

/* ***************************** */

.xenTooltip
{
	{xen:property tooltip}
}

.xenTooltip a,
.xenTooltip a:hover
{
	color: {xen:property tooltip.color};
	text-decoration: underline;
}

	.xenTooltip .arrow
	{
		{xen:property tooltipArrow}
		left: {xen:calc '{xen:property tooltipArrow.border-top-width} + 3'}px;
		
		/* Hide from IE6 */
		_display: none;
	}

	.xenTooltip.flipped .arrow
	{
		left: auto;
		right: {xen:calc '{xen:property tooltipArrow.border-top-width} + 3'}px;
	}

.xenTooltip.statusTip
{
	/* Generated by XenForo.StatusTooltip JavaScript */
	{xen:property statusTooltip}
}

	.xenTooltip.statusTip .arrow
	{
		{xen:property statusTooltipArrow}
	}
			
.xenTooltip.iconTip { margin-left: -6px; }
.xenTooltip.iconTip.flipped { margin-left: 7px; }

/* ***************************** */

#PreviewTooltip
{
	display: none;
}

.xenPreviewTooltip
{
	{xen:property previewTooltip}
	
	display: none;	
	z-index: 15000;
	cursor: default;
	
	border-color: {xen:helper rgba, {xen:property previewTooltip.border-color}, 0.5};
}

	.xenPreviewTooltip .arrow
	{
		{xen:property previewTooltipArrowOuter}
		
		_display: none;
	}
	
		.xenPreviewTooltip .arrow span
		{
			{xen:property previewTooltipArrowInner}
		}

	.xenPreviewTooltip .section,
	.xenPreviewTooltip .sectionMain,
	.xenPreviewTooltip .primaryContent,
	.xenPreviewTooltip .secondaryContent
	{
		margin: 0;
	}
	
		.xenPreviewTooltip .previewContent
		{
			overflow: hidden; zoom: 1;
			min-height: 1em;
		}

/* ***************************** */

.importantMessage
{
	margin: 10px 0;
	color: {xen:property secondaryDarker};
	background-color: {xen:property secondaryLightest};
	text-align: center;
	padding: 5px;
	border-radius: 5px;
	border: solid 1px {xen:property secondaryLight};
}

.importantMessage a
{
	font-weight: bold;
	color: {xen:property secondaryDarker};
}



/* ***************************** */

<xen:include template="xenforo_sections.css" />

<xen:include template="xenforo_columns.css" />

<xen:include template="xenforo_tabs.css" />

<xen:include template="xenforo_popup.css" />

<xen:include template="xenforo_overlay.css" />

<xen:include template="xenforo_alert.css" />

<xen:include template="xenforo_data_table.css" />

<xen:include template="xenforo_member_list_item.css" />

<xen:include template="xenforo_dismiss.css" />

<xen:include template="xenforo_basehtml.css" />

<xen:include template="page_nav.css" />

/* ***************************** */
/* DL Name-Value Pairs */

.pairs dt,
.pairsInline dt,
.pairsRows dt,
.pairsColumns dt,
.pairsJustified dt
{
	color: {xen:property mutedTextColor};
}

.pairsRows,
.pairsColumns,
.pairsJustified
{
	line-height: 1.5;
}

.pairsInline dl,
.pairsInline dt,
.pairsInline dd
{
	display: inline;
}

.pairsRows dt,
.pairsRows dd
{
	display: inline-block;
	vertical-align: top;

	*display: inline;
	*margin-right: 1ex;
	*zoom: 1;
}

dl.pairsColumns,
dl.pairsJustified,
.pairsColumns dl,
.pairsJustified dl
{
	overflow: hidden; zoom: 1;
}

.pairsColumns dt,
.pairsColumns dd
{
	float: left;
	width: 48%;
}

.pairsJustified dt
{
	float: left;
	max-width: 100%;
	margin-right: 5px;
}
.pairsJustified dd
{
	float: right;
	text-align: right;
	max-width: 100%
}


/* ***************************** */
/* Lists that put all elements on a single line */

.listInline ul,
.listInline ol,
.listInline li,
.listInline dl,
.listInline dt,
.listInline dd
{
	display: inline;
}

/* intended for use with .listInline, produces 'a, b, c, d' / 'a * b * c * d' lists */

.commaImplode li:after,
.commaElements > *:after
{
	content: ', ';
}

.commaImplode li:last-child:after,
.commaElements > *:last-child:after
{
	content: '';
}

.bulletImplode li:before
{
	content: '\2022\a0';
}

.bulletImplode li:first-child:before
{
	content: '';
}

/* Three column list display */

.threeColumnList
{
	overflow: hidden; zoom: 1;
}

.threeColumnList li
{
	float: left;
	width: 32%;
	margin: 2px 1% 2px 0;
}

/* ***************************** */
/* Preview tooltips (threads etc.) */

.previewTooltip
{
}
		
	.previewTooltip .avatar
	{
		float: left;
	}
	
	.previewTooltip .text
	{
		margin-left: 64px;
	}
	
		.previewTooltip blockquote
		{
			{xen:property messageText}
			
			font-size: 10pt;
			max-height: 150px;
			overflow: hidden;
		}
	
		.previewTooltip .posterDate
		{
			font-size: 11px;
			padding-top: 5px;
			border-top: 1px solid {xen:property primaryLighterStill};
			margin-top: 5px;
		}

/* ***************************** */
/* List of block links */

.blockLinksList
{
	{xen:property blockLinksList}
}
		
	.blockLinksList a,
	.blockLinksList label
	{
		{xen:property blockLinksListItem}
	}
	
		.blockLinksList a:hover,
		.blockLinksList a:focus,
		.blockLinksList li.kbSelect a,
		.blockLinksList label:hover,
		.blockLinksList label:focus,
		.blockLinksList li.kbSelect label
		{
			{xen:property blockLinksListItemHover}
		}
		
		.blockLinksList a:active,
		.blockLinksList a.selected,
		.blockLinksList label:active,
		.blockLinksList label.selected
		{
			{xen:property blockLinksListItemActive}
		}
		
		.blockLinksList a.selected,
		.blockLinksList label.selected
		{
			{xen:property blockLinksListItemSelected}
		}
		
		.blockLinksList span.depthPad
		{
			display: block;
		}

.blockLinksList .itemCount
{
	{xen:property alertBalloon}

	float: right;
	position: relative;
	right: 0;
	top: -1px;
}

	.blockLinksList .itemCount.Zero
	{
		display: none;
	}

/* ***************************** */
/* Normally-indented nested lists */

.indentList ul,
.indentList ol
{
	margin-left: 2em;
}

/* ***************************** */
/* AJAX progress image */

.InProgress
{
	background: transparent url('{xen:property imagePath}/xenforo/widgets/ajaxload.info_B4B4DC_facebook.gif') no-repeat right center;
}

/* ***************************** */
/* Hidden inline upload iframe */

.hiddenIframe
{
	display: block;
	width: 500px;
	height: 300px;
}

/* ***************************** */
/* Exception display */

.traceHtml { font-size:11px; font-family:calibri, verdana, arial, sans-serif; }
.traceHtml .function { color:rgb(180,80,80); font-weight:normal; }
.traceHtml .file { font-weight:normal; }
.traceHtml .shade { color:rgb(128,128,128); }
.traceHtml .link { font-weight:bold; }

/* ***************************** */
/* Indenting for options */

._depth0 { padding-left:  0em; }
._depth1 { padding-left:  2em; }
._depth2 { padding-left:  4em; }
._depth3 { padding-left:  6em; }
._depth4 { padding-left:  8em; }
._depth5 { padding-left: 10em; }
._depth6 { padding-left: 12em; }
._depth7 { padding-left: 14em; }
._depth8 { padding-left: 16em; }
._depth9 { padding-left: 18em; }

<xen:include template="error.css" />

/* Undo some nasties */

input[type=search]
{
	-webkit-appearance: textfield;
	-webkit-box-sizing: content-box;
}

/* ignored content hiding */

.ignored { display: none !important; }

/* Misc */

.floatLeft { float: left; }
.floatRight { float: right; }

.ltr { direction: ltr; }

/* Square-cropped thumbs */

.SquareThumb
{
	position: relative;
	display: block;
	overflow: hidden;
	padding: 0;
	direction: ltr;
	
	/* individual instances can override this size */
	width: 48px;
	height: 48px;
}

.SquareThumb img
{
	position: relative;
	display: block;
}

<xen:include template="bb_code_base.css" />

.visibleResponsiveFull { display: inherit !important; }

.visibleResponsiveWide,
.visibleResponsiveMedium,
.visibleResponsiveNarrow { display: none !important; }

.hiddenResponsiveFull { display: none !important; } 

.hiddenResponsiveWide,
.hiddenResponsiveMedium,
.hiddenResponsiveNarrow { display: inherit !important; }

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveWideWidth})
{
	.Responsive .visibleResponsiveFull { display: none !important; }
	
	.Responsive .hiddenResponsiveFull { display: inherit !important; }
}

@media (min-width:{xen:calc '{xen:property maxResponsiveMediumWidth} + 1'}px) AND (max-width:{xen:property maxResponsiveWideWidth})
{
	.Responsive .visibleResponsiveWide { display: inherit !important; }
	
	.Responsive .hiddenResponsiveWide { display: none !important; }
}

@media (min-width:{xen:calc '{xen:property maxResponsiveNarrowWidth} + 1'}px) AND (max-width:{xen:property maxResponsiveMediumWidth})
{
	.Responsive .visibleResponsiveMedium { display: inherit !important; }
	
	.Responsive .hiddenResponsiveMedium { display: none !important; }
}

@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .visibleResponsiveNarrow { display: inherit !important; }
	
	.Responsive .hiddenResponsiveNarrow { display: none !important; }
}

@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .xenTooltip.statusTip
	{
		width: auto;
	}
	
	.Responsive .xenPreviewTooltip
	{
		box-sizing: border-box;
		width: auto;
		max-width: 100%;
	}
	
	.Responsive .xenPreviewTooltip .arrow
	{
		display: none;
	}
	
	.Responsive .previewTooltip .avatar
	{
		display: none;
	}
	
	.Responsive .previewTooltip .text
	{
		margin-left: 0;
	}
}
</xen:if>

<xen:hook name="xenforo_css_extra" />]]></template>
  <template title="xenforo_alert.css" version_id="1010010" version_string="1.1.0 Alpha"><![CDATA[.alerts .alertGroup
{
	margin-bottom: 20px;
}

.alerts .primaryContent
{
	overflow: hidden; zoom: 1;
	padding: 5px;
}

.alerts .avatar
{
	float: left;
}

.alerts .avatar img
{
	width: 32px;
	height: 32px;
}

.alerts .alertText
{
	margin-left: 32px;
	padding: 0 5px;
}

.alerts h3
{
	display: inline;
}

.alerts h3 .subject
{
	font-weight: bold;
}

.alerts .timeRow
{
	font-size: 11px;
	margin-top: 5px;
}
	
	.alerts .newIcon,
	.alertsPopup .newIcon
	{
		display: inline-block;
		vertical-align: baseline;
		margin-left: 2px;
		width: 11px;
		height: 11px;
		background: url('{xen:property imagePath}/xenforo/xenforo-ui-sprite.png') no-repeat -144px -40px;
	}]]></template>
  <template title="xenforo_basehtml.css" version_id="1020270" version_string="1.2.2"><![CDATA[/* ***************************** */
/* un-reset, mostly from YUI */

.baseHtml h1
	{ font-size:138.5%; } 
.baseHtml h2
	{ font-size:123.1%; }
.baseHtml h3
	{ font-size:108%; } 
.baseHtml h1, .baseHtml h2, .baseHtml h3
	{  margin:1em 0; } 
.baseHtml h1, .baseHtml h2, .baseHtml h3, .baseHtml h4, .baseHtml h5, .baseHtml h6, .baseHtml strong
	{ font-weight:bold; } 
.baseHtml abbr, .baseHtml acronym
	{ border-bottom:1px dotted #000; cursor:help; }  
.baseHtml em
	{  font-style:italic; } 
.baseHtml blockquote, .baseHtml ul, .baseHtml ol, .baseHtml dl
	{ margin:1em; } 
.baseHtml ol, .baseHtml ul, .baseHtml dl
	{ margin-left:3em; margin-right:0; } 
.baseHtml ul ul, .baseHtml ul ol, .baseHtml ul dl, .baseHtml ol ul, .baseHtml ol ol, .baseHtml ol dl, .baseHtml dl ul, .baseHtml dl ol, .baseHtml dl dl
	{ margin-top:0; margin-bottom:0; }
.baseHtml ol li
	{ list-style: decimal outside; } 
.baseHtml ul li
	{ list-style: disc outside; } 
.baseHtml ol ul li, .baseHtml ul ul li
	{ list-style-type: circle; }
.baseHtml ol ol ul li, .baseHtml ol ul ul li, .baseHtml ul ol ul li, .baseHtml ul ul ul li
	{ list-style-type: square; }
.baseHtml ul ol li, .baseHtml ul ol ol li, .baseHtml ol ul ol li
	{ list-style: decimal outside; }
.baseHtml dl dd
	{ margin-left:1em; } 
.baseHtml th, .baseHtml td
	{ border:1px solid #000; padding:.5em; } 
.baseHtml th
	{ font-weight:bold; text-align:center; } 
.baseHtml caption
	{ margin-bottom:.5em; text-align:center; } 
.baseHtml p, .baseHtml pre, .baseHtml fieldset, .baseHtml table
	{ margin-bottom:1em; }]]></template>
  <template title="xenforo_columns.css" version_id="1000012" version_string="1.0.0 Alpha 2"><![CDATA[.columns
{
	overflow: hidden; zoom: 1;
}

	.columns .columnContainer
	{
		float: left;
	}
	
		.columns .columnContainer .column
		{
			margin-left: 3px;
		}
		
		.columns .columnContainer:first-child .column
		{
			margin-left: 0;
		}

.c50_50 .c1,
.c50_50 .c2 { width: 49.99%; }

.c70_30 .c1 { width: 70%; }
.c70_30 .c2 { width: 29.99%; }

.c60_40 .c1 { width: 60%; }
.c60_40 .c2 { width: 39.99%; }

.c40_30_30 .c1 { width: 40%; }
.c40_30_30 .c2,
.c40_30_30 .c3 { width: 29.99%; }

.c50_25_25 .c1 { width: 50%; }
.c50_25_25 .c2,
.c50_25_25 .c3 { width: 25%; }]]></template>
  <template title="xenforo_data_table.css" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[/** Data tables **/

table.dataTable
{
	width: 100%;
	_width: 99.5%;
	margin: 10px 0;
}

.dataTable caption
{
	{xen:property heading}
}

.dataTable tr.dataRow td
{
	border-bottom: 1px solid {xen:property primaryLighterStill};
	padding: 5px 10px;
	word-wrap: break-word;
}

.dataTable tr.dataRow td.secondary
{
	background: {xen:property primaryLightest} url("{xen:property imagePath}/xenforo/gradients/category-23px-light.png") repeat-x top;
}

.dataTable tr.dataRow th
{
	background: {xen:property secondaryLighter} url("{xen:property imagePath}/xenforo/gradients/category-23px-light.png") repeat-x top;
	border-bottom: 1px solid {xen:property secondaryLight};
	border-top: 1px solid {xen:property secondaryLighter};
	color: {xen:property secondaryDarker};
	font-size: 11px;
	padding: 5px 10px;
}

	.dataTable tr.dataRow th a
	{
		color: inherit;
		text-decoration: underline;
	}

.dataTable .dataRow .dataOptions
{
	text-align: right;
	white-space: nowrap;
	word-wrap: normal;
	padding: 0;
}

.dataTable .dataRow .important,
.dataTable .dataRow.important
{
	font-weight: bold;
}

.dataTable .dataRow .dataOptions a.secondaryContent
{
	display: inline-block;
	border-left: 1px solid {xen:property primaryLighterStill};
	border-bottom: none;
	padding: 7px 10px 6px;
	font-size: 11px;
}

	.dataTable .dataRow .dataOptions a.secondaryContent:hover
	{
		background-color: {xen:property primaryLighterStill};
		text-decoration: none;
	}

	.dataTable .dataRow .delete
	{
		padding: 0px;
		width: 26px;
		border-left: 1px solid {xen:property primaryLighterStill};
		{xen:property secondaryContent.background}
	}	
				
		.dataTable .dataRow .delete a
		{
			display: block;
			background: transparent url('{xen:property imagePath}/xenforo/permissions/deny.png') no-repeat center center;
			cursor: pointer;
		
			padding: 5px;
			width: 16px;
			height: 16px;
			
			overflow: hidden;
			white-space: nowrap;
			text-indent: -1000px;
		}]]></template>
  <template title="xenforo_dismiss.css" version_id="1020052" version_string="1.2.0 Release Candidate 2"><![CDATA[/* Styling for hover-dismiss controls */

.DismissParent .DismissCtrl
{
	position: absolute;
	top: 12px;
	right: 5px;
	
	display: block;
	background: transparent url('{xen:property imagePath}/xenforo/xenforo-ui-sprite.png') no-repeat -80px 0;
	color: white;
	width: 15px;
	height: 15px;
	line-height: 15px;
	text-align: center;
	
	opacity: .4;
	-webkit-transition: opacity 0.3s ease-in-out;
	-moz-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;
	
	font-size: 10px;
	
	overflow: hidden;
	white-space: nowrap;
	text-indent: 20000em;
	
	cursor: pointer;
}

	.DismissParent:hover .DismissCtrl,
	.Touch .DismissParent .DismissCtrl
	{
		opacity: 1;
	}
	
		.DismissParent:hover .DismissCtrl:hover
		{
			background-position: -96px 0;
		}
		
			.DismissParent:hover .DismissCtrl:active
			{
				background-position: -112px 0;
			}]]></template>
  <template title="xenforo_member_list_item.css" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[.memberListItem
{
	{xen:property memberListItem}
}

	.memberListItem .avatar,
	.memberListItem .icon
	{
		{xen:property memberListItemAvatar}
	}
	
	/* ----------------------- */
	
	.memberListItem .extra
	{
		{xen:property memberListItemExtra}
	}

		.memberListItem .extra .DateTime
		{
			display: block;
		}

		.memberListItem .extra .bigNumber
		{
			font-size: 250%;
			color: {xen:property mutedTextColor};
		}
	
	.memberListItem .member
	{
		{xen:property memberListItemMember}
	}
	
	/* ----------------------- */
		
		.memberListItem h3.username
		{
			{xen:property memberListItemUsername}
		}
			
		.memberListItem .username.guest
		{
			{xen:property memberListItemGuest}
		}
	
	/* ----------------------- */
		
		.memberListItem .userInfo
		{
			{xen:property memberListItemUserInfo}
		}
		
			.memberListItem .userBlurb
			{
			}
		
				.memberListItem .userBlurb .userTitle
				{
					{xen:property memberListItemUserTitle}
				}

			.memberListItem .userStats dt,
			.memberListItem .userStats dd
			{
				white-space: nowrap;
			}
				
	
	/* ----------------------- */
		
		.memberListItem .member .contentInfo
		{
			{xen:property memberListItemContent}
		}
	
	/* ----------------------- */
	
	
/* extended member list items have a fixed 200px right column */

.memberListItem.extended .extra
{
	width: {xen:property memberListItemExtendedWidth};
}

.memberListItem.extended .member
{
	margin-right: {xen:calc '{xen:property memberListItemExtendedWidth} + 10'}px;
}]]></template>
  <template title="xenforo_overlay.css" version_id="1040010" version_string="1.4.0 Alpha"><![CDATA[/* All overlays must have this */
.xenOverlay
{
	display: none;
	z-index: 10000;
	width: 90%;
	box-sizing: border-box;
	max-width: {xen:calc '{xen:property overlayFormWidth} + 90'}px; /*calc: 90=overlay padding+borders*/
}

	.xenOverlay .overlayScroll
	{
		max-height: 400px;
		overflow: auto;
	}
	
	.xenOverlay .overlayScroll.ltr
	{
		direction: ltr;
	}
	
	.xenOverlay .overlayScroll .sortable-placeholder
	{
		background-color: {xen:property primaryLighter};
	}

.overlayOnly /* needs a bit more specificity over regular buttons */
{
	display: none !important;
}

	.xenOverlay .overlayOnly
	{
		display: block !important;
	}
	
	.xenOverlay input.overlayOnly,
	.xenOverlay button.overlayOnly,
	.xenOverlay a.overlayOnly
	{
		display: inline !important;
	}
	
	.xenOverlay a.close 
	{
		{xen:property overlayCloseControl}
	}
	
.xenOverlay .nonOverlayOnly
{
	display: none !important;
}

/* Generic form overlays */

.xenOverlay .formOverlay
{
	{xen:property formOverlay}
	margin: 0;
}

	.Touch .xenOverlay .formOverlay
	{
		background: {xen:helper unrgba, {xen:property formOverlay.background-color}};
		box-shadow: none;
	}

	.xenOverlay .formOverlay a.muted,
	.xenOverlay .formOverlay .muted a
	{
		color: {xen:property mutedTextColor};
	}

	.xenOverlay .formOverlay .heading
	{
		{xen:property formOverlayHeading}
	}

	.xenOverlay .formOverlay .subHeading
	{
		{xen:property formOverlaySubHeading}
	}
	
	.xenOverlay .formOverlay .textHeading
	{
		{xen:property formOverlayTextHeading}
	}
	
	.xenOverlay .formOverlay > p
	{
		padding-left: {xen:property formOverlayHeading.padding-left};
		padding-right: {xen:property formOverlayHeading.padding-right};
	}

	.xenOverlay .formOverlay .textCtrl
	{
		{xen:property formOverlayTextCtrl}
	}

	.xenOverlay .formOverlay .textCtrl option
	{
		{xen:property formOverlayTextCtrl.background}
	}

	.xenOverlay .formOverlay .textCtrl:focus,
	.xenOverlay .formOverlay .textCtrl.Focus
	{
		{xen:property formOverlayTextCtrlFocus}
	}

	.xenOverlay .formOverlay .textCtrl:focus option
	{
		{xen:property formOverlayTextCtrlFocus.background}
	}

	.xenOverlay .formOverlay .textCtrl.disabled
	{
		{xen:property formOverlayTextCtrlDisabled}
	}

	.xenOverlay .formOverlay .textCtrl.disabled option
	{
		{xen:property formOverlayTextCtrlDisabled.background}
	}

	.xenOverlay .formOverlay .textCtrl.prompt
	{
		{xen:property formOverlayTextCtrlPrompt}
	}

	.xenOverlay .formOverlay .ctrlUnit > dt dfn,
	.xenOverlay .formOverlay .ctrlUnit > dd li .hint,
	.xenOverlay .formOverlay .ctrlUnit > dd .explain
	{
		{xen:property formOverlayLabelHint}
	}

	.xenOverlay .formOverlay a
	{
		{xen:property formOverlayLink}
	}

		.xenOverlay .formOverlay a.button
		{
			{xen:property formOverlayButton}
		}

	.xenOverlay .formOverlay .avatar img,
	.xenOverlay .formOverlay .avatar .img,
	.xenOverlay .formOverlay .avatarCropper
	{
		background-color: transparent;
	}
	
	/* tabs in form overlay */
	
	.xenOverlay .formOverlay .tabs /* the actual tabs */
	{
		{xen:property formOverlayTabs}
	}

		.xenOverlay .formOverlay .tabs a
		{
			{xen:property formOverlayTab}
		}
		
			.xenOverlay .formOverlay .tabs a:hover
			{
				{xen:property formOverlayTabHover}
			}
			
			.xenOverlay .formOverlay .tabs .active a
			{
				{xen:property formOverlayTabActive}
			}
			
	.xenOverlay .formOverlay .tabPanel /* panels switched with the tab controls */
	{
		{xen:property formOverlayTabPanel}
	}


/* Generic overlays */

.xenOverlay .section,
.xenOverlay .sectionMain
{
	{xen:property overlaySection}
	
	border-color: {xen:helper rgba, {xen:property overlaySection.border-color}, 0.5};
}

	.Touch .xenOverlay .section,
	.Touch .xenOverlay .sectionMain
	{
		border-color: {xen:helper unrgba, {xen:property overlaySection.border-color}};
		box-shadow: none;
	}

.xenOverlay > .section,
.xenOverlay > .sectionMain
{
	background: none;
	margin: 0;
}

	.xenOverlay .section .heading,
	.xenOverlay .sectionMain .heading
	{
		border-radius: 0;
		margin-bottom: 0;
	}

	.xenOverlay .section .subHeading,
	.xenOverlay .sectionMain .subHeading
	{
		margin-top: 0;
	}

	.xenOverlay .section .sectionFooter,
	.xenOverlay .sectionMain .sectionFooter
	{
		overflow: hidden; zoom: 1;
	}
		
		.xenOverlay .sectionFooter .buttonContainer
		{
			line-height: 31px;
		}
	
		.xenOverlay .sectionFooter .button,
		.xenOverlay .sectionFooter .buttonContainer
		{
			min-width: 75px;
			*min-width: 0;
			float: right;
			margin-left: 5px;
		}
		
			.xenOverlay .sectionFooter .buttonContainer .button
			{
				float: none;
				margin-left: 0;
			}

/* The AJAX progress indicator overlay */

#AjaxProgress.xenOverlay
{
	width: 100%;
	max-width: none;
	overflow: hidden; zoom: 1;
}

	#AjaxProgress.xenOverlay .content
	{
		{xen:property ajaxProgress}
	}
	
		.Touch #AjaxProgress.xenOverlay .content
		{
			background-color: {xen:helper unrgba, {xen:property ajaxProgress.background-color}};
		}

/* Timed message for redirects */

.xenOverlay.timedMessage
{
	{xen:property redirectMessage}
}

	.xenOverlay.timedMessage .content
	{
		{xen:property redirectMessageContent}
	}
	
/* Growl-style message */

#StackAlerts
{
	position: fixed;
	bottom: 70px;
	left: 35px;
	z-index: 9999; /* in front of the expose mask */
}

	#StackAlerts .stackAlert
	{
		position: relative;
		width: 270px;
		border: 1px solid {xen:property primaryLight};
		border-radius: 5px;
		box-shadow: 2px 2px 5px 0 rgba(0,0,0, 0.4);
		margin-top: 5px;
	}

		#StackAlerts .stackAlertContent
		{
			padding: 10px;
			padding-right: 30px;
			border-radius: 4px;
			border: solid 2px {xen:property primaryLighterStill};
			background: {xen:helper rgba, {xen:property primaryLightest}, 0.9};
			font-size: 11px;
			font-weight: bold;
		}
	
/* Inline Editor */

.xenOverlay .section .messageContainer
{
	padding: 0;
}

.xenOverlay .section .messageContainer .mceLayout
{
	border: none;	
}

.xenOverlay .section .messageContainer tr.mceFirst td.mceFirst
{
	border-top: none;
}

.xenOverlay .section .messageContainer tr.mceLast td.mceLast,
.xenOverlay .section .messageContaner tr.mceLast td.mceIframeContainer
{
	border-bottom: none;
}

.xenOverlay .section .textCtrl.MessageEditor,
.xenOverlay .section .mceLayout,
.xenOverlay .section .bbCodeEditorContainer textarea
{
	width: 100% !important;
	min-height: 260px;
	_height: 260px;
	box-sizing: border-box;
}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveMediumWidth})
{
	.Responsive .xenOverlay
	{
		width: 100%;
	}
	
	.Responsive .xenOverlay .formOverlay,
	.Responsive .xenOverlay .section,
	.Responsive .xenOverlay .sectionMain
	{
		border-radius: 10px;
		border-width: 10px;
	}
	
	.Responsive .xenOverlay a.close 
	{
		top: 0;
		right: 0;
		width: 28px;
		height: 28px;
		background-size: 100% 100%;
	}
}
</xen:if>]]></template>
  <template title="xenforo_popup.css" version_id="1020035" version_string="1.2.0 Beta 5"><![CDATA[/* ***************************** */
/* Popup Menus */

.Popup
{
	position: relative;
}

	.Popup.inline
	{
		display: inline;
	}
	
/** Popup menu trigger **/

.Popup .arrowWidget
{
	/* circle-arrow-down */
	{xen:property popupArrowClosed}
}

.PopupOpen .arrowWidget
{
	/* circle-arrow-up */
	{xen:property popupArrowOpen}
}

.Popup .PopupControl,
.Popup.PopupContainerControl
{
	display: inline-block;
	cursor: pointer;
}

	.Popup .PopupControl:hover,
	.Popup.PopupContainerControl:hover
	{
		{xen:property popupControlClosedHover}
	}

	.Popup .PopupControl:focus,
	.Popup .PopupControl:active,
	.Popup.PopupContainerControl:focus,
	.Popup.PopupContainerControl:active
	{
		outline: 0;
	}
	
	.Popup .PopupControl.PopupOpen,
	.Popup.PopupContainerControl.PopupOpen
	{
		{xen:property popupControl}
	}
	
	.Popup .PopupControl.BottomControl.PopupOpen,
	.Popup.PopupContainerControl.BottomControl.PopupOpen
	{
		border-top-left-radius: {xen:property popupControl.border-bottom-left-radius};
		border-top-right-radius: {xen:property popupControl.border-bottom-right-radius};
		border-bottom-left-radius: {xen:property popupControl.border-top-left-radius};
		border-bottom-right-radius: {xen:property popupControl.border-top-left-radius};
	}
		
		.Popup .PopupControl.PopupOpen:hover,
		.Popup.PopupContainerControl.PopupOpen:hover
		{
			text-decoration: none;
		}
		
/** Menu body **/

.Menu
{
	/*background-color: {xen:property textCtrlBackground};*/
	
	{xen:property menu}
	
	min-width: {xen:property menuMinWidth};
	*width: {xen:property menuMinWidth};
	
	/* makes menus actually work... */
	position: absolute;
	z-index: 7500;
	display: none;
}

/* allow menus to operate when JS is disabled */
.Popup:hover .Menu
{
	display: block;
}

.Popup:hover .Menu.JsOnly
{
	display: none;
}

.Menu.BottomControl
{
	border-top-width: 1px;
	border-bottom-width: 3px;
	box-shadow: 0px 0px 0px transparent;
}

	.Menu > li > a,
	.Menu .menuRow
	{
		display: block;
	}
		
/* Menu header */

.Menu .menuHeader
{
	overflow: hidden; zoom: 1;
}

.Menu .menuHeader h3
{
	{xen:property menuHeaderTitle}
}

.Menu .menuHeader .muted
{
	{xen:property menuHeaderSubtitle}
}

/* Standard menu sections */

.Menu .primaryContent
{
	background-color: {xen:helper rgba, {xen:property primaryContent.background-color}, 0.96};
}

.Menu .secondaryContent
{
	background-color: {xen:helper rgba, {xen:property secondaryContent.background-color}, 0.96};
}

.Menu .sectionFooter
{
	background-color: {xen:helper rgba, {xen:property sectionFooter.background-color}, 0.9};
}

/* Links lists */

.Menu .blockLinksList
{	
	max-height: 400px;
	overflow: auto;
}

/* form popups */

.formPopup
{
	width: 250px;
	background-color: {xen:property contentBackground};
}

	.formPopup form,
	.formPopup .ctrlUnit
	{
		margin: 5px auto;
	}
	
		.formPopup .ctrlUnit
		{
		}
		
	.formPopup .textCtrl,
	.formPopup .button
	{
		width: 232px;
	}
		
	.formPopup .ctrlUnit > dt label
	{
		display: block;
		margin-bottom: 2px;
	}
		
	.formPopup .submitUnit dd
	{
		text-align: center;
	}
	
		.formPopup .ctrlUnit > dd .explain
		{
			margin: 2px 0 0;
		}
	
	.formPopup .primaryControls
	{
		zoom: 1;
		white-space: nowrap;
		word-wrap: normal;
		padding: 0 5px;
	}
	
		.formPopup .primaryControls input.textCtrl
		{
			margin-bottom: 0;
		}
	
	.formPopup .secondaryControls
	{
		padding: 0 5px;
	}
	
		.formPopup .controlsWrapper
		{
			background: {xen:property primaryLighterStill} url('{xen:property imagePath}/xenforo/gradients/category-23px-light.png') repeat-x top;
			border-radius: 5px;
			padding: 5px;
			margin: 5px 0;
			font-size: 11px;
		}

			.formPopup .controlsWrapper .textCtrl
			{
				width: 222px;
			}
	
	.formPopup .advSearchLink
	{
		display: block;
		text-align: center;
		padding: 5px;
		font-size: 11px;
		border-radius: 5px;
		border: 1px solid {xen:property primaryLighterStill};
		background: {xen:property primaryLightest} url('{xen:property imagePath}/xenforo/gradients/category-23px-light.png') repeat-x top;
	}
	
		.formPopup .advSearchLink:hover
		{
			background-color: {xen:property primaryLighterStill};
			text-decoration: none;
		}]]></template>
  <template title="xenforo_reset.css" version_id="1000370" version_string="1.0.3"><![CDATA[/*
 * YUI reset-fonts.css
 *
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}del,ins{text-decoration:none;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:baseline;}sub{vertical-align:baseline;}legend{color:#000;}input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}input,button,textarea,select{*font-size:100%;}body{font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}select,input,button,textarea,button{font:99% arial,helvetica,clean,sans-serif;}table{font-size:inherit;font:100%;}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;}

/*
 * Firefox broken image placeholder support.
 *
http://lab.gmtplusone.com/image-placeholder/
*/ 
img:-moz-broken, img:-moz-user-disabled { -moz-force-broken-image-icon: 1; }
img:-moz-broken:not([width]), img:-moz-user-disabled:not([width]) { width: 50px; }
img:-moz-broken:not([height]), img:-moz-user-disabled:not([height]) { height: 50px; }]]></template>
  <template title="xenforo_sections.css" version_id="1020010" version_string="1.2.0 Alpha"><![CDATA[.section
{
	{xen:property section}
}

.sectionMain
{
	{xen:property sectionMain}
}

.heading,
.xenForm .formHeader
{
	{xen:property heading}
}

	.heading a { color: {xen:property heading.color}; }

.subHeading
{
	{xen:property subHeading}
}

	.subHeading a { color: {xen:property subHeading.color}; }

.textHeading,
.xenForm .sectionHeader
{
	{xen:property textHeading}
}

.xenForm .sectionHeader,
.xenForm .formHeader
{
	margin: 10px 0;
}

.primaryContent > .textHeading:first-child,
.secondaryContent > .textHeading:first-child
{
	margin-top: 0;
}

.larger.textHeading,
.xenForm .sectionHeader
{
	color: {xen:property primaryLighter};
	font-size: 11pt;
	margin-bottom: 6px;
}

	.larger.textHeading a,
	.xenForm .sectionHeader a
	{
		color: {xen:property primaryLighter};
	}

.primaryContent
{
	{xen:property primaryContent}
}

	.primaryContent a
	{
		{xen:property primaryContentLink}
	}

.secondaryContent
{
	{xen:property secondaryContent}
}

	.secondaryContent a
	{
		{xen:property secondaryContentLink}
	}

.sectionFooter
{
	overflow: hidden; zoom: 1;
	{xen:property sectionFooter}
}

	.sectionFooter a { color: {xen:property sectionFooter.color}; }

	.sectionFooter .left
	{
		float: left;
	}

	.sectionFooter .right
	{
		float: right;
	}

/* used for section footers with central buttons, esp. in report viewing */

.actionList
{
	text-align: center;
}

/* left-right aligned options */

.opposedOptions
{
	overflow: hidden; zoom: 1;
}
	
	.opposedOptions .left
	{
		float: left;
	}
	
	.opposedOptions .right
	{
		float: right;
	}]]></template>
  <template title="xenforo_tabs.css" version_id="1020034" version_string="1.2.0 Beta 4"><![CDATA[/* ***************************** */
/* Basic Tabs */

.tabs
{
	{xen:property tabsContainer}
	
	display: table;
	width: 100%;
	*width: auto;
	box-sizing: border-box;
}

.tabs li
{
	float: left;
}

.tabs li a,
.tabs.noLinks li
{
	{xen:property tab}
}

.tabs li:hover a,
.tabs.noLinks li:hover
{
	{xen:property tabHover}		
}

.tabs li.active a,
.tabs.noLinks li.active
{
	{xen:property tabActive}
}

/* Tabs inside forms */

.xenForm .tabs,
.xenFormTabs
{
	padding: 5px {xen:property ctrlUnitEdgeSpacer} 0;
}

<xen:if is="{xen:property enableResponsive}">
@media (max-width:{xen:property maxResponsiveNarrowWidth})
{
	.Responsive .tabs li
	{
		float: none;
	}

	.Responsive .tabs li a,
	.Responsive .tabs.noLinks li
	{
		display: block;
	}
}
</xen:if>]]></template>
</templates>
