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

/****************************/
/* INPUT FORM CONTATTI
*/

input.text, input.title, input[type="email"], input[type="password"], input[type="tel"], input[type="text"], select, textarea {

    padding: 10px;
    border-radius: 5px;
	width: 100%;

}

/****************************/
/* BOTTONE FORM CONTATTI
*/
.wpcf7-form-control.wpcf7-submit {
    width: 143px;
    padding: 10px;
    border-radius: 7px;
    background: orange;

}

.cn-button.bootstrap {
    font-family: sans-serif !important;
    display: inline-block !important;
    *display: inline !important;
    padding: 4px 12px !important;
    margin-right: .3em !important;
    margin-bottom: 0 !important;
    *margin-left: .3em !important;
    line-height: 20px !important;
    color: #333 !important;
    text-align: center !important;
    text-shadow: 0 1px 1px rgba(255,255,255,.75) !important;
    font-style: normal !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    color: #fff !important;
    text-shadow: 0 -1px 0 rgba(0,0,0,.25) !important;
    background-color: #006dcc !important;
    *background-color: #04c !important;
    background-image: -moz-linear-gradient(top,#0088cc,#0044cc) !important;
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#0088cc),to(#0044cc)) !important;
    background-image: -webkit-linear-gradient(top,#0088cc,#0044cc) !important;
    background-image: -o-linear-gradient(top,#0088cc,#0044cc) !important;
    background-image: linear-gradient(to bottom,#0088cc,#0044cc) !important;
    background-repeat: repeat-x !important;
    border-style: solid !important;
    border-width: 1px !important;
    border-color: #04c #04c #002a80 !important;
    border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,.2) inset,0 1px 2px rgba(0,0,0,.05) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0044cc',GradientType=0) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false) !important;
    padding: 2px 10px !important;
    font-size: 12px !important;
    text-decoration: none !important;
    -webkit-border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    border-radius: 3px !important;
    outline: none !important;

}

/*css form su 2 colonne e privacy scorrevole*/

.riga-flex {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.riga-flex p {
	width: 49%;
}

.privacy {
	overflow: auto;
    max-height: 90px;
    margin-bottom: 20px;
    background-color: #F9F9F9;
    padding: 10px;
    font-size: 12px;
    color: #999;
}


/* CSS customization - Feb/2026
 * ---------------------------------------------*/
/* Menu Mobile 
header .et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu {
    height: 85vh;
    overflow-y: scroll;
    margin-top: 5px;
}*/
header .et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu,
header .et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu ul {
    background-color: #fff !important;
}
header .et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu a {
    color: #111 !important;
}
header .et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item a {
    color: #ce021c !important;
}

/* Contact Form */
.wpcf7 .riga {
    margin-bottom: 10px;
}
.wpcf7 .riga .wpcf7-list-item {
    margin-left: 0px;
}
.wpcf7 .riga .wpcf7-list-item .wpcf7-list-item-label {
    font-size: 14px!important;
}
button.wpcf7-form-control.has-spinner.et_pb_button.et_pb_bg_layout_light.wpcf7-submit {
    cursor: pointer;
    transition: all 200ms linear;
}
button.wpcf7-form-control.has-spinner.et_pb_button.et_pb_bg_layout_light.wpcf7-submit:hover {
    border-radius: 7px;
    background: #bf0118;
    transition: all 200ms linear;
}
button.wpcf7-form-control.has-spinner.et_pb_button.et_pb_bg_layout_light.wpcf7-submit:after {
    font-size: 28px;
}

/* SCHEDA PRODOTTO*/
/* Hero */
.project .et_pb_fullwidth_section .et_pb_slider .et_pb_slide {
    background-color: #0000007a;
}
.project .et_pb_fullwidth_section .et_pb_slider .et_pb_slide_description {
    padding-left: 0;
    padding-right: 0;
    animation: none;
}
.project .et_pb_fullwidth_section .et_pb_slider .et_pb_slide_description h1 {
    font-weight: 700;
    font-size: 45px;
    color: #FFFFFF;
    text-align: left;
    text-transform: uppercase;
    text-shadow: 0px 0px 1px black, 0px 0px 1px black, 0px 0px 1px black;
}
.project .et_pb_fullwidth_section .et_pb_slider .et_pb_slide_description h1:after {
    content: "";
    width: 18%;
    height: 2px;
    display: block;
    background: #d7021c;
    margin-top: 25px;
}

/* Video-Foto Gallery Scheda Prodotto 
@media screen and (max-width: 600px) {
    .project .et_pb_column_1_2 .et_pb_slider .et_pb_slide>.et_pb_container,
    .project .et_pb_slider .et_pb_section_video .et_pb_section_video_bg .mejs-video,
    .project .et_pb_slider .et_pb_section_video .et_pb_section_video_bg video {
        height: 320px!important;
    }
    .project .et_pb_fullwidth_section .et_pb_slider .et_pb_slide_description h1 {
        font-size: 35px;
    }
}*/
/* Nasconde pulsante flottante "Galleria" (rosso a DX che segue lo scroll) */
.project #galleryOpen {
    display: none;
}

/* Pulsanti scheda prodotto */
.project .et_pb_module.btn_download_pdf,
.project .et_pb_module.et_clickable {
    transition: all 200ms linear;
}
/*
.project .et_pb_module.btn_download_pdf:hover {
    cursor: pointer;
    background: #e7e7e7;
    transition: all 200ms linear;
}
.project .et_pb_module.et_clickable:hover {
    cursor: pointer;
    background: #bf0118;
    transition: all 200ms linear;
}*/

/* Popup PDF prodotti */
.project-popup-pdf {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999999;
}
.project-popup-pdf__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  cursor: pointer;
}
.project-popup-pdf__content {
  position: relative;
  background: #fff;
  padding: 40px 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 520px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  z-index: 1000000000;
  animation: fadeInUp .3s ease;
}
.project-popup-pdf__close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 28px;
  color: #333;
  border: none;
  background: transparent;
  cursor: pointer;
  line-height: 1;
}
@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(25px);}
  to {opacity: 1; transform: translateY(0);}
}

/*css nic*/

/**** This hides the sub menu items on mobile ****/
#page-container .mobile_nav li ul.hide {
    display: none !important;
}
/**** This adjusts the positioning and the background transparency of the parent menu item on mobile ****/
#page-container .mobile_nav .menu-item-has-children {
    position: relative;
}
#page-container .mobile_nav .menu-item-has-children > a {
    background: transparent;
}
/**** This styles the icon and moves it to the right ****/
#page-container .mobile_nav .menu-item-has-children > a + span {
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    z-index: 3;
}
/**** Here you can swap out the actual icons ****/
#page-container span.menu-closed:before {
    content: "\4c";
    display: block;
    color: #000;
    font-size: 16px;
    font-family: ETmodules;
}
#page-container span.menu-closed.menu-open:before {
    content: "\4d";
}