@import url('lib/typography.css');
@import url('lib/forms.css');
@import url('lib/errors.css');
@import url('lib/news.css');

body { 
	background: #b7b7b7 url(../images/bg.content.png) top center no-repeat;
	font-family: arial, helvetica, sans-serif;
}

/* Prime background */
body.character .page { 
  width: 980px; 
  margin: 0 auto; 
  position: relative;
}

body.character {
  background-image: url(../images/keyart-placeholder-bg.png);
	background-size: cover;
}

footer.character { 
  clear: both;
}

a.character.agegate.logo {
  padding-top: 350px;
  margin: 0 auto;
  float: none;
  display: block;
}

.character section { border-radius: 5px; border-width: 2px; }

.region-page-top { 
  background: transparent; 
  border: none; 
  margin: 0; 
  padding: 0;
}

/* Links.                                                              */
/* See http://www.w3.org/TR/CSS21/selector.html#pseudo-class-selectors */
a { color: #000; text-decoration: underline; }
a:hover { color: #999; }

.page > div > footer a:hover { color: #000; }

/* General Theme Stuff */
body > #userbar {
  background-color: #666;
  color: #fff;
  font-weight: bold;
  text-align: right;
	opacity: .9
}
.page >div > header, .page > div > footer { position: relative; }
.email-not-confirmed { cursor: pointer; position: relative; top: 4px; display: none; }

#userbar .userbar-inner { 
	width: 920px;
	text-align: right; 
	margin: 0 auto;
  padding: 0 10px;
  position: relative;
}

/* Social Icons */
#userbar nav.social { 
	position: absolute;
	left: 0px;
	top: .5em;
}
header nav.social { 
  position: absolute;
  left: 38px;
  bottom: -20px;
}
footer nav.social { 
  position: absolute;
  right: 0px;
  bottom: .5em;
}
#userbar nav.social ul { margin: 0; padding: 0; }

.social a.facebook,
.social a.twitter,
.social a.youtube 
{ height: 0; overflow: hidden; padding-top: 16px; display: inline-block; width: 16px; }
.social a.facebook { background: transparent url('../images/social-facebook.png') no-repeat top left; }
.social a.twitter { background: transparent url('../images/social-twitter.png') no-repeat top left; }
.social a.youtube { background: transparent url('../images/social-youtube.png') no-repeat top left; }


