body
{
	padding: 0;
	margin: 0;
	font-family: arial;
	font-size: 11pt;
	color: #000000;
	background-color: #f7f1e8;
	overflow-x: hidden;
}

h1, h2, h3, h4
{
	text-align: center;
  margin: auto;
}

h1
{
	font-size: 20pt;
	padding: 10px 0px 10px 0px;
}

h2
{
	font-size: 16pt;
	margin-top: 10px;
  margin-bottom: 20px;
}

h3
{
	font-size: 12pt;
	margin-top: 10px;
  margin-bottom: 20px;
}

h6
{
	margin: 0;
	padding: 0;
	clear: both;
}

.Header h4
{
	font-size: 40pt;
	font-weight: 500;
	padding-top: 20pt;
}
.Hidden
{
	display: none;
}

.Header, .Footer
{
	width: 100%;
	background-color: #660000;
	color: #c3a774;
}

.Header
{
	height: 124px;
}

.Footer
{
	height: 150px;
}

.Header .Highlight
{
	height: 124px;
	width: 942px;
  margin-left: auto;
  margin-right: auto;
	background: url("/Graphics/Header-Highlight.jpg");
	background-repeat: no-repeat;
	
}

.Footer .Highlight
{
	height: 124px;
	width: 942px;
  margin-left: auto;
  margin-right: auto;
	background: url("/Graphics/Footer-Highlight.jpg");
	background-repeat: no-repeat;
}


.Footer .TextContainer
{
	position: relative;
	top: -110px;
	width: 940px;
	margin-left: auto;
	margin-right: auto;
}

.Footer .Text
{
	float: left;
	width: 450px;
	height: 100px;
	margin-left: auto;
	margin-right: auto;
	font-size: 11pt;
	border-style: solid;
	border-color: #ffffff;
	border-width: 0 0 0 1px;
	padding-top: 5px;
	padding-left: 15px;
}

.Footer p
{
	margin: 0 0 3px 0;
}

.Footer a, .Footer a:active, .Footer a:visited, .Footer a:hover
{
	color: #c3a774;
	text-decoration: none;
}

.Footer a:hover
{
	text-decoration: underline;
}

.Footer .IconBar
{
	position: relative;
	top: 5px;
	left: 200px;
}

.Footer .IconBar img
{
	padding-left: 5px;
}


.Container
{
	background: url("/Graphics/Home-Content.jpg");
	background-repeat: no-repeat;
	background-color: #f7f1e8;
	background-size: 100%;
	min-height: 780px;
}

.Content
{
	width: 75%;
	min-height: 780px;
	margin-right: auto;
	margin-left: auto;
}

.Content .Spacer
{
	width: 75%;
	height: 30px;
}

.Content .InnerPage
{
	clear: both;
	padding: 0;
	width: 100%;
	min-width: 800px;
	min-height: 700px;
	color: #000000;
	background: url("/Graphics/Blue-swoosh.png");
	background-repeat: no-repeat;
	background-size: 100%;
	background-color: #ffffff;
	-webkit-box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.2);
}

.Content .InnerPage h1
{
	color: #ffffff;
	background-color: #003366;
}

.Content .InnerPage.MainSDS
{
	background-color: #ffffff;
}

.MainSDS .BuildingList
{
	width: 35%;
	float: left;
	min-height: 700px;
	padding-left: 25px;
	padding-right: 10px;
	background-color: #003366;
	margin-bottom: 0;
}

.MainSDS .BuildingList,
.MainSDS .BuildingList h2
{
	color: #ffffff;
}

.MainSDS .BuildingList ul
{
	padding-left: 25px;
}

.MainSDS .BuildingList ul.Site
{
	list-style-type: none;
	padding: 0;
	margin-bottom: 20px;
}

.MainSDS .BuildingList ul.Buildings,
.MainSDS .BuildingList ul.DeptList
{
	list-style-type: disc;
}

.MainSDS .BuildingList .SDSDepotLogo
{
	min-width: 270px;
	max-width: 470px;
	min-height: 200px;
	margin: 0 0 0 10;
	background: url("/Graphics/SDSDepotW.png");
	background-size: 75% 150px;
	background-repeat: no-repeat;
}

.MainSDS .SDSList
{
	padding: 15px;
	width: 65%;
	min-height: 700px;
	max-height: 700px;
	overflow: auto;
	background-color: #ffffff;
}

.MainSDS .SDSList .Top
{
	width: 100%;
	height: 30px;
}

.MainSDS .SDSList .Top .Filter
{
	float: left;
	width: 200px;
}

.MainSDS .SDSList .Top .Export
{
	float: right;
	width: 95px;
}

.MainSDS .SDSList input[name=Search]
{
	width: 275px;
	height: 30px;
}

.MainSDS table.SDSTable
{
	clear: both;
	width: 100%;
	border-width: 1px;
	border-color: #000000;
	border-style: solid;
	-webkit-box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.2);
}

.MainSDS .SDSTable thead tr
{
	background-color: #003366;
}

.MainSDS .SDSTable thead th
{
	text-align: center;
	color: #ffffff;
}

.MainSDS .SDSTable tbody tr:nth-child(odd)
{
	background-color: #f8f1e9;
}

