.fdwp-wrapper {
  margin: 0 0 40px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.fdwp-wrapper .fdwp-table {
  width: 100%;
  display: table;
  border-collapse: collapse;
}

.fdwp-wrapper.links {
  margin: 0 0 40px 0;
  box-shadow: none;
}
.fdwp-wrapper.links ul {
  list-style: none;
  padding-left: 0;
}
.fdwp-wrapper.links ul > li {
  padding: 4px 1px 4px 10px;
}

.fdwp-wrapper.links ul.inline > li {
  display: inline-block;
}

.fdwp-wrapper.links ul > li a {
  margin-left: 10px;
}

.fdwp-wrapper .fdwp-table .row {
  display: table-row;
  background: #f6f6f6;
  border-bottom: 1px solid #b2b2b2;
}
.fdwp-wrapper .fdwp-table .row.hide {
  display: none;
}
.fdwp-wrapper .fdwp-table .row:nth-of-type(odd) {
  background: #e9e9e9;
}
.fdwp-wrapper .fdwp-table .row.date {
  font-weight: 900;
  color: #ffffff;
  background: #34ac5d;
}
.fdwp-wrapper .fdwp-table .row-block {
  padding: 6px 12px;
  font-weight: 900;
  color: #ffffff;
  background: #34ac5d;
  display: block;
}

.fdwp-wrapper .fdwp-table .row .cell {
  padding: 6px 12px;
  display: table-cell;
  vertical-align: middle;
}
.fdwp-wrapper .fdwp-table .row.full .cell {
  padding: 12px 12px;
}

.fdwp-wrapper .fdwp-table .row.full .cell span.name-visible {
  display: inline-block;
}

.fdwp-wrapper .fdwp-table .row.full .cell span.name-hidden {
  display: none;
}

.fdwp-wrapper .fdwp-table .row.mini .cell span.name-visible {
  display: inline-block;
}

.fdwp-wrapper .fdwp-table .row.mini .cell span.name-hidden {
  display: none;
}

.fdwp-wrapper .fdwp-table .row .cell.center {
  text-align: center;
}

.fdwp-wrapper .fdwp-table .row .cell:first-child {
  max-width: 24px;
  text-align: center;
  white-space: nowrap;
}

.fdwp-wrapper .fdwp-matchday .row.date .cell:first-child {
  text-align: left;
}

.fdwp-wrapper .fdwp-table .row.date .cell-row {
  padding: 6px 12px;
}

.fdwp-matchday .row:not(.date) .cell:nth-child(1),
.fdwp-matchday .row:not(.date) .cell:nth-child(3) {
  width: 44%;
}
.fdwp-matchday .row:not(.date) .cell:nth-child(2) {
  text-align: center;
  padding-left: 1px;
  padding-right: 1px;
}
.fdwp-matchday .row:not(.date) .cell:nth-child(2) > a > span {
  font-weight: 600;
}

.fdwp-matchday .row:not(.date) .cell:nth-child(2) > a > span.result {
  background: #333;
  color: #e9e9e9;
  padding: 4px;
  letter-spacing: 2px;
  text-indent: 2px;
  width: 60px;
  display: block;
}
.fdwp-matchday .row:not(.date) .cell:nth-child(2) > a:hover > span.result {
  background-color: #a3a3a3;
  color: #333;
}

/* Flexbox definitions*/
.fdwp-wrapper .fdwp-table .row > .cell > .flex,
.fdwp-wrapper .fdwp-matchday .row > .cell > .flex,
.fdwp-wrapper .fdwp-schedule .row .flex {
  display: flex;
  align-items: center;
}

.fdwp-wrapper .fdwp-matchday .row .cell:first-child > .flex {
  max-width: initial;
  justify-content: flex-end;
}

.fdwp-wrapper .fdwp-table .row > .cell > .flex,
.fdwp-wrapper .fdwp-matchday .row .cell:last-child > .flex {
  max-width: initial;
  justify-content: flex-start;
}

.fdwp-wrapper .fdwp-table .row > .cell > .flex img,
.fdwp-wrapper .fdwp-matchday .row .cell .flex img,
.fdwp-wrapper .fdwp-schedule .row .flex img {
  height: 30px;
  width: 30px;
}

.fdwp-wrapper .fdwp-matchday .row .cell:first-child .flex img,
.fdwp-wrapper .fdwp-schedule .row > div:first-child img {
  margin-left: 10px;
}

.fdwp-wrapper .fdwp-table:not(.fdwp-matchday) .row > .cell > .flex img,
.fdwp-wrapper .fdwp-matchday .row .cell:last-child .flex img,
.fdwp-wrapper .fdwp-schedule .row > div:last-child img {
  margin-right: 10px;
}

.fdwp-wrapper .fdwp-table .row .cell.finished {
  font-weight: bold;
}

.fdwp-wrapper .fdwp-links svg {
  display: inline-block;
}

.fdwp-schedule .row.schedule .cell:nth-child(3) {
  text-align: right;
  width: auto;
}
.fdwp-wrapper .fdwp-schedule .row .cell:first-child {
  max-width: auto;
  text-align: left;
  white-space: nowrap;
}

.fdwp-schedule .row.schedule {
  background: transparent !important;
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
  border-bottom: 1px solid #dedede;
}

.fdwp-schedule .row.full {
  border-bottom: 0 !important;
}

.fdwp-wrapper .loader-wrapper {
  display: inline-block;
  width: 100%;
  margin: 10px 0;
  /* Safari */
}
.fdwp-wrapper .loader-wrapper .loader {
  border: 4px solid #f3f3f3;
  border-radius: 50%;
  border-top: 4px solid #34ac5d;
  width: 40px;
  height: 40px;
  margin: 0 auto;
  -webkit-animation: spin 2s linear infinite;
  /* Safari */
  animation: spin 2s linear infinite;
}
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.fdwp-table .fdwp-table .row .cell.col-1 {
  width: 10%;
}
.fdwp-table .fdwp-table .row .cell.col-9 {
  width: 60%;
}

@media screen and (max-width: 580px) {
  .fdwp-matchday .fdwp-table {
    display: block;
  }
}
@media screen and (max-width: 580px) {
  .fdwp-matchday .fdwp-table .row {
    padding: 8px 0;
    display: block;
    position: relative;
  }
}
@media screen and (max-width: 580px) {
  .fdwp-matchday .fdwp-table .row.date .cell:nth-child(2),
  .fdwp-matchday .fdwp-table .row.date .cell:nth-child(3) {
    display: none;
  }
}
@media screen and (max-width: 580px) {
  .fdwp-matchday .fdwp-table .row .cell {
    padding: 2px 12px;
  }
  .fdwp-matchday .fdwp-table .row .cell:nth-child(1),
  .fdwp-matchday .fdwp-table .row .cell:nth-child(2) {
    display: block;
    width: 100%;
  }
  .fdwp-matchday .fdwp-table .row .cell:nth-child(3) {
    position: absolute;
    top: 22px;
    right: 12px;
  }

  .fdwp-wrapper .fdwp-table .row.full .cell:nth-child(4),
  .fdwp-wrapper .fdwp-table .row.full .cell:nth-child(5),
  .fdwp-wrapper .fdwp-table .row.full .cell:nth-child(6),
  .fdwp-wrapper .fdwp-table .row.full .cell:nth-child(7) {
    display: none;
  }

  .fdwp-wrapper .fdwp-table .row.full .cell span.name-visible,
  .fdwp-wrapper .fdwp-schedule .row.full span.name-visible {
    display: none;
  }

  .fdwp-wrapper .fdwp-table .row.full .cell span.name-hidden,
  .fdwp-wrapper .fdwp-schedule .row.full span.name-hidden {
    display: inline-block;
  }
}

aside .fdwp-matchday .fdwp-table {
  display: block;
}

aside .fdwp-matchday .fdwp-table .row {
  padding: 8px 0;
  display: block;
  position: relative;
}

aside .fdwp-matchday .fdwp-table .row.date .cell:nth-child(2),
aside .fdwp-matchday .fdwp-table .row.date .cell:nth-child(3) {
  display: none;
}

aside.fdwp-matchday .fdwp-table .row .cell {
  padding: 2px 12px;
}

aside .fdwp-matchday .fdwp-table .row .cell:nth-child(1),
aside .fdwp-matchday .fdwp-table .row .cell:nth-child(2) {
  display: block;
  width: 100%;
}

aside .fdwp-matchday .fdwp-table .row .cell:nth-child(3) {
  position: absolute;
  top: 22px;
  right: 12px;
}

.fdwp-schedule {
  display: block !important;
}

.fdwp-schedule > div.row.schedule {
  display: block;
  clear: both;
}

.fdwp-schedule > div.row.schedule > div {
  display: inline-block;
  width: 50%;
  font-weight: 300;
  font-size: 12px;
  text-align: right;
}

.fdwp-schedule > div.row.schedule > div:last-child {
  text-align: left;
}

.fdwp-schedule > div.row.data {
  display: block;
  white-space: nowrap;
  width: 100%;
  margin-bottom: 15px;
  height: 44px;
}

.fdwp-schedule > div.row.data:after {
  content: " ";
  display: block;
  clear: both;
}

.fdwp-schedule > div.row.data > div {
  display: flex;
  float: left;
}

.fdwp-schedule > div.row.data > div:nth-child(1),
.fdwp-schedule > div.row.data > div:nth-child(3) {
  width: 45%;
}
.fdwp-schedule > div.row.data > div:nth-child(1) {
  justify-content: flex-end;
}

.fdwp-schedule > div.row.data > div:nth-child(3) {
  justify-content: flex-start;
}

.fdwp-wrapper .fdwp-schedule .row > div {
  padding: 6px 12px;
  vertical-align: middle;
}

.fdwp-wrapper .fdwp-schedule.row.full > div {
  padding: 12px 12px;
}

.fdwp-schedule > div.row.data > div:nth-child(2) {
  padding: 6px 0;
  text-align: center;
  justify-content: center;
  width: 10%;
  font-weight: 600;
}

.fdwp-wrapper .fdwp-schedule .row.full span.name-visible {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fdwp-wrapper .fdwp-schedule .row.full span.name-hidden {
  display: none;
}

.fdwp-wrapper .fdwp-schedule .row.mini span.name-visible {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fdwp-wrapper .fdwp-schedule .row.mini .cell span.name-hidden {
  display: none;
}

.fdwp-schedule .row > div:nth-child(2) > a > span.result {
  background: #333;
  color: #e9e9e9;
  padding: 4px;
  letter-spacing: 2px;
  text-indent: 2px;
  width: 60px;
  display: block;
}

.fdwp-schedule .row > div:nth-child(2) > a:hover > span.result {
  background-color: #a3a3a3;
  color: #333;
}

.fdwp-wrapper .fdwp-schedule .row.mini span.long {
  display: none;
}
.fdwp-wrapper .fdwp-schedule .row.mini span.short {
  display: inline-block;
}
.fdwp-schedule .row.mini > div:nth-child(2) > a > span.result {
  padding: 1px;
}

.fdwp-schedule .row.mini {
  border-bottom: 0;
}

@media screen and (max-width: 580px) {
  .fdwp-wrapper .fdwp-table .row > .cell > .flex img,
  .fdwp-wrapper .fdwp-matchday .row .cell .flex img,
  .fdwp-wrapper .fdwp-schedule .row .flex img {
    height: 20px;
    width: 20px;
  }

  .fdwp-wrapper .fdwp-schedule .row.full span.name-visible {
    display: none;
  }

  .fdwp-wrapper .fdwp-schedule .row.full span.name-hidden {
    display: inline-block;
  }
}

.fussballdaten-error {
  background: #ffebee;
  border: 1px solid #f44336;
  border-radius: 4px;
  padding: 15px;
  margin: 10px 0;
  color: #d32f2f;
}

.fussballdaten-error p {
  margin: 0;
}

.fussballdaten-error ul {
  margin-left: 15px;
}
