* {
  box-sizing: border-box; }

html,
body {
  width: 100%;
  height: 100%;
  min-height: 100%; }

body {
  margin: 0;
  font-family: 'Open Sans' , Microsoft JhengHei , sans-serif; }

a,
a:focus,
a:visited,
a:hover {
  color: inherit;
  text-decoration: none;
  outline: none; }

img {
  vertical-align: middle;
  border: 0; }

.pswp img {
  background: url(bg_blue.jpg);
  background-size: 640px;
}

.main__container {
  margin: auto;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.topBanner {
  height: 591px;
  background-image: url('D1_top.jpg');
  background-size: cover;
  background-position-x: center;
}

.topLogo {
  text-align: center;
  margin-top: -585px;
}

.topLogo .topLogoM {
  display: none;
}

@media(max-width: 1080px){
  .topBanner{
    background-size: cover;
      height: 0;
      padding-bottom: calc( 591 / 1080 * 100%) 
  }
  .topLogo{
    margin-top: calc(-585/1080 * 100%);
  }

  .topLogo  .topLogoW {
    width: 80%;
  }

}

.main_section {
  width: 100%;
}

.main_section .wrapper {
  width: 100%;
  max-width: 1000px;
  /* max-width: 800px; */
  margin: 0 auto;
  padding: 0 10%;
}

.main_section .wrapper .main_master {
  /* display: none; */
}

.main_section .wrapper .m_main_title{
  display: none;
}

.main_section .wrapper div {
  float: left;
  /* width: 33.3%; */
  width: 25%;
  text-align: center;
  padding: 1%;
}

.main_section .wrapper div img {
  width: 100%;
}

@media(max-width: 640px){
  .topBanner {
    height: 0;
    background-image: url('mobile_top.jpg');
    padding-bottom: calc(542/640 * 100%);
  }

  .topLogo{
    margin-top: calc(-490/640 * 100%);
  }

  .topLogo  .topLogoW {
    display: none;
  }

  .topLogo .topLogoM {
    width: 100%;
    display: block;
    
  }

  .main_section {
    padding:  5px 15px;
  }

  .main_section .wrapper .main_title {
    display: none;
  }
  .main_section .wrapper .m_main_title{
    display: block;
  }
  
  .main_section .wrapper .m_main_title.m_main_master {
    /* display: none; */
  }

  .main_section .wrapper .m_main_title.m_main_statistics {
    /* margin: 0 25%; */
  }

  .main_section .wrapper {
      padding: 0;
  }

  .main_section .wrapper div {
    width: 50%;
  }  

}


.loading {
  position: relative; }
  .loading:after {
    content: "";
    width: 44px;
    height: 44px;
    border: 4px solid #CCC;
    border-top-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    margin: -28px auto 0 auto;
    -webkit-animation: loading 1s linear infinite;
            animation: loading 1s linear infinite;
    left: 0;
    right: 0; }

.nhl {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent; }

@-webkit-keyframes loading {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0); }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg); } }

@keyframes loading {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0); }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg); } }

.hamburger__outer {
  display: none; }

.slide__menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc( 100% - 64px);
  z-index: 1;
  visibility: hidden; }

.close__menu {
  background-color: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  position: relative;
  opacity: 0; }

