/* 

NOTES 
* padding: top right bottom left;
* colors: https://htmlcolorcodes.com

*/

/* Enlarge on big screens */

@media (min-width: 780px) {
    body {
        zoom: 1.5; /* Apply a 150% zoom on desktop */
        /* Alternatively, adjust specific element sizes */
        /*font-size: 18px; /* Larger font size on desktop */*/
    }
}

/* High-level formatting */

html {
  background-color: white;
}

body {
  font-family: Helvetica, Arial, sans-serif; 
  overflow-y: hidden;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0; 
}

html, body {
  text-size-adjust: none;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  height: 100%;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
             Roboto, "Helvetica Neue", Arial, "Apple Color Emoji",
             "Segoe UI Emoji";
}


/* Flex box setup for header/main/footer */

.container {
  margin-right: auto;
  margin-left: auto;
  max-width: 600px;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

header {
  flex-shrink: 0;
  background-color: white;
}

main {
  flex-grow: 1;
  overflow: auto;
  min-height: 100px;
}

footer {
  flex-shrink: 0;
  background-color: white;
}  


/* Title 2-column row */

* {
  box-sizing: border-box;
}

.row-title {
  display: flex;
  max-width: 550px;
  margin-top: 7px;
  margin-bottom: 5px;
}

.column-left-title {
  flex: 35%;
  padding: 3px;
}

.column-right-title {
  flex: 65%;
  padding: 3px;
  margin-right: 7px;
}

.row-people {
  display: flex;
  max-width: 550px;
  margin-top: 7px;
  margin-bottom: 5px;
}

.column-left-people {
  flex: 25%;
  padding: 3px;
}

.column-right-people {
  flex: 75%;
  padding: 3px;
  margin-right: 7px;
}


/* Misc */

p.sam-quote {
  margin-left:5%; 
  margin-right:5%;
}

span.author {
  color: green;
}

p.center {
  text-align: center;
}

div.sam-title {
  max-width: 550px;
  margin: 0 auto;
  font-size: 22px;
  line-height: 30px;
  text-align: center;
  padding: 10px;
}

div.sam-title-short {
  max-width: 550px;
  margin: 0 auto;
  font-size: 22px;
  line-height: 30px;
  text-align: center;
  padding: 10px 0px 0px 0px;
}

div.sam-block {
  max-width: 550px; 
  margin: 0 auto; 
  font-size: 13px;
  line-height: 15px;
}

div.sam-bold-block {
  max-width: 550px; 
  margin: 0 auto; 
  font-size: 15px;
  font-weight: bold;
  line-height: 15px;
}

div.sam-block-index {
  max-width: 560px; 
  margin: 0 auto; 
  font-size: 13px;
  margin-bottom: 10px;
}

div.sam-block-padded {
  max-width: 550px; 
  margin: 0 auto; 
  font-size: 13px;
  line-height: 15px;
  padding: 5px 0px 5px 0px;
}

div.sam-centered-block {
  max-width: 550px; 
  margin: 0 auto; 
  font-size: 13px;
  line-height: 15px;
  text-align: center;
}

div.sam-note {
  font-size: 9px;
  line-height: 11px; 
  text-align: center;
}

div.sam-note-bottom {
  font-size: 9px;
  line-height: 12px; 
  text-align: center;
  padding: 0px 0px 3px 0px
}

div.sam-note-top {
  font-size: 9px;
  line-height: 12px; 
  text-align: center;
  padding: 0px 0px 10px 0px
}

p {
  font-size: 12px;
  margin-top: 4px;
  margin-bottom: 6px;
}

ul {
  margin-top: 6px;
  margin-bottom: 6px;
  padding-left: 25px;
}

ol {
  margin-top: 6px;
  margin-bottom: 6px;
  padding-left: 25px ;
}

li {
  margin-top: 4px;
  margin-bottom: 4px;
}

ul.sam li {
  margin-top: 1px;
  margin-bottom: 1px;
}

ol.sam li {
  margin-top: 1px;
  margin-bottom: 1px;
}

ul.sam {
  margin-top: 2px;
  margin-bottom: 2px;
  padding-left: 25px;
}

ol.sam {
  margin-top: 2px;
  margin-bottom: 2px;
  padding-left: 25px;
}

div.sam-links-list {
  margin: 0 auto; 
  font-size: 14px;
  line-height: 1.7;  
  text-align: center;
  max-width: 550px;
  padding: 6px 0px 6px 0px;;
}

div.sam-links-list-short {
  margin: 0 auto; 
  font-size: 14px;
  line-height: 1.3;  
  text-align: center;
  max-width: 550px;
  padding: 6px 0px 6px 0px;;
}

div.sam-link-top {
  max-width: 550px;
  margin: 0 auto; 
  line-height: 15px;
  padding: 12px 0px 0px 0px;
}

div.sam-link-bottom {
  max-width: 550px;
  margin: 0 auto; 
  line-height: 15px;
  padding: 0px 0px 0px 0px;
}


/* Image */

.image-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  width: 40%;
}

