/* Full footer
=============== */

/* General footer styles
===================================== */

/* This html style should be moved to base.css once new footer is built and rolled out */
html {
	background: #2B5464;
}

footer {
	overflow: hidden;
	clear: both;
	padding: 30px 0;
	background: #2B5464;
	border-top: 6px solid #00AFF0;
	color: #B0C5D1;
}

	footer a {
		text-decoration: none;
		color: #FFFFFF;
	}
	
	footer a:hover,
	footer a:focus {
		text-decoration: underline;
		color: #FFFFFF;
	}

.trackingPixel {
	position: absolute;
	border: none;
}

footer .title {
	font-size: 14px;
	letter-spacing: 0;
	line-height: 1;
}

	footer .title .icon {
		display: none;
	}

	footer .title.semibold {
		font-weight: 400;
	}

/* Footer structure
===================================== */

footer .centered {
	clear: both;
    margin: 0 auto;
    max-width: 960px;
    min-width: 280px;
    padding: 0 30px;
}

footer .top .microsoftLinks {
	float: left;
	width: 330px;
}

	.rtl footer .top .microsoftLinks {
		float: right;
	}

	footer .top .siteLinks {
		float: right;
		/*width: 600px;*/
	}

		.rtl footer .top .siteLinks {
			float: left;
		}

footer .bottom {
	margin: 15px 0 0;
	position: relative;
}

	footer .bottom:after {
		content: "";
		display: table;
		clear: both;
	}

	footer .bottom p {
		font-size: 12px;
		line-height: 14px;
		margin: 0;
	}

	footer .bottom .footerTerms {
		position: absolute;
		left: 0;
		bottom: 0;
		width: 580px;
	}

		.rtl footer .bottom .footerTerms {
			left: auto;
			right: 0;
		}

	footer .bottom .footerLegal {
		float: right;
		width: 200px;
	}

		.rtl footer .bottom .footerLegal {
			float: left;
		}

	footer .bottom .footerCopyright {
		text-align: right;
	}

		.rtl footer .bottom .footerCopyright {
			text-align: left;
		}

/* Footer sections
===================================== */

.footerLinks {
	position: relative;
}

	.footerLinks:after,
	.siteLinks .row:after {
		content: "";
		display: table;
		clear: both;
	}

	.footerLinks ul {
		margin: 0 0 40px;
	}

	.footerLinks li {
		list-style-type: none;
		line-height: 24px;
		margin: 0;
		padding: 0;
	}

		.rtl .footerLinks li {
			margin: 0;
		}

	.footerLinks li .icon {
		margin: 0 19px 0 0;
	}

		.rtl .footerLinks li .icon {
			margin: 0 0 0 19px;
		}

.siteLinks .linkGroup {
	float: left;
	margin: 0 0 0 30px;
	width: 100px;
}

	.rtl .siteLinks .linkGroup {
		float: right;
		margin: 0 30px 0 0;
	}

	.siteLinks .linkGroup:last-child {
		width: auto;
	}

	.siteLinks .footerWarning {
		position: absolute;
		left: 0;
	}

		.rtl .siteLinks .footerWarning {
			right: auto;
			left: 0;
			text-align: left;
		}

.microsoftLinks ul {
	margin: 0;
}

	.microsoftLinks li,
	.rtl .microsoftLinks li {
		margin: 10px 0 0 0;
	}

	.microsoftLinks li:first-child {
		margin: 0;
	}

.footerWarning p {
	font-size: 12px;
	line-height: 14px;
	margin: 0;
}

	.footerWarning b {
		font-size: 14px;
	}

	.footerWarning .noCalls {
		margin: 0 10px 0 0;
		vertical-align: middle;
	}

		.rtl .footerWarning .noCalls {
			margin: 0 0 0 10px;
		}

.footerCopyright .ms-logo {
	margin: 0 0 10px;
}

.footerSeoCopy {
	clear: both;
	color: #5E8290;
	margin: 30px 0 0;
}

	.footerSeoCopy p {
		font-size: 12px;
		line-height: 14px;
		margin: 0;
	}

/* Footer icons
===================================== */

