/*
Theme Name: flexfit
Theme URI: 
Author: 
Description: Foundation flexfit theme
Version: 1.0.0
*/

/*Global*/

body, h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  font-family: "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6 { 
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 600;
  -ms-word-wrap: break-word;
  word-wrap: break-word; }
h1 { font-size: 2.3rem; line-height: 1.2;  letter-spacing: -.1rem; margin-top: 1.2rem; }
h2 { font-size: 1.8rem; line-height: 1.25; letter-spacing: -.09rem; }
h3 { font-size: 1.5rem; line-height: 1.3;  letter-spacing: -.08rem; }
h4 { font-size: 1.15rem; line-height: 1.35; letter-spacing: -.05rem; }
h5 { font-size: .95rem; line-height: 1.5;  letter-spacing: -.04rem; }
h6 { font-size: .8rem; line-height: 1.6;  letter-spacing: 0; }

@media only screen and (min-width: 40.0625em) and (max-width: 64em) {
h1 { font-size: 1.9rem; line-height: 1.2;  letter-spacing: -.09rem; margin-top: 1rem; }
h2 { font-size: 1.5rem; line-height: 1.25; letter-spacing: -.07rem; }
h3 { font-size: 1.2rem; line-height: 1.3;  letter-spacing: -.04rem; }
h4 { font-size: .89rem; line-height: 1.35; letter-spacing: 0rem; }
h5 { font-size: .82rem; line-height: 1.5;  letter-spacing: -.02rem; }
h6 { font-size: .72rem; line-height: 1.6;  letter-spacing: 0; }
}
@media only screen and (max-width: 40em) {
h1 { font-size: 1.9rem; line-height: 1.2;  letter-spacing: -.09rem; margin-top: .5rem; }
h2 { font-size: 1.5rem; line-height: 1.25; letter-spacing: -.07rem; }
h3 { font-size: 1.2rem; line-height: 1.3;  letter-spacing: -.04rem; }
h4 { font-size: .89rem; line-height: 1.35; letter-spacing: 0rem; }
h5 { font-size: .82rem; line-height: 1.5;  letter-spacing: -.02rem; }
h6 { font-size: .72rem; line-height: 1.6;  letter-spacing: 0; }
  }
a:focus, a:hover {
text-decoration: underline;
}
blockquote, blockquote p {
    color: #444444;
}
img {
  margin-bottom:4px;
}
.breadcrumbs {
    margin: 1rem 0;
    font-weight: 600;
}

.link-title h2 {
  padding-top:0px;
  margin-bottom:0px;
}
.link-title a {
	color: #020202;
}
.link-title a:hover {
	color: #020202;
	text-decoration: underline;
}
.alignright {
    float: right !important;
}
.aligncenter {
	display: block;
	margin:0 auto;
}
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}
.no-pad {
    padding:0;
}
.has-bottom-margin {
  margin-bottom: 3rem;
}
.section-header {
  text-transform: uppercase;
  color: #868686;
  font-weight: 600;
  border-bottom: 1px solid #CFCFCF;
  margin-bottom: 15px;
  padding-top:5px;
}
.no-js [data-responsive-menu] ul {
  display: none; }

