  body {
  font-family: Helvetica,Arial,sans-serif;
  background: #E7E7E8;
  background: hsl(255, 6%, 97%);
  font-size: 16px;
  line-height: 1.3;
  max-width: 825px;
  margin: 103px auto 0;
  position: relative;
}
p {
  margin-top: 0;
}
select {
  padding: 4px;
  font-size:14px;
  line-height: 1.4em;
}
option {
  margin-bottom: 6px;
  line-height: 1.4em;
}
.semester {
  display:none;
}
i[class*="icon"] {
  text-shadow: 0 0 1px rgba(42, 42, 42, 0.9)
}
a {
  color: #025897;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

#header {
  float: left;
  margin-bottom: 4px;
}
#logos {
  display: inline-block;
}
#logos img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
}
#logos .uk {
  display: inline-block;
  width: 61px;
  margin-right: 7px;
}
#logos .as {
  display: inline-block;
  /*width: 42px;*/
  height: 38px;
}
#page-title {
  display: inline-block;
  margin: 0px 0 0 19px;
  padding: 0 13px;
  font-size: 21px;
  position: relative;
  top: -6px;
  border: solid 0px rgba(0, 0, 0, 0.2);
  border-left-width: 2px;
  border-right-width: 2px;
  color: #444;
  color: rgba(0, 0, 0, 0.6);
}
.all-prefixes #page-title {
  border: 0;
  padding: 9px 0 0;
  margin-left: 0;
}

#course-filters li,
#course-filters ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#course-filters li a {
  background: #F1F2F2;
  border: solid thin #F1F2F2;
  padding: 10px 0px;
  display: block;
  float: left;
  margin-right: 15px;
  margin-bottom: 12px;
  margin-top: 8px;
  color: #444;
  font-weight: bold;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  width: 162px;
  text-align: center;
  text-transform: uppercase;
}
#course-filters #semester-label {
  text-transform: uppercase;
  width: 161px;
  text-align: center;
  background: #005AAE;
  border: solid thin #005AAE;
  padding: 10px 0px;
  display: block;
  float: left;
  margin-right: 15px;
  margin-top: 8px;
  color: #fff;
  font-weight: bold;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  font-size: 18px;
}
#course-filters li a#summer-2 {
  margin-right: 0;
}
#course-filters li a:hover {
  text-decoration: none;
}
#course-filters li a#all-semesters {
  border-color: #ccc;
}
#course-filters li a#all-semesters:hover,
#course-filters li a#all-semesters.selected {
  background-color: #ddd;
}
#course-filters li a#summer-1 {
  border-color: #DE9D00;
  background: #e8c879;
}
#course-filters li a#summer-1:hover,
#course-filters li a#summer-1.selected {
  background-color: #DE9D00;
}
#course-filters li a#summer-2 {
  border-color: #00CB3C;
  background: #80e59e;
}
#course-filters li a#summer-2:hover,
#course-filters li a#summer-2.selected {
  background-color: #00CB3C;
}
#course-filters .chosen-results li {
  padding: 1px 8px 1px 47px;
  text-indent: -37px;
}
#course-filters .chosen-results li.group-option {
  padding-left: 56px;
}
#course-filters .chosen-results li.group-result {
  margin-top: 4px;
}
#course-filters #semesters li.group-result {
  margin: 0;
  padding: 0;
}
#course-filters #semesters li.group-option {
  padding-left: 72px;
}
#course-filters optgroup {
  font-weight: bold;
}

.views-field.views-field-field-end-date {
  z-index: 1;
}
.views-row .details {
  display: none;
  padding: 0 21px 6px;
  margin-bottom: 10px;
  position: relative;
  background: hsla(255, 14%, 78%, 0.18);
  font-size: 1.05em;
  line-height: 1.5
}
.views-row .details .node {
  margin-top: 10px;
}
.views-row .details-toggle {
  margin: 0 6px;
}
.views-row .details .course-section-floater {
  display: block;
  position: relative;
  vertical-align: top;
}
#content .views-row .details img {
  max-width: 200px;
}
.view-filtered-courses {
  clear: both;
}
.view-filtered-courses .views-field-title {
    pointer-events: none;
}
.views-field-title {
  /height: 0;
  display: inline-block;
}
.full-course-number {
  float: left;
  display: inline-block;
  padding: 4px 42px;
  margin-right: 11px;
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  z-index: 100;
  background: #005aae;
  color: #cef;
  color: hsl(205, 67%, 84%);
  color: hsla(205, 7%, 100%, 0.6);
  letter-spacing: 0px;
  font-family: 'PT Mono', Monaco, monospace;
  box-shadow: 8px 0px 10px -2px rgba(0, 0, 0, 0.27);
}
.full-course-number span {
  float: left;
  display: block;
}
.full-course-number .prefix {
  width: 37px;
  letter-spacing: 1px;
}
.full-course-number .number {
  width: 37px;
  text-align: center;
}
.full-course-number .dash {
  width: 18px;
  text-align: center;
}
.full-course-number .section {
  width: 37px;
  text-align: center;
}

