/* Change News landing page header image */
.landing.news .top-header-graphic,
.detail.news .top-header-graphic {
	background: url('../images/news-background.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

/* Change ARI logos depending on page name */
.navbar.navbar-default .navbar-brand h1.homeh1 {
	background: url(../images/ari-logo-sell-more-stuff-gray.svg) no-repeat;
}
.navbar.navbar-default .navbar-brand h1.logo-marine {
	/* background: url(../images/ari-logo-marine.svg) no-repeat; */
	background: url(../images/ari-logo-sell-more-stuff-gray.svg) no-repeat;
}
.navbar.navbar-default .navbar-brand h1.logo-rv {
	/* background: url(../images/ari-logo-rv-dealer.svg) no-repeat; */
	background: url(../images/ari-logo-sell-more-stuff-gray.svg) no-repeat;
}
.navbar.navbar-default .navbar-brand h1.logo-powersports {
	/* background: url(../images/ari-logo-powersports.svg) no-repeat; */
	background: url(../images/ari-logo-sell-more-stuff-gray.svg) no-repeat;
}
.navbar.navbar-default .navbar-brand h1.logo-home-medical {
	/* background: url(../images/ari-logo-home-medical.svg) no-repeat; */
	background: url(../images/ari-logo-sell-more-stuff-gray.svg) no-repeat;
}
.navbar.navbar-default .navbar-brand h1.logo-outdoor-power {
	/* background: url(../images/ari-logo-outdoor-power.svg) no-repeat; */
	background: url(../images/ari-logo-sell-more-stuff-gray.svg) no-repeat;
}

/* Make just ARI link back to the main home page */
.mainHomeLink {
	display: block;
	position: absolute;
	top: 0;
	height: 70px;
	width: 110px;
}
.resource-title {
	color: green;
}

/* Change pagination link on news page to match correct style */
.load-more a {
	color: #999999;
	transition: all .3s ease
}
.load-more button:hover a {
	color: #570262;
	text-decoration: none;
}

/* Change hover color on utility nav links when scrolling back up the page */
.navbar.navbar-default.navbar-fixed-top.solid-background .utility-nav > li > a:hover,
.navbar.navbar-default.navbar-fixed-top.solid-background .utility-nav .dropdown.open > a {
	color: #ddd;
}
.content-block .intro-copy button a {
	color: white;
}

/* Match email this button with correct styles */
.emailThisButton a {
	color: #999999;
	transition: all .3s ease;
}
.emailThisButton:hover a {
	text-decoration: none;
	color: #570262;
}
.cb5 h5 {
	text-align: center;
}

/* Style for register users page */
.register .wp-activate-container h2 {
    width: 50%;
    margin: 0 auto;
    margin-top: 200px;
}
.register .wp-activate-container p {
	margin: 0 auto;
	width: 50%;
	margin-bottom: 100px;
}
.page main {
    background: url(../images/news-background.jpg);
    background-size: 100% 430px;
    background-repeat: no-repeat;
    background-position: center top;
    min-height: 430px;
    margin-bottom: 60px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    padding-top: 500px;
}
.page main section {
	width: 1170px;
	margin: 0 auto;
}
.page aside {
	width: 1170px;
	margin: 0 auto;
}

/* Get rid of underline on Call to Action button */
a.cta_a:hover {
	text-decoration: none;
}

/* Add bullets to sidebar on customer support page */
.sidebar-customer-support ul.sidebar-links {
	list-style-type: initial;
}
.sidebar-customer-support li {
	margin-left: 40px;
}

/* Put news pagination buttons next to each other */
.load-more.news {
	text-align: center;
}
.load-more.news button.transparent-button {
	display: inline-block;
}

/* Change color of CTA buttons on Digital Marketing and eCatalogs pages */
.wildcardMarkets a, .wildcardMarkets a:hover {
	color: white;
}

/* Make mobile content overlay header image */
.header-overlay-mobile {
	position: absolute;
	top: 100px;
}

/* Add more padding on the bottom of dropdown menus */
.dropdown-menu {
	padding: 5px 0 15px 0;
}

/* Adjust dropdown menu for dealer solutions */
.navbar.navbar-default .main-nav.navbar-nav ul.dropdown-menu.dealerSolutions {
	left: 0;
}
.dropdown-menu.dealerSolutions img.indicator {
	display: block;
    margin: auto;
    margin-top: -16px;
}

/* Change height of landing page top image */
.landing.mobile-nav-only .top-header-graphic {
	min-height: 430px;
	max-height: 430px;
}

/* Get rid of bullets on Customer support page */
.sidebar-customer-support ul.sidebar-links {
	list-style-type: none; 
}
.sidebar-customer-support li {
	margin-left: 20px;
}

/* Mobile Nav small tweaks */
.navmenu-fixed-right.offCanvas .nav.navmenu-nav li a {
	font-size: 1.25em;
}
.navmenu-fixed-right.offCanvas .nav.navmenu-nav>li>a {
	padding: 10px 15px 10px 25px;
}

/*Hide select menus */
form select {
	display: none;
}

form#fsForm1843837 select {
	display: initial;
}

/* Get A Demo Modal */
.getADemo {
	width: 500px;
	margin: 0 auto;
	padding: 25px;
	background: #832e8e;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
.getADemo h4 {
	font-family: "brandon-grotesque", sans-serif;
	font-weight: 500;
	text-transform: initial;
	color: #fff;
}
.getADemo p, .getADemo form label {
	color: #f9dafd;
	font-size: 16px;
	font-weight: 400;
	font-family: AvenirLTStd-Book, sans-serif;
}
.getADemo span {
	font-size: 16px;
	margin-top: 3px;
}
.getADemo form {
	margin-top: 25px;
}
.getADemo form input {
	margin-bottom: 15px;
	padding: 0 15px;
	color: #333333;
	display: block;
    width: 100%;
    margin-bottom: 30px;
    border: 1px solid #cdcdcd;
    border-radius: 5px;
    height: 45px;
}
.getADemo form input:placeholder {
	color: #333333;
}

.getADemo form input.submit {
	width: 50%;
	background: #fff;
	color: #832e8e;
	padding: 20px;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	font-size: .9em;
	margin-top: 30px;
    border: none;
    min-height: 60px;
    max-height: 60px;
    border-bottom: 3px solid #570262;
    text-shadow: none;
}
#get-a-demo-select-button {
	width: 100%;
	margin-bottom: 30px;
    height: 45px;
    border-radius: 5px;
    padding-top: 12px;
    font-family: AvenirLTStd-Book, sans-serif !important;
    font-size: 1.2em;
    color: #666666;
}
.getADemo form .ui-icon.custom-button {
	margin-top: 6px;
}
#fadeandscale {
  transform: scale(0.8);
}
.popup_visible #fadeandscale {
  transform: scale(1);
}
@media (max-width: 767px) {
	.getADemo {
		width: 90%;
	}
	.getADemo form input.submit {
		width: 80%;
	}
}

