/**
 * Styling for the default SilverStripe Forum 
 */

/* LAYOUT
------------------------------------ */
#ForumContent {
	width: 100%;
	float: none;
	margin: 0;
	padding: 0;
}

/* FORMS
------------------------------------ */

#ForumContent #Form_ReplyForm_action_postAMessage {
	display: block;
	font-size: 1.2em;
	padding: 4px;
	font-weight: bold;
}
#ForumContent textarea {
	font-family: Verdana, Tahoma, sans-serif;
	font-size: 11px;
	font-weight: normal;
}

#ForumContent .middleColumn {
	background: #E9E9E9 none repeat scroll 0%;
	display: block;
	margin: 0px 10px 10px 0pt;
	padding: 4px;
	width: 306px;
}

#ForumContent label.left {
	font-size: 0.9em;
	clear: both;
	font-weight: bold;
}

#ForumContent label.right {
	display: inline;
}

#ForumContent input.text, 
#ForumContent textarea, 
#ForumContent select {
	border: 1px solid #A7A7A7;
	color: #000000;
	font-size: 1.1em;
	font-weight: normal;
	padding: 2px;
	width: 300px;
}

#ForumContent #Content.textarea {
	float: none;
	width: 100%;
}

#ForumContent #Content.textarea .middleColumn {
	width: 98.9%;
}

#ForumContent #Content.textarea .middleColumn textarea {
	width: 99.2%;
	height: 200px;
}

/* MESSAGE ERRORS
--------------------------------- */
.forumHolderFeatures {
}

.message {
	border: 1px solid #b3dee2;
	background: #f1fdff;
	font-size: 1.1em;
	color: #333;
	padding: 5px;
}

	.message.required, .message.bad, .message.error {
		background: #ffc1c1 !important;
		color: #cc0000;
		border: 1px solid #ff8b8b !important;
	}

	.message.status {
		font-size: 1.2em;
		display: block;
		padding: 5px;
		color: #000;
		margin: 10px;
		border: 1px solid #add480;
		background: #f2f9ea;
	}
		.message a {
			color: #666;
		}
			.message a:hover {
				text-decoration: none;
			}

/* POST LAYOUT 
----------------------------------------- */
#PostContentNormal {
	display: none;
}

ul#Posts {
	margin: 0;
}

#PostContentNormal,
#FirstPost, #Posts li {
	clear: left;
	border: 1px solid #eee;
	border-bottom: 0;
	float: left;
	margin: 0;
	list-style: none;
	width: 100%;
}

#Posts .quickReply {
	float: right;
	margin-right: 6px;
}
#Posts li.even {
	background: #f5f5f5;
	border-top: 4px solid #ddd;
	border-bottom: 5px solid #ddd;
}
#Posts li.odd {
	background: #fff;
}

/* SEARCH RESULTS 
------------------------------------------ */
#forum_search p,
#forum_search p span {
	font-size: 0.9em;
	margin-bottom: 0px;
}
	#forum_search .topicTitle {
		margin-bottom: 10px;
	}
	
	#forum_search a.paginationPrevLink,
	#forum_search a.paginationNextLink {
		background: url(../images/replyButton.gif) no-repeat top left;
		text-decoration: none;
		width: 50px;
		padding-left: 10px;
		line-height: 20px;
		height: 20px;
		font-weight: bold;
		font-size: 0.9em;
		border-bottom: none;
		margin-top: -18px !important;
	}
		#forum_search .paginationPageNumber,
		#forum_search .paginationPageNumber a {
			font-size: 13px;
			color: #fff;
		}
			#forum_search .paginationPageNumber a {
				color: #ccc;
			}
			#forum_search .paginationPageNumber a:hover {
				color: #0194FF;
			}
	#forum_search .dateInfo {
		font-size: 10px;
		color: #999;
	}
	#forum_search a.current {
		color: #999;
	}

    #forum_search .topicList tr.category {
        display: table-row;
    }
