/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.wpcf7-form-control.wpcf7-acceptance.optional {
	border: 0px !important;
}

.modulo-home-label {
	width: 100%;
	font-family: "Assistant";
	font-weight: 600;
	color: #000000;
	margin-bottom: 5px;
}

.wpcf7-form-control {
	border: 1px solid #BFC0C2 !important;
}

.form-with-custom-checkboxes-radios .wpcf7-list-item,
.form-with-custom-checkboxes-radios label {
  display: flex;
}
.form-with-custom-checkboxes-radios .wpcf7-list-item {
  margin: 0;
}
.form-with-custom-checkboxes-radios .wpcf7-list-item:not(:last-child) {
  margin-bottom: 10px;
}
.form-with-custom-checkboxes-radios label {
  cursor: pointer;
}
.form-with-custom-checkboxes-radios [type="radio"],
.form-with-custom-checkboxes-radios [type="checkbox"] {
  position: absolute;
  left: -9999px;
}
.form-with-custom-checkboxes-radios [type="radio"] + .wpcf7-list-item-label,
.form-with-custom-checkboxes-radios [type="checkbox"] + .wpcf7-list-item-label {
  position: relative;
  padding-left: 30px;
  line-height: 20px;
}
.form-with-custom-checkboxes-radios [type="radio"] + .wpcf7-list-item-label::before,
.form-with-custom-checkboxes-radios [type="checkbox"] + .wpcf7-list-item-label::before,
.form-with-custom-checkboxes-radios [type="radio"] + .wpcf7-list-item-label::after,
.form-with-custom-checkboxes-radios [type="checkbox"] + .wpcf7-list-item-label::after {
  content: url('https://qpa.dcesana.it/wp-content/uploads/2024/03/custom-checkbox.svg');
  position: absolute;
  padding-left: 2px;
  padding-top: 2px;
  box-sizing: border-box;
}
.form-with-custom-checkboxes-radios [type="radio"] + .wpcf7-list-item-label::before,
.form-with-custom-checkboxes-radios [type="radio"] + .wpcf7-list-item-label::after {
  border-radius: 50%;
}
.form-with-custom-checkboxes-radios [type="radio"] + .wpcf7-list-item-label::before,
.form-with-custom-checkboxes-radios [type="checkbox"] + .wpcf7-list-item-label::before {
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 1px solid #282E33;
  border-radius: 2px;
  background-color: #FFF;
}
.form-with-custom-checkboxes-radios [type="radio"] + .wpcf7-list-item-label::after,
.form-with-custom-checkboxes-radios [type="checkbox"] + .wpcf7-list-item-label::after {
  top: 0px;
  left: 0px;
  width: 20px;
  height: 20px;
  background: #282E33;
  border-radius: 2px;
  transition: all 0.2s;
}

.form-with-custom-checkboxes-radios [type="radio"]:not(:checked) + .wpcf7-list-item-label::after,
.form-with-custom-checkboxes-radios [type="checkbox"]:not(:checked) + .wpcf7-list-item-label::after {
  opacity: 0;
  transform: scale(0.01);
}

.form-with-custom-checkboxes-radios [type="radio"]:checked + .wpcf7-list-item-label::after,
.form-with-custom-checkboxes-radios [type="checkbox"]:checked + .wpcf7-list-item-label::after {
  opacity: 1;
  transform: scale(1);
}

.form-with-custom-checkboxes-radios [type="radio"]:focus + .wpcf7-list-item-label::before,
.form-with-custom-checkboxes-radios [type="checkbox"]:focus + .wpcf7-list-item-label::before {
  box-shadow: 0 0 4px 3px rgba(255, 255, 255, 0.0);
}

.wpcf7-list-item-label {
  font-family: "Assistant";
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  color: #282E33;
  cursor: pointer;
}

label + br {
    display: none;
}

/* Customize CF7 submit button */
.wpcf7-submit {
    width: 130px;
    background-color: #BB8413;
    color: #FFFFFF;
    font-family: "Assistant";
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 50px;
    border: 0;
    cursor: pointer;
    transition: all 0.3s;
}

.wpcf7-submit:hover, .wpcf7-submit:focus {
    background-color: #79550d;
}


/* Customize submit button text */
.wpcf7-submit {
    display: flex !important;
    justify-content: center !important;
    align-self: center !important;
    text-transform: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    font-family: "Assistant" !important;
    line-height: 24px !important;
    margin-top: 20px !important;
}

.wpcf7-submit > img {
    margin-left: 5px;
    margin-top: 5px;
}

.form-privacy {
    font-family: "Assistant";
    font-size: 12px;
    font-weight: 400;
    color: #282E33;
}

.form-privacy a {
    color: #BB8413;
    font-weight: 600;
}

/* Customize CF7 response message */
.wpcf7-response-output {
    font-family: "Assistant";
    font-size: 16px;
    font-weight: 600;
    color: #282E33;
    margin-top: 20px;
}

/* Elimina il bordo del reCaptcha v2 */
.wpcf7-recaptcha {
    border: 0px !important;
    margin-bottom: 20px;
}

.elementor-widget-container > p {
  margin: 0px;
  padding: 0px;
}

.elementor-widget-container > p > a {
    color: #BB8413 !important;
}

.entry-title {
    font-family: "Assistant";
    font-weight: 600;
    color: #282E33;
    margin-top: 20px;
}

/* Select per modulo Vendi o affitta */
#selectVendiAffitta {
  width: 100%;
  height: 42px;
  background: url(/wp-content/uploads/2024/04/chevron-down.svg) 94% / 16px no-repeat #eee;
}


/* Voci di menù da far vedere solo in mobile */
.item-header-vendi-e-affitta,
.item-header-chi-siamo {
  display: none !important;
}

/* item 2510 la voce del blog che nascondiamo appunto da desktop */
@media (max-width: 575.98px) {
  .item-header-vendi-e-affitta,
  .item-header-chi-siamo {
    display: block !important;
  }
}
@media (min-width:576px) {
	li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-2510 {
  display: none;
}
	}

