/*
 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;
}

/*linea menu*/

#top-menu .current-menu-item a::before,
#top-menu .current_page_item a::before {
 content: "";
 position: absolute;
 z-index: 2;
 left: 0;
 right: 0;
}
#top-menu li a:before {
 content: "";
 position: absolute;
 z-index: -2;
 left: 0;
 right: 100%;
 bottom: 55%;
 background: #AA7E4E; /*** COLOR OF THE LINE ***/
 height: 3px; /*** THICKNESS OF THE LINE ***/
 -webkit-transition-property: right;
 transition-property: right;
 -webkit-transition-duration: 0.3s;
 transition-duration: 0.3s;
 -webkit-transition-timing-function: ease-out;
 transition-timing-function: ease-out;
}
#top-menu li a:hover {
 opacity: 1 !important;
}
#top-menu li a:hover:before {
 right: 0;
}
#top-menu li li a:before {
 bottom: 10%;
}

ul.sub-menu a:before {
    display: none;
}

#top-menu li.current-menu-item>a, #top-menu li.current_page_item>a {
    font-weight: bold;
}

#et-info-email:before, #et-info-phone:before {
    color: #AA7E4E;
}

div#top-header {
    padding-top: 5px;
    padding-bottom: 5px;
}

div#et-info a {
	font-weight:400;
}

div#et-info a:hover {
    color: #C4C4C4;
}

#et-info-phone {
    margin-right: 30px;
}

#et-info-email:before, #et-info-phone:before {
    margin-right: 10px;
}

/*form contatti*/

input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
    background-color: #f5f5f500;
    border-bottom: 2px solid #33333333;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
}

input.text, input.title, input[type="email"], input[type="password"], input[type="tel"], input[type="text"], select, textarea {
    border-radius: 0px;
}

input.text, input.title, input[type="email"], input[type="password"], input[type="tel"], input[type="text"], select, textarea {
    padding: 10px;
    border-radius: 0px;
    width: 100%;
}

input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
    background-color: #ffffff00;
    padding: 2px;
    color: #4e4e4e;
    padding-bottom: 15px !important;
    font-size: 12px !important;
}

.captcha-policy a, .wpcf7-list-item-label a {
    color: #333;
    text-decoration: underline;
}

.wpcf7-form-control.wpcf7-submit {
    background-color: #AA7E4E;
    color: #fff;
    max-width: 220px;
    display: block;
    width: 100%;
    font-weight: bold;
    padding-top: 22px;
    padding-bottom: 22px;
    font-size: 16px;
    border-radius: 0px;
	text-decoration:underline;
}

textarea.wpcf7-form-control.wpcf7-textarea {
    max-height: 100px !important;
}

.wpcf7-form-control.wpcf7-submit:hover {
    background-color: #564038;
    color: #fff;
    border-radius: 0px;
}

input[type=tel]:focus, input[type=email]:focus, input[type="text"]:focus, textarea:focus {
    border-color: #113660;
    color: #333;
}

.riga-prodotti .et_pb_column:not(:last-child) { 
	margin-right: 15px;
}

/* Transizione morbida */
#top-header {
  transition: height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  overflow: hidden;
  height: auto;
  opacity: 1;
}

/* Transizioni fluide */
#top-header {
  transition: height 0.25s ease, opacity 0.25s ease, padding 0.25s ease;
  overflow: hidden;
}
#main-header {
  transition: top 0.25s ease, margin 0.25s ease;
  z-index: 9999; /* assicura che il menu resti sopra i contenuti quando fixed */
}


/*css small desktop*/

@media only screen and (max-width: 1600px) and (min-width: 1301px)  {
		.riga-banner-prefooter h3 {
    font-size: 27px !important;
}
		.sez-contatori span.percent-value {
    font-size: 60px !important;
}
		.riga-prodotti h4 {
    font-size: 16px !important;
}
	.riga-prodotti .et_pb_column:not(:last-child) { 
	margin-right: 10px !important;
}
}

@media only screen and (max-width: 1300px) and (min-width: 981px)  {
	#top-menu li {
    padding-right: 10px !important;
}
	ul#top-menu li a {
    font-size: 13px !important;
}
	div#et-top-navigation {
    padding-left: 200px !important;
}
	img#logo {
		width:25% !important;
	}
	.et_pb_row.et_pb_row_0.riga-chisiamo {
    padding-left: 5% !important;
    padding-right: 5% !important;
}
	.riga-pillars h4.et_pb_module_header {
    font-size: 19px !important;
}
	.riga-pillars .et_pb_blurb_description {
    font-size: 14px !important;
    line-height: 1.5em !important;
}
	.riga-prodotti h4 {
    font-size: 15px !important;
}
	.riga-prodotti .et_pb_column:not(:last-child) { 
	margin-right: 7px !important;
}
		.riga-prodotti-1 h2 {
    font-size: 38px !important;
}
	.riga-prodotti a.et_pb_button, .riga-prodotti-1 h5, .riga-form h5 {
    font-size: 14px !important;
}
	.riga-legni h5, .riga-footer h5, .riga-box-alberi h4 {
		font-size:18px !important;
	}
	.riga-legni h3 {
		font-size:30px !important;
	}
	.et_pb_row.et_pb_row_4.riga-legni {
		padding:60px !important;
	}
	.riga-footer .et_pb_text_inner {
    font-size: 15px !important;
}
	.riga-chisiamo-int h5, .riga-puntiforza h5 {
		font-size:20px !important;
	}
	.riga-chisiamo-int .et_pb_text_inner, .riga-assist .et_pb_text_inner {
		    font-size: 15px !important;
    line-height: 1.5em !important;
	}
	.riga-puntiforza .et_pb_blurb_description {
    line-height: 1.4em !important;
}
	.riga-banner-prefooter h3 {
    font-size: 22px !important;
}
	.sez-contatori span.percent-value {
    font-size: 50px !important;
}
}

ul.sub-menu li a {
    font-size: 14px !important;padding-left: 5px !important;
}