/*
 Theme Name: Divi-materialport
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

strong {
font-weight: 600;
}

body h1 {
font-size: 46px;
line-height: 50px;
letter-spacing: -1px;
}
body h2 {
font-size: 32px;
line-height: 39px;
letter-spacing: -1px;
}
body h3 {
	font-size: 18px;
	letter-spacing: -0.2px;
}
body .small-headline, body .small-headline p {
	font-size: 14px;
	line-height: 21px;
	font-weight: 500;
}
.small-headline a {
	font-size: 14px;
}
.smaller-line p {
	padding-bottom: 6px;
}

.et_pb_row, .container {
width: 90%;
}

#top-header {
	display: none;
}
#et-secondary-menu {
position: absolute;
right: 0;
margin-top: -16px;
}
#et-secondary-nav {
	transform: translateY(-17px);
}

#et-secondary-menu li:first-child a {
	background: #243A48;
	color: white;
	padding: 10px 18px;
	border-radius: 7px;
	font-weight: 400;
	border: 2px solid rgba(195, 203, 208, 0.2);
}
#et-secondary-menu li:first-child a:hover {
	background: #344956;
	color: white;
}
#et-secondary-menu a {
	font-weight: 500;
	color: #4c5e69;
}
#et-secondary-menu>ul>li>a:hover, #et-info-email:hover {
opacity: 1;
color: #243A48;
}

#main-header .gtranslate_wrapper {
	display: inline-block;
	margin-right: 10px;
}
#main-header .gt_float_switcher img {
	display: none;
}
#main-header .gt_float_switcher {
	font-size: 14px;
	color: #4C5E69;
	box-shadow: none;
	background: transparent;
}
#main-header .gt_float_switcher .gt-selected {
	float: right;
	background: transparent;
}
#main-header .gt_float_switcher .gt_options {
	max-width: none;
	transition: all .6s linear;
}
#main-header .gt_float_switcher .gt_options.gt-open {
	transform: translateY(3px);
}
#main-header .gt_float_switcher .gt-selected .gt-current-lang {
	color: #4C5E69;
}
#main-header .gt_float_switcher .gt-selected .gt-current-lang:hover {
	color: #243A48;
}
#main-header .gt_float_switcher .gt_options a {
	border-radius: 5px;
}
#main-header .gt_float_switcher .gt_options a:hover {
	background: #EFF3F6;
	color: #243A48;
}



#logo {
max-height: 42%;
}

.et_fixed_nav #main-header {
box-shadow: none;
/*backdrop-filter: blur(21px);*/
}


#top-menu a, .et_mobile_menu a, .et_mobile_menu .menu-item-has-children>a {
font-weight: 500;
color: #4C5E69;
transition: all 0.3s;
-moz-transition: all 0.2s;
-webkit-transition: all 0.2s;
}
#top-menu li li a {
	line-height: 24px;
    padding-top: 9px;
    padding-bottom: 8px;
}
#top-menu-nav>ul>li>a:hover, #top-menu a:hover, .et_mobile_menu li a:hover {
opacity: 1;
color: #243A48!important;
text-decoration: underline;
}
.et_mobile_menu li a:hover {
	text-decoration:none;
}
.nav ul li a:hover, .et_mobile_menu li a:hover, .et_mobile_menu .menu-item-has-children>a {
background-color: transparent;
opacity: 1;
}
#top-menu .sub-menu li:first-child .sub-menu li a {
color: #243A48;
background-color: #EFF3F6;
padding: 16px 22px;
border-radius: 8px;
margin-bottom: 7px;
width: 92% !important;
}
/*#top-menu .sub-menu li:first-child .sub-menu li a:after {
	content: "";
	background: transparent url("/wp-content/themes/Divi-materialport/images/arrow.png") no-repeat;
	background-size: cover !important;
    position: absolute;
    width: 16px;
    height: 16px;
    margin-left: 5px;
    margin-top: 4px;
}*/
#top-menu .sub-menu li:first-child .sub-menu li a:hover {
	text-decoration: none;
}
#top-menu .sub-menu li:first-child .sub-menu li a:hover, #top-menu .sub-menu li:first-child .sub-menu li.current_page_item a {
background-color: #E4EBF0;
}
#top-menu .sub-menu li:last-child > ul {
	padding-top: 7px;
}


