html, body {
    margin: 0;
}

/***

    COLOR PALLETE:

    #9C1B2F - MLG Red
    #00426A - MLG Blue

    #FFFFFF - White (Active Text)
    #808080 - Medium Gray (Passive Text)
    #252525 - Dark Grey (Background)
    #101010 - Almost Black (Background)

***/

#mlg-header {
    position: relative;
    height: 53px;
    z-index: 999;
    background-color: #252525;
}

#mlg-header * {
    box-sizing: border-box;
}

#mlg-header-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 53px;
    background-color: #252525;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #808080;
}

#mlg-header a {
    text-decoration: none;
    color: #808080;
    font-weight: normal;
}

/***

    MAIN NAV

***/

#mlg-header-menu {
    height: 53px;
    max-width: 1200px;
    background-color: #252525;
    margin-left: auto;
    margin-right:auto;
    position: relative;
}

.mlg-header-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 10;
    background-color: #9C1B2F;
    transition: background-color .5s;
}

.mlg-header-border-red {
    background-color: #9C1B2F;
}

.mlg-header-border-blue {
    background-color: #00426A;
}

.mlg-header-logo-container {
    position: absolute;
    left: 0;
    width: 150px;
    height: 50px;
}

.mlg-header-logo {
    width: 123px;
    height: 28px;
    background-image: url("/images/header/sprite.png");
    background-repeat: no-repeat;
    background-position: 0px -26px;
    margin-top: 11px;
    margin-left: 16px;
}

.mlg-header-hamburger {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    height: 50px;
    width: 50px;
    text-align: center;
    line-height: 50px;
    color: #FFF;
    font-size: 26px;
}



/***

    SLANTY BUTTONS

***/

#mlg-header-nav {
    position: absolute;
    left: 150px;
    z-index: 20;
    height: 50px;
    overflow: hidden;
    padding-left: 10px;
}

.mlg-header-main-span {
    color: #808080;
    transition: color .5s, background-image .5s;
    padding-bottom: 20px;
    display: block;
    transform: skewX(10deg);
    font-weight: normal;
}

.mlg-header-menu:hover .mlg-header-main-span {
    color: #FFF;
}

.mlg-header-blue:hover {
    background-color: #00426A;
}

.mlg-header-red:hover {
    background-color: #9C1B2F;
}

.mlg-header-blue.mlg-header-active {
    background-color: #00426A;
}

.mlg-header-red.mlg-header-active {
    background-color: #9C1B2F;
}

.mlg-header-slanty-ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: normal;
}

.mlg-header-slanty-li  {
    display: inline-block;
    margin: 0;
    transform: skewX(-10deg);
}

.mlg-header-slanty-a {
    display: block;
    padding: 17px 22px;
    color: #808080;
    transition: background-color 0.5s;
}


/***

    RIGHT BUTTON

***/

.right-sec {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0px;
    line-height: 50px;
    text-align: right;
    text-transform: uppercase;
    transition: color 0.7s, background-color 0.7s;
    height: 50px;
    font-weight: normal;
    color: #808080;
}

.right-sec:hover {
    color: #FFF;
}

.mlg-header-right-button {
    padding: 1px 12px;
}

.mlg-header-login-sec {
    display: inline-block;
    text-align: center;
    transition: color 0.7s, background-color 0.7s;
    cursor: pointer;
}

.mlg-header-login-user {
    min-width: 200px;
}

.mlg-header-login-sec:hover {
    background-color: #101010 !important;
    color: #FFFFFF;
}

.mlg-header-user-img-container {
    float: left;
    width: 50px;
    height: 50px;
    background-position: center;
    background-repeat: no-repeat;
}

.mlg-header-user-img {
    width: 32px;
    height: 32px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 9px;
}

.mlg-header-user-name {
    width: calc(100% - 58px);
    overflow: hidden;
    height: 50px;
    text-overflow: ellipsis;
    white-space: nowrap;
    float: left;
    margin-right: 8px;
}

.mlg-header-user-alerts {
    float: right;
    width: 0px;
    height: 50px;
    color: #9C1B2F;
    font-weight: 700;
    overflow: hidden;
}








/* BG ARROW */

.bg-arrow {
    width: 9px;
    height: 4px;
    display: block;
    background: url("/images/header/sprite.png") 0px 0px;
    margin: 3px auto;
    position: relative;
}