.view-filtered-courses .details:before,
.view-filtered-courses .views-row:after,
.view-filtered-courses .view-course-section-description:before,
.views-field-field-end-date:before{
  content: ',';
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
.main-title {
  display: inline-block;
  padding: 5px 0 3px;
}

.view-filtered-courses .views-row {
  margin-bottom: 7px;
  position: relative;
}
#course-filters-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
#course-filters {
  background: #bbb;
  background: hsl(255, 13%, 89%);
  padding: 9px 13px 9px;
  height: 94px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  box-shadow: 0 4px 13px -4px rgba(0, 0, 0, 0.7);
  max-width: 825px;
  margin: 0 auto;
  position: relative;
}
.filters-wrapper {
  margin: auto;
}
.filters-wrapper:after {
  content:',';
  display: block;
  clear: both;
  visibility: hidden;
  height: 0;
}
#course-flag-key {
  float: left;
  margin: 9px 6px 0;
}
#course-flag-key i {
  cursor: pointer;
  font-size: 20px;
  margin-right: 1px;
}
#course-flag-key .core-label {
  margin-left: 20px;
  margin-right: 2px;
}
i.icon-cloud {
  color: #005dab;
}
#course-title-search {
  float: right;
  max-width: 204px;
  width: 26%;
  text-align: right;
  margin-right: 2px;
}
#course-title-search-text {
  padding: 6px 7px;
  margin-top: 2px;
  margin-right: 2px;
  border: 1px solid #aaa;
  border-radius: 5px;
  background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(20%,#eee),color-stop(80%,#fff));
  background-image: -webkit-linear-gradient(#eee 20%,#fff 80%);
  background-image: -moz-linear-gradient(#eee 20%,#fff 80%);
  background-image: -o-linear-gradient(#eee 20%,#fff 80%);
  background-image: linear-gradient(#eee 20%,#fff 80%);
  background-clip: padding-box;
  box-shadow: 0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);
  color: #444;
  width: 73%;
  font-size: 15px;
}
#course-title-search-submit {
    cursor: pointer;
    font-size: 20px;
    color: #666;
    display: inline-block;
    text-align: center;
}
#course-title-search-submit:hover, #course-title-search-submit:focus,  {
    background-position: center -25px !important;
}
.load-more {
  background: #aaa;
  width: 240px;
  margin: auto;
  text-align: center;
  padding: 10px 0;
  position: relative;
  top: 20px;
  cursor: pointer;
  color: white;
}
.load-more:hover {
  background: #005aae;
}
.loading {
  background: #aaa;
  width: 240px;
  margin: 0 auto 42px;
  text-align: center;
  padding: 10px 0;
  position: relative;
  top: 20px;
  color: white;
  line-height: 1.7;
}
.loading img {
  position: absolute;
  left: 10px;
}

[class*='views-field-uid'], .course-flag {
  font-size: 17px;
  line-height: 1;
  position: relative;
  top: 5px;
  float: right;
  margin-right: 8px;
  width: 19px;
  text-align: center;
  z-index: 3;
}
.views-field-title {
  margin-right: 4px;
  float: left;
}
.selects {
  margin-top: 4px;
  display: table;
  width: 100%;
}
.selects-inner {
  display: table-row;
  width: 100%;
}
.select-wrapper {
  display: table-cell;
}
#flags {
  width: 42%;
  text-align: center;
}
#prefixes {
  text-align: center;
  max-width: 273px;
}
#prefixes select {
  max-width: 100%;
}
#flags .chosen-container,
#prefixes .chosen-container {
  text-align: left;
}
#semesters {
  text-align: center;
  width: 24%;
}
#semesters .chosen-container {
  text-align: left;
  margin-right: 0;
}
.views-field {
  position: relative;
  z-index: 3;
}
.views-field.views-field-nothing {
  position: absolute;
  z-index: 2;
  height: 28px;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
}

.details-toggle {
  display: block;
  height: 100%;
  width: 100%;
  background: hsl(255, 13%, 84%);
  position: absolute;
  z-index: 10;
  left: -6px;
  cursor: pointer;
}
.views-row-even .details-toggle {
  background: hsl(255, 13%, 89%);
}
.view-filtered-courses > .view-content > .views-row .views-field {
  position: relative;
  z-index: 1;
}

.icon-star {
  color: hsl(50, 100%, 79%);
}
.icon-circle-arrow-up {
  color: hsl(100, 80%, 34%);
}
.icon-comment {
  color: #fcfcfc;
}
.icon-adjust {
  color: hsl(0, 80%, 69%);
}

