/*
Theme Name: elecarl-child
Theme URI: https://www.elegantthemes.com/gallery/divi/
Version: 1.0.0
Description: Tema child per personalizzare Divi.
Author: Wiseup
Author URI: https://www.wiseup.it
Template: Divi
*/

/* Rimuovi il footer basico di Wordpress 
#main-footer {
    height: 0 !important;
    overflow: hidden;
    display: none;
}
*/


/* FORM CONTATTO CF7 */
/* https://www.wpsnippet.com/creating-responsive-two-column-form-using-contact-form-7 */
#responsive-form{
	max-width:600px /*-- change this to get your desired form width --*/;
	margin:0 auto;
        width:100%;
}
.form-row{
	width: 100%;
}
.column-half, .column-full{
	float: left;
	position: relative;
	padding: 0.65rem;
	width:100%;
	-webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}
.consenso {
	margin-left: -12px;
}
.field {
	padding:18px !important;
	background:#EFF2F3 !important;
	font-size:14px;
	font-weight:500;
	font-color:#3e3e3e;
	font-family: "Montserrat", Helvetica, Arial, Lucida, sans-serif;
	border:1px solid  #c1c1c1  !important;
}
.field:focus {
	background-color: #feffb4 !important;
	border:1px solid red !important;
}
input:focus::placeholder, textarea:focus::placeholder {
  color: transparent;
}
.wpcf7-submit {
	padding:15px 30px !important;
  background-color:#004237 !important;
	border-radius:4px !important;
	font-size:14px;
	font-weight:700;
	font-color:#3e3e3e;
	font-family: "Montserrat", Helvetica, Arial, Lucida, sans-serif;
}
.wpcf7-submit:hover {
	background-color:#2c7f6a !important;
}
.wpcf7-submit:active {
	background-color:#2c7f6a !important;
}

/**---------------- Media query FORM CF7 ----------------**/
@media only screen and (min-width: 48em) { 
	.column-half{
		width: 50%;
	}
}

.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea {
	width: 100%;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 3px;
	-webkit-box-sizing: border-box;
	 -moz-box-sizing: border-box;
	      box-sizing: border-box
}
.wpcf7 input[type="text"]:focus{
	background: #fff;
}
.wpcf7-submit{
	float: right;
	background: #CA0002;
	color: #fff;
	text-transform: uppercase;
	border: none;
	padding: 8px 20px;
	cursor: pointer;
}
.wpcf7-submit:hover{
	background: #ff0000;
}
span.wpcf7-not-valid-tip{
	text-shadow: none;
	font-size: 12px;
	color: #fff;
	background: #ff0000;
	padding: 5px;
}
div.wpcf7-validation-errors { 
	text-shadow: none;
	border: transparent;
	background: #f9cd00;
	padding: 5px;
	color: #9C6533;
	text-align: center;
	margin: 0;
	font-size: 12px;
}
div.wpcf7-mail-sent-ok{
	text-align: center;
	text-shadow: none;
	padding: 5px;
	font-size: 12px;
	background: #59a80f;
	border-color: #59a80f;
	color: #fff;
	margin: 0;
}
