/* overrides */
body.archive.category article.post .blog-content, article.post .blog-media {
    width: 324px;
    padding: 0;
}

body.archive.category .cont-id-0 > .wf-cell {
    padding: 0px;
    width: 324px;
    margin-bottom: 23px;
}
body.archive.category .wf-cell .blog-content p {
    display: none;
}

body.archive.category .cont-id-0 > .wf-cell:nth-child(3n) {
    margin-left: 23px;
}
body.archive.category .cont-id-0 > .wf-cell:nth-child(3n):after {
    content: " ";
    display: block;
    clear: both;
    float: left;
}
body.archive.category .cont-id-0 > .wf-cell:first-child,
body.archive.category .cont-id-0 > .wf-cell:nth-child(3n + 1) {
    margin-right: 23px;
}
body.archive.category .sidebar-none .content {
    width: 1018px;
    padding: 0px;
}
.gallery-item .wp-caption-text {
    display: none;
}
/* hide crumb header from this page */
.single.single-post.single-format-standard .page-title .wf-container-title .wf-td.hgroup {
	display: none;
}
.archive.category #main > .wf-wrap {
    padding: 0;
}
.archive.category .wf-container-main {
    margin-left : 0;
}
.archive.category .cont-id-0 {
    margin-left: 0;
}
body.archive.category article.post {
    background: #fff;
    min-height: 385px;
}
body.archive.category article.post .blog-content, article.post .blog-media {
    background: #fff;
}
body.archive.category article.post .blog-content .entry-title {
    padding: 23px 23px 0 23px;
    margin-bottom: 0;
    
    /* allow space for 3 lines on desktop */
   /* min-height: 60px; */
	line-height: 1.3em;
	overflow-y: hidden;
	min-height: 45px;
	max-height: 45px;
	display: block;
	text-overflow: ellipsis;
}
body.archive.category article.post .blog-content .entry-meta,
body.archive.category article.post .blog-content .entry-title + p {
    padding: 23px 23px 0 23px;
    display: none !important;
}
.category-private-sellers article.post .blog-content,
.category-private-sellers article.post .blog-media {
    max-height: 190px;
}
.category-private-sellers article.post .blog-media {
    min-height: 190px;
}
.archive.category article.post .blog-media {
	min-height: 190px;
	max-height: 190px;	
}
.car-categories {
    display: block;
    /* border-bottom: 1px solid #333; */
    text-align: center;
    margin-bottom: 33px;
}
.car-categories ul {
    margin-bottom: 0;
}
.car-categories li {
    list-style-type: none;
    display: inline-block;
    height: 40px;
    width: 150px;
    background: #152640;
    color: #fff;
    line-height: 40px;
    margin: 0 4px 0 4px;
}
.car-categories li a {
    line-height: 40px;
    display: block;
    color: #fff;
    text-decoration: none;
}
.page-template-cars-home-archive .car-categories li[data-item="classic-cars"] a,
.category-classic-cars .car-categories li[data-item="classic-cars"] a,
.category-bikes .car-categories li[data-item="bikes"] a,
.category-modern-cars .car-categories li[data-item="modern-cars"] a,
.category-private-sellers .car-categories li[data-item="private"] a,
.category-sold-cars .car-categories li[data-item="sold"] a,
.car-categories li.active a {
    background-color: #98150b !important;
}
.archive.category #main {
    padding: 23px 0;
}
.iso-grid .blog-media.wf-td {
	min-height: 264px;
min-height: 254px;
}
.archive.category .layout-masonry .wf-td {
    display: block;
    height: 243px;
    overflow: hidden;
    min-height: 243px;
}

