/* =========================================================
   ListedIn Main Header
   ========================================================= */

.li-header {
    width: 100%;
    background: #fff;
    position: relative;
    z-index: 200;
}


/* Main header row */

.li-header-container {
    max-width: 1170px;
    min-height: 64px;
    margin: 0 auto;
    padding: 0 15px;

    display: flex;
    align-items: center;
}


/* =========================================================
   Logo
   ========================================================= */

.li-header-logo {
    flex: 0 0 auto;
}

.li-header-logo a {
    display: block;

    color: #285580;

    font-family: 'Viga', sans-serif;
    font-size: 28px;
    font-weight: normal;
    line-height: 64px;

    text-decoration: none;

    white-space: nowrap;

    transition: color 0.15s ease;
}

.li-header-logo a:hover,
.li-header-logo a:focus {
    text-decoration: none;
}


/* =========================================================
   Desktop Navigation
   ========================================================= */

.li-desktop-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.li-desktop-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.li-desktop-nav li {
    margin: 0;
    padding: 0;
}

.li-desktop-nav a {
    display: block;

    padding: 0 10px;

    color: #4f5963;

    font-size: 15px;
    line-height: 64px;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color 0.15s ease,
        background-color 0.15s ease;
}

.li-desktop-nav a:hover,
.li-desktop-nav a:focus {
    color: #4f5963;
    background-color: #eef3f7;
    text-decoration: none;
}


/* Highlighted navigation item */

.li-desktop-nav .li-nav-highlight {
    color: #285580;
    font-weight: 600;
}

.li-desktop-nav .li-nav-highlight:hover,
.li-desktop-nav .li-nav-highlight:focus {
    color: #4f5963;
}


/* =========================================================
   Create a Listing CTA
   ========================================================= */

.li-desktop-nav .li-nav-create {
    background-color: #356da5;
    color: #ffffff;
    
    padding: 10px 18px;
    margin-left: 10px;

    line-height: normal;

    border-radius: 5px;

    font-weight: 600;

    transition: background-color 0.15s ease;
}

.li-desktop-nav .li-nav-create:hover,
.li-desktop-nav .li-nav-create:focus {
    background-color: #285580;
    color: #ffffff;
    text-decoration: none;
}

/* =========================================================
   Mobile Menu Button
   ========================================================= */

.li-mobile-menu-button {
    display: none;

    width: 44px;
    height: 44px;

    margin-left: auto;

    padding: 10px;

    border: 0;
    border-radius: 4px;

    background: transparent;

    cursor: pointer;
}

.li-mobile-menu-button:hover,
.li-mobile-menu-button:focus {
    background: #eef3f7;
    outline: none;
}

.li-menu-bar {
    display: block;

    width: 24px;
    height: 2px;

    margin: 5px auto;

    background: #4f5963;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


/* Turn hamburger into X */

.li-mobile-menu-button-open .li-menu-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.li-mobile-menu-button-open .li-menu-bar:nth-child(2) {
    opacity: 0;
}

.li-mobile-menu-button-open .li-menu-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   Mobile Navigation
   ========================================================= */

.li-mobile-nav {
    display: none;

    background: #eef3f7;

    border-bottom: 1px solid #d7d7d7;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.li-mobile-nav-open {
    display: block;
}

.li-mobile-nav ul {
    list-style: none;

    margin: 0;
    padding: 8px 0;
}

.li-mobile-nav li {
    margin: 0;
    padding: 0;
}

.li-mobile-nav a {
    display: block;

    padding: 12px 20px;

    color: #4f5963;

    font-size: 16px;
    line-height: 22px;

    text-decoration: none;

    border-left: 3px solid transparent;
}

.li-mobile-nav a:hover,
.li-mobile-nav a:focus {
    color: #252525;

    background: #f3f6f0;

    border-left-color: #285580;

    text-decoration: none;
}

.li-mobile-nav .li-mobile-highlight {
    color: #56743b;
    font-weight: 600;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 991px) {

    .li-header-container {
        min-height: 60px;
    }

    .li-header-logo a {
        font-size: 25px;
        line-height: 60px;
    }

    .li-desktop-nav {
        display: none;
    }

    .li-mobile-menu-button {
        display: block;
    }

}


@media (max-width: 480px) {

    .li-header-container {
        padding-left: 15px;
        padding-right: 10px;
    }

    .li-header-logo a {
        font-size: 23px;
    }

}