body .quicklinks a {
	margin-right: 34px;
    padding: 6px 5px 10px 0;
	display: inline-block;
	font-size: 14px;
    font-weight: 500;
}
body .quicklinks a:hover {
	text-decoration: underline;
}
body .quicklinks a:after, .bullets.ratkaisut .et_pb_text.et_clickable h3:after {
	content: "";
	background: transparent url("/wp-content/themes/Divi-materialport/images/arrow.png") no-repeat;
	background-size: cover !important;
    position: absolute;
    width: 16px;
    height: 16px;
    margin-left: 4px;
    margin-top: 3px;
}
.bullets.ratkaisut .et_pb_text.et_clickable h3:after {
	background: transparent url("/wp-content/themes/Divi-materialport/images/arrow-white.png") no-repeat;
	margin-left: 5px;
    margin-top: 1px;
}

.hero-small-image .et_pb_image_wrap {
display: flex;
justify-content: center;
align-items: center;
height: 395px;
}
.sub-hero .hero-small-image .et_pb_image_wrap {
	height: 345px;
}

.hero-video {
	box-shadow: 0 0 90px #eff3f6;
}
.hero-video:after {
content: "";
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
border-radius: 25px;
background: rgba(36, 58, 72, 0.4);
}

.clients img {
	width: 160px!important;
}

.bullets.ratkaisut .et_pb_text img {
	width: 24px;
	height: 24px;
}
.bullets.ratkaisut .et_pb_text p:first-child {
	padding-bottom: 5px;
}
.bullets.ratkaisut .et_pb_text {
	font-size: 14px!important;
}
.bullets.ratkaisut .et_pb_text h3 {
	letter-spacing: 0;
	line-height: 18px;
	padding-bottom: 6px;
	font-size: 16px!important;
}
.bullets.ratkaisut.withlink .et_pb_text:hover h3 {
	text-decoration: underline;
}
.bullets.ratkaisut .et_pb_text p:last-child {
	 line-height: 20px;
}

.fifty-row .et_pb_column.et_pb_column_empty {
display: block;
min-height: 270px;
}
.fifty-row .et_pb_column_empty:after {
	content: "";
	position: absolute;
	background: rgba(36, 58, 72, 0.2);
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}
.fifty-row p {
	font-weight: 400;
	font-size: 16px;
}
.fifty-row p a {
	font-weight: 500;
	font-size: 14px;
}
.fifty-row .et_pb_column a:hover {
	text-decoration: underline;
}
.fifty-row ul li {
	margin-bottom: 8px;
    line-height: 25px;
}

.light-text p {
	font-weight: 400;
}

.news-row p {
	font-weight: 400;
}
.news-row p a {
	font-weight: 500;
}
.news-row .entry-title {
	margin-bottom: 5px;
	line-height: 21px;
	padding-left: 5px;
	padding-right: 5px;
}
.news-row .entry-title:hover {
	text-decoration: underline;
}
.news-row .post-content {
	padding-left: 5px;
	padding-right: 5px;
	line-height: 23px;
	padding-bottom: 3px;
}
.news-row .entry-featured-image-url:after {
	content: "";
	position: absolute;
	background: rgba(36, 58, 72, 0.2);
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}
/*adjust the image spacing*/
.et_pb_post .entry-featured-image-url {
	margin: 0;
}
/*keep the zoomed in image inside the image frame*/
.et_pb_blog_grid .et_pb_image_container {
	overflow: hidden;
}
/*add a smooth transition for the zoom effect*/
.et_pb_blog_grid .et_pb_image_container img {
	transition: all 0.95s ease;
	-moz-transition: all 0.95s ease;
	-webkit-transition: all 0.95s ease;
}
/*make the featured image zoom in on hover*/
.et_pb_blog_grid .et_pb_post:hover img {
	transform: scale(1.1);
	-moz-transform: scale(1.1);
	-webkit-transform: scale(1.1);
}

.cky-consent-container .cky-consent-bar {
	background-color: rgba(255,255,255,0.86)!important;
	backdrop-filter: blur(21px);
    -webkit-backdrop-filter: blur(21px);
	box-shadow: 0 -1px 35px 0 #acabab4d!important;
}
.cky-consent-bar .cky-notice-des p {
	line-height: 21px;
}
.cky-notice-btn-wrapper .cky-btn, .cky-prefrence-btn-wrapper .cky-btn {
	border-radius: 7px;
	border-width: 1px;
}
.cky-btn.cky-btn-accept:hover {
	background-color: #0084db!important;
	opacity: 1;
}
.cky-consent-container .cky-consent-bar {
	border-radius: 15px!important;
}