/* Center partner logos */
.partners-logos .row {
	margin: 0 auto;
	text-align: center;
}
.partners-logos .col-sm-3 {
	display: inline-block;
	float: none;
	width: 24%;
}

/* Change header text depending on what option was selected in wordpress */
.markets .top-header-graphic .header-overlay h1, .markets .top-header-graphic .header-overlay h2, .wildcard .top-header-graphic .header-overlay h1, .wildcard .top-header-graphic .header-overlay h2, .solutions-package-heavy .top-header-graphic .header-overlay h1, .solutions-package-heavy .top-header-graphic .header-overlay h2 {
	color: #333;
}
.markets .top-header-graphic .header-overlay h5, .wildcard .top-header-graphic .header-overlay h5, .solutions-package-heavy .top-header-graphic .header-overlay h5   {
	color: #666;
	width: 80%;
}

.top-header-graphic .header-overlay h1.light-nav, .top-header-graphic .header-overlay h2.light-nav, .top-header-graphic .header-overlay h5.light-nav {
	color: #fff;
}

/* Get rid of a minimum height on price boxes */
.content-block.cb-advantage .advantage-inner .advantage-content {
	min-height: 0;
}

/* Make sure off canvas nav doesn't add padding to the body */
body.markets {
	padding: 0!important;
}

/* Make sure resources flow without gaps */
.resources .resource-item {
	min-height: 350px;
	max-height: 350px;
	text-align: center;
}

.resources .resource-item div {
	border: 1px solid #ccc;
	min-height: 350px;
}

.resources .resource-item div:hover {
	border: 1px solid #2a5db0;
}

.resources .resource-link-block img, .resources .resource-link-block img:hover {
	border: none!important;
}

.resources .resource-item .resource-title {
	padding: 0 10px;
	display: block;
}

@media only screen and (max-width: 991px) {
	.resources .resource-item {
		min-height: none!important;
		max-height: none!important;
		margin-bottom: 80px;
	}
	.resources .resource-item img {
		height: 200px;
		object-fit: cover;
	}
	.landing .top-header-graphic .header-overlay h1 {
		font-size: 2em;
	}
}
form#newsletter {
	margin: 50px 0;
}
.landing.resources .container.main-content {
	padding-bottom: 70px;
}

