/*
North Country Trail Association

body - #444444
blue - #3C6E8C
lt blue - #5CA8D8
green - #7A9C48
tan - #d8b564
light yelow - #f7f0df
brown - #B3854D

font-family: caecilia, sans-serif; 400, 700
font-family: source-sans-pro, sans-serif;

*/
body {
  color: #444444;
  font-family: caecilia, sans-serif;
  font-weight: 400;
}

h1 {
  font-family: 'Source Sans Pro', sans-serif;
}

h2 {
  font-family: caecilia, sans-serif !important;
  font-weight: 700;
  font-size: 1.6em !important;
}

h3 {
  font-family: 'Open Sans Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.6em;
  color: #3C6E8C;
}

h4 {
  font-family: caecilia, sans-serif !important;
  font-weight: 700;
  font-size: 1em !important;
  font-style: italic;
}

h5 {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  font-size: 1em !important;
  /*text-transform: uppercase; color: #5CA8D8; */
}

.grid-container {
  max-width: 70.5rem;
}

.site-header {
  z-index: 990;
  position: relative;
  width: 100%;
  background-color: #444;
}

.site-header .button {
  font-family: caecilia, sans-serif;
  color: #fff !important;
  font-weight: 600;
  background: #d8b563;
  border-radius: 1px;
  text-transform: uppercase;
  padding: 1.5em 1.75em;
  margin-bottom: 0;
}

.site-header .button.blue {
  background: #5CA8D8;
  margin-right: 10px;
}

.social {
  padding: .25em 0;
  margin: 0 1em 0 0;
}

.fab {
  border: 1px solid #fff;
  padding: .5em;
  border-radius: 50%;
  margin: 0 .25em;
  font-size: 1em;
}

header .social > a {
  margin-right:calc(8 / 16 * 1rem);
}

header .social a,
header .social a:visited,
header .social > .search-button {
  border-radius: 50%;
  outline: 1px solid #ffff !important;
  color: #ffffff;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  -moz-transition: all 200ms;
  -webkit-transition: all 200ms;
  transition: all 200ms;
  width: 24px;
  height: 24px;
}


header .social a > *,
header .social a:visited > *,
header .social > .search-button > * {
  transform: scale(0.8);
}

header .social a:hover,
header .social a:active,
header .social > .search-button:hover,
header .social > .search-button:active {
  color: #d8b563;
  outline-color: #d8b563 !important;
}

header .social a:focus
header .social > .search-button:fous {
  outline: 1px dotted #d8b563;
}




.main-navigation {
  text-transform: uppercase;
  font-family: source-sans-pro, sans-serif;
  font-size: .9em;
}

.main-navigation ul {
  float: right;
}

.main-navigation ul ul {
  box-shadow: none;
  background: #5CA8D8;
}

.site-footer {
  font-family: source-sans-pro, sans-serif;
  border-top: 6px solid #5CA8D8;
  padding: 4em 0 0 0;
}

.site-footer .social {
  padding: .25em 0;
  margin: 0 1em 0 0;
  color: #5CA8D8;
}

.site-footer .social h3 {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
}

.site-footer .social .fab {
  border: 1px solid #5CA8D8;
  padding: .5em;
  margin: 0 .25em;
  font-size: 1.6em;
}

.site-footer .social a .fab {
  color: #5CA8D8 !important;
}

.site-footer .social a:hover .fab {
  color: #fff !important;
  background-color: #3C6E8C;
}

.site-footer .social .social-icons {
  float: right;
  margin-bottom: 1.6em;
}

.video-con {
  position: relative;
  background-color: black;
  height: 0;
  padding-bottom: 35.9%;
  overflow: hidden;
}

.video-con video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.video-con-txt {
  position: relative;
}

.video-con .video-con-txt .hero-section-text {
  margin: 0;
  margin-top: 14%;
}

.hero-section-text {
  margin-top: 16em;
}

.hero-section-text h1,
.home-video-con h1 {
  font-size: 3em;
  font-weight: 600;
  color: #fff;
  text-shadow: 1px 1px 2px #0a0a0a;
}

#show_bg_2 {
  background-image: linear-gradient(to bottom, rgba(245, 246, 252, 0.52), rgba(117, 19, 93, 0.73)), url('images/background.jpg');
  width: 80%;
  height: 400px;
  background-size: cover;
}

.logo-box-con {
  z-index: 999;
  position: absolute;
  z-index: 800;
}

.logo-box-blue {
  background: #5CA8D8;
  width: 260px;
  height: 70px;
}

.logo-icon-maps {
  position: absolute;
  margin: .75em 0 0 2.5em;
}