.testimonials img {
	width: 24px;
	height: 24px;
}

.footer-row .nf-form-content .label-above .lightweight {
	font-weight: 400;
}
.nf-field-element input, .nf-field-element select, .nf-field-element textarea {
	padding: 12px 15px;
	border: none;
	border-radius: 6px;
}
#main-footer {
	display: none;
}
.footer-row .contact-text strong {
	color: #243A48;
}
.footer-row .contact-text a.phone {
	margin-left: 12px;
}
.footer-row .contact-text a.email {
	margin-left: 12px;
}
.footer-row .nf-field-label .nf-label-span, .nf-field-label label {
	font-weight: 500!important;
	font-size: 13px;
}
.footer-row .label-above .nf-field-label {
	margin-bottom: 4px;
}
.footer-row #ninja_forms_required_items, .nf-field-container {
	margin-bottom: 15px!important;
}
.footer-row #ninja_forms_required_items, #nf-field-6-container {
	margin-bottom: 10px!important;
}
.nf-form-fields-required {
	font-size: 13px;
    font-weight: 500;
    margin-bottom: 10px;
	display: none;
}
.label-right .nf-field-description {
	position: absolute;
	margin-right: 0 !important;
    left: 176px;
}
.label-right .nf-field-description a {
	font-size: 13px;
}
.label-right .nf-field-description a:hover {
	text-decoration: underline;
}
.label-right .nf-after-field {
	width: 90%;
}
.nf-error-msg, .ninja-forms-req-symbol {
	line-height: 18px;
	font-size: 13px;
}
.label-right .checkbox-wrap .nf-field-element {
	transform: translateY(1px);
}
.footer-row .label-right .nf-field-label {
	padding-left: 0;
}
.ninja-forms-field[type="submit"] {
	margin-top: 15px;
    width: 100%!important;
	cursor: pointer;
    background: #0096FA;
    color: white;
	padding: 18px 24px;
    font-weight: 500;
	font-size: 14px;
}
.ninja-forms-field[type="submit"]:hover {
    background: #0084DB;
}
.nf-response-msg {
	background: white;
    border-radius: 15px;
    padding: 25px;
}
.contect-security-link {
	font-size: 13px;
}
.contect-security-link:hover {
	text-decoration: underline;
}
body .footer-row h3 {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 15px;
}


.contact-text a:hover {
	text-decoration:underline;
}
.contact-text a.phone:before {
	content: "";
    background: transparent url(/wp-content/themes/Divi-materialport/images/phone.png) no-repeat;
    background-size: cover !important;
    position: absolute;
    width: 12px;
    height: 12px;
    margin-left: -19px;
    margin-top: 9px;
}
.contact-text a.email:before {
	content: "";
    background: transparent url(/wp-content/themes/Divi-materialport/images/email.png) no-repeat;
    background-size: cover !important;
    position: absolute;
    width: 12px;
    height: 12px;
    margin-left: -19px;
    margin-top: 9px;
}

.bottom-footer a {
	color: #8A9094;
	font-size: 13px;
	margin-right: 10px;
}
.bottom-footer a:hover {
	color: #243A48;
}

.asiakastarina-row.et_clickable:hover h2 {
	text-decoration: underline;
}

/*landing*/
.tabi {
	color: #29373f;
}
.tabi h3 {
	font-weight: 600;
    font-size: 18px;
}
.tabi .et_pb_all_tabs, ul.et_pb_tabs_controls {
	background-color: transparent;
}
ul.et_pb_tabs_controls {
	max-width: 1200px;
    margin: auto;
	padding-left: 6% !important;
}
.et_pb_tab_active a {
	font-weight: 400;
}
.et_pb_tabs_controls li {
	border-right: none;
}
.et_pb_tabs_controls li a {
	padding: 14px 27px;
}
.tabi .et_pb_tab {
    padding-top: 50px;
}
.tabi .et_pb_tab_content .et_pb_row  {
	width: 100%;
}
ul.et_pb_tabs_controls:after {
	border-top: 1px solid #4c5e69;
}
.tabi .et_pb_tabs_controls li {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	border-bottom: 1px solid transparent;
}
.tabi .et_pb_tabs_controls li:hover {
	background-color: #e4ebf0;
	border-bottom: 1px solid #4c5e69;
}
.tabi .et_pb_tabs_controls li.et_pb_tab_active:hover {
	background-color: #243a48;
}

