
/*****************SITE VARIABLES****************/
body {
	overflow-x:hidden;
	-webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* --content-max-width:1170px; */
}
input[type=submit]{
	transition: 0.4s;
}
/*****************END OF SITE VARIABLES****************/


/*****************SECTION LAYOUTS****************/

/* uwp_column_3_1 */
.uwp_column_3_1 {
	display: grid;
	grid-template-columns: 1fr 300px;
	grid-gap:40px;
}

.uwp_column_3_1 .wp-block-column:nth-child(2){
	margin-left:0px;
}

/* sidebar */
.sidebar > div {
	margin-bottom:40px;
}

/* .sidebar > div.ad.Tractor_com_300x250_Top1_PS {
	margin-top:5px;
} */

/*****************END SECTION LAYOUTS****************/

/*****************HOMEPAGE****************/

#main > *:not(.hero) {
  margin: 0 auto;
}

#main iframe,
#main .ad {
	text-align: center;
}

/*****************END OF HOMEPAGE****************/

/*****************POSTS LAYOUT CAN BE FOUND IN UWP-GLOBAL-BLOCKS****************/

/*****************POST TEMPLATE****************/

#page > div.ad {
    text-align: center;
}

#page > div.ad > div {
    margin-bottom: 30px;
}

#post-layout article {
	display: grid;
	grid-template-columns: 1fr 300px;
	grid-gap:30px 40px;
	grid-template-areas: "postTitle postTitle" "postContent postSidebar";
}

#page .brand-info {
	display: grid;
	grid-template-columns: 240px 1fr;
	grid-gap:30px 40px;
	margin-top: 25px;
	margin-bottom: 35px;
}

.post-header {
	grid-area: postTitle;
}

.post-header h1 {
	margin: 7px 0;
	font-weight:700;
	font-size:34px;
	color:#131313;
	line-height:1.29;
}

.post-header h2 {
	margin:7px 0 15px;
	font-weight:400;
	font-size:20px;
	color:#202020;
	line-height:1.45;
}

.post-content {
	grid-area: postContent;
}

.post-content img {
	width:100% !important;
}

.post-content figure {
	margin-top:0px;
}

.post-content p {
	margin-top:0px;
}

.post-sidebar{
	grid-area: postSidebar;
	margin-left:0px;
}

.post-sidebar > div {
	margin-bottom:40px;
}

.top-ad {
	margin:40px 0px;
}

.bottom-ad {
  margin-bottom: 50px;
}

.post-sidebar .homepage-post {
	padding-top:0px;
}

.post-meta {
	display:grid;
	grid-template-columns: 1fr 1fr 300px;
	grid-gap:40px;

}

.post-auth {
	font-size: 12px;
	color: #202020;
	line-height: 1.33;
}

.post-sm {
	padding-top:2px;
	justify-self:end;
}

.social-link {
	line-height: 31px;
  height: 32px;
  width: 32px;
  text-align: center;
  border-radius: 100%;
  font-size: 14px;
  display: inline-block;
  margin-left: 6px;
	color: var(--button-text-color);
}

.fb {
	background:#3c5a99;
}

.tw {
	background:#2aa9e0;
	font-size:16px;
}

.fa-twitter {
	transform: translate(1px, 1px);
}

@media (max-width:850px) {
	.post-meta {
		display:grid;
		grid-template-columns:1fr 1fr;
	}
	#page .brand-info {
		grid-template-columns: 1fr;
	}
	#page .brand-info div img {
		max-width: 240px;
	}
}

/*****************END OF POST TEMPLATE****************/

/*****************CONTACT US PAGE TEMPLATE****************/
#contact-form {
	display: grid;
  grid-template-columns: 0.5fr 1.5fr;
  grid-template-rows: 53px 53px 53px 53px auto 53px 53px;
  grid-template-areas: "topic-label topic-select" "name-label name-field" "email-label email-field" "phone-label phone-field" "details-label details-field" ". req-label" ". submit-button";
	grid-gap: 1em;
	float: none;
	border: none;
	border-radius: 0;
}
#contact-form input {
	padding: 0 0 0 0.75em;
	width: 100%;
}
#contact-form input::-webkit-input-placeholder /* Microsoft Edge */ {
	color: var(--form-alt-input-placeholder);
	opacity: 1;
}
#contact-form input::placeholder {
  color: var(--form-alt-input-placeholder);
	opacity: 1;
}
#contact-form textarea {
	padding: 0.75em;
}
#contact-form .req {
	color: #ff0000;
}
#contact-form input[type="submit"] {
	width: 350px;
	font-size: 13px;
  font-weight: bold;
  color: var(--button-text-color);
  text-align: center;
  text-transform: uppercase;
  background-color: var(--button-background-color);
  border: none;
  outline: none;
}
#contact-form input[type="submit"]:hover, #contact-form input[type="submit"]:active {
	color: var(--button-txt-hover-color);
	background: var(--button-hover-color);
	cursor: pointer;
}

