/*
 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
 ELETTROGALVANICA
*/

::-moz-selection { /* Code for Firefox */
  color: #ffffff;
  background: #2c4a92;
}

::selection {
  color: #ffffff;
  background: #2c4a92;
}

html {
  scroll-behavior: smooth;
}

[id]:target {
	scroll-margin-top: 100px; /* o più, se il menu è alto */
}

#main-header, #main-header.et-fixed-header {
  box-shadow: unset !important;
}

#main-header.et-fixed-header {
  border-bottom: 20px solid #fff;
}

.container {
    width: 100%;
    padding: 0 40px;
}

header img, .logo {
  filter: brightness(0) saturate(100%) invert(28%) sepia(10%) saturate(5211%) hue-rotate(191deg) brightness(92%) contrast(93%);
}

#top-menu li a,  body .et-fixed-header #top-menu a {
  color: #2c4a92 !important;
}

#top-menu li.menu-item.menu-item-type-post_type.menu-item-object-page.current-menu-item a {
  color: #2c4a92 !important;
}

#top-menu .sub-menu.hide.visible li.menu-item.menu-item-type-post_type.menu-item-object-page.current-menu-item a {
  color: #ffffff !important;
}

body #top-menu li {
  padding-right: 30px;
}

/* Menu */

.container.et_menu_container {
  max-width: 100%;
}

.et-fixed-header #logo {
    content: url("/wp-content/uploads/2025/01/logoSymbol.png");
    max-height: 30px;
}

body #top-menu-nav > ul > li > a:hover {
  opacity: 1 !important;
  /* color: #2c4a92 !important; */
}


.h1, .h2, .h3, .h4, .h5, .h6, .pb10 p {
  padding-bottom: 10px !important;
}

.sezTitle.titleCenter .et_pb_text_inner {
  margin: auto;
}

/* Menu Hover Effects Style 1 */
#top-menu li.mega-menu > ul > li > a, #top-menu li.mega-menu > ul > li > a:first-child {
  transition: all .3s ease;
  height: 220px;
  display: flex;
  margin: 0;
  padding: 80px 30px 30px 30px !important;
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  color: #fff !important;
}

#top-menu li.mega-menu > ul > li > a:hover, #top-menu li.mega-menu > ul > li > a:first-child:hover {
  background-color: #213b79 !important;
  color: #fff !important;
  opacity: 1;
}

.page-id-432 .mega-menu.mega-menu-azienda .sub-menu.hide.visible .current-menu-item a, body.page-id-432 .et-fixed-header #top-menu .sub-menu.hide.visible li.current-menu-item > a {
  background-color: #2c4a92 !important;
}

.page-id-432 .mega-menu.mega-menu-azienda .sub-menu.hide.visible .current-menu-item a:hover, body.page-id-432 .et-fixed-header #top-menu .sub-menu.hide.visible li.current-menu-item > a:hover {
  background-color: #213b79 !important;
}

body.page-id-432 #top-menu .mega-menu.mega-menu-azienda .sub-menu .menu-item.menu-item-type-custom.menu-item-object-custom.current-menu-item a {
  color: #fff !important;
}

.sub-menu.hide.visible .menu-item.menu-item-type-post_type a::before, .sub-menu.hide.visible .menu-item.menu-item-type-custom.menu-item-object-custom a::before {
  content: "";
  position: absolute;
  background-color: #ccc;
  z-index: 1;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  opacity: 0.2;
}

.sub-menu.hide.visible .menu-item.menu-item-type-post_type a::after, .sub-menu.hide.visible .menu-item.menu-item-type-custom.menu-item-object-custom a::after {
  content: "";
  position: absolute;
  background-color: #ccc;
  z-index: 1;
  width: 1px;
  height: 100%;
  right: 0;
  opacity: 0.2;
  top: 0;
}

.sub-menu.hide.visible .menu-item.menu-item-type-post_type:before, .sub-menu.hide.visible .menu-item.menu-item-type-custom.menu-item-object-custom:before {
  content: "0" counter(my-awesome-counter);
  padding-bottom: 10px;
  display: block;
  color: #fff;
  font-size: 14px;
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 1;
}

#et-top-navigation .nav>li>a {
	position: relative;
	z-index: 1;
}
#et-top-navigation .nav>li>a:before, #top-menu li.current-menu-ancestor > a:before {
    position: absolute;
    content: '';
    display: block;
    z-index: -1;
    background: #2c4a92;
    width: 0;
    height: 4px;
    /* bottom: 35px; */
    bottom: 0;
    border-radius: 3px;
    left: 50%;
    transition: 0.4s cubic-bezier(0.25, 0.1, 0, 2.02);
}

