.masthead-wrapper {
    /* position: relative;
    z-index: 500; */
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 999;
    height: 65px;
    /* padding-bottom: 10px;
    border-bottom: 0.02px solid #86aae1; */
}

html[data-scroll="0"] .masthead-wrapper {
    position: absolute;
}

html[data-scroll="0"] .admin-bar .masthead-wrapper {
    top: 0;
}

.admin-bar .masthead-wrapper {
    top: 32px;
}

@media screen and (max-width: 1023px) {
    .masthead-wrapper {
        display: none;
    }
}

.masthead-container {
    height: 65px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.masthead-logo {
    display: flex;
    flex-grow: 0;
    flex-shrink: 0;
    padding-right: 32px;
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
    .masthead-logo {
        width: 150px;
    }
}

@media screen and (min-width: 1280px) and (max-width: 1439px) {
    .masthead-logo {
        width: 200px;
    }
}

.masthead-navigation {
    width: 100%;

    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
}

.masthead-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}
.masthead-navigation li {
    margin-right: 32px;
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
    .masthead-navigation li {
        margin-right: 15px;
    }
}

.masthead-navigation a {
    transition: color linear 0.2s;
    color: #86aae1;
}

.masthead-navigation a:hover {
    color: white;
}

.masthead-search-buttons {
    position: relative;
    height: 100%;
}

.masthead-search {
    display: flex;
    flex-grow: 0;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 100%;

    padding: 0;

    border: 0;
    border-radius: 0;
    background-color: #4a6a98;
    cursor: pointer;

    text-align: center;
    font-size: 20px;
    line-height: 1;
    color: white;
}

.masthead-search-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    display: flex;
    flex-grow: 0;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 100%;

    padding: 0;

    border: 0;
    border-radius: 0;
    background-color: #76232f;
    cursor: pointer;

    opacity: 0;
    pointer-events: none;
    transition: all linear 0.2s;
    will-change: transform;

    text-align: center;
    font-size: 20px;
    line-height: 1;
    color: white;
}

.masthead-search-close.masthead-search-show {
    opacity: 1;
    pointer-events: auto;
}
