/*
Theme Name: Divi Child
Theme URI: http://svenskabussglas.enestedt-playground.se/divi-child/
Description: Child theme for the Divi theme
Author: Your Name
Author URI: http://svenskabussglas.enestedt-playground.se
Template: Divi
Version: 1.0.0
*/

/**change hamburger icon to x when mobile menu is open*/

#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before,
.et_pb_module.et_pb_menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
	content: '4d';
}

body .et_pb_button {font-size: 18px;}

/* H2 på Cision artiklar */
body:not(.home) #et-main-area #cision-titel{position: absolute;margin-top: 15%;left: 11.8%;color: #fff !important;font-size: 80px;width: 800px;max-width: 80%;font-weight: 700;}

/*adjust the new toggle element which is added via jQuery*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
ul.et_mobile_menu li.page_item_has_children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.page_item_has_children .mobile-toggle {
	width: 44px;
	height: 100%;
	padding: 0px !important;
	max-height: 44px;
	border: none;
	position: absolute;
	right: 0px;
	top: 0px;
	z-index: 999;
	background-color: transparent;
}

.startsida-news .et_pb_salvattore_content .column:not(:last-child) {
    border-right: 3px solid #FFF;
}

.startsida-news .et_pb_salvattore_content {
    display: flex;
}
.startsida-news .post-meta {text-transform:uppercase;}
/*some code to keep everyting positioned properly*/

ul.et_mobile_menu>li.menu-item-has-children,
ul.et_mobile_menu>li.page_item_has_children,
ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.page_item_has_children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children {
	position: relative;
}


/*remove default background color from menu items that have children*/

.et_mobile_menu .menu-item-has-children>a,
.et-db #et-boc .et-l .et_mobile_menu .menu-item-has-children>a {
	background-color: transparent;
}


/*hide the submenu by default*/

ul.et_mobile_menu .menu-item-has-children .sub-menu,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu {
	display: none !important;
	visibility: hidden !important;
}


/*show the submenu when toggled open*/

ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible {
	display: block !important;
	visibility: visible !important;
}


/*adjust the toggle icon position and transparency*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle {
	text-align: center;
	opacity: 1;
}


/*submenu toggle icon when closed*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after {
	top: 10px;
	position: relative;
	font-family: "ETModules";
	content: '33';
	color: #ffffff;
	background: #023cb3;
	border-radius: 50%;
	padding: 3px;
}


/*submenu toggle icon when open*/

ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after {
	content: '32';
}


/*add point on top of the menu submenu dropdown*/

.et_pb_menu_0.et_pb_menu .et_mobile_menu:after {
	position: absolute;
	right: 5%;
	margin-left: -20px;
	top: -14px;
	width: 0;
	height: 0;
	content: '';
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 20px solid #ffffff;
}


/*adjust the position of the hamburger menu*/

.mobile_menu_bar {
	position: relative;
	display: block;
	bottom: 10px;
	line-height: 0;
}


/*force the background color and add a rounded border*/

.et_pb_menu_0.et_pb_menu .et_mobile_menu,
.et_pb_menu_0.et_pb_menu .et_mobile_menu ul {
	background-color: #ffffff!important;
	border-radius: 10px;
}

/* Ene justeringar */

body header#main-header {box-shadow: none;}

body .entry-content .ingress p{font-size: 21px !important;}

body #et-main-area footer .et_builder_inner_content a, body #et-main-area footer .et_builder_inner_content p {font-size: 18px;}

body .menu-item-2130 a, body .menu-item-2217 a{padding-left: 40px !important;}

.hamburger-menu>.sub-menu>li:last-child {border-right: none;}

.mobile_menu_bar:before {color: #fff;}

body ul#mobile_menu {background-color: #fff !important;}

body ul#mobile_menu a {color: #000;}

.bokatid-select button {
	width: 90px;
	background: none;
	border: 2px solid #1B5EA2;
	padding: 10px 20px;
	font-size: 18px;
	color: #1B5EA2;
	font-weight: 500;
}

.bokatid-select .bokatid-select-element{
	width: 100%;
	width: calc( 100% + 12px );
	display: flex;
}

.bokatid-select .bokatid-select-element select {
	width: 100%;
	padding: 16px 20px 16px 16px;
	color: #000;
	font-size: 18px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border: 0;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	border-radius: 0
}
.bokatid-select {
	/* width: 100%; */
	display: flex;
	justify-content: space-between;
	margin: 0 10%;
}

#page-container:not(.et-fb-iframe-ancestor) #bokatid-wrapper{display: none;}

.bokatid-select .bokatid-select-element::after {
	content: "";
	position: relative;
	top: 28px !important;
	right: 25px;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border: 6px solid transparent;
	border-top-color: #666;
	margin-top: 3px;
	pointer-events: none;
}

.feather-menu{
	background-image: url('https://svenskabussglas.enestedt-playground.se/wp-content/uploads/2023/06/Menu.svg');
	background-size: contain;
	display: block;
	height: 40px;
	width: 40px;
}


li.hamburger-menu a::after {display: none;}

img#logo {
	width: 150px;
}

body #top-menu .mega-menu>ul.sub-menu{min-width: 850px; right: 2% !important; left: unset !important; background: #fff;}

body #top-menu .mega-menu ul.sub-menu{background: #fff;}

body #top-menu li.mega-menu.hamburger-menu>a{padding-bottom: 0 !important;}

body #top-menu li.menu-item{top: -9px;}

body #top-menu .mega-menu ul.sub-menu a {color: #000 !important;}

body #top-menu li.mega-menu.et-hover li ul {
	display: flex;
	flex-flow: column;
	flex-wrap: wrap;
}

