.per-set-res,
period-title {
  width: 68px;
  text-align: left;
  /* background: #F1F1F1; */
  margin: 0 10px 10px 0;
  display: inline-block;
  position: relative;
}
.rezultati {
  position: center;
  width: 100%;
  text-align: center;
}
.period-side {
  width: 50%;
  float: left;
  min-height: 1px;
}
.period-side li {
  border-bottom: 1px solid #ddd;
}
.period-side-right li {
  text-align: right;
}
.period-result {
  text-align: center;
  font: 400 normal 16px/19px "Source Sans Pro", sans-serif;
  border-top: 2px solid #ddd;
  background: #ddd;
  color: #555;
  clear: both;
  padding: 5px 0;
}

.game-player2 {
  width: 45%;
  float: right;
}
.game-title {
  text-align: center;
  margin: 20px 0;
  clear: both;
  float: left;
  width: 100%;
  position: relative;
}
.ghost-scorrer,
ghost-player {
  width: 45%;
  margin: 0;
  color: #000;
}
.game-buttons {
  //position:absolute;
  //top:0;
  //right:0;
}

.per-set-res,
period-title {
  margin: 5px 0 0 0;
  font-size: 13px;
  border-bottom: 1px solid #ddd;
}
.period-result {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
}
#refreshing {
  position: fixed;
  top: 0px;
  left: 0px;
  background: #525252;
  padding: 5px 10px;
  color: #f1f1f1;
  display: none;
}
.events-head {
  background: #ddd;
  padding: 5px;
}
.ghost-scorrer,
.game-player {
  vertical-align: bottom;
  width: 45%;
  float: left;
}
.ghost-player {
  float: left;
}

.event-row:nth-child(odd) {
  background: #f1f1f1;
}
.event-row:nth-child(even) {
  background: #f3f9ff;
}

.event-row:hover {
  background: #cce6ff;
}

.team-stats-table {
  width: 100%;
}
.team-stats-table th {
  background: #ddd;
  color: #333;
}
.team-stats-body td {
  text-align: center;
}
.team-stats-table tr:nth-child(odd) {
  background: #f1f1f1;
}
.team-stats-table tr:nth-child(even) {
  background: #fbfbfb;
}
.first {
  max-width: 20px;
}
.2-column {
  min-width: 20px;
}
.3-column {
  min-width: 50px;
}
.4-column {
  min-width: 30px;
}
.5-column {
  min-width: 50px;
}
.6-column {
  min-width: 20px;
}

#table_1,
#table_2,
#table_3 {
  display: none;
}
.table_link {
  display: -webkit-inline-box;
  margin: 0;
  width: 164px;
  text-decoration: none;
  font-size: 17px;
  padding: 4px 0;
  font-weight: 400;
  border: 2px solid #afafaf;
  color: #afafaf;
}
.table_link:hover {
  text-decoration: none;
}
.table_link:focus {
  outline: none;
}
.table_link_active,
.table_link:hover {
  background: #62b7ed;
  color: #ffffff;
  border: 2px solid #62b7ed;
}
.event-row p {
  margin: 0;
}

.event-row {
  padding: 3px 5px;
  text-align: left;
}

.game-middle #final-result {
  font: 300 normal 50px/30px "Source Sans Pro", sans-serif;
}
.table-switch {
  width: 25%;
  float: left;
}
#game-info .block-third {
  padding: 0 0 30px 0;
  margin: -20px 0 0 0;
  font: 300 22px "Source Sans Pro";
}
.game:hover {
  background: none;
}
#legend {
  padding: 0 0 20px 0;
}
table.dataTable thead th,
table.dataTable thead td {
  background-color: #ddd !important;
  border: none !important;
}
table.dataTable.no-footer {
  border: none !important;
}
table.dataTable tbody tr:odd {
  background-color: #f1f1f1 !important;
}
table.dataTable tbody tr:even {
  background-color: #fbfbfb !important;
}

