/*
    Layouts for pages not covered in other css files
*/


/* notification */
div#message, #confirm .panel, #agreement .panel {
    margin: 40px 0;
    font-size: 12px;
}
div#message .inner, #confirm .panel .inner, #agreement .panel .inner { 
    padding-bottom: 20px; 
}
div#message h2, #confirm h2, #agreement h2 { 
    margin-left: 0; 
    margin-bottom: 20px; 
}

/*
    UCP tabs
*/
#tabs {
    margin: 10px 0 6px;
}
#navigation, #minitabs {
    margin: 4px 0;
    min-height: 1em;
}
#tabs ul, #navigation ul, #minitabs ul {
    list-style-type: none;
}
#tabs li, #navigation li, #minitabs li {
    display: block;
    float: left;
}
#tabs li a, #navigation li a, #minitabs li a {
    display: block;
    margin: 0;
    padding: 0;
    height: 30px;
    padding-left: 15px;
    background: url({T_THEME_PATH}/images/tabs_right.png) top left no-repeat;
    border-width: 0;
    outline-style: none;
    text-decoration: none;
}
#tabs li a span, #navigation li a span, #minitabs li a span {
    display: inline-block;
    font-size: 14px;
    font-famiy: Arial;
    line-height: 1em;
    white-space: nowrap;
    padding-top: 8px;
    padding-right: 13px;
    height: 22px;
    background: url({T_THEME_PATH}/images/tabs_left.png) top right no-repeat;
    color: #32b359;
}
#tabs li a:hover, #tabs li.activetab a, #navigation li a:hover, #navigation li#active-subsection a, #minitabs li a:hover, #minitabs li.activetab a {
    background-position: bottom left;
}
#tabs li a:hover span, #tabs li.activetab a span, #navigation li a:hover span, #navigation li#active-subsection a span, #minitabs li a:hover span, #minitabs li.activetab a span {
    background-position: bottom right;
    color: #da5d20;
}
#tabs li.first a, #navigation li.first a, #minitabs li.first a {
    background-image: url({T_THEME_PATH}/images/tabs_left.png);
    padding-left: 15px;
}

#tabs li.last a, #navigation li.last a, #minitabs li.last a {
    background-position: top right;
    padding-right: 15px;
    padding-left: 0;
}
#tabs li.last a span, #navigation li.last a span, #minitabs li.last a span {
    background-image: url({T_THEME_PATH}/images/tabs_right.png);
    background-position: top left;
    padding-left: 10px;
    padding-right: 0;
}

#tabs li.last a:hover, #tabs li.activetab.last a, #navigation li.last a:hover, #navigation li#active-subsection.last a, #minitabs li.last a:hover, #minitabs li.activetab.last a {
    background-position: bottom right;
}
#tabs li.last a:hover span, #tabs li.activetab.last a span, #navigation li.last a:hover span, #navigation li#active-subsection.last a span, #minitabs li.last a:hover span, #minitabs li.activetab.last a span {
    background-position: bottom left;
}
#navigation strong, #tabs strong, #minitabs strong { 
    color: #32b359; 
    font-weight: normal;
}
li.activetab strong, #active-subsection strong,
#navigation a:hover strong, #tabs a:hover strong, #minitabs a:hover strong {
    color: #da5d20;
}



/*
    UCP stuff
*/
div.cp-panel {
    background: none;
    padding: 0;
}
p.linkmcp { color: #444; }

#cp-main > h2, #cp-main > form > h2 {
    font-family: Arial;
	font-weight: normal;
	margin: 8px 0;
	padding: 0;
	font-size: 16px;
	color: #da5d20;
    font-size: 20px;
    font-weight: normal;
    margin: 14px 2px;
}

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


#cp-main .content {
	padding: 0;
}

#cp-main .panel ol {
	margin-left: 2em;
	font-size: 11px;
}

ul.cplist {
	margin-bottom: 5px;
}

#cp-main table.table1 {
	margin-bottom: 1em;
}

#cp-main .pagination {
	float: right;
	width: auto;
	padding-top: 1px;
}

