/*
Theme Name: truckandvanworks
Theme URI: https://truckandvanworksinc.com/
Author: Synergy Web Design and Marketing - Lora Champion
Author URI: https://snwebdm.com/
Description: This theme works best with Elementor, although you can also use blocks with it (remove bottom section from functions.php to enable block editor). Recommended plugins: Elementor, Yoast, Contact7, woocommerce, ultimate member
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, block-styles, wide-blocks
Version: 1:012422
Requires at least: 5.0
Tested up to: 5.8.3
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: truckandvanworks
This theme, like WordPress, is licensed under the GPL.
Tested up to: 5.8
Requires PHP: 7.0
*/

html,
body {
  overflow-x: hidden;
  background-color: #fff;
}

html {
  scroll-behavior: smooth;
}

p {
  font-family: 'Open Sans', sans-serif !important; 
}



h1,
h2,
h3 {
  font-family: "Montserrat", sans-serif !important;
  
}


.site-header {

  background-color: black;
  background-image: url(https://truckandvanworksinc.com/wp-content/uploads/2025/03/slider-background-1024x310-1.png);
  background-position: bottom center;
  color: white;

}

a#header-info {

  color: white !important;

}

a#header-info:hover {

color: #F7FF20 !important;

}




/*STICKY CSS*/


.sticky {
	position: fixed !important;
	width: 100%;
	z-index: 1000;
}



#myHeader {
  position: fixed;
  top: 0px;
  transition: all 1s;
  z-index: 999;
  width: 100%;
}


#myHeader.sticky {
  position: relative;
  top: 0px;
  transition: all 5s;
}



/*MENU CSS*/


#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {

  color: #ffffff;
  background: rgba(0, 0, 0, 0);
  font-family: "Roboto";
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}


#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
  position: relative;
  text-decoration: none;
}




#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link::before,
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #F7FF20 !important;
  transform: scaleX(0);
  transform-origin: top left;
}


#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link:hover::before,
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link:hover::before {
  transform: scaleX(1);
}
 
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link:focus {
  position: relative;
  text-decoration: none;
}
 

a.mega-menu-link:hover {
  font-weight: 600 !important;
  color: #F7FF20 !important;
  display: block;
  text-decoration: underline;
  text-decoration-thickness: 4px; /* Slowly reveal the underline */

}


/*sub menu css*/


#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
  display: block;
  background: #f2f2f2;
  color: black;
  font-family: 'Roboto';
  font-size: 16px;
  font-weight: 400;
  padding: 10px 15px 10px 15px;
  line-height: 30px;
  text-decoration: none;
}

ul.mega-sub-menu a.mega-menu-link:hover  {

  font-weight: 400 !important; 
  color: white !important;



}





.phone-number {
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  color: #F7FF20;
  font-weight: 600;
  text-decoration: none;

}

/*HOMEPAGE - SERVICES SECTION*/


.service-button {
  background-color: transparent;
  color: white;
  padding: 10px 12px;
  border: white;
  border-radius: 6px;
  font-family: "Montserrat", sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 15px;
  border-style: solid;
}



/*SITE FOOTER CSS*/ 



.site-footer {
  background-image: url(https://truckandvanworksinc.com/wp-content/uploads/2025/03/ford-rims-custom-truck-and-van-works-revised.jpg);
  background-position: center center; 
  background-repeat: no-repeat;
  background-size: cover;
  border-top: 3px solid white;
  color: white;
  font-family: "Montserrat", sans-serif !important;

}

a#footer-info {

    color: white !important;

}

a#footer-info:hover {

  color: #F7FF20 !important;

}


#footerleft img {
  margin: auto;
  padding-bottom: 10px;
}



a.nav-link.p-0.text-muted {
    color: white !important;
    font-size: 18px;
    font-family: 'Montserrat';
}



a.nav-link.p-0.text-muted:hover {

    color: #F7FF20 !important;

}

