@charset "utf-8";
/* CSS Document */

@media screen and (max-width:768px){
	
	/* overall layout adjustments 
	------------------------------------------------*/
	#header, #main, #footer{
		width: 100%;
		padding: 10px !important;
		box-sizing:border-box;
	}
	
	
	#p-home #main{
		width: 100%;
	}
	
	body {
	width: 100%;
	margin: 0 auto;
	background: transparent url(/uploads/thj/images/body-bg-white-resp.png) 0 0 repeat-x;
	}
	
	/* header
	------------------------------------------------*/
	
	#header{
		height: 108px;
		overflow:visible;
		background:#FFED00;
	}
	
	#header h2#logo{
		width: 130px;
		background: transparent url(/uploads/thj/images/lagan-trailers-logo.svg) 0 0 no-repeat;
		background-size:contain;
		margin-top: 20px;
	}
	
	
	#header ul{
		display:none;
		float: none;
		position:absolute;
		left: 0;
		top: 105px;
		width: 100%;
		z-index:999;
		background:#000;
		margin:0;
		box-shadow: 0 3px 3px rgba(0,0,9,0.3);
	}
	
	#header li{
		float: none;
		background: #000;
		border-bottom: 1px solid #444;
		padding: 0.75em !important;
		font-size:14px;
	}
	
	#header li a{
		display:block;
		width:100%;
		color: #fff;
	}
	#header li a:hover, #header li a:active, #header li a:focus{
		color: #FFED00;
	}
	#header li:before{
		display:none;
	}
	#header li a:after{
		display: block;
		float:right;
		content: ">";
	}
	.item-trailers, .item-agricultural-equipment, .item-4x4-vehicles, .item-border-fine-arts{
	display:block;
}
	
	#toggleMenu{
		width: 30px;
		height: 17px;
		display:block;
		text-indent: -999em;
		overflow: hidden;
		background: url(/uploads/thj/images/menu-icon-lagan.png) 0 0 no-repeat;
		position: absolute;
		right: 20px;
		top: 41px;
	}
	
	#toggleMenu:hover, #toggleMenu:active, #toggleMenu:focus{
		opacity: 0.8;	
	}
	
	
	/* main content
	------------------------------------------------*/
	#main p.panel{
		float: none;
		width: 100%;
		height:auto;
		background-size: contain;
		margin:0;
	}
	
	#main a.panel{
		width: 100%;
		height: 100%;
		min-height:160px;
		background-size: contain;
		margin:0;
	}
	
	#main .panel.fullwidth a{
		font-size: 16px;
	}
	
	#main .panel.fullwidth a span{
		font-size: 14px;
	}
	
	#content img{
		max-width:100%;
		height:auto !important;
	}
	
	#main h1, #main h2{
		clear:both;
	}
	
	.agri-logos{
		float:none;
	}
	.agri-logos img{
		margin-bottom: 3px;
	}
	
	#content img + img{
		margin-left: 0 !important;
	}
	
	/* section menus
	------------------------------------------------*/
	
	 #toggleSectionMenu{
		 display:none;
		 text-transform:uppercase;
		 font-size: 12px;
		 font-family:Arial, Helvetica, sans-serif;
		 color: #368ABC;
		 clear: both;
		 margin: 10px 0;
		 padding: 6px;
		 text-align:right;
		 width: 100%;
		 border: 1px solid  #368ABC;
		 background: #fff;
		 box-shadow: 0 0 3px rgba(0,0,0,0.3);
		 box-sizing:border-box; 
		 cursor:pointer;
	 }
	 
	 #toggleSectionMenu span:before{
		 display: block;
		 float: left;
		 content: "";
		 background: url(/uploads/thj/images/menu-icon.png) 0 0 no-repeat;
		 width: 20px;
		 height:17px;
		 background-size:contain;

	 }
	
	#main #sectionMenu{
		float: none;
		right: auto;
		display:none;
		box-sizing: border-box;
		width: 100%;
		margin-top: -11px;
		margin-bottom:10px;
		 border: 1px solid  #368ABC;
		 border-top: none;
		 border-bottom:none;
		 box-shadow: 0 0 3px rgba(0,0,0,0.3);
	}
	#sectionMenu li, #sectionMenu ul {
		float: none;
		margin:0;
		width: 100%;	
	}
	#sectionMenu li li ul{
		left: auto;
		position:static;
		padding:0;
		border: none;
		width: 100%;
	}
	#sectionMenu a{
		display:block;
		box-sizing:border-box;
		width: 100%;
		padding: 0.65em 1em;
		border-bottom: 1px solid #368ABC;
		background: #f9fcff;
