@font-face {
  font-family: "CommonGround Bold";
  src: url("/ago/assets/skin/zb1d3a9f0/client/fonts/CommonGround-Bold.otf") format("opentype");
}

@font-face {
  font-family: "CommonGround DemiBold";
  src: url("/ago/assets/skin/z538b0a43/client/fonts/CommonGround-DemiBold.otf") format("opentype");
}

@font-face {
  font-family: "CommonGround Medium";
  src: url("/ago/assets/skin/z907c6698/client/fonts/CommonGround-Medium.otf") format("opentype");
}

@font-face {
  font-family: "CommonGround Regular";
  src: url("/ago/assets/skin/z69c6cc7c/client/fonts/CommonGround-regular.otf") format("opentype");
}

@font-face {
  font-family: "CommonGround_Normal";
  src: url("/ago/assets/skin/f8af88df/client/fonts/CommonGround_Normal.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

h1, h2,
.emuseum-nav .active {
  font-family: "CommonGround Bold", sans-serif;
}

h1 {
  /*font-size: 72px;*/
  font-size: 41px;
  text-transform: uppercase;
}

h3, h4, .nav-link,
.grid-item .texts-wrap > div:first-of-type {
  font-family: "CommonGround Medium";
}

.emuseum-hero {
  background-image: none !important;
}

.emuseum-hero .emuseum-hero-content {
  color: #000;
}

.emuseum-hero-center .emuseum-hero-content-wrap {
  margin-top: 0px;
}

.collections-page .collections-text {
  display: none;
}

.collections-page h3.sub-header {
  font-size: 26px;
  font-family: 'CommonGround Regular';
  font-weight: 400;
}

.collections-page .bottom-pager {
  display: none;
}

.qs-search-container .fa.fa-search.qs-icon {
  display: block;
  color: #000;
  top: 5px;
  transform: scaleX(-1);
  right: 12px;
}

.qs-search-container .fa.fa-search.qs-icon::before {
  color: #ccc;
  font-size: 14px;
}

.qs-search-container .emuseum-quicksearch input[type="submit"].butgo {
  z-index: -1;
}

.emuseum-hero .emuseum-hero-title {
  font-size: 72px;
  text-shadow: none;
  font-family: "CommonGround DemiBold";
  text-transform: uppercase;
  padding-bottom: 50px;
  text-align: center;
}

.emuseum-hero-content h2 {
  font-size: 28px;
  margin-bottom: 22px;
  color: #fff !important;
  font-family: Lato, sans-serif !important;
}

.emuseum-hero-content h2:first-of-type {
  margin-bottom: 35px;
  font-size: 32px;
}

.emuseum-hero .emuseum-hero-content {
  padding-top: 26px;
}

#emuseum-logo img {
  max-height: 50px;
}

label[for="thesadvsearch"] {
  display: none;
}

.emuseum-header-bar .emuseum-header {
  background-color: #fff;
}

.header-grid {
  display: flex;
  justify-content: center;
}

.tb-megamenu .dropdown-menu {
  background-color: #f0f0f0;
}

.tb-megamenu-item.dropdown.open .tb-megamenu .dropdown-menu {
  background-color: #f0f0f0;
  display: inline-block !important;
  width: 20px !important;
  height: .75rem !important;
}

.rights-page .emuseum-title-wrap h1 {
  margin-bottom: 20px;
}

.rights-page .emuseum-main-content {
  padding-bottom: 28px;
}

.emuseum-button,
.results-actions .reportsController .multi-reports-button {
  background-color: #f0f0f0;
  color: #111;
  border: 1px solid #111;
  padding: 5px 15px;
  font-family: "CommonGround DemiBold";
  font-size: 18px;
  text-transform: uppercase;
  text-align: center;
}

.emuseum-button:hover,
.results-actions .reportsController .multi-reports-button:hover {
  background-color: #111;
}

#collection-header-wrapper {
  margin-bottom: 52px;
}

.emuseum-hero .emuseum-hero-content a {
  background-color: #d6d5cf;
  color: #111;
  padding: 10px 15px;
  font-size: 23px;
  border-color: #d6d5cf;
}

