/*
 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:        2.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

h1, h2, h3, h4, h5, h6, 
.et_quote_content blockquote p, 
.et_pb_slide_description .et_pb_slide_title {
    line-height: 1.3em !important;
}
#map {
	height: 400px;
	width: 100%;
}
.et_pb_row.et_pb_row_fullwidth {
    width: 100%!important;
    max-width: 100%!important;
}
.et_pb_button,
.et_pb_button:hover, 
.et_pb_module .et_pb_button:hover {
	padding: 13px 25px 13px 25px;	
}
body .et_pb_button, button {
	cursor: pointer;
}
.full-width-btn {
	width: 100%;
	text-align: center;
}
/* .et_pb_column_1_3 h2, .et_pb_column_1_4 h2, .et_pb_column_1_5 h2, .et_pb_column_1_6 h2, .et_pb_column_2_5 h2 {
    font-size: 26px;
}*/
h2, .et_pb_column_1_2 h2, .et_pb_column_1_3 h2, .et_pb_column_1_4 h2, .et_pb_column_1_5 h2, .et_pb_column_1_6 h2, .et_pb_column_2_5 h2 {
    font-size: 24px !important;
}
@media screen and (max-width: 767px) {
	.et_pb_row {
		width: 85% !important;
	}
}
@media screen and (max-width: 980px) {
	.et_pb_section {
		padding: 20px 0;
	}
	.et_pb_column .et_pb_row_inner, .et_pb_row {
		padding: 20px 0;
	}
	.et_pb_fullwidth_section {
		padding: 0;
	}
}
#top-menu li li a {
	padding: 6px;
}
/* jlk benyttes IKKE */
/*
.et_pb_slide_description h2.et_pb_slide_title {
	font-weight: bold;
}
@media only screen and (min-width: 981px) {
	.frontpage-slider .et_pb_slide_description {
 		max-width: 55% !important;
		float:left;
	}
	
	.frontpage-slider.et_pb_slide_description, 
	.et_pb_slider_fullwidth_off .et_pb_slide_description{
		padding: 16% 10% 16% 0%;
	}
	.frontpage-slider.et_pb_slider .et_pb_container {
		width: 90%;
	}
}
*/
/* TileLayout section */
.tileLayoutSection .et_pb_text_inner, .tileLayoutSection .et_pb_slide_description {
    background: rgba(0,0,0,0.5);
    padding: 8px 15px 15px;
    display: inline-block;
    text-align: left;
}
.tileLayoutSection .et_pb_slide_description {
	float:left;
}
.tileLayoutSection .et-pb-controllers .et-pb-active-control {
	background-color:#000;
}
.tileLayoutSection .et-pb-controllers a {
	background-color:rgba(0,0,0,0.9);
	border:2px solid lightgray;
	width:15px;
	height:15px;
	border-radius:15px;
}
.tileLayoutSection .et_pb_text_inner,
.tileLayoutSection .et_pb_slide_description {
	background:rgba(0,0,0,0.5);
	padding:8px 15px 15px;
	display:inline-block;
	text-align:left;
}
.tileLayoutSection .et-pb-controllers {
	padding-right:2rem;
	text-align:right;
	font-size:0;
}
.tileLayoutSection .et_pb_row {
	width:100%!important;
}
.tileLayoutSection .et_pb_text_0,
.tileLayoutSection .et_pb_text_1,
.tileLayoutSection .et_pb_slider_container_inner {
	padding-top:calc(100vh/3);
	padding-bottom:22px;
}
@media screen and (max-width:1024px){
	.tileLayoutSection .et_pb_text_0,
	.tileLayoutSection .et_pb_text_1,
	.tileLayoutSection .et_pb_slider_container_inner {
		padding-top:250px;
	}
}
@media screen and (max-width:768px) {
	.tileLayoutSection .et_pb_text_0,
	.tileLayoutSection .et_pb_text_1,
	.tileLayoutSection .et_pb_slider_container_inner {
		padding-top:150px;
	}
}
/** full width page design **/
@media screen and (max-width: 980px) {
	.et_pb_row_fullwidth.et_pb_equal_columns {
		display: flex;
		flex-wrap: wrap;
	}
	.et_pb_row_fullwidth.et_pb_equal_columns:nth-child(even) .et_pb_column:nth-child(even) {
		order: 1;
	}
	.et_pb_row_fullwidth.et_pb_equal_columns:nth-child(even) .et_pb_column:nth-child(odd) {
		order: 2;
	}
}
/*---------- Toggle hide text ----------*/
.pa-toggle-text .et_pb_text_inner {
	transition: max-height 0.3s ease-out;
	overflow: hidden;
}

