/*
Theme Name: Divi-child
Template: Divi
Text Domain: Divi-child
*/

@import url("../Divi/style.css");

body, input, textarea, select {color:#666666; font-weight:300!important; font-family: "Roboto",Helvetica,Arial,Lucida,sans-serif;}
body {font-size:18px;}
#page-container, #main-header, #top-header {max-width:1440px; margin-left:auto; margin-right:auto;}
#top-header .icon-conf {display:none;}
.icon-conf img {width:30px; float:left;}
#footer-bottom .et-social-icon a {line-height:30px; height:30px; display:block; float:left;}


/* STRUTTURA - CLEAR */

.et_pb_section  {position:relative;}
p {padding-bottom: 0;}
.et_pb_row, .container {width: 90%;}

/* STILI*/
.red  {color:#FE0000!important;}
.black  {color:#000!important;}
.grey  {color:#666!important;}
.dark-grey  {color:#333!important;}
.white  {color:#fff!important;}
.bg-light-grey {background:#E0E0E0!important;}
.bg-grey  {background:#666666!important;}
.bg-red  {background:#FE0000!important;}

.light-weight  {font-weight:300!important;}
.normal-weight  {font-weight:400!important;}
.medium-weight  {font-weight:500!important;}
.semibold-weight  {font-weight:600;}
.bold, bold, .strong, strong  {font-weight:700;}

.et_pb_column_1_3 h1, .et_pb_column_1_4 h1 {font-weight:300;}
.et_pb_column_1_3 h1 strong, .et_pb_column_1_4 h1 strong {font-weight:400;}

.small{font-size:14px;}
.normal{font-size:16px;}
.medium {font-size:22px;}
.large {font-size:30px!important;}
.extralargelarge {font-size:38px!important;}
h1.extralarge, .et_pb_column_1_3 h1, .et_pb_column_1_4 h1 {font-size:36px!important;}
h1, h1.large, .et_pb_blurb .et_pb_blurb_container h4 {font-size:32px!important;}
.template-call-to-action.impianti h4 {font-size:26px!important; line-height:100%; margin-bottom:15px;}

h1.medium, h2, .et_pb_promo .et_pb_promo_description h2 {font-size:26px!important;}
.tit-small, p .tit-small  {font-size:14px; color:#333; text-transform:uppercase; line-height:16px!important; font-weight:500!important; line-height:18px!important;}


@media (max-width: 980px)  {
.extralargelarge, h1.extralarge {font-size:32px!important;}
h1, h1.large, .et_pb_column_1_3 h1, .et_pb_column_1_4 h1, {font-size:30px!important;}
h1.medium, h2, .et_pb_blurb  .et_pb_blurb_container h4 {font-size:26px!important;}
}
@media (max-width: 520px)  {
.extralargelarge, h1.extralarge  {font-size:28px!important;}
h1, h1.large, .et_pb_column_1_3 h1, .et_pb_column_1_4 h1, {font-size:28px!important;}
h1.medium, h2, .et_pb_blurb  .et_pb_blurb_container h4 {font-size:24px!important;}
}

/* HEADER-FOOTER */
#top-header  #et-info { float: right;}
#main-header {background:#fff!important;box-shadow: 0 0 0 rgba(0, 0, 0, 0);}
#footer-bottom {background:#fff!important; text-align:center;}
#footer-bottom #footer-info {margin-left:auto; margin-right:auto; text-align:center; display:inline-block; float:none; clear:both; width:100%;}
#et-info-phone::before {content:"";}
.footer-widget, .footer-widget li, .footer-widget li a {font-size:14px!important; font-weight:400;}

@media (min-width: 981px) {
#logo {max-height: 105px!important; margin:10px 0!important;}
.et_header_style_left #et-top-navigation {padding: 45px 0 70px 0!important;}
.et_header_style_left #et-top-navigation nav > ul > li > a { padding-bottom: 5px!important; border-bottom:2px solid #fff;}
li.current-menu-item a, .et_header_style_left #et-top-navigation nav > ul > li > a:hover  {border-bottom:2px solid #FE0000!important;}
#top-menu li {padding-right:25px;}
#top-menu > li:last-child {padding-right: 0;}
#top-menu li, #top-menu li a { font-size: 19px;}
#top-menu li li a {padding:0;}
#main-header .nav li ul {background-color: #666!important;}
#main-header .nav li ul li a {padding-bottom:10px; margin-bottom:10px; border-bottom:1px solid rgba(255, 255, 255, 0.5)!important; font-size:17px; color: #fff!important; line-height:110%; font-weight:400;}
#main-header .nav li ul li a:hover {color: #FE0000!important;}
.et-fixed-header #top-menu li.current-menu-ancestor > a, .et-fixed-header #top-menu li.current-menu-item > a {color: #FE0000!important;}
#top-menu .menu-item-has-children > a:first-child::after, #et-secondary-nav .menu-item-has-children > a:first-child::after {content: "";}
#top-menu .menu-item-has-children > a:first-child, #et-secondary-nav .menu-item-has-children > a:first-child {padding-right: 0px;}
}
@media (min-width: 981px) and (max-width: 1200px)  {

.et_header_style_left #et-top-navigation {padding: 35px 0 60px 0!important;}
#top-menu li {padding-right:15px!important;}
#top-menu > li:last-child {padding-right: 0!important;}
#top-menu li, #top-menu li a {font-size: 16px!important;}
}
@media (min-width: 1280px) {
#top-menu li {padding-right:40px;}
}

@media (max-width: 980px)  {
#top-header {display:none;}
#logo {max-height: 86%!important;}
.et_header_style_left .et-fixed-header #et-top-navigation, .et_header_style_left #et-top-navigation {padding-top:35px!important;}
.et_header_style_split .mobile_menu_bar, .et_header_style_left .mobile_menu_bar {padding-bottom:35px!important;}
.mobile_menu_bar::before {color:#000!important;}
.et_mobile_menu li a {color:#fff!important;}
.et_mobile_menu {padding:30px; border-top:3px solid #fff;}
.et_mobile_menu li {border-bottom:1px solid rgba(255, 255, 255, 0.5);}
.et_mobile_menu li a {font-size:17px; font-weight:400; padding:10px 15px; border-bottom:none;}
.et_mobile_menu .menu-item-has-children > a {background-color: rgba(0, 0, 0, 0);  font-weight: 400;}
.et_mobile_menu li ul.sub-menu li {border-bottom:none;}
.et_mobile_menu li ul.sub-menu li a {font-size:15px;}
}

/* VISORE HEADER */
.slider-header {padding:0;}
.slider-header .et_pb_slide_description  {text-align:left;}

/* Gallery home */
.slider-header-home  {padding:0;}
.slider-header-home .et_pb_slide_description  {text-align:left;}
.slider-header-home .et_pb_slides .et_pb_container {width: 100%!important; max-width: 1480px!important; height:auto; max-height:2000!important;margin: 0 auto;}
.slider-header-home  .et_pb_slide {padding: 0!important; width: 100%!important; position:relative;}
.slider-header-home  .et_pb_slides .et_pb_container .et_pb_slide_image {position:relative;top: auto!important; bottom: auto; margin: 0 auto!important; padding:0!important;width: 100%!important; max-width: 1280px!important;}
.slider-header-home  .et_pb_slides .et_pb_container .et_pb_slide .et_pb_slide_image { width:100%!important; margin: 0!important;  max-width:1480px!important;
}
.slider-header-home  .et_pb_slide_image img  {height:auto!important; max-height:967px!important; width: 100%!important; max-width: 1480px!important;}
.slider-header-home  .et_pb_slide_description {position: absolute!important; width: 100%!important; margin:0 auto!important; bottom:50px; z-index:100;}
.slider-header-home  .et_pb_slide_description, .et_pb_fullwidth_slider_0 .et_pb_slide .et_pb_slide_description, .slider-header-home .et_pb_slider_fullwidth_off .et_pb_slide_description  {text-align:left!important; padding:0!important;}
.slider-header-home .et_pb_slide_content, .slider-header-home .et_pb_slide_title {padding: 0 20px!important;}

.slider-header-home  .et_pb_slide_description, .slider-header-home  .et_pb_slider_fullwidth_off .et_pb_slide_description {padding: 0!important;}

/* GALLERIA */
.et_pb_gallery_grid .et_pb_gallery_title {display:none;}

/* ICONE */
.icon-header {width:118px; top:-140px; right:25px;  position:absolute; z-index:999; }
.icon-header.icon-header-top {top:-40px;}
.icon-header.icon-header-top-cat {width:135px; top:-20px;}
.icon-circle img {-webkit-border-radius: 100%;-moz-border-radius:100%;border-radius: 100%;}
@media (max-width: 980px)  {.icon-header {top:-90px; width:90px;} .icon-header.icon-header-top {top:-30px;} .icon-header.icon-header-top-cat {width:100px; top:-5px;}}
@media (max-width: 520px)  {.icon-header {top:-90px; width:60px;} .icon-header.icon-header-top {top:-30px;}}

/* BOTTONI*/
.btn-master {padding:5px 15px; border-bottom:3px solid #333333;text-transform:uppercase; font-weight:300; color:#FF0000; }
.btn-master:hover {border-bottom:3px solid #FF0000; color:#333; }

/* LISTA */
ul.list {list-style-type:none; padding:0; margin:15px 0;}
ul.list li {padding-left:25px; padding-bottom:20px; margin-bottom:20px; border-bottom:2px solid #E0E0E0; background: url('/wp-content/uploads/2017/03/ico-point.png') no-repeat left 8px;}

/* CONTENUTI*/

.template-call-to-action .et_pb_promo, .template-call-to-action .et_pb_blurb  .et_pb_blurb_container  {padding:30px!important;}

.et_pb_blurb  .et_pb_blurb_container, .et_pb_promo .et_pb_promo_description  {font-size:16px; font-weight:300; line-height:140%;}
.et_pb_blurb  .et_pb_blurb_container h4, .et_pb_promo .et_pb_promo_description h2 {font-weight:400;}
.et_pb_blurb  .et_pb_blurb_container h4:hover a {color:#FF0000!important;}

.template-call-to-action.evidence .et_pb_column  {margin-top:40px!important;}
.template-call-to-action.evidence .et_pb_blurb  .et_pb_main_blurb_image {top:-90px; margin:auto; position:absolute; z-index:100; left:0; right:0;}
.template-call-to-action.evidence .et_pb_blurb  .et_pb_main_blurb_image img {border:3px solid #fff; max-width:180px; max-height:180px; -webkit-border-radius: 100%; -moz-border-radius: 100%; border-radius: 100%;}
.template-call-to-action.evidence .et_pb_blurb  .et_pb_blurb_container {padding-top:40px!important;}
.template-call-to-action.impianti .et_pb_column  {margin-top:40px!important;}
.template-call-to-action.impianti .et_pb_blurb  .et_pb_main_blurb_image {top:-50px; margin:auto; position:absolute; z-index:100; left:0; right:0;}
.template-call-to-action.impianti .et_pb_blurb  .et_pb_main_blurb_image img {max-width:100px;}
.template-call-to-action.impianti .et_pb_blurb  .et_pb_blurb_container {padding-top:40px!important;}

.et_pb_blurb .btn-master {margin:30px auto 15px auto; display: inline-block;}
.et_pb_promo .et_pb_promo_button.et_pb_button, .et_pb_promo .et_pb_promo_button.et_pb_button:hover {padding:5px 15px; border:none; border-bottom:3px solid #333333; text-transform:uppercase; font-weight:300; color:#FF0000!important; background:none!important; -webkit-border-radius: 0!important; -moz-border-radius:0!important; border-radius: 0!important;}
.et_pb_promo .et_pb_promo_button.et_pb_button:hover  {border-bottom:3px solid #FF0000; color:#333; background:none!important;}
.template-call-to-action.competenze .et_pb_promo .et_pb_promo_button.et_pb_button, .template-call-to-action.competenze .et_pb_promo .et_pb_promo_button.et_pb_button:hover 
{padding:5px 0px!important;}

@media (max-width: 767px)  {
.template-call-to-action.evidence  .et_pb_column  {margin-top:100px!important;}
.template-call-to-action.evidence .et_pb_blurb  .et_pb_main_blurb_image {top:-70px; margin:auto; position:absolute; z-index:100; left:0; right:0;}
.template-call-to-action.evidence .et_pb_blurb  .et_pb_main_blurb_image img {max-width:140px; max-height:140px;}
.template-call-to-action.evidence .et_pb_blurb  .et_pb_blurb_container {padding-top:90px!important;}
}

.border-radius,  .template-call-to-action .et_pb_column, .template-call-to-action .et_pb_blurb  {-webkit-border-radius: 20px!important;-moz-border-radius: 20px!important; border-radius: 20px!important;}

#footer-bottom .container {text-align:center;}
ul.et-social-icons { float: none; margin:0 auto; text-align:center; display:inline-block;}
ul.et-social-icons li { float: none; margin:0 auto; text-align:center; display:inline-block;}