BODY { background: #1e73be; }
DIV.tile {
    border: 2px solid #1e73be;
    display: inline-block;
    position: relative;
    text-align: center; 
    background-color: white; 
    color:black; 
    border-radius:25px; 
    margin: 10px; 
    height: 180px;
    width: 800px;
    vertical-align: top;
}

DIV.menusel {
    min-width: 80px;
    text-align: left;
    margin: auto;
}

TABLE.main {
    background-color: #DDDDDD;
}
TR.main {
    background-color: #DDDDDD;
}
TD.main {
    background-color: #DDDDDD;
}

.main-embed-1 {
    background-color: #FFFFFF;
    text-align: center;
    margin:0; 
    padding:0; 
    border:none; 
    border-spacing:0; 
    border-collapse:collapse;
}

TABLE.main-embed-1 {
    background-color: #FFFFFF;
    text-align: center;
    margin:0; 
    padding:0; 
    border:none; 
    border-spacing:0; 
    border-collapse:collapse;
}

TR.main-embed-1 {
    background-color: #FFFFFF;
    text-align: center;
    margin:0; 
    padding:0; 
    border:none; 
    border-spacing:0; 
    border-collapse:collapse;
}

TD.main-embed-1 {
    background-color: #FFFFFF;
    text-align: center;
    margin:0; 
    padding:0; 
    border:none; 
    border-spacing:0; 
    border-collapse:collapse;
}

TD.right {
    text-align: right;
}

TABLE.main-embed-2 {
    border-collapse: collapse; 
    border-style: solid; 
    border-width: 1px; 
    background-color: #FFFFFF; 
    vertical-align: top;
}

TR.main-embed-2 {
    background-color: #FFFFFF;
    vertical-align: top;
}

TD.main-embed-2 {
    background-color: #FFFFFF; 
    vertical-align: top;
}

TD.right {
    text-align: right;
}
.sectionheader {
    text-align: center;
    background-color: #FFFFCC;
    color: black;
    font-size: 16px;
    font-weight: bold;
    font-family: arial;
}
INPUT[type=number] {
    width: 60px;
    }
INPUT.right {
    text-align: right;
    border-radius: 5px;
    margin: 5px;
}
INPUT.blendin {
    padding: 5px;
    background-color: #00BBDD;
    border: none;
    border-radius: 5px;
    text-align: right;
}
INPUT.blendinLG {
    background-color: #00BBDD;
    border: none;
    border-radius: 5px;
    text-align: right;
    font-size : 24px;
    font-weight: bold;
}
INPUT.subtotal {
    padding-right:25px;
    text-align:right;
    border:none;
}
.entry{
    border: 1px solid black;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-right: 20px;
    text-align: right;
    background-color: #ffffff;
    color: black;
}
.entry_nb{
    border: none;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-right: 20px;
    text-align: right;
    background-color: #ffffff;
    color: black;
}

TH.entry {
    border: 1px solid black;
    text-align: center;
    background-color: #ffffff;
    color: black;
}

TD.entryL {
    border: 1px solid black;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 10px;
    padding-right: 20px;
    text-align: left;
    background-color: #ffffff;
    color: black;
}

TD.entryL_nb {
    border: none;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 10px;
    padding-right: 20px;
    text-align: left;
    background-color: #ffffff;
    color: black;
}

TD.entryC {
    padding-top: 7px;
    padding-bottom: 7px;
    padding-right: 20px;
    text-align: center;
    background-color: #ffffff;
    color: black;
}

INPUT.entry {
    border-radius: 5px;
    text-align: right;
}
.form {
    border-radius: 0px;
    border-spacing: 20px;
    padding: 5px;
    border: 1px solid grey;
}
.formLG {
    background-color: #00BBDD;
    color: black;
    font-size: 24px;
    font-weight: bold;
    border-radius: 0px;
    BORDER-SPACING: 20px;
    PADDING: 5px;
    border: 1px solid grey;
}
.noborder {
    border-radius: 0px;
    BORDER-SPACING: 20px;
    PADDING: 5px;
    border: none;
}
.sponsorship
{
    background-color: #5577DD;
    border-radius: 15px;
    width:700px; 
}

DIV.alert {
    align: center;
    min-width: 500px;
    background-color: darkorange;
    border-radius: 25px;
    PADDING: 5px;
    border: none;
}
DIV.entry {
    align: center;
    background-color: white;
    border-radius: 25px;
    PADDING: 5px;
    border: none;
}
TABLE.alert {
    align: center;
}
TH.form
{
    COLOR: #000000;
    BACKGROUND-COLOR: #0099BB;
    FONT-SIZE: 14px;
    FONT-FAMILY: arial;
    TEXT-ALIGN: center;
}
TD.form
{
    COLOR: #000000;
    BACKGROUND-COLOR: #00BBDD;
    FONT-SIZE: 14px;
    FONT-FAMILY: arial;
}
TD.logo
{

    background-color: #1e73be;
    vertical-align: bottom;
    COLOR: white;
    FONT-SIZE: 14px;
}

/* Keep the table copyright hidden on screens */
.print-copyright {
    display: none;
}

td.atbl {background-color: tan; padding-left: 5px; padding-right: 5px; width:90px; font-size: 12px;}
th.atbl {background-color: tan; padding-left: 5px; padding-right: 5px; text-align: center; font-size: 10px; }
input.large_cb  {height: 15px; width: 15px; }      
input.disabled_cb {height: 0px; width: 0px; border:none}      
option.signup   {color:black; font-size: 14px;}
select.signup   {color:black; font-size: 14px;}
textarea.signup {color:black; font-size: 12px;}

/* Print Fixes for Schedule Grids */
@media print {
  /* MAXIMIZE PAPER REAL ESTATE 

  @page {
    size: landscape;
    margin: 0.25in !important; 
  }
*/

  /* 1. CRITICAL FOR EDGE/CHROME: Unlock parent containers so page breaks work */
  html, body, center, #pagewrapper, section, main, article, div {
    overflow: visible !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    position: static !important;
  }

  /* Force browsers to print background colors (grey fills & white boxes) */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* 2. HIDE UNNEEDED PAGE ELEMENTS */
  #PAGETITLE,
  #FULLBUTTON,
  div[style*="background:yellow"],
  div[style*="background-color: yellow"],
  div[style*="background-color: #80CCFF"],
  header,
  nav,
  select,
  input {
    display: none !important;
  }

  /* 3. RESET TOP MARGINS */
  body, center {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

div.gridcell {
    border: 1px solid #000000 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important;
    min-width: 0 !important;     
    
    /* VERTICAL SQUEEZE TWEAKS */
    font-size: 9px !important;  
    padding: 1px !important;    
    line-height: 1.1 !important; 
    
    word-wrap: break-word !important; 
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

/* Bring back assignment role inputs/selects inside the schedule grid */
  div.gridcell input,
  div.gridcell select {
    display: inline-block !important;
    background: transparent !important;
    border: none !important;
    font-size: inherit !important;
    font-weight: bold !important;
    color: #000000 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
  }


  /* 2. Force the entire Grid to scale down physically */
  div.grid {
    display: grid !important;
    width: 100% !important;
    gap: 0 !important;
    zoom: 80% !important;  /* Adjust between 80% and 85% to perfectly fit Saturday's 15 columns */
  }

  /* 3. Keep the row wrapper intact */
  div[role="row"] {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  /* Force empty grey boxes to print correctly */
  div.gci {
    background-color: #aaaaaa !important;
  }

  /* 4. FORCE PAGE BREAKS BEFORE EACH DAY HEADING (Friday, Saturday, Sunday) */
  a[name], a[NAME] {
    display: block !important;
    clear: both !important;
    color: #000000 !important; /* Prints heading in crisp black */
    font-size: 18px !important;
    font-weight: bold !important;
    margin-top: 20px !important;
    margin-bottom: 10px !important;
  }

  /* Do NOT page-break before the very first heading (Thursday) */
  a[name]:first-of-type, a[NAME]:first-of-type {
    break-before: auto !important;
    page-break-before: auto !important;
    margin-top: 0 !important;
  }

/* Reveal the copyright under each table when printing */
  .print-copyright {
    display: block !important;
    text-align: center !important;
    font-size: 10px !important;
    color: #000000 !important;
    margin-top: 5px !important;
    margin-bottom: 10px !important;
    font-style: italic !important;
  }


/* Hide the screen copyright notice when printing */
  .screen-spacing {
    display: none !important;
  }

/* Hide the screen copyright notice when printing */
  .copynotice {
    display: none !important;
  }
}