.MainSDS .SDSTable tbody tr:nth-child(even)
{
	background-color: #dae8fb;
}

.MainSDS .SDSTable tbody tr:hover
{
	background-color: #5b9bd5;
}

.MainSDS .SDSTable .header
{
	min-width: 75px;
}

.MainSDS .SDSTable thead th,
.MainSDS .SDSTable tbody td
{
	height: 30px;
	vertical-align: middle;
	padding-left: 5px;
	border-color: #000000;
	border-style: solid;
	border-width: 0 1px 0;
}

/* ---------------------------------------------------------------- Screen sizes
   One set of pages for phones, tablets and computers (this replaces the separate mobile site).
   1200px and wider keeps the layout above unchanged; narrower screens use the rules below. */

.MainSDS .SiteName .Menu
{
	display: none;
}

/* Tablets and smaller computer windows: let the page shrink instead of running off the right side */
@media (max-width: 1199px)
{
	.Header
	{
		height: auto;
	}

	.Header .Highlight
	{
		width: 100%;
		height: auto;
		min-height: 124px;
		background-position: center top;
	}

	.Header h4
	{
		margin: 0;
		padding: 30px 10px;
		font-size: 32pt;
	}

	.Content
	{
		width: 96%;
	}

	.Content .InnerPage
	{
		min-width: 0;
	}

	/* Taller building lists (more wrapping) stay inside the white panel */
	.MainSDS:after
	{
		content: "";
		display: table;
		clear: both;
	}

	.Footer
	{
		height: auto;
		overflow: hidden;
		padding: 15px 0;
	}

	.Footer .Highlight
	{
		display: none;
	}

	.Footer .TextContainer
	{
		position: static;
		width: 100%;
		padding: 0 10px;
	}

	.Footer .Text
	{
		width: 50%;
		height: auto;
		padding: 5px 15px;
	}

	.Footer .IconBar
	{
		position: static;
		margin-top: 10px;
	}
}

/* Narrow tablets: no room for the UPC column next to the building list (the filter still searches it) */
@media (max-width: 991px)
{
	.MainSDS .SDSTable .UPC
	{
		display: none;
	}
}

/* Phones: one column, the building list folds away behind the menu button */
@media (max-width: 767px)
{
	body
	{
		font-size: 12pt;
	}

	.Header .Highlight
	{
		min-height: 0;
		background-size: cover;
	}

	.Header h4
	{
		padding: 15px 10px;
		font-size: 18pt;
	}

	.Container,
	.Content,
	.Content .InnerPage
	{
		min-height: 0;
	}

	.Content
	{
		width: 100%;
	}

	.Content .Spacer
	{
		height: 10px;
	}

	.Content .InnerPage
	{
		box-shadow: none;
	}

	.MainSDS .SiteName
	{
		position: relative;
		padding: 10px 55px;
		font-size: 16pt;
	}

	.MainSDS .SiteName .Menu
	{
		display: block;
		position: absolute;
		left: 10px;
		top: 50%;
		margin-top: -18px;
		height: 36px;
		padding: 0 10px;
		font-size: 16pt;
		color: #ffffff;
		background: transparent;
		border: 1px solid #ffffff;
		border-radius: 5px;
	}

	.MainSDS .BuildingList
	{
		display: none;
		float: none;
		width: 100%;
		min-height: 0;
		padding: 10px 15px;
	}

	.MainSDS.MenuOpen .BuildingList
	{
		display: block;
	}

	.MainSDS .BuildingList li
	{
		padding: 4px 0;
	}

	.MainSDS .BuildingList .SDSDepotLogo
	{
		display: none;
	}

	.MainSDS .SDSList
	{
		width: 100%;
		min-height: 0;
		max-height: none;
		padding: 10px;
	}

	.MainSDS .SDSList .Top
	{
		height: auto;
		margin-bottom: 10px;
	}

	.MainSDS .SDSList .Top .Filter
	{
		float: none;
		width: 100%;
	}

	/* 16px or larger keeps iPhones from zooming in when the box is tapped */
	.MainSDS .SDSList .Top .Filter input
	{
		width: 100%;
		height: 36px;
		padding: 0 8px;
		font-size: 16px;
	}

	/* The export is one large PDF download, which phones don't handle well (the mobile site didn't offer it either) */
	.MainSDS .SDSList .Top .Export
	{
		display: none;
	}

	.MainSDS h2
	{
		font-size: 14pt;
		margin-bottom: 10px;
	}

	/* Name and manufacturer only; part number and UPC are still searched by the filter */
	.MainSDS .SDSTable .Part,
	.MainSDS .SDSTable .UPC
	{
		display: none;
	}

	.MainSDS .SDSTable tbody td
	{
		height: 40px;
	}

	.Footer .Text
	{
		float: none;
		width: 100%;
		border-width: 0;
		padding: 0 0 10px 0;
		text-align: center;
	}

	.Footer .IconBar img
	{
		padding: 0 5px;
	}
}

/* Clickable buildings, departments and sheets (was set row by row from SDS.js) */
.MainSDS .BuildingList li[SiteID],
.MainSDS .BuildingList li[BuildingID],
.MainSDS .BuildingList li[DeptID],
.MainSDS .SDSTable tr[ClickAction]
{
	cursor: pointer;
}