table.dataTable tbody th,
table.dataTable tbody td {
  padding: 2px 0;
}
.sorting_1 {
  background: #ececec;
}
.col-name {
  text-align: left !important;
  padding-left: 5px !important;
}
.sorting {
  padding: 5px 0 !important;
  text-align: center !important;
}
.closed {
  display: none;
}
.arrow-down {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;

  border-top: 5px solid #f00;
}
.arrow-up {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid black;
}

/*vlaho*/

.rank {
  min-width: 5%;
}

.rank-head {
  min-width: 5%;
}

.lane {
  min-width: 5%;
}

.lane-head {
  min-width: 5%;
}

.crew {
  min-width: 11%;
}

.crew-head {
  min-width: 12%;
}

.team-head {
  min-width: 25%;
  display: flex;
}
.team {
  min-width: 28%;
  display: flex;
}

.score-head {
  width: 52%;
  text-align: right;
  display: flex;
}

.score {
  width: 51%;
  text-align: right;
  display: flex;
}

#row-content {
  display: flex;
  flex-wrap: wrap;
  text-align: left;
  padding: 3px 15px;
  color: #022f53;
  font-weight: 800;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 25px 5px 0px 5px;
  border-radius: 8px 8px 40px 40px;
  background-image: linear-gradient(to bottom right, #447cb4, #063d69);
  border: 1px solid white;
  background: white;
  line-height: 30px;
}

#row-content:hover {
  background-image: linear-gradient(to bottom right, #042744, #063d69);
  color: white;
}

.head {
  display: flex;
  flex-wrap: wrap;
  text-align: left;
  background-color: #d14547;
  color: white;
  border-radius: 8px 8px 0 0;
  padding: 4px 1%;
}

.prolaz {
  text-align: right;
}

.crew-hide {
  margin: auto;
  padding: 2px 0 2px 9px;
  width: fit-content;
  background-color: white;
  border-top: 1px solid black;
  border-radius: 0 0 40px 40px;
  max-width: 90%;
  margin-bottom: 5px;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  color: #022f53;
  flex-wrap: wrap;
}

