/* town at-a-glance info box above the map */
div.mapList > div.mapCol {
  position: sticky;
  top: 10px;
  width: 475px;
}
div.mapList > div.mapCol > div.map {
  box-sizing: border-box;
  background-color: #dddddd;
  width: 100%;
  height: 500px;
  border-radius: 4px;
  border: 1px solid #5c2483;
  z-index: 1;
}
div.mapList > div.mapCol > div.map a {
  border-bottom: 0px;
}
div.mapList > div.list {
  margin-left: 530px;
  margin-top: -500px;
  min-height: 500px;
}
/* On phones the map and recordings stack vertically, matching the shared
   headContent rules for the unwrapped map. Without this the desktop
   margin-left keeps the recordings off to the side. */
@media (max-width: 800px) {
  div.mapList > div.mapCol {
    position: static;
    width: 100%;
  }
  div.mapList > div.mapCol > div.map {
    height: 200px;
    width: calc(100% + 15px + 15px);
    margin: 0px -15px;
    border-radius: 0px;
    border-left: 0px;
    border-right: 0px;
  }
  div.mapList > div.list {
    margin-left: 0px;
    margin-top: 0px;
    padding-top: 30px;
    min-height: 0;
  }
}


div.titleContainer {
  margin-top: 1.5em;
  position: relative;
  padding-left: 240px;
  min-height: 100px;
  margin-bottom: 40px;
}
div.titleContainer > div.logo {
  background-color: #666666;
  width: 200px;
  min-height: 80px;
  padding: 10px;
  position: absolute;
  top: 0px;
  left: 0px;
  bottom: 0px;
  border-radius: 2px;
}
div.titleContainer > div.logo img.logo {
  width: 80%;
  margin: 0px auto;
  height: 100%;
  object-fit: contain;
  flex: none;
  display: block;
  text-align: center;
}
div.titleContainer > div.logo img.logo.rte {
  width: 80%;
  height: 100%;
  margin: 0px auto;
}
div.titleContainer > div.logo img.logo.dias {
  width: 40%;
  height: 100%;
  margin: 0px auto;
}
div.titleContainer > div.logo img.logo.ucc {
  width: 45%;
  height: 100%;
  margin: 0px auto;
}

div.province {
  font-weight: bold;
  color: #999999;
  margin-bottom: 0em;
  font-size: 1.15em;
}
h1 {
  font-size: 2em;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: 1.25em;
}
h1 > .icon {
  margin-right: 0.25em;
  color: #02293b;
}
h1 > span.inside {
  margin-right: 10px;
} 

h1 span.externalLinks {
  @media (max-width: 800px) {
    display: block;
    margin-top: 10px;
  }
}
h1 a.externalLink {
  font-weight: normal;
  font-size: 0.5em;
  border: 0;
  background-color: #ffffff;
  border-radius: 100px;
  padding: 8px 15px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -3px;
  line-height: 1em;
}
h1 a.externalLink > .icon {
  margin-left: 5px;
}

div.keywords {
  margin-top: 1em;
  line-height: 2em;
  margin-bottom: 1.5em;
}
div.keywords h2 {
  display: inline;
  font-size: 1em;
  margin: 0px;
  margin-right: 0.5em;
  font-weight: normal;
}
div.keywords ul {
  display: inline;
  margin: 0px;
  padding: 0px;
  color: #999999;
}
div.keywords li {
  display: inline;
  margin: 0px;
  padding: 0px;
  white-space: nowrap;
}
div.keywords li::after {
  content: "·";
  margin: 0 0.2em;
}
div.keywords li:last-child::after {
  display: none;
}
div.keywords li a {
  color: inherit;
  border-width: 0px;
}
div.keywords li a span.text {
  border-bottom: 1px solid;
  color: #245583;
}
div.keywords li a:hover {
  color: #666666;
}
div.keywords li a:hover span.text {
  color: #3c6c99;
}

div.filter {
  background-color: #fffbe5;
  padding: 20px 20px 18px 20px;
  margin-bottom: 20px;
  border-radius: 6px;
  box-shadow: 0px 0px 5px #cccccc;
  scroll-margin-top: 20px;
}
@media (max-width: 800px) {
  div.filter {
    scroll-margin-top: 220px;
  }
}
div.filter span.label {
  margin-right: 10px;
}
@media (max-width: 800px) {
  div.filter span.label {
    display: none;
  }
}
div.filter span.hometown {
  padding: 5px 10px 3px 5px;
  margin: 0px 0px 0px 0px;
  color: #39677c;
  border-radius: 20px;
  border: 1px solid #dddddd;
  color: #5c2483;
  background-color: #eeeeee;
}
div.filter span.hometown .icon2 {
  margin: 0px 0.25em 0px 0.25em;
}
div.filter button.remove {
  float: right;
  cursor: pointer;
  border: 0px;
  font: inherit;
  display: inline;
  background: transparent;
  color: #bd0101;
}
div.filter button.remove:hover {
  color: #ff0000;
}
div.filter button.remove i {
  margin-right: 0.25em;
}




