/* SCSS Mixins Based on Foundation's Breakpoints */
/* Font definition */
/* Mixin for all link states to declare common declarations */
/* Mixin for ADA focus styling */
body {
  background-color: #f6f6f5;
}

h5#refine-toggle span {
  color: #777;
}

.rr {
  display: block;
  z-index: 9999;
  /*border: 1px solid #eee;*/
}

div#search-header2 {
  padding: 3rem 0 0 0;
}
div#search-header2 h2 {
  font-weight: normal;
}

div#sr-top1 {
  font-size: 110%;
  padding: 0 0 0 0.7rem;
}

nav.search-tab-bar {
  background: none repeat scroll 0 0 transparent;
  position: relative;
}

#search-menu-label {
  color: #455c6d;
  position: absolute;
  right: 3rem;
  top: 0.85rem;
}

.relevancy-score {
  display: none;
  bottom: -0.5rem;
  color: #aaa;
  float: right;
  font-size: 80%;
  font-style: italic;
  margin: 0;
  padding: 0rem;
  position: relative;
  right: 0.5rem;
}

.relevancy-score .ng-binding {
  color: #aaa;
}

.highlighted {
  font-weight: bold;
}

.highlighted-tags {
  background: #ffeedd;
}

.video-descriptionX {
  background: #ffffff;
  padding: 0 0.5rem;
}

.truncate {
  width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.large-4 #search-filters {
  padding: 0 0.2rem 0 0;
}

.small-12 #search-filters, .medium-3 #search-filters {
  padding: 0 0.2rem 0 0.8rem;
}

#search-results-col {
  background: #fff none repeat scroll 0 0;
  border: 1px solid #ddd;
  padding: 1rem;
}

#search-results-col.medium-9 {
  margin: 0;
  padding-left: 0.2rem;
}

section.results {
  border: 0 none;
}

.small-12 #search-filters ul#refine-results li {
  margin-bottom: 0;
  margin-top: 0;
  padding-bottom: 0;
}

.small-12 .video-result-message {
  padding-left: 0rem;
}

button.showfilters {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
  border: 1px solid #ddd;
  color: #455c6d;
  margin: 0;
  padding: 0.2rem 0.5rem;
}

button.showfilters:hover {
  color: #454545;
}

#topic-filters {
  background: #fff none repeat scroll 0 0;
  margin-right: 0.8rem;
  position: relative;
}

#topic-filters {
  background: #fff none repeat scroll 0 0;
  border: 1px solid #ddd;
  margin-right: 0.8rem;
  padding: 1rem 1rem 0 1rem;
  position: relative;
  width: 19rem;
}

#filters-off-canvas {
  background: transparent;
}

.show-cursor {
  cursor: pointer;
}

ul#refine-results-oc {
  color: #777;
  list-style-type: none;
  margin: 0 0 0 0.5rem;
  padding: 0;
}

ul#refine-results-oc li {
  border-bottom: 0 solid #dddddd;
  font-size: 0.9rem;
  margin-bottom: 0;
  margin-top: 0;
  padding-bottom: 0;
  padding-right: 1.8rem;
  position: relative;
}

/*** Start Search Results Styles ***/
ul#search-results2 li a, ul#search-results2 li a span {
  color: #445C6D;
  font-weight: bold;
}

ul#search-results2 {
  margin: 1rem 0 0;
  padding: 0 0.2rem 0 0;
}

ul#search-results2 li:not(.t) {
  margin: 0;
  padding: 0;
}

ul#search-results2 li a {
  color: #465676;
  font-weight: bold;
}

ul#search-results2 p {
  margin-bottom: 2em;
}

ul#search-results2 li:hover:not(.t) {
  background: transparent;
}

.results-left {
  float: left;
  margin-top: 0.5rem;
  position: relative;
  width: 85%;
}

.results-right {
  clear: right;
  float: right;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  text-align: right;
  width: 12%;
  position: relative;
}