input:disabled,input[readonly],textarea:disabled,textarea[readonly]{color:#0E0E0E;border:1px solid #0E0E0E;}

select {
    -webkit-appearance:menulist;
    -moz-appearance:menulist;
}
/* Fix Responsive Images with Caption Width */
.wp-caption img,
.wp-caption {
    max-width:100% !important;
}
.faq-acc-title {
  font-size: .8rem;
  color: #4a4a4a;
  font-weight: 600;
}
.accordion-item p {
  margin-bottom:0;
}
.toc {
    border: 1px solid #a2a9b1;
    background-color: #f8f9fa;
    padding: 5px 10px 0 10px;
    display: table;
    margin: 2rem 0;
}
.bookingaff iframe {
	height:380px;
}
.adspace {
  padding:2rem 0;
}
/*---------------------------- Header Styles ----------------------------*/
/* Dark navy header bar (was ISS's shared light-gray #EFEFEF) so the two sites
   are visually distinct at a glance, not just by logo/copy. Navy rather than
   the teal accent specifically because teal is the site's action-button color
   (.button default, hero search button etc) - reusing it for the header too
   would blur that signal. #192c4a is otherwise only used for the homepage
   hero's overlay/fallback, not on any button. */
.menu-wrapper {
	position: relative;
    background: #192c4a;
    height:52px;
    -webkit-box-shadow: 0 1px 10px 1px rgba(0,0,0,0.25);
    -moz-box-shadow: 0 1px 10px 1px rgba(0,0,0,0.25);
    box-shadow: 0 1px 10px 1px rgba(0,0,0,0.25);
    z-index:4;
}
@media screen and (min-width: 40em) {
.menu-wrapper {
    height:70px;
}
}
/* Height drives the size and width follows the PNG's own 206x135 ratio - a fixed width here
   (93px at 50px tall) stretched the logo on mobile. */
.menu-logo {
    height: 50px;
    width: auto;
    margin:1px 0 0 7px;
}
@media screen and (min-width: 40em) {
.menu-logo {
    height: 68px;
    width: auto;
    margin:1px 15px 0 15px;
}
}
.menu-item {
    color:#FFFFFF;
    font-weight: 600;
    height:70px;
}
.menu>li>a.menu-item {
    padding: 22px 15px;
    line-height:inherit;
}
.menu-item:hover, .menu-item:focus {
  background: #24406B;
  color:#FFFFFF;
  text-decoration: none;
}
.dropdown.menu>li.is-dropdown-submenu-parent>a:after {
    border-color: #020202 transparent transparent;
}
.sub-menu-item {
    color:#020202;
    font-weight: 600;
}
.sub-menu-item:hover, .sub-menu-item:focus {
  background: #E2E2E2;
  color:#020202;
  text-decoration: none;
}
.is-dropdown-submenu {
    background: #EFEFEF;
    -webkit-box-shadow: 0px 4px 10px -3px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 4px 10px -3px rgba(0,0,0,0.25);
    box-shadow: 0px 4px 10px -3px rgba(0,0,0,0.25);
}
.search-span {
  font-weight: 600;
    height: 68px;
    width: 300px;
    padding:14px 15px 15px 15px;
}
.menu-button-span {
    padding:11px 10px;
    height:52px;
    font-size: 20px;
    color:#FFFFFF;
    font-weight: 600;
}
@media screen and (min-width: 40em) {
.menu-button-span {
    padding:16px 15px;
    font-size:24px;
    height:70px;
}
}
.header-search-field {
  border-top:1px solid #C1C1C1;
  border-bottom:1px solid #C1C1C1;
  border-left:1px solid #C1C1C1;
}
.is-dropdown-submenu {
    min-width: 250px;
}
.menu>li>a {
    line-height: 1.3;
}
/*---------------------------- Mobile Menu Styles ----------------------------*/
.mobile-menu-item {
  padding: .5rem;
  margin: 0;
  border-bottom: 1px solid #CFCFCF;
  font-weight: 600;
}
.mobile-menu-item a {
  color:#0E0E0E;
}
.mobile-menu-item:hover, .mobile-menu-item:focus {
  background-color: #CFCFCF;
}
.mobile-menu-item a:hover, .mobile-menu-item a:focus {
  text-decoration: none;
}
.mobile-menu-label {
  background: #CBCBCB;
  border-bottom: 1px solid #B3B3B3;
  border-top: 1px solid #B3B3B3;
  color: #0E0E0E;
  text-transform: uppercase;
  padding: 0.3rem 0.9375rem;
}
.mobile-search-pad {
  margin-top:1rem;
}
/*---------------------------- Button Styles ----------------------------*/
.button {
  background-color: #0E7C9D;
}
.button:hover, .button:focus {
    background-color: #159DC7;
}
.button.secondary {
  color: #020202;
  background-color:#E0E0E0;
}
.button.secondary:hover, .button.secondary:focus {
  color: #020202;
  background-color:#C5C5C5;
}
.button.hollow {
    border: 2px solid #0E7C9D;
    color:#0E7C9D;
}
.button.hollow, .button.hollow:hover, .button.hollow:focus {
    background-color: transparent;
}
.button.hollow:hover, .button.hollow:focus {
    border-color: #66ADE2;
    color: #0E7C9D;
}
.button.hollow.secondary {
  border: 2px solid #8A8A8A;
  color: #020202;
}
.button.hollow.secondary:hover, .button.hollow.secondary:focus {
  border-color: #BBBBBB;
  color: #020202;
}
.button.headersearch {
  background-color: #e9e9e9;
  border:1px solid #C1C1C1;
  color: #0E0E0E;
}
.button.headersearch:hover, .button.headersearch:focus {
  background-color: #bababa;
  border:1px solid #8A8A8A;
  color: #0E0E0E;
}
.button.success {
  background-color:#11934B;
  color:#fff;
}
.button.success:hover, .button.success:focus {
  background-color: #15AD59;
  color:#fff;
}
.button.disabled, .button[disabled] {
    opacity: 1;
}

/*---------------------------- Search Results Styles ----------------------------*/
.search-tabs {
    background: none;
    border:1px solid #E0E0E0;
    margin-bottom:15px;
}
.search-tabs-panel {
    padding: 0;
}
.search-tab {
    float:none;
    text-align:center;
}
.search-tab a {
    font-size:16px;
    color: #0E0E0E;
    font-weight: 600;
}
.search-tabs-content {
  border:1px solid #E0E0E0;
  padding:1.25rem 1.25rem 0 1.25rem;
}
.search-thumb {
  margin:0 10px 10px 0;
}

/**
 * Read-only star rating widget, e.g. <div class="star-rating large-stars-4"></div>.
 * "large-stars-N"/"small-stars-N" (N 0-5, half-steps supported above 1) come
 * straight from the star-rating Types field value as a dynamic CSS class suffix -
 * the display mechanism used by both the dropzone-review View and the
 * tunnel/dropzone page's rating summary badge. Backed by images/rating-stars.png,
 * a 132x420 sprite: rows 0-239 are the "large" set (132x24 per row), rows 240-419
 * are the "small" set (132x18 per row); within each set, row order top to bottom
 * is 0, 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5 stars (mapped pixel-by-pixel below).
 */
.star-rating {
  display: inline-block;
  background-image: url(images/rating-stars.png);
  background-repeat: no-repeat;
  background-size: 132px 420px;
}
.star-rating[class*="large-stars-"] {
  width: 132px;
  height: 24px;
}
.star-rating[class*="small-stars-"] {
  width: 132px;
  height: 18px;
}
.star-rating.large-stars-0 { background-position: 0 0; }
.star-rating.large-stars-1 { background-position: 0 -24px; }
.star-rating.large-stars-1\.5 { background-position: 0 -48px; }
.star-rating.large-stars-2 { background-position: 0 -72px; }
.star-rating.large-stars-2\.5 { background-position: 0 -96px; }
.star-rating.large-stars-3 { background-position: 0 -120px; }
.star-rating.large-stars-3\.5 { background-position: 0 -144px; }
.star-rating.large-stars-4 { background-position: 0 -168px; }
.star-rating.large-stars-4\.5 { background-position: 0 -192px; }
.star-rating.large-stars-5 { background-position: 0 -216px; }
.star-rating.small-stars-0 { background-position: 0 -240px; }
.star-rating.small-stars-1 { background-position: 0 -258px; }
.star-rating.small-stars-1\.5 { background-position: 0 -276px; }
.star-rating.small-stars-2 { background-position: 0 -294px; }
.star-rating.small-stars-2\.5 { background-position: 0 -312px; }
.star-rating.small-stars-3 { background-position: 0 -330px; }
.star-rating.small-stars-3\.5 { background-position: 0 -348px; }
.star-rating.small-stars-4 { background-position: 0 -366px; }
.star-rating.small-stars-4\.5 { background-position: 0 -384px; }
.star-rating.small-stars-5 { background-position: 0 -402px; }

/*-----------------------------------------------Homepage----------------------------------------*/

/**
 * Hero: full-width photo with the "Welcome to Skydiving Source" heading +
 * intro paragraph overlaid on top (dark scrim behind the text for contrast),
 * then a separate light-gray banded section below for the radius search.
 * No SS hero photo is set yet on the Home page - .home-hero-image still
 * renders (just as a plain dark-blue box) if there's no featured image, so
 * the overlaid text stays readable either way.
 */
.home-hero-image {
  position: relative;
  min-height: 420px;
  background-color: #192c4a;
  overflow: hidden;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.home-hero-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.home-hero-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.home-hero-intro {
  position: relative;
  z-index: 3;
  padding: 2.5rem 1rem;
  color: white;
}

.home-hero-intro h1 {
  margin-bottom: 1rem;
  color: white;
}

.home-hero-intro p {
  max-width: 700px;
  margin: 0 auto;
  color: white;
}

.home-hero-intro p a {
  color: white;
  text-decoration: underline;
}

.home-search-section {
  background-color: #F7F7F7;
  border-top: 1px solid #E0E0E0;
  border-bottom: 1px solid #E0E0E0;
  padding: 2rem 1rem;
  margin-bottom: 1rem;
}

.home-search-form-wrap {
  max-width: 600px;
  margin: 1rem auto 0;
}

.home-articles-section {
  padding: 3rem 0;
  margin-bottom: 3rem;
}

/**
 * "Home - Latest Articles" View card grid (image, title, excerpt) - the View's
 * own Loop Output supplies the .card/.card-section markup; these rules style it.
 */
.home-articles-section .card {
  margin-bottom: 1.5rem;
}
.home-articles-section .card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.home-article-title {
  margin: 0 0 0.5rem;
}
.home-article-title a {
  color: #2BA6CB;
}

/**
 * "Aircraft - Grid" View on the /aircraft/ archive (image, linked title just
 * below) - the View's Loop Output supplies the markup; these rules style it.
 */
.aircraft-grid .aircraft-item {
  margin-bottom: 2rem;
  text-align: center;
}
.aircraft-grid .aircraft-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.aircraft-grid .aircraft-title {
  margin: 0.5rem 0 0;
  font-size: 1.1rem;
}
.aircraft-grid .aircraft-title a {
  color: #2BA6CB;
}

/* Content Qty Callouts (299 Tunnels / 15 Manufacturers / 141 Articles) */
.home-stats-row {
  padding: 0 0 3rem 0;
  text-align: center;
}
.home-stats-row .stat {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  color: #0E7C9D;
}
.home-stats-row .sub-stat {
  margin-top: .25rem;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .12rem;
  text-transform: uppercase;
  color: #8A8A8A;
}
@media only screen and (max-width: 40em) {
  .home-stats-row .stat {
    font-size: 2.1rem;
  }
  .home-stats-row .sub-stat {
    font-size: .68rem;
    letter-spacing: .06rem;
  }
}

.main-three-wrapper, .home-photo-social-section {
  margin-bottom:1rem;
}
.card-pad {
  padding-bottom:2.5rem;
}
.home-latest-wrapper {
  margin-bottom:3rem;
}
.home-video-section, .home-events-coaches-section, .new-flyers-section {
  margin-bottom:3.5rem;
}
.home-video-pad {
  padding-left: .9375rem;
  padding-right: .9375rem;
}
.card-wrap {
    -webkit-box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.3);
    -moz-box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.3);
    box-shadow:1px 1px 2px 1px rgba(0,0,0,0.3);
    border-radius: 3px;
    height:100%;
    position: relative; 
}
.card-text {
  padding:.75rem 1rem;
}
.card-callout {
  border-bottom: 4px solid #CFCFCF;
}
.home-bullet-primary {
  color:#C50E0E;
}
.home-bullet-secondary {
  color:#8A8A8A;
}
.home-secondary-link a {
  color: #101010;
}
.home-secondary-link a:hover {
text-decoration: underline;
}
.home-link {
  vertical-align:bottom;
}
.home-link a {
  color: #101010;
  font-weight: 600;
}
.home-link a:hover {
text-decoration: underline;
}
@media only screen and (max-width: 40em) {
.home-sub-header-secondary {
  margin-top:3rem;
}
}
@media only screen and (max-width: 64em) {
.home-sub-header-secondary-reading {
  margin-top:3rem;
}
}
.home-sub-header h3 {
  margin-bottom:0;
}
.home-featured-news {
  background-color:#ECECEC;
  border: 1px solid #CFCFCF;
  -webkit-box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.15);
  -moz-box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.15);
  box-shadow:1px 1px 2px 1px rgba(0,0,0,0.15);
}
.home-featured-news-text {
  padding:.2rem .6rem .4rem .6rem; 
}
.home-featured-news-text a {
  color: #101010;
  font-weight: 600;
}
.home-featured-news-text a:hover {
text-decoration: underline;
}
@media only screen and (max-width: 40em) {
  .home-featured-news {
    margin-bottom:1rem;
  }
}
.home-list-item {
  padding:.3rem 0;
}
.home-video-text {
  padding-top:.3rem;
  color: #101010;
  font-weight: 600;
  font-size:14px;
}
.home-video-text:hover {
text-decoration: underline;
}
.home-coach-text {
  padding-bottom:.3rem;
  color: #101010;
  font-weight: 600;
  font-size:14px;
}
.home-coach-text:hover {
text-decoration: underline;
}
.small-date {
  color: #616161;
  font-size: 13px;
}
.home-social-button {
  padding:11px 10px 15px 10px;
  color:#fff;
  -webkit-border-radius:4px;
  border-radius:4px;
  margin:9px;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.15);
  -webkit-box-shadow: inset 0 -4px 0 rgba(0,0,0,.2);
}
/*---------------------------------------------------Tunnel Pages---------------------------------------------*/
.tunnel-title h1 {
  font-size: 1.6rem;
  letter-spacing: -1px;
  font-weight: 700;
  color: #222;
}
@media only screen and (min-width: 40.0625em) and (max-width: 64em) {
.tunnel-title h1 { font-size: 1.4rem;}
}
@media only screen and (max-width: 40em) {
.tunnel-title h1 { font-size: 1.2rem; line-height: .1; padding-top:.5rem;}
}
.tunnel-sub-header h3 {
  margin-bottom:0;
}
.tunnel-sub-section {
  margin-bottom:3rem;
}
.profile-photo {
	position: relative;
	top: 0;
	left: 0;
	padding-top:15px;
  margin:0;
}
.profile-logo {
	position: absolute;
	bottom: 5px;
	left: 5px;
	padding-right:83%
}
.status-caption {
  background-color: #428bca;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  padding:0 4px;
  margin-bottom:4px;
}
.cta-pad {
  padding:0 2px;
}
.comingsoonbutton {
  background: #FFF;
}
.comingsoonbutton:hover {
  background: #FFF;
}
@media only screen and (max-width: 40em) {
.mobilenopad{
    padding-left: 0;
    padding-right: 0;
}
}
.staragg {
  background-color: #ECD436;
  font-weight: 600;
  font-size: 16px;
  color: #383838;
  border-radius: 2px 2px 2px 2px;
  -moz-border-radius: 2px 2px 2px 2px;
  -webkit-border-radius: 2px 2px 2px 2px;
  padding:2px 3px;
  border:1px solid #CEBC48;
}
.deticon {
  margin-right:15px;
}
.tp-detailtop {
  padding:5px 10px;
  border-color: #e9eaed;
  border-style: solid;
  border-width: 0 1px 1px 1px;
}
.tp-topitem {
  border-color: #e9eaed;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
}
.tp-detailtopcta {
  padding:20px 0px 0px 0px;
  border-color: #e9eaed;
  border-style: solid;
  border-width: 2px 3px 3px 3px;
}
.tp-detailtopcta a {
color:#020202;
}
.tp-detailtopcta a:hover {
text-decoration: underline;
}
.tp-detailstat {
  padding:5px 10px;
  border:1px solid #e9eaed;
}
.tunctas {
  width: 33.33333%;
  float:left;
  clear: both;
  overflow: hidden;
}
.lightbox-photo {
  margin:20px;
}
.tunnel-tabs {
    background: none;
    border:1px solid #E0E0E0;
}
.tunnel-tabs a {
    color:#020202;
    font-size: 15px;
    padding: 1.25rem;
}
.tunnel-gallery-link {
  background-color: #3C3C3C;
  font-weight: 600;
  width: 100%;
  font-size: 14px;
  color: #fff;
  padding:0 4px;
  margin-bottom:4px;
}
.below-tabs-content {
    background: #fefefe;
    border: 1px solid #e6e6e6;
    border-top: 0;
    padding: 1rem;
    margin:none;
}
.private-tab-content {
    background: #fefefe;
    border: 1px solid #e6e6e6;
    padding: 1rem;
    margin:none;
}
.thumbgal-pad {
  padding-right: .9375rem;
}
.thumbgal-thumb {
  padding-right:0;
}
.cta-floater {
    border-bottom: 1px solid #cecece;
    background: rgba(255, 255, 255, 0.9);
}
.sticky-container {
  z-index: 2;
}
.profile-details {
  padding-top: 15px;
}
.cta-buttons {
  margin:0;
  padding:.7rem 0;
}
@media only screen and (max-width: 40em) {
.cta-buttons {
  margin:0;
  padding:.4rem 0;
}
}
.cta-button {
  margin:0;
}
.sticky {
    position: relative;
}
.tunnel-share-pad {
    padding:1rem .9375rem 0 .9375rem;
}
.copy-title {
    text-transform: uppercase;
    color: #868686;
    font-weight: 600;
}
.copy-box {
  margin-top:.75rem;
}
.copy-text-field {
  color: #868686;
  border:1px #b7b7b7 solid;
}
.groupon-callout {
    background: #dcf7da;
    -webkit-box-shadow: 0 1px 10px 1px rgba(0,0,0,0.25);
    -moz-box-shadow: 0 1px 10px 1px rgba(0,0,0,0.25);
    box-shadow: 0 1px 10px 1px rgba(0,0,0,0.25);
}
/*--------------------------------------------------Event Pages-----------------------------------------------*/
.event-title h1 {
  margin:15px 0;
}
.ep-detailfirst {
  padding:5px 10px;
  border-color: #e9eaed;
  border-style: solid;
  border-width: 1px;
}
.ep-detailtop {
  padding:5px 10px;
  border-color: #e9eaed;
  border-style: solid;
  border-width: 0 1px 1px 1px;
}
/*------------------------------------------------------Content------------------------------------------------*/
.article-header {
  text-transform: uppercase;
  color: #2A9B79;
  font-weight: 600;
  border-bottom: 1px solid #CFCFCF;
}
.article-header a {
  color: #2A9B79;
}
.article-header a:hover {
  text-decoration: underline;
}
.image-caption {
  color: #616161;
  font-size: 13px;
  margin-bottom:25px;
}
.share-section {
  margin-bottom:20px;
}
.wp-caption .wp-caption-text {
  color: #616161;
  font-size: 13px;
}
.loc-list-header {
	background: #E4E4E4;
	border-bottom: 2px solid #B0B0B0;
}
.open-to-the-public-stat {
	background: rgba(60, 139, 67, 0.3);
}
.under-construction-stat {
	background: rgba(205, 218, 31, 0.3);
}
.announced-stat {
  background: rgba(24, 135, 189, 0.3);
}
.closed-stat {
  background: rgba(206, 29, 29, 0.3);
}
.privately-operated-stat {
  background: rgba(208, 139, 9, 0.3);
}
.stat-key {
	padding:3px 10px;
}
.article-foot-subscribe {
    padding: 2rem;
    background: #444;
    color: #f9f9f9;
    margin: 1rem 0;
}
#field_18_1 > label {
    display: none;
}
#gform_submit_button_18 {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-left: 0;
}
#field_18_1 {
    padding-right: 0;
}