div.mapList > div.list ul {
  display: block;
  margin: 0px;
  padding: 0px;
}

div.mapList > div.list li.recording {
  display: block;
  box-sizing: border-box;
  margin: 0px;
  margin-bottom: 1.5em;
  padding: 20px;
  position: relative;
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0px 0px 5px #cccccc;
  border: 1px solid transparent; 
}
div.mapList > div.list li.recording audio {
  width: 100%;
  box-shadow: 0px 0px 5px #666666;
  border-radius: 100px;
}
div.mapList > div.list ul.speakers {
  margin-top: 10px;
}
div.mapList > div.list li.speaker {
  display: block;
  margin: 0px;
  margin-top: 1px;
  padding: 0px 0px 0px 0px;
  position: relative;
}
@media (max-width: 800px) {
  div.mapList > div.list li.speaker {
    margin-top: 15px;
  }
}
div.mapList > div.list li.speaker span.speaker {
  padding-left: calc(5px + 0.25em);
}
@media (max-width: 800px) {
  div.mapList > div.list li.speaker span.speaker {
    display: block;
  }
}
div.mapList > div.list li.speaker span.speaker .icon {
  position: relative;
  top: 1px;
  font-size: 1.25em;
  color: #666666;
  margin-right: 5px;
}
div.mapList > div.list li.speaker button.hometown {
  display: inline;
  font: inherit;
  border: 0px;
  padding: 3px 10px 1px 5px;
  margin: 0px 0px 0px 0px;
  background: transparent;
  cursor: pointer;
  color: #39677c;
  border-radius: 20px;
  border: 1px solid transparent;
}
div.mapList > div.list li.speaker button.hometown.hi {
  color: #5c2483;
  background-color: #eeeeee;
}
div.mapList > div.list li.speaker button.hometown.hihi {
  color: #5c2483;
  background-color: #eeeeee;
}
div.mapList > div.list li.speaker button.hometown .icon2 {
  margin: 0px 0.25em 0px 0.25em;
}
div.mapList > div.list li.speaker button.hometown span.hometown {
  border-bottom: 1px dotted #5899b8;
}
div.mapList > div.list li.speaker button.hometown.hi span.hometown {
  border-bottom: 1px none;
}
div.mapList > div.list li.speaker button.hometown.hihi span.hometown {
  border-bottom: 1px none;
}
div.mapList > div.list li.recording div.buttons {
  margin-top: 15px;
  text-align: right;
  overflow-y: auto;
  margin-right: -6px;
  padding-right: 6px;
  margin-bottom: -6px;
  padding-bottom: 6px;
}
@media (max-width: 800px) {
  div.mapList > div.list li.recording div.buttons {
    text-align: center;
  }
}
div.mapList > div.list li.recording div.buttons div.nickname {
  float: left;
  position: relative;  
  padding-left: 35px;
  padding-top: 7px;
  color: #999999;
  text-align: left;
  white-space: nowrap;
  overflow-x: hidden;
  margin-top: -10px;
}
div.mapList > div.list li.recording div.buttons div.nickname span.year {
  color: #333333;
  font-weight: bold;
}
div.mapList > div.list li.recording div.buttons div.nickname span.divider {
  font-weight: bold;
}
div.mapList > div.list li.recording div.buttons div.provider {
  clear: left;
  float: left;
  position: relative;
  color: #999999;
  text-align: left;
  margin-left: 10px;
  font-size: 0.95em;
  max-width: 300px;
  margin-top: 4px;
  line-height: 1.5em;
}
@media (max-width: 800px) {
  div.mapList > div.list li.recording div.buttons div.nickname {
    float: none;
    text-align: center;
    padding-left: 0px;
  }
  div.mapList > div.list li.recording div.buttons div.provider {
    float: none;
    text-align: center;
    margin-left: 0px;
    margin-bottom: 15px;
    text-wrap: balance;
    max-width: none;
  }
}
div.mapList > div.list li.recording div.buttons div.nickname .icon {
  position: absolute;
  left: 10px;
  top: 8px;
  font-size: 1.25em;
  color: #666666;
}
@media (max-width: 800px) {
  div.mapList > div.list li.recording div.buttons div.nickname .icon {
    position: relative;
    left: 0px;
    top: 2px;
    margin-right: 5px;
  }
}
div.mapList > div.list li.recording div.buttons a.button {
  display: inline-block;
  box-sizing: border-box;
  padding: 7px 15px 7px 20px;
  border: 0px;
  border-radius: 4px;
  background-color: #5c2483;
  color: #ffffff;
  text-align: center;
  margin-top: 6px;
  position: absolute;
  bottom: 20px;
  right: 20px;
  @media (max-width: 800px) {
    position: relative;
    bottom: 0px;
    right: 0px;
  }
}
div.mapList > div.list li.recording div.buttons a.button .icon {
  margin-left: 10px;
  position: relative;
  top: 1px;
}
div.mapList > div.list li.recording div.buttons a.button.lowly {
  background-color: #dddddd;
  color: #666666;
}

