/**
 * @file
 * custom.css
 * 
 * Layout and Theme styles for the entire site
 * 
 * -------------------------------------------------
 * Attached thru `.info.yml`
 *
============================================================================ */

/* Temp Fix */
.ui-dialog {
  z-index: 101;
}

/**
 * Global
=========================================*/

/* Brand: AVCC Brand Guidelines (Jan 2025)
   Gotham and Footlight MT Pro are unlicensed for web, so free OFL stand-ins:
   Gotham -> Montserrat, Footlight MT Pro -> Alegreya (600).
   Fonts load from letsgo.libraries.yml (Google Fonts), not from this file. */
:root {
  --avcc-teal: #014A60;      /* Inlet Teal - primary; 9.8:1 on white */
  --avcc-teal-dark: #013645; /* darker teal for footer depth (not in guide) */
  --avcc-cedar: #7D8E39;     /* Cedar Green - primary; 3.6:1 on white = large text/UI only */
  --avcc-gold: #CA962B;      /* Salmon Gold - secondary; never text on white (2.7:1) */
  --avcc-wave: #61AEBE;      /* Wave - tertiary */
  --avcc-dew: #F9FBE8;       /* Dew - tertiary */
  --avcc-sapling: #D7E151;   /* Sapling - tertiary; teal on sapling 6.9:1 */
  --avcc-grey: #59656B;      /* neutral for meta text; 6:1 on white */

  --avcc-sans: 'Montserrat', 'Gotham', Arial, sans-serif;
  --avcc-serif: 'Alegreya', 'Footlight MT Pro', Georgia, serif;
}

html,
body {
  font-family: var(--avcc-sans);
  line-height: 1.6;
  font-size: 16px;
  color: #1F2A30;
}

a {
  color: var(--avcc-teal);
}

/* Headings - fluid type scale (mobile -> desktop, ~1.25 ratio)
   H1 serif 40-56px / H2 sans 26-32px / H3 sans 20-24px */
h1 {
  margin: 0 0 3rem;
  font-family: var(--avcc-serif);
  font-weight: 600;
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
  color: var(--avcc-teal);
}

h2 {
  font-family: var(--avcc-sans);
  font-weight: 600;
  font-size: clamp(1.625rem, 1.4rem + 0.9vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--avcc-sans);
  font-weight: 600;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  line-height: 1.3;
}

/*----------------------------
   Gutenberg
  ----------------------------*/
.wp-block {
  max-width: none;
}

/* Embed Wrapper */
.wp-block-embed-youtube {
  margin: 0 auto;
  width: 90%;
  max-width: 45em;
}

.wp-block-embed-youtube .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  margin: 3em auto 2em;
}

.wp-block-embed-youtube .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* .fb_iframe_widget span,
.fb_iframe_widget iframe {
  height: 20em !important;
} */

html:not(.window-loaded) .lazy-load--bk {
    background-image: none !important;
    background-color: #000;
}

/* Style Links */
.wp-block-button__link {
  background: var(--avcc-teal);
  border-radius: 0.1em;
  font-family: var(--avcc-sans);
}

.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
  background: var(--avcc-sapling);
  color: var(--avcc-teal);
}

:focus-visible {
  outline: 3px solid var(--avcc-teal);
  outline-offset: 2px;
}

.buttons-bigger .wp-block-button__link {
  font-size: 1.5em;
}

/* Separators */
.wp-block-separator {
  margin: 3em 0;
}

/* Restrict width */
.node-content-restricted-width,
.path-not-front .node__content {
  max-width: 65em;
  margin: 0 auto;
}

/*----------------------------
    Elements
  ----------------------------*/

/* Pargraphs */
.wp-block-drupal-section p {
  color: #333;
  font-size: 1.1rem;
}

/* Prefix Text */
div p.prefix-text,
.prefix-text {
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--avcc-cedar); /* 19px bold = large text, 3.6:1 passes */
  font-weight: 700;
  letter-spacing: 2px;
}

p.prefix-text--green,
.prefix-text--green,
.wp-block-cover p.prefix-text--green {
  color: var(--avcc-cedar);
}

