/* 	 page structure 
 ---------------------------------------------------- */

html {
    background: #D7242A;
}
body {
    width: 100%;
    margin: 0 auto;
    background: #fff /* url(/uploads/thj/images/body-bg-white.png) 0 0 repeat-x */ 
}
#header {
    padding: 10px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #D7242A;
    box-sizing: border-box;
    box-shadow: 0 0 10px #ccc;
}
#header-content{
    width: 940px;
    margin: 0 auto;
    box-sizing: border-box;
}
#breadcrumbs {
    padding: 5px 10px;
    background: url(/uploads/thj/images/breadcrumb-bg.png) 0 100% repeat-x;
    color: #888;
    overflow: hidden;
    border-top: 2px solid #d3262a;
    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: #D7242A;
    clear: both;
    overflow: hidden;
    border-top: 3px solid #b5151b;
}
#footerContent {
    width: 960px;
    margin: 0 auto;
    padding-top: 20px;
}
/* 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: #D3262A;
    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: #d3262a;
}
a:hover {
    color: #bf0303;
}
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: 458px;
    height: 56px;
    margin-top: 5px;
    text-indent: -999em;
    overflow: hidden;
    background: url(/uploads/thj/images/thj-ni-logo.png) 0 0 no-repeat;
    float: left;
    background-size: 458px 56px;
}
#header h2#logo a {
    display: block;
    width: 100%;
    height: 100%;
}
#toggleMenu,
#toggleSectionMenu {
    display: none;
}

#header-contacts{
    clear: right;
    float: right;
    font-family: Arial, Helvetica, sans-serif;
}
#header-contacts p{
    color: #fff;
     font-size: 14px;
}
#header-contacts a{
    color: #fff;
}
/* ---- header menu ----*/

#header ul {
    float: right;
    margin: 10px -8px 15px 0;
}
#header li {
    float: left;
    font: 700 16px Arial, Helvetica, sans-serif;
    padding: 0 10px 0 15px;
    background: url(/uploads/thj/images/header-a-bg-white.png) 0 53% no-repeat;
}
.item-trailers,
.item-agricultural-equipment,
.item-4x4-vehicles,
.item-border-fine-arts {
    display: none;
}
#header li.firstChild {
    background: none;
    padding-left: 5px;
}
#header li a {
    color: #fff;
}
#header li a:hover {
    color: #ccc;
}
/* 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: 9;
    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 > li a {
    display: block;
    border: 1px solid #bf0303;
    border-bottom: none;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
#sectionMenu > li li li a{
    border-radius: 0;
    border-left: none;
    border-right: none;
}
#sectionMenu a.currentpage,
#sectionMenu li li a.activeparent {
    display: block;
    color: #fff;
    background: #bf0303;
}
#sectionMenu a span {
    display: block;
    padding: 0.5em 1.2em;
}
#sectionMenu a.currentpage span,
#sectionMenu li li a.activeparent span {
   
    padding: 0.5em 1.2em;
}
#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: #d3262a;
}
#sectionMenu li li li a:hover {
    background: #E9F2FA;
    color: #fff;
}
#sectionMenu li li li a:hover span {
    background: #d3262a;
    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 #d3262a;
    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 {
    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: 136px;
}
#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 {
    width: 200px;
    height: 202px;
    background: #eee;
}
/* ----- home page and trailers panels ---- */

.home-panel{
    float:left;
    width: 48.4375%;
    margin: 0 0.5208333333333333% 20px 1.041666666666667%;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}
.home-panel:hover, .home-panel:active{
    box-shadow: 0 0 7px rgba(0,0,0,0.5);
}
.home-panel:first-child{
    margin: 0 1.041666666666667% 20px  0.5208333333333333%;
}
.home-panel a{
    display: block;
    background: #D3262A;
    line-height: 1;
}

