.tabell-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 15px;

}


.tabell-title {
  font-size: 18px;
  padding-bottom: 20px;

}

.grid {
  display: grid;
  grid-template-columns: 30px 70px 40px 40px 40px 40px 40px;
  padding-left: 15px;
  padding-right: 15px;
  border-radius: 10px;
  width: 300px;
}

.kol1 {
  grid-column: 1 / span 2;
}

.top-row {
  padding-top: 5px;
  margin-bottom: 5px;
}

.top-row div:nth-child(-n + 7) {
  padding-bottom: 5px;
  border-bottom: 1px solid rgb(201, 201, 201);
}

.top-row div:first-child {
  font-size: 12px;
}

.top-row div:nth-child(7n + 6) {
  font-weight: bold;
}

.top-row div {
  font-size: 14px;
}

.tabell-tipset {
  /* background-color: rgb(242, 249, 255); */
  padding-bottom: 10px;
  position: relative;
}

.btn-slumprad {
  position: absolute;
  bottom: -40px;
  right: 15px;
  border: none;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  background-color: transparent;
  padding: 5px 8px;
  border-radius: 10px;
  font-size: 12px;
  color: rgb(180, 0, 0);
  cursor: pointer;
}

.tabell-tipset div {
  font-size: 14px;
}

.tabell-tipset div {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom-color: rgb(172, 172, 172);
}

.tabell-tipset div:nth-child(-n + 7),
.tabell-tipset div:nth-child(n + 50) {
  border: none;
}

.tabell-tipset div:nth-child(-n + 7) {
  border-bottom: 1px solid rgb(201, 201, 201);
}

.tabell-tipset div:nth-child(7n + 7) {
  font-weight: bold;
}

.rader-link-container {
  display: flex;
  width: 300px;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
  font-size: 13px;
  font-weight: bold;
  color: rgb(125, 125, 125);
}

.rader-link {
  font-size: 15px;
}

.rader-link-text {
  font-size: 15px;
  color: rgb(180, 0, 0);
}

/* Rader */

.tr-page {
  display: flex;
  flex-direction: column;
  align-items: center;

}

.tr-title {
  font-size: 18px;
  margin-top: 15px;
  margin-bottom: 15px;

}

.tr-title-inactive {
  display: none;
}

.rader {
  width: 300px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  font-size: 12px;
  margin-top: 10px;
  justify-items: center;
}

.rader-inactive {
  display: none;
}

.btn-go-big {
  margin: 0;
  padding: 0;
  background-color: transparent;
  color: inherit;
  border: none;
  cursor: pointer;
}

.tr-main-col {
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
  width: 52px;
  position: relative;
}


.score {
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  height: 9px;
  width: 9px;
  border: 2px solid rgba(180, 0, 0, 0.4);
  border-radius: 12px;
  font-size: 8px;
  color: rgb(90, 90, 90);
  font-weight: bold;
  padding: 3px;
  position: absolute;
  /*
  bottom: -5px;
  right: -13px; */
  top: -22px;
  left: -7px;
}

.tr-row {
  display: flex;
  font-size: 8px;
  margin-bottom: 2px;
}

.tr-col-num {
  width: 13px;
  font-size: 7px;
  color: rgb(180, 180, 180);
  margin-right: auto;
}

.tippare {
  display: flex;
  padding-bottom: 2px;
  font-size: 11px;
  color: black;
}

.tippare div {
  margin-left: 14px;
}

.tr-col {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid black;
  width: 10px;
  height: 10px;
  margin-right: 2px;
  color: rgb(200, 200, 200);
}

.loss {
  color: rgb(49, 183, 49);
  font-weight: bold;
}

.tr-col-p {
  display: flex;
  background-color: rgb(235, 235, 235);
  justify-content: center;
  align-items: center;
  border: 1px solid black;
  width: 10px;
  height: 10px;
  margin-right: 2px;
  font-weight: bold;
}

.result {
  background-color: rgb(166, 253, 166);
}

