body {
    font-family: Verdana, Arial, sans-serif;
    margin: 0;
    padding: 0;
}
  
P, UL {
    margin: 0px;
    color: black;
    text-align: left;
    font-size: 16px; 
    line-height: 1.4;
    padding-top: 5px;
    padding-bottom: 5px;
}
H1, H2 {
    margin: 0px;
    color: #000;
    text-align: left;
    padding-top: 20px;
    padding-bottom: 10px;
}
H3, H4 {
    margin: 0px;
    color: #000;
    text-align: left;
    padding-top: 10px;
    padding-bottom: 0px;
}
H5 {
    margin: 10px;
    color: red;
    text-align: center;
    font-style: italic;
    padding-top: 10px;
    padding-bottom: 0px;
}
A {
    font-weight: bold;
    color: #993399;
}

textarea {     
    width: 90%;
    height: 64px;
    color: black;
}

iframe {
    margin: 0 auto;
    display: block;
}

.counter {color:white;margin-top:8px;}

/* Main page ==================== */

.mainbody {
}

.mainbody-home {
    margin-left: 170px;
    padding: 10px;
    min-width:550px;
    max-width: 900px;
}

.page-intro p {
    font-weight: bold;
}
.page-note p, ul {
    font-size: 14px; 
    /* font-style: italic; */
}
.page-footnote p {
    font-size: 12px; 
    font-style: italic; 
    text-align: center;
}
.page-credits p {
    font-size:85%;
    color: #333;
	text-align:center;	
}
.page-history p {
    font-size: 16px; 
}
.page-history p b {
    font-size: 12px;
    color: #FF3333;   
}

/* standard flex containers ======= */

.std-flex-block {
    display: flex;
    flex-direction: row;
    align-items: flex-start, stretch;
}
.single-item { justify-content: center; }

.std-flex-block-wide {
    display: flex;
    flex-direction: column;
    align-items: flex-start, stretch;
}
.std-flex-block-multi {
    display: flex;
    flex-direction: row;
    align-items: flex-start, stretch;
    justify-content: space-evenly;
}

/* Puzzle sections =============== */

.puzzle-area {
    padding: 10px;
    margin: 5px;
    align-items: center;
}

.puzzle-area-legacy-applet {
    padding: 10px;
    margin: 5px;
    align-items: center;
    font-size: 10px;
    text-align: center;
    color: red;
}

.puzzle-area-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: gainsboro;
    padding: 10px;
    margin: 5px;
}

.puzzle-info {
    background: gainsboro;
    padding: 10px;
    margin: 5px;
    flex-grow: 4; 
}
.puzzle-info-table {
    background: whitesmoke;
    padding: 10px;
    margin: 5px;
    align-items: center;
}

.puzzle-area-legacy-applet p  { font-size: 14px; text-align: center; }
.puzzle-area-legacy-applet h3 { font-size: 14px; text-align: center; padding-top: 0px; padding-bottom: 5px; }

.puzzle-area p { font-size: 14px; text-align: center; }
.puzzle-info p { font-size: 14px;  }
.puzzle-info h4 { padding-top: 5px; }

/* applet info sections ========= */

.appinfo-icon {
    background: white;
    padding: 10px;
    margin: 5px;
    align-items: center;
}
.appinfo-txt {
    background: white;
    padding: 10px;
    margin: 5px;
    flex-grow: 4; 
}
.appinfo-txt p { font-size: 14px;  }

/* Table sections =============== */

.table-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    padding: 10px;
    margin: 5px;
}
.rules-table { background: whitesmoke; }
.rules-table th { 
    background: gainsboro;
    font-size: 14px; 
    color: red;
    text-align: center; 
    padding: 4px;
}
.rules-table td { 
    background: gainsboro;
    font-size: 14px; 
    text-align: center; 
    padding: 4px;
}

.std-table { background: whitesmoke; }
.std-table th { 
    background: gainsboro;
    font-size: 14px; 
    color: red;
    text-align: left; 
    padding: 6px;
}
.std-table td { 
    background: gainsboro;
    font-size: 14px; 
    text-align: left; 
    vertical-align: top;
    padding: 6px;
}

.tbl { 
    display: table; 
    table-layout: fixed;
    padding: 5px 0px 5px 0px;
    margin-left: none;
    margin-right: none;
} 
.tbl-tr { display: table-row; } 
.tbl-th { display: table-header-group; } 

.tbl-td, .tbl-th-td { 
    display: table-cell; 
    vertical-align: top;
    border: 2px solid whitesmoke;
    padding: 2px 5px 2px 5px;
    margin: 2px;
}

/* Collection tables ========== */

.co-ico { 
    text-align: right;
    vertical-align: middle;
}
.co-txt { 
    background: gainsboro;
    width: 40%; 
    text-align: left; 
}
.co-gap {   /* empty */
    background: whitesmoke;
}
.co-txt p { font-size: 14px; }

/* Link section =============== */

.link-block {
    display: flex;
    flex-direction: row;
    align-items: flex-start, stretch;
    justify-content: center;
}
.link-list {
    background: whitesmoke;
    padding: 5px;
    margin: 5px;
}
.link-list ul { list-style-type: none; }

/* Photo section =============== */

.photo-area {
    background: white;
    padding: 10px;
    margin: 5px;
}
.photo-info {
    background: white; 
    padding: 10px;
    margin: 5px;
    flex-grow: 4;   
}
.photo-info-alt {
    background: white; 
    padding: 10px;
    margin: 5px;
    flex-grow: 4;   
}
.photo-info-plain {
    flex-grow: 4;   
}

.photo-area p { font-size: 12px; text-align: center; }
.photo-info p { font-size: 16px; }
.dinky p { font-size: 12px; }