/*------------------------------------------------Comments----------------------------------------------*/
.comment-list {
  list-style: none;
}
.comment-list li {
    list-style: none;
}
.submit {
    display: inline-block;
    text-align: center;
    line-height: 1;
    cursor: pointer;
    -webkit-appearance: none;
    transition: background-color .25s ease-out,color .25s ease-out;
    vertical-align: middle;
    border: 1px solid transparent;
    border-radius: 3px;
    padding: .85em 1em;
    margin: 0 0 1rem;
    font-size: .9rem;
    background-color: #0E7C9D;
    color: #fff;
}
.submit:hover, .submit:focus {
    background-color: #159DC7;
}

/*---------------------------------------------Location Database----------------------------------------*/
.filterbutton {
	margin-top:10px;
}
.location-tab-content {
    padding:0;
    border:none;
}
.location-panel {
    padding:0;
}
.location-tabs {
    background: none;
    border:1px solid #E0E0E0;
    margin-bottom:15px;
}
.location-tabs a {
    color:#020202;
    font-size: 15px;
    padding: 1.25rem;
}
.table-tip {
  display:table-cell;
}
table {
  font-size:15px;
}
/* Foundation's .table-scroll wrapper sets its child table to width:auto so the table can
   overflow (and scroll) on narrow screens instead of squishing its columns. But width:auto
   also leaves the table narrower than its container - and visibly short of full width -
   whenever the content easily fits, which is normally the case on desktop. min-width:100%
   keeps the overflow/scroll behavior when content needs it, while still stretching the
   table to fill the container when it doesn't. */
.table-scroll table {
  min-width: 100%;
}
/* Sort arrows for the click-to-sort dropzone list tables (table.dz-sortable, wired up by
   library/datatables/init-dropzone-list-sort.js). DataTables adds the sorting / sorting_asc /
   sorting_desc classes to the headers; its own stylesheet isn't loaded on these pages, so this
   is just the arrows - the rest of the table keeps its normal Foundation styling. */
table.dz-sortable thead th.sorting,
table.dz-sortable thead th.sorting_asc,
table.dz-sortable thead th.sorting_desc {
  position: relative;
  padding-right: 26px;
  cursor: pointer;
}
table.dz-sortable thead th.sorting:before,
table.dz-sortable thead th.sorting:after,
table.dz-sortable thead th.sorting_asc:before,
table.dz-sortable thead th.sorting_asc:after,
table.dz-sortable thead th.sorting_desc:before,
table.dz-sortable thead th.sorting_desc:after {
  position: absolute;
  display: block;
  right: 10px;
  line-height: 9px;
  font-size: .8em;
  opacity: .25;
}
table.dz-sortable thead th.sorting:before,
table.dz-sortable thead th.sorting_asc:before,
table.dz-sortable thead th.sorting_desc:before {
  bottom: 50%;
  content: "\25B2";
}
table.dz-sortable thead th.sorting:after,
table.dz-sortable thead th.sorting_asc:after,
table.dz-sortable thead th.sorting_desc:after {
  top: 50%;
  content: "\25BC";
}
table.dz-sortable thead th.sorting_asc:before,
table.dz-sortable thead th.sorting_desc:after {
  opacity: .7;
}
/* Foundation's table.hover tints the whole header row on hover, which lit up every column
   header at once. Keep the row at its normal .loc-list-header grey and highlight only the
   single sortable header cell under the pointer. */
table.dz-sortable.hover thead tr:hover {
  background-color: #E4E4E4;
}
table.dz-sortable thead th.sorting:hover,
table.dz-sortable thead th.sorting_asc:hover,
table.dz-sortable thead th.sorting_desc:hover {
  background-color: #D2D2D2;
}
/* Turbine-dropzone flag in the list's leftmost column: keep it within a single text line so it
   never makes the row taller. Cap the tooltip wrapper too (Foundation's .has-tip adds a dotted
   underline and a line box of its own). */
.table-scroll .has-tip {
  border-bottom: 0;
  line-height: 1;
}
/* Fixed size (the PNG is 30x32): max-width:none beats Foundation's img max-width:100%, and
   min-width stops the table cell from squeezing the flag narrower on small screens. */
img.turbine-flag-inline {
  display: inline-block;
  width: 18px;
  min-width: 18px;
  max-width: none;
  height: 19px;
  vertical-align: middle;
}
.status-key {
    display: inline-block;
    padding: 6px 10px;
    line-height: normal;
    white-space: nowrap;
    margin-bottom:5px;
}
.location-accordion-title {
    color:#020202;
    font-size: 1.1rem;
    padding: 1.25rem;
    font-weight:600;
    border: 1px solid #d2d2d2;
    border-bottom: 0;
}
:last-child:not(.is-active)>.location-accordion-title {
    border-bottom: 1px solid #d2d2d2;
}
.location-accordion-content {
  border: 1px solid #d2d2d2;
  border-bottom: 0;
}
:last-child>.location-accordion-content:last-child {
    border-bottom: 1px solid #d2d2d2;
}
.location-accordion-item a:hover, .location-accordion-item a:focus {
    color:#020202;
}
.location-accordion >.is-active {
  background: #e6e6e6;
}


/*---------------------------------------------------Pagination---------------------------------------------*/
.pagination-wrapper {
  margin-top:15px;
  margin-bottom: 15px;
}
.page-numbers {
  border-radius: 2px 2px 2px 2px;
  -moz-border-radius: 2px 2px 2px 2px;
  -webkit-border-radius: 2px 2px 2px 2px;
  border: 1px solid #949494;
  padding: 5px 12px;
  margin-right: 3px;
  background-color: #F2F2F2;
  color:#020202;
}
.page-numbers:hover{
text-decoration: underline;
color:#020202;
}
.page-numbers.current {
  background-color: rgba(66, 139, 202, .5);
}
.page-numbers.current:hover {
  text-decoration: none;
}
/*
  [wpv-pager-nav-links output="bootstrap"] (used on /photos/, /videos/, and any other
  Views-driven listing) outputs Bootstrap's ul.pagination > li.page-item > a/span.page-link
  markup, not the paginate_links() .page-numbers markup styled above - this theme doesn't
  load Bootstrap's CSS, so without this it renders as a plain bulleted link list. These
  rules give it the same flat, boxed look as the .page-numbers pagination above.
*/
.wpv-pagination-nav-links-container {
  list-style: none;
  margin: 15px 0;
  padding: 0;
}
.wpv-pagination-nav-links-container .page-item {
  display: inline-block;
  margin: 0;
}
.wpv-pagination-nav-links-container .page-link {
  display: inline-block;
  border: 1px solid #949494;
  border-radius: 2px;
  padding: 5px 12px;
  margin-right: 3px;
  background-color: #F2F2F2;
  color: #020202;
  font-size: 16px;
  text-decoration: none;
}
.wpv-pagination-nav-links-container .page-link:hover {
  text-decoration: underline;
  color: #020202;
}
.wpv-pagination-nav-links-container .page-item.active .page-link,
.wpv-pagination-nav-links-container .wpv-pagination-nav-links-item-current .page-link {
  background-color: rgba(66, 139, 202, .5);
}
.wpv-pagination-nav-links-container .page-item.active .page-link:hover {
  text-decoration: none;
}
.deal-icon {
  color:#45980D;
}
/*---------------------------- Social Share Styles ----------------------------*/
.share-tab-img {
  margin-right:1rem;
}