.pa-toggle-text .et_pb_text_inner:after {
	content: "";
	display: inline-block;
	position: absolute;
	pointer-events: none;
	height: 100px;
	width: 100%;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: linear-gradient(0deg, #f7f7f7 10%, transparent);
}

.pa-toggle-text .pa-text-expand-button {
	text-align: right;
    top: 30px;
    position: relative;
}

.pa-toggle-text .pa-text-expand-button span {
	cursor: pointer;
}

.pa-toggle-text .pa-text-expand-button .pa-text-toggle-icon {
	font-family: ETMODULES, "sans-serif";
}

.pa-toggle-text .pa-text-toggle-expanded {
	max-height: 2000px !important;
	transition: max-height 0.3s ease-in;
}

.pa-toggle-text .pa-text-toggle-expanded.et_pb_text_inner:after {
	background: none;
}
.pa-text-collapse-button::after {
	display: none;
}
/*---------- Five column car logos -----------*/
.five-columns.car-logos img {
    max-width: 70%!important;
    margin: 0 auto;
    display: block;
}
/*---------- Extra columns -----------*/
.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;}


/*------------ Menu --------------*/
.menu-cta, .et_pb_button.menu-cta:hover {
	padding: 0;
}
.menu-cta:after {
	display: none;
}
.menu-cta>a, 
.menu-cta>a:hover, 
#top-menu-nav>ul>li.menu-cta>a:hover,
.et-fixed-header #top-menu .menu-cta>a, 
.et-fixed-header #top-menu li.current-menu-ancestor.menu-cta>a, 
.et-fixed-header #top-menu li.current-menu-item.menu-cta>a, 
.et-fixed-header #top-menu li.current_page_item.menu-cta>a {
    padding: 10px 20px!important;
	color: #fff !important;
	opacity: 1;
}

/*------------ Table styling -------------*/

tr:nth-child(odd) {
    background-color: #fff;
}
tr:nth-child(even) {
    background-color: #f7f7f7;
}
.entry-content tr td {
    padding: 20px 24px;
}
table.opening-hours {
    width: 100%;
    margin-bottom: 10px;
}
table.opening-hours tr, table.opening-hours tr:nth-child(even), table.opening-hours tr:nth-child(odd) {
    background-color: transparent;
}
table.opening-hours td:first-child {
    padding-right: 20px;
}
/*------------ Car Detail -------------*/
.toolbar-print-share {
	float: right;
	margin-bottom: 0 !important;
}
.toolbar-print-share .et_pb_blurb_container {
	padding: 0;
}
.toolbar-print-share .et_pb_blurb_content {
	margin-left: 20px;
}
.toolbar-print-share .et_pb_module_header {
	padding-bottom: 0;
}
.toolbar-print-share .et_pb_image_wrap {
	text-align: center;
}
@media screen and (max-width: 768px) {
	.toolbar a:last-child {
		display: none;
	}
}
.bticon.bticon-CallUs, .phone-call-btn .bdt_cta br {
	display: none;
}

.phone-call-btn a,
.call-me-btn a {
	line-height: 20px;
	padding: 13px 25px;
	border-width: 2px;
	border-style: solid;
	border-radius: 10px;
	text-align: center;
	cursor: pointer;
	font-size: 1em;
	display: inline-block;
	width: 100%;
}
.phone-call-btn .bdt_cta::before {
	display: inline-block;
	position: absolute;
    margin-left: -30px;
	font-size: 1.2em;
    content: "\e090";
	font-family: 'ETmodules';
}
.phone-call-btn a {
	padding-left: 46px;
}
.call-me-btn a {
	color: #fff !important;
}
@media screen and (min-width: 1300px) {
	.phone-row {
		padding-bottom: 19px !important;
		display: flex;
		column-gap: 10px;
		justify-content: space-between;
	}
	.phone-row::after {
		display: none;
	}
}

