.football-pool-shortcode-block {
  border: 1px solid #dcdcde;
  padding: 16px;
  background: #fff;
}

.football-pool-shortcode-block__editor > h3 {
  margin-top: 0;
}

.football-pool-shortcode-block__selector {
  margin-bottom: 16px;
}

.football-pool-shortcode-block__fields {
  margin-top: 16px;
}

.football-pool-shortcode-block__fields .components-base-control {
  margin-bottom: 16px;
}

.football-pool-shortcode-block__preview-code {
  display: block;
  margin-top: 16px;
  padding: 8px;
  background: #f0f0f1;
  white-space: normal;
  word-break: break-word;
}

.football-pool-shortcode-block input::placeholder,
.football-pool-shortcode-block textarea::placeholder {
  color: #72777c;
  font-style: italic;
}

.football-pool-shortcode-block select[multiple] {
  min-height: 120px;
}

/* Server previews */
/*!
 * Football Pool WordPress plugin
 *
 * @copyright Copyright (c) 2012-2022 Antoine Hurkmans
 * @link https://wordpress.org/plugins/football-pool/
 * @license https://plugins.svn.wordpress.org/football-pool/trunk/LICENSE
 */
/* Flex layout */
.matchinfo.new-layout {
  width: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.matchinfo.new-layout div {
  padding: 5px;
  /*margin: 0 0 2px 0;*/
  /*border: 1px solid tomato;*/
}
.matchinfo.new-layout .match-card {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  flex-grow: 1;
  width: calc(50% - 4px);
  margin-right: 4px;
  justify-content: center;
  background-color: #f8f8f8;
}
.matchinfo.new-layout .linked-question {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: flex;
}
.matchinfo.new-layout .linked-question p.bonus {
  background-color: inherit;
}
.matchinfo.new-layout .match-card-footer, .matchinfo.new-layout .match-card-header, .matchinfo.new-layout .matchtype {
  width: 100%;
}
.matchinfo.new-layout .match-card, .matchinfo.new-layout .linked-question {
  margin-bottom: 20px;
}
.matchinfo.new-layout .match-card-header {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: flex;
  font-size: 75%;
  /*background-color: #f0f0f0;*/
}
.matchinfo.new-layout .match-card-header span {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
  justify-content: space-between;
}
.matchinfo.new-layout .match-card-header .matchdate, .matchinfo.new-layout .match-card-header .time {
  font-size: 1.2em;
}
.matchinfo.new-layout .match-card-header .time {
  text-align: right;
}
.matchinfo.new-layout .match-card-footer {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: flex;
  /*background-color: #f0f0f0;*/
}
.matchinfo.new-layout .match-card-footer div {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
  justify-content: flex-end;
  text-align: left;
  align-items: stretch;
  height: 40px;
  line-height: 40px;
  vertical-align: middle;
  /*border: 1px solid tomato;*/
}
.matchinfo.new-layout .match-card-footer .fp-icon {
  text-align: center;
}
.matchinfo.new-layout .match-card-footer .fp-icon a {
  -webkit-box-shadow: none;
  box-shadow: none;
}
.matchinfo.new-layout .match-card-footer .fp-icon a img {
  -webkit-box-shadow: none;
  box-shadow: none;
  max-height: 40px;
}
.matchinfo.new-layout .match-card-footer .user-score {
  -webkit-box-flex: 3;
  -moz-box-flex: 3;
  -webkit-flex: 3;
  flex: 3;
  font-size: 75%;
}
.matchinfo.new-layout .matchtype {
  color: #fff;
  background-color: #000;
  font-weight: bolder;
  margin-bottom: 5px;
}
.matchinfo.new-layout .flag, .matchinfo.new-layout .home, .matchinfo.new-layout .away, .matchinfo.new-layout .score {
  width: 50%;
  text-align: center;
  vertical-align: middle;
}
.matchinfo.new-layout div.flag:before {
  vertical-align: middle;
  content: " ";
  display: inline-block;
  height: 100%;
  width: 0;
}
.matchinfo.new-layout div.home, .matchinfo.new-layout div.away {
  font-weight: bolder;
  font-size: 1.2em;
}
.matchinfo.new-layout .score {
  font-size: 160%;
}
.matchinfo.new-layout .score input.prediction {
  text-align: center;
  font-size: 120%;
  padding: 2px;
}
.matchinfo.new-layout .score span.actual-score:before {
  content: "(";
}
.matchinfo.new-layout .score span.actual-score:after {
  content: ")";
}
.matchinfo.new-layout .score span.actual-score {
  font-size: 75%;
}
.matchinfo.new-layout {
  /* jokers */
}
.matchinfo.new-layout .fp-joker, .matchinfo.new-layout .fp-nojoker {
  background-repeat: no-repeat;
  background-size: contain;
  background-position-y: center;
  cursor: pointer;
  width: 36px;
  height: 36px;
}
.matchinfo.new-layout .fp-joker {
  background-image: url(images/joker-active.png);
}
.matchinfo.new-layout .fp-nojoker {
  background-image: url(images/joker-inactive.png);
}
.matchinfo.new-layout {
  /*
  .fp-joker.saving {
  	background-image: url(images/joker-active-ajax-loader.gif);
  }

  .fp-nojoker.saving {
  	background-image: url(images/joker-inactive-ajax-loader.gif);
  }
  */
}
.matchinfo.new-layout .fp-joker.saving, .matchinfo.new-layout .fp-nojoker.saving {
  background-image: url(images/joker-ajax-loader.gif);
  background-size: 36px 36px;
}
.matchinfo.new-layout .closed .fp-joker, .matchinfo.new-layout .closed .fp-nojoker, .matchinfo.new-layout .fp-joker.readonly, .matchinfo.new-layout .fp-nojoker.readonly {
  cursor: default;
}

table.matchinfo.new-layout {
  display: table;
}
table.matchinfo.new-layout td, table.matchinfo.new-layout th {
  padding: 0.2em 0.5em;
}
table.matchinfo.new-layout .flag, table.matchinfo.new-layout .home, table.matchinfo.new-layout .away, table.matchinfo.new-layout .score {
  width: auto;
  text-align: left;
}
table.matchinfo.new-layout .score {
  font-size: 100%;
}

/* classic layout */
table.matchinfo {
  border-spacing: 0 0.25rem;
  border-collapse: separate;
  border: none;
  width: 100%;
  max-width: 700px;
}
table.matchinfo td a {
  text-decoration: none;
}
table.matchinfo td a:hover {
  text-decoration: underline;
}
table.matchinfo td {
  padding: 0 0.2rem 0.1rem 0;
  border: none;
  font-size: 0.9rem;
}
table.matchinfo .matchdate {
  color: #fff;
  background-color: #ccc;
  font-weight: bold;
  font-size: 0.8rem;
  line-height: 1.8rem;
  vertical-align: middle;
}
table.matchinfo td.flag {
  text-align: center;
}
table.matchinfo td.time {
  text-align: left;
  font-size: 0.7rem;
  padding-left: 1rem;
}
table.matchinfo td.home {
  text-align: right;
  padding-right: 0.5rem;
}
table.matchinfo td.away {
  text-align: left;
  padding-left: 0.5rem;
}
table.matchinfo td.score {
  text-align: center;
  font-weight: bold;
  padding: 0 0.5rem;
}
table.matchinfo td.user-score {
  padding: 0 0.5rem;
  min-width: 2.5rem;
}
table.matchinfo .fp-joker {
  background-image: url(images/ball_over.jpg);
  background-repeat: no-repeat;
  cursor: pointer;
  min-width: 30px;
  min-height: 20px;
  display: inline-block;
}
table.matchinfo .fp-nojoker {
  background-image: url(images/ball.jpg);
  background-repeat: no-repeat;
  cursor: pointer;
  min-width: 30px;
  min-height: 20px;
  display: inline-block;
}
table.matchinfo .fp-joker.joker-ajax-loader, table.matchinfo .fp-nojoker.joker-ajax-loader {
  background-image: url(images/joker-ajax-loader.gif);
  background-size: 20px 20px;
}
table.matchinfo .closed .fp-joker, table.matchinfo .matchinfo .closed .fp-nojoker, table.matchinfo .fp-joker.readonly, table.matchinfo .matchinfo .fp-nojoker.readonly {
  cursor: default;
}
table.matchinfo td.matchstats {
  text-align: right;
  vertical-align: middle;
}
table.matchinfo td.matchstats a {
  -webkit-box-shadow: none;
  box-shadow: none;
  text-decoration: none;
}
table.matchinfo td.matchstats a img {
  min-width: 36px;
  max-height: 40px;
  -webkit-box-shadow: none;
  box-shadow: none;
}
table.matchinfo th {
  color: #fff;
  background-color: #000;
  font-weight: bold;
  font-size: 0.8rem;
  line-height: 1.8rem;
  vertical-align: middle;
}
table.matchinfo th.username {
  max-width: 200px;
}
table.matchinfo tr.linked-question td {
  padding: 5px 0 5px;
}
table.matchinfo tr.linked-question td div {
  border: none;
}
table.matchinfo td.match-hyphen {
  text-align: center;
}

table.prediction-table-questions a, .match-table a {
  text-decoration: none;
}

table.prediction-table-questions a:hover, .match-table a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  /* match and prediction table */
  table.matchinfo {
    border-spacing: 0 20px;
    border-collapse: separate;
    max-width: 90%;
  }
  table.matchinfo td.home, table.matchinfo td.away {
    font-size: 125%;
    padding: 0 2px;
  }
  table.matchinfo td.time, table.matchinfo td.flag {
    display: none;
  }
  table.matchinfo td.matchtype {
    font-size: 140%;
  }
  div.matchinfo.new-layout .match-card {
    width: 100%;
  }
  div.matchinfo.new-layout .matchtype {
    font-size: 140%;
  }
  div.matchinfo.new-layout div.home, div.matchinfo.new-layout div.away {
    font-size: 125%;
  }
}
.football-pool-shortcode-block__server-preview {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #dcdcde;
}
.football-pool-shortcode-block__server-preview .matchinfo.new-layout .flag, .football-pool-shortcode-block__server-preview .matchinfo.new-layout .home, .football-pool-shortcode-block__server-preview .matchinfo.new-layout .away, .football-pool-shortcode-block__server-preview .matchinfo.new-layout .score {
  width: 46%;
}
.football-pool-shortcode-block__server-preview .question-stats-link .pie-chart-icon {
  max-height: 40px;
}
.football-pool-shortcode-block__server-preview table.ranking-shortcode {
  width: 100%;
}
.football-pool-shortcode-block__server-preview table.fp-match-scores, .football-pool-shortcode-block__server-preview table.fp-question-scores {
  border-spacing: 0;
  border-collapse: collapse;
}
.football-pool-shortcode-block__server-preview table.fp-match-scores td, .football-pool-shortcode-block__server-preview table.fp-match-scores th, .football-pool-shortcode-block__server-preview table.fp-question-scores td, .football-pool-shortcode-block__server-preview table.fp-question-scores th {
  border: 1px solid #72777c;
}
.football-pool-shortcode-block__server-preview table.fp-match-scores td, .football-pool-shortcode-block__server-preview table.fp-question-scores td {
  text-align: center;
}
.football-pool-shortcode-block__server-preview table.fp-question-scores .question .question-id,
.football-pool-shortcode-block__server-preview table.fp-question-scores tr.question-text {
  display: none;
}
.football-pool-shortcode-block__server-preview table.fp-question-scores .question-nr:before {
  content: "Q ";
}

/*# sourceMappingURL=gutenberg-shortcode-block.css.map */
