:root {
    --border-color: #A3BCCE;
    --big-paragraph: 16px;
	--button-color: #004A8B;
	--background: white;
	--text-color: #1A4B86;
}

/*OLD*/

form#frontpage_search {
	display: flex;
	flex-wrap: wrap;
	background-color: #F4F3F1;
	max-width: 500px;
	font-size: var(--big-paragraph);
	font-weight: 500;
	margin: auto;
}

#frontpage_search input {
	border: none;
	cursor: pointer;
	outline: none;
}

.wrap-guests {
	position: relative;
}

form#frontpage_search input#range {
	width: 100%;
}

form#frontpage_search select,
form#frontpage_search select:focus {
	background-color: transparent;
	border: none;
	cursor: pointer;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	text-indent: 1px;
	text-overflow: '';
	padding: 25px;

}

form#frontpage_search .wrap-guests,
form#frontpage_search select {
	width: 50%;
	border-right: 1px solid var(--border-color);
	line-height: 1;
}

form#frontpage_search select,
form#frontpage_search input:not[type="submit"],
form#frontpage_search input::placeholder {
	color: #314856;
	text-align: center;
	font-weight: 500;
}

.toggleGuests {
	position: absolute;
	left: 0;
	background-color: #F4F3F1;
	width: 100%;
	display: none;
	z-index: 1;
}

form#frontpage_search .toggleGuests button.dec,
form#frontpage_search .toggleGuests button.inc {
	border-radius: 50%;
    max-height: 25px;
    width: 25px;
    min-height: 25px;
    padding: 0;
    font-weight: 500;
    background: var(--button-color);
    color: white;
	border: none;
	outline: none;
}

form#frontpage_search .toggleGuests button.inc:hover,
form#frontpage_search .toggleGuests button.dec:hover {
	cursor: pointer;
}

form#frontpage_search .toggleGuests #calcGuests {
	width: 100%;
	cursor: pointer;
}

#nights {
	visibility: hidden;
	display: none;
}

.toggleGuests input {
	width: 50px;
}

.toggleGuests label {
	width: 130px;
	display: flex;
	margin: 0;
	width: 60%;
}

.toggleGuests label div {
	margin-left: 5px;
}



.toggleGuests .guest-footer {
	border: none;
}

#guests, .wrap-range {
	width: 100%;
	text-align: center;
	background: white;
	font-weight: 500;
	background: transparent;
	cursor: pointer;
}
.wrap-range {
	height: 72px;
}
#frontpage_search input[type="submit"] {
	width: 100%;
}

/*
Litepicker Startseite
*/
:root {
	--litepicker-day-width: 40px;
	--litepicker-button-prev-month-color-hover: #314856;
	--litepicker-button-next-month-color-hover: #314856;

}


#calender-wrapper {
	position: absolute;
	top: 76px;
	padding: 0;
	z-index: 2;
	left: 0;
}

#calender-wrapper {
	display: none;
}

.active-searchelement #calender-wrapper {
	display: block;
}

.litepicker .container__main {
	padding: 0;
}

.litepicker .container__months,
.litepicker .container__footer {
	border-radius: 0;
	background-color: #F4F3F1;
}

.litepicker .container__months.columns-2 {
	width: calc((var(--litepicker-month-width) * 2) + 81px);
}

.litepicker .container__months .month-item {
	padding: 20px;
}


/* Litepicker */
.litepicker {
	font-family: 'Montserrat', Sans-serif;
	order: -1;
}

.litepicker .container__main {
	background-color: #F4F3F1;
}

.litepicker .container__months {
	background: transparent;
	box-shadow: none;
}

.litepicker .container__months .month-item-header div {
	font-size: var(--big-paragraph);
}

.litepicker .container__months .month-item-weekdays-row>div {
	font-size: 14px;
	font-weight: 500;
}

.litepicker .container__months .month-item-header button {
	background: transparent;
}

.litepicker .container__days>div {
	border: none;
	box-sizing: border-box;
}

.litepicker .container__days .day-item {
	border-radius: 50%;
	font-size: 14px;
	border-color: transparent;
	color: #314957;
	margin-top: 2px;
}

