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

/*header negativo*/

.page-id-47 div#et-main-area {
    margin-top: -10%;
}

/*css small desktop*/

@media only screen and (max-width: 1400px) and (min-width: 400px)  {
.page-id-2 div#et-main-area {
    margin-top: -15%;
}
}

body:not(.home) #main-header { 
	background-color:#171717;
}

@media only screen and (max-width:980px){
	.page-id-2 div#et-main-area {
    margin-top: 0% !important;
}
}

header#main-header {
    border-bottom: 1px solid #fff !important;
}

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

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

a.et-cart-info {
    display: none;
}

.et_pb_blurb_content {
    max-width: none;
}

iframe{
	display: block;
}

/* Aggiungi il separatore solo alle voci del menu */
ul#top-menu li a:after {
    content: '|';
    padding-left: 20px;
}

/* Rimuovi il separatore dall'ultima voce */
ul#top-menu li:last-child a:after {
    content: none;
    padding-left: 0;
}

/*css small desktop*/
@media only screen and (max-width: 1700px) and (min-width: 1501px)  {
		.riga-servizi2 .et_pb_module.et_pb_blurb.et_pb_blurb_2.et_pb_text_align_left.et_pb_blurb_position_top.et_pb_bg_layout_light {
    padding-left: 30px !important;
    padding-right: 30px !important;
}
}

@media only screen and (max-width: 1500px) and (min-width: 1301px)  {
		    #logo {
        max-height: 60% !important;
    }
		ul#top-menu li a {
    font-size: 13px !important;
}
		.riga-numeri span.percent-value, .riga-numeri span.percent-sign, .riga-team h4, .riga-servizi1 h4 {
    font-size: 60px !important;
}
		.riga-servizi2 .et_pb_module.et_pb_blurb.et_pb_blurb_2.et_pb_text_align_left.et_pb_blurb_position_top.et_pb_bg_layout_light {
    padding-left: 30px !important;
    padding-right: 30px !important;
}
	
}
/*css small desktop*/
@media only screen and (max-width: 1300px) and (min-width: 981px)  {
	    #logo {
        max-height: 50% !important;
    }
	#top-menu li {
    padding-right: 12px !important;
}
	ul#top-menu li a:after {
    padding-left: 10px !important;
}
	ul#top-menu li a {
    font-size: 11px !important;
}
	.sez-hero {
    padding-top: 350px !important;
}
	.riga-numeri span.percent-value, .riga-numeri span.percent-sign, .riga-team h4, .riga-servizi1 h4 {
    font-size: 50px !important;
}
	.riga-numeri h3.title, .riga-footer-ultima .et_pb_text_inner, .riga-footer1 .et_pb_text_inner, .riga-footer1 .et_pb_text_inner a {
    font-size: 14px !important;
}
	.et_pb_row.et_pb_row_4.riga-team {
    padding: 100px !important;
}
	.riga-servizi2 .et_pb_module.et_pb_blurb.et_pb_blurb_2.et_pb_text_align_left.et_pb_blurb_position_top.et_pb_bg_layout_light {
    padding-left: 30px !important;
    padding-right: 30px !important;
}
}

/*cta arrow*/

i.fa-solid.fa-arrow-right {
    border: 2px solid #006AA3;
    border-radius: 50px;
    padding: 9px;
    color: #006AA3;
	    padding-left: 8px;
    padding-right: 25px;
}

.cta-custom:hover i.fa-solid.fa-arrow-right {
    background-color: #006AA3;
    color: #fff;
}

/*portfolio square*/

/*porfolio image aspect ratio square 1:1*/

.pa-portfolio-image-1-1 .et_portfolio_image {
  padding-top: 100%;
  display: block;
}

.pa-portfolio-image-1-1 .et_portfolio_image img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}

/*form di contatto*/

.captcha-policy, span.wpcf7-list-item-label {
    font-size: 13px;
}

.wpcf7-form-control.wpcf7-submit {
background-color: #F9F9F9;
color: #171717;
border: 1px solid #171717 !important;
max-width: 250px;
display: block;
width: 100%;
font-weight: bold;
padding-top: 22px;
padding-bottom: 22px;
font-size:14px;
	text-transform:uppercase;
	border-radius:0px;
}

.wpcf7-form-control.wpcf7-submit:hover {
	padding-top: 22px;
	padding-bottom: 22px;
}

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

.et_pb_button:after, .et_pb_button:before {
    font-size: 26px;
}

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

.captcha-policy, span.wpcf7-list-item, .riga-flex p, p.info-agg {
    color: #333;
}

.wpcf7-form-control.wpcf7-submit:hover {
	background-color: #171717;
	color: #fff;
	border-radius: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 {
    background-color: #f5f5f500;
    border-bottom: 2px solid #33333333;
	border-top:0px;border-left:0px;border-right:0px;
}

input.text:focus, input.title:focus, input[type=text]:focus, select:focus, textarea:focus {
    border-color: #113660;
}

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

.wpcf7-list-item {
	margin: 0px;
}

.ti-widget.ti-goog .ti-footer {;
    text-align: left !important;
}

a.sbi_load_btn, span.sbi_follow_btn.sbi_custom a {
    border-radius: 0px !important;
    padding: 15px 40px !important;
}

h4.widgettitle, h1.entry-title {
    font-weight: bold;
}