/* FORUM TOP FEATURED BOX
------------------------------------------ */
.jumpTo {
	float:left;
	margin: 5px 5px 0 0;
}
.forumFeatures {
	clear: both;
	margin-bottom: 15px;
}
	.forumFeatures > span,
	.forumFeatures > p {
		font-size: 1.15em;
	}
		.forumFeatures span.breadcrumbs {
			display: none;
		}
	.featureLeft {
	}
		.featureLeft #forumBreadcrumbs {
			font-size: 0.9em
		}
        #Breadcrumbs{
            margin-bottom: 0;
        }
		#ForumContent .featureLeft h2,
		h2.bbcodeExamples {
			clear: none !important;
			margin: 0;
		}
			
		.featureRight {
            width: 280px;
		}
			.featureRight p.forumStats {
				line-height: 1.8em;
			}
			.featureRight select {
				width: 245px;
				font-size: 1.2em;
				color: #000;
			}

			.featureRight span.jumpTo {
				color: #666;
			}
			.featureRight #ForumSearch {
                text-align: right;
			}
				#ForumSearch span {
					font-size: 1em;
					/*font-weight: bold;*/
					color: #1469aa;
				}
				#ForumSearch input.text {
					width: 210px;
					/*width: 230px;*/
					padding: 1px 5px;
					font-size: 1em;
				}
				#ForumSearch input.submit {
					font-weight: bold;
					font-size: 1.0em;
				}

/* THREAD STYLINGS
------------------------------------ */
table.postHeader {
	border-collapse: collapse;
	width: 100%;
	clear: both;
	margin: 0;
}

table.postHeader th, table.postHeader td {
	border: none;
}

table.postHeader tr {
	padding: 3px;
}
	table.postHeader tr.rowOne {
		background: #6a6a6a;
        height: 29px;
	}
	table.postHeader tr.rowOne select {
		font-size: 1.2em;
	}
	table.postHeader tr.rowTwo {
		background: #ededed;
	}
	table.postHeader span,
	table.postHeader p {
		font-size: 1.2em;
		line-height: 1.2em;
	}
	table.postHeader tr.rowOne span {
		color: #fff;
	}
	table.postHeader td.pageNumbers {
		width: 30%;
		color: #fff;
		padding: 5px;
	}	
		table.postHeader td.pageNumbers a {
			color: #fff;
			font-size: 1.4em;
		}
			table.postHeader td.pageNumbers a.prev {
				background: url(../../forum/images/replyButton.gif) no-repeat top left;
				color: #d07327;
				text-decoration: none;
				width: 58px;
				height: 20px;
				line-height: 3em;
				padding: 3px 14px 5px 14px;
				font-size: 1.2em;
				font-weight: bold;
				text-transform: uppercase;
			}

table.postHeader td.gotoButton {
	width: 60%;
}
table.postHeader td.replyButton {
	width: 160px;
}
table.postHeader td.author {
	padding-left: 5px;
}
table.postHeader td.topicTitle {

}
table.postHeader td.noOfReads {
	text-align: right;
	padding-right: 10px;
}
table.postHeader td.replyButton a {
	background: url(../../forum/images/replyButton.gif) no-repeat top left;
	color: #779452;
	text-decoration: none;
	width: 58px;
	height: 20px;
	float: left;
	text-align: center;
	line-height: 20px;
	font-size: 0.9em;
	font-weight: bold;
}
	table.postHeader td.replyButton a.subscribe,
	table.postHeader td.replyButton a.unsubscribe {
		background: url(../../forum/images/subscribeButton.gif) no-repeat top left;
		padding: 0;
		display: block;
		width: 96px;
		height: 20px;
		float: right;
		text-align: center;
		line-height: 20px;
	}
	table.postHeader td.replyButton a.hidden {
		display: none;
	}
table.postHeader td.replyButton a.next {
	color: #d07327;
}


table.postHeader td.gotoButtonTop a,
table.postHeader td.gotoButtonEnd a {
	color: #0162a9;
	text-decoration: none;
	display: block;
	width: 63px;
	height: 18px;
	padding: 2px 5px 0 20px;
	font-size: 11px;
	font-weight: bold;
}
table.postHeader td.gotoButtonTop a {
	background: url(../../forum/images/gotoTop.gif) no-repeat top left;
}
table.postHeader td.gotoButtonEnd a {
	background: url(../../forum/images/gotoEnd.gif) no-repeat top left;
}
div.userInformation {
    font-size: 0.9em;
    text-align: center;
    width: 20%;
    min-width: 55px;
    max-width: 100px;
}
div.userInformation a.authorTitle,
div.userInformation span.authorTitle {
    font-weight: bold;
}
div.userInformation a.authorTitle {
    text-decoration: none;
}

