@import url(https://use.typekit.net/dqo4qeb.css);

/*!

    This XWord Info CSS file (c) 2010-2024 by Jim Horne.
    All rights reserved.

*/

/*
    XWI.CSS
    
    Standard styles for XWord Info are defined here.
    This file should be included before other local CSS files.
*/


/*@font-face {
    font-family: NicholsonGothic;
    src: url("/Styles/Fonts/NicholsonGothicRegular-dBGR.otf") format("opentype");
}*/


/* :root definitions are global */

:root {
    --xRed: #c03;
    --xHeader: #5e0000;
    --xBannerWidth: 728px; /* same as banner ad */
    --xDarken: #f0f0f0;
    --xDarkBorder: 2px solid #303030;
    --xBoxShadow: 2px 2px 3px rgba(0,0,0,.2);
}

body {
    font-family: 'Segoe UI', Helvetica, Sans-Serif;
    font-size: 12pt;
    color: #333333;
    background: linear-gradient(0, #345, #356a80, #345);
    background-color: #345;
    margin: 0;
    padding: 0;
}

    /* Body variations */

    body.local {
        background-image: url('../images/Raindrops.png');
    }

        body.local .adsbygoogle {
            background: linear-gradient(115deg, cadetblue, lightblue, cadetblue);
        }

    /* admin */

    body.admin {
        background-color: orange !important;
    }

        body.admin:not(.local):not(.staging):not(.test) {
            background: linear-gradient(to bottom, darkred, orange, darkred);
        }

    body.preshortz {
        background-color: #600 !important;
    }

        body.preshortz:not(.local):not(.staging):not(.test) {
            background: linear-gradient(to bottom, #660000, chocolate, #660000);
        }

    body.staging {
        background-color: darkgreen;
        background-image: url('../images/Staging.png');
    }

    body.test {
        background-color: darkmagenta;
        background-image: url('../images/Test.png');
    }

    body.syndication {
        background-color: #040;
    }

        body.syndication:not(.local) {
            background: linear-gradient(0, #003300, #006600, #003300);
        }

    body.special {
        background-color: cadetblue;
    }

        body.special:not(.local) {
            background: linear-gradient(to bottom, cadetblue, lightcyan, cadetblue);
        }

    body.fullb { /* body set to full width */
        background: none;
        background-color: #fff;
    }

#PLSpace {
    height: 120px;
}

/* Default hyperlink styles */

a {
    color: #0c519f;
    text-decoration: none;
    outline: none; /* No dashed-line borders on selections */
}

    a:hover {
        color: #c00;
        text-decoration: underline;
    }

/*    a.nonpublic {
        color: darkorange;
        font-style: italic;
    }*/

    a.bogus, span.bogus, td.bogus {
        color: firebrick;
        background-color: #f5f5f5;
        border: 1px solid lightgray;
    }
        a.bogus:hover {
            color: red;
        }

/* Default <br> style clears both */

br {
    clear: both;
}

.clearboth {
    clear: both;
}

.accessWarn {
    font-size: 16px;
    text-align: center;
    margin: 30px 0;
    padding: 8px;
    font-weight: bold;
    border: 3px solid darkorange;
    border-radius: 8px;
    box-shadow: var(--xBoxShadow);
    background-color: #ffffc0;
}

.adminHomeLink {
    margin-left: 20px !important;
    color: #c03;
}

/* Admin only field set */

.adminfs {
    display: inline-block;
    border: 2px solid var(--xRed);
    border-radius: 8px;
    box-shadow: var(--xBoxShadow);
    padding: 12px;
}

    .adminfs legend {
        font-weight: bold;
        padding: 0 8px;
    }

.autobut {
    background-color: lightcyan; /* manual buttons for functions that are automatically done in background tasks */
}

/* Hidden warning divs */

/* div.ablock asks un-logged-in users to donate if we detect an ad blocker */

.ablock {
    display: none;
    background-color: darkred;
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 10px;
    text-align: center;
    border: 1px solid black;
}

    .ablock a {
        color: gold;
    }

/* div#unsupported displays warning for browsers that don't support flex or grid. */

#unsupported {
    display: none;
    text-align: center;
    background-color: red;
    color: white;
    font-size: 16px;
    padding: 8px;
}

.no-flexbox #unsupported, .no-cssgrid #unsupported {
    display: block;
    background-color: #ffe6e9;
    color: black;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    border: 3px solid red;
    margin: 10px 0;
    border-radius: 9px;
}


/* Headers */

h1, h2, h3 {
    font-family: Century-Gothic, sans-serif;
    color: var(--xHeader);
    font-weight: normal;
}

h1 {
    font-size: 25pt;
    line-height: 1.4;
    margin-top: 30px;
    margin-bottom: 0;
}

h2 {
    font-size: 15pt;
    line-height: 1.5;
    margin-bottom: 4px;
}

h3 {
    font-size: 13pt;
    margin-bottom: 4px;
}

p {
    max-width: var(--xBannerWidth);
    line-height: 1.4;
}

/* jQuery drop-downs */

.ui-datepicker {
    font-size: 14px;
}

.ui-autocomplete .ui-menu-item {
    font-size: 14px;
}

/* Standard page content container -- white background over background color transition, cellar at bottom */
#pagecontent {
    max-width: 825px;
    margin: 3px auto;
    border-right: var(--xDarkBorder);
    border-left: var(--xDarkBorder);
    border-radius: 10px;
    background-color: #ffffff;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    row-gap: 30px;          /* min gap above cellar (footer) */
}

    #pagecontent.fullpc { /* pagecontent set to full width */
        max-width: inherit;
        border: none;
    }

    #pagecontent.darken {
        background-color: var(--xDarken); /* slightly darken page, useful for making thumbnails pop */
    }

    #pagecontent.pcPad #LogoPan {
        margin-top: 15px;
    }