#cp-main .postbody p {
	font-size: 12px;
}

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

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

#cp-main .postbody h3, #cp-main .box2 h3 {
	margin-top: 0;
}

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

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

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

div.panel dl.panel, div.panel dl.panel .hdr2-last {
    padding: 10px;
}


/* Friends list */
.cp-mini {
	padding: 0 5px;
	margin: 5px 5px 0 0;
	float: left;
}

.cp-mini .inner {
    padding: 7px 5px;
}

dl.mini dt {
	font-weight: normal;
	color: #444;
	font-size: 14px;
	line-height: 1.3em;
    font-family: Arial;
}

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

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

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

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

/* PM panel adjustments */
.pm-panel-header {
}

.reply-all {
	display: block; 
	padding-top: 4px; 
	clear: both;
	float: left;
}

.pm-return-to {
	padding-top: 23px;
}

#cp-main .pm-message-nav {
	margin: 0; 
	padding: 2px 10px 5px 10px; 
}

/* PM Message history */
.current {
	color: #000;
}

/* 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.bg1, .pmlist li.bg2 {
	margin: 2px;
}

.pmlist li.bg1 dl, .pmlist li.bg2 dl {
    border: solid 0px transparent;
	border-left-width: 2px;
}

.pmlist li.pm_message_reported_colour dl, .pm_message_reported_colour {
	border-color: #da5d20;
}

.pmlist li.pm_marked_colour dl, .pm_marked_colour {
	border-color: #da5d20;
}

.pmlist li.pm_replied_colour dl, .pm_replied_colour {
	border-color: #32b359;
}

.pmlist li.pm_friend_colour dl, .pm_friend_colour {
	border-color: #30ab57;
}

.pmlist li.pm_foe_colour dl, .pm_foe_colour {
	border-color: #d9212e;
}


.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;
	background: transparent;
	border: 1px solid #ccc;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	text-align: center;
}

#gallery label:hover {
	border-color: #e2b29a;
	background-color: #f8f8f8;
}

/* Topic review panel
----------------------------------------*/
#review {
	margin-top: 2em;
	font-weight: normal;
	font-size: 14px;
	line-height: 1.4em;
	color: #32b359;
}

#topicreview {
	padding-right: 5px;
	overflow: auto;
	height: 300px;
}

#topicreview .postbody {
	width: auto;
	float: none;
	margin: 0;
	height: auto;
}

#topicreview .post {
	height: auto;
}

#topicreview h2 {
	border-bottom-width: 0;
}

.post-ignore .postbody {
	display: none;
}

/* MCP Post details
----------------------------------------*/
#post_details
{
	/* This will only work in IE7+, plus the others */
	overflow: auto;
	max-height: 300px;
}

#expand
{
	clear: both;
}


/* FAQ */
dl.faq {
	margin-top: 5px;
	margin-bottom: 20px;
	line-height: 1.4em;
}

dl.faq dt {
	font-weight: normal;
    font-family: Arial;
	font-size: 14px;
	color: #da5d20;
	line-height: 1.4em;
}
dl.faq dt strong { font-weight: normal; }

.content dl.faq {
	font-size: 12px;
	margin-bottom: 0.5em;
}

.column1 {
	float: left;
	clear: left;
	width: 49%;
}

.column2 {
	float: right;
	clear: right;
	width: 49%;
}


/* Table styles
----------------------------------------*/
table.table1 {
    width: 100%;
}

#ucp-main table.table1 {
	margin: 2px;
}

table.table1 th {
	font-weight: normal;
    border: solid 1px #a9a9a9;
    background: #939393 url({T_THEME_PATH}/images/th.gif) 0 0 repeat-x;
    background: url({T_THEME_PATH}/images/header_g2.png) top center repeat-y, #939393 url({T_THEME_PATH}/images/th.gif) 0 0 repeat-x;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    color: rgba(255, 255, 255, 0.9);
	text-shadow: rgba(0, 0, 0, 0.3) 1px 1px 1px;
    font-size: 12px;
    font-family: Arial;
    line-height: 1.2em;
    padding: 3px 4px;
}
table.table1 thead th a, table.table1 thead th a:visited {
    color: rgba(255, 255, 255, 0.8);
}
table.table1 thead th a:hover {
    color: #fff;
}
.old-ie table.table1 th, .old-ie table.table1 thead th a, .old-ie table.table1 thead th a:visited {
    color: #fff;
}

