/*
 Theme Name:     Divi Child
 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
------------------------------------------------------- */

/* -NORMALIZZO MENU- */
.container.et_menu_container{height:100px; justify-content: space-between}
.container.et_menu_container>*{box-sizing:border-box; padding:10px !important}
.container.et_menu_container>*:last-of-type{padding-right:0px !important}
.container.et_menu_container>*:first-of-type{padding-left:0px !important}
.container.et_menu_container,
#et-top-navigation,
#top-menu, .et-menu, nav#top-menu-nav, nav.et-menu-nav,
#main-header .et-social-icons{box-sizing:border-box; position:relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-flex: 0; -ms-flex: 0 1 auto; flex: 0 1 auto; align-items: center;}
.et_header_style_left .logo_container{width:auto; position:static}
.et_header_style_left .et-fixed-header #et-top-navigation nav>ul>li>a, .et_header_style_split .et-fixed-header #et-top-navigation nav>ul>li>a,
.et_header_style_left #et-top-navigation nav>ul>li>a, .et_header_style_split #et-top-navigation nav>ul>li>a{padding-bottom:0px !important}
span.logo_helper{display:none}
.et_header_style_left .logo_container{flex:1}
.logo_container a{height:100%; box-sizing: border-box; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-flex: 0; -ms-flex: 0 1 auto; flex: 0 1 auto; align-items: center;}
.container.et_menu_container{-webkit-transition: all 500ms ease; -moz-transition: all 500ms ease; -ms-transition: all 500ms ease; -o-transition: all 500ms ease; transition: all 500ms ease;}
.et-fixed-header .container.et_menu_container{height:60px}
#et-top-navigation{position:static}
.et_header_style_left #et-top-navigation .mobile_menu_bar, .et_header_style_split #et-top-navigation .mobile_menu_bar{padding-bottom:0px}
.et_header_style_left .et-fixed-header #et-top-navigation nav>ul>li>a, .et_header_style_split .et-fixed-header #et-top-navigation nav>ul>li>a, .et_header_style_left #et-top-navigation nav>ul>li>a, .et_header_style_split #et-top-navigation nav>ul>li>a{padding-bottom:10px !important; padding-top:10px !important}
#et-secondary-nav .menu-item-has-children>a:first-child:after, #top-menu .menu-item-has-children>a:first-child:after{top:10px}
@media screen and (max-width: 980px){
.container.et_menu_container{width:100%}
.et_header_style_left #et-top-navigation, .et_header_style_left .et-fixed-header #et-top-navigation{display:flex}
.container.et_menu_container{height:60px}
#top-menu{display: none}
.container.et_menu_container>*{padding:5px !important}
.et_menu_container .et-social-icons{margin:0px 20px 0px 0px}
.et_menu_container .et-social-icon a{line-height:1px; display:block}
.et_mobile_menu{top:60px; max-height: calc(100vh - 60px); box-sizing: border-box; overflow-y: auto;}
#main-header{position:fixed !important}
.et_mobile_menu li a, .nav li li a{font-size:20px}
.container.et_menu_container>*:last-of-type{padding-right:10px !important}
.container.et_menu_container>*:first-of-type{padding-left:10px !important}
.container.et_menu_container .logo_container{padding-top:1px !important; padding-bottom:1px !important}
}
/* -/NORMALIZZO MENU- */

/* -PERSONALIZZO MENU- */
#main-header{border-bottom:7px solid #00a554}
#et-top-navigation{font-weight:500}
#et-top-navigation .current_page_item{font-weight:700}
#et-top-navigation .current_page_item>*:before{content:""; position:absolute; left:0; right:0; bottom:0; background-color:#00a554; height:3px}
#top-menu li{padding-right:50px}
@media screen and (max-width: 1500px){
#top-menu li{padding-right:25px}
}
@media screen and (max-width: 980px){
body #main-header{transition:all 100ms ease !important}
body #main-header.et-fixed-header{top: 0px !important}
body.admin-bar.et_fixed_nav.et_secondary_nav_enabled #main-header.et-fixed-header{top: 32px !important}
}
@media screen and (max-width: 784px){
body.admin-bar.et_fixed_nav.et_secondary_nav_enabled #main-header.et-fixed-header{top: 46px !important}
}
/* -/PERSONALIZZO MENU- */

/* -SOCIAL- */
footer .et-social-icons{margin:0px; padding:0px; display:inline-flex; gap:15px}
footer .et-social-icons li{margin-left:0px}
footer .et-social-icons li a{display:block; width:28px; height:28px; line-height:28px; text-align:center; background-color:#919495; border-radius:50%; color:#fff; font-size: 12px}
/* -SOCIAL- */

html:not(.et-fb-root-ancestor) .slide-servizi{display:none}
html:not(.et-fb-root-ancestor) .btn-servizi{cursor:pointer}
html:not(.et-fb-root-ancestor) .btn-servizi:before{content:''; position:absolute; top:0; left:0; right:0; bottom:0; background-color:rgba(0,165,84,0.8); opacity:0; transition: all 300ms ease}
html:not(.et-fb-root-ancestor) .btn-servizi:not(.active):hover:before,
html:not(.et-fb-root-ancestor) .btn-servizi.active:before{opacity:1}

ul.list-1{list-style:none; padding-left: 20px;}
ul.list-1 li{position:relative}
ul.list-1 li:before{content:"\f0da"; font-family:"fontAwesome"; position:absolute; left:-17px; font-size: 22px; color:#00a554}

.btn-download{overflow:visible}
.btn-download.et_clickable .et_pb_blurb_content{transition: all 300ms ease}
.btn-download.et_clickable:hover .et_pb_blurb_content{opacity:0.7}
.btn-download:after{content:''; display:block; height:1px; background-color:#fff; position:absolute; right:15px; bottom:0; left:15px }
.btn-download:last-child:after{display:none}
.btn-download .et_pb_blurb_content{display:flex; gap:10px; align-items:center}
.btn-download .et_pb_main_blurb_image{margin-bottom:0; width:auto}
.btn-download .et_pb_blurb_container, 
.btn-download .et_pb_module_header{padding:0px !important}

.rpwwt-post-title{font-size: 15px; line-height: 150%; display: block; padding-top:3px}
.rpwwt-post-date{font-size: 13px; line-height: 150%; display: block; opacity:0.8}
.rpwwt-widget ul li img{width:60px; height:60px}