.form-frame{
	width: 100%;
    max-width: 66.67vw;
    margin: 0 auto;
}

.form-frame form{
	grid-gap: var(--value-20);
}

.form-frame form.not-initialized .select2-nosearch,
.form-frame form.not-initialized input::placeholder,
.form-frame form.not-initialized .change,
.form-frame form.not-initialized .direction-box::after{
	opacity: 0;
	color: transparent;
}

.form-frame form.not-initialized select{
	color: transparent;
}


.form-frame .fields-list{
	grid-gap: var(--value-12);
}

.form-frame .fields-row{
    grid-template-columns: repeat(4, 1fr);
	background: #FFFFFF;
    border-radius: var(--value-8);
	grid-gap:0;
	padding: 0 var(--value-5);
}

.form-frame .top-bar{
	grid-template-columns: repeat(auto-fit, minmax(var(--value-1), auto));
    justify-content: flex-start;
	padding: 0 var(--value-20);
}

.form-frame .direction-box{
	grid-template-columns: 1fr auto 1fr;
	grid-column-start: span 3;
	grid-gap: var(--value-5);
	align-items: center;
}

.form-frame .direction-box.round-trip{
	grid-column-start: span 2;
}

.ch-bt-box{
	display: flex;
	align-items: center;
	justify-content: center;
}

.ch-bt-box .change{
	border: none;
	outline: none;
	background-color: transparent;
	background-image: url(../img/flip.svg);
	background-size: var(--value-25);
	background-repeat: no-repeat;
	background-position: center;
	width: var(--value-25);
	height: var(--value-25);
	filter: grayscale(1);
}

.ch-bt-box .change:hover{
	filter: none;
}

.form-frame .field-box{
	padding:0;
	position: relative;
}

.form-frame .direction-box{
	position: relative;
}

.form-frame .field-box::after,
.form-frame .direction-box::after{
	content: '';
	width: var(--value-1);
	height: calc(100% - 2 * var(--value-15));
	background-color: rgb(146 146 146 / 30%);
	position: absolute;
	top: var(--value-15);
	right: calc(-0.5 * var(--value-1));
	z-index: 1;
}

.form-frame input,
.select2-container.select2-container--type-2 .select2-selection--single .select2-selection__rendered,
.select2-container--type-2 .select2-search--dropdown .select2-search__field,
.select2-single{
	padding: var(--value-15) var(--value-15);
	height: 3.9vw;
	border: transparent;
	outline: none;
	background-color: #fff;
	color: var(--black-color);
	width: 100%;
	letter-spacing: 0.01em;
	font-size: var(--font-20);
	line-height: 1;
}

.select2-single{
	-webkit-appearance: none;
}

.form-frame input::placeholder{
	color: #929292;
}

.form-frame input::-webkit-input-placeholder{
	color: #929292;
}
.form-frame input::-moz-placeholder{
	color: #929292;
}
.form-frame input:-ms-input-placeholder{
	color: #929292;
}
.form-frame input:-moz-placeholder {
	color: #929292;
}

.form-frame .field-box:last-child::after,
.form-frame .direction-box .field-box::after{
	display: none;
}

.form-frame .buttons-box{
	grid-template-columns: repeat(auto-fit, minmax(var(--value-1), auto));
	justify-content: flex-end;
}

.form-frame .buttons-box.two-btns{
	justify-content: space-between;
}

.select2-container--type-2{
	width:100%!important;
}

.select2-container--type-2 .select2-selection__placeholder{
	color: #929292;
}

.select2-container.select2-container--type-2.select2-container--below .select2-selection--single .select2-selection__rendered{
	color: var(--black-color);
}

.select2-container--type-1 .select2-selection--single,
.select2-container--type-2 .select2-selection--single{
	height:auto!important
}

.select2-container.select2-container--type-2 .select2-selection--single .select2-selection__rendered{
	display: flex;
	align-items: center;
}