#contact-form .topic-select { grid-area: topic-select; }

#contact-form .topic-select select {
	height: 53px;
  width: 100%;
  padding: 0 0 0 0.75em;
  border: 1px solid var(--form-main-border);
  border-radius: 5px;
  background-color: var(--background-color);
	color: var(--form-alt-input-placeholder);
	font-size: 13px;
  outline: none;
	-moz-appearance:none !important;
	-webkit-appearance:none !important;
  background: transparent url('data:image/gif;base64,R0lGODlhBgAGAKEDAFVVVX9/f9TU1CgmNyH5BAEKAAMALAAAAAAGAAYAAAIODA4hCDKWxlhNvmCnGwUAOw==') right center no-repeat !important;
  background-position: calc(100% - 0.75em) center !important;
}

#contact-form .name-label { grid-area: name-label; }

#contact-form .name-field { grid-area: name-field; }

#contact-form .email-label { grid-area: email-label; }

#contact-form .email-field { grid-area: email-field; }

#contact-form .phone-label { grid-area: phone-label; }

#contact-form .phone-field { grid-area: phone-field; }

#contact-form .details-label { grid-area: details-label; }

#contact-form .details-field { grid-area: details-field; }

#contact-form .req-label { grid-area: req-label; }

#contact-form .submit-button { grid-area: submit-button; }

@media (max-width:610px) {
	#contact-form {
		grid-template-columns: repeat(1, 1fr);
		grid-template-rows: auto;
		grid-gap: 0;
		row-gap: 1em;
		grid-template-areas: "topic-label" "topic-select" "name-label" "name-field" "email-label" "email-field" "phone-label" "phone-field" "details-label" "details-field" "req-label" "submit-button";

	}
	#contact-form > div {
		grid-column: 1 / span 2;
	}
	#contact-form input[type="submit"] {
		width: 100%;
	}
}
/*****************END OF CONTACT US PAGE TEMPLATE****************/

/*****************ADVERTISING PAGE TEMPLATE****************/
#advertising-form {
	display: grid;
  grid-template-columns: 0.5fr 1.5fr;
  grid-template-rows: 53px 53px 53px 53px 53px 53px auto 53px 53px;
  grid-template-areas: "fname-label fname-field" "lname-label lname-field" "company-label company-field" "title-label title-field" "email-label email-field" "phone-label phone-field" "details-label details-field" ". req-label" ". submit-button";
	grid-gap: 1em;
	float: none;
	border: none;
	border-radius: 0;
}
#advertising-form input {
	padding: 0 0 0 0.75em;
	width: 100%;
}
#advertising-form input::-webkit-input-placeholder /* Microsoft Edge */ {
	color: var(--form-alt-input-placeholder);
	opacity: 1;
}
#advertising-form input::placeholder {
  color: var(--form-alt-input-placeholder);
	opacity: 1;
}
#advertising-form textarea {
	padding: 0.75em;
}
#advertising-form .req {
	color: #ff0000;
}
#advertising-form input[type="submit"] {
	width: 350px;
	font-size: 13px;
  font-weight: bold;
  color: var(--button-text-color);
  text-align: center;
  text-transform: uppercase;
  background-color: var(--button-background-color);
  border: none;
  outline: none;
}
#advertising-form input[type="submit"]:hover, #advertising-form input[type="submit"]:active {
	color: var(--button-txt-hover-color);
	background: var(--button-hover-color);
	cursor: pointer;
}

#advertising-form .fname-label { grid-area: fname-label; }

#advertising-form .fname-field { grid-area: fname-field; }

#advertising-form .lname-label { grid-area: lname-label; }

#advertising-form .lname-field { grid-area: lname-field; }

#advertising-form .company-label { grid-area: company-label; }

#advertising-form .company-field { grid-area: company-field; }

#advertising-form .title-label { grid-area: title-label; }