.home-panel a strong{
    padding: 10px;
    font:16px Arial, Helvetica, sans-serif;
    color: #fff;
    display: block;
    font-weight: normal;
}
.home-panel a img{
    vertical-align: top;
}
#main p.panel {
    width: 480px;
    margin: 0 0 10px 0;
    padding: 0;
    float: left;
    font-size: 1em;
    line-height: 1;
}
#main p.panel.fullwidth {
    width: 100%;
    margin: 0 0 10px 0 !important;
    clear: both;
    background: #c2c2c4;
    background: -moz-linear-gradient(top, #c2c2c4 0%, #ffffff 100%);
    background: -webkit-linear-gradient(top, #c2c2c4 0%, #ffffff 100%);
    background: linear-gradient(to bottom, #c2c2c4 0%, #ffffff 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#c2c2c4', endColorstr='#ffffff', GradientType=0);
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
}

#main a.panel {
    display: block;
    width: 480px;
    height: 220px;
    text-indent: -999em;
    overflow: hidden;
    background-position: 0 0;
    background-repeat: no-repeat;
}

#main .panel.fullwidth a strong{
	background: #2e74b0;
	background: -moz-linear-gradient(top,  #2e74b0 0%, #296aaa 100%);
	background: -webkit-linear-gradient(top,  #2e74b0 0%,#296aaa 100%);
	background: linear-gradient(to bottom,  #2e74b0 0%,#296aaa 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2e74b0', endColorstr='#296aaa',GradientType=0 );
	color: #fff;
	display:block;
	padding: 10px 20px 15px 20px;
	text-shadow: 1px 1px 0 rgba(18, 42, 79, 0.5);
	overflow:hidden;
}

#main .panel.fullwidth a span{
	display: block;
	color: #d9dde3;
	font-size: 15px;
	margin-top: 5px;
}
#main .fullwidth a strong .caption{
	float: left;
	display:block;
	font-family:Arial;
	font-size: 18px;
	font-weight: 600;
	color: #fff;
	width: 36%;
		box-sizing:border-box;
}

#main .fullwidth a strong .logo-block{
	display:block;
	text-align:right;
	float: left;
	width: 64%;
	background:#fff;
	padding: 5px;
	border-radius:5px;
	overflow:hidden;
	box-sizing:border-box;
}
#main .fullwidth a strong .logo-block img{
	float: left;
	margin: 0 2px;
}
.panels-wrapper{
    display: flex;
    justify-content: space-between;
}
#p-used-trailers #main p.panel{
        width: 31%;
    box-sizing: border-box;
    margin: 20px 2% 40px 0;
    overflow: hidden;
    padding: 10px;
    border: 1px solid;
     border-radius: 10px;
     height: auto;
}
#p-used-trailers #main p.panel img{
    margin-bottom: 10px;
}
#p-used-trailers #main p.panel:last-child{
    margin-right: 0;
}
#p-used-trailers  #main a.panel{
    font-size: 14px;
    text-indent: 0;
    text-align: left;
     box-sizing: border-box;
     width: 100%;
      height: auto;
     max-width: 100%;
      
}
#p-trailers #main p.panel
 {
    margin: 10px 1% 10px 0;
    float: left;
    font-size: 1em;
    line-height: 1;
    border: 1px solid;
    box-sizing: border-box;
    border-radius: 10px;
    width: 32%;
    box-shadow: 0 5px 5px #eee;
    transition: all 1s;
        background: #eee;  /* fallback for old browsers */
background: -webkit-linear-gradient(to bottom, #fefefe, #ddd);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to bottom, #fefefe, #ddd); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}
#p-trailers #main p.panel:hover{
    box-shadow: 0 5px 5px #ccc;
    color: #fff;
    background: #D7242A;  /* fallback for old browsers */
background: -webkit-linear-gradient(to bottom, #ED213A, #D7242A);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to bottom, #ED213A, #D7242A); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}
#p-trailers #main a.panel{
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 26px;
    text-indent: 0;
    line-height: 210px;
    text-align: center;
     box-sizing: border-box;
     width: 100%;
     max-width: 100%;
     color: #333;
}
#p-trailers #main a.panel span{
    border-bottom: 1px solid #999;
}
#p-trailers #main a.panel strong{
    color: #d7242a;
}
#p-trailers #main a.panel:hover{
    color: #fff;
}
#p-trailers #main a.panel:hover span{
    border-bottom-color: #fff;
}
#p-trailers #main a.panel:hover strong
{color: #ddd;}


#p-used-trailers #main p.panel {
    width: 460px;
    height: 220px;
         padding: 0 !important;
     border: none !important;
     margin: 0 !important;
}