.two-col-section {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.two-col-section .two-col-section-img {
  position: relative;
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
  -webkit-flex: 1 0 100%;
  -ms-flex: 1 0 100%;
  flex: 1 0 100%;
}

.two-col-section .two-col-section-img img {
  width: 100%;
}

.two-col-section h2 {
  font-size: 1.8em;
  color: #3C6E8C;
  font-weight: 700;
}

.two-col-section a.read-more {
  color: #B3854D;
  text-transform: uppercase;
  font-weight: 700;
}

.two-col-section h3 {
  font-size: 1em;
  color: #5CA8D8;
  text-transform: uppercase;
  font-weight: 600;
}

.lgt-tan {
  background: #F7F0DE;
  z-index: 0;
}

.tan {
  background: #d8b564;
  z-index: 0;
}

.green {
  background: #7A9C48;
  z-index: 0;
}

.full-row-home .button {
  color: #fff !important;
  display: block;
  max-width: 180px;
  padding: 1.6em 1em;
  background-color: #d8b564;
  text-transform: uppercase;
  font-weight: 600;
}

.site-header .button:hover,
.full-row-home .button:hover,
.events-bar .button:hover {
  background: #C5A34E !important;
}

.site-header .button.blue:hover {
  background: #458ebb !important;
}

.events-bar {
  border-top: 8px solid #5CA8D8;
  padding: 0 0 4em 2em;
}

.events-bar-list {
  margin: 10em 0 0 0;
}

.events-bar-list h4 {
  color: #5CA8D8;
  text-transform: uppercase;
  font-size: 1em;
  font-weight: 700;
}

.events-bar-list a>h3 {
  font-family: 'Source Sans Pro', sans-serif !important;
  color: #3C6E8C !important;
  font-size: 1.6em;
  font-weight: 400;
}

.events-bar-list .card {
  color: inherit;
  border: none;
}

.response-row {
  text-align: center;
}

.response-row,
.response-row h2 {
  font-family: caecilia, sans-serif;
  color: #fff;
  align-self: center;
}

.response-row .button {
  color: #7A9C48;
  background-color: #fff;
  align-self: center;
  padding: 1em 1.4em;
  margin-top: 2em;
  font-weight: 700;
  text-transform: uppercase;
}

.response-row .button:hover {
  color: #7A9C48 !important;
  background-color: rgba(255, 255, 255, 0.8);
}

.response-row .tan a {
  color: #d8b564 !important;
}

.response-row .tan a:hover {
  color: #d8b564 !important;
  background-color: rgba(255, 255, 255, 0.8);
}

.response-row .tan a:visited {
  color: #d8b564 !important;
}

.events-bar .button {
  background: #D9B65D !important;
  margin: 2em 0 0 0;
  font-size: 1.2em;
  font-weight: 700;
  text-transform: uppercase;
}

.blue-row {
  background-color: #5CA8D8;
  padding: 2em 0;
  text-align: center;
  color: #fff !important;
}

.blue-row .button {
  background-color: #fff;
  color: #5CA8D8;
  font-weight: 700;
  padding: 1em 2em;
  -webkit-transition: background-color .25s ease-out, color .25s ease-out;
  transition: background-color .25s ease-out, color .25s ease-out;
}

.blue-row .button:hover {
  background-color: #3C6E8C;
}

.maps-icon {
  margin: 0 0 2em 0;
}

.explore-trails h3 {
  font-size: 1em !important;
  color: #5CA8D8;
  font-weight: 600;
  margin: 1em 0;
}

.explore-trails a,
.explore-trails a:visited {
  color: #444444;
}

.explore-trails a:hover {
  color: #3C6E8C;
}

.explore-trails .block {
  margin-bottom: 2.6em;
}

.trail-intro .button {
  background-color: #D9B65D;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.two-col-section .two-col-section-block {
  padding: 3rem;
  -webkit-flex: 1 0 100%;
  -ms-flex: 1 0 100%;
  flex: 1 0 100%;
  -webkit-align-self: stretch;
  -ms-flex-item-align: stretch;
  align-self: stretch;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.key-data a,
.key-data a:visited {
  color: #5CA8D8 !important;
}

@media screen and (min-width: 40em) {
  .two-col-section .two-col-section-img {
    position: relative;
    -webkit-flex: 1 0 50%;
    -ms-flex: 1 0 50%;
    flex: 1 0 50%;
  }

  .two-col-section .two-col-section-block {
    -webkit-flex: 1 0 50%;
    -ms-flex: 1 0 50%;
    flex: 1 0 50%;
    padding: 6rem;
    justify-content: center;
  }

  .two-col-section .two-col-section-block p {
    align-self: center;
  }

  .featured-story .two-col-section .two-col-section-block {
    -webkit-flex: 1 0 60%;
    -ms-flex: 1 0 60%;
    flex: 1 0 60%;
    padding: 2rem 4rem;
    justify-content: center;
  }

  .featured-story .two-col-section .two-col-section-img {
    position: relative;
    -webkit-flex: 1 0 40%;
    -ms-flex: 1 0 40%;
    flex: 1 0 40%;
  }

  .two-col-section .two-col-section-block {
    -webkit-flex: 1 0 50%;
    -ms-flex: 1 0 50%;
    flex: 1 0 50%;
    padding: 2rem 4rem;
    justify-content: center;
  }

  .two-col-section .two-col-section-img {
    position: relative;
    -webkit-flex: 1 0 50%;
    -ms-flex: 1 0 50%;
    flex: 1 0 50%;
  }
}

.wrapper-demo {
  margin-top: 2em !important;
  margin: 0 auto;
  *zoom: 1;
  font-weight: 400;
}

.wrapper-demo:after {
  clear: both;
  content: "";
  display: table;
}

.wrapper-dropdown-1 {
  position: relative;
  width: 300px;
  padding: 10px;
  margin: 0 auto;
  background: #d8b564;
  border: 2px solid #fff;
  color: #fff;
  outline: none;
  text-align: left;
  cursor: pointer;
  font-weight: bold;
}

/*.wrapper-dropdown-1:after {content: "";  width: 0; height: 0; position: absolute;  right: 16px; top: 50%; margin-top: -6px;  border-width: 6px 0 6px 6px;   border-style: solid;   border-color: transparent #fff; } */
.wrapper-dropdown-1 .dropdown {
  position: absolute;
  top: 100%;
  left: -2px;
  right: -2px;
  background: #d8b564;
  list-style: none;
  font-weight: normal;
  font-weight: bold;
  border-left: 2px solid #fff;
  border-right: 2px solid #fff;
  opacity: 0;
  pointer-events: none;
}

.wrapper-dropdown-1 ul.dropdown {
  margin-left: 0 !important;
}

.wrapper-dropdown-1 .dropdown li a {
  display: block;
  text-decoration: none;
  color: #fff;
  padding: 10px 20px;
}

.wrapper-dropdown-1 .dropdown li:hover a {
  background: #c2a257;
}

.wrapper-dropdown-1.active .dropdown {
  opacity: 1;
  pointer-events: auto;
}

/*.wrapper-dropdown-1.active:after { border-color: #d8b564 transparent; border-width: 6px 6px 0 6px ;  margin-top: -3px;} */
.wrapper-dropdown-1 .fa-chevron-down {
  float: right;
}

.wrapper-dropdown-1.active .fa-chevron-down {
  color: #d8b564;
}

.wrapper-dropdown-1.active {
  background: #d8b564;
  background: -moz-linear-gradient(left, #d8b564 0%, #d8b564 82%, #ffffff 82%, #ffffff 100%);
  background: -webkit-gradient(linear, left top, right top, color-stop(0%, #d8b564), color-stop(82%, #d8b564), color-stop(82%, #ffffff), color-stop(100%, #ffffff));
  background: -webkit-linear-gradient(left, #d8b564 0%, #d8b564 82%, #ffffff 82%, #ffffff 100%);
  background: -o-linear-gradient(left, #d8b564 0%, #d8b564 82%, #ffffff 82%, #ffffff 100%);
  background: -ms-linear-gradient(left, #d8b564 0%, #d8b564 82%, #ffffff 82%, #ffffff 100%);
  background: linear-gradient(to right, #d8b564 0%, #d8b564 82%, #ffffff 82%, #ffffff 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d8b564', endColorstr='#ffffff', GradientType=1);
}

.no-opacity .wrapper-dropdown-1 .dropdown,
.no-pointerevents .wrapper-dropdown-1 .dropdown {
  display: none;
  opacity: 1;
  pointer-events: auto;
}

.no-opacity .wrapper-dropdown-1.active .dropdown,
.no-pointerevents .wrapper-dropdown-1.active .dropdown {
  display: block;
}

.bulletin-signup {
  margin: 0 auto;
  margin-top: 2em;
}

.simple-subscription-form {
  background: #0c3e5f;
  color: #fefefe;
  padding: 2rem;
  border-radius: 0;
}

.simple-subscription-form .button {
  margin-bottom: 0;
  border-radius: 0 0 0 0;
}

.bulletin-signup input[type="email"] {
  background: #7A9C48;
  border: 2px solid #fff;
  box-shadow: none;
  border-radius: 1px;
  padding: 1.4em 1em;
}

.bulletin-signup input[type="email"]:focus {
  color: #fff;
}

.bulletin-signup .button {
  background: #fff;
  color: #7A9C48;
  border: none;
  padding: 1.2em;
}

.bulletin-signup .input-group-field::placeholder {
  color: #fff;
  opacity: 1;
}

.custom-select {
  z-index: 999;
  position: relative;
  font-family: Arial;
  color: #fff;
  border: 2px solid #fff;
  margin: 0 auto;
}

.custom-select select {
  display: none;
  /*hide original SELECT element: */
}

.select-selected {
  text-transform: uppercase;
  font-weight: 600;
  background-color: #d8b564;
  color: #fff;
}

.select-selected:after {
  position: absolute;
  content: "";
  top: 0;
  background-color: #fff;
  right: 10px;
  width: 44px;
  height: 44px;
  /*border: 6px solid transparent;  border-color: #d8b564 transparent transparent transparent; */
}

.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}

.select-items div,
.select-selected {
  color: #ffffff;
  /* padding: 8px 16px;  border: 1px solid transparent;  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent; */
  cursor: pointer;
}

.select-items {
  border-left: 2px solid #fff;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  position: absolute;
  background-color: #d8b564;
  top: 100%;
  left: -2px;
  right: -2px;
  z-index: 99;
}

.select-hide {
  display: none;
}

.select-items div:hover,
.same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}

.logo-bar {
  padding: 4em 0;
}

.logo-bar .sponsor-logos .cell {
  text-align: center;
}

.logo-bar h2 {
  text-align: center;
  color: #3C6E8C;
  font-size: 2em;
  font-weight: 500;
}

.full-row-home-last {
  background: no-repeat center;
  background-size: cover !important;
  position: relative;
  width: 100%;
  z-index: 0;
  padding: 8em;
}

.full-row-home-last h3 {
  font-size: 2.6em;
  font-family: caecilia, sans-serif;
  color: #fff;
}

.full-row-home-last p {
  font-size: 1.2em;
}

.last_row_home {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 4em;
}

.last_row_home a h4 {
  font-family: source-sans-pro, sans-serif !important;
  font-style: normal;
  color: #5CA8D8;
  text-transform: uppercase;
  font-size: 1em;
  font-weight: 600;
}

.last_row_home a h4:hover {
  color: #fff;
}

.last_row_file {
  display: block;
  border: 2px solid #5CA8D8;
  border-radius: 1px;
  padding: 1em 1.6em;
  text-align: center;
  margin: 1.4em 0;
}

a .last_row_file {
  font-family: source-sans-pro, sans-serif;
  color: #5CA8D8;
  text-transform: uppercase;
  font-weight: 600;
}

a .last_row_file:hover {
  background-color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.pad-row-1 {
  padding-top: 2em;
  padding-bottom: 2em;
}

.pad-row-2 {
  padding-top: 3em;
  padding-bottom: 3em;
}

.screen-back {
  background: rgba(255, 255, 255, 0.8);
  padding: 1em;
  margin-bottom: 2em;
}

.full-row-explore {
  background: no-repeat center;
  background-size: cover !important;
  position: relative;
  width: 100%;
  z-index: 0;
  padding: 6em;
}

.full-row-explore h3 {
  font-size: 2.6em;
  font-family: caecilia, sans-serif;
}

.full-row-explore p {
  font-size: 1.2em;
}

.full-row-explore .last_row {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 4em;
  align-self: center;
  text-align: center;
}

.full-row-explore .last_row .button {
  background-color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  color: #5CA8D8;
  margin-top: 1em;
}

.full-row-explore .last_row img {
  margin-bottom: 1em;
}

.trail-btn .button {
  text-align: center;
  color: #fff !important;
  font-size: 1.4em;
  font-weight: 600;
}

.trail-btn .button-group.expanded .brown {
  width: 100% !important;
  background-color: #B3854D;
  padding-top: 4px;
}

.trail-btn .button-group.expanded .green {
  width: 100% !important;
  padding-top: 4px;
  background-color: #7A9C48;
}

.trail-btn .button-group.expanded .blue {
  width: 100% !important;
  padding-top: 4px;
  background-color: #3C6E8C;
}

.trail-btn .brown-icon {
  margin-top: -30px !important;
  margin: 0 auto;
  height: 74px;
  width: 60px;
  background-image: url('../../img/printable-map-icon.png');
  background-position: center;
  align-self: center;
}

.trail-btn .blue-icon {
  margin-top: -30px !important;
  margin: 0 auto;
  height: 74px;
  width: 60px;
  background-image: url('../../img/mobile-map-icon.png');
  background-position: center;
  align-self: center;
}

.trail-btn .green-icon {
  margin-top: -30px !important;
  margin: 0 auto;
  height: 74px;
  width: 60px;
  background-image: url('../../img/data-map-icon.png');
  background-position: center;
  align-self: center;
}

.button-group.expanded .gray {
  width: 100%;
  background-color: #444444;
  padding: 1em 0;
  margin-top: .5em;
}

h2.printable-map {
  color: #B3854D;
}

h2.mobile-map {
  color: #3C6E8C;
}

h2.data-map {
  color: #7A9C48;
}

.map-block {
  margin-bottom: 2em;
}

.map-block h3 {
  font-family: source-sans-pro, sans-serif;
  font-size: 1.6em;
  color: #B3854D;
}

.map-block p {
  margin-bottom: .75em !important;
}

.map-block a,
.map-block a:visited,
.map-block-mobile a,
.map-block-mobile a:visited,
.map-block-data a,
.map-block-data a:visited {
  color: #444444;
}

.map-block-mobile {
  margin-bottom: 2em;
}

.map-block-mobile h3 {
  font-family: source-sans-pro, sans-serif;
  font-size: 1.6em;
  color: #3C6E8C;
}

.map-block-data {
  margin-bottom: 2em;
}

.map-block-data h3 {
  font-family: source-sans-pro, sans-serif;
  font-size: 1.6em;
  color: #7A9C48;
}

.key-data .warning {
  color: red;
  font-weight: 700;
  font-family: source-sans-pro, sans-serif;
}

.key-data h2 {
  margin-left: -64px;
}

.key-data h2 img {
  margin-right: .25em;
}

.key-data h5,
.trail-get-involved h5,
.trail-intro h5 {
  font-size: 1em;
  font-weight: 700;
  font-family: source-sans-pro, sans-serif;
}

.trail-get-involved .cell h4,
.ways-give h4 {
  font-family: source-sans-pro, sans-serif !important;
  color: #5CA8D8 !important;
  font-style: normal;
}

.trail-intro h4.sectio-header {
  color: #5CA8D8 !important;
}

.trail-intro h4 {
  font-family: source-sans-pro, sans-serif !important;
  font-style: normal;
}

.ways-give h4 a {
  color: #5CA8D8 !important;
  font-style: normal;
}

.ways-give h4 a::after {
  content: "\003e";
}

.trail-get-involved a {
  color: #5CA8D8 !important;
}

.trail-pic-small .cell {
  margin-left: .2875rem;
  width: 48.275%;
}

.trail-pic-small .cell img {
  border-bottom: 6px solid #fff;
}

.tr-cal {
  align-self: center;
  text-align: center;
  margin: 0 auto;
}

.navigation {
  padding: 2em 0;
  text-align: center;
  align-self: center;
}

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
  color: #fff;
  text-decoration: none;
}

.navigation li {
  display: inline;
}

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
  background-color: #6FB7E9;
  border-radius: 1px;
  cursor: pointer;
  padding: 12px;
  padding: 0.75rem;
}

.navigation li a:hover,
.navigation li.active a {
  background-color: #3C8DC5;
}

.post {
  margin-bottom: 2em;
}

.post .entry-title {
  margin: 1em 0;
}

.post h2.entry-title a {
  color: #444;
  text-decoration: none;
}

.post .entry-meta a,
.post-detail a {
  color: #444;
  text-decoration: underline;
}

/* .post .entry-meta,  {padding: .5em 0 4em;} */
.post-detail {
  padding: .5em 0 4em;
}

.post-detail .post-cat {
  font-size: .9em !important;
}

.post-detail .post-cat a {
  color: #88312D;
  text-decoration: underline;
}

.breadcrumb {
  font-family: source-sans-pro, sans-serif !important;
}

.breadcrumb a {
  color: #88312D;
}

#searchform {
  width: 100%;
  border: 1px solid #88312D !important;
  display: block;
  position: relative;
  float: right;
  margin-bottom: 2em;
}

#searchform input[type=text] {
  display: inline-block !important;
  box-shadow: none;
  width: 206px !important;
  float: left;
  color: #88312D;
  border: 0px solid !important;
  height: 30px;
  line-height: 30px;
  border-radius: 1px !important;
  margin: 0 0 0 .5em !important;
}

#searchformh input[type=text]:focus {
  color: #88312D;
  box-shadow: none !important;
}

#searchform input:-internal-autofill-selected,
.search textarea:-internal-autofill-previewed,
.search textarea:-internal-autofill-selected,
.search select:-internal-autofill-previewed,
.search select:-internal-autofill-selected {
  background-color: rgb(0, 0, 0) !important;
  background-image: none !important;
  color: #88312D !important;
}

#searchform .button {
  color: #fff;
  background-color: #88312D;
  padding: 10px 25px;
  text-decoration: none;
  border-radius: 1px;
  border: 1px solid #88312D;
  text-transform: uppercase;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  width: auto;
  float: right;
  padding: 0 12px;
  margin: 0 0 0 2px;
  height: 30px;
  line-height: 30px;
}

#searchform .button:active {
  background-color: #88312D !important;
}

#searchform input::-webkit-input-placeholder {
  color: #88312D;
}

