
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {-webkit-appearance: none; margin: 0;}

/* Firefox */
input[type=number] {-moz-appearance: textfield;}

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

}
.sort-wrapper .beon-auto-submit.beon-select2, .beon-auto-submit.beon-select2:focus-visible{
    border-color: #888888;
    outline-color: #888888;
    outline-width: 0px;
    border-width: 1px;
    color: #888888;
}

#searchform button{
	box-shadow: none;
}

#range {
    cursor: pointer;
}
span.icon-wrapper {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translate(0px, -50%);
    line-height: 0;
}
span.icon-wrapper img{
    width: 20px;
    height: 20px;
    filter: var(--beon-button-filter);
}
.form-group {
    display: inline-block;
    position: relative;
    min-width: 200px;
    padding-left: 20px;
}
.form-group.btn {
    height: 100%;
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 9999;
    bottom: 0;
    border: 1px solid var(--beon-yellow-color);
    border-bottom-right-radius: var(--border-radius-small);
    border-top-right-radius: var(--border-radius-small);
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0;
}
form#searchform input[type="submit"], form#searchform input[type="submit"]:hover {
    background: var(--beon-yellow-color);
    color: var(--beon-white-color);
    cursor: pointer;
    height: 100%;
    border-bottom-right-radius: var(--border-radius-small) !important;
    border-top-right-radius: var(--border-radius-small) !important;
    padding: 1rem 2rem;
    right: 0;
    border: 0;
    width: 110px;
    /* z-index: 1; */
    line-height: 0;
    border-radius: 0;
    opacity: 1;
    border: 1px solid;
    
}
input.button_btn:hover {
    opacity: .8;
}
form input.button_btn:hover {
    background: var(--beon-yellow-color);
}
form#searchform {
    text-align: center;
    background: var(--form-background);
    display: flex;
    height: 70px;
    min-height: 70px;
    margin: 0 auto;
    border-radius: var(--border-radius-small);
    position: relative;
    width: max-content;
    justify-content: space-between;
    align-items: center;
    color: var(--beon-button-color);
    font-size: var(--font-size-medium);
}
form:after {
    display: none !important;
}
.form-group:not(.wrap-guests)::after {
    content: '';
    position: absolute;
    right: 0px;
    background: var(--beon-button-color);
    width: 1px;
    height: 20px;
    top: 50%;
    transform: translate(0, -50%);
  }
  
.form-tooltip:after {
	content: "";
	position: absolute;
	top: 100%;
	margin-top: -1px;
	left: 50%;
	margin-left: -10px;
	border-width: 10px;
	border-style: solid;
	border-color: var(--form-background) transparent transparent transparent;
}
.toggleGuests.form-tooltip:after {
	border-color: var(--beon-yellow-color) transparent transparent transparent;
}

form#searchform .form-group input[type="submit"] {
    background: var(--beon-yellow-color);
    color: #fff;
    cursor: pointer;
    outline: none;
    border: none;
    height: 100%;
    border-bottom-right-radius: var(--border-radius-small);
    border-top-right-radius: var(--border-radius-small);
    padding: 1rem 2rem;
/*    height: 67px;*/

}



.form-group.guest_input.guest_input1 {
  margin-left: 25px;
}
.form-group input::placeholder{
    color: #333;
}
.form-group input[type="text"]::placeholder{
    color: var(--beon-primary-color);
}
.form-group input:-moz-placeholder { /* Firefox 18- */
color:var(--beon-primary-color) !important;
opacity: 1 !important;  
}
 
.form-group input::-moz-placeholder {  /* Firefox 19+ */
color: var(--beon-primary-color) !important;  
opacity: 1 !important; 
}
.icon-wrapper svg {
    width: 16px !important;
    display: inline-block;
}

.advance-search-form .form-group {
    display: inline-block;
    margin-bottom: 0;
    padding: 0;
}

.toggleGuests {
    display: none;
}
.toggleGuests {
	position: absolute;
	bottom: 70px;
	left: 0;
	background-color: var(--form-background);
	width: 100%;
	display: none;
	z-index: 1;
    border-top-left-radius: var(--border-radius-small);
    border-top-right-radius: var(--border-radius-small);
    border-bottom-left-radius: var(--border-radius-small);
    border-bottom-right-radius: var(--border-radius-small);

}
.toggleGuests > div {
    display: flex;
    padding: 10px;
    align-items: center;
    justify-content: space-between;
    border-bottom-left-radius: var(--border-radius-small);
    border-bottom-right-radius: var(--border-radius-small);
}
.toggleGuests label span {
    padding-right: 5px;
}

form .toggleGuests #calcGuests {
	width: 100%;
	cursor: pointer;
    text-align: center;
    color: var(--link-color);
    display: flex;
    justify-content: center;
}
#nights {
	visibility: hidden;
	display: none;
}
.toggleGuests button, .toggleGuests button:hover, .toggleGuests button:focus {
    padding: 0;
    height: auto;
    display: flex;
    border: none !important;
    outline: none;
    background: none;
    background-color: transparent !important;
    cursor: pointer;
}
.toggleGuests button img {
    width: 20px;
    height: 20px;
    filter: var(--beon-yellow-filter);
}

