﻿/* RESET 
------------------------------------------------*/
* { 
    margin: 0;  
    padding: 0;  
    border: 0;  
    outline: 0;  
    background: transparent;  
}

img{line-height:0;}

/* TEXT/LINK FORMATTING
------------------------------------------------*/

	/* LINKS */
	a:link, a:visited {
		color:#244099;
		text-decoration:none;
	}
	a:hover, a:active {
		color:#939393;
		text-decoration:underline;
	}

	/* PARAGRAPH/LIST/GENERAL TEXT */
	p, ul, li {font-size: 12px;}

	/* HEADERS */
	h1, h2, h3, h4 ,h5 ,h6 {line-height: normal;}
	h1 {font-size:28px; color:#001b51; font-weight:100; font-family: 'source_sans_prolight', sans-serif;}
	h2 {font-size:24px;}
	h3 {font-size:45px; font-family: 'source_sans_prolight', sans-serif; font-weight:100;}
	h4 {font-size:32px; font-family: 'source_sans_prolight', sans-serif; font-weight:100;}
	h5 {font-size:18px;  font-weight:100;}
	h6 {font-size:14px;}


/* GLOBAL SITE FRAMEWORK
------------------------------------------------*/
.clear {clear: both;}
.left {float:left;}
.right {float:right;}

body {
	margin:0;
	line-height:12px;
	font-family: 'source_sans_proregular', sans-serif !important;
	background:#1b2f64 !important;
}

.content {
	width:85%;
	margin:0 auto;
}

.content-full {
	width:100%;
	margin:0 auto;
}


/* SELECTION
------------------------------------------------*/	
::selection {
	color:#fff;
	background: #152F82;
}
::-moz-selection {
	color:#fff;
	background: #152F82;
}



/* SIDETAB
------------------------------------------------*/	
.side {
	background:#26396d;
    width: 300px;
    height: 640px;
    position: fixed;
    z-index: 100;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

#weather {
    width: 300px;
    height: 165px;
    top: 35px;
    right: -300px;
    z-index: 99999;
}

#weatherTab {
    display: block;
	height: 75px;
	width: 49px;
	margin:15px 0 0 0;
	background: url(../siteart/weather.png);
    position: absolute;
    left: -49px;
    top: 0px;
}



/* HEADER
------------------------------------------------*/	
header {
	padding:40px 0;
	background:#c1cae6 url(../siteart/header-bg.jpg) no-repeat center;
	background-size:cover;
}


/* LOGO
------------------------------------------------*/	
.logo {
    width:70%;
	float:left;
	position:relative;
}	

.logo img{
	width:100%;
	max-width:287px;
}

/* HEADER CONTACT
------------------------------------------------*/	
.header-contact {
	width:30%;
	float:left;
	position:relative;
	text-align:right;
	margin:10px 0 0 0;
	color:#5f6f9f;
	font-size:20px;
	font-family: 'source_sans_proitalic';	
}

.phone {
	color:#4c5c90;
	font-size:28px;
	line-height:45px;
	font-family: 'source_sans_proregular';
}

.phone a {
	color:#4c5c90;
	transition: .1s color ease;
}

.phone a:hover {
	color: #244099;
	text-decoration: none;
}

/*  NAVIGATION
------------------------------------------------*/
#menu-button{
	display: none;
}

nav.mobile {
	display:none;
}

nav.primary {
	padding:0;
	margin:0;
	width:100%;
	z-index: 500;
	position:relative;
	background: #152f82;
	border-top:5px #f6c00c solid;
}

nav.primary ul {
	width:100%;
	margin:0;
	padding:0;
}

nav.primary ul li {
	margin:0;
	paddding:0;
	float:left;
	width:11%;
	list-style-type:none;	
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
	-webkit-transition-property: color;
	transition-property: color;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
}



nav.primary ul li:before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #3f3f3f;
	-webkit-transform: scaleY(0);
	transform: scaleY(0);
	-webkit-transform-origin: 50% 0;
	transform-origin: 50% 0;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}
		
nav.primary ul li:hover, nav.primary ul li:focus, nav.primary ul li:active {
  color: #202020;
}
nav.primary ul li:hover:before, nav.primary ul li:focus:before, nav.primary ul li:active:before {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}
				
nav.primary ul li a {
	display:block;
	color:#f3f3f3;
	font-weight:normal;
	font-size:20px;
	line-height:60px;
	text-decoration:none;
	padding:0;
	margin:0;
	text-align:center;
	font-family: 'source_sans_prolight';
	-webkit-transition:.5s ease-in;  
	-moz-transition:.5s ease-in;  
	-o-transition:.5s ease-in;  
	transition:.5s ease-in;	
}	