.wp-block-cover p.prefix-text--green {
  color: var(--avcc-sapling); /* on dark cover imagery */
}

h2,
h3,
.section__title {
  color: var(--avcc-teal);
}

.wp-block-cover h2.has-text-color {
  color: inherit;
}

.section__title {
  margin: 0;
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: clamp(1.625rem, 1.4rem + 0.9vw, 2rem);
  line-height: 1.25;
  font-weight: 600;
}

/* For News + Events */
.small-text {
  color: var(--avcc-grey);
  font-weight: 500;
}

/* Buttons */
.wp-block-button.is-style-outline .wp-block-button__link,
a.wp-button {
  color: var(--avcc-teal);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--avcc-teal);
  padding: 1rem 1.8rem;
  border-radius: 2rem;
  display: inline-block;
  text-align: center;
  background: #fff;
}

.wp-block-button.is-style-outline .fp-section__action {
  padding: 1em 2.3em;
}

.field-name-field-date-w-end {
    margin-bottom: 1.5em;
}

/**
 * Regions
 ========================================*/

/*----------------------------
   Header
  ----------------------------*/
html .header-inner {
  padding-top: 1em;
  position: relative;
  padding-bottom: 1em;
}

/* Logo */
.site-logo {
  max-height: 5em;
  width: auto;
}

/* Member Login */
.member-login {
  padding: 0.7em;
  color: var(--avcc-grey);
}

/* Top Menu */
.header-second-inner {
  display: flex;
}

.menu-name--top-menu li a {
  padding: 0.9em 1em;
  color: var(--avcc-grey);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85em;
}

.menu-name--top-menu li:last-child a {
  background: var(--avcc-teal);
  color: #fff;
  margin-left: 1.2em;
}

/* Main Menu */
.menu-bar {
  margin: 0 0 0 1em;
}

#superfish-main span.sf-depth-1 {
  padding: 1em 0.7em;
  font-weight: 500;
  color: var(--avcc-teal);
  font-size: 1.1em; /* Montserrat runs wider than Roboto */
}

#superfish-main span.sf-with-ul {
  padding-right: 1.8em;
}

#superfish-main .sf-sub-indicator:after {
  content: '\203a';
  transform: rotate(90deg);
  right: 0;
  font-weight: bold;
}

#superfish-main .sfHover ul {
  background: #fff;
  top: 100%;
}

/* Fix z-index for Drupal dialogs */
ul.sf-menu li {
  z-index: 100;
}

/* Hide Top Menu on mobile */
#block-top-menu {  display: none;  }

/* Responsive Styles */
@media (min-width: 1141px) {
  html .header-inner {
    flex-wrap: nowrap;
    align-items: center;
  }
  
  /* Menu Bar */
  .menu-bar {
    margin: 0 auto 0 2%;
  }

  /* Top Menu */
  .header-second {
    position: absolute;
    top: 0;
    right: 0;
  }
  
  #block-top-menu {  display: block;   }
}

@media (min-width: 521px) {
  .header-second {  margin-left: auto;  }
}

@media (max-width: 520px) {
  .header-first {
    min-width: 100%;
    text-align: center;
    margin: 0 0 1em;
  }

  .header-inner {
    justify-content: center;
    margin: 0 0 0.5em;
  }
}

/* Toggles */
.sf-accordion-toggle.sf-style-none a {
  padding: 0.4em 0.6em;
  border: 2px solid;
}

#superfish-main-toggle {
  color: #666;
}

/* Drop down */
#superfish-main-accordion {
  position: absolute;
  background: #333;
  right: 0;
  color: #fff;
  min-width: 15em;
}

#superfish-main-accordion ul {
  background: #222;
  overflow: hidden;
}

#block-main-menu-header { /* Set the drop down relative to menu link */
  position: relative;
}

ul.sf-menu .sf-sub-indicator { /* Fix the corners being cut off */
  width: 13px;
}

/*----------------------------
   Content / Sidebar
  ----------------------------*/

body:not(.node--type-page) .main {
  border-top: 1px solid #f3eeee;
  padding-top: 4rem;
}

