@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap');


body {
  background: #f9f8f6;
  font-family: "proxima-nova", sans-serif;
  font-family: "IBM Plex Sans", sans-serif !important;
  line-height: 1.3;
}

a {
  color: #3a65a0;
}

a:hover {
  color: #0cf;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: sans-serif;
  font-family: "IBM Plex Sans", sans-serif !important;
  margin: 0.2rem 0 0.4rem 0;
  padding: 0;
}

h1 {
  font-size: 2.4rem;
  font-size: 700;
}
h2 {
  font-size: 1.8rem;
  line-height: 1.2;
  font-size: 500 !important;
  border-bottom: 2px solid #3a65a0;
  margin-bottom: 2rem;
  padding-bottom: 0.3rem;
  color: #3a65a0;
}
h3 {
  font-size: 1.6rem;
  font-size: 700;
}

h4 {
  font-size: 1.3rem;
  font-size: 700;
}

h5 {
  font-size: 1rem;
}
h6 {
  font-size: 0.85rem;
}

#title {
  font-size: 1.2rem;
  padding: 0;
  margin: 0;
}

#header h2 {
  border-bottom: 0;
  margin-bottom: inherit;
  color: #fff;
  font-size: 1.2rem;
}

#header li {
  font-family: "futura-pt", "proxima-nova", sans-serif;
  font-family: "IBM Plex Sans", sans-serif !important;
  font-size: 700;
  text-transform: uppercase;
}

.title-bar-left h2,
h1#title {
  font-size: 10px;
  line-height: 1;
  width:14rem;
  height: 2rem;
  background-image: url(../img/myscorelive.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  padding: 0;
  margin: 0;
  text-indent: -9999px;
}

h1#title a {
  display: block;
  width:14rem;
  height: 2rem;
  line-height: 1;
  padding: 0;
  margin: 0;
}

h1#title span {
  padding: 0;
  margin: 0;
}


.title-bar-left h2,
.title-bar-left h2 a {
  width:10rem;
  height: 1.8rem;
  display: block;
}


/* RESPONSIVE TABLE */

.match-tb {
  border-collapse: collapse;
  background-color: transparent;
}

.match-tb.unstriped tbody,
.match-tb.unstriped tr {
  background-color: transparent;
}
.match-tb th {
}

.match-tb tr,
.match-tb th,
.match-tb td {
  border: 1px solid #0a0a0a;
}

.playerprofile {
  display: flex;
}
.playerprofile figure {
  align-self: flex-start;
}

.playerprofile .player {
  align-self: flex-start;
}

.menu .search i {
  font-size: 1.6rem;
  line-height: 0.6;
}

.playerprofile figure {
  width: 13rem;
  margin: 0 2rem 2rem 0;
}

/* player results */

.resultslist {
  list-style-type: none;
  padding: 0;
}

.resultslist li {
  margin-bottom: 1rem;
}

.resultslist li a {
  font-weight: 700;
  display: block;
}

.resultslist li a div {
  font-weight: 400;
  color: #333;
  font-size: 1rem;
}

.resultslist.tournaments li a {
  font-weight: 400;
}

/* paddings */

.grid_right,
.grid_main {
  padding: 2rem;
}

.grid_footer {
  padding: 1rem;
}


.grid_footer.withlink {
  padding: 0;
}

.grid_footer p {
  margin: 0;
}


.grid_main ul {
  list-style-type: none;
  padding: 0;
  margin: 0.5rem 0 1rem 0;
}

.grid_main h4 {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01rem;
  background-color: #e4e5e3;
  color: #333;
  line-height: 1;
  padding: 0.5rem 1rem;
  margin-top: 1rem;
}

/* header */

.top-bar,
.top-bar ul,
.title-bar {
  background-color: transparent;
  color: #fff;
}

.top-bar a,
.top-bar ul a,
.title-bar a {
  color: #fff;
}

/* table */

table.match-tb.unstriped {
  border-collapse: collapse;
}

table.match-tb.unstriped tr:first-child {
  border-top: 1px solid #e4e5e3;
}

table.match-tb caption {
  text-align: right;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01rem;
  background-color: #e4e5e3;
  color: #333;
  line-height: 1;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  position: relative;
}

table.match-tb caption span {
  display: inline-block;
}

table.match-tb caption span.court {
  float: left;
}

