/*
 Theme Name:     Biltorvet Web
 Theme URI:      https://www.biltorvet.as
 Description:    Theme provided by Biltorvet A/S
 Author:         Biltorvet A/S
 Author URI:     https://www.biltorvet.as
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */


/*------------ Car Detail -------------*/


.bdt_table .row strong{
	font-weight:500 !important;
	
}

.bdt_table>.row>div {
    line-height: 2.8 !important;
	border-bottom: 0px solid #ccc !important;
}

.bdt_slideshow {
    padding-bottom: 70% !important;

}

.bdt-counter.text-center img {
    display: none !important;
}






/* ----------- Footer Credits ----------*/


.poweredBy{
	font-size: 14px;
}

.poweredBy a{
	font-weight:600;
	color: #00b06c !important;
}

.poweredBy img {
height: 20px;
margin-right: 10px;
padding-top: 2px !important;
}

#footer-info {
    display: none !important;
}



/* ------------ 404 Errorpage ----------*/
#main-content.errorpage-area {
	
	background: url(/wp-content/uploads/2018/07/Error-404.jpg);
    background-repeat: no-repeat;
    background-size: cover;
	background-color: red !important;
	
}

.et_pb_post.not_found {
    margin-bottom: 0px;
    color: #fff;
    padding-top: 150px;
}

.et_pb_post.not_found h1{
	color: #fff !important;
	    text-shadow: 0em 0em 0.54em rgba(0,0,0,0.95);
}

.et_pb_post.not_found p{
	color: #fff !important;
	    text-shadow: 0em 0em 0.54em rgba(0,0,0,0.95);
}

.container.errorpage {
    height: 60vh !important;
}

.et_pb_post.not_found{
	margin-bottom: 0px;
}


	.container.errorpage:before {

		width: 0px !important;

	}

.container.errorpage{
	text-align: center;
}





@media (max-width: 767px) {

	.et_pb_slider.et_pb_module .et_pb_slides .et_pb_slide_description h2.et_pb_slide_title {
	    font-size: 21px !important;
	    font-weight: 700 !important;
		line-height: 1.3 !important;
	}
		
		.logo_container {
	    padding-left: 2%;
	}
		.poweredBy{
		text-align: center;
	}
		
		div#et-top-navigation {
	    padding-right: 2%;
	}
		
	.et_pb_row{
		width: 85% !important;
		
	}

		.container.clearfix.et_menu_container {
	    width: 100%;
	}
	
	
}
	



/* ------------ Logo Frontpage adjustment -----------*/
.five-columns.car-logos img {
    max-width: 70%!important;
    margin: 0 auto;
    display: block;
}




.ten-columns .et_pb_module {width: 10%; float: left;}
.nine-columns .et_pb_module {width: 11.11%; float: left;}
.eight-columns .et_pb_module {width: 12.5%; float: left;}
.seven-columns .et_pb_module {width: 14.28%; float: left;}
.six-columns .et_pb_module {width: 16.66%; float: left;}
.five-columns .et_pb_module {width: 20%; float: left;}


body .et_pb_button, .woocommerce a.button.alt, .woocommerce-page a.button.alt, .woocommerce button.button.alt, .woocommerce-page button.button.alt, .woocommerce input.button.alt, .woocommerce-page input.button.alt, .woocommerce #respond input#submit.alt, .woocommerce-page #respond input#submit.alt, .woocommerce #content input.button.alt, .woocommerce-page #content input.button.alt, .woocommerce a.button, .woocommerce-page a.button, .woocommerce button.button, .woocommerce-page button.button, .woocommerce input.button, .woocommerce-page input.button, .woocommerce #respond input#submit, .woocommerce-page #respond input#submit, .woocommerce #content input.button, .woocommerce-page #content input.button, .woocommerce-message a.button.wc-forward{
	color: #fff !important;
}


.entry-content tr td, body.et-pb-preview #main-content .container tr td {
    padding: 20px 24px;
    border-top: 1px solid #eee;
}