.social-button {
  padding:7px 10px 11px 10px;
  color:#fff;
  -webkit-border-radius:4px;
  border-radius:4px;
  margin:3px;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.15);
  -webkit-box-shadow: inset 0 -4px 0 rgba(0,0,0,.2);
}
.social-icon {
  width:20px;
  text-align: center;
}
.facebook-button {
    background-color: #3B5998;
}
.facebook-button:hover, .facebook-button:focus {
    background-color: #496DB9;
}
.pinterest-button {
    background-color: #BD2126;
}
.pinterest-button:hover, .pinterest-button:focus {
    background-color: #D8282E;
}
.instagram-button {
    background-color: #fb3958;
}
.instagram-button:hover, .instagram-button:focus {
    background-color: #FF6880;
}
.gplus-button {
    background-color: #DC4E41;
}
.gplus-button:hover, .pinterest-button:focus {
    background-color: #D8282E;
}
.twitter-button {
    background-color: #55ACEE;
}
.twitter-button:hover, .twitter-button:focus {
    background-color: #5DB9FF;
}
.email-button {
    background-color: #738A8D;
}
.email-button:hover, .email-button:focus {
    background-color: #8FABAF;
}
.reddit-button {
  background-color:#ff5700;
}
.reddit-button:hover, .reddit-button:focus {
    background-color: #FF8546;
}


/*---------------------------- Sidebar Styles ----------------------------*/

.is-stuck .sticky-padding-top {
  padding-top: 5rem;
  transition: padding 0.25s ease;
}



/*--------------------------------------------------------Footer---------------------------------------------*/
.site-footer {
  padding: 50px 5px 0;
  background: #E4E4E4;
  border-top: 2px solid #B0B0B0;
  margin-top: 50px;
  color: #282828;
  line-height: 2rem;
}
.site-footer a{
  color: #282828;
}
.site-footer a:hover{
  text-decoration: underline;
}
.footer-list-top {
  color:#020202;
  font-weight: 600;
}
.foot-column {
  padding-bottom: 30px;
}
.final-foot {
  border-top: 3px solid #B0B0B0;
  margin-top: 30px;
  padding-top: 30px;
  line-height: 1rem;
}
.final-text {
  color: #616161;
  font-size: 13px;
  padding-bottom: 30px;
}
.facebook-color {
  color:#3b5998;
}
.twitter-color {
  color:#55ACEE;
}
.instagram-color {
  color:#c08d64;
}
.pinterest-color {
  color:#bd081c;
}
.googleplus-color {
  color:#dd4b39;
}
.x-color {
  color:#000;
}
.youtube-color {
  color:#ff0000;
}
.email-color {
  color:#73716D;
}
#field_7_1 > label {
    display: none;
}
#gform_submit_button_7 {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-left: 0;
}
#field_7_1 {
    padding-right: 0;
}

/*------------------------------------------Events--------------------------------------------------*/
.event-thumb {
    float: left;
    padding-right:7px;
}

/*------------------------------------------General Element Styling--------------------------------------------------*/

.is-size-1 {
  font-size: 1.1rem;
}
.is-size-2 {
  font-size: 1.2rem;
}
.is-size-3 {
  font-size: 1.3rem;
}
.is-size-4 {
  font-size: 1.4rem;
}
.is-size-5 {
  font-size: 1.5rem;
}
.is-size-6 {
  font-size: 1.6rem;
}
.is-size-7 {
  font-size: 1.7rem;
}
.is-italic {
  font-style: italic;
}
.has-space-1 {
  margin: 1rem 0;
}
.has-space-2 {
  margin: 2rem 0;
}
.has-space-3 {
  margin: 3rem 0;
}

/*------------------------------------------Guest Posting--------------------------------------------------*/

.web-stats {
  font-weight: 900;
  margin: 3rem 0;
}

.web-stats-text {
    text-transform: uppercase;
    display: block;
}
.web-stats-number {
  font-size: 3rem;
  display: block;
}


/*-------------Image Lightbox: http://osvaldas.info/image-lightbox-responsive-touch-friendly -------------*/
		/* IMAGE LIGHTBOX SELECTOR */

		#imagelightbox
		{
			cursor: pointer;
			position: fixed;
			z-index: 10000;

			-ms-touch-action: none;
			touch-action: none;

			-webkit-box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 ); /* 50 */
			box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 ); /* 50 */
		}


		/* ACTIVITY INDICATION */

		#imagelightbox-loading,
		#imagelightbox-loading div
		{
			border-radius: 50%;
		}
		#imagelightbox-loading
		{
			width: 2.5em; /* 40 */
			height: 2.5em; /* 40 */
			background-color: #444;
			background-color: rgba( 0, 0, 0, .5 );
			position: fixed;
			z-index: 10003;
			top: 50%;
			left: 50%;
			padding: 0.625em; /* 10 */
			margin: -1.25em 0 0 -1.25em; /* 20 */
		}
			#imagelightbox-loading div
			{
				width: 1.25em; /* 20 */
				height: 1.25em; /* 20 */
				background-color: #fff;

				-webkit-animation: imagelightbox-loading .5s ease infinite;
				animation: imagelightbox-loading .5s ease infinite;
			}

			@-webkit-keyframes imagelightbox-loading
			{
				from { opacity: .5;	-webkit-transform: scale( .75 ); }
				50%	 { opacity: 1;	-webkit-transform: scale( 1 ); }
				to	 { opacity: .5;	-webkit-transform: scale( .75 ); }
			}
			@keyframes imagelightbox-loading
			{
				from { opacity: .5;	transform: scale( .75 ); }
				50%	 { opacity: 1;	transform: scale( 1 ); }
				to	 { opacity: .5;	transform: scale( .75 ); }
			}


		/* OVERLAY */

		#imagelightbox-overlay
		{
			background-color: #fff;
			background-color: rgba( 255, 255, 255, .9 );
			position: fixed;
			z-index: 9998;
			top: 0;
			right: 0;
			bottom: 0;
			left: 0;
		}


		/* "CLOSE" BUTTON */

		#imagelightbox-close
		{
			width: 2.5em; /* 40 */
			height: 2.5em; /* 40 */
			text-align: left;
			background-color: #666;
			border-radius: 50%;
			position: fixed;
			z-index: 10002;
			top: 2.5em; /* 40 */
			right: 2.5em; /* 40 */

			-webkit-transition: color .3s ease;
			transition: color .3s ease;
		}
			#imagelightbox-close:hover,
			#imagelightbox-close:focus
			{
				background-color: #111;
			}
			#imagelightbox-close:before,
			#imagelightbox-close:after
			{
				width: 2px;
				background-color: #fff;
				content: '';
				position: absolute;
				top: 20%;
				bottom: 20%;
				left: 50%;
				margin-left: -1px;
			}
			#imagelightbox-close:before
			{
				-webkit-transform: rotate( 45deg );
				-ms-transform: rotate( 45deg );
				transform: rotate( 45deg );
			}
			#imagelightbox-close:after
			{
				-webkit-transform: rotate( -45deg );
				-ms-transform: rotate( -45deg );
				transform: rotate( -45deg );
			}


		/* CAPTION */

		#imagelightbox-caption
		{
			text-align: center;
			color: #fff;
			text-shadow: 0 1px 0 #6D6D6D;
			background-color: rgba( 102, 102, 102, .75 );
			position: fixed;
			z-index: 10001;
			left: 0;
			right: 0;
			bottom: 0;
			padding: 0.625em; /* 10 */
		}
		@media only screen and (max-width: 40em) {
			#imagelightbox-caption
					{
						padding: 0;
					}
  }


		/* NAVIGATION */

		#imagelightbox-nav
		{
			background-color: #444;
			background-color: rgba( 0, 0, 0, .5 );
			border-radius: 20px;
			position: fixed;
			z-index: 10001;
			left: 50%;
			bottom: 3.75em; /* 60 */
			padding: 0.313em; /* 5 */

			-webkit-transform: translateX( -50% );
			-ms-transform: translateX( -50% );
			transform: translateX( -50% );
		}
			#imagelightbox-nav button
			{
				width: 1em; /* 20 */
				height: 1em; /* 20 */
				background-color: transparent;
				border: 1px solid #fff;
				border-radius: 50%;
				display: inline-block;
				margin: 0 0.313em; /* 5 */
			}
			#imagelightbox-nav button.active
			{
				background-color: #fff;
			}


		/* ARROWS */

		.imagelightbox-arrow
		{
			width: 3.75em; /* 60 */
			height: 7.5em; /* 120 */
			background-color: #444;
			background-color: rgba( 0, 0, 0, .5 );
			vertical-align: middle;
			display: none;
			position: fixed;
			z-index: 10001;
			top: 50%;
			margin-top: -3.75em; /* 60 */
		}
		.imagelightbox-arrow:hover,
		.imagelightbox-arrow:focus
		{
			background-color: #666;
			background-color: rgba( 0, 0, 0, .5 );
		}
		.imagelightbox-arrow:active
		{
			background-color: #111;
		}
			.imagelightbox-arrow-left
			{
				left: 1em; /* 40 */
			}
			.imagelightbox-arrow-right
			{
				right: 1em; /* 40 */
			}
			.imagelightbox-arrow:before
			{
				width: 0;
				height: 0;
				border: 1em solid transparent;
				content: '';
				display: inline-block;
				margin-bottom: -0.125em; /* 2 */
			}
				.imagelightbox-arrow-left:before
				{
					border-left: none;
					border-right-color: #fff;
					margin-left: -0.313em; /* 5 */
				}
				.imagelightbox-arrow-right:before
				{
					border-right: none;
					border-left-color: #fff;
					margin-right: -0.313em; /* 5 */
				}

		#imagelightbox-loading,
		#imagelightbox-overlay,
		#imagelightbox-close,
		#imagelightbox-caption,
		#imagelightbox-nav,
		.imagelightbox-arrow
		{
			-webkit-animation: fade-in .1s linear;
			animation: fade-in .1s linear;
		}
			@-webkit-keyframes fade-in
			{
				from	{ opacity: 0; }
				to		{ opacity: 1; }
			}
			@keyframes fade-in
			{
				from	{ opacity: 0; }
				to		{ opacity: 1; }
			}

		@media only screen and (max-width: 41.250em) /* 660 */
		{
			#container
			{
				width: 100%;
			}
			#imagelightbox-close
			{
				top: 1.25em; /* 20 */
				right: 1.25em; /* 20 */
			}
			#imagelightbox-nav
			{
				bottom: 1.25em; /* 20 */
			}

			.imagelightbox-arrow
			{
				width: 2.5em; /* 40 */
				height: 3.75em; /* 60 */
				margin-top: -2.75em; /* 30 */
			}
			.imagelightbox-arrow-left
			{
				left: 0.25em; /* 20 */
			}
			.imagelightbox-arrow-right
			{
				right: 0.25em; /* 20 */
			}
		}

		@media only screen and (max-width: 20em) /* 320 */
		{
			.imagelightbox-arrow-left
			{
				left: 0;
			}
			.imagelightbox-arrow-right
			{
				right: 0;
			}
		}


