/* ==========================================================================
   BASE STYLES
   ========================================================================== */

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  color: #0A0A0A;
  font-size: 16px;
  margin: 0px;
}

h1 {
  margin: 0 0 40px;
  font-family: 'Open Sans', sans-serif;
  font-size: 2.5em;
}

h3 {
  margin: 0 0 20px;
}

p {
  margin: 0 0 20px;
}

a {
  text-decoration: none;
  transition: .4s;
}

/* ==========================================================================
   GALLERY DEFAULT STYLES
   ========================================================================== */

.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.row {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
}

.column {
  width: 25%;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 275px;
}

.column img {
  margin-bottom: 10px;
}

.column h3 {
  margin-bottom: 10px;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 200;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: transparent;
  color: white;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 800px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 35px;
  right: 45px;
  font-size: 36px;
  font-weight: bold;
  height: 45px;
  width: 45px;
  line-height: 38px;
  text-align: center;
  border-radius: 50%;
  border: 2px solid white;
  transition: .4s;
}

.close:hover,
.close:focus {
  color: #0a0a0a;
  background-color: white;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
  width: 800px;
  margin: 0 auto;
}

.mySlides h3,
.mySlides p {
  text-align: center;
}

.mySlides h3 {
  margin: 20px 0 10px;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  background-color: transparent;
  border: 2px solid white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: -100px;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: -100px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(255, 255, 255, 0.8);
  color: #0a0a0a;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 16px;
  padding: 8px 12px;
  position: absolute;
  top: -35px;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

img.width500 {
  width: 500px;
  margin: 0 auto;
  display: block;
}


/* ==========================================================================
   Enter a Score default styles
   ========================================================================== */

   #measurer-text ul{
    padding-left:20px;
   }

   #measurer-text li{
    margin-bottom:5px;
   }


/* ==========================================================================
   DESKTOP STYLES (min-width: 1100px)
   ========================================================================== */