.bg-arrow .mlg-header-active-arrow {
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: url("/images/header/sprite.png") 0px -4px;
    opacity: 0;
    transition: opacity 0.7s;
    -webkit-transition: opacity 0.7s;
	-moz-transition: opacity 0.7s;
	-o-transition: opacity 0.7s;
}

.mlg-header-main-span:hover .bg-arrow .mlg-header-active-arrow {
    opacity: 1;
}

.mlg-header-login-sec:hover .bg-arrow .mlg-header-active-arrow {
    opacity: 1;
}


.mlg-header-active-span  {
    color: #FFF;
}

.mlg-header-active-span .mlg-header-active-arrow {
    opacity: 1;
}

.active-login .bg-arrow .mlg-header-active-arrow {
    opacity: 1;
}










/***

    SUB NAV

***/

.mlg-header-dropdown-container {
    display: none;
    width: 100%;
    background-color: #252525;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: -10;
    position: absolute;
    top: 53px;
}


.mlg-header-subnav-bg {
    position: absolute;
    width: 100%;
    height: 32px;
    background-color: #101010;
}

.mlg-header-subnav-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    height: 32px;
}

.mlg-header-subnav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #101010;
}

.mlg-header-subcontent {
    max-width: 1200px;
    background-color: #252525;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 16px;
    overflow: hidden;
    white-space: nowrap;
}

.mlg-header-data-links {
    padding: 0px;
}

.mlg-header-subnav-button {
    display: inline-block;
    height: 32px;
    padding: 0px 16px;
    line-height: 32px;
    font-size: 14px;
    transition: color 1.5s;
    cursor: pointer;
}

.mlg-header-subnav-button.mlg-header-active {
    background-color: #252525;
}

.mlg-header-subnav-button:hover {
    color: #FFF !important;
}

.mlg-header-subcontent {
    display: none;
}

.mlg-header-subcontent-default {
    display: block !important;
}

.mlg-header-sublinks {
    color: #808080;
    display: inline-block;
    padding: 16px;
    font-weight: normal;
    font-size: 14px;
}

.mlg-header-sublinks:hover {
    color: #FFF !important;
}

.mlg-header-subnav-icon-search {
    background: url("/images/header/sprite.png") -9px 0px;
    background-repeat: no-repeat;
    width: 15px;
    height: 15px;
    display: inline-block;
    margin-right: 8px;
    transition: opacity 1.5s;
    position: relative;
}

.mlg-header-subnav-icon-search .mlg-header-subnav-icon-search-active {
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: url("/images/header/sprite.png") -24px 0px;
    opacity: 0;
    transition: opacity 0.7s;
    -webkit-transition: opacity 0.7s;
	-moz-transition: opacity 0.7s;
	-o-transition: opacity 0.7s;
}

.mlg-header-subnav-button:hover .mlg-header-subnav-icon-search .mlg-header-subnav-icon-search-active {
    opacity: 1;
}

.mlg-header-active {
    color: #FFF !important;
}

.mlg-header-active .mlg-header-subnav-icon-search .mlg-header-subnav-icon-search-active {
    opacity: 1;
}

/***

    USER DROPDOWN

***/

#mlg-header .user-bg {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: -10;
  transition: top .5s;
  position: absolute;
  top: -350px;
}

#mlg-header .user-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

#mlg-header .user-content {
  width: 200px;
  background-color: #CCC;
  position: absolute;
  right: 0;
}

.mlg-header-alert-text {
    background-color: #9C1B2F;
    color: #FFF;
    font-weight: 400;
    border-radius: 3px;
    padding: 4px;
    margin-left: 8px;
    display: none;
}

#mlg-header .user-content {

}

#mlg-header .login-sub-link {
    display: block;
    background-color: #101010;
    height: 40px;
    line-height: 40px;
    padding: 0px 16px;
    transition: all 0.2s;
    text-decoration: none;
    color: #808080;
    font-size: 13px;
    font-weight: normal;
}

#mlg-header .login-sub-link:hover {
    color: #FFF;
    background-color: #252525;
}

#mlg-header .active-login {
    background-color: #101010;
    color: #FFFFFF;
    opacity: 1;
}






/***

    TV SUBMENU

***/

#mlg-header .img-16x9 {
    height: 117px;
    width: 208px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #101010;
    transition: opacity 0.5s;
}

#mlg-header .event-container:hover .img-16x9 {
    opacity: 1 !important;
}

#mlg-header .tv-channels:hover .img-16x9 {
    opacity: 1 !important;
}