.litepicker .day-item {
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.litepicker .container__days .day-item.is-start-date,
.litepicker .container__days .day-item.is-start-date.is-locked:hover,
.litepicker .container__days .day-item.is-end-date.is-flipped {
	border-top-left-radius: 50%;
	border-bottom-left-radius: 50%;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	background: #B38B50;
	border-right: none;
}

.litepicker .container__days .day-item.is-locked {
	color: #A49A86;
}

.litepicker .container__days .day-item.is-in-range {
	background: #B38B50;
	color: white;
	border-left: none;
	border-right: none;
}

.litepicker .container__days .day-item.is-end-date,
.litepicker .container__days .day-item.is-start-date.is-flipped {
	border-top-right-radius: 50%;
	border-bottom-right-radius: 50%;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	background: #B38B50;
	border-left: none;
}

.litepicker .container__days .day-item:hover {
	box-shadow: none;
}

.litepicker .container__days .day-item:not(.is-locked):hover {
	background: #B38B50;
	color: white;
}

.litepicker .container__days .day-item.is-start-date.is-end-date {
	border-radius: 50%;
}

.litepicker .container__footer .button-apply {
	margin-left: 0;
	margin-right: 0;
	width: 100%;
	border-radius: 0;
	background-color: var(--e-global-color-07f3358);
	padding: 20px;
}

.litepicker .container__footer {
	margin: 0;
	padding: 0;
}

.litepicker .container__footer .preview-date-range,
.litepicker .container__footer .button-cancel {
	display: none;
}

div#nights-wrapper {
	background-color: #F4F3F1;
	display: flex;
	justify-content: space-between;
	font-size: var(--big-paragraph);
	font-weight: 500;
	display: none;
}

form#frontpage_search #nights_min,
form#frontpage_search #nights_max {
	border: none;
}

.night-label {
	padding: 25px;
	min-width: 200px;
	text-align: center;
	border-right: 1px solid #E9E5DF;
	border-top: 1px solid #E9E5DF;
}

#calcNights {
	width: -webkit-fill-available;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	border-top: 1px solid #E9E5DF;
}

.wrap-range {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	cursor: pointer;
	border-bottom: 1px solid var(--border-color);
	position: relative;
}

.show-desktop {
	display: flex;
}

.show-mobile {
	display: none;
}

.button-apply {
	cursor: pointer;
}

#calcNights img,
.wrap-range img {
	width: 40px;
	filter: invert(23%) sepia(60%) saturate(274%) hue-rotate(158deg) brightness(96%) contrast(92%);
}

div#calcNights>div {
	height: 100%;
	position: relative;
}

button#calender_select {
	width: 100%;
	border: none;
	height: 72px;
	color: white;
	cursor: pointer;
}

form#frontpage_search #calcNights div select {
	height: 100%;
	width: 160px;
	padding: 0 0px 0 90px;
	position: relative;
	color: inherit;
}

form#frontpage_search #calcNights div #nights_max {
	padding: 0 0px 0 70px;
}

form#frontpage_search #calcNights div select option {
	background: #F4F3F1;
}




/*Select2*/



#frontpage_search>.select2-container {
	width: 50% !important;
}

.select2-container .select2-choice {
	padding: 5px 10px;
	width: 132px;
	font-size: 1.2em;
	background-color: grey;
}

.select2-container--default .select2-selection--single {
	border: none;
	background: transparent;
}

#frontpage_search .select2-container .select2-selection--single {
	height: 72px;

	display: flex;
	align-items: center;
	width: 100%;
}
#frontpage_search .select2-container .select2-selection--single {
	padding-left: 35px;
}

span.select2-selection__arrow {
	opacity: 0;
}

.select2-container--default .select2-results>.select2-results__options {
	max-height: 400px;
}


.select2-results__option {
	padding: 20px;
	min-height: 72px;
	display: flex;
	align-items: center;
	background-color: white;
	border-top: 1px solid var(--border-color);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
	color: white;
}
.select2.select2-container {
    height: 100%;
    width: 100% !important;
    padding: 0 30px;
}




