.header {
    display: block;
    position: fixed;
    top: 0;
    z-index: 99;
    width: 100%;
    background-color: transparent;
    border-bottom: 1px solid white;
    transition: all 0.3s ease-in-out;
}

.header-top {
    border-bottom: 1px solid white;
    transition: all 0.3s ease-in-out;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact,
.header-cta {
    width: 309px;
}

.header-cta {
    display: flex;
}

.header-contact a,
.header-contact p {
    display: inline-block;
    vertical-align: middle;
    color: white;
	font-size:13px;
    padding: 0 20px;
    line-height: 1;
}

.header-contact a {
    background: url(../svg/icon-phone.svg) no-repeat left center;
}

.header-contact a:hover {
    color: #a28964;
}

.header-contact p {
    border-left: 1px solid white;
}

.header-contact .calendar,
.header-cta .booking-cta {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    transition: all 0.3s ease-in-out;
}

.header-contact .calendar {
    color: white;
    background: url(../svg/icon-calendar.svg) no-repeat 98% center;
    /* font-size: calc(($pixels / $context) * 1rem); */
    padding: 1px 25px 1px 0;
}

.header-contact .calendar:hover {
    color: #a28964;
}

.header .booking-cta {
    padding: 40px;
    border-right: 1px solid white;
    border-left: 1px solid white;
    cursor: pointer;
    font-size: 13px;
    color: white;
    font-weight: 700;
    /* font-size: calc(($pixels / $context) * 1rem); */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 0 25px;
    width: 155px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.header .booking-cta:hover {
    background: #a28964;
    transition: all 0.3s ease-in-out;
}

.header .logo {
    margin: 0 auto;
    width: calc(100% - 618px);
    text-align: center;
}

.header .logo svg {
    fill: white;
    transition: all 0.3s ease-in-out;
    display: inline-block;
}

.header .logo:hover svg {
    fill: #a28964;
    transition: all 0.3s ease-in-out;
}

.header.down,
.header.up {
    background: rgba(255, 255, 255, 0.9);
    border-color: #111;
    transition: all 0.3s ease-in-out;
}

.header.down .logo svg,
.header.up .logo svg {
    fill: #111;
    transition: all 0.3s ease-in-out;
}

.header.down .logo:hover svg,
.header.up .logo:hover svg {
    fill: #a28964;
    transition: all 0.3s ease-in-out;
}

.header.down .header-top,
.header.up .header-top {
    border-color: #111;
    transition: all 0.3s ease-in-out;
}

.header.down .header-contact a,
.header.up .header-contact a,
.header.down .header-contact p,
.header.up .header-contact p {
    color: #111;
    border-color: #111;
}

.header.down .header-contact a:hover,
.header.up .header-contact a:hover {
    color: #a28964;
}

.header.down .header-contact .calendar,
.header.up .header-contact .calendar,
.header.down .header-cta .booking-cta,
.header.up .header-cta .booking-cta {
    color: #111;
}

.header.down .header-contact .calendar:hover,
.header.up .header-contact .calendar:hover {
    color: #a28964;
}

.header.down .booking-cta,
.header.up .booking-cta {
    border-color: #111;
}

.header.down .booking-cta:hover,
.header.up .booking-cta:hover {
    color: white;
}

.header.down #primary-nav a,
.header.up #primary-nav a {
    color: #111;
}

#primary-nav {
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    max-width: 1170px;
}

#primary-nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#primary-nav li {
    position: relative;
    padding: 20px 0;
}

#primary-nav a {
    /* font-size: calc(($pixels / $context) * 1rem); */
    color: white;
    text-transform: uppercase;
    display: block;
    letter-spacing: 1px;
    position: relative;
    line-height: 1;
}

#primary-nav a:after {
    content: "";
    position: absolute;
    width: 0px;
    height: 1px;
    left: 50%;
    bottom: -5px;
    background: #a28964;
    transition: all 0.3s ease-in-out;
}

#primary-nav a:hover:after,
#primary-nav a.current:after,
#primary-nav li.current-page-ancestor>a:after {
    width: 40px;
    left: calc(50% - 20px);
    transition: all 0.3s ease-in-out;
}
#primary-nav li.current-page-ancestor>a:after {
    opacity: 1;
}
#primary-nav .link {
    font-weight: bold;
}

#primary-nav .submenu {
    display: none;
    position: absolute;
    background: #ffffffc7;
    top: 99%;
    border-top: 1px solid white;
    min-width: 160px;
    transform: translate(-50%);
    left: 50%;
    text-align: center;
}

.header.down #primary-nav .submenu {
    border-top: 1px solid #111;
}

#primary-nav .submenu li a {
    color: #111;
}

#primary-nav li:hover .submenu {
    display: block;
}

#primary-nav .overview-link {
    display: none;
}

#menu-main-menu .submenu, .privary-navigation__list_mobile .submenu {
    display: none;
}

.navigation.overlay #primary-nav .overview-link {
    display: block;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 0;
    width: 150px;
    max-width: 150px;
    margin-bottom: 0;
}
.search-form label {
    margin: 0;
}
.search-field {
    width: 100px;
    padding: 5px;
    border: 1px solid #fff;
    border-radius: 0;
    background: transparent;
}

.search-field::placeholder {
    color: white;
}

.search-submit {
    padding: 4px 10px;
    border: none;
    background-color: #fff;
    color: #111;
    cursor: pointer;
    border-radius: 0;
    border: 1px solid #fff;
}

.header.down .search-submit, .header.up .search-submit  {
    background-color: #111;
    border-color: #111;
    color: #fff;
}

.header.down .search-field, .header.up .search-field {
    border-color: #111;
}

.header.down .search-submit svg, .header.up .search-submit svg {
    fill: #fff;
    stroke: #fff;
}

.header.down .search-field::placeholder, .header.up .search-field::placeholder {
    color: #111;
}

@media only screen and (max-width: 1000px) {

    .header-contact a,
    .header-contact p {
        padding: 0 15px;
    }

    .header .booking-cta {
        padding: 40px 10px;
        width: 120px;
        margin: 0 0 0 15px;
    }

    .header-cta,
    .header-contact {
        width: 260px;
    }

    #primary-nav {
        padding: 0 5px;
    }

    #primary-nav a {
        font-size: 10px;
    }
}