#mlg-header .tv-channels {
    display: inline-block;
    vertical-align: top;
    color: #808080;
    transition: color 0.2s;
    margin-right: 16px;
    transition: opacity 0.5s;
}

#mlg-header .tv-channels:hover {
    color: #FFF;
}

#mlg-header .channel-subtitle {
    font-size: 13px;
    text-align: center;
    margin-top: 8px;
    width: 208px;
    font-weight: normal;
    white-space: normal;
}

#mlg-header .status-live {
    color: red;
}

#mlg-header .status-replay {
    color: #FF5F00;
}

#mlg-header .spinner {
    background-image: url('/images/header/spinner.gif');
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

#mlg-header .spinner-height {
    height: 100px;
}

.mlg-header-centertext {
    text-align: center;
    padding: 24px;
}

.mlg-header-tv-all {
    padding: 20px;
    line-height: 80px;
}

.tv-home-link:hover {
    color: #FFF !important;
}

/***

    GB SUBMENU

***/

#mlg-header .featured-games {
    display: block;
    float: left;
    vertical-align: top;
    position: relative;
    height: 146px;
    width: 106px;
}

#mlg-header .gb-browse {
    height: 162px;
}

#mlg-header .featured-games-behind {
    display: inline-block;
    vertical-align: top;
    position: relative;
    height: 130px;
    width: 90px;
    overflow: hidden;
}

.behind {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 130px;
    z-index: 10;
    color: #808080;
    transition: color 0.2s;
}

.behind:hover {
    color: #FFF;
}

.mlg-header-featured-games-bg {
    height: 190px;
    width: 1200px;
    position: absolute;
    color: #808080;
}

.mlg-header-featured-games-link {
    color: #808080;
}

.behind-bg:hover {
    color: #FFFFFF;
}

.behind-bg {
    margin-right: 16px;
    display: block;
    float: left;
    vertical-align: top;
    position: relative;
    height: 130px;
    width: 90px;
    line-height: 130px;
    text-align: center;
    font-weight: normal;
}

#mlg-header .white-text {
    color: #FFFFFF;
}

#mlg-header .sub-link {
    margin: 16px;
}

#mlg-header .sub-link:hover {
    color: #FFFFFF;
}

#mlg-header .featured-games {
    transition: all 0.5s;
    background-color: #252525;

}

#mlg-header .box-art {
    width: 90px;
    height: 130px;
    background-size: cover;
    background-position: center;
    transition: opacity 0.5s;
}

#mlg-header .featured-games:hover .box-art {
    opacity: 1 !important;
}

.mlg-header-dim {
    opacity: 0.25;
}

.mlg-header-not-dim {
    opacity: 1 !important;
}





/***

    TOURNAMENTS

***/

.mlg-header-tournament {
    display: inline-block;
    width: 260px;
    white-space: normal;
    transition: opacity 0.5s;
}

.mlg-header-tournament-link {
    display: block;
}

.mlg-header-tournament-link:hover .mlg-header-tournament-details {
    color: #FFF;
    cursor: pointer;
}

.mlg-header-tournament-link:hover .mlg-header-tournament-image-container {

}

.mlg-header-tournament-details {
    font-weight: normal;
    display: inline-block;
    width: 152px;
    vertical-align: top;
    font-size: 13px;
    margin-left: 8px;
    color: #808080;
    transition: color 0.2s;ß
}

.mlg-header-tournament-image-container {
    display: inline-block;
    width: 90px;
    height: 130px;
}

.mlg-header-tournament-image {
    height: 100%;
    width: 100%;
}

.mlg-header-tournament-title {
    color: #FFFFFF;
    margin-bottom: 8px;
}

.mlg-header-tournament-date {
    margin-bottom: 8px;
    font-size: 12px;
}

.mlg-header-tournament-prize {
    color: #FFFFFF;
}

.mlg-header-tournament-price {

}

.mlg-header-view-all {
    vertical-align: top;
    text-align: center;
    line-height: 100px;
}

.mlg-header-view-all:hover a {
    color: #FFF !important;
}








/***

    EVENTS SUBMENU

***/

#mlg-header .event-container {
    margin-right: 16px;
    display: inline-block;
    vertical-align: top;
    color: #808080;
    transition: color 0.2s, opacity 0.5s;
}

#mlg-header .event-container:hover {
    color: #FFF;
}

.events-view-all {
    width: 180px;
    line-height: 110px;
    text-align: center;
}







/***

    MY TEAMS

***/