/* advanced information panel */
div.advancedInfo {
  position: sticky;
  top: 10px;
  z-index: 5;
  background: #eeeeee;
  margin-top: 0px;
  margin-bottom: 1.5em;
}
@media (max-width: 800px) {
  div.advancedInfo {
    position: static;
  }
}
button.advancedToggle {
  font: inherit;
  border: 0px;
  background: transparent;
  color: #5c2483;
  cursor: pointer;
  padding: 10px 16px;
  margin-left: auto;
}
button.advancedToggle:hover {
  color: #3c6c99;
}
button.advancedToggle i {
  transition: transform 0.15s ease;
}
button.advancedToggle.open i {
  transform: rotate(180deg);
}
div.advancedPanel {
  border: 1px solid #eeeeee;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0px 0px 5px #cccccc;
  overflow: hidden;
}
div.advancedTabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #eeeeee;
  background: #fafafa;
  border-radius: 6px 6px 0px 0px;
}
button.advancedTab {
  font: inherit;
  border: 0px;
  background: transparent;
  padding: 10px 16px;
  cursor: pointer;
  color: #666666;
  border-bottom: 3px solid transparent;
}
button.advancedTab.active {
  color: #5c2483;
  border-bottom-color: #5c2483;
  font-weight: bold;
}
button.advancedTab:disabled {
  color: #bbbbbb;
  cursor: default;
}
button.advancedTab span.soon {
  font-size: 0.7em;
  background: #eeeeee;
  color: #999999;
  border-radius: 10px;
  padding: 1px 6px;
  margin-left: 4px;
  vertical-align: middle;
}
div.advancedTabBody {
  padding: 12px 15px;
}
p.comingSoon {
  color: #999999;
  font-style: italic;
  margin: 0px;
}
div.changePills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 140px;
  overflow-y: auto;
}
div.changeExamplesBox {
  margin-top: 10px;
  border-top: 1px solid #eeeeee;
  padding-top: 10px;
}
div.changeExamplesHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
div.changeExamplesHead span.changeExamplesTitle {
  font-weight: bold;
  color: #5c2483;
  font-size: 0.9em;
}
div.changeExamplesHead span.changeExamplesCount {
  color: #999999;
  font-size: 0.85em;
}
div.changeExamplesList {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 180px;
  overflow-y: auto;
}
button.examplePill {
  display: inline-flex;
  align-items: center;
  font: inherit;
  font-size: 0.9em;
  background: #f6f6f6;
  border: 1px solid #dddddd;
  border-radius: 20px;
  padding: 2px 10px;
  white-space: nowrap;
  color: #333333;
  cursor: pointer;
}
button.examplePill:hover {
  box-shadow: 0px 0px 5px #cccccc;
}
button.examplePill.active {
  background: #5c2483;
  border-color: #5c2483;
  color: #ffffff;
}
button.examplePill span.arrow {
  margin: 0px 3px;
  color: #999999;
}
button.examplePill span.count {
  margin-left: 5px;
  color: #999999;
  font-size: 0.85em;
}
button.examplePill.active span.arrow,
button.examplePill.active span.count {
  color: #ffffff;
}
button.changePill {
  font: inherit;
  font-size: 0.9em;
  background: #ffffff;
  border: 1px solid #999999;
  border-radius: 20px;
  padding: 2px 10px;
  cursor: pointer;
  white-space: nowrap;
}
button.changePill:hover {
  box-shadow: 0px 0px 5px #cccccc;
}
button.changePill.active {
  color: #ffffff !important;
  background-color: #5c2483;
  border-color: #5c2483;
}
button.changePill span.arrow {
  margin: 0px 3px;
  color: #999999;
}
button.changePill.active span.arrow {
  color: #ffffff;
}
button.changePill span.count {
  margin-left: 5px;
  color: #999999;
  font-size: 0.85em;
}
button.changePill.active span.count {
  color: #ffffff;
}
li.loading, li.nojoy {
  text-align: center;
  color: #999999;
  padding: 30px 0px;
  list-style: none;
}
