﻿/* Hiding the toolbar, site logo, everything in the header except for Main Nav, and the nav submenus */
.cpToolbar.user,
.cpToolbar.admin,
h1[data-cprole$="banner"],
header:not(.widgetHeader) > *:not(nav),
.navMenu,
.megaMenu
{
	display: none !important;
}

nav.siteNav.mainNav
{
	display: none;
}

#menuPanel
{
	background-color: #333;
	left: 0;
	padding-bottom: 15px;
	position: absolute;
	top: 47px;
	width: 100%;
	z-index: 3;
}

#menuPanel ul > li
{
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(255,255,255)), to(rgb(241,241,241)));
	background-image: -webkit-linear-gradient(top, rgb(255,255,255), rgb(241,241,241));
	background-image: -moz-linear-gradient(top, rgb(255,255,255), rgb(241,241,241));
	background-image: -o-linear-gradient(top, rgb(255,255,255), rgb(241,241,241));
	background-image: linear-gradient(to bottom, rgb(255,255,255), rgb(241,241,241));
	background-color: rgb(248,248,248);
}

#menuPanel ul > li > a
{
	color: Black;
	display: block;
	padding: 0.7em 0 0.7em 15px;
	text-decoration: none;
}

#menuPanel ul > li > a > img
{
	margin-right: 10px;
}

#menuPanel ul:not(.menuMyApps) > li[data-icon=plus] > a:last-child
{
	display: none;
}

#menuPanel #dynamicList
{
   margin: 0;
}

#menuPanel ul.menuMyApps > li:first-child
{
	background-color: rgb(94, 135, 176);
	background-image: none;
	color: White;
	display: block;
	font-weight: bold;
	padding: 0.7em 0 0.7em 30px;
}

#menuPanel .searchButton {
	border-radius: 1em;
	padding: 0.4em 0.6em 0.4em 0.6em;
	margin: 1em 20% 1em 0;
	background-color: #fff;
	width: 80%;
}

#menuPanel #searchPhrase, #menuPanel #sitesearch
{
	border-radius: 1em;
	margin: 1em 5% 1em 5%;
	padding: 0.4em 0.4em 0.4em 1em;
	width: 82%;
}

#menuPanel ul[data-role="listview"]
{
	list-style: none !important;
    margin-left: 15px;
}

/* Doesn't seem to work properly. Must toggle style to get desired effect.

#menuPanel[style$="display: block;"] + #bodyWrapper
{
	display: none;
}*/

#bodyWrapper
{
	padding-top: 46px;
}

/* Forcing all relevant elements to display in a single, full-width column */
.siteWrap,
[data-cprole$="banner"],
[data-cprole$="Container"],
.pageContent,
.pageContent .col,
#mainNav,
#mainNav .topMenuItem
{
	float: none !important;
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	min-width: 0 !important;
	max-width: none !important;
	min-height: 0 !important;
	max-height: none !important;
}

/* Removing some horizontal spacing around components */
#mainNav,
.pageContent .col
{
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Adding some vertical spacing between containers */
[data-cprole$="Container"]
{
	margin: 0 0 1em !important;
}

.mobileAlertBar > a
{
	background-color: #c33;
	color: #fff;
	display: block;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: bold;
	padding: 1em;
	text-align: center;
	text-decoration: none;
}

.mobile.header
{
	background-color: #333;
	border-bottom: 1px solid rgba(255,255,255,.1);
	height: 46px;
	width: 100%;
	z-index: 3;
}

.mobile.header > h1
{
	border-bottom: 1px solid rgba(0,0,0,.2);
	font-size: 1.25em;
	margin: 0;
}

.mobile.header > h1 > a
{
	color: #fff;
	display: block;
	font-weight: bold;
	padding: .6em 45px .8em;
	text-decoration: none;
	text-align: center;
}

.header .mobileMenu
{
	background: url(/Assets/Images/HomeMobileMenuIcon.png) 50% 50% no-repeat;
	background-size: 50%;
	bottom: 0;
	color: #fff;
	font-weight: bold;
	left: 0;
	overflow: hidden;
	position: absolute;
	text-decoration: none;
	text-indent: -100%;
	top: 0;
	width: 45px;
}

@media (min--moz-device-pixel-ratio: 1.3),
       (-o-min-device-pixel-ratio: 2.6/2),
       (-webkit-min-device-pixel-ratio: 1.3),
       (min-device-pixel-ratio: 1.3),
       (min-resolution: 1.3dppx)
{
	.header .mobileMenu
	{
		background-size: auto;
	}
}

.siteNav > ol > li > a:link
{
	padding-right: 0;
}

.mainNav
{
	background-color: #333;
}

.widget.widgetNewsFlash .cpSlideshow 
{
	float: none;
	width: 100% !important;
}

.widget.widgetNewsFlash .widgetItem img 
{
	display: none;
}

.widget.widgetNewsFlash div.text
{
	margin-left: 0px !important;
	margin-right: 0px !important;
}

.widgetNewsFlash .semanticList.text
{
	margin-left: 0px !important;
	margin-right: 0px !important;
}

.widgetCalendar .miniCalendar.media
{
	float: none;
	width: 100% !important;
}

.widgetCalendar .semanticList.text
{
	margin-left: 0px !important;
	margin-right: 0px !important;
}

/* Fixes focus higlighting on search bar and hamburger menu */
.mobileMenu:focus{
	outline: 2px solid #0080ff;
}

#sitesearch:focus{
	outline: 2px solid #0080ff;
}