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

.riga-flex p:not(.has-background):last-of-type {
    padding-bottom: 1em;
}

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

@media only screen and (max-width:70em) {
.riga-flex p {
	width: 100%;
}
}

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

/*header negativo*/

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

@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:#104e74;
}

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

body:not(.home) .et-fixed-header #top-menu a {
    color: #fff !important;
}

body:not(.home) .mobile_menu_bar:before {
	color: #fff !important;
}


/*form di contatto*/

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

.wpcf7-form-control.wpcf7-submit {
background-color: #126FA8;
color: #fff;
border: none !important;
max-width: 250px;
display: block;
width: 100%;
border-radius: 50px;
font-weight: bold;
padding-top: 18px;
padding-bottom: 18px;
font-size:14px;
text-transform:uppercase;
}

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

.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: #fff;
	color: #1E1E1E;

}
	
input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
    background-color: #eee;
    border: 2px solid #A9A9A9;
}

input[type=tel]:focus, input[type=email]:focus {
	border-color: #383b47;
    color: #3e3e3e;
}

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

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

iframe{ 
display:block; 
}

.et_pb_blurb_content {
    max-width: none;
}

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

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

/*css news in verticale con foto a sinistra e testo a destra, da usare con layout a singola colonna*/
@media only screen and (min-width: 981px) {
	.et_pb_posts .et_pb_post img,
	.et_pb_posts .et_overlay {
		width: 38%;
		height: 220px !important;
		margin-right: 4%;
		float: left;
		object-fit: cover;
	}
	.et_pb_posts .entry-title,
	.et_pb_posts .post-meta,
	.et_pb_posts .post-content { 
	    float: right; 
	    width: 58%; 
	}
	body.rtl .et_pb_posts .et_pb_post img,
	body.rtl .et_pb_posts .et_overlay {
		float: right;
		margin-left: 4%;
		margin-right: 0;
	}
	body.rtl .et_pb_posts .entry-title,
	body.rtl .et_pb_posts .post-meta,
	body.rtl .et_pb_posts .post-content { 
	    float: left; 
	}
}
/*css small desktop*/

@media only screen and (max-width: 1200px) and (min-width: 981px)  {
	#logo {
    max-height: 30% !important;
}
	#top-menu li {
    padding-right: 10px !important;
}
	ul#top-menu li a {
    font-size: 12px !important;
}
	.riga-slider {
    max-width: 85% !important;
}
	.riga-chisiamo h3 {
    font-size: 50px !important;
}
		.riga-chisiamo h4 {
    font-size: 40px !important;
}
	.testo-chisiamo1 p {
    font-size: 16px !important;
    line-height: 1.3em !important;
}
	.testo-chisiamo2 p {
    font-size: 13px !important;
    line-height: 1.6em !important;
}
	.et_pb_cta_0.et_pb_promo h2 {
    font-size: 30px !important;
}
	.riga-trebox .et_pb_module.et_pb_cta_0.et-zoom-in.et_pb_section_video_on_hover.et_pb_section_parallax_hover.et_pb_promo.et_pb_text_align_center.et_pb_bg_layout_dark, .riga-trebox .et_pb_module.et_pb_cta_1.et-zoom-in.et_pb_section_video_on_hover.et_pb_section_parallax_hover.et_pb_promo.et_pb_text_align_center.et_pb_bg_layout_dark, .riga-trebox .et_pb_module.et_pb_cta_2.et-zoom-in.et_pb_section_video_on_hover.et_pb_section_parallax_hover.et_pb_promo.et_pb_text_align_center.et_pb_bg_layout_dark {
    padding-left: 20px !important;
    padding-right: 20px !important;
}
	body #page-container .et_pb_section .dsm_button_0 .et_pb_button_two.et_pb_button
	{
		padding-left:30px !important;
		padding-right:30px !important;
	}
	.et_pb_module.et_pb_cta_0.et-zoom-in.et_pb_section_video_on_hover.et_pb_section_parallax_hover.et_pb_promo.et_pb_text_align_center.et_pb_bg_layout_dark, .et_pb_module.et_pb_cta_1.et-zoom-in.et_pb_section_video_on_hover.et_pb_section_parallax_hover.et_pb_promo.et_pb_text_align_center.et_pb_bg_layout_dark, .et_pb_module.et_pb_cta_2.et-zoom-in.et_pb_section_video_on_hover.et_pb_section_parallax_hover.et_pb_promo.et_pb_text_align_center.et_pb_bg_layout_dark {
    min-height: 500px !important;
}
	.riga-footer .et_pb_text_inner {
    font-size: 10px !important;
}
}
