/* New code for new things */

/* Base Colour */
#feature_header {
	content: "";
    width: 100%;
	height: 100%;
	position: absolute;
	pointer-events: none;
    top: 0;
    left: 0;
	z-index: -1;
}

.top_bar {
	position: relative;
	z-index: 3;
}


.headerbar {
	position: relative;
	z-index: 1;
}

#nav_container {
}

ul#nav-main > li > a, ul#nav-main > li > div > a {
	text-transform: uppercase;
	letter-spacing: 1px;
}

.main_container {
	position: relative;
	z-index: 99;
}

canvas {
	position: relative;
	z-index: 1;
}

.inner-wrap {
}

.inner-wrap:after {
  content: '';
  display: table;
  clear: both;
}



.sub-forumlist ul {
	float: left;
	list-style-type: none;
	margin-right: 20px !important;
	margin-left: 0px !important;
}

.sub-forumlist li {
	line-height: 1.5em;
}

body.force_rounded_avatars span.lastpostavatar img.avatar {
    border-radius: 25px;
}

.viewtopic_wrapper .phpbb-ads-center {
	padding: 15px;
	background: none;
}

/* Navbar top */
.navbar, .forabg, .forumbg, .rules {
	-webkit-box-shadow: 0px 13px 10px -8px rgba(0,0,0,0.14);
	-moz-box-shadow: 0px 13px 10px -8px rgba(0,0,0,0.14);
	box-shadow: 0px 13px 10px -8px rgba(0,0,0,0.14);
}

.top_bar ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}