body.archive.category .wf-td .price {
    background: #152640;
	background: #fff;
border: 1px solid #152640;
    color: #152640;
	font-weight: 600;
    display: inline-block;
    padding: 0.2em 18px;
    margin: 23px 23px 23px 23px;
    
    max-width: 50%;
    text-overflow: ellipsis;
    display: inline-block;
    overflow: hidden;
    /*margin: 15px 0 23px 0;*/
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
	min-width: 100px;
	text-align: center;
}
.page-template-promo-cars .wf-td .price {
    display: none !important;
}
.page-template-promo-cars .wf-td .price-hire {
    display: inline-block !important;
}
.page-template-promo-cars .wf-td .price-hire a {
    color: #fff;
}

.single .col-container {
    width: 100%;
}
body.single .content {
    width: 1018px;
    padding: 0;
}
.single-post .col-container .info-col .fb-like-wrap {
    height: 30px;
    position: relative;
    top: 20px;
}
.single .col-container .info-col {
    display: inline-block;
    float: left;
    width: 33%;
}
.single .col-container .info-col + .grid_7 {
    display: inline-block;
    float: left;
    width: 66%;
}
.single .info-col .price {
    background: #fff;
    padding: 0.25em 0.7em;
    border: 1px solid #162744;
    color: #162744;
    font-weight: 600;
    font-size: 18px;
    display: inline-block;
    margin-bottom: 23px;
    float: left;

}
.single .info-col .price + .soc {
    display: inline-block;
    float: right;
    width: 50%;
}
.single .col-container .info-col + .grid_7 .image-wrap {
    border: 10px solid #fff;
    position: relative;
    overflow: hidden;
    margin: 0 23px 0 23px;
    margin-right: 0;
    margin-left: 18px;
}

.single .col-container .info-col + .grid_7 .image-wrap > .attachment-large {
    display: block;
    min-width: 100%;
    max-width: 100%;
}
.navigation .mini-widgets {
    display: none;
}
.back-button {
    background: #97150A;
    border: medium none;
    display: inline-block;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    color: rgb(255, 255, 255);
    font-weight: 700;
    color: #fff;
    float: left;
    position: absolute;
    top: 0;
    left: 0;
}
.back-button .fa {
    position: relative;
    font-size: 1em;
    left: -0.12em;
    top: 0.05em;
}
.back-button + h1 {
    display: inline-block;
    /* margin-left: 100px; */
    font-size: 25px;
    float: left;
    clear: none;
    /* margin-top: -0.2em; */
    margin-bottom: 23px;
    margin-bottom: 30px;
    
    line-height: 1.2em;
    margin-bottom: 23px;
    padding-left: 45px;
}
.fb-like-wrap iframe
{
    width: auto;
    height: 30px;
    border: none;
}

.single .info-col .mileage strong,
.single .info-col .contact strong,
.single .info-col .engine_summary strong,
.single .info-col .rego strong ,
.single .info-col .mileage strong {
    color: #162744;
    display: inline-block;
    width: 50%;
    float: left;
}
.single .info-col .summary {
    margin-bottom: 23px;
    display: block;
    margin-top: 10px;
}
.single .info-col .contact .right,
.single .info-col .mileage .right,
.single .info-col .engine_summary .right,
.single .info-col .rego .right ,
.single .info-col .mileage .right {
    width: 50%;
    display: inline-block;
    float: left;
}

