/*



*/

/* ===========================================================================
 * Index:
 *  - Variables
 *  - Base
 *  - App Structure / Layout
 *  - Utils
 *  - Style Guide
 *  - Reviews
 *  - AdSense
 * ======================================================================== */
/* ===========================================================================
 * Variables
 * ======================================================================== */
/* Colors */
/* Fonts */
/* Spacing */
/* ===========================================================================
 * Base
 * ======================================================================== */
html {
  background-color: #e1e3eb; }

body {
  text-align: left;
  font-size: 14px;
  font-family: Helvetica, sans-serif;
  color: black;
  min-width: 928px;
  margin: 0; }

div, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, legend, input,
textarea, p, blockquote, th, td {
  margin: 0;
  padding: 0; }

ol, ol li {
  list-style-type: decimal;
  list-style-position: inside; }

li {
  list-style: none; }

strong {
  font-weight: bold; }

em {
  font-style: italic; }

a {
  color: #101a46;
  font-weight: bold;
  text-decoration: none; }
  a:hover {
    text-decoration: underline; }

table {
  border-spacing: 0;
  width: 100%; }
  table th {
    font-weight: bold;
    font-size: 1.2em;
    padding-right: 1em; }
  table td {
    padding: 3px;
    padding-right: 20px; }
  table.striped tr:nth-child(even), table .even {
    background: #f2f2f2; }
  table.striped tr:nth-child(odd), table .odd {
    background: #fff; }
  table #table-name {
    width: 200px; }
  table .search_heading {
    padding: 5px; }

p {
  line-height: 1.4em; }
  p:not(:last-child) {
    margin-bottom: 20px; }

h1 {
  font-size: 2.5em;
  margin-bottom: 10px; }

h2 {
  font-size: 2em;
  margin-bottom: 10px; }

h3 {
  font-size: 1.6em;
  margin-bottom: 7px; }

h4 {
  font-size: 1.2em;
  margin-bottom: 7px; }

/* ===========================================================================
 * App Structure / Layout
 * ======================================================================== */
.leftcolumn {
  float: left;
  width: 30%;
  min-width: 186px;
  margin-bottom: 20px; }

.rightcolumn {
  float: right;
  width: 68%;
  min-width: 421px;
  margin-bottom: 20px; }

footer {
  background: #101a46;
  color: white;
  text-align: center;
  font-weight: 400;
  font-size: 1em;
  padding: 20px; }
  footer .stats {
    margin-bottom: 10px; }
  footer p {
    margin-bottom: 0 !important; }

#sidebar {
  width: 180px;
  padding: 0;
  float: left; }
  #sidebar div.box {
    padding: 0; }
  #sidebar div.box.department-list {
    padding-top: 1px;
    padding-bottom: 1px; }
  #sidebar a {
    text-decoration: none; }
  #sidebar ul {
    margin: 20px 0; }
    #sidebar ul li a {
      text-transform: capitalize;
      padding: 3px;
      padding-left: 20px;
      display: block;
      font-weight: bold;
      color: #555566; }
      #sidebar ul li a:hover {
        background: #e1e3eb;
        border-left: 1px solid #d1d3db;
        border-right: 1px solid #d1d3db;
        margin-left: -1px; }
    #sidebar ul li.indented a, #sidebar ul li.indented span.selected {
      padding-left: 25px; }

#body {
  min-height: 20px;
  padding-top: 1px;
  max-width: 928px;
  margin-left: auto;
  margin-right: auto; }

#content {
  margin-left: 200px;
  margin-top: 20px; }

.box, .pagination {
  background: white;
  min-height: 20px;
  padding: 20px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  position: relative; }
  .box:last-child, .pagination:last-child {
    margin-bottom: 20px; }

.pagination {
  padding-top: 12px; }
  .pagination a {
    padding: 6px;
    background: #e1e3eb; }
  .pagination .current {
    padding: 6px;
    font-weight: bold;
    color: #777; }
  .pagination .disabled {
    display: none; }

#header {
  background-color: #101a46; }
  #header nav {
    max-width: 928px;
    margin: 0px auto;
    padding: 0px;
    height: 50px;
    position: relative; }
    #header nav a {
      text-decoration: none; }
    #header nav .logo-wrapper {
      padding: 0px;
      display: inline-block;
      bottom: 8.5px;
      position: absolute; }
      #header nav .logo-wrapper #logo {
        height: 33px; }
    #header nav .right {
      display: inline-block;
      bottom: 8.5px;
      position: absolute;
      right: 0; }
      #header nav .right .inner {
        bottom: 8.5px; }
    #header nav form {
      margin: 0;
      padding: 0;
      display: inline-block;
      font-size: 1.25em; }
    #header nav ul {
      margin: 0;
      padding: 0;
      list-style-type: none;
      text-align: center;
      display: inline-block;
      vertical-align: bottom; }
      #header nav ul li {
        display: inline-block;
        margin-top: 2px;
        padding: 0 5px;
        font-size: 1.25em;
        text-decoration: none;
        vertical-align: bottom;
        color: white;
        background-color: #101a46; }
        #header nav ul li:hover {
          text-decoration: none;
          background-color: #2a3446; }