#searchform input::-moz-placeholder {
  color: #88312D;
}

#searchform input:-ms-input-placeholder {
  color: #88312D;
}

#searchform input:-moz-placeholder {
  color: #88312D;
}

.widget-area h2.widget-title {
  color: #88312D;
  font-size: 1.2em !important;
  font-style: italic;
}

.widget-area ul {
  list-style: none;
  margin: 0;
}

.widget-area ul li {
  margin-bottom: .5em;
}

.widget-area ul li a {
  color: #444;
}

.comments-link {
  display: none;
}

.staff {
  margin-bottom: 4em !important;
  padding: 0 4em 4em 4em;
}

.staff-header {
  margin-bottom: 2em;
}

.staff-header h5 {
  margin-bottom: 1em;
}

.staff-header h6,
.staff-header h6 a {
  font-family: source-sans-pro, sans-serif !important;
  color: #5CA8D8;
  font-weight: 700;
  margin-bottom: .25em;
}

.staff-header .cell-1,
.staff-header .cell-2 {
  margin-top: -30px;
}

.nav-the-trail h3 {
  font-size: 1em;
  text-transform: uppercase;
  color: #a9d5ef;
  margin: 0 !important;
}

.nav-the-trail li.nav-state a {
  margin-bottom: .25em;
  font-family: caecilia, sans-serif !important;
  font-size: 1.2em;
  text-transform: uppercase;
  color: #a9d5ef !important;
  margin: 0 !important;
  font-size: 1em !important;
  font-weight: 700 !important
}