.top_bar li a {
  display: block;
  text-decoration: none;
  color: #FFFFFF;
  border-top: 2px solid transparent;
  padding: 15px 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.top_bar .logo {
  display: block;
  float: left;
  font-size: 2em;
  padding: 10px 20px;
  text-decoration: none;
}

/* menu */

.top_bar .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

.top_bar .menu:after {
  content: '';
  display: table;
  clear: both;
}

.top_bar {
	overflow: hidden;
}
/* menu icon */

.top_bar .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: left;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

.top_bar .menu-icon .navicon {
  background: #FFFFFF;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.top_bar .menu-icon .navicon:before,
.top_bar .menu-icon .navicon:after {
  background: #FFFFFF;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.top_bar .menu-icon .navicon:before {
  top: 5px;
}

.top_bar .menu-icon .navicon:after {
  top: -5px;
}

.top_bar .menu-btn {
  display: none;
}

.top_bar .menu-btn:checked ~ .menu {
  max-height: 500px;
}

.top_bar .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.top_bar .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.top_bar .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.top_bar .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.top_bar .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

@media (min-width: 767px) {
  .top_bar li {
    float: left;
  }
  .top_bar li a {
    padding: 16px 15px;
  }
  .top_bar .menu {
    clear: both;
    float: left;
    max-height: none;
  }
  .top_bar .menu-icon {
    display: none;
  }
}


a.header-avatar span {
	color: #FFFFFF !important;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Header Social Icons */

/* Forum IDs */
.forum_id {
	display: block;
	float: left;
	letter-spacing: -0.5px;
	margin-right: 10px;
	position: absolute;
	left: 0;
	top: 0;
	padding: 20px 0;
	width: 56px;
	text-align: center;
}

/* Category Desc */
.category_desc {
	text-transform: none;
}

/* Horizontrol Viewtopic (taken from responsive.css) */

body.postprofile_horizontal .postbody {
	position: inherit;
	float: none !important;
}

body.postprofile_horizontal .postprofile, body.postprofile_horizontal .postbody, body.postprofile_horizontal .search .postbody {
	display: block;
	width: auto;
	float: none;
	padding: 0;
	min-height: 0;
	text-align: left;
}

body.postprofile_horizontal .post .postprofile {
	width: auto;
	border-width: 0 0 1px 0;
	padding-bottom: 20px;
	margin: 0;
	margin-bottom: 5px;
	min-height: 40px;
	overflow: hidden;
	float: none;
}

body.postprofile_horizontal .postprofile dd {
	display: none;
}

body.postprofile_horizontal .postprofile dt, body.postprofile_horizontal .postprofile dd.profile-rank, body.postprofile_horizontal .search .postprofile dd {
	display: block;
	margin: 0;
}

body.postprofile_horizontal .postprofile .has-avatar .avatar-container {
	margin: 0;
	overflow: inherit;
}

body.postprofile_horizontal .postprofile .avatar-container:after {
	clear: none;
}

body.postprofile_horizontal .postprofile .avatar {
	margin: 0 5px 0 0px;
	float: left;
}

body.postprofile_horizontal .postprofile .avatar img {
	width: auto !important;
	height: auto !important;
	max-height: 32px;
}

body.postprofile_horizontal .has-profile .postbody h3 {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.postprofile_horizontal .has-profile .post-buttons {
	right: 30px;
	top: 15px;
}

body.postprofile_horizontal .online {
	background-size: 40px;
}

/* ------- Index stats ------- */
.stat-block.statistics {
	text-align: center;
	padding: 20px 0;
	text-transform: uppercase;
	letter-spacing: 1px;
}


/* ------- Custom Scrollbar ------- */
::-webkit-scrollbar {
  width: 8px;
}



/* Enhanced Support for Board Announcements */
#phpbb_announcement {
	border-radius: 0 !important;
	padding: 20px !important;
	font-size: 1em !important;
	margin-bottom: 20px !important;
	margin-top: 0px !important;
}



/* ------- Forum & Topic Icons (Pulsing) ------- */
dl.row-item {
	background-image: none;
}

.forums .row-item:before, .topics .row-item:before, .pmlist .row-item:before, .cplist .row-item:before {
	font-family: FontAwesome;
	text-align: center;
	position: absolute;
	left: 15px;
	top: 7px;
	width: 32px;
	height: 32px;
	line-height: 32px;
	font-size: 22px;
	opacity: 0.3;
}

/* Increase opacity for unreads, add gradient */
.global_unread:before, .global_unread_mine:before, .global_unread_locked:before, .global_unread_locked_mine:before, .announce_unread:before, .announce_unread_mine:before, .announce_unread_locked:before, .announce_unread_locked_mine:before, .forum_unread:before, .forum_unread_locked:before, .forum_unread_subforum:before, .sticky_unread:before, .sticky_unread_mine:before, .sticky_unread_locked:before, .sticky_unread_locked_mine:before, .pm_unread:before, .topic_unread:before, .topic_unread_mine:before, .topic_unread_hot:before, .topic_unread_hot_mine:before, .topic_unread_locked:before, .topic_unread_locked_mine:before, .global_unread_mine:after, .global_unread_locked_mine:after, .announce_unread_mine:after, .announce_unread_locked_mine:after, .sticky_unread_mine:after, .sticky_unread_locked_mine:after, .topic_unread_mine:after, .topic_unread_hot_mine:after, .topic_unread_locked_mine:after {
	opacity: 1 !important;
}

/* Spotted topics */
.global_read_mine:after, .global_read_locked_mine:after, .global_unread_mine:after, .global_unread_locked_mine:after, .announce_read_mine:after, .announce_read_locked_mine:after, .announce_unread_mine:after, .announce_unread_locked_mine:after, .sticky_read_mine:after, .sticky_read_locked_mine:after, .sticky_unread_mine:after, .sticky_unread_locked_mine:after, .topic_read_mine:after, .topic_read_hot_mine:after, .topic_unread_mine:after, .topic_unread_hot_mine:after, .topic_read_locked_mine:after, .topic_unread_locked_mine:after {
	position: absolute;
	top: 9px;
	left: 40px;
	font-family: FontAwesome;
	content: "\f111";
	font-size: 4px;
	width: 6px;
	height: 6px;
	border-radius: 6px;
	opacity: 0.3;
}

/* Adjustments for weirdly sized icons */
/* Nudge the speech bubble up a few pixels */
.topic_read:before, .topic_read_mine:before, .topic_read_hot:before, .topic_read_hot_mine:before, .topic_unread:before, .topic_unread_mine:before, .topic_unread_hot:before, .topic_unread_hot_mine:before {
	line-height: 28px !important;
}

/* External link left and down */
.forum_link:before {
	line-height: 0 !important;
	width: 30px !important;
	height: 15px !important;
	padding: 16px 0 1px 2px;
}

/* Set the icons */							/* Megaphone */
.global_read:before							{content: "\f0a1";}
.global_read_mine:before					{content: "\f0a1";}
.global_read_locked:before					{content: "\f0a1";}
.global_read_locked_mine:before				{content: "\f0a1";}
.global_unread:before						{content: "\f0a1";}
.global_unread_mine:before					{content: "\f0a1";}
.global_unread_locked:before				{content: "\f0a1";}
.global_unread_locked_mine:before			{content: "\f0a1";}
											/* Megaphone */
.announce_read:before						{content: "\f0a1";}
.announce_read_mine:before					{content: "\f0a1";}
.announce_read_locked:before				{content: "\f0a1";}
.announce_read_locked_mine:before			{content: "\f0a1";}
.announce_unread:before						{content: "\f0a1";}
.announce_unread_mine:before				{content: "\f0a1";}
.announce_unread_locked:before				{content: "\f0a1";}
.announce_unread_locked_mine:before			{content: "\f0a1";}
											/* External link */
.forum_link:before							{content: "\f08e";}
											/* Chevron */
.forum_read:before							{content: "\f054";}
.forum_read_subforum:before					{content: "\f054";}
.forum_unread:before						{content: "\f054";}
.forum_unread_subforum:before				{content: "\f054";}
											/* Pin */
.sticky_read:before							{content: "\f08d";}
.sticky_read_mine:before					{content: "\f08d";}
.sticky_read_locked:before					{content: "\f08d";}
.sticky_read_locked_mine:before				{content: "\f08d";}
.sticky_unread:before						{content: "\f08d";}
.sticky_unread_mine:before					{content: "\f08d";}
.sticky_unread_locked:before				{content: "\f08d";}
.sticky_unread_locked_mine:before			{content: "\f08d";}
											/* Right arrow */
.topic_moved:before							{content: "\f061";}
											/* Envelope */
.pm_read:before 							{content: "\f0e0";}
.pm_unread:before 							{content: "\f0e0";}
											/* Chevron */
.topic_read:before							{content: "\f054";}
.topic_read_mine:before						{content: "\f054";}
.topic_read_hot:before						{content: "\f054";}
.topic_read_hot_mine:before					{content: "\f054";}
.topic_unread:before						{content: "\f054";}
.topic_unread_mine:before					{content: "\f054";}
.topic_unread_hot:before					{content: "\f054";}
.topic_unread_hot_mine:before				{content: "\f054";}
											/* Padlock */
.forum_read_locked:before					{content: "\f023";}
.forum_unread_locked:before					{content: "\f023";}
.topic_read_locked:before					{content: "\f023";}
.topic_read_locked_mine:before				{content: "\f023";}
.topic_unread_locked:before					{content: "\f023";}
.topic_unread_locked_mine:before			{content: "\f023";}



/* ------- Subforums & Moderators ------- */
a.subforum, .forumlist_mods a {
	display: inline-block !important;
	margin-bottom: 5px;
	background: rgba(0,0,0,.13);
	padding: 5px 12px 5px 30px;
}

a.subforum:hover, .forumlist_mods a:hover {
	text-decoration: none !important;
	background: rgba(0,0,0,.2);
}

a.subforum i, .forumlist_mods a i {
	margin-right: 5px;
	margin-left: -23px;
	padding: 5px 4px;
	position: absolute;
	font-size: 10px;
	border-radius: 50%;
}