/* ===========================================================================
 * Utils
 * ======================================================================== */
.date {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: .9em;
  color: #555566; }

.course_number {
  font-family: monospace;
  color: #2c6cd4;
  font-size: .9em;
  font-weight: bold; }

p.question {
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px; }

p.error {
  background: #a00;
  padding: 5px;
  font-weight: bold;
  color: #fff; }

p.notice {
  background: #5a0;
  padding: 5px;
  font-weight: bold;
  color: #fff; }

.errorExplanation {
  background: #fbb;
  padding: 10px;
  color: #400; }
  .errorExplanation ul {
    padding-left: 2em;
    list-style-type: disc; }
  .errorExplanation li {
    list-style-type: disc;
    margin-bottom: .5em;
    font-weight: bold; }

.recently_reviewed {
  margin-left: 3px; }

.start_hidden {
  display: none; }

h1 .nugget {
  vertical-align: top;
  margin-left: 5px; }

blockquote.profquote {
  font-size: 1.8em;
  font-weight: normal;
  background: #eee;
  padding: 20px;
  margin-bottom: 10px; }

.quoteimg {
  margin-right: .2em; }
  .quoteimg.left {
    vertical-align: top; }
  .quoteimg.right {
    vertical-align: bottom; }

.department .box {
  max-width: 100%; }
.department .courses a {
  font-weight: normal; }
.department ul {
  margin-top: 20px;
  line-height: 1.6em; }
  .department ul:not(:last-of-type) {
    margin-bottom: 20px; }

.course.core ul {
  line-height: 1.6em; }

.announcement {
  position: relative; }
  .announcement h3 {
    margin-top: 1.3em; }
  .announcement .announcement-title {
    width: 80%; }
  .announcement img {
    margin: .5em; }

/* ===========================================================================
 * Style Guide
 * ======================================================================== */
.style_guide {
  margin-left: 20px; }
  .style_guide h2 {
    font-size: 1.5em;
    margin-bottom: 1px; }
  .style_guide h3 {
    font-size: 1.1em;
    margin-bottom: 1px;
    font-weight: bold; }
  .style_guide h5 {
    font-size: 0.9em;
    font-weight: bold;
    color: #f00; }
  .style_guide p {
    margin-bottom: 1em;
    margin-top: 1em; }
  .style_guide blockquote {
    line-height: 15pt;
    position: relative;
    padding: 8px;
    font-size: 0.9em;
    border: 1px;
    border-color: #8D8D8D;
    border-style: solid;
    width: 66%;
    background: #EEEEEE;
    margin-left: 40px;
    margin-top: 20px;
    margin-bottom: 20px; }
    .style_guide blockquote cite {
      color: red;
      display: block; }

/* ===========================================================================
 * Reviews
 * ======================================================================== */
#write-review {
  color: white;
  font-size: 1.75em;
  padding: 10px 3px;
  background: #101a46; }
  #write-review:hover {
    background: #2a3446; }

.review_this {
  float: right;
  margin-left: 1em; }
  .review_this a {
    padding: 2px 5px;
    margin: 2px;
    position: relative;
    vertical-align: top; }
    .review_this a:hover {
      text-decoration: none; }
    .review_this a.comment_link {
      background: #ddf; }
      .review_this a.comment_link:hover {
        background: #eef; }
    .review_this a.review_link, .review_this a.quote_link {
      background: #be7; }
      .review_this a.review_link:hover, .review_this a.quote_link:hover {
        background: #dfa; }

.review .date {
  float: right;
  margin-bottom: 0; }
.review .review_content {
  background: #eee;
  padding: 20px;
  margin-bottom: 10px; }
.review .old_warning {
  font-weight: bold;
  color: #C08E3F; }
.review .subject {
  margin-bottom: 10px !important; }
.review .extra .links {
  float: left; }
.review .votes {
  float: right; }
  .review .votes .button_to {
    display: inline; }
    .review .votes .button_to div {
      display: inline; }
    .review .votes .button_to input {
      cursor: pointer;
      line-height: normal;
      white-space: nowrap;
      vertical-align: baseline;
      text-align: center; }
.review.old .review_content {
  background: #FFBD74; }
.review.unapproved .review_content {
  background: #faa; }

#new_review {
  overflow: hidden; }
  #new_review .clearfix:after {
    content: " ";
    /* Older browser do not support empty content */
    visibility: hidden;
    display: block;
    height: 0;
    clear: both; }
  #new_review .professors, #new_review .courses {
    width: 50%;
    display: inline-block;
    float: left; }
  #new_review li {
    padding-right: 20px;
    padding-left: 1px; }
  #new_review form {
    width: 100%; }
    #new_review form textarea {
      width: 100%;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box; }
  #new_review .dropdown li {
    padding: 0px; }
  #new_review .dropdown a {
    color: #101a46;
    padding-left: 20px; }
  #new_review .dropdown .info {
    background-color: #e1e3eb;
    padding: 3px 20px; }
    #new_review .dropdown .info a {
      display: inline;
      padding: 0 2px; }
      #new_review .dropdown .info a:hover {
        background-color: inherit;
        text-decoration: underline; }

/* ===========================================================================
 * AdSense
 * ======================================================================== */
.vertical_ad {
  text-align: center;
  margin-top: 40px; }

.horizontal_ad {
  width: 728px;
  margin: 20px 0px; }

.brl_ad {
  background: white;
  height: 170px;
  padding-top: 15px; }
  .brl_ad:hover {
    cursor: pointer; }
  .brl_ad p {
    margin: 0 20px; }
    .brl_ad p span.blue {
      color: #2c6cd4; }
  .brl_ad p.ad-marker {
    float: right;
    margin-top: -5px;
    font-size: .9em;
    color: #555566; }
  .brl_ad > p.tagline {
    padding-top: 20px;
    padding-bottom: 25px; }
  .brl_ad div {
    float: left;
    width: 320px;
    height: 90px; }
    .brl_ad div img {
      margin-top: 20px;
      margin-left: 20px; }

.nostyle {
  color: inherit;
  text-decoration: none;
  font-weight: 400; }
  .nostyle:hover {
    color: inherit;
    text-decoration: none; }
.dropdown {
	position: absolute;
	z-index: 9999999;
	display: none;
}

.dropdown .dropdown-menu,
.dropdown .dropdown-panel {
	min-width: 160px;
	max-width: 360px;
	list-style: none;
	background: #FFF;
	border: solid 1px #DDD;
	border: solid 1px rgba(0, 0, 0, .2);
	border-radius: 6px;
	box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
	overflow: visible;
	padding: 4px 0;
	margin: 0;
}

.dropdown .dropdown-panel {
	padding: 10px;
}

.dropdown.dropdown-tip {
	margin-top: 8px;
}

.dropdown.dropdown-tip:before {
  position: absolute;
  top: -6px;
  left: 9px;
  content: '';
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #CCC;
  border-bottom-color: rgba(0, 0, 0, 0.2);
  display: inline-block;
}

.dropdown.dropdown-tip.dropdown-anchor-right:before {
	left: auto;
	right: 9px;
}

.dropdown.dropdown-tip:after {
  position: absolute;
  top: -5px;
  left: 10px;
  content: '';
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #FFF;
  display: inline-block;
}

.dropdown.dropdown-tip.dropdown-anchor-right:after {
	left: auto;
	right: 10px;
}


.dropdown.dropdown-scroll .dropdown-menu,
.dropdown.dropdown-scroll .dropdown-panel {
	max-height: 358px;
	overflow: auto;
}

.dropdown .dropdown-menu LI {
	list-style: none;
	padding: 0 0;
	margin: 0;
	line-height: 18px;
}

.dropdown .dropdown-menu LI > A,
.dropdown .dropdown-menu LABEL {
	display: block;
	color: #555;
	text-decoration: none;
	line-height: 18px;
	padding: 3px 15px;
	white-space: nowrap;
}

.dropdown .dropdown-menu LI > A:hover,
.dropdown .dropdown-menu LABEL:hover {
	background-color: #08C;
	color: #FFF;
	cursor: pointer;
}

.dropdown .dropdown-menu .dropdown-divider {
	font-size: 1px;
	border-top: solid 1px #E5E5E5;
	padding: 0;
	margin: 5px 0;
}

/* Icon Examples - icons courtesy of http://p.yusukekamiyamane.com/ */
.dropdown.has-icons LI > A {
	padding-left: 30px;
	background-position: 8px center;
	background-repeat: no-repeat;
}

.dropdown .undo A { background-image: url(icons/arrow-curve-180-left.png); }
.dropdown .redo A { background-image: url(icons/arrow-curve.png); }
.dropdown .cut A { background-image: url(icons/scissors.png); }
.dropdown .copy A { background-image: url(icons/document-copy.png); }
.dropdown .paste A { background-image: url(icons/clipboard.png); }
.dropdown .delete A { background-image: url(icons/cross-script.png); }