div.sam-image { 
  max-width: 550px; 
  margin: 0 auto; 
  font-size: 13px;
  text-align: center;
  line-height: 15px;
  font-weight: bold;
  padding: 6px 0px 6px 0px;
}

div.sam-video { 
  max-width: 550px; 
  margin: 0 auto; 
  font-size: 13px;
  line-height: 15px;
  padding: 6px 0px 6px 0px;
}

img.badge {
  max-width: 100%;
  height: 15px;
  vertical-align: middle;
  padding-bottom: 2px;
}

img.mtb {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 5px 0px 5px 0px;
  max-width: 100%;
  height: auto;
}

img.sam {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 4px solid black;
}

img.sam-plain {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.sam-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 95px; 
}

img.sam-people {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100px; 
}

video.mtb {
  width: 100%; 
  height: auto;
  padding: 5px 0px 5px 0px;
}

iframe {
  width: 100%;
  height: 300px; 
}


/* Horizontal rules */

hr {
  margin-top: 8px; 
  margin-bottom: 8px;
  border: 0.5px solid black;;
}

hr.nav-top {
  margin-top: 4px; 
  margin-bottom: 5px;
  border: 1px solid #0000A0;
  border-radius: 5px;
}

hr.nav-top-fixed {
  margin-top: 6px; 
  margin-bottom: 0px;
  border: 1px solid #0000A0;
  border-radius: 5px;
}

hr.nav-bottom {
  margin-top: 5px; 
  margin-bottom: 4px;
  border: 1px solid #0000A0;
  border-radius: 5px;
}

hr.nav-bottom-fixed {
  margin-top: 0px; 
  margin-bottom: 4px;
  border: 1px solid #0000A0;
  border-radius: 5px;
}

hr.subnav-top {
  margin-top: 20px; 
  margin-bottom: 0px;
  border: 0.5px solid black;
  max-width: 550px;
  text-align:center;;
}

hr.subnav-toptop {
  margin-top: 7px; 
  margin-bottom: 0px;
  border: 0.5px solid black;
  max-width: 550px;
  text-align:center;;
}

hr.subnav-bottom {
  margin-top: 0px; 
  margin-bottom: 18px;
  border: 0.5px solid black;
  max-width: 550px;
  text-align:center;;
}


/* Headings */

h1.index {
  margin-top: 5px;
  margin-bottom: 10px; 
  font-size: 15px;
}

h1 {
  margin-top: 14px;
  margin-bottom: 4px; 
  font-size: 15px;
}

h1.sam-date {
  margin-top: 12px;
  margin-bottom: 4px;
  color: green;
}

h2 {
  margin-top: 10px;
  margin-bottom: 7px;
  font-size: 13px;
}

h2.bib-year {
  font-size: 13.5px;  
  margin-top: 13px;
  margin-bottom: 6px;
  color: green;
}

h3 {
  margin-top: 7px;
  margin-bottom: 5px;
  font-size: 13px;
  font-style: italic;
  font-weight: normal;  
}

h3.bib {
  margin-top: 7px;
  margin-bottom: 5px;
  font-size: 13px;
  font-style: italic;
  font-weight: bold;
}


/* Bibliography */

p.bibliography {
  text-indent: -20px;
  padding-left: 20px;
}

font.author {
  color: green;
}


/* Links */

a:link {
  text-decoration: none;
  color: #0000A0;
}

a:visited{
  color: #0000A0;
}
a:hover{
  color: green;
}
a: ocus{
  color: green;
}
a:active{
  color: red;
}


/* Navigation */

.pill-nav a {
  display: inline-block;
  color: #0000A0;
  text-align: center;
  padding: 2px 8px 2px 8px;
  text-decoration: none;
  font-size: 13px;
  border-radius: 3px;
  font-weight: bold;
}

.pill-nav a:hover {
  background-color: #0000A0;
  color: white;
}

.flex-parent {
  display: flex;
}

.jc-center {
  justify-content: center;
}






.navbar {
  display: flex;                  /* make navbar use flexbox */
  justify-content: space-between; /* spread menu left, logo right */
  align-items: center;            /* vertically center both */
  overflow: hidden;
  background-color: #0000A0;
  padding: 0;                     /* ensure no extra height */
}

.navbar a {
  float: left;
  font-weight: bold;
  font-size: 13px;
  color: white;
  text-align: center;
  padding: 8px 10px;
  text-decoration: none;
}

.dropdown {
  overflow: hidden;
}

.dropdown .dropbtn {
  font-weight: bold;
  font-size: 13px;
  border: none;
  outline: none;
  color: white;
  padding: 8px 10px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: green;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 8px 10px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* logo styling */
.navbar-logo img {
  height: 28px;       /* match roughly text height */
  vertical-align: middle;
  margin-right: 5px;  /* small padding from edge */
}
