/* Control Panel Styles
---------------------------------------- */


/* Main CP box
----------------------------------------*/
#cp-menu {
	float:left;
	width: 19%;
	margin-top: 16px;
	margin-bottom: 5px;
}

#cp-main {
	float: right;
	width: 79%;
}

.panel-container .panel ol {
	margin-left: 2em;
	font-size: 1.1em;
}

.panel-container .panel li.row {
	border-bottom: 1px solid transparent;
}

ul.cplist {
	margin-bottom: 20px;
	border-top: 1px solid transparent;
	margin-top: -11px;
}

.panel-container .panel li.header dd, .panel-container .panel li.header dt {
	margin-bottom: 2px;
}

.panel-container table.table1 {
	margin-bottom: 1em;
}

.panel-container table.table1 thead th {
	font-weight: bold;
	border-bottom: 1px solid transparent;
	padding: 5px;
}

.panel-container table.table1 tbody th {
	font-style: italic;
	background-color: transparent !important;
	border-bottom: none;
}

#cp-main .postbody p {
	font-size: 1.1em;
}

#cp-main .pm-message {
	border: 1px solid transparent;
	margin: 10px 0;
	width: auto;
	float: none;
}

.pm-message h2 {
	padding-bottom: 5px;
}

#cp-main .postbody h3, #cp-main .box2 h3 {
	margin-top: 0;
	padding: 10px 0;
	text-transform: none;
	font-size: 15px;
}

#cp-main .postbody h3.first {
	padding: 10px;
}

#cp-main .buttons {
	margin-left: 0;
}

#cp-main ul.linklist {
	margin: 0;
}

/* MCP Specific tweaks */
.mcp-main .postbody {
	width: 100%;
}

.tabs-container h2 {
	float: left;
	margin-bottom: 0px;
}

#cp-main .panel h3 {	
	margin-bottom: 10px;
	padding: 15px 10px;
}

#cp-main .panel h3:before {
	content: "";
}

/* CP tabs shared
----------------------------------------*/
#tabs, #minitabs {
	line-height: normal;
}

#tabs > ul, #minitabs > ul {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

#tabs .tab, #minitabs .tab {
	display: block;
	float: left;
	font-size: 1.1em;
	line-height: 14px;
	margin-right: 5px;
	margin-bottom: 10px;
}

#minitabs .tab > a {
	display: block;
	padding: 15px;
	position: relative;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

#tabs .tab > a {
	display: block;
	padding: 5px 9px;
	position: relative;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;	
	min-width: 120px;
	height: 60px;
	line-height: 100px;
	text-transform: lowercase;
}

#tabs .tab > a:before {
	content: "\e0d0";
	font-size: 25px;
	position: absolute;
	top: 10px;
	left: 10px;	
}

#tabs .tab > a:hover:before {
	font-size: 28px;
}

/* Tabs icons used in UCP */

.section-ucp #tabs .tab:first-child > a:before {
	content: "\e054";
}

.section-ucp #tabs .tab:first-child + li > a:before {
	content: "\e00a";
}

.section-ucp #tabs .tab:first-child + li + li > a:before {
	content: "\e02e";
}

.section-ucp #tabs .tab:first-child + li + li + li > a:before {
	content: "\e07f";
}

.section-ucp #tabs .tab:first-child + li + li + li + li > a:before {
	content: "\e00d";
}

.section-ucp #tabs .tab:first-child + li + li + li + li + li > a:before {
	content: "\e002";
}

#tabs .tab > a.responsive-tab-link:before {
	content: "\e120";
}

/* Tabs icons used in MCP */

.section-mcp #tabs .tab:first-child > a:before {
	content: "\e054";
}

.section-mcp #tabs .tab:first-child + li > a:before {
	content: "\e03b";
}

.section-mcp #tabs .tab:first-child + li + li > a:before {
	content: "\e03e";
}

.section-mcp #tabs .tab:first-child + li + li + li > a:before {
	content: "\e0a2";
}

.section-mcp #tabs .tab:first-child + li + li + li + li > a:before {
	content: "\e0c4";
}