body #top-menu li.current-menu-ancestor > a, body .et-fixed-header #top-menu li.current-menu-item > a, body .et-fixed-header #top-menu li.current_page_item > a,  body .et-fixed-header #top-menu li.current-menu-ancestor > a {
  color: #213b79 !important;
}

.sub-menu.hide.visible .current-menu-item a, body .et-fixed-header #top-menu .sub-menu.hide.visible li.current-menu-item > a, .sub-menu.hide.visible a:hover,  body .et-fixed-header #top-menu .sub-menu.hide.visible a:hover {
  background-color: #213b79 !important;
  color: #fff !important;
}

#et-top-navigation .nav>li>a:hover:before, #et-top-navigation .nav>li.current_page_item a:before, #top-menu li.current-menu-ancestor > a:before {
    width: calc(100% + 5px);
    left: calc(5px / -2);
}

/* .et-fixed-header #et-top-navigation .nav>li>a:before {
    bottom: 20px;
} */

body #top-menu li.current-menu-item > a {
    color: #fff;
}


/* .mobile_menu_bar.mobile_menu_bar_toggle::before {
  color: #fff;
} */

/* Button */
.et_pb_button {
  overflow: hidden;
  height: 55px;
} 

.et_pb_button::after {
    content: "";
    transform: translate(-50%, -50%) rotate(-180deg);
    top: 50%;
    right: 15px;
    background-image: url("/wp-content/uploads/2025/02/arrow-right.png");
    background-position: center center;
    background-size: cover;
    height: 28px;
    width: 15px;
  }

  .btn.et_pb_button.dct_btn_v1 {
    display: flex;
    width: fit-content;
    color: #FFFFFF;
    border-width: 0px !important;
    border-radius: 8px;
    letter-spacing: 2px;
    font-size: 14px;
    font-family: 'Outfit',Helvetica,Arial,Lucida,sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    background-color: #2C4A92;
    justify-content: center;
    align-items: center;
    padding: .3em 50px .3em 30px;
    opacity: 0.9;
  }

  .btn.et_pb_button.dct_btn_v1:hover {
    opacity: 1;
    padding-right: 80px;
  }

  .btn.et_pb_button.dct_btn_v1:after {
    opacity: 1;
  }

.et_pb_button:hover:after {
  right: 15px;
  transform: translate(-50%, -50%);
} 

body .et_pb_button_module_wrapper.et_pb_module .et_pb_button, body #page-container .et_pb_section .et_pb_slider .et_pb_slide_description .et_pb_button_wrapper .et_pb_button.et_pb_more_button {
  opacity: 0.9 !important;
}

body .et_pb_button_module_wrapper.et_pb_module .et_pb_button:hover, body #page-container .et_pb_section .et_pb_slider .et_pb_slide_description .et_pb_button_wrapper .et_pb_button.et_pb_more_button:hover {
  padding-right: 80px !important;
  /* background-color: #000 !important; */
  opacity: 1 !important;
} 


.et_pb_section.sez100Vh {
  height: calc(100vh - 121px);
}

/* Slide Home */

.slideHome .et_pb_slide {
    padding: 0;
}

.slideHome .et_pb_slider_container_inner {
    display: flex;
    flex-direction: row-reverse;
}

.slideHome .et_pb_slide_image {
  width: 100%;
}

.slideHome .et_pb_slide_description {
    max-width: 1600px;
    width: 100%;
    padding: 12% 0 12% 40px;
}

.slideHome .et_pb_slide_description .et_pb_slide_content {
  z-index: 9;
  position: relative;
}

.slideHome .et_pb_slide_image{
    margin-right: 0 !important;
}

.slideHome .et-pb-active-slide .et_pb_slide_image, .et_pb_slide:first-child .et_pb_slide_image img.active {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
  }

 .et_pb_slider.slideHome .et_pb_container {
   max-width: 100%;
  }

  .slideHome .et_pb_slide_image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: right;
  }

  .slideHome .et-pb-controllers a {
    border-radius: 2px;
    width: 40px;
  }

  .slideHome .et-pb-controllers {
    max-width: 1600px;
    display: flex;
    padding: 40px 40px 20px 40px;
    transform: translate(-50%,-50%);
    left: 50%;
  }

  .slideHome .et-pb-controllers a {
    background-color: #cecece;
    opacity: 1;
  }

  .slideHome .et-pb-controllers .et-pb-active-control {
    background-color: #2c4a92;
    opacity: 1;
  }

  .slideHome .et_pb_bg_layout_dark .et_pb_slide_description {
     text-shadow: none;
  }

