/*
Theme Name:     CG-WEB.IT Theme 2026
Description:    Child-theme per il tema Divi
Author:         Corrado Guglielmetti - CG-WEB.IT
Template:       Divi
Version:        1.0.2
*/

@import url("../Divi/style.css");
 
/* =Theme customization starts here
-------------------------------------------------------------- */

:root {
  --header-height: 114px;
}

.et_pb_section_0.hero {
  height: calc(100vh - var(--header-height)) !important;
}

.single .et_pb_post, .et_pb_post, .single .post{
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#gruppo_servizi article{
    margin-bottom: 50px !important;
    padding-bottom: 30px !important;
}

#frm_contatti label, #frm_contatti, #frm_contatti .frm_primary_label{
    color: rgba(255,255,255,0.68)!important;
}

#servizi_home .et_pb_post{
    max-height: 315px !important;
    width: 100% !important;
    margin-bottom: 0 !important;
    background-color: #ffffff;
    box-shadow: 8px 8px 18px 1px rgba(0, 0, 0, 0.7);
}

#servizi_home .et_pb_post .entry-featured-image-url{
    max-height: 250px !important;
    overflow: hidden !important;
    margin-bottom: 10px !important;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.10));
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

#servizi_home .et_pb_post .entry-featured-image-url img{
    width: 100%;
}

#servizi_home .et_pb_post{
  overflow: hidden;
}

#servizi_home .et_pb_post{
  transition: transform 0.5s ease;
}

#servizi_home .et_pb_post:hover{
  transform: scale(1.1) translateY(2px);
    z-index: 101 !important;
}

#servizi_home .et_pb_post{
  position: relative;
}

#servizi_home .et_pb_post:nth-child(1){ 
    z-index: 100; 
}
#servizi_home .et_pb_post:nth-child(2){ 
    z-index: 99; 
}
#servizi_home .et_pb_post:nth-child(3){ 
    z-index: 98; 
}
#servizi_home .et_pb_post:nth-child(4){ 
    z-index: 97; 
}
#servizi_home .et_pb_post:nth-child(5){ 
    z-index: 96; 
}

.quform-theme-react .quform-label>.quform-label-text>.quform-required{
    background: none !important;
}