﻿/***** BEGIN RESET *****/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;	
}

ol, ul {
	list-style: none;
}

table{border-collapse:collapse; width:100%;}
td{vertical-align:top;}

/* Make HTML 5 elements display block-level for consistent styling */  
header, nav, article, footer, address {  
    display: block;  
} 

/*-------- COLORS --------

	COLOR:  #XXXXXX
*/

:root {
		
	--red: #DE1E39; 
	--dark-red: #B62234;
	--gray: #666;
}

/***** END RESET *****/
::-moz-selection {
    background: #000; 
    color: #fff;
    text-shadow: none;
}
::selection {
    background: #000;
    color: #fff;
    text-shadow: none;
}


/* Clearfix */
.cf:before,
.cf:after {
    content: " ";
    display: table;
}
.cf:after {
    clear: both;
}
.cf {
    *zoom: 1;
}

/*-------- BODY STYLES --------*/

* {box-sizing: border-box;}

body {
}

.wid-90 {width: 90%; margin: 0 auto; max-width: 1600px;}

.padit {padding: 70px 0;}
.header-pad {padding: 60px 0;}

.logo {max-width: 300px;}

.logo img {width: 100%; display: block; padding: 10px 0;}

.flex {display: flex;}

.flex-1 {
	width: 100%;
}

.flex-2 {
	width: 50%;
}

.flex-1 .wid-90, .flex-2 .wid-90 {
	width: 80%; max-width: 800px;
}

.mobile-only {display: none;}

.red-body {background-color: var(--dark-red);}

/*------------- TEXT STYLES AND BUTTONS -------------*/

.white{color: #fff;}

.red {color: var(--red);}
.dark-red {color: var(--dark-red);}
.gray {color: var(--gray);}

.upper {text-transform: uppercase;}

a:link, a:visited, a:active {text-decoration:none; font-family: "Nunito", sans-serif; }
a:hover {text-decoration:none;}

h1, h2, h3, h4, h5, h6 { font-family: "Factoria", serif; }

p, li {
	font-family: "Nunito", sans-serif;
	font-size: 16px;
}

p.body-text {
	line-height: 1.5;
}

ul.bullets {
	margin-left: 30px;
	line-height: 2;
}

ul.bullets li {
	list-style: disc;
}

hr {
	margin: 50px 0;
	border: 1px solid #A91E22;
}

.sm-heading {
	font-size: 20px;
	font-weight: 700;
}

.heading {
	font-size: 40px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.subheading {
	font-family: "Factoria", serif;
	font-size: 15px;
	font-style: italic;
	font-weight: 300;
}

/*  BUTTONS  */

.red-btn {
	gap: 10px;
	min-width: 180px;
	padding: 10px 15px;
	background: var(--red);
	color: #fff;
	font-family: "Nunito", sans-serif;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
	border: none;
	border-radius: 4px;
	-webkit-transition:.3s ease-in;  
	-moz-transition:.3s ease-in;  
	-o-transition:.3s ease-in;  
	transition:.3s ease-in;
}

.red-btn:hover {
	background-color: var(--dark-red);
	color: #f4f4f4;
}

.white-btn {
	gap: 10px;
	min-width: 180px;
	padding: 10px 15px;
	background: #fff;
	color: var(--red);
	font-family: "Nunito", sans-serif;
	font-size: 16px;
	font-weight: 800;
	cursor: pointer;
	border: none;
	border-radius: 4px;
	-webkit-transition:.3s ease-in;  
	-moz-transition:.3s ease-in;  
	-o-transition:.3s ease-in;  
	transition:.3s ease-in;
}

.white-btn:hover {
	background-color: #eee;
	color: var(--dark-red);
}

.btn-row.flex {
	gap: 20px 50px !important;
	flex-wrap: wrap;
}

/*--- HEADER STYLES ---------------------*/

header .header-wrap {
	position: absolute;
	z-index: 5;
	top: 20px;
    width: 100%;
    left: 50%;
    transform: translate(-50%, 0);
}

.header-container {
	position: relative;
	background-color: #000;
}

.main-header .logo {
	padding-right: 20px;
	border-right: 4px solid #fff;
}

.main-header .flex {
	align-items: center;
	gap: 40px;
}

.mobile-logo {
	background-color: #FFFCED;
	display: none;
}

.mobile-logo .logo {
	margin: 0 auto;
}

.header-img {
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.00) 30%), linear-gradient(rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.35) 100%), url("../siteart/page-heading.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 150px 0;
}

