﻿#navbar {
    box-sizing: border-box;
    background-color: white;
    height: 82px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    top: 0;
    z-index: 100;
    padding: 0 30px;
    border-bottom: 1px solid transparent;
}

.action {
    cursor: pointer;
}

#ahLogo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 170px;
    margin: 0 auto;
}

    #ahLogo img {
        max-height: 100%;
    }

.navigation {
    align-items: center;
    justify-content: flex-start;
    font-size: 1em;
    display: none;
}

#mainNavigation {
    flex: 2;
}

.navLink {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    cursor: pointer;
    padding: 0 5px;
    margin: 0 17px;
    border-bottom: 2px solid transparent;
    font-size: 1em;
    color: #000000;
    text-decoration: none;
}

.menuLastThreeLinks {
    color: #6c6c6c;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    cursor: pointer;
    padding: 0 5px;
    margin: 0 17px;
    border-bottom: 2px solid transparent;
    font-size: 1em;
    text-decoration: none;
}

.menuMoreBtnIcon {
    padding-left: 10px;
    padding-top: 5px;
}

.selected, .navLink:hover #burger_svg {
    fill: #38accd !important;
}

    .selected > .menuMoreBtnIcon > #burger_svg {
        fill: #38accd !important;
    }

.selected,
.navLink:hover,
.nav-dropdown-item.selected {
    border-bottom: 2px solid #38accd;
    color: #38accd;
}

.active_link_navbar {
    background-color: #38accd !important;
    color: #ffffff !important;
}

.nav-dropdown {
    height: 100%;
}

.nav-dropdown-sm {
    position: relative;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    z-index: 3;
    background-color: #F7F7F7;
    border-radius: 1px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

    .nav-dropdown-content a {
        display: block;
        padding: 1rem;
        color: #000000;
        text-decoration: none;
    }

.nav-dropdown-item:hover,
.nav-dropdown-item.selected {
    background-color: #FFFFFF;
    border: none;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

#mainNavigation .nav-dropdown-content {
    top: calc(100% - 1rem);
    left: 50%;
    transform: translateX(-50%);
    padding-top: 1rem;
    min-width: 150px;
}

    #mainNavigation .nav-dropdown-content::before {
        content: "";
        position: absolute;
        top: -8px;
        left: calc(50% - 9px);
        width: 0px;
        height: 0px;
        border-style: solid;
        border-width: 0 9px 8px 9px;
        border-color: transparent transparent #F7F7F7 transparent;
        transform: rotate(0deg);
    }

#quickShortcuts .nav-dropdown-content {
    left: 0;
    right: 0;
    top: calc(100% + 1px);
}

@media only screen and (min-width: 1025px) {
    #navbar {
        align-items: stretch;
        padding: 0 48px;
        border-bottom: 1px solid #eaeaea;
    }

    .action {
        display: none;
    }

    #ahLogo {
        padding-right: 23px;
    }

    .navigation {
        display: flex;
    }

    .navLink {
        font-size: 0.9em;
    }
}

@media only screen and (max-width: 1025px) {
    #navbar {
        position: fixed;
    }

    #hero_image {
        margin-top: 82px;
    }

    .new-margin-for-the-menu {
        margin-top: 82px;
    }
}

@media only screen and (min-width: 1110px) {
    #ahLogo {
        width: 230px;
    }

    .navLink {
        font-size: 1em;
    }
}

@media only screen and (min-width: 1450px) {
    #menuDeals, #menuCalculators, #menuMore, #navbar, body, .showStickyDealOptions {
        max-width: 1440px;
        margin: 0 auto;
    }
}







#navbar {
    box-sizing: border-box;
    background-color: white;
    height: 82px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    top: 0;
    z-index: 100;
    padding: 0 30px;
    border-bottom: 1px solid transparent;
}

.action {
    cursor: pointer;
}

#ahLogo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 170px;
    margin: 0 auto;
}

    #ahLogo img {
        max-height: 100%;
    }

.navigation {
    align-items: center;
    justify-content: flex-start;
    font-size: 1em;
    display: none;
}

#mainNavigation {
    flex: 2;
}

.navLink {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    cursor: pointer;
    padding: 0 5px;
    margin: 0 17px;
    border-bottom: 2px solid transparent;
    font-size: 1em;
    color: #000000;
    text-decoration: none;
}

.menuLastThreeLinks {
    color: #6c6c6c;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    cursor: pointer;
    padding: 0 5px;
    margin: 0 17px;
    border-bottom: 2px solid transparent;
    font-size: 1em;
    text-decoration: none;
}

.menuMoreBtnIcon {
    padding-left: 10px;
    padding-top: 5px;
}

.selected, .navLink:hover #burger_svg {
    fill: #38accd !important;
}

    .selected > .menuMoreBtnIcon > #burger_svg {
        fill: #38accd !important;
    }

.selected,
.navLink:hover,
.nav-dropdown-item.selected {
    border-bottom: 2px solid #38accd;
    color: #38accd;
}

.active_link_navbar {
    background-color: #38accd !important;
    color: #ffffff !important;
}

.nav-dropdown {
    height: 100%;
}

.nav-dropdown-sm {
    position: relative;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    z-index: 3;
    background-color: #F7F7F7;
    border-radius: 1px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

    .nav-dropdown-content a {
        display: block;
        padding: 1rem;
        color: #000000;
        text-decoration: none;
    }

.nav-dropdown-item:hover,
.nav-dropdown-item.selected {
    background-color: #FFFFFF;
    border: none;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

#mainNavigation .nav-dropdown-content {
    top: calc(100% - 1rem);
    left: 50%;
    transform: translateX(-50%);
    padding-top: 1rem;
    min-width: 150px;
}

    #mainNavigation .nav-dropdown-content::before {
        content: "";
        position: absolute;
        top: -8px;
        left: calc(50% - 9px);
        width: 0px;
        height: 0px;
        border-style: solid;
        border-width: 0 9px 8px 9px;
        border-color: transparent transparent #F7F7F7 transparent;
        transform: rotate(0deg);
    }

#quickShortcuts .nav-dropdown-content {
    left: 0;
    right: 0;
    top: calc(100% + 1px);
}

@media only screen and (min-width: 1025px) {
    #navbar {
        align-items: stretch;
        padding: 0 48px;
        border-bottom: 1px solid #eaeaea;
    }

    .action {
        display: none;
    }

    #ahLogo {
        padding-right: 23px;
    }

    .navigation {
        display: flex;
    }

    .navLink {
        font-size: 0.9em;
    }
}

@media only screen and (max-width: 1025px) {
    #navbar {
        position: fixed;
    }

    #hero_image {
        margin-top: 82px;
    }

    .new-margin-for-the-menu {
        margin-top: 82px;
    }
}


@media only screen and (min-width: 1110px) {
    #ahLogo {
        width: 230px;
    }

    .navLink {
        font-size: 1em;
    }
}

@media only screen and (min-width: 1450px) {
    #menuDeals, #menuCalculators, #menuMore, #navbar, body, .showStickyDealOptions {
        max-width: 1440px;
        margin: 0 auto;
    }
}
