
/* 	 page structure 
 ---------------------------------------------------- */
html {
	background: #696767;
}

body {
	width: 100%;
	margin: 0 auto;
	background: #fff;
}

#header {
	margin: 0 auto;
	width: 100%;
	position: relative;
	overflow: hidden;
background: rgb(255,255,255);
background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(241,241,241,1) 79%, rgba(241,241,241,1) 79%, rgba(225,225,225,1) 79%, rgba(249,249,249,1) 100%);
background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(241,241,241,1) 79%,rgba(241,241,241,1) 79%,rgba(225,225,225,1) 79%,rgba(249,249,249,1) 100%);
background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(241,241,241,1) 79%,rgba(241,241,241,1) 79%,rgba(225,225,225,1) 79%,rgba(249,249,249,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f9f9f9',GradientType=0 );

	border-top: 10px solid #F0F0F0;
	border-bottom: 1px solid #888;
	box-shadow: 0 2px 3px #9CCAF8;
}

#header-contents {
	width: 940px;
	margin: 10px auto;
}

#breadcrumbs {
	padding: 5px 10px;
	background: url(/uploads/thj/images/breadcrumb-bg.png) 0 100% repeat-x;
	color: #888;
	overflow: hidden;
	border-top: 2px solid #3589BB;
	border-bottom: 1px solid #aaa;
	margin-bottom: 15px;
	clear: both;
}

#main {
	width: 920px;
	margin:20px auto 0 auto;
	padding: 0 20px 10px 20px;
	/* overflow: hidden; */
        position: relative;
}

#content {
	clear: both;
	overflow: hidden;
}

#p-home #main {
	padding:0 0 10px 0;
	width: 960px;
}

#sidebar {
	float: left;
	padding: 0 0 0 20px;
}

#footer {
	width: 100%;
	background: #696767;
	clear: both;
	overflow: hidden;
	border-top: 3px solid #E72A31;
}

#footerContent {
	width: 960px;
	margin: 0 auto;
}

/* base fonts 
 ----------------------------------------------------- */
body {
	font: 62.5%/1 Verdana, Arial, Helvetica, sans-serif;
}

/* 	 generic elements 
 ----------------------------------------------------- */
h1, h2, h3, h4, h5, p {
	margin-bottom: 0.5em;
	color: #444;
}

h1 {
	color: #0C5EB0;
	font-size: 2.1em;
	font-weight: normal;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

h2 {
	font-size: 1.7em;
	color: #666;
	font-weight: normal;
	font-family: Arial, Helvetica, sans-serif;
}

h3 {
	font-size: 1.8em;
	color: #888;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

h4 {
	font-size: 1.4em;
	color: #666;
}

h5 {
	font-size: 1.3em;
	color: #444;
}

p, li {
	font-size: 1.3em;
	line-height: 1.5em;
}

#main p.smaller {
	font-size: 0.85em !important;
}

ul {
}

li {
}

a {
	text-decoration: none;
	color: #286AAA;
}

a:hover {
	color: #3291EC;
}

form {
}

input {
}

label {
}

.floatleft {
	float: left;
	padding: 0 10px 10px 0;
}

.ticklist li {
	padding: 5px 5px 5px 20px;
	background: url(/uploads/thj/images/Green_tick.png) 0 50% no-repeat;
}

.floatright {
	float: right;
	padding: 0 0 10px 10px;
}

.clearboth {
	clear: both;
}

/* 	 styles by section 
  ------------------------------------------------------------------------ */

/* 	 header
   ----------------------------------------------------- */
#header h2#logo {
	width:420px;
	height: 80px;
	text-indent: -999em;
	overflow: hidden;
	background: url(/uploads/thj/images/th-jenkinson-logo.png) 0 0 no-repeat;
	background-size:contain;
	margin-top: 10px;
	margin-bottom: 0;
	float:left;
}

#header h2#logo a {
	display: block;
	width: 100%;
	height: 100%;
}