/* Knappar m.m. för att visa Systemet */
.sys-icon {
  height: 33px;
  width: 33px;
  font-size: 10px;
  /* color: black;
  border: 1px solid #000000; */
  color: #b40000;
  border: 1px solid #b40000;
  border-radius: 16px;
  margin: 0;
  padding: 0;
  position: absolute;
  z-index: 50;
  top: 119px;
  left: 72px;
  cursor: pointer;
  /* display: none; */
}

.sys-icon:hover {
  background-color: lightyellow;
}

.sys-icon-inactive {
  display: none;
}


.btn-sys {
  /*background-color: transparent;*/
  color: black;
  border: none;
  border-radius: 8px;
  margin: 0;
  padding: 0;
  position: absolute;
  z-index: 50;
  top: 117px;
  left: 20px;
  display: none;
}

.sys-con {
  height: 20px;
  width: 65px;
  background-color: #ecee8a;
  border: 1px solid #ecee8a;
  border-radius: 10px;
  display: flex;
  justify-items: space-between;
  align-items: center;
  padding: 5px 10px;
  margin: 0;
}


.sys-con-img {}

.btn-sys-icon {
  height: 14px;
}

.btn-sys-text {
  color: black;
  margin-left: auto;
}

/* END Systemet */

/* BIG VERSION */


.rader-big {
  width: 300px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  font-size: 12px;
  justify-items: center;
}

.tr-main-col-big {
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
  width: 300px;
  position: relative;
}

.score-big {
  background: white;
  height: 27px;
  width: 27px;
  border: 2px solid rgba(180, 0, 0, 0.7);
  border-radius: 14px;
  font-size: 13px;
  color: blue;
  font-weight: bold;
  padding: 0;
  position: absolute;
  top: -42px;
  right: 0px;
}


.tippare-big {
  display: flex;
  padding-left: 5px;
  padding-bottom: 2px;
  font-size: 16px;
  border-bottom: 1px solid rgb(200, 200, 200);
  margin-bottom: 10px;
}

.tippare-big div {
  margin-left: 5px;

}

.tr-row-big {
  display: flex;
  font-size: 11px;
  padding: 2px 0px;
  align-items: center;
}

.tr-row-big:nth-child(2n+1) {
  background-color: rgb(247, 247, 247);
}

.tr-col-num-big {
  width: 13px;
  font-size: 11px;
  margin-right: 5px;
}

.teams-big {
  margin-right: auto;
  font-size: 12px;
}

.final-score-big {
  margin-right: 8px;
  /* background-color: rgb(229, 245, 250); */
  font-weight: bold;
  color: rgb(76, 183, 218);
  font-size: 10px;
}

.tr-col-big {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid black;
  width: 15px;
  height: 15px;
  margin-right: 3px;
  color: rgb(200, 200, 200);
}

.loss-big {
  color: rgb(49, 183, 49);
  font-weight: bold;
}

.tr-col-p-big {
  display: flex;
  background-color: rgb(235, 235, 235);
  justify-content: center;
  align-items: center;
  border: 1px solid black;
  width: 15px;
  height: 15px;
  margin-right: 3px;
  font-weight: bold;
}


.result-big {
  background-color: rgb(166, 253, 166);
}

.rad-big {
  background-color: white;
  position: absolute;
  top: 65px;
}

.rad-big-inactive {
  display: none;
}

.btn-close-big {
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: rgb(175, 175, 175);
  background-color: white;
  border: 1px solid rgb(175, 175, 175);
  ;
  border-radius: 4px;
  padding: 5px 20px;
  margin: 15px auto 0px auto;
  cursor: pointer;
}

/* LIVE */



.live-icon {
  width: 50px;
  height: 22px;
  background-color: red;
  color: white;
  font-weight: bold;
  border: none;
  padding: 0;
  border-radius: 6px;
  position: absolute;
  right: 40px;
  top: 15px;
  display: none;
  /* TA BORT OVAN VID LIVE */
}

.live-icon-inactive {
  display: none;
}