.game-name-summary {
  width: fit-content;
  background-image: linear-gradient(to right, #471b75, #012848);
  color: white;
  border-radius: 0 0 15px 15px;
  margin: 0 auto 20px auto;
  padding: 2px 10px;
  font-size: 20px;
}

.pojedinacni-prolaz {
  text-align: center;
}

.score-wrapper {
  width: 42%;
  display: flex;
}
.finish {
  padding-right: 4px;
  text-align: right;
}

.vlaho {
  background-image: linear-gradient(to right, #471b75, #012848);
  border-radius: 0 0 0 15px;
  padding: 4px;
  width: 100%;
  clear: both;
  padding-bottom: 10px;
}

.progression {
  width: fit-content;
  background: #012848;
  color: white;
  border-radius: 0 0 15px 15px;
  padding: 2px 10px;
  font-size: 16px;
  float: right;
}

.team-name {
  margin: 0;
  padding: 0;
}

.head-title {
  width: 100%;
  display: flex;
  padding: 7px;
  color: white;
}

.game-info {
  width: 43%;
  float: left;
  color: white;
  padding-top: 5px;
}
.game-status-live {
  width: 14%;
}

.game-info-date {
  width: 43%;
  float: right;
  text-align: right;
  padding-top: 5px;
}

.a-competition {
  color: white;
  border: 1px solid white;
  border-radius: 15px;
  padding: 3px;
}

.team-image {
  width: 40px;
}

.complete {
  color: #e9f2f2;
  background: #d14547;
  font-weight: 700;
  font-size: 17px;
  margin: 4px auto;
  border-radius: 15px 30px;
  border: 1px solid #e9f2f2;
  padding: 3px 5px 0 5px;
  text-align: center;
  width: 75%;
}

.complete-upper {
  color: #e9f2f2;
  background: red;
  font-weight: 700;
  font-size: 17px;
  margin: 4px auto;
  border-radius: 15px 30px;
  border: 1px solid #e9f2f2;
  padding: 3px 5px 0 5px;
}

#in-progress {
  margin: auto;
  background: green;
  color: white;
  font-size: 25px;
  border-radius: 15px 30px;
  padding: 6px;
  border: 1px solid #e9f2f2;
}

.blinking {
  color: #e9f2f2;
  background: green;
  font-weight: 700;
  font-size: 17px;
  margin: 4px auto;
  border-radius: 15px 30px;
  border: 1px solid #e9f2f2;
  padding: 3px 5px 0 5px;
  text-align: center;
  width: 70%;
}

.inner-score-status {
  color: #e9f2f2;
  font-weight: 700;
  font-size: 17px;
  margin: 4px auto;
  border-radius: 15px 30px;
  border: 1px solid #e9f2f2;
  padding: 3px 5px 0 5px;
  text-align: center;
}

.ready {
  background: #471b75;
}

.finished {
  background: #3636ea;
  width: 85%;
}

.w-100 {
  width: 100%;
}

.hide-mobile {
  display: none;
}

.crew-content {
  display: flex;
  flex-wrap: wrap;
  margin: auto;
}

.player-wrapper {
  padding-right: 15px;
}

.player-inside {
  text-align: center;
}

.team-image img {
  height: 30px;
  width: 35px;
}

.title-links {
  width: 150px;
  font-size: 20px;
}

.diff {
  font-size: 10px;
}

.only-one-player-wrapper {
  width: 100%;
  padding-right: 8px;
}

@media (max-width: 580px) {
  .title-links {
    width: 100px;
    font-size: 17px;
  }

  .crew-hide {
    max-width: 90%;
    padding: 0;
  }

  .crew-content {
    max-width: unset;
    width: 100%;
  }

  .hide-desktop {
    display: none;
  }

  .hide-mobile {
    display: unset;
  }

  .rank {
    min-width: 6%;
  }

  .rank-head {
    min-width: 5%;
  }

  .lane {
    min-width: 6%;
  }

  .lane-head {
    min-width: 12%;
  }

  .crew {
    min-width: 20%;
  }

  .crew-head {
    min-width: 20%;
  }

  .team {
    min-width: 50%;
  }

  .team-head {
    min-width: 42%;
    padding-left: 10px;
  }

  .head-prolaz {
    display: none;
  }

  .zadnji-head-prolaz {
    width: 100% !important;
  }

  .prolaz {
    display: none;
  }

  .prazni-prolaz {
    display: none;
  }

  .score-wrapper {
    display: none;
  }

  #row-content {
    font-size: 14px;
    font-weight: 600;
    padding: 3px 0 3px 9px;
  }

  .finish {
    width: 17% !important;
    padding-right: 0px;
  }

  .score-head {
    width: 13%;
    text-align: right;
    display: flex;
  }

  .score {
    width: 55%;
    text-align: right;
    display: flex;
  }

  .head-title {
    padding: 3px 0;
    font-size: 14px;
  }

  .game-info-date {
    width: 36%;
  }

  .game-status-live {
    width: 31%;
  }

  .game-info {
    padding: 5px 0;
    display: flex;
    flex-wrap: wrap;
    width: 33%;
  }

  .player-wrapper {
    width: 50%;
    padding: unset;
  }

  .prolazi-hide {
    padding: 2px 12px;
    /*background-color: white;
    border-top:1px solid #022f53;*/
    border-radius: 0 0 40px 40px;
    margin-bottom: 5px;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: #022f53;
    width: 100%;
  }

  .team-image {
    width: 20px;
    height: 20px;
    margin: auto 0;
  }

  .team-image img {
    height: 20px;
    width: 20px;
  }

  .complete {
    font-size: 13px;
  }

  .finished {
    font-size: 13px;
  }

  .ready {
    font-size: 13px;
  }

  .diff-row {
    line-height: 40%;
    width: 100%;
    text-align: right;
    padding-right: 7%;
    font-size: 12px;
    font-style: italic;
  }

  .only-one-player-wrapper {
    padding: unset;
  }
}
