﻿.header-buttons {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 0;
    bottom: 0;
    gap: 12px;
}

.top-menu {
    display: flex;
    gap: 10px;
    font-weight: 700;
}

.is-hidden {
    display: none !important;
}

.top-menu__section {
    position: relative;
}

.top-menu__content-wrapper {
    display: flex;
    width: 100%;
    flex-direction: column;
    border-radius: 4px;
    box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12), 0px 3px 5px -1px rgba(0, 0, 0, 0.20);
    position: absolute;
    top: 40px;
    z-index: 3;
}

.top-menu__content {
    padding: 8px 10px;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
}

.top-menu__header {
    display: inline-flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 9px;
    border-radius: 4px;
    border: 1px solid #FF6200;
    cursor: pointer;
}

.top-menu__section--be-customer {
    border-radius: 4px;
}

.top-menu__section--be-customer > .top-menu__header {
    width: 112px;
}

.top-menu__section--be-customer, 
.top-menu__section--be-customer a, 
.top-menu__section--be-customer > .top-menu__content-wrapper {
    background: #FF6200;
    color: #FFF;
}

.top-menu__section--login,
.top-menu__section--login > .top-menu__content-wrapper {
    background: #FFF;
    color: #FF6200;
}

.top-menu__title {
    line-height: 16px;
}

.top-menu__separator {
    width: 90%;
    height: 1px;
    margin: 0 auto;
    background: #F0F0F0;
}

.search-bar__form {
    display: flex;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    height: 40px;
    width: 220px;
    align-items: center;
    animation: effect 1s infinite;
    float: right;
}

.search-bar__input {
    border: none;
    outline: none;
    background: none;
    color: #777677;
    flex: 1;
    padding: 10px;
}

.search-bar__submit {
    cursor: pointer;
    background-image: url(/documents/IngBank/assets/img/ui-icons.png);
    background-repeat: no-repeat;
    background-color: transparent;
    background-position-x: -165px;
    background-position-y: -200px;
    border: none;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-right: 15px;
}

@keyframes effect {
    0% {
        border-color: #ff6600;
    }

    50% {
        border-color: #d6d6d6;
    }

    100% {
        border-color: #ff6600;
    }
}

@media (max-width: 767px) {
    .header-buttons {
        position: static;
        padding-top: 20px;
        gap: 10px;
    }

    .top-menu {
        justify-content: center;
        gap: 2vw;
        flex-wrap: nowrap;
        padding: 0 4vw;
        font-size: 12px;
    }

    .top-menu__section {
        max-width: 160px;
        width: 100%;
        height: 32px;
        white-space: nowrap;
    }

    .top-menu__header {
        width: 100% !important;
        height: 100%;
    }

    .top-menu__content-wrapper {
        top: 35px;
    }

    .search-bar {
        padding: 0 4vw;
    }

    .search-bar__form {
        width: 100%;
        height: 32px;
    }

    .search-bar__input {
        font-size: 12px;
    }

    .search-bar__submit {
        background-position-x: 0px;
        background-position-y: -40px;
        width: 13px;
        height: 13px;
    }
}