.nightselect-wrapper select {
	display: none;
	/*hide original SELECT element:*/
}

.select-selected {
	background-color: #F4F3F1;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 20px;
}

/*style the items (options), including the selected item:*/
.select-items div,
.select-selected {
	color: inherit;
	cursor: pointer;
	user-select: none;
}

.select-items div {
	border-bottom: 1px solid var(--border-color);
	padding: 14px 20px;
}

/*style items (options):*/
.select-items {
	position: absolute;
	background-color: #F4F3F1;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 99;
	max-height: 300px;
	overflow-y: scroll;
}

/*hide the items when the select box is closed:*/
.select-hide {
	display: none;
}

.select-items div:hover {
	background-color: #B38B50;
	color: white;
}








/*END OLD*/

/*Form Css*/
.litepicker {
	font-family: 'Montserrat', Sans-serif;
}
.toggleGuests > div:not(.guest-footer){
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
	padding: 0px 15px;
}
.toggleGuests label {
	font-size: 15px;
    color: var(--text-color);
}
#guests, form#frontpage_search #nights_min, form#frontpage_search #nights_max, .from-date-wrapper, .to-date-wrapper, .select2-container--default .select2-selection--single .select2-selection__rendered, .select2-container {
	color: var(--text-color);
}
.litepicker .container__months .month-item-header div {
	font-size: var(--big-paragraph);
    color: var(--text-color);
}
.toggleGuests, #calender-wrapper {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
#calender-wrapper .litepicker .container__months .month-item-header .button-next-month>svg, #calender-wrapper .litepicker .container__months .month-item-header .button-next-month>img, #calender-wrapper .litepicker .container__months .month-item-header .button-previous-month>svg, #calender-wrapper .litepicker .container__months .month-item-header .button-previous-month>img, #calender-wrapper .litepicker .container__months .month-item-header .button-previous-month:hover, #calender-wrapper .litepicker .container__months .month-item-header .button-next-month:hover {
    fill: var(--text-color);
    color: var(--text-color);
}
#calender-wrapper .litepicker .container__months .month-item-header button {
    background: transparent;
    outline: none;
    cursor: pointer;
}
form#frontpage_search .toggleGuests #calcGuests {
	border: none;
}
#calender-wrapper, .toggleGuests {
	background: white;
}
/*Form Css*/


.dateswrap {
	min-width: 230px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}



.to-date-wrapper::before {
    content: "-";
    padding-right: 15px;
    padding-left: 15px;
}






form#frontpage_search {
    display: flex;
    flex-wrap: wrap;
	width: fit-content;
	background-color: var(--background);
    max-width: none;
    font-size: var(--big-paragraph);
    font-weight: 500;
	position: relative;
}
form#frontpage_search .wrap-guests, form#frontpage_search select, #frontpage_search input[type="submit"], .wrap-range {
	width: auto;
}
.litepicker .container__days .day-item:not(.is-locked):hover, .litepicker .container__days .day-item.is-in-range, .litepicker .container__days .day-item.is-in-rangem, .litepicker .container__days .day-item.is-end-date, .litepicker .container__days .day-item.is-start-date.is-flipped, .litepicker .container__days .day-item.is-start-date, .litepicker .container__days .day-item.is-start-date.is-locked:hover, .litepicker .container__days .day-item.is-end-date.is-flipped {
	background: var(--button-color);
}
.select-items div:hover, .litepicker .container__main, .toggleGuests, div#nights-wrapper {
	background-color: var(--background);
}
#frontpage_search input[type="submit"] {
	border-radius: 0;
}
.toggleGuests {
	min-width: 250px;
	top: 72px;
	width: 100%;
}

#calcNights .select-selected, div#nights-wrapper {
	background-color: var(--background);
}
.select-items div {
	background-color: var(--background);
	color: inherit;
}
.select-items div:hover {
	background-color: var(--button-color);
	color: white;
}

