.question__block.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0 50px;
}

.question__item {
    grid-column-start: unset !important;
    grid-column-end: unset !important;
}



.wrapping__row {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.widget__title {
    text-align: center;
    color: #fff;
}

.column__widget-wrap {
    gap: 20px;
    display: flex;
    flex-direction: column;
}

.input-with-icon__select,
.input-with-icon__input,
.simple-input__select  {
    color: #fff !important;
    font-weight: 400;
}

.field__label {
    font-size: 18px;
}

.row__field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.simple-input__select,
.input-with-icon__select,
.input-with-icon__input {
    background-color: #496b9c !important
}


.input-with-icon__input {
    min-height: 48px;
}

.field__button.button--search {
    background-color: #fff;
    height: 50px;
    width: 100%;
    padding: 10px 15px;
    border-radius: 10px;
}

.row__field.field--submit {
    display: flex;
    align-items: end;
    justify-content: end;
    width: 100%;
}

.search-box__wrapping {
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.row__field.field--contact {
    flex: 1 50%;
}

.h2-title--thanks {
    font-size: 100px;
    text-align: center;
}

@media (max-width: 768px) {
    .question__block.grid {
        display: grid;
        grid-template-columns: 1fr;
        padding: 0;
    }

    .wrapping__row {
        flex-direction: column;
    }

    .field__button.button--search {
        width: 100%;
    }

    .h2-title--thanks {
        font-size: 34px;
        text-align: center;
    }
}

/* More CSS */

.success-block {
	max-width: 600px;
	margin: 120px auto 160px;
	background: #fff;
	box-shadow: 2px 4px 20px 0px rgba(0, 59.99999999999989, 179, 0.13);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    padding: 60px 60px 60px 60px;
	border-radius: 4px;
	text-align: center;
	display: flex;
    flex-direction: column;
	align-items: center;
    gap: 20px 0;
}

.success-block h2 {
	font-size: 42px;
	line-height: 1.2;
}

.success-block p {
	font-size: 16px;
}

.success-block a {
	width: fit-content;
	color: #2656a0;
    background-color: #FFFFFF;
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: #2656a0;
    border-radius: 4px;
    padding: 16px 36px 17px 36px;
	font-size: 15px;
}

.success-block a:hover {
	color: #FFFFFF;
    background-color: #2656a0;
    border-color: #2656a0;
}

/* Form */

.home .form > .wpcf7 {
	height: 100%;
    padding: 100px 0;
    background-color: #29589f;
    width: 100%;
    display: flex;
}

.home .form > .wpcf7 form {
	margin: 0 10%;
	background: rgb(243 240 240 / 90%);
	padding: 25px 75px;
}

.home .form > .wpcf7 form h2{
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 25px;
}

.home .form > .wpcf7 form p > label{
	color: #000;
	font-size: 14px;
	text-transform: uppercase;
	padding-left: 5px;
}

.home .form > .wpcf7 form input,
.home .form > .wpcf7 form select {
	border-radius: 12px;
	line-height: 58px;
	font-size: 16px;
	font-weight: 700;
	background-color: #fff!important;
}

.home .form > .wpcf7 form select{
	background-image: none;
}


.home .form > .wpcf7 form .form_row > div > p{
	position: relative;
}

.home .form > .wpcf7 form .form_row.select > div > p::after{
	content: '';
	background: url('/wp-content/uploads/2024/07/triangle-svgrepo-com-1.svg') no-repeat center center;
	background-size: 18px;
	position: absolute;
    right: 25px;
    top: 30px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.home .form > .wpcf7 form .form_row > div > p.open::after{
	transform: translateY(-50%) rotate(90deg);
}

.home .form > .wpcf7 form .form_row div input {
	width: 100%;
    padding: 0px 20px;
    border: 1px solid #e5e7ec;
    background-color: #FFFFFF !important;
    background: transparent;
}

.home .form > .wpcf7 form .form_row div input::placeholder {
	color: #000;
}

.home .form > .wpcf7 .form_row > p,
.home .form > .wpcf7 .form_row > p label {
	margin-bottom: 0;
}

.home .form > .wpcf7 .form_row.month > div > p > span input {
	padding: 0 20px 0 40px;
}

.home .form > .wpcf7 .form_row.month > div > p > span:nth-last-of-type(1) {
	position: absolute;
    top: 30px;
    transform: translateY(-50%);
    left: 70px;
	color: #000;
    font-size: 16px;
    padding-left: 20px;
    border-left: 2px solid #000;
}


.home .form > .wpcf7 .form_row.tel > div > p > input{
	padding: 0 20px 0 105px;
}

.home .form > .wpcf7 .form_row.tel > div > p > span:nth-last-of-type(1) {
	position: absolute;
    top: 30px;
    transform: translateY(-50%);
    left: 20px;
    font-size: 20px;
    padding-right: 20px;
    border-right: 2px solid #000;
	color: #000;
}

.home .form > .wpcf7 form > p:nth-last-of-type(1){
	margin-top: 40px;
}

.home .form > .wpcf7 form > p:nth-last-of-type(1) input{
	padding: 10px 0;
	text-transform: uppercase;
    font-weight: 800;
    font-size: 20px;
	color: #fff;
	background-color: #2656a0!important;
}

/* for chrome */
    .home .form > .wpcf7 form input[type=number]::-webkit-inner-spin-button,
    .home .form > .wpcf7 form input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;}

/* for mozilla */  
   .home .form > .wpcf7 form input[type=number]{-moz-appearance: textfield;}

.home .form > .wpcf7 form .form_row.month div input::placeholder,
.home .form > .wpcf7 form .form_row.price div input::placeholder,
.home .form > .wpcf7 form .form_row.name div input::placeholder {
	color: #d2d4d9;
}

@media screen and (max-width:1024px) {
	.about {
		padding: 0;
	}
}
@media screen and (max-width:540px) {
	.about {
		padding: 0 20px;
	}
	
	.home .form > .wpcf7 form {
		margin: 0 20px;
		padding: 25px;
	}
}

@media screen and (max-width:430px) {
	.success-block {
		padding: 40px;
		margin: 120px auto 120px;
	}
	
	.success-block h2 {
		font-size: 32px;
	}
}