@media only screen and (min-width: 52.001em) and (max-width: 64.0063em) {
  #search-results-col {
    float: right !important;
    margin-right: 1rem !important;
    width: 60% !important;
  }
}
@media only screen and (min-width: 48.001em) and (max-width: 52em) {
  #search-results-col {
    float: right !important;
    margin-right: 1rem !important;
    width: 52% !important;
  }
}
@media only screen and (min-width: 39.99em) and (max-width: 48em) {
  #search-results-col {
    float: right !important;
    margin-right: 1rem !important;
    width: 48% !important;
  }
}
@media only screen and (max-width: 40em) {
  #search-results-col {
    margin: 1rem 5rem !important;
    padding: 0 0.975rem !important;
    width: inherit;
  }
  #topic-filters {
    width: inherit;
  }
  section.results {
    padding: 1rem 0;
  }
}
@media only screen and (max-width: 40em) {
  .small-12 #search-filters, .medium-3 #search-filters {
    padding: 0 1rem 0 1rem;
  }
  #overview-header-text {
    padding: 0 1.5rem;
  }
  .results-left {
    width: 80%;
  }
  .results-right {
    width: 20%;
  }
}
@media only screen and (min-width: 30em) and (max-width: 40em) {
  .small-12 #search-filters, .medium-3 #search-filters, #overview-header-text {
    padding: 0 5rem;
  }
}
@media only screen and (max-width: 30em) {
  #search-results-col {
    margin: 1rem !important;
  }
  #follow-up-label {
    width: 83%;
  }
}
/*** END Search Results Styles ***/
/*** Start Filter Topic Styles ***/
ul#refine-results,
ul#filters-list {
  color: #777;
  list-style-type: none;
  margin: 1.7rem 0 1.5rem;
  padding: 0;
}

ul#refine-results li,
ul#filters-list li {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  margin-top: 0.2rem;
  padding-right: 1.8rem;
  padding-bottom: 0.2rem;
  position: relative;
  border-bottom: 0px solid #dddddd;
}

.topic-title {
  line-height: 1.2rem;
  margin: 0 0 0.8rem;
  padding: 0;
}

span.topic-count {
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0;
  top: -0.1rem;
}

ul#filters-list input[type=checkbox] {
  margin: 0 0;
}

ul#refine-results span.topic-count {
  display: none;
}

ul#filters-list span.topic-count {
  display: none;
}

.checked-topics {
  float: left;
  margin: 0 0.2rem 0 0;
  padding: 0;
  position: relative;
}

.checked-topics input[type=checkbox],
.filter-list input[type=checkbox] {
  display: none;
  margin: 0;
}

button.suggestion-filter {
  background: url("/static/images/icons/checkmark-empty.png") no-repeat;
  height: 16px;
  width: 16px;
  padding: 0;
  margin: 0;
  float: left;
}

button.suggestion-filter.is-checked {
  background: url("/static/images/icons/checkmark-filled.png") no-repeat;
}

#suggest-message {
  background: #fff none repeat scroll 0 0;
  color: #455c6d;
  font-style: italic;
  padding: 0 1em;
  text-align: center;
  width: 90%;
}

/*#follow-up-label {*/
/*color: #555;*/
/*float: right;*/
/*font-size: 0.9rem;*/
/*line-height: 1.2rem;*/
/*margin-bottom: 0.5rem;*/
/*position: relative;*/
/*width: 90%;*/
/*}*/
.filters-list input[type=checkbox] + label {
  /*background: url('/static/images/icons/checkmark-preselected.png') no-repeat;*/
  background: url("/static/images/icons/checkmark-empty.png") no-repeat;
  height: 16px;
  margin: 0;
  padding-left: 18px;
}

.filters-list input[type=checkbox] + label {
  background: url("/static/images/icons/checkmark-filled.png") no-repeat;
}

.checked-topics input[type=checkbox] + label {
  background: url("/static/images/icons/checkmark-empty.png") no-repeat;
  height: 16px;
  margin: 0;
  padding-left: 18px;
}

.checked-topics input[type=checkbox]:checked + label {
  background: url("/static/images/icons/checkmark-filled.png") no-repeat;
  height: 16px;
  margin: 0;
}

/*** END Filter Topic Styles ***/
/*** Start Search Form Styles ***/
div#search-header2 input#search-text {
  border: 1px solid #445C6D;
  border-radius: 5px;
  box-shadow: 1px 1px 2px #ddd;
  color: #567;
  font-size: 1.2rem;
  height: auto;
  padding: 0.5rem 1rem 0.3rem;
}