.emuseum-hero .emuseum-hero-content a .em-icon {
  display: none;
}

.emuseum-hero .emuseum-hero-content a:hover {
  background-color: #111;
  border-color: #fff;
  color: #fff;
  opacity: 1;
}

.detail-tools > .row {
  align-items: center;
}

.details-page .emuseum-pager {
  margin-bottom: 16px;
}

.emuseum-tab-list-bootstrap .nav-link.active,
.more-details-wrapper .emuseum-tab-list .nav-link.active,
.more-details-wrapper .emuseum-header-tabs .nav-link.active,
.more-details-wrapper .secondary-media-tabs .nav-link.active,
.emuseum-tab-list-bootstrap .nav-link:hover,
.more-details-wrapper .emuseum-tab-list .nav-link:hover,
.more-details-wrapper .emuseum-header-tabs .nav-link:hover,
.more-details-wrapper .secondary-media-tabs .nav-link:hover {
  border-bottom-color: #0F0F0F;
}

.hero-all-link {
  margin: 38px 0 16px;
}

.emuseum-hero-content {
  width: 100%;
}

.emuseum-quicksearch-inner {
  width: 100%;
}

.qs-search-container {
  text-align: left;
}

.qs-search-container {
  display: flex;
}

.qs-search-container .emuseum-quicksearch-wrap {
  display: flex;
  width: 100%;
}

.qs-search-container .emuseum-quicksearch form {
  display: grid;
  grid-template-columns: 1fr 68px;
}

.qs-search-container .emuseum-quicksearch input[type="submit"].butgo {
  border: 1px solid #ccc;
  border-radius: 0 5px 5px 0;
  margin-left: 0px;
  position: relative;
  text-indent: 0;
  background-color: transparent;
  color: #ccc;
  height: 50px;
  width: 68px;
  font-family: "CommonGround DemiBold";
  font-size: 23px;
  position: relative;
  left: -1px;
}

.qs-search-container .emuseum-quicksearch input[type="submit"].butgo:hover {
  color: #d6d5cf;
  background-color: #ccc;
}

.qs-search-container .emuseum-quicksearch input[type="text"] {
  margin-top: 0px;
  width: 100%;
  height: 50px;
  border: 1px solid #ccc;
  border-radius: 5px 0 0 5px;
  font-size: 16px;
  font-family: "CommonGround DemiBold";
}

.qs-search-container .twitter-typeahead {
  width: 100%;
}

.qs-search-container .advancedsearch-link {
  position: absolute;
  right: auto;
  left: 0;
  padding-top: 3px;
  color: #000;
  text-decoration: underline;
}

.emuseum-hero .emuseum-hero-content a.advancedsearch-link {
  right: auto;
  left: 0;
  color: #fff;
  font-size: 15px;
  background-color: rgba(0, 0, 0, 0.5);
}

.detailField.titleField h1,
.detailField.exhTitleField h1 {
  font-size: 40px;
  font-family: "CommonGround DemiBold";
  margin-bottom: 16px;
  padding-right: 30px;
}

.tb-megamenu .dropdown-menu li > a,
.tb-megamenu .dropdown-menu li > span.tb-megamenu-no-link,
.tb-megamenu .dropdown-menu li > a:hover,
.tb-megamenu .dropdown-menu li > a:focus,
.tb-megamenu .dropdown-submenu:hover > a,
.tb-megamenu .dropdown-menu li > span.tb-megamenu-no-link:hover,
.tb-megamenu .dropdown-menu li > span.tb-megamenu-no-link:focus,
.tb-megamenu .dropdown-submenu:hover > span.tb-megamenu-no-link {
  color: #111;
}

.tb-megamenu .dropdown-toggle::after {
  display: none;
}

.tb-megamenu .caret {
  content: "";
  background: center/contain no-repeat url("https://ago.ca/themes/custom/de_theme/img/file_icons/chevron.svg");
  display: inline-block;
  width: 20px;
  height: .75rem;
  border-top: unset !important;
  margin-top: 4px !important;
}

