/*
 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;
}
@media screen and (max-width: 980px) {
	.et_pb_fullwidth_section {
		padding: 0;
	}
}

/** 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;
}

/*------------ 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;
}
#top-menu li {
    padding-right: 11px;
    padding-left: 11px;
}
#top-menu li.menu-cta {
    padding-right: 0px;
    padding-left: 0px;
	margin-right: 11px;
    margin-left: 11px;
}

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

tr:nth-child(odd) {
    background-color: #fff;
}
tr:nth-child(even) {
    background-color: #f2f2f2;
}
.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;
}

/*----------- Contact form -----------*/
p.et_pb_contact_field {
	padding: 0 0 0 25px;
    margin-bottom: 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%;
	}
}

/* ----------- 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;
}

/* ------------ Collapsible mobile menu ------------ */
@media only screen and (max-width: 980px) {
	#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;
	}
}
.et-fixed-header #top-menu li.current-menu-ancestor.same-page-item>a,
.et-fixed-header #top-menu li.current-menu-item.same-page-item>a,
.et-fixed-header #top-menu li.current_page_item.same-page-item>a,
#top-menu li.same-page-item>a {
	color: inherit !important;
}