nav.primary ul li a:hover {
	color:#fff;
	background: #3f3f3f; 
	cursor: pointer;
}


/*  SUB NAV
------------------------------------------------*/
nav.primary ul li li {
	width: 230px;
}

nav.primary ul li li:last-of-type {
	width: 230px;
}

nav.primary ul li li a:link, nav.primary ul li li a:visited{
	font-size:14px;
    line-height:14px;
	padding:10px 18px;
	
	color:#fff;
	background: #3f3f3f;
	
	
	text-align:left;
	
	border-right:none;
	border-left:none;
	border-bottom: #fff solid 1px;
}

nav.primary ul li li a:hover,nav.primary ul li li a:active {
	color:#060606;
	background:#eee;
}


/*  NAV DROPDOWNS
------------------------------------------------*/
nav.primary ul ul {
    display: none;
    position: absolute; 
}
  
nav.primary ul ul ul {
    position: absolute; 
    left: 100%;
    top:0; 
}
  
nav.primary ul li:hover > ul {  
    display: block;
    line-height:18px; 
    z-index: 500;
}
  
nav.primary ul ul li {
    float: none; 
    position: relative;
    margin:0;
}


/*  SLIDESHOW
------------------------------------------------*/
.cycle-slideshow {
	width:100%;
	line-height:0;
	z-index:10;
	position:relative;
}

.cycle-slideshow img{
	width:100%;
}

