/*
 Theme Name:     Divi Child Theme
 Theme URI:      http://www.elegantthemes.com
 Description:    Child Theme for Divi Theme by Elegant Themes
 Author:         Divi.world
 Author URI:     http://divi.world
 Template:       Divi
 Version:        1.0.0
*/

/* ------------------------------------------------------- */
body.mhmm-sticky-top {
    padding-top: 108px !important;
}
.et_pb_mhmm_inline_menu nav > ul > li > ul {
    background: #fff;
}
/**
 * 	Fonts
 */
body #main-content .arrow-list ul:not(.menu) li, 
body #main-content .arrow-list ul,
body #main-content .arrow-list ul:not(.menu) {
    list-style: none;
    /*margin-left: 0;
    padding-left: 0;*/
}

body #main-content .arrow-list ul:not(.menu) {
	margin-top: 5px;
}
body #main-content .arrow-list ul:not(.menu) li {
	position: relative;
	padding-left: 10px;
	padding-bottom: 10px;
}

body #main-content .arrow-list ul:not(.menu) li:before {
	content: '→';
	position: absolute;
	margin: 0 10px 0 0;
	left: -1em;
}
body #main-content .arrow-list ul:not(.menu) li {
    
}

/**
 * 	Helper
 */
.align-center {
    text-align: center;
}

/**
 * 	Inputs
 */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 30px #f5f5f5 inset !important;
}
body .et_pb_contact_form_container .input.et_contact_error,
.et_pb_contact p .et_contact_error {
    border-top: none !important;
    border-right: none !important;
    border-bottom: 1px solid #ff2e9a !important;
    border-left: none !important;
}

/**
 * 	Navigation
 */
ul.menu > li.menu-item.current-menu-ancestor.current-menu-parent {
    font-weight: 400;
}
body .et_pb_image_0_tb_header {
    padding-right: 0;
    padding-left: 0;
    width: 100%;
    max-width: 200px;
}

/* show mobile menu at 1042px vw */
@media (max-width: 1042px){
	body .et_pb_mhmm_inline_menu {
	    display: none;
	}
	body .et_pb_mhmm_menu.et_pb_mhmm_menu_1 {
	    display: block;
	}
}
@media(max-width: 800px){
	header#mhmm .et_pb_module.et_pb_image.et_pb_image_1,
	header#mhmm .et_pb_image img,
	header#mhmm .et_pb_image_0_tb_header,
	header .et_pb_module.et_pb_image.et_pb_image_1,
	header .et_pb_image img,
	header .et_pb_image_0_tb_header {
	    width: 100%;
	    max-width: 100%;
	}
}

@media (min-width: 1043px){
	ul.menu > li.menu-item > a:after {
	    content: '';
	    width: 7px;
	    height: 7px;
	    border-radius: 100%;
	    background: #000000;
	    position: relative;
	    display: block;
	    top: -2px;
	    opacity: 0;
	    left: 1px;
	}
	ul.menu > li.menu-item.current-menu-ancestor.current-menu-parent > a:after {
	    opacity: 1;
	}
}
@media (max-width: 1043px){
	ul.menu > li.menu-item.current-menu-ancestor.current-menu-parent > a,
	ul.menu > li.menu-item.current-menu-ancestor.current-menu-parent ul li.menu-item.current-menu-item a {
		font-weight: bold;
	}
	
}

/**
 * 	Blog boxes
 */
.et_pb_salvattore_content article .entry-title {
    min-height: 220px;
} 
@media (max-width: 1168px){
	.et_pb_salvattore_content article .entry-title {
	    min-height: 250px;
	}
}

/**
 * 	Blog Boxes Alternative
 */
.et_pb_with_border.et_pb_module.et_pb_blog2_0_tb_body.et-zoom-in.et_clickable.et_pb_blog_grid_wrapper {
    overflow: visible;
}
.author-container img.avatar {
    border-radius: 100%;
}
p.author-name {
    font-family: 'Akkurat',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: rgba(40,40,40,0.6);
    letter-spacing: 1px;
    line-height: 2em;
}
.blog-alternative h2.entry-title {
    text-align: center;
    width: 100%;
    margin-top: 20px;
    min-height: 110px;
}
.et_pb_salvattore_content.blog-alternative article:hover {
    transform: translateX(0) translateY(-5px)!important;
    -webkit-transform: translateX(0) translateY(-5px)!important;
    transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
}
.et_pb_salvattore_content.blog-alternative article {
    transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
}
.blog-alternative .et_pb_image_container, 
.blog-alternative .et_pb_image_container a {
    margin-top: 0;
    margin-bottom: 0;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    max-height: 190px;
}
.blog-alternative article {
	padding-bottom: 0;
}
.et_pb_blog_grid .blog-alternative .et_pb_post {
    padding-bottom: 0;
}


@media(max-width: 800px){
	h1.et_pb_module_header {
	    word-break: break-word;
	}
	
	ul.blocks-gallery-grid > li.blocks-gallery-item:nth-of-type(2n) {
	    display: none;
	}
	body ul.blocks-gallery-grid > li.blocks-gallery-item, 
	body ul.blocks-gallery-grid > li.blocks-gallery-item:last-child {
	    width: 100%;
	    margin: 0 16px 16px 0;
	}
}