body.node--type-page .main,
/* Remove border for nodes with header view */
body.node--type-news .main,
body.node--type-events .main {
  border-top: none;
  padding-top: 0;
}

.main {
  padding-bottom: 8rem;
}

.has-sidebar .layout-content {
  max-width: 53em;
}

.layout-sidebar-second {
  width: 23em;
}

/* .layout-sidebar-second img {
  /* TODO: remove once read ad images are in * /
  width: 300px;
} */


/* Statistics */
.node__content ul.links {
  margin: 1em 0 2em;
}

/*----------------------------
   Subfooter
  ----------------------------*/

.subfooter {
  background: var(--avcc-teal);
  color: #fff;
  padding: 5em 0 4em;
}

/* Logo + Information */
.subfooter-1 {
  min-width: 100%;
  margin: 0 0 2em;
}

@media (min-width: 951px) {
  .subfooter-1 {
    min-width: auto;
    max-width: 21em;
    margin-right: 10%;
  }
}

#block-subfooter-bio {
  color: #B7BCC1; /* was #6f7883: 2.2:1 on teal */
  margin: 1em 0 0;
}

#block-subfooter-bio strong {
  width: 3.5em;
  display: inline-block;
}

#block-subfooter-bio a {
  color: #ccc;
}

.subfooter-info__description {
  padding-top: 1em;
}


/* Footer - Main Menu */
.subfooter-2 {
  flex: 1;
}

.subfooter .menu__item {
  display: block;
  color: #B7BCC1;
  margin: 0.3em 0;
}

.subfooter .is-parent {
  margin-bottom: 3em;
}

.subfooter .is-parent:before,
.subfooter .is-parent>span {
  content: '/ ';
  color: var(--avcc-sapling);
  font-weight: 700;
  font-size: 1.15em;
}

.subfooter .is-parent .is-parent:before,
.subfooter .is-parent .is-parent>span {
  content: '';
  font-size: 1em;
}

.subfooter-visitor-logo__link:not(:hover) {
  opacity: 0.7;
}


@media (min-width: 550px) {
  .subfooter .is-parent {
    float: left;
    width: 48%;
    margin-right: 2%;
    margin-bottom: 3em;
  }

  /* Visitor Logo */
  .subfooter-visitor-logo__link {
    max-width: 40%;
    width: 13em;
    float: left;
  }
}

@media (max-width: 750px) {
  .subfooter .is-parent:nth-child(2n+1) {
    /* TEMP */
    clear: left;
  }
}

@media (min-width: 751px) {
  .subfooter .is-parent {
    float: left;
    width: 32%;
  }

  .subfooter .is-parent .is-parent {
    width: 100%;
    margin: 0.5em 0.7em;
  }

  .subfooter .is-parent:nth-child(3n) {
    width: 31%;
    margin-right: 0;
  }

  .subfooter .is-parent:nth-child(3n+1) {
    /* TEMP */
    clear: left;
  }

  /* Visitor Logo */
  .subfooter-visitor-logo__link {
    max-width: 31%;
  }
}

/*----------------------------
   Footer
  ----------------------------*/
.footer {
  padding: 1.5em 0 0.5em;
  color: #ccc;
  background: var(--avcc-teal-dark);
  font-size: 0.95em;
}

/**
 * Sections
 ========================================*/

/*----------------------------
   Search Results
  ----------------------------*/
.path-search .block-plugin-id--system-main-block ol {
  list-style: none;
  margin: 0;
}

.path-search .block-plugin-id--system-main-block ol li {
  margin-bottom: 2em;
}

/*----------------------------
   Header Image
  ----------------------------*/

.inside-header__content {
  padding-bottom: 2em;
  padding-top: 3.5rem;
  border-bottom: 3px solid var(--avcc-cedar);
  margin-bottom: 3.5em;
}

/* H1 carries .prefix-text; undo the eyebrow styling so it reads as the title */
.inside-header__title,
.inside-header__title.prefix-text {
  margin: 0 0 0.75rem;
  font-family: var(--avcc-serif);
  font-weight: 600;
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
  color: var(--avcc-teal);
}

