/*

Theme Name: EZ Fast Auto Glass Custom Theme
Theme URI: http://www.azcomputerguru.com
Author: Arizona Computer Guru
Author URI: http://azcomputerguru.com;

Description: A custom theme for Ace Pickup Parts, designed and developed by Arizona Computer Guru.
Version: 1.0

*/

/* COLORS */

:root {
  --color1:#000000;
  --color2:#350202;
  --color3:#2e2e2e;
  --color4:#ffffff;
  --color5:#;
}

/* Reset */

html, body,
h1, h2, h3, h4, h5, h6,
a, p, span,
em, small, strong,
sub, sup,
mark, del, ins, strike,
abbr, dfn,
blockquote, q, cite,
code, pre,
ol, ul, li, dl, dt, dd,
div, section, article,
main, aside, nav,
header, hgroup, footer,
img, figure, figcaption,
address, time,
audio, video,
canvas, iframe,
details, summary,
fieldset, form, label, legend,
table, caption,
tbody, tfoot, thead,
tr, th, td{
margin: 0;
padding: 0;
border: 0;
}

*{
margin: 0px;
padding: 0px;
border: 0px;
font-family: inherit;
font-size: inherit;
line-height: inherit;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}

*:before,
*:after{
box-sizing: inherit;
}

a,
a:visited{
color: inherit;
}

article,
aside,
footer,
header,
nav,
section,
main{
display: block;
}

img{max-width:100%;}


/* Top-level styles */

*{transition: all 0.2s ease;}

