﻿/***** Start of primary nav ******/
#menu-button {
	display: none;
}

nav.mobile {
	display: none;
}

nav.primary {
	padding: 0;
	display: inline-block;
	margin: 0;
	width: 100%;
	position: relative;
}

nav.primary ul {
	margin: 0;
	padding: 0;
	text-align: right;
	position: relative;
	top: -66px;
	top: min(-34px, -3.4375vw);
	margin-right: 30px;
}

nav.primary ul li {
	display: inline-block;
	margin: 0;
	list-style-type: none;
	width: auto;
}

nav.primary ul li a {
	color: #FFFFFF;
	font-size: 16px;
	font-size: max(12px, 0.83333vw);
	line-height: 60px;
	line-height: max(31px, 3.125vw);
	text-decoration: none;
	display: block;
	margin: 0;
	text-align: center;
	text-transform: uppercase;
	-webkit-transition: .4s ease-in;
	-moz-transition: .2s ease-in;
	-o-transition: .2s ease-in;
	transition: .2s ease-in;
	letter-spacing: 1px;
	font-weight: bold;
	padding: 0 12px;
	padding: 0 max(6px, 0.625vw);
	font-family: 'Century Gothic', sans-serif;
}

nav.primary ul li a:hover {
	color: #E3B200;
}

/* Appearance of the sub-level links */
nav.primary ul li li a {
	font-size: 16px;
	font-size: max(13px, 0.83333vw);
	line-height: 16px;
	line-height: max(8px, 0.83333vw);
	padding: 10px;
	padding: max(5px, 0.52083vw);
	color: #fff;
	background: #181818;
	text-align: left;
	border-right: none;
	border-left: none;
	border-bottom: #303030 solid 1px;
	font-family: 'Century Gothic', sans-serif;
	min-width: 210px;
}

/* Appearance of the sub-level links on hover */
nav.primary ul li li a:hover {
	color: #D0B815;
}

/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
	display: none;
	position: absolute;
	top: 49px;
	top: max(26px, 2.55208vw);
}

nav.primary ul li:last-of-type ul {
	right: 0;
}

nav.primary ul ul ul {
	position: absolute;
	left: 100%;
	top: 0;
}

nav.primary ul li:hover>ul {
	display: block;
	line-height: 18px;
	line-height: max(9px, 0.9375vw);
	z-index: 100;
}

nav.primary ul ul li {
	float: none;
	width: 270px;
	width: max(141px, 14.0625vw);
	position: relative;
	margin: 0;
	display: block;
}

@media screen and (max-width: 1450px) {
	nav.primary ul li a {
		 font-size: 11px; 
	}
}

@media screen and (max-width: 1100px) {

	/*============================== Mobile Nav Styles ================================*/
nav.primary {
	display: none;
}

#menu-button {
	width: 100%;
	display: inline-block;
	font-size: 24px;
	position: relative;
	line-height: 60px;
	z-index: 400;
	text-align: right;
	padding-right: 10px;
}

#menu-button a {
	color: white;
	text-decoration: none;
	padding: 0 0 0 .8em;
	font-weight: normal;
	margin-right: 20px;
}

nav.mobile {
	display: block;
	position: fixed;
	top: 0;
	left: -250px;
	width: 250px;
	height: 100%;
	background: #0c2c86;
	z-index: 500;
	overflow: auto;
	box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

/* MENU HEADER SOCIAL MEDIA */
nav.mobile .social-media {
	position: relative;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	word-spacing: 13px;
	padding: 0 0 0 15px;
	color: #fff !important;
}

nav.mobile .social-media a:link,
nav.mobile .social-media a:visited {
	color: #fff;
	text-decoration: none;
}

nav.mobile .social-media a:hover,
nav.mobile .social-media a:active {
	color: #D0B815;
	text-decoration: none;
}

/* MENU HEADER STYLES */
nav.mobile .mobile_top {
	position: relative;
	display: block;
	padding: 0;
	margin: 50px 0 10px 0;
	color: #fff;
	font-size: 18px;
	font-weight: 400;
}

/* MENU CLOSE 'X' BUTTON */
nav.mobile .menu-toggle {
	position: absolute;
	padding: 3px 8px 3px;
	font-family: Arial, sans-serif;
	font-size: 24px;
	font-weight: bold;
	line-height: 1;
	background: #0a2470;
	color: #fff;
	text-decoration: none;
	top: -38px;
	right: 13px;
	border-radius: 3px;
}

nav.mobile .menu-toggle:hover {
	color: #D0B815;
	background: #081d5c;
}

/* MENU LIST STYLE */
nav.mobile ul {
	list-style: none;
	font-weight: 300;
	margin: 0;
	padding: 0;
}

nav.mobile ul li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	position: relative;
}

/* FIRST LEVEL */
nav.mobile ul li a {
	position: relative;
	display: block;
	font-size: 15px;
	padding: 15px 10px;
	color: #fff;
	text-decoration: none;
	border-left: 4px solid transparent;
	text-align: left;
	transition: all 0.3s ease;
}

nav.mobile ul li a:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #D0B815;
	border-left: 4px solid #D0B815;
}

/* SECOND LEVEL */
nav.mobile ul li li:last-child {
	border: none;
}

nav.mobile ul li li a {
	background: #0a2470;
	position: relative;
	display: block;
	padding: 12px 10px 12px 25px;
	border-left: 4px solid transparent;
	color: #e0e0e0;
	text-decoration: none;
	font-size: 14px;
}

nav.mobile ul li li a:hover {
	background: #081d5c;
	color: #D0B815;
	border-left: 4px solid #D0B815;
}

/* THIRD LEVEL */
nav.mobile ul li li li:last-child {
	border: none;
}

nav.mobile ul li li li a {
	background: #081d5c;
	position: relative;
	display: block;
	padding: 12px 10px 12px 35px;
	color: #e0e0e0;
	text-decoration: none;
	border-left: 4px solid transparent;
	font-size: 13px;
}

nav.mobile ul li li li a:hover {
	background: #06154a;
	color: #D0B815;
	border-left: 4px solid #D0B815;
}

/* Hide dropdown lists by default */
nav.mobile ul li ul.list {
	display: none;
}

nav.mobile ul li i.click {
	position: absolute;
	display: block;
	cursor: pointer;
	z-index: 12399994;
	top: 0;
	right: 0;
	width: auto;
	height: auto;
	padding: 15px 20px;
	color: #fff;
	transition: color 0.3s ease;
}

nav.mobile ul li i.click:hover {
	color: #D0B815;
}

.nav-footer {
	color: #fff;
	position: relative;
	text-align: center;
	font-size: 14px;
	line-height: 16px;
	padding: 15px 0;
	opacity: 0.8;
}

/* FONT AWESOME ICONS */
nav.mobile ul li a .fa {
	width: 25px;
	font-weight: 100;
	padding: 8px 3px;
	margin: 0 6px 0 0;
	text-align: center;
	background: rgba(255, 255, 255, 0.1);
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
}

nav.mobile ul li .fa-chevron-down {
	color: #fff;
}

/*--------IMAGES-------------------------*/
/*---NAV---*/
.logo img {
	width: 348px;
	width: max(181px, 18.125vw);
	position: relative;
	top: -23px;
	top: min(-12px, -1.19792vw);
}
.massey-promo,
.kuhn-promo,
.new-holland-promo,
.ferris-promo {
	margin: 0px 30px 0px 21px;
}