/*
 Theme Name:   Primer Child
 Theme URI:    http://manticorewheels.com/themes/primer-child/
 Description:  Primer Child Theme for Cranksgiving
 Author:       Bill Lane
 Author URI:   http://example.com
 Template:     primer
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  primer
*/


@media only screen and (min-width: 61.063em) {
  .layout-one-column-wide .content-area, .layout-one-column-wide #secondary, .layout-one-column-wide #tertiary, .layout-one-column-narrow .content-area, .layout-one-column-narrow #secondary, .layout-one-column-narrow #tertiary {
    width: 100%;
    float: left;
    margin-left: 0%;
    margin-right: 0%;
  }
}


.page-title {
    display:none;
}

.site-title {
    width:100%;
    z-index:10;
    margin-top:-70px !important;
    height:300px;
    clip:auto !important;

}

.site-title a {
    position:absolute;
    width: 100%;
    height: 100%;
    z-index:99 !important;
    color: transparent;
}

.site-title a:link {
    color: transparent;
}

.site-title a:hover {
    color: transparent;
}

.wrappy {
    margin:0;
    padding:0;
}

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

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

.menu-toggle div {
    background-color:#0b3954 !important;
    display:none;
}

.main-navigation ul {
    margin: 0em auto !important;
    padding-left: 10rem;
    font-weight:bold;
    display:none;
}

.main-navigation a {
    padding: 1rem 2rem !important;
}


.site-content {
    margin:0;
    max-width: none;
}

.content-area {
    margin:0;
    max-width: none;
}

.site-info-text {
    line-height: 1.5em !important;
}

.hentry {
    padding:0;
    margin:0 !important;
}

.hentry table td {
    border: 0px;
}


.hentry.post-374 {
    padding: 0em 0em !important;
}

.halfcol div {
	width: 48%;
}


.fl-row-content-wrap {
    padding: 0em;
}

.fl-module-content {
    margin: 0em !important;
}

.grow {
  transition: transform .2s; /* Animation */
}

.grow:hover {
    transform: scale(1.25);
}


.intro {
    font-family: 'helvetica', sans-serif;
    font-weight: 200;
    font-size: 1.8em;
    line-height: 1.6em;
    text-align: center;
    padding:30px 3vw 0 3vw;
	
}
	
	.intro p{
    font-family: 'Helvetica', sans-serif;
    font-weight: 200;
    font-size: 1.8em;
    line-height: 1.6em;
    text-align: center;
    padding:30px 3vw 0 3vw;
	background-color: transparent;
}


h3 {
    font-family: 'Work Sans', sans-serif !important;
    font-weight: 400;
    text-align: center;
    font-size: 1.2em;
    line-height: 1.5em;
    text-transform: uppercase;
    color: #736a63 !important;
}

h5 {
    font-family: 'Work Sans', sans-serif !important;
    font-weight: 700;
    text-align: left;
    font-size: 1.4em !important;
    line-height: 1.5em;
    text-transform: uppercase;
    color: #736a63 !important;
    margin-bottom: 0em;
    
}


p {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5em;
    font-size: 1.3em ;
    color: #000000;
    margin-top:5px;
}

/* Home Page */

/* Stats Stripe */
.stats-container {
    width: 100%;
    background-color: #231f1a;
    padding: 40px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
  }
  .stats-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
  }
  .stat-item {
    flex: 1;
    padding: 0 20px;
    border-right: 2px dotted #6b6b6b;
  }
  .stat-item:last-child {
    border-right: none;
  }
  .stat-number {
    color: #FF6300;
    line-height: 1;
    margin: 0;
  }
  .stat-label {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #c9c5bf;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Courier New', Courier, monospace;
  }

  /* Mobile Styles */
 @media (max-width: 768px) {
    .stats-wrapper {
      flex-direction: column;
    }
    .stat-item {
      text-align: center; /* Centers numbers and labels */
      border-right: none;
      border-bottom: 2px dotted #6b6b6b;
      padding: 0 0 30px 0;
    }
    .stat-item:not(:first-child) {
      padding-top: 30px; /* Ensures equal top/bottom spacing around borders */
    }
    .stat-item:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }
  }

/* HOMEPAGE MAP CONTROLS */