footer .icon {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	height: 24px;
	width: 21px;
	*background: url('../images/footer-sprite.png') no-repeat;
	*background-position: 0 -58px;
}

	footer .icon:before {
		display: inline-block;
		/**content: url('../images/footer-sprite.png');**/
		position: relative;
		left: 0;
		top: -58px;
	}

	.svg footer .icon {
		*background: url('../images/footer-sprite.svg') no-repeat;
		*background-position: 0 -58px;
	}

	.svg footer .icon:before {
		/**content: url('../images/footer-sprite.svg');**/
		width: 90px !important;
		position: relative;
		left: 0;
		top: -58px;
	}

	.rtl.svg footer .icon:before {
		direction: ltr;
	}

	/* Microsoft Logo */
	footer .icon.ms-logo {
		height: 34px;
    	width: 150px;
		font-size:20px;
		color:#ffffff;
		line-height:34px;
		*background-position: 0 0;
	}

		footer .icon.ms-logo:before {
			left: 0;
			top: 0;
		}

	/* Windows */
	footer .icon.windows {
		*background-position: 0 -58px;
	}

		footer .icon.windows:before {
			left: 0;
			top: -58px;
		}

		.rtl footer .icon.windows:before {
			left: 69px;
		}

	/* XBOX */
	footer .icon.xbox {
		*background-position: -30px -58px;
	}

		footer .icon.xbox:before {
			left: -30px;
			top: -58px;
		}

		.rtl footer .icon.xbox:before {
			left: 39px;
		}

	/* Office */
	footer .icon.office {
		*background-position: 0 -90px;
	}

		footer .icon.office:before {
			left: 0;
			top: -90px;
		}

		.rtl footer .icon.office:before {
			left: 69px;
		}

	/* Bing */
	footer .icon.bing {
		*background-position: -30px -88px;
	}

		footer .icon.bing:before {
			left: -30px;
			top: -88px;
		}

		.rtl footer .icon.bing:before {
			left: 39px;
		}

	/* Windows Phone */
	footer .icon.windows-phone {
		*background-position: 0 -118px;
	}

		footer .icon.windows-phone:before {
			left: 0;
			top: -118px;
		}

		.rtl footer .icon.windows-phone:before {
			left: 69px;
		}

	/* Microsoft Store */
	footer .icon.microsoft-store {
		*background-position: -30px -118px;
	}

		footer .icon.microsoft-store:before {
			left: -30px;
			top: -118px;
		}

		.rtl footer .icon.microsoft-store:before {
			left: 39px;
		}

	/* No Calls */
	footer .icon.noCalls {
		height: 24px;
		width: 34px;
		*background-position: 0 -180px;
	}

		footer .icon.noCalls:before {
			left: 0;
			top: -180px;
		}

		.rtl footer .icon.noCalls:before {
			left: 56px;
		}

	/* World */
	footer .icon.world {
		height: 20px;
		width: 20px;
		*background-position: 0 -150px;
	}

		footer .icon.world:before {
			left: 0;
			top: -150px;
		}

		.rtl footer .icon.world:before {
			left: 70px;
		}

	/* Pick Down */
	footer .icon.pickDown {
		height: 7px;
		width: 14px;
		*background-position: -30px -150px;
	}

		footer .icon.pickDown:before {
			left: -30px;
			top: -150px;
		}

		.rtl footer .icon.pickDown:before {
			left: 46px;
		}

	/* Arrow */
	footer .icon.arrow {
		height: 9px;
		width: 16px;
		*background-position: 0 -230px;
	}

		footer .icon.arrow:before {
			left: 0;
			top: -230px;
		}

		.rtl footer .icon.arrow:before {
			left: 75px;
		}

/* Language selector
===================================== */
.footerLanguageSelector {
	/*margin: 30px 0 0;*/
}

.footerLanguageSelector a {
	display: block;
}

.footerLanguageSelector .world {
	margin: 0 10px 0 0;
}

.rtl .footerLanguageSelector .world {
	margin: 0 0 0 20px;
}

/* Slimline footer
===================================== */
.slimlineFooter {
}

	.slimlineFooter .footerLanguageSelector {
		margin-top: 0;
	}

	.slimlineFooter .siteLinks .footerWarning {
		position: static;
	}

/* Overrides for tablet
===================================== */

@media only screen and (min-width: 601px) and (max-width: 820px) {

	html:not(.noTabletState) {
		min-width: 0;
	}

	/*html:not(.noTabletState) footer {
		padding-left: 30px;
		padding-right: 30px;
	}*/

	html:not(.noTabletState) footer .centered {
		width: auto;
	}

	html:not(.noTabletState) footer .top .siteLinks {
		/*width: 300px;*/
	}

	html:not(.noTabletState) footer .bottom .footerTerms {
		width: 330px;
	}

	html:not(.noTabletState) .footerLanguageSelector {
		position: absolute;
		/*bottom: 3px;*/
	}

	html:not(.noTabletState) .siteLinks .footerWarning {
		bottom: -10px;
		/*position: static;*/
	}

	html:not(.noTabletState) .siteLinks .footerWarning .warningText {
		display: none;
	}

}

/* Overrides for mobile
===================================== */

