body {
    color: #000000;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    color: #000000;
    font-family: Arial, sans-serif;
    line-height: 1.5;
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-flow: column;
    -webkit-flex-flow: column;
    -ms-flex-flow: column;
    min-height: 100vh; 
}

h1 {
    font-size: 100%;
    color: #7e1e56;
    text-transform: uppercase;
    padding-top: 2em;
}

main h1:not(:first-child) {
    padding-top: 0.5em;
}

main h1:first-child {
    padding-top: 0em;
}

h2, .h2 {
    padding-top: 0.5em;
    margin-top: 1.5em;
    /*margin-left: 1em; */
    font-size: 80%;
    color: #7e1e56;
    text-transform: uppercase;
}

h3 {
    font-size: 100%;
}

header {
    /* background-color: #ffffff; */
    margin: 0;
    padding: 0;
    display: block;
    clear: both;
    margin-right: calc(100% - 100vw);
}

header div.top {
    text-align: center;
    padding: 1em;
    /* font-family: "Quicksand" !important; */
    color: #8d2424 !important;
    font-size: 34px !important;
    font-weight: 500;
}

main {
    margin: 0 0.5em;
    flex: 1;
}

footer {}

nav {
    display: table;
    width: 100%;
    /*background-color: #ffffff; */
    text-align: center;
    vertical-align: middle;
    margin-right: calc(100% - 100vw);
    font-family: Arial, sans-serif;
    padding-top: 5px;
    padding-bottom: 6px;
    /* nav button to toggle nav hide/show */
    /* Main list of buttons */
/* nav links */ }
nav div.left {
    display: table-cell;
    color: #000000;
    margin-left: 0.5em;
    width: 10%;
    text-align: left; }
nav div.middle {
    display: table-cell;
    width: 20%;
    min-width: 32em; }
nav div.right {
    display: table-cell;
    color: #000000;
    width: 10%;
    text-align: right; }
nav div.middle > ul {
    /* selection list: centered in nav bar */
    list-style: none;
    display: inline-block;
    padding: 0;
    margin: 0 auto; }
nav div.middle > ul > li {
    /* top-level menu items */
    padding: 0 1em;
    /* margin: 0 1em; */
    display: inline-block;
    vertical-align: top;
    position: relative;
    /* necessary for absolutely-positioned boxes below 'reviewing' and 'chairing' */
/* submenus */ }
nav div.middle > ul > li span {
    /* box below 'reviewing' and 'chairing' holding current track name */
    width: 20em;
    position: absolute;
    top: calc(100% + 6px);
    /* 4px = $nav-padding-bottom - 2px.  Cannot use the SCSS variable inside 'calc'. */
    left: 50%;
    transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}
nav div.middle > ul > li span a.active {
    background-color: #4D5C7C;
    box-shadow: inset 0 5px 5px -5px #083010;
    border-radius: 0 0 3px 3px / 0 0 2px 2px;
    /* no rounding of top corners */
    border-top-width: 0px;
    padding-top: 6.1px; }
nav div.middle > ul > li div {
    margin: 0.30em -100px -0.2em -100px; }
nav div.middle > ul > li > ul {
    /* submenu box */
    background-color: #6A7590;
    position: absolute;
    display: none;
    text-align: left;
    padding: 0.3em 0.3em 0.35em 0.3em;
    margin-left: -0.3em;
    border-radius: 3px / 2px;
    box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    width: 12em; }
nav div.middle > ul > li > ul > li {
    /* submenu item */
    display: block;
    font-size: 85%;
    margin-bottom: -0.25em; }
nav div.middle > ul > li > ul > li > a {
    /* submenu item link */
    display: inline-block; }
nav div.middle > ul > li:hover > ul {
    /* show submenu upon hover over top-level menu item */
    display: block;
    background-color: #6A7590; }
nav a, nav label, nav span, nav li.confName {
    font-weight: 700 !important;
    text-transform: uppercase !important;
    
    color: #b9b9b9;
    border-radius: 3px / 2px;
    padding: 3px 7px 4px 7px;
    text-indent: -2px;
    text-decoration: none;
    overflow: hidden;
}
nav a:hover:not(label):not(span), nav label:hover:not(label):not(span), nav span:hover:not(label):not(span), nav li.confName:hover:not(label):not(span), .selected {
  color: #333333;
}

.visually-hidden {
  top: 0px;
  left: -2000px;
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden; }

.modal_close {
  border-radius: 3px;
  text-decoration: none;
  padding: 0em 0.4em;
  margin: 7px;
  position: absolute;
  top: -5px;
  right: -5px;
  display: inline-block;
  background-color: #ddd;
  color: black;
  z-index: 3; }

ul.photos {
    padding: 0px;
    width: 80vw;
    list-style-type: none;
    display: grid;
    grid-template-columns: auto auto auto auto;
    margin: auto;
    padding-top: 1em
}

ul.photos img {
    width: 18vw;
    padding: 4px;
}

ul.photos li {
    vertical-align: middle;
    text-align: center;
    width: 20vw;
    height: 15vw;
}

#lean_overlay {
    position: fixed;
    z-index: 1000;
    top: 0px;
    left: 0px;
    height:100%;
    width:100%;
    background: #000;
    display: none;
    opacity: 0.6;
}

#showPhoto {
    position: fixed;
    z-index: 2000;
    top: 0px;
    left: 0px;
    height:100%;
    width:100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

#showPhoto div#contentHolder {
}
    
#showPhoto img {
    max-width: 95vw;
    max-height: 90vh;
    margin: auto;
}

.caption {
    max-width: 95vw;
    margin: auto;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    display: block;
    text-align: center;
    background: white;
}