/* Overlay */
.wrap.active { opacity: .98;  background: #555; }


.content { margin-bottom: 1.5em; }

.mainNav { font-size: 20px; }
.mainNav > ul > li { margin: 0 0.5em; }

footer .legal_links {
  text-align: center;
  margin-bottom: 20px;
}

footer .footer_logos {
  text-align: center;
}

footer .footer_logos a {
  text-decoration: none;
  padding: 10px;
}

footer .rating_logos, footer .product_logos {
  display: inline;
}

footer .legal_links a {
  padding: 0 10px;
}

.language {
  /* .language extends body > div > footer > div */
  text-align: center;
  margin: 2.5em 0;
}
.language * {
  display: inline;
}
.language nav ul {
  margin: 0;
  padding: 0;
}
.language nav {
  margin: 0 10px;
}
.language > nav > ul > li {
  margin: 0 20px;
}

body > div > div > header > nav > a:first-child {
  /* extends: a */
  margin-right: 0px;
	outline: none;
  background-image: url(../images/logo.png);
  background-repeat: no-repeat;
  background-position: center;
  width: 150px;
  height: 150px;
  display: inline-block;
  vertical-align: middle;
  /* hide text */
  text-align: left;
  direction: ltr;
  text-indent: -999em;
  overflow: hidden;
}

body > div > div > header > nav > ul > li > a { font-size: 24px; margin-right: 20px; }

body > div > div > header > nav > ul {
  margin: 0;
  padding: 0;
  display: inline-block;
}

.navmenu > li > ul {
  opacity: 0;
	visibility: hidden;
	margin: 0;
	padding: 0;
	position: absolute;
	border: 2px solid black;
	background-color: #dedede;
  width: 150px;
}

.navmenu > li:hover > ul li:hover {
  background-color: #f1f1f1;
}

.navmenu > li > ul li {
	display: block;
	margin: 0;
	padding: .5em;
  font-weight: bold;
  font-size: 14px;
}
.navmenu > li > ul li a { margin-right: 0; }

.navmenu li:hover > ul {
	opacity: 1;
	visibility: visible;
  z-index: 9999;
}

.navmenu li > ul li:hover ul { 
	margin-left: 135px;
  margin-top: -1.5em;
}


noscript > div.column { border-spacing: 0; width: 940px; margin: 0 auto; }

/* WBID Overlay */
dd.wbid {
  border: 2px solid black;
  background-color: #dedede;
	z-index: 9999;
}

legend.wbid { 
	background: transparent url("../images/wbid-icon-dark.png") no-repeat top left;
  padding-left: 60px;
  line-height: 1.7778em;
}

/* Overrides */
.light { color: #fff; }
.dark { color: #000; }

header.character {
	background: transparent;
	border: none;
	padding: 0; margin: 0;
	width: 980px;
}

header.character > .logo { 
	background: transparent url('../images/logo.wbg-uwp.png') no-repeat;
  height: 134px;
  width: 350px;
  float: right;
}

.button, input[type="submit"],
.more-link a {
  /* extends: a */
  background: #ffffff; /* Old browsers */
  background: -moz-linear-gradient(top,  #ffffff 0%, #f1f1f1 50%, #e1e1e1 51%, #f6f6f6 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(50%,#f1f1f1), color-stop(51%,#e1e1e1), color-stop(100%,#f6f6f6)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #ffffff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #ffffff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #ffffff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%); /* IE10+ */
  background: linear-gradient(top,  #ffffff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%); /* W3C */
  padding: 0em 0.8em;
  display: inline-block;
  color: #000 !important;
  border-radius: 5px;
  border-width: 1px;
  font-weight: bold;
  text-decoration: none;
}

.slide-content.image aside {
  background: none;
  background-image: url( '../images/overlay.png' );
}

.slide-content.video aside.right {
  padding: 20px 20px 20px 0;
}

.slide-content.video aside.left {
  padding: 20px 0 20px 20px;
}

.yt-video.deferred.player-ready .play-overlay {
  background: url( ../images/play_off.png ) center center no-repeat;
}

.yt-video.deferred.player-ready .play-overlay:hover {
  background: url( ../images/play_on.png ) center center no-repeat;
}

.yt-video .player-wrapper {
  padding: 20px;
}

nav.main { position: relative; }

nav.main > aside > div {
  position: static;
}

.field-name-field-description li { list-style: disc; }

ul.icons { padding: 0; margin: 0; }

.breadcrumbs {
  font-size: 14px;
  margin-bottom: 18px;
  font-weight: bold;
}

.node-unpublished { background-color: #DEDEDE; }

.breadcrumb { background: white; padding: .5em 18px; }

.pagination { text-align: center; margin: 18px 0 18px; }
.pagination li { display: inline; list-style: none; margin-right: 1em; }
.pagination li.current { font-weight: bold; }

/* Dropdown Structure */
.css-dropdown {
  display: inline-block;
  min-width: 15em;
  padding: 0;
  margin: 0;
  list-style: none;
}
.css-dropdown a {
  text-decoration: none;
}
.css-dropdown a:hover {
  color: rgb(238, 238, 238);
}
.css-dropdown > li {
  position: relative;
}
.css-dropdown > li > a {
  background-color: #ACACAC;
  display: block;
  min-width: 15em;
  padding: .3em;
  padding-right: 1.8em;
}
.css-dropdown > li > a:after {
  content: "";
  display: block;
  position: absolute;
  right: 0.6em;
  top: 50%;
  margin-top: -0.2em;
  border-top: 0.4em solid #000;
  border-left: 0.4em solid transparent;
  border-right: 0.4em solid transparent;
}
.css-dropdown > li:hover a:after {
  border-top: 0;
  border-bottom: 0.4em solid #000;
}
.css-dropdown > li:hover > ul {
  display: block;
}
.css-dropdown > li > ul {
  position: absolute;
  display: none;
  top: 100%;
  right: 0;
  min-width: 15em;
  margin: 0;
  padding: 0;
  background-color: #ACACAC;
  width: 100%;
}
.css-dropdown > li > ul > li {
  display: block;
  padding: 0;
}
.css-dropdown > li > ul a {
  display: block;
  white-space: nowrap;
  padding: .3em;
}
.css-dropdown > li > ul a:hover {
  color: rgb(238, 238, 238);
}

/* Gallery Styles */

.gallery-container { position: relative; }
.gallery-container .caption { font-style: italic; margin-bottom: 1em; }
.gallery-container .alternates, .gallery-container .galleries, .gallery-container .discussion {
	width: 32%; float: left;
  margin-bottom: 1em;
}
.gallery-container .yt-video { position: relative; margin: 0 auto; width: 680px; }

.gallery.social { position: absolute; top: -2em; right: 0px; }

/* Leaderboards */

.leaderboards .platforms,
.leaderboards .types
{
  list-style-type: none;
  margin: 1em 0 0;
  padding: 0;
}

.leaderboards .platforms a {
  display: inline-block;
  height: 32px;
  width: 32px;
  text-indent: -9999px;
  outline: none;
}
.leaderboards .platforms a.xbox { background: transparent url(../images/XBox_Logo.png) no-repeat top left; }
.leaderboards .platforms a.pc { background: transparent url(../images/steam_logo.png) no-repeat top left; }
.leaderboards .platforms a.ps3 { background: transparent url(../images/PS3_logo.png) no-repeat top left; }


.leaderboards .platforms li,
.leaderboards .types li
{
  background-color: black;
  margin-bottom: .5em;
  padding: 1em;
}

.leaderboards .platforms li a,
.leaderboards .types li a
{
  color: white;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
}

table.leaderboard { margin: 0; width: 100%; font-size: 14px; color: #fff; }
table.leaderboard thead { margin-top: 0; }
table.leaderboard caption { text-align: right; }
table.leaderboard th { background-color: #000; padding: 5px; text-align: left; }
table.leaderboard th a { color: #fff; }
table.leaderboard td {
  background-color: #333;
  padding: 5px;
  border-bottom: 1px solid #999;
  border-right: 1px dotted #999;
}
table.leaderboard tr td:last-child { border-right: none; }

/* Zebra */
table.leaderboard tr:nth-child(2n+1) td { background-color: #666; }

/* Your leaderboard */
table.leaderboard tr.you > td { padding: 0; }
table.leaderboard tr.you > td > div > table { width: 100%; }

table.leaderboard tr.you td {
	height: 50px;
}
table.leaderboard tr.you td {
	background-color: #ab5819;
	border-right: 1px dotted #ffc89f;
}

table.leaderboard a.showMe {
	text-indent: -9999px;
	outline: none;
	display: inline-block;
  height: 16px;
  width: 16px;
  background: transparent url('../images/icon.magnifyingglass.gif') top left no-repeat;
}
.leaderboards .pagination { text-align: center; margin: 18px 0 18px; }
.leaderboards .pagination li { display: inline; list-style: none; margin-right: 1em; }
.leaderboards .pagination li.current { font-weight: bold; }

.leaderboards .loading {
	position: relative;
  height: 50px;
}

.leaderboards .loading > * {
  background: url(../images/turbine-loader-sprite.png) no-repeat 0 0;
  position: absolute;
  left: 33%;
  width: 82px;
  height: 100%;
  opacity: 1;
}

.lt-ie10 .leaderboards .loading > *,
.lt-ie9 .leaderboards .loading > * {
	background: url(../images/ajax-loader.gif) no-repeat 0 0;
  width: 32px;
  left: 35%;
  top: 19%;
}

.leaderboards .loading > span {
  height: auto;
  padding-top: 73px;
  font-weight: 700;
  color: #FFF;
  background: none; 
}

.leaderboards .loading > span > span {
  position: absolute;
  width: 250px;
  left: 80px;
  top: 35%;
  text-align: center;
}

.lt-ie9 .leaderboards .loading > span > span,
.lt-ie10 .leaderboards .loading > span > span {
	left: 40px;
  top: 12%;
  color: black;
}

.fancybox-title iframe { float: right; }
.fancybox-title p { display: inline; }

nav.main .block .contextual-links-wrapper {
  display: none;
}

/* -------------------------------------------------------- */
/* - ANIMATIONS ------------------------------------------- */
/* -------------------------------------------------------- */

/* - initiate -------------- */
.leaderboards .loading > div {
  -webkit-animation:  loadingBlade 0.7s infinite;
  -moz-animation:     loadingBlade 0.7s infinite;
  -o-animation:       loadingBlade 0.7s infinite;
  animation:          loadingBlade 0.7s infinite;
}

.leaderboards .loading > span {
  -webkit-animation:  loadingOuter 1.5s infinite;
  -moz-animation:     loadingOuter 1.5s infinite;
  -o-animation:       loadingOuter 1.5s infinite;
  animation:          loadingOuter 1.5s infinite;
}

/* - sequential delays ---- */
.leaderboards .loading > div:nth-child(1) {
  background-position: 0 0;
  -webkit-animation-delay: 0s;
  -moz-animation-delay: 0s;
  -o-animation-delay: 0s;
  animation-delay: 0s;
}

.leaderboards .loading > div:nth-child(2) {
  background-position: -88px 0;
  -webkit-animation-delay: 0.1s;
  -moz-animation-delay: 0.1s;
  -o-animation-delay: 0.1s;
  animation-delay: 0.1s;
}

.leaderboards .loading > div:nth-child(3) {
  background-position: -176px 0;
  -webkit-animation-delay: 0.2s;
  -moz-animation-delay: 0.2s;
  -o-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.leaderboards .loading > div:nth-child(4) {
  background-position: -264px 0;
  -webkit-animation-delay: 0.3s;
  -moz-animation-delay: 0.3s;
  -o-animation-delay: 0.3s;
  animation-delay: 0.3s;
}

.leaderboards .loading > div:nth-child(5) {
  background-position: -352px 0;
  -webkit-animation-delay: 0.4s;
  -moz-animation-delay: 0.4s;
  -o-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.leaderboards .loading > div:nth-child(6) {
  background-position: -440px 0;
  -webkit-animation-delay: 0.5s;
  -moz-animation-delay: 0.5s;
  -o-animation-delay: 0.5s;
  animation-delay: 0.5s;
}

.leaderboards .loading > div:nth-child(7) {
  background-position: -528px 0;
  -webkit-animation-delay: 0.6s;
  -moz-animation-delay: 0.6s;
  -o-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.leaderboards .loading > div:nth-child(8) {
  background-position: -616px 0;
  -webkit-animation-delay: 0.7s;
  -moz-animation-delay: 0.7s;
  -o-animation-delay: 0.7s;
  animation-delay: 0.7s;
}

/* - keyframes ------------- */
@-webkit-keyframes loadingOuter { 0% {opacity: 0.5;} 50% {opacity: 1;} 100% {opacity: 0.5;} }
@-moz-keyframes loadingOuter    { 0% {opacity: 0.5;} 50% {opacity: 1;} 100% {opacity: 0.5;} }
@-o-keyframes loadingOuter      { 0% {opacity: 0.5;} 50% {opacity: 1;} 100% {opacity: 0.5;} }
@keyframes loadingOuter         { 0% {opacity: 0.5;} 50% {opacity: 1;} 100% {opacity: 0.5;} }

@-webkit-keyframes loadingBlade { 0% {opacity: 0;} 50% {opacity: 0.8;} 100% {opacity: 0;} }
@-moz-keyframes loadingBlade    { 0% {opacity: 0;} 50% {opacity: 0.8;} 100% {opacity: 0;} }
@-o-keyframes loadingBlade      { 0% {opacity: 0;} 50% {opacity: 0.8;} 100% {opacity: 0;} }
@keyframes loadingBlade         { 0% {opacity: 0;} 50% {opacity: 0.8;} 100% {opacity: 0;} }

.callout.buy-preorder { 
	display: block;
	position: absolute;
	top: 3px;
	right: 0;
	height: 150px;
	width: 275px;
	cursor: pointer;
}

.callout.buy-preorder.buy_now {
	background: black url('../../../modules/community_purchasepage/img/sprite.buy-now-or-preorder-en.gif') center top no-repeat;
}

.callout.buy-preorder.preorder {
  background: black url('../../../modules/community_purchasepage/img/sprite.buy-now-or-preorder-en.gif') 0 50% no-repeat;
}

.callout.buy-preorder.both {
  background: black url('../../../modules/community_purchasepage/img/sprite.buy-now-or-preorder-en.gif') 0 100% no-repeat;
}

.lang-fr .callout.buy-preorder.buy_now {
	background: black url('../../../modules/community_purchasepage/img/sprite.buy-now-or-preorder-fr.gif') center top no-repeat;
}

.lang-fr .callout.buy-preorder.preorder {
  background: black url('../../../modules/community_purchasepage/img/sprite.buy-now-or-preorder-fr.gif') 0 50% no-repeat;
}

.lang-fr .callout.buy-preorder.both {
  background: black url('../../../modules/community_purchasepage/img/sprite.buy-now-or-preorder-fr.gif') 0 100% no-repeat;
}

.lang-es .callout.buy-preorder.buy_now {
	background: black url('../../../modules/community_purchasepage/img/sprite.buy-now-or-preorder-es.gif') center top no-repeat;
}

.lang-es .callout.buy-preorder.preorder {
  background: black url('../../../modules/community_purchasepage/img/sprite.buy-now-or-preorder-es.gif') 0 50% no-repeat;
}

.lang-es .callout.buy-preorder.both {
  background: black url('../../../modules/community_purchasepage/img/sprite.buy-now-or-preorder-es.gif') 0 100% no-repeat;
}

.lang-de .callout.buy-preorder.buy_now {
	background: black url('../../../modules/community_purchasepage/img/sprite.buy-now-or-preorder-de.gif') center top no-repeat;
}

.lang-de .callout.buy-preorder.preorder {
  background: black url('../../../modules/community_purchasepage/img/sprite.buy-now-or-preorder-de.gif') 0 50% no-repeat;
}

.lang-de .callout.buy-preorder.both {
  background: black url('../../../modules/community_purchasepage/img/sprite.buy-now-or-preorder-de.gif') 0 100% no-repeat;
}

.lang-it .callout.buy-preorder.buy_now {
	background: black url('../../../modules/community_purchasepage/img/sprite.buy-now-or-preorder-it.gif') center top no-repeat;
}

.lang-it .callout.buy-preorder.preorder {
  background: black url('../../../modules/community_purchasepage/img/sprite.buy-now-or-preorder-it.gif') 0 50% no-repeat;
}

.lang-it .callout.buy-preorder.both {
  background: black url('../../../modules/community_purchasepage/img/sprite.buy-now-or-preorder-it.gif') 0 100% no-repeat;
}