#p-used-trailers #main p.panel {
    width: 460px;
     height: 220px !important;
     padding: 0 !important;
     border: none !important;
     max-width: 100%;
}
/* you may need to edit the global content block thjHomePagePanels as well */

#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);
}

/* other panels */

#main a#pnlNews {
    background-image: url(/uploads/thj/images/panel-spreader-harrow-sprayer.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); height: 220px !important;
    line-height: 999em;
    overflow: hidden;
}
#main a#pnlLivestockTrailers {
    background-image: url(/uploads/thj/images/panel-used-livestock-trailers.jpg);height: 220px !important;   line-height: 999em;
    overflow: hidden;
}
#main a#pnlCommercialTrailers {
    background-image: url(/uploads/thj/images/panel-commercial-trailers.jpg);height: 220px !important;   line-height: 999em;
    overflow: hidden;
}
#main a#pnlHorseboxes {
    background-image: url(/uploads/thj/images/panel-used-horseboxes.jpg);height: 220px !important;   line-height: 999em;
    overflow: hidden;
}
#main a#pnlMiscTrailers {
    background-image: url(/uploads/thj/images/panel-misc-trailers.jpg);height: 220px !important;   line-height: 999em;
    overflow: hidden;
}
#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 #D7242A;
}
#main div.bfaProductDirectoryItem p,
#main div.bfaProductDirectoryItem h3 {
    margin: 0 10px 5px 10px;
}
#main div.bfaProductDirectoryItem h3 {
    color: #d3262a;
}
#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 #D7242A;
}
#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: #D7242A;
    font-weight: normal;
    border: 1px solid #D7242A;
    color: #fff;
    text-align: right;
    width: 100px;
}
#main div.ProductDirectoryItem p.price {
    float: left;
    width: 170px;
    margin-right: 5px;
    border: 1px solid #888;
    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: #D7242A;
    font-weight: 700;
    display: block;
    clear: both;
    margin-top: 10px;
    text-align: center;
    font-size: 15px;
}
#main div.ProductDirectoryItem h3 {
    color: #D7242A;
}
#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: 20px auto;
    overflow: hidden;
    width: 960px;
}
#footer li {
    float: left;
    width: 50%;
    box-sizing: border-box;
    overflow: hidden;
    padding-left: 10px;
}
#footer li:first-child{
	margin-left: 0;
}
#footer li:last-child{
    float: right;
}

#footer li a {
    display: block;
    text-indent: -999em;
    line-height: 999em;
    overflow: hidden;
    width: 100%;
    height: 100%;
    max-height: 120px;
    background-position: 0 0;
    background-repeat: no-repeat;
}
#footer li a#icntrailers {
    background-image: url(/uploads/thj/images/footer-panel-trailers.png);
}
#footer li a#icnagricultural-equipment {
    background-image: url(/uploads/thj/images/footer-panel-machinery.png);
}
#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 {
    font-size: 1.3em;
    color: #fff;
    padding-bottom: 20px;
    position: relative;
}

#footer p img{
    margin-right: 20px;
}
#footer p strong {
    color: #ccc;
}
#footer p em {
    font-style: normal;
    font-weight: normal;
}
#footer span {
 display: block;
float: right;
}
#footerContent > div{
    width: 100%;
}
#footer #logos{
    float: left;
    width: 50%;
    box-sizing:border-box;
    padding-left: 10px;
}
#footer p#copyright {
    width: 50%;
    float: left;
    padding-right: 10px;
    text-align: right;
    font-size: 1.4em;
    border-bottom: none;
    position: inherit;
    box-sizing:border-box;
    margin-top: 24px;
}
/* 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{
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 #d7242a;
}
table.inner th {
    color: #d7242a;
    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: none;
    display:flex;
    justify-content: space-evenly;
    align-items: center;
}
.agri-logos img{
    /* margin-right: 1% !important; */
}