@media screen and (min-width: 981px) and (max-width: 1299px) {
	.phone-call-btn a, .call-me-btn a{
		padding: 8px 25px;
	}
	.phone-call-column,
	.call-me-column {
		margin-bottom: 5px !important;
	}
}
@media screen and (min-width: 981px) {
	.phone-call-column,
	.call-me-column {
		width: 100% !important;
		margin-right: 0 !important;
	}
}
.bdt_price_big {
	font-weight: 600;
	line-height: 2;
}
.bdt .badge {
	border-radius: 0 !important;
	padding: 0.5em 0.75em !important;
}
.car-detail-address .bdt_vehicle_company_street::after {
	background: #6d6d6d;
    width: 3px;
    height: 3px;
    content: " ";
    display: inline-block;
    border-radius: 9999px;
    margin: 3px 5px;
}
.bdt-action-btn-row a.bdt_cta  {
	color: #666 !important;
	font-size: 13px;
	width: 100%;
    display: inline-block;
	cursor: pointer;
}
.bdt-action-btn-row a.bdt_cta:before,
.car-detail-address .et_pb_text_inner:before {
    width: 40px;
    display: inline-block;
    font-family: "bticons";
    font-size: 20px;
    vertical-align: middle;
}
.book-testdrive-row a.bdt_cta:before {
    content: "\E036";
}
.purchase-row a.bdt_cta:before {
    content: "\E007";
}
.send-email-row a.bdt_cta:before {
    content: "\E03E";
}
.car-detail-address .et_pb_text_inner:before {
    content: "\E02A";
}
.bticon {
	display: block;
    font-size: 28px;
	line-height: 1.1em;
}

@media screen and (min-width: 1024px) {
	.col-8.carslider, .col-8.descriptiongearspec {
    	width: 64% !important;
    	display: inline-block;
	}
	.col-4.usedCarInfoBox, .col-4.diversewidgets {
		width: 33% !important;
		display: inline-block;
	}
}
@media screen and (max-width: 480px) {
	.usedCarInfo.et_pb_column {
		width: 47.25% !important;
		margin-bottom: 0 !important;
	}
	.phone-call-column {
		margin-bottom: 20px !important;
	}
}

/*----------- Contact form -----------*/
p.et_pb_contact_field {
	padding: 0 0 0 25px;
    margin-bottom: 25px;
}
.et_pb_contact_form, .wpcf7-form {
    margin-left: -25px;
}
.et_contact_bottom_container {
    margin-top: 0; 
}
[data-id="formular"] {
	display: none;
}
@media screen and (max-width: 600px) { 
	.el_modal_popup .el_modal_popup_header_title {
	    font-size: 18px;
    	word-break: normal;
	}
	.el_modal_popup .et_pb_contact_field_half {
		width: 100%;
	}
	.el_modal_popup .el_modal_popup_inner_wrap {
		width: 100%;
	}
}
/*----------- Contact Form 7 -----------*/
.wpcf7-spinner {
	position: absolute;
  	right: 96px;
  	margin-top: 12px;
}
.wpcf7 form .wpcf7-response-output {
	margin: 5em 0 0 3%;
}

/*----------- Footer widgets -----------*/


/* ----------- Footer Credits ----------*/
.powered-by {
    position: relative;
    margin-right: 100px;
}
.powered-by a {
    color: #d6d6d6 !important;
    font-size: 9px;
    position: relative;
    top: -5px;
}
.powered-by img {
    height: 20px;
    margin-right: 10px;
    position: relative;
    top: 6px;
}
.powered-by .company-name {
    color: #00e1ea;
}
/* ------------ Blog post ------------ */

.single .et_pb_fullwidth_section .et_pb_title_featured_container {
	overflow: hidden;
	max-height: 600px;
}
.et_pb_fullwidth_section .et_pb_post_title {
	padding-bottom: 0;
	padding-top: 0;
}
.et_pb_title_container {
	padding-top: 40px;
}
.et_pb_post_header_image_container img {
	width: 100%;
}
.single .et_pb_post,
.single .post,
#left-area {
	margin-bottom: 0;
	padding-bottom: 0;
}
.et_pb_blog_grid .et_pb_post {
	padding-bottom: 19px;
}
.et_pb_pagebuilder_layout.single-post:not(.et-tb-has-body) #main-content .et_pb_row {
    width: 80%;
}

/* Blog posts overview - box-grid-same-height */

.box-grid-same-height>div {
		display: flex;
		flex-wrap: wrap;
}
.box-grid-same-height article.et_pb_post {
	  border: 1px solid #d8d8d8;
    padding: 19px;
    background-color: #fff;
    word-wrap: break-word;
}
.box-grid-same-height .et_pb_post a img {
	  min-width: 100%;
    max-width: 100%;
    height: 211px !important;
    overflow: hidden;
    object-fit: cover;
}
.box-grid-same-height .entry-featured-image-url {
		position: relative;
	  margin: -20px -20px 29px;
}
@media screen and (min-width: 768px) {
	.box-grid-same-height>div {
			column-gap: 6%
	}
	.box-grid-same-height article.et_pb_post {
			flex: 0 0 47%;
			max-width: 47%;
	}
}
@media screen and (min-width: 981px) {
	.box-grid-same-height>div {
			column-gap: 5%;
	}
	.box-grid-same-height article.et_pb_post {
			flex: 0 0 30%;
			max-width: 30%;
	}
}