body #top-menu li.mega-menu.et-hover .menu-item-2129 ul {height: 300px;}

body #page-container #et-main-area .white-header, body #page-container #et-main-area .white-header p, body #page-container #et-main-area .white-header h1, body #page-container #et-main-area .white-header h2, body #page-container #et-main-area .white-header h3 {color: #fff !important;}

body #top-menu li.mega-menu.mega-menu-parent-3>ul>li{width: 31.33%;}

body #top-menu li.mega-menu>.sub-menu>.menu-item:first-child {width: 37% !important;}

#top-menu li.mega-menu>ul>li>a {padding: 0 12px 10px;}

#top-menu li.mega-menu>ul>li>a:first-child{padding-bottom: 20px !important; border-bottom: 0;}

body #top-menu li a {text-transform: none; font-size: 18px; font-weight: 500;}

body #top-menu li.mega-menu.mega-menu-parent li li{width: unset !important;}

/*body #top-menu li.mega-menu .sub-menu .menu-item:first-child .sub-menu{border-right: 1px solid #b2b2b2;}*/
.hamburger-menu > .sub-menu > li:first-child{border-right: 1px solid #b2b2b2;}
.hamburger-menu > .sub-menu > li:last-child{border-left: 1px solid #b2b2b2;}
/*body #top-menu li.mega-menu .sub-menu .menu-item:last-child .sub-menu{border-left: 1px solid #b2b2b2;}*/

li.mobile-only {display: none !important;}

body #top-menu .menu-item>a{padding-bottom: 10px !important;}

body #top-menu .menu-item.menu-item-1939 a {padding-bottom: 15px !important;}

body #top-menu {padding-bottom: 10px; margin-top: -10px;}

.menu-item-1939 a {
	border: 2px solid #fff;
	padding: 15px;
}

body .menu-item-2129>a {padding-left: 20px !important;}

body .inactive-link>a {pointer-events: none;}

body.home #et-main-area h1{font-size: 64px;}

body:not(.home) #et-main-area h1{font-size: 54px; color: #000 !important; text-align: left; font-weight: 500;}

body:not(.home) #et-main-area h2{font-size: 38px; font-weight: 400; margin-bottom: 10px;}

body.home #et-main-area h2{font-size: 38px; font-weight: 400;}

body #et-main-area h2, body #et-main-area h3 {color: #000 !important;}

body #et-main-area h3{font-size: 26px;}

body #et-main-area h4{font-size: 21px;}

body #et-main-area footer h4 {color: #fff;}

body #et-main-area p {font-size: 18px; font-weight: 400; line-height: 1.5em;}
body #et-main-area #main-content p {color: #000;}

body.home #et-main-area p {font-size: 21px;}
	
body  #et-main-area footer p {font-size: 18px;}

body  #et-main-area footer h2 {font-size: 21px;}

body:not(.page) #et-main-area h1{font-size: 42px; color: #333 !important; font-weight: 600;}



.fotnot-formular {
	font-size: 15px;
	line-height: 110%;
	padding: 5px;
}
[data-id="företagsnamn"] {
	clear: both;
}

p.et_pb_contact_field[data-id="skadedatum"] {
	clear: none;
}

.et_pb_contact_field_3.et_pb_contact_field.top-50[data-type=select]:after {
	top: 50%!important;
}

.entry-content .et_pb_contact_form_0 .input, .entry-content .et_pb_contact_form_0 .input::placeholder {
	font-size: 18px;
	color: #000;
}

.et_mobile_menu{background-color: initial;}

a#CONSTANT_OPEN_URL {margin-top: -30px;}


@media only screen and (max-width: 980px){
	#main-header {background-color: initial;}
}

@media only screen and (max-width: 767px){
	.brbl-smart-post-item-inner {
		align-items: center;
	}
	figure.brbl-smart-post-thumb, figure.brbl-smart-post-thumb a {
		line-height: 0;
	}
	
	body ul#mobile_menu a{border: none !important;}
	
	div#cookie-law-info-bar span {
    	display: flex;
    	flex-flow: column;
	}
	
	body.single-post:not(.home) #et-main-area h1 {
		font-size: 30px;
	}
	.et_pb_column_1_tb_footer, .et_pb_column_2_tb_footer {border-left: none !important;}
	body.home #et-main-area h1{font-size: 52px;}
	body:not(.home) #et-main-area h1 {font-size: 45px;}
	body:not(.home) #et-main-area h2 {font-size: 34px;}
	footer .et_pb_column_1_3, footer .copyright-container p {padding-left: 25px;}
	body ul#mobile_menu {width: 126%; left: -13%;}
	li.mobile-only {display: block !important;}
	li.desktop-only{display: none !important;}
	
	body ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after, .et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after {
		content: '4c' !important;
		color: #023cb3;
		font-size: 28px !important;
		background: none;
		transition: all 0.2s ease-out;
	}
	
	body ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after, .et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after {
	content: '4d'!important;	
	}
	body img#logo{width: unset;}
	body .et_mobile_menu {margin-top: -5px;}
	.et_mobile_menu .menu-item a {font-size: 18px; font-weight: 600;}
	
	body .bokatid-select{flex-flow: column; margin: 0;}
	body .bokatid-select .bokatid-select-element::after{top: 18px; margin: 0 auto;}
	body .bokatid-select .bokatid-select-element{margin: 0 auto;}
	body .bokatid-select button{width: 100%; margin: 0 auto; margin-top: 15px !important; }
	body .mobile_menu_bar:before{font-size: 38px; top: 10px;}

	.et_pb_row {
		width: 95%;
		width: calc( 100% - 40px );
	}
}

body .fullwidth-news .et_pb_row, body .fullwidth-news p{margin: 20px !important;} 