@media (min-width: 1100px) {

  .container {
    width: 1100px;
    margin: 0 auto;
  }

  .content {
    padding: 80px 0;
  }

  /* --------------------------------------------------------------------------
     HEADER & NAVIGATION - DESKTOP
     -------------------------------------------------------------------------- */

  #navContainer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #f5f7f7;
    border-bottom: 1px solid #d0d0d0;
  }

  #navContainer .nwrb-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  #navContainer .nwrb-logo {
    flex-shrink: 0;
  }

  #navContainer .nwrb-logo img {
    height: 60px;
    width: auto;
    display: block;
  }

  /* Desktop Nav List */
  #navContainer .nwrb-desktop-nav {
    display: block;
  }

  #navContainer .nwrb-nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #navContainer .nwrb-nav-list > li {
    position: relative;
  }

  /* Base link styles - unified for all nav items */
  #navContainer .nwrb-nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 12px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 4px;
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  /* Unified hover state for ALL nav items */
  #navContainer .nwrb-nav-list > li > a:hover,
  #navContainer .nwrb-nav-list > li > a:focus {
    color: #fff;
    background-color: #4f82e9;
  }

  #navContainer .nwrb-nav-list > li > a i {
    font-size: 9px;
    opacity: 0.5;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  #navContainer .nwrb-nav-list > li > a:hover i,
  #navContainer .nwrb-nav-list > li > a:focus i {
    opacity: 0.8;
  }

  /* Featured links - same base style but with accent color */
  #navContainer .nwrb-featured {
    color: #4f82e9 !important;
  }

  #navContainer .nwrb-featured:hover,
  #navContainer .nwrb-featured:focus {
    color: #fff !important;
    background-color: #4f82e9 !important;
  }

  /* Hide mobile elements */
  #navContainer .nwrb-mobile-toggle,
  #navContainer .nwrb-mobile-nav,
  #navContainer .nwrb-mobile-overlay {
    display: none !important;
  }

  /* --------------------------------------------------------------------------
     DROPDOWN MENUS - DESKTOP
     -------------------------------------------------------------------------- */

  #navContainer .nwrb-dropdown {
    position: relative;
  }

  #navContainer .nwrb-dropdown-trigger {
    cursor: pointer;
  }

  /* Hover state for dropdown trigger when menu is open */
  #navContainer .nwrb-dropdown:hover > .nwrb-dropdown-trigger,
  #navContainer .nwrb-dropdown:focus-within > .nwrb-dropdown-trigger {
    color: #fff;
    background-color: #4f82e9;
  }

  #navContainer .nwrb-dropdown:hover > .nwrb-dropdown-trigger i,
  #navContainer .nwrb-dropdown:focus-within > .nwrb-dropdown-trigger i {
    transform: rotate(180deg);
    opacity: 0.8;
  }

  /* Dropdown Menu Panel - centered by default */
  #navContainer .nwrb-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 200px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    background: #1c2127;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255,255,255,0.05);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 150;
  }

  /* Hover bridge - invisible element to maintain hover */
  #navContainer .nwrb-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
  }

  #navContainer .nwrb-dropdown:hover > .nwrb-dropdown-menu,
  #navContainer .nwrb-dropdown:focus-within > .nwrb-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  /* Right-aligned dropdown - for items near right edge (like About) */
  #navContainer .nwrb-dropdown-right > .nwrb-dropdown-menu {
    left: auto;
    right: 0;
    transform: translateY(8px);
  }

  #navContainer .nwrb-dropdown-right:hover > .nwrb-dropdown-menu,
  #navContainer .nwrb-dropdown-right:focus-within > .nwrb-dropdown-menu {
    transform: translateY(0);
  }

  /* Dropdown Links - unified styling for ALL dropdowns */
  #navContainer .nwrb-dropdown-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 400;
    transition: background 0.15s ease, color 0.15s ease;
  }

  #navContainer .nwrb-dropdown-menu > li > a:hover,
  #navContainer .nwrb-dropdown-menu > li > a:focus {
    color: #fff;
    background: #4f82e9;
  }

  #navContainer .nwrb-dropdown-menu > li > a i {
    font-size: 9px;
    opacity: 0.5;
    margin-left: 10px;
    transition: transform 0.15s ease, opacity 0.15s ease;
  }

  #navContainer .nwrb-dropdown-menu > li > a:hover i,
  #navContainer .nwrb-dropdown-menu > li > a:focus i {
    opacity: 1;
    transform: translateX(2px);
  }

  /* --------------------------------------------------------------------------
     NESTED SUBMENU (Record Gallery) - DESKTOP
     Opens to the RIGHT, matching the arrow direction
     -------------------------------------------------------------------------- */

  #navContainer .nwrb-has-submenu {
    position: relative;
  }

  #navContainer .nwrb-submenu {
    position: absolute;
    top: -8px;
    left: 100%;
    min-width: 220px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    background: #1c2127;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255,255,255,0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 160;
  }

  /* Hover bridge for submenu - connects to parent */
  #navContainer .nwrb-submenu::before {
    content: '';
    position: absolute;
    top: 0;
    left: -12px;
    bottom: 0;
    width: 12px;
  }

  #navContainer .nwrb-has-submenu:hover > .nwrb-submenu,
  #navContainer .nwrb-has-submenu:focus-within > .nwrb-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  #navContainer .nwrb-submenu li a {
    display: block;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 400;
    transition: background 0.15s ease, color 0.15s ease;
  }

  #navContainer .nwrb-submenu li a:hover,
  #navContainer .nwrb-submenu li a:focus {
    color: #fff;
    background: #4f82e9;
  }

  /* --------------------------------------------------------------------------
     MEGA MENU (Past Results) - DESKTOP
     -------------------------------------------------------------------------- */

  #navContainer .nwrb-dropdown-mega {
    position: static;
  }

  #navContainer .nwrb-mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 660px;
    max-width: calc(100vw - 48px);
    padding: 0;
    background: #1c2127;
    border-radius: 8px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255,255,255,0.05);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 150;
  }

  /* Hover bridge for mega menu */
  #navContainer .nwrb-mega-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
  }

  #navContainer .nwrb-dropdown-mega:hover > .nwrb-mega-menu,
  #navContainer .nwrb-dropdown-mega:focus-within > .nwrb-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  #navContainer .nwrb-mega-inner {
    display: flex;
    padding: 24px;
    gap: 28px;
  }

  #navContainer .nwrb-mega-column {
    flex: 1;
    min-width: 0;
  }

  #navContainer .nwrb-mega-column h4 {
    color: #4f82e9;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(79, 130, 233, 0.25);
  }

  #navContainer .nwrb-mega-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #navContainer .nwrb-mega-column ul li a {
    display: block;
    padding: 7px 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    border-radius: 4px;
    transition: background 0.15s ease, color 0.15s ease;
  }

  #navContainer .nwrb-mega-column ul li a:hover,
  #navContainer .nwrb-mega-column ul li a:focus {
    color: #fff;
    background: #4f82e9;
  }

  /* Mega Menu CTA */
  #navContainer .nwrb-mega-cta {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  #navContainer .nwrb-all-time-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(79, 130, 233, 0.15);
    border: 1px solid rgba(79, 130, 233, 0.3);
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
  }

  #navContainer .nwrb-all-time-btn i {
    color: #4f82e9;
    font-size: 16px;
    transition: color 0.2s ease;
  }

  #navContainer .nwrb-all-time-btn:hover,
  #navContainer .nwrb-all-time-btn:focus {
    background: #4f82e9;
    border-color: #4f82e9;
  }

  #navContainer .nwrb-all-time-btn:hover i,
  #navContainer .nwrb-all-time-btn:focus i {
    color: #fff;
  }

  /* --------------------------------------------------------------------------
     SMALL DESKTOP ADJUSTMENTS (1100px - 1279px)
     Tightens spacing when viewport is narrower but still desktop
     -------------------------------------------------------------------------- */

  @media (max-width: 1279px) {
    #navContainer .nwrb-header-inner {
      padding: 8px 16px;
    }

    #navContainer .nwrb-logo img {
      height: 44px;
    }

    #navContainer .nwrb-nav-list {
      gap: 0;
    }

    #navContainer .nwrb-nav-list > li > a {
      padding: 9px 10px;
      font-size: 12px;
    }

    #navContainer .nwrb-mega-menu {
      width: 630px;
      left:20%;
    }

    #navContainer .nwrb-mega-inner {
      padding: 20px;
      gap: 20px;
    }

    #navContainer .nwrb-mega-column ul li a {
      padding: 6px 8px;
      font-size: 12px;
    }

    #navContainer .nwrb-mega-column-cta {
      padding-top: 20px;
    }

    #navContainer .nwrb-all-time-btn {
      padding: 12px 16px;
      font-size: 12px;
    }
  }

  /* --------------------------------------------------------------------------
     HERO - DESKTOP
     -------------------------------------------------------------------------- */

  #hero-slideshow {
    padding: 0px;
    margin-top: 74px;
  }

  .homepage-slideshow .container {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    height: 90%;
    text-align: center;
  }

  .homepage-slideshow h1 {
    text-transform: uppercase;
    font-size: 3em;
    width: 800px;
  }

  #slide-1 {
    background: url(images/sheep-hero.jpg) no-repeat center;
    background-size: cover;
    color: white;
    height: 700px;
  }

  #slide-2 {
    background: url(images/deer-hero.jpg) no-repeat center;
    background-size: cover;
    color: white;
    height: 700px;
  }

  #slide-2 p {
    margin-bottom: 40px;
    font-size: 2em;
    width: 700px;
  }

  #slide-3 {
    background: url(images/rocks-hero.jpg) no-repeat center;
    background-size: cover;
    color: white;
    height: 700px;
  }

  #homepage-checklist {
    margin-bottom: 40px;
    font-size: 2em;
    text-align: left;
  }

  a.purchase-btn {
    padding: 15px 30px;
    color: #4f82e9;
    background-color: white;
    border: 2px solid white;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
  }

  a.purchase-btn:hover {
    color: white;
    background-color: #4f82e9;
  }

  /* Fading animation */
  .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1s;
    animation-name: fade;
    animation-duration: 1s;
  }

  @-webkit-keyframes fade {
    from { opacity: .4 }
    to { opacity: 1 }
  }

  @keyframes fade {
    from { opacity: .4 }
    to { opacity: 1 }
  }

  /* --------------------------------------------------------------------------
     MAIN BODY - DESKTOP
     -------------------------------------------------------------------------- */

  #homepage-gift {
    text-align: center;
    padding-bottom: 40px;
    background-color: #f5f7f7;
  }

  #homepage-records h1 {
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
  }

  .gray-border {
    width: 80px;
    height: 2px;
    background-color: #bbb;
    margin: 0 auto 60px;
  }

  #homepage-record-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;
  }

  .record-individual {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    padding: 10px 13px;
    width: 340px;
    margin-bottom: 20px;
    margin-right: 10px;
  }

  .record-individual h3 {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .record-individual img {
    width: 340px;
    height: auto;
    margin-bottom: 20px;
  }

  .record-individual a {
    text-transform: uppercase;
    color: #0A0A0A;
    margin: 0 10px;
  }

  .record-individual a:hover {
    color: #4f82e9;
  }

  #homepage-sheep-background {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    background-color: #f5f7f7;
    overflow: hidden;
  }

  #homepage-sheep-background img {
    flex-shrink: 0;
    height: auto;
    width: 45%;
    max-width: 500px;
    min-width: 320px;
    object-fit: cover;
  }

  #homepage-sheep-background .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
    padding: 40px 4%;
    max-width: 500px;
  }

  #homepage-sheep-background span {
    color: #4f82e9;
  }

  #homepage-sheep-background h2 {
    text-transform: uppercase;
    margin-bottom: 30px;
    font-size: 1.6em;
    line-height: 1.3;
  }

  .homepage-icon-container {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: flex-start;
    height: auto;
    margin-bottom: 16px;
  }

  .homepage-icon-container i {
    font-size: 1.8em;
    margin: 0 0 8px 0;
  }

  .homepage-icon-container h3 {
    text-transform: uppercase;
    margin-bottom: 4px;
    margin-top: 0px;
    font-size: 1em;
  }

  .homepage-icon-container p {
    margin-bottom: 5px;
    max-width: 100%;
    font-size: 0.9em;
    line-height: 1.5;
  }

  #homepage-sheep-background a.purchase-btn {
    background-color: #4f82e9;
    color: white;
    border: 2px solid #4f82e9;
    margin-top: 10px;
  }

  #homepage-sheep-background a.purchase-btn:hover {
    background-color: white;
    color: #4f82e9;
  }

  #homepage-purple {
    background-color: #4f82e9;
    text-transform: uppercase;
    color: white;
    text-align: center;
    padding: 60px 0;
  }

  #homepage-purple .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #homepage-purple p {
    width: 200px;
    margin-top: 20px;
    font-size: 1.25em;
  }

  #homepage-purple span {
    font-weight: bold;
    font-size: 1.75em;
  }

  #homepage-committee h1 {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
  }

  .full-width {
    width: 100%;
  }

  #homepage-committee {
    padding-bottom: 60px;
  }

  #homepage-committee .container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-start;
  }

  .committee-member {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 47%;
    margin-bottom: 40px;
  }

  .committee-member h3 {
    text-transform: uppercase;
  }

  .purchase-section {
    background-color: #f5f7f7;
    padding: 60px 0;
  }

  .purchase-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .purchase-section p {
    margin-bottom: 0;
  }

  .purchase-section a {
    border: 2px solid #4f82e9;
    box-shadow: 2px 2px 5px gray;
  }

  /* --------------------------------------------------------------------------
     SUBPAGE - DESKTOP
     -------------------------------------------------------------------------- */

  .subpage-hero {
    margin-top: 74px;
  }

  .subpage-hero h1 {
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
  }

  .subpage-hero .gray-border {
    margin-bottom: 0px;
  }

  /* --------------------------------------------------------------------------
     RECORDS - DESKTOP
     -------------------------------------------------------------------------- */

  .records-list-mobile {
    display: none;
  }

  .records-list {
    display: flex;
    flex-direction: column;
    width: 250px;
  }

  .records-list a {
    padding: 8px 10px;
    border-bottom: 1px solid #4f82e9;
    text-align: left;
    color: #4f82e9;
  }

  .records-list a:hover,
  a.record-active {
    color: white;
    background-color: #4f82e9;
  }

  .records-content {
    border-top: 1px solid #0A0A0A;
  }

  .records-content .container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .records-content .overflow {
    width: 850px;
    padding-left: 10px;
  }

  .table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .table-bordered {
    border: 1px solid #ddd;
  }

  .table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #f9f9f9;
  }

  .table>tbody>tr>td,
  .table>tbody>tr>th,
  .table>tfoot>tr>td,
  .table>tfoot>tr>th,
  .table>thead>tr>td,
  .table>thead>tr>th {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    text-align: left;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
  }

  .table>caption+thead>tr:first-child>td,
  .table>caption+thead>tr:first-child>th,
  .table>colgroup+thead>tr:first-child>td,
  .table>colgroup+thead>tr:first-child>th,
  .table>thead:first-child>tr:first-child>td,
  .table>thead:first-child>tr:first-child>th {
    border-top: 0;
  }

  /* --------------------------------------------------------------------------
     COMPETITION PAGES - DESKTOP
     -------------------------------------------------------------------------- */

  .record-book-content {
    border-top: 1px solid #ddd;
  }

  /* --------------------------------------------------------------------------
     ALL TIME RECORDS - DESKTOP
     -------------------------------------------------------------------------- */

  .all-time-content .container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
  }

  .all-time-ranks {
    width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
  }

  .all-time-ranks img {
    width: 340px;
    height: 230px;
    object-fit: cover;
    margin-bottom: 20px;
  }

  .all-time-ranks h3 {
    text-transform: uppercase;
    border-bottom: 1px solid #ddd;
    width: 100%;
    text-align: center;
    margin-bottom: 0px;
    padding-bottom: 20px;
  }

  /* --------------------------------------------------------------------------
     RECORD GALLERY - DESKTOP
     -------------------------------------------------------------------------- */

  .record-gallery-content .column {
    width: 30%;
  }

  .record-gallery-content .row {
    justify-content: space-around;
  }

  /* --------------------------------------------------------------------------
     MEASURERS - DESKTOP
     -------------------------------------------------------------------------- */

  #measurer-content {
    padding-top: 20px;
  }

  #measurer-content .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .accordion-container {
    width: 700px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .accordion-container:first-child {
    border-top: 1px solid #0a0a0a;
  }

  .accordion-container:last-child {
    border-bottom: 1px solid #0a0a0a;
  }

  .accordion {
    background-color: #f5f7f7;
    color: #0A0A0A;
    cursor: pointer;
    padding: 15px 20px;
    width: 100%;
    border: none;
    text-align: left;
    font-size: 16px;
    transition: 0.4s;
  }

  button.accordion {
    border-bottom: 1px solid #0a0a0a;
    border-right: 1px solid #0a0a0a;
    border-left: 1px solid #0a0a0a;
  }

  .accordion:hover {
    background-color: #4f82e9;
    color: white;
  }

  .panel {
    padding: 10px 20px;
    display: none;
    width: 100%;
    background-color: white;
    overflow: hidden;
    border-right: 1px solid #0a0a0a;
    border-left: 1px solid #0a0a0a;
    border-bottom: 1px solid #0a0a0a;
  }

  .panel table {
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
  }

  .panel table tr {
    height: 35px;
  }

  .panel table th {
    border-bottom: 1px solid #aaa;
  }

  .panel table td:nth-child(1) {
    font-weight: bold;
  }

  .score-content .panel {
    padding-left: 0px;
  }

  .score-content .panel table tr:nth-of-type(odd) {
    background-color: #f9f9f9;
  }

  .score-content .panel table th,
  .score-content .panel table td {
    padding-left: 20px;
  }

  .score-content .panel p {
    padding-left: 20px;
  }

  #measurer-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 300px;
  }

  #measurer-text a {
    color: white;
    background-color: #4f82e9;
    border: 2px solid #4f82e9;
    padding: 10px 20px;
    text-transform: uppercase;
    border-radius: 5px;
  }

  #measurer-text a:hover {
    color: #4f82e9;
    background-color: #f5f7f7;
  }

  img.height600 {
    display: block;
    height: 600px;
    width: auto;
    margin: 0 auto;
  }

  /* --------------------------------------------------------------------------
     ABOUT - DESKTOP
     -------------------------------------------------------------------------- */

  #about-content {
    padding: 0px;
  }

  #about-content h1 {
    text-align: center;
    margin-bottom: 40px;
  }

  #about-content h2 {
    font-weight: 400;
    margin-bottom: 60px;
    text-align: center;
    color: #aaa;
  }

  .about-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    padding: 20px;
  }

  .about-row-team {
    border-bottom: 1px solid #aaa;
  }

  .about-text {
    display: flex;
    flex-direction: column;
    max-width: 500px;
  }

  .about-row img {
    margin-left: 60px;
  }

  .gray-border-vertical {
    width: 2px;
    height: 250px;
    background-color: #aaa;
    margin-right: 20px;
  }

  .about-team-member {
    text-align: justify;
  }

  .about-team-member h3 {
    text-align: center;
  }

  #contact-content {
    padding-top: 40px;
  }

  #contact-content h1 {
    text-align: center;
    margin-bottom: 40px;
  }

  #contact-content p {
    text-align: center;
    margin-bottom: 40px;
  }

  #contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 450px;
    margin: 0 auto;
    padding-bottom: 20px;
  }

  #contact-form input {
    width: 450px;
    height: 50px;
    font-size: 1em;
    margin-top: 10px;
    padding: 0 10px;
    font-family: 'Lato', sans-serif;
  }

  #contact-form textarea {
    width: 450px;
    height: 150px;
    font-size: 1em;
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 15px 10px;
    font-family: 'Lato', sans-serif;
  }

  input#submit {
    align-self: flex-end;
    background-color: #4f82e9;
    color: white;
    text-transform: uppercase;
    width: 150px;
    cursor: pointer;
    border: none;
    transition: background-color .4s;
  }

  input#submit:hover {
    background-color: #0a0a0a;
  }

  /* --------------------------------------------------------------------------
     NEWSLETTER - DESKTOP
     -------------------------------------------------------------------------- */

  #newsletter-content {
    margin-top: 74px;
  }

  #newsletter-content .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  #newsletter-form {
    width: 45%;
  }

  #newsletter-contact {
    width: 45%;
    display: flex;
    flex-direction: column;
  }

  #newsletter-contact a {
    border-bottom: 1px solid #4f82e9;
    color: #0a0a0a;
  }

  #newsletter-contact a:hover {
    color: #4f82e9;
  }

  /* --------------------------------------------------------------------------
     RECORD BOOK FOUNDATION - DESKTOP
     -------------------------------------------------------------------------- */

  #tax-filings .container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
  }

  #tax-filings h3 {
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
  }

  #tax-filings p {
    width: fit-content;
  }

  #tax-filings a {
    color: white;
    display: inline-block;
    padding: 10px 20px;
    background-color: #4f82e9;
    border: 2px solid #4f82e9;
    margin: 0 10px;
  }

  #tax-filings a:hover {
    color: #4f82e9;
    background-color: white;
  }

  /* --------------------------------------------------------------------------
     FOOTER - DESKTOP
     -------------------------------------------------------------------------- */

  footer {
    background-color: #0A0A0A;
    padding: 40px 0 60px;
  }

  footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: gray;
    width: 230px;
  }

  .footer-col h3 {
    color: white;
    text-transform: uppercase;
  }

  .footer-col i {
    font-size: .8em;
  }

  .footer-col a,
  .subfooter a {
    color: gray;
    font-weight: bold;
    border-bottom: 1px solid white;
  }

  .footer-col a:hover,
  .subfooter a:hover {
    color: white;
  }

  .footer-contact {
    width: 220px;
  }

  .footer-gallery {
    width: 550px;
    flex-flow: row wrap;
    justify-content: space-between;
  }

  .footer-gallery img {
    width: 75px;
    height: auto;
    margin: 0 5px 10px;
  }

  .footer-gallery-container a {
    border: none;
  }

  .footer-gallery-container img {
    border: 2px solid #0A0A0A;
    transition: .4s;
  }

  .footer-gallery-container img:hover {
    border: 2px solid white;
  }

  .subfooter {
    padding: 20px 0;
    font-size: .9em;
    color: gray;
    text-align: center;
    border-top: 1px solid gray;
    width: 100%;
    background-color: #0A0A0A;
  }

}

