@page {
  size: 8.5in 11in;
  size: landscape;
  margin: .6in .26in;
}

* {
  margin: 0;
  padding: 0;
}

body {
  background: #ededed;
  background: url('images/football_background_4.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  opacity: 1;
}

a:link {
  text-decoration: none;
  color: inherit;
}

a:visited {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: none;
  color: inherit;
}

a:active {
  text-decoration: none;
  color: inherit;
}

.header {
  width: 100%;
  position: sticky; 
  top: 0; 
  background: #CCCCCC;
  border-bottom: 2px solid #999999;
  padding: 1px 0px;
  margin: 0 0 5px 0;
  z-index: 1; 
}

.admin_panel {
  width: 1380px;
  display: grid;
  grid-template-columns: repeat(2, 670px);
  grid-template-columns: 220px 1fr 480px 1fr 220px;
  grid-template-rows: 34px;
  justify-content: space-between;
  position: relative;
  margin: 5px 0 5px 20px;
  background: #FFFFFF;
  border: 1px solid #999999;
  border-radius: 3px;
  user-select: none;
}

.admin_pane {
  display: flex;
  gap: 3px; 
  justify-content: center;
  text-align: center;
  padding: 3px;
}

.pane2 {
  grid-column-start: 2
}
.pane3 {
  grid-column-start: 3
}
.pane4 {
  grid-column-start: 4
}

.list_admin {
  display: inline-block;
}

.page_submit {
  border: none;
  padding: 0px;
  background: none;
  font-size: 16px;
}

.page_count {
  text-align: right;
  justify-content: right;
}

.help_panel {
  justify-content: left;
  text-align: left;
}

.page_input {
  width: 42px;
  border: 1px solid #999999;
  color: #999999;
  font-size: 18px;
}

.page_text {
  font-family: 'Roboto Condensed', sans-serif;
  color: #999999;
  align-self: center;
}

.card_type_label,
.button {
  display: inline-block;
  background: #FFFFFF;
  border: 1px solid #999999;
  border-radius: 3px;
  padding: 5px 1px;
  color: #999999;
  width: 24px;
  text-align: center;
  min-height: 16px;
  line-height: .5;
  display: flex;
  align-items: center;
  justify-content: center;
}

#selectAllCommercials + label, #selectAllActors + label {
  border: none;
}

.button_double {
  position:relative;
  width: 51px;
}

.button_double :nth-child(1) {
  padding-right: 1px;
}

.button_double :nth-child(1):after {
  content: '';
  width: 1px;
  height: 19px;
  background: #999999;
  position: absolute;
  top: 4px;
  left: 26px; 
}

.button_double :nth-child(2) {
  padding-left: 1px;
}

.card_type_label:hover,
.button:hover {
  cursor: pointer;
  user-select: none;
  background: #999999;
  color: white;
}

.button:active {
  background: #999999;
  color: #FFFFFF;
}

.card_type_select {
  display: none;
}

.card_type_select:checked + label {
  background: #CCCCCC;
  color: #FFFFFF;
}

.page_break {
  clear: both;
  height: 20px;
}

.bingo_wrapper {
  margin: 0 10px;
}

.bingo_print {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  break-after: page
}

.bingo_page {
  display: grid;
  grid-template-columns: 698px 14px 698px;
  width: 1410px;
  overflow: hidden;
  clear: both;
  margin: 0 0 0px 0px;
  break-after: page;
}