.course-section-image {
  float: right;
  margin-left: 12px;
}
.details .field {
  clear: left;
}
.details .field-label {
  float: left;
  font-weight: bold;
  width: 79px;
  font-size: 0.8em;
  position: relative;
  top: 3px;
}
.course-section-header .field-items {
  margin-left: 84px;
}
.long-fields {
  display: inline-block;
  margin-right: 42px;
    vertical-align: top;
}
.course-activities {
  clear: both;
}
.course-section-header:after {
  content: ',';
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
.course-section-title {
  margin-bottom: 0;
}
.course-section-name {
  margin: 0 0 8px;
}
.course-section-floater .field {
  margin-bottom: 2px;
}

#course-filters .chosen-single {
  padding: 4px 10px;
  font-size: 16px;
}
#course-filters .chosen-single div {
  top: 4px;
  right: 0px
}
#course-filters .chosen-results li {
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 15px;
}
.all-prefixes .as-default-image,
.all-prefixes .course-section-name a {
  display: none;
}
.all-prefixes .course-section-name span {
  display: inline !important;
}

#uk-header-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 7px;
}
#as-toggle {
  position: absolute;
  left: 416px;
  top: 12px;
  background: #CAC7D3;
  padding: 6px 11px;
  border-radius: 4px;
}
.all-prefixes #as-toggle {
  display: none;
}

@media only screen 
and (max-width : 755px) {
  #header {
    float: none;
    margin-bottom: 19px;
  }
  #logos .uk {
    width: 96px;
  }
  #logos .as {
    width: 61px;
  }
  #page-title {
    border-right: 0;
    padding-right: 0;
    font-size: 27px;
    top: -10px;
  }
  .filters-wrapper {
    text-align: center;
  }
  #flags {
    display: block;
    float: none;
    margin: 4px auto 36px;
    margin-bottom: 0;
  }
  [class*='views-field-uid'],
  .course-flag,
  #course-flag-key {
    position: relative;
    top: 20px;
  }
  .course-section-image {
    max-width: 200px;
    width: 30%;
  }
  .course-section-image img {
    max-width: 100%;
    height: auto;
  }
  .long-fields {
    float: none;
    vertical-align: top;
    display: block;
  }
  .short-fields {
    display: block;
  }
  .views-field-title {
    width: 70%;
    display: block;
  }
  .main-title {
    position: absolute;
    left: 0;
    right: 0;
    top: 11px;
    margin-left: 207px;
    height: 1em;
    overflow: hidden;
    white-space: no-wrap;
    text-overflow: ellipsis;
    float: left;
    font-size: 17px;
  }
  #flags,
  #prefixes,
  #course-title-search,
  #semesters {
    float: none;
    display: inline-block;
    top: 0;
    margin: 8px auto;
    text-align: center;
    /* width: auto; */
    max-width: 100%;
  }
  #course-title-search {
    float: none;
    display: block;
    top: 0;
    margin: 16px auto;
    text-align: center;
    width: auto;
    max-width: 100%;
  }
  #as-toggle {
    position: relative;
    top: 0;
    left: 0;
    display: inline-block;
    font-size: 23px;
    margin-bottom: 9px;
  }
  #semesters .chosen-container {
    margin: auto;
  }
  .selects,
  .selects-inner {
    display: block;
    width: 100%;
    /* overflow: hidden; */
  }
  .chosen-container {
    text-align: left;
    display: block;
    margin: auto;
  }
  #course-filters .chosen-single {
    padding: 14px 10px;
    font-size: 19px;
  }
  #course-filters .chosen-single div {
    top: 15px;
    right: -2px
  }
  #course-filters .chosen-results li {
    padding-top: 15px;
    padding-bottom: 15px;
    border-top: solid thin rgba(0, 0, 0, 0.2);
    font-size: 17px;
  }
  #course-title-search-text {
    margin: 0;
    width: 82%;
    padding: 15px 10px;
    font-size: 19px;
  }
  #course-title-search-submit {
    width: auto;
    font-size: 33px;
    margin-right: 8px;
    position: relative;
    top: 5px;
  }
  #flags select {
    max-width: 100%;
  }
  #prefixes select {
    margin-left: 0px;
  }
  #semesters select {
  }
  .full-course-number {
    padding: 16px 34px;
    font-size: 17px;
  }
  .views-field.views-field-nothing {
    height: 54px;
  }
  .views-row .details {
    font-size: 1.1em;
  }
  .details .field-label {
    width: 101px;
  }
  .course-section-header .field-items {
    margin-left: 101px;
  }
  #course-filters-container {
    position: static;
  }
  #course-filters {
    height: auto;
    margin-bottom: 12px;
  }
  body {
    margin-top: 0;
  }
}

@media only screen 
and (max-width : 500px) {
  .full-course-number {
    padding-left: 11px;
    padding-right:11px;
  }
  .main-title {
    margin-left: 159px;
  }
}

@media only screen 
and (max-width : 452px) {
  #logos .uk {
    width: 54px;
  }
  #logos .as {
    width: 36px;
  }
  #page-title {
    font-size: 21px;
    margin-left: 10px;
    padding-left: 10px;
    top: -4px;
  }
  .course-section-image {
    max-width: 100%;
    width: auto;
    float: none;
    display: block;
    text-align: center;
    margin-top: 19px;
  }
  #course-title-search-text {
    width: 73%;
  }
}
/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 320px) {
  #prefixes select,
  #flags select,
  #semesters select {
    width: 100%;
  }
}
