﻿/*<meta />*/

.sidenav-wrapper
{
	display: none;
}

.body-container
{
	padding: 0px;
}

.off-canvas-wrapper-inner nav.title-bar .outer-row
{
	max-width: 100%;
	padding: 0;
	padding-left: 1em;
	padding-right: 12em;
}

div.topic-hero
{
	padding-top: 50px;
	padding-left: 50px;
	padding-right: 50px;
	padding-bottom: 75px;
	background: black;
}

div.topic-hero h1
{
	color: white;
	font-size: 24pt;
}

.search,
.search-bar
{
	width: 100%;
	position: relative;
	color: #DADADA;
	margin: 0 auto;
}

.search-bar._Skins_HomeSearchBar_24.mc-component
{
	display: block;
	width: 40em;
	height: 2em;
	margin-left: 0px;
	margin-top: 15px;
	margin-bottom: 0px;
}

.main-section > .outer-row
{
	padding-top: 0;
	padding-bottom: 0;
	max-width: 100%;
}

.off-canvas-wrapper-inner .outer-row	/*For the contours div to touch the sides*/
{
	padding-left: 0;
	padding-right: 0;
}

p.bold
{
	font-weight: bold;
	font-size: 16pt;
}

h1
{
	font-weight: normal;
}

div.footer
{
	width: 100%;
	margin: 0;
}

div.home-content
{
	padding-left: 20%;
	padding-right: 20%;
	margin-top: 2em;
}

div.HomeTiles	/*Used for the tiles on the Home page - 4 tiles per row*/
{
	mc-grid-row: true;
	margin-left: auto;
	margin-right: auto;
	mc-hidden: hidden;
}

div.HomeTiles::before
{
	content: ' ';
	display: table;
	mc-hidden: hidden;
}

div.HomeTiles::after
{
	content: ' ';
	display: table;
	clear: both;
	mc-hidden: hidden;
}

div.HomeTiles > div
{
	float: left;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	height: 200px;
	margin-bottom: 40px;
	text-align: center;
	mc-hidden: hidden;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

div.HomeTiles > div:hover
{
	border: 3px solid #000000;
}

div.HomeTiles p
{
	color: #000000;
	padding-top: 2rem;
	padding-left: 10px;
	padding-right: 10px;
	mc-hidden: hidden;
	font-size: 18px;
}

div.HomeTiles a
{
	text-decoration: none;
	mc-hidden: hidden;
}

div.HomeTiles > div > a
{
	display: block;
	padding: 0px;
	height: 200px;
	mc-hidden: hidden;
}

div.HomeTiles > div:nth-child(1)
{
	width: 22%;
	margin-left: 0%;
	mc-hidden: hidden;
}

div.HomeTiles > div:nth-child(2)
{
	width: 22%;
	margin-left: 4%;
	mc-hidden: hidden;
}

div.HomeTiles > div:nth-child(3)
{
	width: 22%;
	margin-left: 4%;
	mc-hidden: hidden;
}

div.HomeTiles > div:nth-child(4)
{
	width: 22%;
	margin-left: 4%;
	mc-hidden: hidden;
}

div.space	/* This is used for the tiles on the home page */
{
	padding-top: 30px;
	mc-hidden: hidden;
	color: black;
}

img.icon_big
{
	border: none;
	width: 3.5em;
	height: 3.5em;
}

.nav-search-wrapper
{
	display: none;
}

form.search
{
	border: 0px solid !important;
	border-color: black !important;
}

/* NEWS BOX IMPLEMENTATION START */

/* All News styles - place in skin stylesheet or AllNews topic stylesheet */

:root { --news-accent: #7f39f5; } /* keep if you use it elsewhere */

#news-box {
  max-width: 1200px; /* keep aligned with your tiles container or adjust */
  margin: 2.5rem auto;
  padding: 1.25rem;
  border-radius: 10px;
  background: #fbfbfc;
  box-shadow:
    0 22px 48px rgba(0,0,0,0.10),
    0 6px 20px rgba(0,0,0,0.06);
  overflow: visible;
  box-sizing: border-box;
}

/* layout: title, posts list */
#news-box .news-inner {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  gap: 0.75rem;
}

/* page title */
#news-box .news-title {
  margin: 0;
  font-size: 1.5rem;
  color: #222;
  font-weight: 700;
}

/* posts wrapper: no max-height so the page scrolls as normal */
#news-posts-wrap {
  width: 100%;
  overflow-y: visible;    /* allow page scroll instead of internal scroll */
  padding-right: 0;
  box-sizing: border-box;
  min-height: 200px;
}

/* stacked posts */
#news-posts {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding-right: 4px;
}

/* changed post background to light grey #ededed */
.news-post {
  display: block;
  background: #ededed;   /* <-- updated color */
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  box-shadow: 0 6px 14px rgba(0,0,0,0.03);
  text-decoration: none;
  color: inherit;
}

/* time, title, summary */
.news-post time {
  display: block;
  font-size: 0.82rem;
  color: #777;
  margin-bottom: 0.35rem;
}
.news-post .news-post-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111;
  text-decoration: none;
}
.news-post .news-post-summary {
  margin-top: 0.45rem;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.35;
}

/* small screens tweak */
@media (max-width: 900px) {
  #news-box { padding: 1rem; }
}



/* NEWS BOX IMPLEMENTATION END */



@media only screen and (max-width: 1279px)
{
	div.HomeTiles > div:nth-child(1)
	{
		width: 48%;
		margin-left: 0%;
		mc-hidden: hidden;
	}

	div.HomeTiles > div:nth-child(2)
	{
		width: 48%;
		margin-left: 4%;
		mc-hidden: hidden;
	}

	div.HomeTiles > div:nth-child(3)
	{
		width: 48%;
		margin-left: 0%;
		mc-hidden: hidden;
	}

	div.HomeTiles > div:nth-child(4)
	{
		width: 48%;
		margin-left: 4%;
		mc-hidden: hidden;
	}
}

@media only screen and (max-width: 767px)
{
	div.HomeTiles > div:nth-child(1)
	{
		width: 100%;
		margin-left: 0%;
		mc-hidden: hidden;
	}

	div.HomeTiles > div:nth-child(2)
	{
		width: 100%;
		margin-left: 0%;
		mc-hidden: hidden;
	}

	div.HomeTiles > div:nth-child(3)
	{
		width: 100%;
		margin-left: 0%;
		mc-hidden: hidden;
	}

	div.HomeTiles > div:nth-child(4)
	{
		width: 100%;
		margin-left: 0%;
		mc-hidden: hidden;
	}
}