tr:nth-child(even) {background-color: #f2f2f2;}

tr:nth-child(odd) {background-color: #fff;}


tr{
	padding-top: 30px;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

button.et_pb_contact_submit.et_pb_button {
    color: white;
}


@media only screen and (min-width: 980px) {
	.frontpage-slider .et_pb_slide_description{
 		max-width: 55% !important;
		float:left;
	}
	
	
	
}

@media only screen and (max-width: 980px) {
	.frontpage-slider .et_pb_slide_description{
 		text-align: center !important;
	}
}


.et_color_scheme_green #top-header {
    background: #3c3c3c!important;
}



.et_pb_button{
	    padding: 13px 25px 13px 25px;	
}

.et_pb_button:hover, .et_pb_module .et_pb_button:hover{
	    padding: 13px 25px 13px 25px;	
}


.et_pb_row.et_pb_row_fullwidth {
    width: 100%!important;
    max-width: 100%!important;
}



/* -------- Sidebar ----------*/

.et_pb_blog_grid .post-content a{    
	text-transform: uppercase !important;
    font-weight: 700;
    font-size: 13px;

}
	
#sidebar .et_pb_widget ul li {
    margin-bottom: 1.5em;
    border-bottom: 1px solid #e8e8e8;
}

#sidebar h4.widgettitle{
	padding-bottom:30px;
}

#sidebar li a {
	font-weight:700;
	
}


/* ------- News Styling ---------*/

span.post-date {
    display: block;
    font-size: 12px;
}

span.published{
	font-size: 12px;
	
}

.et_pb_blog_grid .et_pb_image_container img {
    min-width: 100%;
    max-width: 100%;
    height: 211px !important;
    overflow: hidden;
    object-fit: cover;
}

h2.entry-title {
    height: 36px;
    overflow: hidden;
}

.post-content p {
	height: 60px;
    overflow: hidden;

} 

/* --- Used Car Detail --- */
 
.carDetailModule{
    padding-left: 6.5% !important;
}
 

.ctaCarDetail .et_pb_main_blurb_image {
    margin-bottom: 0px;
}
 
.ctaCarDetail{
    width: 32% !important;
    display: inline-block;
    
}
.priceBox a {
	color:#fff !important;
} 
.ctaCarDetail a {
	color:#000;
}

.usedCarInfo p {
    height:20px;
}
 
.usedCarInfo .text-right {
    text-align: right !important;
}
 
.usedCarInfoBox h1{
    padding-bottom: 0px !important;
}
 
.et_pb_module.et_pb_blurb.et_pb_blurb_0.ctaCarDetail.col-3.et_pb_bg_layout_light.et_pb_text_align_left.et_pb_blurb_position_top {
    margin-bottom: 0px;
}
 
.priceBox h3{
   padding-bottom: 0px !important;
}
 
.priceBox p{
   height: 15px !important;
}
 

.priceBox .ctaCarDetail {
    width: 22%!important;
    display: inline-block;
 
}
 
.ctaCarDetail .et_pb_blurb_description {
    display: none;
}
 

.ctaCarDetail h4{
    padding-bottom: 0px !important;
}
 
    .pricebox .et_pb_text_2 h3 {
        font-size: 23px !important;
    }
 

@media (min-width: 980px) and (max-width: 1160px) {
    .priceBox h3 {
        font-size: 23px !important;
    }
    
}
 
.priceBox h3 {
        font-size: 29px;
    }
 


@media (max-width: 980px){
.mobile-6col .et_pb_column {
    width: 50%!important;
	}
	.et_pb_column {
    margin-bottom: 5px;
}
	}

    @media only screen and (min-width: 981px) {
	
        #logo {
        max-width: 40%;
    }
        
    }
    
    @media (min-width: 980px){
     
    .ctaCarDetail.col-8{
        width:64% !important; 
        
        display: inline-block;
    }
        .ctaCarDetail.col-4{
        width:32% !important; 
        
        display: inline-block;
    }
    }
     
    
    @media (min-width: 980px){
    .ctaCarDetail.col-4 {
        width: 38%!important;
        display: inline-block;
        }
    }
    
        
    @media (min-width: 1000px){
    .col-8.carslider{
        width:64% !important; 
        display: inline-block;
        
    }
    
    .col-4.usedCarInfoBox{
         width:32% !important; 
        display: inline-block;
    }
    
        
        
    }
        
    
    
    .ctaCarDetail.col-6{
        width:49% !important; 
        margin: 0 !important;
        display: inline-block;
    }
    
    
    .carDetailModule.col-6{
        width:49% !important; 
        margin: 0 !important;
        display: inline-block;
    }



    @media (max-width: 575px){
       
    .bdt .vehicle_search>.row>div {
        margin-bottom: 5px !important;
    }
}