#toggleMenu, #toggleSectionMenu {
	display:none;
}

/* ---- header menu ----*/
#main-menu-block {
	clear: both;
	overflow:hidden;
	text-align:center;
	border-bottom: 1px solid #ddd;
background: #0c5eb0;
background: -moz-linear-gradient(top,  #0c5eb0 0%, #21509e 100%);
background: -webkit-linear-gradient(top,  #0c5eb0 0%,#21509e 100%);
background: linear-gradient(to bottom,  #0c5eb0 0%,#21509e 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0c5eb0', endColorstr='#21509e',GradientType=0 );
box-shadow: 0 5px 5px #ddd;
}

#main-menu-block ul {
	margin: 0 auto;
	width: 625px;
	text-align:center;
}

#main-menu-block li {
	float: left;
}

.item-trailers, .item-agricultural-equipment, .item-4x4-vehicles, .item-border-fine-arts {
	display:none;
}

#main-menu-block li a {
	font: 16px Arial, Helvetica, sans-serif;
	color: #fff;
	text-transform: uppercase;
	padding: 10px 20px;
	border-left: 1px solid #4185CA;
	display:block;
	text-shadow: 1px 1px #14417C;
}

#main-menu-block li:last-child a{
	border-right: 1px solid #4185CA;
}

#main-menu-block li a:hover {
	color: #ddd;
}

/* additions in iforwilliamsglasgow.co.uk theme
 ----------------------------------------------------- */
 #header #logo-group {
	width: 75%;
	float: left;
}

#header #logo-group-secondary {
	width: 25%;
	float: left;
	text-align:right;
	overflow:hidden;
	box-sizing:border-box;
	padding-right: 20px;
}

#header #logo-group-secondary h3 {
	width: 216px;
	height: 150px;
	text-indent: -999em;
	overflow:hidden;
	display:block;
	background: url(/uploads/thj/images/ifor-williams-trailers-logo.png) 100% 0 no-repeat;
	background-size: 100% 100%;
	float: right;
	text-align:left;
}

#header #logo-group h3 {
	clear: left;
	width: 100%;
	padding-left: 50px;
	font-size: 3em;
	text-transform:uppercase;
	color: #0C5EB0;
	text-shadow: 1px 1px 0 #fff, 2px 2px 0 #B0C8EE;
}

#header #logo-group h3 strong{
	color: #E72930;
}

#header-strap {
	float: left;
	overflow:hidden;
	width: auto;
	text-align:left;
	padding: 0;
	box-sizing:border-box;
}

#header-strap h4{
	text-transform:uppercase;
	font: 400 18px "Trebuchet MS", Arial, Helvetica, sans-serif;
	text-shadow: 1px 1px 0 #fff;
	margin:0;
	line-height:1;
	color: #1A4A99;
}

/* main menu 
	 ----------------------------------------------------- */
#menu ul {
}

#menu li {
}

/*  section menu 
 ----------------------------------------------------- */

#main #sectionMenu {
	float: right;
	width: auto;
	height: 1%;
	margin-bottom: 0;
	margin-right: 0;
	position: relative;
	z-index: 2;
	right:-30px;
}

#sectionMenu li {
	float: left;
	margin-right: 5px;
	font-size: 1.1em;
}

/* #sectionMenu li a.activeparent, #sectionMenu li a.currentpage{
float: left;
margin-right: 5px;
font-size: 1.1em;
} */

#sectionMenu a.activeparent, #sectionMenu li a.currentpage {
	display: none;
}

#sectionMenu li li a.currentpage {
	display: block;
}

#sectionMenu li li {
	border-bottom: none;
}

#sectionMenu li li li {
	float: none;
	margin:0;
}

#sectionMenu a {
	display: block;
	background: url(/uploads/thj/images/thj-tab-base.png) 100% 0 no-repeat;
}

#sectionMenu a.currentpage, #sectionMenu li li a.activeparent {
	display: block;
	color: #fff;
	background: url(/uploads/thj/images/thj-tab-over.png) 100% 0 no-repeat;
}

