/*
Theme Name:   EastWest - Property - Aspen
Theme URI:    https://eastwest.com
Description:  The child theme for Aspen, 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: var(--dark-teal, #16383f);
}

/* Header */
.page-id-13 .site.grid-container {
    overflow: hidden;
    box-sizing: border-box;
}

#primary-menu {
    order:2;
}

#primary-menu #menu-nav-menu {
    justify-content:space-between;
}

.owner-portal {
    background-color: #68828A;
    padding-left: 10px;
}

.main-nav .menu .owner-portal, .main-nav .menu .owner-portal a:hover {
    color:#c5bfbf;
}

.inside-navigation .header-number {
    order: 1;
    line-height: 60px;
}

.header-number a, .header-number a:hover {
    color:#FFF;
    padding-left: 20px;
    padding-right: 20px;
}

.inside-navigation .owner-portal {
    order: 3;
    line-height: 60px;
}

.inside-navigation .owner-portal a, .inside-navigation .owner-portal a:hover {
    color:#FFF;
    padding-left: 20px;
    padding-right: 20px;
}

.main-navigation .menu-bar-items {
    display: none;
}

/* Search page header image */
.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;
}

/* Filters and the Hospitality Search module */
.filters-wrapper .filter-button {
    color: var(--ewp-primary);
}

.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;
}