.bingo_frame {
  background: #FFFFFF;
  border: 4px solid black;
  padding: 5px;
  margin: 15px;
  width: 650px;
  height: 900px;
  user-select: none;
  filter: drop-shadow(0 0 9px #FFFFFF);
}

.bingo_board {
  height: 604px;
  width: 604px;
  height: 626px;
  width: 626px;
  margin: 0 12px;
  outline: 0px solid black;
  display: grid;
  grid-template-rows: repeat(5, 116px);
  grid-template-columns: repeat(5, 116px);
  grid-template-rows: repeat(5, 120px);
  grid-template-columns: repeat(5, 120px);
  gap: 6px;
}

.bingo_header {
  display: grid;
  grid-template-columns: 200px 250px 200px;
  grid-template-rows: 160px;
  margin: 0 0 20px 0;
}

.bingo {
  display: none;
  position: absolute;
  top: 22px;
  right: 14px;
  font-family: 'Secular One', sans-serif;
  font-size: 26px;
  color: #999999;
  text-shadow: -1px 0px 0px #ED1C24;
}

.team1_logo,
.team2_logo,
.sp_logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px;
}
.sp_logo_no {
  background-image: url(images/football_tropy.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center

}

.team2_logo {
  transform: rotateY(180deg);
}

.sp_logo, .sp_logo_master {
  z-index: 1;
  display: grid;
  grid-template-rows: 64px 30px;
  align-content: end;
}

.sp_text, .sp_text_master {
  padding: 0 2px;
  text-wrap: nowrap;
  font-family: "Alfa Slab One";
  font-family: "Roboto";
  font-size: 22px;
  color: #ce202c;
  border: 2px solid #c8c8c8;
  border-radius: 3px;
  background: linear-gradient(180deg, white, #c8c8c8 50%, #8C8C8C 110%);
  text-align: center;
}

.sp_number, .sp_number_master {
  padding: 0 0;
  display: grid;
  text-align: center;
  font-family: "Roboto";
  line-height: 90px;
  font-size: 90px;
  color: #043a65;
  -webkit-text-stroke: 2px #cccccc;
}

.team1_logo img,
.team2_logo img,
.sp_logo img {
  max-height: 100%;
  max-width: 100%;
}

.bingo_cell {
  display: grid;
  grid-template-rows: 106px;
  grid-template-rows: 110px;
  padding: 5px;
  margin: 0px;
  background: white;
  outline: 1px solid #999999;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow-wrap: break-word;
  outline-offset: 0px;
  border-radius: 9px; 
  filter: drop-shadow(0 0 2px #CCCCCC);
}

.bingo_cell_footer {
  grid-template-rows: 76px 25px;
  grid-template-rows: 80px 25px;
  row-gap: 5px; 
}

.must_show {
  background: rgba(255, 255, 0, 0.75);
}

.master_board {
  justify-content: center;
  height: 704px;
  height: 820px;
  grid-template-columns: repeat(3, 206px);
  grid-template-rows: repeat(auto-fill, 55px);
  gap: 4px; 
}

.extra_column {
  grid-template-columns: repeat(4, 159px);
}

.extra_column > .bingo_master > .bingo_master_text {
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1em;
  max-height: 3em;
  font-size: 15px;
  padding: .1em 0;
}

.master_header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 50px;
  margin: 0 10px 10px;
}

.sp_logo_master {
  height: 42px; 
  grid-template-rows: 27px 15px;
}

.sp_logo_master img {
  max-width: 100%;
  max-height: 100%;
}

.sp_text_master{
  font-size: 10px;
  border-width: 1px;
  border-radius: 2px;
}

.sp_number_master{
  padding: 0 0;
  line-height: 28px;
  font-size: 35px;
  text-align: center;
  -webkit-text-stroke-width: 1px;
}

.master_heading {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 24px;
  font-weight: bold;
}

.bingo_master {
  outline: 1px dotted; 
  display: flex;
  gap: 4px; 
  padding: 2px; 
  align-items: center;
}

.bingo_master img {
  justify-self: center;
  height: 40px;
  width: 40px;
  padding: 2px; 
  object-fit: contain;
  border: 1px solid #999999;
  border-radius: 5px;
}

.bingo_master_text {
  font-family: 'Roboto Condensed', sans-serif;
  padding: 0px 2px; 
}

.bingo_ul {
  columns: 3;
}

.bingo_li {
  outline: 1px dotted; 
}
.event_free {
  font-size: 48px; 
}

.bingo_text {
  text-align: center;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  font-weight: bold;
}

.bingo_subtext {
  align-self: end; 
  font-size: 10px;
  font-family: 'Roboto Condensed', sans-serif;
}

.bingo_cell img {
  justify-self: center;
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.bingo_cell_footer img  {
  height: 76px;
  height: 80px;
}

.bingo_row {
  clear: both;
}

.name {
  margin: 46px 25px 20px;
  margin: 30px 25px 10px;
  height: 35px;
}

.name_text {
  font-size: 24px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: bold;
}

.name_line {
  font-size: 24px;
  font-family: 'Fuzzy Bubbles', cursive;
  width: 300px;
  margin: 0 0 0 10px;
  border: none;
  border-bottom: 2px solid black;
}

.bingo_footer {
  font-family: 'Roboto Condensed', sans-serif;
  text-align: center;
  color: #999999;
}

.cut_line {
  height: 950px;
  border-right: 0px dotted black;
  margin: 0 20px;
}

.cut_symbol {
  display: none;
  position: relative;
  top: 930px;
  margin: 0px 0px 0px -10px;
  transform: rotate(-90deg);
  font-size: 21px;
}

.form_panel {
  width: 588px;
  display: grid;
  grid-template-columns: auto 1fr 24px; 
  grid-template-rows: 34px;
  justify-content: space-between;
  position: relative;
  margin: 0px 0px 5px 0px;
  background: #FFFFFF;
  border: 1px solid #999999;
  border-radius: 3px;
  user-select: none;
}

.form_pane {
  display: flex;
  align-items: flex-start;
  justify-content: left;
  text-align: center;
  padding: 3px;
  gap: 0;
  margin: 4px 0 0px 3px;
}

.form_selected,
.form_not_selected {
  border-bottom: none;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  min-width: 40px;
  margin-left: -1px;
}

.form_selected {
  background: #CCCCCC;
  color: #FFFFFF;
  margin-bottom: 0px;
  padding-bottom: 6px; 
}

.form_not_selected {
  background: #ededed;
}

.form_wrapper {
  display: none;
  border: 1px solid #999999;
  background: #CCCCCC;
  padding: 5px;
  width: 592px;
  height: 625px;
  position: absolute;
  left: 400px;
  top: 40px;
  filter: drop-shadow(2px 2px 2px #999999);
  z-index: 1;
}

.form {
  display: none;
}

.form_inner {
  display: inline-block;
  overflow: auto;
  height: 530px;
  width: 586px;
  padding: 2px 2px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px;
  border: 1px solid #999999;
  background: #FFFFFF;
  resize: none;
}

.form_inner label {
  padding: 0 2px;
}

.form_inner .input_header {
  font-weight: bold;
} 

.input_event_text, .input_event_number, .input_event_color {
  border: none;
  border-bottom: 1px solid black;
  margin: 2px 0px;
}

.input_event_text {
  width: 120px;
}
.input_event_number {
  width: 25px;
}
.input_event_color {
  width: 65px;
}

.commercial_checks {
  height: 570px;
  overflow: scroll;
}

.form_checklist {
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  align-items: center;
}

.star {
  visibility:hidden;
  cursor:pointer;
  font-size: 20px;
 }

.star:before {
 font-family: "Material Symbols Outlined";
 content: "star";
 visibility:visible;
 position: relative;
 top: -7px;
 left: -1px;
}

.star:checked:before {
  font-family: "Material Symbols Outlined";
  font-variation-settings:
  'FILL' 1,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24;
  color: goldenrod;
 
}

.form_image {
  height: 20px;
  width: 20px;
  object-fit: contain;
  
}

.form_close {
  align-self: center;
  justify-self: right;
  color: #CCCCCC;
  margin: 0 0 2px 0;
}

.form_close:hover {
  cursor: pointer;
  color: #999999;
}

.submit {
  float: right;
  border: 1px solid #999999;
  color: #999999;
  height: 26px;
  width: 88px;
  font-size: 20px;
  padding: 0 3px;
}

.submit i {
  float: right;
  color: green;
}

.submit:hover {
  cursor: pointer;
  user-select: none;
  background: #999999;
  color: white;
  border-color: white;
}

.directions {
  color: #999999;
  font-family: 'Roboto Condensed', sans-serif;
}

.edit_panel {
  display: none;
  float: right;
  margin: -2px 20px 2px 0px;
  color: #CCCCCC;
  user-select: none;
}

.edit_panel:hover {
  cursor: pointer;
  user-select: none;
}

.edit_panel i:hover {
  color: #999999;
}

.edit_panel i {
  width: 16px;
}

.login {
  display: grid;
  justify-content: center;
}

.xlogin_open {
  color: #EEEEEE;
  border-color: #EEEEEE;
}

.login_area {
  margin-top: 20px;
  display: grid;
  grid-auto-rows: min-content;
  gap: 5px;
}

.login_entry {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 3px;
}

.login_submit {
  width: 70px;
  justify-self: center;
}

.password_label {
  background: #C0C0C0;
  color: white;
  padding: 1px;
  text-align: center;
}

@media print {

  html,
  body {
    background: none;
    height: 100%;
    width: 100%;
    margin: 0 !important
  }

  .bingo_wrapper {
    margin: 0;
  }

  .bingo_page {
    width: 1380px;
    grid-template-columns: 670px 40px 670px;
  }

  .bingo_frame {
    margin: 2px;
    filter: none;
  }
  .header {
    display: none;
  }
  .event_form {
    display: none !important;
  }

  .admin_panel {
    display: none !important;
  }


  .must_show {
    background: white;
    outline: 1px solid #999999;
  }

  .page_count {
    display: none !important;
  }

  .cut_line {
    border-right: 1px dotted #000000;
  }
  .cut_symbol {
    display: inline-block;
  }
}

/* roboto-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/roboto-v32-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}