/* H2 is a per-page subtitle (some run 60+ characters), so it sits below the H1 */
.inside-header__text.section__title {
  max-width: 40em;
  font-family: var(--avcc-sans);
  font-weight: 500;
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  color: var(--avcc-grey);
}

.inside-header__text:empty {
  display: none;
}

@media (max-width: 60em) {

  .inside-header__image {
    max-height: 20em;
    overflow: hidden;
  }
  
  .inside-header__image div{
    background: #6f7883;
    line-height: 0;
    padding-bottom: 30.5%;
    position: relative;
  }
  
  .inside-header__image img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }  
}


/*----------------------------
   Member Spotlight
  ----------------------------*/
.member-spotlight {
  padding: 5em 0 7em;
  background: var(--avcc-dew); /* cedar eyebrow on dew 3.5:1 (was 2.7:1 on #E0E0E0) */
}

.member-spotlight__section-title {
  margin: 1em 0 3em;
}

.member-spotlight__image {
  margin: 0 0 2em;
}
    
.member-spotlight__info {
  overflow-wrap: break-word;
  overflow-wrap: anywhere;
}

.member-spotlight__contact_name {
  font-size: 2.5em;
}

@media (min-width: 1001px) {
  .member-spotlight__content {
    flex-wrap: nowrap;
  }

  .member-spotlight__image {
    min-width: 50%;
    margin: 0 7em 0 0;
  }
    
  .member-spotlight__info {
    flex-basis: 50%;
  }

  .member-spotlight__contact_name {
    font-size: 3em;
  }
}

.member-spotlight__business_name {
  margin: 0.5rem 0 3rem;
  color: var(--avcc-teal);
  font-weight: 700;
}

.member-spotlight__action {
  margin: 2em 0 0;
}

/*----------------------------
   Staff icon
  ----------------------------*/
.staff .views-row {
  margin: 0 auto 2.5em;
  padding: 0 1em 0;
  text-align: center;
  letter-spacing: 2px;
  width: 100%;
}

.staff .views-row--empty-spacer {
  margin-bottom: 0;
}

.staff__category-title {
  min-width: 100%;
  padding: 0 .5em 0;
  font-size: 2em;
  color: var(--avcc-cedar);
  text-align: left;
}

.staff__title {
  color: #2a2a2a;
  margin: 0.7em 0 .1em;
  letter-spacing: 2px;
  text-transform: uppercase;
  font: 700 1.1em/1.2 var(--avcc-sans);
}

.staff__position {
  font-weight: bold;
  color: var(--avcc-grey);
  font-size: .9em;
  text-transform: uppercase;
}

.staff-image__text {
  top: auto;
  left: auto;
  bottom: 1em;
  right: 1em;
}

.staff__icon {
  text-align: center;
  text-transform: none;
  font-size: 1.4em;
  text-decoration: none;
  display: inline-block;
  width: 1.7em;
  height: 1.7em;
  line-height: 1.65;
  border-radius: 50%;
  color: #fff;
  background: var(--avcc-cedar);
  text-indent: 1px;
}

.staff__icon:hover {
  background: var(--avcc-teal);
  color: #fff;
}

.staff__icon--bio {
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
}

.staff-cBox__image {
  margin: .5em 1.5em 1.5em .5em;
  flex-basis: 20em;
}

.staff-cBox__content {
  flex: 1;
  margin: .5em;
}

.staff-cBox__title,
.staff-cBox__email {
  float: left;
  margin-right: 1em;
}

/*----------------------------
   Private Files
  ----------------------------*/
.view--grid-grouped .view-content>h2,
.view--grid-grouped .view-content>h3 {
  min-width: 100%;
  margin: 4rem 0 2rem;
}

.view--grid-grouped .views-row {
  width: 13em;
  text-align: center;
}

.view--grid-grouped .views-field-title {
  margin: 1.3rem 0.5rem;
}

/*----------------------------
   Member Profile - Node
  ----------------------------*/
body.node--type-directory .main {
  padding-top: 4rem;
}

