/*
 * Generic styles
 */
body
{
	height: 100%;
	background-color: #000000;
	color: #ffffff;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 1em;
	font-weight: bold;
	font-style: normal;
}

a:link, a:visited
{
	color: #cccccc;
}

a:hover
{
	color: #ffffff;
}


/*
 * Layout styles
 */

#resourceWrapper
{
	padding-top: 80px;
}

	html.small #resourceWrapper
	{
		padding-top: 45px;
	}

	html.xsmall #resourceWrapper
	{
		padding-top: 75px;
	}


#resourceCont
{
	padding-left: 150px;
}

	html.small #resourceCont
	{
		padding: 0px 10px;
	}


/* page related bits - under header, top of page */
.pagetitle
{
	color: #C8F7FB;
	text-align: center;
	margin-bottom: 20px;
}

	html.small .pagetitle	
	{
		display: inline;
	}
	
	.pagetitle p
	{
		max-width: 60%;
		text-align: center;
		margin: auto;
	}
	
	html.small .pagetitle p
	{
		padding-top: 15px;
	}

	.pagetitle h1
	{
		background-color: #00a4a4;
		color: #ffffff;
		font-weight: bold;
		font-size: 1.8em;
	}
	
	html.small .pagetitle h1
	{
		margin-left: -10px;
		margin-right: -10px;
	}

.pagedescription
{
	padding: 10px;
}

/* footer bits */
#footer
{
	text-align: center;
	margin: 50px auto;
	clear: both;
}

	#footer a img
	{
		width: 222px;
		height: 74px;
	}

#previewBreadcrumbs
{
	margin: auto;
}

	#previewBreadcrumbs p
	{
		text-align: center;
		margin-bottom:30px;
	}


/* ---------------------------------- */
/* styles related to resource listing */
/* ---------------------------------- */

.resource
{
	margin-top: 10px;
	text-align: left;
	font-size: 0.9em;
}

.resourceimg
{
	font-size: 0.7em;/*for alt text*/
	float: left;
	margin-right: 10px;
	width: 130px;
	height: 90px;
	overflow: hidden;
}

	html.xsmall .resourceimg
	{
		margin-right: 5px;
		width: 90px;
		height: auto;
	}

.resourcetext
{
	padding-left:140px;
}

	html.xsmall .resourcetext
	{
		padding-left: 100px;
	}

	html.xsmall .resourcetext p
	{
		font-size: 0.9em;
	}

.resourcecontainer
{
	clear: both;
	min-height: 105px;
	position: relative;
}

	html.xsmall .resourcecontainer
	{
		min-height: 70px;
	}


/* styles related to resource apps */
.resourceapps
{
	margin-left: 130px;
	position: relative;
	padding-left: 17px;
	padding-right: 17px;
	clear: both;
}

	html.xsmall .resourceapps
	{
		margin-left: 75px;
	}

.appcontent
{
	height: 43px;
	background-image: url('/Assets/appbarimages/backgroundgradient.png');
}

.appcorner
{
	width: 17px;
	height: 43px;
	position: absolute;
	top: 0;
	z-index: 0;
}

	html.small .appcontent, html.small .appcorner
	{
		background: none;
	}

.leftcorner
{
	left: 0;
	background-image: url('/Assets/appbarimages/leftcorner.png');
}

.rightcorner
{
	right: 0;
	background-image: url('/Assets/appbarimages/rightcorner.png');
}

.getapp
{
	float: left;
	margin-top: 10px;
	width: 100px;
	font-size: 0.9em;
	text-align: center;
}

	html.medium .getapp
	{
		width: 50px;
	}

.appstorelinks
{
	float: left;
}

.applink
{
	text-decoration: none;
}

.appstoreicon
{
	border: none;
	padding: 3px;
	padding-top: 4px;
}

	html.medium .appstoreicon
	{
		padding: 4px 1px 3px;
	}

	html.xsmall .appstoreicon
	{
		padding: 0;
	}


