/* STRUCTURE */

html {
	box-sizing: border-box;
}

*,:after,:before {
	 box-sizing: inherit
}

.hidden {
	display: none!important
}

/* SEARCH BUTTON */

.button {
	background: #F26D7D;
	color: #FFFFFF;
	font-size: 16px;
	font-family: Arial;
	padding: 10px;
	font-weight: bold;
	cursor: pointer;
	text-transform: uppercase;
}

.button.buttonHasIcon {
	position: relative;
}

.button .buttonIcon {
	position: absolute;
	display: block;
	fill: #FFFFFF;
}

.button:hover {
	background: #335571;
}

.SearchButton img {
	width: 20px;
}

/* DATEPICKER */

.datepickerWrapper,.datepickerWrapper input,.selectWrapper {
	width: 100%;
	font-size: 16px;
	font-family: Arial;
}

.datepickerWrapper,.selectWrapper {
	border-radius: 0;
	display: block;
	background: #FFFFFF;
	height: 2.5em;
	position: relative;
	overflow: hidden;
}

.datepickerWrapper.focussed,.selectWrapper.focussed {
	border-color: #2ECC40;
}

.datepickerWrapper input {
	position: absolute;
	top: 0;
	left: 0;
	height: 2.5em;
	padding: .5em;
	border: none;
}

.datepickerToggle {
	cursor: pointer;
}

.datepickerIcon {
	position: absolute;
	top: 50%;
	right: .5em;
	width: 1em;
	height: 1em;
	margin-top: -.5em;
	fill: #3CC3D2;
}

.datepicker {
	position: absolute;
	font-size: .8em;
	z-index: 999000!important;
	font-family: Arial;
	border-radius: .2em;
	overflow: hidden;
	box-shadow: rgba(50,95,102,.1) 0 .5em 0 0;
	text-align: center;
}