.slideHome {
  border-bottom: 1px solid #cecece;
}
  
  /* .sezTitle .et_pb_text_inner {
    max-width: 1100px;
  } */

  .icoHome img {
    height: 200px;
    width: auto !important;
    transition: transform .3s; /* Animation */
  }

  .sezIconHome .et_pb_column:hover .icoHome img {
    transform: scale(1.2)
  }

  /* Slide */
  .slick-slide {
    float: left;
    margin-right: 40px;
    margin-bottom: 0;
  }
  
  .wpblog-module .entry-featured-image-url img, .wpblog-module .et_overlay.et_pb_inline_icon, .wpblog-module2 .entry-featured-image-url img, .wpblog-module2 .et_overlay.et_pb_inline_icon {
    border-top-left-radius: 50px;
    border: 2px solid #f0f0f0;
    padding: 40px;
  }

  .wpblog-module .entry-featured-image-url img {
    background-color: #f7f7f7;
  }

  .pagBlog .wpblog-module .entry-featured-image-url img {
    padding: 0;
  }

  .sezSlider.sezSliderApplication .et_pb_post img {
    border: 0;
    padding: 0;
  }

  .wpblog-module .et_pb_post .et_overlay.et_pb_inline_icon, .wpblog-module2 .et_pb_post .et_overlay.et_pb_inline_icon {
    -webkit-transition: all .7s;
    transition: all .7s;
    border: 0;
  }

  .et_pb_row.rowSlide:after, .et_pb_row.rowSlide:before {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    background-color: #cecece;
    content: "";
    height: 100%;
    visibility: visible;
  }

  .et_pb_row.rowSlide.rowSlideBlu:after,  .et_pb_row.rowSlide.rowSlideBlu:before {
    background-color: #2c4a92;
  }

  .et_pb_row.rowSlide {
    overflow: visible;
  }

  .et_pb_row.rowSlide::before {
    position: absolute;
    right: -100%;
    width: 100%;
  }

  .wpblog-module .post-content .post-content-inner p {
      display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .wpblog-module .et_overlay:before, .wpblog-module2 .et_overlay:before {
    top: 90%;
    left: 10%;
    font-size: 50px;
    -webkit-transition: all .9s;
    transition: all .9s;
  }

/* Home applicazioni */

.sezSlider.sezSliderApplication a{
  pointer-events: none;
}

.sezSlider.sezSliderApplication .et_pb_post {
  cursor: default !important;
}

.sezSlider.sezSliderApplication .et_overlay.et_pb_inline_icon {
  display: none;
}

.sezSlider.sezSliderApplication .wpblog-module2 .et_pb_post:hover .entry-title a {
  color: #202020;
}

/* Home applicazioni */

.back-button, .next-button, .back-button2, .next-button2 {
    margin-bottom: 0 !important;
    cursor: pointer;
    margin-left: 50px !important;
    margin-right: 0 !important;
}

.back-button:hover img, .next-button:hover img, .back-button2:hover img, .next-button2:hover img {
  filter: brightness(0) saturate(100%) invert(84%) sepia(1%) saturate(0%) hue-rotate(145deg) brightness(99%) contrast(91%);
}

  /*add a neceassry position to the blog posts*/

  .wpblog-module .et_pb_post, .wpblog-module .et_pb_posts .et_pb_post, .wpblog-module2 .et_pb_post, .wpblog-module2 .et_pb_posts .et_pb_post {
  position: relative;
  }
  
  /*make the title link spread over the entire post*/
  
  .wpblog-module .et_pb_post .entry-title a:after, .wpblog-module .et_pb_posts .et_pb_post .entry-title a:after, .wpblog-module2 .et_pb_post .entry-title a:after, .wpblog-module2 .et_pb_posts .et_pb_post .entry-title a:after {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  }
  
  /*change the mouse cursor into a pointer*/
  
  .wpblog-module .et_pb_post:hover, .wpblog-module .et_pb_posts .et_pb_post:hover, .wpblog-module2 .et_pb_post:hover, .wpblog-module2 .et_pb_posts .et_pb_post:hover {
  cursor: pointer;
  }


  .wpblog-module .et_pb_post .entry-title a, .wpblog-module2 .et_pb_post .entry-title a {
    transition: all .7s;
    }

  .wpblog-module .et_pb_post:hover .entry-title a, .wpblog-module2 .et_pb_post:hover .entry-title a {
    color: #2C4A92;
    }

    /* Parallax Black */

    .parallaxBlack:after {
      position: absolute;
      top: 0;
      left: 0;
      background: rgb(0,0,0);
      background: linear-gradient(-90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%); 
      content: "";
      width: 100%;
      height: 100%;
    }

    .parallaxBlack.parallaxBlackV2:before {
      position: absolute;
      top: 0;
      left: 0;
      background-color: #000000;
      content: "";
      width: 100%;
      height: 100%;
      opacity: 0.2;
      z-index: 2;
    }

      /* Footer */

      footer a {
        color: #fff;
        transition: all .5s ease;
      }

      footer a:hover {
        color: #2C4A92;
      }

      footer .colLoghi {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      footer .colLoghi .et_pb_module.et_pb_image {
        margin-bottom: 0 !important;
        margin-right: 0;
      }

      footer .colLoghi .et_pb_module.et_pb_image img {
        display: block;
        max-width: 100px;
        height: auto;
      }

      footer .colLoghi .et_pb_module.et_pb_image:nth-child(2) {
        margin-left: 30px;
      }

      footer .colLoghi .et_pb_module.et_pb_image:nth-child(3) {
        margin-left: auto;
      }

      body .et_pb_module.et_pb_social_media_follow a.icon {
        background-color: transparent !important;
      }

      body .et_pb_social_media_follow li a.icon:hover::before {
        color: #2c4a92;
      }
      body .et_pb_social_media_follow li a {
        margin-right: 0;
      }

      body .et_pb_social_media_follow li {
        margin-bottom: 0;
      }

/* Timeline */
.bloccoTimeline .et_pb_module_header {
  position: absolute;
  top: 0;
  left: 0;
}

.et_pb_module.et_pb_blurb.bloccoTimeline {
  margin-bottom: 0;
}

.bloccoTimeline .et_pb_main_blurb_image {
  margin-top: 50px;
  margin-left: -12px;
}

.timeline .et_pb_column::after {
  position: absolute;
  height: 100%;
  width: 100%;
  left: -100%;
  content: "";
  background-color: #fff;
}

.bloccoTimeline.et_pb_module.et_pb_blurb::before {
  position: absolute;
  top: 67px;
  left: 0;
  height: 2px;
  background-color: #20202026;
  content: "";
  width: calc(100% + 40px);
}

.sezImageSlider .et_pb_gallery_image.landscape img {
  width: 100%;
  height: 650px;
  object-fit: cover;
}

.sezImageSlider .et-pb-controllers {
  display: none;
}

.et_pb_slider .et-pb-arrow-next, .et_pb_slider:hover .et-pb-arrow-next {
  right: 22px;
  opacity: 1;
  top: 93%;
  filter: brightness(0) invert(1);
}

.et_pb_slider .et-pb-arrow-next:hover, .et_pb_slider .et-pb-arrow-prev:hover {
  filter: brightness(0) saturate(100%) invert(20%) sepia(33%) saturate(3519%) hue-rotate(207deg) brightness(98%) contrast(84%) !important;
}

.slideProduct .et_pb_gallery_image.landscape a {
  pointer-events: none;
}

.slideProduct .et-pb-arrow-next, .slideProduct .et-pb-arrow-prev {
  filter: brightness(0) saturate(100%) !important;
}

.slideProduct .et-pb-arrow-next:hover, .slideProduct .et-pb-arrow-prev:hover {
  filter: brightness(0) saturate(100%) invert(20%) sepia(33%) saturate(3519%) hue-rotate(207deg) brightness(98%) contrast(84%) !important;
}

.et_pb_slider .et-pb-arrow-prev, .et_pb_slider:hover .et-pb-arrow-prev  {
  right: 52px;
  left: unset;
  opacity: 1;
  top: 93%;
  filter: brightness(0) invert(1);
}

.rowCatalogo .et_pb_column {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}

.rowCatalogo .et_pb_column .et_pb_module .et_pb_image_wrap {
  height: 100%;
  overflow: hidden;
  width: 100%;
}

.rowCatalogo .et_pb_column .et_pb_module.et_pb_image img {
  object-fit: cover;
  height: 100%;
  transition: all .5s ease;
  width: 100%;
}

.rowCatalogo .et_pb_column .et_pb_module.et_pb_image {
  height: 280px;
  margin-bottom: 0;
  width: 100%;
}

.rowCatalogo .et_pb_column .et_pb_module.et_pb_image img:hover {
  -webkit-transform: scale(1.25);
  transition: all .5s;
}

.rowCatalogo .et_pb_column .et_pb_module.et_pb_image.top {
  grid-column: span 2;
  grid-row: span 2;
  height: 580px;
}

body .mfp-image-holder .mfp-close {
  opacity: 1;
}

body .mfp-image-holder .mfp-close:hover {
  filter: brightness(0) saturate(100%) invert(27%) sepia(25%) saturate(2343%) hue-rotate(193deg) brightness(92%) contrast(93%);
}

body img.mfp-img {
  max-width: 1200px;
}

body figcaption {
  display: none;
}

/* Contact */
/* FORM */

.accetto {
    font-size: 14px;
    line-height: 17px;
  }
  
  .one-half,
  .one-third {
      position: relative;
      margin-right: 4%;
      float: left;
      margin-bottom: 15px;
  }
  
  .one-halfFull {
      float: left;
      width: 100%;
      margin-bottom: 20px;
  }
   
  .one-half { width: 48%; }
  .one-third { width: 30.66%; }
   
  .last {
      margin-right: 0 !important;
      clear: right;
  }
  
  .wpcf7-text {
      height: 50px;
      width: 100%;
      border: 1px solid #000000 !important;
      background-color: transparent !important;
      padding: 10px !important;
      color: #191919 !important;
      -webkit-border-radius: 0;
      -moz-border-radius: 0;
      border-radius: 0;
      font-size: 14px;
  }
  
  textarea.wpcf7-form-control {
      width: 100%;
      border: 1px solid #000000;
      background-color: transparent;
      padding: 10px;
      color: #000000;
      -webkit-border-radius: 0;
      -moz-border-radius: 0;
      border-radius: 0;
  }
  
  
  
  .wpcf7-response-output {
      border-color: #dc3232 !important;
      color: #fff !important;
      margin-left: 0px !important;
      background-color: #dc3232;
      text-align: center;
      padding: 20px !important;
      box-sizing: border-box;
      border-radius: 0;
      font-size: 18px;
      text-transform: uppercase;
      text-align: left;
      line-height: 1.2;    
  }
  
  .wpcf7 .wpcf7-form.sent .wpcf7-response-output {
      border-color: #12b878 !important;
      background-color: #12b878;
      line-height: 1.3;
      font-weight: 400;
  }
  
  
  
  .wpcf7-form-control.wpcf7-textarea::placeholder {
      color: #000000 !important;
      font-size: 16px;
      opacity: 0.95;
  }
  
  .wpcf7-spinner {
      position: absolute;
  }
  
  .wpcf7-not-valid-tip {
      line-height: 1.2;
      margin-top: 5px;
  }
  
  body .wpcf7-list-item {
      margin: 0;
  }
  
  body textarea.wpcf7-form-control {
      resize: none;
      height: 90px;
      font-size: 16px;
      max-height: 145px;
      min-height: 90px;
  }
  
  
  body textarea {
      background-color: transparent;
      border: 1px solid #202020;
      color: #fff;
      width: 100%;
      max-height: 90px !important;
      padding: 10px;
  }
  
  
  .wpcf7-form label {
    color: #202020;
    margin-bottom: 10px;
    display: block;
    font-size: 16px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
  }
  
  .contatti-full.accetta {
    float: left;
    margin-bottom: 20px;
    width: 100%;
  }
  
  .accetto .accetto2 span.wpcf7-list-item {
      margin-left: 0px;
  }
  
  .linkPrivacy {
    padding-left: 25px;
  }
  
  span .wpcf7-not-valid {
      border: 1px solid #dc3545 !important;
      background-color: #dc3545 !important;
  }

  .wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required.wpcf7-not-valid::placeholder {
    color: #fff !important;
  }
  
  body .wpcf7-not-valid-tip, .voceMobile  {
    display: none !important;
  }
  
  
  input.wpcf7-submit.dct_btn_v1 {
    color: #fff !important;
    transition: color 300ms ease 0ms,background-color 300ms ease 0ms,padding 300ms ease 0ms;
    cursor: pointer;
    border-width: 0px !important;
    border-radius: 8px;
    letter-spacing: 2px;
    font-size: 14px;
    font-family: 'Outfit',Helvetica,Arial,Lucida,sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    background-color: #2C4A92;
    padding-top: 15px !important;
    padding-right: 60px !important;
    padding-bottom: 15px !important;
    padding-left: 60px !important;
    height: 55px;
  }
  
  input.wpcf7-submit.dct_btn_v1:hover {
      color: #fff !important;
      background-color: #000000;  
  }

  /* First we hide the default CF7 loader */
.wpcf7-spinner::before {
  display:none;
  }
  
  /* Add custom CF7 loader */
  .wpcf7-spinner {
  background-image: url('/fade-circles.svg');
  width: 55px;
  height: 55px;
  margin-left: 10px;
  background-color: inherit;
  }


  /* Certificazioni */
  .bloccoCertificato {
    border-bottom: 1px solid #66666647;
    padding-bottom: 20px;
    margin-bottom: 40px !important;
  }

  .bloccoCertificato:after {
    content: "";
    position: absolute;
    left: 0;
    opacity:1;
    z-index:-1;
    background: #2c4a92;
    transition: all 0.45s ease-out;
    width: 2%;
    bottom: -1px;
    height: 2px;
}

.bloccoCertificato:hover::after {
    width: 100%;
}

.bloccoCertificato .et_pb_module_header span {
  transition: all 0.4s ease-out;
}

.bloccoCertificato:hover .et_pb_module_header span, .bloccoCertificato:hover .et-pb-icon {
  color: #2c4a92;
}

/*change the visibility of the menu submenu on click*/

/*change the visibility of the menu submenu on click*/

.nav li.et-touch-hover>ul,
.nav li:hover>ul, .sub-menu.hide {
  display: none !important;
}

/* ul.sub-menu.hide.visible {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex-wrap: wrap;
  border: 0;
  height: 268px;
  align-items: center;
  padding: 30px 20px 0 20px !important;
  background-color: #2c4a92 !important;
} */

ul.sub-menu.hide.visible {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  border: 0;
  height: 440px;
  align-items: center;
  padding: 0 !important;
  background-color: #2c4a92 !important;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 0;
  grid-row-gap: 0;
  counter-reset: my-awesome-counter;
}

.sectionBlack {
  max-height: 260px;
  height: 122px;
  display: flex;
  padding: 0 !important;
  border: 0 !important;
  background-position: center bottom;
}

.sectionBlack .et_pb_text_inner {
  font-size: 55px;
}

.sectionBlack::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2C4A92;
  content: "";
  opacity: 0.85;
}

.sectionBlack .et_pb_row {
  padding: 0 !important;
}

body #top-menu li.mega-menu > ul > li {
  width: 100%;
  counter-increment: my-awesome-counter;
}