.from-date-wrapper {
    padding-left: 12px;
}
.to-date-wrapper {
    padding-right: 20px;
}
.wrap-range, .wrap-guests {
	margin: 15px;
	border: 1px solid var(--border-color);
}
div#range::before {
	content: url(/wp-content/themes/hello-theme-child-master/assets/images/Icon-awesome-calendar-alt.svg);
	padding-left: 10px;
}
#frontpage_search input[type="submit"] {
	border-bottom-right-radius: 20px;
	border-top-right-radius: 20px;
}
#frontpage_search {
	border-radius: 25px;
}

/*Naechte*/
div#nights-wrapper {
	display: block;
}



/*Gaeste*/
form#frontpage_search .wrap-guests, form#frontpage_search .wrap-nights {
	min-width: 200px;
    display: flex;
    align-items: center;
	height: 72px;
}
form#frontpage_search .wrap-nights {
	border-right: 1px solid var(--border-color);
    line-height: 1;
	margin: 15px;
    border: 1px solid var(--border-color);
}
div.wrap-guests::before {
	content: url(/wp-content/themes/hello-theme-child-master/assets/images/Icon-material-person.svg);
	padding-left: 10px;
	position: absolute;
	pointer-events: none;
}
div.wrap-nights::before {
	content: url(/wp-content/themes/hello-theme-child-master/assets/images/Icon-awesome-moon.svg);
	padding-left: 10px;
}
#guests {
	text-align: center;
	padding-left: 43px;
	padding-right: 35px;
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
}


.labreva #nights {
	display: block;
	visibility: visible;
	width: 100%;
	padding-left: 20px;
}

/*Select2*/
.select2-results__option {
    padding: 20px;
    display: flex;
    align-items: center;
    background-color: var(--background);
    border-top: 1px solid var(--border-color);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--button-color);
    color: white;
}
#frontpage_search span.select2-selection::after{
    position: absolute;
	right: 0;
    top: 50%;
    transform: translate(-50%, -50%);
	filter: invert(80%) sepia(14%) saturate(755%) hue-rotate(177deg) brightness(94%) contrast(88%);
}
#frontpage_search span.select2-selection::after, #frontpage_search .wrap-guests::after, #frontpage_search .wrap-range::after {
    content: "";
    background: url(/wp-content/themes/hello-theme-child-master/assets/images/chevron-down-light.svg);
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
	padding-right: 30px;
    background-size: contain;
    filter: invert(80%) sepia(14%) saturate(755%) hue-rotate(177deg) brightness(94%) contrast(88%);
}
#frontpage_search .wrap-guests::after {
	position: absolute;
	right: 0px;
	pointer-events: none;
}
#frontpage_search span.select2-selection::after {
	padding-right: 10px;
}
div.wrap-nights::before {
	position: absolute;
}
#frontpage_search .select2-container {
	padding: 0;
}
#guests, form #nights_min, form #nights_max, .from-date-wrapper, .to-date-wrapper, .select2-container--default .select2-selection--single .select2-selection__rendered, .select2-container {
    color: var(--text-color);
}

.wrap-range::before {
    margin-top: 5px;
}

/*litepicker color change*/

.litepicker .container__days .day-item.is-locked,
.litepicker .container__days .day-item.is-locked:hover {
	background: #DBE3EB;
	color: white !important;
}

.litepicker .container__days .day-item {
	background: #36A763;
	cursor: pointer;
	font-size: 12px;
	color: white !important;
	border: 6px solid white;
}

.litepicker .container__days>div {
	border: none;
	box-sizing: border-box;
}

.litepicker .container__days .day-item {
	border-radius: 50%;
	color: var(--button-color);
	margin-top: 2px;
	border: 6px solid white;
}