/* SKEUOMORPHIC TABS STRIPE (Below Content) */
  .skeuo-tabs-bar {
    display: flex;
    border-top: 1px solid #423b33;
    border-radius: 0 0 8px 8px;
    padding: 0 12px;
    gap: 6px;
  }

  /* INDIVIDUAL TAB DESIGNS */
  .skeuo-tab {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 0 0 6px 6px;
    position: relative;
    top: -1px; /* Overlaps content border seam */
    transition: all 0.15s ease-in-out;
	  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
	    color: #C72400;
  font-size: 1em;
  text-transform: uppercase;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 1px;
  font-weight: 600;
    

  }

  .skeuo-tab:hover:not(.active) {
    background: linear-gradient(180deg, #2c2822 0%, #1d1a16 100%);
    color: #ffffff;
  }

  /* Active Tab - Raised Physical Plastic/Folder Look */
  .skeuo-tab.active {
     background-color: #8bd7fb;
    color: #000000;
    border: 1px solid #4a4238;
    border-top: 0px solid #2a2621; /* Merges seamlessly into main content box */
    
  }

  .skeuo-tab-link {
    color: #666666;
    text-decoration: underline;
    margin-left: 4px;
  }

.skeuo-tab {
    color: #666666;
    margin-left: 4px;
  }

.skeuo-tab a, a:visited {
    color: #666666 !important;
    margin-left: 4px;
  }

  /* MOBILE RESPONSIVE STACK (< 650px) */
  @media (max-width: 650px) {
    .skeuo-tabs-bar {
      flex-direction: column;
      padding: 10px;
      gap: 8px;
    }

    .skeuo-tab {
      top: 0;
      border-radius: 6px;
      justify-content: center;
      text-align: center;
      padding: 12px;
      border-top: 1px solid #363028;
    }

    .skeuo-tab.active {
      border-top: 1px solid #4a4238;
    }
  }

/* Base Container Styles */
.fullwidthcontainer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch; /* Stretches both columns to equal height */
  gap: 4%;
  box-sizing: border-box;
  margin-bottom: 50px;
  padding: 0 30px;
}

.fullwidthcontainer .column-media {
  width: 58%;
  display: flex; /* Ensures the wrapper fills height */
}

.image-crop-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden; /* Crops image overflow */
  position: relative;
  border-radius: 4px;
}

.image-crop-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Fits container height/width, cropping extra edges */
  object-position: center; /* Centers the image inside the crop */
  display: block;
}

.fullwidthcontainer .column-content {
  width: 38%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Optional: vertically aligns text */
}