/* ==========================================================================
   MOBILE STYLES (max-width: 1099px)
   ========================================================================== */

@media (max-width: 1099px) {

  .container {
    width: 100%;
    margin: 0 auto;
  }

  .content {
    padding: 60px 20px;
  }

  h1 {
    font-size: 2em;
  }

  /* --------------------------------------------------------------------------
     HEADER & NAVIGATION - MOBILE
     -------------------------------------------------------------------------- */

  #navContainer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #d0d0d0;
  }

  #navContainer .nwrb-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
  }

  #navContainer .nwrb-logo img {
    height: 44px;
    width: auto;
    display: block;
  }

  /* Hide desktop nav */
  #navContainer .nwrb-desktop-nav {
    display: none;
  }

  /* Mobile Toggle (Hamburger) */
  #navContainer .nwrb-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  #navContainer .nwrb-hamburger {
    position: relative;
    width: 22px;
    height: 2px;
    background: #333;
    transition: background 0.2s ease;
  }

  #navContainer .nwrb-hamburger::before,
  #navContainer .nwrb-hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #333;
    transition: transform 0.3s ease;
  }

  #navContainer .nwrb-hamburger::before {
    top: -6px;
  }

  #navContainer .nwrb-hamburger::after {
    top: 6px;
  }

  #navContainer .nwrb-mobile-toggle[aria-expanded="true"] .nwrb-hamburger {
    background: transparent;
  }

  #navContainer .nwrb-mobile-toggle[aria-expanded="true"] .nwrb-hamburger::before {
    transform: translateY(6px) rotate(45deg);
  }

  #navContainer .nwrb-mobile-toggle[aria-expanded="true"] .nwrb-hamburger::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Mobile Overlay */
  #navContainer .nwrb-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 98;
  }

  #navContainer .nwrb-mobile-overlay.is-visible {
    opacity: 1;
    visibility: visible;
  }

  /* Mobile Navigation Panel */
  #navContainer .nwrb-mobile-nav {
    position: fixed;
    top: 69px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99;
    -webkit-overflow-scrolling: touch;
  }

  #navContainer .nwrb-mobile-nav.is-open {
    transform: translateX(0);
  }

  /* Mobile List */
  #navContainer .nwrb-mobile-list {
    list-style: none;
    margin: 0;
    padding: 12px 0;
  }

  #navContainer .nwrb-mobile-list > li {
    border-bottom: 1px solid #eee;
  }

  /* Base mobile link styles - unified */
  #navContainer .nwrb-mobile-list > li > a {
    display: block;
    padding: 16px 20px;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
  }

  #navContainer .nwrb-mobile-list > li > a:hover,
  #navContainer .nwrb-mobile-list > li > a:focus {
    background: #4f82e9;
    color: #fff;
  }

  #navContainer .nwrb-mobile-featured:hover,
  #navContainer .nwrb-mobile-featured:focus {
    background: #4f82e9 !important;
    color: #fff !important;
  }

  /* Mobile Accordion */
  #navContainer .nwrb-mobile-accordion {
    border-bottom: 1px solid #eee;
  }

  #navContainer .nwrb-accordion-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    font-family: 'Lato', sans-serif;
  }

  #navContainer .nwrb-accordion-btn:hover,
  #navContainer .nwrb-accordion-btn:focus {
    background: #f5f7f7;
  }

  #navContainer .nwrb-accordion-btn.is-active {
    background: #4f82e9;
    color: #fff;
  }

  #navContainer .nwrb-accordion-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
  }

  #navContainer .nwrb-accordion-btn.is-active i {
    transform: rotate(180deg);
  }

  /* Accordion Panel */
  #navContainer .nwrb-accordion-panel {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background: #fafafa;
    transition: max-height 0.35s ease;
  }

  #navContainer .nwrb-accordion-panel li a {
    display: block;
    padding: 14px 20px 14px 28px;
    color: #444;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease, color 0.2s ease;
  }

  #navContainer .nwrb-accordion-panel li:last-child a {
    border-bottom: none;
  }

  #navContainer .nwrb-accordion-panel li a:hover,
  #navContainer .nwrb-accordion-panel li a:focus {
    background: #4f82e9;
    color: #fff;
  }

  /* Panel Section Headings */
  #navContainer .nwrb-panel-heading {
    padding: 10px 20px 8px 28px;
    color: #4f82e9;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #eee;
    background: #f0f2f4;
  }

  /* Mobile Highlight Link - unified with desktop CTA */
  #navContainer .nwrb-mobile-highlight {
    display: flex !important;
    align-items: center;
    gap: 10px;
    background: rgba(79, 130, 233, 0.08) !important;
    color: #4f82e9 !important;
    font-weight: 600 !important;
    border-left: 3px solid #4f82e9;
  }

  #navContainer .nwrb-mobile-highlight:hover,
  #navContainer .nwrb-mobile-highlight:focus {
    background: #4f82e9 !important;
    color: #fff !important;
  }

  /* --------------------------------------------------------------------------
     HERO - MOBILE
     -------------------------------------------------------------------------- */

  #hero-slideshow {
    padding: 0px;
    margin-top: 69px;
  }

  .homepage-slideshow .container {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    height: 90%;
    text-align: center;
    padding: 0 20px;
  }

  .homepage-slideshow h1 {
    text-transform: uppercase;
    font-size: 2.5em;
  }

  #slide-1 {
    background: url(images/sheep-hero.jpg) no-repeat center;
    background-size: cover;
    color: white;
    height: 700px;
  }

  #slide-2 {
    background: url(images/deer-hero.jpg) no-repeat center;
    background-size: cover;
    color: white;
    height: 700px;
  }

  #slide-2 p {
    margin-bottom: 40px;
    font-size: 1.5em;
  }

  #slide-3 {
    background: url(images/rocks-hero.jpg) no-repeat center;
    background-size: cover;
    color: white;
    height: 700px;
  }

  #homepage-checklist {
    margin-bottom: 40px;
    font-size: 1.5em;
  }

  a.purchase-btn {
    padding: 15px 30px;
    color: #4f82e9;
    background-color: white;
    border: 2px solid white;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
  }

  a.purchase-btn:hover {
    color: white;
    background-color: #4f82e9;
  }

  /* Fading animation */
  .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1s;
    animation-name: fade;
    animation-duration: 1s;
  }

  @-webkit-keyframes fade {
    from { opacity: .4 }
    to { opacity: 1 }
  }

  @keyframes fade {
    from { opacity: .4 }
    to { opacity: 1 }
  }

  /* --------------------------------------------------------------------------
     MAIN BODY - MOBILE
     -------------------------------------------------------------------------- */

  #homepage-gift {
    text-align: center;
    padding-bottom: 20px;
    background-color: #f5f7f7;
  }

  #homepage-records h1 {
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
  }

  .gray-border {
    width: 80px;
    height: 2px;
    background-color: #bbb;
    margin: 0 auto 60px;
  }

  #homepage-record-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
  }

  .record-individual {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    padding: 10px 15px;
    width: 300px;
    margin-bottom: 20px;
  }

  .record-individual h3 {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .record-individual img {
    width: 290px;
    height: auto;
    margin-bottom: 20px;
  }

  .record-individual a {
    text-transform: uppercase;
    color: #0A0A0A;
    margin: 0 10px;
  }

  .record-individual a:hover {
    color: #4f82e9;
  }

  #homepage-sheep-background {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f5f7f7;
  }

  #homepage-sheep-background img {
    width: 300px;
    height: auto;
  }

  #homepage-sheep-background .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
  }

  #homepage-sheep-background span {
    color: #4f82e9;
  }

  #homepage-sheep-background h2 {
    text-transform: uppercase;
    margin-bottom: 40px;
  }

  .homepage-icon-container {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
  }

  .homepage-icon-container i {
    font-size: 2em;
    margin-bottom: 10px;
  }

  .homepage-icon-container h3 {
    text-transform: uppercase;
    margin-bottom: 5px;
    margin-top: 0px;
  }

  .homepage-icon-container p {
    margin-bottom: 5px;
  }

  #homepage-sheep-background a.purchase-btn {
    background-color: #4f82e9;
    color: white;
    border: 2px solid #4f82e9;
  }

  #homepage-sheep-background a.purchase-btn:hover {
    background-color: white;
    color: #4f82e9;
  }

  #homepage-purple {
    background-color: #4f82e9;
    color: white;
  }

  #homepage-purple .container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  #homepage-purple p {
    width: 130px;
    margin: 20px 10px;
    font-size: 1.15em;
  }

  #homepage-purple span {
    font-weight: bold;
    font-size: 1.5em;
  }

  #homepage-committee h1 {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
  }

  .full-width {
    width: 100%;
  }

  #homepage-committee .container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
  }

  .committee-member {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 20px 40px;
  }

  .committee-member h3 {
    text-transform: uppercase;
    text-align: center;
    align-self: center;
  }

  .purchase-section {
    background-color: #f5f7f7;
    padding: 60px 20px;
  }

  .purchase-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .purchase-text {
    margin-bottom: 30px;
  }

  .purchase-section p {
    margin-bottom: 0;
  }

  .purchase-section a {
    border: 2px solid #4f82e9;
    box-shadow: 2px 2px 5px gray;
  }

  /* --------------------------------------------------------------------------
     SUBPAGE - MOBILE
     -------------------------------------------------------------------------- */

  .subpage-hero {
    margin-top: 69px;
  }

  .subpage-hero h1 {
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
  }

  .subpage-hero .gray-border {
    margin-bottom: 0px;
  }

  /* --------------------------------------------------------------------------
     RECORDS - MOBILE
     -------------------------------------------------------------------------- */

  .records-list {
    display: none;
  }

  .records-list-mobile {
    margin-bottom: 20px;
  }

  #records {
    font-family: 'Lato', sans-serif;
    padding: 6px 8px;
    font-size: 1em;
  }

  select#records {
    background-color: #f9f9f9;
    color: #0a0a0a;
    border: 2px solid #0a0a0a;
    border-radius: 5px;
    padding: 6px 8px;
    font-family: 'Lato', sans-serif;
  }

  .records-content {
    border-top: 1px solid #0A0A0A;
  }

  .table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .table-bordered {
    border: 1px solid #ddd;
  }

  .table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #f9f9f9;
  }

  .table>tbody>tr>td,
  .table>tbody>tr>th,
  .table>tfoot>tr>td,
  .table>tfoot>tr>th,
  .table>thead>tr>td,
  .table>thead>tr>th {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    text-align: left;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
  }

  .table>caption+thead>tr:first-child>td,
  .table>caption+thead>tr:first-child>th,
  .table>colgroup+thead>tr:first-child>td,
  .table>colgroup+thead>tr:first-child>th,
  .table>thead:first-child>tr:first-child>td,
  .table>thead:first-child>tr:first-child>th {
    border-top: 0;
  }

  .overflow {
    overflow: scroll;
    max-height: 500px;
  }

  /* --------------------------------------------------------------------------
     COMPETITION PAGES - MOBILE
     -------------------------------------------------------------------------- */

  .record-book-content {
    border-top: 1px solid #ddd;
  }

  /* --------------------------------------------------------------------------
     ALL TIME RECORDS - MOBILE
     -------------------------------------------------------------------------- */

  .all-time-content .container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
  }

  .all-time-ranks {
    width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 20px 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #ddd;
  }

  .all-time-ranks img {
    width: 260px;
    height: auto;
    margin-bottom: 20px;
  }

  .all-time-ranks h3 {
    text-transform: uppercase;
    border-bottom: 1px solid #ddd;
    width: 100%;
    text-align: center;
    margin-bottom: 0px;
    padding-bottom: 20px;
  }

  /* --------------------------------------------------------------------------
     FIELD GALLERY - MOBILE
     -------------------------------------------------------------------------- */

  .mySlides {
    width: 100%;
  }

  .prev,
  .next {
    top: 50%;
    padding: 8px;
    color: #0a0a0a;
    background-color: rgba(255, 255, 255, .8);
  }

  .next {
    right: 0;
  }

  .prev {
    left: 0;
  }

  .row {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
  }

  .column {
    width: 100%;
    max-width: 400px;
    padding: 0 20px !important;
    margin: 0 20px 40px !important;
  }

  .column h3,
  .column p {
    text-align: center;
    width: 100%;
    margin: 10px 0;
  }

  .close {
    right: 18px;
    font-size: 28px;
    height: 40px;
    width: 40px;
    line-height: 34px;
  }

  .modal-content {
    width: 98%;
    top: 40px;
  }

  .modal-content img {
    max-height: 490px;
  }

  img.width500 {
    display: block;
    margin: 0 auto;
    max-height: 450px;
    width: auto;
  }

  /* --------------------------------------------------------------------------
     MEASURERS - MOBILE
     -------------------------------------------------------------------------- */

  #measurer-content {
    padding-top: 20px;
  }

  #measurer-content .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .accordion-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 60px;
  }

  .accordion-container:first-child {
    border-top: 1px solid #0a0a0a;
  }

  .accordion-container:last-child {
    border-bottom: 1px solid #0a0a0a;
  }

  .accordion {
    background-color: #f5f7f7;
    color: #0A0A0A;
    cursor: pointer;
    padding: 15px 20px;
    width: 100%;
    border: none;
    text-align: left;
    font-size: 16px;
    transition: 0.4s;
  }

  button.accordion {
    border-bottom: 1px solid #0a0a0a;
    border-right: 1px solid #0a0a0a;
    border-left: 1px solid #0a0a0a;
  }

  .accordion:hover {
    background-color: #4f82e9;
    color: white;
  }

  .panel {
    padding: 10px 20px;
    display: none;
    width: 100%;
    background-color: white;
    border-right: 1px solid #0a0a0a;
    border-left: 1px solid #0a0a0a;
    border-bottom: 1px solid #0a0a0a;
    font-size: .8em;
    overflow: scroll;
  }

  .panel table {
    width: 500px;
    text-align: left;
    margin-bottom: 20px;
  }

  .panel table tr {
    height: 35px;
  }

  .panel table th {
    border-bottom: 1px solid #aaa;
  }

  .panel table td:nth-child(1) {
    font-weight: bold;
  }

  .score-content .panel {
    padding-left: 0px;
  }

  .score-content .panel table {
    width: 100%;
  }

  .score-content .panel table tr:nth-of-type(odd) {
    background-color: #f9f9f9;
  }

  .score-content .panel table th,
  .score-content .panel table td {
    padding-left: 20px;
  }

  .score-content .panel p {
    padding-left: 20px;
  }

  #measurer-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  #measurer-text ul {
    margin-top: 0px;
  }

  #measurer-text a {
    color: white;
    background-color: #4f82e9;
    border: 2px solid #4f82e9;
    padding: 10px 20px;
    text-transform: uppercase;
    border-radius: 5px;
  }

  #measurer-text a:hover {
    color: #4f82e9;
    background-color: #f5f7f7;
  }

  img.height600 {
    display: block;
    max-height: 400px;
    width: auto;
    margin: 0 auto;
  }

  /* --------------------------------------------------------------------------
     ABOUT - MOBILE
     -------------------------------------------------------------------------- */

  #about-content {
    padding-bottom: 0px;
    padding-top: 20px;
  }

  #about-content h1 {
    text-align: center;
    margin-bottom: 40px;
  }

  #about-content h2 {
    text-align: center;
    color: #aaa;
    margin-bottom: 60px;
    font-size: 1.25em;
    font-weight: 400;
  }

  .about-row {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
  }

  .about-text {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
  }

  .about-row img {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
  }

  .about-row-team {
    margin-bottom: 0px;
  }

  .about-row-team h3 {
    text-align: center;
  }

  .about-team-member {
    border-bottom: 1px solid #aaa;
    padding-bottom: 20px;
    margin-bottom: 60px;
  }

  #contact-content {
    padding-top: 20px;
  }

  #contact-content h1 {
    text-align: center;
    margin-bottom: 40px;
  }

  #contact-content p {
    text-align: center;
    margin-bottom: 40px;
  }

  #contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 40px;
  }

  #contact-form input {
    width: 100%;
    height: 50px;
    font-size: 1em;
    margin-top: 10px;
    padding: 0 10px;
    font-family: 'Lato', sans-serif;
  }

  #contact-form textarea {
    width: 100%;
    height: 150px;
    font-size: 1em;
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 15px 10px;
    font-family: 'Lato', sans-serif;
  }

  input#submit {
    align-self: flex-end;
    background-color: #4f82e9;
    color: white;
    text-transform: uppercase;
    width: 150px;
    cursor: pointer;
    border: none;
    transition: background-color .4s;
  }

  input#submit:hover {
    background-color: #0a0a0a;
  }

  /* --------------------------------------------------------------------------
     NEWSLETTER - MOBILE
     -------------------------------------------------------------------------- */

  #newsletter-content {
    margin-top: 69px;
  }

  #newsletter-content .container {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }

  #newsletter-form {
    width: 100%;
    max-width: 400px;
    border-top: 1px solid #aaa;
    margin-top: 20px;
    padding-top: 40px;
  }

  #newsletter-contact {
    width: 205px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #newsletter-contact a {
    border-bottom: 1px solid #4f82e9;
    color: #0a0a0a;
  }

  #newsletter-contact a:hover {
    color: #4f82e9;
  }

  /* --------------------------------------------------------------------------
     TAX FILINGS - MOBILE
     -------------------------------------------------------------------------- */

  #tax-filings .container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
  }

  #tax-filings h3 {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
  }

  #tax-filings p {
    width: fit-content;
  }

  #tax-filings a {
    color: white;
    display: inline-block;
    padding: 10px 20px;
    background-color: #4f82e9;
    border: 2px solid #4f82e9;
  }

  #tax-filings a:hover {
    color: #4f82e9;
    background-color: white;
  }

  /* --------------------------------------------------------------------------
     FOOTER - MOBILE
     -------------------------------------------------------------------------- */

  footer {
    background-color: #0A0A0A;
    padding: 40px 20px 0px;
  }

  footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: gray;
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 20px 40px;
    border-bottom: 1px solid gray;
    width: 90%;
  }

  .footer-col h3 {
    color: white;
    text-transform: uppercase;
  }

  .footer-col i {
    font-size: .8em;
  }

  .footer-col a,
  .subfooter a {
    color: gray;
    font-weight: bold;
    border-bottom: 1px solid white;
  }

  .footer-col a:hover,
  .subfooter a:hover {
    color: white;
  }

  .footer-gallery {
    flex-flow: row wrap;
    justify-content: center;
  }

  .footer-gallery img {
    width: 80px;
    height: auto;
    margin: 0 5px 10px;
  }

  .footer-gallery-container a {
    border: none;
  }

  .footer-gallery-container img {
    border: 2px solid #0A0A0A;
    transition: .4s;
  }

  .footer-gallery-container img:hover {
    border: 2px solid white;
  }

  .subfooter {
    padding: 20px 0;
    font-size: .9em;
    color: gray;
    text-align: center;
    width: 100%;
    background-color: #0A0A0A;
  }

}