/*---BODY--------------------------------*/

.hero {
	background-color: #000;
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.00) 20%), linear-gradient(rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.35) 100%), url("../siteart/hero.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 250px 0;
}

.hero-text {
	text-align: center;
}

.hero-text .subheading {
	color: #FFF;
	text-align: center;
	font-family: "Factoria", serif;
	font-size: 15px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 1.35px;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.hero-text .heading {
	font-size: 64px;
	font-style: italic;
}

.search-bar.flex {
	justify-content: center;
	margin-top: 20px;
}

.search-bar.flex input {
	font-family: "Nunito", sans-serif;
	font-size: 16px;
	padding: 15px 25px;
	border: none;
	border-bottom-left-radius: 25px;
	border-top-left-radius: 25px;
}

.search-bar.flex input::placeholder {
	font-style: italic;
}

.search-bar.flex input:focus {
	outline: none;
	background-color: #f4f4f4;
}

.search-bar.flex button {
	border: none;
	border-radius: 0 25px 25px 0;
	background: var(--red);
	padding: 15px;
	color: #fff;
	cursor: pointer;
}

.search-bar.flex button:hover {
	background: var(--dark-red);
}

.inv-cats.flex {
	justify-content: center;
	gap: 30px 5%;
	padding-top: 50px;
}

.inv-cat {
	display: block;
	background-color: var(--dark-red);
	padding: 25px;
	width: 25%;
	border-radius: 10px;
	background-image: url("../siteart/red-texture.jpg");
	background-size:250%;
	background-position:center;
	background-repeat: no-repeat;
	box-shadow: 0 5px 8.4px -4px rgba(0, 0, 0, 0.50);
	position: relative;
	-webkit-transition:.3s ease-in;  
	-moz-transition:.3s ease-in;  
	-o-transition:.3s ease-in;  
	transition:.3s ease-in;
}

.inv-cat.new::before {
	background-image: url("../siteart/SkidSteers.png");
}

.inv-cat.used::before {
	background-image: url("../siteart/SkipLoaders.png");
	background-position: 110% 100%;
}

.inv-cat.attach::before {
	background-image: url("../siteart/OtherEq.png");
}

.inv-cat.all::before {
	background-image: url("../siteart/BackhoeLoaders.png");
	background-position: 105% 100%;
}

.inv-cat::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-position: 100% 100%;
	background-repeat: no-repeat;
	background-size: auto 80px;
	opacity: 0.5;
	-webkit-transition:.3s ease-in;  
	-moz-transition:.3s ease-in;  
	-o-transition:.3s ease-in;  
	transition:.3s ease-in;
}

.inv-cat:hover::before {
	background-position: 80% 100%;
}

.inv-cat:hover {
	box-shadow: 0 5px 10px -3px rgba(0, 0, 0, 0.60);
}

.inv-cat .cat-title {
	position: relative;
}

.cat-title p {
	font-family: "Factoria", sans-serif;
	font-weight: 300;
}

.trailers {
	margin-top: 40px;
	text-align: center;
}

.trailers h2.heading {
	font-size: 32px;
	font-weight: 500;
	font-style: italic;
}

.trailers .brands.flex {
	justify-content: space-around;
	gap: 20px 5%;
	padding: 20px 0 30px;
	flex-wrap: wrap;
}

.trailers .brands.flex img {
	display: block;
	padding: 20px;
	background-color: var(--dark-red);
	background-image: url("../siteart/red-texture.jpg");
	background-size:250%;
	background-position:center;
	background-repeat: no-repeat;
	width: 100%;
	max-width: 200px;
	border: 2px solid var(--dark-red);
	border-radius: 5px;
	box-shadow: 0 5px 8.4px -4px rgba(0, 0, 0, 0.50);
	-webkit-transition:.3s ease-in;  
	-moz-transition:.3s ease-in;  
	-o-transition:.3s ease-in;  
	transition:.3s ease-in;
}