.datepickerInner {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

.datepicker table {
	pointer-events: auto;
	background: #FFFFFF;
	font-size: 1.2em;
	border-collapse: collapse;
	border-spacing: 0;
	border: 1px solid #ccc;
	text-align: center;
	border-radius: .3em;
	overflow: hidden;
}

.pagenaviBox a,.propertyListing .button {
	border-radius: .2em;
	font-size: .8em;
	font-weight: 700;
}

.datepicker table thead th {
	padding: .4em .5em;
	min-width: 0;
	cursor: pointer;
	text-align: center;
}

.datepicker table thead th.dow {
	background: #8CADCE;
	color: #FFFFFF;
	cursor: default;
}

.datepicker table td {
	padding: .2em .5em;
	text-align: center;
	min-width: 0;
}

.datepicker table tbody {
	background: #FFFFFF;
	color: #F26D7D;
}

.datepicker table tbody td {
	padding: .3em .5em;
	border-right: 1px solid #F8F8F8;
	border-bottom: 1px solid #F8F8F8;
}

.datepicker table tbody td:last-of-type {
	border-right: 0;
}

.datepicker table tbody td.day {
	color: #666666;
	cursor: pointer;
}

.datepicker table tbody td.day.new,.datepicker table tbody td.day.old {
	color: #ACACAC;
	background: #F8F8F8;
}

.datepicker table tbody td.day.disabled {
	color: #DEDEDE;
	cursor: default;
}

.datepicker table .clear {
	display: none!important;
	padding: .5em;
	background: #FFFFFF;
	cursor: pointer;
}

.datepicker table thead th.next,.datepicker table thead th.prev {
	font-size: 1.5em;
	color: #555555;
}

.datepicker .datepicker-months table,.datepicker .datepicker-years table {
	display: block;
	width: 14em;
}

.datepicker .datepicker-months table td,.datepicker .datepicker-years table td {
	padding: 0;
}

.datepicker .datepicker-months table .month,.datepicker .datepicker-months table .year,.datepicker .datepicker-years table .month,.datepicker .datepicker-years table .year {
	display: block;
	float: left;
	width: 25%;
	padding: .5em;
	color:#F26D7D;
	cursor: pointer;
	border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
}

.datepicker .datepicker-months table .month:nth-of-type(4n),.datepicker .datepicker-months table .year:nth-of-type(4n),.datepicker .datepicker-years table .month:nth-of-type(4n),.datepicker .datepicker-years table .year:nth-of-type(4n) {
	border-right: 0;
}

.datepicker .datepicker-months table .month.disabled,.datepicker .datepicker-months table .year.disabled,.datepicker .datepicker-years table .month.disabled,.datepicker .datepicker-years table .year.disabled {
	color: #DEDEDE;
	cursor: default;
}

/* SEARCH BAR */

.SearchInner {
	margin: 0.5em -1em 0.8em -1em;
	position: relative;
	z-index: 1;	
	background-color:#528CB5;	
}

.SearchBar {
	background-color: #528CB5; /* Main background color of search bar */
	padding: 10px;
	margin: auto;
	width: 100%;
}

.SearchSection {
	border: 3px solid #FFFFFF;
	float: left;
	padding: 5px;
	border-left: 0;
	width: 19.9%;
	height: 67px;
}

.SearchSection:first-of-type {
	border-left: 3px solid #FFFFFF;
}

.SearchSection label {
	color: #FFFFFF;
	font-family: Arial;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 14px;
	float: left;
}

.SearchSectionShowHide label {
	color: #FFFFFF;
	font-family: Arial;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 14px;
	float: left;
}

.SearchSection .datepickerWrapper {
	background: 0 0;
	height: 1.8rem;
	text-align: center;
}

.SearchSection .datepickerWrapper input {
	background:url(https://www.chycor.co.uk/cms/searchbar/calendar.png);
	background-size: 15px 15px;
	background-position: 96% 50%;
	background-repeat: no-repeat;
	color: #FFFFFF;
	padding: .2em 0;
	height: 1.8rem;
}

.SearchSection .datepickerWrapper .datepickerIcon { /* Icon background color */
	fill: #FFFFFF;
	display: none;
}

.SearchSection .datepickerWrapper:before { /* Datepicker line color */
	content: '';
	width: 80%;
	height: 2px;
	font-size: 1em;
	top: 100%;
	background: #FFFFFF;
	position: absolute;
	margin-top: -2px;
	left: 0;
}

.SearchSection .selectWrapper {
	background: 0 0;
	position: relative;
	height: 1.8rem;
}

.SearchSection .selectWrapper select {
	font-size: 16px;
	background: 0 0;
	color: #FFFFFF; /* Text color of select */
	padding: .2em 0;
	height: 1.8rem;
	margin-top: -4px;
}

.SearchSection .selectWrapper select option {
	color: #666666; /* Text color of select option */
}

.SearchSection .selectWrapper:before { 
	content: '';
	width: 80%;
	height: 2px;
	font-size: 1em;
	top: 100%;
	background: #FFFFFF; /* Select line color */
	position: absolute;
	margin-top: -2px;
	left: 0;
}

.SearchButton.button.buttonHasIcon { /* Search button */
	background: #314D67;
	border-radius: 0;
	border: 3px solid #FFFFFF;
	border-left: 0;
	height: 4.2em;
	padding-right: 4em;
}

.SearchButton.button.buttonHasIcon .searchIcon { /* Border separating search button */
	height: 100%;
	top: 0;
	right: 0;
	margin: 0;
	width: 3em;
	padding: 1em .5em;
	border-left: 1px solid #FFFFFF;
}

.SearchButton.button.buttonHasIcon:hover { /* Search button hover color */
	background: #4C7AA4;
}

/* HIDE / SHOW */

.SearchSectionShowHide {
	border: 3px solid #FFFFFF;
	border-top: 0;
	float: left;
	padding: 5px;
	width: 100%;
	height: 34px;
}

#target {
	width: 99.8%;
	height: 34px;
	padding: 0px;
	display: none;
}

.Hide {
	display: none;
}

.MoreButton.buttonHasMoreIcon { 
	background: #314D67;
	border-radius: 0;
	border: 3px solid #FFFFFF;
	border-top: 0;
	height: 34px;
	padding-right: 4em;
	width: 19.9%;
	color: #FFFFFF;
	font-size: 16px;
	font-family: Arial;
	line-height: 34px;
	padding-left: 5px;
	font-weight: bold;
	cursor: pointer;
	text-transform: uppercase;
}

.MoreButton.buttonHasMoreIcon .searchIcon { /* Border separating search button */
	height: 100%;
	top: 0;
	right: 0;
	margin: 0;
	margin-top: -35px;
	margin-left: 100px;
	width: 3em;
	padding: 1em .5em;
	border-left: 1px solid #FFFFFF;
}

.MoreButton.buttonHasMoreIcon:hover { /* Search button hover color */
	background: #4C7AA4;
}

/* SELECT */

.selectWrapper:before {
	content: '';
	position: absolute;
	right: 0;
	background: #F26D7D;
	width: 1.5em;
	height: 2.5em;
	font-size: 1em;
	top: 0;
	pointer-events: none;
}

.selectWrapper:after {
	content: '';
	display: block;
	width: .5em;
	height: .5em;
	position: absolute;
	top: 50%;
	margin-top: -.25em;
	right: .5em;
	border-bottom: .2em solid #FFFFFF;
	border-right: .2em solid #FFFFFF;
	transform: rotate(45deg);
	pointer-events: none;
}

.selectWrapper select {
	font-family: Arial;
	color: #325F66;
	display: block;
	font-size: 1em;
	padding: 0;
	height: 2.5em;
	cursor: pointer;
	background: 0 0;
	border-radius: 0;
	border: 0;
	position: absolute;
	top: .2em;
	width: 120%;
	right: -20%;
}

/* RESPONSIVE STYLING */

@media (max-width:790px) {
.SearchButton.button.buttonHasIcon {
	width: 20%;
	height: 4.2em
}

.SearchSection {
	width: 20%;
	height: 4.2em
}

.SearchBar {
	width: 100%;
}

.SearchSectionShowHide {
	width: 122%;
}

}

@media (max-width:750px) {
.SearchSection.guests,.SearchSection.number-nights,.SearchSection.start-date,.SearchSection.bedrooms,.SearchSection.pet {
	padding: 10px;
}

.SearchButton.button.buttonHasIcon {
	border-top: 0;
	width: 100%;
	border-left: .2rem solid #FFFFFF;
	margin-top: 44px;
}

.SearchSectionShowHide {
	padding: 10px;
	width: 100%;
	height: 44px;
}

#target {
	width: 100%;
	height: 44px;
	margin-top: -111px;
}

.MoreButton.buttonHasMoreIcon { 
	width: 100%;
	margin-top: -111px;
	height: 44px;
	line-height: 44px;
	padding-left: 10px;
}

.SearchSection {
	width: 100%;
	height: auto;
	border-top: 0;
	border-left: .2em solid #FFFFFF;
}

.SearchSection:first-of-type {
	border-top: .2em solid #FFFFFF;
}

.SearchBar {
	padding: 10px;
	height: 410px;
}

.searchBar .datepickerWrapper,.searchBar .selectWrapper {
	width: 100%;
	margin-bottom: 1em;
}

.searchBar .button {
	display: block;
	margin: 0 auto;
}

.searchBar {
	display: none;
	height: 100vh;
	-ms-flex-direction: column;
	flex-direction: column;
	-ms-flex-pack: center;
	justify-content: center;
	z-index: 4;
}
}

