
/* colors from MI websites are #006666 and #148181 */

/*html {
	height: 100%;
}*/

* {
    box-sizing: border-box;
} 

p {
    text-align: justify;
}

a {
	text-align: left;
}

body {
    margin: 0;
    background-color: #EEEEEE;
    font-family: Helvetica, sans-serif;
    /*height: 100%;*/
}

#navbar-wrapper {
    background-color: #006666;
    text-align: center;
}

#navbar, #subnavbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    row-gap: 6px;
    text-align: center;
}

.navbar-item, .subnavbar-item {
    color: white;
    font-size: clamp(12pt,2vw,14pt);
    padding-top: 1vw;
    padding-bottom: 1vw;
    text-align: center;
}

.navbar-item {
    background-color: #006666;
    padding-left: max(10px,1vw);
    padding-right: max(10px,1vw);
}

.navbar-item.active {
    background-color: #148181;
    text-decoration: underline;
}

.navbar-item a {
    color: inherit;
    text-decoration: inherit;
    font-size: inherit;
    text-align: inherit;
}

.navbar-item:hover a {
    text-decoration: underline;
}

#subnavbar-wrapper {
    background-color: #148181;
    text-align: center;
}

.subnavbar-item {
    background-color: #148181;
    padding-left: max(10px,1.5vw);
    padding-right: max(10px,1.5vw);
}

.navbar-item a, .subnavbar-item a {
    color: inherit;
    text-decoration: inherit;
    font-size: inherit;
    text-align: inherit;
}

.subnavbar-item.active {
    background-color: #006666;
    text-decoration: underline;
}

.navbar-item:hover a, .subnavbar-item:hover a {
    text-decoration: underline;
}

#content-wrapper {
    max-width: 960px;
    margin: auto;
    background-color: white;
    /*height: 100%; */
}

img {
    display: block;
}

#content {
    background-color: white;
    overflow: auto;
    padding: 20px 25px;
    /*height: 100%;*/
}

ul {
    margin: 1.5em 0;
    padding-left: 0;
}

li {
    margin: 1em 0;
    list-style: none;
    padding-left: 1.5em;
    position: relative;
}

li::before {
    content: "▶";
    color: #006666;
    font-size: 0.8em;
    position: absolute;
    left: 0;
    top: 0;
}

#footer-wrapper {
  display: flex;
  justify-content: space-between;
  max-width: 960px;
  margin: auto;
  padding: 30px 10px;
}

footer h3, p {
  margin-top: 0;
}

.sponsor-logos {
  display: grid;  
  grid-template-columns: repeat(2, auto);
  justify-items: center;
}

.sponsor-logos a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.sponsor-logos a:nth-child(2) {
  background-color: white;
}

.sponsor-logos a:nth-child(3) {
  background-color: white;
}

footer img {
  height: 60px;
}

@media (max-width: 600px) {
  footer #footer-wrapper {
    flex-direction: column;
  }
  .sponsor-logos {
  	display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .sponsor-logos a {
    width: auto;
  }
}

table {
	width: 100%;
}

td {
padding: 5px 0px 5px 0px;
}

.pc-table {
	padding: 0 1vw;
	width: auto;
}

.pc-table th, .pc-table td {
  padding: 5px 1vw;
  text-align: left;
}

.schedule-table tr{
 background-color: #006666;
 color: white; 
}

.schedule-table th, .schedule-table td{
	padding: 20px 10px;	
	text-align: left;
}

.schedule-table tr:nth-child(even){
	background-color: #148181;
}

.fees-table th {
  background-color: #006666; /* header row */
  color: white;
  padding: 15px 10px;
  text-align: left;
}

.fees-table{
	margin-bottom: 1.5em;
}

.fees-table td {
  padding: 10px 10px;
  text-align: left;
  white-space: normal; /* allow wrapping */
  background-color: #148181; /* base row color */
  color: white;
}

.fees-table col:nth-child(1) { width: 5%; }   /* Label */
.fees-table col:nth-child(2) { width: 25%; }   /* Date */
.fees-table col:nth-child(3) { width: 35%; } /* Prices span */

.fees-table tr.spacer td {
  height: 5px; /* acts like margin */
  padding: 0;
  background: white;
  border: none;
}

 .mapdiv {
  margin-top: 10px;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: min(350px,100%);
}

.responsive-iframe {
  border: 1px solid black;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.speakers-container {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.speaker-box {
  flex: 1;
  background-color: #006666;
  color: white;
  padding: 20px;
  text-align: center;
  line-height: 1.5;
  border-radius: 5px;
}

@media (max-width: 600px) {
  .speakers-container {
    flex-direction: column;
  }
}

a.register-button {
	font-size: 14pt;
	display: block;
	width: max-content;
	margin: 0 auto;
    padding: 5px 15px;
    border: 1px outset buttonborder;
    border-radius: 5px;
    color: buttontext;
    background-color: buttonface;
    text-decoration: none;
}

a.register-button:hover {
    background-color: #006666;
    color: white;
}

details {
	background-color:#F5F5F5;
	margin-bottom: 10px;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 5px;
}

summary {
background-color: #148181;
color: white;
margin-left: -20px;
margin-right: -20px;
padding: 10px;
cursor: pointer;
}