.single .info-col .contact,
.single .info-col .mileage ,
.single .info-col .engine_summary ,
.single .info-col .rego ,
.single .info-col .mileage {
    border-bottom: 1px solid #ccc;
    display: block;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.single .info-col .enquiry-wrap {
    display: block;
    text-align: center;
    padding: 23px 0 32px 0;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    padding-bottom: 27px;
	padding-bottom: 32px;
}
.single .info-col .enquiry-wrap.line-top {
border-top: 1px solid rgba(0,0,0,0.15);
border-bottom: none;
padding-top: 40px;
}
.buy-now,
.btn-enquire-now {
    background: #162744;
    color: #fff;
    text-transform: uppercase;
    font-size: 17px;
    padding: 0.9em 1em;
border-radius: 3px;
    text-decoration: none;
	
}
.btn-enquire-now .fa {
    display: inline-block;
    margin-right: 0.25em;
}
/*
.buy-now {
    background: orange;
}
*/
.btn-enquire-now:hover {
    color: #fff;
    background: #97150A;
}
.sold-label {
    position: absolute;
    top: 20px;
    right: -50px;
    background: red none repeat scroll 0% 0%;
    display: inline-block;
    color: rgb(255, 255, 255);
    font-weight: 700;
    padding: 0.1em 4em;
    transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);

}
.single .gallery-col #gallery-1 {
    margin-left: 16px;
    margin-top: 16px;
}
.single .gallery-col .gallery img {
    width: 130px;
    width: 140px;
    border: 10px solid #fff !important;
}
.single .mfp-title {
    display: none !important;
}
.frm_style_formidable-style.with_frm_style .frm_message, .frm_success_style {
    
    background: #fff;
    color: #000 !important;
    font-size: 17px;
    line-height: 2em;
    padding: 2em;
    border: 2px solid #000;
}
.frm_style_formidable-style.with_frm_style .frm_message a, .frm_success_style a {
    font-weight: 700;
}

.link-back-to-cars i {
    display: inline-block;
    margin-right:0.5em;
    font-weight: 200 !important;
    font-size: 13px;
	

}
.link-back-to-cars {
    color: #162744;
	display: inline-block;
	display: none;	
margin-top: 5em;
}
.frm_style_formidable-style.with_frm_style label.frm_primary_label, .frm_style_formidable-style.with_frm_style.frm_login_form label {
	padding-bottom: 12px;
}

/* hide categories for automobilia */
.page-id-5728 .car-categories {	
display: none;
}
.archive.category #main {
	padding-top: 50px;
}
#content-2 {
	margin-top: 1.5em;
}
#content-2:before {
    display: block;
    content: "Promo Cars & Products";
    color: #162744;
    font: normal bold 24px / 27px "Lato", Helvetica, Arial, Verdana, sans-serif;
    text-transform: uppercase;
    margin-bottom: 23px;
}
article.category-private-sellers .enquiry-wrap {
display: none !important;
}

/* ipad portrait */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .car-categories ul {
        margin-left: 0;
        padding-left: 0;
    }
    .car-categories ul li:first-child {
        margin-left: -10px;
    }
    body.archive.category .cont-id-0 > .wf-cell {
        width: 44%;
    }
    body.archive.category .sidebar-none .content {
        width: auto;
    }
    #main > .wf-wrap {
        width: auto;
    }
    body.archive.category .cont-id-0 > .wf-cell:nth-child(3n) {
        margin-left: 23px;
    }
    body.archive.category .cont-id-0 > .wf-cell:nth-child(3n):after {
        content: " ";
        display: block;
        clear: both;
        float: left;
        
        display: none;
        clear: none;
    }
    body.archive.category .cont-id-0 > .wf-cell:first-child,
    body.archive.category .cont-id-0 > .wf-cell:nth-child(3n + 1) {
        margin-right: 23px;
        margin-right: 0;
    }
    
    
    
    body.archive.category .cont-id-0 > .wf-cell {
        margin-left: 23px;
    }
    
    body.archive.category .cont-id-0 > .wf-cell:nth-child(2n) {
        margin-left: 23px;
    }
    body.archive.category .cont-id-0 > .wf-cell:nth-child(2n):after {
        content: " ";
        display: block;
        clear: both;
        float: left;
        
        display: none;
        clear: none;
    }
    body.archive.category .cont-id-0 > .wf-cell:first-child,
    body.archive.category .cont-id-0 > .wf-cell:nth-child(2n + 1) {
        margin-right: 23px;
        margin-right: 0;
    }
    
    body.single .content {
        width: 100%;
    }
    .single .col-container {
        max-width: 100%;
    }
    .info-col .inner {
        padding-left: 23px;
    }
    .single .title-wrap {
        padding: 0 23px 0 23px;
    }
    article.post .blog-media {
        width: 100%;
        padding: 0;
    }
    body.archive.category article.post .blog-content {
        width: 100%;
    }
}