#sectionMenu a span {
	display: block;
	padding: 0.5em 0.8em;
	background: url(/uploads/thj/images/thj-tab-base-l.png) 0 0 no-repeat;
}

#sectionMenu a.currentpage span, #sectionMenu li li a.activeparent span {
	background: url(/uploads/thj/images/thj-tab-over-l.png) 0 0 no-repeat;
	padding: 0.5em 0.8em;
}

#sectionMenu li li li a span, #sectionMenu li li li a.currentpage span {
	background: #fff;
	color: #555;
	font-size: 0.8em;
}

#sectionMenu li li li a, #sectionMenu li li li a.currentpage {
	background: #fff;
	color: #286AAA
}

#sectionMenu li li li a:hover {
	background: #E9F2FA;
	color: #fff;
}

#sectionMenu li li li a:hover span {
	background: #444 url(/uploads/thj/images/menu-a-bg.png) 0 50% repeat-x;
	color: #fff;
}

/* suckerfish-related styles */

#sectionMenu li li ul { /* third-level lists */
	position: absolute;
	width: 250px;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	padding-top: 0;
	padding-bottom: 10px;
	margin: 0;
	z-index: 999;
	background: #fff;
	border: 1px solid #368ABC;
	border-top-width: 2px;
	overflow: hidden;
	-webkit-border-bottom-right-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
}

#sectionMenu li li:hover ul, #sectionMenu li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

*:first-child+html #sectionMenu li ul {
}

/* breadcrumbs
 ----------------------------------------------------- */
#breadcrumbs a {
	position: relative;
	z-index: 3;
}

/* main content 
 ----------------------------------------------------- */
#main ul {
	margin-right: 20px;
}

#main ul.details {
	padding-left: 20px;
	margin-bottom: 10px;
}

#main ul.details li {
	background: url(/uploads/thj/images/blue-dot.png) 0 50% no-repeat;
	padding-left: 15px;
	margin-bottom: 0.5em;
}

#main h2 {
	padding-bottom: 6px;
	border-bottom: 1px solid #ddd;
	margin-bottom: 10px;
}

#main p {
	line-height: 1.5em;
}

#main blockquote {
	margin: 10px 5px;
}

#p-new-trailers #main p.floatleft, #p-home #main p.floatleft {
	width: 200px;
	padding: 8px;
	height: 230px;
	border: 1px solid #ccc;
	margin: 0 5px 10px 5px;
	border-radius: 10px;
	-moz-border-radius: 10px;
	line-height: 2em;
}

#p-new-agricultural-machinery #main p.floatleft, #p-agricultural-equipment #main p.floatleft {
	width: 155px;
	padding: 8px;
	border: 1px solid #ccc;
	margin: 0 5px 5px 5px;
	border-radius: 10px;
	-moz-border-radius: 10px;
	line-height: 1.4em;
	font-size: 1em;
	min-height: 150px;
}

#p-new-trailers #main p.floatleft img {
	vertical-align: middle;
}

#p-new-agricultural-machinery #main p.floatleft img, #p-agricultural-equipment #main p.floatleft img {
	width: 155px;
	height: 116px;
}

#p-new-trailers #main p.floatleft img.tThumb, #p-home #main p.floatleft img.tThumb {
	width: 200px;
	height: 202px;
	background: #eee;
}

/* ----- home page and trailers panels ---- */

#main p.panel {
	width: 480px;
	margin: 0 0 10px 0;
	padding:0;
	float: left;
	font-size: 1em;
	line-height: 1;
}

#main a.panel {
	display: block;
	width: 480px;
	height: 220px;
	text-indent: -999em;
	overflow: hidden;
	background-position: 0 0;
	background-repeat: no-repeat;
}

#p-trailers #main p.panel, #p-used-trailers #main p.panel {
	width: 460px;
}

#p-trailers #main a.panel, #p-used-trailers #main p.panel {
	width: 460px;
}