.sub-menu.hide.visible a {
  font-size: 30px !important;
  font-weight: 300 !important;
  line-height: 1;
  text-transform: capitalize !important;
  margin-bottom: 30px;
  border: 0 !important;
}

/* .sub-menu.hide.visible::before {
  height: 4px;
  top: -2px;
  background-color: #fff;
  width: 100%;
  content: "";
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
} */

/* Single */
.single #main-content .container {
  padding: 0;
}

body.single .post {
  padding-bottom: 0;
  margin-bottom: 0;
}

.single ol li::marker {
  font-size: 3em;
  font-weight: 200;
}

.single ol {
 margin-top: 50px;
}

.single ol li {
  margin-bottom: 20px;
 }

 .noOpen a {
  pointer-events: none;
}

/* Back to top */


.et_pb_scroll_top:before {
  content: "6";
}

.et_pb_scroll_top.et-pb-icon {
  border-radius: 0 !important;
  border-top-left-radius: 4px !important;
  border-bottom-left-radius: 4px !important;
  background: #2c4a92;
  padding: 10px;
  z-index: 99;
}

.et_pb_scroll_top.et-pb-icon:hover {
  opacity: 0.6;
}

/* Menu mobile */
.et_mobile_menu {
  height: calc(100vh - 80px);
  overflow: auto;
}

