/*****expand table******/
/* .max {
  height: 50px;
    width: 100%;
    background-color: #FFF;
    margin-bottom: 3px;
}
  
.max .baseContent {
height: 50px;
}

.max .cell {
    width: 80px;
    min-width: 50px;
    font-weight: bold;
    text-align: center;
}

.cell {
    display: table-cell;
    vertical-align: middle;
}
  
.max .expandContent {
    min-height: 0px;
    padding: 15px;
    background-color: #d5d9dc;
    position: relative;
    color: initial;
}

.max.expandable {
    overflow: hidden;
    -webkit-transition: height 0.5s ease;
    transition: height 0.5s ease;
}

.expandContent .max {
    background: #f1f2f4 !important;
    border: none;
    margin-bottom: 2px;
    display: table;
}

.expanded {
  height: 340px;
} */

/************************/

.main__container {
  max-width: 1920px;
  margin: auto;
  /* overflow-x: hidden; */
  position: relative;
  background-color: #fff; 
  background-image: url("D1.jpg");
  background-position-x: 50%;
  background-repeat: no-repeat;
  padding: 0px;
  margin-top: 84px;
  background: url("bg_color.jpg");
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1427px;
  /* background-image: url("D1.jpg"); */
  background-size: 1920px;
  background-position: 50% 0;
  background-repeat: no-repeat; }
  @media (max-width: 1080px) {
    .background {
      height: 0;
      background-size: cover;
      padding-bottom: 132.12963%; } }
  @media (max-width: 767px) {
    .background {
      background-image: url("M_D1.jpg");
      padding-bottom: 189.53125%; } }

.table {
  display: table;
  width: 100%; }

.cell {
  display: table-cell;
  vertical-align: middle; }

.shadowBlock {
  margin: auto;
  width: 100%;
  max-width: 1000px;
  text-align: center;
  position: relative;
  z-index: 0;
  height: auto;
}

.shadowBlock img {
  width: 98%;
  margin-top: -12px;
  min-height: 13px;
}

.schedule .shadowBlock img {
  margin-top: -30px;
}
  
.group__selector {
  width: 100%;
  max-width: 450px;
  margin: auto;
  padding-left: 15px;
  padding-right: 15px;
  text-align: center;
  color: #000;
  position: relative;
  display: block;
  margin-bottom: 20px; }

.group__selector .box{
  cursor: pointer;
}  

.group__selector:after {
  content: "";
  clear: both;
  display: table;
}

.group__selector .box{
  display: block;
  width: calc(100%/3);
  float: left;
  color: #886616;
}

.group__selector .box.on div {
  color: #000;
}

.group__selector .box:not(:last-child) {
  border-right: 1px solid #c39322;
}

.group__selector .box div {
  width: 80%;
    font-size: 20px;
    font-weight: bold;
    margin: 0 10%;
}

.gs__selector , .group__container, .schedule {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: auto;
  text-align: center;
  z-index: 1;
}

.group__container, .schedule  {
  background: #fff;
}

.schedule__top img, .chart__top img{
  width: 100%;
  min-height: 30px;
  margin-top: -2px;
}

.chartTopM {
  display: none;
}

.group__container .groupDetail:after {
  background:url('shadow.png');
  content: '';
  width: 100%;
  height: 10px;
}

.schedule {
  padding: 0;
  max-width: 100%;
  background: url('bg_color2.jpg');
}

.schedule .schedule__content{
  max-width: 1000px;
  margin: auto;
  padding: 10px;
}

.schedule .schedule__content .dateWrapper  {
  margin: 10px;
  font-weight: bold;
  position: relative;
  z-index: 1;
}

.schedule .schedule__content .dateTitle {
  float: left;
  height: 70px;
  padding: 10px;
  padding-top: 25px;
  background: #229e4a;
  color: #fff;
}

.schedule .schedule__content .dateTitle.double {
  height: 140px;
  padding-top: 60px;
} 

.schedule .schedule__content .dateTitle.triple {
  height: 210px;
  padding-top: 90px;
}

.schedule .schedule__content .groupWrapper {
  padding: 10px;
  width: 100px;
  float: left;
  background: #215e2d;
  font-size: 18px;
  color: #fff;
}

.schedule .schedule__content .groupWrapper.double{
  padding: 20px;
}

.schedule .schedule__content .groupWrapper.triple {
  height: 210px;
}


