/* === Integrated site CSS (sanitized for phpBB navbar) === */
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  color: #ca0000;
  text-decoration: none;
}

a:hover {
  color: #5faee3;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

/*--------------------------------------------------------------
# Site-Header
--------------------------------------------------------------*/
#nepsiteheader {
  height: 70px;
  transition: all 0.5s;
  z-index: 997;
  transition: all 0.5s;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#nepsiteheader .nepsitelogo h1 {
  font-size: 28px;
  margin: 0;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000000;
}

#nepsiteheader .nepsitelogo h1 a,
#nepsiteheader .nepsitelogo h1 a:hover {
  color: #384046;
  text-decoration: none;
}

#nepsiteheader .nepsitelogo img {
  max-height: 50px;
  vertical-align: middle;
}

/*--------------------------------------------------------------
# Header Social Links
--------------------------------------------------------------*/
.nep-header-social-links {
  margin: 0 0 0 30px;
}

.nep-header-social-links a {
  color: #9ba6af;
  padding-left: 8px;
  display: inline-block;
  line-height: 0px;
  transition: 0.3s;
}

.nep-header-social-links a i {
  line-height: 0;
}

.nep-header-social-links a:hover {
  color: #ca0000;
}

@media (max-width: 768px) {
  .nep-header-social-links {
    margin: 0 15px 0 0;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.nep-navbar {
  padding: 0;}

.nep-navbar ul {
  margin: 0;
  padding: 0;
  list-style: none;}

.nep-navbar li {}

.nep-navbar a,
.nep-navbar a:focus {
  padding: 10px 0 10px 30px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #4f5a62;
  white-space: nowrap;
  transition: 0.3s;}

.nep-navbar a i,
.nep-navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;}

.nep-navbar a:hover,
.nep-navbar .active,
.nep-navbar .active:focus,
.nep-navbar li:hover>a {
  color: #ca0000;}

.nep-navbar .dropdown ul {
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;}

.nep-navbar .dropdown ul li {
  min-width: 200px;}

.nep-navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 400;
  color: #21262a;}

.nep-navbar .dropdown ul a i {
  font-size: 12px;}

.nep-navbar .dropdown ul a:hover,
.nep-navbar .dropdown ul .active:hover,
.nep-navbar .dropdown ul li:hover>a {
  color: #ca0000;}

.nep-navbar .dropdown:hover>ul {
  opacity: 1;
  visibility: visible;}

.nep-navbar .dropdown .dropdown ul {
  visibility: hidden;}

.nep-navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  visibility: visible;}

@media (max-width: 1366px) {
  .nep-navbar .dropdown .dropdown ul {
  }

  .nep-navbar .dropdown .dropdown:hover>ul {
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #384046;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
  }
}

.nep-navbar-mobile {
  background: rgba(33, 38, 42, 0.9);
  transition: 0.3s;
  z-index: 999;}

.nep-navbar-mobile .mobile-nav-toggle {}

.nep-navbar-mobile ul {
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;}

.nep-navbar-mobile a,
.nep-navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #384046;}

.nep-navbar-mobile a:hover,
.nep-navbar-mobile .active,
.nep-navbar-mobile li:hover>a {
  color: #ca0000;}

.nep-navbar-mobile .getstarted,
.nep-navbar-mobile .getstarted:focus {
  margin: 15px;}

.nep-navbar-mobile .dropdown ul {
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);}

.nep-navbar-mobile .dropdown ul li {
  min-width: 200px;}

.nep-navbar-mobile .dropdown ul a {
  padding: 10px 20px;}

.nep-navbar-mobile .dropdown ul a i {
  font-size: 12px;}

.nep-navbar-mobile .dropdown ul a:hover,
.nep-navbar-mobile .dropdown ul .active:hover,
.nep-navbar-mobile .dropdown ul li:hover>a {
  color: #ca0000;}

.nep-navbar-mobile .dropdown>.dropdown-active {}



/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#nep-footer {
  color: #444444;
  font-size: 14px;
  background: #f7f7f7;
}

#nep-footer .nep-footer-top {
  padding: 60px 0 30px 0;
  background: #000;
}

#nep-footer .nep-footer-top .nep-footer-contact {
  margin-bottom: 30px;
}