span.date,
span.gamestatus {
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
  padding: 0.1rem 0.4rem;
  border-radius: 0.2rem;
  border: 1px solid #000;
  margin-left: 0.5rem;
}

span.gamestatus.finished {
  border-color: #090;
  color: #090;
}

span.gamestatus.pending {
  border-color: #f00;
  color: #f00;
}

span.gamestatus.suspended {
  border-color: #f60;
  color: #fff;
  background-color: #f60;
}

span.gamestatus.notplayed {
  border-color: #06c;
  color: #06c;
}

span.gamestatus.live {
  border-color: #bf4e30;
  color: #fff;
  background-color: #bf4e30;
}

span.date {
  border-color: #aaa;
  color: #666;
}

table.match-tb tr {
  border: 0;
}

table.match-tb th {
  border: 0;
  border-right: 1px solid #e4e5e3;
  border-bottom: 1px solid #e4e5e3;
  border-left: 1px solid #e4e5e3;
  background-color: #fff;
}

table.match-tb td {
  border: 0;
  border-right: 1px solid #e4e5e3;
  border-bottom: 1px solid #e4e5e3;
  background-color: #f2f0ed;
  text-align: center;
  width: 6%;
}

table .winner,
table .winner th,
table .winner td {
  background-color: #ffc !important;
}

table td.win {
  font-weight: 700;
}

th .team {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #999;
  display: block;
}

th .team.home {
  color: #666;
}

table.match-tb td input {
  border-radius: 0.2rem;
  border: 1px solid #999;
  padding: 0.5rem;
  width: 2rem;
  text-align: center;
  margin: 0 auto;
}

/* search */

.searchbox input[type="text"] {
  border: 1px solid #e4e5e3;
  background-color: #fff;
  border-radius: 0.3rem;
  padding: 0.25rem 0.5rem;
  box-shadow: none;
  max-width: 30rem;
  display: inline-block;
}
.searchbox input[type="button"] {
  border: 0;
  background-color: #044389;
  color: #fff;
  border-radius: 0.3rem;
  padding: 0.7rem 1rem;
  box-shadow: none;
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01rem;
  line-height: 1;
}

.searchbox input[type="button"]:hover {
  background-color: #0cd;
}

.for-demo-only {
  margin-top: 10rem;
  padding: 2rem;
  background-color: #ffffa5;
  border: 1px solid #dd6;
  display: inline-block;
}

.for-demo-only.home {
  margin-top: 1rem;
  padding: 2rem;
  background-color: #ffffa5;
  border: 1px solid #dd6;
  display: inline-block;
  max-width: 36rem;
}

.for-demo-only.home p,
.for-demo-only.home li {
  font-size: 1rem;
}

/* game validation */

ul.validategame {
  margin: 1rem 0;
  display: block;
  justify-content: inherit;
}

.validategame {
  width: 100%;
}
.validategame li {
  margin: 0 0.3rem;
  display: inline-block;
}

.bt-button a,
.validategame li a {
  padding: 0.75rem 1.5rem;
  border-radius: 0.3rem;
  background-color: #090;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  display: inline-block;
  border-width: 1px; 
  border-style: solid;
  border-color: #090;
  transition: all .3s;
}

.bt-button a {
  background-color: #044389;
  border-color: #044389;
  display: inline-block;
}
.bt-button a:hover {
  background-color: #0cd !important;
  border-color: #0cd !important;
}



.validategame li.val-no a {
  background-color: #fff;
  color: #a00;
  border-color: #a00;
}


.validategame li.val-no a:hover {
  background-color: #a00;
  color: #fff;
}

.validategame li.val-yes a:hover {
  background-color: #0c0;
  border-color: #0c0;
  color: #fff;
}

/* tabs styling for tournament */

#tournament-tabs {
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid #3a65a0;
}

#tournament-tabs .tabs-title a {
  border-top-left-radius: 0.2rem;
  border-top-right-radius: 0.2rem;
  margin-right: 0.2rem;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.7rem 1rem;
}

#tournament-tabs .tabs-title a:hover {
  background-color: transparent;
}


#tournament-tabs .tabs-title.is-active a {
  background-color: #3a65a0;
  color: #fff;
}

#tournament-tabs .tabs-title a:active {
  background-color: #3a65a0;
  color: #fff;
}

.tabs-content {
  padding: 0;
  border: 0;
  background-color: transparent !important;
}