body.left #pagecontent {
    margin: inherit; /* align page left instead of center */
}

div#amzn-native-ad-0 {
    margin: 0 !important;
}

/* for div inside pagecontent narrow enough to make text more readable */
.narrow {
    padding-left: 60px;
    padding-right: 60px;
}

/* coding samples */

code {
    display: block;
    background-color: #fffff0;
    border: 1px solid black;
    padding: 4px 8px;
    font-weight: bold;
}

/* styles for top links */

.xlinks {
    font-size: 11px;
    line-height: 18px;
    padding-top: 12px; /* must be padding, not margin! */
}

    .xlinks a {
        white-space: nowrap;
        margin: 0 4px;
    }

    .xlinks .tophomelink {
        margin-right: 16px;
    }

.cfpad {
    margin-left: 6px;
}

.cfNoLeft {
    margin-left: 0;
}

.cfAddLeft {
    margin-left: 4px;
}

.admlink {
    color: crimson;
    font-style: italic;
}

/* Ads */

.topad {
    height: 90px;
    overflow: hidden;
}

.botad {
    height: 90px;
    margin: 12px 0;
    text-align: center;
    overflow: hidden;
}

.localAd {
    background: radial-gradient(lightgray, gray);
}

.rightBlockAd {
    display: inline-block;
    width: 300px;
    height: 250px
}


/* Constructor photos */

.photo img {
    width: 150px;
    height: 200px;
    border: 1px solid #aaa;
    border-radius: 9px;
    box-shadow: var(--xBoxShadow);
}

.photo .caption {
    font-size: 12px;
    color: #707070;
    width: 150px;
}

/* photo136 is for smaller photos (height 136 instead of 200) */

.photo136 img {
    width: 102px;
    height: 136px;
    border: 1px solid #aaa;
    border-radius: 6px;
    box-shadow: 2px 2px 5px rgba(0,0,0,.2);
}

.photo136 .caption {
    font-size: 10.5px;
    color: #707070;
    width: 102px;
    min-height: 30px;
}

/* toppix is used for list of con photos at top of page */

.toppix {
    margin-top: 30px;
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    overflow-x: auto;
}

/* wide tables might need overflow-x for phones*/

.ox {
    overflow-x: auto;
}


/*
    Baseball card styles
*/

.bbCard {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 4px;
    width: 390px;
    max-width: 390px;
    padding: 5px 5px 2px 3px;
    margin: 0 3px 3px 0;        /* space for shadow */
    background-color: antiquewhite;
    /*background: linear-gradient(120deg, antiquewhite, cornsilk, tan);*/
    background: radial-gradient(cornsilk 15%,  antiquewhite);
    border: 1px solid #404040;
    border-radius: 9px;
    box-shadow: var(--xBoxShadow);
}

.bbInfo {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    font-size: 12px;
    font-family: 'Segoe UI', Tahoma, Helvetica, Sans-Serif;
}

.bbName, .bbName2 {
    margin-left: 4px;
    color: maroon;
    font-size: 24px;
    font-family: Century-Gothic, sans-serif;
}

    .bbName a, .bbName2 a {
        color: maroon;
    }

.bbName2 {
    font-size: 22px;
}

