/*
// ------------------------------------
// Global settings
// ------------------------------------
*/
html, body, div, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, ol, jul, jli, form, fieldset, legend, label, jtable, header, footer, nav, section, jtr, td
{ 
	margin: 0; 
	padding: 0;
	border: 0;
}

html
{
	background-color:rgb(255,255,255);
	height:100%;
	min-height:100%;
	
	line-height:1.2;
	font-weight:normal;
	font-family:intel-clear, sans-serif;
	color:rgb(128,128,128);
	/* text-shadow: 0 0px 0 #ffffff; */	/* required to turn off text-shadow added by jQuery CSS */
}

body
{
	/* These aren't needed if we set the content to use "100vh" */
	jheight:100%;	/* If you set this, it will force content to "overflow"' the body. Not sure which use case would require it. */
	min-height:100%;
}

.noScript
{
	padding-top:1em;
	width:960px;
	margin:auto;
	color:#000000;	
}

#preloadContent
{
	padding:2em;
	text-align:center;
}

/*
#scriptContent
{
	background-color:#ffffff;
	color:#444444;
}
*/

a
{
	/* text-decoration: none; */
	color:inherit;
}
/*
Including this causes anchor tag button rollovers to darken.
a:hover, a:focus
{
	jcolor:#008dd4;
	color:inherit;
	jtext-decoration:underline;
}
*/
.acg a.url
{
	word-break:break-word;	/* iOS long URLs don't break at hyphens or slashes */
}

img
{
	/*
	On iOS, this setting prevents images from showing if the container has no size (like a table cell with nothing other than an image)
	max-width: 100%;
	*/
	height: auto;
	border: 0;
	outline: 0;
}

svg
{
	pointer-events: none;
}

.acg
{
	background-color:rgb(255,255,255);
	color:rgb(128,128,128);
	line-height:1.2;
	min-height:100%;
	jmin-height:calc(100vh - 321px);	/* Forces our content to take up the whole viewport if the content is small (148 = 85 (header) + 236 (footer) */
}

/*
// Note: This caused a problem with the AcgOnScroll library since <p> tags using it would get wrapped, become "last", and therefore have no margin between.
.acg p:not(:last-child)
{
	margin-bottom:1em;
}
*/
.acg p
{
	margin-bottom:1em;
}

/*
This has been causing problems with items created with <li> that aren't actually HTML lists (like menu items)
*/
/*
.acg ul
{
	list-style-type:disc;
	margin:1em 0 1em 1em;
	list-style:outside;
}
.acg li:not(:last-child)
{
	margin-bottom:0.5em;
}
*/

.acg-vertical-center-container
{
	display:table;
	width:100%;
	height:100%;
	box-sizing:border-box;
}

.acg-vertical-center-content
{
	display:table-cell;
	vertical-align:middle;
}

body.noscroll
{
    position: fixed; 
    overflow-y: scroll;
    width: 100%;
}

/*
The following CSS changes the appearance of the scrollbar shown when content overflows.
Note that by including ".acg", we are only changing the scrollbars within the ACG content (like "popups") which generally benefits from a smaller scrollbar.
If you remove the ".acg", then the browser scrollbar will also be affected.
*/
/*
.acg ::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
    height: 7px;
    jbackground-color: rgba(0,255,0,.8);
}
.acg ::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(255,255,255,.5);
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}
*/