.polku p {
	font-weight: 400;
}
.polku h3:before, .tabi h3:before {
    border-radius: 50px;
    position: absolute;
    color: white;
    text-align: center;
    padding: 8px;
    width: 30px;
    line-height: 29px;
    font-weight: 400;
    left: -65px;
    top: -16px;
    height: 30px;
    background: #243A48;
    border: 2px solid rgba(195, 203, 208, 0.2);
}
.polku.yksi h3:before, .tabi h3.yksi:before {
	content: "1.";
}
.polku.kaksi h3:before {
	content: "2.";
}
.polku.kolme h3:before {
	content: "3.";
}
.polku.nelja h3:before {
	content: "4.";
}
.polku.viisi h3:before {
	content: "5.";
}
.polku.kuusi h3:before {
	content: "6.";
}
.main-text-content p {
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
}
.main-text-block a {
	text-decoration: underline;
}

body.parent-pageid-547 #top-menu li.refe a {
	color: #243a48;
}

/*uutinen + page*/
body.single #top-menu li.news a {
	color: #243a48;
}
:where(.wp-block-columns.is-layout-flex) {
	gap: 4em;
}
#left-area .et_post_meta_wrapper .imagehere {
	border-radius: 15px;
	width: 700px;
	max-width: 100%;
	position: relative;
}
#left-area .et_post_meta_wrapper img {
	border-radius: 15px;
}
.et_pb_widget ol li, .et_pb_widget ul li {
	margin-bottom: 10px;
}
body.single h1 {
	width: 900px;
	max-width: 100%;
}
.et_pb_widget a {
	color: #4c5e69;
	line-height: 21px;
    position: relative;
    display: inline-block;
}
body.single #main-content, body.page:not(.et_pb_pagebuilder_layout) #main-content {
	background: #EFF3F6;
	border-bottom: 2px solid #E7ECEF;
}
body.single #main-content .container:before {
	width: 2px;
	background-color: #E7ECEF;
}
body.page .entry-content, body.single .entry-content {
	font-size: 16px;
    font-weight: 400;
}
body.page:not(.et_pb_pagebuilder_layout) .entry-content {
	padding-bottom: 90px;
}
body.page:not(.et_pb_pagebuilder_layout) .entry-content img {
	border-radius: 15px;
}
body.page:not(.et_pb_pagebuilder_layout) .entry-content h3, body.single #content-area h3 {
	font-weight: 600;
    line-height: 23px;
	font-size: 18px;
    margin-bottom: 7px;
    margin-top: 10px;
	letter-spacing: -0.1px;
    /*color: #4c5e69;*/
}
body.page #main-content .container:before {
	width: 0!important;
}
body.page #sidebar {
	display: none;
}
body.single h1, body.page:not(.et_pb_pagebuilder_layout) h1 {
	font-size: 34px;
	font-weight: 600;
	margin-bottom: 25px;
	margin-top: 20px;
	line-height: 40px;
}
body.page:not(.et_pb_pagebuilder_layout) .entry-content h2, body.single #content-area h2 {
	font-size: 18px; 
	font-weight: 600;
	line-height: 24px;
	margin-bottom: 7px;
	margin-top: 10px;
	letter-spacing: -0.1px;
}
body.single .entry-content p, body.single .entry-content ul li {
	font-weight: 400;
	color: #243a48;
	width: 900px;
    max-width: 100%;
	line-height: 25px;
}
body.single .entry-content ul li {
	margin-bottom: 5px;
    padding-left: 3px;
}
body.single .entry-content a, body.page:not(.et_pb_pagebuilder_layout) .entry-content a {
	font-weight: 500;
	text-decoration: underline;
}
body .et_pb_widget li a:hover {
	color: #243a48;
}
/*#left-area .et_post_meta_wrapper .imagehere:after {
    content: "";
    position: absolute;
    background: rgba(36, 58, 72, 0.2);
    width: 100%;
    height: 98%;
    left: 0;
    top: 0;
	border-radius: 15px;
}*/

