/* Browser reset */

html,body,div,span,h1,h2,h3,h4,h5,h6,p,pre,a,img,b,u,i,ol,ul,li,form,label,table,tbody,tfoot,thead,tr,th,td,embed{margin:0;padding:0;border:0;font-size:100%;font:inherit;}
ol,ul{list-style:none;}
table{border-collapse:collapse;border-spacing:0;}
html{overflow-y:scroll;}
input,button,select,textarea{font:inherit;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}
.cf{zoom:1}.cf:before,.cf:after{content:'';display:table}.cf:after{clear:both}

/* Styles */

html		{ background-color: #e5e5e5; }
body 		{ font: 400 14px/1.5 'Roboto', sans-serif; color: #222; }
a 			{ color: #4078c0; text-decoration: none; }

header 			{ display: flex; justify-content: space-between; position: relative; z-index: 5; background: #000; height: 70px; line-height: 70px; padding: 0 40px; }
header .logo 	{ margin-right: 24px; }
header .logo img 	{ vertical-align: middle; }

header nav			{ flex-grow: 1; font-weight: 700; -webkit-font-smoothing: antialiased; }
header nav span 	{ position: relative; }
header nav a 		{ color: #fff; text-decoration: none; display: inline-block; margin: 0 10px; padding: 0 5px; position: relative; }
header nav a:after 	{ content: ''; position: absolute; opacity: 0; height: 3px; bottom: 16px; left: 1px; right: 1px; background: green; }

header nav a.active:after,
header nav a:hover:after 		{ opacity: 1; }

header nav .dropdown 			{ position: absolute; display: none; line-height: 40px; left: 0; white-space: nowrap; z-index: 10; }
header nav .dropdown a 			{ display: block; background: rgba(0,0,0,0.6); border-top: 1px solid rgba(255,255,255,.4); padding: 0 20px; }
header nav .dropdown a:hover 	{ background: #000; }
header nav .dropdown a:after 	{ height: 100%; width: 5px; left: 1px; right: auto; bottom: auto; }

header nav span:hover .dropdown { display: block; }

header .search 				{ color: white; position: relative; margin-right: 20px; }
header .search input 		{ line-height: 32px; border: none; background: rgba(255,255,255,0.3); padding: 0 34px 0 10px; border-radius: 3px; width: 240px; }
header .search button 		{ line-height: 32px; border: none; background: transparent; padding: 0 8px; position: absolute; right: 0; top: 50%; margin-top: -16px; }
header .mobile-display 		{ display: none; }

header .account 				{ color: white; display: flex; }
header .account > a 			{ margin-left: 20px; }
header .account .icon a 		{ margin-top: 16px; position: relative; padding: 22px; background: transparent no-repeat center; }
header .account .icon a:hover 	{ color: #fff; }
header .account .icon.replies a 	{ background-image: url(/images/head-replies.png); }
header .account .icon.messages a 	{ background-image: url(/images/head-message.png); }
header .account .icon .alert-blob	{ background: #d9534f; padding: 3px 6px 4px; color: #fff; font-size: 11px; border-radius: 10px; line-height: 1; position: absolute; top: 8px; right: 1px; }


ul.submenu 					{ position: absolute; z-index: 9; border: 1px solid #c0c0c0; box-shadow: 0 0 8px rgba(0,0,0,.2); font-size: 14px; border-radius: 1px; }
ul.submenu li 				{ display: block; border-top: 1px solid #fff; border-bottom: 1px solid #c1c1c1; white-space: nowrap; background: #f6f6f6; }
ul.submenu li a 			{ display: block; padding: 7px 34px 6px 18px; text-decoration: none; }
ul.submenu li a:hover 		{ background-color: #f6f6f6; }
ul.submenu li.fertile 		{ position: relative; }
ul.submenu li.fertile:after { content: ''; position: absolute; width: 0; height: 0; top: 12px; right: 12px; border: 6px solid transparent; border-right: none; border-left: 6px solid #444; pointer-events: none; }
ul.submenu li:last-child 	{ border-bottom: none; }

footer 				{ background: #000; padding: 40px 10px; color: #777; }
footer section 		{ display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
footer section > div { width: 33%; }
footer .links 		{ line-height: 1.8; }
footer .info 		{ text-align: center; font-size: 13px; }
footer .info img 	{ display: block; margin: 0 auto 8px; opacity: .5; }
footer .social 		{ text-align: right; }

#content 		{ min-height: 840px; }

/* -- */

a.add 		{ position: absolute; right: 15px; top: -14px; background: #4a8af1; border-radius: 50%; padding: 0; line-height: 40px; width: 40px; font-size: 32px; text-align: center; text-decoration: none; }
a.add 		{ box-shadow: 0 2px 4px 0 rgba(0,0,0,0.24); }
a.add:hover { box-shadow: 0 4px 6px 0 rgba(0,0,0,0.40); transform: translateY(-2px); }
a.add:after { content: '+'; font-weight: 300; color: #fff; -webkit-font-smoothing: antialiased; }

h1 a.back 			{ text-decoration: none; color: #999; position: absolute; left: -5px; padding: 0 12px; }
h1 a.back:hover 	{ color: #333; }

.top-cover 				{ position: relative; height: 240px; background: #000; background-size: cover; display: flex; align-items: flex-end; }
.top-cover svg			{ position: absolute; top: 0; }
.top-cover .title 		{ position: relative; width: 100%; max-width: 1100px; margin: 0 auto; }
.top-cover .title h1 	{ color: #fff; font-size: 32px; margin: 0 37px 68px; }
.top-cover + section 	{ margin-top: -40px !important; }

section 			{ max-width: 1100px; width: calc(100% - 40px); position: relative; margin: 0 auto 20px; }
section > h1 		{ font-size: 32px; padding: 24px 36px 16px; color: #333; }
section article 	{ padding: 40px; background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,.1); margin-bottom: 20px; }

section.static a.edit 	{ position: absolute; right: 8px; top: 4px; color: #888; font-size: 24px; }

section.form 			{ max-width: 1100px; position: relative; margin: 0 auto 20px; }
section.form h1 		{ font-size: 32px; padding: 24px 36px 16px; color: #333; }
section.form form,
section.form .form 		{ padding: 40px; background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,.1); margin-bottom: 20px; position: relative; }

section.half 			{ max-width: 550px; }
section.half.narrowed 	{ max-width: 450px; }
section.half.widened 	{ max-width: 800px; }

section.full 						{ max-width: inherit; width: auto; position: static; padding: 40px 40px 40px 240px; }
section.full > nav 					{ position: absolute; top: 0; left: 0; z-index: 2; padding-top: 69px; width: 200px; background: #fff; border-right: 0px solid #ccc; min-height: calc(100vh - 70px); }
section.full > nav span.heading 	{ display: block; font-size: 14px; letter-spacing: 1px; text-align: center; padding: 12px 10px 8px; margin: 0; color: #bbb; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; border-bottom: 1px solid #eee; }
section.full > nav a 				{ display: block; padding: 0 12px; color: #555; border-bottom: 0px solid #eee; line-height: 38px; }
section.full > nav a.selected 		{ color: #c53928; font-weight: bold; position: relative; /* border-right: 4px solid #c53928; */ }
section.full > nav a.selected:after { content: ''; position: absolute; right: 0; top: 11px; border: 8px solid transparent; border-right-color: #e5e5e5; }
section.full > nav a:hover 			{ background-color: rgba(0,0,0,0.05); }
section.full > nav a span 			{ background: #bbb; padding: 3px 6px 4px; color: #fff; font-weight: normal; font-size: 11px; border-radius: 10px; line-height: 1; margin-left: 6px; float: right; margin-top: 10px; }
section.full > nav a span.alert 	{ background: #d9534f; }
section.full h1 					{ padding-top: 0; padding-left: 0; }

section.return		{ margin-bottom: 0; line-height: 32px; font-size: 12px; }
section.return i 	{ margin-right: 4px; }
section.return a:hover 	{ text-decoration: underline; }

article.nav 					{ padding-top: 0; position: relative; }
article.nav > nav 				{ position: relative; margin: 0 -40px 40px; padding: 0 20px; top: 0; border-bottom: 1px solid #ccc; background: #fff; }
article.nav > nav a 			{ display: inline-block; padding: 11px 12px 6px; margin-right: 12px; border-bottom: 3px solid transparent; text-decoration: none; }
article.nav > nav a:hover 		{ border-bottom-color: #08c; font-weight: bold; }
article.nav > nav a.selected 	{ border-bottom-color: #08c; font-weight: bold; }
article.nav .tab 				{ display: none; }
article.nav .tab h2:first-child { margin-top: 0; }

article.infobox 		{ width: 50%; margin: 0 auto 20px; font-size: 14px; }

.grid 					{ display: flex; margin: 0 -10px 20px; }
.grid article 			{ margin: 0 10px; flex: 1 1 50%; }
.grid article.ad 		{ min-width: 336px; flex-basis: 336px; padding: 1px; display: flex; align-items: center; }

form.main h2 			{ margin-bottom: 20px; font-size: 20px; }
form.main label 		{ display: block; margin: 0 0 20px; font-size: 13px; color: #999; }
form.main input,
form.main textarea 		{ width: 100%; border: 1px solid #ccc; padding: 6px 8px; margin: 2px 0 0; font-size: 14px; }
form.main input::placeholder,
form.main textarea::placeholder { color: #aaa; font-size: 12px; }
form.main textarea.md 	{ font-family: 'Roboto Mono', monospace; }
form.main .checkbox 	{ line-height: 22px; }
form.main .checkbox input { width: auto; margin: 0 4px; }
form.main button 		{ background: #008000; border: none; padding: 0 38px; color: #fff; border-radius: 3px; font-size: 16px; }
form.main .submit 		{ display: flex; justify-content: flex-end; line-height: 40px; }
form.main .submit * 	{ flex-grow: 1; }
form.main .help-block 	{ color: #b00; margin-top: 3px; }
form.main span.info 	{ font-size: 12px; position: relative; top: -18px; left: 7px; color: #008000; opacity: 0.7;}
form.main.half 			{ width: 50%; }

article 				{ font-size: 15px; }
article h1 				{ font-size: 32px; margin: 40px 0 20px; border-bottom: 1px solid #eee; }
article h2 				{ font-size: 24px; margin: 40px 0 20px; border-bottom: 1px solid #eee; }
article h3 				{ font-size: 20px; margin: 40px 0 16px; font-weight: 700; }
article h4 				{ margin: 25px 0 10px; font-weight: 700; }
article h5 				{ font-weight: 700; }
article p 				{ margin-bottom: 18px; }
article blockquote 		{ border-left: 5px solid #ccc; padding: 8px 20px; margin: 0 0 18px; }
article blockquote p:last-child { margin-bottom: 0; }
article code 			{ font-family: 'Roboto Mono', monospace; background: #f0f0f0; padding: 1px 6px; border-radius: 3px; }
article pre 			{ background: #f7f7f7; padding: 10px 20px; border-radius: 3px; margin: 0 0 18px; overflow: auto; }
article pre code 		{ background: inherit; padding: 0; border-radius: 0; }
article ul 				{ list-style: disc; margin-left: 32px; }
article ul li 			{ padding-left: 0px; margin-bottom: 2px; }

article > *:first-child 	{ margin-top: 0; }

/* -- */

.message 		{ position: relative; padding: 8px 15px; margin-bottom: 20px; border-radius: 4px; background-color: #e8e8e8; border: 1px solid #aaa; font-size: 13px; }
.message.alert 		{ color: #b94a48; background-color: #f2dede; border-color: #dba2aa; }
.message.success 	{ color: #3c763d; background-color: #dff0d8; border-color: #70bc51; }
.message.notice 	{ color: #195675; background-color: #d9edf7; border-color: #2a94c9; }
.message.info 		{ display: block; color: #3c763d; background-color: #dff0d8; border-color: #70bc51; margin: 24px 0 -12px; text-align: center; font-size: 12px; }
.message span 		{ font-size: 20px; line-height: 1; position: absolute; right: 0px; top: 0px; padding: 7px 14px; opacity: .3; color: #000; }
.message span:hover 	{ opacity: 1; }

.table-stats 	 	{ width: 100%; background: #f6f6f6; box-shadow: 0 0 12px rgba(0,0,0,.1); border: 1px solid #ccc; font-size: 14px; }
.table-stats th 	{ text-align: left; font-weight: bold; }
.table-stats th 	{ padding: 5px 8px; }
.table-stats td 	{ padding: 12px 8px; }
.table-stats td 	{ border-top: 1px solid #ccc; }

.table-links tr 		{ cursor: pointer; }
.table-links tr:hover td 	{ background: #e9e9e9; }
.table-links tr:hover td:first-child a 	{ text-decoration: underline; }

.official-blog 			{ position: relative;background-color: #393939;color: #fff;padding: 64px 18px 6px;border-radius: 12px;font-size: 15px;/* word-break: break-word; */}
.official-blog ul 		{ margin-left: 24px; margin-bottom: 1.5em; color: #a8d16e; }
.official-blog ul li 	{ margin-bottom: 7px; line-height: 1.22; }
.official-blog ol 		{ margin-left: 24px; margin-bottom: 1.5em; color: #a8d16e; }
.official-blog ol li 	{ margin-bottom: 7px; line-height: 1.22; }
.official-blog hr 		{ border: 0; height: 1px; background-color: #fff; margin: 0 0 1.5em; }
.official-blog img 		{ max-width: 100%; margin: 20px 0; }
.official-blog a 		{ color: #74aac9; }
.official-blog h2 		{ margin: 0 0 32px; border-bottom: 0; }
.official-blog h2 a 	{ text-decoration: none; -webkit-font-smoothing: antialiased; }
.official-blog h3 		{ font-size: 18px; margin-bottom: .25em; }
.official-blog iframe 	{ display: block; margin: 0 auto 1.5em; }
.official-blog p.image 	{ text-align: center; }
.official-blog pre 		{ font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif; }
.official-blog pre 		{ background: #eee; color: #000; border-radius: 4px; box-shadow: inset 0 0 18px rgba(0,0,0,.08); padding: 10px; margin-bottom: 12px; }
.official-blog blockquote { font-style: italic; }

.official-blog div.top 		{ position: absolute; top: 17px; left: 62px; right: 20px; font-size: 13px; color: #74aac9; border-bottom: 1px solid #666; line-height: 30px; }
.official-blog div.top a 	{ color: #74aac9; margin-left: 2px; }
.official-blog div.top span 	{ float: right; }
.official-blog div.top h2 	{ margin: 0; padding: 0 !important; float: left; }
.official-blog:before 		{ content: '“'; position: absolute; font-size: 100px; top: -12px; left: 12px; font-family: helvetica; }
.official-blog.more 		{ padding: 18px 36px; text-align: right; font-size: 17px; }
.official-blog.more:before 	{ content: ''; }
.official-blog .comments 	{ text-align: right; }

/*.official-blog-list  		{ margin-top: 48px; }*/
.official-blog-list a 		{ display: block; line-height: 32px; border-bottom: 1px solid #ccc; padding: 0 8px; text-decoration: none; font-size: 14px; }
.official-blog-list a:hover { background-color: #f8f8f8; }
.official-blog-list a span 	{ float: right; color: #aaa; font-size: 12px; }

@media all and (max-width: 1140px) {
	header nav a 			{ margin: 0 5px; }
	header .search input 	{ width: 180px; }
}

@media all and (max-width: 1000px) {
	header 					{ padding: 0 20px; }
	header nav a 			{ margin: 0 2px; font-size: 12px; }
}

@media all and (max-width: 870px) {
	header					{ height: 50px; line-height: 50px; }
	header .logo img 		{ max-height: 36px; }
	header .account 		{ flex-grow: 1; text-align: right; margin-left: 0; }
	header nav 				{ display: none; position: absolute; left: 0; right: 0; top: 50px; border-bottom: 1px solid #ccc; z-index: 8; }
	header nav.active 		{ display: block; }
	header nav a 			{ display: block; background: #444; border-top: 1px solid #ccc; line-height: 40px; margin: 0; padding: 0 16px; font-size: 14px; }
	header nav a:after 		{ bottom: 0; left: 0; right: auto; top: 0; height: auto; width: 4px; }
	header .mobile-display 	{ display: block; color: #ccc; padding: 0 12px; margin-left: 32px; cursor: pointer; }
	header .search 			{ display: none; }
}

@media all and (max-width: 800px) {
	.mob-hidden 			{ display: none !important; }
	.mob-break 				{ display: block; }

	section article 		{ padding: 20px; }
	article.nav > nav 		{ margin: 0 -20px 20px; }

	section.full 			{ padding: 20px; }
	section.full > nav 		{ position: relative; padding-top: 0; width: auto; min-height: auto; margin-bottom: 20px; }
	section.full > nav a 	{ border-bottom: 1px solid #e5e5e5; }

	.mods-list .list .mod .info  { padding-right: 8px !important; }
	.mods-list .list .mod .approval { display: none; }
}