#main a#pnlTrailers {
	background-image: url(/uploads/thj/images/panel-trailers.jpg);
}

#main a#pnlAgricultural {
	background-image: url(/uploads/thj/images/panel-agricultural.jpg);
}

#main a#pnl4x4 {
	background-image: url(/uploads/thj/images/panel-4x4-van.jpg);
}

#main a#pnlSilage {
	background-image: url(/uploads/thj/images/panel-silage-equipment.jpg);
}

/* #main a#pnlSpring{
background-image: url(/uploads/thj/images/panel-spring-machinery.jpg);
}  */

#main a#pnlNews {
	background-image: url(/uploads/thj/images/panel-tractors.jpg);
}

#main a#pnlNewTrailers {
	background-image: url(/uploads/thj/images/panel-new-trailers.jpg);
}

#main a#pnlUsedTrailers {
	background-image: url(/uploads/thj/images/panel-used-trailers.jpg);
}

#main a#pnlLivestockTrailers {
	background-image: url(/uploads/thj/images/panel-livestock-trailers.jpg);
}

#main a#pnlCommercialTrailers {
	background-image: url(/uploads/thj/images/panel-commercial-trailers.jpg);
}

#main a#pnlHorseboxes {
	background-image: url(/uploads/thj/images/panel-horseboxes.jpg);
}

#main a#pnlMiscTrailers {
	background-image: url(/uploads/thj/images/panel-misc-trailers.jpg);
}

#main div.ProductDirectoryItem {
	margin-bottom: 10px;
	border-bottom: 1px solid #ddd;
	padding: 10px 0;
	clear: both;
	overflow: hidden;
}

#main div.bfaProductDirectoryItem {
	float: left;
	width: 300px;
	height: 49em;
	overflow: hidden;
	margin: 10px 6px 0 0;
	padding:0 0 10px 0;
	background: #D5EBF9;
	border-radius: 10px;
	-moz-border-radius: 10px;
}

#main div.ProductDirectoryItem div.productImages {
	float: right;
	width: 554px;
	margin-left: 16px;
}

#main div.ProductDirectoryItem div.productImages p.fullSizeImage {
	float: left;
	margin-right: 10px;
	line-height: 0;
	padding:0;
}

#main div.ProductDirectoryItem div.productImages p.fullSizeImage img {
	width: 400px;
	margin:0;
	padding:0;/* height:300px; */
	border: 5px solid #3A95C2;
}

#main div.bfaProductDirectoryItem p, #main div.bfaProductDirectoryItem h3 {
	margin: 0 10px 5px 10px;
}

#main div.bfaProductDirectoryItem h3 {
	color: #3589BB;
}

#main div.bfaProductDirectoryItem div.productImages p.fullSizeImage {
	width: 300px;
	height: 300px;
	float: none;
	margin: 0 0 10px 0;
	padding: 0;
	position: relative;
	background: #D5D5D7;
}

#main div.bfaProductDirectoryItem div.productImages p.fullSizeImage img {
	width: 300px;
	float: none;
	vertical-align: top;
}

#main div.bfaProductDirectoryItem p.price {
	color: #13537D;
	background: #A8D5F2;
	padding: 5px;
	text-align: center;
	border-radius: 5px;
	-moz-border-radius: 5px;
}

#main div.bfaProductDirectoryItem p.price strong {
	color: #072030;
}

#main div.bfaProductDirectoryItem p.price span[content="in_stock"] {
	display:none;
}

#main div.bfaProductDirectoryItem div.PayPalButton {
	text-align: center;
}

#main div.ProductDirectoryItem p.thumbs {
	width: 124px;
	float: left;
	text-align:right;
}

#main div.ProductDirectoryItem p.thumbs.overflowthumbs {
	height: 311px;
	overflow-y: scroll;
}

#main div.ProductDirectoryItem p.thumbs em {
	font-size: 0.7em;
	font-style: normal;
	clear: both;
	display: block;
	text-align: left;
}