/* Timeline layout */
.vertical-line-top {
    top: 0;
    bottom: 0;
    position: relative;
    content: " ";
    width: 1px;
    background-color: #000;
    left: 50%;
    height: 60px;
}
.vertical-line-bottom {
    top: 0;
    bottom: 0;
    position: relative;
    content: " ";
    width: 1px;
    background-color: #000;
    left: 50%;
    height: 120px;
}
/* ------------ Collapsible mobile menu ------------ */
@media only screen and (max-width: 1200px) {
	#main-header .et_mobile_menu li ul.sub-menu {
		display: none !important;
	}
	#main-header .et_mobile_menu li ul.sub-menu.menu-open {
		display: block !important;
	}
	.et_mobile_menu li {
		position: relative;
	}
	.open::after {
		right: 0;
		position: absolute;
		top: 0;
		z-index: 100;
		padding: 10px 20px;
		background: #ebebeb;
		content: "\002B";
	}
	.active::after {
		content: "\2212";
	}
	.et_mobile_menu .menu-item-has-children>a {
		font-weight: inherit;
		background-color: transparent;
	}
	.et_mobile_menu {
		padding-bottom: 70px;
	}
	.menu-cta-book-service {
		bottom: 15px;
		position: absolute !important;
		width: 215px;
		text-align: center;
		margin: 0 auto;
	}
}

/* ------------ 404 Errorpage ----------*/


/* ------------ Print Detail Page ----------*/
@media print {
	/* Hide: External widgets */
  	.btWidgetPopup-minimized__container, .btWidgetPopup, .btEmbeddedWidget, .btWidgetPopup-minimized, .bt-widget-container, .grecaptcha-badge, .auws-cta-area-body, .auws-engagement-widget, #Coi-Renew, .lg-widget-container, #CookiebotWidget {
    	display: none !important;
  	}
  	iframe[title="Weply chat"] {
		visibility: hidden !important;
 	}
  	/* Hide: General layout */
  	#top-header, #main-header, #et-top-navigation, .toolbar, .call-me-column, .bdt-action-btn-row, #FeaturedVehicles, #main-footer, .read-more-link, .bdt .badge, .lg-toolbar, .lg-icon, .bticon, .hide-print, .footer-map, #Contact br, .bt-slideshow-thumbnails, .inline-gallery-container, .bt-slideshow-video, .bt-slideshow-viewport>span, .pa-toggle-text .et_pb_text_inner:after, .pa-text-expand-button, .car-detail-address .et_pb_text_inner:before, body .bt-slideshow-viewport>img:not(:first-of-type) {
    	display: none !important;
  	}
	/* END Hide section */
	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;
	}
	body .et_pb_column .et_pb_module {
		margin-bottom:0 !important;
	}
	body .bt-slideshow-viewport {
		display: block !important;
		width: 100%;
	}
	body .bt-slideshow-viewport>img
	{
		opacity: 1 !important;
		z-index: 2 !important;
	}
	body .et_pb_section {
		padding-bottom:10pt !important;
	}
	body .et_pb_section>div {
		padding-top:3pt;
		padding-bottom:5pt;
	}
	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;
	}
	.bdt_price_big {
		font-size: 22pt !important;
	}
	.specifications-row {
		padding-top: 20px !important;
		padding-bottom: 0 !important;
	}
	.usedCarInfoRow  {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		width: 100% !important;
	}
	.usedCarInfo.et_pb_column_1_4 {
		width: 48% !important;
		margin-right: 2% !important;
	}
	.usedCarInfo.et_pb_column_1_6 {
		width: 20% !important;
		margin: 0 !important;
	}
	#main-header .container {
		margin: 0 0 20px;
	}
	.phone-call-column {
		width: 100% !important;
	}
	.price-row {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	.usedCarInfoBox {
		border: 0px solid !important;
	}
	.SpecificationsSection {
		page-break-before: always;
	}
	.SpecificationsSection .contentColumn h5 {
		padding-bottom: 0 !important;
	}
	.specificationsGroup .contentColumn {
		margin-left: 0 !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;
	}
	.usedCarInfoBox .carDetailModule {
		width:100% !important;
	}
	.car-detail-address {
		text-align: center !important;
		line-height: 1.2;
	}
	.car-detail-address br:last-child {
		display: block;
		height: 1px;
		margin: 0px;
	}
	.pa-toggle-text .et_pb_text_inner {
		max-height: 100% !important;
	}
}