.nav-the-trail li.nav-state a:hover {
  color: #fff !important;
}

.nav-the-trail li.nav-state ul.mega-sub-menu a {
  font-family: source-sans-pro, sans-serif !important;
  color: #fff !important;
  padding-left: .25em !important;
}

.nav-the-trail li.nav-state ul.mega-sub-menu a:hover {
  color: #a9d5ef !important;
}

.nav-the-trail li a {
  font-weight: 600 !important;
}

.nav-the-trail li.nav-state ul.mega-sub-menu {
  margin-bottom: .25em !important;
}

.nav-the-trail li.nav-state ul.mega-sub-menu li {
  line-height: 1em !important;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-item {
  padding-bottom: .5em;
}

#mega-menu-wrap-menu-1 #mega-menu-menu-1 a.mega-menu-link {
  line-height: 1.4em;
}

.photo-caption {
  z-index: 100;
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-family: source-sans-pro, sans-serif !important;
  padding: .5em 1em;
}

.trail-gallery .cell,
.gallery-2-img .cell {
  position: relative;
}

.trail-gallery .cell .photo-caption {
  bottom: 6px;
}


.hero {
  background-size: cover !important;
  background-size: 100% auto;
  color: #fff;
  height: 400px;
  position: relative;
  width: 100%;
  z-index: 0;
}

.hero-txt-con {
  height: 100% !important;
}



