.body {
	color: #444;
	font-size: 15px;
}

a {  
	color: #1256b7; 
 	text-decoration: none !important;
        -webkit-transition: all 125ms ease-out;
           -moz-transition: all 125ms ease-out;
                -ms-transition: all 125ms ease-out;
                 -o-transition: all 125ms ease-out;
                        transition: all 125ms ease-out;
}
a:hover { color: #cc6600; }

.Item .Title, .Item .Title a { color: #444; white-space: normal; } 
.Item .Title:hover, .Item .Title a:hover { color: #cc6600; } 

h1, h2, h3, h4, h5, h6 { 
	color: #000;
}

.navbar-default .navbar-toggle .icon-bar {
	background-color: #fff;
}

.navbar {
	position: fixed;
	top: 0;
	height: 50px;
	width: 100%;
	border: 0;
	box-shadow: 0 4px 2px -2px rgba(0,0,0,0.16);
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
	border: 0 !important;
}

.navbar, .navbar-xs, .MeBox, .navbar-nav, .Flyout {
	background-color: #161d27 !important;
}


.navbar a { color: #fff !important; }
.navbar a:hover { color: #94aecb !important; }


.CategoryHeading { 
	background-color: #161d27 !important;
}

.Flyout a { color: #fff !important; }
.Flyout a:hover { color: #94aecb !important; background-color: #161d27; }
.Flyout li:hover { background-color: #161d27; }

.navbar-toggle { background-color: #161D27 !important; border: 0; }
.icon-bar { color: #fff !important; }

.Popup h1 { 
	background-color: #161D27;
	color: #fff; 
}

.ButtonGroup, .ProfileOptions { background-color: #161D27; color: #fff; border-radius: .5em;}
.ButtonGroup a, .ProfileOptions a { color: #fff; padding: .5em; }
.ButtonGroup a:hover, .ProfileOptions a:hover { color: #94aecb; }

.MeBox .MenuItems, .MeBox .FlyoutMenu { color: #fff; }
.FlyoutMenu .Item { border: 0; }
.Flyout hr { color: #000; background-color: rgba( 255, 255, 255, .15) !important; margin: inherit .5em; border: 0; height: 1px; }
.Flyout a:hover { background-color: #161D27 !important; }
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>li>.Selected, .navbar-default .navbar-nav>li>.Selected:hover, .navbar-default .navbar-nav>li>.Selected:focus, .navbar-default .MeBox .Open .FlyoutButton, .navbar-default .MeBox .Open .FlyoutButton:hover, .navbar-default .MeBox .Open .FlyoutButton:focus {
	color: #94aecb !important;
	background-color: #161d27;
}

.H, .HomepageTitle, .PageTitle {
	border-bottom: 0 !important;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus, .FilterMenu .Active>a, .FilterMenu .Active>a:hover, .FilterMenu .Active>a:focus {
	background-color: #161d27;
}

.panel-default>.panel-heading, .MessageList .Item-Header, .MessageList.Conversation .Meta, .CategoryBox .H, .CategoryGroup .H {
	background-color: #161d27;
	color: #fff; 
}

.panel-default>.panel-heading a, .MessageList .Item-Header a, .MessageList.Conversation .Meta a, .CategoryBox .H a, .CategoryGroup .H a {
	color: #fff;
} 
.panel-default>.panel-heading a:hover, .MessageList .Item-Header a:hover, .MessageList.Conversation .Meta a:hover, .CategoryBox .H a:hover, 
.CategoryGroup .H a:hover {
	color: #cc6600;
	text-decoration: none;
} 

.label-default, .Tag, .Item .Meta .MItem.Category a { background-color: #94aecb; }

.Button {
        padding: 3px 8px 4px 8px;
        font-family: "HelveticaNeue", "Helvetica Neue", "Segoe UI", "Helvetica", "Arial", "Sans Serif";
        text-decoration: none;
        text-align: center;
        -webkit-border-radius: 4px;
           -moz-border-radius: 4px;
                -ms-border-radius: 4px;
                 -o-border-radius: 4px;
                        border-radius: 4px;
}

blockquote, .Blockquote,  blockquote.Quote {
	font-size: 1em !important;
	border-bottom: 1px solid #ddd;
}

.Button {
	background-color: #161D27;
	border: 1px solid #161D27;
	color: #fff;
}

.Button.Primary, .Label.Primary, .Button.Action2, .ButtonGroup.Action {
	border: 0;
        background: -webkit-gradient(linear, left top, left bottom, from(#515a62), to(#252d35)) !important;
        background: -moz-linear-gradient(top, #515a62, #252d35) !important;
        background: -o-linear-gradient(top, #515a62, #252d35) !important;
        background: linear-gradient(to bottom, #515a62, #252d35) !important;
        text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.75) !important;
        -webkit-box-shadow: inset 0 1px 8px rgba(0, 0, 0, 0.15) !important;
           -moz-box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.15) !important;
                -ms-box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.15) !important;
                 -o-box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.15) !important;
                        box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.15) !important;

}

.Button:hover { 
	background-color: #94aecb;
	border: 1px solid #94aecb;
	color: #fff;
}



.Button a:hover { 
	color: #fff;
}

.Button.Primary:hover {
	border: 0;
        color: rgba(255, 255, 255, 1.0) !important;
        text-shadow: 0 1px 1px rgba(0, 0, 0, 0.6) !important;
        background: -webkit-gradient(linear, left top, left bottom, from(#727f8a), to(#5e666c)) !important;
        background: -moz-linear-gradient(top, #727f8a, #5e666c) !important;
        background: -o-linear-gradient(top, #727f8a, #5e666c) !important;
        background: linear-gradient(to bottom, #727f8a, #5e666c) !important;
        -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
           -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
                -ms-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
                 -o-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
                        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;

}
.DiscussionHeader span { color: #; }
.Message img { margin: .5em auto; max-height: 500px; width: auto; }
.breadcrumb, .Breadcrumbs { background-color: #fff; }

.BodyBox { min-height: 20em; }

.Reactions > * {
	visibility: visible !important;
}

.page-content {
	display: block; 
	clear: both;
	float: none;
	width: 100%;
}


/* Addons */
span.PostNum { color: #fff; }
span.PostNum a { color:#fff; }
span.PostNum a:hover { color:#fff; }

.PostCount { font-size: .9em; } 
.Close span { color: #fff; }
.Note.Closed { background-color: #fff !important; color: #444; }
.Note.Closed a { color: #1256b7 !important; }
.Note.Closed a:hover { color: #cc6600 !important; }

/* Footer */
.page-footer { color: inherit; background-color: #fff; border: 0; text-align: center; padding: 0; }

#return-top, #return-top a { 
	color: #94aecb;
	padding: 1em;
	margin: 2em 0;
	border-radius: 50%;
	background-color: #fff !important;
	opacity: .8;
}

#return-top:hover, #return-top a:hover { 
	background-color: #94aecb !important;
	color: #fff;
	opacity: 1;
}

.CommentHeader .MItem a { color: #fff !important; }

.NumberedPager .Highlight { 
	background-color: #161D27;
	border: 1px solid #161d27;
}

.NumberedPager .Highlight:hover {
	background-color: #94aecb;
	border: 1px solid #94aecb;
}

.pagination>li>a, .pagination>li>span, .NumberedPager>a, .NumberedPager>span, .NumberedPager>div {
	border: 1px solid #e7e7e7;
}

.navbar { margin-bottom: 0; }

#OnlineNow { clear: both; display: block; width: 100%; }

.Alert, .Count { background-color: #94aecb !important; }

/* Yaga Reaction thumbnails */
.UserReactionWrap { display: none !important; } /* Hide them, too much clutter. */

.ReactButton.Quote { float: right; }

.token-input-token { background-color: #161D27; }
.token-input-token p { vertical-align: middle; }
.token-input-token:hover { background-color: #94adce; }
.token-input-delete-token { color: #a55a55; opacity: 1; text-shadow: none; padding: .25em;}
.dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus, .atwho-view .cur, .atwho-view .cur:hover, .token-input-dropdown .token-input-selected-dropdown-item, .ac_results .token-input-selected-dropdown-item, .token-input-dropdown .token-input-selected-dropdown-item:hover, .ac_results .token-input-selected-dropdown-item:hover {
	background-color: #121D27;
}

.MItem.RoleTitle { display: block; }

.MItem.CommentFlag { }
.MItem.IPAddress { display: none; }
.Arrow.SpFlyoutHandle { color: #fff; padding: 0 .5em; padding-right: 0; }
.Arrow.SpFlyoutHandle:hover { color: #94adce; }

.Categories .Options { display: none !important; }

.text-muted, .Gloss, .OptionsMenu .SpFlyoutHandle, .Item .Meta, .Conversation .Item .MItem, .Item .Meta a, .Conversation .Item .MItem a, .Item .AuthorInfo, .ActionBlock {
	color: #fff;
}

#search-container { margin-top: 50px; }


/* User Profile Page navigation */ 
ul.nav li { display: inline-block; border-radius: .5em;  }
ul.nav { text-align: center; }


/* Category and Disucssion Psges Redesign */ 
.cat-name { color: #fff; font-size: 1.5em; }
.cat-desc { display: block; color: #fff; }

.tc-wrap { display: table; width: 100%; }
.tc { display: table-cell;  vertical-align: middle; }
.tc.Category, .tc.PostInfo { width: 60%; text-align: left; border-right: 1px solid #e7e7e7; }
.tc.Totals { width: auto; text-align: center; padding: 0 .5em; vertical-align: middle; }
.tc.LastReply { width: 30%; text-align: left; padding-left: 1em; border-left: 1px solid #e7e7e7;}

.cat-photo-wrap img { max-width: 100px; }

.tc.Category .cat-desc { color: #888; }
.tc-sm { display: block; font-size: .9em; }

.tc-count { font-size: 1.5em; font-weight: bold; }
.cat-children { font-weight: normal; clear: both; margin: .5em 0; }
.cat-link { font-size: 1.5em !important; line-height: 1.5em !important; }

.last-post-photo { float: left; margin: .5em 1em; border-radius: 50%; max-width: 50px; }

.light { color: #999; }

.tc.Totals.Discussion { font-size: .7em;  }
.tc.Totals.Discussion .tc-count { font-weight: normal; }

.Title.Discussion a{ font-size: 1.2em; }

.tc.LastReply.Discussion img { height: 50%; max-height: 25px; font-size: .5em;}
p.lastReplyDate { clear: both;}
p.lastReplyUser { margin-top: 5px; }

/* File Upload Dialog box */
.editor-file-image .file-drop {
	border: 1px dashed rgba( 255, 255, 255, .3 ); 
	color: #fff;
}

.file-or { color: #fff; }

/*
.editor-action { background-color: #121D26; color: #fff; border-radius: .5em; }
.editor-action:hover { background-color: #94adce !important; color: #444; border-radius: .5em !important; } */

/*
.DataList.ChildCategoryList li { 
	display: inline-block; border: 0; margin: 0: padding: 0; border-right: 1px solid #e7e7e7; 
	background-color: #121D26;
	color #fff;
	border-radius: none;
}
.DataList.ChildCategoryList li:hover { 
	background-color: #94adce;

}

.DataList.ChildCategoryList li a { color: #fff; 	border-radius: none; }
.DataList.ChildCategoryList li:last-child { border: none; } */

.MessageList .Item-Header .PhotoWrap, .MessageList.Conversation .Meta .PhotoWrap{
        position: static;
        top: auto;
        left: auto;
        border-radius: 50%;  
}

.MessageForm.CommentForm.FormTitleWrapper { width: 100%; margin-left: 0; }
.Item.ItemDiscussion, .Item.ItemComment { width: 100%; margin-left: 0; }

/* Ebmed on site */
.EmbedCommentForm {
	width: 100% !important;
	margin: 0 !important;
	border-bottom: 0;
	box-shadow: none;
	padding-bottom: 2em;
}
.EmbedCommentForm #Form_Comment .Buttons { background-color: #fff !important; border-top: 0; margin-top: 0; }
.EmbedCommentForm #Form_PostComment { margin-top: 1em; }

.ProfilePhoto, .ProfilePhotoMedium { border-radius: 50%; }

.RoleTitle{ color:#AAA !important; }
.PostCount{ color:#AAA !important; }

.edit-profile-panel .UserBox { display: none !important; }
.edit-profile-panel .PanelInfo { border-bottom: 1px solid #e7e7e7; margin: 1em 0; padding-bottom: 1em;  }
.edit-profile-panel .PanelInfo li { display: inline-block; border: 0; margin-bottom: 1em; border: 0 !important; }
.edit-profile-panel .PanelInfo li a { background-color: #121D26; color: #aaa; border-radius: none !important; border: 0 !important; border-radius: .5em !important;  }
.edit-profile-panel .PanelInfo li a:hover { color: #fff; background-color: #94adce; border: 0 !important; }
.edit-profile-panel .PanelInfo li.Active a { color: #fff; border: 0 !important; }

#OnlineNow { display: none; /*Not active on prod?*/ }

.ProfileOptions { padding: .5em; }

li.Unread .Title.Discussion a { font-weight: bold !important; }

/* Hide badges on side panels */
#Badges.PanelColumn { display: none !important; }

/* This will (mostly, some unintended side effects, fix later) stop quote blocks from hugging any followup text so hard */
.Message>:last-child { margin-bottom: 1em !important; }

/* Breakpoint is 768, this is offset by 1px to get the image srhink in for ipad portrait mode */
@media (max-width: 767px) {
        /* Navbar */
        .nav.navbar-nav { padding: 0; margin: 0; width: 100%; border-bottom: 1px solid rgba( 255, 255, 255, .2 ); }
        .navbar-collapse { padding: 0; }

        /* Categoires and Discussions */
        .tc-wrap { display: block; width: 100%; }
        .tc { display: block;  clear: both; vertical-align: middle; }
        .tc.Category, .tc.PostInfo { width: auto; text-align: left; border: 0; border-bottom: 1px solid #e7e7e7; }
        .tc.Totals { display: inline-block; width: auto; text-align: center; float: right; padding-top: .5em; border-left: 1px solid #e7e7e7; }
        .tc.LastReply { display: inline-block; width: auto; text-align: left; border: none; padding-left: 0;  padding-top: .5em;  }
        .last-post-photo { display: none; }
        .Comment { width: 100% !important; }
        .CommentFormWrap .Author { display: none; }
		.navbar-brand img { max-width: 85px; height: auto; }
}

/* Mobile (Phone) Collapse */
@media (max-width: 320px) {
        .tc.Totals { width: 100%; float: none; border: 0; border-right: 1px solid #e7e7e7: text-align: left; }
        .tc.LastReply a { white-space: normal; }
		.tc.LastReply { display: none; }
        .MessageForm, .CommentForm, .FormTitleWrapper { border: none; }
        .Form-Body { padding: 0 !important; }
        #Form_Comment .Buttons { background-color: #fff !important; border-top: 0; margin-top: 0; }
		.ReactButton { margin-bottom: .25em; }

        h1 { font-size: 1.5em; }
		.PostMeta { margin: .5em 0; }
}


@media (max-width: 480px) {
	.edit-profile-panel .PanelInfo li { display: block;  }
	.edit-profile-panel .PanelInfo li a { background-color: #fff; color: #1256b7; border-bottom: 1px solid #e7e7e7 !important; border-radius: none; }
	.edit-profile-panel .PanelInfo li a:hover { color: #cc6600; background-color: #fff; border-bottom: 1px solid #e7e7e7 !important; }
	.edit-profile-panel .PanelInfo li.Active a { color: #121D26; border: 0 !important; }
}

.IndexPhoto img { margin-right: .5em; margin-bottom: .5em; }

.Video, .VideoPlayer, .VideoPreview, .VideoWrap { margin: 0 auto; }
.tc-count.light { display: none; }
.tc-count { font-size: 1.6em; }


.Reactions { background-color: #f3f3f3; padding: 1em; border-radius: .5em; }
.ReactButton { 
	color: #111; 
	background-color: rgba( 255, 255, 255, .5); 
	padding: .5em; 
	border-radius: .5em; 
	font-size: 12px; 
	margin-right: 1em; 
	padding-right: 1em; 
	border: 1px solid #cecece; 
	border-bottom: 1px solid #ccc; 
	box-shadow: 0px 1px 1px #ddd;
}

.ReactButton:hover {
	background-color: rgba( 255, 255, 255, 1 );
}

.CommentLastUpdated { 
	display: block; 
	color: #666;
	margin: 1em 0;
}

.Author { font-size: 1.5em; text-transform: capitalize; }
.AuthorInfo { display:block; margin-left: 60px; }
.PostNum { color: #fff; }
.RoleTitle { text-transform: capitalize; }


/* Hide Post X of Y on mobile since it doesn't really fit. */
@media (max-width: 480px) {
	.PostNum { visibility: hidden; }
}

@media (max-width: 320px) {
	.PostNum { visibility: hidden; }
}

.Count { 
	color: #111;
	background-color: rgba( 255, 255, 255, .5);
	background: none !important;
	font-size: 1em !important;
	margin-right: 0 !important;
	padding: 3px 5px;
}


/* Emphasis for cetain roles on the fourms */
.RoleTitle.administrator, .RoleTitle.editor, .RoleTitle.moderator {
	border-radius: .5em;
	width: 98px;
	text-align: center;
	margin: 0;
	padding: 0;
	color: #fff !important;
}

.RoleTitle.administrator { background-color: #9D0A0E; }
.RoleTitle.editor { background-color: #FA023C; }
.RoleTitle.moderator { background-color: #ED991C; }


#search-results { margin-top: 2em; }

#SearchInput, #Form_Search { width: 90% !important; padding: .5em !important; margin: 1em 0; }
#SearchButton, #Form_Search1 { float: right; margin-top: .3em; padding: .5em !important; }
#Form_Search1 { margin-top: -3.4em; }

#SearchMenu {
        display: block;
        float: none !important;
        margin-top: 2em;
}

#SearchDropdown {
        width: auto;
}

#SphinxResults .ProfilePhotoSmall {
	width: 20px;
	height: 20px;
	float: left; 
}

#SphinxResults .Title a {
	font-size: 1.1em;
	font-weight: bold;
}

.Reactions { 
	overflow: auto;
}

/* Most people are members, probablky not worth displaying and will free up some vertical space */
.MItem.RoleTitle.member {
	display: none;
}

