/*
// (c) Copyright 2024 Michael G. Mino
// Last Updated: 2026Mar14
//
// padding: top, right, bottom, left
*/

body {font: 18px/22px Cambria}
h1 {color: #444; font-family: Tahoma; clear: both}
h2, h3 {color: maroon; font-family: Tahoma; clear: both}
h3 {color: tomato;}
hr {clear: both}
img {max-width: 90%; padding: 3px 5px}
ul li {list-style-type: square} 
ul li li {list-style-type: disc}
code {background-color: #ddd; padding: 0 3px}
pre {background-color: #eef; font-size: 14px; padding: 5px;}
note {color: #488; font-style: italic}
blockquote {background-color: #f2f2f2; padding: 0.5rem 1rem}
blockquote div {font: bold 18px Tahoma; color: #00c}

table {font: 16px Optima, sans-serif}
table {max-width:90%;}
table, th, td {border: 1px solid black; border-collapse: collapse;}
th, td {padding: 15px; text-align: left;}
tr:nth-child(even) {background-color: #eee;}
tr:nth-child(odd) {background-color: #fff;}
th {background-color: black; color: white;}

div.mcode p {background-color: #79a; color: white; font: 14pt Tahoma; padding: 2px 9px; margin-bottom: 0}
div.mcode pre {background-color: #eee; font: 10pt 'Space Mono', Courier; padding: 5px 9px; margin-top: 0}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}


content {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 20px;
}

content.small {
    max-width: 400px;
	display: block
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: .25rem;
}
textarea {
	overflow:hidden;
	min-height:80px;
}

button {
    display: inline-block;
    padding: .45rem .9rem;
    border-radius: .25rem;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: .95rem;
    text-decoration: none;
    text-align: center;
	margin-top: 7px;
}

button.primary, input.primary {
    background: #2a6fdb;
    border-color: #2a6fdb;
    color: #fff;
}

button.secondary {
    background: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.alert {
    padding: .5rem .75rem;
    border-radius: .25rem;
    margin-bottom: 1rem;
    font-size: .9rem;
}

.alert-error {
    background: #f8d7da;
    color: #842029;
}

.alert-success {
    background: #d1e7dd;
    color: #0f5132;
}

/*** MAIN MENU small screen ***/
.top-menu {
	display: none;
	clear: both;
}
.top-menu.toggled-on {
	display: block;
	position: relative;
	z-index: 10;
}
ul.top-menu, .top-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.top-menu li a {
	background: #dadada;
	display: block;
	margin: 1px 0; 
	padding: 10px;
	text-decoration: none;
}
.top-menu li a:hover{
	background: #09f;
	color: #fff;
}
.top-menu li li a {
	background: #e8e8e8;
	padding-left: 40px;
}
.top-menu li li li a {
	background: #efefef;
	padding-left: 80px;
}

@media only screen and (min-width: 920px) {
/*** MAIN MENU large screen ***/
.top-menu, .top-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
.top-menu ul {
	position: absolute;
	display: none;
	width: 13em; /* left offset of submenus need to match (see below) */
}
.top-menu ul li {
	width: 100%;
}
.top-menu li:hover {
	visibility: inherit; /* fixes IE7 'sticky bug' */
}
.top-menu li {
	float: left;
	position: relative;
	margin-left: 1px;
}
.top-menu li li {
	margin-left:0px;
}
.top-menu li a {
	display: block;
	position: relative;
}
.top-menu li:hover ul,
.top-menu li.sfHover ul {
	display: block;
	left: 0;
	top: 38px; /* match top ul list item height */
	z-index: 99;
	-webkit-box-shadow:  2px 3px 2px 0px rgba(00, 00, 00, .3);
    box-shadow:  2px 3px 2px 0px rgba(00, 00, 00, .3);
}
ul.top-menu li:hover li ul,
ul.top-menu li.sfHover li ul {
	top: -999em;
}
ul.top-menu li li:hover ul,
ul.top-menu li li.sfHover ul {
	left: 12em; /* match ul width */
	top: 0;
}
ul.top-menu li li:hover li ul,
ul.top-menu li li.sfHover li ul {
	top: -999em;
}
ul.top-menu li li li:hover ul,
ul.top-menu li li li.sfHover ul {
	left: 10em; /* match ul width */
	top: 0;
}
}