/* phone */
@media screen and (max-width: 767px) {
.mobile-branding > a {
	padding: 10px 0 10px 0;
}

.entry-title.h1-size {
font-size: 12px;
line-height: 1.5em;
}
.page-title .wf-container-title {
padding-top: 0 !important; 
padding-bottom: 0 !important;
}
.back-button + h1 {
font-size: 18px;
padding-left: 60px;
}
    .category-private-sellers article.post .blog-content,
    .category-private-sellers article.post .blog-media {
        max-height: 640px;
    }
    body.archive.category article.post .blog-content {
        width: 100%;
    }
    article.post .blog-media {
        width: 100%;
        padding: 0;
    }
    body.archive.category .cont-id-0 > .wf-cell {
        width: 82%;
    }
    body.archive.category .sidebar-none .content {
        width: auto;
    }
    #main > .wf-wrap {
        width: auto;
    }
    body.archive.category .cont-id-0 > .wf-cell:nth-child(3n) {
        margin-left: 23px;
    }
    body.archive.category .cont-id-0 > .wf-cell:nth-child(3n):after {
        content: " ";
        display: block;
        clear: both;
        float: left;
        
        display: none;
        clear: none;
    }
    body.archive.category .cont-id-0 > .wf-cell:first-child,
    body.archive.category .cont-id-0 > .wf-cell:nth-child(3n + 1) {
        margin-right: 23px;
        margin-right: 0;
    }
    
    
    
    body.archive.category .cont-id-0 > .wf-cell {
        margin-left: 23px;
        margin-right: 23px;
    }
    .car-categories ul {
        padding: 0px;
        margin: 0px;
        height: 30px;
    }
    .car-categories li {
        width: 33%;
        margin: 0;
        float: left;
    }
    .car-categories li a {
        border-right: 1px dotted #fff;
    }
    .second-switch-logo-center.second-switch-menu-left .mobile-header-bar .mobile-mini-widgets {
        /* flex: 6 1 0%; */
    }
    body.single .content {
        width: 100%;
    }
    .single .col-container {
        width: 100%;
    }
    .single .col-container .info-col {
        display: block;
        float: right;
        width: auto;
    }
    .single .col-container {
        display: flex;
        flex-flow: column;
    }
    .single .col-container .info-col {
        order: 2;
    
    }
    .single .col-container .info-col {
        padding: 0 23px;
        width: auto;
        border-top: 1px dotted #ccc;
        padding-top: 23px;
        margin-top 23px;
    }
    .single .col-container .grid_7 {
        order: 1;
    }
    .single .back-button {
        margin-left: 23px;
        position: absolute;
        top: 0;
        left: 0;
    }
    .back-button + h1 {
        line-height: 1.5em;
        padding-right: 20px;
        padding-left: 77px;
    }
    .single #main {
        padding: 23px 0 50px 0;
    }
    .single .col-container .info-col + .grid_7 .image-wrap {
        margin: 0 23px;
    }
    .single .gallery-col #gallery-1 {
        margin-left: 16px;
        margin-right: 16px;
    }
    body.single .content {
        width: 100%;
        padding: 0;
    }
    .single .col-container .info-col {
        display: inline-block;
        float: right;
        width: auto;
    }
    .single .col-container .info-col + .grid_7 {
        display: inline-block;
        float: left;
        width: auto;
    }
    .page-template-promo-cars .vc_row-fluid {
        padding: 0 20px;
        width: auto;
    }
}

@media screen and (max-width: 768px){
	.car-categories li {		
		margin-bottom: 8px !important;
			
	}
}
@media screen and (max-width: 767px){
	.car-categories {
		min-height: 80px;
			}
	.archive.category #main {
		padding-top: 25px;
	}
}
