
:root {
	--main-bg-color: rgba(192, 192, 192, 0.95);
	--sticky-bg-color: rgba(192, 192, 192, 1.0);
}

/* body { background-image: url(https://short-n-numbers.com/images/background_2.jpeg?t=1649431571); background-repeat: no-repeat; background-size: auto; background-attachment: fixed } */
td { /* set in index.php */ }
html { font: 15px Verdana }
input { width: 92%; max-width: 300px; background-color: #AAAAAA; padding-left: 10px; margin-bottom: 8px; font-size: 16px; border: 1px solid grey }
input[id=answer] { width: 45px; text-align: center }
button { margin: 25px; font: 13px Verdana }
textarea { resize: vertical; width: 90%; max-width: 90%; margin-bottom: 10px; background-color: #AAAAAA; padding: 5px }
a { color: blue }
select { margin-bottom: 8px; background-color: #AAAAAA; border-color: grey; font-size: 110% }
input, textarea, select { background-color: whitesmoke; padding: 4px 10px; font-size: 16px }
table { border-spacing: 0; border: 0; border-collapse: collapse }
th { border: 1px solid grey; font-size: 11px; padding: 4px 0 }
thead { border-left: 0; border-right: 0 }
thead, thead th { /* border-top-color: var(--main-bg-color) */ }
th:nth-child(1), td:nth-child(1) { border-left: 0 }
th:last-child { border-right: 0 }
tfoot tr { border-top: 1px solid grey; border-bottom-color: var(--main-bg-color) }
tfoot td { font-size: 12px; padding: 4px; text-align: center }
tfoot, tfoot td { border-bottom: 0 }

/*	12/28/2024	- make group 'border-right' darker/thicker  */
thead th:nth-child(1), thead th:nth-child(2), thead th:nth-child(3) { border-right: 2px solid black }
tbody td:nth-child(1), tbody td:nth-child(3), tbody td:nth-child(6) { border-right: 2px solid black }

#container { max-width: 860px; margin: 0 auto }
#banner { text-align: center; margin-bottom: -25px; position: relative }
#bannerimage { width: 100% }
#numbertext { position: absolute; bottom: 27%; left: 40%; color: #000; font-style: italic; font-size: 18px; letter-spacing: 2px; text-align: center;line-height: 26px; width: 80px; -webkit-transform: rotate(-19deg); -moz-transform: rotate(-19deg); text-shadow: 2px 1px 2px #555 }
#discuss { margin: 5px 50px 20px; text-align: justify; font-style: italic }
#form { margin: 30px 80px; font-size: 90% }
#remain { margin-left: 30px; font-size: 85% }
#searchdiv { width: 100%; margin: 5px auto; padding: 5px 0; font-style: italic; text-align: center; -webkit-text-size-adjust: none; font-size: 110% }
#searchdiv span { display: inline-block }
#sbox { width: 60px; margin: 10px; padding: 2px 0; text-align: center }
#scrolltotop { height: 20px }
#snum { width: 40px; display: inline-block; text-align: left }
#smatch { color: #4D4D4D; visibility: hidden }
#totop2 { height: 20px; visibility: hidden }
#legend strike { color: grey }
#scrolltotop { margin: auto }
#numbertable { max-width: 700px; min-height: 200px; margin: -14px auto 0 }
#numbertable table { margin-top: 2px }
#jetbanner { max-width: 100%; margin: 10px auto; position: relative }
#banner { max-width: 100%; margin: 10px auto }
#matchdiv { display: none; text-align: center; margin: 6px 0 13px; -webkit-text-size-adjust: none }
#toptext { max-width: 690px; margin: 0 auto 0; padding: 0 15px 1px }
#sticker { position: sticky; top: -1px; max-width: 670px !important; margin: 20px auto -2px; padding: 0 15px; overflow: hidden; z-index: 10 }
#sticker.is-pinned { background-color: var(--sticky-bg-color); box-shadow: 0 3px 3px 0 #888 }
#discuss { max-width: 700px; margin: unset; margin-top: -15px }
#discuss p span { display: inline-block; line-height: 30px }
#discuss2 { max-width: 700px; margin: unset; padding: 10px 15px; margin-top: 20px }
#form_wrapper { max-width: 400px; margin: 0 auto }
#form { max-width: 700px; margin: 0px auto 30px }
#form form { max-width: 350px; margin: -1px auto; padding-left: 10px }
#d2wrapper span { width: 100% }
#d4wrapper span { display: inline-block; margin-left: 25px }

.newFlagdiv { position: relative }
/* .flagR { background-color: red } */
.flagR { display: none }
.flagG { background-color: #659D32 }
.flagY { background-color: rgb(255, 115, 0) }
.flagR, .flagG, .flagY { position: absolute; right: 4px; top: 3px; padding: 2px 3px; color: #FFF; font: italic 8px Verdana; border-radius: 5px; text-align: center }
.sold { text-decoration: line-through; color: #888 }
.box { display: flex; justify-content: space-between; align-items: center }
.box div:nth-child(1) { width: 20% }
.box div:nth-child(2) { padding-left: 20px }
.box div:nth-child(3) { width: 18% }
.shadebox { background: var(--main-bg-color) }
.fullradius { border-radius: 5px }
.topradius { border-top-left-radius: 5px; border-top-right-radius: 5px }
.bottomradius { border-bottom-left-radius: 5px; border-bottom-right-radius: 5px }
.bottomonlyshadow { box-shadow: 0 3px 3px 0 #888 }
.searched { background-color: #9C9C85 }

@media screen and (max-width:  700px) { 
	#numbertext { font-size: 95% }
}
@media screen and (max-width:  650px) { 
	#numbertext { bottom: 26%; left: 38% }
}
@media screen and (max-width:  600px) { 
	html { margin: 0; padding: 0 }
	body { margin: 8px 4px; padding: 0 }
	/* textarea { width: 95% } */
	#numbertext { font-size: 90% }
}
@media screen and (max-width:  500px) { 
	body { background-image: none; background-color: rgb(69, 115, 205) }
	th { font-size: 9px }
	td { padding: 2px 1px 2px 8px }
	.flagR, .flagG { display: none }
	/* input { width: 250px } */
	div#form { margin: 0 auto; max-width: 100% }
	#bannerimage { width: 100% }
	#scrolltotop { height: 18px }
	#numbertext { font-size: 82%; bottom: 24%; left: 35% }
	#d2wrapper span { font-size: 95%!important }
	#sticker { margin-top: 14px }
	#discuss2 { margin-top: 14px }
}
@media screen and (orientation: landscape) {
	#jetbanner { max-width: 84% }
}
@media screen and (max-width:  400px) { 
	html { font-size: 13px; margin: 0 }
	body { margin: 2px }
	/* textarea#msg { width: 250px } */
	th { font-size: 7px }
	td { padding: 2px 1px 2px 6px }
	tfoot td { font-size: 9px }
	#sbox { width: 45px }
	#snum { width: 30px }
	#searchdiv { width: 400px }
	#scrolltotop { height: 17px }
	#numbertext { font-size: 80%; bottom: 22%; left: 33%; text-shadow: 1px 0px 1px #555 }
	#d2wrapper span { font-size: 100%!important }
	#sticker { margin-top: 8px }
	#discuss2 { margin-top: 8px }
}
@media screen and (max-width:  340px) { 
	#searchdiv { width: 330px }
	#sbox { width: 40px }
}