@media (max-width:400px) {
.searchBar form {
	width: auto;
}

.SearchBar {
	padding: 10px;
	height: 685px;
}

.datepicker {
	font-size: .8em;
	position: fixed!important;
	top: 0!important;
	left: 0!important;
	width: 100%!important;
	height: 100vh!important;
	min-height: 22em!important;
	background: rgba(50,95,102,.5);
	border-radius: 0;
	box-shadow: 0;
}

.datepicker .datepicker-days,.datepicker .datepicker-months,.datepicker .datepicker-years {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -10em;
	margin-left: -10em;
}

.datepickerOpenHack,.datepickerOpenHack body {
	overflow: hidden;
	height: 100vh;
	min-height: 22em;
}

.SearchSection label {
	font-size: 30px;
}

.SearchSection .selectWrapper {
	height: 50px;
}

.SearchSection .selectWrapper select {
	font-size: 30px;
	height: 50px;
}

.datepickerWrapper,.datepickerWrapper input,.selectWrapper {
	font-size: 30px;
}

.SearchSection .datepickerWrapper {
	background: 0 0;
	height: 50px;
	text-align: center;
}

.SearchSection .datepickerWrapper input {
	background:url(https://www.chycor.co.uk/cms/searchbar/calendar.png);
	background-size: 30px 30px;
	background-position: 99% 50%;
	background-repeat: no-repeat;
	color: #FFFFFF;
	padding: .2em 0;
	height: 50px;
}

.SearchButton.button.buttonHasIcon {
	border-top: 0;
	width: 100%;
	border-left: .2rem solid #FFFFFF;
	margin-top: 94px;
}

.SearchSectionShowHide {
	padding: 10px;
	width: 100%;
	height: 94px;
}

#target {
	width: 100%;
	height: 94px;
	margin-top: -221px;
}

.MoreButton.buttonHasMoreIcon { 
	width: 100%;
	margin-top: -221px;
	height: 94px;
	line-height: 94px;
	padding-left: 10px;
	font-size: 30px;
}

.SearchSectionShowHide label {
	font-size: 30px;
}

.SearchSectionShowHide input[type=checkbox] { 
	transform: scale(2) !important;
	margin-left: 10px;
	margin-top: 10px;
}

.button {
    font-size: 30px;
}


}
