/* V71.0.7 - module centering and inner-page layout polish */
body.inner-page .mu-content>.container{
  width:100%!important;
  max-width:1440px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:24px!important;
  padding-right:24px!important;
}
body.inner-page .mu-page-hero,
body.inner-page .mu-module,
body.inner-page .fullui-module-stage{
  margin-left:auto!important;
  margin-right:auto!important;
}
body.inner-page .mu-page-hero,
body.inner-page .fullui-module-stage{
  max-width:1320px;
}
body.inner-page .mu-module{
  width:100%!important;
}
body.inner-page .fullui-module-stage{
  width:100%;
}
body.inner-page .fullui-module-stage > .row,
body.inner-page .fullui-module-stage > .container,
body.inner-page .fullui-module-stage > .container-fluid,
body.inner-page .fullui-module-stage > .panel,
body.inner-page .fullui-module-stage > .card,
body.inner-page .fullui-module-stage > .rankings-wrap,
body.inner-page .fullui-module-stage > .table-responsive,
body.inner-page .fullui-module-stage > .rk-topbar,
body.inner-page .fullui-module-stage > .downloads-wrap,
body.inner-page .fullui-module-stage > .news-wrap{
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Generic inner module alignment */
body.inner-page .mu-module .table-responsive,
body.inner-page .mu-module .rankings-wrap,
body.inner-page .mu-module .rk-topbar,
body.inner-page .mu-module .downloads-wrap,
body.inner-page .mu-module .download-list,
body.inner-page .mu-module .module-content,
body.inner-page .mu-module .panel,
body.inner-page .mu-module .card{
  max-width:100%;
  margin-left:auto;
  margin-right:auto;
}

/* Downloads / info / news / events use centered grids when there is room */
body[data-ui-page="downloads"] .mu-module .row,
body[data-ui-page="info"] .mu-module .row,
body[data-ui-page="news"] .mu-module .row,
body[data-ui-page="eventos"] .mu-module .row,
body[data-ui-page="events"] .mu-module .row{
  justify-content:center;
}
body[data-ui-page="downloads"] .mu-module [class*="col-"],
body[data-ui-page="info"] .mu-module [class*="col-"],
body[data-ui-page="news"] .mu-module [class*="col-"],
body[data-ui-page="eventos"] .mu-module [class*="col-"],
body[data-ui-page="events"] .mu-module [class*="col-"]{
  display:flex;
}
body[data-ui-page="downloads"] .mu-module .panel,
body[data-ui-page="downloads"] .mu-module .card,
body[data-ui-page="downloads"] .mu-module .download-item,
body[data-ui-page="downloads"] .mu-module .download,
body[data-ui-page="info"] .mu-module .panel,
body[data-ui-page="info"] .mu-module .card,
body[data-ui-page="news"] .mu-module article,
body[data-ui-page="news"] .mu-module .news,
body[data-ui-page="eventos"] .mu-module .event,
body[data-ui-page="events"] .mu-module .event{
  width:100%;
}

/* Rankings specific centering */
body[data-ui-page="rankings"] .mu-page-hero,
body[data-ui-page="rankings"] .fullui-module-stage{
  max-width:1320px!important;
}
body[data-ui-page="rankings"] .mu-module .table-responsive,
body[data-ui-page="rankings"] .mu-module .rankings-wrap,
body[data-ui-page="rankings"] .mu-module .rk-topbar,
body[data-ui-page="rankings"] .mu-module .fullui-table-wrap,
body[data-ui-page="rankings"] .mu-module .v70-rank-shell{
  margin-left:auto!important;
  margin-right:auto!important;
}

/* UserCP inherited dashboard also centered */
body[data-ui-page="usercp"] .mu-page-hero,
body[data-ui-page="usercp"] .fullui-module-stage{
  max-width:1320px!important;
}

/* Medium screens */
@media (max-width: 1400px){
  body.inner-page .mu-content>.container{max-width:1360px!important}
  body.inner-page .mu-page-hero,
  body.inner-page .fullui-module-stage{max-width:1260px}
}
@media (max-width: 1199px){
  body.inner-page .mu-content>.container{max-width:100%!important;padding-left:18px!important;padding-right:18px!important}
  body.inner-page .mu-page-hero,
  body.inner-page .fullui-module-stage{max-width:100%!important}
}
@media (max-width: 767px){
  body.inner-page .mu-content>.container{padding-left:12px!important;padding-right:12px!important}
}
