.cf7-text-row,
.cf7-image-row {
    display: flex;
    flex-wrap: wrap;
    gap: 23px;
}

.cf7-text-row {
    margin-top: 30px;
    gap: 1px 23px;
    margin-bottom: -30px;
}

.cf7-text-row > * {
    flex: 0 0 calc(50% - 12px);
}

.cf7-image-column {
    flex-direction: column;
    
}

.cf7-group {
    padding: 32px 50px 48px 50px;
    background: #FFFFFF;
    box-shadow: 0px 5px 30px #3723150D;
    border-radius: 12px;
    margin-bottom: 31px;
}

.cf7-group-text .cf7-description {
    margin-bottom: 21px;
    line-height: 26px;
}

cf7-group-textarea .cf7-heading {
	margin-bottom: 31px;
}

.cf7-group-date .cf7-heading,
.cf7-group-text .cf7-label:not(:last-child) {
    margin-bottom: 33px;
}

.cf7-heading {
    font-size: 21px;
    font-weight: 600;
    margin: 0 0 9px;
}

.cf7-description {
    color: #7B6F67;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 29px;
}

.cf7-label {
    display: block;
}

.cf7-image-row .cf7-label {
    position: relative;
    width: calc(32.9% - 12px);
    border-radius: 12px;
    overflow: hidden;
    display: block;
    height: 0;
    overflow: hidden;
    padding-bottom: 24.5%;
}

.cf7-image-row .cf7-label.cf7-image-checked {
    box-shadow: 0 0 0 3px #91A93E;
}