/* Tidigare Live-form

.live-container {
  width: 300px;
  display: flex;
  flex-direction: column;
  margin: 0px auto;
}


.live-tipsrad {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  width: 300px;
  margin: 10px auto;
  justify-items: center;
}

*/

.live-container {
  width: 300px;
  margin: 5px auto 0px auto;
}

.live-tipsrad {
  width: 300px;
}

.live-row {
  display: flex;
  width: 300px;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0px 3px 0px;
}

.live-row:nth-child(2n + 1) {
  background-color: rgb(247, 247, 247);
}

.live-row:last-child {
  margin-bottom: 15px;
}

.live-number {
  width: 15px;
}

.live-teams {
  font-size: 11px;
  color: rgb(165, 165, 165);
}

.live-row-box {
  display: flex;
  margin-left: 30px;
}

.live-box {
  background-color: white;
  border: 2px solid rgb(200, 200, 200);
  height: 19px;
  width: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
}

.live-box:first-child {
  margin-left: auto;
}

input[type="radio"] {
  appearance: none;
  background-color: #fff;
  width: 16px;
  height: 16px;
  /*border: 2px solid #ccc;*/
  border-radius: 2px;
  display: inline-grid;
  place-content: center;

}

input[type="radio"]:checked {
  background-color: rgb(156, 190, 156);
  border: 2px solid rgb(156, 190, 156);
  /*
  background-color: rgb(200, 200, 200);
  border: 2px solid rgb(200, 200, 200);*/

}

.live-radio-btn {
  margin: 0;
}

.live-btn {
  height: 30px;
  width: 85px;
  background-color: white;
  border: 2px solid lightgray;
  border-radius: 4px;
  color: rgb(75, 75, 75);
  font-weight: bold;
  display: inline-block;
  margin-left: 10px;
  cursor: pointer;
}

.live-btn:hover {
  background-color: rgb(245, 245, 245);
}

.live-btn-reg {
  border: 2px solid rgb(156, 190, 156);
  border-radius: 4px;
  color: rgb(75, 75, 75);
}

.live-btn-nopicks {
  border: 2px solid rgb(230, 230, 230);
  border-radius: 4px;
  color: rgb(160, 160, 160);
}

.live-pos {
  background-color: white;
  position: absolute;
  top: 165px;
}

.live-inactive {
  display: none;
}

.live-icon-inactive {
  display: none;
}

.live-offline {
  width: 300px;
  margin: 5px auto 0px auto;
  font-size: 20px;
  color: gray;
}

.live-offline-inactive {
  display: none;
}

.live-chart {}

.live-chart-table {
  width: 300px;
  margin: 5px auto 0px auto;
  display: flex;
  flex-direction: column;
}

.lsc-btn {
  border: none;
  background-color: transparent;

  padding: 0;
  margin: 0;
  cursor: pointer;
}

.live-chart-row {
  width: 300px;
  height: 18px;
  display: flex;
  border-bottom: 1px solid rgb(201, 201, 201);
  padding-bottom: 8px;
  margin-bottom: 8px;
  align-items: center;
}

.lcr-title {
  font-size: 13px;
  font-weight: bold;
  color: gray;
}

.live-chart-row:last-child {
  border-bottom: none;
}

.lcr-pos {
  font-size: 14px;
}

.lcr-id {
  margin-left: 15px;
}

.lcr-id-link {
  color: darkblue;
  font-size: 15px;
}

.lcr-points {
  margin-right: 10px;
  margin-left: auto;
  font-weight: bold;
}

.live-chart-row-fc75 {
  margin-top: 10px;
  color: rgb(175, 175, 175);
}

.lcr-id-fc75 {
  color: rgb(175, 175, 175);
}

.live-chart-inactive {
  display: none;
}


@media (min-width: 700px) {
  .grid {
    width: 700px;
    grid-template-columns: 30px 1fr 40px 40px 40px 40px 40px;
  }

  .rader {
    width: 700px;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  }

  .rader-link-container {
    width: 700px;
  }
}