/*-----------------------------------------------Location Search (map-world-search view)----------------------------------------*/
/*
  Row 1: location field + Search button, joined as one pill.
  Row 2: "Use my location" on its own line below, natural width.
  .form-group is flattened with display:contents so its children (the
  location field + "Use my location" button) sit as direct grid items
  alongside the Search button, letting each be placed independently.
*/

.map-search-bar-home {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 0;
  row-gap: 0.5rem;
}

.map-search-bar-home .form-group {
  display: contents;
}

/* Shared control reset - location field + both buttons */
.map-search-bar-home .form-control,
.map-search-bar-home input[type="button"],
.map-search-bar-home input[type="submit"] {
  height: 42px;
  margin: 0;
  padding: 0 1rem;
  border: 1px solid #cacaca;
  border-radius: 0;
  font-family: inherit;
  font-size: 1rem;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

/* Location input - row 1, col 1, rounded left end */
.map-search-bar-home .form-group > .form-control:first-child {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  border-right: none;
  border-radius: 3px 0 0 3px;
  background-color: #fefefe;
  color: #0a0a0a;
}

.map-search-bar-home .form-control:focus {
  position: relative;
  z-index: 1;
  border-color: #0E7C9D;
  outline: none;
}

/* Search submit - row 1, col 2, rounded right end */
.map-search-bar-home .wpv-submit-trigger {
  grid-column: 2;
  grid-row: 1;
  border-color: #0E7C9D;
  border-radius: 0 3px 3px 0;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background-color: #0E7C9D;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}
.map-search-bar-home .wpv-submit-trigger:hover,
.map-search-bar-home .wpv-submit-trigger:focus {
  background-color: #159DC7;
  border-color: #159DC7;
}

/* "Use my location" - row 2, spans the full width but stays its natural size */
.map-search-bar-home input[type="button"] {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: start;
  border-radius: 3px;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background-color: #e9e9e9;
  color: #0a0a0a;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}
.map-search-bar-home input[type="button"]:hover,
.map-search-bar-home input[type="button"]:focus {
  background-color: #bababa;
}

@media only screen and (max-width: 40em) {
  .map-search-bar-home .form-control,
  .map-search-bar-home input[type="button"],
  .map-search-bar-home .wpv-submit-trigger {
    padding: 0 0.65rem;
    font-size: 0.8rem;
  }
}

/*-----------------------------------------------Location Search Results page (wind-tunnel-database-map-world view)----------------------------------------*/
/*
  Rendered on /location-search-results/ by the "wind-tunnel-database-map-world"
  View's own [wpv-form-view ... target_id="self"] embed - a different View
  from the sitewide search widget, with its own wrapper class (.map-search-bar,
  no "-home") and its own inputs_placeholder markup, so these rules are kept
  separate from the .map-search-bar-home ones above rather than shared.

  Layout:
    Row 1: .map-search-distance (radius value + unit + labels) - its own line
    Row 2: location field + Search button - joined pill, same look as the
           sitewide search widget
    Row 3: "Use my location" - its own line, natural width

  .form-group and .map-search-center are flattened with display:contents so
  their children can be placed independently in the outer grid.
*/

.map-search-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 0;
  row-gap: 0.5rem;
}

.map-search-bar .form-group,
.map-search-bar .map-search-center {
  display: contents;
}

/* Row 1: "Find tunnels within [250] [mi] radius of:" */
.map-search-bar .map-search-distance {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #0a0a0a;
}

.map-search-bar .map-search-distance span {
  white-space: nowrap;
}

/* Shared control reset - radius value/unit + location field + both buttons */
.map-search-bar .form-control,
.map-search-bar input[type="button"],
.map-search-bar input[type="submit"] {
  height: 42px;
  margin: 0;
  padding: 0 1rem;
  border: 1px solid #cacaca;
  border-radius: 3px;
  background-color: #fefefe;
  color: #0a0a0a;
  font-family: inherit;
  font-size: 1rem;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.map-search-bar .form-control:focus {
  position: relative;
  z-index: 1;
  border-color: #0E7C9D;
  outline: none;
}

.map-search-bar #toolset-maps-distance-value {
  flex: 0 0 auto;
  width: 6.5rem;
  text-align: center;
}

.map-search-bar #toolset-maps-distance {
  flex: 0 0 auto;
  width: 4.5rem;
}

/* Row 2: location field, rounded left end, joined to Search */
.map-search-bar #toolset-maps-distance-center {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  min-width: 0;
  border-right: none;
  border-radius: 3px 0 0 3px;
}

/* Row 2: Search submit, rounded right end.
   Selector includes the "input" type on purpose - the shared reset rule
   above matches via input[type="submit"] (class + attribute + type =
   higher specificity than two plain classes), so ".map-search-bar
   .wpv-submit-trigger" alone would lose to it for background-color and
   sit gray until :hover. Matching that specificity here (and winning on
   source order) keeps the blue visible at rest, not just on hover. */
