/* Custom style for custom Sponsors archive page */

*,
*:before,
*:after {
  box-sizing: border-box;
}
body strong {
  font-weight: 500;
}
body a {
  color: var(--main-button-color);
}
body a:hover,
body a:focus {
  color: var(--main-button-hover-color);
}
#ast-scroll-top.ast-scroll-top-icon {
  background-color: var(--main-theme-color);
}
#main-wrapper .content {
  background-color: #f7f9fc;
}
.exhibitor-list-section {
  padding: 20px 0 10px 0;
}
.row {
  max-width: 1200px;
  margin: 20px auto 0;
}
.content section:last-of-type .row {
  margin-bottom: 30px;
}
.row-separator-parent {
  padding: 1px;
  margin: 30px 20px 0 20px;
}
.row-separator-parent .separator {
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: #eaeaea;
  max-width: 100%;
  margin: 20px 0;
}
.list-wrapper {
  padding: 0 1.2rem;
}
/* Section titles */

.section-title-wrapper {
  margin: 1.3rem;
  text-align: center;
}
.section-title-wrapper .title-text {
  font-weight: 800;
  font-size: 3.2rem;
  text-transform: capitalize;
}
.section-title-wrapper .separator-parent {
  line-height: 0;
}
.section-title-wrapper .separator {
  margin: 1px 0 10px 0;
  border-top: 2px solid var(--main-alt-color);
  width: 10%;
  display: inline-block;
}
.section-title-wrapper .desc {
  margin: 0;
  padding: 0.6em;
  line-height: 1.5;
}
.section-title-wrapper .desc p {
  margin-bottom: 1.4rem;
}

/* ************* */
/*   SPONSOR LOOP */

.exhibitor-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, 21rem);
  justify-content: center;
  justify-items: center;
  gap: 1.7rem;
  width: 100%;
  margin: 1rem 0;
}