.bbTables {
    align-self: end;
    padding-bottom: 2px;
}

    .bbTables table {
        margin-top: 4px;
        margin-bottom: 5px;
    }

    .bbTables td {
        text-align: center;
        width: auto;
    }

        .bbTables td a {
            padding: 0 3px;
        }

.bbCard .photo {
    display: flex;
    max-width: 150px;
}

    .bbCard .photo img {
        box-shadow: none;
        width: 100%;
        height: auto;
    }

.bbCard .variety {
    color: darkgreen;
}

.bbCard .preshortz {
    color: maroon;
}

.bbTemp .photo {
    opacity: 0.4;
}

.bbTemp .wait {
    justify-self: center;
    align-self: center;
}

.wait img {
    height: 120px;
    width: 120px;
}

.loggedongrid {
    font-size: 13px;
    display: grid;
    grid-template-columns: max-content 1fr;
    line-height: 18px;
    margin-bottom: 16px;
}

    .loggedongrid a {
        line-height: 18px;
        padding: 0 2px;
        white-space: nowrap;
        margin-right: 12px;
    }

        .loggedongrid a.fading {
            color: goldenrod;
            font-style: italic;
        }

    .loggedongrid .active {
        color: green;
        font-weight: bold;
    }

/* NY Times account status */

.nytStatusDlg {
    display: none;
}

    .nytStatusDlg p {
        font-size: 14px;
    }

    .nytStatusDlg a {
        color: yellow;
    }

/*
    XTab2 is the standard XTable class using CSS only: <asp:Table ID="XTable" CssClass="XTab2 autoalt" runat="server"></asp:Table>
    XTab3 is the new cleaner version with reduced lines, white background, and adjusted line-height.
*/

.XTab2, .XTab3 {
    width: 100%;
    max-width: 700px;
    border-spacing: 0;
    border-collapse: collapse;
    border: 1px solid #000;
}

.XTab2 {
    background-color: #fafafa;
}

.XTab3 {
    background-color: white;
    margin: 30px auto;
    border: 2px solid gray;
}

    .XTab2 a, .XTab3 a {
        white-space: nowrap;
    }

    .XTab3 a {
        line-height: 120%;
        padding: 0 8px;
    }

    .XTab2 td, .XTab3 td {
        font-size: 12px;
        vertical-align: top;
        padding: 2px 4px;
        text-align: left;
    }

.XTab2 td {
    border-top: 1px solid #e0e0e0;
}

.XTab3 td:nth-child(2) {
    border-left: 1px solid #ddd;
}

.XTab3 td:not(:first-child) {
    border-bottom: 1px solid #ddd;
}

.XTab3 td.spacer {
    height: 3px;
    background-color: cadetblue;
    padding: 0 3px;
}

.XTab2 th, .XTab3 th {
    font-size: 13px;
    font-weight: bold;
    text-align: left;
    background-color: #d3d3d3;
    border: 1px solid #000000;
    padding: 2px 4px;
}

.XTab2 .author, .XTab3 .author {
    font-style: italic;
    padding-left: 5px;
}

.XTab2 .rank, .XTab3 .rank {
    text-align: right;
    padding-right: 16px;
}

.XTab2 .count, .XTab3 .count {
    text-align: right;
    padding-right: 12px;
}

.XTab2 .cen, .XTab3 .cen {
    text-align: center;
}

.cryptic {
    background-color: #fff7b7;
}

.diagramless {
    background-color: #d8f0f8;
}

.panda {
    background-color: #ffc8c8;
}

.vowelless {
    background-color: #d1ffb3;
}

/*.other {
    background-color: #fffff0;
}*/

.acrostic {
    background-color: #d6fdd6
}

.other {
    background-color: #e8e8e8;
}

/* Pre-Shortz tables are identified with red header */

.PSTable th {
    color: #ffffff;
    background-color: #660000;
}

/* use altrow on tr's to manually highlight rows in table, or use autoalt on table to automatically shade odd rows */

.altrow {
    background-color: #eee;
}

.autoalt tr:nth-of-type(odd) {
    background-color: #f3f3f3;
}

/* Letter count records and near records */

.recordCount {
    background-color: pink;
}

.topTenCount {
    background-color: yellow;
}

/* MSChart adds explicit height and width so they have to be overridden for scaling to work */

.msChart {
    width: initial !important;
    height: initial !important;
    margin-left: -40px;
    clip-path: inset(0 0 0 30px);
    max-width: calc(100% + 60px);
    display: block;
}

.jsChart {
    margin-top: 15px;
}


/*
    Thumbnail styles

    "thumb" is the style for any grid thumbnail
    "grids" is for a typical container holding a series of thumbs. It provides standard spacing.
*/