.wpcf7-form.init button, 
.wpcf7-form.init input, 
.wpcf7-form.init optgroup, 
.wpcf7-form.init select, 
.wpcf7-form.init textarea, 
.wpcf7-form.sent button,
.wpcf7-form.sent input, 
.wpcf7-form.sent optgroup, 
.wpcf7-form.sent select, 
.wpcf7-form.sent textarea {
   border: 1px #ffffff solid;
   background-color: rgba(255, 255, 255, 0.13);
   margin: 0 auto;
   color: white;
}



/*div#wpcf7-f6-o1 {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.13);
  padding: 16px;
}
  */


textarea.wpcf7-form-control.wpcf7-textarea {
  background-color: rgba(255, 255, 255, 0.13);
  border-color: white;
  border-width: 2px;
  padding: 5px;
  font-family: 'Montserrat';
  border-style: solid !important;
  width: 100%;
}


input.wpcf7-form-control.wpcf7-submit.has-spinner {
  align-items: center;
  background-color: black;
  color: white;
  width: 180px;
  font-family: 'Montserrat';
}

/*FIELDS WIDTH*/





input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
  background-color: rgba(255, 255, 255, 0.13);
  border-color: white;
  border-width: 3px;
  padding: 5px;
  font-family: 'Montserrat';
  border-style: solid;
}


.wpcf7-spinner {
  visibility: hidden;
  display: inline-block;
  background-color: #23282d;
  opacity: 0.75;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 100%;
  padding: 0;
  margin: 0px;
  position: relative;
}



input.wpcf7-form-control.wpcf7-text,
input.wpcf7-form-control.wpcf7-email,
textarea.wpcf7-form-control {
  color: white; /* Change input text color */
  font-size: 16px; 
  font-weight: 400;
}

/* Change placeholder text color */
input.wpcf7-form-control::placeholder,
textarea.wpcf7-form-control::placeholder {
  color: white;
  font-size: 16px; 
  font-weight: 400;
  opacity: 1; /* Ensure full opacity */
}


/*ONCE THE SITE'S LIVE, NEED TO REMOVE FOLLOWING CSS FILES - OFFCANVAS-NAV.CSS, VERTICLESCROLL.CSS, STYLE-MENU.CSS, LIGHTBOX.CSS, & THE HOOKS OF IT IN FUNCTIONS.PHP.*/
/*IF YOU HAVE FORMS THAT HAVE COL-MD-6 (OR ANY FORM OF COL-6s) UNDER ONE ROW, ADD THE FOLLOWING -*/
/*this will obey ALL BREAKPOINTS. (double check after change.)*/


input {
  width: 100%;
}





/* CONTACT US PAGE - FORM */

form.wpcf7-form.init {
  color: white;
}


select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required {
  border: 3px #fff solid;
  padding: 5px 4px;
}


/*THANK YOU MESSAGE*/


.wpcf7 form.sent .wpcf7-response-output {
  border-color: #46b450;
  color: white;
  font-family: 'Montserrat';
}




/* Dropdown options styling */
select.wpcf7-form-control.wpcf7-select option {
  font-family: "Montserrat", sans-serif !important; /* Ensure Montserrat for options */
  font-size: 18px; /* Match the font size */
  color: #000000; /* Consistent text color */
}


/*SELECT FIELD IN CONTACT US*/

select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required {
  Width: 100%;
}


label {
  color: white !important;
}

span.wpcf7-list-item-label {
  color: white !important;
}




/*CHECKBOX CLASS*/



.wpcf7-list-item input {
  width: 20px;
}

[type="checkbox"], [type="radio"] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0px;
  outline: 0;
  height: 20px !important;
}

/*************MEDIA BREAKPOINT - MOBILE*************/






@media (max-width: 767px) {
  .tuff-racks-logo {
    display: none;
  }

  .header-width {

    width: 100%

  }



  .phone-number {

    font-size: 26px; 

  }



  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    color: #000000 !important;
    background-color: #fff;
    font-family: "Roboto";
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}


a.mega-menu-link:hover {

  background-color: black; 
  color: #fff;

}



}
