/**
 * 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;
}

hr {
  border: 0;
  height: 1px;
  background: #333;
  background-image: linear-gradient(to right, #ccc, #333, #ccc);
}

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

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

/**
 * 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; }

/**
 * Shifting scrolling to section to account for header
 */
section {
  scroll-margin-top: 60px; }

/**
 * 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: #187bcd;
  color: white; }

.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus {
  background-color: #187bcd;
  /*color: #d7e5f0;*/
  color: #10a5f5; }

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

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  color: #10a5f5;
  /*color: #e44f00;*/ }

.navbar-right {
  background-color: #187bcd; }

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

/* added to change dropdown menu hover background color */
.dropdown-menu > li > a:hover {
  background-image: none;
  background-color: #d7e5f0;
}

/* added to change dropdown menu active background color */
  .dropdown-menu > .active > a {
  background-color: #187bcd;
}

#pagenav {
  background-color: #187bcd;
}

.indent::before {
  content: "\00a0\00a0\00a0\21A6\00a0";
}

/*
   ***************************
   * CSE 333 SPECIFIC STYLES *
   ***************************
 */

/* Color Scheme:

#fe8a71 - Lectures BG (Reddish)
#3d0b00 - Lectures FG

#f6cd61 - Sections BG (Yellow)
#231a02 - Sections FG

#3da4ab - Exercises BG (Blue)
#102c2e - Exercises FG

#2ecc71 - Homeworks BG (Green)
#0c341d - Homeworks FG
  color: #e44f00;
*/

.afterh {
    margin-top: 10px;
}

.aftersec {
    margin-top: 20px;
}

.update {
	color: red;
}

a, a.list-group-item {
  //color: #10a5f5;
  color: #0c71e0;
  text-decoration: none;
}

a:focus, a:active, a:hover, a.list-group-item:hover {
  color: #b81c00;
  text-decoration: underline;
}

.btn-default:hover {
  color: #b81c00;
}

.navbar-brand {
  /* font-family: 'Montserrat', sans-serif; */
  font-size: 1.3em;
}

h2 {
  margin-top: 20px;
}

.cse333-navbar {
  border-width: 0;

  padding-bottom: 5px;
  background: rgb(217,56,0);
  /* background: linear-gradient(90deg, rgba(217,56,0,1) 0%, rgba(254,131,0,1) 100%); */
  background: linear-gradient(90deg, #f16704 0%, #f3ce39 100%);
}

table.table>tbody>tr>td {
  vertical-align: middle;
}

.cse333-navbar-content {
  background: #424242;
}

.label-date {
  margin-right: 10px;
}

.announcement > .label-date {
  font-size: 0.9em;
}

.label-lec {
  background: #003366;
}

.label-sec {
  background: #187bcd;
}

.label-exam {
  background: #f16704;
}

.label-holiday {
  background: #00cc99;
}

div.button-bar h4 {
  display: inline-block;
  margin-top: 0px;
  float: none;
  width: 50px;
  text-align: left;
}

.staff-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.staff-profile.panel {
  margin: 2px;
  width: 180px;
  height: 200px;
  text-align: center;
}

.staff-profile.panel h4 {
  font-size: 1.1em;
  margin-top: 5px;
  margin-bottom: 2px;
}

.staff-profile.panel h5 {
  font-size: 1em;
  margin-top: 0;
  margin-bottom: 2px;
}

.staff-profile.panel h5.staff-profile-extra {
  margin-top: 10px;
}

.staff-image {
  width: 80px;
  height: 80px;
}

.link-button {
  font-size: 0.9em;
  padding-left: 10px;
  padding-top: 1px;
  padding-bottom: 1px;
/*  color: #e44f00; */
  //color: #10a5f5;
  color: #0c71e0;
}

.link-icon {
  transform: scale(0.8) translateX(-5px);
  -webkit-transform: scale(0.8) translateX(-5px)
}

.sched-header {
  font-weight: bold;
  padding: 5px;
  display: none;
}

@media (min-width: 768px) {
  .sched-header {
    display: block;
  }
}

.sched-header > div {
  border-bottom: 2px solid #aaa;
}

.sched-header h4 {
  margin: 0;
  padding: 8px;
}

.sched-day {
  margin-bottom: 3px;
  padding: 10px;
}

.sched-day a {
  color: #df4516;
}

.sched-day.lec, .sched-day.exam, .sched-day.holiday {
  background-color: #e6ecef;
}

.sched-day.sec {
  background-color: #f0f3f5;
}

.sched-week {
  margin-bottom: 20px;
}

.sched-week-title {
  margin-top: 8px;
}

.sched-topic-title {
  font-weight: bold;
  font-size: 1.1em;
  line-height: 1.1em;
}

.sched-topic-title-holiday {
  font-style: italic;
  font-size: 1.1em;
  line-height: 1.1em;
}

.sched-topic-materials {
  margin-top: 10px;
  margin-left: 25px;
}

.sched-material-link img {
  margin-right: 5px;
}

.fc-event-container {
  overflow: wrap;
}

.fc-content {
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
}

.fc-exercise-unused {
  color: transparent;
}

.fc-title {
  font-weight: bold;
  font-size: 1em;
  height: 1.2em;
}

.fc-description {
  font-size: 0.8em;
  line-height: 0.8em;
  height: 1em;
}

.fc-location {
  margin-top: auto;
  font-size: 0.8em;
  line-height: 0.8em;
  height: 1em;
  text-align: right;
}

.fc-content-agenda-week {
  height: 100%;
}

.fc-content-agenda-week .fc-location {
  font-size: 0.7em;
}

.fc-content-agenda-week .fc-time {
  font-size: 0.8em;
}

.fc-content-agenda-week .fc-title {
  font-size: 0.8em;
}

.fc-content-exercise {
  height: 12px;
}

.red-text {
  color: red;
  font-weight: bold;
}

.panel-heading h3 {
  margin: 0;
}

.announcement-list-group {
  margin-left: 0;
}

.practice-exam {
  display: inline-block;
  font-weight: bold;
  min-width: 120px;
}

.practice-exam::after {
  content: ":"
}

.announcement-collapse-toggle .show-text {
  display: none;
}

.announcement-collapse-toggle .hide-text {
  display: inline;
}

.announcement-collapse-toggle.collapsed .show-text {
  display: inline;
}

.announcement-collapse-toggle.collapsed .hide-text {
  display: none;
}

/* 
 * 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;
}

/* 
 * Used to hide the staff bios when we include them
 */
.staff-blurb-title, .staff-blurb-content {
    display: none;
}

/* 
 * 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;
  }
}*/

/* The following are used on certain pages for row headers */
.rowhead {
    font-weight: bold;
    display: inline-block;
	min-width: 100px;
}

.rowhead:after {
    display: inline-block;
    content: ":"
}
