body {
	background-color: #efefef;
  h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    margin-bottom: 0.8em;
  }
}

.trello {
  width: 100%;
}

.kaltura_frame {
  p {
    margin-top: 10px;
    margin-left: 3px;
  }
  width: 100%;
}

.prompt {
  padding: 15px;
  background-color: $secondary;
  border-radius: 25px;
  margin-bottom: 10px;
  color: white;
  h3 {
    margin-top: 0;
    margin-bottom: 10px;
  }
  a:hover {
    color: white;
  }
}

.reading, .reading-grad {
  padding: 15px;
  background-color: $primary;
  border-radius: 25px;
  margin-bottom: 10px;

  h3 {
    margin-top: 0;
    margin-bottom: 10px;
  }

  p {
    margin: 0;
  }

  p.section {
    margin-left: 5px;
  }
}

.slides-link {
  padding: 15px;
  color: $gray-light;
  background-color: $secondary;
  border-radius: 10px;
  margin-bottom: 10px;

  h3 {
    margin-top: 0;
    margin-bottom: 10px;
  }

  p {
    margin: 0;
  }

  p.section {
    margin-left: 5px;
  }
}

.discord {
  p {
    margin-top: 10px;
  }
}

@include media-breakpoint-up(md) {
  .navbar {
    line-height: 3;
  }
}

.navbar {
  a, .nav-link, button {
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
  }
}

.nav-item.active, .nav-item:hover {
  background-color: #375980;
	transition: all 0.3s linear;
}

.nav-link{
  padding-left: 1em !important;
  padding-right: 1em !important;
}

.jumbotron {
	background:
    url('../#{$jumbotron-image}') center/$jumbotron-image-size;
	color: $white;
  text-shadow: 5px 5px 10px $gray-darker;

	a {
		color: #fcfcfc;
		border-bottom: 1px dotted;
		text-decoration: none;
		transition: all 0.3s linear;
	}
	a:hover, a:focus {
		border-bottom: none;
		text-decoration: none;
	}

}

.jumbotron header h1 {
	font-family: $font-family-sans-serif;
	font-size: 4em;
}

.content {
  margin-top: 1em;
	line-height: 1.2;
}

.content img {
    max-width: 100%;
}

blockquote {
  padding: 1.2em;
  margin: 0;
  border: 0;
  background: #DFF7F4;
  font-style: normal;
  font-size: inherit;
  border-left: 7px solid $p2pu-light-blue;
}

pre {
  border-left: 7px solid $gray-light;
  padding: 1em;
  background-color: $gray-lighter;
  line-height: 1.2;
}

code {
  background-color: $gray-lighter;
}

section {
	margin: 3em 0;
	font-size: large;
	line-height: 1.8;
}

.sidebar {
	background-color: #002855;
  font-size: 15px;
  padding-bottom: 10px;
}

.sidebar-toc {
  padding-top: 1em;
	background-color: #002855;
  font-size: 15px;
  padding-bottom: 10px;

  ul {
    font-size: large;
    list-style-type: none;
  }

  a:hover, a:focus {
		text-decoration: none;
		color: $white;
	}
}

.sidebar ul {
	list-style-type: none;
	padding: 0;
}

.sidebar li {
	position: relative;
	@include transition(color, 0.3s, linear);
}

.sidebar li:hover {
	background-color: cadetblue;

	a:hover, a:focus {
		text-decoration: none;
		color: $white;
	}
  .pagination-section {
    margin: 1em 0;
  }
}

.sidebar li.active {
	background-color: #375980;;
}

.sidebar li.active a:hover {
	color: cadetblue;
}

.sidebar a:hover {
	color: cadetblue;
}

.sidebar li a {
	display: block;
  padding: 0.8em 0.5em;
	text-transform: uppercase;
  @include transition(color, 0.3s, linear);
  color: $primary;
}

.pagination-section .title {
	color: $gray;
	line-height: 2;
}

.pagination-section {
	.next, .prev {
		text-transform: uppercase;
	}
}

.pagination-section .next:after {
	content: "\f0da";
	font-family: FontAwesome;
}

.pagination-section .prev:before {
	content: "\f0d9";
	font-family: FontAwesome;
}


@include media-breakpoint-up(md) {
  .sidebar {
	  padding: 60px 0;
  }

  .sidebar li {
	  padding-left: 60px;
  }

  .sidebar li:before {
    content: "";
    border-left: 3px solid #aab0bf;
    position: absolute;
    left: 40px;
    height: 100%;
    top: 0;
  }

  .sidebar li.first:before {
    height: 50%;
    top: 50%;
  }

  .sidebar li.last:before {
    height: 50%;
    top: 0;
  }

  .sidebar li.first.last:before {
    height: 0;
    top: 0;
  }

  .sidebar li a {
    padding: 1.2em 0;
  }

  .sidebar li a:before {
    content: "\f005";
    font-family: FontAwesome;
    color: cadetblue;
    position: absolute;
    left: 29px;
    line-height: 1.7;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 3px solid $gray;
    top: 18px;
    background-color: white;
    text-align: center;
    font-size: 0.8em;
  }

  .sidebar li.active a:before {
    content: "\f04b";
  }

  .sidebar li a:after {
    content: "";
  }

  .sidebar .pagination-section {
    padding-left: 60px;
  }

}

#ghUsername-box {
	position: relative;
	background: $gray-lighter;
	padding: 10px 20px;

	.ghUsername-set {
		@extend .h2;
		padding: 7px 15px;
		display: block;
		margin: 0;

		&:hover {
			text-decoration: none;
		}

	}
	.label {
		position: absolute;
		top: 0;
		right: 0;
    padding: 0 5px;
    background-color: $gray-darker;
    color: white;
    font-size: 12pt;
    font-style: italic;
	}
}

.gh-username-set {
	input {
		padding: 4px;
	}
	button {
		margin-top: -5px;
	}
}

footer {
  padding: 2em 0;
  background-color: $gray-dark;
  color: $gray-lighter;
  text-align: center;
  font-size: 12pt;
  a {
    color: #FCFCFC;
    border-bottom: 1px dotted;
    text-decoration: none;
    transition: all 0.3s linear;
  }
  a:hover {
    border: none;
    color: #FCFCFC;
    text-decoration: none;
    transition: all 0.3s linear;
  }
}

.content {
 a {
   font-weight: bold;
 }
}