.dark-logo-row img {
	width: 125px !important;
    max-width: 95% !important;
}



@media (min-width: 981px) {
	#main-header #logo {
	max-height: 42%;
	}
	#et-top-navigation {
	float: left;
	}
	#top-menu li.mega-menu>ul {
	width: 52%;
	min-width: 700px;
	left: 185px !important;
	padding: 30px 30px;
	padding-bottom: 25px;
	background-color: white!important;
	border: none;
	border-radius: 20px;
	box-shadow: 0 0 30px rgba(0,0,0,0.07);
	}
	#top-menu li.mega-menu ul .menu-item-has-children>a {
	display:none;
	}
	.et_fixed_nav #et-top-navigation {
	-webkit-transition: all 0s ease-in-out;
	transition: all 0s ease-in-out;
	padding-left: 255px!important;
	}
	#main-header.et-fixed-header {
	box-shadow: none!important;
	backdrop-filter: blur(20px);
	}
	body.single #sidebar {
		padding-top: 30px;
	}
}

@media (max-width: 980px) {
	body h1, body h1.et_pb_contact_main_title, .et_pb_title_container h1 {
	font-size: 36px;
	line-height: 42px;
	}
	body h2 {
	font-size: 24px;
	line-height: 33px;
	letter-spacing: -0.6px;
	}
	.et_mobile_menu li li {
		padding-left: 0
	}
	.et_fixed_nav #main-header {
		position: fixed;
		background-color: rgba(255, 255, 255, 0.9);
		backdrop-filter: blur(21px);
	}
	.et_header_style_left .et-fixed-header #et-top-navigation, .et_header_style_left #et-top-navigation {
		padding-top: 17px;
	}
	.et_divi_100_custom_hamburger_menu .mobile_menu_bar {
		margin-bottom: 19px;
	}
	.hero-small-image .et_pb_image_wrap {
		height: 320px;
	}
	.hero-small-image {
	max-width: 80%;
	width: 420px;
	display: none;
	}
	#main-header .et_mobile_menu {
	background-color: #fff!important;
	/*backdrop-filter: blur(21px);*/
	border: none;
	border-radius: 20px;
	box-shadow: 0 0 30px rgba(0,0,0,0.07);
	}
	#main-header .et_mobile_menu li li.menu-item-has-children>a {
	display:none;
	}
	.bottom-footer .et_pb_column {
		width: 31.3333%;
		margin-right: 3%;
		margin-bottom: 0;
	}
	.bottom-footer .mobile-bottom-row .et_pb_column {
		width: 48%!important;
	}
	.bottom-footer .et_pb_column:last-child {
		margin-right: 0;
	}
	.bullets.ratkaisut .et_pb_column {
		margin-bottom: 20px;
	}
	ul.et_pb_tabs_controls {
		padding-left: 0% !important;
	}
	.clients img {
		width: 110px !important;
	}
	.dark-logo-row {
		padding-bottom: 0;
	}
	.dark-logo-row.last-row .et_pb_column {
		margin-right: 5.5%!important;
	}
	.dark-logo-row.last-row .et_pb_column.et_pb_column_18 {
		margin-right: 0%!important;
	}
	.dark-logo-row img {
		margin-bottom: 20px;
	}
	.fifty-row .et_pb_text_19 {
		margin-bottom: 15px;
	}
}

@media (max-width: 767px) {
	.hero-video:after {
		border-radius: 0;
	}
	.polku h3:before {
		width: 28px;
		height: 28px;
		font-size: 16px;
		left: -60px;
		padding: 7px;
	}
	body.page:not(.et_pb_pagebuilder_layout) .entry-content {
		padding-bottom: 60px;
	}
	body div.et_pb_section.sub-hero {
		background-size: 340%;
        background-position: 50% 0%;
	}
}
@media (max-width: 981px) and (min-width: 767px) {
	body div.et_pb_section.sub-hero {
		background-image: none!important;
	}
}

@media (max-width: 479px) {
    .hero-video.clients .et_pb_column {
        width: 50% !important;
    }
	.bottom-footer .et_pb_column {
		width: 31.3333%!important;
	}
}




/*mobile menu toggle*/

/*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;
}
/*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,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible .sub-menu
 {
	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: #0096FA;
	background: #EFF3F6;
	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;
}

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

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle {
	width: 100%;
    text-align: right;
    padding-right: 10px !important;
}