﻿.app-custom-header {
    width: 100%;
    max-width: var(--app-max-width);
    height: auto;
    top: 0;
    transition: background-color 0.3s ease;
    position: fixed;
    padding-top: 50px;
    color: #fff;
    z-index: 100;
    transition: background-color 0.3s ease;
}

/*    _animation-name: showNavAnimation;
    _animation-duration: 0.5s;*/
.app-custom-header.scroll-up {
    width: 100%;
    max-width: var(--app-max-width);
    height: auto;
    background-color: rgba(0,0,0,0.85) !important;
}


.app-custom-header .navbar-collapse {
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.app-custom-header .top-menus-1st-row {
    margin-right: -16px;
}

.app-custom-header .navbar-nav {
    padding-top: 16px;
    margin-right: -32px;
}


.app-custom-header .phonenumber {
    font-size: 12px;
}

.app-custom-header .phonenumber a {
    color: var(--app-primary-color);
    font-size: 16px;
}

.app-custom-header .phonenumber-mobile {
    display: none;
}

.app-custom-header .sns-links {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.app-custom-header .sns-links a {
    color: #fff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    line-height: 1;
    color: #fff;
    border-radius: 30px;
    border: solid 1px #fff;
}

.app-custom-header .navbar-nav > li > a {
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.15s ease;
}

.app-custom-header .navbar-nav > li > a:hover {
    color: #fff;
    background-color: transparent;
    opacity: 0.8;
}


.app-custom-header .navbar-nav > li .caret {
    display: none
}

.app-custom-header .nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
    background-color: transparent
}

.app-custom-header .navbar-nav > li > .dropdown-menu {
    border-radius: 0;
}


@media (min-width: 768px) {
    .app-custom-header .navbar-collapse {
        display: flex !important;
    }
}

@media (max-width: 767px) {
    .app-custom-header {
        position: absolute;
    }

    .app-custom-header .phonenumber-mobile {
        display: inline-flex;
    }

    .app-custom-header .phonenumber-mobile span {
        color: var(--app-primary-color);
        font-size: 16px;
    }

    .app-custom-header .top-menus-1st-row {
        display: none;
    }

    .app-custom-header .navbar-nav > li .caret {
        display: inline-block
    }

    .app-custom-header .navbar-collapse {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #FFFFFF
    }

    .app-custom-header .navbar-collapse.in {
    }

    .app-custom-header .navbar-toggle {
        top: 40px;
        right: 6px;
        position: absolute;
    }

    .app-custom-header .navbar-toggle .icon-bar {
        color: #fff;
        background: #fff;
        height: 3px;
    }

    .app-custom-header .navbar {
        padding-top: 40px;
    }

    .app-custom-header .navbar-nav {
        width: 100%;
        margin-right: 0;
    }

    .app-custom-header .navbar-nav > li {
        border-top: solid 1px #ccc;
    }

    .app-custom-header .navbar-nav > li:first-of-type {
        border-top: none;
    }

    .app-custom-header .navbar-nav > li > a {
        color: #666;
        display: flex;
        align-items: center;
        justify-content: space-between
    }

    .app-custom-header.scroll-up {
        background-color: transparent !important
    }
}