.cf7-image-row .cf7-label::before {
    content: '';
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.cf7-image-row .cf7-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    display:block;
    width: 100%;
    height: 40%;
    background: linear-gradient(180deg, #37231500, #372315);
    pointer-events: none;
    
}

.cf7-image-row .cf7-label.cf7-image-checked::before {
    content: "\e902";
    color: #fff;
    background-color: #91A93E;
    font-family: 'icons' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
  
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf7-image-row .wpcf7-form-control-wrap {
    position: absolute;
    bottom: 15px;
    left: 8px;
    z-index: 1;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.cf7-image-row img {
    display: block;
    height: 100%;
    transition: transform 0.3s ease-in-out;
    position: absolute;
    width: 100%;
    object-fit: cover;
}

.cf7-label-text {
    margin-top: 0;
    padding: 0 44px;
    width: calc(100% - 32.9% - 12px);
    font-size: 18px;
    line-height: 26px;
    color: #7B6F67;
    margin-bottom: 0;
}

.cf7-heading + .cf7-image-row  {
    margin-top: 31px;
}

.cf7-image-row .cf7-label:hover img {
    transform: scale(1.1);
}

.cf7-image-row input {
    display:none;
}

textarea.wpcf7-form-control,
input.wpcf7-form-control {
    background-color: #F6F5F4;
    border: none;
    padding: 16px;
    width: 100%;
}

textarea.wpcf7-form-control {
    height: 164px;
}

.cf7-list {
    list-style: none;
    margin-top: -14px;
    padding-left: 36px;
    font-size: 18px;
    line-height: 26px;
    color: #7B6F67;
}

.cf7-list:last-child {
    margin-bottom: 0;
}

.cf7-list .ic {
    position: absolute;
    left: -34px;
    top: 3px;
}

.cf7-list li {
	position: relative;
}

.cf7-list li:not(:last-child){
    margin-bottom: 14px;
}

.cf7-list span {
    color: #372315;
}

.wpcf7-acceptance .wpcf7-list-item {
    color: #7B6F67;
    font-size: 18px;
    margin-left: 43px;
    position: relative;
}

.wpcf7-acceptance input {
    display: none;
}

.wpcf7-acceptance .wpcf7-list-item input + .wpcf7-list-item-label:before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    position: absolute;
    top: 1px;
    left: -41px;
    border: 1px solid #fff;
    border-radius: 5px;
    background-color: #fff;
    font-family: 'icons' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
  
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wpcf7-acceptance .wpcf7-list-item input + .wpcf7-list-item-label:hover:before {
    border-color: #91A93E;
}

.wpcf7-acceptance .wpcf7-list-item input:checked +  .wpcf7-list-item-label:before {
    content: "\e902";
    background-color: #91A93E;
    border-color: #91A93E;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.wpcf7-form-control.wpcf7-submit {
    background-color: #91A93E;
    margin-top: 28px;
    color: #fff !important;
    font-size: 18px;
    font-weight: 500;
    border-radius: 32px;
    padding: 15px;
}

/* Success message */

.cf7-success-message {
    text-align: center;
    padding-bottom: 138px;
    margin-top: -45px;
}

.cf7-success-message svg {
    margin-bottom: 10px;
}

.cf7-success-message h2 {
    text-align: center;
    text-transform: none;
    color: #372315;
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 15px;
}

.cf7-success-message p {
    color: #7B6F67;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 45px;
}

.cf7-success-message a {
    background-color: #91A93E;
    width: 100%;
    display: block;
    max-width: 424px;
    margin: 0 auto;
    color: #fff;
    padding: 16px;
    border-radius: 32px;
    font-size: 18px;
    font-weight: 500;
}

/* Icons */

@font-face {
    font-family: 'icons';
    src:  url('../fonts/icons.eot?ylutk4');
    src:  url('../fonts/icons.eot?ylutk4#iefix') format('embedded-opentype'),
      url('../fonts/icons.ttf?ylutk4') format('truetype'),
      url('../fonts/icons.woff?ylutk4') format('woff'),
      url('../fonts/icons.svg?ylutk4#icons') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }
  
  .ic {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icons' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
  
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .ic--excluded:before {
    content: "\e900";
    color: #a93e3e;
  }
  .ic--included:before {
    content: "\e901";
    color: #91a93e;
  }
  .ic--checkmark:before {
    content: "\e902";
  }
  
  input[type="date"]::placeholder {
  	opacity: 0 !important; /* Makes it invisible */
  }
  
  .cf7_required {
  	color: #A93E3E;
  }
  
  @media ( min-width: 1100px ) {
      .cf7-label__wrapper {
          display: flex;
          align-items: center;
      }
  }
  
  @media ( max-width: 1099.98px ) {
  	.cf7-group {
    	padding: 23px 22px 24px 24px;
        margin-bottom: 17px;
    }
    
    .cf7-group-textarea {
    	padding-bottom: 16px;
    }
    
    .cf7-heading {
        font-size: 18px;
        font-weight: 600;
        line-height: 24px;
    }
    
    .cf7-description {
        font-size: 16px;
        margin-bottom: 14px;
    }
    
    .cf7-image-row {
   	 	gap: 6px;
    }
    
    .cf7-text-row {
        display: block;
    }
    
    .cf7-image-row .cf7-label {
        width: calc(50% - 4px);
        padding-bottom: 39%;
    }
    
    .cf7-image-row img {
    }
    
    .cf7-image-row .wpcf7-form-control-wrap {
        bottom: 8px;
    	left: 0px;
        font-size: 14px;
    }
    
    .cf7-image-row .cf7-label::before {
        top: 13px;
        right: 13px;
        width: 19px;
        height: 19px;
    }
    
    .cf7-group-text .cf7-heading {
    	padding-right: 10px;
    	margin-bottom: 16px;
    }
    
    .cf7-group-text .cf7-description {
        line-height: 22px;
        margin-bottom: 11px;
    }
    
    .cf7-group-text .cf7-label:not(:last-child) {
        margin-bottom: 24px;
    }
    
    .cf7-image-row.cf7-image-column .cf7-label {
    	width: 100%;
        padding-bottom: 52%;
    }
    
    .cf7-label-text {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        font-size: 16px;
        line-height: 22px;
        margin-top: 8px;
        margin-bottom: 10px;
    }
    
    .cf7-label__wrapper:last-child .cf7-label-text {
    	margin-bottom: 0;
    }
    
    .cf7-group-date .cf7-label {
    	margin-bottom: 16px !important;
    }
    
    .cf7-group-date .cf7-label:last-child {
    	margin-bottom: 0 !important;
    }
    
    .cf7-heading + .cf7-image-row {
        margin-top: 12px;
    }
    
    .cf7-list {
        margin-top: -3px;
        padding-left: 26px;
        font-size: 16px;
        line-height: 22px;
    }
    
    .cf7-list li:not(:last-child) {
        margin-bottom: 7px;
    }
    
    .cf7-list .ic {
        left: -26px;
        top: 3px;
        font-size: 18px;
    }
    
    textarea.wpcf7-form-control {
        height: 218px;
    }
    
    .cf7-text-row {
        margin-top: 15px;
        margin-bottom: 3px;
    }
    
    .cf7-text-row .cf7-label:not(:last-child) {
        margin-bottom: 13px;
    }
    
    .wpcf7-acceptance .wpcf7-list-item {
    	font-size: 16px;
    	margin-left: 34px;
        line-height: 22px;
        padding-right: 10px;
        margin-top: 4px;
    }
    
    .wpcf7-form-control.wpcf7-submit {
    	margin-top: 24px;
    }
    
    .cf7-success-message {
        padding: 0 15px 68px;
        margin-top: -84px;
    }
    
    .cf7-success-message svg {
    	width: 88px;
    	height: 88px;
    }
    
    .cf7-success-message h2 {
        font-size: 24px;
        margin-top: 0;
        padding: 0px 30px;
        line-height: 32px;
        margin-bottom: 10px;
    }
    
    .cf7-success-message p {
        line-height: 22px;
        padding: 0px 40px;
        margin-bottom: 24px;
    }
    
    .wpcf7-acceptance .wpcf7-list-item input + .wpcf7-list-item-label:before {
        width: 22px;
   		height: 22px;
        left: -33px;
    }
    
  }