.advanced-search label {
  font-family: dense;
  font-size: 17px;
  letter-spacing: 3px;
  padding: 10px 20px;
  margin: 0px;
  width: 25%;
  box-sizing: border-box; }

.advanced-search-title {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 8px;
  flex-direction: column;
  align-items: center; }

.advanced-search-title input {
  display: none; }

#advanced-search-expand:checked + label h5 {
  background-image: url(/assets/img/search/icon/showless-icon.svg);
  opacity: 0.4; }

#advanced-search-expand {
  display: none; }

.advanced-search-title h5 {
  display: flex;
  padding-top: 15px;
  font-family: dense;
  font-size: 18px;
  letter-spacing: 5px;
  background-image: url(/assets/img/search/icon/showmore-icon.svg);
  background-repeat: no-repeat;
  background-size: 15px;
  background-position: right 20px;
  color: white;
  padding-right: 20px;
  cursor: pointer; }

.advanced-search [type="checkbox"]:checked + label {
  background-image: url(/assets/img/search/icon/checkbox-checked.svg) !important;
  color: #ab8b6c; }

#advanced-search-expand:checked ~ .advanced-search {
  display: flex;
  height: auto;
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.4); }

.input.guests {
  width: 110px; }

.input.bedroom {
  width: 110px; }

.advanced-search-expandable input[type=checkbox] {
  display: none; }

.advanced-search {
  width: 1009px;
  flex-wrap: wrap;
  margin-top: 10px;
  background-color: transparent;
  padding-left: 20px;
  box-sizing: border-box;
  display: flex;
  opacity: 0;
  -webkit-transition: background-color 1000ms linear;
  -moz-transition: background-color 1000ms linear;
  -o-transition: background-color 1000ms linear;
  -ms-transition: background-color 1000ms linear;
  transition: background-color 1000ms linear; }

@keyframes fadein {
  from {
    opacity: 0;
    -webkit-filter: blur(3px);
    transform: translateY(-10px); }
  to {
    opacity: 1;
    -webkit-filter: blur(0px);
    transform: translateY(0px); } }

.advanced-search input[type=checkbox] {
  display: none; }

.advanced-search-box {
  background-image: url(/assets/img/search/icon/checkbox-unchecked.svg);
  background-repeat: no-repeat;
  background-size: 12px;
  background-position: left center;
  text-indent: 5px; }

.advanced-search-box {
  opacity: 0; }

#advanced-search-expand:checked ~ .advanced-search .advanced-search-box:nth-of-type(1) {
  animation: fadein 1.2s;
  animation-fill-mode: forwards;
  animation-delay: 40ms;
  animation-timing-function: cubic-bezier(0.87, -0.41, 0.19, 1.1); }

#advanced-search-expand:checked ~ .advanced-search .advanced-search-box:nth-of-type(2) {
  animation: fadein 1.2s;
  animation-fill-mode: forwards;
  animation-delay: 80ms;
  animation-timing-function: cubic-bezier(0.87, -0.41, 0.19, 1.1); }

#advanced-search-expand:checked ~ .advanced-search .advanced-search-box:nth-of-type(3) {
  animation: fadein 1.2s;
  animation-fill-mode: forwards;
  animation-delay: 120ms;
  animation-timing-function: cubic-bezier(0.87, -0.41, 0.19, 1.1); }

#advanced-search-expand:checked ~ .advanced-search .advanced-search-box:nth-of-type(4) {
  animation: fadein 1.2s;
  animation-fill-mode: forwards;
  animation-delay: 160ms;
  animation-timing-function: cubic-bezier(0.87, -0.41, 0.19, 1.1); }

#advanced-search-expand:checked ~ .advanced-search .advanced-search-box:nth-of-type(5) {
  animation: fadein 1.2s;
  animation-fill-mode: forwards;
  animation-delay: 200ms;
  animation-timing-function: cubic-bezier(0.87, -0.41, 0.19, 1.1); }

#advanced-search-expand:checked ~ .advanced-search .advanced-search-box:nth-of-type(6) {
  animation: fadein 1.2s;
  animation-fill-mode: forwards;
  animation-delay: 240ms;
  animation-timing-function: cubic-bezier(0.87, -0.41, 0.19, 1.1); }

#advanced-search-expand:checked ~ .advanced-search .advanced-search-box:nth-of-type(7) {
  animation: fadein 1.2s;
  animation-fill-mode: forwards;
  animation-delay: 280ms;
  animation-timing-function: cubic-bezier(0.87, -0.41, 0.19, 1.1); }