.tb-megamenu .nav .caret, .tb-megamenu .dropdown-submenu .caret, .tb-megamenu .mega-menu .caret {
  display: inline-block;
}

.emuseum-nav .nav-link,
.emuseum-header-tabs a,
.advancedsearch-field-wrap .advancedsearch-field-label {
  font-size: 15px;
  font-family: "CommonGround_Normal", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.65px;
}

.emuseum-header-bar .emuseum-nav a,
.emuseum-nav a {
  padding: 0 0 3px 0;
  border-bottom: 1px solid transparent;
  color: #111;
  white-space: nowrap;
}

.image-licensing-content,
.image-licensing-text {
  display: none;
}

.imagelicensing-page .image-licensing-content,
.imagelicensing-page .image-licensing-text {
  display: block;
}

.imagelicensing-page .image-licensing-text {
  margin-top: 46px;
}

.imagelicensing-page .image-licensing-content {
  display: block;
  color: #fff;
  text-align: center;
  padding-top: 164px;
}

.imagelicensing-page .image-licensing-text {
  display: block;
}

.imagelicensing-page .image-licensing-text p {
  font-size: 16px;
  line-height: 25px;
}

.imagelicensing-page h1, .imagelicensing-page h2 {
  font-weight: 500;
  font-family: 'CommonGround Medium', sans-serif;
}

.imagelicensing-page h1.il-title {
  font-size: 28px;
  text-transform: none;
}

.imagelicensing-page h2.il-sub-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 28px;
}

.imagelicensing-page .il-hero-all-link.hero-all-link {
  margin-top: 35px;
}

.imagelicensing-page .il-emuseum-button {
  background-color: #00a0cd;
  color: #fff;
  padding: 7px 12px;
}

.imagelicensing-page .il-emuseum-button .fa {
  font-size: 12px;
}

.imagelicensing-page #collection-header-wrapper > div.emuseum-hero {
  background-image: url("/ago/assets/skin/773f2c6/client/images/Image_licensing_hero.jpg") !important;
}

.imagelicensing-page .emuseum-hero {
  height: 500px;
}

.imagelicensing-page .emuseum-hero-content,
.imagelicensing-page .collections-text {
  display: none;
}

.emuseum-header-bar .emuseum-nav a:hover,
.emuseum-nav a:hover,
.nav-link.active,
.emuseum-header-bar .emuseum-nav a.nav-link.active {
  border-color: #111;
}

#collection-header-wrapper
.emuseum-nav .nav-link {
  color: #111;
}

.sort-switcher-wrap.select-wrapper:after {
  top: 17px;
}

.emuseum-title-wrap {
  margin-bottom: 20px;
}

input[type=checkbox] ~ label:before {
  top: -2px;
}

.advancedsearch-submit-wrap {
  margin-bottom: 40px;
}

.filter-group-boolean input[type=checkbox] ~ label:before {
  top: -9px;
}

.emuseum-hero .emuseum-hero-tint {
  display: none;
}

.filter-group-boolean input[type=checkbox],
.boolean-field-wrap input[type=checkbox] {
  opacity: 1;
  position: relative;
  top: 15px;
}

.boolean-field-wrap input[type=checkbox] {
  top: 22px;
}

.filter-group-boolean input[type=checkbox] ~ label:before,
.boolean-field-wrap input[type=checkbox] ~ label:before {
  display: none;
}

.filter-header-boolean {
  font-size: 15px;
  letter-spacing: normal;
  font-weight: 500;
}

.filter-header-boolean input[type=checkbox] ~ label {
  top: -3px;
}

.emuseum-no-rounded-corners .date-filter-form .form-control {
  font-size: 14px;
}

.filter-content-beginDate .date-filter-form .emuseum-button {
  padding: 5px 10px;
  font-size: 14px;
}

.filter-headline {
  font-size: 24px;
  font-weight: 800;
  font-family: "CommonGround DemiBold";
}

.detailField.locationsField ul {
  margin-bottom: 0;
  padding-left: 0;
}

.detailField.locationsField li {
  display: inline;
}

.detailFieldLabel,
.detailFieldValue,
.detail-category-label {
  font-size: 16px;
}