/* Small only */
@media screen and (max-width: 39.9375em) {
  .site-header .button {
    position: absolute;
    top: 10px;
    right: 6em;
    z-index: 9999;
    background: none !important;
    border: 2px solid #d8b563;
    border-radius: 1px;
    text-transform: uppercase;
    padding: .65em 1.6em;
    margin-bottom: 0;
  }

  .site-header .button.blue {
    position: absolute;
    top: 55px;
    right: 6.4em;
    z-index: 9999;
    background: none !important;
    border: 2px solid #5CA8D8;
    border-radius: 1px;
    text-transform: uppercase;
    padding: .65em 1.6em;
    margin-bottom: 0;
  }

  .site-header .button span {
    display: none;
  }

  .main-navigation {
    position: absolute;
    top: 0;
    right: 0;
  }

  .site-branding {
    z-index: 999 !important;
  }

  .site-branding img {
    width: 90%;
  }

  .mega-menu-open {
    background: #444 !important;
  }

  .mega-menu {
    padding: 0 1em !important;
  }

  ul.mega-menu {
    padding-top: 6em !important;
  }

  ul.mega-menu li {
    border-bottom: 1px solid #747474 !important;
  }

  ul.mega-menu li ul li ul li {
    border-bottom: none !important;
  }

  .nav-the-trail li.nav-state a {
    margin-bottom: .25em;
    font-size: 1.2em;
    color: #D8D8D8 !important;
  }

  #mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row .mega-menu-column>ul.mega-sub-menu>li.mega-menu-item {
    padding: 6px 0 0 0;
  }

  .site-header .social {
    display: none !important;
  }

  .site-footer .float-right {
    float: none !important;
    text-align: center;
  }

  #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-megamenu>ul.mega-sub-menu {
    background-color: #444;
  }

  ul.mega-sub-menu .sub-the-trail-2 {
    border-left: none !important;
    margin: 0;
  }

  .video-con {
    /*height: 10vh;  min-height: 20rem; */
    width: 100%;
    overflow: hidden;
  }

  .explore-trail {
    padding: 8px 1em 15px 1em;
    background-color: inherit !important;
  }

  .explore-trail a {
    color: #fff !important;
    text-align: left !important;
  }

  .nav-the-trail h3 {
    font-size: 1em;
    text-transform: uppercase;
    color: #b1b1b1;
    margin: 0 !important;
  }

  .hero-section-home {
    height: 48vh;
    padding-top: 8em;
  }

  .hero-section-text h1 {
    font-size: 2em;
    font-weight: 600;
    line-height: normal;
  }

  .video-con .video-con-txt .hero-section-text {
    margin-top: 10%;
  }

  .video-con-txt .hero-section-text h1 {
    font-size: 1.2em !important;
  }

  .hero {
    background-position: center !important;
    height: 150px;
  }

  h1.entry-title {
    font-size: 1.4rem;
    color: #fff;
    text-shadow: 1px 1px 2px #0a0a0a;
    font-weight: 700;
    text-align: center;
  }

  .hero h2 {
    font-size: 1em !important;
    text-shadow: 1px 1px 2px #0a0a0a;
    font-weight: 700;
    text-align: center;
    margin-top: 2em;
    color: #fff;
  }

  .full-row-home-last {
    padding: 1em;
  }

  .site-footer .float-right {
    float: none;
  }

  .site-footer .social .social-icons {
    float: none;
    margin-bottom: 1.6em;
    align-self: center;
    text-align: center;
  }

  .site-footer .social {
    text-align: center;
  }

  .logo-box-con {
    left: 0;
    right: 0;
  }

  .logo-icon-maps {
    width: 100%;
    text-align: center;
    margin: .75em 0 0 0;
  }

  .logo-box-con img {
    max-width: 120px;
  }

  .logo-box-blue {
    background: #5CA8D8;
    width: 210px;
    height: 50px;
    margin: 0 auto !important;
  }

  .full-row-home {
    position: relative;
    height: auto;
    padding: 8em 0 4em 0;
    background-size: auto !important;
  }

  .full-row-home h2 {
    font-size: 1.6em;
  }

  .full-row-home p {
    font-size: 1em;
  }

  .full-row-explore {
    padding: .9375em;
  }

  .two-col-section .two-col-section-block {
    margin: 0;
    padding: 1.5rem;
    -webkit-flex: 1 0 70%;
    -ms-flex: 1 0 100%;
    flex: 1 0 70%;
  }

  .lgt-tan {
    margin: 0 .5em .5em .5em;
  }

  .events-bar {
    padding: 0 0 4em 0;
  }

  .events-bar-list {
    margin: 2em 0 0 0;
  }

  .events-bar .align-right {
    margin: 8em 0 0 0;
    /* -webkit-box-pack: end; */
    -webkit-justify-content: center !important;
    -ms-flex-pack: end;
    /* justify-content: flex-end; */
  }

  .events-bar-list .card {
    margin-bottom: 2em;
  }

  .trail-pic-small .cell {
    width: 48%;
  }

  .key-data h2 {
    margin-left: 0;
  }

  .key-data h2 img {
    display: none !important;
  }

  .staff {
    margin-bottom: 4em !important;
    padding: 0 2em 2em 2em;
  }

  .staff-header .cell-2 {
    margin-top: 0 !important;
  }

  .staff-header .cell-1 {
    text-align: center;
    align-self: center;
    margin-bottom: 1em;
  }

  .gallery-2-img .cell:last-child {
    border-top: 6px solid #fff !important;
  }

  .trail-btn .grid-padding-x>.cell {
    margin-top: 2em;
  }



}