.schedule .schedule__content .groupWrapper.double.dif {
  background: linear-gradient(to bottom, #215e2d 50%, #338844 50%)
}

.schedule .schedule__content .groupWrapper.triple {
  background: linear-gradient(to bottom, #215e2d 33%, #338844 33%, #338844 33%)
}

.schedule .schedule__content .groupWrapper.double.dif .groupName:first-child{
  padding-top: 10px;
}

.schedule .schedule__content .groupWrapper .groupName {
  height: 50px;
  padding-top: 15px;
}

.schedule .schedule__content .groupWrapper.double .groupName{
  padding-top: 20px;
}


.schedule .schedule__content .groupWrapper .groupName.double {
  height: 100px;
  padding-top: 40px;
}

.schedule .schedule__content .groupWrapper .groupName.triple_two {
  padding-top: 70px;
}

.schedule .schedule__content .row {
  width: calc(100% - 185px);
  float: left;
  background: #fff;
}

.schedule .schedule__content .row.odd{
  background: #fff0cb;
}

.gs__selector {
  padding: 50px 0;
}

.chart {
  max-width: 1920px;
  margin: auto;
  width: 100%;
  background: url('bg_blue.jpg');
  background-position: center;
}

.chartTitle {
  text-align: center;
  padding-top: 60px;
}

.chart .magnifier {
  display: none;
}

.chart .desktop {
  text-align: center;
  padding: 70px 0;
}

.chart .desktop img {
  width: 90%;
  margin: 0 5%;
  max-width: 1000px;
}

.schedule__header {
  width: 100%;
  display: table;
  border-bottom: 2px solid #1a306c;
  box-shadow: 0 0 20px #222; }
  .schedule__header .cell {
    width: 16.66667%;
    height: 60px;
    line-height: 60px;
    background-color: #575757;
    cursor: pointer; }
    .schedule__header .cell:nth-child(n+2) {
      border-left: 1px solid #000; }
    .schedule__header .cell.on {
      background-color: #1a306c; }

.day {
  display: none; }

.date__container,
.row {
  display: table;
  width: 100%; }

.date__container {
  margin-bottom: 75px; }

.row {
  display: table;
  width: 100%;
  padding: 15px;
}

.row.finished .middle {
  line-height: 8px;
}

.row.finished .middle div {
  border-radius: 15px;
}

.row:nth-child(n+2) .date {
  visibility: hidden; 
}

.groupId_CTN {
  font-weight: bold;
}

.groupId_CTN .row:not(:last-child){
  /* border-bottom: 1px solid #e0e0e0 */
}

.groupId {
  color: #008cd8;
  font-size: 25px;
  font-weight: bold;
  margin-top: 22px;
  padding: 10px 0;
}

.team {
  width: 58%; }

.middle {
  min-width: 75px;
  color: #575757;
}

.middle div {
  background: #efd79c;
  margin: 0 10px;
  padding: 3px 0;
  border-radius: 30px;
}

.middle div.score {
  margin: 0 auto;
} 

.middle div span {
  margin-right: 5px;
}

.middle .cell:not(.halfscore){
  font-size: 20px;
}


  .middle .group {
    display: none; }

.date,
.group,
.focus {
  width: 14%; }

.left,
.right {
  width: 40%; }

.team__icon img {
  height: 40px; }

.team__name {
  width: 100%;
  padding: 0 5%; }
  .team__name:nth-child(1) {
    text-align: right; }
  .team__name:nth-child(2) {
    text-align: left; }

.slide__menu__item.sub {
  display: none; }

.score {
  display: table;
  margin: auto;
  width: 125px; }

.halfscore div:nth-child(1) {
  font-size: 14px; }

@media (max-width: 640px) {
  
  .main__container{
    margin-top: 64px;
  }

  .group__selector .box div {
    font-size: 4.5vw;
  }

  .schedule {
    padding-left: 0;
    padding-right: 0; }
  .date,
  .group {
    display: none; }
  .middle .group {
    display: block;
    width: 100%;
    margin-bottom: 5px; }
  .date__container:before {
    content: attr(date);
    height: 40px;
    line-height: 40px;
    display: block;
    background-color: #2f2f2f; }
  .row {
    height: 85px; }
  .schedule__header {
    border-bottom: 0; }
    .schedule__header .cell {
      display: block;
      float: left;
      width: 33%;
      margin-bottom: 0.5%; }
      .schedule__header .cell:nth-child(n+2) {
        border-left: 0; }
      .schedule__header .cell:nth-child(3n+2) {
        margin-left: 0.5%;
        margin-right: 0.5%; }
  .team {
    width: 100%; } }

.group__container .groupDetail .tableContent div:last-child {
  /* font-weight: bold; */
}

.group__container .cell {
  width: 10%;
}

.group__container .groupDetail .tableHeader.table {
  color: #fff;
  padding-top: 30px;
  font-weight: bold;
  font-size: 20px;
  background-position-x: center;
  background-color: #eaaf0d;
  background-image: url(table_header.png);
}

.group__container .groupDetail .table {
  padding:10px;
}

.group__container .groupDetail .table:nth-child(even){
  background-color: #fff0cb;
}

.group__container .groupDetail .m_teamName {
  display: none;
}

.group__container .groupDetail img {
  height: 20px;
}

/* .main__container:after{
    content: '';
    display: block;
    height: 150px;
} */

@media (max-width: 767px) {

  .main__container {
    padding-bottom: 20px;
  }

  .gs__selector {
    padding: 30px 0;
  }
  
  .gs__selector img, .chartTitle img, .groupId img{
    width: 230px;
  }

  .gs__selector div {
    font-size: 4.5vw;
  }

  .group__container {
    padding: 0;
  }

  .group__container .groupDetail div div:nth-child(2){
    width: 20%;
  }

  .group__container .groupDetail .cell {
    width: 8%;
    font-size: 0.8em;
  }

  .group__container .groupDetail .tableContent .cell:last-child {
    /* font-size: 1em; */
  }

  .group__container .groupDetail .m_teamName {
    display: table-cell;
  }

  .group__container .groupDetail .teamName {
    /* display:none; */
  }

  .main__container:after {
    display: none;
  }

  .group__container {
    width: 96%;
    margin: 0 2%;
  }
  .schedule {
    width: 100%;
  }

  .middle {
  }
  
  .row.waiting .middle div {
    width: 100px;
    border-radius: 17px;
  }

  .middle.cell span {
    margin: 0;
    /* display: block; */
  }

}


@media(max-width: 640px){
 
  .group__container .groupDetail .tableHeader.table {
    padding-top: 20px;
    background-size: 100% 60px;
    font-size: 16px;
  }

   .group__container .groupDetail div div:nth-child(9){
    display: none;
  }

  .schedule .schedule__content {
    padding: 0;
  }

  .schedule .schedule__content .dateWrapper {
    margin: 5px 10px;
  }

  .schedule .schedule__content .dateTitle {
    height: 50px;
    padding: 10px 5px;
    padding-top: 15px;
    font-size: 10px;
  }

  .schedule .schedule__content .dateTitle.double {
    height: 100px;
    padding-top: 40px;
  }

  .schedule .schedule__content .dateTitle.triple {
    height: 150px;
    padding-top: 60px;
  }

  .schedule .schedule__content .groupWrapper {
    width: 30px;
    padding: 0;
    font-size: 12px;
  }

  .schedule .schedule__content .groupWrapper.double {
    padding: 0;
  }

  .schedule .schedule__content .groupWrapper.double.dif .groupName {
    padding-top: 15px;
  }

  .schedule .schedule__content .groupWrapper.double.dif .groupName:first-child {
    padding-top: 15px;
  }

  .schedule .schedule__content .groupWrapper.triple {
    height: 150px;
  }

  .schedule .schedule__content .groupWrapper .groupName.triple_two {
    padding-top: 40px;
  }

  .schedule .schedule__content .row {
    width: calc(100% - 80px);
    padding: 0;
    height: 50px;
    font-size: 12px;
    padding: 10px 0;
  }

  .shadowBlock {
    height: 6px;
  }

  .schedule .shadowBlock img {
    width: 95%;
    margin-top: -35px;
  }

  .row.waiting .middle div {
    width: 60px;
  }

  .team__icon img {
    height: 16px;
  }

  .chart {
    background-size: 640px;
  }

  .chart .magnifier {
    position: absolute;
    right: 0;
    height: 60px;
    cursor: pointer;
    display: block;
  }

  .chartTitle {
    padding-top: 20px;
  }

  .chart .desktop{
    padding: 25px;
  }

  .chart .desktop img {
    width: 95%;
    margin: 0 2.5%;
  }

  .chart__top .chartTop {
    display: none;
  }

  .chart__top .chartTopM {
    display: block;
  }

  .row.finished .middle div {
    border-radius: 5px;
    padding: 2px 0;
  }
  
  .halfscore div:nth-child(1) {
    font-size: 12px;
  }

  .row.finished .middle .score {
    width: 70px;
    padding: 0 1px;
  }

  .middle .cell:not(.halfscore) {
    font-size: 16px;
  }

}