/*
Theme Name:   EastWest - Property - St. James Place
Theme URI:    https://eastwest.com
Description:  The child theme for St. James Place, on top of EastWest - Property.
Author:       Cornel Raiu / Master WebTools
Author URI:   https://master-webtools.com
Template:     eastwest-property
Version:      1.0.0
Requires PHP: 8.0
*/

/* Brand (see ew/assets/css/ew-property.css in the parent theme) */
:root {
    --ewp-primary: #2c4562;
}

/*
 * Only what St. James Place does differently from the parent. Search page header image and the
 * light blue search button are the same overrides aspen's child keeps.
 */

.page-template-template-search .page-header-image {
	margin-top: 0;
	position: relative;
	display: flex;
	flex-grow: 1;
	overflow: hidden;
	max-width: 100vw;
}

.page-template-template-search .page-header-image img {
	object-fit: cover;
	object-position: center center;
	width: 100%;
	height: 100%;
	max-width: none;
	flex: 1;
}

#results-wrapper .card-price {
	margin-top: 20px;
	margin-bottom: 20px;
}

article.type-dwl_stay {
	max-width: 1200px;
}

.reserve-bar-container {
	width: 1200px;
}

.reserve-bar .filters-wrapper .filter-wrapper.guests-field.opened .filter-popup {
	width: 160px;
}

.date-guests-search-container .filter-buttons .filter-wrapper.guests-field {
	min-width: 30%;
}

.date-guests-search-container .search-link-wrapper a {
	background: #c5dae3;
	border-radius: 4px;
	color: #000000;
	text-transform: capitalize;
	font-weight: 500;
}

.date-guests-search-container .search-link-wrapper a:hover {
	background: #c5dae3;
}

body.single-dwl_stay .topview-calendar-months {
	grid-template-columns: repeat(5, 1fr);
	grid-column-gap: 30px;
}