background: -moz-linear-gradient(top,  #f9fcff 0%, #e9e9e9 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9fcff), color-stop(100%,#e9e9e9));
background: -webkit-linear-gradient(top,  #f9fcff 0%,#e9e9e9 100%);
background: -o-linear-gradient(top,  #f9fcff 0%,#e9e9e9 100%);
background: -ms-linear-gradient(top,  #f9fcff 0%,#e9e9e9 100%);
background: linear-gradient(to bottom,  #f9fcff 0%,#e9e9e9 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9fcff', endColorstr='#e9e9e9',GradientType=0 );

		}
#sectionMenu a.currentpage, #sectionMenu li li a.activeparent{
	background: #6ebae8;
background: -moz-linear-gradient(top,  #6ebae8 0%, #4d9ece 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6ebae8), color-stop(100%,#4d9ece));
background: -webkit-linear-gradient(top,  #6ebae8 0%,#4d9ece 100%);
background: -o-linear-gradient(top,  #6ebae8 0%,#4d9ece 100%);
background: -ms-linear-gradient(top,  #6ebae8 0%,#4d9ece 100%);
background: linear-gradient(to bottom,  #6ebae8 0%,#4d9ece 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6ebae8', endColorstr='#4d9ece',GradientType=0 );

}
		
#sectionMenu a span, #sectionMenu a.currentpage span, #sectionMenu li li a.activeparent span, #sectionMenu li li li a:hover span {
	background:transparent;
	display:inline;
	padding:0;
}

#sectionMenu li li li a:hover span{
	color: #0D5EB0
}
	/* product listing pages product directory
	------------------------------------------------*/
	
	#main div.ProductDirectoryItem div.productImages {
		float: none;
		margin:0;
		width: 100%;
	}
	
	#main div.ProductDirectoryItem div.productImages p.fullSizeImage{
		float: none;
		line-height: 0;
		margin: 0;
		padding: 0;
		max-width:400px;
	}
	
	
	#main div.ProductDirectoryItem div.productImages p.fullSizeImage img{
		width: 100%;
		max-width:400px;
		border: 2px solid #3a95c2;
	}
	
	#main div.ProductDirectoryItem p.thumbs, #main div.ProductDirectoryItem p.thumbs.overflowthumbs {
		width: 100%;
		margin: 10px 0;
		overflow:hidden;
		max-width:400px;
		height:auto;
	}
	
	#main div.ProductDirectoryItem p.thumbs a{
		display: inline-block;
		width: 18%;
		margin-right: 2%;
	}
	
	#main div.ProductDirectoryItem p.thumbs a:last-child{
		margin-right: 0;
	}
	
	#main div.ProductDirectoryItem p.thumbs img {
		border: 1px solid #3a95c2;
		width: 100%;
	}
	
	#main div.ProductDirectoryItem table{
		width: 100%;
	}
	
	#main div.ProductDirectoryItem p.price {
		float: none;
		clear:both;
		width: 100%;
		box-sizing: border-box;
		text-align:center;
	}
	#main div.ProductDirectoryItem p.enquireLink{
		float:none;
	}
	
	#main div.ProductDirectoryItem p.enquireLink a {
		box-sizing: border-box;
			text-align:center;
			background: #2D72A2;
			width: 100%;
			display:block;
			clear:both;
	}
	
	#main div.ProductDirectoryItem p.enquireLink a:hover, #main div.ProductDirectoryItem p.enquireLink a:active{
		opacity: 0.8;
		background: #2D72A2;
	}
	
	#main div.ProductDirectoryItem h3 {
		clear: both;
	}
	
	#main div.ProductDirectoryItem span.finance-terms{
		margin: 15px 0 5px 0;
		padding: 0 30px;
		display:block;
		line-height: 1;
	}
	
	/* border fine arts section
	------------------------------------------------*/
	#main div.BFAfeatured{
		float:none;
		text-align:center;
		width: 100%;
		box-sizing:border-box;
		margin: 0 0 10px 0;
	}
	
	
	#main div.bfaProductDirectoryItem {
		width: 100%;
		height:auto;
		max-width:300px;
		float: none;
		box-sizing:border-box;
		margin: 0 auto 10px auto;
	}
	
	
#main div.bfaProductDirectoryItem div.productImages p.fullSizeImage{
		height: auto;
		width: auto;
		max-width:300px;
		margin: 0 auto 10px auto;
}
	
	/* specific pages - minor fixes
	------------------------------------------------*/
	