/* Medium and up */
@media screen and (min-width: 40em) {
  #mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-item a.mega-menu-link:before {
    display: none !important;
  }

  ul.mega-sub-menu .sub-the-trail-1,
  ul.mega-sub-menu .sub-the-trail-2,
  ul.mega-sub-menu .sub-the-trail-3,
  ul.mega-sub-menu .sub-the-trail-4 {
    width: 200px !important;
  }

  ul.mega-sub-menu .sub-the-trail-1 li {
    padding: 1em 0 !important;
  }

  ul.mega-sub-menu .sub-the-trail-2 {
    border-left: 1px solid #fff !important;
    max-height: 100% !important;
    margin: 0 1.6em !important;
  }

  #mega-menu-wrap-menu-1 #mega-menu-menu-1 li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row .mega-menu-column>ul.mega-sub-menu>li.mega-menu-item {
    padding: 6px 0.25em 6px 0.25em !important;
  }

  #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link,
  #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link {
    line-height: 1.2em;
  }

  ul.mega-sub-menu h3 {
    font-family: caecilia, sans-serif !important;
    font-weight: 600;
  }

  #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-megamenu>ul.mega-sub-menu {
    margin-top: 1em;
  }

  #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-megamenu>ul.mega-sub-menu::before {
    border-bottom: 12px solid rgba(68, 68, 68, 0);
    border-left: 12px solid rgba(0, 0, 0, 0);
    border-right: 12px solid rgba(0, 0, 0, 0);
    content: "";
    display: inline-block;
    position: absolute;
    top: -20px;
  }

  #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-megamenu>ul.mega-sub-menu::after {
    border-bottom: 18px solid #444;
    border-left: 16px solid rgba(0, 0, 0, 0);
    border-right: 16px solid rgba(0, 0, 0, 0);
    content: "";
    display: inline-block;
    position: absolute;
    top: -18px;
  }

  #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-megamenu.mega-menu-item-1098>ul.mega-sub-menu::before {
    left: 40px;
  }

  #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-megamenu.mega-menu-item-1098>ul.mega-sub-menu::after {
    left: 40px;
  }

  #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-megamenu.mega-menu-item-1094>ul.mega-sub-menu::before {
    left: 140px;
  }

  #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-megamenu.mega-menu-item-1094>ul.mega-sub-menu::after {
    left: 140px;
  }

  #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-megamenu.mega-menu-item-1095>ul.mega-sub-menu::before {
    left: 240px;
  }

  #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-megamenu.mega-menu-item-1095>ul.mega-sub-menu::after {
    left: 240px;
  }

  #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-megamenu.mega-menu-item-1096>ul.mega-sub-menu::before {
    left: 400px;
  }

  #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-megamenu.mega-menu-item-1096>ul.mega-sub-menu::after {
    left: 400px;
  }

  #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-megamenu.mega-menu-item-1097>ul.mega-sub-menu::before {
    left: 560px;
  }

  #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-megamenu.mega-menu-item-1097>ul.mega-sub-menu::after {
    left: 560px;
  }

  #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-megamenu.mega-menu-item-26>ul.mega-sub-menu::before {
    left: 660px;
  }

  #mega-menu-wrap-menu-1 #mega-menu-menu-1>li.mega-menu-megamenu.mega-menu-item-26>ul.mega-sub-menu::after {
    left: 660px;
  }

  .nav-white {
    background-color: #fff !important;
    width: 90% !important;
    margin-bottom: .5em !important;
    color: #5CA8D8 !important;
  }

  .nav-white a {
    color: #5CA8D8 !important;
    text-align: center !important;
    font-weight: 100 !important;
    padding: .65em 0 0 !important;
  }

  .nav-white:hover {
    background: #a8d5f0 !important;
  }

  .full-row-home {
    border-top: 8px solid #5CA8D8;
    background: no-repeat center;
    background-size: cover !important;
    /*height: 60vh; */
    position: relative;
    width: 100%;
    z-index: 0;
    padding-top: 14em;
  }

  .full-row-home h2 {
    font-size: 2.4em;
    font-family: caecilia, sans-serif;
    font-weight: 700;
  }

  h1.entry-title {
    color: #fff;
    text-shadow: 1px 1px 2px #0a0a0a;
    font-weight: 700;
    text-align: center;
    font-size: 2.4rem;
  }




}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
  .main-navigation a {
    margin: 15px 10px;
  }

  .hero-section-home {
    height: 40vh;
  }

  .hero-section-text h1 {
    font-size: 2em;
  }

  .hero {
    height: 250px !important;
  }



  .full-row-home-last {
    padding: 4em;
  }

  /*.hero { background-size: cover!important; color: #fff; height: 38vh!important;  position: relative;  width: 100%;  z-index: 0; }*/
  .site-footer .social h3 {
    font-size: 1em;
  }

  .featured-story .two-col-section .two-col-section-block {
    padding: .9375rem;
  }

  .featured-story {
    font-size: .9em;
  }
}

/* Large and up */
@media screen and (min-width: 64em) {
  .trail-pic-small img {
    border-bottom: 4px solid #fff;
  }

  .trail-pic-small .cell {
    margin-left: .2875rem;
    width: 49.275%;
  }
}

/* Large only */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {}



/* Events Styles */

/* Events Search */
.em-search-wrapper .css-search {
  background-color: #F7F0DE;
}

div.em-search.css-search .em-search-advanced {
  display: flex;
  flex-wrap: wrap;
}

.em-search-advanced .em-search-field,
.em-search-advanced .em-search-location {
  width: 100%
}


.em-search-advanced .em-search-field label {
  font-weight: bold;
}

.em-search-advanced .em-search-field label:first-child span {
  font-size: 19px;
}

.em-search-advanced .em-search-field label span {
  padding-right: 10px;
}

.em-search-advanced .em-search-field select {
  max-width: 100%;
}

/* Event List */
.css-events-list table.events-table,
.css-events-list .events-list {
  border: 2px solid #5CA8D8;
}

.css-events-list table.events-table thead tr {
  background-color: #F7F0DE;
}

.css-events-list table.events-table tbody tr:nth-child(even),
.css-events-list .events-list>div:nth-child(odd) {
  background-color: #F7F0DE;
}

.events-list-header {
  font-weight: bold;
}

.events-list-header,
.event-row {
  display: flex;
  flex-wrap: wrap;
}

.event-time {
  width: 200px;
  text-align: center;
  padding: 10px 15px;
  vertical-align: initial;
}

.event-time h5 {
  font-size: 20px !important;
}

.css-events-list table.events-table td.event-time,
.css-events-list .events-list .event-time {
  padding: 24px 20px;
  width: 100%;
}

.css-events-list table.events-table td.event-description,
.css-events-list .events-list .event-description {
  padding: 20px;
  width: 100%;
}

.events-list-header {
  display: none;
}

@media screen and (min-width: 40em) {

  .em-search-advanced .em-search-field,
  .em-search-advanced .em-search-location {
    width: 50%
  }

  .events-list-header {
    display: flex;
  }

  .css-events-list .events-list .event-time {
    width: 23%;
  }

  .css-events-list .events-list .event-description {
    width: 77%;
  }
}

.css-events-list table.events-table td.event-description h3,
.css-events-list .events-list .event-description h3 {
  margin-bottom: 0;
}

.css-events-list table.events-table td.event-description h3 a,
.css-events-list .events-list .event-description h3 a {
  color: #5CA8D8;
}

.css-events-list table.events-table td.event-description h3 a:hover,
.css-events-list .events-list .event-description h3 a:hover {
  color: #3C6E8C;
}