.detailFieldLabel,
.detail-category-label {
  font-weight: 700;
}

.detailFieldLabel.toggleLabel {
  font-weight: 500;
}

.detailField .detailFieldLabel.toggleLabel {
  font-size: 16px;
  text-transform: uppercase;
}

.detailField.titleField h1 {
  font-size: 29px;
}

.gs-hide {
  display: none;
}

.nav-collapse {
  display: block;
}

.nav-collapse.show {
  display: block;
}

.emuseum-search-toggle {
  display: none;
}

.detail-actions {
  border-bottom: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 0;
  padding-bottom: 0;
  row-gap: 10px;
}

a.license-btn {
  font-size: 14px;
  font-weight: 300;
  font-family: 'CommonGround_Normal';
  border: 1px solid #111;
  padding: 7px 12px;
  background-color: #f0f0f0;
  margin-bottom: 20px;
  position: relative;
  top: -5px;
}

a.license-btn:hover {
  background-color: #111;
  color: #f0f0f0;
}

#emuseum-menu .nav-link[title="About"] {
  order: 2;
}

.filter-wrapper .filter-header.toggleLabel {
  text-transform: uppercase;
  border-bottom: none;
}

.filter-group-toggle .toggleIcon:before {
  content: '+';
  font-weight: 500;
  font-family: "CommonGround_Normal" !important;
  font-size: 24px;
  position: relative;
  top: -5px;
}

.filter-group-toggle.toggleFieldOpen .toggleIcon:before {
  content: '-';
}

.emuseum-filters .qs-search-container {
  justify-content: left;
  margin-bottom: 40px;
}

.emuseum-filters .qs-search-container .twitter-typeahead {
  width: 100%;
}

.emuseum-filters .qs-search-container .emuseum-quicksearch input[type="text"] {
  width: 100%;
  margin-top: 15px;
}

.emuseum-filters .qs-search-container .emuseum-quicksearch input[type="text"]#quicksearchsuggest {
  background-image: url("https://ago.ca/themes/custom/de_theme/img/file_icons/search-black.png");
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: 16px center;
  padding-left: 38px;
}

.emuseum-filters .qs-search-container .emuseum-quicksearch input[type="submit"].butgo {
  display: none;
}

.emuseum-filters .qs-search-container .emuseum-quicksearch input[type="text"] {
  margin-top: 16px;
}

.twitter-typeahead input[type="text"]::placeholder {
  color: #ccc;
  font-weight: 400;
  font-family: "CommonGround Light", sans-serif;
}

.detailField {
  display: grid;
  grid-template-columns: 271px 1fr;
}

.detailField.titleField {
  display: block;
}

.detailField.locationsField {
  margin-top: 40px;
  font-family: "CommonGround DemiBold", sans-serif;
}

.detailField.locationsField .detailFieldValue {
  font-weight: 600;
}

.exhibitions-module.details-page .detailField.exhTitleField {
  display: flex;
}

.collections-text.collections-text-center {
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}

.collections-text.collections-text-center h2 {
  font-size: 29px;
  font-family: "CommonGround Bold", serif;
}

.collections-text.collections-text-center .intro,
.collections-text.collections-text-center p {
  font-size: 26px;
  line-height: 33px;
}

.emuseum-hero-center .emuseum-hero-content-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}

.advancedsearch-link {
  position: relative;
}

.collections-page .emuseum-hero .emuseum-hero-content a {
  background-color: transparent;
  color: #000;
  padding: 0;
  font-size: 26px;
  border: none;
  text-decoration: none;
}

.collections-page .emuseum-hero .emuseum-hero-content a::after {
  content: ">";
}

.research-text {
  margin: 80px 0 20px 0;
  font-size: 14px;
  line-height: normal;
}

.emuseum-mobile-filter-mode .emuseum-menu-toggle .fa-bars {
  display: none;
}

.emuseum-pager {
  margin-top: 16px;
}

/* When the li is the only child of the ul */
#exploreTabs > li:only-child a {
  pointer-events: none;
  cursor: default;
}