/* Split resources hover to just the element that is hovered */
.resources .resource-link-block p:hover {
	color: #2A5DB0;
}
.resources .resource-link-block img:hover  {
  border: 1px solid #2a5db0;
}
.resources .resource-link-block .resource-title:hover {
	color: #2A5DB0;
}

/* Change resources p text size */
.detail.resources .main-content p {
	font-size: 1.2em;
	line-height: 1.7em;
}
.detail.resources .main-content li {
	font-size: 1.2em;
	line-height: 1.7em;
	color: #666666;
	font-family: AvenirLTStd-Book, sans-serif;
}

/* Change color of first block of markets home page on mobile */
@media only screen and (max-width: 991px) {
	.cb1 {
	    background-color: #ffffff;
	}
}

/* Add styles for features tab on Websites page */
.features1 h5 {
	text-align: center;
	color: #666666;
	margin-bottom: 80px;
}
.features1 span.tab-heading {
	color: #666666;
	text-transform: uppercase;
	font-size: 1.4em;
	font-weight: 700;
	display: block;
}
.features1 span.tab-subheading {
	font-size: 1em;
	font-family: AvenirLTStd-Book, sans-serif;
	color: #555;
	display: block;
	margin-bottom: 40px;
}
.features1 .col-md-6 {
	padding: 0 80px;
}
.features1 .cta_features_1 {
	text-align: center;
}

/* Change styling for newly created pages */
.normal.top-header-graphic {
	padding: 0;
	max-height: none;
}
.normal.top-header-graphic .header-overlay {
	margin-top: 0;
}
.top-header-graphic .normalHeader .header-overlay h1 {
	background: #ffffff;
	color: #333;
}
.normalHeader {
	background: #ffffff;
	margin-top: 200px;
	color: #333;
}

/* Align prices on side by side cards */
.cb-advantage>.container>.row {
	display: flex;
	flex-wrap: wrap;
}
.advantage-left, .advantage-right {
	flex-grow: 1;
	flex-basis: 50%;
}
.advantage-inner {
	max-height: none;
	height: 100%;
}
.content-block.cb-advantage .advantage-inner .advantage-content {
	height: 100%;
	padding-bottom: 300px;
}
.content-block.cb-advantage .advantage-inner .advantage-content .cta-price {
	position: absolute;
	bottom: 150px;
	height: 200px;
}

/*Change scolling down button on markets pages */
#scroll-down{
	border: 3px solid #ffffff;
	transition: all .2s ease;
}

/* Change height of resources on single resources page */
.detail.resources .resource-item {
	min-height: 0;
}

/* Align image to bottom of their container on mobile*/
@media only screen and (max-width: 991px) {
	.content-block.cb-2-col {
		padding-bottom: 0;
	}
}

/* Have partner logos display on mobile */
@media only screen and (max-width: 991px) {
	.partners-logos .col-sm-3 {
		width: 49%;
	}
	.content-block.cb4 .partners-logos img {
		padding: 0;
	}
}

/* Change text size of subheaders on mobile */
@media only screen and (max-width: 991px) {
	.content-block.cb-text-intro h5 {
		font-size: 1.2em;
		width: 100%;
		text-align: left;
	}
}

/* Landing Page Styles */
.landingContent img {
	width: 100%;
}

/* Adjust Market specific home pages to be a bit smaller */
.markets .header-overlay h1 {
	max-width: 55%;
}
.markets .top-header-graphic .header-overlay {
	margin-top: 22%;
}

/* Fixing select menu on homepage scroll */

.ui-selectmenu-menu::-webkit-scrollbar { 
    display: none; 
}
.landing.contact.mobile-nav-only .ui-selectmenu-menu {
	overflow: initial;
}

/* Hide hand cursor for main nav on hover */
.navbar.navbar-default .main-nav.navbar-nav > li > a {
	cursor: default;
}

/* Change company link in the footer to match the other headings */
.footerCompany {
	color: #ffffff;
	margin-bottom: 30px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	list-style-type: none;
}

/* Change link color on all CTA buttons */
.btn-default a.cta_a {
	color: #ffffff;
}

/* Style textrea for get a demo only on OEM page */
.oemTextarea {
	width: 100%;
	height: 200px;
	border-radius: 5px;
	border: none;
	padding: 10px;
}