@media only screen and (max-width: 600px) {

	html:not(.noMobileState) footer {
		padding-left: 20px;
		padding-right: 20px;
		padding-top: 24px;
	}

	/* Footer structure */
	html:not(.noMobileState) footer .centered {
		width: 100%;
		padding: 0;
	}

	html:not(.noMobileState) footer .top .microsoftLinks,
	html:not(.noMobileState) footer .top .siteLinks {
		float: none;
		width: 100%;
	}

	html:not(.noMobileState) footer .bottom {
		margin: 30px 0 0;
	}

	html:not(.noMobileState) footer .bottom .footerTerms {
		margin: 0 0 30px;
		position: static;
		width: 100%;
	}

	html:not(.noMobileState) footer .bottom .footerLegal {
		overflow: hidden;
		float: none;
		padding-bottom: 2px;
		position: relative;
		width: auto;
	}

	html:not(.noMobileState) footer .bottom .footerCopyright {
		position: absolute;
		right: 0;
		bottom: 2px;
		width: 120px;
	}

	html.rtl:not(.noMobileState) footer .bottom .footerCopyright {
		left: 0;
		right: auto;
	}

	html:not(.noMobileState) footer .bottom .footerWarning {
		float: left;
		width: 120px;
	}

	html.rtl:not(.noMobileState) footer .bottom .footerWarning {
		float: right;
	}

	/* Footer sections */
	html:not(.noMobileState) .footerLinks ul {
		margin: 0;
	}

	html:not(.noMobileState) .footerLinks li .icon {
		margin: 0 14px 0 0;
	}

	html.rtl:not(.noMobileState) .footerLinks li .icon {
		margin: 0 0 0 14px;
	}

	html:not(.noMobileState) .siteLinks .linkGroup {
		border-top: 1px solid #224352;
		float: none;
		margin: 0 -20px;
		width: auto;
	}

	html:not(.noMobileState) .siteLinks .linkGroup:last-child {
		border-bottom: 1px solid #224352;
	}

	html:not(.noMobileState) .siteLinks .linkGroup .title {
		cursor: pointer;
		line-height: 44px;
		margin: 0;
		padding: 0 20px;
		position: relative;
	}

	html:not(.noMobileState) .siteLinks .linkGroup .arrow {
		display: inline;
		position: absolute;
		top: 50%;
		right: 20px;
		margin-top: -4px;
	}

	html.rtl:not(.noMobileState) .siteLinks .linkGroup .arrow {
		right: auto;
		left: 20px;
	}

	html:not(.noMobileState) .siteLinks .linkGroup ul {
		border-top: 1px solid #2b5464;
		margin: 0 20px;
	}

	html:not(.noMobileState) .siteLinks .linkGroup li {
		margin: 0 -20px;
	}

	html:not(.noMobileState) .siteLinks .linkGroup a {
		display: block;
		line-height: 44px;
		padding: 0 20px;
	}

	html:not(.noMobileState) .siteLinks .linkGroup a:hover {
		background: #1f3e4c;
		text-decoration: none;
	}

	html:not(.noMobileState) .siteLinks .linkGroup.expanded {
		background: #254958;
	}

	html:not(.noMobileState) .siteLinks .linkGroup.expanded .arrow {
		*background-position: -40px -230px;
	}

	html:not(.noMobileState) .siteLinks .linkGroup.expanded .arrow:before {
		left: -40px;
		top: -230px;
	}

	html.rtl:not(.noMobileState) .siteLinks .linkGroup.expanded .arrow:before {
		left: 34px;
	}

	html:not(.noMobileState) .siteLinks .linkGroup.collapsed ul {
		display: none;
	}

	html:not(.noMobileState) .footerSeoCopy {
		margin: 0;
	}

	/* Footer icons */
	html:not(.noMobileState) footer .icon.noCalls {
		margin: 4px 0 10px;
		height: 18px;
		width: 26px;
		*background-position: -40px -180px;
	}

		html:not(.noMobileState) footer .icon.noCalls:before {
			left: -40px;
			top: -180px;
		}

		html.rtl:not(.noMobileState) footer .icon.noCalls:before {
			left: 24px;
		}

	html:not(.noMobileState) footer .icon.ms-logo {
		height: 26px;
	    margin-bottom: 6px;
	    width: 58px;
		*background-position: 0 -30px;
	}

		html:not(.noMobileState) footer .icon.ms-logo:before {
			left: 0;
			top: -50px;
		}

		html.rtl:not(.noMobileState) footer .icon.ms-logo:before {
			left: 22px;
		}

	/* Language selector */
	html:not(.noMobileState) .footerLanguageSelector {
		margin: 0 0 24px;
		position: relative;
		left: -11px;
	}

		html.rtl:not(.noMobileState) .footerLanguageSelector {
			left: auto;
			right: -11px;
		}

		html:not(.noMobileState) .footerLanguageSelector a {
			background: #274B5A;
			border: 1px solid #254958;
			display: inline-block;
			height: 35px;
			line-height: 35px;
			margin: 1px;
			padding: 0 9px;
			width: 100%;
		}

			html:not(.noMobileState) .footerLanguageSelector a:hover,
			html:not(.noMobileState) .footerLanguageSelector a:focus {
				border-color: #B0C5D1;
				border-width: 2px;
				margin: 0;
				text-decoration: none;
			}
		
		html:not(.noMobileState) .footerLanguageSelector .world {
			margin-right: 15px;
			vertical-align: text-top;
		}

			html.rtl:not(.noMobileState) .footerLanguageSelector .world {
				margin-left: 15px;
				margin-right: 0;
			}

	/* Slimline footer for mobile  */
	html:not(.noMobileState) .slimlineFooter .footerLanguageSelector {
		margin-top: -5px;
		margin-bottom: 0;
	}

	html:not(.noMobileState) .slimlineFooter .bottom {
		margin-top: 25px;
	}

}