#advertising-form .title-field { grid-area: title-field; }

#advertising-form .email-label { grid-area: email-label; }

#advertising-form .email-field { grid-area: email-field; }

#advertising-form .phone-label { grid-area: phone-label; }

#advertising-form .phone-field { grid-area: phone-field; }

#advertising-form .details-label { grid-area: details-label; }

#advertising-form .details-field { grid-area: details-field; }

#advertising-form .req-label { grid-area: req-label; }

#advertising-form .submit-button { grid-area: submit-button; }

@media (max-width:610px) {
	#advertising-form {
		grid-template-columns: repeat(1, 1fr);
		grid-template-rows: auto;
		grid-gap: 0;
		row-gap: 1em;
		grid-template-areas: "fname-label" "fname-field" "lname-label" "lname-field" "company-label" "company-field" "title-label" "title-field" "email-label" "email-field" "phone-label" "phone-field" "details-label" "details-field" "req-label" "submit-button";

	}
	#advertising-form > div {
		grid-column: 1 / span 2;
	}
	#advertising-form input[type="submit"] {
		width: 100%;
	}
}
/*****************END OF ADVERTISING PAGE TEMPLATE****************/

/*****************NEWSLETTER BLOCK****************/
.newsletter-block {
	margin-top: 40px;
	padding: 1em 1em 1.5em 1em;
	background: #f3f3f3;
}

.newsletter-block h1 {
	color:#202020;
	font-size: 1.4em;
	font-weight: bold;
	line-height: 1.2;
	margin: 0;
}

.newsletter-block p {
	font-size: 0.9em;
	line-height: 2.4;
	margin-top: 0;
	margin-bottom: 0.1em;
}

.newsletter-block .newsletter-email {
  height: 32px;
  width: calc(100% - (79px + 2em));
	background: transparent;
  border: none;
	border-bottom: 1px solid #979797;
  border-radius: 0;
	font-size: 13px;
  outline: none;
	padding: 3px 0;
}

.newsletter-block .newsletter-form input::-webkit-input-placeholder /* Microsoft Edge */ {
	color: var(--form-alt-input-placeholder);
	opacity: 1;
}
.newsletter-block .newsletter-form input::placeholder {
  color: var(--form-alt-input-placeholder);
	opacity: 1;
}

.newsletter-block .submit {
  height: 32px;
  width: 79px;
	font-family: var(--font-name);
  font-size: 13px;
  font-weight: bold;
  color: var(--button-text-color);
  text-align: center;
	text-transform:uppercase;
	background: var(--button-background-color);
	margin-left: 1em;
	padding: 0;
  border: none;
  outline: none;
	vertical-align: middle;
}
.newsletter-block .submit:hover, .newsletter-block .submit:active {
  color: var(--button-txt-hover-color);
	background: var(--button-hover-color);
	cursor: pointer;
}
/*****************END OF NEWSLETTER BLOCK****************/

/*****************READ MORE BLOCK****************/
.wp-block-cgb-block-uwp-readmore-block {
    /* Let's display the content in a grid */
    display: grid;
		border-left: 4px solid var(--button-background-color);
		border-right: 4px solid var(--button-background-color);
    grid-template-columns: 0.3fr 1.8fr;
    grid-template-rows: 1fr;
    grid-column-gap: 15px;
    grid-row-gap: 0px;
    grid-template-areas: "title title" "media copy";
    /* And let's center the items vertically */
    align-items: center;
    padding: 0;
		margin: 2.5em 0;
}
.wp-block-cgb-block-uwp-readmore-block .media {
    grid-area: media;
    width: 140px;
    height: 86px;
    position:relative;
    overflow: hidden;
}
.wp-block-cgb-block-uwp-readmore-block .media button {
/* remove the annoying space around button */
    padding: 0;
}