/* Typography Styles */
.checkpoint-tag {
  color: #C72400;
  font-size: 1.1em;
  text-transform: uppercase;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 1px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.column-content p{
	font-size: 1.2em;
  line-height: 1.3em;
   margin-top: 0;
	color: #000000;
}

.column-content h1 {
	font-size: 4em;
  line-height: 1;
   margin-top: 0;
  margin-bottom: 16px;
}




.icons {
    text-align: center;
    font-family: 'Work Sans', sans-serif;
    font-size: 1.4em;
    font-weight:bold;
    line-height: 1.6em;
    margin-bottom:0em;
}

.icons h3 {
    margin:0em !important;
    font-weight: bold;
    color:white !important;
}
.icons a {
    color:white !important;
}

.icons p {
    margin-top:0em !important;
}

.col-sm {
    position: relative;
    float: left;
    width: 33.3%;
    height: 200px;
    border: 0px solid red;
    z-index:99;
    background-color: #febd1e;
}

.locationtoggle {
    position:relative;
    float:left;
    width:100%;
    padding: 8px 5vw;
    background-color: #febc20;
    text-transform: uppercase;
    font-weight: bold;
    color: white;
    margin: 0 auto;
    text-align: center;
    font-size: 0;
}

.toggleheader {
    position:relative;
    float:left;
    text-align: left;
    font-size: 1rem;
    width:70%;
}

.toggle {
    position:relative;
    float:right;
    width:30%;
    text-align: right;
    font-size: 1rem;
}

.toggle a {
    color: white;
}   

.w2dc-maps-canvas-wrapper {
    width:100%;
    border: 0px;
    margin-bottom: 0px;
}

.bulletrw {
    position:relative;
    float:left;
    margin: 0px;
    width:100%;
    padding:80px 5vw 80px 0vw;
    height: 300px;
}

.bulletbox {
    position:relative;
    float:left;
    width:44%;
    font-family: 'Work Sans', sans-serif;
    font-weight: 200;
    font-size: 1.4em;
    line-height: 1.6em;
    color: #666666;
    margin-left:5vw;
    
}
.bulletbox ul{
    list-style-type: circle !important;

}

.graphixThumb {
    position:relative;
    float:left;
    width:300px;
    height:300px;
    margin:5px;
    border: 1px solid #DDDDDD;
}

.blog .site-content {
     width:100%;
    padding: 40px 7vw 7vw 7vw;
}

.txtpanel {
    font-family: 'Work Sans', sans-serif;
    font-weight: 200;
    font-size: 1.7em;
    line-height: 1.6em;
    text-align: center;
    padding:80px 5vw;
    height:350px;
    color: #AAAAAA;
}

.footer-widget-area {
    padding: 0;
}

.footer-widget-area .footer-widget .textwidget a {
    font-size:.9em;
    text-decoration:none;
    line-height: .5 !important;
    color: #666666;
}

.footer-widget-area .footer-widget .textwidget a::before {
    content: '\00a0 \00a0';

}

.social-menu {
    width:100% !important;
    text-align: center;
}
.social-menu ul{
    margin: 0px auto !important;
}

.social-menu a {
    width:50px;
    height: 50px;
}

.social-menu a::before {
    font-size:30px !important;
    padding: 9px !important;
}

.site-info-text {
    width: 100% !important;
    line-height: 1.5em !important;
    padding:20px 5vw;
    font-size:1.4em !important;
    text-align: center;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
}
		
.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bodyTxt {
    width:100%;
    padding: 2vw 7vw 7vw 7vw;
}

.hentry.post-322 {
    width:100%;
    padding: 0px 7vw 7vw 7vw;
}

.single-post .site-content {
    width:100%;
    padding: 30px 7vw 7vw 7vw;
}


/* Sponsor Logos  */

.logoDivLG {
	position:relative;
    display: inline-block;
	width: 22%;
	margin: 0% 1% 1% 1%;
	transform: scale(1.25); 
}


.logoDivMD {
	position:relative;
    display: inline-block;
	transform: scale(1.25); 
	width: 50%;
	margin: 0 1% 0 1%;
}
.logoDivSM {
	position:relative;
    display: inline-block;
	width: 25%;
	margin: 0 2% 0 2%;
}

/* Quote Board Container styling */
.quotes-wrapper {
  background-color: #8C2A36; /* Dark red background */
  padding: 60px 40px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Header section */
.quotes-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
}

.quote-icon {
  color: #B15448; /* Muted red quote mark */
  font-size: 5rem;
  line-height: 1;
  font-family: Georgia, serif;
  font-weight: bold;
}

.quotes-header h2 {
  color: #D3C3A5; /* Off-white/tan text */
  font-family:'Courier New', Courier, monospace;
  font-size: 1.2rem;
  letter-spacing: 1px;
  margin: 0;
}

/* Individual card styling */
/* Individual card styling with torn paper edges */
.quote-card {
  background-color: #D3C3A5; /* Light tan card background */
  color: #111111;
  padding: 35px 45px;
  margin-bottom: 35px;
  
  /* Creates jagged top and bottom torn edges */
  clip-path: polygon(
    0% 2px, 5% 0px, 10% 3px, 15% 0px, 20% 2px, 25% 0px, 30% 3px, 35% 0px, 40% 2px, 45% 0px, 50% 3px, 55% 0px, 60% 2px, 65% 0px, 70% 3px, 75% 0px, 80% 2px, 85% 0px, 90% 3px, 95% 0px, 100% 2px,
    100% calc(100% - 2px), 95% 100%, 90% calc(100% - 3px), 85% 100%, 80% calc(100% - 2px), 75% 100%, 70% calc(100% - 3px), 65% 100%, 60% calc(100% - 2px), 55% 100%, 50% calc(100% - 3px), 45% 100%, 40% calc(100% - 2px), 35% 100%, 30% calc(100% - 3px), 25% 100%, 20% calc(100% - 2px), 15% 100%, 10% calc(100% - 3px), 5% 100%, 0% calc(100% - 2px)
  );

  /* Smooth transition for hover effect */
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s ease;
}

.quote-card p {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Default card rotations */
.card-1 {
  transform: rotate(-2deg);
}

.card-2 {
  transform: rotate(1.5deg);
}

.card-3 {
  transform: rotate(-1.2deg);
}

/* Mild Hover Effect */
.quote-card:hover {
  /* Straightens the card, slightly scales up, and shifts up 4px */
  transform: rotate(0deg) scale(1.02) translateY(-4px);
  
  /* Adds a subtle drop shadow replacement (since clip-path clips standard box-shadow) */
  filter: drop-shadow(0px 8px 12px rgba(0, 0, 0, 0.25));
  
  cursor: pointer;
}


/* RIDE page styling - Complete Refactor */

/* 1. Global Box-Sizing & Utility */
.cranksgiving-container,
.cranksgiving-columns,
.cranksgiving-container *,
.cranksgiving-columns * {
  box-sizing: border-box !important;
}

.cg-link {
  color: #009DD1 !important;
  text-decoration: underline;
}

.cranksgiving-intro {
  width: 100%;
  margin-bottom: 1rem;
}

/* 2. Mobile Base Layout (Single Column) */
.cranksgiving-container,
.cranksgiving-columns {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  width: 100% !important;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* 3. Desktop Layout (Screens 768px and wider) */
@media screen and (min-width: 768px) {
  /* Main Outer Container */
  .cranksgiving-container {
    flex-direction: row !important;
    justify-content: space-between !important;
    padding: 0 20px; /* Gives extra horizontal space for text */
  }

  .about-col {
    flex: 0 0 42% !important;
    max-width: 42% !important;
  }

  .faq-col {
    flex: 0 0 54% !important;
    max-width: 54% !important;
  }

  /* Inner Columns Block */
  .cranksgiving-columns {
    flex-direction: row !important;
    padding: 0; /* Prevents nested double-padding */
  }

  .cranksgiving-col {
    flex: 1 1 0% !important;
    min-width: 0 !important; /* Prevents media/long text overflow */
  }
}

/* Submit page overrides -------------------------------------------------- */

.w2dc-submit-section {
    margin-bottom:30px;
}

.w2dc-content .w2dc-form-group {
    margin-bottom: 0px !important;
}

.w2dc-submit-section-label {
    background-color: #f8cd67 ! important;
}

.w2dc-submit-section-contact-info h3 {
    color:#F3F3F3 !important;
    font-size: 1px !important;
}

.w2dc-submit-section-contact-info h3::before {
    content:"CREATE AN ORGANIZER ACCOUNT";
    font-size: 18px;
    color:#736a63;
}

.w2dc-submit-section-title h3 {
    color:#F3F3F3 !important;
    font-size: 1px !important;
}

.w2dc-submit-section-title h3::after {
    content: "CITY, STATE (ex. Brooklyn, NY)";
    text-transform: none;
    font-size: 18px;
    color:#736a63;
}

.w2dc-submit-section-description h3::before {
    content:"YOUR EVENT ";
    color:#736a63;
}

#post_content_ifr  {
    height: 200px !important;
}

.w2dc-submit-section-excerpt {
    display:none;
}

.w2dc-submit-section-  {
    display:none;
}

.w2dc-content-fields-metabox.w2dc-form-horizontal p.w2dc-description {
    display:none;
}

div.w2dc-categories-tree-panel {
    height: 125px;
}

.w2dc-submit-section-tags {
    display:none;
}

.w2dc-submit-section-media h3 {
    color:#F3F3F3 !important;
    font-size: 1px !important;
}

.w2dc-submit-section-media h3::before {
    content:"SUBMIT POSTER (optional - you can edit your event to add this later)";
    font-size: 18px;
    color:#736a63;
    text-transform: none;
}

#w2dc-video-attach-wrapper {
    display:none;
}

.w2dc-submit-section-locations h3 {
    color:#F3F3F3 !important;
    font-size: 1px !important;
}

.w2dc-submit-section-locations h3::before {
    content:"RIDE START LOCATION";
    color:#736a63;
    font-size: 18px;
}

.w2dc-content-fields-metabox .w2dc-field {
    padding: 5px 0;
}

.w2dc-additional-info-wrapper {
    display:none;
}

a.w2dc-select-map-icon {
    display:none;
}

.w2dc-tax-dropdowns-wrap {
    display:none;
}

/* Directory Page
-------------------------------------------------- */

.w2dc-form-control {
    margin-bottom:5px !important;
}

.w2dc-listing-logo-img-wrap {
    max-height: 200px !important;
}

.w2dc-listings-block-content .w2dc-field-output-block-excerpt .w2dc-field-content{
    font-style:italic;
    color: #777777;
    
}


/* Contact Us Page  
-------------------------------------------------- */
.ninja-forms-field {
    border: 1.5px solid !important;
}

/* Remove stuff from regular Directory Page
-------------------------------------------------- */

.w2dc-content .w2dc-directory-frontpanel a {
    display:none;
}

.w2dc-categories-table, .w2dc-locations-table div {
    display:none !important;
}

/* Responsive
-------------------------------------------------- */

@media (max-width: 845px) {
    
.site-header {
    min-height:200px;
}    

.innerslider-box {
    margin:0 -40% !important;
}

.footer-widget-area .footer-widget .textwidget a {
    font-size:.8em;
}

.site-info-text {
    margin:0px !important;
}

/* Directory Page
-------------------------------------------------- */
#mapBX {
    width:100% !important;
}

#searchBX {
    width:100% !important;
}

}