.litepicker .day-item {
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.litepicker .container__days .day-item.is-start-date,
.litepicker .container__days .day-item.is-start-date.is-locked:hover,
.litepicker .container__days .day-item.is-end-date.is-flipped {
	border-top-left-radius: 50%;
	border-bottom-left-radius: 50%;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	background: var(--button-color);
	border-right: none;
}

.litepicker .container__days .day-item.is-locked {
	color: grey;
}
.litepicker .month-item-name {
	font-weight: 300;
}

.litepicker .container__days .day-item.is-in-range {
	background: var(--button-color);
	color: white;
	border-left: none;
	border-right: none;
}

.litepicker .container__days .day-item.is-end-date,
.litepicker .container__days .day-item.is-start-date.is-flipped {
	border-top-right-radius: 50%;
	border-bottom-right-radius: 50%;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	background: var(--button-color);
	border-left: none;
}

.litepicker .container__days .day-item:hover {
	box-shadow: none;
}

.litepicker .container__days .day-item:not(.is-locked):hover {
	background: var(--button-color);
	color: white;
}

.litepicker .container__days .day-item.is-start-date.is-end-date {
	border-radius: 50%;
	border-left: 6px solid white;
    border-right: 6px solid white;
}
.litepicker .container__days .day-item.is-start-date.is-flipped {
	border-right: 6px solid white;
}
.litepicker .container__days .day-item.is-end-date.is-flipped {
	border-left: 6px solid white;
}
/*litepicker color change*/


@media only screen and (max-width: 1024px) {
	form#frontpage_search {
		flex-direction: column;
		background-color: rgba(255,255,255,0.8);
	}
	#range, .wrap-nights, .wrap-guests {
		background-color: white;
	}
	.dateswrap {
		min-width: 180px;
		padding-left: 35px;
    	padding-right: 35px;
	}
	#frontpage_search .wrap-range::after {
		position: absolute;
		right: 0px;
		pointer-events: none;
	}
	div#range::before {
    	position: absolute;
	}
	.wrap-range {
		flex-wrap: nowrap;
		padding: 0;
		justify-content: space-between;
	}
	#frontpage_search input[type="submit"] {
		border-radius: 20px; 
		margin: 15px;
   }
   #frontpage_search input[type="submit"], .wrap-range, .wrap-guests, form#frontpage_search .wrap-nights, .wrap-range {
	margin: 4px 10px;
	}
	form#frontpage_search {
		padding: 20px 15px;
	}
	
}
@media only screen and (max-width: 900px) {
	form#frontpage_search .wrap-guests, form#frontpage_search .wrap-nights, form#frontpage_search .wrap-regions, form#frontpage_search .wrap-type, .wrap-range {
		min-width: 170px;
		height: 50px;
		font-size: 13px;
	}
	.toggleGuests label {
		font-size: 13px;
	}
	:root {
		--big-paragraph: 15px;
	}
	form#frontpage_search {
		width: 100%;
		max-width: 290px;
	}
	.to-date-wrapper::before {
		padding-right: 10px;
		padding-left: 10px;
	}

	#frontpage_search .select2-container .select2-selection--single {
		height: 50px;
	
	}
	.litepicker .container__months .month-item {
		padding: 10px;
	}
	.show-mobile {
		display: block;
		position: absolute;
		background: #F4F3F1;
		padding: 0px 10px 0px 10px !important;
	}
	.toggleGuests {
		top: 50px;
	}

	.show-desktop {
		display: none;
	}

	.to-date-wrapper, .from-date-wrapper {
		line-height: 1.2em;
	}
	.to-date-wrapper {
		padding-right: 10px;
	} 
	.from-date-wrapper {
		padding-left: 8px;
	}


	form#frontpage_search select {
		width: 100%;
	}

	#nights-wrapper {
		flex-wrap: wrap;

	}

	#frontpage_search>.select2-container {
		border: none;
		width: 100% !important;
	}

	#calender-wrapper {
		position: fixed;
		z-index: 2;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
	}

	.litepicker-wrapper {
		text-align: center !important;
	}

	.night-label {
		width: 100%;
		display: none;
	}

	#calcNights {
		min-height: 72px;
		flex-wrap: wrap;
	}

	div#nights-wrapper {
		font-size: 14px;
	}

	.litepicker .container__months {
		width: 100%;
	}


	div#calcNights>div:not(.show-mobile) {
		height: 72px;
		width: 100%;
		text-align: center;
		border-bottom: 1px solid var(--border-color);
	}

	div#calcNights .select2-container {
		width: 100% !important;
	}

	#calcNights .show-mobile {
		height: auto;
		margin-top: -20px;
		margin-bottom: -20px;
		z-index: 1;
		pointer-events: none;
	}
}