.mobile_nav.opened .mobile_menu_bar:before {
  content: '\4d';
}

#main-header .et_mobile_menu {
  border: 0 !important;
  background-color: #2c4a92 !important;
}

#mobile_menu .sub-menu li a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  border: solid #fff;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  -webkit-transform: rotate(-45deg);
  margin-left: -6px;
}

#mobile_menu .sub-menu li a {
  position: relative;
  border: 0;
  padding-bottom: 2px;
}

body .et_mobile_menu .menu-item-has-children > a {
  background-color: transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: normal;
  padding-top: 0;
  pointer-events: none;
}

body .et_mobile_menu li a {
  border-bottom: 1px solid #ffffff14;
}

body .et_mobile_menu li:last-child a {
  border-bottom: 0;
}

/* Blog */
.dt-4-columns-blog .et_pb_post {
  border: 0 !important;
  background-color: transparent !important;
}

.dt-4-columns-blog .et_pb_post img {
  height: 450px;
  object-fit: cover;
  object-position: center center;
}

.imgPreview .et_pb_image_wrap {
  width: 100%;
}

.imgPreview img {
  object-fit: cover;
  width: 100% !important;
  border-top-left-radius: 50px;
  height: 400px;
}

.imgPreview.imgRight img {
  border-top-left-radius: 0;
  border-top-right-radius: 50px;
}