#mlg-header .login-myteams {
    float: left;
    width: 64px;
    height: 50px;
    margin-right: 16px;
}

.login-myteams-icon {
    width: 39px;
    height: 26px;
    display: block;
    background: url("/images/header/sprite.png") -39px 0px;
    margin: 12px auto;
    position: relative;
}

.login-myteams-icon .login-myteams-icon-active {
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: url("/images/header/sprite.png") -78px 0px;
    opacity: 0;
    transition: opacity 0.7s;
    -webkit-transition: opacity 0.7s;
	-moz-transition: opacity 0.7s;
	-o-transition: opacity 0.7s;
}

.active-login .login-myteams-icon .login-myteams-icon-active {
    opacity: 1;
}

.login-myteams:hover .login-myteams-icon .login-myteams-icon-active {
    opacity: 1;
}

.login-myteams .bg-arrow {
    margin-top: -10px;
}

#mlg-header .myteams-bg {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: -10;
    transition: top .5s;
    position: absolute;
    top: -500px;
}

#mlg-header .myteams-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

#mlg-header .myteams-content {
    width: 280px;
    background-color: #101010;
    position: absolute;
    right: 0;
    max-height: 480px;
    overflow-y: auto;
}

#mlg-header .myteams-team {
    display: block;
    height: 80px;
    line-height: 40px;
    padding: 0px 16px;
    transition: color 0.2s;
    text-decoration: none;
    color: #808080;
    font-size: 13px;
    font-weight: normal;
    position: relative;
}

#mlg-header .myteams-team-div {
    width: 100%;
    height: 1px;
    background-color: #505050;
    margin: 0px 8px;
}

#mlg-header .myteams-team-div:last-of-type {
    width: 100%;
    height: 0px;
    margin: 0px 8px;
}

#mlg-header .myteams-team:hover {
    background-color: #252525;
    color: #FFFFFF;
}

#mlg-header .myteams-avatar {
    width: 64px;
    height: 64px;
    position: absolute;
    top: 8px;
    left: 8px;
}

#mlg-header .myteams-desc {
    height: 64px;
    position: absolute;
    top: 8px;
    left: 80px;
    right: 8px;
}

#mlg-header .myteams-name {
    height: 32px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    line-height: 32px;
    font-size: 14px;
    color: #FFFFFF;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#mlg-header .myteams-details {
    height: 24px;
    position: absolute;
    top: 32px;
    left: 0;
    right: 0;
    line-height: 32px;
    font-size: 16px;
    overflow: hidden;
    font-size: 0;
}

#mlg-header .myteams-platform {
    height: 24px;
    width: 24px;
    float: left;
}

#mlg-header .myteams-arena {
    height: 24px;
    width: 24px;
    margin-left: 4px;
    margin-right: 8px;
    float: left;
}

#mlg-header .myteams-text {
    font-size: 12px;
    height: 24px;
    line-height: 24px;
}

#mlg-header .full-image {
    height: 100%;
    width: 100%;
    vertical-align: initial !important;
}

#mlg-header .drop-shadow {
    -webkit-box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.5);
    border: 1px solid #252525;
    border-top: 0;
}









/***

    MOBILE

***/

.m-container {
    display: none;
}

.m-submenu {
    position: fixed;
    top: 53px;
    left: 0px;
    width: 63px;
    bottom: 0;
    background-color: #101010;
}

.m-icon {
    height: 60px;
    width: 63px;
    line-height: 60px;
    text-align: center;
    border-right: 3px solid #101010;
}

#mlg-header-m-avatar-container {
    height: 60px;
    width: 63px;
    background-repeat: no-repeat;
    background-position: center;
    left: 0px;
    border-right: 3px solid #101010;
}

#mlg-header-m-user-login {
    height: 60px;
    width: 63px;
    background-repeat: no-repeat;
    background-position: center;
    left: 0px;
    border-right: 3px solid #101010;
}

.mlg-header-m-user-icon {
    background: url("/images/header/mobile-sprite.png") 0px -119px;
    width: 23px;
    height: 32px;
    background-repeat: no-repeat;
    margin: 10px 20px;
    line-height: 78px;
}

.mlg-header-m-avatar {
    height: 42px;
    width: 42px;
    background-size: contain;
    margin: 10px;
    position: absolute;
}

#m-icon-teams {
    height: 60px;
    width: 63px;
    border-right: 3px solid #101010;
}