table.table1 thead th span {
	padding-left: 7px;
}

table.table1 tbody tr:hover, table.table1 tbody tr.hover {
	background-color: #f4f4f4;
}

table.table1 td {
	font-size: 12px;
	padding: 4px;
	background-color: #ececec;
	border: 1px solid #d0d0d0;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

/* Specific column styles */
table.table1 .name		{ text-align: left; }
table.table1 .posts		{ text-align: center !important; width: 7%; }
table.table1 .joined	{ text-align: left; width: 15%; }
table.table1 .active	{ text-align: left; width: 15%; }
table.table1 .mark		{ text-align: center; width: 7%; }
table.table1 .info		{ text-align: left; width: 30%; }
table.table1 .info div	{ width: 100%; white-space: normal; overflow: hidden; }
table.table1 .autocol	{ line-height: 2em; white-space: nowrap; }
table.table1 thead .autocol { padding-left: 1em; }

table.table1 span.rank-img {
	float: right;
	width: auto;
}

table.info td {
	padding: 3px;
}

table.info tbody th {
	padding: 3px;
	text-align: right;
	vertical-align: top;
	color: #000000;
	font-weight: normal;
}

/* Jump to post link for now */
ul.searchresults {
	list-style: none;
	text-align: right;
	clear: both;
}
.post ul.searchresults {
    width: 68%;
    clear: left;
}

/* Close popup */
body.simple #page-body > a { 
    display: block;
    text-align: center; 
    margin: 4px;
}

/* Login form */
form#login, form#register {
    margin-top: 20px;
}

/*
    Dropdown tabs
*/
#tabs { overflow: visible; }
div.dropdown-tabs {
    position: relative;
    float: left;
    margin: 0;
    margin-right: 20px;
    padding: 0;
    padding-left: 15px;
    height: 30px;
    background: url({T_THEME_PATH}/images/tabs_left.png) top left no-repeat;
}
div.dropdown-tabs > a {
    display: inline-block;
    font-size: 14px;
    font-family: Arial;
    line-height: 1em;
    white-space: nowrap;
    margin: 0;
    margin-right: -15px;
    padding-top: 8px;
    padding-right: 28px;
    height: 22px;
    color: #32b359;
    background: url({T_THEME_PATH}/images/tabs_popup.png) top right no-repeat;
}
div.dropdown-tabs:hover { background-position: bottom left; }
div.dropdown-tabs:hover > a { background-position: bottom right; color: #da5d20; }
div.dropdown-tabs > ul { 
    display: none;
    position: absolute;
    top: 26px;
    left: 4px;
    z-index: 2;
    background: #ececec;
    background-color: rgba(236, 236, 236, 0.9);
    padding: 0;
    border: solid 2px #d0d0d0;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}
div.dropdown-tabs:hover > ul { display: block; }
.dropdown-tabs li a, .dropdown-tabs span,
#tabs .dropdown-tabs li a, #tabs .dropdown-tabs li a span { 
    background: none;
    margin: 0;
    padding: 0;
    line-height: 1em;
    height: auto;
}
.dropdown-tabs li a, #tabs div.dropdown-tabs ul li a {
    padding: 8px 6px;
}
.dropdown-tabs li, #tabs .dropdown-tabs li { 
    margin: 0;
    padding: 0;
    display: block;
    float: none;
    border-top: solid 1px #fff;
    border-bottom: solid 1px #d0d0d0;
}
.dropdown-tabs li:first-child, #tabs .dropdown-tabs li:first-child { border-top-width: 0; }
.dropdown-tabs li:last-child, #tabs .dropdown-tabs li:last-child { border-bottom-width: 0; }
.cp-mini dl.mini { max-height: 140px; overflow: auto; }