/* pager */
.cycle-pager { 
    text-align: center; width: 100%; z-index:250; position: absolute; bottom: 10px; overflow: hidden;
}
.cycle-pager span { 
    font-family:Arial, Helvetica, sans-serif; font-size: 45px; line-height:45px; margin:0 5px 0 0; width: 16px; height: 16px; 
    display: inline-block; color: #fff; cursor: pointer; 
}
.cycle-pager span.cycle-pager-active {color: #152f82;}
.cycle-pager > * {cursor: pointer;}



/*  MAIN
------------------------------------------------*/	
.main {
	padding:35px 0;
	background:#fff;
}


/*  ARTICLE
------------------------------------------------*/
article {
	width:70%;
	float:left;
	position:relative;
	padding:0 0 35px 0;
}

article.full {
	width:100% !important;
}

article p{
	font-size:16px;
	line-height:21px;
}

.contact-details {
	width:33.3%;
	float:left;
	position:relative;
	font-size:15px;
	line-height:20px;
}


/*  ASIDE
------------------------------------------------*/
aside {
	width:25%;
	float:left;
	position:relative;
	margin:30px 0 0 5%;
}

aside p{
	font-size:16px;
	line-height:21px;
}


/*  NEW HOLLAND BANNER
------------------------------------------------*/
.new-holland-banner {
	width:100%;
	float:left;
	position:relative;
	margin:0 0 25px 0;
	background:#f0f0f0;
}

.new-holland-banner a{
	dispaly:block;
}

.new-holland-banner a:link, .new-holland-banner a:visited{
	text-decoration:none;
}

.new-holland-banner a:hover, .new-holland-banner a:active{
	text-decoration:none;
}

.nh-icon {
	float:right;
	position:relative;
	padding:7px 3.5%;
	background:#244099;
}

.nh-title {
	font-size:17px;
	line-height:51px;
	color:#244099;
	text-align:center;
	text-transform:uppercase;
	font-family: 'source_sans_prosemibold';
}

.nh-subtext {
	color:#fff;
	font-size:11px;
	line-height:27px;
	background:#5273db;
	text-align:center;
	font-family: 'source_sans_prolight';
}

.nh-subtext span {
	color:#fff;
	padding:0 0 0 1.5%;
	font-family: 'web_symbolsregular';
}


/*  MARKET BANNER
------------------------------------------------*/
.market-banner {
	width:100%;
	float:left;
	position:relative;
	background:#ddd2c2;
}

.market-banner a{
	display:block;
}

.market-banner a:link, .market-banner a:visited{
	text-decoration:none;
}

.market-banner a:hover, .market-banner a:active{
	text-decoration:none;
}

.market-icon {
	float:right;
	position:relative;
	padding:7px 3.5%;
	background:#056f65;
}

.market-title {
	font-size:17px;
	line-height:51px;
	color:#056f65;
	text-align:center;
	text-transform:uppercase;
	font-family: 'source_sans_prosemibold';
}

.market-subtext {
	color:#074b45;
	font-size:11px;
	line-height:27px;
	background:#e7e2da; 
	text-align:center;
	font-family: 'source_sans_prolight';
}

.market-subtext span {
	color:#074b45; 
	padding:0 0 0 1.5%;
	font-family: 'web_symbolsregular';
}


/*  PARTS STORE BANNER
------------------------------------------------*/
.parts-store-banner {
	width:100%;
	float:left;
	position:relative;
	background:#d6d6d6;
}

.parts-store-banner a{
	display:block;
}

.parts-store-banner a:link, .market-banner a:visited{
	text-decoration:none;
}

.parts-store-banner a:hover, .market-banner a:active{
	text-decoration:none;
}

.parts-store-icon {
	float:right;
	position:relative;
	padding:7px 3.5%;
	background:#C90612;
}

.parts-store-title {
	font-size:17px;
	line-height:51px;
	color:#C90612;
	text-align:center;
	text-transform:uppercase;
	font-family: 'source_sans_prosemibold';
}

.parts-store-subtext {
	color:#5E5E5E;
	font-size:11px;
	line-height:27px;
	background:#F4F4F4; 
	text-align:center;
	font-family: 'source_sans_prolight';
}

.parts-store-subtext span {
	color:#5E5E5E; 
	padding:0 0 0 1.5%;
	font-family: 'web_symbolsregular';
}


/*  INVENTORY BREAKDOWN
------------------------------------------------*/
.inv-breakdown{
	padding:10px 0 0 0;
}

.inv-button {
	width:16.2%;
	float:left;
	position:relative;
	margin:0 .1%;
}

.inv-button a {
	display:block;
}

.inv-button a:link, .inv-button a:visited {
	color:#152f82;
	padding:10% 5%;
	margin:10px 0 10px 3%;
	
	background:#d7def2;
	
	-webkit-transition:.8s ease-in;  
	-moz-transition:.8s ease-in;  
	-o-transition:.8s ease-in;  
	transition:.8s ease-in;	
}

.inv-button a:hover, .inv-button a:active {
	padding:10% 5%;
	background:#3b579d;
}

.inv-button h5 {
	padding:5% 2%;
	text-indent:12px;
	position:absolute;
	width:100%;
	left:0;
	bottom:5%;
	background:rgba(255,255,255,0.6);
}

.inv-button img {
	width:100%;	
}



/*  INVENTORY CATEGORIES
------------------------------------------------*/
.categories {
	position:relative;
}

.inv-cat {
	width:50%;
	float:left;
	position:relative;	
	line-height:0;
}

.inv-cat img {
	width:50%;
	float:left;
	position:relative;	
}

.inv-title {
	font-size:20px;
	line-height:49px;
	text-align:center;
	text-transform:uppercase;
	font-family: 'source_sans_prolight';	
}

.inv-title img{width:100%;}

.light-link a {display:block;}
.light-link a:link, .light-link a:visited {
	color:#fff;
	-webkit-transition:.5s ease-in;  
	-moz-transition:.5s ease-in;  
	-o-transition:.5s ease-in;  
	transition:.5s ease-in;
}
.light-link a:hover, .light-link a:active {font-size:22px; text-decoration:none;}

.dark-link a {display:block;}
.dark-link a:link, .dark-link a:visited {
	color:#2b2b2b;
	-webkit-transition:.5s ease-in;  
	-moz-transition:.5s ease-in;  
	-o-transition:.5s ease-in;  
	transition:.5s ease-in;	
}
.dark-link a:hover, .dark-link a:active {font-size:22px; text-decoration:none;}

.new-ag-title {background:#26396d;}
.used-ag-title {background:#4b5d8f;}
.new-mach-title {background:#f1b719;}
.used-mach-title {background:#f1ca5f;}

.title-icon {
	float:right;
	line-height:0px;
	position:relative;
	padding:9px 10px 8px 12px;
}

.title-icon img{
	max-width:40px;
}

.new-ag-icon {background:#1c2f63;}
.used-ag-icon {background:#405285;}
.new-mach-icon {background:#d8a10c;}
.used-mach-icon {background:#e0b94e;}


/* ADDRESS
------------------------------------------------*/	
address {
	line-height:0;
	font-style:normal;
	position:relative;
	background:#E1E1E1;
	border-bottom:5px #22366c solid;
}

address a:link, address a:visited {
	color:#8c8c8c;
	text-decoration:none;
	-webkit-transition:.5s ease-in;  
	-moz-transition:.5s ease-in;  
	-o-transition:.5s ease-in;  
	transition:.5s ease-in;
}

address a:hover, address a:active {
	color:#ccc;
	text-decoration:none;	
}

address h4 {
	width:100%;
	text-align: center;
	line-height:35px;
	left:0;
	bottom:0;
	position:absolute;
	z-index:100;
	padding:2% 0;
	background:rgba(255,255,255,0.6);
}

address h4 span {
	color:#22366c;
	font-size:40px;
	line-height:45px;
}

address img {
	width:100%;
	position:relative;
	z-index:0;
}


/*  SECTION
------------------------------------------------*/
.manu-section {
	width:100%;
	padding:15px 0;
	background: #e1e1e1;
	background: -moz-linear-gradient(-45deg, #e1e1e1 0%, #ffffff 100%);
	background: -webkit-linear-gradient(-45deg, #e1e1e1 0%,#ffffff 100%);
	background: linear-gradient(135deg, #e1e1e1 0%,#ffffff 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e1e1e1', endColorstr='#ffffff',GradientType=1 );
}
 
.manu-section .manufacturer {
	width:9.28%;
	margin:20px 2.5%;
	float:left;
	position:relative;	
}

.manu-section .manufacturer img {
	width:100%;	
}


.manu-section .full-row {
	width:11.6%;
	margin:20px 2.5%;	
}
 
  
/*  SCROLLING INVENTORY
------------------------------------------------*/
.scrolling-wrap {width:100%; height:90px; margin:20px 0; overflow:hidden;}
.scrolling{width:100%; height:90px;}


/*  FOOTER
------------------------------------------------*/
footer {
	padding:15px 0 25px 0;
}

.footer-logo {
    width:100%;
	position:relative;
	text-align: center;
}	

.footer-logo img{
	width:100%;
	max-width:287px;
}


/*  Stylized Footers 
------------------------------------------------*/
.divfooter {
	width:85%;
	color:#fff;
	margin:0 auto;
	font-size:10px;
	line-height:11px;
	text-align:center;
}

.footertext{
	color:#fff;
	font-size:10px;
	line-height:11px;
}

a.footerlink:link, a.footerlink:visited, a.footerlink:active{
	color:#fff;
	font-size:10px;
	line-height:11px;
	text-decoration:underline;
}

a.footerlink:hover {
	color:#fff;
	font-size:10px;
	line-height:11px;
	text-decoration:none;
}

.smallfootertext{
	color:#fff;
	font-size:10px;
	line-height:11px;
}




/************************************************ Responsive Styles **/

@media screen and (max-width: 1200px) {
	
	article {width:100%;}
	aside {width:100%; margin:15px 0 0 0;}
	.new-holland-banner {width:47.5%; margin:0 5% 25px 0;}
	.market-banner {width:47.5%; margin:0 0 25px 0;}
	
	.inv-title {font-size:18px;}
	.light-link a:hover, .light-link a:active {font-size:20px; text-decoration:none;}
	.dark-link a:hover, .dark-link a:active {font-size:20px; text-decoration:none;}
	

	nav.primary{display:none;}
	
	#menu-button{
		display: block;
		font-size: 24px;
		line-height:60px;
		width:90px;
		position: relative;
		z-index: 400;/* needs to be lower than nav.mobile, adjust as needed */
		background: #152f82;
		border-top:5px #f6c00c solid;
		width:100%;
		
	}
	#menu-button a{
		color:#fff;
		text-decoration: none;
		padding:0 0 0 .8em;
		font-weight:100;
		cursor: pointer;
	}
	nav.mobile {
		display:block;
		position: fixed;
		top: 0;
		left: -250px;
		width: 250px;
		height: 100%;
		background: #061b54;
		z-index: 500; /* needs to be higher than #menu-button, adjust as needed */
		overflow:auto;
	}
	nav.mobile h3 { /* Menu header styles */
		position: relative;
		padding: 12px 10px;
		color: #fff;
		font-size: 1.2em;
		font-weight: 400;
		border-bottom: 4px solid #F6C00C;
	}
	nav.mobile .menu-toggle { /* Menu close button */
		position: absolute;
		top: 12px;
		right: 10px;
		display: inline-block;
		padding: 6px 9px 5px;
		font-family: Arial, sans-serif;
		font-weight: 100;
		line-height: 1;
		background: #0c266b;
		color: #fff;
		text-decoration: none;
		vertical-align: top;
	}
	nav.mobile .menu-toggle:hover {color: #fff; cursor: pointer;}
	nav.mobile ul {
		list-style: none;
		font-weight: 300;
		border-top: 1px solid #151515;
		border-bottom: 1px solid #454545;
		margin:0;
		padding:0;
	}
	nav.mobile ul li {
		border-top: 1px solid #454545;
		border-bottom: 1px solid #151515;
	}
	nav.mobile ul li:last-child {
		border-bottom: none;
	}
	nav.mobile ul li a {
		position: relative;
		display: block;
		padding: 15px 0px 15px 20px;
		color: #fff;
		font-size:15px;
		text-decoration: none;
	}
	nav.mobile ul li a:hover {background: #E6B93A; color: #000; cursor: pointer;}
	
	nav.mobile ul li a i {
		padding-left: 5px;
		font-size: 15px;
	}
	
	nav.mobile ul li span.click{/* dropdown menu idicator arrow be sure to include this image with your image files */ 
		background:url(../siteart/menu-arrow.png) 10px 12px no-repeat;
		background-size:55%;
		position:relative;
		display:block;
		float:right;
		margin:-44px 0 0 0;
		cursor:pointer;
		z-index: 12399994;
		width:44px;
		height:44px;
		-webkit-transition:background-size .3s ease-in-out;
		-moz-transition:background-size .3s ease-in-out;
		transition:background-size .3s ease-in-out;
	}
	nav.mobile ul li span.click:hover{background-size:60%;}
	
	nav.mobile ul li li a { /* appearance of the sub-level links */
		background: #434343;
		position: relative;
		display: block;
		padding: 10px 10px 10px 15px;
		color: #ccc;
		text-decoration: none;
	}
	nav.mobile ul li li li a { /* appearance of third level sub-level links if needed */
		background: #37424e;
		position: relative;
		display: block;
		padding: 10px 10px 10px 25px;
		color: #000;
		text-decoration: none;
	}
	
	nav.mobile ul li span.click{/* dropdown menu idicator arrow be sure to include this image with your image files */ 
		background:url(../siteart/menu-arrow.png) 10px 12px no-repeat;
		background-size:55%;
		position:relative;
		display:block;
		float:right;
		margin:-44px 0 0 0;
		cursor:pointer;
		z-index: 12399994;
		width:44px;
		height:44px;
		-webkit-transition:background-size .3s ease-in-out;
		-moz-transition:background-size .3s ease-in-out;
		transition:background-size .3s ease-in-out;
	}
	
	nav.mobile ul li span.click:hover{background-size:60%;}
}

@media screen and (max-width: 1024px) {
	.content {width:93.6%; margin:0 3.2%;}
	.content-full{width:100%; margin:0;}	
	
	#weather {top: 300px;}
		
	.inv-title {font-size:16px;}
	.light-link a:hover, .light-link a:active {font-size:17px; text-decoration:none;}
	.dark-link a:hover, .dark-link a:active {font-size:17px; text-decoration:none;}
	
	.inv-button {width:33.1%; margin:0 .1% 5px .1%;}
}

@media screen and (max-width: 900px) {	
	.manu-section {padding:25px 0;}
	.manu-section .manufacturer {width:28.3%; margin:10px 2.5%;}
	.manu-section .last-logo{text-align:center;margin:20px 35.85%;}
}


@media screen and (max-width: 768px) {
	.logo {width:90%; text-align:center; margin:0 5%;}
	.header-contact {width:90%; text-align:center; margin:15px 5% 0 5%; font-size:16px;}
	.phone {font-size:20px; line-height:35px;}
	
	.contact-details {width:100%; text-align:center; margin:0 0 15px 0;}
	
	.new-holland-banner {width:90%; margin:0 5% 25px 5%;}
	.market-banner {width:90%; margin:0 5% 25px 5%;}
	
	.inv-cat {width:100%;}
	
	address img {display:none;}

	.manu-section .last-row {width:28.3%; margin:30px 5.8% 0 15.8%;}
	.manu-section .last-row:nth-of-type(odd){margin:30px 15.8% 0 5.8%;}
	
	address h4 {font-size:20px; line-height:25px; position:relative;}
	address h4 span {font-size:30px; line-height:35px;}
}

@media screen and (max-width: 550px) {
	.side {display:none;}
}

@media screen and (max-width: 450px) {
	.inv-button {width:49.8%; margin:0 .1% 5px .1%;}
	
}

@media screen and (max-width: 320px){
	.cycle-slideshow {display:none;}
	.inv-title {font-size:15px; line-height:49px;}
	.light-link a:hover, .light-link a:active {font-size:17px; text-decoration:none;}
	.dark-link a:hover, .dark-link a:active {font-size:17px; text-decoration:none;}

	.manu-section .manufacturer {width:85%; margin:10px 5%;}
	.manu-section .last-row {width:85%; margin:0 5% 20px 5%;}
	.manu-section .last-row:nth-of-type(odd){margin:0 5% 0px 5%;}
}