*, *:before, *:after {box-sizing:border-box}
html {
    font-size:62.5%;
}
body {
    font-family:'Lato',sans-serif;
    font-size:1.6rem;
    line-height:1.5;
    color:#333;
    padding:1rem 5vw;
    margin:0;
    background:url(body-bg.png) center center;
    background-size:cover;
    height:100vh;
    overflow-x:hidden;
}

h1 {
    color:#fff;
    text-shadow:0 1px 1px #111;
    line-height:1.25;
}

#tab-wrap {
    margin:0 auto;
}
table td {
    line-height:1
}
/* line 2, ../sass/_sortable.sass */
table[data-sortable] {
    border-collapse: collapse;
    border-spacing: 0;
    margin:1rem auto 3rem;
  }
  /* line 6, ../sass/_sortable.sass */
  table[data-sortable] th {
    vertical-align: bottom;
    font-weight: bold;
  }
  /* line 10, ../sass/_sortable.sass */
  table[data-sortable] th, table[data-sortable] td {
    text-align: left;
    padding: 10px;
  }
  /* line 14, ../sass/_sortable.sass */
  table[data-sortable] th:not([data-sortable="false"]) {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
    cursor: pointer;
  }
  /* line 26, ../sass/_sortable.sass */
  table[data-sortable] th:after {
    content: "";
    visibility: hidden;
    display: inline-block;
    vertical-align: inherit;
    height: 0;
    width: 0;
    border-width: 5px;
    border-style: solid;
    border-color: transparent;
    margin-right: 1px;
    margin-left: 10px;
    float: right;
  }
  /* line 40, ../sass/_sortable.sass */
  table[data-sortable] th[data-sorted="true"]:after {
    visibility: visible;
  }
  /* line 43, ../sass/_sortable.sass */
  table[data-sortable] th[data-sorted-direction="descending"]:after {
    border-top-color: inherit;
    margin-top: 8px;
  }
  /* line 47, ../sass/_sortable.sass */
  table[data-sortable] th[data-sorted-direction="ascending"]:after {
    border-bottom-color: inherit;
    margin-top: 3px;
  }
  
  /* line 5, ../sass/sortable-theme-light.sass */
  table[data-sortable].sortable-theme-light {
    color: #333333;
    background: #f2f2f2;
  }
  /* line 9, ../sass/sortable-theme-light.sass */
  table[data-sortable].sortable-theme-light tbody td {
    border-top: 1px solid #e0e0e0;
  }
  /* line 12, ../sass/sortable-theme-light.sass */
  table[data-sortable].sortable-theme-light th[data-sorted="true"] {
    background: #e0e0e0;
  }
  #tab-divider {
      width:100%;
      flex:0 0 100%;
  }

  tbody tr:nth-child(odd) td {
    background: rgba(255,255,255,0.95);
}
#league-link {
    display:inline-block;
    font: 700 16px 'Open Sans Condensed', sans-serif;
    color:#fff;
    padding:1rem 2rem;
    margin:0 0 1.5rem 0;
    text-shadow: none;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.2px;
    border-bottom: 3px solid #336300;
    background-color: #5ea600;
    background-image: linear-gradient(#5ea600, #419400);
}
#league-link:active,
#league-link:focus,
#league-link:hover {
    border-bottom: 3px solid #9ae200;
    background: #419400;
}
.tab-wrap {
    transition: 0.3s box-shadow ease;
    border-radius: 6px;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    list-style: none;
    background-color:rgba(255,255,255,0.85);
    margin: 40px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  }
  .tab-wrap:hover {
    box-shadow: 0 12px 23px rgba(0, 0, 0, 0.23), 0 10px 10px rgba(0, 0, 0, 0.19);
  }
  
  .tab {
    display: none;
  }
  .tab:checked:nth-of-type(1) ~ .tab__content:nth-of-type(1) {
    opacity: 1;
    transition: 0.5s opacity ease-in, 0.8s transform ease;
    position: relative;
    top: 0;
    z-index: 100;
    transform: translateY(0px);
    text-shadow: 0 0 0;
    background-color:rgba(255,255,255,0.85)
  }
  .tab:checked:nth-of-type(2) ~ .tab__content:nth-of-type(2) {
    opacity: 1;
    transition: 0.5s opacity ease-in, 0.8s transform ease;
    position: relative;
    top: 0;
    z-index: 100;
    transform: translateY(0px);
    text-shadow: 0 0 0;
  }
  .tab:checked:nth-of-type(3) ~ .tab__content:nth-of-type(3) {
    opacity: 1;
    transition: 0.5s opacity ease-in, 0.8s transform ease;
    position: relative;
    top: 0;
    z-index: 100;
    transform: translateY(0px);
    text-shadow: 0 0 0;
  }
  .tab:checked:nth-of-type(4) ~ .tab__content:nth-of-type(4) {
    opacity: 1;
    transition: 0.5s opacity ease-in, 0.8s transform ease;
    position: relative;
    top: 0;
    z-index: 100;
    transform: translateY(0px);
    text-shadow: 0 0 0;
  }
  .tab:checked:nth-of-type(5) ~ .tab__content:nth-of-type(5) {
    opacity: 1;
    transition: 0.5s opacity ease-in, 0.8s transform ease;
    position: relative;
    top: 0;
    z-index: 100;
    transform: translateY(0px);
    text-shadow: 0 0 0;
  }
  .tab:checked:nth-of-type(6) ~ .tab__content:nth-of-type(6) {
    opacity: 1;
    transition: 0.5s opacity ease-in, 0.8s transform ease;
    position: relative;
    top: 0;
    z-index: 100;
    transform: translateY(0px);
    text-shadow: 0 0 0;
  }
  .tab:checked:nth-of-type(7) ~ .tab__content:nth-of-type(7) {
    opacity: 1;
    transition: 0.5s opacity ease-in, 0.8s transform ease;
    position: relative;
    top: 0;
    z-index: 100;
    transform: translateY(0px);
    text-shadow: 0 0 0;
  }
  .tab:checked:nth-of-type(8) ~ .tab__content:nth-of-type(8) {
    opacity: 1;
    transition: 0.5s opacity ease-in, 0.8s transform ease;
    position: relative;
    top: 0;
    z-index: 100;
    transform: translateY(0px);
    text-shadow: 0 0 0;
  }
  .tab:checked:nth-of-type(9) ~ .tab__content:nth-of-type(9) {
    opacity: 1;
    transition: 0.5s opacity ease-in, 0.8s transform ease;
    position: relative;
    top: 0;
    z-index: 100;
    transform: translateY(0px);
    text-shadow: 0 0 0;
  }
  .tab:checked:nth-of-type(10) ~ .tab__content:nth-of-type(10) {
    opacity: 1;
    transition: 0.5s opacity ease-in, 0.8s transform ease;
    position: relative;
    top: 0;
    z-index: 100;
    transform: translateY(0px);
    text-shadow: 0 0 0;
  }
  .tab:checked:nth-of-type(11) ~ .tab__content:nth-of-type(11) {
    opacity: 1;
    transition: 0.5s opacity ease-in, 0.8s transform ease;
    position: relative;
    top: 0;
    z-index: 100;
    transform: translateY(0px);
    text-shadow: 0 0 0;
  }
  .tab:checked:nth-of-type(12) ~ .tab__content:nth-of-type(12) {
    opacity: 1;
    transition: 0.5s opacity ease-in, 0.8s transform ease;
    position: relative;
    top: 0;
    z-index: 100;
    transform: translateY(0px);
    text-shadow: 0 0 0;
  }
  .tab:checked:nth-of-type(13) ~ .tab__content:nth-of-type(13) {
    opacity: 1;
    transition: 0.5s opacity ease-in, 0.8s transform ease;
    position: relative;
    top: 0;
    z-index: 100;
    transform: translateY(0px);
    text-shadow: 0 0 0;
  }
  .tab:checked:nth-of-type(14) ~ .tab__content:nth-of-type(14) {
    opacity: 1;
    transition: 0.5s opacity ease-in, 0.8s transform ease;
    position: relative;
    top: 0;
    z-index: 100;
    transform: translateY(0px);
    text-shadow: 0 0 0;
  }
  .tab:checked:nth-of-type(15) ~ .tab__content:nth-of-type(15) {
    opacity: 1;
    transition: 0.5s opacity ease-in, 0.8s transform ease;
    position: relative;
    top: 0;
    z-index: 100;
    transform: translateY(0px);
    text-shadow: 0 0 0;
  }
  .tab:first-of-type:not(:last-of-type) + label {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  .tab:not(:first-of-type):not(:last-of-type) + label {
    border-radius: 0;
  }
  .tab:last-of-type:not(:first-of-type) + label {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .tab:checked + label {
    background-color: rgba(255,255,255,0.85);
    box-shadow: 0 -1px 0 #fff inset;
    cursor: default;
  }
  .tab:checked + label:hover {
    box-shadow: 0 -1px 0 #fff inset;
    background-color: rgba(255,255,255,0.85);
  }
  .tab + label {
    box-shadow: 0 -1px 0 #eee inset;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: #333;
    flex-grow: 3;
    text-align: center;
    background-color: rgba(255,255,255,0.3);
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    text-align: center;
    transition: 0.3s background-color ease, 0.3s box-shadow ease;
    height: 50px;
    box-sizing: border-box;
    padding: 15px;
  }
  .tab + label:hover {
    background-color: rgba(255,255,255,0.85);
    box-shadow: 0 1px 0 #f4f4f4 inset;
  }
  .tab__content {
    padding: 10px 25px;
    background-color: transparent;
    position: absolute;
    width: 100%;
    z-index: -1;
    opacity: 0;
    left: 0;
    transform: translateY(-3px);
    border-radius: 6px;
  }

  .playoff-wrapper {
    overflow-x:auto;
    text-align:center;
  }

  .flex-row {
      display: inline-flex;
      align-items:stretch;
      min-width:720px;
      margin:10px auto;
  }

  .flex-col {
      position:relative;
      flex:0 1 25%;
      min-width:270px;
      display:flex;
      flex-direction:column;
      justify-content:center;
      padding:10px 50px 0 0;
  }

  .flex-col > span {
    display:block;
    padding:5px;
    text-align: left;
  }

  .flex-col ul {
      position:relative;
      margin:0;
      padding:0;
  }

  .flex-col ul + span {
      margin-top:30px;
  }
  .flex-col li {
      position:relative;
      display:flex;
      justify-content: space-between;
      width:100%;
      height:34px;
      font-size:14px;
      line-height:20px;
      padding:7px 8px;
      margin:10px 0;
      background:#f2f4f7;
      border:1px solid #ccc;
      border-radius:4px;
      text-overflow: ellipsis;
  }

  .flex-col li.winner {
      background:#c7ffde;
  }

  .flex-col li.loser {
    background: #f5f5f5;
    color: #999;
  }


  .flex-col:not(:last-child) ul:before{
      position:absolute;
      content:'';
      display:block;
      height:calc(100% - 53px);
      width:1px;
      background:#c2c4c7;
      right:-15px;
      top:26px;
  }

  .flex-col:not(:last-child) ul:after{
      position:absolute;
      content:'';
      display:block;
      height:1px;
      width:15px;
      background:#c2c4c7;
      right:-30px;
      top:50%;
  }

  .flex-col:not(:last-child) li:first-child:after,
  .flex-col:not(:last-child) li:last-child:after {
      content:'';
      display:block;
      position:absolute;
      width:15px;
      height:1px;
      right:-15px;
      top:15px;
      background:#c2c4c7;
  }

  #loading-icon {
    position:fixed;
    display:flex;
    align-items:center;
    justify-content:center;
    height:100vh;
    width:100vw;
    top:0;
    left:0;
    opacity:0;
    transition:0.5s;
    animation: infiniteRotate 1.25s linear infinite;
    z-index:1;
  }

  .loading #loading-icon {
    opacity:1;
  }

  .loaded #loading-icon {
    opacity:0;
  }
  /* Standard syntax */
  @keyframes infiniteRotate {  
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

@media screen and (max-width:575px) {
      #tab0 th:first-child, #tab0 td:first-child {
          display:none;
      }
}

@media screen and (max-width:450px) {
    body {font-size:1.33rem;}
    .tab__content {
        padding: 1rem 1.5rem;
    }
    table[data-sortable] th, table[data-sortable] td {
        text-align: left;
        padding: 5px 8px;
    }
    table[data-sortable] th:after {
        margin-left: 5px;
      }
}