html{
  scroll-behavior: smooth;
  font:18px/1.4em Segoe UI, sans-serif;
}
body{
  font-family: 'Roboto', sans-serif;
  background:url(https://acepickupparts.com/wp-content/uploads/2024/04/prism.png);
}
h1{font-size:2rem;}
h2{font-size:1.6rem;}
h3{font-size:1.2rem;}
h1,h2,h3{
  line-height:1em;
  margin-bottom:1rem;
  font-weight:normal;
}
p{margin-bottom:1rem;}


/* Structure elements */

.wrapper{
  width:80%;
  margin:0 auto 0 auto;
}
.flexwrap{display:flex;}

[class*='box-']{}

.box-10{width:10%;}
.box-20, .box-5{width:20%;}
.box-25, .box-4{width:25%;}
.box-30{width:30%;}
.box-40{width:40%;}
.box-50, .box-2{width:50%;}
.box-60{width:60%;}
.box-66{width:66.666666%;}.box-70{width:70%;}
.box-75{width:75%;}
.box-80{width:80%;}
.box-90{width:90%;}
.box-1{width:100%;}
.box-3{width:33.3333333%;}
.box-6{width:16.666666%;}
.box-7{width:14.285714%;}
.box-8{width:12.5%;}
.box-9{width:11.111111%;}


/* Outer Wrapper */

/* Above Header */

.above-header{
  width:100%;
  background:var(--color5);
  border-bottom:1px var(--color2) solid;
}
.above-header .widget{
  flex:1;
  height:2rem;
}
.above-header p{
  line-height:2rem;
  font-weight:900;

  text-transform: uppercase;
  font-size:.8rem;
  color:var(--color4);
}
.above-header .widget:last-of-type p{
  text-align:right;
}

/* Header */

header{
  background:url(https://acepickupparts.com/wp-content/uploads/2024/04/accent_bg.png);
}
header .flexwrap{
  flex-direction:row;
  justify-content:space-between;
}
header .flexwrap > div{
  flex:1;
}
header .flexwrap .logo-wrap{
  flex:1;
}
header .logo{
  display:block;
  padding-top:1rem;
  color:#fff;
  text-decoration:none;
  font-size:1.4rem;
  line-height:6em;
  text-align:left;
}
header .logo span{
  display:block;
  font-size:2rem;
  color:var(--color2);
  font-style:italic;
}
header .logo-img{
  width:100%;
}
header h2{}
header .flexwrap .header-right{
  padding-left:2rem;
  flex:7;
}

/* Header Right */

.header-right .phone-number{
    text-align:right;
    font-size:2rem;
    font-weight:900;
    line-height:4em;
    padding:1rem;
    margin-bottom:0;
	color:var(--color4);
}
.header-right .phone-number a{
	text-decoration:none;
}

.phone-number .fa-solid, .fas{
  font-size:32px;
  margin-right:0.5rem;
}

/* Navigation */

nav{
    background:#3a0000;
	border-bottom:1px #550000 solid;
	margin-bottom:1rem!important;
}
nav ul li{
  width:50%;
}
nav .menu{
  display:flex;
  flex-direction:row;
  justify-content:center;
  align-items:center;
  margin-right:1rem;
}
nav .menu > li{
  list-style-type:none;
  line-height:2rem;
  position:relative;
}
nav .menu > li > a{
  display:block;
  text-decoration:none;
  text-align:center;
  padding:0 1rem 0 1rem;
  line-height:3rem;
  font-size:1rem;
  font-weight:bold;
  color:var(--color4);
  text-transform:uppercase;
}
nav .menu > li:hover > a{
  background:var(--color1);
  color:var(--color4);
}
nav .menu > li:hover a i{color:var(--color4);}

/* Nav Second Level */

nav .menu .sub-menu{
  display:none;
}
nav .menu > li:hover > .sub-menu{
  position:absolute;
  left:0;
  top:3rem;
  width:30rem;
  z-index:100;
  background:var(--color1);
}
nav .menu .sub-menu > li{
  list-style-type:none;
  display:block;
  width:100%;
}
nav .menu > li > .sub-menu > li > a{
  display:block;
  color:var(--color4);
  font-size:1rem;
  font-weight:bold;
  text-transform:uppercase;
  text-align:left;
  text-decoration:none;
  line-height:2rem;
  padding:0.5rem;
}
nav .menu > li > .sub-menu > li:hover > a{
	background:var(--color3);
}

/* Tertiary Level */

nav .menu > li:hover > .sub-menu{
  display:block;
}

nav .menu > li:hover > .sub-menu > li > .sub-menu{
  display:block;
}

nav .menu > li > .sub-menu > li > ul > li{
  width:100%;
}
nav .menu > li > .sub-menu > li > ul > li > a{
  display:block;
  color:var(--color4);
  line-height:2rem;
  padding:0.5rem;
  text-decoration:none;
  border-bottom:1px var(--color2) solid;
}
nav .menu > li > .sub-menu > li > ul > li:hover > a{
  background:var(--color2);
}

/* Nav Mobile */

.mobile-menu-icon{
  display:none;
  width:100%;
  background:;
  padding:1rem;
  position:fixed;
  bottom:0;
}
.mobile-menu-icon .line{
  width:25px;
  height:5px;
  background-color:;
  margin:5px auto 5px auto;
}
.close{
  display:none;
  width: 32px;
  height: 32px;
  text-align:center;
  margin:2px auto 2px auto;
}
.close:hover{opacity: 1;}
.close:before, .close:after{
  position:absolute;
  text-align:center;
  content: ' ';
  height: 32px;
  width: 2px;
  background-color:;
}
.close:before{transform: rotate(45deg);}
.close:after{transform: rotate(-45deg);}

/* Feature area */

.home .feature{
  position:relative;
}

.feature .wrapper{
  width:60%;
}
.feature h1{
  font-size:6rem;
  font-weight:bold;
  color:var(--color4);
  margin-top:2.5em;
}
.feature h2{
  font-size:3rem;
  font-weight:300;
  font-style:italic;
  color:var(--color4);
}

.feature .flexwrap{
  position:relative;
  height:100%;
  width:100%;
  background:rgba(0, 0, 0, 0.75);
  padding:0 5rem 0 5rem;
  margin:0 auto 0 auto;
}
.feature .widget:nth-of-type(1){
  flex:3;
}
.feature .widget:nth-of-type(2){
  flex:1;
  background:rgba(49, 11, 99, 0.50);
  padding:2rem;
  margin:2rem 0 2rem 0;
  border:1px var(--color3) solid;
}
.feature .widget:nth-of-type(2):hover{
  background:var(--color1);
}
.feature .widget:nth-of-type(2) h2{
  color:var(--color4);
  font-weight:bold;
  font-style:italic;
  font-size:2rem;
  line-height:1em;
  text-align:center;
}
.feature .forminator-row{
  margin-bottom:10px!important;
}
.feature .forminator-field{
  display:flex!important;
}
.feature .forminator-label{
  flex:1;
  color:var(--color3)!important;
  font-size:1rem!important;
  text-transform:uppercase!important;
  text-align:right;
  padding-right:1rem;
}
.feature .forminator-input, .feature .forminator-textarea{
  flex:1.5;
}
.feature .forminator-description{
  display:none!important;
}
.forminator-error-message{
  position:absolute;
}
.feature .forminator-button{
  background:var(--color2)!important;
  color:var(--color4)!important;
  border:1px var(--color3) solid!important;
  text-transform:uppercase!important;
  display:block!important;
  width:100%!important;
  line-height:1.6em!important;
  font-size:1.2rem!important;
}
.feature .forminator-button:hover{
  border:2px var(--color4) dashed!important;
}

.feature .more-link{
  display:block;
  width:60%;
  margin:2rem 0 2rem 0;
  color:var(--color3);
  font-size:1rem;
  line-height:2rem;
  text-align:center;
  padding:0;
}
.feature .more-link:hover{
}

/* Above Content */

.above-content{
	padding:1rem;
}

.above-content.flexwrap > div:nth-of-type(1){
		flex:3;
}

.above-content.flexwrap > div:nth-of-type(2){
		flex:1;
	    padding:1rem;
}
.above-content .search-field{
	background:#eee;
	padding:1rem;
}
.above-content button{
	padding:1rem;
	background:#350202;
	color:#fff;
	cursor:hand;
}

/* Columns: Upper */

.columns-upper{
  text-align:center;
  font-family: 'Roboto', sans-serif;
  font-weight:300;
}
.columns-upper .widget{
  position:relative;
  flex:1;
	padding:3rem 1rem 3rem 1rem;
  text-align:left;
}
.columns-upper .widget:hover{
  background:var(--color3);
}
.columns-upper .widget:last-of-type{
  border-right:0;
}
.columns-upper .widget a{text-decoration:none;}
.columns-upper .widget h2{
  font-size:2rem;
  font-weight:600;
  text-transform:uppercase;
  text-align:center;
  line-height:1em;
  color:var(--color4);
  background:var(--color1);
  padding:1rem;
  margin:0;
  border-top:5px var(--color1) solid;
  border-bottom:5px var(--color1) solid;
}
.columns-upper .widget:hover h2{
  background:var(--color1);
  color:var(--color2);
  border-top:5px var(--color2) solid;
  border-bottom:5px var(--color2) solid;
}
.columns-upper .widget i{
  color:var(--color3);
}
.columns-upper .widget:hover i{
  color:var(--color4);
}
.columns-upper .more-link{
  position:absolute;
  bottom:5%;
  display:block;
  width:50%;
  color:var(--color3);
  font-size:1rem;
  line-height:2rem;
  text-align:center;
  padding:0;
}
.columns-upper .more-link:hover{
  background:var(--color1);
  color:var(--color2);
}

/* Global content area */

main .wrapper{
  background:var(--color4);
}

main article{
  font-size:1.2rem;
  line-height:2em;
  padding:2rem;
  flex:2;
  
}

article ul{margin:2rem;}

article .more-link{
  display:block;
}
article .more-link:hover{
}

aside{
  flex:1;
}

/* Front page template */

main > .flexwrap{
  flex-direction:row;
  justify-content:space-between;
}
main > .flexwrap > aside{}

> section > h2, article .title, footer h2{
  font-size:3rem;
  line-height:1.5em;
  padding-top:1.5rem;
  font-weight:normal;
  text-transform:uppercase;
  text-align:center;
}
.front-page{}
.front-page article{
  margin:0 auto 0 auto;
}

/* Page template */

h1.title{
  width:100%;
  font-size:2rem;
  line-height:1em;
  color:var(--color1);
  padding:0 1em 0 1em;
  font-weight:900;
  margin:0!important;
  border-top:1px var(--color2) solid;
  padding-top:1rem;
}
.page h2{
  color:;
  font-weight:600;
  font-size:1.6rem;
  line-height:2em;
}
.page iframe{
  width:100%;
  height:50vh;
}

/* Category Template */

.category{display:flex;}

.category .post{
  flex:1;
  border:1px var(--color1) solid;
  padding:1rem;
  margin:0.5rem;
}

/* Post template */

.single-post article{

}
.single-post .title{
  color:;
  font-size:3em;
  text-align:center;
  text-transform:uppercase;
}
.post-featured-img{
  display:block;
  margin:2rem auto 2rem auto;
  max-width:50%;
}

/* Sidebars / Widgets */

.sidebar{
  padding:1rem;
  background:url(https://acepickupparts.com/wp-content/uploads/2024/04/accent_bg.png);
  border-left:1px #550000 solid;
  height:100%;
}

.sidebar .widget{
  min-width:20rem;
  margin:2rem 1rem 1rem 0;
  background:var(--color1);
  color:var(--color4);
}
.sidebar .widget:nth-of-type(1){
  margin:0rem 1rem 1rem 0;
}
.sidebar ul li{
  list-style-type:none;
  width:100%;
}
.sidebar ul li a{
  display:block;
  text-decoration:none;
  line-height:2rem;
}
.sidebar ul li:hover a{
  background:;
  color:;
  padding-left:0.5rem;
}
.sidebar .widget h2{
  background:var(--color3);
  color:var(--color4);
  padding:0.5rem 1rem 0.5rem 1rem;
  font-size:1.4rem;
  font-style:italic;
}
.sidebar .widget p, .sidebar .widget ul{
  padding:0 1rem 1rem 1rem;
}
.sidebar .widget ul li{
  line-height:2em;
  border-bottom:1px var(--color2) solid;
}
.sidebar .widget ul li:first-of-type{
  border-top:1px var(--color2) solid;
}
.sidebar .widget ul li:hover{
  background:var(--color2);
}
.sidebar .more-link{
  background:var(--color3);
  font-weight:bold;
}
.sidebar .more-link:hover{
  background:var(--color2);
  color:var(--color1);
}

/* Below Content */

.below-content{}
.below-content .widget{
	position:relative;
}
.below-content .section-heading{
	position:absolute;
	top:0;
	font-size:2rem;
	width:100%;
	line-height:75px;
	text-align:center;
	text-transform:uppercase;
}

/* Footer */

footer{
  width:100%;
  color:var(--color4);
  margin-top:2rem;
  -webkit-animation: mainbg 49s ease infinite;
  -moz-animation: mainbg 49s ease infinite;
  animation: mainbg 49s ease infinite;
  background:url(https://acepickupparts.com/wp-content/uploads/2024/04/accent_bg.png);
}
footer .widget{
	flex:1;
	padding-top:2rem;
}
footer .widget h2{
  font-size:1.2rem;
  font-weight:900;
  line-height:2em;
  margin:0!important;
}
footer .widget p{
  font-weight:300;
  line-height:1.6em;
  font-style:italic;
}
footer ul li a{
  font-style:italic;
  line-height:2em;
}
footer form{
  margin:0 auto 0 auto!important;
  padding:0!important;
  width:80%!important;
}
footer input,
footer textarea{
  font-size:1.4rem!important;
  padding:1em!important;
}
footer input:hover,
footer input:active,
footer textarea:hover,
footer textarea:active,{
  opacity:1;
}
footer .forminator-label{display:none!important;}
footer button{
  display:block!important;
  margin:2rem auto 2rem auto!important;
  background:var(--color3)!important;
  color:var(--color4)!important;
  font-size:1.8rem!important;
  text-transform:uppercase;
  padding:1em!important;
  font-weight:900!important;
  border:5px var(--color3) solid!important;
}
footer button:hover{
  background:var(--color2)!important;
  border:5px var(--color4) dashed!important;
}
footer p{
  line-height:1.4rem;
}
footer ul{margin:1rem 0 1rem 0;}
footer ul li{list-style-position:inside;}

/* Copyright section */

.credit{
  text-align:center;
  background:var(--color3);
  color:var(--color4);
}
.credit p{
  font-size:.9rem;
  line-height:3em;
  margin:0px;
}

/* WooCommerce */

.woocommerce ul.products{
	width:100%;
	margin:1rem auto 1rem auto;
	padding:.25rem;
}

.woocommerce ul.products li{
	padding:1rem!important;
	margin:.25rem!important;
	width:24%!important;
}

.woocommerce h2.woocommerce-loop-product__title{
	width:100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.woocommerce ul.products li:hover{
	background:#550000;
	color:#ffffff;
	border:1px #c90000 solid;
}

.woocommerce ul.products li.product .button{
	margin-top:0!important;
}

.woocommerce ul.products li img{
	border:1px var(--color2) solid;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt{
	background:#550000!important;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3{
	font-size:1rem!important;
	line-height:1.4rem!important;
}

.woocommerce-pagination{
	padding-top:1rem!important;
}

.woocommerce div.product .product_title{
	line-height:1.4em;
}

.page-numbers li{
	width:auto;
	background:none!important;
	border:none!important;
}
.page-numbers li a{
	color:#ffffff!important;
}

/* Global extras */

.clearfix{
  clear:both!important;
  float:none!important;
  width:0px!important;
  height:0px!important;
  margin:0px!important;
  padding:0px!important;
}

.more-link{
  display:block;
  text-transform:uppercase;
  text-decoration:none;
  text-align:center;
  padding:1.4rem;
  margin:1rem auto 1rem auto;
  max-width:100%;
}
.more-link:hover{
  background:;
}

.alignleft{
	float:left;
	margin:1rem 1rem 1rem 0rem;
}
.aligncenter{
	display:block;
	margin:1rem auto 1rem auto;
}
.alignright{
	float:right;
	margin:1rem 0rem 1rem 1rem;
}


/* Media Queries / Responsive */

@media (max-width:1920px){
  body{font-size:16px;}
  header .logo{padding-top:0.5rem;}
  .header-right .phone-number{line-height:4em;}
  .columns-upper .widget h2{font-size:1.6rem;}
  h1.title{font-size:2.5rem;}
  .feature h1{margin-top:2em;}
  .feature .widget:nth-of-type(2) h2{font-size:1.4rem;}
}
@media (max-width:1800px){
  body{font-size:14px!important;}
  header .logo{padding-top:1rem;}
  .columns-upper .widget h2{font-size:1.4rem;}
  .feature h1{font-size:4rem;margin-top:3em;}
  .feature .widget:nth-of-type(1){flex:2;}
  main article{padding:1rem;}
  nav .menu > li > a{
	font-weight:normal;
	font-size:1rem;
  }
}
@media (max-width:1600px){
  body{font-size:12px!important;}
  .columns-upper .widget h2{font-size:1.2rem;}
  .feature .widget:nth-of-type(2) h2{font-size:1rem;}
}

@media (max-width:1200px){

  html{font-size:16px;}
  body{overflow-x:hidden;padding-bottom:4rem;}
  .wrapper{width:100%;z-index:1;}
  .above-header{display:none;}
  header{
    background-size:cover;
  }
  header .logo img{
    display:block;
    margin:0 auto 0 auto;
	width:50%;
  }
  header .flexwrap .header-right{
    padding:0!important;
  }
  .header-right .phone-number{
    text-align:center;
    line-height:1em;
  }
  .page-title{
	text-align:center;
	line-height:1.4em;
	padding-top:1em;
  }
  .flexwrap{display:block;}
  nav{height:auto;}
  nav .menu{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    background:;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    transform:translateY(-100%);
    opacity:0;
    padding:1ch;
  }
  nav .menu li{width:100%;margin:0.5ch 0 0.5ch 0;}
  nav .menu li a{font-size:1rem;color:var(--color4);}
  nav .menu li:hover a{background:var(--color2);color:var(--color4);}
  nav .menu li:hover .sub-menu, nav .menu li:active .sub-menu{width:100%!important;}
  .mobile-menu-icon{display:block;z-index:100;border-top:2px var(--color3) solid;}
  .nav-active{transform:translateY(0%)!important;opacity:1!important;position:fixed!important;z-index:100000;}
  nav ul li a{}
  nav ul li:hover .sub-menu, nav ul li:active .sub-menu{
    position:static;
    display:block;
  }
  nav ul li:hover .sub-menu li, nav ul li:active .sub-menu li{
    background:;
    line-height:1.6rem;
    width:100%;
    margin:0;
  }
  .menu-active .line{display:none;}
  .menu-active .close{display:block;}
  .home .feature{
    display:none;
  }
  .feature .flexwrap{
    
  }
  .feature .flexwrap .widget{
    margin:0;
    width:100%;
    flex:1;
  }
  .feature .flexwrap .widget:nth-of-type(1){
    display:none;
  }
  .feature .widget:nth-of-type(2) h2{font-size:2rem;}
  .feature .forminator-field{
    display:block!important;
  }
  .feature .forminator-label{
    text-align:center!important;
    line-height:2rem!important;
  }
  .feature h1{
    font-size:3rem;
    margin-top:1em;
  }
  .feature h2{
    
  }
  main article{
	padding:0;
  }
  .columns-upper .widget{
    padding:1rem;
  }
  h1.title{font-size:1.4rem;}
  .page h2{font-size:1.6rem;line-height:1.2em;}
  footer .widget{text-align:center;}
  footer .widget h2{
    font-size:1rem;
    line-height:1em;
    margin-bottom:1em!important;
  }
  footer form{
    width:90%!important;
  }
  .credit p{line-height:1.4em;}

  .mobile-menu-icon{display:none;}

  .woocommerce ul.products li{
    width: 47% !important;
	overflow-y:hidden;
    padding: 0 !important;
}
.woocommerce h2.woocommerce-loop-product__title{
	font-size:.8rem!important;
	white-space:inherit;
	height:6rem!important;
	overflow:visible;
	overflow-y:hidden;
}

.woocommerce div.product .product_title{
	text-align:center;
	font-size:1.4rem;
	line-height:1.4em;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price{
	text-align:center;
	font-size:2rem;
	line-height:1em!important;
}

.woocommerce div.product form.cart{
	margin:1rem auto 1rem auto;
	width:60%;
}

}