.section-mcp #tabs .tab:first-child + li + li + li + li + li > a:before {
	content: "\e088";
}

.section-mcp #tabs .tab:first-child + li + li + li + li + li + li > a:before {
	content: "\e00b";
}

/* CP tabbed menu
----------------------------------------*/
#tabs {
	margin: 0;
}

#tabs .tab > a {
	border: none;
}

#tabs .activetab > a {
	margin-top: 0;
}

/* Mini tabbed menu used in MCP
----------------------------------------*/
#minitabs {
	float: right;
	margin: 15px 7px 0 0;
	max-width: 50%;
}

#minitabs .tab {
	float: right;
}

#minitabs .tab > a {
	margin-left: 2px;
}

#minitabs .tab > a:hover {
	text-decoration: none;
}

/* Responsive tabs
----------------------------------------*/
.responsive-tab {
	position: relative;
}

.responsive-tab > a.responsive-tab-link {
	display: block;
	font-size: 16px;
	position: relative;
	width: 16px;
	line-height: 14px;
	text-decoration: none;
}

.responsive-tab > a.responsive-tab-link:before {
	content: "\e120";
}

#tabs .dropdown, #minitabs .dropdown {
	top: 100%;
	margin-right: -2px;
	font-size: 1em;
	font-weight: normal;
}

#minitabs .dropdown {
	margin-right: -4px;
}

#tabs .dropdown-up .dropdown, #minitabs .dropdown-up .dropdown {
	bottom: 20px;
	top: auto;
}

#tabs .dropdown li {
	text-align: left;
}

#minitabs .dropdown li {
	text-align: left;
}

/* UCP navigation menu
----------------------------------------*/
/* Container for sub-navigation list */
#navigation {
	width: 100%;
	padding-top: 46px;
}

#navigation ul {
	list-style: none;
}

/* Default list state */
#navigation li {
	display: inline;
	font-weight: bold;
	margin: 1px 0;
	padding: 0;
}

/* Link styles for the sub-section links */
#navigation a {
	display: block;
	padding: 0 10px;
	height: 48px;
    line-height: 48px;
	margin: 1px 0;
	text-decoration: none;
}

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

/* Preferences pane layout
----------------------------------------*/
#cp-main .panel {
	padding: 10px;
}

#cp-main h2 {
	border-bottom: none;
	padding: 15px 0 25px;
	margin: 0;
	text-transform: none;
	font-size: 1.4em;

}

#cp-main h2 {	
	margin: 0;
}

#cp-main h3 {
	position: relative;
	margin: -11px -11px 10px;
}

#cp-main h3#review {	
	margin: 0 0 10px;
}

#cp-main h2:before {
	content:"";
	display: none;
}

/* Friends list */
.cp-mini {
	max-height: 200px;
	overflow-y: auto;
	padding: 10px;
	margin-top: 10px;
}

dl.mini dt {
	font-weight: normal;
}

dl.mini dd {
	padding-top: 4px;
}

.friend-online {
	font-weight: normal;
}

.friend-offline {
	font-style: italic;
}

/* PM Styles
----------------------------------------*/
#pm-menu {
	line-height: 2.5em;
}

/* Defined rules list for PM options */
ol.def-rules {
	padding-left: 0;
}

ol.def-rules li {
	line-height: 180%;
	padding: 1px;
}

/* PM marking colours */

.pmlist li.pm_marked_colour, .pm_marked_colour,
.pmlist li.pm_replied_colour, .pm_replied_colour,
.pmlist li.pm_friend_colour, .pm_friend_colour,
.pmlist li.pm_foe_colour, .pm_foe_colour {
	padding: 0;
	border: solid 3px transparent;
	border-width: 0 3px;
}

.pm-legend {
	border-left-width: 10px;
	border-left-style: solid;
	border-right-width: 0;
	margin-bottom: 3px;
	padding-left: 3px;
}

/* Avatar gallery */
#gallery label {
	position: relative;
	float: left;
	margin: 10px;
	padding: 5px;
	width: auto;
	border: 1px solid transparent;
	text-align: center;
}