#main div.ProductDirectoryItem p.thumbs a {
	float: left;
	display: inline;
}

#main div.ProductDirectoryItem p.thumbs img {
	margin-bottom:2px;
	width: 90px;
	/* height: 68px; */
border: 2px solid #3A95C2;
}

#main div.ProductDirectoryItem div.productImages p.thumbs img:hover {
	cursor: pointer;
}

#main div.ProductDirectoryItem table {
	width: 350px;
	border-collapse: separate;
	border-spacing: 2px 1px;
	margin-bottom: 10px;
}

#main div.ProductDirectoryItem div.productDescription {
	font-size: 1.3em;
	margin-bottom: 10px;
}

#main div.ProductDirectoryItem div.productDescription p {
	font-size: inherit;
}

#main div.ProductDirectoryItem table td, #main div.ProductDirectoryItem table th {
	padding: 5px;
	font-size: 1.3em;
	border: 1px solid #aaa;
}

#main div.ProductDirectoryItem table th {
	background: #4B9CCE;
	font-weight: normal;
	border: 1px solid #4B9CCE;
	color: #DCECF5;
	text-align: right;
	width: 100px;
}

#main div.ProductDirectoryItem p.price {
	float: left;
	width: 170px;
	margin-right: 5px;
	border: 1px solid #98C7E0;
	padding: 5px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

#main div.ProductDirectoryItem p.price strong {
	display: inline-block;
	text-align: right;
	width: 50px;
}

#main div.ProductDirectoryItem p.enquireLink {
	float: left;
}

#main div.ProductDirectoryItem p.enquireLink a {
	display: block;
	color: #fff;
	font-weight:  bold;
	width: 140px;
	background: #98C7E0 url(/uploads/thj/images/btn-bg.png) -40px 50% no-repeat;
	padding: 5px 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

#main div.ProductDirectoryItem p.enquireLink a:hover {
	background: #98C7E0 url(/uploads/thj/images/btn-bg.png) 100% 50% no-repeat;
}

#main div.ProductDirectoryItem span.finance-terms {
	color: #E72A31;
	font-weight:700;
	display:block;
	clear: both;
	margin-top: 10px;
	text-align:center;
	font-size: 15px;
}

#main div.ProductDirectoryItem h3 {
	color: #246992;
}

#main div.ProductDirectoryItem li {
	font-size: 1em;
	list-style: disc !important;
	margin-left: 20px;
	width: 330px;
}

#main div.BFAfeatured {
	float: right;
	width: 300px;
	padding: 10px;
	background: #eee;
	margin-left: 40px;
}

/* news */
div.NewsSummary {
	border-bottom: 1px dashed #bbb;
	padding-bottom: 10px;
	margin-bottom: 10px;
	width: 100%;
	clear: both;
	overflow: hidden;
}

div.NewsSummary img {
	float:left;
	margin: -52px 20px 10px 0;
	display: block;
	border: 1px solid #aaa;
}

div.NewsSummary h3, .NewsSummaryPostdate {
	margin-left: 260px;
}

/* sidebar 
 ----------------------------------------------------- */


/* footer 
 ----------------------------------------------------- */
#footer ul {
	margin: 10px auto;
	overflow: hidden;
	width: 960px;
}

#footer li {
	float:left;
}

#footer li a {
	display: block;
	text-indent: -999em;
	overflow: hidden;
	width: 240px;
	height: 80px;
	background-position: 0 0;
	background-repeat: no-repeat;
}

#footer li a#icntrailers {
	background-image: url(/uploads/thj/images/icon-trailers.jpg);
}

#footer li a#icnagricultural-equipment {
	background-image: url(/uploads/thj/images/icon-agricultural.jpg);
}

#footer li a#icn4x4-vehicles {
	background-image: url(/uploads/thj/images/icon-4x4.jpg);
}

#footer li a#icnborder-fine-arts {
	background-image: url(/uploads/thj/images/icon-border.jpg);
}