footer .em, footer .em.fab {
  font-family: "Font Awesome 6 Brands";
}

.onviewField .detailField.locationsField {
  margin: 0;
}

.onviewField .detailField.locationsField li {
  font-family: "CommonGround Regular", sans-serif;
}

.dimensionsField .detailFieldValue {
  line-height: 21px;
}

#cboxContent #cboxClose {
  right: 35px;
}

ul.comma-list {
  font-family: "CommonGround Regular", sans-serif;
}

.emuseum .ol-zoom,
.media-overlay .next,
.media-overlay .secondary-media-wrap .secondary-media-toggle {
  right: 49px;
}

.details-page.people-module .detailField {
  display: block;
}

.collections-page .emuseum-header {
  display: none;
}

.collections-page #emuseumMainWrap .emuseum-header {
  display: block;
}

.emuseum-mobile-menu-open .nav-link.active,
.emuseum-mobile-menu-open .emuseum-header-bar .emuseum-nav a.nav-link.active {
  border-bottom: none;
}

.emuseum-header .emuseum-nav {
  display: flex;
  gap: 32px;
  flex-wrap: nowrap;
}

.qs-search-container.mobile-search-container {
  display: none;
}

.header-grid {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.header-tabs-form:after {
  top: 45px;
}

.imagelicensing-page #collection-header-wrapper {
  margin-bottom: 0;
}

.imagelicensing-page .emuseum-header {
  padding: 30px 0;
}

.imagelicensing-page .nav-link.image-licensing-link {
  border-color: #111;
}

#em-back-to-top {
  z-index: 11;
}

#emuseum-menu-wrap {
  margin: 0 auto;
  display: block;
  width: 276px;
}

#em-back-to-top .fa-angle-up {
  position: relative;
  left: -2px;
  top: 1px;
}

.mirador-companion-area-far-bottom {
  display: none !important;
}

.emuseum-hero-content-wrap {
  height: auto;
}

.emuseum-hero {
  height: auto;
}

@media (max-width: 1199px) {
  #emuseum-menu-wrap {
    width: 133px;
  }
  .emuseum-hero-content-wrap {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 1019px) {
  #searchForm {
    display: grid;
    grid-template-columns: 1fr 68px;
    max-width: 100%;
  }
  .emuseum-filters #searchForm {
    display: block;
  }
  .qs-search-container .twitter-typeahead,
.qs-search-container .emuseum-quicksearch input[type="text"] {
    width: auto;
  }
  .collections-page .qs-search-container .twitter-typeahead,
.collections-page .qs-search-container .emuseum-quicksearch input[type="text"] {
    width: 100%;
  }
  .collections-page .emuseum-quicksearch > form {
    display: grid;
    grid-template-columns: 1fr 68px;
    max-width: 100%;
  }
  .emuseum-quicksearch > form {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .qs-search-container .emuseum-quicksearch-wrap {
    display: block;
  }
  .qs-search-container {
    display: block;
  }
  .qs-search-container .emuseum-quicksearch input[type="submit"].butgo {
    margin-top: 0;
  }
  #quicksearchsuggest {
    justify-self: stretch;
    background-color: #fff !important;
  }
}

@media (max-width: 991px) {
  .emuseum-header {
    margin: 0;
    padding: 40px 0;
  }
  .header-grid {
    justify-content: center;
  }
  .emuseum-menu-toggle {
    display: none;
    position: absolute;
    top: 115px;
    right: 20px;
    z-index: 1000;
  }
  .emuseum-menu-toggle .fa-bars {
    color: #000;
  }
}

@media (max-width: 979px) {
  .tb-megamenu-nav {
    flex-direction: column;
  }
  .tb-megamenu .btn-navbar {
    position: relative;
    top: 10px;
    margin-top: 0;
    background-repeat: no-repeat !important;
  }
  .tb-megamenu .btn-navbar:focus {
    margin-top: 0;
  }
  .tb-megamenu .btn-navbar, .tb-megamenu .btn-navbar:hover,
.tb-megamenu .btn-navbar:focus,
.tb-megamenu .btn-navbar:active,
.tb-megamenu .btn-navbar.active,
.tb-megamenu .btn-navbar.disabled,
.tb-megamenu .btn-navbar[disabled] {
    background: url("/ago/assets/skin/z381b5081/client/images/hamburger.svg");
    background-color: transparent;
  }
  .emuseum-header-bar .emuseum-header {
    margin-bottom: 0px;
  }
}