.event-categories {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.event-categories li {
  margin-right: 10px;
  display: inline;
}

.event-categories li:last-child {
  margin-right: 0;
}

.event-categories li a {
  display: inline-block;
  background-color: #5CA8D8;
  padding: 2px 5px;
  border-radius: 3px;
  color: #fff;
  text-decoration: none;
}

.event-categories li a:hover {
  background-color: #3C6E8C;
}


.css-events-list table.events-table td.event-description .button:visited {
  color: #fff;
}

/* Events Detail */
.categories-label {
  margin: 0;
}

.em-events-view-container {
  /* background-color: #F7F0DE; */
  padding: 10px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
}

.em-events-view-container div {
  display: flex;
}

.em-events-view-container a {
  display: inline-block;
  padding: 10px 15px;
  /* background-color: #F7F0DE; */
  border-radius: 5px;
  text-align: center;
  margin: 0 10px;
  /* color: #000; */
  background-color: #3e6e8b;
  color: #fefefe;
}


/**
Styles for updated Map Download Page /the-trail/trail-map-and-downloads
**/
:root {

  --color-asparagus: #ac8756;
  --header-color: var(--color-asparagus);
  --dark-color: #444444;
  --meta-color: #f59a15;
  --download-link-color: #444;

  --sans-serif-font: 'source-sans-pro', sans-serif;
  --serif-font: 'caecilia', sans-serif;

  --download-font-size: var(--spacing-5);
  --alert-bar-link-font-size: var(--spacing-3);

  --max-card-width: 27.5rem;
  --max-layout-width: 103.125rem;

  --meta-font-size: var(--spacing-4);
  --state-title-font-size: var(--spacing-8);

  --card-description-line-spacing: 2;
  --card-default-padding: var(--spacing-5);
  --card-description-font-size: var(--spacing-4-15);


  --spacing-0: 0;
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-4-15: 1.15rem;
  --spacing-5: 1.25rem;
  --spacing-5: 1.5rem;
  --spacing-6: 1.75rem;
  --spacing-7: 2rem;
  --spacing-8: 2.25rem;
  --spacing-9: 2.5rem;
  --spacing-10: 2.75rem;
  --spacing-11: 3rem;
  --spacing-12: 3.25rem;
  --spacing-13: 3.5rem;
  --spacing-huge: 5rem;
  --spacing-auto: auto;

  --max-line-clamp: 8;
}

section-download-maps-intro,
section[data-attribute="map-cards"] {
  box-sizing: border-box;
  display: block;
  margin: 0 auto;
  padding: 0 7px;
  width: 100%;
  max-width: var(--max-layout-width);
}

section-download-maps-intro {
  display: block;
  margin: var(--spacing-huge) var(--spacing-auto);
  padding: 0 var(--spacing-3);
}

section-download-maps-intro h2 {
  color: var(--header-color);
  margin-bottom: var(--spacing-13);
}

section-download-maps-intro p,
section-download-maps-intro span {

  font-size: var(--card-description-font-size);

}





section[data-attribute="map-cards"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, var(--max-card-width)));
  flex-flow: row wrap;
  justify-content: space-evenly; 
  align-items: flex-start;
  gap: var(--spacing-13);
  margin-bottom: var(--spacing-huge);
  /* place-items: stretch center; */

}


map-card {
  background: transparent url('../../img/map_card_texture.png') no-repeat center center / cover;
  box-shadow: 0 0 2px 0px var(--dark-color);
  display: block;
  /* margin: auto; */
  flex: 0 0 auto;
  width: var(--max-card-width);
  max-width: 100% !important;
  margin-block-start: 0rem;
  margin-block-end: 0rem;
  text-align: left;
}

map-card-alert-bar {
  background: var(--meta-color);
  display: grid;
  place-items: center;
  color: #fff;
  cursor: pointer;

}

@media screen and (min-width: 299px) {
  map-card-alert-bar {
    grid-template-columns: 4fr 1fr;
    padding: 0.5rem 0;
    place-items: center;
  }
}

@media screen and (min-width: 349px) {
  map-card-alert-bar {
    grid-template-columns: 3fr 1.25fr;
    place-items: center;
  }
}
@media screen and (min-width: 450px) {
  map-card-alert-bar {
    grid-template-columns: 1fr 2fr 1.25fr;
    place-items: center;
  }
}


span[data-alert-bar-icon] {
  background: var(--meta-color);
  color: #fff;
  display: none;
  position: relative;
  height: var(--spacing-8);
  width: var(--spacing-8);
  transform: rotateZ(45deg) scale(1.5);
}

@media screen and (min-width: 450px) {
  span[data-alert-bar-icon] {
    display: inline-block;
  }
}

span[data-alert-bar-icon]::after {
  content: "!";
  font-family: var(--sans-serif-font);
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateZ(-45deg) scale(2.25);
  font-weight: 700;

}

span[data-alert-bar-title] {
  display: inline-block;
  margin: auto;
  padding: var(--spacing-2);
  color: #fff;
  font-family: var(--sans-serif-font);
  font-size: clamp(0.667rem, 0.5894rem + 0.4963vw, 0.85rem);
  font-weight: normal;
  text-align: center;
  text-shadow: 0 0 1.75px #fff;
  text-transform: uppercase;
  letter-spacing: var(--spacing-2);
}