/*------------------ SHARE ------------------*/


body .heateorSssFacebookBackground, body .heateorSssLinkedinBackground, body .heateorSssWhatsappBackground, body .heateorSssEmailBackground, body .heateorSssCopyLinkBackground {
  background-color: #202020;
  transition: all .5s ease;
}

body .heateorSssFacebookBackground:hover, body .heateorSssLinkedinBackground:hover, body .heateorSssWhatsappBackground:hover, body .heateorSssEmailBackground:hover, body .heateorSssCopyLinkBackground:hover {
  background-color: #202020;
}


.heateor_sss_horizontal_sharing .heateor_sss_svg, .heateor_sss_standard_follow_icons_container .heateor_sss_svg {
  background-color: #202020 !important;
  transition: all .5s ease;
}


.heateor_sss_horizontal_sharing span.heateor_sss_svg:hover, .heateor_sss_standard_follow_icons_container span.heateor_sss_svg:hover {
  background-color: #2c4a92 !important;
}

      /* Responsive */
      @media (min-width: 981px) {
        .dt-4-columns-blog .et_pb_salvattore_content[data-columns]::before {
          content: '4 .column.size-1of4' !important;
        }

        .dt-4-columns-blog .et_pb_ajax_pagination_container {
          display: grid;
          grid-template-columns: repeat(4, 1fr);
          grid-column-gap: 53px;
        }
      
        /* .dt-4-columns-blog .column.size-1of4 {
          width: 24% !important;
          margin-right: 1%;
        } */
      
        .dt-4-columns-blog .et_pb_post {
          margin-bottom: 53px;
        }
      }

      @media all and (max-width: 1200px) { 
        .dt-4-columns-blog .et_pb_ajax_pagination_container {
          grid-template-columns: repeat(3, 1fr);
        }
        body img.mfp-img {
          max-width: 100%;
        }
        body #logo {
          max-height: 37% !important;
          max-width: 320px;
        }
        body #top-menu li {
          padding-right: 20px;
        }
        body #top-menu li a {
          font-size: 14px;
        }
      }

      @media all and (max-width: 980px) {
        #main-header.et-fixed-header {
            position: fixed;
          }
        
          .logged-in #main-header.et-fixed-header {
            top: 0 !important;
            transition: all .3s 0s;
          }
          .et_pb_section.sez100Vh {
            height: auto;
          }
        .et_pb_row.rowSlide::after, .et_pb_row.rowSlide::before {
            display: none;
          }
          .sezSlider {
            padding-bottom: 60px !important;
          }
          .sezSlider.et_pb_column {
            padding-bottom: 60px !important;
          }
          .sezSlider .et_pb_column {
            justify-content: flex-start;
            overflow: visible !important;
          }
          .back-button, .next-button, .back-button2, .next-button2 {
            margin-left: 0 !important;
            margin-right: 50px !important;
          }
          .et_pb_button, input.wpcf7-submit.dct_btn_v1, .wpcf7-spinner {
            zoom: 0.9;
          }
          .et_header_style_left #logo {
            max-width: 62%;
          }
          .et-fixed-header #logo {
            max-width: 74% !important;
          }
          body .logo_container {
            width: auto !important;
          }
          .sectionBlack {
            height: 90px;
          }
          #mobile_menu .mega-menu.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-has-children.et_first_mobile_item {
            border-bottom: 2px solid #fff;
            margin-bottom: 20px;
            padding-bottom: 20px;
          }
          .dt-4-columns-blog .et_pb_ajax_pagination_container {
            grid-template-columns: repeat(2, 1fr);
          }
          #main-header.et-fixed-header {
            border-bottom: 0;
          }
          .et_header_style_left #logo {
            max-width: 100%;
            max-height: 46% !important;
          }
          .slideHome .et-pb-controllers a {
            width: 25px;
            height: 6px;
          }
          .sectionBlack .et_pb_text_inner {
            font-size: 38px;
          }
          .et_pb_row.rowReverse {
            display: flex;
            flex-direction: column-reverse;
          }
          .imgPreview.imgRight img {
            border-top-left-radius: 50px;
            border-top-right-radius: 0;
          }
        }


        @media only screen and (min-width: 981px) {
          body #logo {
            max-height: 42%;
          }
        }

      @media all and (max-width: 767px) {
        .slideHome .et_pb_slide_image {
            width: 100%;
            display: flex !important;
            position: absolute;
            top: 200px;
            z-index: -2;
        }
        .icoHome img {
            height: 150px;
        }
        body .logo_container {
            width: auto !important;
          }
          .wpcf7-form label {
            font-size: 15px;
          }
          .wpcf7-text {
            height: 40px;
          }
          .rowCatalogo .et_pb_column {
            grid-template-columns: repeat(3, 1fr);
          }
          .sectionBlack .et_pb_text_inner {
            font-size: 24px;
          }
      }

      @media all and (max-width: 600px) {
      .sezImageSlider .et_pb_gallery_image.landscape img {
        height: auto;
        object-fit: contain;
      }
    }

    @media all and (max-width: 479px) {
      body .slideHome .et_pb_slide_description {
        padding: 12% 40px 12% 40px;
      }
      .et_pb_module.slideHome .et_pb_slide_content br {
        display: none;
      }
      .slideHome .et-pb-controllers {
        transform: translate(-50%,-12%);
      }
      .slideHome .et_pb_slide_image {
        top: 175px;
      }
      body .et_pb_slide_content p {
        font-size: 31px;
      }
        .slideHome .et_pb_button.et_pb_more_button {
          display: none !important;
        }
        .wpblog-module .entry-featured-image-url img, .wpblog-module .et_overlay.et_pb_inline_icon, .wpblog-module2 .entry-featured-image-url img, .wpblog-module2 .et_overlay.et_pb_inline_icon {
            max-height: 320px;
            object-fit: cover;  
        }
        .icoHome img {
            height: 120px;
        }
        footer .colLoghi .et_pb_module.et_pb_image img {
            max-width: 40px;
          }
          .et_pb_button, input.wpcf7-submit.dct_btn_v1, .wpcf7-spinner {
            zoom: 0.7;
          }
          .wpcf7-form-control.wpcf7-textarea::placeholder {
            font-size: 14px;
        }
          body textarea.wpcf7-form-control {
            font-size: 14px;
          }
          .wpcf7-form label {
            font-size: 12px;
            letter-spacing: .2px;
          }
          .wpcf7-response-output {
            font-size: 15px;
          }
          .back-button, .next-button, .back-button2, .next-button2 {
            margin-right: 30px !important;
          }
          .rowCatalogo .et_pb_column {
            grid-template-columns: repeat(2, 1fr);
          }
          .rowCatalogo .et_pb_column .et_pb_module.et_pb_image, .rowCatalogo .et_pb_column .et_pb_module.et_pb_image.top {
            height: 200px;
          }
          .rowCatalogo .et_pb_column .et_pb_module.et_pb_image.top {
            grid-column: span 1;
            grid-row: span 1;
            height: 200px;
          }
          .container.et_menu_container {
            padding: 0 20px;
          }
          .et_pb_scroll_top.et-pb-icon {
            padding: 5px;
          }
          .dt-4-columns-blog .et_pb_ajax_pagination_container {
            grid-template-columns: repeat(1, 1fr);
          }
          .imgPreview img {
            height: 350px;
          }.et-pb-arrow-next, .et-pb-arrow-prev {
            font-size: 40px;
          }
          .sezSlider.sezSliderAzienda {
            padding-bottom: 0 !important;
          }
          .bloccoCertificato .et-pb-icon {
            font-size: 33px !important;
          }
          .bloccoCertificato .et_pb_blurb_description p {
            line-height: 1.4;
          }
          .et_header_style_left #logo {
            max-width: 100%;
            max-height: 36% !important;
          }
    }