@media (max-width: 895px) {
  .emuseum-hero .emuseum-hero-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .sort-by-form .select-wrapper:before {
    top: 33%;
  }
}

@media (max-width: 767px) {
  .emuseum-menu-toggle {
    display: none;
  }
  .emuseum-header .emuseum-nav {
    padding-bottom: 10px;
  }
  .emuseum-header {
    padding: 40px 0 30px;
  }
}

@media (max-width: 738px) {
  .tb-megamenu .nav-collapse .caret {
    display: inline-block !important;
  }
}

@media (max-width: 703px) {
  .emuseum-header .menu-container {
    overflow: scroll;
    width: 100vw;
  }
}

@media (max-width: 607px) {
  .qs-search-container .emuseum-quicksearch input[type="submit"].butgo {
    font-size: 18px;
    margin-left: 0;
    height: 44px;
    width: 100%;
  }
  .hero-all-link a.emuseum-button {
    font-size: 18px;
    height: 44px;
  }
  .emuseum-hero .emuseum-hero-content a {
    padding-top: 7px;
  }
  .qs-search-container .twitter-typeahead,
.qs-search-container .emuseum-quicksearch input[type="text"] {
    height: 44px;
  }
  .emuseum-pager input[type="number"] {
    height: 33px;
    position: relative;
    top: -2px;
  }
  .qs-search-container .advancedsearch-link {
    padding-top: 18px;
  }
  .header-tabs-form:after {
    top: 37px;
  }
}

@media (max-width: 550px) {
  .collections-page .qs-search-container.mobile-search-container,
.collections-page .emuseum-quicksearch-wrap {
    width: 100%;
  }
  .collections-page #searchForm {
    grid-template-columns: 1fr 68px;
  }
  .collections-page .qs-search-container .advancedsearch-link {
    padding-top: 40px;
  }
  .collections-page .qs-search-container .emuseum-quicksearch input[type="submit"].butgo {
    display: block;
    border: 1px solid #ccc;
    z-index: 1;
  }
  .collections-page .research-text {
    margin-top: 380px;
  }
}

@media (max-width: 470px) {
  .detailField {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 411px) {
  .collections-page .emuseum-hero .emuseum-hero-title {
    font-size: 23px;
  }
  .collections-page .emuseum-hero {
    height: 126px;
  }
  .collections-page .qs-search-container .emuseum-quicksearch input[type="text"] {
    margin-top: 18px;
  }
  .collections-page .collections-text.collections-text-center {
    margin: 200px auto;
  }
}

@media (min-width: 992px) {
  .emuseum-header .emuseum-nav {
    display: flex;
    gap: 48px;
  }
  .collections-page #emuseumMainWrap .emuseum-hero .emuseum-header {
    display: block;
  }
  #emuseumMainWrap .emuseum-header {
    display: block;
  }
}

/*From the custom dispatcher: */
.emuseum-standard-grid .emuseum-img-grid .grid-item {
  text-align: left;
}

ul.comma-list {
  font-family: "CommonGround Regular", sans-serif;
}

.emuseum .ol-zoom,
.media-overlay .next,
.media-overlay .secondary-media-wrap .secondary-media-toggle {
  right: 49px;
}

.details-page.people-module .detailField {
  display: block;
}

footer .fab {
  font-family: "Font Awesome 6 Brands";
}

@media (min-width: 1200px) {
  .emuseum-hero-full-width.emuseum-hero-center .emuseum-hero-content {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 470px) {
  .detailField {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

a.ulan-link,
a.ulan-link:hover {
  text-decoration: underline;
}

.ulan-basic-data,
#altLabels ul {
  font-size: 16px;
}

#altLabels ul {
  font-family: "CommonGround Regular";
}

#basicData > div {
  margin: 10px 0;
}