input#search-submit {
  border: 1px solid #88bb55;
  border-radius: 5px;
  font-family: museo-slab, serif;
  font-size: 1rem;
  height: auto;
  padding: 0.5rem 2rem;
  text-shadow: 0 1px rgb(109, 156, 63);
  width: 100%;
}

/*** END Search Form Styles ***/
/*** Start Related Courses Styles ***/
ul.index-course-desc {
  list-style-type: none;
  margin-left: 0;
}

ul.index-course-desc li {
  background-position: 0 0.2em;
  background-repeat: no-repeat;
  font-size: 0.9em;
  font-style: inherit;
  font-weight: normal;
  padding-left: 0;
}

li#course-duration {
  color: #455C6D;
}

li#course-duration img {
  margin-bottom: 3px;
  padding-right: 0.5rem;
}

dl#search-related-courses {
  color: #455C6D;
}

#related-courses {
  border-top: 1px solid #dddddd;
  padding-top: 1.5rem;
}

#related-courses {
  background: #fff none repeat scroll 0 0;
  border: 1px solid #dddddd;
  margin-top: 1.5rem;
  padding: 1.5rem 1rem;
  width: 19rem;
}

dl#search-related-courses h6 {
  color: #455C6D;
  font-weight: bold;
  background-color: #DEDEDC;
  width: 100%;
  padding: 0.75em;
  margin-bottom: 0;
}

dl#search-related-courses dt p {
  line-height: 1.4em;
  margin-bottom: 1em;
  font-size: 0.9em;
}

dl#search-related-courses dt {
  border: 1px solid #dededc;
  line-height: 1.4rem;
  margin-bottom: 1em;
  padding: 1.3rem 1rem;
}

dl#search-related-courses a.whitebutton {
  border-radius: 5px;
  color: #455c6d;
  font-size: 0.87rem;
  font-weight: normal;
  letter-spacing: 0.005rem;
  outline: 0 none;
  padding: 0.3rem 15%;
}

dl#search-related-courses a.whitebutton:hover {
  background: #455C6D;
  border: 1px solid #455C6D;
  color: #FFFFFF;
}

/*** END Related Courses Styles ***/
/**
 * Tooltip styling
 */
.ui-tooltip, .arrow:after {
  background: #445C6D !important;
  border: 0 none !important;
}

.ui-tooltip {
  padding: 10px 20px !important;
  color: white !important;
  border-radius: 4px !important;
  font: bold 14px "proxima-nova", "Roboto", Helvetica, Arial, sans-serif !important;
  box-shadow: 0 0 7px black !important;
}

/*** END TOOLTIP STYLING ***/
/*#send-suggestions {*/
/*border-top: 1px solid #dddddd;*/
/*padding: 1.5rem 0;*/
/*}*/
#send-suggestions {
  background: #F6F6F5 none repeat scroll 0 0;
  border: 1px solid #D2D3D4;
  margin: 1.5rem 0 2rem;
  padding: 1.5rem;
  position: relative;
  width: 100%;
}

.toggle-more {
  float: right;
  position: relative;
}

ul#search-results2 #send-suggestions p {
  margin-bottom: 0.5em;
}

ul#search-results2 .more#send-suggestions p {
  margin-bottom: 1em;
}

#suggestion_fields {
  display: none;
}

.more #suggestion_fields {
  display: block;
}

.less #refine-filters,
.less #search-related-courses {
  display: none;
}

input.suggestion-filter {
  float: left;
  margin: 0.5em 0.75em 0.5em 0;
}

#follow-up-label {
  color: #4E4E4E;
  float: left;
  font-size: 0.9rem;
  line-height: 1.2rem;
  margin-bottom: 0.5rem;
  position: relative;
  width: 19em;
}

img.toggle-arrow {
  display: none;
}

.toggle-more img,
.rr img {
  float: right;
  position: relative;
  top: 2px;
  -webkit-transform: rotate(270deg);
  -moz-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  transform: rotate(270deg);
}

.toggle-more .toggled img,
.rr.toggled img {
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
}

#suggestion_fields {
  padding: 0 0 0.5rem;
  width: 90%;
}

#send-suggestions h5 {
  font-size: 1em;
  letter-spacing: 0.4px;
  color: #445C6D;
  margin-bottom: 0px;
  text-transform: inherit;
}

#send-suggestions p {
  font-size: 0.9em;
}

#follow-up {
  float: left;
  margin: 0.2rem 0.4rem 0.3rem 0;
}