.toggleGuests label {
	margin: 0;
    display: flex;
    width: 60%;
}
.toggleGuests label p {
	margin: 0;
	padding-left: 3px;
}
.countbutton-wrapper {
	padding-right: 30px;
	margin-left: 15px;
	display: flex;
}
.guest-footer {
    background: var(--beon-yellow-color);
    color: var(--link-color);
    padding: 5px;
}

#guests {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--form-background);
	background: transparent;
	cursor: pointer;
}

#calender-wrapper {
	display: none;
    position: absolute;
	bottom: 99px;
	padding: 0;
	z-index: 2;
	left: 0;
}

#calender_select {
    background-color: var(--beon-yellow-color);
    color: var(--link-color);
    border: none;
    outline: none;
    border-radius: var(--border-radius-small);
    width: 100%;
    cursor: pointer;
    height: 50px;
}
div#nights-wrapper {
	background-color: var(--form-background);
	display: flex;
	justify-content: space-between;
	display: none;
    border-bottom-left-radius: var(--border-radius-small);
    border-bottom-right-radius: var(--border-radius-small);
    align-items: end;
}
.nights_min-wrapper.nightselect-wrapper, .nights_max-wrapper.nightselect-wrapper  {
    position: relative;
}
.nights_min-wrapper .select-selected::before {
	content: "Mindestens";
	padding-right: 5px;
	font-size: 13px;
}

.nights_max-wrapper .select-selected::before {
	content: "Maximal";
	padding-right: 5px;
	font-size: 13px;
}


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

.night-label {
	padding: 12px;
	display: flex;
    align-items: center;
}

#calcNights {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
    width: -webkit-fill-available;
}


/*Select2*/
form .select2-container {
	height: 100%;
    width: 100% !important;
}

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

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

.select2-container .select2-selection--single {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	outline: none;
}
.select2-container .select2-selection--single:focus {
	outline: none;
}

span.select2-selection__arrow {
	opacity: 0;
}

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


.select2-results__option, .select2-results__option:hover {
	display: flex;
	align-items: center;
    color: var(--beon-primary-color);
	background-color: var(--form-background);
	border-top: 1px solid var(--border-color);
    font-size: var(--font-size-medium);
}
.select2-results__option:hover {
    color: var(--link-color) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background-color: var(--beon-yellow-color);
	color: #FFF;
    font-size: var(--font-size-medium);
}


span#select2-nights_min-container::before {
	content: "Mindestens ";
}

span#select2-nights_max-container::before {
	content: "Maximal ";
}

.nightselect-wrapper select {
	display: none;
	/*hide original SELECT element:*/
}
.wrap-regions .select2-selection__rendered {
    max-width: 150px;
}
.select-selected {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	height: 100%;
}

/*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: 10px 15px;
    text-align: left;
}

/*style items (options):*/
.select-items {
	position: absolute;
	background-color: var(--form-background);
	top: 43px;
	left: 0;
	min-width: 150px;
	right: 0;
	z-index: 99;
	max-height: 300px;
	overflow-y: scroll;
}

.select-hide {
	display: none;
}

.select-items div:hover {
	background-color: var(--beon-yellow-color);
	color: var(--form-background);
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
    color:var(--beon-button-color);
}

@media only screen and (max-width: 1024px){
    #searchform {
        flex-direction: column;
        flex-wrap: wrap;
        max-width: 250px;
        height: auto;
        padding-top: 15px;
    }
    form#searchform {
        height: auto;
        min-height: 70px;
        margin: 0;
    }
    span.icon-wrapper{
        top: 30%;
    }
    .form-group:not(.wrap-guests)::after {
        display: none;
    }
    .wrap-range, .wrap-region, .wrap-guests, form select, form .select2-container {
		min-height: 40px;
	}
    #nights-wrapper {
		flex-wrap: wrap;
	}
    #calender-wrapper {
		position: fixed;
		z-index: 2222 !important;
		left: 50%;
        height: max-content;
		top: 50% !important;
		transform: translate(-50%, -50%);
		background: var(--form-background);
	}
    #calender_select {
        border-bottom-right-radius: var(--border-radius-small);
        border-bottom-left-radius: var(--border-radius-small);
    }
    .select-items  {
        top: 43px;
    }
    .night-label {
        display: none;
    }
    .form-tooltip:after {
        display: none;
    }
    .form-group {
        min-height: 40px;
    }
    .form-group.form-group:not(.wrap-guests) {
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 10px;
    }
    form#searchform input[type="submit"] {
        width: 100% !important;
        border-radius: 0 !important;
        height: 50px !important;
        border-bottom-right-radius: var(--border-radius-small) !important;
        border-bottom-left-radius: var(--border-radius-small) !important;
    }
}

@media only screen and (max-width:768px){
    form#searchform{
        margin: 0px auto;
    }
}