/* Sidebar */
.member-sidebar {
  padding: 2em;
  border: 1px solid #ccc;
}

.member-sidebar__logo {
  margin: 0 0 1.5em;
}

.member-sidebar__address {
  margin: 0 0 2em;
}

.member-sidebar__contact {
  margin: 0 0 0.4em;
  color: #333;
}

.member-sidebar__list-items {
  list-style: none;
  margin: 0 0 2em;
}

.member-sidebar__list-item {
  margin: 0 0 0.7em;
}

.member-sidebar__list-item i {
  margin: 0 0.7em 0 0;
  font-size: 1em;
  color: #666;
}

.member-sidebar__socials {
  color: #fff;
}

.member-sidebar__socials a {
  width: 2em;
  height: 2em;
  text-align: center;
  line-height: 2;
  font-size: 1.4em;
  border-radius: 50%;
  background: #979db3;
  margin: 0 0.5em 0 0;
}

.member-sidebar__socials i {
  vertical-align: middle;
}

.field-node--field-tagline {
  color: #666;
  margin: 0 0 2em;
}

/*----------------------------
   Events & News - Nodes
  ----------------------------*/
.node--type-news .field-node--field-thumbnail,
.node--type-events .field-node--field-thumbnail {
  margin: 0 0 2em;
  text-align: center;
}

.node--type-news .b-lazy,
.node--type-news .b-responsive {
  display: inline-block;
}

[src="/sites/default/files/default_images/AVCC-Logo-Badge-FullColour.png"] {
  max-width: 200px;
}

/*----------------------------
   Events - All
  ----------------------------*/

.event-section-title {
  color: var(--avcc-cedar);
}

.event-listing__title {
  font-size: 1.4em;
  margin: 0 0 1.5em;
}

.event-listing__date {
  margin: 0.4em 0;
}

.event-listing__content {
  padding: 0 0.4rem;
}

.view--grid-3 .views-row {
  width: 100%;
}

@media (min-width: 40em) {
  .view--grid-3 .views-row {
    max-width: calc(50% - 1.6em);
  }
}

@media (min-width: 60em) {
  .view--grid-3 .views-row {
    max-width: calc(33.33% - 1.6em);
  }
}

@media (min-width: 80em) {
  .view--grid-3 .views-row {
    max-width: calc(25% - 2.5em);
  }
}

/**
 * Add to Any
 */
#block-addtoanybuttons {
  margin: 3em 0 0;
}

/**
 * Buy Tickets Form
=========================================*/
[data-paypal-checkout-webform-id] {
  max-width: 30em;
}

/* Tickets */
.form-item-tickets tr+tr {
  border-top: 0em solid transparent;
}


/* Restyle the add/remove buttons */
#tickets_table td {
  display: block;
  position: relative;
}

#tickets_table .webform-multiple-table--operations {
  margin: 0 auto -0.45em;
  background: #fff;
}

#tickets_table tr:last-child .webform-multiple-table--operations {
  margin: 0 auto -0.75em;
}

/* Fix margin */
.form--cworks-registration .form-item-tickets {
  margin-top: 0;
}

/* Fix placement of registration form */
.cworks-registration-form {
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
  max-height: 100%;
  max-width: 100%;
}

.cworks-registration-submissions {  max-width: 100%;  }

/* Registration Buttons */
.event-registration-buttons {
  margin: 3em 0 0;
  justify-content: center;
}

#page .cworks-button-wrapper--form {
  margin: 0 2em 1em 0;
}

#page .cworks-button--form {
  background: var(--avcc-teal);
  color: #fff;
  margin: 0 0 0.4em;
  font-size: 1.2em;
}

.cworks-button--disabled {  pointer-events: none;  } /* For Tickets not available */

/* Style the detail elements in the Available Ticket popup */
details {
  margin-top: 1em;
  margin-bottom: 1em;
  border: 1px solid #bfbfbf;
  border-radius: 3px;
  background-color: #fcfcfa;
  padding: 0.75em 1em;
}
details summary {
  cursor: pointer;
  text-shadow: 0 1px 0 white;
}

details summary:hover,
details summary:focus,
details[open] > details summary {
  text-decoration: underline;
}

