/**
 * Reset some basic elements
 */
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
padding: 0; }

/**
 * Basic styling
 */
body {
  font: 300 16px/1.5 "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #111;
  background-color: #fdfdfd;
  -webkit-text-size-adjust: 100%;
  -webkit-font-feature-settings: "kern" 1;
  -moz-font-feature-settings: "kern" 1;
  -o-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  padding-top: 20px;
}

/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
.highlight {
  margin-bottom: 15px; 
}

h1 {
  font-size: 20pt;
}

h2 {
  font-size: 16pt;
}

h3 {
  font-size: 14pt;
}

/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle;
}

a {
  color: #4b2e83;
}

.medium-img {
  max-width: 400px;
  text-align: center;
}

/**
 * Figures
 */
figure > img {
display: block; }

figcaption {
font-size: 14px; }

/**
 * Lists
 */
ul, ol {
margin-left: 30px; }

li > ul,
li > ol {
margin-bottom: 0; }

/**
 * Headings
 */
h5, h6 {
font-weight: 300; }

h1, h2, h3, h4 {
font-weight: 600; }

/**
 * Links
 */
a {
  color: #2a7ae2;
text-decoration: none; }
a:visited {
color: #1756a9; }
a:hover {
  color: #111;
text-decoration: underline; }

/**
 * Blockquotes
 */
blockquote {
  color: #828282;
  border-left: 4px solid #e8e8e8;
  padding-left: 15px;
  font-size: 18px;
  letter-spacing: -1px;
font-style: italic; }
blockquote > :last-child {
margin-bottom: 0; }

/**
 * Code formatting
 */
pre, code {
  font-family: "Inconsolata", monospace;
  font-size: 100%;
  background-color: #f7f7f9;
}

code {
padding: 1px 5px; }

pre {
  padding: 8px 12px;
overflow-x: auto; }

pre > code {
  border: 0;
  padding-right: 0;
padding-left: 0; }


/**
 * Site header
 */
.site-header {
  border-top: 5px solid #424242;
  border-bottom: 1px solid #e8e8e8;
  min-height: 56px;
position: relative; }

/**
 * Site footer
 */
.site-footer {
  border-top: 1px solid #e8e8e8;
  margin: 20px 20px 50px 20px;
padding: 30px 0; }

.cse-wordmark {
  width:260px;
  float:left;
}

.site-footer-right{
  float:right;
}

.site-header {
border-bottom-style: none; }

.site-footer {
  padding: 10px 0;
}

/* Top Navigation Bar */

.navbar-inverse .navbar-brand {
  background-color: #4b2e83;
color: white; }

.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus {
background-color: #4b2e83; }

.navbar-inverse .navbar-nav > li > a {
color: white; }

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
color: #b7a57a; }

.navbar-right {
background-color: #4b2e83; }

.navbar-inverse .navbar-right > li > a:hover,
.navbar-inverse .navbar-right > li > a:focus {
color: white; }

/* Floating Navigation Box */

.nav-box {
  border: 1px solid #ccc;
  background-color: #eee;
  float: right;
  width: 15em;
  margin: 0px 20px 0px 20px
}

.nav-box ul {
  list-style: none;
  margin: 0px 10px 10px 20px;
}

.nav-box-header {
  font-weight: bold;
  margin: 10px 10px 0px 10px;
}

.container section {
  margin-bottom: 15px;
}

section p {
  margin-bottom: 0;
}

section p + p {
  margin-top: 10px;
}

.space-below {
  margin-bottom: 10px;
}

div.staff {
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  vertical-align: top;
  margin-right: 15px;
}

.staff-row .staff {
  margin-bottom: 15px;
  width: 45%;
}

.staff div {
  margin-left: auto;
  margin-right: auto;
  width: 100px;
  height: 100px;
  overflow: hidden;
}

.staff > div {
  display: flex;
  align-items: center;
}

.staff a {
  font-size: 11pt;
}

.instructors > div {
  width: 30%;
  flex-direction: row;
}

.instructors .info {
  margin-left: 0;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: auto;
}

.instructors .info p {
  margin-bottom: 0;
}

.instructors .staff > div:first-child {
  margin-left: 0;
  margin-right: 10px;
}

.staff .name {
  margin-top: 5px;
  line-height: 1.1em;
  margin-bottom: 1px;
}

.staff .name a {
  color: #4b2e83;
}

.staff i {
  color: #2e2e2e;
  margin-left: 4px;
}

p.hw-button-links .turnin {
  margin-left: 5px;
}

.no-bullets {
  list-style: none;
}

.centered-note {
  text-align: center;
  font-style: italic;
  font-size: 14pt;
}

#schedule td, #schedule th {
  padding-left: 8px;
  padding-right: 8px;
}

#schedule td {
  border: 2px solid black;
  vertical-align: top;
}

#schedule th {
  background-color: #4b2e83;
  color: white;
  font-weight: normal;
}

#schedule tr td {
  width: 28%;
}

#schedule tr td:first-child {
  width: 16%;
}

td ul {
  margin: 8px 8px 8px 20px;
}

/*
 * Use this as needed to adjust the spacing between the menu items across the top.
 * To avoid wrapping, the menus and course title should fit within 768 pixels.
 */
/*.nav>li>a {
padding-left: 10px;
padding-right: 10px;
}*/


/*
 * If the course title is long, uncomment and adjust the max-width to make it behave on a very narrow
 * display (such as a phone display) without wrapping.
 */
/*@media screen and (max-width: 400px) {
.navbar-brand {
width: calc(100% - 70px);
overflow:hidden;
white-space: nowrap;
}
}*/