.wp-block-cgb-block-uwp-readmore-block .media img {
    display: block;
    width: 100%;
    min-height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
.wp-block-cgb-block-uwp-readmore-block .media:hover, .wp-block-cgb-block-uwp-readmore-block .media:focus {
    cursor: pointer;
}
.wp-block-cgb-block-uwp-readmore-block .copy {
    grid-area: copy;
}
.wp-block-cgb-block-uwp-readmore-block .copy .copy-hd {
    font-weight: bold;
    font-size: .95rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 3px;
}
.wp-block-cgb-block-uwp-readmore-block .copy .copy-hd a {
		color: var(--button-background-color);
		text-decoration: none;
}
.wp-block-cgb-block-uwp-readmore-block .copy .copy-hd a:active, .wp-block-cgb-block-uwp-readmore-block .copy .copy-hd a:hover {
		text-decoration: underline;
}
.wp-block-cgb-block-uwp-readmore-block .copy .copy-bd {
    display: block;
		font-size: .95rem;
    margin-bottom: 5px;
    width: 100%;
}
/*****************END OF READ MORE BLOCK****************/

/*****************ARTICLE THUMBNAILS - CATEGORY PAGE****************/
.regular-article-post {
	position: relative;
}
.regular-article-post img {
		width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.regular-article-post div.landing-article-post {
		display: grid;
    grid-template-columns: 1fr 260px;
    grid-template-rows: auto 1fr;
    grid-column-gap: 35px;
    grid-template-areas:
        "title pic"
        "desc pic";
    margin-bottom: 39px;
}

.regular-article-post h2 {
	font-size: 1.4em;
}

.regular-article-post h3 {
		grid-area: title;
		margin-top: 12px;
    margin-bottom: 10px;
    font-size: 16px;
		line-height: 1.38;
}

.regular-article-post h3 a {
	color: var(--link-color);
	text-decoration: none;
}

.regular-article-post h3 a:hover {
	filter: brightness(60%);
}

.regular-article-post .postsTitle {
		border-bottom: 1px solid #979797;
		margin-top: 20px;
    margin-bottom: 28px;
    padding-bottom: 7px;
}

.regular-article-post p {
    grid-area: desc;
		font-size: 0.9em;
		margin-top: 0;
}

.regular-article-post .btn-wrap a.find-specs,
.regular-article-post .btn-wrap a.find-used {
	display: inline-block;
	position: absolute;
	top: 0;
	padding: 7px 15px 5px;
	width: 125px;
	font-size: 13px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	background: var(--link-color);
	border-radius: 3px;
	border: 1px solid var(--link-color);
}

.regular-article-post .btn-wrap {
	position: relative;
	float: right;
	width: 260px;
}

.regular-article-post .btn-wrap a.find-used {
	right: 0;
}

.regular-article-post .btn-wrap  a.find-specs:hover,
.regular-article-post .btn-wrap a.find-used:hover{
	filter: brightness(100%);
	background: #fff;
	color: var(--link-color);
}

.regular-article-thumb {
	grid-area: pic;
	width: 100%;
	height: 134px;
}

h1 {
	font-size: 2.1em;
	line-height: 1.3;
	margin: 0.51em 0;
	color: #131313;
}

.articles-spotlight > div {
	display: grid;
	grid-template-columns: auto auto auto;
	grid-gap: 20px;
	margin-bottom: 0;
}

.articles-spotlight > div h3 {
	margin: 0.5em 0;
	font-size: 1em;
}

.articles-spotlight > div h3 a {
	color: var(--link-color);
	text-decoration: none;
}

.articles-spotlight > div h3 a:hover {
	filter: brightness(60%);
}

.articles-spotlight > div p {
	margin-top: 0.5em;
	margin-bottom: 1.2em;
	font-size: 0.9em;
}

.articles-spotlight .regular-article-thumb {
	grid-area: pic;
	display: inline-block;
	width: 100%;
	height: 185px;
	overflow: hidden;
}

.articles-spotlight .regular-article-thumb img {
	position: relative;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

/* .popular-article-post {
	margin-top: 20px;
} */

.popular-article-post .popular-posts {
  margin-top: 40px;
	padding-top: 0;
}

.popular-article-post .postsTitle {
	font-size: 1.4em;
	font-weight: bold;
	padding-bottom: 6px;
	margin-bottom: 40px;
}

.popular-article-post h2 {
	color: var(--link-color);
	margin-bottom: 7px;
}

.popular-article-post .post_small {
	margin-bottom: 37px;
}

.popular-article-post a:hover {
	filter: none;
	text-decoration: none;
}

.popular-article-post h2:hover {
	filter: brightness(60%);
}

.regular-article-post div.nav-links{
	display: block;
  margin-bottom: 10px;
	text-align: center;
}
.regular-article-post div.nav-links a, .regular-article-post div.nav-links span{
	font-size:14px;
	color:#7a7a7a;
	display:inline-block;
	margin:0 6px;
	text-decoration:none;
}
.regular-article-post div.nav-links a:hover,.regular-article-post div.nav-links span{
	color:#202020;
}
.btn-link{
	display:inline-block;
	background-color: var(--button-background-color);
	color:var(--button-text-color);
	text-decoration: none;
	text-transform: uppercase;
	border-radius: 3px;
	padding:6px 16px;
	font-size:0.81rem;
	line-height:1.6;
	font-weight:bold;
}
.btn-link:hover{
	background-color: var(--button-hover-color);
	color:var(--button-txt-hover-color);
}

@media (max-width:1080px) {
	.articles-spotlight .regular-article-thumb {
		height: calc(185px * 0.8);
	}
}

@media (max-width:950px) {
	.regular-article-post div.landing-article-post {
    grid-template-columns: 1fr 150px;
	}
}

@media (max-width:850px) {
	.regular-article-post div.landing-article-post {
	  grid-template-columns: 1fr 143px;
		grid-template-areas: "title title"
												 "desc pic";
		grid-column-gap: 20px;
		margin-bottom: 30px;
	}

	.regular-article-post div.landing-article-post:last-child {
		margin-bottom:-10px;
	}

	.regular-article-post h3 {
		margin-top: 0;
	}

	.regular-article-thumb {
		height: calc(134px * 0.55);
	}

	.articles-spotlight .regular-article-thumb {
		height: calc(185px * 0.7);
	}

  .articles-spotlight .regular-article-thumb img {
    width: 100%;
  }

  .regular-article-post .btn-wrap a.find-specs,
  .regular-article-post .btn-wrap a.find-used {
      width: 48%;
  }

	.regular-article-post p, .landing-article-post p {
		margin-bottom: 0;
	}
}

@media (max-width:650px) {
	.articles-spotlight > div {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width:415px) {
	.articles-spotlight > div {
		grid-template-columns: 1fr;
	}

	.articles-spotlight .regular-article-thumb {
		height: 192px;
	}
}
/*****************END ARTICLE THUMBNAILS - CATEGORY PAGE****************/


/*****************MEDIA QUERY****************/

@media (max-width:950px) {
	.main-navigation {
		display:none;
	}
	.mobile-nav {
		display: block;
	}
	.footer-nav{
		display: none;
	}
	#colophon p {
		right: inherit !important;
	}
	.homepage-post .post_large {
    grid-template-columns: 1fr 150px;
	}

}

@media (max-width:850px) {
	.uwp_column_3_1 {
		grid-template-columns: 1fr;
	}

	.homepage-post .post_large {
	  grid-template-columns: 1fr 143px;
		grid-template-areas: "title title"
												 "desc pic";
	}

	.homepage-thumbnail {
		width:100%;
		height:74px;
	}

	.homepage-post .post_large:last-child {
		margin-bottom:-10px;
	}

	.uwp_column_3_1 .wp-block-column:nth-child(2) {
		display: grid;
		grid-template-areas: "ad300x250";
	}

	.uwp_column_3_1 .wp-block-column:nth-child(2) .ad-space {
		grid-area: ad300x250;
	}

	#post-layout article {
		grid-template-columns: 1fr;
		grid-template-areas: "postTitle" "postContent" "postSidebar";
	}

	#post-layout .post-sidebar {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-areas: "last-ad";
	}

	.post-sidebar .ad-space:last-child {
		grid-area: last-ad;
	}

}

/* CatFish styles */
@media screen and (max-width: 641px) {
	#colophon {
		margin: 0 auto 100px !important;
	}
	.newsletter-block {
		margin-top: 10px;
	}
	.sidebar > div#Tractor_com_160x600_Right_PS {
		display: none;
	}
	.sidebar > div.popular-posts {
    margin-bottom: 0;
	}
  #Tractor_com_300x250_Bottom_PS_Mobile {
    width: 100%;
    text-align: center;
    margin-bottom: 25px;
  }
  #Tractor_com_320x50_Bottom_PS_Mobile {
    position: fixed;
    bottom: 0px;
		left: 0;
    width: 100%;
    height: 50px;
		background: #fff;
    z-index: 50;
  }
  #Tractor_com_320x50_Bottom_PS_Mobile div:first-of-type {
    display: block !important;
    margin: 0 auto;
    text-align: center;
  }
}

/*****************END OF MEDIA QUERY****************/

.single-post img[width="1"][height="1"]{
    width: 1px;
    height: 1px;
}