#footer p {
	float: left;
	width: 460px;
	margin: 0 10px;
	font-weight: bold;
	font-size: 1.3em;
	color: #fff;
	padding-bottom: 6px;
	border-bottom: 1px solid #939393;
	position: relative;
}

#footer p strong {
	color: #a0d9f5;
}

#footer p em {
	font-style: normal;
	font-weight:normal;
}

#footer span {
	text-align: right;
	display: inline-block;
	width: 50%;
	position: absolute;
	right: 0;
	top: 0;
}

#footer p#copyright {
	width: 940px;
	text-align: right;
	font-size: 1.2em;
	border-bottom: none;
	padding-top: 10px;
	position: inherit;
}

/* extras and add-ons */

/* finance calculator */
#quote {
	font-family: arial;
	font-size: 13px;
	padding: 10px;
	text-align: center;
	width: 305px;
	border: 1px solid #ccc;
	float: right;
	margin: 0 0 20px 30px;
}

#quote table {
	width: 240px;
	border-collapse: separate;
	empty-cells: hide;
}

#quote input.button {
	width: 106px;
}

#quote input.standard {
	border: 1px solid #aaaaaa;
	width: 100px;
}

#quote label {
	color: #666666;
}

#quote select {
	border: 1px solid #aaaaaa;
	width: 103px;
}

#quote td {
	text-align: center;
	padding: 5px;
	vertical-align: middle;
}

#quote td.label {
	text-align: right;
}

#historyPanels h3{
    margin-top: 20px;
}

/* #historyPanels{
overflow: hidden;
border: 1px solid #ddd;
padding: 10px;
border-radius: 10px;
-moz-border-radius: 10px;
width: 898px;
height: 330px;
}
#historyPanels div{
border-bottom: 1px solid #eee;
padding: 10px;
margin-bottom: 15px;
width: 870px;
height: 350px;
}

#nav{
position: absolute;
top: 60px;
right: 30px;
}

#nav a{
display: inline-block;
padding: 5px;
color: #fff;
background: #888;
margin-left: 2px;
font-size: 13px;
}

#nav a.activeSlide{
background: #378CBD;
} */

.modal-overlay {
	background: none repeat scroll 0 0 #131313;
	bottom: 0;
	height: 100%;
	left: 0;
	margin: 0;
	opacity: 0.85;
	padding: 0;
	position: fixed;
	right: 0;
	top: 0;
	width: 100%;
	z-index: 190;
}

.modal-window {
	background: none repeat scroll 0 0 #FFFFFF;
	border: 8px solid #000000;
	border-radius: 8px 8px 8px 8px;
	left: 50%;
	margin: 0;
	padding: 0;
	position: fixed;
	top: 50%;
	width: 400px;
	z-index: 200;
}

.close-window {
	background: url("/uploads/thj/images/close-button.png") no-repeat scroll right top transparent;
	cursor: pointer;
	height: 47px;
	overflow: hidden;
	position: absolute;
	right: -23px;
	text-indent: -99999px;
	top: -23px;
	width: 47px;
}

table.inner {
	margin-bottom: 30px;
	width: 920px;
	border-collapse: collapse;
}

.inner-wrap {
	clear: both;
}

table.inner td, table.inner th {
	padding: 5px;
	font-size: 12px;
	border: 1px solid #3281B7;
}

table.inner th {
	color: #3281B7;
	text-align: left;
}

span.availability {
	display: none;
}

/* job news article "advert" styles */

#jobs-ad {
	width: 580px;
	padding: 10px;
	border: 4px solid #f00;
	text-align: center;
}

#jobs-ad p {
	color: #000;
	font-size: 1.4em;
}

#jobs-ad h3 {
	color: #f00;
	text-decoration: underline;
}

.boxpanel {
	text-align: center;
	width: 60em;
	margin: 10px auto;
	padding: 10px;
	border: 3px solid #E72930;
}

.agri-logos {
	padding: 10px 0;
	float: right;
}

a[title="Download PDF"]{
    display: none;
}