.col-4.exhibitor-wrapper {
  grid-template-columns: repeat(auto-fit, 16rem);
  gap: 1.2rem;
}
/*Single card, both manual loop and BB post */
.exhibitor-wrapper .exhibitor-card {
  transition: all 0.2s ease-in;
  box-shadow: 3px 3px 10px -1px rgb(0 0 0 / 27%);
  -webkit-box-shadow: 3px 3px 10px -1px rgb(0 0 0 / 27%);
  -moz-box-shadow: 3px 3px 10px -1px rgba(0, 0, 0, 0.27);
  border-radius: var(--global-card-border-radius);
  background: #ffffff;
  padding: 0;
  width: 100%;
  max-width: 25rem;
}
.col-4.exhibitor-wrapper .exhibitor-card {
  max-width: 19rem;
}
.exhibitor-wrapper .exhibitor-card:hover {
  transform: scale(1.016);
}
.exhibitor-card {
  overflow: hidden;
}
.exhibitor-card .image-content {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto;
  /* padding: 66.66667% 0 0; */
  aspect-ratio: 3 / 2;
}
.exhibitor-card .image-content > a {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.exhibitor-card .image-content img {
  /* position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%); */
  display: block;
  -webkit-transition: all 0.9s;
  transition: all 0.9s;
  /* width: 100%; */
  max-height: 100%;
  width: auto;
}
.exhibitor-card .image {
  line-height: 0;
  position: relative;
}
.exhibitor-card .exhibitor-content {
  padding: 1.2rem 1rem;
  background: #ffffff;
}
.exhibitor-card .exhibitor-content,
.exhibitor-card .exhibitor-social {
  text-align: center;
}
.exhibitor-card .exhibitor-content {
  overflow: hidden;
}
.exhibitor-card .exhibitorm-name,
.exhibitor-card .exhibitor-desgn,
.exhibitor-card .exhibitor-desc {
  overflow: hidden;
}
.exhibitor-card h4.exhibitor-name-text {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.3;
  font-family: var(--heading-font-family, Lato, Sans-serif);
}
.col-3 .exhibitor-card h4.exhibitor-name-text {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.3;
  font-family: var(--heading-font-family, Lato, Sans-serif);
}
.exhibitor-card .exhibitor-desgn-text {
  font-size: 1rem;
  line-height: 1.3;
  margin-top: 2px;
  margin-bottom: 5px;
}
.col-4 .exhibitor-card .exhibitor-desgn-text {
  font-size: 0.9rem;
  line-height: 1.3;
  margin-top: 2px;
  margin-bottom: 5px;
}
.exhibitor-card .exhibitor-desgn-text,
.exhibitor-card .exhibitor-desc-text {
  display: block;
}
.exhibitor-wrapper .exhibitor-card .exhibitor-desc-text {
  font-family: var(--heading-font-family, Lato, Sans-serif);
  font-weight: 900;
  font-size: 1.1em;
  line-height: 1.3;
  text-transform: uppercase;
  margin-top: 3px;
  margin-bottom: 10px;
}
.exhibitor-card .exhibitor-separator {
  font-size: 0;
  line-height: 0;
}
.exhibitor-card .separator-parent {
  text-align: inherit;
}
.exhibitor-card .separator {
  margin-top: 3px;
  margin-bottom: 10px;
}
.exhibitor-card .separator {
  border-top: 2px solid var(--main-theme-color);
  width: 12%;
  display: inline-block;
}

@media screen and (max-width: 768px) {
  .exhibitor-list-section .exhibitor-wrapper {
    grid-template-columns: 1fr;
  }
}
/* ***************** */
.exhibitor-card .sponsor-tag {
  position: absolute;
  width: 7em;
  height: auto;
  top: 0;
  right: 0;
  text-align: center;
  padding: 4px 5px;
  cursor: default;
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}
.exhibitor-card .sponsor-tag h5 {
  line-height: 1.1;
}

/* SEARCH & FILTER STYLING */
.filter-container .searchandfilter select {
  background-position: calc(100% - 10px) 50%;
  background-image: none;
  -webkit-appearance: auto;
  appearance: auto;
}

.filter-container .searchandfilter ul {
  display: flex;
  /* flex-direction:column; */
  justify-content: flex-end;
  flex-wrap: wrap;
  width: auto;
  margin-left: 0;
}

.filter-container .searchandfilter ul li {
  margin: 2px 10px 10px;
  max-width: 100%;
  padding: 0;
}

/* EXHIBITOR SORT ORDER */

.searchandfilter .sf-field-sort_order {
  padding-bottom: 0.2em;
}

.searchandfilter .sf-field-sort_order select.sf-input-select {
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  -khtml-border-radius: 0px;
  border-radius: 4px;
  border: 1px solid #999;
}
.searchandfilter .sf-field-sort_order select.sf-input-select:focus-visible {
  outline: #4a4a4a auto 1px;
}
.searchandfilter .sf-field-sort_order select {
  padding: 0.15em 1.8em 0.15em 0.5em;
  background-color: #fff;
  height: 30px;
  font-size: 16px;
}

/* SEARCH BAR */
.searchandfilter .sf-field-search {
  padding-bottom: 0.2em;
}
.searchandfilter .sf-field-search INPUT {
  border-radius: 4px;
  border: 1px solid #999;
}
.searchandfilter .sf-field-search .sf-input-text {
  background-color: #ffffff;
  padding: 0.15em 1.8em 0.15em 0.5em;
  height: 30px;
  font-size: 16px;
}

/* This is styling the search placeholder text*/
.searchandfilter .searchandfilter INPUT.sf-input-text::placeholder {
  color: #999;
}

/* This is adding the magnifying glass to the search box*/
.searchandfilter .sf-field-search::after {
  content: "\f002";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #030506;
  font-size: 14px;
  z-index: 10;
  /*+placement: -23px 0px;*/
  position: relative;
  left: -28px;
  top: 0px;
}
.searchandfilter .sf-field-search {
  padding: 10px 0;
  justify-content: end;
  text-align: right;
}
/* CATEGORY STYLING AS BUTTONS */

.searchandfilter .sf-field-taxonomy-exhibitor_category {
  padding-top: 0.2em;
  padding-bottom: 0.2em;
}
.searchandfilter .sf-field-taxonomy-exhibitor_category ul {
  flex-direction: row;
  justify-content: center;
}
.searchandfilter .sf-field-taxonomy-exhibitor_category ul li {
  margin: 0 5px;
}
.searchandfilter .sf-field-taxonomy-exhibitor_category {
  display: inline-block;
  margin-right: auto;
  margin-left: auto;
  flex-basis: 100%;
  flex-shrink: 0;
}
.searchandfilter .sf-field-taxonomy-exhibitor_category input[type="radio"] {
  opacity: 0;
  position: fixed;
  width: 0;
}
.searchandfilter .sf-field-taxonomy-exhibitor_category label {
  display: inline-block;
  background-color: var(--main-button-color);
  padding: 6px 12px;
  border-radius: calc(var(--global-button-border-radius) * 0.75);
  font-family: var(--heading-font-family, Lato, Sans-serif);
  font-size: 0.85em;
  font-weight: 500;
  letter-spacing: 0.3px;
  /* text-transform: uppercase; */
  color: #fff;
  cursor: pointer;
  line-height: 1.1;
  white-space: nowrap;
  opacity: 0.5;
}
.searchandfilter
  .sf-field-taxonomy-exhibitor_category
  input[type="radio"]:checked
  + label {
  /*background-color:var(--main-button-color);
      border-color: #000000;*/
  opacity: 1;
}
.searchandfilter
  .sf-field-taxonomy-exhibitor_category
  input[type="radio"]:checked
  + label::after {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  margin-left: 6px;
  font-weight: 900;
}
.searchandfilter
  .sf-field-taxonomy-exhibitor_category
  input[type="radio"]:focus
  + label,
.searchandfilter .sf-field-taxonomy-exhibitor_category label:hover {
  /*background-color: var(--main-button-color);*/
  opacity: 1;
}

/* END OF SEARCH&FILTER */