.userInformation .avatar img {
    width: 100%;
    height: auto;
}

	/* Posters content styling (in thread) */
	div.posterContent {
		/*width: 515px;*/
	}
		div.posterContent h4 {
			color: #368cc9;
			border: none;
			margin: 0;
		}
        div.posterContent h4 a:active,
        div.posterContent h4 a:hover,
        div.posterContent h4 a:focus {
            text-decoration: none;
        }
		div.posterContent p.postDate {
			font-size: 0.8em;
			line-height: 2em;
			color: #b1b1b1;
			margin-bottom: 8px;
		}
		div.posterContent div.postType {
			margin-bottom: 20px;
		}

			div.posterContent div.postType p {
				line-height: 1.5em;
			}

		div.posterContent p.lastEdited {
			color: #b1b1b1;
			font-size: 1.2em;
			padding-top: 0.5em;
			margin: 0;
			border-top: 1px dotted #ccc;
		}
		div.posterContent div.postModifiers {
			float: right;
			border: 1px solid #ccc;
			padding: 5px 7px;
			font-weight: bold;
			border-right: none;
			font-size: 1em;
			margin-left: 5px;
            clear:right;

            -webkit-border-radius: 5px 0 0 5px;
            -moz-border-radius: 5px 0 0 5px;
            border-radius: 5px 0 0 5px;
		}
			div.postModifiers a {
				color: #B33233;
				text-decoration: underline;
			}
                div.postModifiers a:first-child {
                    margin-right: 5px;
                }
				div.postModifiers a:hover {
					color: black;
					text-decoration: none;
				}

.singlePost {
    padding: 15px 15px;
}
.singlePost .avatar {
    margin-bottom: 10px;
}

.singlePost:only-child .media {
    margin-top: 0;
}

.singlePost.odd {
    background-color: #eee;
}
.singlePost .btn-group {
    float: left;
}

.singlePost .btn-group .btn span {
    display: none;
}

@media (min-width: 450px) {
    .singlePost .btn-group .btn span {
        display: inline;
    }
}


/* REPLY FORM 
----------------------------------- */

#PreviousPosts {
	margin: 0 0 10px 0;
	border-bottom: 1px solid #EEE;
}



/* TOPIC LISTING VIEW 
----------------------------------- */
.topicList {
	border-collapse: collapse;
	width: 100%;
}
	.topicList tr th {
		background: #eee;
		border: 1px solid #c9c9c9;
		color: #888;
		padding: 5px;
		margin: 0;
		font-size: 1em;
		font-weight: bold;
	}
	.topicList tr {
		background: #fff;
	}
		.topicList tr.odd {
			background: #f5f5f5;
		}
		.topicList tr.stickyPost {
			background: #f8e7d3;
			border: 1px solid #e7ccad;
		}
	.topicList tr td {
		padding: 7px;
		font-size: 0.9em;
		border: 1px solid #e3e3e3;
		margin: 0;		
		vertical-align: top;
	}
		.topicList tr td.forumCategory {
			width: 60%;
		}
			.topicList tr td.forumCategory span.summary p,
			.topicList tr td.topicName p.summary {
				color:#777;
				margin: 0px;
			}
            .topicList tr td.forumCategory div.summary p {
                margin: 0;
            }
		.topicList tr td.topicName {
			width: 72%;
		}
		.topicList tr td.count {
			text-align: center;
			vertical-align: middle;
		}
        .topicList tr.category {
            display: none;
        }

		.topicList tr.category td {
			font-size: 14px;
			background: #6a6a6a;
			font-weight: bold;
			color: #fff;
		}
		.topicList tr td p.userInfo {
			color: #999;
			margin:0;
		}
		.topicList tr td a {
			
			text-decoration: none;
		}
			.topicList tr td a.topicTitle {
				font-weight: bold;
				display: block;
				margin-bottom: 4px;
                line-height: 1.2em;
			}
				.topicList tr td.lastPost a.topicTitle {
					font-size: 10px;
					margin: 0;
				}
                .topicList tr td.forumCategory a.topicTitle{
                    font-size: 1.2em;
                }

			.topicList tr td a:hover {
				text-decoration: underline;
			}
		.topicList .lastPost p {
			font-size: 0.75em;
			line-height: 1.5em;
		}

		.topicList .lastPost img {
			vertical-align: middle;
		}