.cworks-submission-header__section {
  margin: 1em 0;
}

.cworks-submission-header__label {
  font-weight: bold;
}

/**
 * Purchased Ticket Table
=========================================*/
.cworks-registration-submissions div.ui-dialog-content,
.cworks-registration-submissions .contextual-region {
  position: static;
}

#drupal-modal .tickets-purchased-printing {
  padding-bottom: 8em;
}

.tickets-purchased-printing .view-footer a:after {
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23fff' d='M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z'%3E%3C/path%3E%3C/svg%3E");  display: block;
  width: 2em;
  height: 2em;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -1em;
  transform-origin: bottom;
}

.tickets-purchased-printing .view-footer a {
  width: 4em;
  height: 4em;
  background: var(--avcc-teal);
  border-radius: 50%;
  position: absolute;
  bottom: 3em;
  right: 3em;
  text-indent: 99em;
  overflow: hidden;
  white-space: nowrap;
}

.tickets-purchased-printing .view-footer a:focus:after {
  -webkit-animation-name: bounce-7;
          animation-name: bounce-7;
  -webkit-animation-timing-function: cubic-bezier(0.280, 0.840, 0.420, 1);
          animation-timing-function: cubic-bezier(0.280, 0.840, 0.420, 1);
        -webkit-animation-duration: 2s;
                animation-duration: 2s;
}

@-webkit-keyframes bounce-7 {
  0%   { transform: scale(1,1)      translateY(0); }
  10%  { transform: scale(1.1,.9)   translateY(0); }
  30%  { transform: scale(.9,1.1)   translateY(-2em); }
  50%  { transform: scale(1.05,.95) translateY(0); }
  57%  { transform: scale(1,1)      translateY(-7px); }
  64%  { transform: scale(1,1)      translateY(0); }
  100% { transform: scale(1,1)      translateY(0); }
}

@keyframes bounce-7 {
  0%   { transform: scale(1,1)      translateY(0); }
  10%  { transform: scale(1.1,.9)   translateY(0); }
  30%  { transform: scale(.9,1.1)   translateY(-2em); }
  50%  { transform: scale(1.05,.95) translateY(0); }
  57%  { transform: scale(1,1)      translateY(-7px); }
  64%  { transform: scale(1,1)      translateY(0); }
  100% { transform: scale(1,1)      translateY(0); }
}

/**
 * Nomination Form
=========================================*/
.form--nominations input[type="checkbox"] {
  height: auto;
}

.form--nominations .webform-tableselect-sort td {padding: 0.5em 0 0.3em 0.5em;line-height: 1;}

.form--nominations .webform-tableselect-sort .form-item {
  margin: 0;
}

a.tabledrag-handle .handle {
  box-sizing: content-box;
}

/* .js-form-type-checkbox {
  display: none;
} */

.form--nominations .webform-tableselect-sort {
    counter-reset: rowNumber;
}

.form--nominations .webform-tableselect-sort tr td:nth-child(2):before {
    counter-increment: rowNumber;
    content: counter(rowNumber) '.';
    min-width: 1em;
    margin-right: 0.5em;
}

.form--nominations .webform-tableselect-sort tr:nth-child(n+4) {
  opacity: 0.5;
}

.form--nominations .webform-tableselect-sort tr:nth-child(n+4) td:nth-child(2):before {
  content: ' ';
}


/*----------------------------
  Search Results
  */
.view-search-content {
  max-width: 60em;
}

.view-search-content .views-field-body,
.view-search-content .views-row {
  margin: 1em 0 1em;
}

ul.news-author {
  color: var(--avcc-grey);
  font-weight: bold;
  font-size: .9em;
  text-transform: uppercase;
  margin-bottom: 1em;
}

.news-author li a {
  color: var(--avcc-teal);
}

.news-author li:after {
  content: '\2022';
  margin: .5em;
}

.news-author li:last-child:after {
  display: none;
}

.news-articles .views-field-body {
  margin: 1.5em 0 1em;
}

.news-articles .views-field-body p {
  margin: .5em 0;
}