.real-teams-icon {
    background: url("/images/header/sprite.png") -78px 0px;
    width: 39px;
    height: 26px;
    background-repeat: no-repeat;
    margin: 16px 12px;
    position: absolute;
}

#mlg-header .m-icon-red.m-icon-active {
    border-right: 3px solid #9C1B2F;
}

#mlg-header .m-icon-blue.m-icon-active {
    border-right: 3px solid #00426A;
}

.mobile-menu-subtitle {
    color: #FFF;
    font-size: 9px;
}





.m-subcontent {
    position: fixed;
    top: 53px;
    left: 63px;
    right: 0;
    bottom: 0;
    background-color: #252525;
    color: #FFFFFF;
    overflow-y: auto;
    overflow-x: hidden;
}

#mlg-header .m-subcontent a {
    color: #FFFFFF;
}

.m-sub-link {
    display: block;
    height: 60px;
    font-size: 14px;
    line-height: 60px;
    padding-left: 22px;
}

.mobile-mlg-header-section-tv {
    background: url("/images/header/mobile-sprite.png") 0px 0px;
    width: 42px;
    height: 19px;
    background-repeat: no-repeat;
    margin: 16px 10px;
    position: absolute;
}

.mobile-mlg-header-section-gb {
    background: url("/images/header/mobile-sprite.png") 0px -19px;
    width: 46px;
    height: 16px;
    background-repeat: no-repeat;
    margin: 14px 7px;
    position: absolute;
}

.mobile-mlg-header-section-events {
    background: url("/images/header/mobile-sprite.png") 0px -34px;
    width: 25px;
    height: 26px;
    background-repeat: no-repeat;
    margin: 12px 18px;
    position: absolute;
    line-height: 68px;
}

.mobile-mlg-header-section-store {
    background: url("/images/header/mobile-sprite.png") 0px -60px;
    width: 25px;
    height: 26px;
    background-repeat: no-repeat;
    margin: 12px 18px;
    position: absolute;
    line-height: 70px;
}



/***

    MEMBER SEARCH

***/

.mlg-header-input {
    display: block;
    margin: 0;
    width: 250px;
    font-family: sans-serif;
    font-size: 14px;
    appearance: none;
    box-shadow: none;
    padding: 8px;
    border: solid 1px #dcdcdc;
    color: #808080;
    border-radius: 4px !important;
    float:left;
    background-color: #DCDCDC;
    margin-right: 16px;
    height: 33px !important;
}

.mlg-header-input:focus {
    color: #252525;
    outline: none;
}

.mlg-header-input:disabled {
    background-color: #BBB;
    outline: none;
}

.mlg-header-button {
    border-radius: 4px;
    background-color: #005596;
    color: #FFF;
    appearance: none;
    box-shadow: none;
    border-radius: 4px;
    display: block;
    border: none;
    padding: 8px;
    text-align:center;
    font-weight: normal;
    font-size: 14px;
    float:left;
    width: 150px;
    height: 33px;
    background-image: url("/images/header/search.gif");
    background-size: inherit;
    background-position: center;
    background-repeat: no-repeat;
}

.mlg-header-button:hover {
    cursor: pointer;
}

.mlg-header-spinner-cover {
    background-position: -9999px -9999px !important;
}


/***

    MEDIUM

***/

.mlg-header-user-name-hide {
    display: inline-block;
}

.mlg-header-user-name-hide .bg-arrow {
    margin: -12px auto;
}
.user-content { min-width: 200px;}

@media only screen and (max-width: 925px), only screen and (max-device-width: 925px) {
    .mlg-header-user-name-hide { display: none !important }
    .mlg-header-login-user { min-width: 75px; }
    #mlg-header-alerts-total { margin: 0px 4px; }
    .login-myteams { margin-right: 0px !important; }
    .myteams-content { min-width: 250px; }

}


/***

    SMALL

***/

@media only screen and (max-width: 780px), only screen and (max-device-width: 780px) {
    #mlg-header-container { position: fixed }

    #mlg-header-dropdowns {
        display: none;
    }

    #mlg-header .m-container {
        display: block;
    }

    .mlg-header-hamburger {
        display: block !important;
    }

    #mlg-header .mlg-header-logo-container {
        left: 50px;
        background-position: left center;
    }

    #mlg-header nav, .right-sec-container {
        display: none;
    }

    /* dont think I want to do this but maybe something like this */
    /*body { overflow: hidden; }*/
}

.mlg-header-hide {
    display: none !important;
}







.no-transition {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  -ms-transition: none !important;
  transition: none !important;
}