.grids {
    display: flex;
    column-gap: 14px;
    row-gap: 20px;
    flex-flow: row wrap;
    align-items: start;
    margin: 12px 3px 20px 0;
}

    .grids.empty {
        column-gap: 15px;   /* Empty grids are one pixel smaller, so this lines them up with other grids. */
    }

    .grids.sundays {
        column-gap: 24px;
        row-gap: 26px;
    }

    .grids.sundays.empty {
        column-gap: 25px;
    }

    .grids table.nonrect {
        margin-right: 1px;
        margin-bottom: 1px;
    }

/* miniPix are constructor photo collections */

.miniPix {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(60px, auto));
    justify-content: start;
    margin-top: 12px;
    margin-bottom: 12px;
    padding-right: 4px;  /* so right-most image shadow isn't clipped */
}

    .miniPix img {
        opacity: 0.1; /* TODO: set to 0 after testing */
    }

.miniSlot {
    display: flex;
    overflow-x: auto;
    justify-content: space-between;
    column-gap: 12px;
}

    .miniPix img, .miniSlot img {
        width: 60px;
        height: 80px;
        border: 1px solid #c0c0c0;
        border-radius: 4px;
        box-shadow: 2px 2px 3px rgba(0,0,0,.2);
    }

/* Slots are for single-line grid collections */

.slots {
    display: flex;
    align-items: start;
    column-gap: 14px;
    margin-top: 12px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-right: 3px;  /* so shadow doesn't clip '*/
    padding-bottom: 8px; /* gap above scroll bar */
}

    .slots.sundays {
        column-gap: 25px;
    }

table.thumb {
    border: 1px solid #808080;
    border-collapse: collapse;
    /* make sure font and spacing aren't reset by container '*/
    font-family: 'Segoe UI', Helvetica, Sans-Serif;
    line-height: initial;
}

    table.thumb:not(.nonRect) {
        box-shadow: 2px 2px 3px rgba(0,0,0,.2);
    }

    table.thumb caption {
        padding: 2px 3px;
        text-align: left;
        font-weight: bold;
        font-size: 8px;
    }

        table.thumb caption.norm { /* Default caption text is bold. This unbolds it */
            font-weight: normal;
        }

        table.thumb caption.normp { /* Same as .norm, expect with additional padding on the left */
            font-weight: normal;
            padding-left: 8px;
        }

    table.thumb .extra { /* Extra info (block counts, scrabble avg, etc.) is right-justified */
        float: right;
    }

    table.thumb td { /* standard values here assume answers are not hidden */
        text-align: center;
        width: 10px;
        min-width: 10px;
        height: 10px;
        min-height: 10px;
        font-size: 7px;
        border: none;
        padding: 0;
        margin: 0;
        background-color: #fff;
    }

.table.thumb td.darken { /* grid darkened, usually because there is a WHITE rebus square */
    background-color: var(--xDarken);
}

table.thumb td.black {
    background-color: #000;
    color: #b0b0b0; /* Text in "black" squares is a light gray */
}

table.thumb td.dblack {
    background-color: #4682b4; /* diagramless puzzles have different color "black" squares */
}

table.thumb td.shape {
    border: 1px solid transparent !important;
    background-color: transparent !important;
}

table.thumb.empty td { /* override standard values when answers are hidden. tds are smaller because they have a border. */
    border: 1px solid #000;
    width: 9px;
    min-width: 9px;
    height: 9px;
    min-height: 9px;
}

/* TODO: nonpublic commented out until logic can be improved. May never be important enough. */

/*table.thumb.nonpublic td {
    color: lightgray;
    border: 1px solid lightgray;
}

table.thumb.nonpublic td.black {
    background-color: lightgray;
}*/

table.thumb.empty.sunday td { /* smaller size for Sunday grids */
    width: 7px;
    min-width: 7px;
    height: 7px;
    min-height: 7px;
}

table.thumb td.plot {
    background-color: #356a80;
    color: white;
}

table.thumb td.blank {
    visibility: hidden;
}

table.thumb.acrostic td { /* acrostic answers are always hidden */
    border: 1px solid #000;
    width: 7px;
    min-width: 7px;
    height: 7px;
    min-height: 7px;
}

table.fthumb caption { /* single female constructor */
    background-color: #ffd0d0;
}

table.mthumb caption { /* single male constructor */
    background-color: #99ccff;
}

table.nthumb caption {
    background-color: lightyellow;
}