#nep-footer .nep-footer-top .nep-footer-contact h4 {
  font-size: 22px;
  margin: 0 0 30px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#nep-footer .nep-footer-top .nep-footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #777777;
}

#nep-footer .nep-footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #444444;
  position: relative;
  padding-bottom: 12px;
}

#nep-footer .nep-footer-top .nep-footer-links {
  margin-bottom: 30px;
}

#nep-footer .nep-footer-top .nep-footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#nep-footer .nep-footer-top .nep-footer-links ul i {
  padding-right: 2px;
  color: #ca0000;
  font-size: 18px;
  line-height: 1;
}

#nep-footer .nep-footer-top .nep-footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#nep-footer .nep-footer-top .nep-footer-links ul li:first-child {
  padding-top: 0;
}

#nep-footer .nep-footer-top .nep-footer-links ul a {
  color: #777777;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#nep-footer .nep-footer-top .nep-footer-links ul a:hover {
  text-decoration: none;
  color: #ca0000;
}

#nep-footer .nep-footer-newsletter {
  font-size: 15px;
}

#nep-footer .nep-footer-newsletter h4 {
  font-size: 16px;
  font-weight: bold;
  color: #444444;
  position: relative;
  padding-bottom: 12px;
}

#nep-footer .nep-footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
  text-align: left;
  border: 1px solid #b6daf2;
}

#nep-footer .nep-footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
}

#nep-footer .nep-footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px 2px 20px;
  background: #ca0000;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#nep-footer .nep-footer-newsletter form input[type=submit]:hover {
  background: #57aae1;
}

#nep-footer .credits {
  padding-top: 5px;
  font-size: 13px;
  color: #444444;
}

#nep-footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #ca0000;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#nep-footer .social-links a:hover {
  background: #5faee3;
  color: #fff;
  text-decoration: none;
}

/*--------------------------------------------------------------
# Spacer
--------------------------------------------------------------*/
.spacer {
  margin-top: 70px;
}

@media (max-width: 768px) {
  .spacer .d-flex {
    display: block !important;
  }
}

/*--------------------------------------------------------------
# Spacer Grey
--------------------------------------------------------------*/
.spacer2 {
  background: #f7f7f7;
  margin-top: 70px;
}

@media (max-width: 768px) {
  .spacer2 .d-flex {
    display: block !important;
  }
}