/*---- Vehicle detail - print ----*/
@media print {

#top-header {
    display: none;
}

.usedCarInfoBox {
    border: 0px solid !important;
}

.usedCarInfoBox h1{
    text-align: center !important;
}


.et_pb_column.et_pb_column_3_5.et_pb_column_2.et_pb_css_mix_blend_mode_passthrough {
    width: 60% !important;
}

.et_pb_column.et_pb_column_2_5.et_pb_column_3.et_pb_css_mix_blend_mode_passthrough {
    width: 40%;
}

.et_pb_with_border.et_pb_row.et_pb_row_2.et_pb_row_5col {
    display: none !important;
}

.et_pb_toggle_content.clearfix {
    display: block !important;
}

.et_pb_section.et_pb_section_4.et_pb_with_background.et_section_regular.section_has_divider.et_pb_bottom_divider {
    display: none;
}

.entry-content tr td{
padding: 8px 24px !important;
}

.et_pb_section.et_pb_section_2.et_section_regular {
    padding: 0px;
}

.col-6{
    width: 33% !important;
}

.bticon{
    display: none !important;
}

.specificationsGroup .contentColumn {
    margin-left: 0 !important;
}

    body #page-container {
        padding-top:0 !important; 
        margin-top:0 !important;
    }
    body {
        font-size:8pt !important;
    }
    body * {
        background:transparent !important;
    }
    body *, a, body .bdt_cta:not(.donottint) {
        color:#000 !important;
    }
    h1 {
        font-size:11pt !important;
    }
    h2 {
        font-size:10pt !important;
    }
    h3 {
        font-size:9pt !important;
    }
    h4{ 
        font-size:8.5pt !important;
    }
    h5, h6 {
        font-size:8pt !important;
    }
    #main-content .et_pb_section>.et_pb_row {
        width:100% !important;
    }
    #main-content .et_pb_section .col-8 {
        width:68% !important;
    }
    #main-content .et_pb_section .col-4 {
        width:29% !important;
        margin-left:3% !important;
    }
    .bdt_price_big {
        font-size:12pt !important;
    }
    .usedCarInfoBox .carDetailModule {
        width:100% !important;
    }
    .usedCarInfoBox>div:last-child, .priceBox>div>div:nth-child(2), .priceBox>div>div:nth-child(3), body .bt-slideshow-controls, body .et_pb_scroll_top, body .et_pb_section_0, body .et_pb_section_5, #main-footer, #catapult-cookie-bar   {
        display:none !important;
    }
    body .et_pb_section_2 {
        page-break-after:always;
    }
    .bdt .badge {
        font-style:italic !important;
    }
    body .et_pb_column .et_pb_module {
        margin-bottom:0 !important;
    }
    body .bt-slideshow-viewport>img:first-child {
        opacity: 1 !important;
        z-index: 2 !important;
    }
    body .bt-slideshow-viewport>img:not(:first-child) {
        display:none !important;
    }
    body .et_pb_section {
        padding-bottom:10pt !important;
    }
    body .et_pb_section>div {
        padding-top:3pt;
        padding-bottom:5pt;
    }
    body .et_pb_section_4 .bdt {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        align-content: flex-start !important;
    }
    body .et_pb_section_4 .bdt * {
        font-size:7pt;
    }
    body .specificationsGroup {
        width:30% !important;
        margin-left: 0 !important;
        margin-right: 3% !important;
        display: inline-block !important;
    }
    body .bdt_spec_value {
        padding-bottom:3pt !important;
    }
    body .specificationsGroup h5 {
        padding-bottom:5pt !important;
    }
}