.map-search-bar input.wpv-submit-trigger {
  grid-column: 2;
  grid-row: 2;
  border-color: #0E7C9D;
  border-radius: 0 3px 3px 0;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background-color: #0E7C9D;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}
.map-search-bar input.wpv-submit-trigger:hover,
.map-search-bar input.wpv-submit-trigger:focus {
  background-color: #159DC7;
  border-color: #159DC7;
}

/* Row 3: "Use my location" on its own line, natural width - same
   specificity fix as the Search button above. */
.map-search-bar input.js-toolset-maps-distance-current-location {
  grid-column: 1 / -1;
  grid-row: 3;
  justify-self: start;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background-color: #e9e9e9;
  color: #0a0a0a;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}
.map-search-bar input.js-toolset-maps-distance-current-location:hover,
.map-search-bar input.js-toolset-maps-distance-current-location:focus {
  background-color: #bababa;
}

@media only screen and (max-width: 40em) {
  .map-search-bar .form-control,
  .map-search-bar input[type="button"],
  .map-search-bar .wpv-submit-trigger {
    padding: 0 0.65rem;
    font-size: 0.8rem;
  }
}

/*--------------------------------------------Flag Sprites-------------------------------------------*/

/* http://css.spritegen.com */

 /* Country Flags */

.country-argentina, .country-australia, .country-austria, .country-bahrain, .country-belarus, 
.country-belgium, .country-brazil, .country-bulgaria, .country-canada, .country-chile, 
.country-china, .country-colombia, .country-czech-republic, .country-denmark, .country-egypt, 
.country-finland, .country-france, .country-germany, .country-greece, .country-guadeloupe, .country-guam, 
.country-guatemala, .country-hungary, .country-india, .country-indonesia, .country-iran, 
.country-ireland, .country-israel, .country-italy, .country-japan, .country-kazakhstan, 
.country-latvia, .country-libya, .country-lithuania, .country-luxembourg, .country-malaysia, 
.country-mexico, .country-monaco, .country-morocco, .country-myanmar, .country-netherlands, 
.country-new-zealand, .country-north-korea, .country-norway, .country-pakistan, .country-poland, 
.country-portugal, .country-qatar, .country-romania, .country-russia, .country-saudi-arabia, 
.country-singapore, .country-slovakia, .country-slovenia, .country-south-africa, .country-south-korea, 
.country-spain, .country-sweden, .country-switzerland, .country-taiwan, .country-thailand, 
.country-turkey, .country-usa, .country-ukraine, .country-united-arab-emirates, .country-united-kingdom, 
.country-sm-venezuela, .country-not-available
{ display: inline-block; background: url('/wp-content/themes/flexfit/images/country-flags.png') no-repeat; overflow: hidden; text-indent: -9999px; text-align: left; }
 
.country-argentina { background-position: -0px -0px; width: 32px; height: 32px; }
.country-australia { background-position: -0px -32px; width: 32px; height: 32px; }
.country-austria { background-position: -0px -64px; width: 32px; height: 32px; }
.country-bahrain { background-position: -0px -96px; width: 32px; height: 32px; }
.country-belarus { background-position: -0px -128px; width: 32px; height: 32px; }
.country-belgium { background-position: -0px -160px; width: 32px; height: 32px; }
.country-brazil { background-position: -0px -192px; width: 32px; height: 32px; }
.country-bulgaria { background-position: -0px -224px; width: 32px; height: 32px; }
.country-canada { background-position: -0px -256px; width: 32px; height: 32px; }
.country-chile { background-position: -0px -288px; width: 32px; height: 32px; }
.country-china { background-position: -0px -320px; width: 32px; height: 32px; }
.country-colombia { background-position: -0px -352px; width: 32px; height: 32px; }
.country-czech-republic { background-position: -0px -384px; width: 32px; height: 32px; }
.country-denmark { background-position: -0px -416px; width: 32px; height: 32px; }
.country-egypt { background-position: -0px -448px; width: 32px; height: 32px; }
.country-finland { background-position: -0px -480px; width: 32px; height: 32px; }
.country-france { background-position: -0px -512px; width: 32px; height: 32px; }
.country-germany { background-position: -0px -544px; width: 32px; height: 32px; }
.country-greece { background-position: -0px -576px; width: 32px; height: 32px; }
.country-guadeloupe { background-position: -0px -512px; width: 32px; height: 32px; }
.country-guam { background-position: -0px -608px; width: 32px; height: 32px; }
.country-guatemala { background-position: -0px -640px; width: 32px; height: 32px; }
.country-hungary { background-position: -0px -672px; width: 32px; height: 32px; }
.country-india { background-position: -0px -704px; width: 32px; height: 32px; }
.country-indonesia { background-position: -0px -736px; width: 32px; height: 32px; }
.country-iran { background-position: -0px -768px; width: 32px; height: 32px; }
.country-ireland { background-position: -0px -800px; width: 32px; height: 32px; }
.country-israel { background-position: -0px -832px; width: 32px; height: 32px; }
.country-italy { background-position: -0px -864px; width: 32px; height: 32px; }
.country-japan { background-position: -0px -896px; width: 32px; height: 32px; }
.country-kazakhstan { background-position: -0px -928px; width: 32px; height: 32px; }
.country-latvia { background-position: -0px -960px; width: 32px; height: 32px; }
.country-libya { background-position: -0px -992px; width: 32px; height: 32px; }
.country-lithuania { background-position: -0px -1024px; width: 32px; height: 32px; }
.country-luxembourg { background-position: -0px -1056px; width: 32px; height: 32px; }
.country-malaysia { background-position: -0px -1088px; width: 32px; height: 32px; }
.country-mexico { background-position: -0px -1120px; width: 32px; height: 32px; }
.country-monaco { background-position: -0px -1152px; width: 32px; height: 32px; }
.country-morocco { background-position: -0px -1184px; width: 32px; height: 32px; }
.country-myanmar { background-position: -0px -1216px; width: 32px; height: 32px; }
.country-netherlands { background-position: -0px -1248px; width: 32px; height: 32px; }
.country-new-zealand { background-position: -0px -1280px; width: 32px; height: 32px; }
.country-north-korea { background-position: -0px -1312px; width: 32px; height: 32px; }
.country-norway { background-position: -0px -1344px; width: 32px; height: 32px; }
.country-pakistan { background-position: -0px -1376px; width: 32px; height: 32px; }
.country-poland { background-position: -0px -1408px; width: 32px; height: 32px; }
.country-portugal { background-position: -0px -1440px; width: 32px; height: 32px; }
.country-qatar { background-position: -0px -1472px; width: 32px; height: 32px; }
.country-romania { background-position: -0px -1504px; width: 32px; height: 32px; }
.country-russia { background-position: -0px -1536px; width: 32px; height: 32px; }
.country-saudi-arabia { background-position: -0px -1568px; width: 32px; height: 32px; }
.country-singapore { background-position: -0px -1600px; width: 32px; height: 32px; }
.country-slovakia { background-position: -0px -1632px; width: 32px; height: 32px; }
.country-slovenia { background-position: -0px -1664px; width: 32px; height: 32px; }
.country-south-africa { background-position: -0px -1696px; width: 32px; height: 32px; }
.country-south-korea { background-position: -0px -1728px; width: 32px; height: 32px; }
.country-spain { background-position: -0px -1760px; width: 32px; height: 32px; }
.country-sweden { background-position: -0px -1792px; width: 32px; height: 32px; }
.country-switzerland { background-position: -0px -1824px; width: 32px; height: 32px; }
.country-taiwan { background-position: -0px -1856px; width: 32px; height: 32px; }
.country-thailand { background-position: -0px -1888px; width: 32px; height: 32px; }
.country-turkey { background-position: -0px -1920px; width: 32px; height: 32px; }
.country-usa { background-position: -0px -1952px; width: 32px; height: 32px; }
.country-ukraine { background-position: -0px -1984px; width: 32px; height: 32px; }
.country-united-arab-emirates { background-position: -0px -2016px; width: 32px; height: 32px; }
.country-united-kingdom { background-position: -0px -2048px; width: 32px; height: 32px; }
.country-venezuela { background-position: -0px -352px; width: 32px; height: 32px; }
.country-not-available { background-position: -0px -2080px; width: 1px; height: 1px; }

 /* Country Flags Small */

 .country-sm-argentina, .country-sm-australia, .country-sm-austria, .country-sm-bahrain, .country-sm-belarus, 
.country-sm-belgium, .country-sm-brazil, .country-sm-bulgaria, .country-sm-canada, .country-sm-chile, 
.country-sm-china, .country-sm-colombia, .country-sm-czech-republic, .country-sm-denmark, .country-sm-egypt, 
.country-sm-finland, .country-sm-france, .country-sm-germany, .country-sm-greece, .country-sm-guadeloupe, .country-sm-guam, 
.country-sm-guatemala, .country-sm-hungary, .country-sm-india, .country-sm-indonesia, .country-sm-iran, 
.country-sm-ireland, .country-sm-israel, .country-sm-italy, .country-sm-japan, .country-sm-kazakhstan, 
.country-sm-latvia, .country-sm-libya, .country-sm-lithuania, .country-sm-luxembourg, .country-sm-malaysia, 
.country-sm-mexico, .country-sm-monaco, .country-sm-morocco, .country-sm-myanmar, .country-sm-netherlands, 
.country-sm-new-zealand, .country-sm-north-korea, .country-sm-norway, .country-sm-pakistan, .country-sm-poland, 
.country-sm-portugal, .country-sm-qatar, .country-sm-romania, .country-sm-russia, .country-sm-saudi-arabia, 
.country-sm-singapore, .country-sm-slovakia, .country-sm-slovenia, .country-sm-south-africa, .country-sm-south-korea, 
.country-sm-spain, .country-sm-sweden, .country-sm-switzerland, .country-sm-taiwan, .country-sm-thailand, 
.country-sm-turkey, .country-sm-usa, .country-sm-ukraine, .country-sm-united-arab-emirates, .country-sm-united-kingdom, 
.country-sm-venezuela, .country-sm-not-available
{ display: inline-block; background: url('/wp-content/themes/flexfit/images/country-sm-flags.png') no-repeat; overflow: hidden; text-indent: -9999px; text-align: left; }
 
.country-sm-argentina { background-position: -0px -0px; width: 16px; height: 16px; }
.country-sm-australia { background-position: -0px -16px; width: 16px; height: 16px; }
.country-sm-austria { background-position: -0px -32px; width: 16px; height: 16px; }
.country-sm-bahrain { background-position: -0px -48px; width: 16px; height: 16px; }
.country-sm-belarus { background-position: -0px -64px; width: 16px; height: 16px; }
.country-sm-belgium { background-position: -0px -80px; width: 16px; height: 16px; }
.country-sm-brazil { background-position: -0px -96px; width: 16px; height: 16px; }
.country-sm-bulgaria { background-position: -0px -112px; width: 16px; height: 16px; }
.country-sm-canada { background-position: -0px -128px; width: 16px; height: 16px; }
.country-sm-chile { background-position: -0px -144px; width: 16px; height: 16px; }
.country-sm-china { background-position: -0px -160px; width: 16px; height: 16px; }
.country-sm-colombia { background-position: -0px -176px; width: 16px; height: 16px; }
.country-sm-czech-republic { background-position: -0px -192px; width: 16px; height: 16px; }
.country-sm-denmark { background-position: -0px -208px; width: 16px; height: 16px; }
.country-sm-egypt { background-position: -0px -224px; width: 16px; height: 16px; }
.country-sm-finland { background-position: -0px -240px; width: 16px; height: 16px; }
.country-sm-france { background-position: -0px -256px; width: 16px; height: 16px; }
.country-sm-germany { background-position: -0px -272px; width: 16px; height: 16px; }
.country-sm-greece { background-position: -0px -288px; width: 16px; height: 16px; }
.country-sm-guadeloupe { background-position: -0px -256px; width: 16px; height: 16px; }
.country-sm-guam { background-position: -0px -304px; width: 16px; height: 16px; }
.country-sm-guatemala { background-position: -0px -320px; width: 16px; height: 16px; }
.country-sm-hungary { background-position: -0px -336px; width: 16px; height: 16px; }
.country-sm-india { background-position: -0px -352px; width: 16px; height: 16px; }
.country-sm-indonesia { background-position: -0px -368px; width: 16px; height: 16px; }
.country-sm-iran { background-position: -0px -384px; width: 16px; height: 16px; }
.country-sm-ireland { background-position: -0px -400px; width: 16px; height: 16px; }
.country-sm-israel { background-position: -0px -416px; width: 16px; height: 16px; }
.country-sm-italy { background-position: -0px -432px; width: 16px; height: 16px; }
.country-sm-japan { background-position: -0px -448px; width: 16px; height: 16px; }
.country-sm-kazakhstan { background-position: -0px -464px; width: 16px; height: 16px; }
.country-sm-latvia { background-position: -0px -480px; width: 16px; height: 16px; }
.country-sm-libya { background-position: -0px -496px; width: 16px; height: 16px; }
.country-sm-lithuania { background-position: -0px -512px; width: 16px; height: 16px; }
.country-sm-luxembourg { background-position: -0px -528px; width: 16px; height: 16px; }
.country-sm-malaysia { background-position: -0px -544px; width: 16px; height: 16px; }
.country-sm-mexico { background-position: -0px -560px; width: 16px; height: 16px; }
.country-sm-monaco { background-position: -0px -576px; width: 16px; height: 16px; }
.country-sm-morocco { background-position: -0px -592px; width: 16px; height: 16px; }
.country-sm-myanmar { background-position: -0px -608px; width: 16px; height: 16px; }
.country-sm-netherlands { background-position: -0px -624px; width: 16px; height: 16px; }
.country-sm-new-zealand { background-position: -0px -640px; width: 16px; height: 16px; }
.country-sm-north-korea { background-position: -0px -656px; width: 16px; height: 16px; }
.country-sm-norway { background-position: -0px -672px; width: 16px; height: 16px; }
.country-sm-pakistan { background-position: -0px -688px; width: 16px; height: 16px; }
.country-sm-poland { background-position: -0px -704px; width: 16px; height: 16px; }
.country-sm-portugal { background-position: -0px -720px; width: 16px; height: 16px; }
.country-sm-qatar { background-position: -0px -736px; width: 16px; height: 16px; }
.country-sm-romania { background-position: -0px -752px; width: 16px; height: 16px; }
.country-sm-russia { background-position: -0px -768px; width: 16px; height: 16px; }
.country-sm-saudi-arabia { background-position: -0px -784px; width: 16px; height: 16px; }
.country-sm-singapore { background-position: -0px -800px; width: 16px; height: 16px; }
.country-sm-slovakia { background-position: -0px -816px; width: 16px; height: 16px; }
.country-sm-slovenia { background-position: -0px -832px; width: 16px; height: 16px; }
.country-sm-south-africa { background-position: -0px -848px; width: 16px; height: 16px; }
.country-sm-south-korea { background-position: -0px -864px; width: 16px; height: 16px; }
.country-sm-spain { background-position: -0px -880px; width: 16px; height: 16px; }
.country-sm-sweden { background-position: -0px -896px; width: 16px; height: 16px; }
.country-sm-switzerland { background-position: -0px -912px; width: 16px; height: 16px; }
.country-sm-taiwan { background-position: -0px -928px; width: 16px; height: 16px; }
.country-sm-thailand { background-position: -0px -944px; width: 16px; height: 16px; }
.country-sm-turkey { background-position: -0px -960px; width: 16px; height: 16px; }
.country-sm-usa { background-position: -0px -976px; width: 16px; height: 16px; }
.country-sm-ukraine { background-position: -0px -992px; width: 16px; height: 16px; }
.country-sm-united-arab-emirates { background-position: -0px -1008px; width: 16px; height: 16px; }
.country-sm-united-kingdom { background-position: -0px -1024px; width: 16px; height: 16px; }
.country-sm-venezuela { background-position: -0px -176px; width: 16px; height: 16px; }
.country-sm-not-available { background-position: -0px -1040px; width: 1px; height: 1px; }

 /* State Flags */

.state-alabama, .state-alaska, .state-arizona, .state-arkansas, .state-california, 
.state-colorado, .state-connecticut, .state-delaware, .state-florida, .state-georgia, 
.state-hawaii, .state-idaho, .state-illinois, .state-indiana, .state-iowa, 
.state-kansas, .state-kentucky, .state-louisiana, .state-maine, .state-maryland, 
.state-massachusetts, .state-michigan, .state-minnesota, .state-mississippi, .state-missouri, 
.state-montana, .state-nebraska, .state-nevada, .state-new-hampshire, .state-new-jersey, 
.state-new-mexico, .state-new-york, .state-north-carolina, .state-north-dakota, .state-ohio, 
.state-oklahoma, .state-oregon, .state-pennsylvania, .state-rhode-island, .state-south-carolina, 
.state-south-dakota, .state-tennessee, .state-texas, .state-utah, .state-vermont, 
.state-virginia, .state-washington, .state-west-virginia, .state-wisconsin, .state-wyoming
{ display: inline-block; background: url('/wp-content/themes/flexfit/images/state-flags.png') no-repeat; overflow: hidden; text-indent: -9999px; text-align: left; }
 
.state-alabama { background-position: -0px -0px; width: 32px; height: 32px; }
.state-alaska { background-position: -32px -0px; width: 32px; height: 32px; }
.state-arizona { background-position: -64px -0px; width: 32px; height: 32px; }
.state-arkansas { background-position: -96px -0px; width: 32px; height: 32px; }
.state-california { background-position: -128px -0px; width: 32px; height: 32px; }
.state-colorado { background-position: -160px -0px; width: 32px; height: 32px; }
.state-connecticut { background-position: -192px -0px; width: 32px; height: 32px; }
.state-delaware { background-position: -0px -32px; width: 32px; height: 32px; }
.state-florida { background-position: -32px -32px; width: 32px; height: 32px; }
.state-georgia { background-position: -64px -32px; width: 32px; height: 32px; }
.state-hawaii { background-position: -96px -32px; width: 32px; height: 32px; }
.state-idaho { background-position: -128px -32px; width: 32px; height: 32px; }
.state-illinois { background-position: -160px -32px; width: 32px; height: 32px; }
.state-indiana { background-position: -192px -32px; width: 32px; height: 32px; }
.state-iowa { background-position: -0px -64px; width: 32px; height: 32px; }
.state-kansas { background-position: -32px -64px; width: 32px; height: 32px; }
.state-kentucky { background-position: -64px -64px; width: 32px; height: 32px; }
.state-louisiana { background-position: -96px -64px; width: 32px; height: 32px; }
.state-maine { background-position: -128px -64px; width: 32px; height: 32px; }
.state-maryland { background-position: -160px -64px; width: 32px; height: 32px; }
.state-massachusetts { background-position: -192px -64px; width: 32px; height: 32px; }
.state-michigan { background-position: -0px -96px; width: 32px; height: 32px; }
.state-minnesota { background-position: -32px -96px; width: 32px; height: 32px; }
.state-mississippi { background-position: -64px -96px; width: 32px; height: 32px; }
.state-missouri { background-position: -96px -96px; width: 32px; height: 32px; }
.state-montana { background-position: -128px -96px; width: 32px; height: 32px; }
.state-nebraska { background-position: -160px -96px; width: 32px; height: 32px; }
.state-nevada { background-position: -192px -96px; width: 32px; height: 32px; }
.state-new-hampshire { background-position: -0px -128px; width: 32px; height: 32px; }
.state-new-jersey { background-position: -32px -128px; width: 32px; height: 32px; }
.state-new-mexico { background-position: -64px -128px; width: 32px; height: 32px; }
.state-new-york { background-position: -96px -128px; width: 32px; height: 32px; }
.state-north-carolina { background-position: -128px -128px; width: 32px; height: 32px; }
.state-north-dakota { background-position: -160px -128px; width: 32px; height: 32px; }
.state-ohio { background-position: -192px -128px; width: 32px; height: 32px; }
.state-oklahoma { background-position: -0px -160px; width: 32px; height: 32px; }
.state-oregon { background-position: -32px -160px; width: 32px; height: 32px; }
.state-pennsylvania { background-position: -64px -160px; width: 32px; height: 32px; }
.state-rhode-island { background-position: -96px -160px; width: 32px; height: 32px; }
.state-south-carolina { background-position: -128px -160px; width: 32px; height: 32px; }
.state-south-dakota { background-position: -160px -160px; width: 32px; height: 32px; }
.state-tennessee { background-position: -192px -160px; width: 32px; height: 32px; }
.state-texas { background-position: -0px -192px; width: 32px; height: 32px; }
.state-utah { background-position: -32px -192px; width: 32px; height: 32px; }
.state-vermont { background-position: -64px -192px; width: 32px; height: 32px; }
.state-virginia { background-position: -96px -192px; width: 32px; height: 32px; }
.state-washington { background-position: -128px -192px; width: 32px; height: 32px; }
.state-west-virginia { background-position: -160px -192px; width: 32px; height: 32px; }
.state-wisconsin { background-position: -192px -192px; width: 32px; height: 32px; }
.state-wyoming { background-position: -0px -224px; width: 32px; height: 32px; }

 /* State Flags Small */

.state-sm-alabama, .state-sm-alaska, .state-sm-arizona, .state-sm-arkansas, .state-sm-california, 
.state-sm-colorado, .state-sm-connecticut, .state-sm-delaware, .state-sm-florida, .state-sm-georgia, 
.state-sm-hawaii, .state-sm-idaho, .state-sm-illinois, .state-sm-indiana, .state-sm-iowa, 
.state-sm-kansas, .state-sm-kentucky, .state-sm-louisiana, .state-sm-maine, .state-sm-maryland, 
.state-sm-massachusetts, .state-sm-michigan, .state-sm-minnesota, .state-sm-mississippi, .state-sm-missouri, 
.state-sm-montana, .state-sm-nebraska, .state-sm-nevada, .state-sm-new-hampshire, .state-sm-new-jersey, 
.state-sm-new-mexico, .state-sm-new-york, .state-sm-north-carolina, .state-sm-north-dakota, .state-sm-ohio, 
.state-sm-oklahoma, .state-sm-oregon, .state-sm-pennsylvania, .state-sm-rhode-island, .state-sm-south-carolina, 
.state-sm-south-dakota, .state-sm-tennessee, .state-sm-texas, .state-sm-utah, .state-sm-vermont, 
.state-sm-virginia, .state-sm-washington, .state-sm-west-virginia, .state-sm-wisconsin, .state-sm-wyoming
{ display: inline-block; background: url('/wp-content/themes/flexfit/images/state-sm-flags.png') no-repeat; overflow: hidden; text-indent: -9999px; text-align: left; }
 
.state-sm-alabama { background-position: -0px -0px; width: 16px; height: 16px; }
.state-sm-alaska { background-position: -16px -0px; width: 16px; height: 16px; }
.state-sm-arizona { background-position: -32px -0px; width: 16px; height: 16px; }
.state-sm-arkansas { background-position: -48px -0px; width: 16px; height: 16px; }
.state-sm-california { background-position: -64px -0px; width: 16px; height: 16px; }
.state-sm-colorado { background-position: -80px -0px; width: 16px; height: 16px; }
.state-sm-connecticut { background-position: -96px -0px; width: 16px; height: 16px; }
.state-sm-delaware { background-position: -0px -16px; width: 16px; height: 16px; }
.state-sm-florida { background-position: -16px -16px; width: 16px; height: 16px; }
.state-sm-georgia { background-position: -32px -16px; width: 16px; height: 16px; }
.state-sm-hawaii { background-position: -48px -16px; width: 16px; height: 16px; }
.state-sm-idaho { background-position: -64px -16px; width: 16px; height: 16px; }
.state-sm-illinois { background-position: -80px -16px; width: 16px; height: 16px; }
.state-sm-indiana { background-position: -96px -16px; width: 16px; height: 16px; }
.state-sm-iowa { background-position: -0px -32px; width: 16px; height: 16px; }
.state-sm-kansas { background-position: -16px -32px; width: 16px; height: 16px; }
.state-sm-kentucky { background-position: -32px -32px; width: 16px; height: 16px; }
.state-sm-louisiana { background-position: -48px -32px; width: 16px; height: 16px; }
.state-sm-maine { background-position: -64px -32px; width: 16px; height: 16px; }
.state-sm-maryland { background-position: -80px -32px; width: 16px; height: 16px; }
.state-sm-massachusetts { background-position: -96px -32px; width: 16px; height: 16px; }
.state-sm-michigan { background-position: -0px -48px; width: 16px; height: 16px; }
.state-sm-minnesota { background-position: -16px -48px; width: 16px; height: 16px; }
.state-sm-mississippi { background-position: -32px -48px; width: 16px; height: 16px; }
.state-sm-missouri { background-position: -48px -48px; width: 16px; height: 16px; }
.state-sm-montana { background-position: -64px -48px; width: 16px; height: 16px; }
.state-sm-nebraska { background-position: -80px -48px; width: 16px; height: 16px; }
.state-sm-nevada { background-position: -96px -48px; width: 16px; height: 16px; }
.state-sm-new-hampshire { background-position: -0px -64px; width: 16px; height: 16px; }
.state-sm-new-jersey { background-position: -16px -64px; width: 16px; height: 16px; }
.state-sm-new-mexico { background-position: -32px -64px; width: 16px; height: 16px; }
.state-sm-new-york { background-position: -48px -64px; width: 16px; height: 16px; }
.state-sm-north-carolina { background-position: -64px -64px; width: 16px; height: 16px; }
.state-sm-north-dakota { background-position: -80px -64px; width: 16px; height: 16px; }
.state-sm-ohio { background-position: -96px -64px; width: 16px; height: 16px; }
.state-sm-oklahoma { background-position: -0px -80px; width: 16px; height: 16px; }
.state-sm-oregon { background-position: -16px -80px; width: 16px; height: 16px; }
.state-sm-pennsylvania { background-position: -32px -80px; width: 16px; height: 16px; }
.state-sm-rhode-island { background-position: -48px -80px; width: 16px; height: 16px; }
.state-sm-south-carolina { background-position: -64px -80px; width: 16px; height: 16px; }
.state-sm-south-dakota { background-position: -80px -80px; width: 16px; height: 16px; }
.state-sm-tennessee { background-position: -96px -80px; width: 16px; height: 16px; }
.state-sm-texas { background-position: -0px -96px; width: 16px; height: 16px; }
.state-sm-utah { background-position: -16px -96px; width: 16px; height: 16px; }
.state-sm-vermont { background-position: -32px -96px; width: 16px; height: 16px; }
.state-sm-virginia { background-position: -48px -96px; width: 16px; height: 16px; }
.state-sm-washington { background-position: -64px -96px; width: 16px; height: 16px; }
.state-sm-west-virginia { background-position: -80px -96px; width: 16px; height: 16px; }
.state-sm-wisconsin { background-position: -96px -96px; width: 16px; height: 16px; }
.state-sm-wyoming { background-position: -0px -112px; width: 16px; height: 16px; }

/*-----------------------------------------------Tunnel Directory Table (DataTables, /tunnels/)----------------------------------------*/
/*
  Restyles the free DataTables library's default controls (search box, page-length
  select, pagination buttons, sort arrows) to match this theme's existing brand
  colors/typography instead of DataTables' plain out-of-the-box look. See
  functions.php (flexfit_enqueue_tunnel_datatable_assets) for the JS/CSS enqueue,
  and library/datatables/init-tunnel-table.js for the init call.
*/
#tunnel-directory-table_wrapper {
  font-family: inherit;
  margin-bottom: 1.5rem;
}

#tunnel-directory-table_wrapper .dataTables_length,
#tunnel-directory-table_wrapper .dataTables_filter,
#tunnel-directory-table_wrapper .dataTables_info,
#tunnel-directory-table_wrapper .dataTables_paginate {
  font-size: 0.95rem;
}

