@import url("../../prosilver/theme/stylesheet.css");

/*
---------------------------------------------------------
Custom icons
--------------------------------------------------------- */

.forum_unread,
.forum_unread_subforum {
  background-image: url("./images/forum_unread.gif") !important;
  background-repeat: no-repeat;
  background-position: left center;   /* adjust if needed */
}

/*
---------------------------------------------------------
Below are overrides from colours.css
--------------------------------------------------------- */


/*
--------------------------------------------------------------
Colours and backgrounds for common.css
-------------------------------------------------------------- */

html, body {
	color: #536482;
	background-color: #000000;
}


/* Round cornered boxes and backgrounds
---------------------------------------- */

.wrap {
	background-color: #000000;
	border-color: #000000;
}

.headerbar {
	color: #FFFFFF;
}

.site_logo {
	background-image: url("./images/site_logo.gif");
}

.forumbg {
  background-color: #969696 !important;
  background-image: none !important;
  background-repeat: no-repeat !important;
}

.forabg {
  background-color: #969696 !important;
  background-image: none !important;
  background-repeat: no-repeat !important;
}

.headerbar {
  background-color: #000000 !important;
  background-image: none !important;
  background-repeat: no-repeat !important;
}



/* Search box
--------------------------------------------- */

.search-results li:hover,
.search-results li.active { background-color: #1a1a1a !important; }  /* dark gray */


/* Profile & navigation icons */

.phpbb_googleplus-icon				{ background-position: -140px 0; }



/*
---------------------------------------------------------
Below are overrides from commons.css
--------------------------------------------------------- */


/* Main blocks
---------------------------------------- */

.wrap {
	border: 1px solid transparent;
	border-radius: 8px;
	margin: 0 auto;
	padding: 15px;

/*	max-width: none !important;
	min-width: 625px;  */

        /* responsive sizing */
        width: 100%;
        max-width: 1152px;      /* keeps content nicely centered on desktop */
        min-width: 0;           /* allow narrow phones without forcing zoom */

}

.site_logo {
	width: 219px;
	height: 252px;
}


/* Pagination
---------------------------------------- */

.row .pagination {
  margin-top: -12px !important;  /* your old tweak */
  margin-bottom: 0 !important;   /* cancel prosilver's 3px */
}


/* Miscellaneous styles
---------------------------------------- */

.copyright {
  text-align: center !important;
  padding: 5px !important;         /* prosilver sets 10px */
  font-size: inherit !important;   /* cancels prosilver's 10px */
}

/* TBU: neutralize prosilver's footer-row styling */
.footer-row {
  font-size: inherit !important;   /* cancels prosilver's 10px */
  line-height: inherit !important; /* cancels 1.8 if you don't want it */
  margin: 0 !important;            /* removes extra spacing */
  padding: 0 !important;           /* just in case */
  background: transparent !important;
  border: 0 !important;
}

@media (min-width: 1200px) {
  .wrap { max-width: 1280px; }   /* was 1152px */
}
@media (min-width: 1600px) {
  .wrap { max-width: none; }   /* bump again on very wide screens */
}
/* Kill tiny horizontal bleed on phones */
@media (max-width: 768px) {
  html, body { overflow-x: clip; }  /* better than hidden on iOS 17+ */
  .wrap { max-width: 100% !important; }

  /* If any header/footer used 100vw, force it to 100% */
  #page-header, #page-footer, .headerbar, .navbar, .navbar ul, .footerbar {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Common wide offenders */
  img, iframe, video { max-width: 100% !important; height: auto !important; }
  .postbody .content { overflow-wrap: anywhere; word-break: break-word; }
  .postbody table { display: block; width: 100%; max-width: 100%; overflow-x: auto; }
  .codebox pre, .postbody pre, .codebox code { white-space: pre-wrap; word-break: break-word; }
}

/* Make widths include padding so 100% + padding doesn't overflow */
*, *::before, *::after { box-sizing: border-box; }