/* 404 Page styling */
#top-header-graphic .header-overlay {
	margin-left: auto;
	margin-right: auto;
	max-width: none;
}
#top-header-graphic.noPageHeader .header-overlay {
	margin-top: 15%;
}
#top-header-graphic.noPageHeader .header-overlay h2 , .top-header-graphic.noPageHeader .header-overlay h1 {
	text-align: center;
	color: #333;
	margin: 10px auto;
	max-width: none;
}
.noPageContent {
	margin-top: 60px;
}
.noPageContent p {
	text-align: center;
	color: #333;
	font-weight: 300;
	font-style: italic;
	font-size: 1.5em;
	line-height: 1.5em;
	width: 55%;
	margin: 0 auto;
}
body .noPageContent ul {
	margin: 50px auto 100px auto;
	padding: 0;
	display: table;
}
body .noPageContent ul li {
	list-style-type: none;
	color: #666;
	margin-bottom: 15px;
	font-weight: bold;
	font-size: 0.9em;
}
@media only screen and (max-width: 991px) {
	.content-block.cb-advantage .advantage-inner .advantage-content .cta-price {
		position: relative;
		bottom: 20px;
	}
	.content-block.cb-advantage .advantage-inner .advantage-content {
		padding-bottom: 20px;
	}
}

/* Bump up form on Credit Crad Authorization page */
#fsPage1843837-1 {
	margin-top: -350px;
}

/* Fix home page height issue */
body.home-main {
	height: 100vh;
	min-height: 100vh;
}

/* Change landing page header color */
.landing.contact.mobile-nav-only .top-header-graphic .header-overlay h1,
.landing.contact.mobile-nav-only .top-header-graphic .header-overlay h2 {
	color: #333;
}
.navbar.navbar-default.jasny-nav .navbar-toggle.dark-mobile-nav {
	border: 1px solid #333;
}
.navbar.navbar-default.jasny-nav .navbar-toggle.dark-mobile-nav span {
	color: #333;
}

.landing.contact.mobile-nav-only .top-header-graphic .header-overlay h1.light-nav,
.landing.contact.mobile-nav-only .top-header-graphic .header-overlay h2.light-nav {
	color: #ffffff;
}

/* Make iFrame on Credit Card page smaller */
#iframe {
	height: 600px!important;
}

/* Position the center blurb on the homapage correctly */
.top-header-graphic-home-main .header-overlay {
	margin-top: 0;
	position: absolute;
	top: 15%;
}

/* Hide buttons on homepage */
.mobileHomeButtons {
	display: none;
}

.detail .main-content p {
	margin-bottom: 10px;
}

img.alignright {
	float: right;
}

img.alignleft {
	float: left;
}

.btn-default.big-button {
	font-size: 1.2em;
	padding: 23px 35px 20px;
}

.partsmart-header-logo {
	margin-bottom: 16px;
	width: 225px;
}
.partsmart .top-header-graphic .header-overlay {
    margin-top: 18%;
}
.partsmart .header-overlay h5 {
	font-weight: bold;
}
.partsmart .header-overlay .btn-circle {
	margin-top: 40px;
}
.partsmart .content-block.cb6 {
	background-color: #efefef;
}
.partsmart .header-overlay-mobile {
	margin-top: 20px;
}
/* Unhide text on Yext page */
#yext-widget-208278.yext-reviews .review-header .average .label {
	color: #666;
}

@media (max-width: 1200px) {
	body .homePage h1 {
		font-size: 3em;
	}
	body .homePage h5 {
		font-size: 1.5em;
	}
	form#home-select .home-select-wrapper label {
		font-size: 1em;
	}
	.homePage .ui-widget {
		font-size: 1em;
	}
	.ui-menu .ui-menu-item-wrapper {
		font-size: 0.8em;
	}
}
@media (max-width: 991px) {
	.mobileHomeButtons {
		display: block;
		margin-top: 20px;
	}
	.mobileHomeButtons button {
		display: block;
		margin: 0 auto 20px auto;
	}
	.mobileHomeButtons button span {
		text-transform: capitalize;
	}
	.regHome {
		display: none;
	}
	.top-header-graphic-home-main .header-overlay {
		left: 0;
		right: 0;
	}
}
@media (max-width: 480px) {
	.top-header-graphic-home-main .header-overlay h1 {
		font-size: 1.5em;
	}
	.top-header-graphic-home-main .header-overlay h5 {
		font-size: 1em;
	}
	form#home-select input.submit {
		font-size: .7em;
	}
	.header-overlay>.row>.col-sm-12 {
		padding: 0;
	}
	form#home-select .home-select-wrapper {
		width: 80%;
	}
	.ui-menu .ui-menu-item-wrapper {
		font-size: .6em;
	}
}