#tunnel-directory-table_wrapper .dataTables_filter input,
#tunnel-directory-table_wrapper .dataTables_length select {
  border: 1px solid #cacaca;
  border-radius: 3px;
  padding: 0.35rem 0.6rem;
  font-family: inherit;
  font-size: 0.95rem;
}

#tunnel-directory-table_wrapper .dataTables_filter input:focus,
#tunnel-directory-table_wrapper .dataTables_length select:focus {
  border-color: #0E7C9D;
  outline: none;
}

table#tunnel-directory-table {
  width: 100% !important;
  border-collapse: collapse;
}

table#tunnel-directory-table thead th {
  background-color: #e9e9e9;
  color: #020202;
  font-weight: 700;
  padding: 0.65rem 0.85rem;
  border: none;
}

table#tunnel-directory-table tbody td {
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: middle;
}

table#tunnel-directory-table.dataTable tbody tr:hover {
  background-color: #f2f8fc;
}

/* Sort direction arrows - DataTables draws these as ::before/::after on the th.
   Dark, since the header background is now light grey rather than dark blue. */
table#tunnel-directory-table thead th.sorting:before,
table#tunnel-directory-table thead th.sorting:after,
table#tunnel-directory-table thead th.sorting_asc:before,
table#tunnel-directory-table thead th.sorting_asc:after,
table#tunnel-directory-table thead th.sorting_desc:before,
table#tunnel-directory-table thead th.sorting_desc:after {
  color: rgba(0, 0, 0, 0.4);
}