#id_message {
  height: 80px;
}

#submit-idea {
  background: #455c6d none repeat scroll 0 0;
  border: 0 none;
  border-radius: 4px;
  color: #ffffff;
  float: right;
  font-family: museo-slab, serif;
  font-size: 0.9rem;
  margin: 0.25em 0;
  padding: 0.4rem;
  width: 16em;
}

@media only screen and (max-width: 64.0063em) {
  h5#refine-toggle span {
    display: none;
  }
  #follow-up-label {
    width: 83%;
  }
  #submit-idea {
    width: 100%;
  }
  img.toggle-arrow {
    display: block;
  }
}
#version-select {
  height: 22px;
  width: 55px;
  border-radius: 3px;
  padding: 2px 2px 2px 5px;
  font-size: 12px;
  line-height: 15px;
  color: #4E4E4E;
  margin: 0 -3px 4px 0;
}

.select-version {
  color: #9B9B9B;
  font-size: 12px;
  line-height: 14px;
  position: absolute;
  left: -25px;
  top: 4px;
}

@media only screen and (max-width: 1025px) {
  .select-version {
    left: -40px;
  }
}
@media only screen and (max-width: 775px) {
  .select-version {
    position: static;
    margin-left: 10px;
  }
}
@media only screen and (max-width: 641px) {
  .select-version {
    margin-right: 10px;
  }
}
div.filter-bar {
  display: inline-block;
  vertical-align: top;
  margin: 0 -3px 10px 0;
}

.version-content {
  border: 1px solid #9b9b9b;
}

.filter-bar #version-filter {
  margin: 0;
  position: relative;
  background-color: #FFFFFF;
  padding-left: 0;
  width: 55px;
  height: 22px;
  text-align: left;
  padding: 3px !important;
  box-shadow: none;
}

.filter-bar #version-filter.expanded {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.dropdown > li ul {
  min-width: 0;
  width: 55px;
  width: calc(100% + 13px);
  top: 17px;
  left: -9px;
  border-color: #9b9b9b;
  z-index: 100000;
  padding-bottom: 3px;
}

ul.dd-filters {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  padding: 2px 3px 2px 8px;
}

ul.dd-filters li {
  width: 100%;
  height: 100%;
}

ul.dd-filters li span {
  display: inline;
  position: absolute;
  top: -2px;
}

.dropdown {
  /*background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMTJweCIgeT0iMHB4IiB3aWR0aD0iMjRweCIgaGVpZ2h0PSIzcHgiIHZpZXdCb3g9IjAgMCA2IDMiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDYgMyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBvbHlnb24gcG9pbnRzPSI1Ljk5MiwwIDIuOTkyLDMgLTAuMDA4LDAgIi8+PC9zdmc+);*/
  /*background-position: 100% 48%;*/
  /*background-repeat: no-repeat;*/
}

ul.dd-filters ul.menu li.t span.new {
  display: inline;
  position: absolute;
  right: 5px;
  top: 1px;
  line-height: 20px !important;
  color: #4A90AD !important;
  font-size: 9px !important;
  text-transform: uppercase;
  letter-spacing: normal !important;
}

.version-content .dropdown li::after {
  content: none;
}

.arrow-up {
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-bottom: 3px solid black;
  position: absolute;
  right: 8px;
  top: 8px;
}

.arrow-down {
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 3px solid #000000;
  position: absolute;
  right: 8px;
  top: 8px;
}

ul.dropdown {
  line-height: 16px;
}

.dropdown > li {
  padding-top: 2px;
}

.dropdown > li::after,
.dropdown2 > li::after {
  content: "";
}

.dropdown > li ul li,
.dropdown > li ul li a,
.dropdown > li span.current-version-small-only {
  font-size: 12px !important;
  line-height: 15px !important;
  color: #666 !important;
  position: relative;
  vertical-align: middle;
}

.dropdown > li ul li.t,
#video-description .dropdown > li ul li.t {
  padding-left: 8px;
  padding-top: 3px;
  padding-bottom: 0;
  text-decoration: none;
  display: block !important;
}

.dropdown > li ul li.t:hover {
  background: #EDEDED;
}

@media only screen and (max-width: 64.063em) {
  .filter-bar #version-filter {
    min-width: 0;
  }
}