.trailers .brands.flex img:hover {
	transform: translate(0, -15px);
}

.trailers .red-btn {
	width: 100%;
	max-width: 800px;
}

.about.padit {
	background-image: linear-gradient(180deg, #FFF 50%, rgba(255, 255, 255, 0.80) 100%), url("../siteart/location.jpg");
	background-position: center bottom;
	background-size: cover;
}

.about .flex {
	align-items: flex-start;
}

.flex-1:has(.about-slider){
	width: 50%;
	position: relative;
}

.about .arrows.flex {
	position: absolute;
	bottom: 0; 
	left: 10%;
	gap: 15px;
}

.custom-prev, .custom-next {
	background-color: var(--red);
	padding: 10px 13px;
	cursor: pointer;
	-webkit-transition:.3s ease-in;  
	-moz-transition:.3s ease-in;  
	-o-transition:.3s ease-in;  
	transition:.3s ease-in;
}

.custom-prev:hover, .custom-next:hover {
	background-color: var(--dark-red);
}

.about-slider img {
	display: block;
	width: 100%;
}

.contact {
	background-image: url("../siteart/red-texture.jpg");
	background-size: auto;
	background-position: center;
}

.contact .wid-90.flex {
	gap: 30px 5%;
}

.contact-aside.flex {
	flex-direction: column;
	justify-content: space-between;
	flex-shrink: 0;
}

.contact-main.flex {
	background-color: var(--dark-red);
	width: 100%;
	border-radius: 4px;
	border: 2px solid #FFF;
	padding: 50px;
	gap: 30px;
	justify-content: space-around;
	flex-wrap: wrap;
}

.page-heading {
	background-color: var(--dark-red);
	background-image: url("../siteart/red-texture.jpg");
	background-size: auto;
	background-position: center;
}

.news-item.flex {
	background: #fff;
	padding: 20px;
	border: 2px solid var(--red);
	border-radius: 3px;
	gap: 20px 3%;
	box-shadow: 0 5px 8.4px -4px rgba(0, 0, 0, 0.50);
	margin: 30px 0;
}

.news-item.flex:hover {
	box-shadow: 0 5px 10px -3px rgba(0, 0, 0, 0.60);
}

.news-item.flex .img-aside {
	width: 30%;
}

.news-item.flex .img-aside img {
	display: block;
	width: 100%;
	aspect-ratio: 2/1;
	object-fit: cover;
	object-position: center;
}

.map.flex {
	justify-content: space-around;
	gap: 30px 5%;
}

.map.flex iframe {
	display: block;
	width: 100%;
}

.map-aside {
	width: 50%;
}

.map-aside a {color: #000;}

.map-aside div {
	width: 90%;
	margin: 0 auto;
	padding: 30px;
	border: 2px solid var(--red);
	border-radius: 5px;
}

.team.flex {
	flex-wrap: wrap;
	gap: 20px;
	justify-content: space-around;
}

.member.flex {
	gap: 20px;
	padding: 20px;
	width: 100%;
	max-width: 440px;
	border: 2px solid var(--red);
	border-radius: 5px;
}

.member.flex img {
	display: block;
	width: 100%;
	max-width: 150px;
	aspect-ratio: 1 / 1;
	background-color: #000;
}

.member.flex  div{
	width: 100%;
}

/*--------FORM STYLES--------------------*/

.contact-flex {
	display: flex;
	justify-content: space-around;
}

.form-container {
	margin: 0 auto;
	background-color: #fff;
	border: 2px solid var(--dark-red);
	border-radius: 5px;
	max-width: 900px;
	box-shadow: 0 7px 20px -5px rgba(0,0,0,0.6);
}

.form-box {
	padding: 30px 40px;
	margin: 0 auto;
}

.form-box .heading {
	padding: 15px 0;
}

.form-flex {
	display: flex;
	justify-content: center;
	gap: 30px;
	margin: 10px 0;
}

.form-flex label {
	font-family: "Nunito", sans-serif;
	font-size: 15px;
	font-weight: 600;
	padding-bottom: 5px;
	display: inline-block;
}

.form-field, .form-flex input, .form-flex select, .form-flex textarea, .form-flex div {
	width: 100%;
}

.form-flex input, .form-flex select, .form-flex textarea {
	background: #E8E8E8;
	border: none;
	color: #2D2D2D;
	font-family: "Nunito", sans-serif;
	font-size: 15px;
	padding: 15px;
	border-radius: 0;
	
}

.form-flex input:focus-visible, .form-flex select:focus-visible, .form-flex textarea:focus-visible {
	outline: none;
	background: #E5D9DB;
}

textarea {
	height: 150px;
}

.CaptchaPanel {
	font-family: "Nunito", sans-serif;
}

.captcha-button {
	text-align:center;
}

#captcha {
	display: none;
}

/*-------- FOOTER STYLES ----------------*/
footer {
	padding-bottom: 50px;
	background: #000;
}

footer .wid-90.flex {
	justify-content: space-between;
	gap: 20px 10%;
	flex-wrap: wrap;
}

footer h3.sm-heading {
	margin-bottom: 10px;
}

.footer-nav .flex {
	gap: 0 40px;
	flex-wrap: wrap;
}

.footer-nav ul li a {
	color: #fff;
	line-height: 2;
	-webkit-transition:.3s ease-in;  
	-moz-transition:.3s ease-in;  
	-o-transition:.3s ease-in;  
	transition:.3s ease-in;
}

.footer-nav ul li a:hover {
	color: var(--red);
}

.footer-contact {
	background: #444;
	padding: 20px;
	width: 20%;
	border-radius: 5px;
	min-width: 220px;
}

.footer-contact .flex {
	margin: 20px 0;
	gap: 15px;
}

/*----INVENTORY STYLES - KEEP AT BOTTOM OF CSS----*/





/*---------- RESPONSIVE STYLES ----------*/

@media only screen and (max-width: 1300px) {
	.inv-cats.flex {flex-wrap: wrap;}
	.inv-cat {width: 45%;}
	
	.about .flex {flex-wrap:wrap; gap: 50px;}
	.flex-1:has(.about-slider) {width: 70%;}
}

@media only screen and (max-width: 1000px) {
	.header-wrap {display: none;}
	
	.hero {padding: 150px 0;}
	.hero-text .heading {font-size: 48px;}
	
	.news-item.flex .img-aside {width: 100%;}
	
	.header-img {padding: 100px;}
}

@media only screen and (max-width: 850px) {
	.heading {font-size: 32px;}
	.trailers h2.heading {font-size: 28px;}
	
	.page-heading.padit {padding: 50px 0;}
	
	.form-flex {flex-wrap: wrap; gap: 20px; padding: 5px 0;}
	
	.contact .wid-90.flex {flex-wrap: wrap;}
	.contact-aside.flex {flex-direction: row;flex-wrap: wrap; gap: 20px; width: 100%;}
	
	.map.flex {flex-wrap: wrap;}
	.map-aside {width: 100%;}
	
	footer .wid-90.flex {justify-content: space-around;}
}


@media only screen and (max-width: 600px) {
	.hero {padding: 60px 0;}
	.hero-text .heading {font-size: 32px;}
	
	.inv-cat {width: 100%; max-width: 400px;}
	
	.flex-1:has(.about-slider) {width: 90%;}
	
	.news-item.flex {flex-wrap: wrap;}
}

@media only screen and (max-width: 500px) {
	.heading {font-size: 24px;}
	.trailers h2.heading {font-size: 18px;}
	
	.map-aside div {width: 100%; padding: 20px;}
}

@media only screen and (max-width: 450px) {
/*	make buttons full width*/
	.red-btn, .white-btn, .btn-row.flex a, .contact-aside.flex a{width: 100%;}
	
	.contact-main.flex {justify-content: space-between;}
	
	.search-bar.flex input {width: 100%;}
	
	.member.flex {flex-wrap: wrap; justify-content: center;}
/*	.member.flex img {max-width: unset;}*/
	
	.footer-contact {width: 100%; min-width: unset;}
}