.slide__menu__content {
  position: absolute;
  height: 100%;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 250px;
  box-shadow: 0px 0px 50px #333;
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
  background-color: #eee;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #e6e6e6; }

.slide__menu__item {
  height: 60px;
  line-height: 60px;
  padding-left: 10%;
  position: relative;
  cursor: pointer; }
  .slide__menu__item.core {
    background-color: #ec9a07;
    /* background-image: url('white_D1.jpg'); */
    border-bottom: 1px solid #777; }
    .slide__menu__item.core img {
      height: 40px; }
  .slide__menu__item.const img {
    width: 40px;
    margin-right: 10px; }
  .slide__menu__item.sub {
    padding-left: 50px; }
  .slide__menu__item.on {
    border-left: 5px solid #FFEC57; }

@media (max-width: 640px) {
  .close__menu,
  .slide__menu__content {
    transition: 0.4s ease; }
  .hamburger__outer {
    width: 50px;
    height: 50px;
    float: right;
    position: relative;
    display: block; }
  .hamburger {
    height: 21.76px;
    width: 32px;
    margin: 14.12px auto; }
    .hamburger div {
      width: 100%;
      height: 0;
      background-color: #f08220;
      padding-bottom: 3.9168px;
      opacity: 1;
      -webkit-transform: translateX(0) translateY(0) rotate(0deg);
              transform: translateX(0) translateY(0) rotate(0deg);
      transition: .3s; }
      .hamburger div:nth-child(2) {
        margin: 5.0048px 0; }
  .show__slide__menu .slide__menu {
    visibility: visible; }
  .show__slide__menu .close__menu {
    opacity: 1; }
  .show__slide__menu .slide__menu__content {
    -webkit-transform: translateX(0%);
            transform: translateX(0%); }
  .show__slide__menu .hamburger div:nth-child(1) {
    -webkit-transform: translateX(-15%) translateY(-50%) rotate(-43deg);
            transform: translateX(-15%) translateY(-50%) rotate(-43deg);
    -webkit-transform-origin: center right;
            transform-origin: center right; }
  .show__slide__menu .hamburger div:nth-child(2) {
    opacity: 0; }
  .show__slide__menu .hamburger div:nth-child(3) {
    -webkit-transform: translateX(-15%) translateY(50%) rotate(43deg);
            transform: translateX(-15%) translateY(50%) rotate(43deg);
    -webkit-transform-origin: center right;
            transform-origin: center right; } }

.container {
  width: 100%;
  height: 100%;
  max-width: 1000px;
  margin: auto; }

header {
  width: 100%;
  background-color: #232323;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  box-shadow: 0px 0px 10px #000;
  height: 84px;
  padding: 7px 2%; }

footer {
  width: 100%;
  background-color: #232323;
  color: #FFF;
  position: relative; }

.copyright {
  margin: auto;
  max-width: 510px;
  padding: 30px 20px;
  font-size: 14px;
  text-align: center; }

.win__logo {
  height: 100%;
  cursor: pointer; }

.main__container {
  margin-top: 84px;
  /* min-height: calc( 100% - 84px); */
 }

.back__to__top {
  position: fixed;
  width: 50px;
  height: 50px;
  background-image: url(//win.on.cc/football/page/img/backToTop_g.png);
  background-size: 100%;
  z-index: 1;
  bottom: 10%;
  right: 3%;
  cursor: pointer;
  display: none; }

.menu {
  float: right;
  margin-top: 23px; }


.menu__item {
  float: left;
  cursor: pointer;
  color: #fff;
  line-height: 24px; }
  .menu__item img {
    float: left; }
  .menu__item.on {
    color: #daba46;
    /* border-bottom: 1px solid #02aace;  */
  }
  .menu__item:nth-child(n+2) {
    margin-left: 35px; }

.m_menu {
  margin-top: 15px;
  display:none;
  text-align: right;
  padding-right: 3%;
  padding-left: 3%;
  width: calc(100% - 140px);
}

.m_menu .menu__item{
  margin-left: 0;
  width: 33%;
}

.m_menu .menu__item:first-child {
  width: 34%;
}

.share__container {
  float: left;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 5%;
  height: 40px;
  width: 90px; }
  .share__container img {
    cursor: pointer;
    height: 100%; }
    .share__container img:nth-child(n+2) {
      margin-left: 5px; }

@media (max-width: 640px) {
  header {
    height: 64px; }
  .win__logo {
    float: left;
  }
  .main__container {
    margin-top: 64px; }
  .menu {
    display: none; }
  .m_menu {
    display: inline-block;
  }
  .share__container {
    display: none; } }

@media( max-width: 374px){
  .m_menu .menu__item:first-child {
    line-height: 20px;
    padding: 0 5%;
    transform: translateY(-10px);
  }
}

@media (max-width: 327px){
  .m_menu .menu__item:first-child{
    padding: 0 4%;
  }
}

@media (max-width: 315px){
  .m_menu .menu__item:first-child{
    padding: 0 3%;
  }
}

@media (max-width: 305px){

  .m_menu {
    padding: 0;
  }

  .m_menu .menu__item:first-child{
    padding: 0;
  }
  
}