#p-new-agricultural-machinery #main p.floatleft, #p-agricultural-equipment #main p.floatleft {
    box-sizing: border-box;
    margin: 2%;
    width: 46%;
}
	
	#p-history #historyPanels p{
		clear: both;
		margin: 0 0 1em 0 !important;
	}
	
	.boxpanel{
	text-align: center; width: 100%; margin: 10px auto; padding: 10px; border: 3px solid #E72930;
	box-sizing:border-box;
	}
	
	#p-new-trailers #main p.floatleft{
		width: 46%;
		margin: 2%;		
		height:auto;
		min-height: 200px;
		box-sizing:border-box;
		text-align:center;
	}
	#p-new-trailers #main p.floatleft a{
		display:inline-block;
		width: 100%;
		height:auto;
		max-height:50%;
		overflow:hidden;
	}
	
#p-new-trailers #main p.floatleft img.tThumb{
	width: 100%;
	height:100%;
	max-width: 200px;
}
	table.inner{
		display:block;
		overflow:hidden;
		box-sizing:border-box;
		border-collapse: collapse;
		width: 1200px;
	}
		table.inner tr{
			display:block;
			float: left;
			width: auto;
		}
		

		
		table.inner th, .inner td{
			display:block;
			width: auto;
		}
		
		.inner-wrap {
			width: 100%;
			overflow:scroll;
			float: left;
		}
		
		.inner-wrap:after{
			clear: both;
			display:block;
			content: "";
		}
		#p-horseboxes p{
			clear: both;
			float: none !important;
		}
	
div.NewsSummary h3, .NewsSummaryPostdate{
	margin-left: 0;
	clear: both;
	float: none;
}
	div.NewsSummarySummary *{
		clear: both;
		float: none;
	}
	div.NewsSummarySummary img{
		display:block;
		float: none;
		margin: 0 auto 10px auto;
	}
	
	/* footer
	------------------------------------------------*/
	#footerContent, #footer ul{
		width: 100%;
		box-sizing:border-box;
	}
	
	#footer li{
		float: left;
		text-align:center;
		width: 50%;
	}
	
	#footer li a {
		display:block;
		margin: 0 auto;
		background-size:contain;
		width: 100%;
	}
	
	#footer p {
		float: none;
		width: 100%;
		margin-bottom:10px;
		box-sizing: border-box;
	}

	#footer span{
		position: static;
		display:block;
		width: auto;
		text-align:left;
	}

	.image-box{
		float: none;
		padding: 0;
		width: 100%;
		text-align:center;
	}
	.image-box img{
		margin: 0 1% 10px 1%;
		width: 48%;
		height: auto;
		float: left;
	}
	
	.box-wrap{
		float: none;
		clear: both;
		width: 100%;
	}
	
	#p-home #content .btn{
		width: 100%;
		margin: 0 0 10px 0 !important;
		float: none;
	}
	.caption{
	display: block;
	padding: 16px;
	font-size:24px;
	font-weight:400;
	position: absolute;
	bottom: 0;
	right: 0;
	left:0;
	background: #FFED00;
	color: #000;
	border-radius:6px;
	width:100%;
	box-sizing:border-box;
	border-top-left-radius:0;
	border-top-right-radius:0;
}

.cycle-slideshow a{
	padding-bottom:60px;
		box-sizing:border-box;
}
.cycle-slideshow a img{
	border-bottom-left-radius:0;
	border-bottom-right-radius:0;
}
.home-ad{
	display:block;
	clear: both;
	margin: 30px 0;
}
/*------------------------------------------------*/
/* end of responsive small-size / 768 styles */	
}

@media screen and (min-width: 510px) and (max-width:768px){
	
#main p.panel{
	width: 46%;
	float: left;
	margin: 0 2% 2% 2%;	
}

#main div.ProductDirectoryItem p.thumbs {
float: right;
    margin: -313px 0 10px;
    overflow: hidden;
    width: 33%;
}

#main div.ProductDirectoryItem p.thumbs a {
    margin-right: 4%;
    width: 46%;
	border-width:2px;
	box-sizing: border-box;
}


#main div.ProductDirectoryItem div.productImages p.fullSizeImage{
	margin-bottom:10px;
}

#p-new-agricultural-machinery #main p.floatleft, #p-agricultural-equipment #main p.floatleft {
    box-sizing: border-box;
    margin: 1%;
    width: 23%;
	min-height:160px;
}
#main div.bfaProductDirectoryItem {
    box-sizing: border-box;
    float: left;
    height: auto;
    margin: 4%;
    max-width: 300px;
    width: 46%;
}


}