map-card-alert-bar a {
  color: #000;
  font-family: var(--sans-serif-font);
  font-style: italic;
  font-size: var(--alert-bar-link-font-size);
  font-weight: 600;
  letter-spacing: 0.1rem;
  padding: var(--spacing-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

map-alert-msg {
  background: #fff;
  font-family: var(--sans-serif-font);
  display: block;
  margin-top: var(--spacing-6);
  overflow: hidden;
  max-width: 100%;
  height: 0;
  -webkit-transition: height 300ms ease;
  -moz-transition: height 300ms ease;
  transition: height 300ms ease;
}

map-alert-msg.active {
  padding-inline-start: 1rem;
  padding-inline-end: 1rem;
}

map-alert-msg p,
map-alert-msg span {
  font-size: var(--spacing-5);
  margin-bottom: 0;
  line-height: 1rem;
}

map-card header {
  max-width: 100%;
}

map-card > * {
  padding: 0 1rem;
}


map-card header hgroup h3,
map-card header hgroup p {
  color: var(--meta-color);
  text-transform: uppercase;

}

map-card header hgroup p {
  font-family: var(--sans-serif-font);
  font-size: var(--meta-font-size);
  font-weight: 500;
  margin-bottom: var(--spacing-0);
  text-shadow: 0 0 1px var(--meta-color);
}

map-card header hgroup h3 {
  color: var(--dark-color);
  display: flex;
  font-size: var(--state-title-font-size);
  font-size: clamp(1.25rem, 0.9375rem + 2.5000vw, 2.25rem);
  font-family: var(--serif-font);
  font-weight: 800;
  word-wrap: break-word;
  word-break:break-all;
}

map-card-header hgroup h3 >button {
  width: fit-content;
  aspect-ratio: 1/1;
  border-radius: 50%;
  word-wrap: break-word;
  word-break:break-all;
}


map-icon {
  aspect-ratio: 1/1;
  cursor: pointer;
  display: grid;
  max-height: clamp(7.81rem, 5.0565rem + 22.0282vw, 15.63rem);
  max-width: 100%;
  height: auto;
  margin: var(--spacing-0)var(--spacing-auto) var(--spacing-5);
  place-items: center;
  text-align: center;
}

map-icon img {
  display: block;
  max-height: 250px;
  object-fit: contain;
  height: auto;
}

map-card-trail-description {
  display: block;
  /* min-height: calc((var(--max-line-clamp)*var(--card-description-font-size)) * var(--card-description-line-spacing)); 20 - 25 words */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: var(--max-line-clamp);
  /* number of lines to show */
  line-clamp: var(--max-line-clamp);
  -webkit-box-orient: vertical;
  position: relative;
}

map-card-trail-description p {
  font-size: var(--card-description-font-size);
  font-size: clamp(0.8rem, 0.6906rem + 0.8750vw, 1.15rem);
  line-height: var(--card-description-line-spacing);
}
@media screen and (min-width: 399px) {
  map-card-trail-description p {
    min-height: 236px;
  }
}

h3[data-map-download-list-header] {
  cursor: pointer;
  font-size: var(--spacing-8);
  font-size: clamp(1.25rem, 0.9375rem + 2.5000vw, 2.25rem);
  text-align: center;
  text-transform: uppercase;
  margin: var(--spacing-1) auto;
  letter-spacing: var(--spacing-1);
}

h3[data-map-download-list-header]+hr {
  margin: var(--spacing-2) var(--spacing-auto) var(--spacing-6);
  width: 90%;

}

.downloads {
  font-size: 1rem;
  list-style: none;
  margin: 0 auto;
  padding: var(--spacing-0) var(--card-default-padding);
  max-width: 100%;
  -webkit-transition: all 350ms ease;
  -moz-transition: all 350ms ease;
  transition: all 350ms ease;
}
.downloads.active {
  -webkit-transition: all 350ms ease;
  -moz-transition: all 350ms ease;
  transition: all 350ms ease;
}

.downloads li {
  display: flex;
  flex-flow: row nowrap;
  gap: 1rem;
  align-items: center;
  justify-content: start;
  font-size: var(--download-font-size);
  padding: var(--spacing-3) var(--spacing-0);
  -webkit-transition: all 250ms ease;
  -moz-transition: all 250ms ease;
  transition: all 250ms ease;
}

.downloads li,
.downloads li a {
  color: var(--download-link-color);
  font-family: var(--sans-serif-font);
  font-weight: 500;
  letter-spacing: 2px;
  padding: var(--spacing-1) var(--spacing-0);
  -webkit-transition: color 300ms ease;
  -moz-transition: color 300ms ease;
  transition: color 300ms ease;

}

.downloads li a {
  font-size: var(--download-font-size);
}

.downloads li a:hover,
.downloads li a:active,
.downloads li:hover svg,
.downloads li:active svg {
  color: #000;
  fill: #000;
}

.downloads li:focus-within a:focus {
  outline: 1px solid #000;
}

.downloads li a:hover,
.downloads li a:active,
.downloads li a:focus {
  text-decoration: underline;
}


.map-card-arrow {
  fill: var(--download-link-color);
  height: var(--download-font-size);
  width: var(--download-font-size);
  transform: scale(0.85);
  -webkit-transition: fill 300ms ease;
  -moz-transition: fill 300ms ease;
  transition: fill 300ms ease;
}

dialog#mapDialog {
  display: none;
  place-items: center;
  margin: auto;
  max-height: fit-content;
  position: fixed !important;
  left: 0;
  top: 0;
  overflow: auto;
  opacity: 0;
  -webkit-transition: opacity 300ms ease;
  -moz-transition: opacity 300ms ease;
  transition: opacity 300ms ease;
  z-index: -99;
  overscroll-behavior: contain;
}

@keyframes fadeIn {

  100% {
    opacity: 1;
  }

}

dialog#mapDialog h3 {
  color: var(--meta-color);
  text-transform: uppercase;
  ;
}

dialog#mapDialog.active {
  display: grid;
  animation: fadeIn 350ms linear forwards;
  max-height: 100vh;
  z-index: 99;
  position: fixed;
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
}



button.close {
  background: #444444;
  color: #fff;
  cursor: pointer;
  font-family: var(--sans-serif-font);
  padding: 1rem 1.5rem;
  text-transform: uppercase;
  -webkit-transition: all 250ms ease;
  -moz-transition: all 250ms ease;
  transition: all 250ms ease;
}

button.close:active,
button.close:hover {
  background: #fff;
  color: #444444;
  outline: 1px solid #444;
}

border.close:focus {
  outline-style: dotted;
}

hgroup>h3 {
  display: flex;
  align-items: center;
  gap: 0 1rem;
  justify-content: flex-start;
  flex-flow: row wrap;
}

span.michigan-styles {
  font-size: clamp(0.8rem, 0.7375rem + 0.5000vw, 1rem);
}

.farout-banner {
  display: block;
  width: 60rem;
  max-width: 100%;
  padding: var(--spacing-4) var(--spacing-0);
  margin: 1rem auto;
}

.farout-banner a {
  display: block;
  width: 100%;
  margin: auto;
}

.hidden {
  /* opacity: 0;
  overflow: hidden;
  visibility: hidden; */
}

.visible {
  animation: fadeIn 350ms ease 1s forwards;
  opacity: 1;
}


.map-card-toggle {
  border-radius: 50%;
  aspect-ratio: 1/1;
  color: #444;
  font-family: VAR(--sans-serif-font);
  font-weight: 600;
  background: transparent;
  cursor: pointer;
  padding: 1rem 1.5rem;
  display: inline-block;
  margin: auto;
  text-transform: uppercase;
  -webkit-transition: all 250ms ease;
  -moz-transition: all 250ms ease;
  transition: all 250ms ease;
}

.map-card-toggle.active {
  color: var(--meta-color);
  transform: rotateZ(45deg);
}

.map-card-toggle:hover,
.map-card-toggle:active {
  background: transparent !important;
  color: var(--meta-color);
}

.map-card-toggle:focus {
  outline: 1px dotted #444;
}


@media screen and (min-width: 768px) {
  :root {
    --max-line-clamp: 6;
  }
  
}