table#tunnel-directory-table thead th.sorting_asc:after,
table#tunnel-directory-table thead th.sorting_desc:before {
  color: #020202;
}

/* Dropdown filters + relocated search box (Status/Country/Size/Manufacturer/Search)
   - see init-tunnel-table.js. One flex row that wraps on narrow screens instead
   of each control fighting for its own row. */
.tunnel-directory-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
  margin: 0 0 1rem;
  padding: 0;
}

.tunnel-directory-filter {
  display: flex;
  flex-direction: column;
  flex: 1 1 9rem;
  min-width: 8rem;
  max-width: 16rem;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}

.tunnel-directory-filter label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #4a4a4a;
  margin: 0;
  padding: 0;
}

.tunnel-directory-filter select,
.tunnel-directory-filter input[type="search"] {
  display: block;
  width: 100%;
  height: 2.35rem;
  margin: 0;
  border: 1px solid #cacaca;
  border-radius: 3px;
  padding: 0 0.6rem;
  font-family: inherit;
  font-size: 0.95rem;
  background-color: #fefefe;
  box-sizing: border-box;
}

/* Custom dropdown arrow - selects otherwise fall back to each browser/OS's own
   inconsistent (and sometimes tiny) native arrow. */
.tunnel-directory-filter select {
  padding-right: 1.8rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23555' d='M4 6l4 4 4-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1rem;
}

.tunnel-directory-filter select:focus,
.tunnel-directory-filter input[type="search"]:focus {
  border-color: #0E7C9D;
  outline: none;
}

.tunnel-directory-search {
  flex: 1 1 12rem;
}

#tunnel-directory-table_wrapper .dataTables_paginate .paginate_button {
  border: 1px solid #949494;
  border-radius: 2px;
  padding: 5px 12px;
  margin-left: 3px;
  background-color: #F2F2F2;
  color: #020202 !important;
}

#tunnel-directory-table_wrapper .dataTables_paginate .paginate_button:hover {
  background: #e2e2e2 !important;
  border-color: #949494 !important;
  color: #020202 !important;
}

#tunnel-directory-table_wrapper .dataTables_paginate .paginate_button.current,
#tunnel-directory-table_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: rgba(66, 139, 202, .5) !important;
  border-color: #949494 !important;
  color: #020202 !important;
}

#tunnel-directory-table_wrapper .dataTables_paginate .paginate_button.disabled,
#tunnel-directory-table_wrapper .dataTables_paginate .paginate_button.disabled:hover {
  background: #F2F2F2 !important;
  color: #a0a0a0 !important;
  cursor: default;
}

/* Dropzone single: boxed info panels */
.dz-panel {
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  padding: 1.5rem 0.5rem 0.5rem;
  margin-bottom: 1.5rem;
}
/* Breathing room between the photo/basic-info section above and the first
   panel (About/Info/Essential Reading) below it. */
.dz-panel-first {
  margin-top: 2.5rem;
}
.dz-panel h2 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}
.dz-panel-col { margin-bottom: 1rem; }

/* Dropzone single: Nearby Locations - full-width grey band + View items */
.dz-nearby {
  background: #f6f6f6;
  box-shadow: 0 0 0 100vmax #f6f6f6;
  clip-path: inset(0 -100vmax);
  padding: 1.5rem 0 0.5rem;
  margin-bottom: 1.5rem;
}
.nearby-dz {
  border-bottom: 1px solid #ddd;
  padding: 0.75rem 0;
}
.nearby-dz .media-object { margin-bottom: 0; }
.nearby-dz .media-object-section img { width: 150px; }
.nearby-dz h4 { margin-bottom: 0.25rem; }
.nearby-dz .star-rating { vertical-align: middle; margin-right: 0.35rem; }
.nearby-dz p { margin-bottom: 0; }