/* Santa Fe Page
-------------------------------------------------- */

.page-id-2007 .site-header {
display: none;
}

.page-id-2007 .footer-widget-area {
display: none;
}

.page-id-2007 .site-info-wrapper {
display: none;
}

.page-id-2007 .hentry {
background-color: #65c1c8 !important;
}

.page-id-2007 {
background-color: #65c1c8 !important;
}

.page-id-2007 p {
color: #000000 !important;
}


/* Responsive Overrides
-------------------------------------------------- */

/* Mobile Breakpoint (< 768px) */
@media screen and (max-width: 768px) {
  .fullwidthcontainer {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
  }

  .fullwidthcontainer .column-media,
  .fullwidthcontainer .column-content {
    width: 100%;
  }

  /* Set a fixed aspect height for mobile so it doesn't stay stretched */
  .image-crop-wrapper {
    height: 250px; 
  }
}

@media (max-width: 500px) {

.innerslider-box {
    margin:0 -70% !important;
}

.site-header {
    margin-left:-20%;
    width:600px;
}
}

@media (max-width: 415px) {

.site-info-text {
    line-height: 1.5em !important;
    font-size:.9em !important;
}

.innerslider-box {
    margin:0 -70% !important;
}

.site-header {
    margin-left:-0%;
    min-width: 200px;
    width:auto !important;
    min-height: 180px !important;
    }
    
.site-title {
    margin-top:-70px !important;
    height:200px;
}    

.intro {
    font-size:1.2em;
    padding:0px 2vw;
    
}

.icons {
    font-size: 1em;
}

.icons p {
    font-size:.9em;
    line-height: 1.5em !important;
}

.col-sm {
    height: 150px;
}

p {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.3em;
    font-size: 1.1em ;
    color: #736a63;
    margin-top:5px;
}

.bulletrw {
    padding:30px 5vw 30px 0;
    margin:0;
    height: 160px;
}

.bulletbox {
    width:44%;
    font-size: 1em;
    line-height: 1.2em;
    margin-left:5vw;
}

.txtpanel {
    font-size: 1.2em;
    line-height: 1.5em;
    text-align: center;
    padding:30px 5vw;
    height:250px;
    color: #AAAAAA;
}

.toggleheader {
    font-size:.7rem;
}

.toggle {
    font-size: .7rem;
}


div.textwidget.custom-html-widget {
    align-content: center !important;
    font-size: 1.5em !important;
}



.content-area {
  margin: 0;
  max-width: none;
}
@media only screen and (max-width: 61.063em) {
  .content-area {
    width: 100%;
    float: left;
  }
}