.select2-container--type-2 .iataCode{
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #929292;
	font-size: var(--font-16)
}

.select2-container--type-2 .country{
	color: #929292;
	margin-left: var(--value-5);
}

.select2-container--type-2 .select2-selection__rendered>span{
	display: grid;
	grid-template-columns: auto auto;
	justify-content: space-between;
	grid-gap: var(--value-15);
	width:100%;
	align-items: flex-end;
}

.select2-container--type-1,
.select2-nosearch{
	font-size: var(--font-16);
	width:auto!important;
}

.select2-container--type-1 .select2-selection--single{
	position: relative;
}

.select2-container.select2-container--type-1 .select2-selection--single .select2-selection__rendered,
.select2-nosearch{
	padding:0;
	padding-right: var(--value-20);
}

.select2-nosearch{
	border:none;
	background: transparent;
	outline: none;
	-webkit-appearance: none;
	position: relative;
	background-repeat: no-repeat;
	background-size: var(--value-15);
	background-image: url(../img/chevron_down.svg);
	background-position: right center;
	filter: grayscale(1);
}

.select2-container--type-1 .select2-selection--single .select2-selection__arrow{
	position: absolute;
	top: calc((100% - var(--value-15)) / 2);
	right:0;
	width: var(--value-15);
	height: var(--value-15);
	background-color: transparent;
	background-repeat: no-repeat;
	background-size: var(--value-15);
	background-image: url(../img/chevron_down.svg);
	transition: .2s ease;
	-moz-transition: .2s ease;
	-webkit-transition: .2s ease;
	-o-transition: .2s ease;
	filter: grayscale(1);
}

.select2-container--type-1.select2-container--open .select2-selection--single .select2-selection__arrow{
	transform: rotate(-180deg);
	filter:grayscale(0);
}

.select2-container--type-1 .select2-selection--single:hover .select2-selection__rendered,
.select2-container--type-1.select2-container--open .select2-selection--single .select2-selection__rendered{
	color:var(--red-color);
}

.select2-container--type-1 .select2-selection--single:hover .select2-selection__arrow{
	filter:grayscale(0);
}

.select2-container--open .select2-dropdown{
	border:none;
	border-radius:0;
	background-color: transparent;
}

.select2-container--open .select2-dropdown .select2-results{
	background: #FFFFFF;
    box-shadow: 0px var(--value-15) var(--value-25) var(--value-5) rgb(0 0 0 / 4%);
    border-radius: 0 0 var(--value-15) var(--value-15);
    border: none;
	overflow: hidden;
	margin-top: var(--value-5);
}

.select2-dropdown .select2-results__option{
	font-size: var(--font-18);
	white-space: nowrap;
	padding: var(--value-12) var(--value-15);
	padding-right: var(--value-20);
}

.select2-container--type-2 .select2-dropdown .select2-results__option>span{
	display: grid;
    grid-template-columns: 1fr auto;
    grid-gap: var(--value-20);
    justify-content: space-between;
}

.select2-container .select2-results__message:empty{
	padding:0;
}


.select2-dropdown .select2-results__option--selected{
	color: var(--red-color);
}

.select2-dropdown .select2-results__option.select2-results__option--selectable:hover{
	background-color: #FFE7D6;
}

.select2-nosearch-list{
	width:auto!important;
}


.select2-container--type-2 .select2-dropdown{
	margin-top: -3.9vw;
}

.select2-container--type-2 .select2-search--dropdown{
	padding:0;
	margin: 0;
	border-radius:0;
}

.select2-dropdown .select2-results__option .nameAirport{
	display: inline-flex;
	align-items: center;
}