/* ===== NEP custom tweaks (center top menu, transparent breadcrumb bar, spacing, colors) ===== */
.phpbb-navbar .nav-main.center-main {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.phpbb-navbar .nav-main.center-main .rightside { float: none; }
.phpbb-navbar .nav-main.center-main > li { float: none; }

/* Breadcrumb/search bar: blend with background */
.phpbb-navbar.phpbb-breadcrumbs {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Remove stray left margin on forum blocks (non-destructive) */
#page-body .forabg, #page-body .forumbg { margin-left: 0 !important; }
#page-body .panel { margin-left: 0; }

/* Smaller headers for "Who is online" / "Statistics" */
#page-body .stat-block h3,
#page-body .online-list h3,
#page-body .stat-block .inner > h3 {
  font-size: 1.05rem;
  font-weight: 600;
}

/* Extra breathing room before footer */
#wrap { padding-bottom: 24px; }
#page-body .forabg, #page-body .forumbg { margin-bottom: 24px; }

/* Brand link colours inside forum content */
#page-body a { color: #ca0000; }
#page-body a:hover, #page-body a:focus { color: #5faee3; }

@media (max-width: 700px){
  .phpbb-navbar .nav-main.center-main { gap: 10px; flex-wrap: wrap; }
}


/* ===== NEP fixes: forum title colours, buttons, navbar icon spacing ===== */

/* Forum index/forumlist titles readable on light rows */
#page-body a.forumtitle { color: #2f3b45; }
#page-body a.forumtitle:hover { color: #ca0000; text-decoration: none; }

/* Category header links (inside dark red bars) stay white for contrast */
.forabg .header a, .forumbg .header a { color: #fff !important; }

/* Buttons readable on all backgrounds */
.button, .button1, .button2, a.button,
input.button1, input.button2 {
  background-color: #ca0000;
  color: #fff !important;
  border-color: #b10000;
}
.button:hover, .button1:hover, .button2:hover, a.button:hover,
input.button1:hover, input.button2:hover {
  background-color: #b10000;
  border-color: #980000;
}

/* Top grey menu icons spacing */
.phpbb-navbar .nav-main.center-main li > a {
  display: inline-flex; align-items: center; gap: 6px;
}
.phpbb-navbar .nav-main.center-main i.bi { font-size: 0.95em; }

/* Kill the left/right gutter on forum lists */
.forabg .inner,
.forumbg .inner {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.forabg .inner > ul.topiclist,
.forumbg .inner > ul.topiclist {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.forabg .inner > ul.topiclist > li.row,
.forumbg .inner > ul.topiclist > li.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-left: none !important;
  border-right: none !important;
}

/* Forum titles: red like brand */
a.forumtitle,
a.forumtitle:link,
a.forumtitle:visited {
  color: #ca0000 !important;
  font-weight: 600;
  text-decoration: none;
}

a.forumtitle:hover,
a.forumtitle:focus {
  color: #5faee3 !important; /* same hover blue as elsewhere */
  text-decoration: none;
}

/* Optional: topic titles inside a forum too */
a.topictitle,
a.topictitle:link,
a.topictitle:visited {
  color: #ca0000 !important;
}

a.topictitle:hover,
a.topictitle:focus {
  color: #5faee3 !important;
}

/* ========== Section headers (Who is online, Statistics) ========== */
#page-body .stat-block h3,
#page-body .online-list h3,
#page-body .stat-block .inner > h3,
#page-body .panel h3 {
  color: #fff !important;              /* white text */
  text-transform: uppercase;
  font-weight: 600;
}

/* ========== Forum / Topic titles hover colour (no blue) ========== */
a.forumtitle:hover,
a.forumtitle:focus,
a.topictitle:hover,
a.topictitle:focus {
  color: #b30000 !important;           /* darker red on hover */
  text-decoration: underline;          /* subtle cue without blue */
}

/* ========== General link hover colour override ========== */
#page-body a:hover,
#page-body a:focus {
  color: #b30000 !important;           /* unify hover across forum area */
}

/* Center the top grey navbar */
.navbar .inner { 
	text-align: center;
}

.navbar .inner > ul.linklist {
	display: inline-flex;
	align-items: center;
	gap: 18px;            /* tweak spacing to taste */
	padding: 6px 0;       /* keep the grey bar height comfy */
}

/* Keep icons aligned nicely */
.navbar .linklist a .icon { 
	margin-right: 6px; 
}

/* Make sure it stays centered on small screens too */
@media (max-width: 700px) {
	.navbar .inner > ul.linklist { gap: 12px; }
}

/* ===== Center the top phpBB navbar ===== */

/* Center the entire nav horizontally */
.phpbb-navbar-container .inner {
  display: flex;
  justify-content: center;     /* centers contents */
  align-items: center;
}

/* Make sure the UL behaves nicely inside the flex container */
.phpbb-navbar-container .inner > ul.nav-main,
.phpbb-navbar-container .inner > ul.linklist {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;             /* keeps it neat on smaller screens */
  gap: 18px;                   /* control spacing between links */
  margin: 0;
  padding: 6px 0;
  list-style: none;
}

/* Optional: tighten up the icon/text alignment */
.phpbb-navbar-container .inner i.icon {
  margin-right: 4px;
  font-size: 0.95em;
}

/* Optional: responsive tweak for smaller viewports */
@media (max-width: 768px) {
  .phpbb-navbar-container .inner > ul.nav-main,
  .phpbb-navbar-container .inner > ul.linklist {
    gap: 12px;
  }
}