.tabs-panel {
  padding: 0;
}

.tabs-panel h2 {
  display: none;
}

@media screen and (max-width: 40rem) {
  #iframe {
    min-height: 75vh;
  }
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  h3 {
    font-size: 1.2rem;
  }

  h4 {
    font-size: 1rem;
  }

  p,
  li {
    font-size: 1rem;
  }

  .playerprofile {
    display: flex;
    flex-flow: column wrap;
  }
  table.match-tb td {
    width: auto;
  }

  .profile .game,
  .profile .game .match,
  .playerprofile .player,
  .playerprofile figure,
  .playerprofile figure img {
    width: 100%;
  }

  .profile .player,
  .profile .game {
    margin-bottom: 4rem;
  }

  #content .match,
  .profile .match {
    max-width: 100%;
    width: 100%;
  }

  table.match-tb th,
  table.match-tb td {
    font-size: 0.85rem;
  }

  .gamevalidation .match {
    width: 100%;
    max-width: 100%;
  }

  ul.validategame {
    display: flex;
    justify-content: space-around;
  }


.top-bar-left {
  display: none;
}

  /*
.profile #matchslider {
  flex-wrap: wrap;
}
*/

  /**/
}

/*  SLIDER */

#iframe {
  width: 100%;
  height: auto;
  min-height: 50vh;
  border: 0;
}
.match {
  max-width: 25rem;
  width: 25rem;
  display: inline-block;
}

#matchslider {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: wrap;
}

#matchslider .match {
  margin: 0 1rem 0 0;
}

@media screen and (min-width: 40.1rem) {
  .carouseria-nav {
    display: none;
  }
}
@media screen and (max-width: 40rem) {
  .grid_footer,
  .grid_right,
  .grid_main {
    padding: 1rem;
  }

  /*
.grid_main {
  background-color: #18663f;
}
*/

  table.match-tb td {
    background-color: #fff;
    font-size: 3rem;
  }

  table.match-tb th,
  table.match-tb td {
    width: 50%;
  }

  #matchslider {
    padding: 0 !important;
    width: 100%;
    overflow: hidden;
  }

  #matchslider .match {
    display: table;
    transition: opacity 0.3s;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  #gamesupcoming,
  #gamesplayed,
  #gamescurrent {
    position: absolute;
    width: 100%;
    background-color: #f9f8f6;
  }

  .carouseria-nav {
    display: table;
    position: relative;
    padding: 0;
    margin: 0 auto;
    pointer-events: none;
    width: 100%;
    top: 0;
    bottom: inherit;
  }

  .carouseria-nav .horizontal {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    transform: translateY(0%);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  .carouseria-nav .horizontal .nav-right,
  .carouseria-nav .horizontal .nav-left {
    pointer-events: all;
    float: left;
    margin: 0;
    padding: 1rem;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.2s;
    display: inline-block;
    width: 48%;
    text-align: center;
    border: 1px solid #000;
    border-radius: 0.2rem;
  }

  .carouseria-index {
    display: flex;
    position: relative;
    justify-content: center;
    pointer-events: none;
  }

  /**/
}

@media screen and (min-width: 110rem) {
  #header {
    display: none;
  }

  #matchslider {
    flex-wrap: nowrap;
  }

  .tabs-content .tabs-panel {
    display: block;
    height: auto;
  }

  .tabs-panel h2 {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    border: 0;
    margin: 1rem 0 0.5rem 0;
    padding: 0.5rem 1rem;
    border-radius: 0.1rem;
    color: #fff;
    background-color: #bf4e30;
  }

  .tabs-panel#played h2 {
    background-color: #090;
  }
  .tabs-panel#upcoming h2 {
    background-color: #06c;
  }
  #iframe {
    min-height: 14rem !important;
  }

  #tournament-tabs {
    display: none;
  }

  .tabs-content {
    display: flex;
    flex-direction: column;
  }

  .tabs-content #live {
    order: 1;
  }
  .tabs-content #upcoming {
    order: 3;
  }
  .tabs-content #played {
    order: 2;
  }

  /* */
}

/* */

.bg-tennis-net #content {
  background-image: url("../img/bg-tennis-net.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.qrcode {
  width: 100%;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#footer a {
  text-decoration: none;
  color: #fff;
  display: block;
  width: 100%;
  padding: 1rem;
}