.select2-dropdown .select2-results__option .nameAirport::before{
	content: '';
	width: var(--value-15);
	height: var(--value-15);
	position: relative;
	background-image: url(../img/corner_down_right.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: var(--value-15);
	display: inline-block;
	margin-right: var(--value-5);
	top: calc(2 * var(--value-1));
}

.select2-dropdown .select2-results__option>span>span:first-child{
	text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: inline;
}

.ui-datepicker{
	background: #FFFFFF;
    box-shadow: 0px var(--value-15) var(--value-25) var(--value-5) rgb(0 0 0 / 4%);
    border-radius: 0 0 var(--value-15) var(--value-15);
    border: none;
	padding: var(--value-15);
	margin-top: var(--value-5);
	display: none;
}

.ui-datepicker .ui-datepicker-header {
    display: grid;
    grid-gap: var(--value-10);
    grid-template-columns: auto 1fr auto;
    text-align: center;
    justify-content: space-between;
    align-items: center;
	font-weight: 700;
}

.ui-datepicker-calendar {
    width: 100%;
}

button.ui-datepicker-current, button.ui-datepicker-close, .booking_form .form-part2 {
    display: none;
}

.ui-datepicker-calendar thead {
    margin: var(--value-10) 0;
}

.ui-datepicker-calendar thead tr th {
    width: var(--value-40);
    height: var(--value-40);
	font-weight: 400;
	text-align: center;
}

.ui-datepicker-calendar tbody {
    font-size: var(--font-16);	
	text-align: center;
}

.ui-datepicker-calendar tbody tr td.ui-state-disabled {
    opacity: .5;
}

.ui-datepicker-calendar tbody tr td a, 
.ui-datepicker-calendar tbody tr td span {
    color: var(--black-color);
    text-decoration: inherit;
    outline: inherit;
    width: var(--value-40);
    height: var(--value-40);
    display: inline-flex;
	margin: 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: var(--value-12);
	line-height: 1;
}

.ui-datepicker-calendar tbody tr td.ui-datepicker-today a{
	color: var(--red-color);
}

.ui-datepicker-calendar tbody tr td:hover a {
    background-color: #FFE7D6;
    color: var(--black-color);
}

.ui-datepicker-calendar tbody tr td.ui-datepicker-current-day a,
.ui-datepicker-calendar tbody tr td.ui-datepicker-today.ui-datepicker-current-day a{
	background-color: var(--red-color);
	color: #fff;
}


.ui-datepicker .ui-datepicker-header>a.ui-state-disabled {
    opacity: .5;
    cursor: default;
}

.ui-datepicker .ui-datepicker-header>a.ui-datepicker-prev {
    transform: scale(-1,1) rotate(-90deg);
}

.ui-datepicker .ui-datepicker-header>a {
    display: block;
    font-size: 0;
    width: var(--value-40);
    height: var(--value-40);
    background-repeat: no-repeat;
    background-image: url(../img/chevron_down.svg);
    background-size: var(--value-20);
	background-position: center;
    cursor: pointer;
    outline: inherit;
	transform: rotate(-90deg);
	filter: grayscale(1);
}

.ui-datepicker .ui-datepicker-header>a:hover{
	filter: none;
}

.ui-datepicker .ui-datepicker-header>a.ui-state-disabled:hover{
	filter: grayscale(1);
}

.ui-datepicker .ui-datepicker-header>a.ui-datepicker-next {
    order: 1;
}

input.date-filter{
	cursor: pointer;
}


.form-frame .date-start::after{
	display: none;
}

.form-frame .date-start.round::after{
	display: block;
}

.select2-single-list .select2-results__options{
	max-height: calc( 2 * var(--value-100));
    overflow-y: scroll;
}

.select2-single-list .select2-results__options::-webkit-scrollbar {
	width:0;
	display: none;
	opacity: 0;
}
.send-error{
	display: none;
}

.hidden-part-2{
	display: none;
}

.tooltip-inner{
	color: var(--black-color);
    background-color: #FFE7D6;
    padding: var(--value-8) var(--value-12);
    font-size: var(--font-18);
    font-weight: 400;
	line-height: 1;
}

.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before, .bs-tooltip-top .tooltip-arrow::before{
	border-top-color:#FFE7D6;
}

.tooltip.show {
    opacity: 1;
}

input.error{
	color:var(--red-color);
}





@media (max-width: 767px){
	.form-frame{
		max-width:400px;
	}

	.form-frame .top-bar{
		padding:0;
		grid-gap: 20px;
	}

	.select2-container--type-1, .select2-nosearch{
		font-size: 14px;
	}

	.select2-container--type-1 .select2-selection--single .select2-selection__arrow {
		top: 3px;
		width: 13px;
		height: 13px;
		background-size: 13px;
	}

	.select2-nosearch{
		background-size: 13px;
	}

	.select2-container.select2-container--type-1 .select2-selection--single .select2-selection__rendered, .select2-nosearch{
		padding-right: 18px;
	}

	.form-frame .fields-row{
		grid-template-columns: repeat(2, 1fr);
		background:transparent;
		border-radius: 0;
		grid-gap: 0;
		padding: 0;
		grid-gap: 6px;
	}

	.form-frame .field-box{
		grid-column-start: span 2;
	}

	.form-frame .field-box::after, 
	.form-frame .direction-box::after{
		display: none!important;
	}

	.form-frame .direction-box {
		grid-template-columns: 1fr;
		grid-column-start: span 2;
		position: relative;
		grid-gap: 5px;
	}

	.form-frame .direction-box .field-box{
		grid-column-start: initial;
	}

	.form-frame input, .select2-container.select2-container--type-2 .select2-selection--single .select2-selection__rendered, .select2-container--type-2 .select2-search--dropdown .select2-search__field, .select2-single {
		padding: 16px;
		height: 54px;
		font-size: 18px;
		border-radius: 8px;
		-webkit-border-radius: 8px;
		-webkit-appearance: none;
	}

	.select2-container--type-2 .select2-search--dropdown .select2-search__field{
		padding-right:65px;
	}

	.ch-bt-box .change {
		background-color: #fff;
		background-size: 19px;
		width: 25px;
		height: 25px;
		border-radius: 4px;
		border: 2px solid #FCF5F0;
	}

	.ch-bt-box{
		position: absolute;
		top: 43px;
		right: 15px;
		transform: rotate(-90deg);
		z-index: 1;
	}

	.form-frame .fields-list .top-bar{
		margin-bottom: 6px;
	}

	.form-frame .fields-list{
		grid-gap: 6px;
	}

	.form-frame form {
		grid-gap: 6px;
	}

	.form-frame .bt{
		width:100%;
	}

	.form-frame .buttons-box{
		grid-template-columns: 1fr;
	}

	.form-frame .buttons-box.two-btns{
		grid-gap: 6px;
		margin-top: 6px;
	}

	.form-frame .date-box.date-start.round,
	.form-frame .date-box.date-return{
		grid-column-start: initial;
	}

	.select2-container--type-2 .iataCode{
		font-size: 14px;
	}

	.select2-dropdown .select2-results__option {
		font-size: 18px;
		white-space: nowrap;
		padding: 12px 16px;
		padding-right: 20px;
		line-height: 1.2;
	}

	.select2-container--open .select2-dropdown .select2-results {
		box-shadow: 0px 15px 25px 5px rgb(0 0 0 / 4%);
		border-radius: 0 0 15px 15px;
		margin-top: 5px;
	}

	.select2-container--type-2.select2-container--open .select2-dropdown{
		border-radius: 0;
		box-shadow: none;
		height: 100vh;
		position: fixed!important;
		top: 0;
		transform: initial;
		width: 100vw!important;
		background-color: var(--pink-light-color);
		z-index: 9999;
		padding: 20px 100px 0 100px;
	}

	.select2-container--type-2.select2-container--open .select2-dropdown .close-select2, 
	button.ui-datepicker-close {
		background-color: transparent;
		background-image: url(../img/close.svg);
		background-position: center;
		background-repeat: no-repeat;
		background-size: 24px;
		border: none;
		bottom: initial;
		content: '';
		display: block;
		height: 54px;
		left: initial;
		position: absolute;
		right:2px;
		top: 2px;
		width: 54px;
	}

	button.ui-datepicker-close{
		filter: grayscale(1);
	}

	.select2-container--type-2.select2-container--open .select2-dropdown .close-select2{
		right: 100px;
		top: 20px;
	}

	.select2-container--type-2 .select2-dropdown{
		margin-top:0;
	}

	.select2-dropdown .select2-results__option .nameAirport::before {
		width: 16px;
		height: 16px;
		background-size: 16px;
		margin-right: 5px;
		top: 2px;
	}

	.select2-container--type-2 .select2-dropdown .select2-results__option>span{
		grid-gap: 20px;
	}

	.select2-container--type-2 .select2-dropdown .select2-results__option>span .iataCode{
		font-size: 16px;
	}

	.select2-container--type-2 .country{
		margin-left: 5px;
	}

	.tooltip-inner {
		padding: 8px 12px;
		font-size: 14px;
	}

	.ui-datepicker {
		border-radius: 0;
		box-shadow: none;
		display: none;
		height: 100vh;
		left: 0!important;
		margin-top: 0;
		overflow-y: scroll;
		position: fixed!important;
		top: 0!important;
		width: 100vw!important;
		z-index: 10001!important;
		padding: 20px 10px;
		background-color: var(--pink-light-color);
		padding-top: 110px;
	}

	.ui-datepicker-calendar tbody {
		font-size: 18px;
	}

	.ui-datepicker-calendar tbody thead{
		font-size:16px;
	}

	.ui-datepicker-group{
		max-width: 355px;
		width: 100%;
		margin: 0 auto 50px;
	}

	.ui-datepicker-group.ui-datepicker-group-last{
		margin-bottom: 30px;
	}

	.ui-datepicker-title{
		font-size: 18px;
		padding: 0 17px;
		margin-bottom: 10px;
	}

	.ui-datepicker .ui-datepicker-header{
		grid-template-columns: 1fr;
		justify-content: flex-start;
		text-align: left;
	}

	.ui-datepicker .ui-datepicker-header>a{
		display: none;
	}

	.ui-datepicker-calendar tbody tr td a, .ui-datepicker-calendar tbody tr td span{
		border-radius: 12px;
	}

	.ui-datepicker::before{
		font-size: 24px;
		font-weight: 700;
		display: block;
		padding: 0 25px;
		padding-top: 20px;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		background-color: var(--pink-light-color);
		z-index: 1;
		box-shadow: 0 0 14px 10px var(--pink-light-color);
	}

	.ui-datepicker.container-departure::before{
		content: 'Departure date';
	}

	.ui-datepicker.container-return::before{
		content: 'Return date';
	}

	.ui-datepicker-buttonpane{
		position: fixed;
		top:2px;
		right: 5px;
		z-index: 2;
	}

	button.ui-datepicker-close{
		position: relative;
		top:0;
		right:0;
	}

	.open-calendar{
		overflow: hidden;
	}

	.ui-datepicker-calendar tbody tr td:hover a{
		background-color: transparent;
	}

}


@media (max-width: 600px){
	.select2-container--type-2.select2-container--open .select2-dropdown{
		padding: 20px 50px 0 50px;
	}
	.select2-container--type-2.select2-container--open .select2-dropdown .close-select2{
		right: 50px;
	}
}

@media (max-width: 480px){
	.select2-container--type-2.select2-container--open .select2-dropdown{
		padding: 20px 20px 0 20px;
	}

	.select2-container--type-2.select2-container--open .select2-dropdown .close-select2{
		right: 20px;
		top: 20px;
	}
}


@media (max-width: 767px) and (orientation: portrait){
	.select2-single-list .select2-results__options {
		max-height: 270px;
	}
}

@media (max-width: 767px) and (orientation: landscape){
	.select2-single-list .select2-results__options {
		max-height: 170px;
	}
}