table.fthumb2 caption { /* multiple female constructors */
    background: linear-gradient(90deg, #ffd0d0, #fff0f0, #ffd0d0);
}

table.mthumb2 caption { /* multiple male constructors */
    background: linear-gradient(90deg, #99ccff, #ddeeff, #99ccff);
}

table.nthumb2 caption { /* multiple null constructors */
    background: linear-gradient(90deg, lightyellow, white, lightyellow);
}

table.fmthumb caption { /* female then male constructor */
    background: linear-gradient(90deg, #ffd0d0, #99ccff);
}

table.mfthumb caption { /* male then female constructor */
    background: linear-gradient(90deg, #99ccff, #ffd0d0);
}

table.fnthumb caption { /* female then null */
    background: linear-gradient(90deg, #ffd0d0, lightyellow);
}

table.mnthumb caption { /* male then null */
    background: linear-gradient(90deg, #99ccff, lightyellow);
}

table.nfthumb caption { /* null then female */
    background: linear-gradient(90deg,lightyellow, #ffd0d0);
}

table.nmthumb caption { /* null then male */
    background: linear-gradient(90deg, lightyellow, #99ccff);
}

table.nnthumb caption { /* multiple null constructors */
    background: linear-gradient(90deg, lightyellow, white, lightyellow);
}

table.preshortz caption { /* pre-Shortz grids have no author info, so generic caption */
    background-color: #d6d6d6;
}

.collab:not(.empty) td.black { /* collaboration puzzle indication */
    background-color: seagreen;
}

.thumb .ttpow { /* POW indicator in thumbnail caption */
    background-color: #ffffc0;
    padding: 0 2px;
}

/* Other classes for thumbnails */

.thumb td.circle { /* standard circle color for thumbs */
    background-color: #ffff66;
}

.thumb td.shade { /* standard shaded square color for thumbs */
    background-color: #c0c0c0;
}

.thumb.yshade .shade {
    background-color: #f6f399;
}

.thumb td.rebus { /* standard rebus color for thumbs */
    background-color: #faa07a;
}

.thumb td.open { /* open square */
    background-color: #add8e6;
}

.thumb td.vow { /* vowel */
    background-color: #90ee90;
}

.thumb td.wye { /* letter Y (not necessarily vowel or consonant) */
    background-color: #ffd700;
}

.thumb td.cheat { /* cheater square */
    color: #b0b0b0;
    padding-top: 10px;
    font-weight: normal
}

/* Biographies */

.bio {
    font-size: 10.5pt;
    background-color: #fff;
    padding: 2px 10px;
    border-radius: 8px;
    box-shadow: var(--xBoxShadow);
    margin: 0 4px 25px 4px;
    max-width: 728px;
}

    .bio .name {
        font-size: 14pt;
        font-family: Century-Gothic;
        margin-top: 8px;
    }

    .bio p {
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .bio img {
        max-width: 100%;
    }


/*
    Tooltip classes
*/

/* jQUeryUI Tooltip classes (All tooltips require abolute positioning, and all have shadows) */
.ui-tooltip {
    border-top: 1px solid #aaa;
    border-left: 1px solid #aaa;
    border-bottom: 1px solid #777;
    border-right: 1px solid #777;
    box-shadow: var(--xBoxShadow);
    border-radius: 7px;
    padding: 0;
    max-width: 400px;
    position: absolute;
    background-image: none; /* Important -- this overwrites theme background */
}

.ui-tooltip-content table.thumb {
    box-shadow: none; /* remove table box shadow if it's is in a tooltip */
}

div.ui-helper-hidden-accessible { /* Avoid showing stray tooltips on home page */
    display: none;
}

.ttLite {
    color: black;
    background-color: #ffffd0;
    font-size: 12px;
    padding: 3px 8px;
}

    .ttLite div { /* used in Acrostics */
        line-height: 18px;
    }

.gold {
    background-color: #ffeb80;
    background: linear-gradient(20deg, gold, #ffeb80, gold);
}

.ginfo {
    background-color: cyan;
    background: linear-gradient(20deg, darkgreen, cyan, darkgreen);
    max-width: 500px;
}

.unmax {
    max-width: initial; /* Allow grid td tooltips to be as large as necessary */
    max-height: initial;
}


.ttCon {
    color: black;
    background-color: #ffffd0;
    background-image: none;
    background: linear-gradient(45deg, darkorange, gold, darkorange);
    padding: 6px 6px 4px 6px;
}

    .ttCon img {
        border-radius: 7px;
        width: 150px;
        height: 200px;
    }

.ttCard {
    color: black;
    padding: 2px 2px 2px 4px;
    background-color: antiquewhite;
    background: linear-gradient(120deg, cornsilk, tan);
    box-shadow: 10px 10px 45px -12px rgba(0,0,0,0.75);
    border: none;
}

    .ttCard .bbCard {
        box-shadow: none;
        border: none;
        background-image: none;
        background-color: #ffeccc;
        background: linear-gradient(120deg, cornsilk, tan);
        margin: 0;
    }

    .ttCard .photo img { /* Needed for tooltip to calculate size properly */
        height: 200px;
        width: 150px;
    }


/* Grid tooltips override tooltip background. The ttGrid class is sufficient for cached grids. */

.ttGrid {
    color: black;
    background-color: #ffeb80;
    background: linear-gradient(135deg, #ffeb80, gold);
    box-shadow: 10px 10px 45px -20px rgba(0,0,0,0.75);
}

.ttError {
    color: black;
    background-color: pink;
    padding: 20px;
}

.ttGrid table.thumb {
    margin: 1px 6px 6px 6px; /* spacing around grid in tooltip */
}

.ttPSGrid {
    background: linear-gradient(0, darkorange, #ffeb80);
}

.ttNytGrid {
    background: linear-gradient(0, green, lightgreen);
}

.ttSolve {
    background: linear-gradient(0, lightblue, cyan);
}

.ttBlog {
    background: linear-gradient(0, brown, burlywood);
}

.ttAjaxGrid table {
    border: 1px solid var(--xRed);
}

/*.ttNonpublic td {
    border: 1px solid lightgray !important;
}

.ttNonpublic td.black {
    background-color: lightgray !important;
}*/

/* Thumbnail thumbnail modifications */

table.modPdf td.black {
    background-color: purple;
}

table.thumb.modPdf td {
    border: 1px solid purple;
}

table.modNytSolve td.black {
    background-color: #009;
}

table.thumb.modNytSolve td {
    border: 1px solid #009;
}

table.blog td.black {
    background-color: darkred;
}

table.thumb.blog td {
    border: 1px solid darkred;
}

/* Generic tooltips */

.gen {
    font-size: 10pt;
    padding: 5px 10px;
    color: black;
    background-color: floralwhite;
}

    .gen .count {
        font-size: 12pt;
        text-align: center;
        font-weight: bold;
        margin-top: 6px;
    }

/* common styles */

.bold {
    font-weight: bold;
}

.italic {
    font-style: italic;
}

.waiting {
    filter: brightness(40%); /* apply this style while waiting for AJAX, and then remove it when AJAX returns */
}

.nowrap {
    white-space: nowrap;
}

.copy {
    font-size: 11px; /* copyright notices */
    color: #808080;
    font-style: italic;
}

/* Hold this class for after NYT removes access to variety puzzles */
/*.solveLink {
    color: var(--xRed);
}*/

.solvepdflinks, solveandprintlink { /* links that look like [Solve, PDF] from Base.SolveAndPrintLinks() */
    white-space: nowrap;
    margin-top: 10px;
}

.stroketext {
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; /* outline text in black */
}

.inactive {
    color: #909090;
}

.aspNetDisabled {
    color: #909090; /* applied automatically when asp.net disables */
}

.alert /* major alert message such as site under maintenance */ {
    border: 2px solid #400000;
    padding: 8px;
    margin: 8px 0;
    background-color: #d00000;
    color: Yellow;
    text-align: center;
    font-size: 18px;
    letter-spacing: 2px;
}

.alert a {
    color: white;
    font-style: italic;
}

    .alert.staging {
        background-color: orange;
        color: black;
    }

.analyzelink /* special links to highlight analyze functions */ {
    color: #dc143c;
    font-weight: bold;
}

.powimg { /* Puzzle of the Week logo */
    border: none;
    float: right;
}

#cellar {
    margin-top: auto;
}

#cellarInfo {
    display: flex;
    justify-content: space-between;
    column-gap: 15px;
    font-size: 11px;
    color: #666;
    align-items: center;
    min-height: 30px;
    vertical-align: middle;
}

#PLT {
    white-space: nowrap;
}

/* Common color coding */

.unique {
    color: #ee0000; /* word unique to Modern era */
}

.debut {
    color: #9400d3; /* Modern Era debut */
}

.psonly {
    color: #a0522d !important; /* found ONLY in pre-Shortz puzzles */
}

.varonly {
    color: forestgreen;
}


/* rb classes used in various places to organize data in rainbow color order */

.rb0 {
    background-color: #dc143c !important;
    color: #ffffff !important;
}
/* white on crimson */
.rb1 {
    background-color: #ffa500 !important;
}
/* orange */
.rb2 {
    background-color: #ffff00 !important;
}
/* yellow */
.rb3 {
    background-color: #90ee90 !important;
}
/* lightgreen */
.rb4 {
    background-color: #87cefa !important;
}
/* lightskyblue */
.rb5 {
    background-color: #dda0dd !important;
}
/* plum */
.rb6 {
    background-color: #e0e0e0 !important;
    color: #808080 !important;
}
/* gray on lightgray */
.rb6b {
    background-color: #e0e0e0 !important;
    color: #000000 !important;
}
/* black on lightgray */
.rb7 {
    background-color: #ffffff !important;
}

/* Donation levels */

.Angel {
    color: red;
    font-weight: bold;
}

.RegularUser {
    color: blue;
    white-space: nowrap;
}

.CasualUser {
    color: green;
    white-space: nowrap;
}

.unknown {
    font-style: italic;
    color: gray;
}

.expired {
    color: white;
    background-color: gray;
    padding: 0 3px;
    font-weight: bold;
}

.ppClient {
    padding: 12px 8px;
    font-size: 12px;
    max-width: 250px;
    border: 1px solid darkgreen;
    background-color: #f5fff5;
    box-shadow: var(--xBoxShadow);
    border-radius: 8px;
}

    .ppClient h2 {
        font-family: 'Segoe UI', Helvetica, Sans-Serif;
        font-size: 15px;
        font-weight: bold;
        margin-top: 0;
        text-align: center;
        background-color: #fff;
        border: 1px solid gray;
        border-radius: 8px;
        padding: 2px;
        color: firebrick;
    }

    .ppClient p {
        font-size: 13px;
    }

    .ppClient li {
        font-size: 14px;
    }

    .ppClient .ppExp {
        margin-bottom: 12px;
    }

    .ppClient .status {
        font-size: 14px;
        margin-top: 10px;
        margin-bottom: 10px;
        text-align: center;
    }

    .ppClient .ppExpired {
        color: firebrick;
        font-weight: bold;
        border: 2px solid red;
        background-color: lightyellow;
        padding: 5px;
        margin: 20px 0;
    }

    .ppClient .ppWarn {
        color: maroon;
        font-weight: bold;
        border: 2px solid firebrick;
        background-color: lemonchiffon;
        padding: 5px;
        margin: 20px 0;
        border-radius: 8px;
    }

    .ppClient fieldset {
        border-radius: 8px;
        margin-top: 16px;
        border: 1px solid green;
    }

    .ppClient legend {
        font-size: 14px;
        padding: 0 9px;
        font-weight: bold;
    }

    .ppClient .levelOptions div {
        padding: 3px 0;
        margin: 6px 0;
        background-color: white;
        border: 1px solid lightgray;
        border-radius: 8px;
    }

    .ppClient .paymentOptions {
        padding-top: 12px;
        padding-bottom: 4px;
    }

    .ppClient .levelInfo {
        display: block;
        padding-left: 25px;
    }

    .ppClient .ppComment {
        display: none;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        color: var(--xRed);
        margin-top: 12px;
        background-color: #fff;
        border: 1px solid var(--xRed);
        padding: 3px 0;
        border-radius: 8px;
    }

.rbad .ppClient {
    width: 250px;
}

.sidead .ppClient {
    width: 250px;
}

.infogrid {
    display: inline-grid;
    grid-template-columns: max-content max-content;
    column-gap: 20px;
    row-gap: 3px;
    border: 1px solid darkgray;
    color: black;
    background-color: ivory;
    padding: 8px 16px;
    margin: 5px;
    border-radius: 8px;
    font-size: 12px;
}

    .infogrid .status {
        font-weight: bold;
    }

    .infogrid .valid {
        color: green;
    }

    .infogrid .warn {
        background-color: white;
        color: chocolate;
    }

    .infogrid .expired {
        background-color: gray;
        color: white;
    }

    .infogrid .archangel {
        background-color: yellow;
        font-weight: bold;
    }

    .infogrid .renew {
        color: blue;
    }

    .infogrid .spacer {
        height: 5px;
    }

    .infogrid .admlink {
        font-style: normal;
    }

.vlOuter {
    padding: 12px 10px;
    margin: 0 auto;
    background: linear-gradient(to bottom, darkred, orange, darkred);
    border-radius: 10px;
    box-shadow: 3px 3px 6px rgba(0,0,0,.2);
    max-width: 805px;
    font-size: 40pt;
}

.vlogo {
    font-family: sans-serif;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    color: var(--xHeader);
}

    .vlogo span {
        border: 4px solid maroon;
        text-align: center;
        background: linear-gradient(135deg, cornsilk 20%, tan);
        text-shadow: 2px 2px rgba(0,0,0,.2);
    }

    .vlogo .black {
        color: #222;
        background: radial-gradient(#222, #555);
    }

    .vlogo:hover {
        text-decoration: none;
        color: var(--xHeader);
        font-weight: bold;
    }

        .vlogo:hover span:not(.black) {
            background: linear-gradient(135deg, cornsilk 35%, tan);
        }

.vlOuter.large {
    font-size: 80pt;
    padding: 12px;
}

.vlOuter.short {
        width: max-content;
        height: max-content;
    }

        .vlOuter.short span {
            width: 70px;
        }

.vlOuter.large span {
    width: 140px;
    border: 6px solid maroon;
}

.col5 .vlogo {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, max-content);
    grid-template-rows: initial;
}

.col5down .vlogo {
    grid-auto-flow: column;
    grid-template-columns: initial;
    grid-template-rows: repeat(5, max-content);
}

.col4 .vlogo {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, max-content);
    grid-template-rows: initial;
}

.col4down .vlogo {
    grid-auto-flow: column;
    grid-template-columns: initial;
    grid-template-rows: repeat(4, max-content);
}

.pdfView {
    width: 100%;
    height: 75vw;
    max-height: 750px;
    margin-top: 8px;
}

.lemon {
    vertical-align: middle;
    margin: 0 3px;
}

.YouTube-container {
    overflow: hidden;
    padding-top: 56.25%;
    position: relative;
    margin: 8px 0;
}

    .YouTube-container iframe {
        border: 0;
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }

.numbersGame {
    max-height: 17px !important;
    margin-top: 4px;
}

.zero {
    background-color: pink;
    color: red;
    font-weight: bold;
}

@keyframes flapDown {
    0% {
        transform: rotateX(-90deg);
        opacity: 0;
    }

    50% {
        transform: rotateX(-45deg);
        opacity: 0.5;
    }

    100% {
        transform: rotateX(0);
        opacity: 1;
    }
}

.flap {
    width: 200px;
    height: 100px;
    background-color: #3498db;
    text-align: center;
    line-height: 100px;
    color: white;
    font-size: 20px;
    transform-origin: top;
    animation: flapDown 0.6s ease-out;
}

/* https://www.w3schools.com/cssref/tryit.asp?filename=trycss_anim_transform */
/* use, say   animation: flipBack 5s infinite; or maybe  animation: rotation 2s infinite linear; */
@keyframes flipBack {
    50% {
        transform: rotate(180deg);
    }
}

@keyframes flip90 {
    50% {
        transform: rotate(90deg);
    }
}

@media (max-width: 860px) {

    body {
        background-color: #fff;
        background: none !important;
        font-size: 11pt;
    }

    #pagecontent {
        width: inherit !important;
        padding: 9px;
        border: none;
    }

    #cellar {
        padding: 0;
    }

    .sidead, .hpad, .topad {
        display: none !important;
    }

    .toplink {
        font-size: 14px;
        line-height: 30px;
    }

    .msChart {
        margin-left: -30px;
        clip-path: inset(0 0 0 20px);
        max-width: calc(100% + 50px);
    }
}

@media (max-width: 800px) {

    h1 {
        font-size: 4vw;
        opacity: 1;
    }

    h2 {
        font-size: 3vw;
    }

    .vlogo {
        font-size: 7vw;
    }

    .vlogo span {
        border: .5vw solid maroon;
        text-shadow: none;
    }

    .vlOuter.short span {
        width: 9vw;
    }

    .bbCard {
        width: unset;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .thumbbreak {
        display: none;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 10.5pt;
    }

    h1 {
        font-size: 18pt;
    }

    h2 {
        font-size: 14pt;
    }

    .XTab2 td, .XTab3 td {
        font-size: 11px;
    }

    .XTab3 a {
        line-height: 150%; /* A little more space between links for phone users */
    }

    /* logo simulates .short .col5 on narrow screens */

    .vlOuter {
        width: max-content;
        height: max-content;
        margin-left: auto;
        margin-right: auto;
    }

    .vlOuter span {
        width: 12vw;
    }

    .vlogo {
        grid-auto-flow: row;
        grid-template-columns: repeat(5, max-content);
        grid-template-rows: initial;
        font-size: 9vw;
    }

    .msChart, .jsChart {
        display: none;
    }
}

@media (max-width: 440px) {
    .largeOnly {
        display: none;
    }

    .bbName, .bbName2 {
        font-size: 20px;
        margin-top: 2px;
    }

    .bbTables table {
        margin-bottom: 2px;
    }
}