#advanced-search-expand:checked ~ .advanced-search .advanced-search-box:nth-of-type(8) {
  animation: fadein 1.2s;
  animation-fill-mode: forwards;
  animation-delay: 320ms;
  animation-timing-function: cubic-bezier(0.87, -0.41, 0.19, 1.1); }

#advanced-search-expand:checked ~ .advanced-search .advanced-search-box:nth-of-type(9) {
  animation: fadein 1.2s;
  animation-fill-mode: forwards;
  animation-delay: 360ms;
  animation-timing-function: cubic-bezier(0.87, -0.41, 0.19, 1.1); }

#advanced-search-expand:checked ~ .advanced-search .advanced-search-box:nth-of-type(10) {
  animation: fadein 1.2s;
  animation-fill-mode: forwards;
  animation-delay: 400ms;
  animation-timing-function: cubic-bezier(0.87, -0.41, 0.19, 1.1); }

#advanced-search-expand:checked ~ .advanced-search .advanced-search-box:nth-of-type(11) {
  animation: fadein 1.2s;
  animation-fill-mode: forwards;
  animation-delay: 440ms;
  animation-timing-function: cubic-bezier(0.87, -0.41, 0.19, 1.1); }

#advanced-search-expand:checked ~ .advanced-search .advanced-search-box:nth-of-type(12) {
  animation: fadein 1.2s;
  animation-fill-mode: forwards;
  animation-delay: 480ms;
  animation-timing-function: cubic-bezier(0.87, -0.41, 0.19, 1.1); }

#advanced-search-expand:checked ~ .advanced-search .advanced-search-box:nth-of-type(13) {
  animation: fadein 1.2s;
  animation-fill-mode: forwards;
  animation-delay: 520ms;
  animation-timing-function: cubic-bezier(0.87, -0.41, 0.19, 1.1); }

#advanced-search-expand:checked ~ .advanced-search .advanced-search-box:nth-of-type(14) {
  animation: fadein 1.2s;
  animation-fill-mode: forwards;
  animation-delay: 560ms;
  animation-timing-function: cubic-bezier(0.87, -0.41, 0.19, 1.1); }

#advanced-search-expand:checked ~ .advanced-search .advanced-search-box:nth-of-type(15) {
  animation: fadein 1.2s;
  animation-fill-mode: forwards;
  animation-delay: 600ms;
  animation-timing-function: cubic-bezier(0.87, -0.41, 0.19, 1.1); }

#advanced-search-expand:checked ~ .advanced-search .advanced-search-box:nth-of-type(16) {
  animation: fadein 1.2s;
  animation-fill-mode: forwards;
  animation-delay: 640ms;
  animation-timing-function: cubic-bezier(0.87, -0.41, 0.19, 1.1); }

#advanced-search-expand:checked ~ .advanced-search .advanced-search-box:nth-of-type(17) {
  animation: fadein 1.2s;
  animation-fill-mode: forwards;
  animation-delay: 680ms;
  animation-timing-function: cubic-bezier(0.87, -0.41, 0.19, 1.1); }

#advanced-search-expand:checked ~ .advanced-search .advanced-search-box:nth-of-type(18) {
  animation: fadein 1.2s;
  animation-fill-mode: forwards;
  animation-delay: 720ms;
  animation-timing-function: cubic-bezier(0.87, -0.41, 0.19, 1.1); }

#advanced-search-expand:checked ~ .advanced-search .advanced-search-box:nth-of-type(19) {
  animation: fadein 1.2s;
  animation-fill-mode: forwards;
  animation-delay: 760ms;
  animation-timing-function: cubic-bezier(0.87, -0.41, 0.19, 1.1); }

#advanced-search-expand:checked ~ .advanced-search .advanced-search-box:nth-of-type(20) {
  animation: fadein 1.2s;
  animation-fill-mode: forwards;
  animation-delay: 800ms;
  animation-timing-function: cubic-bezier(0.87, -0.41, 0.19, 1.1); }

/*ipad pro only*/
@media screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (orientation: portrait) {
  #advanced-search-expand:checked ~ .advanced-search {
    margin-left: auto;
    margin-right: auto; } }


/* iPhone 5 fixes */
@media screen and (device-aspect-ratio: 40/71) {
	.basic-search.number-of-guests, .basic-search.destination, .basic-search.arrival-date, .basic-search.length-of-stay {
		width: 90%;
	}
	.basic-search.arrival-date {
		width: 145px;
	}
	.basic-search.arrival-date {
		padding-left: 105px	
	}
	.update-search-button {
		margin-left: -20px!important;
	}
}
