/*
 {$BRAND_NAME`}
 Copyright (c) ocProducts, 2004-2016
*/

.cns_profile_column {
	background-color: {$GET,area_background};
	border: 1px solid {$GET,pale_border};
	margin-top: 1em;
}

.cns_profile_about_field_name_column {
	width: 13em;
}

.cns_profile_about_field_value_column {
	width: 100%;
}

/*{+START,IF,{$MOBILE}}*/
	.cns_profile_column {
		padding: 0.5em;
		font-size: 0.9em;
	}

	.cns_profile_main {
		padding: 10px 0 0 0;
		float: left;
		width: 100%;
	}

	.cns_member_profile_avatar {
		text-align: center;
		margin-top: 1em;
	}
/*{+END}*/

/*{+START,IF,{$NOT,{$MOBILE}}}*/
	.cns_profile_column {
		float: right;
		width: 14em;
		padding: 1em;
		font-size: 0.9em;
	}

	.cns_profile_column>h2:first-child {
		margin-top: 0;
	}

	.cns_profile_main {
		padding: 1em 16em 0 0;
	}

	.cns_member_profile_avatar {
		text-align: center;
		margin-top: 1.5em;
	}
/*{+END}*/

.cns_member_profile_avatar img {
	border: 1px solid {$GET,standard_border};
	max-width: 100px;
}

.cns_profile_column h2 {
	font-size: 1.1em;
}

.cns_member_profile_photo {
	text-align: center;
}

.cns_member_profile_photo img {
	border: 1px solid {$GET,standard_border};
}
.cns_member_profile_photo img:not([width]):not([height]) {
	max-width: 100%;
	height: auto;
}

table.cns_profile_about_section {
	border-collapse: collapse;
}

table.cns_profile_about_section th {
	padding: 0.5em 0;
	border-right: 1px solid {$GET,pale_border};
	font-weight: bold !important;
}

table.cns_profile_about_section td {
	padding: 0.5em;
	font-size: 1em;
}

table.cns_profile_about_section .associated_details {
	display: block;
}

.cns_profile_friends {
	overflow: hidden;
	margin-left: -5px;
	width: calc(100% + 10px);
}

.cns_profile_friends>.box {
	margin: 0.5em 0 1em 0;
	border: 1px solid {$GET,standard_border};
	background: {$GET,area_background};
}

.cns_account_links ul.nl li {
	overflow: hidden;
	margin-bottom: 0.5em;
	padding-top: 4px;
}

.cns_account_links .toggleable_tray_button img {
	width: 15px;
}

.cns_account_links .toggleable_tray img {
	float: left;
	margin-right: 0.5em;
	margin-top: -2px; /* Tied to "padding-top: 4px;" on ".cns_account_links ul.nl li" */
	width: 20px;
}

/*
=========================
=========Editing=========
=========================
*/

.cns_sig_requirements {
	/*{+START,IF,{$NOT,{$MOBILE}}}*/
		width: 25em;
		margin: 1em auto !important;
	/*{+END}*/
}

.cns_avatar_page_old_avatar {
	float: {!en_right};
	padding: 1em 0.5em 1em 1em;
	text-align: {!en_right};
}

.cns_current_sig_wrap {
	margin-bottom: 1.5em;
}

.decryption_overlay label {
	font-weight: bold;
}