/* CURRENTLY ONLINE
------------------------------------- */
#CurrentlyOnline {
	margin-top: 20px;

}
	#CurrentlyOnline strong {
		color: #0b6db4;
		font-size: 13px;
		margin-bottom: 6px;
		padding-right: 4px;
		font-weight: bold;
	}
	#CurrentlyOnline p {
		font-size: 11px;
		margin-bottom: 4px;
	}
		#CurrentlyOnline p a,
		#CurrentlyOnline span a {
			
		}
			#CurrentlyOnline p a:hover,
			#CurrentlyOnline span a:hover {
				text-decoration: none;
			}

/* USER PROFILES
------------------------------------ */
#UserProfile,
#MemberLatestPosts {
	margin-top: 20px;
	background: #f7fbfe;
	border-top: 5px solid #e1f0f7;
	border-bottom: 5px solid #e1f0f7;
	padding: 0 10px 0 20px;
}
	#UserProfile h2,
	#MemberLatestPosts h2 {
		color: #0b6db4;
		font-size: 1.7em;
		line-height: 2em;
		font-weight: bold;
		margin-bottom: 0;
	}
	#MemberLatestPosts ul {
		margin-top: 0;
	}
	#MemberLatestPosts ul li {
		font-size: 1.2em;
		padding: 0 0 5px 5px;
	}
	#UserProfile h3 {
		color: #0b6db4;
		font-size: 1.4em;
		line-height: 2em;
		font-weight: bold;
		margin-left: 5px;
	}
	#UserProfile div {
		clear: both;
	}
	#UserProfile label.left {
		font-weight: bold;
		width: 200px;
	}

	#UserProfile p.message {
		font-size: 1.2em;
		margin-left: 0;
	}
	#UserProfile p.readonly {
		border: 1px solid #c5c5c5;
		background: #f2f2f2;
		margin-left: 200px;
		padding: 5px;
	}
	#UserProfile input.text {
		font-size: 1.2em;
		color: #666;
		padding: 2px;
		width: 200px;
	}
	#UserProfile #Avatar .simpleimage {
		color: #666;
		padding: 0px;
		margin-bottom: 0px;
	}
	#UserProfile div.simpleimage input {
		padding: 2px;
		width: 200px;
		font-size: 1.4em;
		color: #666;
	}
	#UserProfile div.simpleimage img {
		float: left;
		margin: 10px 0px 0px 100px;
	}

	#UserProfile select {
		width: 208px;
		color: #666;
		font-size: 1.2em;
		padding: 1px;
	}
	#UserProfile span.readonly {
		font-size: 1.2em;
		color: #666;
	}

	#UserProfile .checkableoption {
		position: relative;
		width: 435px;
	}
	#UserProfile .checkableoption input.checkbox {
		position: absolute;
		top: 40px;
		right: 90px;
	}

#Form_ReplyForm {
	margin-bottom: 20px;
}

/* ATTACHMENTS
--------------------------------------------------- */

#Form_ReplyForm_AttachmentField_PostAttachment {
	height: 80px;
	border: none;
}
div.attachments {
	font-size: 1.2em;
	line-height: 2em;
}
div.attachments strong {
	line-height: 2em;
}
ul.attachmentList {
	border-top: 1px solid #ccc;
	padding-top: 15px;
	margin: 0;
}
#Posts li li.attachment {
	height: 60px;
	margin: 0px 15px 15px 0px;
	clear: none;
	border: none;
}
#Posts li li.attachment a img {
	margin-bottom: -7px;
}


/* BBCODE
----------------------------------------- */
ul.bbcodeExamples li {
	font-size: 1.2em;
	padding: 5px 0;
	border-bottom: 1px solid #ccc;
}
ul.bbcodeExamples li.last {
	border: none;
}
ul.bbcodeExamples li span.example {
	font-family: Courier New,Courier;
}
form .BBCodeHint {
	font-size: 1em;
	clear: both;
	text-align: center;
}
#BBTagsHolder.hide {
	display: none;
}
#BBTagsHolder.show {
	display: block;
}

/* Inside Post */
	div.postType p.code {
		margin: 0 !important;
	}
	div.postType div.code {
		padding: 5px;
		width: 500px;
		font-family: "Courier New",Courier;
		border-top: 1px solid #ccc;
		border-bottom: 1px solid #ccc;
	}
	div.postType div.code code,
	div.postType div.code code span {
		font-family: "Courier New",Courier;
}

/* CODE SNIPPET
---------------------------------- */


/* FORUM REGISTER
--------------------------------- */
#RegisterLogin p {
	text-align: right;
	float: right;
	margin: 0 0 4px 0;
}

