/* 
CSS Reset -- ARGH

   http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/*
Basic heading nav from https://codepen.io/angus/pen/gWGpOR
notes below for fixing some bugs 

Styling for heading from https://www.w3schools.com/Css/tryit.asp?filename=trycss_navbar_horizontal_dividers
*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans');

html, body {
  margin: 0;
  height: 100%;
  font-family: 'Open Sans', sans-serif;
}

* {
  box-sizing: border-box;
}


/* Logo colours.. 
Reds: 163 33 23, 142 10 3, 99 5 0
in hex: 0xA3 0x21 0x17, 0x8E 0xA  0x3, 0x63 0x5 0x0
Black: 38 38 38
in hex: 0x26 0x26 0x26
*/
.logo {
	width:800px;
	margin:0 auto 0 auto;
}
@media (max-width: 800px) {.logo {width:100%}}
.logo img {
	float: left;
	width: 75%;
	height: auto;
}

.heading {
  display: flex;
  position: sticky;
  z-index: 1;
  top: 0px; 
  width: 100%;
  height: 50px;
  padding-top: 0;
  padding-right: 1em;
  padding-bottom: 0;
  padding-left: 1em;
  font-size: 1.2em;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: #282828;
  
//  background: linear-gradient(to left, #f46b45, #eea849);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.heading a:link {color: white; text-decoration: none}
.heading a:visited {color: white; text-decoration: none}
.heading a:hover {color: white; text-decoration: none}
.heading a:active {color: #000000; text-decoration: none}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden; 
}

.menu > li {
  margin: 0 0 rem;
  padding-top: 14px;
  padding-right: 16px;
  padding-bottom: 14px;
  padding-left: 16px;
  border-right: 1px solid #bbb;
}

.menu > li:last-child {border-right: none}

/*
may or may not use .active property to highlight current page
*/
.menu li:hover:not(.active) {
  background-color: #630500;
  padding-top: 14px;
  padding-right: 16px;
  padding-bottom: 14px;
  padding-left: 16px;
    }

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {display: none}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #FFF;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}


#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

@media (max-width: 800px) {
  .menu-button-container {
    display: flex;
  }
  .menu {
    position: absolute;
    top: 0;
    margin-top: 50px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }  
  /*
  needs the visibility collapse and visible to remove clickable links from top of page
  But, this breaks the roll up transition
  */
  #menu-toggle ~ .menu li {
	visibility: collapse; 
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
	visibility: visible;
    border: 1px solid #333;
    height: 2.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: #282828;
  }
  .menu > li:not(:last-child) {
    border-bottom: 1px solid #444;
  }
}


.content {
	width:800px;
	margin:3em auto 0 auto;
	background-color: #FFF;
	min-height:1500px;
	}
@media (max-width: 800px) {.content {width:100%}}
	
.content h1 {
	padding: 2rem 0 0 1rem;
	margin: 0;
	font-size: 1.5rem;
	text-transform:uppercase;
	}
.content h2 {
	padding: 1rem 0 0 1rem;
	margin: 0;
	font-size: 1.2rem;
	/* text-transform:uppercase; */
	}
.content p {
	padding: 1rem 1rem 0 1rem;
	margin: 0;
/*	font-size: 0.9em; */
	line-height: 1.3rem;
	}

.content li {
	padding:0 0 1.2em 0;
/*	font-size: 0.9em; */
	line-height: 1.2em;
	}
.content strong {
  font-weight: bold;
	}
.content #Sponsor-logo {
	float: left;
	margin-left: 2em;
	width: 100%;
	height: auto;
}
.content #Course-pictures {
	float: left;
	width: 100%;
	height: auto;
}

.COVID {
	background-color: #DDDDDD;
	padding: 0 0 2rem 0;
}

.index-grid {
	display: grid;
	grid-gap: 1rem;
	grid-template-columns: 1.2fr 0.8fr;
	line-height: 1.3rem;
	margin: 0.4rem 0rem 1.8rem 0rem;
	}

.index-grid img {
	width: 100%;
	}
@media (max-width: 800px) {
	.index-grid {
		grid-template-columns: 1fr;
	}
	.index-grid .index-headshot{
		margin: 0 auto 0 auto;
	}
}





.tab-content {
  max-height: 0;
  padding: 0;
  color: #000;
  background: white;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
  overflow: auto;
}
input:checked ~ .tab-content {
  max-height: 100vh;
  padding: 1em 0 1em 0;
}

/*.tab-content p {
	padding: 0em 1em 1em 1em;
	margin: 0;
	line-height: 1.3em;
	}
*/

.tab-content p {
	padding: 0.5rem 0 0 0;
	line-height: 1rem;
	}
	
.tab-content td {
	padding: 0.4em 1em 0.8em 1em;
	}


.tab-content .legend table {
	width: 80%;
	margin: 0 auto 0 auto;
	}
.tab-content .legend td.first_col {
	width: 30%;
	text-align: right;
	font-weight: bold;
	}
.tab-content .legend td.second_col {
	width: 70%;
	}


.tab-content .schedule table {
	width: 100%;
	}
.tab-content .schedule tr.shaded_row {
	background: #CCC;
	}
.tab-content .schedule td.first_col {
	width: 20%;
	text-align: right;
	}
.tab-content .schedule td.second_col {
	width: 80%;
	}


.tab-content .faculty {
	display: grid;
	grid-gap: 1rem;
	grid-template-columns: 1fr 2fr 1fr;
	line-height: 1.3rem;
	margin: 0.4rem 1rem 1.8rem 1rem;
	}

/* .tab-content .faculty .name {
	float: left;
	}
.tab-content .faculty .postion {
	float: left;
	}
.tab-content .faculty .headshot {
	float: left;
	}
*/
.tab-content .faculty img {
	width: 100%;
	}
@media (max-width: 800px) {
	.tab-content .faculty {
		grid-template-columns: 1fr 2fr;
	}
	.tab-content .faculty .headshot {
		grid-column-start: span 2;
		margin: 0 auto 0 auto;
		width: 60%
	}
	.tab-content .faculty .headshot img {
		padding: 1rem 0 2rem 0;
	}
	
/*	.tab-content .faculty img {
	width: 75%;
	}
*/
}

/*
@media (max-width: 800px) {
	.tab-content .faculty td.first_col {
		width: 35%;
		}
	.tab-content .faculty td.second_col {
		width: 65%;
		}
	.tab-content .faculty td.third_col {
		display: none;
		}
	.tab-content .faculty img.narrow {
		display: flex;
		width: 100%;
		}
}
*/


 /*
Style the buttons that are used to open and close the accordion panel
from this tutorial:
https://codepen.io/raubaca/pen/PZzpVe 
*/

input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
/*
.row {
  display: -webkit-box;
  display: flex;
}
.row .col {
  -webkit-box-flex: 1;
          flex: 1;
}
.row .col:last-child {
  margin-left: 1em;
}
*/

/* Accordion styles */
.tabs {
  border-radius: 4px; 
  overflow: hidden;
/*  box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5); */
}

.tab {
  width: 100%;
  color: white;
  overflow: hidden;
}
.tab-label {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
          justify-content: space-between;
  padding: 1rem;
  background: #282828;
  font-weight: bold;
  cursor: pointer;
  /* Icon */
}
.tab-label:hover {
  background: #282828;
}
.tab-label::after {
  content: "\276F";
  width: 1rem;
  height: 1rem;
  text-align: center;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}

input:checked + .tab-label {
  background: #282828;
}
input:checked + .tab-label::after {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}