/* tier (heading) related */
.tiercontainer .tier
{
	color: #C8F7FB;
	font-size: 1.6em;
	line-height: 1.6em;
	text-align: center;
	clear: both;
	margin-top: 20px;
}

	.tiercontainer .tiercontainer .tier
	{
		font-size: 1em;
		text-align: left;
		margin-top: 10px;
	}

.tierdescription
{
	font-size:0.6em;
	line-height:1.2em;
}


/* grid block related */
.grid
{
	text-align: left;
	margin-bottom: 20px;
	margin-top: 20px;
}

	html.small .grid
	{
		margin-bottom: 0;
	}

	.grid .gridcontainer
	{
		text-align: center;
		padding-top: 5px;
		padding-bottom: 5px;
		overflow-y: auto;
		min-width: 600px;
		overflow: hidden;
	}

		html.small .grid .gridcontainer
		{
			padding-bottom: 0;
			min-width: 0;
		}
		

	.grid img
	{
		font-size: 0.7em;/*for alt text*/
		padding: 5px;
		width: 130px;
		height: 90px;
		overflow: hidden;
	}

	.grid .gridtitle
	{
		color: #C8F7FB;
	}
	
	html.xsmall .grid p
	{
		font-size: 0.9em;
	}

.griditem
{
	min-width: 140px;
	min-height: 140px;
	float: left;
}

	html.xsmall .griditem
	{
		min-height: 110px;
	}
	
	html.xsmall .griditem img
	{
		width: 90px;
		height: auto;
	}
	
	.griditem .html5griditem
	{
		position: relative;
		width: 140px;
		margin: auto;
	}

	html.xsmall .griditem .html5griditem .mobilecompatibility
	{
		left: 95px;
	}

	html.xsmall .griditem .html5griditem .mobilecompatibility img
	{
		width: 30px;
		height: auto;
	}

/* utils */
.clear
{
	clear: both;
}

.confirmbutton
{
	height: 40px;
	padding: 5px;
	cursor: pointer;
}

/*
 * Mobile compatibility div styles
 */

.mobilecompatibility
{
	top: -5px;
	z-index: 5;
	left: 110px;
	position: absolute;
	height: 30px;
	width: 30px;
}

	html.small .mobilecompatibility
	{
		left: 110px;
	}
	
	html.xsmall .mobilecompatibility
	{
		left: 80px;
	}
	
	.mobilecompatibility img
	{
		height: auto;
		width: auto;
	}

.mobilecompatiblelogo
{
	padding: 0px;
	margin: 0px;
	animation: imgRotate;
	animation-duration: 5s;
	animation-iteration-count: infinite;
	animation-delay: 5s;
	-webkit-animation: imgRotate;
	-webkit-animation-duration: 5s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-delay: 5s;
}

	html.xsmall .mobilecompatiblelogo
	{
		width: 20px;
	}

.tabletenabledtext
{
	padding-left: 30px;
	color: #C8F7FB;
}

	html.small .tabletenabledtext
	{
		display: none;
	}

	.tabletenabledtext a:link, .tabletenabledtext a:visited
	{
		text-decoration: none;
		color: #C8F7FB;
	}

	.tabletenabledtext a:hover
	{
		text-decoration: none;
		color: #C8F7FB;
	}

.showMoreLink
{
	text-decoration: underline;
	color: #cccccc;
	cursor: pointer;
}

/*
 * Scroller responsiveness
 */
html.small .sectionappdescription
{
	padding-left: 0px;
	clear: both;
}

html.small .scroller
{
	float: none !important;
	margin: auto;
}

/*
 * header bar styles that only relate to the menu page
 */

#desktopHeader
{
	border-bottom: 2px solid #ffffff;
}

html.small #topBar
{
	border-bottom: 2px solid #ffffff;
}

html.xsmall #topBar
{
	border-bottom: none;
}