#RegisterLogin img {
	border: none;
	vertical-align: middle;
}
#ForumContent p.Actions {
	text-align: right;
	margin-bottom: 10px;
}

/* OPENID STYLES
--------------------------------------- */

#Form_RegistrationWithOpenIDForm_OpenIDURL {
  background: url(../../sapphire/images/openid-small.gif) no-repeat;
  background-color: #fff;
  background-position: 0 50%;
  color: #000;
  padding-left: 18px !important;
  width: 284px;
}

#OpenIDDescription {
	position: absolute;
	display: none;
	left: 700px;
	border: 3px solid #e1f0f7;
	outline: 2px solid #bed6e1;
	padding: 5px;
	width: 320px;
	background-color: #FFFFFF;
}
	#OpenIDDescription.hide {
		display: none;
	}
	#OpenIDDescription span {
		float: right;
		font-size: 1.5em;
		font-weight: bold;
	}
	#OpenIDDescription h1 {
		clear: none;
		font-size: 2em;
		margin: 0;
		margin-bottom: 0.2em;
	}

/* ----------------------------
 MEMBERS/THREADS LIST STYLING
----------------------------- */

#SortThreadsBy .current {
	color: #999;
	text-decoration: none;	
}

#MembersList,
#ThreadsList {
	font-size: 11px;
	width: 100%;
	border-collapse: collapse;
}
	#MembersList tr,
	#ThreadsList tr {
		background: #fff;
	}
		#MembersList tr.odd,
		#ThreadsList tr.odd {
			background: #F5F5F5;
		}
			#MembersList tr td,
			#ThreadsList tr td {
				border: 1px solid #E3E3E3;
			}
		#MembersList tr:hover,
		#MembersList tr.odd:hover,
		#ThreadsList tr:hover,
		#ThreadsList tr.odd:hover {
			background: #e2f3fa;
			cursor: pointer;
		}
		#MembersList tr.head,
		#ThreadsList tr.head {
			background: none;
		}

	#MembersList th,
	#ThreadsList th {
		font-weight: bold;
		font-size: 11px;
		padding: 4px 4px;
	}
	#MembersList td,
	#ThreadsList td {
		padding: 5px;
	}
		#MembersList td.numericField,
		#ThreadsList td.numericField {
			text-align: center;
		}
	#ForumMembersPagination p,
	#ThreadsPagination p {
		text-align: center;
		font-size: 1.3em;
		margin-top: 1em;
	}
	
/* -------------------------------
 FORUM ADMIN FEATUES
-------------------------------- */

#ForumAdminFeatures {
	margin: 20px 0;
	padding: 20px;
	background: #f4f4f4;
	border: 1px solid #eee;
}
	#ForumAdminFeatures h3 {
		font-weight: bold;
		margin-bottom: 6px;
		font-size: 16px;
	}
	#ForumAdminFeatures label.left {
		font-weight: normal;
	}
/** Forum Admin Message **/
#ForumAdminMsg {
	display: block;
	width: 100%;
	font-size: 18px;
	font-weight: bold;
	color: #618252;
}

/* --------------------------
 CURRENT ATTACHMENT STYLING
--------------------------- */
#Attachment {
	width: 350px;
	float: left;
}
#CurrentAttachments {
	float: right;
	margin-top: 10px;
	width: 400px;
}
	#CurrentAttachments ul {
		margin-left: 0;
	}
		#CurrentAttachments li {
			
		}

/* ---------------------------
 * SIGNATURES
 * ------------------------- */
#Posts .signature {
	border-top: 1px solid #eee;
}
	#Posts .signature p {
		font-size: 10px;
		color: #888;
	}

/* ---------------------------
 * Manifestation header
 * ------------------------- */

#manifestation-review-header {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    margin: 0 0 20px 0;
}

#manifestation-review-header .cover-wrapper .title-rates,
#manifestation-review-header .cover-wrapper .title-actions {
	margin-top: 0.5em
}

#manifestation-review-header .main-author,
#manifestation-review-header .main-title {
    margin-top: 0; 
    margin-bottom: 5px;
}

#manifestation-review-header .main-title {
    font-weight: bold;
}

#manifestation-review-header .manifestation-review-right {
    overflow: hidden;
    line-height: 1.6em;
}

.postHeader {
    margin-bottom: 20px;
}

.post-data {
    padding: 7px 0;
}